InitialStepSize Property

NI Vision for Visual Basic

InitialStepSize Property

Syntax

CWIMAQLearnPatternAdvancedShiftOptions.InitialStepSize

Data Type

Long

Purpose

Largest number of image pixels to shift the sample across the inspection image during the initial phase of shift-invariant matching.

Remarks

The default is 7. The algorithm may reduce the value of InitialStepSize based on InitialSampleSize and the template image. If the step size is not an odd integer, the algorithm coerces it to the next smaller odd integer.