OpenCV - Surf Algorithm - Giving lots of false positives
I am learning OpenCV and have started exploring the SURF Algorithm for image matching. I have created a sample image library by modifying the default images available with Microsoft Windows 7. Each image has a rotated, scaled, blurred and skewed version in the same folder. My code for finding out matching images is as shown below. As can be seen in the code, the distance is measured by the line dis/objectDescriptors->total and further similarity is calculated by 100 - (dis/objectDescriptors->total) *100 . Unfortunately, this is giving me some weird false positives. For example, it matches the