Distance transformations in digital images

https://doi.org/10.1016/S0734-189X(86)80047-0Get rights and content

A distance transformation converts a binary digital image, consisting of feature and non-feature pixels, into an image where all non-feature pixels have a value corresponding to the distance to the nearest feature pixel. Computing these distances is in principle a global operation. However, global operations are prohibitively costly. Therefore algorithms that consider only small neighborhoods, but still give a reasonable approximation of the Euclidean distance, are necessary. In the first part of this paper optimal distance transformations are developed. Local neighborhoods of sizes up to 7×7 pixels are used. First real-valued distance transformations are considered, and then the best integer approximations of them are computed. A new distance transformation is presented, that is easily computed and has a maximal error of about 2%. In the second part of the paper six different distance transformations, both old and new, are used for a few different applications. These applications show both that the choice of distance transformation is important, and that any of the six transformations may be the right choice.

References (13)

  • G. Borgefors

    Distance transformations in arbitrary dimensions

    Comput. Vision, Graphics Image Process.

    (1984)
  • A. Rosenfeld et al.

    Distance functions on digital pictures

    Pattern Recognit.

    (1968)
  • P.E. Danielsson

    Euclidean distance mapping

    Comput. Graphics Image Process.

    (1980)
  • A. Rosenfeld et al.

    Sequential operations in digital picture processing

    J. Assoc. Comput. Mach.

    (1966)
  • G. Borgefors

    Chamfering: A fast method for obtaining approximations of the Euclidean distance in N dimensions

  • U. Montanari

    A method for obtaining skeletons using a quasi-Euclidean distance

    J. Assoc. Comput. Mach.

    (1968)
There are more references available in the full text version of this article.

Cited by (1624)

  • Optimization of sensor locations for a light pollution monitoring network

    2023, Journal of Quantitative Spectroscopy and Radiative Transfer
  • Analysis of very large voxel datasets

    2023, International Journal of Applied Earth Observation and Geoinformation
  • Sunshine to Rainstorm: Cross-Weather Knowledge Distillation for Robust 3D Object Detection

    2024, Proceedings of the AAAI Conference on Artificial Intelligence
View all citing articles on Scopus
View full text