splitting video into frames
15 ビュー (過去 30 日間)
古いコメントを表示
can someone please give me the matlab code to split a video (avi clip) into its constituent frames, and then write them to disk?
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 2 月 7 日
That's exactly what this demo (attached below in blue) does.
2 件のコメント
Image Analyst
2014 年 2 月 8 日
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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!