I have a large image (lange.bmp). This image has a small image what I have overlayed on it. So I also know the overlayed image (smal.bmp). After than, the lange image will be compressed or elongate.
Now, I have to find/locate the smal.bmp image in the large (distorted) image. If the lage image would not be distorted, I can locate the position with this lines:
Code: Select all
compare -metric rmse -subimage-search large.bmp smal.bmp NULL
0 (0) @ 150,49
But if I do this with my distorted image, it is not able for me to locate the overlayed image. Do I use the wrong command?