Re: Getting a list of indexes of selected ROIs
Posted by
Straub, Volko A. (Dr.) on
Aug 03, 2015; 12:05pm
URL: http://imagej.273.s1.nabble.com/Getting-a-list-of-indexes-of-selected-ROIs-tp5013762p5013861.html
Thanks Emanuele,
With the help of some previous comments I have some working macro script that enables me to create a list of selected ROIs. I had noticed the getSelectedIndices() function in the documentation, but I can't find a way to get it working in a macro. I probably should start using plugins or jython.
Volko
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Emanuele Martini
Sent: 03 August 2015 10:21
To:
[hidden email]
Subject: Re: Getting a list of indexes of selected ROIs
Hi Volko,
I don't know in imagej macro language...but I use roim.getSelectedIndices() in jython script and it returns the indices of all selected rois.
roim is the roimanager instance.
But I really don't know how it works in macro language, since I don't use it very often.
Hoping to have been helpful,
have a nice day
Emanuele Martini
-----
Image Analyst @Ifom-IEO research campus -MI-
--
View this message in context:
http://imagej.1557.x6.nabble.com/Getting-a-list-of-indexes-of-selected-ROIs-tp5013762p5013856.htmlSent from the ImageJ mailing list archive at Nabble.com.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html