how to calculate PSNR value ?
Mostrar comentarios más antiguos
hi
i need help for calculating PSNR value for two different size images
original image = 256 * 256
output image = 511 * 511
can anyone suggest how to calculate PSNR value for above images
2 comentarios
Wayne King
el 23 de Sept. de 2012
Can you say if you're using a lifting transform, why the reconstructed image approximation is not 512x512?
Sivakrishna
el 23 de Sept. de 2012
Respuestas (2)
Image Analyst
el 23 de Sept. de 2012
0 votos
What if you just used imresize() on one of them? And then did the usual PSRN formula. Would that work for your purposes?
2 comentarios
Sivakrishna
el 23 de Sept. de 2012
Editada: Sivakrishna
el 23 de Sept. de 2012
Image Analyst
el 23 de Sept. de 2012
Make your reference image bigger to match the size of your super resolution image.
sandra viaña borja
el 8 de Jul. de 2018
Editada: Image Analyst
el 9 de Jul. de 2018
0 votos
Sivakrishna Did you find how to calculate PSNR between an original image and the super resolution constructed one?
4 comentarios
Image Analyst
el 9 de Jul. de 2018
After 6 years, I imagine so. But since then, lucky for you, they've introduced the psnr() function into the Image Processing Toolbox so you can just simply use that, after using imresize() of course to make the image sizes match.
Anu Sri
el 27 de Sept. de 2018
hey can anyone suggest me how to find the psnr value for RGB image?
Image Analyst
el 28 de Sept. de 2018
Try this:
p = psnr(rgbImage, refImage);
Anu Sri
el 28 de Sept. de 2018
it worked,thankyou!!
Categorías
Más información sobre Image Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!