Re: How to know if a pixel is inside a selection ?
Posted by
Rainer M. Engel on
Apr 11, 2014; 1:10pm
URL: http://imagej.273.s1.nabble.com/How-to-know-if-a-pixel-is-inside-a-selection-tp5007279p5007283.html
I don't know what you already have tried to solve your problem but there
is a function to check if a point is inside a selection.
selectionContains(x, y)
Am 11.04.2014 13:18, schrieb YuriGagarine:
> Hi all,
>
> I want to know if a pixel is inside a selection thanks to the txt file that
> I get after saving the ROI. The text file only give the tops of the polygon
> selection and what I want to have is a binary mask that distinguish pixel
> that are in the selection from the other.
>
> Thanks in advance and sorry for my english.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html