CogCaliperEdge Contrast Property Cognex VisionPro
Contrast of the edge in the range -255 -> 255. 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: 65.1.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