FinalSampleSizeFactor Property

NI Vision for Visual Basic

FinalSampleSizeFactor Property

Syntax

CWIMAQLearnPatternAdvancedRotationOptions.FinalSampleSizeFactor

Data Type

Double

Purpose

Size of the sample for the final phase of shift-invariant matching as a percent of the edge points in the template, in pixels.

Remarks

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