Skip to main content

In-Place Linear-Time Algorithms for Euclidean Distance Transform

  • Chapter
Transactions on Computational Science VIII

Part of the book series: Lecture Notes in Computer Science ((TCOMPUTATSCIE,volume 6260))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Article  Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Chapter  Google Scholar 

  5. Borgefors, G.: Distance transformations in digital images. Computer Vision, Graphics and Image Processing 34, 344–371 (1994)

    Article  Google Scholar 

  6. Chan, T.M., Chen, E.Y.: Multi-Pass Geometric Algorithms. Discrete & Computational Geometry 37(1), 79–102 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  7. 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)

    Article  MathSciNet  Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. Gabrilova, M.L., Alsuwaiyel, M.: Computing the Euclidean distance transform. Journal of Supercomputing 25, 177–185 (2003)

    Article  Google Scholar 

  10. 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)

    Article  Google Scholar 

  11. Hirata, T.: A unified linear-time algorithm for computing distance maps. Information Processing Letters 58(3), 129–133 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  12. Klein, F., Kübler, O.: Euclidean distance transformations and model guided image interpretation. Pattern Recognition Letters 5, 19–20 (1987)

    Article  Google Scholar 

  13. Paglieroni, D.W.: Distance Transforms. Computer Vision, Graphics and Image Processing: Graphical Models and Image Processing 54, 56–74 (1992)

    Google Scholar 

  14. Rosenfeld, A., Kak, A.C.: Digital Picture Processing, 2nd edn. Academic Press, New York (1978)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics