LineMaxResultBase Polarity Property Cognex VisionPro 9.25 SR1

Gets the polarity across the line in the ExpectedLineNormal direction.

Namespace: Cognex.Vision.LineMax.Implementation
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.25.1.0
Syntax

public abstract LineMaxPolarityConstants Polarity { get; }

Return Value

Type: LineMaxPolarityConstants

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