Hi snibgo,
My IM is 7.0.8-14. These are the commands I use to do the image search.
Without mask
magick compare -metric RMSE -subimage-search big.png small.png -similarity-threshold 0 -dissimilarity-threshold 1 similarity.gif
This one gives 0.15 matching.
With mask
magick compare -metric RMSE ...
Search found 2 matches
- 2018-11-01T19:06:26-07:00
- Forum: Users
- Topic: Ignore transparent pixels in subimage search
- Replies: 2
- Views: 3363
- 2018-11-01T02:13:41-07:00
- Forum: Users
- Topic: Ignore transparent pixels in subimage search
- Replies: 2
- Views: 3363
Ignore transparent pixels in subimage search
Hello,
I've attached 2 images big.png and small.png. Is it possible to tell IM to ignore transparent pixels in small.png when doing subimage seach against big.png? That way, the matching metrics would be better.
I'm well aware of the -read-mask feature. In fact, I've created the small_mask.png ...
I've attached 2 images big.png and small.png. Is it possible to tell IM to ignore transparent pixels in small.png when doing subimage seach against big.png? That way, the matching metrics would be better.
I'm well aware of the -read-mask feature. In fact, I've created the small_mask.png ...