Chamfer Distance Measure (Chamfer Matching)

What's that?

Distance measure used for object detection. (Edge-based) templates are compared with the edge image of an input image at different locations by computing for each template edge pixel the distance to the nearest image edge pixel.

Then we compute the average of all these distances which gives the final matching score (distance value).


So the Chamfer score is the average distance from template points to nearest image edge points. These nearest distances can be computed from the distance image.

Original publication

H.G. Barrow, J.M. Tenenbaum, R.C. Bolles, and H.C. Wolf.
Parametric correspondance and chamfer matching: two techniques for image matching
In Proc. 5th International Joint Conference on Artificial Intelligence, pages 659-663, 1977

Helpful slides


It seems to be integrated into OpenCV according to these notes.

public/chamfer_distance_measure.txt · Last modified: 2014/01/03 15:33 (external edit) · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki