SoErosionLineProcessing3d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoErosionLineProcessing3d.h>
Public Member Functions | |
SoErosionLineProcessing3d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFFloat | thetaAngle |
SoSFFloat | phiAngle |
SoSFInt32 | elementSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoErosionLineProcessing3d engine performs a 3D erosion using a structuring element matching with a line
For an introduction, see:
This engine performs a 3D erosion using a linear structuring element. Erosion direction is given by its Euler representation (, ).
Erosion direction given as (, ) is computed as follows:
This direction can be illustrated on the unit sphere:
inImage | NULL |
thetaAngle | 0.0f |
phiAngle | 0.0f |
elementSize | 3 |
SoErosionLineProcessing3d::SoErosionLineProcessing3d | ( | ) |
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*> SoErosionLineProcessing3d::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.