Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13861

How to find PSNR from two images with different size in python

$
0
0

I have 2 images, one original and other is reconstructed from the original via some processing. I want to find the PSNR for the reconstructed image The original has a size of (180, 180) but the reconstructed image has size of (71,81) Since the sizes do not match, it will give an error while calculating it. Is there a way to resize the reconstructed one to (180,180). I am also worried that there might also be an alignment issue so it may give wrong PSNR. What can be done to do calculate the PSNR


Viewing all articles
Browse latest Browse all 13861

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>