Prev: Reading a 2D array from a mat file in C++
Next: dct2
From: ImageAnalyst on 7 May 2010 09:22 On May 7, 8:43 am, "Aditya " <armun...(a)gmail.com> wrote: > Why have you used 256^2 in the PSNR computation.- Hide quoted text - ---------------------------------------------------------------------------------------------------------------- It should be the maximum gray level, not the maximum number of gray levels, so I guess it should be 255 not 256. Probably my mistake. See http://en.wikipedia.org/wiki/PSNR |