Mask  
Top  Previous  Next


Menu:   Processing > Arithmetic/Logic… > Logic > Mask  
Script:   maskIm  

Use this function to mask a source image with an image of the multiphase
type. The function extracts from the input image only those pixels that have the corresponding pixels in the mask image belonging to the selected Phase. The pixels that do not fall under the mask are set to zero.

If the Input and Mask images or selections are different sizes, one or both of them will be clipped to match the minimal horizontal and vertical dimension of the images or selected regions of interests. See Arithmetic/Logic
for more details.

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

Input
 
Displays the input image frame number. If you want to perform the operation on another image, type or select the corresponding value.  
 
Mask
 
Displays the frame number of the multiphase image used as a mask. If you want to perform the operation on another image, type or select the corresponding value.  

Output
 
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.  
 
Preview
 
Select this check box to watch the Preview of the output image.  

Phase
 
Lets you choose the phase that will be used for masking. Only those pixels in the Input image that have the corresponding pixels in the Mask image equal to Phase will be extracted.  
 
Invert
 
Select this option to invert the operation and extract those areas of the Input image that are not masked with the selected Phase.