The Insight Journal logo

N-D Linear Time Exact Signed Euclidean Distance Transform

Tustison, Nicholas J., Siqueira, Marcelo, Gee, James C.
The Insight Journal logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/171
New: Prefer using the following doi: https://doi.org/10.54294/it2rj6
Submitted by Nicholas J. Tustison on 2003-08.

Fast computation of distance transforms find direct application in various computer vision problems. Currently there exists two image filters in the ITK library which can be used to generate distance maps. Unfortunately, these filters produce only approximations to the Euclidean Distance Transform (EDT). We introduce into the ITK library a third EDT filter which was developed by Maurer {\em et al.} \cite{Maurer2003}. In contrast to other algorithms, this algorithm produces the exact signed squared EDT using integer arithmetic. The complexity, which is formally verified, is $O(n)$ with a small time constant where $n$ is the number of image pixels.