SoClosingByReconstructionProcessing image filter More...
#include <ImageViz/Engines/MathematicalMorphology/OpeningAndClosing/SoClosingByReconstructionProcessing.h>
Public Member Functions | |
SoClosingByReconstructionProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFEnum | neighborhood3d |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoClosingByReconstructionProcessing engine performs a closing by reconstruction.
A closing by reconstruction consists in applying a dilation followed by a morphological reconstruction. In the binary case a closing by reconstruction can be used for filling small holes without modifying edges of the objects. In the grayscale case closing by reconstruction can be used for performing a Top Hat by reconstruction which allows to detect dark small structures without getting artifacts from the boundary concavities of large structures.
computeMode | MODE_AUTO |
neighborhood3d | CONNECTIVITY_26 |
inImage | NULL |
elementSize | 3 |
SoClosingByReconstructionProcessing::SoClosingByReconstructionProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
Number of iterations.
Default value is 3.
Input image.
Default value is NULL. Supported types include: grayscale binary label image.
In 3D configuration (see computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.
Use enum Neighborhood3d. Default is CONNECTIVITY_26.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosingByReconstructionProcessing::outImage |
Output image.
Default value is NULL. Supported types include: grayscale binary label image.