SoDilationLineProcessing2d engine More...
#include <ImageViz/Engines/MathematicalMorphology/ErosionAndDilation/SoDilationLineProcessing2d.h>
Public Member Functions | |
SoDilationLineProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFFloat | orientationAngle |
SoSFInt32 | elementSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoDilationLineProcessing2d engine performs a 2D dilation using a structuring element matching with a line.
For an introduction, see:
This engine performs a 2D dilation using a linear structuring element. The direction of 0 degree is horizontal and to the left, and the angles are calculated counter-clockwise.
SoDilationLineProcessing2d structuring element and dilated image
inImage | NULL |
orientationAngle | 10.0f |
elementSize | 3 |
SoDilationLineProcessing2d::SoDilationLineProcessing2d | ( | ) |
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 image.
Default value is NULL. Supported types include: grayscale binary label color image.
The angle of orientation in degrees (not radians).
Default value is 10.0f.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoDilationLineProcessing2d::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.