can i calculate PSNR of a single image in MATLAB

 Réponse acceptée

SRI
SRI le 28 Fév 2015

0 votes

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

Plus de réponses (1)

Image Analyst
Image Analyst le 28 Fév 2015

0 votes

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!

Translated by