How does ImageJ display the cursor coordinates?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How does ImageJ display the cursor coordinates?

panovr
Hi,
  after I opened an image in ImageJ, when I move the cursor in the image
window, then ImageJ will display some infomation like "x=10, y=153,
value=6,29,13" on the ImageJ's status bar.
  Suppose my cursor is now at [10, 153], now I use the ImageJ's manifying
glass tool to zoom in or zoom out the image, then the image window will
become smaller or bigger or do not change, but the information displayed
on the status bar seems not as the window coordinates. For example, the
image window is 400 x 400, but when the cursor at the right lower corner
of the window, the information is "x=49, y=34, value=..." instead
of "x=399, y=399, value=...".
  Thanks.

Yili Zhao
Reply | Threaded
Open this post in threaded view
|

Re: How does ImageJ display the cursor coordinates?

Volker Baecker
Hi,
the coordinates are *image* coordinates not window coordinates.
Zoom in to the maximum, so that you can see single pixels and move
the mouse pointer over the image. You will see that the coordinates change
whenever you move from one pixel to another.
Volker

Yili Zhao a écrit :

> Hi,
>   after I opened an image in ImageJ, when I move the cursor in the image
> window, then ImageJ will display some infomation like "x=10, y=153,
> value=6,29,13" on the ImageJ's status bar.
>   Suppose my cursor is now at [10, 153], now I use the ImageJ's manifying
> glass tool to zoom in or zoom out the image, then the image window will
> become smaller or bigger or do not change, but the information displayed
> on the status bar seems not as the window coordinates. For example, the
> image window is 400 x 400, but when the cursor at the right lower corner
> of the window, the information is "x=49, y=34, value=..." instead
> of "x=399, y=399, value=...".
>   Thanks.
>
> Yili Zhao
>
>  

--
passerelle antivirus du campus CNRS de Montpellier
--