public class SoHysteresisThresholdingProcessing extends SoImageVizEngine
SoHysteresisThresholdingProcessing image filter
The SoHysteresisThresholdingProcessing engine computes a SoHysteresisThresholdingProcessing threshold.
The SoHysteresisThresholdingProcessing uses a SoHysteresisThresholdingProcessing loop to provide a more connected threshold result.
Two gray level values
and and
(
thresholds parameter) are specified. The output is given by:
, the point is in the and is preserved:
, the point is in the :
, the point is in the . The point is preserved if connected to a retained area (
), or is rejected if not (
).
The Figure shows the result of a lower bound threshold with value
and
. Figure is the result of an SoHysteresisThresholdingProcessing, where the points in the fuzzy area not connected with points in the retained area are rejected.


This command can be used after an edge detection, which generates, as well as edges, a lot of noise. True edges have a higher chance to be connected to a retained area than pixels corresponding to noise.
See also:
File format/default:
HysteresisThresholdingProcessing {
| computeMode | MODE_AUTO |
| inImage | NULL |
| thresholdLevel | 255.0f 128.0f |
| maxLength | 1 |
Library references: hysteresis
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoSFInt32 |
maxLength
The maximum length allowed for pixel in fuzzy zone (0:until convergence).
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outBinaryImage
The output binary image.
|
SoSFVec2f |
thresholdLevel
The low and high threshold levels.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoHysteresisThresholdingProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFVec2f thresholdLevel
SbVec2f(255.0f,128.0f).public final SoSFInt32 maxLength
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com