SoDilationCubeProcessing engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoDilationCubeProcessing.h>
Public Member Functions | |
SoDilationCubeProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFEnum | neighborhood3d |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoDilationCubeProcessing engine performs a dilation using a structuring element matching with a cube.
For an introduction, see:
This engine uses the default structuring element of 8 pixels for a square grid.
Structuring element of SoDilationCubeProcessing
With a 3D image, this engine uses the default structuring element of 6, 18 or 26 voxels.
Structuring elements: 6 voxels, 18 voxels and 26 voxels.
computeMode | MODE_AUTO |
neighborhood3d | CONNECTIVITY_26 |
inImage | NULL |
elementSize | 3 |
SoDilationCubeProcessing::SoDilationCubeProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
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 image.
Default value is NULL. Supported types include: grayscale binary label color image.
In 3D configuration (see computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.
Use enum Neighborhood3d. Default is CONNECTIVITY_26.
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.