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