Answer the question
In order to leave comments, you need to log in
An objective assessment of image quality?
Help, I have an original image angle and a few synthesized ones, I need to make an objective quality assessment of the synthesized angles (PSNR MSE SSIM). I can't make a working code (in Python) for this.
Answer the question
In order to leave comments, you need to log in
PSNR 1 minute on Google https://dsp.stackexchange.com/a/61510
import cv2
img1 = cv2.imread("1.png")
img2 = cv2.imread("2.png", 1)
psnr = cv2.PSNR(img1, img2)
print(psnr)
26.633679839968654
Process finished with exit code 0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question