SMIL 1.1.2
|
Geodesic Tools. More...
Geodesic Tools.
Let's talk about Geodesic tools and thinning...
Functions | |
template<typename T1 , typename T2 > | |
RES_T | labelFlatZonesWithProperty (const Image< T1 > &imIn, Image< T2 > &imOut, string property="geodesicDiameter") |
labelFlatZonesWithProperty() : Evaluate a prpperty for each flat zone in a gray scale image | |
template<typename T1 , typename T2 > | |
RES_T | geodesicDiameter (const Image< T1 > &imIn, Image< T2 > &imOut, bool sliceBySlice=false, double dzOverDx=1.) |
geodesicDiameter() - Barycenter Geodesic Diameter | |
template<typename T1 , typename T2 > | |
RES_T | geodesicElongation (const Image< T1 > &imIn, Image< T2 > &imOut, bool sliceBySlice=false, double dzOverDx=1.) |
geodesicElongation() - Geodesic Elongation | |
template<typename T1 , typename T2 > | |
RES_T | geodesicTortuosity (const Image< T1 > &imIn, Image< T2 > &imOut, bool sliceBySlice=false) |
geodesicTortuosity() - Geodesic Tortuoisity | |
template<typename T1 , typename T2 > | |
RES_T | geodesicExtremities (const Image< T1 > &imIn, Image< T2 > &imOut, bool sliceBySlice=false, double dzOverDx=1.) |
geodesicExtremities() - Geodesic Extremities | |
template<typename T1 , typename T2 > | |
RES_T | geodesicProperty (const Image< T1 > &imIn, Image< T2 > &imOut, string property="geodesicDiameter", bool sliceBySlice=false, double dzOverDx=1.) |
geodesicProperty() - | |
template<typename T1 , typename T2 > | |
RES_T | geodesicPathOpening (const Image< T1 > &imIn, Image< T2 > &imOut, double lenght, string property="geodesicDiameter", double scaleX=1., double scaleY=1., double scaleZ=1.) |
geodesicPathOpening() - | |
template<typename T1 , typename T2 > | |
RES_T | geodesicPathClosing (const Image< T1 > &imIn, Image< T2 > &imOut, double lenght, string property="geodesicDiameter", double scaleX=1., double scaleY=1., double scaleZ=1.) |
geodesicPathClosing() - | |
template<typename T1 , typename T2 > | |
RES_T | geodesicUltimatePathOpening (const Image< T1 > &imIn, Image< T1 > &imTrans, Image< T2 > &imInd, double scaleX, double scaleY, double scaleZ, size_t stop, int lambdaAttribute, int takeMin) |
geodesicUltimatePathOpening() - | |
template<typename T1 , typename T2 > | |
RES_T | geodesicUltimatePathClosing (const Image< T1 > &imIn, Image< T1 > &imTrans, Image< T2 > &imInd, double scaleX, double scaleY, double scaleZ, size_t stop, int lambdaAttribute, int takeMin) |
geodesicUltimatePathClosing() - | |
RES_T labelFlatZonesWithProperty | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
string | property = "geodesicDiameter" |
||
) |
labelFlatZonesWithProperty() : Evaluate a prpperty for each flat zone in a gray scale image
[in] | imIn | : input image |
[out] | imOut | : output image |
[in] | property | : one of
|
RES_T geodesicDiameter | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
bool | sliceBySlice = false , |
||
double | dzOverDx = 1. |
||
) |
geodesicDiameter() - Barycenter Geodesic Diameter
This function evaluates, for each flat zone, its Barycenter Geodesic Diameter. This value is defined as the biggest Geodesic Distance between any two points in the flat zone.
[in] | imIn | : binary input image |
[out] | imOut | : output image |
[in] | sliceBySlice | : apply the algorithm to the whole image or slice by slice |
[in] | dzOverDx | : |
RES_T geodesicElongation | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
bool | sliceBySlice = false , |
||
double | dzOverDx = 1. |
||
) |
geodesicElongation() - Geodesic Elongation
This function evaluates, for each flat zone, its Geodesic Elongation defined by the relation :
where
The flat zone is labeled with the result.
[in] | imIn | : binary input image |
[out] | imOut | : output image |
[in] | sliceBySlice | : apply the algorithm to the whole image or slice by slice |
[in] | dzOverDx | : |
RES_T geodesicTortuosity | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
bool | sliceBySlice = false |
||
) |
geodesicTortuosity() - Geodesic Tortuoisity
This function evaluates, for each flat zone, its Geodesic Tortuoisity defined by the relation :
where
The flat zone is labeled with the result.
[in] | imIn | : binary input image |
[out] | imOut | : output image |
[in] | sliceBySlice | : apply the algorithm to the whole image or slice by slice |
RES_T geodesicExtremities | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
bool | sliceBySlice = false , |
||
double | dzOverDx = 1. |
||
) |
geodesicExtremities() - Geodesic Extremities
This function finds the Geodesic Extremities of each flat zone and set the pixel value of each extremity to an integer beginning with 1.
[in] | imIn | : binary input image |
[out] | imOut | : output image |
[in] | sliceBySlice | : apply the algorithm to the whole image or slice by slice |
[in] | dzOverDx | : |
RES_T geodesicProperty | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
string | property = "geodesicDiameter" , |
||
bool | sliceBySlice = false , |
||
double | dzOverDx = 1. |
||
) |
[in] | imIn | : binary input image |
[out] | imOut | : output image |
[in] | property | : one of
|
[in] | sliceBySlice | : apply the algorithm to the whole image or slice by slice |
[in] | dzOverDx | : |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
RES_T geodesicPathOpening | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
double | lenght, | ||
string | property = "geodesicDiameter" , |
||
double | scaleX = 1. , |
||
double | scaleY = 1. , |
||
double | scaleZ = 1. |
||
) |
[in] | imIn | : input image |
[in] | lenght | : |
[in] | property | : one of
|
[out] | imOut | : output image |
[in] | scaleX,scaleY,scaleZ | : |
RES_T geodesicPathClosing | ( | const Image< T1 > & | imIn, |
Image< T2 > & | imOut, | ||
double | lenght, | ||
string | property = "geodesicDiameter" , |
||
double | scaleX = 1. , |
||
double | scaleY = 1. , |
||
double | scaleZ = 1. |
||
) |
[in] | imIn | : input image |
[in] | lenght | : |
[in] | property | : one of
|
[out] | imOut | : output image |
[in] | scaleX,scaleY,scaleZ | : |
RES_T geodesicUltimatePathOpening | ( | const Image< T1 > & | imIn, |
Image< T1 > & | imTrans, | ||
Image< T2 > & | imInd, | ||
double | scaleX, | ||
double | scaleY, | ||
double | scaleZ, | ||
size_t | stop, | ||
int | lambdaAttribute, | ||
int | takeMin | ||
) |
geodesicUltimatePathOpening() -
[in] | imIn | : input image |
[out] | imTrans | : input image |
[out] | imInd | : input image |
[in] | scaleX,scaleY,scaleZ | : |
[in] | stop | : |
[in] | lambdaAttribute | : |
[in] | takeMin | : |
RES_T geodesicUltimatePathClosing | ( | const Image< T1 > & | imIn, |
Image< T1 > & | imTrans, | ||
Image< T2 > & | imInd, | ||
double | scaleX, | ||
double | scaleY, | ||
double | scaleZ, | ||
size_t | stop, | ||
int | lambdaAttribute, | ||
int | takeMin | ||
) |
geodesicUltimatePathClosing() -
[in] | imIn | : input image |
[out] | imTrans | : input image |
[out] | imInd | : input image |
[in] | scaleX,scaleY,scaleZ | : |
[in] | stop | : |
[in] | lambdaAttribute | : |
[in] | takeMin | : |