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 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.Neighborhood3ds
Inventor.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.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoHysteresisThresholdingProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public 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 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com