public class SoSNNFilterProcessing extends SoImageVizEngine
SoSNNFilterProcessing engine
The SoSNNFilterProcessing engine reduces noise while preserving edge content.
For an introduction to image filters, see section Images Filters.
This engine, for Symmetric Nearest Neighbor Filter, is a filter weighted by structural symmetry of a rectangular neighbors window. It computes a local mean, around a central voxel
, of neighbors voxel gray level considering for each neighbor voxel a value given by:
where
is the neighbor voxel symmetric to
with respect to
.
See also:
SoBilateralFilterProcessing, SoSigmaFilterProcessing, SoUnsharpMaskingProcessing.
File format/default:
SNNFilterProcessing {
| computeMode | MODE_AUTO |
| kernelSize | 3 3 3 |
| inImage | NULL |
Library references: snnfilter snnfilter3d
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
The kernel size in each direction (odd value).
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoSNNFilterProcessing()
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 SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com