public class SoDespeckleProcessing extends SoImageVizEngine
SoDespeckleProcessing engine
The SoDespeckleProcessing engine smooths an image replacing aberrant values by the mean value of their neighbors
For an introduction to image filters, see section Images Filters.
This engine smooths an image replacing aberrant values by the mean value of their neighbors. For each voxels of the input image, mean
and standard deviation
values of the rectangular neighbor's window are computed. The output image value is then given by:
Where
is a user threshold factor on distance of current voxel gray level to the mean of its neighbors relatively to their standard deviation. The greater
is, the stronger the blur is. This filter gives good results in case of impulse noise.
See also:
SoBilateralFilterProcessing, SoSigmaFilterProcessing, SoUnsharpMaskingProcessing.
File format/default:
DespeckleProcessing {
| computeMode | MODE_AUTO |
| kernelSize | 3 3 3 |
| inImage | NULL |
| thresholdFactor | 1.0f |
Library references: despecklefilter despecklefilter3d
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.
|
SoSFVec3i32 |
kernelSize
kernel size in each direction (odd values).
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
SoSFFloat |
thresholdFactor
Stddev threshold factor (strictly positive value).
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoDespeckleProcessing()
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 SoSFVec3i32 kernelSize
SbVec3i32(3,3,3)public final SoSFImageDataAdapter inImage
public final SoSFFloat thresholdFactor
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com