Scrolling and choosing image to display on figure.

18 views (last 30 days)
Hi there, I have a bunch of images. After some processing, I want to display them. However there are a lot of them. So I want to do 2 things:
1) Be able to press forward and back arrows to change picture - to scroll them like in standard image viewer.
2) Have an edit window on my figure, where I can write a number of image to be displayed.
Is it possible to do? Tried to do it with
prompt='Choose your file or enter it';
str = input(prompt);
Don't like it as long as I have to switch between figure and command window of Matlab.
Thanks in advance.
  1 Comment
Mikhail on 10 Sep 2014
What I want - usefull commands how to do it. I didn't find function which can wait for key pressing on keyboard. I don't need the exact algorithm.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 10 Sep 2014
How about these:
I haven't tried them but if their 3D images are actually just a collection of 2D images in a folder then they might meet your needs.
  1 Comment
Mikhail on 11 Sep 2014
Thanks, I used 2nd link as a template for my own ImageViewer.

Sign in to comment.

More Answers (1)

A Jenkins
A Jenkins on 10 Sep 2014
What about using GUIDE?


Find more on Display Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by