SoMajorityFilterProcessing Class Reference
[Smoothing And Denoising]

ImageViz SoMajorityFilterProcessing engine More...

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

Inheritance diagram for SoMajorityFilterProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

 SoMajorityFilterProcessing ()

Public Attributes

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

Detailed Description

ImageViz SoMajorityFilterProcessing engine

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.

SEE ALSO

SoMedianFilterProcessing.

FILE FORMAT/DEFAULT


Library references: majorityfilter majorityfilter3d


Constructor & Destructor Documentation

SoMajorityFilterProcessing::SoMajorityFilterProcessing (  ) 

Constructor.


Member Data Documentation

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)

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/