CogSobelEdge HysteresisThresholdLow Property Cognex VisionPro
If PostProcessMode is cogSobelEdgePostProcessModeHysteresisThreshold, then hysteresis thresholding will be run on the Sobel magnitude image using this as the magnitude level below which edges are always discarded.

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

public int HysteresisThresholdLow { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogSobelEdge Changed

Fires when the value of this property changes.

The following state flag may be affected:

CogSobelEdge Changed

Fires when the value of this property changes and HysteresisThresholdHigh changes as well.

The following state flags may be affected:

Exceptions

ExceptionCondition
ArgumentException

The threshold was less than 0 or greater than 255.

Remarks

If PostProcessMode is HysteresisThreshold, then hysteresis thresholding will be run on the edge magnitude image using this as the magnitude level below which edges are always discarded.

This property is coupled to the HysteresisThresholdHigh property such that the HysteresisThresholdLow value will never be greater than the HysteresisThresholdHigh value. If HysteresisThresholdLow is set to a value that is greater than the current HysteresisThresholdHigh value, then HysteresisThresholdHigh will be increased to this new value automatically.

Default Value: 10

See Also