Re: get ROI label

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: get ROI label

dpoburko
Hi All,

   Just wondering if anyone knows of a macro level method of getting the
label of a given ROI. I can see how to rename an ROI, and it would be
handy in some cases to be able to get the name of an ROI.

Thanks,
Damon
Reply | Threaded
Open this post in threaded view
|

Re: get ROI label

lechristophe
Hi,

As stated in http://rsbweb.nih.gov/ij/developer/macro/functions.html :

You can get the selection name using
call("ij.plugin.frame.RoiManager.getName", index)

Cheers,

Christophe


On Thu, Feb 10, 2011 at 18:22, Damon Poburko <[hidden email]> wrote:
>
> Hi All,
>
>  Just wondering if anyone knows of a macro level method of getting the label of a given ROI. I can see how to rename an ROI, and it would be handy in some cases to be able to get the name of an ROI.
>
> Thanks,
> Damon