PSNR: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs) replace <math> with images generated @ Wikipedia |
Raffriff42 (talk | contribs) m format inline math |
||
| Line 7: | Line 7: | ||
[[File:PSNR_Eq2.png|x40|<math>MSE(I,K) = \frac{1}{M} \cdot \sum_{j=0}^{width-1} \sum_{k=0}^{height-1} | I(j,k) - K(j,k) |^{2}</math>]] | [[File:PSNR_Eq2.png|x40|<math>MSE(I,K) = \frac{1}{M} \cdot \sum_{j=0}^{width-1} \sum_{k=0}^{height-1} | I(j,k) - K(j,k) |^{2}</math>]] | ||
where | where ''{{Serif|M}} = {{Serif|width}} '''·''' {{Serif|height}}'' is the number of pixels in a frame and {{Serif|''width''}}, {{Serif|''height''}} are the width and height of the frame, respectively, in pixels. | ||
The double-sum term states that | The double-sum term states that {{Serif|(''j'',''k'')}} runs over all pixels of the frame, summing the absolute value of the difference of {{Serif|''I, K''}} functions raised to the power of 2. | ||
For more details see: http://en.wikipedia.org/wiki/PSNR . | For more details see: http://en.wikipedia.org/wiki/PSNR . | ||
[[Category:Glossary]] | [[Category:Glossary]] | ||
Revision as of 17:28, 21 November 2015
PSNR is measured in decibels. It's defined as
with
where M = width · height is the number of pixels in a frame and width, height are the width and height of the frame, respectively, in pixels.
The double-sum term states that (j,k) runs over all pixels of the frame, summing the absolute value of the difference of I, K functions raised to the power of 2.
For more details see: http://en.wikipedia.org/wiki/PSNR .

