| cv.PSNR - MATLAB File Help |
Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric
psnr = cv.PSNR(src1, src2)
src1.This function calculates the Peak Signal-to-Noise Ratio (PSNR) image quality
metric in decibels (dB), between two input arrays src1 and src2. Arrays
must have uint8 depth.
The PSNR is calculated as follows:
PSNR = 10 * log10(R^2 / MSE)
where R is the maximum integer value of uint8 depth (255) and MSE is
the mean squared error between the two arrays.
See PSNR for more details.