CogLineMaxResult Polarity Property Cognex VisionPro
Gets the polarity across the line in the ExpectedLineNormal direction.

Namespace: Cognex.VisionPro.LineMax
Assembly: Cognex.VisionPro.LineMax (in Cognex.VisionPro.LineMax.dll) Version: 65.1.0.0
Syntax

public CogLineMaxPolarityConstants Polarity { get; }

Property Value

Type: CogLineMaxPolarityConstants
The line segment polarity.
Remarks

This value is computed from the GradientDirection of the edge points in Inliers. If all inliers are found to have the same polarity then that value is used; otherwise, the "mixed" value is used.
See Also