Wednesday, May 25, 2005

 

PSNR

The Matlab code to measure PSNR is


Q = 255;
MSE = sum(sum((double(OutputImage)-double(Orig_I)) .^ 2)) / nRow / nCol;
psnr = 10*log10(Q*Q/MSE);

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?