Operation on Video Files
1 次查看(过去 30 天)
显示 更早的评论
Hello I have implemented the security algorithm from Grayscale to RGB Images. Now I want to implement the same for video files. (1)How can I get individual frames for the video file? (2)Also can I apply the algorithm for single frame same as for images.How do I apply (3)how to convert the frames into video file back?
Thanks
0 个评论
回答(2 个)
Walter Roberson
2012-3-10
See the VideoReader and VideoWriter classes. If you have an older version of MATLAB, see mmreader()
0 个评论
Image Analyst
2012-3-10
See my sample code: http://www.mathworks.com/matlabcentral/answers/30847-how-save-frames-that-exit-from-video-in-a-specific-folder
It extracts frame and writes them to disk, then it shows how to read those frames back in and create a movie from them.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!