Classifying ROIs in the RoiManager
Posted by
Avital Steinberg on
URL: http://imagej.273.s1.nabble.com/Classifying-ROIs-in-the-RoiManager-tp5012523.html
Hi,
I would like to be able to choose ROIs belonging to a certain class from
the ROI manager in a macro. For example, I renamed the ROIs as triangle1,
triangle2, triangle3, circle1, circle2, rectangle1, rectangle2.
I would like to be able to add triangles and iterate over all the
triangles. I can sort the ROIs in the RoiManager, so that the ROIs of a
certain class will be in consecutive order.
However, in order to be able to choose only triangles, I would have to keep
track of how many triangles there are.
Is there an easier way to select (and iterate over) only ROIs of a certain
class (such as triangles or circles), without having to keep track of the
number of objects in each class and their order?
Thanks,
Avital
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html