FinalSampleSize Property

NI Vision for Visual Basic

FinalSampleSize Property

Syntax

CWIMAQLearnPatternAdvancedRotationOptions.FinalSampleSize

Data Type

Long

Purpose

Number of template pixels you want to add to the InitialSampleSize for the final phase of shift-invariant matching.

Remarks

These additional points include edge points. The default is 0, which allows the algorithm to compute the FinalSampleSize. 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.