Thanks for your sharing, but I am wondering what's the 68~74 codes in main.py meaning? Could you please help me understand it ?
im3 = cv2.cvtColor(im3, cv2.COLOR_BGR2YCrCb)[6: -6, 6: -6, 0]
make sure for the same shape of psnr calcultation? why [6: -6, 6: -6, 0] ?
Thanks for your sharing, but I am wondering what's the 68~74 codes in main.py meaning? Could you please help me understand it ?
im3 = cv2.cvtColor(im3, cv2.COLOR_BGR2YCrCb)[6: -6, 6: -6, 0]
make sure for the same shape of psnr calcultation? why [6: -6, 6: -6, 0] ?