Detailed Description
3d Euclidean distance transform.
For each background voxel, the length of the shortest 3D path to the nearest foreground voxel is computed.
- References:
- Toyofumi Saito, Jun-Ichiro Toriwaki (1994). "New algorithms for euclidean distance transformation of a n-dimensional
picture with applications", Pattern Recognition, Vol.27, No.11, pp. 1551-1565.
- Author:
- Gabriele Lohmann, MPI-CBS
Function Documentation
VImage VEuclideanDist3d |
( |
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. |