File Exchange

image thumbnail

Peak Signal-to-Noise Ratio

version 1.0 (1.2 KB) by

measure the quality of reconstruction of the image compressed compared to the image original



View License

function [A] = psnr(image,image_prime,M,N)
comparison between "image" and "image_prime"
"M , N" size of "image" (the two images must be of the same size)
The typical values of PSNR for images of good quality vary between 30 and 40 dB.

Comments and Ratings (1)


how can i measure PSNR for 100 images then save it to excel?

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video