LineMaxResultBase Contrast Property Cognex VisionPro 9.21 SR1

Gets the absolute contrast across the line segment in the ExpectedLineNormal direction.

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

public abstract double Contrast { get; }

Return Value

Type: Double

The absolute grey level difference.

Remarks

Contrast is computed using the average GradientMagnitude of all the Inliers of the line segment. Unlike NormalizedContrast, which is a measure of relative intensity difference, Contrast is a measure of absolute intensity difference.

See Also