CogShapePolarize ContrastThreshold Property Cognex VisionPro 9.8
The minimum absolute contrast difference between a polarity sample point's probes that is required to make a polarity determination. If the difference is less than the threshold then the polarity sample point is assigned an undefined polarity.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax

public double ContrastThreshold { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogShapePolarize Changed

Fires when this property changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value is less than 0.

    Remarks

    The minimum absolute contrast difference between a polarity sample point's probes that is required to make a polarity determination. If the difference is less than the threshold then the polarity sample point is assigned an undefined polarity.

    Default Value: 20.0

    See Also