MATLAB Answers

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

1 view (last 30 days)
Sandeep V
Sandeep V on 12 May 2015
Commented: Sandeep V on 13 May 2015
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?

Accepted Answer

Thomas Koelen
Thomas Koelen on 12 May 2015
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 Comments
Sandeep V
Sandeep V on 13 May 2015
OK then what does this 28.241 suggest? Can you please explain?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!