Page 1 of 1

Compare two images, but gently

Posted: 2018-10-16T01:00:40-07:00
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

Re: Compare two images, but gently

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

Code: Select all

compare -metric AE -fuzz 2% redcar1.jpg redcar2.jpg out.png

Re: Compare two images, but gently

Posted: 2018-10-16T05:29:02-07:00
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 :)