Difference  
Top  Previous  Next


Menu:   Processing > Arithmetic/Logic… > Arithmetic > Difference  
Script:   diffIm  

Use this function to find absolute differences of two images on a pixel-by-pixel basis. The following formula is used for calculating the intensity of the target pixel:

diffim

If the input images differ in types, they will be automatically converted to the type that forces conformity between the images. If the 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:

Input1
 
Displays the frame number of the first input image. If you want to perform the operation on another image, type or select the corresponding value.  

Input2
 
Displays the frame number of the second input image. 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.  
 
Normalize
 
Check this option to have pixel values in the output image to be linearly scaled to the full intensity range of the image. If the image is of the floating point or complex type, this option is disregarded.