Page 1 of 1

Automatically comparing images

Posted: Wed Jan 12, 2011 4:25 pm
by ^rooker
I needed to visually compare throusands (!!) of exported image sequences from an analogue video source - so a manual comparison was not an option.
ImageMagick to the rescue!

A basic impage comparison is straightforward:

Code: Select all

compare bag_frame1.gif bag_frame2.gif compare.gif
Since the captured material came from an analogue source, it's necessary to do a "fuzzy" comparison that ignores small differences up to a certain degree.
For example:

Code: Select all

compare -metric AE -fuzz 5% bag_frame1.gif bag_frame1.jpg compare_fuzz.gif