A project developed by MATLAB for Image Stitching based on SIFT and RANSAC. It's also a personal project of SJTU EE229 Digital Image Processing.
Code tested on following environments, other version should also work:
- Matlab 2020a
main.m
: Main Function;sift.m
: Scale-Invariant Feature Transform;RANSAC.m
: RANdom SAmple Consensus;stitch.m
: Image Stitching function;deriv3D.m
,hessian3D.m
: Util functions for SIFT;drawFeatures.m
,drawMatched.m
: Visualization Functions for SIFT;concateImages
: Util function, conpare the sizes of the two images and pad the smaller one with zeros;findHomography.m
,solveHomography.m
: Utils function for RANSAC.
If you gonna learn more about SIFT and Image Stitching, I recommend these repositories for you: OpenCV and image mosaic using SIFT.
Since I still have a lot of work to do, I have no time to maintain this project now. I hope that I can further improve this repository when I'm free in the future. If you have any questions, please contact me by email. Thanks.