Borrar filtros
Borrar filtros

How can i convert images into video

1 visualización (últimos 30 días)
vijay chander
vijay chander el 2 de Mzo. de 2014
Respondida: Image Analyst el 2 de Mzo. de 2014
hi im vijay
im using a for loop to display the images(say 10), but the problem the images displaying are very fast i.e, i cant able to control the appearing of images since im getting to see only the last image how can i display images slowly one by one
Thank you

Respuesta aceptada

Dishant Arora
Dishant Arora el 2 de Mzo. de 2014
Use pause with in your loop.
doc pause

Más respuestas (1)

Image Analyst
Image Analyst el 2 de Mzo. de 2014
Use drawnow after each call to imshow() or image(). The reason that you're only seeing the last one is that you're in such an intensive loop it doesn't really get time to show them all. You can put a drawnow after each call to imshow() to force it to update the screen so that you'll see every image. If they're still going to fast, put a pause(0.2) after each call to imshow(). Adjust the pausing time as desired.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by