CogBeadInspectFindParams ContrastThreshold Property Cognex VisionPro 9.7
Gets or sets the contrast threshold used to detect the bead edges.

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

public double ContrastThreshold { get; set; }

Property Value

Type: Double
Default value is 10.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than 1 or greater than 255.
Remarks

This property only supports float value type precision; up to 5 decimal places (such as 0.00001) can typically be expected to be maintained. Further precision can be assigned but will be lost (truncated).

See Also