CogShapeExtract ContrastThreshold Property Cognex VisionPro 9.24
The minimum absolute contrast difference used when extracting raw edge data from the input image. Edges with a contrast difference that is less than or equal to this threshold are ignored.

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

public double ContrastThreshold { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogShapeExtract 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 used when extracting raw edge data from the input image. Edges with a contrast difference that is less than or equal to this threshold are ignored.

    Default Value: 20.0

    See Also