VIA - Volumetric Image Analysis
Functions
EuclideanDist3d.c File Reference

Functions

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

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:
srcinput image (bit repn)
destoutput image (short of float repn)
repnoutput pixel repn (VShortRepn or VFloatRepn). If 'short' is used, then the distance values are multiplied by a factor of 10.