can i calculate PSNR of a single image in MATLAB

4 views (last 30 days)
PSNR calculation

Accepted Answer

SRI
SRI on 28 Feb 2015
Hi Tina
PSNR can be calculated for the two image, one is input image and another ones in noisy affected image..
You can try with the example...
A = image1; B = image2;
C = psnr(A,B)
A is input image, B is noisy image, from this we can have a signal to noise ration result

More Answers (1)

Image Analyst
Image Analyst on 28 Feb 2015
I've also attached a file to do psnr for those people with antique versions of MATLAB before the psnr became a built-in function.

Tags

Community Treasure Hunt

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

Start Hunting!