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

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

$
0
0

I have 2 images, the original and other reconstructed. The original has a size of (180, 180) but the reconstructed image has size of (71,81) and I want to find PSNR for the reconstructed image. 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. Is there a way to go about it?


Viewing all articles
Browse latest Browse all 14331

Trending Articles



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