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