SoMajorityFilterProcessing engine More...
#include <ImageViz/Engines/ImageFiltering/SmoothingAndDenoising/SoMajorityFilterProcessing.h>
Public Member Functions | |
SoMajorityFilterProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFVec3i32 | kernelSize |
SoSFImageDataAdapter | inImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoMajorityFilterProcessing engine replaces voxels by the more present value inside the neighborhood.
For an introduction to image filters, see section Images Filters.
This engine replaces voxels by the more present value inside the neighborhood. If several values are present the same number of times, the module favors original voxel value.
computeMode | MODE_AUTO |
kernelSize | 3 3 3 |
inImage | NULL |
SoMajorityFilterProcessing::SoMajorityFilterProcessing | ( | ) |
Constructor.
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 (odd values).
Default value is SbVec3i32(3,3,3)
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoMajorityFilterProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.