can i calculate PSNR of a single image in MATLAB

 Accepted Answer

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)

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

Asked:

on 28 Feb 2015

Answered:

on 28 Feb 2015

Community Treasure Hunt

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

Start Hunting!