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