StraightEdge

NI Vision for LabWindows/CVI Function

StraightEdge

Contains information about the detected straight edge.

Elements

Name

Type

Description

straightEdgeCoordinates LineFloat End points of the detected straight edge in pixel coordinates.
calibratedStraightEdgeCoordinates LineFloat End points of the detected straight edge in real-world coordinates.
angle double Angle of the found edge using the pixel coordinates.
calibratedAngle double Angle of the found edge using the real-world coordinates.
score double Describes the score of the detected edge.
straightness double The straightness value of the detected straight edge. Straightness is defined as the root mean squared error of the fitted line that represents the detected straight edge. A value of 0 indicates a perfectly straight line.
averageSignalToNoiseRatio double Describes the average signal to noise ratio (SNR) of the detected edge.
calibrationValid int Indicates if the calibration data for the straight edge is valid.
usedEdges EdgeInfo* An array of edges that were used to determine this straight line.
numUsedEdges unsigned int Indicates the number of edges in the usedEdges array.