GeodesicMaxima
Extracts the geodesic diameter of the particles from a geodesic propagation image.
Access to parameter description
For an introduction:
See also
Access to parameter description
For an introduction:
- section Mathematical Morphology
- section Geodesic Transformations
See also
Function Syntax
This function returns outputImage.
// Function prototype
std::shared_ptr< iolink::ImageView > geodesicMaxima( std::shared_ptr< iolink::ImageView > inputImage, GeodesicMaxima::Neighborhood neighborhood, std::shared_ptr< iolink::ImageView > outputImage = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
inputImage |
The input image. | Image | Binary, Label, Grayscale or Multispectral | nullptr | ||||||
![]() |
neighborhood |
The 3D neighborhood configuration. This parameter is ignored with a 2D input image.
|
Enumeration | CONNECTIVITY_26 | |||||||
![]() |
outputImage |
The output image. Its dimensions and type are forced to the same values as the input. | Image | nullptr |
Object Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); GeodesicMaxima geodesicMaximaAlgo; geodesicMaximaAlgo.setInputImage( foam ); geodesicMaximaAlgo.setNeighborhood( GeodesicMaxima::Neighborhood::CONNECTIVITY_26 ); geodesicMaximaAlgo.execute(); std::cout << "outputImage:" << geodesicMaximaAlgo.outputImage()->toString();
Function Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); auto result = geodesicMaxima( foam, GeodesicMaxima::Neighborhood::CONNECTIVITY_26 ); std::cout << "outputImage:" << result->toString();