Posted by
Stein Rørvik on
Jan 11, 2018; 8:37am
URL: http://imagej.273.s1.nabble.com/Showing-the-uncalibrated-ROI-position-tp5019850p5019869.html
Thanks; it works better now but it is still not perfect.
The problem is that the current mouse position instead of the ROI coordinates is shown when the shift or alt key is down, so the status bar flickers between the two views. It is therefore not possible to see the ROI size when trying to make square selections (shift key) or a creating a new selection to be subtracted from the previous one (alt key) as the mouse coordinate is shown last. The same problem applies to polygon selections; the angle or length of the new line segment is not shown when the shift or alt button is down. I think the mouse coordinate should only be shown when moving the cursor with the mouse buttons non-pressed, except when making freehand selections, where the mouse coordinate should be shown always.
Stein
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Wayne Rasband
Sent: 10. januar 2018 16:28
To:
[hidden email]
Subject: Re: Showing the uncalibrated ROI position
> On Jan 10, 2018, at 3:09 AM, Stein Rørvik <
[hidden email]> wrote:
>
> Thank, this works great!
>
> It does however not work properly when enforcing square selections using the shift key or subtracting ROI with the alt key, because the shift/alt key will make ImageJ show the pixel position of the mouse pointer instead, so the status bar flickers quickly between these two views when moving the mouse. I suggest that the "press shift or alt key to show pixel position" functionality should now be removed, since it is no longer needed; the pixel position will always be shown both for ROIs and the current mouse pointer with this new version.
The "press shift or alt key to show pixel position” feature is removed in the latest daily build (1.51u8).
-wayne
> -----Original Message-----
> From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
> Wayne Rasband
> Sent: 10. januar 2018 05:06
> To:
[hidden email]
> Subject: Re: Showing the uncalibrated ROI position
>
>> On Jan 9, 2018, at 9:04 AM, Stein Rørvik <
[hidden email]> wrote:
>>
>> If you create a selection on a calibrated image, the uncalibrated width and height is shown in parenthesis after the calibrated width and height in the status bar.
>>
>> For example, on the "CT (420K, 16-bit DICOM)" a ROI with coordinates
>> x=100, y=100, w=300, Y=200 is shown in the status bar as x=59.68,
>> y=54.55, w=179.05 (300), h=109.09 (200)
>>
>> It would be very useful if this could be shown as
>> x=59.68 (100), y=54.55 (100), w=179.05 (300), h=109.09 (200) instead.
>
> This is the way the latest daily build (1.51u7) works.
>
>> Similarly, if you hold the mouse pointer over the coordinates x=100,
>> y=100 the status bar shows x=59.68, y=54.55, value=-437.00 (32331)
>>
>> It would be very useful if this too could be shown as
>> x=59.68 (100), y=54.55 (100), value=-437.00 (32331) instead.
>
> The daily build shows mouse pointer coordinates this way.
>
>> If this was changed, it would make it easier to work with selections on spatially calibrated images.
>>
>> Stein
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html