These codes take in two images of same object/scene with slight variations like lighting changes, occlusions, angle change and try to find correspondences in the image pair. It is an important area of research due to its numerous applications in image processing and computer vision.
To imporve the accuracy of the state of the art feature matching algorithms namely ORB, FAST n BRIEF and SIFT.
- Python 3.7 (lower versions also work correctly)
- OpenCV
- Numpy
- Matplotlib
- opencv-contrib-python
The function in each of the code takes 2 images of the same scene with slight differences (such as lighting change or angle change) as the input and the output will be an image showing the found correspondences between the two images.
- img1 - location/name of the image 1
- img2 - location/name of the image 2
- n - only the n best correspondences accoding to the algorthim will be displayed.
ORB result | FAST n BRIEF result |
---|---|
SIFT result | SIFT + KNN + BBS result |
We have found that the our algorithm performs much better than the current state of the art algorithms in feature matching as can be seen in the images.
- E. Rublee, V. Rabaud, K. Konolige and G. Bradski, "ORB: An efficient alternative to SIFT or SURF," 2011 International Conference on Computer Vision, Barcelona, 2011, pp. 2564-2571. doi: 10.1109/ICCV.2011.6126544
- Calonder M., Lepetit V., Strecha C., Fua P. (2010) BRIEF: Binary Robust Independent Elementary Features. In: Daniilidis K., Maragos P., Paragios N. (eds) Computer Vision – ECCV 2010. ECCV 2010. Lecture Notes in Computer Science, vol 6314. Springer, Berlin, Heidelberg
- Tali Dekel, Shaul Oron, Michael Rubinstein, Shai Avidan, William T. Freeman; The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015, pp. 2021-2029