movie from matlab plot saved in .png format
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi guys,
I need to make a movie using my image matlab plot stored in .png... Is it possible?
Thank you!!! Have a nice day!
0 Commenti
Risposte (2)
Geoff Hayes
il 4 Dic 2015
swamp - consider using the videowriter object to create your movie from a series of images (your png files). You can instantiate the object as
v = VideoWriter('newfile.avi');
You can set the frame rate (frames per second) using set and open the file for writing as
set(v,'FrameRate',1);
open(v);
Now, you can load each of your images (from file) and then write to the avi (or whatever) as
writeVideo(v,myPng);
Once you have written all images to your movie file, then just close the object with
close(v);
0 Commenti
Image Analyst
il 4 Dic 2015
I'm attaching two example for you so you can see how to make movies from figures or still frames/images.
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!