DSPRelated.com
Forums

Can someone help me on these issues with image display in GUIDE?

Started by pava...@berkeley.edu December 7, 2005
Hi,
I am working on creating a GUI for opening images and then storing
some pixel information which are selected by the user interactively
(for this I am using a while loop with ginput function untill the
user selects a point outside the image dimensions), this works fine
untill the image is displaed at its true resolution. But, i have
implemented zoom function too, so that the user can zoom in and
select even more points more accurately. I am having these problems
while doing this -
1) How can i get the true pixel location in the zoomed image with
respect to the actual image?
2) How can i check for the user, whether he selects a point outside
the axes in which the zoomed image is displayed, so that I can come
out of the loop?
3) is there any function or property where i can restrict the ginput
function to work only within a particular axes?

please someone help me out on this, I am working to resolve this from
a long time.

thanks,
-Pav.