It provides three methods to calculate homography, direct calculation based on SVD without normalization, with normalization, and with RANSAC. Due to inaccuracy of SIFT feature match, RANSAC can improve the result significantly.
Dependency: http://www.vlfeat.org/
hnormalise.m, homogdist2d.m, iscolinear.m, isdegerate.m, and ransac.m are from http://www.peterkovesi.com/matlabfns/index.html
This implement is for non-profit purpose.