FindPatternOptions

NI Vision for LabWindows/CVI Function

FindPatternOptions

An array of angle ranges, in degrees, where each range specifies how much you expect the pattern to be rotated in the image. To decrease the search time, limit the degrees of rotation in which you expect to find the template image. Set this element to NULL to allow all angles.

Elements

Name

Type

Description

mode MatchingMode Specifies the method to use when looking for the pattern in the image.
numMatchesRequested int Number of valid matches expected.
minMatchScore int The minimum score a match can have in order for the function to consider the match valid.
subpixelAccuracy int Set this parameter to TRUE to return areas in the image that match the pattern area with subpixel accuracy.
angleRanges RotationAngleRange* An array of angle ranges, in degrees, where each range specifies how much you expect the pattern to be rotated in the image. To decrease the search time, limit the degrees of rotation in which you expect to find the template image. Set this element to NULL to allow all angles.
numRanges int Number of angle ranges in the angleRanges array.
showSearchArea int If TRUE, the function overlays the search area on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showResult int If TRUE, the function overlays the centers and bounding boxes of the patterns it locates on the result image. If you do not want this information overlaid onto the image, set this element to FALSE.