CogCaliperEdge Contrast Property Cognex VisionPro 9.7
Contrast of the edge in the range -255 -> 255 for 8-bit images or -65535 -> 65535 for 16-bit images. Negative contrasts represent light to dark transitions along the search direction and positive ones represent dark to light transitions.

Namespace: Cognex.VisionPro.Caliper
Assembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 73.0.0.0
Syntax

public double Contrast { get; }

Property Value

Type: Double
Remarks

The contrast (the difference in pixel values across the edge) of this edge. The contrast value can range from -255 to +255. Negative contrasts represent light to dark transitions along the search direction and positive ones represent dark to light transitions.

See Also