LearnGeometricPatternAdvancedOptions

NI Vision for LabWindows/CVI Function

LearnGeometricPatternAdvancedOptions

Advanced options for determining the information the algorithm learns about the geometric pattern.

Elements

Name

Type

Description

minRectLength int Specifies the minimum length for each side of a rectangular feature. The function ignores rectangular features with a side shorter than minRectLength.
minRectAspectRatio double Specifies the minimum aspect ratio of a rectangular feature. The function ignores rectangular features with aspect ratios less than minRectAspectRatio.
minRadius int Specifies the minimum radius for a circular feature. The function ignores circular features with radii less than minRadius.
minLineLength int Specifies the minimum length for a linear feature. The function ignores linear features with lengths shorter than minLineLength.
minFeatureStrength double Specifies the minimum strength for a feature. The function ignores features with a strength less than minFeatureStrength. Valid values for this element range from 0 to 1.
maxFeaturesUsed int Specifies the maximum number of features the function uses when learning. Set this element to 0 to specify that the function should use all features.
maxPixelDistanceFromLine int Specifies the maximum number of pixels between an edge pixel and a linear feature for the function to consider that edge pixel as part of the linear feature.