how can I compare two image after some changes?

1 次查看(过去 30 天)
HI, I want to compare two image and show the difference between them by a number. how can I do it? I want to normalize this difference. both images have same size, for example first image is the original image and second image is the original image after jpeg attack. using norm function is it true?

回答(1 个)

Vandana Rajan
Vandana Rajan 2017-1-21
Hi,
To measure quality of lossy image compression techniques like JPEG, you may use PSNR (Peak Signal to noise ratio).
https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio
https://in.mathworks.com/help/images/ref/psnr.html
https://in.mathworks.com/help/images/image-quality-metrics.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by