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!