Gets or sets the maximum absolute amount an edge position can deviate from a trained edge position.
It is specified as a fraction of the average bead width.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
Property Value
Type: DoubleDefault value is 0.5 (half the bead width).
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 or equal to 0 or greater than 2. |
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 average bead width is computed at train time. It averages the bead width from a number of calipers. The number of calipers is specified by the SmoothingFactor train property.
A low value for this tolerance means that both edges of the bead must appear very close to where they were in the training image. A high value means that both edges can drift considerably from their trained location.
See Also