MatchMode Property

NI Vision for Visual Basic

MatchMode Property

Syntax

CWIMAQMatchColorPatternOptions.MatchMode

Data Type

CWIMAQMatchModes

You can use the following constants with this data type:

  • cwimaqMatchRotationInvariant—Searches for occurrences of the pattern in the image with no restriction on the rotation of the pattern.
  • cwimaqMatchShiftInvariant—Searches for occurrences of the template image assuming that the template is not rotated more than ±4 degrees.

Purpose

Technique to use when looking for the color template pattern in the color image. The default is cwimaqMatchShiftInvariant.