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

3 views (last 30 days)
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.
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)


Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!