Feature AND  
Top  Previous  Next

Menu:   Processing > Arithmetic/Logic… > Logic > Feature And  
Script:   featureAnd  

Use this function to extract the features (blobs) that match foreground pixels in the other image. Both Input and Mask images should be of the multiphase
type. The function works by identifying foreground objects in the source image and matching them against corresponding pixels in the Mask image. If any pixel of the object matches a mask pixel that belongs to the selected Phase, the entire object is copied to the Output image.

If you choose this command, the following options will become available:

Displays the input image frame number. If you want to process another image, type or select the corresponding value.  

Displays the number of the frame in which the output image will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  

Select this check box to watch the Preview of the output image.  
Lets you choose the phase that will be used for masking. Only those objects in the Input image having the correspondent pixels in the Mask image equal to Phase will be extracted.  
Lets you choose the neighborhood for connectivity analysis.  
Select 4-connect to use the "city block" neighborhood. The pixels connected diagonally will be considered belonging to different objects.  
Select 8 connect to use the "chess board' neighborhood. Any interconnected pixels will be considered belonging to the same object.