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