Defining variables to comput the ISNR
Afficher commentaires plus anciens
Hi,
I have to modify a script so that it automatically computes the ISNR. I learned that the formula for computing the ISNR is ISRN=10*log10(num/den). However, I don't know how to define "num" and "den".
num = sum of all the terms of the squared difference between original and noisy
den = sum of all the terms of the squared difference between original and restored
Can someone help me with this?
Regards,
Daniel
Réponses (1)
Walter Roberson
le 25 Mai 2015
sum((double(original(:)) - double(noisy(:))).^2)
1 commentaire
Daniel_DG
le 25 Mai 2015
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!