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