Euclidean Ordering via Chamfer Distance Calculations

This paper studies the mapping between continuous and discrete distances. The continuous distance considered is the widely used Euclidean distance, whereas we consider as the discrete distance the chamfer distance based on 3×3 masks. A theoretical characterization of topological errors which arise during the approximation of Euclidean distances by discrete ones is presented. Optimal chamfer distance coefficients are characterized with respect to the topological ordering they induce, rather than the approximation of Euclidean distance values. We conclude the theoretical part by presenting a global upper bound for a topologically correct distance mapping, irrespective of the chamfer distance coefficients, and we identify the smallest coefficients associated with this bound. We illustrate the practical significance of these results by presenting a framework for the solution of a well-known problem, namely the Euclidean nearest-neighbor problem. This problem is formulated as a discrete optimization problem and solved accordingly using algorithmic graph theory and integer arithmetic.

[1]  Robert B. Dial,et al.  Algorithm 360: shortest-path forest with topological ordering [H] , 1969, CACM.

[2]  C. J. Hilditch,et al.  Linear Skeletons From Square Cupboards , 1969 .

[3]  Ben J. H. Verwer,et al.  Local distances for distance transformations in two and three dimensions , 1991, Pattern Recognit. Lett..

[4]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[5]  E. Thiel,et al.  Chamfer masks: discrete distance functions, geometrical properties and optimization , 1992, Proceedings., 11th IAPR International Conference on Pattern Recognition. Vol. III. Conference C: Image, Speech and Signal Analysis,.

[6]  A. ROSENFELD,et al.  Distance functions on digital pictures , 1968, Pattern Recognit..

[7]  G. Borgefors Distance transformations in arbitrary dimensions , 1984 .

[8]  Ugo Montanari,et al.  Continuous Skeletons from Digitized Images , 1969, JACM.

[9]  Yazid M. Sharaiha,et al.  A graph-theoretic approach to distance transformations , 1994, Pattern Recognit. Lett..

[10]  Gunilla Borgefors,et al.  Distance transformations in digital images , 1986, Comput. Vis. Graph. Image Process..