splitting video into frames
Ältere Kommentare anzeigen
can someone please give me the matlab code to split a video (avi clip) into its constituent frames, and then write them to disk?
Antworten (1)
Image Analyst
am 7 Feb. 2014
0 Stimmen
That's exactly what this demo (attached below in blue) does.
2 Kommentare
Sneheet
am 7 Feb. 2014
Image Analyst
am 8 Feb. 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.
Kategorien
Mehr zu Video Formats and Interfaces finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!