SoFillHolesProcessing2d engine More...
#include <ImageViz/Engines/ImageSegmentation/SeparatingAndFilling/SoFillHolesProcessing2d.h>
Public Types | |
enum | NeighborhoodConnectivity { CONNECTIVITY_8 = 0, CONNECTIVITY_4 = 1 } |
Public Member Functions | |
SoFillHolesProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inObjectImage |
SoSFEnum | neighborhoodConnectivity |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outObjectImage |
The SoFillHolesProcessing2d engine fills the holes in particles slice by slice.
For an introduction, see section Morphology.
This engine fills the holes inside particles, irrespective of their size. It works slice by slice.
Illustration of the File Holes command
SoFillImageBorderProcessing3d.
inObjectImage | NULL |
neighborhoodConnectivity | CONNECTIVITY_8 |
SoFillHolesProcessing2d::SoFillHolesProcessing2d | ( | ) |
Constructor.
The input binary or label image.
Default value is NULL. Supported types include: binary label color image.
Select the connectivity mode.
Use enum NeighborhoodConnectivity. Default is CONNECTIVITY_8
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoFillHolesProcessing2d::outObjectImage |
The output binary or label image.
Default value is NULL. Supported types include: grayscale binary label color image.