Compare two images, but gently

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
zwokaros
Posts: 2
Joined: 2018-10-16T00:52:59-07:00
Authentication code: 1152

Compare two images, but gently

Post by zwokaros »

Hello

I'm not sure how to explain this but I'll try my best

I have a two lists of slightly different images
(both lists are images of a website with css animations started at the same time and you almost can't tell the difference with the naked eye)

So I tried the compare feature, and it worked wonderful

But is there a way to only get BIG differences between two images?

Here is an example of two images:

The first one

Image

The second one

Image

The difference I get

Image

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

Re: Compare two images, but gently

Post by snibgo »

Some comparison metrics can use fuzz:

Code: Select all

compare -metric AE -fuzz 2% redcar1.jpg redcar2.jpg out.png
snibgo's IM pages: im.snibgo.com
zwokaros
Posts: 2
Joined: 2018-10-16T00:52:59-07:00
Authentication code: 1152

Re: Compare two images, but gently

Post by zwokaros »

snibgo wrote: 2018-10-16T04:18:56-07:00 Some comparison metrics can use fuzz:

Code: Select all

compare -metric AE -fuzz 2% redcar1.jpg redcar2.jpg out.png
This is what I was looking for!

Thanks a lot :)
Post Reply