T.Buades homography code