SoClosingLineMinimumProcessing engine More...
#include <ImageViz/Engines/MathematicalMorphology/OpeningAndClosing/SoClosingLineMinimumProcessing.h>
Public Member Functions | |
SoClosingLineMinimumProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFInt32 | directionNumber |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoClosingLineMinimumProcessing engine performs a minimal linear closing.
For an introduction, see:
This engine performs the intersection of the closings in several directions (binary case) or the minimum of the closings (grayscale case). This engine is very useful when you work with circular shapes because it fills the holes in all directions. Like a classical closing transform, using this engine with an appropriate threshold, allows getting a Top Hat well adapted to the circular objects detection.
SoOpeningLineMaximumProcessing.
computeMode | MODE_AUTO |
inImage | NULL |
elementSize | 3 |
directionNumber | 4 |
SoClosingLineMinimumProcessing::SoClosingLineMinimumProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The number of directions for linear linear closing.
Default value is 4.
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.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosingLineMinimumProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.