get the position of image ploted with imshow

2 views (last 30 days)
sam
sam on 13 Mar 2015
hello, I am using matlab GUI for a simple annotator. everytime i need to show some images, for which i am using imshow. now, images are of different sizes and aspect ratios. I want to find the exact position of displayed image on the screen. how to do it?
I have use axes in GUIDE to plot images. imshow(img,'parent',handles.axes1) displays the image in the given axis but also with different positions. get(handles.axes1,'position') gives constant position which i set in GUIDE. but i want a image position after imshow is used.
Thanks in advance

Answers (0)

Categories

Find more on Startup and Shutdown 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!