Linear time algorithms for exact distance transform: elaboration on Maurer et al. algorithm

Krzysztof C. Ciesielski, Jayaram K. Udupa, Xinjian Chen, George J. Grevera, Josien P. W. Pluim, Benoit M. Dawant
2009 Medical Imaging 2009: Image Processing  
In 2003, Maurer at al. [7] published a paper describing an algorithm that computes the exact distance transform in a linear time (with respect to image size) for the rectangular binary images in the k-dimensional space R k and distance measured with respect to L p -metric for 1 ≤ p ≤ ∞, which includes Euclidean distance L 2 . In this paper we discuss this algorithm from theoretical and practical points of view. On the practical side, we concentrate on its Euclidean distance version, discuss the
more » ... possible ways of implementing it as signed distance transform, and experimentally compare implemented algorithms. We also describe the parallelization of these algorithms and the computation time savings associated with such an implementation. The discussed implementations will be made available as a part of the CAVASS software system developed and maintained in our group [5] . On the theoretical side, we prove that our version of the signed distance transform algorithm, GBDT , returns, in a linear time, the exact value of the distance from the geometrically defined object boundary. We notice that, actually, the precise form of the algorithm from [7] is not well defined for L 1 and L ∞ metrics and point to our complete proof (not given in [7] ) that all these algorithms work correctly for the L p -metric with 1 < p < ∞.
doi:10.1117/12.811010 dblp:conf/miip/CiesielskiUCG09 fatcat:wgvrhiwd6fcgdnruvt2xlwvzeu