How can i convert images into video
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 2 Mär. 2014
1 Stimme
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.
Kategorien
Mehr zu Video Formats and Interfaces finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!