SoErosionBallProcessing3d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoErosionBallProcessing3d.h>
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoErosionBallProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoErosionBallProcessing3d engine performs a 3D erosion using a structuring element matching with a sphere
For an introduction, see:
This engine performs a 3D erosion of an image using a structuring element matching with a sphere.
This engine supports two modes: a fast mode which combines erosions using different neighborhoods and a precise mode (slower) which ensures a real sphere structuring element.
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoErosionBallProcessing3d::SoErosionBallProcessing3d | ( | ) |
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*> SoErosionBallProcessing3d::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