2013-01-05:
I want to define ROIs (regions of interest) as contiguous groups of pixels that satisfy a certain condition. For example, I want to use the 12C14N image as a template for ROI definition, and define ROIs by selecting all pixels where the accumulated 12C14N- ion counts are larger than 3000.
LANS allows you to execute a more general version of this idea.
r>0.5
will select all contiguous regions for which the pixel value in the image is larger than 0.5. Similarly, expression r>0.5 & r<1
will select regions for which the pixel values are between 0.5 and 1. Use |
if you want to specify a condition with logical or (e.g., r<0.1 | r>0.5
).r>0.2 & g<0.5 & b>2
, or (r>0.5 | g<0.2) & b>2
.