public class SoBoxFilterProcessing extends SoImageVizEngine
SoBoxFilterProcessing engine
The SoBoxFilterProcessing engine smooths an image using a box kernel.
For an introduction to image filters, see section Images Filters.
This engine performs a lowpass filter using the same box kernel as a lowpass filter. Yet, with this module, size in X, Y and Z may be different and larger than 7.
The algorithm calculates the local mean in a given size window. In the 3-D case, for a window of size 2p+1 in X, 2q+1 in Y and 2r+1 in Z:
The K coefficient is the Normalization coefficient:
otherwise.
See also:
SoGaussianFilterProcessing, SoRecursiveExponentialFilterProcessing.
File format/default:
BoxFilterProcessing {
| computeMode | MODE_AUTO |
| kernelSize | 3 3 3 |
| inImage | NULL |
| autoScale | true |
Library references: boxfilter boxfilter3d
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFBool |
autoScale
Select the automatic intensity scaling mode.
|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inImage
The input grayscale image.
|
SoSFVec3i32 |
kernelSize
The kernel size in each direction.
|
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 |
|---|
SoBoxFilterProcessing()
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 SoSFBool autoScale
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com