SubPixelTolerance Property

NI Vision for Visual Basic

SubPixelTolerance Property

Syntax

CWIMAQMatchGeometricPatternAdvancedOptions.SubPixelTolerance

Data Type

Double

Purpose

Specifies the maximum amount of change, in pixels, between consecutive incremental improvements in the match position before the method stops refining the match position.

Remarks

The default value is 0, which specifies that the method should always use a number of refinements equal to CWIMAQMatchGeometricPatternAdvancedOptions.SubPixelIterations. If you provide values for both SubPixelIterations and SubPixelTolerance, the method refines the match for, at most, SubPixelIterations but may stop early if SubPixelTolerance is satisfied.