PSNR is different for the same images, different formats
Posted: 2014-07-17T03:28:14-07:00
OS: Windows 8 Enterprise
Magick Version: 6.8.9
Bug: When calculating PSNR between two images, the PSNR differs depending on the format of the files (but the same content).
Steps to reproduce:
Download reference images: http://www.filedropper.com/refimages
Magick Version: 6.8.9
Bug: When calculating PSNR between two images, the PSNR differs depending on the format of the files (but the same content).
Steps to reproduce:
Download reference images: http://www.filedropper.com/refimages
Code: Select all
UTIL_DB_compare_.exe -metric PSNR f00140_ref.png f00140_ref.bmp asd.png
1.#INF // Images reported the same
UTIL_DB_compare_.exe -metric PSNR f00140_ref.png f00140.png p.png
29.6955
UTIL_DB_compare_.exe -metric PSNRf00140_ref.bmp f00140.bmp b.png
28.4461 // But the PSNR differs
UTIL_DB_compare_.exe -metric PSNR p.png b.png total.png
1.#INF // And yet the resulting images dont