FindEdgeOptions

NI Vision for LabWindows/CVI Function

FindEdgeOptions

Describes how you want the function to search for edges and the information the function overlays to the image.

Elements

Name

Type

Description

threshold int Specifies the threshold for the contrast of an edge. During the detection process, the function identifies only edges with a contrast greater than this value. Contrast is defined as the difference between the average pixel intensity before an edge and the average pixel intensity after an edge.
width int The number of pixels that the function averages to find the contrast at either side of the edge.
steepness int The span, in pixels, of the slope of the edge projected along the path specified by the input points.
subsamplingRatio double The number of pixels that separates two consecutive search lines.
showSearchArea int If TRUE, the function overlays the search area on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showSearchLines int If TRUE, the function overlays the search lines used to locate the edges on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showEdgesFound int If TRUE, the function overlays the locations of the edges found on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showResult int If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image. When applicable, the function also overlays the location of any measurements made by the function. If you do not want this information overlaid onto the image, set this element to FALSE.