Gets or sets the minimum number of consecutive failing calipers for a defect to be reported.
Indirectly this property determines the length (along the bead) of the smallest reported defect.
Namespace: Cognex.VisionPro.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 73.0.0.0
Syntax
Property Value
Type: Int32Default value is 3 caliper 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 1 or greater than 10. |
Remarks
The bead inspect tool process the image in 2 phases: the first phase is all about calipers, and the second phase is all about defects.
Caliper processing consists of the following:
- Lay down the calipers to detect edge pairs. This step uses the ContrastThreshold and AbsoluteDistanceThreshold to determine which edges are considered for scoring.
-
Then the scoring procedure chooses the best pair of edges based on:
- Pair width
- Edge positions
- Consistency with neighboring edge positions
A defect is reported for any sequence of ConsecutiveFailingCalipersMin (or more) calipers where all of the individual calipers are deemed out of tolerance
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.
See Also