CogLineMaxResult NormalizedContrast Property Cognex VisionPro 9.21 SR1
Gets the normalized 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 NormalizedContrast { get; }

Property Value

Type: Double
The normalized contrast ratio.
Remarks

NormalizedContrast is computed using the average normalized contrast of all the Inliers of the line segment.

Unlike Contrast, which is a measure of absolute intensity difference, NormalizedContrast is a measure of relative intensity difference. It measures the contrast relative to the local pixel intensity.

See Also