SoDespeckleProcessing Class Reference
[Smoothing And Denoising]

ImageViz SoDespeckleProcessing engine More...

#include <ImageViz/Engines/ImageFiltering/SmoothingAndDenoising/SoDespeckleProcessing.h>

Inheritance diagram for SoDespeckleProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoDespeckleProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFVec3i32 kernelSize
SoSFImageDataAdapter inImage
SoSFFloat thresholdFactor
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoDespeckleProcessing engine

The SoDespeckleProcessing engine smooths an image replacing aberrant values by the mean value of their neighbors

For an introduction to image filters, see section Images Filters.

This engine smooths an image replacing aberrant values by the mean value of their neighbors. For each voxels of the input image, mean $\mu$ and standard deviation $\sigma$ values of the rectangular neighbor's window are computed. The output image value is then given by:

\[O(i,j,k)=\left\{\begin{array}{ll} \mu(i,j,k) & ~ \mbox{if} ~ \lambda \times |I(i,j,k)-\mu(i,j,k)| > \sigma(i,j,k)\\ I(i,j,k) & ~ \mbox{otherwise} \end{array}\right.\]

Where $\lambda$ is a user threshold factor on distance of current voxel gray level to the mean of its neighbors relatively to their standard deviation. The greater $\lambda$ is, the stronger the blur is. This filter gives good results in case of impulse noise.

SEE ALSO

SoBilateralFilterProcessing, SoSigmaFilterProcessing, SoUnsharpMaskingProcessing.

FILE FORMAT/DEFAULT


Library references: despecklefilter despecklefilter3d


Constructor & Destructor Documentation

SoDespeckleProcessing::SoDespeckleProcessing (  ) 

Constructor.


Member Data Documentation

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.

kernel size in each direction (odd values).

Default value is SbVec3i32(3,3,3)

The output image.

Default value is NULL. Supported types include: grayscale binary label color image.

Stddev threshold factor (strictly positive value).

Default value is 1.0f.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/