strange behavior of ROI manager: select multiple ROIs

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

strange behavior of ROI manager: select multiple ROIs

Jan Eglinger-5
Dear all,

I have noticed a strange behaviour when selecting multiple ROIs in the
ROI manager:
After adding several ROIs by typing [t], I tried to select them by
holding shift and clicking on two different ROIs. But instead of
selecting all of them, only the last-clicked got selected.

Then, after using the mouse wheel once to scroll through the ROIs, the
multiple selection with shift works as expected.

Anyone else observed this behaviour?

(I'm using Fiji/ImageJ 1.43d on MacOSX 10.5.7)


Best,
Jan
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Wayne Rasband
On Jul 24, 2009, at 9:11 AM, Jan Eglinger wrote:

> Dear all,
>
> I have noticed a strange behaviour when selecting multiple ROIs in the
> ROI manager:
> After adding several ROIs by typing [t], I tried to select them by
> holding shift and clicking on two different ROIs. But instead of
> selecting all of them, only the last-clicked got selected.
>
> Then, after using the mouse wheel once to scroll through the ROIs, the
> multiple selection with shift works as expected.
>
> Anyone else observed this behaviour?
>
> (I'm using Fiji/ImageJ 1.43d on MacOSX 10.5.7)

This is a bug in Java 1.6 on OS X, which you can work around it by  
switching to Java 1.5. ImageJ for OS X comes with two launchers,  
ImageJ (Java 1.5) and ImageJ64 (Java 1.6).

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

TomEHG
Apparently i have the same problem using ImageJ 1.42 on a PC with WinXP and Java 6 (update 14).

Is there a way to select e.g. the first 70 ROI's within a larger set without the need to click every individual ROI while holding the shift key? Clicking the first ROI, press & hold shift and then clicking the last ROI only selects the first and last but leaves all ROI's inbetween unmarked.

Any help on this is highly appreciated!

Best,

Tom
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Gabriel Landini
On Tuesday 15 September 2009  09:12:54 TomEHG wrote:
> Apparently i have the same problem using ImageJ 1.42 on a PC with WinXP and
> Java 6 (update 14).

Before reporting bugs, please update the ij.jar file. You will not only get
lots of other bugs fixed, but also allow other people to check in their
updated setups if what you are reporting is really a bug.

The current one is 1.43g (daily build) and perhaps your problem has been
resolved already.
You can check here: http://rsbweb.nih.gov/ij/notes.html

G.
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

TomEHG
Updated to 1.43.
It doesn't work with this version as it hasn't worked with an uncounted number of previous versions.
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Gabriel Landini
On Tuesday 15 September 2009  10:55:12 TomEHG wrote:
> Updated to 1.43.
> It doesn't work with this version as it hasn't worked with an uncounted
> number of previous versions.

Do you mean to just select the first n rois?

You can write a small macro that just sets down the Shift key and then selects
the roi by its number. This seems to work OK:

for (i=0;i<5;i++){
  setKeyDown("shift");
  roiManager("Select", i);
}

i hope it helps.

G.
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Michael Schmid
In reply to this post by TomEHG
Hi Tom,

using SHIFT for selecting a range in the ROI Manager works on  
Macintosh OS X 10.4.11, ImageJ 1.43g, Java 1.5.
A platform-dependent problem?

Selecting does not mean creating a union of the rois; the ROI  
selected is the one with the last 'bare' click (no modifier key).

You have to select "More>Combine" (or right-click>Combine) to see the  
union of the ROIs selected or to do some operation on the union.

Michael
________________________________________________________________

On 15 Sep 2009, TomEHG wrote:

> Apparently i have the same problem using ImageJ 1.42 on a PC with  
> WinXP and
> Java 6 (update 14).
>
> Is there a way to select e.g. the first 70 ROI's within a larger  
> set without
> the need to click every individual ROI while holding the shift key?  
> Clicking
> the first ROI, press & hold shift and then clicking the last ROI only
> selects the first and last but leaves all ROI's inbetween unmarked.
>
> Any help on this is highly appreciated!
>
> Best,
>
> Tom

> Updated to 1.43.
> It doesn't work with this version as it hasn't worked with an  
> uncounted
> number of previous versions.
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

dpoburko
In reply to this post by TomEHG
TomEHG wrote:
> Updated to 1.43.
> It doesn't work with this version as it hasn't worked with an uncounted
> number of previous versions.
>  
I have the same problem, but have kept forgetting to comment on it since
1.42. It would be awesome to be able to shift-select a subset of ROIs as
in most lists in Windows, but this doesn't work for me for the ROI
manager (IJ 1.43g).

--

Damon Poburko, PhD
Postdoctoral Research Fellow
Stanford University School of Medicine
Dept. of Molecular & Cellular Physiology
279 Campus Dr., Beckman B103, Stanford, CA 94305
Ph: 650 725 7564, fax: 650 725 8021
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Michael Nonet
I switched to snowleopard last week and this made the using 32 bit version of ImageJ
as fix around this ROI problem fail because snowleopard does not come with Java 1.5 installed so
1.43 loads with java 1.6

I emailed Wayne Rasband to ask him what priority was being put to fix this
bug- which I consider major.

But in the mean time I found out how to put back on JAVA 1.5 on Snow Leopard
see
http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard

you do not need to do this in terminal mode.
simple download Java 1.5 from the link or from you leopard OX system disk.
unarchive it, place it in the JAVA frameworks folder instead of the 1.5.0
alias file that is currently in the folder now. Finally, open Java
preferences utility and move JAVA 1.5 32 bit as the highest priority to open
applications.

Of course this may cause other aps that need java 1.6 to crash, but it does
solve the 1.43 (32 bit) multiple ROI selection problem
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Wayne Rasband
In reply to this post by Jan Eglinger-5
> I switched to snowleopard last week and this made the using
> 32 bit version of ImageJ as fix around this ROI problem fail
> because snowleopard does not come with Java 1.5 installed so
> 1.43 loads with java 1.6

The v1.43i daily build has a work around for this bug that caused  
multiple selection in the ROI Manager to not work with Java 1.6 on Mac  
OS X.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior of ROI manager: select multiple ROIs

Michael Nonet
Wayne's fix ( v1.43i) works for me using snow leopard.