MagickCompareImages, AbsoluteErrorMetric fuzz?

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
CubaMadre
Posts: 1
Joined: 2012-08-09T06:11:25-07:00
Authentication code: 67789

MagickCompareImages, AbsoluteErrorMetric fuzz?

Post by CubaMadre »

Hi,

I am using...
ImageMagick 6.7.8-8 2012-08-04 Q16
Delphi (D2010) Interface on Windows7x64

I can successfully use the function MagickCompareImages, but I have two questions:

a) how can I use MagickCompareImages with metric AbsoluteErrorMetric and a fuzz other than 0?
There is no parameter for that option. I tried to use MagickSetImageFuzz, but that didn't affect
the result. In other words, I'm looking for the equivalent of
"compare -metric -AE -fuzz 25% source.png ref.png".

b) Some metrics result in an absolute and a normalized value when using the command line tool,
but MagickCompareImages offers only the normalized value. Is it possible to get the absolute
values too?

TIA,
CubaMadre;
Post Reply