ROI Manager Translate working incorrect?

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

ROI Manager Translate working incorrect?

Klaus Michel
Hello all,

I just noticed a possible bug in the ROI Manager. Here is what I did (Windows 7/10, 32/64bit,
Fiji with ImageJ 1.51r):
Marked several ROIs.
Selected all ROIs in the ROI Manager window by clicking on the first ROI and shift-clicking on
the last ROI.
Applied a Translation to all ROIs via "More" - "Translate".
All ROIs get translated. However, the ROI that was selected first is translated farther than the
other ROIs.

I have noticed that the first selected ROI is also marked as selected in the image (white dots
on the outline of the ROI). Could it be that the Translate function thinks that this ROI is
selected "twice"?
The function works correctly if I click somewhere  in the image after selecting the ROIs in the
ROI manager (this unselects the ROI in the image but leaves all ROI selected in the ROI
manager).

All the best,
Klaus
--
Dr. Klaus Michel
Dept. of Human Biology
TU München
Liesel-Beckmann-Strasse 4
D-85354 Freising Weihenstephan
Tel.: +49 (0)8161 715079
Fax: +49 (0)8161 715785
email: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ROI Manager Translate working incorrect?

Wayne Rasband-2
> On Nov 3, 2017, at 10:05 AM, Klaus Michel <[hidden email]> wrote:
>
> Hello all,
>
> I just noticed a possible bug in the ROI Manager. Here is what I did (Windows 7/10, 32/64bit,
> Fiji with ImageJ 1.51r):
> Marked several ROIs.
> Selected all ROIs in the ROI Manager window by clicking on the first ROI and shift-clicking on
> the last ROI.
> Applied a Translation to all ROIs via "More" - "Translate".
> All ROIs get translated. However, the ROI that was selected first is translated farther than the
> other ROIs.

This bug is fixed in the latest ImageJ daily build (1.51s8).

-wayne

> I have noticed that the first selected ROI is also marked as selected in the image (white dots
> on the outline of the ROI). Could it be that the Translate function thinks that this ROI is
> selected "twice"?
> The function works correctly if I click somewhere  in the image after selecting the ROIs in the
> ROI manager (this unselects the ROI in the image but leaves all ROI selected in the ROI
> manager).
>
> All the best,
> Klaus

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ROI Manager Translate working incorrect?

Klaus Michel
Thanks a lot Wayne for this really fast fix!

Best wishes,
Klaus


On 4 Nov 2017 at 21:31, Wayne Rasband wrote:

> > On Nov 3, 2017, at 10:05 AM, Klaus Michel <[hidden email]>
> > wrote:
> >
> > Hello all,
> >
> > I just noticed a possible bug in the ROI Manager. Here is what I did
> > (Windows 7/10, 32/64bit, Fiji with ImageJ 1.51r): Marked several
> > ROIs. Selected all ROIs in the ROI Manager window by clicking on the
> > first ROI and shift-clicking on the last ROI. Applied a Translation
> > to all ROIs via "More" - "Translate". All ROIs get translated.
> > However, the ROI that was selected first is translated farther than
> > the other ROIs.
>
> This bug is fixed in the latest ImageJ daily build (1.51s8).
>
> -wayne
>
> > I have noticed that the first selected ROI is also marked as
> > selected in the image (white dots on the outline of the ROI). Could
> > it be that the Translate function thinks that this ROI is selected
> > "twice"? The function works correctly if I click somewhere  in the
> > image after selecting the ROIs in the ROI manager (this unselects
> > the ROI in the image but leaves all ROI selected in the ROI
> > manager).
> >
> > All the best,
> > Klaus
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
Dr. Klaus Michel
Dept. of Human Biology
TU München
Liesel-Beckmann-Strasse 4
D-85354 Freising Weihenstephan
Tel.: +49 (0)8161 715079
Fax: +49 (0)8161 715785
email: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html