add homography function and SURF method