Operation on Video Files
Mostrar comentarios más antiguos
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
Respuestas (2)
Walter Roberson
el 10 de Mzo. de 2012
0 votos
See the VideoReader and VideoWriter classes. If you have an older version of MATLAB, see mmreader()
Image Analyst
el 10 de Mzo. de 2012
0 votos
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.
Categorías
Más información sobre Audio and Video Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!