Scrolling and choosing image to display on figure.

5 Ansichten (letzte 30 Tage)
Mikhail
Mikhail am 10 Sep. 2014
Kommentiert: Mikhail am 11 Sep. 2014
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 Kommentar
Mikhail
Mikhail am 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentar
Mikhail
Mikhail am 11 Sep. 2014
Thanks, I used 2nd link as a template for my own ImageViewer.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

A Jenkins
A Jenkins am 10 Sep. 2014
What about using GUIDE?

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by