필터 지우기
필터 지우기

splitting video into frames

조회 수: 38 (최근 30일)
Sneheet
Sneheet 2014년 2월 7일
댓글: Image Analyst 2014년 2월 8일
can someone please give me the matlab code to split a video (avi clip) into its constituent frames, and then write them to disk?

답변 (1개)

Image Analyst
Image Analyst 2014년 2월 7일
That's exactly what this demo (attached below in blue) does.
  댓글 수: 2
Sneheet
Sneheet 2014년 2월 7일
can you please just give me the part of your code that does only the splitting, not the other stuff?
Image Analyst
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!

Translated by