SoErosionDiskProcessing3d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoErosionDiskProcessing3d.h>
Public Member Functions | |
SoErosionDiskProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFFloat | thetaAngle |
SoSFFloat | phiAngle |
SoSFInt32 | elementSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoErosionDiskProcessing3d engine performs a 3D erosion using a structuring element matching with a disc
For an introduction, see:
This engine performs a 3D erosion of an image using a structuring element matching with an oriented disc.
Erosion direction is given by (, ) with the following formula:
This direction can be illustrated on the unit sphere:
inImage | NULL |
thetaAngle | 0.0f |
phiAngle | 0.0f |
elementSize | 3 |
SoErosionDiskProcessing3d::SoErosionDiskProcessing3d | ( | ) |
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*> SoErosionDiskProcessing3d::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.
The angle of orientation around projected OY axis in degrees (not radians).
Default value is 0.0f.
The angle of orientation around OZ axis in degrees (not radians).
Default value is 0.0f.