Hardware manual

Impact Reference Guide Image Math
3-45 Datalogic Automation Inc.
Image Math
In the Image Filtering Drawer
The Image Math tool performs image math operations on one or more images to produce an output image.
Each operation does a pixel by pixel comparison of two images. The result of the math operation on corre-
sponding pixels provides the output image’s grey level values.
All operations involve the Input Image and the Secondary Image (except Invert and NOT, which use only
the Input Image). The resultant image is displayed on the Output Image tab. Each operation is explained
here.
Subtract With Offset:
This operation subtracts the Secondary image from the Input image and adds fifty to each pixel’s grey
level value. Resultant values greater than one hundred are clipped at one hundred and values less than
zero are clipped at zero. Because negative grey level values cannot be shown in an image, fifty is
added to them so that they are shown as values from zero to forty nine.
Subtract
This operation subtracts the secondary image from the input image. Resultant values less than zero are
clipped at zero.
Absolute Difference
This operation subtracts the Secondary image from the Input image and provides the absolute value of
the difference as the result. For example, -1 becomes 1, -2 becomes 2, etc.
Min
The result of this operation is the minimum value of the corresponding pixel grey levels on the Input
image compared to those on the Secondary image.
Max
The result of this operation is the maximum value of the corresponding pixel grey levels on the Input
image compared to those on the Secondary image.
AND
This operation performs a logical AND of the corresponding Input image and Secondary image pixel
grey levels. Pixels on the images are considered logically True if their grey level is greater than zero.
Pixels on the Output image are set to one hundred if they are logically True, and zero if they are logi-
cally False.
OR
This operation performs a logical OR of the corresponding Input image and Secondary image pixel
grey levels. Pixels on the images are considered logically True if their grey level is greater than zero.
Tool Origin The tool’s origin relative to the entire image space
Shape List The desired region of the image to search. If no shape is defined, the
entire image is processed.
Filter Size The area size (in pixels square) to include in the smoothing. Smaller
numbers provide less smoothing.
Output Name What it is
Output Image Smoothed Image within ROI (may be viewed on the Output Image tab).
Input Name What it is