Hardware manual

Greyscale Template Impact Reference Guide
Datalogic Automation Inc. 3-152
Train Mode
1. Train New Template With Edge Detection
This mode discards previous training and creates a new model on this image. The model greyscale
image is a copy of the training region. The model mask image is created by detecting non-edge pixels
and then eroding them by the standoff distance.
IMPORTANT: Templates made with edge detection have pixels of all intensities and only exclude pix-
els near edges. For example, a model of text includes the black pixels inside the characters and the
white pixels in the background and excludes pixels near the edges of the characters.
2. Add and Train Template With Edge Detection
This mode updates an existing model by adding information from the current image. The model's
Train Grey Level
Threshold Type
The threshold type when thresholding Train Mode is selected
Train Fixed Thresh-
old Range
The threshold range when Fixed Threshold Range is selected for Train
Grey Level Threshold type. The parameters are start and end.
Standoff Distance The distance to erode the template from the edges. Increase this value if
the Train Noise Level setting is not sufficient to accommodate the image
noise level.
Min Feature Size
Protected From
Standoff
The minimum size of features (in units) that should not be subject to
Standoff Distance erosion. An Infinity setting means no features are pro-
tected.
Perform Blob Anal-
ysis
If True, the difference blobs are filtered based on the two following condi-
tions.
Maximum Allowable
Blob Size
The maximum size of an individual difference blob
Maximum Allowable
Total Blob Size
The maximum total size of all the difference blobs
Output Name What it is
Difference Image The difference between the model and the input image (click the Differ-
ence Image tab to view)
Blob Sizes In Toler-
ance
If True, no difference blobs exceeded the maximum allowable sizes
(Perform Blob Analysis must be selected)
Maximum Blob Size
Found
The size of the largest difference blob found (Perform Blob Analysis
must be selected)
Total Blob Size
Found
Total size of all difference blobs found (Perform Blob Analysis must be
selected)
Defect Blob List A list of all difference blobs found that failed blob analysis (Perform Blob
Analysis must be selected)
Non-Defect Blob
List
A list of all difference blobs found that passed Blob Analysis (Perform
Blob Analysis must be selected)
Input Name What it is