How to write video in to frames
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi every one
I have implement some algorithm now i want to save the results of this algorithm into some folder how can I do it?
let say my result is
myvideo=result; writeobj=Videowriter(myvideo);
how to do ahead.
thanks
댓글 수: 4
답변 (1개)
Walter Roberson
2013년 3월 26일
shows an example of reading a video to extract the frames. Beyond that you would use imwrite() to save each frame to a file.
댓글 수: 3
Walter Roberson
2013년 3월 26일
Taking into account your code:
thisfile = sprintf('frame_%04d.jpg', f);
imwrite(bwimg, thisfile);
참고 항목
카테고리
Help Center 및 File Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!