deliver the complete origin set, although some have
only a few erroneous pixels. From Table 2, we see that
the 8-neighborhood variants have the best accuracy
(< 0.1%). Of these, ETFT8 is the fastest (see also
Fig. 9). For applications needing maximum accuracy,
VDT8 is the method of choice. Although VDT8 has
a better complexity, it is probably slower because of
the hidden time constant: the image is scanned twice.
Finally, we illustrate the locations of the pixels with
erroneous origin sets for the leaf image in Figure 8.
9 CONCLUSION
In this paper, we both analyzed and extended sev-
eral distance and feature transform methods for bi-
nary images. Our goal was to provide a guide for
practitioners in the field for choosing the best method
that meets application-specific accuracy, speed, and
output completeness criteria. First, we perfected the
existing simple-FT method AFMM to deliver more
accurate results (AFMM Star, Sec. 3). We next ex-
tended this method to a new tolerance-based feature
transform, FMTFT, that allows e.g. overcoming un-
desired sampling effects when computing skeletons
(Sec. 4). Next, we discussed three other easy-to-
implement TFT methods: the existing VDT (Sec. 5),
the new ETFT (Sec. 6), and the GTFT extension of
Lotufo’s graph-searching method (Sec. 7).
For computing exact distances, ETFT4
1
2
√
2 is the
fastest of the considered methods. Although there
are other, faster, exact DT methods, e.g. (Meijster
et al., 2000), the ETFT4
1
2
√
2 can accommodate
early distance-based termination and has a simple im-
plementation (cf. Fig. 6). For computing origin sets,
all methods produce fairly accurate results (< 0.1%
errors) for tolerances even up to
√
2. VDT8 is the
most accurate, while ETFT8 is the fastest. Finally,
FMTFT8 is still useful, as it is the only considered
method that can handle different speed functions.
We next intend to extend our TFT methods to 3D
and investigate their relative performance and accu-
racy. This should be rather straightforward, as all
considered methods either do not depend on dimen-
sion (FMTFT, GTFT, ETFT) or have equivalents in
higher dimensions (FMM, VDT). Next, we plan to
apply the TFT methods to compute robust skeletons
of 3D and higher dimensional objects.
ACKNOWLEDGEMENTS
This work was supported by the Netherlands Organ-
isation for Scientific Research (NWO) under grant
number 612.065.414.
REFERENCES
Costa, L. and Cesar, Jr, R. (2001). Shape analysis and clas-
sification. CRC Press.
Cuisenaire, O. (1999). Distance transformations: fast al-
gorithms and applications to medical image process-
ing. PhD thesis, Universit
´
e catholique de Louvain,
Belgium.
Danielsson, P.-E. (1980). Euclidean distance mapping.
In Computer Graphics and Image Processing, vol-
ume 14, pages 227–248.
Foskey, M., Lin, M., and Manocha, D. (2003). Efficient
computation of a simplified medial axis. In Proc. of
the 8th ACM symposium on Solid modeling and appli-
cations, pages 96–107. ACM Press.
Lotufo, T., Falcao, A., and Zampirolli, F. (2000). Fast
euclidean distance transform using a graph-search al-
gorithm. In Proc. of the 13th Brazilian Symp. on
Comp. Graph. and Image Proc., pages 269–275.
Meijster, A., Roerdink, J., and Hesselink, W. (2000). A
general algorithm for computing distance transforms
in linear time. In Goutsias, J., Vincent, L., and
Bloomberg, D., editors, Mathematical Morphology
and its Applications to Image and Signal Processing,
pages 331–340. Kluwer.
Mullikin, J. (1992). The vector distance transform in two
and three dimensions. In CVGIP: Graphical Mod-
els and Image Processing, volume 54, pages 526–535.
Kluwer.
Musser, D. and Saini, S. (1996). STL tutorial and reference
guide: C++ programming with the standard template
library. Addison-Wesley Professional Computing Se-
ries.
Ogniewicz, R. and K
¨
ubler, O. (1995). Hierarchic voronoi
skeletons. In Pattern Recognition, volume 28, pages
343–359.
Ragnemalm, I. (1992). Neighborhoods for distance trans-
formations using ordered propagation. In CVGIP: Im-
age Understanding, volume 56, pages 399–409.
Sethian, J. (1999). Level set methods and fast marching
methods. Cambridge University Press, 2nd edition.
Strzodka, R. and Telea, A. (2004). Generalized distance
transforms and skeletons in graphics hardware. In
Proc. of EG/IEEE TCVG Symposium on Visualization
(VisSym ’04), pages 221–230.
Telea, A. and van Wijk, J. (2002). An augmented fast
marching method for computing skeletons and center-
lines. In Proc. of the symposium on Data Visualisa-
tion, pages 251–259.
Telea, A. and Vilanova, A. (2003). A robust level-set algo-
rithm for centerline extraction. In Proc. of the sympo-
sium on Data Visualisation, pages 185–194.
Ye, Q. (2003). The signed euclidean distance transform and
its applications. In International Conference on Pat-
tern Recognition, volume 1, pages 495–499.
VISAPP 2006 - IMAGE FORMATION AND PROCESSING
114