How can I convert binary frames into movie?

 채택된 답변

Walter Roberson
Walter Roberson 2015년 5월 25일

0 개 추천

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

추가 답변 (1개)

Image Analyst
Image Analyst 2015년 5월 25일

0 개 추천

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

질문:

2015년 5월 25일

답변:

2015년 5월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by