PSNR
by John T. McCarthy
09 Oct 1998
(Updated 04 Feb 2008)
This function displays the PSNR (peak signal-to-noise ratio) between two images.
|
Watch this File
|
| File Information |
| Description |
This function displays the PSNR (peak signal-to-noise ratio) between two images. The answer is in decibels (dB).
PSNR is very common in image processing. A sample use is in the comparison between an original image and a coded/decoded image. Typical quoted PSNR figures are in the range +25 to +35dB.
The syntax for this file is PSNR(A,B), where A and B are MATLAB Intensity Images, with matrix-elements in the interval [0,1]
The function can be adapted for images with 256 gray levels. |
| Acknowledgements |
This submission has inspired the following:
mmvn_toolkit
|
| MATLAB release |
MATLAB 7.2 (R2006a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (33) |
| 28 Aug 2002 |
Shaikh Hussain
|
|
|
| 15 Jan 2003 |
febrian taufiq
|
|
|
| 15 Jan 2003 |
taufiq FEBRIAN
|
|
|
| 24 Feb 2003 |
Joel Schaere
|
|
|
| 20 May 2003 |
susette dayanghirang
|
|
|
| 11 Dec 2003 |
Wei Ting
|
|
|
| 12 Mar 2004 |
Din bhari
|
|
|
| 01 Apr 2004 |
VEERAMALLY RAVIKUMAR
|
|
|
| 27 May 2004 |
jonathan haffarei
|
|
|
| 03 Jul 2004 |
Michael Kleder
|
|
|
| 16 Jul 2004 |
VENKATA KARTHIK PRABALA
|
|
|
| 17 Aug 2004 |
Jeny Rajan
|
|
|
| 29 Aug 2004 |
Feng Yang
|
|
|
| 31 Aug 2004 |
bassem sheta
|
|
|
| 28 Dec 2004 |
jameer iqbal
|
|
|
| 07 Feb 2005 |
sankar kumar
|
|
|
| 02 Apr 2005 |
ichi maeda
|
|
|
| 09 Nov 2005 |
Ramraj Pandey
|
|
|
| 11 May 2006 |
weiss Pierre
|
|
|
| 11 May 2006 |
weiss Pierre
|
|
|
| 30 May 2006 |
justin lee
|
|
|
| 01 Mar 2007 |
prabhat srivastava
|
|
|
| 20 Mar 2007 |
liu qiang
|
|
|
| 05 Jun 2007 |
burepalli venkata srinivasarao
|
|
|
| 03 Nov 2007 |
Tiandi Duan
|
|
|
| 05 Nov 2007 |
Luren Jia
|
|
|
| 04 Dec 2007 |
himanshu sharma
|
|
|
| 20 Jul 2008 |
Muhammad Naveed Ahmed
|
|
|
| 13 Oct 2008 |
Aon S.
|
|
|
| 06 Dec 2008 |
bigforg ‡
|
|
|
| 18 Jul 2009 |
hbu
|
|
|
| 03 Jun 2011 |
ray mand
|
|
|
| 03 Jun 2011 |
ray mand
|
|
|
| Updates |
|
modifying description |
| 30 Jan 2008 |
Improved some code, to prevent M-Lint messages in MATLAB's Code Metrics. |
| 04 Feb 2008 |
Made provision for images with 256 gray levels. |
|
Contact us at files@mathworks.com