ChamferDist3d.c File Reference


Functions

VImage VChamferDist3d (VImage src, VImage dest, VRepnKind repn)

Detailed Description

3d chamfer distance transform.

For each background voxel, the length of the shortest 3D path to the nearest foreground voxel is computed. The chamfer distance metric is an approximation to the Euclidian distance.

References:
G. Borgefors (1984). "Distance Transforms in arbitrary dimensions", CVGIP 27, pp.321-345.
A.L.D. Beckers, A.W.M. Smeulders (1992), "Optimization of Length measurements for isotropic distance transformations in three dimensions", CVGIP: Image understanding, Vol. 55, No.3, pp- 296-306.
Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

VImage VChamferDist3d ( VImage  src,
VImage  dest,
VRepnKind  repn 
)

Parameters:
src input image (bit repn)
dest output image (short of float repn)
repn output pixel repn (VShortRepn or VFloatRepn). If 'short' is used, then the distance values are multiplied by a factor of 10.


Generated on Thu Feb 16 21:10:38 2012 for VIA - Volumetric Image Analysis by  doxygen 1.5.6