Compare 2 images

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
imagetester

Compare 2 images

Post by imagetester »

Well I'd like to compare two images:
I 'd like to reach a point where i can say that the first image matches the second one at nearly NUMBER%.

Eventually the comparison criteria is the shape, but colors can also be be added on.
Is it too difficult? Is there any function that can achieve this task?!!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Compare 2 images

Post by magick »

To compare two images, use the compare utility. See http://www.imagemagick.org/script/compare.php.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Compare 2 images

Post by anthony »

for more information and actual technqiues see IM Examples, Comparing Images
http://imagemagick.org/Usage/compare/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply