CogLineMaxResult Contrast Property Cognex VisionPro 9.21 SR1
Gets the absolute contrast across the line segment in the ExpectedLineNormal direction.

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

public double Contrast { get; }

Property 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