Map template images and SIFT working