필터 지우기
필터 지우기

How can i convert images into video

조회 수: 1 (최근 30일)
vijay chander
vijay chander 2014년 3월 2일
답변: Image Analyst 2014년 3월 2일
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

채택된 답변

Dishant Arora
Dishant Arora 2014년 3월 2일
Use pause with in your loop.
doc pause

추가 답변 (1개)

Image Analyst
Image Analyst 2014년 3월 2일
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.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by