How can I convert binary frames into movie?
4 次查看(过去 30 天)
显示 更早的评论
How can I convert sequences of binary images into movie.avi?
0 个评论
采纳的回答
Walter Roberson
2015-5-25
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 个评论
更多回答(1 个)
Image Analyst
2015-5-25
I've attached a couple of demos that make movies. Try them out and adapt them to your purposes.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!