CogSobelEdge SetHysteresisThresholds Method Cognex VisionPro
Set the HysteresisThresholdLow and HysteresisThresholdHigh to the values supplied.

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

public void SetHysteresisThresholds(
	int hysteresisThresholdLow,
	int hysteresisThresholdHigh
)

Parameters

hysteresisThresholdLow
Type: System Int32

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.

hysteresisThresholdHigh
Type: System Int32

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

Events

Exceptions

ExceptionCondition
ArgumentException

One of the threshold values was less than 0 or greater than 255.

ArgumentException

HysteresisThreholdHigh is less than hysteresisThresholdLow.

Remarks

Set the HysteresisThresholdLow and HysteresisThresholdHigh to the values supplied.

See Also