Login  Register

How to check if the image has a selection

Posted by Avital Steinberg on Oct 07, 2015; 5:04am
URL: http://imagej.273.s1.nabble.com/How-to-check-if-the-image-has-a-selection-tp5014564.html

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