FillImageBorder3d
Fills holes of border faces of a three-dimensional binary image.
Access to parameter description
For an introduction:
It aims at closing 3D shapes connected to the borders of a 3D image (for instance, in order to perform a 3D hole filling operation afterward).
See also
Access to parameter description
For an introduction:
- section Mathematical Morphology
- section Reconstruction From Markers
It aims at closing 3D shapes connected to the borders of a 3D image (for instance, in order to perform a 3D hole filling operation afterward).
See also
Function Syntax
This function returns outputObjectImage.
// Function prototype
std::shared_ptr< iolink::ImageView > fillImageBorder3d( std::shared_ptr< iolink::ImageView > inputObjectImage, FillImageBorder3d::Neighborhood neighborhood, std::shared_ptr< iolink::ImageView > outputObjectImage = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |||||
---|---|---|---|---|---|---|---|---|---|
![]() |
inputObjectImage |
The 3D binary input image. | Image | Binary | nullptr | ||||
![]() |
neighborhood |
The 2D neighborhood configuration for performing numerical reconstruction.
|
Enumeration | CONNECTIVITY_8 | |||||
![]() |
outputObjectImage |
The output binary image. Its dimensions are forced to the same values as the input image. | Image | nullptr |
Object Examples
auto foam_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam_sep.vip" ); FillImageBorder3d fillImageBorder3dAlgo; fillImageBorder3dAlgo.setInputObjectImage( foam_sep ); fillImageBorder3dAlgo.setNeighborhood( FillImageBorder3d::Neighborhood::CONNECTIVITY_8 ); fillImageBorder3dAlgo.execute(); std::cout << "outputObjectImage:" << fillImageBorder3dAlgo.outputObjectImage()->toString();
Function Examples
auto foam_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam_sep.vip" ); auto result = fillImageBorder3d( foam_sep, FillImageBorder3d::Neighborhood::CONNECTIVITY_8 ); std::cout << "outputObjectImage:" << result->toString();