EigenvaluesToStructureness3d
Computes a structure score image from the eigenvalues of a three-dimensional tensor image.
Access to parameter description
This algorithm allows extracting tubular, blob-like, and plate-like structures from dark or bright background.
The computation is based on eigenvalues λ1, λ2 and λ3 where ∣λ1∣≥∣λ2∣≥∣λ3∣.
The structure score for bright tubular structures corresponds to:
score={0 if λ1>0 or λ2>0(1−exp(−R2a2α2))exp(−R2b2β2)(1−exp(−S22c2))
The score for bright blob-like structures is computed as follows:
score={0 if λ1>0 or λ2>0 or λ3>0(1−exp(−R2a2α2))(1−exp(−R2b2β2))(1−exp(−S22c2))
The score for bright plate-like structures is computed as follows:
score={0 if λ1>0exp(−R2a2α2)exp(−R2b2β2)(1−exp(−S22c2))
Where:
This algorithm outputs a float grayscale image where each pixel intensity represents a structure score between 0 and 1.
The method for tubular structures is referenced by Alejandro Frangi publication:
A.F.Frangi, W.J.Niessen, K.L.Vincken, M.A.Viergever. "Multiscale vessel enhancement filtering". Lecture Notes in Computer Science(MICCAI), vol. 1496, pp. 130-137, 1998.
See also
Access to parameter description
This algorithm allows extracting tubular, blob-like, and plate-like structures from dark or bright background.
The computation is based on eigenvalues λ1, λ2 and λ3 where ∣λ1∣≥∣λ2∣≥∣λ3∣.
The structure score for bright tubular structures corresponds to:
score={0 if λ1>0 or λ2>0(1−exp(−R2a2α2))exp(−R2b2β2)(1−exp(−S22c2))
The score for bright blob-like structures is computed as follows:
score={0 if λ1>0 or λ2>0 or λ3>0(1−exp(−R2a2α2))(1−exp(−R2b2β2))(1−exp(−S22c2))
The score for bright plate-like structures is computed as follows:
score={0 if λ1>0exp(−R2a2α2)exp(−R2b2β2)(1−exp(−S22c2))
Where:
- S is the Hessian norm S=‖
- \alpha is a threshold which controls the flatness sensitivity,
- \beta is a threshold which controls the blobness sensitivity,
- c is a sensitivity threshold which controls the noise influence. c = noiseCutoff \cdot S_{max} with S_{max} the maximum Hessian norm in the image.
This algorithm outputs a float grayscale image where each pixel intensity represents a structure score between 0 and 1.
The method for tubular structures is referenced by Alejandro Frangi publication:
A.F.Frangi, W.J.Niessen, K.L.Vincken, M.A.Viergever. "Multiscale vessel enhancement filtering". Lecture Notes in Computer Science(MICCAI), vol. 1496, pp. 130-137, 1998.
See also
Function Syntax
This function returns outputImage.
// Function prototype
std::shared_ptr< iolink::ImageView > eigenvaluesToStructureness3d( std::shared_ptr< iolink::ImageView > inputEigenvaluesImage, EigenvaluesToStructureness3d::Lightness lightness, EigenvaluesToStructureness3d::StructureType structureType, double alpha, double beta, double noiseCutoff, std::shared_ptr< iolink::ImageView > outputImage = NULL );
Class Syntax
Parameters
Class Name | EigenvaluesToStructureness3d |
---|
Parameter Name | Description | Type | Supported Values | Default Value | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
inputEigenvaluesImage |
The input image containing the eigenvalues field. Type must be float. Spectral series size is 3 (channel 0 = largest eigenvalue, channel 1 = medium eigen value, channel 2 = smallest eigenvalue). | Image | Multispectral | nullptr | ||||||
![]() |
lightness |
The type of structure lightness to extract.
|
Enumeration | BRIGHT | |||||||
![]() |
structureType |
The type of structure shapes to extract.
|
Enumeration | ROD | |||||||
![]() |
alpha |
The flatness sensitivity threshold. It corresponds to the alpha term of the score equation. | Float64 | >0 | 0.75 | ||||||
![]() |
beta |
The blobness sensitivity threshold. It corresponds to the beta term of the score equation. | Float64 | >0 | 0.75 | ||||||
![]() |
noiseCutoff |
The noise scale factor. It is used for computing the c term of the score equation. | Float64 | >0 | 0.5 | ||||||
![]() |
outputImage |
The score output image. X, Y, and Z dimensions, calibration and interpretation of the output image are forced to the same values as the input. The spectral dimension is forced to 1. Type is forced to float and all values are between 0 and 1. | Image | nullptr |
Object Examples
auto neuron_eigenvalues = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "neuron_eigenvalues.vip" ); EigenvaluesToStructureness3d eigenvaluesToStructureness3dAlgo; eigenvaluesToStructureness3dAlgo.setInputEigenvaluesImage( neuron_eigenvalues ); eigenvaluesToStructureness3dAlgo.setLightness( EigenvaluesToStructureness3d::Lightness::BRIGHT ); eigenvaluesToStructureness3dAlgo.setStructureType( EigenvaluesToStructureness3d::StructureType::ROD ); eigenvaluesToStructureness3dAlgo.setAlpha( 0.75 ); eigenvaluesToStructureness3dAlgo.setBeta( 0.75 ); eigenvaluesToStructureness3dAlgo.setNoiseCutoff( 0.5 ); eigenvaluesToStructureness3dAlgo.execute(); std::cout << "outputImage:" << eigenvaluesToStructureness3dAlgo.outputImage()->toString();
Function Examples
auto neuron_eigenvalues = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "neuron_eigenvalues.vip" ); auto result = eigenvaluesToStructureness3d( neuron_eigenvalues, EigenvaluesToStructureness3d::Lightness::BRIGHT, EigenvaluesToStructureness3d::StructureType::ROD, 0.75, 0.75, 0.5 ); std::cout << "outputImage:" << result->toString();