SoBoxFilterProcessing engine More...
#include <ImageViz/Engines/ImageFiltering/SmoothingAndDenoising/SoBoxFilterProcessing.h>
Public Member Functions | |
SoBoxFilterProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFVec3i32 | kernelSize |
SoSFImageDataAdapter | inImage |
SoSFBool | autoScale |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
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:
SoRecursiveExponentialFilterProcessing.
computeMode | MODE_AUTO |
kernelSize | 3 3 3 |
inImage | NULL |
autoScale | TRUE |
SoBoxFilterProcessing::SoBoxFilterProcessing | ( | ) |
Constructor.
Select the automatic intensity scaling mode.
Default value is TRUE.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input grayscale image.
Default value is NULL. Supported types include: grayscale binary label image.
The kernel size in each direction.
Default value is SbVec3i32(3,3,3)
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.