Getting a list of indexes of selected ROIs
Posted by
Straub, Volko A. (Dr.) on
Jul 27, 2015; 3:27pm
URL: http://imagej.273.s1.nabble.com/Getting-a-list-of-indexes-of-selected-ROIs-tp5013762.html
I am trying to get a list of the indexes if multiple ROIs are selected in the ROI manager to use in a macro. The function roiManager("index") returns the index of the first selected ROI, but is there a way to obtain the number and indexes of multiple selected ROIs? I noticed that the RoiManager class has a getIndexes() function. Is there a way to use that function in a macro? I thought there was, but searching the documentation, I don't seem to be able to find the right information.
Any advice/pointers would be very welcome.
Thanks,
Volko
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html