image compare

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lansmnet
Posts: 4
Joined: 2015-10-11T06:25:11-07:00
Authentication code: 1151

image compare

Post by lansmnet »

Hi all,
Can I use compare -metric AE... expect specified color? I have relatively big images with solid background color, and want to measure differences from just like 50px thin line (other colors mostly, gray shades) and it is very hard to adjust tolerances and -fuzz percentage.
Thanks for your help.

Image
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: image compare

Post by snibgo »

I don't understand the question.

If you want to count the number of pixels that aren't green, you could create another image the same size, entirely green. Then compare with metric AE.
snibgo's IM pages: im.snibgo.com
Post Reply