LineMaxResultBase NormalizedContrast Property Cognex VisionPro 9.21 SR1

Gets the normalized 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 NormalizedContrast { get; }

Return 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