can i calculate PSNR of a single image in MATLAB

 Risposta accettata

SRI
SRI il 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

Più risposte (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.

Tag

Richiesto:

il 28 Feb 2015

Risposto:

il 28 Feb 2015

Community Treasure Hunt

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

Start Hunting!

Translated by