CurveOptions

NI Vision for LabWindows/CVI Function

CurveOptions

Describes how a function identifies curves in an image.

Elements

Name

Type

Description

extractionMode ExtractionMode Specifies the method the function uses to identify curves in the image.
threshold int Specifies the minimum contrast a seed point must have in order to begin a curve.
filterSize EdgeFilterSize Specifies the width of the edge filter the function uses to identify curves in the image.
minLength int Specifies the length, in pixels, of the smallest curve the function will extract. The function will ignore any curves that have a length less than minLength.
rowStepSize int Specifies the distance, in the y direction, between lines the function inspects for curve seed points.
columnStepSize int Specifies the distance, in the x direction, between columns the function inspects for curve seed points.
maxEndPointGap int Specifies the maximum gap, in pixels, between the endpoints of a curve that the function identifies as a closed curve. If the gap is larger than maxEndPointGap, the function identifies the curve as an open curve.
onlyClosed int Set this element to TRUE to specify that the function should only identify closed curves in the image. Set this element to FALSE to specify that the function should identify both open and closed curves in the image.
subpixelAccuracy int Set this element to TRUE to specify that the function identifies the location of curves with subpixel accuracy by interpolating between points to find the crossing of threshold. Set this element to FALSE to specify that the function identifies the location of curves as the point nearest the crossing of threshold.