How to compute P.S.N.R value for the below set of images?

조회 수: 3 (최근 30일)
Sandeep V
Sandeep V 2015년 5월 12일
댓글: Sandeep V 2015년 5월 13일
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?

채택된 답변

Thomas Koelen
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
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".
Sandeep V
Sandeep V 2015년 5월 13일
OK then what does this 28.241 suggest? Can you please explain?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by