Some of the metrics already subtract the images average difference from the comparision as part of that metrics encoding.
Specifically... PSNR
With this metric, solid white and solid black images are identical!!!!
See my (extremely rough) notes in IM Examples
http://www.cit.gu.edu.au/~anthony/graph ... e/#compare
fine compare
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/