Login  Register

Get the selected indexes within the roiManager

Posted by CARL Philippe (LBP) on Apr 15, 2019; 12:26pm
URL: http://imagej.273.s1.nabble.com/Get-the-selected-indexes-within-the-roiManager-tp5022082.html

Dear all,
Within the roiManager, there are the following methods:
        - roiManager("select", index)   to select a single ROI within the
ROI Manager list
        - roiManager("select", indexes) to select several ROIs within the
ROI Manager list, with indexes being an array of integers
But the roiManager("index") method returns only "the index of the first
selected ROI if more than one ROI is selected".
Thus how is it possible to get the list of selected indexes in the case more
than one ROI has been selected?
For information, I want to get the selected ROI indexes in order to make
some sequential calculations on them.
I thank you very much in advance for your lightings on this question.
My best regards,
Philippe

Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 41 84

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