im1 和im2 都为灰度图像,uint8 类型# method 1diff = im1 - im2mse = np.mean(np.square(diff))psnr = 10 * np.log10(255 * 25.
確定! 回上一頁