Borrar filtros
Borrar filtros

splitting video into frames

38 visualizaciones (últimos 30 días)
Sneheet
Sneheet el 7 de Feb. de 2014
Comentada: Image Analyst el 8 de Feb. de 2014
can someone please give me the matlab code to split a video (avi clip) into its constituent frames, and then write them to disk?

Respuestas (1)

Image Analyst
Image Analyst el 7 de Feb. de 2014
That's exactly what this demo (attached below in blue) does.
  2 comentarios
Sneheet
Sneheet el 7 de Feb. de 2014
can you please just give me the part of your code that does only the splitting, not the other stuff?
Image Analyst
Image Analyst el 8 de Feb. de 2014
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.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by