Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::Transform Namespace Reference

Functions

template<class D >
Image< D > EDT (const Image< D > &border)
 Computes the Euclidean distance transform, starting from border pixels. More...
 
template<class D >
Image< D > EDT (const Image< D > &border, const Image< D > &mask)
 Computes the Euclidean distance transform, starting from border pixels inside the mask region. More...
 
template<class D >
Image< D > InverseEDT (const Image< D > &border, const Image< D > &mask, int root_dist)
 Computes the distance transform and then follows the paths backwards to a pixel that is at root_dist distance from the border. More...
 

Function Documentation

template<class D >
Image< D > Bial::Transform::EDT ( const Image< D > &  border)

Computes the Euclidean distance transform, starting from border pixels.

Date
2015/May/21
Parameters
borderBorder of binary image.
Returns
Distance map from the Euclidean distance transform.
Warning
This function should use pixel dimensions but is not using yet.
template<class D >
Image< D > Bial::Transform::EDT ( const Image< D > &  border,
const Image< D > &  mask 
)

Computes the Euclidean distance transform, starting from border pixels inside the mask region.

Date
2014/Jan/07
Parameters
borderBorder of binary image.
maskBinary image.
Returns
Distance map from the Euclidean distance transform.
Warning
This function should use pixel dimensions but is not using yet.
template<class D >
Image< D > Bial::Transform::InverseEDT ( const Image< D > &  border,
const Image< D > &  mask,
int  root_dist 
)

Computes the distance transform and then follows the paths backwards to a pixel that is at root_dist distance from the border.

Date
2014/Jan/07
Parameters
borderBorder of binary image.
maskBinary image.
root_distMinimum distance to a root pixel .
Returns
The root map of the inverse paths to a pixel that is at root_dist distance from the border.
Warning
This function should use pixel dimensions but is not using yet.