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