RotationAngleRanges Property (Read Only)

NI Vision for Visual Basic

RotationAngleRanges Property (Read Only)

Syntax

CWIMAQMatchColorPatternOptions.RotationAngleRanges

Data Type

CWIMAQRanges

Purpose

Collection of angle ranges, where each range specifies how much you expect the color template pattern to rotate in the image. Each range is specified by a lower angle and an upper angle, both of which are expressed in degrees.

Remarks

The rotation angle ranges are part of the setup information for the CWIMAQVision.MatchColorPattern method if you set MatchMode to cwimaqMatchRotationInvariant. The method ignores this property otherwise. Each range in the RotationAngleRanges specifies how much you expect the template 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. Leave this collection empty if you want all the angle ranges to be considered when performing a rotation-invariant match.

See Also

CWIMAQVision.MatchColorPattern