Hardware manual

Impact Reference Guide Greyscale Template
3-151 Datalogic Automation Inc.
Greyscale Template
In the Flaw Detection Drawer
The Greyscale Template tool creates a template of an image when the tool is trained and that template is
compared to the input image. A "difference blob" is created of the differences between the template and the
inspected image. The difference image can be linked to other tools.
A greyscale template model consists of two parts; a greyscale image that is subtracted from the test image to
find areas of difference, and a binary mask image that indicates which pixels in the rectangular model area
should be used and which should be ignored. The mask image is needed because edges in the greyscale
image generate large differences from the test image with even a slight misalignment. The mask image indi-
cates <don’t care> near image edges. The size of the <don’t care> areas around edges is twice the standoff
distance.
Defect Type Find Bright Defects - finds bright areas
Find Dark Defects - finds dark areas
Find Both Defects - finds both dark and bright areas
Output Name What it is
Defect List The list of points found
Input Name What it is
Input Image Linked Image
Tool Origin The tool’s origin relative to the entire image space
Shape List The desired region of the image to search.
Greyscale Tem-
plate Model
The model to find, linked from another tool
Greyscale Differ-
ence Type
Adaptive or Fixed (see “Greyscale Difference Type” on page 3-153)
Match Sensitivity Indicates amount of noise in the image. Higher settings allow rougher
edges and cause more thorough and longer searching
Train Mode The template training mode (see “Train Mode” on page 3-152)
Train Noise Level The amount of background noise present in the image. A larger value
erodes the template edges more to eliminate more noise. If the noise
level is very high, use the Standoff Distance input to increase the edge
erosion.
Train Edge Detec-
tion Sensitivity
The sensitivity level determines the transition level necessary for detec-
tion. A higher value detects more weaker edges but causes the tool to
run slower.
Train Fixed Edge
Value
The sensitivity value for Fixed Train Edge Detection Sensitivity type
Input Name What it is