CompressionQualityAnalysis icon indicating copy to clipboard operation
CompressionQualityAnalysis copied to clipboard

Computes MSR and PSNR after compression of an image to check the compression quality

CompressionQualityAnalysis

Computes MSR and PSNR after compression of an image to check the compression quality.

Prerequisites

To compute

Replace orignal_image.png and compressed_image.png with your own image files. Run python file PSNR.py

Python3 PSNR.py

alt text

Significance of PSNR value

PSNR values defines how well a compression algorithm functions, lower PSNR values (0-15db) measns that the quality of restored image is bad, higher PSNR values (approximately 30-40db) means the compression algorithm works well.

Credits

  • Mohd. Omama - Improvements in implementation - Mohd Omama

References