CogCNLSearchPattern EdgeThresholdLow Property Cognex VisionPro 9.8
Edges with strengths below the low threshold are excluded from the trained pattern. Edges with strengths between low & high (inclusive) are included if 8-connected to an edge already belonging to the trained pattern. Only applies to NonLinear CNLPAS.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 75.1.0.0
Syntax

public int EdgeThresholdLow { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
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:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value is less than 0 or greater than 255.

    Remarks

    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

    See Also