ObjectSpecificSurface
Measures the ratio of binarized surface to volume of objects contained inside the volume of interest of a binary image.
Access to parameter description
For an introduction: P is the object
Crofton Perimeter.
Ar is the object area.
S is the object surface area calculated using the
Area3d algorithm.
V is the object volume.
See also
Access to parameter description
For an introduction:
- section Image Analysis
- section Morphometry
- On a 2D image OSS=P/Ar
- On a 3D image OSS=S/V
Function Syntax
This function returns outputMeasurement.
// Function prototype
ObjectSpecificSurfaceMsr::Ptr objectSpecificSurface( std::shared_ptr< iolink::ImageView > inputBinaryImage, ObjectSpecificSurfaceMsr::Ptr outputMeasurement = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputBinaryImage |
The input binary image. | Image | Binary | nullptr |
![]() |
outputMeasurement |
The output measurement result. | ObjectSpecificSurfaceMsr | nullptr |
Object Examples
auto polystyrene_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_sep.vip" ); ObjectSpecificSurface objectSpecificSurfaceAlgo; objectSpecificSurfaceAlgo.setInputBinaryImage( polystyrene_sep ); objectSpecificSurfaceAlgo.execute(); std::cout << "ratio: " << objectSpecificSurfaceAlgo.outputMeasurement()->ratio( 0 ) ;
Function Examples
auto polystyrene_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_sep.vip" ); auto result = objectSpecificSurface( polystyrene_sep ); std::cout << "ratio: " << result->ratio( 0 ) ;