SoSNNFilterProcessing Class Reference
[Smoothing And Denoising]

ImageViz SoSNNFilterProcessing engine More...

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

Inheritance diagram for SoSNNFilterProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoSNNFilterProcessing ()

Public Attributes

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

Detailed Description

ImageViz SoSNNFilterProcessing engine

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 $x$, of neighbors voxel gray level considering for each neighbor voxel a value given by:

\[I_m(y)=\left\{\begin{array}{ll} I(y) & ~\mbox{if $|I(x)-I(y)| < |I(x)-I(y_s)|$} \\ I(y_s) & ~\mbox{if $|I(x)-I(y)| > |I(x)-I(y_s)|$} \\ I(x) & ~\mbox{otherwise} \end{array}\right.\]

where $y_s$ is the neighbor voxel symmetric to $y$ with respect to $x$.

SEE ALSO

SoBilateralFilterProcessing, SoSigmaFilterProcessing, SoUnsharpMaskingProcessing.

FILE FORMAT/DEFAULT


Library references: snnfilter snnfilter3d


Constructor & Destructor Documentation

SoSNNFilterProcessing::SoSNNFilterProcessing (  ) 

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.

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.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/