calcpsnr (Scripts) Publisher's description
from Shahab Anbarjafari
This function PSNR = calcpsnr(f,F), will compute the PSNR of two given images
This function PSNR = calcpsnr(f,F), will compute the PSNR of two given images. The function accepts as inputs, the 2 images where the first image is the source image f(x,y) containing N by M pixels and the second is the reconstructed image F(x,y). [note f and F must be between 0 and 255]
The function also calculates the Error image by taking the difference between the reconstructed and original pixels.
The typical construction of the error image multiples the difference by a constant to increase the visible difference and translates the entire image to a gray level. Formulas for these computations have been gotten from
July 26th 2007. The code was put together by me Toritseju Okpotse same day.
The code has been modified on 11-11-2008 by me, Gholamreza Anbarjafari
System Requirements:MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall