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

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

public int EdgeThresholdLow { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogCNLSearchRunParams Changed

Fires when the low threshold is changed.

The following state flag may be affected:

CogCNLSearchRunParams Changed

Fires when both the low and high thresholds are changed.

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 below the low threshold are excluded from the edge map generated from the run-time search image. 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. Only applies to Nonlinear CNLPAS.

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