How can I select ROIs within a ROI?
Posted by
Avital Steinberg on
Jul 10, 2015; 4:04am
URL: http://imagej.273.s1.nabble.com/How-can-I-select-ROIs-within-a-ROI-tp5013496.html
Hi,
I am writing a macro which segments ROIA, and then segments things within
ROIA - I'll call them ROIA1, ROIA2. Likewise, I have a large ROIB and
within it, some small ROIs - ROIB1, ROIB2, ROIB3, etc. (there may be 400
large ROIs containing smaller ROIs within them)
I would like to be able to select all of the ROIs which are contained
within a certain ROI. How would I do that?
In Java, I would use a tree data structure for this type of search.
How would I do this in a macro? Searching the whole ROI list every time I
want to find a subset is time consuming.
Thanks,
Avital
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html