Abstract
Given a binary image, Euclidean distance transform is to compute for each pixel the Euclidean distance to the closest black pixel. This paper presents a linear-time algorithm for Euclidean distance transform without using any extra array. This is an improvement over a known algorithm which uses additional arrays as work storage. An idea to reduce the work space is to utilize the output array as work storage. Implementation results and comparisons with existing algorithms are also included.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Asano, T., Bitou, S., Motoki, M., Usui, N.: Space-Efficient Algorithm for Image Rotation. IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences 91-A(9), 2341–2348 (2008)
Asano, T.: Constant-Working-Space Image Scan with a Given Angle. In: Proc. 24th European Workshop on Computational Geometry, Nancy, France, pp. 165–168 (2008)
Asano, T.: Constant-work-Space Algorithms: How Fast Can We Solve Problems without Using Any Extra Array? Invited talk at ISAAC 2008, December 2008, p. 1 (2008)
Asano, T.: Constant-work-Space Algorithms for Image Processing. In: Nielsen, F. (ed.) Emerging Trends in Visual Computing. LNCS, vol. 5416, pp. 268–283. Springer, Heidelberg (2009)
Borgefors, G.: Distance transformations in digital images. Computer Vision, Graphics and Image Processing 34, 344–371 (1994)
Chan, T.M., Chen, E.Y.: Multi-Pass Geometric Algorithms. Discrete & Computational Geometry 37(1), 79–102 (2007)
Chen, L., Chuang, H.Y.H.: A fast algorithm for Euclidean distance maps of a 2-D binary image. Information Processing Letters 5(1), 25–29 (1994)
Fabbri, R., da Costa, F., Torelli, J.C., Bruno, O.M.: 2D Euclidean Distance Transform Algorithms: A Comparative Survey. ACM Computing Surveys 40(1), 2–11 (2008)
Gabrilova, M.L., Alsuwaiyel, M.: Computing the Euclidean distance transform. Journal of Supercomputing 25, 177–185 (2003)
Breu, H., Gil, J., Kirkpatrick, D., Werman, M.: Linear Time Euclidean Distance Algorithms. IEEE Trans. on Pattern Analysis and Machine Intelligence 17(5), 529–533 (1995)
Hirata, T.: A unified linear-time algorithm for computing distance maps. Information Processing Letters 58(3), 129–133 (1996)
Klein, F., Kübler, O.: Euclidean distance transformations and model guided image interpretation. Pattern Recognition Letters 5, 19–20 (1987)
Paglieroni, D.W.: Distance Transforms. Computer Vision, Graphics and Image Processing: Graphical Models and Image Processing 54, 56–74 (1992)
Rosenfeld, A., Kak, A.C.: Digital Picture Processing, 2nd edn. Academic Press, New York (1978)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Asano, T., Tanaka, H. (2010). In-Place Linear-Time Algorithms for Euclidean Distance Transform. In: Gavrilova, M.L., Tan, C.J.K. (eds) Transactions on Computational Science VIII. Lecture Notes in Computer Science, vol 6260. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16236-7_7
Download citation
DOI: https://doi.org/10.1007/978-3-642-16236-7_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-16235-0
Online ISBN: 978-3-642-16236-7
eBook Packages: Computer ScienceComputer Science (R0)