finding of mse and psnr
Ältere Kommentare anzeigen
sir i have attached a code . i want to find mse and psnr of the original image(I) and reconstruted image (y). i have used following code but it gives me error. how to find this parameters??
D = abs(I-y).^2; MSE = sum(D(:))/numel(I)
PSNR=10*log10(255*255/MSE)
1 Kommentar
Jitesh Bhanushali
am 11 Apr. 2014
Akzeptierte Antwort
Weitere Antworten (1)
Spandan Tiwari
am 11 Apr. 2014
0 Stimmen
There's a function named psnr() in Image Processing Toolbox in R2014a for computing PSNR. MSE is also computed on the way to computing PSNR.
BTW, what error do you get with your code? What parameters do you want to find?
Kategorien
Mehr zu Image Quality finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!