SoClosingBallProcessing3d engine More...
#include <ImageViz/Engines/MathematicalMorphology/OpeningAndClosing/SoClosingBallProcessing3d.h>
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoClosingBallProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoClosingBallProcessing3d engine performs a 3D closing using a structuring element matching with a sphere.
For an introduction, see:
This engine performs a 3D closing of an image using a structuring element matching with a sphere.
This engine supports two modes: a fast mode which combines erosions and dilations using different neighborhoods and a precise mode (slower) which ensures a real sphere structuring element.
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoClosingBallProcessing3d::SoClosingBallProcessing3d | ( | ) |
Constructor.
The half size of the structuring element.
A structuring element always has an odd side length (3x3, 5x5, etc) which is defined by 2 * elementSize + 1. Default value is 3.
The input grayscale image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosingBallProcessing3d::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.
Select the precision for computation method.
Use enum PrecisionMode. Default is FASTER