PatternMatch

NI Vision for LabWindows/CVI Function

PatternMatch

Information describing a matched pattern.

Elements

Name

Type

Description

position PointFloat The location of the center of the match.
rotation float The rotation of the match relative to the template image, in degrees.
scale float The size of the match relative to the size of the template image, expressed as a percentage.
score float The accuracy of the match. A score of 1,000 indicates a perfect match, and a score of 0 indicates no match.
corner[4] PointFloat An array of four points describing the rectangle surrounding the template image.