Main Page   File List   Globals  

vdist3d.c File Reference

vdist3d -- 3D distance transform. More...


Detailed Description

vdist3d -- 3D distance transform.

Description
3D 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
Toyofumi Saito, Jun-Ichiro Toriwaki, New algorithms for euclidean distance transformation of a n-dimensional picture with applications, Pattern Recognition, Vol. 27, No. 11, pp 1551-1565, 1994
G. Borgefors (1984). "Distance Transforms in arbitrary dimensions", CVGIP 27, pp.321-345.
Usage
vdist3d
Parameters:
-in  input image
-out  output image
-repn  Output pixel repn (short | float). Default: float
-metric  type of metric (chamfer | euclidean). Default: euclidean
Examples

Known bugs
none.
Author:
G.Lohmann, MPI-CBS, 2004

Variable Documentation

VDictEntry MetricDict[]
 

Initial value:

 {
  { "euclidean", 0 },
  { "chamfer", 1 },
  { NULL }
}

VDictEntry RepnDict[]
 

Initial value:

 {
  { "short", 0 },
  { "float", 1 },
  { NULL }
}


Generated on Tue Nov 23 09:50:52 2004 for VIA - Volumetric Image Analysis by doxygen1.2.15