Hardware manual
Image Math Impact Reference Guide
Datalogic Automation Inc. 3-46
Pixels on the Output image are set to one hundred if they are logically True, and zero if they are logi-
cally False.
• XOR
This operation performs a logical XOR (exclusive OR) of the corresponding Input image and Second-
ary 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 logically False.
• NOT
This operation performs a logical NOT on the Input image pixels (the Secondary image is not used).
The Output image pixel greyscale value is one hundred if the Input image value is zero, and zero if the
Input image value is greater than zero.
• Invert
This operation performs inverse greyscale mapping of the pixels on the Input image (the Secondary
image is not used). The Output image pixel greyscale level is calculated as 100 minus the input pixel
value.
• Weighted Average
This operation is useful for combining multiple images of the same stationary object and averaging
the images together to reduce the noise level. See “Weighted Average Calculation” on page 3-47 for
details. The input image and secondary image must be the same height and width.
Like other filtering tools, the Output image size is determined by the size of this tool’s Shape List shape and
bounding box, based on the following situations. In any case, only the area within the Shape List is used in
the operation.
• Pixels in the Input image that are outside the shape, but inside the bounding box, like the corners of a
square outside a circle, are copied unchanged from the Input image.
• If the Secondary image is the same size as this tool’s Shape List’s bounding box, that image is com-
pared, pixel-by-pixel, with the Input image.
• If the secondary image is larger or smaller than this tool’s Shape List’s bounding box, the Shape List is
applied to the Secondary image before the operation.
Input Name What it is
Input Image The operation is performed on this image and the Secondary image
Tool Origin The tool’s origin relative to the entire image space
Shape List The desired region of the image to process. If no shape is defined, the
entire image is processed.
Primary Image with ROI Secondary Image Output Image
Bounding Box