PatMax Parameter and Result Summary

The table below summarizes the parameters that you supply to PatMax and the results that PatMax returns to you. Different parameters and results are used and returned for training and alignment.

PatMax parameters and results summarized

Type

Item

Notes

Training parameters

Model origin

Location in pattern model to use when returning result locations in run-time images

Can be set at run time with minimal time penalty.

Training model

The pattern of interest

Elasticity

Amount of tolerance (in pixels) for nonlinear geometric change in feature location

Can be set at run time with minimal time penalty.

Polarity tolerance

Either consider or ignore the polarity information in patterns in the run-time image

Can be set at run time with minimal time penalty.

Feature granularity

Controls the size of features that make up a trained pattern. Must set before training.

Do not set manually for most applications.

High sensitivity mode

Use standard mode for normal images, high sensitivity mode for noisy or low contrast images.

Sensitivity parameter

Use the default value for most applications.

Edge threshold mode

Whether to use automatic edge detection threshold computation or the threshold you supply in training.

Do not set threshold manually for most applications.

Edge threshold parameter

The edge threshold you supply.

Expected deformation rate (PatFlex only)

Expected pattern deformation rate.

Mask image

Excludes parts of training image from pattern.

Alignment (run-time) parameters

Enabled degrees of freedom

Only enabled transformations are measured

Nominal transformation value(s) and zone(s)

For each non-enabled degree of freedom, specify a nominal value. For each enabled degree of freedom, specify a range of values (zone).

Number of results

The number of instances of the pattern you expect PatMax to find in the run-time image

Contrast threshold

The minimum contrast value for pattern instances

Edge threshold mode

Whether to use automatic edge detection threshold computation or the threshold you supply during run-time.

Do not set threshold manually for most applications.

Edge threshold parameter

The edge threshold you supply.

Score using clutter

Whether or not to consider the effect of extraneous features on pattern instance score

Score (or accept) threshold

Threshold for considering an instance of the pattern as valid

Mask image

Exclude parts of run-time image from consideration

Timeout

Maximum amount of run time PatMax use

PatFlex run-time parameters

Set for PatFlex only. These are specified in ccPMFlexRunParams

Outside region threshold

Enables patterns that extend outside the search region to be found by PatMax or PatQuick without penalizing the score

Alignment (run-time) results

Location

Location of each instance

Pose

Description of how instance is mapped from trained pattern to run-time pattern instance

Angle

The angle of the found result instance relative to the trained pattern

X and y scale

X-axis and Y-axis scale of the found result instance relative to the trained pattern

Scores

Indication of degree of fit

Outside region feature and area proportion

Specifies what proportion of the result pattern’s features or area fall outside the runtime search region

Accepted

Whether the score received by this result instance is greater than or equal to the score threshold specified for this search

Match and image region

Rectangles that describe the location and extent of the result instance

Image from client transform at the center

Image from client transform at the center point of this result instance

Diagnostics

Various diagnostic information

PatFlex results

The PatFlex results

PatPersp results

The PatPersp results