I have 2 images.
One is a smaller version of the other and has also been cropped in all sides.
I need to find the exact location of the smaller image inside the large one.
Using OpenCV Homography function I managed to achieve it only if both images had the same scale:
http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html#feature-homography
For images with different scales, I suppose I need to downscale the large image to match the smaller one, but how can I find the scaling factor ?