# Talk:Peak signal-to-noise ratio

WikiProject Physics (Rated Start-class, Low-importance)
This article is within the scope of WikiProject Physics, a collaborative effort to improve the coverage of Physics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start  This article has been rated as Start-Class on the project's quality scale.
Low  This article has been rated as Low-importance on the project's importance scale.

How is this different from regular SNR? — Omegatron 03:06, 1 December 2005 (UTC)

Omegatron, by regular SNR I suppose you mean (average signal power)/(average noise power). That is usefully calculable for signals that have constant average power, such as AM or FM radio signals (audio has no DC component). Video is an example of a signal that does not have constant average power but has constant peak power.Cuddlyable3 07:17, 25 May 2007 (UTC)

## simplify

So is higher or lower PSNR better? Can someone add this to the article? Daniel.Cardenas 23:09, 7 August 2007 (UTC)

• A higher PSNR would be better, to further extend on this a PSNR of 100 would be exactly identical to the original. 71.183.91.117 02:54, 16 October 2007 (UTC)

Ahem... Why would PSNR 100 be identity? It is just a very good signal, but noisy nontheless. If you mean identical for all practical purposes, I would agree, but choosing 100 suggests that this is a special value like 100%, which it is not. -- 06:38, 7 November 2007 (UTC)

A higher PSNR is indeed better. To see this don't take what one says as granted but rather try to understand the underlying equations, they are not difficult. The MSE is basically the difference between the original and reconstructed image pixels, if the image is compared to itself (perfect recontruction or identical) then the MSE will be 0 as the difference between all pixels and their counterparts in the reconstruction will be zero. Now in the PSNR calculation we are dividing by the MSE, now a MSE of zero gives us an undefined PSNR, however if you think of it in terms of approaching zero rather than zero itself then the PSNR increases as the MSE approaches zero. That is the smaller the number on the denominator of the division, the larger the result. Thus I would have to say that a PSNR of 100 is far from correct for an identical image, a PSNR of infinity (or undefined to be mathematically correct) defines an image identical to the original. Publications on wireless image transmission quality define PSNR values of 20 dB or 25 dB for adequate image quality[1] [2]. I would say 30 dB to 40 dB are of quite good quality from my own work but this was for a uni assignment so you are to take it with a pinch of salt until you try it yourself. Shall I add this description to the main article? Keep in mind I'm still a newbie at Wikipedia. Theclem54 (talk) 04:47, 3 June 2008 (UTC)

1. ^ Xiangjun, L., & Jianfei, C. ROBUST TRANSMISSION OF JPEG2000 ENCODED IMAGES OVER PACKET LOSS CHANNELS. ICME 2007 (pp. 947-950). School of Computer Engineering, Nanyang Technological University.
2. ^ Thomos, N., Boulgouris, N. V., & Strintzis, M. G. (2006, January). Optimized Transmission of JPEG2000 Streams Over Wireless Channels. IEEE Transactions on Image Processing , 15 (1).

## ac vs dc peak power

Hello. For "one-sided" signals such as Video/Luma I can see that the definition matches the equations; but for AC signals (such as Audio, which is signed, but also arguably Video/Chroma which is kinda unsigned) the definition of "peak energy" seems off by a factor of 2. Could some knowledgable author/editor clarify this please? Thanks. 212.44.20.129 (talk) 16:55, 19 June 2009 (UTC)

## Confusion regarding the value of MAX used in PSNR calculation

i have read (http://www.mathworks.com/matlabcentral/fileexchange/135-psnr) that the value of MAX is the max difference between the pixels of the two images.
will the MAX for 16 bit images be 65535?
my images being 48 bit (3*16) I used 1/(m*n*3) to calculate MSE.
I am trying to convert an RGB image to YUV and convert the YUV back to RGB. so there is some loss introduced but not as much as a lossy compression. using Matlab's rgb2ycbcr and ycbcr2rgb functions, i was expecting a high PSNR value.
I was surprised to find that the PSNR was 100.1818, the MSE was 0.4118
but if I use 'max difference' as MAX i am getting 75.84 which seems to be more correct.
if use set MAX to 255+255/256 as specified in http://compression.ru/video/quality_measure/info_en.html#psnr I get 52.01