python-PSNR icon indicating copy to clipboard operation
python-PSNR copied to clipboard

Calculating Peak Signal-to-noise-ratio with tensorflow

python-PSNR

Calculating Peak Signal-to-noise-ratio with tensorflow.

There are two founctions in psnr.py

Function: log10(x) and psnr(img1, img2) 
psnr(img1, img2):img1 is the image path, the img2 is same to img1.