I would like to ask for more information on how Chamfer Matching algorithm (an edge matching algorithm) can be used to find 'similar' images. I would like to know if it is possible to place a 'score' for the matched results.
Chamfer matching is a simple, accurate, reliable, and fast registration method for segmented images. It may be considered as an efficient and flexible implementation of the iterative closest-point matching algorithm. With careful tuning, the method achieves subpixel accuracy.
The Chamfer distance is computed by summing the squared distances between nearest neighbor correspondences of two point clouds. The algorithm makes no distinction between source and candidate files (i.e., they can be transposed with no affect on the computed distance).
Image matching techniques are the techniques used to find existence of a pattern within a source image. Matching methods can be classified in two categories i.e. Area based matching techniques and feature based matching techniques.
Image matching is an important concept in computer vision and object recognition. Images of the same item can be taken from any angle, with any lighting and scale. This as well as occlusion may cause problems for recognition. But ultimately, they still show the same item and should be categorized that way.
The Chamfer Matching Algorithm basically calculates the distance (dis-similarity) between two images. The basic idea is to:
This gives the Chamfer Distance i.e. a value of dis-similarity between two images. The lower the value better the result. However, you have to take care of scaling, and sliding windows as well if target image is larger than query image which is often the case.
You could find working exampling on opencv\modules\contrib.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With