Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Property Value
Type: Int32| Event Type | Reason |
|---|---|
| CogCNLSearchPattern Changed | Fires when the value of this property changes. The following state flag may be affected: |
| CogCNLSearchPattern Changed | Fires when both the low and high thresholds change but the pattern does not become untrained (because it has not been trained). The following state flags may be affected: |
| CogCNLSearchPattern Changed | Fires when either or both thresholds change and the pattern becomes untrained. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is less than 0 or greater than 255. |
All edges with strengths above the high threshold are included in the trained pattern. All edges with strengths below the low threshold are excluded from the edge map. Edges with strengths between the thresholds are included in the edge map if they are 8-connected (vertically, horizontally, or diagonally adjacent) to another edge with a strength above the threshold, either directly or through other edges with strengths between the thresholds. This property only applies to the Nonlinear CNLPAS algorithm.
The low threshold must be less than or equal to the high threshold; if this value is set above the high threshold, the high threshold is also set to the supplied value.
Default Value: 3.0