Gets or sets the minimum contrast required for detecting the edges of the bead.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
Property Value
Type: Int32Default value is 10 pixel values.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| 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).
The contrast of an edge is the absolute difference in average pixel values across the edge. A contrast that is greater than the value you specify is considered an edge.
See Also