Main steps of the code:
- Load two images;
- Convert to gray scale;
- Using SURF detector to find SURF descriptor in both images;
- matching the SURF descriptor using FLANN Matcher;
- Postprocessing matches to find good matches
- Using RANSAC to estimate the Homography matrix using the matched SURF descriptors;
- Warping the images based on the homography matrix
The image shows the definition of Homography which transforms 2d Planar point to the image plane.
No comments:
Post a Comment