SoClosingDiskByReconstructionProcessing2d engine More...
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoClosingDiskByReconstructionProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoClosingDiskByReconstructionProcessing2dengine engine performs a 2D closing by reconstruction using a structuring element matching with a disk.
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.
This command supports two modes:
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoClosingDiskByReconstructionProcessing2d::SoClosingDiskByReconstructionProcessing2d | ( | ) |
Constructor.
Length of the disk's radius.
Default value is 3.
Input image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoClosingDiskByReconstructionProcessing2d::outImage |
Output image.
Default value is NULL. Supported types include: grayscale binary label image.
Precision for computation method.
Use enum PrecisionMode. Default is FASTER