[Magick-bugs] Image Comparing (via "compare" or "convert")
returnsdifferent results on ImageMagick 6.3.0 and 6.3.3
Keith Bernstein
keithbernstein at mail.com
Mon Apr 30 21:01:38 PDT 2007
-----Original Message-----
From: Keith Bernstein
Sent: Monday, April 30, 2007 9:00 PM
To: magick-bugs at imagemagick.org
Subject: RE: [Magick-bugs] Image Comparing (via "compare" or "convert") returnsdifferent results on ImageMagick 6.3.0 and 6.3.3
And now, if I run the same "compare" command, on the same files, on a third machine running 6.3.0, I get this result:
65278
What the heck is going on here!
- Keith
-----Original Message-----
From: magick-bugs-bounces at imagemagick.org [mailto:magick-bugs-bounces at imagemagick.org] On Behalf Of Keith Bernstein
Sent: Monday, April 30, 2007 8:33 PM
To: magick-bugs at imagemagick.org
Subject: [Magick-bugs] Image Comparing (via "compare" or "convert") returnsdifferent results on ImageMagick 6.3.0 and 6.3.3
If I run this command on ImageMagick 6.3.0:
compare -metric MAE 00029501_001_aa_x_s.jpg 00150288_001_aa_x_s.jpg null:
I get this result:
31.5874
Likewise, if I run this command:
convert test.jpg test2.jpg -compose difference -composite -colorspace gray -verbose info: | grep Mean
I get this result:
Mean: 31.38 (0.123059)
Those numbers are much lower than the "Comparison Statistics" section of this ImageMagick Examples page:
http://www.imagemagick.org/Usage/compare/
If, however, I run these same commands on my co-worker's ImageMagick 6.3.3 installation, I get results like:
compare -metric MAE 00029501_001_aa_x_s.jpg 00150288_001_aa_x_s.jpg null:
I get this result:
8117.97
Likewise, if I run this command:
convert test.jpg test2.jpg -compose difference -composite -colorspace gray -verbose info: | grep Mean
I get this result:
Mean: 8064.05 (0.12305)
Is there an explanation for this? Can I just take (e.g.) (8117.97 / 31.5874) and use that to normalize threshold values between
these two systems?
Thanks for any help.
- Keith
_______________________________________________
Magick-bugs mailing list
Magick-bugs at imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-bugs
More information about the Magick-bugs
mailing list