How can I convert binary frames into movie?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 25 Mai 2015

0 Stimmen

bw = colormap(gray(2));
Then for each frame
frame = im2frame(uint8(YourBinaryImage), bw);
then use VideoWriter to write the frame; see http://www.mathworks.com/help/matlab/ref/videowriter-class.html

Weitere Antworten (1)

Image Analyst
Image Analyst am 25 Mai 2015

0 Stimmen

I've attached a couple of demos that make movies. Try them out and adapt them to your purposes.

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by