RadialIntensityProfile3d
Computes a radial intensity profile on a 3D image.
Access to parameter description
This algorithm computes an intensity profile that consists in the average intensity at a distance r from a given center.
The output is a 3-column spreadsheet indicating, for each radius, the corresponding average intensity value and standard deviation.

Figure 1. 3D radial intensity profile
See also
Access to parameter description
This algorithm computes an intensity profile that consists in the average intensity at a distance r from a given center.
The output is a 3-column spreadsheet indicating, for each radius, the corresponding average intensity value and standard deviation.

Figure 1. 3D radial intensity profile
See also
Function Syntax
This function returns outputMeasurement.
// Function prototype
RadialIntensityProfileMsr::Ptr radialIntensityProfile3d( std::shared_ptr< iolink::ImageView > inputImage, RadialIntensityProfile3d::CenterMode centerMode, iolink::Vector3u32 center, uint32_t maximumRadius, RadialIntensityProfileMsr::Ptr outputMeasurement = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |||||
---|---|---|---|---|---|---|---|---|---|
![]() |
inputImage |
The input image. Any type of image is accepted. | Image | Binary, Label, Grayscale or Multispectral | nullptr | ||||
![]() |
centerMode |
The way to define the origin of the radii.
|
Enumeration | IMAGE_CENTER | |||||
![]() |
center |
The origin of the radii in pixel coordinates. It is only used in OTHER mode. | Vector3u32 | Any value | {0, 0, 0} | ||||
![]() |
maximumRadius |
The radius in voxels up to which intensities are included in the profile. | UInt32 | Any value | 0 | ||||
![]() |
outputMeasurement |
The output object containing the computed radii, averaged intensities, and standard deviation. | RadialIntensityProfileMsr | nullptr |
Object Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); RadialIntensityProfile3d radialIntensityProfile3dAlgo; radialIntensityProfile3dAlgo.setInputImage( foam ); radialIntensityProfile3dAlgo.setCenterMode( RadialIntensityProfile3d::CenterMode::IMAGE_CENTER ); radialIntensityProfile3dAlgo.setCenter( {0, 0, 0} ); radialIntensityProfile3dAlgo.setMaximumRadius( 55 ); radialIntensityProfile3dAlgo.execute(); std::cout << "mean: " << radialIntensityProfile3dAlgo.outputMeasurement()->mean( 0 , 0 , 0 ) ;
Function Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); auto result = radialIntensityProfile3d( foam, RadialIntensityProfile3d::CenterMode::IMAGE_CENTER, {0, 0, 0}, 55 ); std::cout << "mean: " << result->mean( 0 , 0 , 0 ) ;