While I want offset to be applied to big image only, I noticed that error reported when offset is bigger than small image size.
Small image is 20x20, so when offset is "+20+20" or higher, it gives me error.
Search found 6 matches
- 2015-09-18T03:48:28-07:00
- Forum: Users
- Topic: how to search subimage in a region of a larger image
- Replies: 8
- Views: 6126
- 2015-09-18T03:41:33-07:00
- Forum: Users
- Topic: how to search subimage in a region of a larger image
- Replies: 8
- Views: 6126
Re: how to search subimage in a region of a larger image
The "geometry does not contain image" message usually arises when your offsets are larger than the image. What size is big.png? It is 300x500. I understand I can do this in two steps: first crop, then compare with -subimage-search, but it would be better if it was possible in single command ...
- 2015-09-18T00:49:46-07:00
- Forum: Users
- Topic: how to search subimage in a region of a larger image
- Replies: 8
- Views: 6126
Re: how to search subimage in a region of a larger image
Thanks for your answers. compare -metric mse -subimage-search "big.png[64x150+0+118]" "small.png" null: I tried it and still got error: 20398.4 (0.311259) @ 0,129compare: geometry does not contain image `big.png' @ warning/transform.c/CropImage/666. convert -metric MSE ( "big.png" -crop 64x150+0+118 ...
- 2015-09-17T09:52:20-07:00
- Forum: Users
- Topic: how to search subimage in a region of a larger image
- Replies: 8
- Views: 6126
how to search subimage in a region of a larger image
Hi. I want to search a small image in a big one. It works well when I use: compare -metric mse -subimage-search "big.png" "small.png" null: But it rather slow and I want to specify region in big image where subimage should exist. I tried: compare -metric mse -extract 64x150+0+118 -subimage-search ...
- 2014-10-02T00:28:34-07:00
- Forum: Bugs
- Topic: PSNR is different for the same images, different formats
- Replies: 4
- Views: 5275
Re: PSNR is different for the same images, different formats
I found it, it was because of alpha channel which was present in one image but absent in another. After adding option "-alpha Off", it started working again.
- 2014-10-01T08:37:31-07:00
- Forum: Bugs
- Topic: PSNR is different for the same images, different formats
- Replies: 4
- Views: 5275
Re: PSNR is different for the same images, different formats
Can you please explain what this fix means? I compared images successfully with 6.8.9.5, but with latest version it returns error "image morphology differs". What should I do about it? update: I updated not to latest but to 6.8.9.7 since it is last available version via brew for mac osx. and a full ...