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