Clear Filters
Clear Filters

how can I compare two image after some changes?

3 views (last 30 days)
nadia
nadia on 21 Jan 2017
Answered: Vandana Rajan on 21 Jan 2017
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?

Answers (1)

Vandana Rajan
Vandana Rajan on 21 Jan 2017
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!