Introduction - If you have any usage issues, please Google them yourself
This program before and after the input of two ways two RGB image calculation process to calculate the mean square error MSE and PSNR PSNR Method 1: If you read into the image as a color image, the first gray-scale processing Method 2: RGB image variance calculated in accordance with the gray-scale image is all variance divided by image size divided by 3