CogSobelEdge HysteresisThresholdHigh Property Cognex VisionPro 9.7
If PostProcessMode is cogSobelEdgePostProcessModeHysteresisThreshold, then hysteresis thresholding will be run on the Sobel magnitude image using this as the magnitude level at or above which edges are never discarded.

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

public int HysteresisThresholdHigh { 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 HysteresisThresholdLow 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 at or above which edges are never discarded.

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

Default Value: 20

See Also