How can I handle images?

2 views (last 30 days)
Stelios Fanourakis
Stelios Fanourakis on 20 Jun 2018
I have three images displaying in three axes on a figure. I want to get them handles so I can browse them using a slider.
How do I give them handles?
  1 Comment
Stephen23
Stephen23 on 20 Jun 2018
Edited: Stephen23 on 20 Jun 2018
"How do I give them handles?"
Easy: get the handles explicitly when you show the image. E.g. for imshow:
hnd = imshow(...)

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 20 Jun 2018
You can flip them easier without handles:
yourImage = fliplr(yourImage);
imshow(yourImage);
  17 Comments
Image Analyst
Image Analyst on 22 Jun 2018
Edited: Image Analyst on 22 Jun 2018
Attach staffs.png so I can see what size it is. Maybe you need to set the 'InitialMagnification' option in imshow().
Or zoom it. See attached demo.
Stelios Fanourakis
Stelios Fanourakis on 22 Jun 2018
Thank you Image Analyst. I found the solution. I needed to set characters as unit.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!