资 源 简 介
Use a standard Lena image as the ground truth, then calculate the PSNR (Peak Signal-to-Noise Ratio) & MSE (Mean Square Error) values of another test image.
Note: The two images must be with the same size.
The main code:
MSE = double(Sum_SE)/(H_src*W_src)
PSNR= 10*log10(255^2/MSE)