SoGaussianFilterProcessing engine
More...
#include <ImageViz/Engines/ImageFiltering/SmoothingAndDenoising/SoGaussianFilterProcessing.h>
Public Types | |
| enum | KernelType { SEPARABLE = 0, STANDARD = 1 } |
Public Member Functions | |
| SoGaussianFilterProcessing () | |
Public Attributes | |
| SoSFEnum | computeMode |
| SoSFVec3f | standardDeviation |
| SoSFImageDataAdapter | inImage |
| SoSFEnum | kernelType |
| SoSFVec3i32 | kernelSize |
| SoSFBool | autoScale |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
SoGaussianFilterProcessing engine
The SoGaussianFilterProcessing engine smooths an image using a kernel based on a gaussian distribution.
For an introduction to image filters, see section Images Filters.
This engine smooths an image using a kernel based on a gaussian distribution:
In the 2-D case:
In the 3-D case:
The parameters
,
and
represent the offsets from the center. If the standard deviations are important, the filter coefficients will be closed to each other's. This engine can work with a circular kernel (in such a case standard deviations are equal along axis and kernel size is automatically adapted) or with a rectangular one.
SoBoxFilterProcessing, SoMedianFilterProcessing.
| computeMode | MODE_AUTO |
| standardDeviation | 2.0f 2.0f 2.0f |
| inImage | NULL |
| kernelType | SEPARABLE |
| kernelSize | 9 9 9 |
| autoScale | TRUE |
| SoGaussianFilterProcessing::SoGaussianFilterProcessing | ( | ) |
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 image.
The size of the kernel.
Default value is SbVec3i32(9,9,9).
The kernel type for gaussian smoothing.
Use enum KernelType. Default is SEPARABLE
| SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoGaussianFilterProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.
The standard deviation along each axis.
Default value is SbVec3f(2.0f,2.0f,2.0f)