How to write video in to frames
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Algorithms Analyst
el 26 de Mzo. de 2013
Editada: Walter Roberson
el 26 de Mzo. de 2013
Respuestas (1)
Walter Roberson
el 26 de Mzo. de 2013
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 comentarios
Walter Roberson
el 26 de Mzo. de 2013
Taking into account your code:
thisfile = sprintf('frame_%04d.jpg', f);
imwrite(bwimg, thisfile);
Ver también
Categorías
Más información sobre 3-D Volumetric Image Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!