im1 和im2 都為灰度圖像,uint8 類型 # method 1 diff = im1 - im2 mse = np.mean(np.square(diff)) psnr = 10 * np.log10(255 * 255 / mse) # method ...
確定! 回上一頁