Abstract
Two linear time (and hence asymptotically optimal) algorithms for computing the Euclidean distance transform of a two-dimensional binary image are presented. The algorithms are based on the construction and regular sampling of the Voronoi diagram whose sites consist of the unit (feature) pixels in the image. The first algorithm, which is of primarily theoretical interest, constructs the complete Voronoi diagram. The second, more practical, algorithm constructs the Voronoi diagram where it intersects the horizontal lines passing through the image pixel centers. Extensions to higher dimensional images and to other distance functions are also discussed.
Original language | English |
---|---|
Pages (from-to) | 529-533 |
Number of pages | 5 |
Journal | IEEE Transactions on Pattern Analysis and Machine Intelligence |
Volume | 17 |
Issue number | 5 |
DOIs | |
State | Published - May 1995 |
Bibliographical note
Funding Information:This work has been supported by the Center for Systems Science at Simon Fraser University and the Natural Sciences and Engineering Research Council of Canada. We also wish to thank Michael Swain for providing us with his image database.
Keywords
- Distance transform
- Euclidean distance
- Voronoi diagram
- algorithm