Azzera filtri
Azzera filtri

how can I compare two image after some changes?

3 visualizzazioni (ultimi 30 giorni)
nadia
nadia il 21 Gen 2017
Risposto: Vandana Rajan il 21 Gen 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?

Risposte (1)

Vandana Rajan
Vandana Rajan il 21 Gen 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!

Translated by