how to i understand the compare -metric

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The compare program returns a single value, a measure of error between the original and reconstructed image. You can get additional statistics for the original or recontructed image with the identify program:
  • identify -verbose img1.bmp
If that is not sufficient, write custom code to compute the values you are interested in.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

First use "null:" not just "null" that last saves a miff format file into the filename "null". The former saves NOTHING.

A rough sumary of some image compares are in IM Examples
http://www.cit.gu.edu.au/~anthony/graph ... e/#compare

if you like to revise or contribute more, please do.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply