Re: How to check if the image has a selection

Posted by jmutterer on
URL: http://imagej.273.s1.nabble.com/How-to-check-if-the-image-has-a-selection-tp5014564p5014565.html

Hi,
getSelectionType() is what you are looking for.
Sincerely,
Jerome.
Le 7 oct. 2015 07:11, "Avital Steinberg" <[hidden email]> a
écrit :

> Hi,
> After applying the Versatile Wand, I would like to add the selection that
> was created to the ROI manager. Adding the selection to the ROI manager
> only makes sense if there is a selection. What is the command in the ImageJ
> macro language that checks if the image has a selection? I was searching
> the ImageJ macro API, but I haven't found the answer.
>
> Thanks,
> Avital
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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