How to compute P.S.N.R value for the below set of images?
조회 수: 3 (최근 30일)
이전 댓글 표시
I would request anybody to provide me with code to compute the PSNR value for the below pair of images. I want to compare output1.png with o.png, o2.png with output2.png? Please help?
댓글 수: 0
채택된 답변
Thomas Koelen
2015년 5월 12일
If you have the image processing toolbox you can use the function:
peaksnr = psnr(A,ref)
where A is your output1 and ref is o.
댓글 수: 5
Image Analyst
2015년 5월 13일
Of course not. psnr is a measure of how close two images are to each other, not an overall assessment of which image is "better".
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!