How can I convert binary frames into movie?
5 views (last 30 days)
Show older comments
Ali Noori
on 25 May 2015
Answered: Image Analyst
on 25 May 2015
How can I convert sequences of binary images into movie.avi?
0 Comments
Accepted Answer
Walter Roberson
on 25 May 2015
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
0 Comments
More Answers (1)
Image Analyst
on 25 May 2015
I've attached a couple of demos that make movies. Try them out and adapt them to your purposes.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!