Compute PSNR and SSIM of 2 pictures using OpenCV Mat structure