splitting video into frames
Afficher commentaires plus anciens
can someone please give me the matlab code to split a video (avi clip) into its constituent frames, and then write them to disk?
Réponses (1)
Image Analyst
le 7 Fév 2014
0 votes
That's exactly what this demo (attached below in blue) does.
2 commentaires
Sneheet
le 7 Fév 2014
Image Analyst
le 8 Fév 2014
It's the line that says:
% Extract the frame from the movie structure.
thisFrame = read(videoObject, frame);
followed of course by the call to imwrite() to save only that frame to disk as a separate 2D image file.
Catégories
En savoir plus sur Video Formats and Interfaces dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!