Sift image registration, implementation of scale invariance, rotation invariance, affine invariance