Add some useful input assertions to PSNR function
Add some useful input assertions to PSNR function

Input arrays must be depth CV_8U and of identical size.
opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv