SubPixelTolerance Property

NI Vision for Visual Basic

SubPixelTolerance Property

Syntax

CWIMAQMatchPatternAdvancedOptions.SubPixelTolerance

Data Type

Double

Purpose

Maximum amount of change, in degrees, between consecutive incremental improvements in the match angle that you want to trigger the end of the refinement process.

Remarks

The default is 0, which specifies using the SubpixelIterations value.

If you provide values for both SubpixelIterations and SubpixelTolerance, the algorithm refines the match for, at most, SubpixelIterations but may stop early if SubpixelTolerance is satisfied. If you set SubpixelTolerance, matches may be invalidated during the subpixel matching process. However, using SubpixelIterations alone cannot invalidate a match. This behavior is particularly important in the CWIMAQVision.RefineMatches method.

See Also

CWIMAQVision.RefineMatches