InitialSampleSize Property

NI Vision for Visual Basic

InitialSampleSize Property

Syntax

CWIMAQLearnPatternAdvancedRotationOptions.InitialSampleSize

Data Type

Long

Purpose

Number of template pixels that you want to include in a sample for the initial phase of shift-invariant matching.

Remarks

The default is 0, which allows the algorithm to compute the Initial Sample Size. For optimal speed, the algorithm coerces sizes that are less than 240 to an integer multiple of 12 and coerces sizes greater than 240 to an integer multiple of 60.