how to convert images to video with avifile?

14 views (last 30 days)
Hi everybody I need make a video with a sequence of images and I can not do it
thanks

Answers (2)

Image Analyst
Image Analyst on 14 Sep 2011

Walter Roberson
Walter Roberson on 14 Sep 2011
Small example:
aviobj = avifile('YourFile.avi');
for K = 1 : 10
thisframe = rand(64,64,3); %for example
addframe(aviobj, thisframe);
end
close(aviobj);

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!