InitialSampleSizeFactor Property

NI Vision for Visual Basic

InitialSampleSizeFactor Property

Syntax

CWIMAQLearnPatternAdvancedShiftOptions.InitialSampleSizeFactor

Data Type

Double

Purpose

Size of the sample for the initial phase of shift-invariant matching as a percent of the template size, in pixels.

Remarks

The default is 0, which causes the algorithm to use InitialSampleSize. If you provide values for both InitialSampleSizeFactor and InitialSampleSize, the algorithm uses InitialSampleSize. 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.