I want to search a small image in a big one. It works well when I use:
Code: Select all
compare -metric mse -subimage-search "big.png" "small.png" null:
I tried:
Code: Select all
compare -metric mse -extract 64x150+0+118 -subimage-search "big.png" "small.png" null:
0 (0) @ 0,8compare: geometry does not contain image `small.png' @ warning/transform.c/CropImage/666.
compare: geometry does not contain image `big.png' @ warning/transform.c/CropImage/666.
The bigger image is 300x500, small is 20x20.
What is wrong?