SoOpeningDiskByReconstructionProcessing2d engine More...
Public Types | |
enum | PrecisionMode { FASTER = 0, PRECISE = 1 } |
Public Member Functions | |
SoOpeningDiskByReconstructionProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFInt32 | elementSize |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoOpeningDiskByReconstructionProcessing2d engine performs a 2D closing by reconstruction using a structuring element matching with a disk.
An opening by reconstruction consists in applying an erosion followed by a morphological reconstruction. In the binary case an opening by reconstruction can be used for removing small objects without modifying edges of the large objects. In the grayscale case opening by reconstruction can be used for performing a Top Hat by reconstruction which allows to detect bright small structures without getting artifacts from the boundary concavities of large structures.
This command supports two modes:
inImage | NULL |
elementSize | 3 |
precisionMode | FASTER |
SoOpeningDiskByReconstructionProcessing2d::SoOpeningDiskByReconstructionProcessing2d | ( | ) |
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*> SoOpeningDiskByReconstructionProcessing2d::outImage |
Output image.
Default value is NULL. Supported types include: grayscale binary label image.
Precision for computation method.
Use enum PrecisionMode. Default is FASTER