Invert  
Top  Previous  Next


Menu:   Processing > Arithmetic/Logic… > Arithmetic > Invert  
Script:   invertIm  

Use this function to invert pixel values in an image. The following formula is used for calculating the intensity of the target pixel:

invertim
where
Imax is the maximum possible intensity value for the given image type.

In case of floating point and complex images
Imax is assigned zero, so the function will negate pixel values.

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.  

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.  

Note – to logically invert a binary image, use Not
operation.