Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 69.0.0.0
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.
| Event Type | Reason |
|---|---|
| CogSobelEdge Changed | Fires when the values of HysteresisThresholdHigh or HysteresisThresholdLow change. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | One of the threshold values was less than 0 or greater than 255. |
| ArgumentException | HysteresisThreholdHigh is less than hysteresisThresholdLow. |
Set the HysteresisThresholdLow and HysteresisThresholdHigh to the values supplied.