MATLAB Answers

Display video-data of a three-dimensional M-by-N-by-T array

1 view (last 30 days)
Anita Götz
Anita Götz on 10 Jul 2020
Answered: Mehmed Saad on 10 Jul 2020
I created a simulink model with colour-space-conversion of a video file.
At the end i used the "Video to Workspace"-Block. So after the simulation stopped im getting a three-dimensional M-by-N-by-T array (in my example the Value is "360x640x676 single") in my Workspace.
How can play this video result?

Answers (1)

Mehmed Saad
Mehmed Saad on 10 Jul 2020
You can use implay or vision.VideoPlayer
A = rand(360,640,676,'single');
implay(A,60)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by