PSNR
peak signal-noise ratio
Contents
DESCRIPTION
P = PSNR(X,XC);
compute the PSNR of an noisy image with respect to its original image.
PSNR = 10*log10(max(X)^2/MSE(X-XC));
INPUT
X - original image
XC - noisy image
OUPUT
P - PSNREXAMPLE
X = imread('barbara.gif');
X = double(X);
nX = randn(size(X))*30;
Y = X+nX;
P = PSNR(X,Y)
P = 18.5792
See also
Copyright
Copyright (C) 2011. Xiaosheng Zhuang, University of Osnabrueck