next up previous contents index
Next: frthre Up: Reference Previous: fpset   Contents   Index

fpsnr255

$ \bigcirc$Name


fpsnr255 Returns the additive factor to get the '255' PSNR from the 'max-min' PSNR




$ \bigcirc$Command Synopsis


fpsnr255 [-n] Image .



-n : flag to normalize the image

Image : original image

. (screen output) : additive PSNR factor




$ \bigcirc$Function Summary


double fpsnr255 (Norm , image )

Fimage image ;

int *Norm ;




$ \bigcirc$Description


fpsnr255 computes the additive factor to get the '255' PSNR from the 'max-min' PSNR, where

PSNRmax-min = 10×log10$\displaystyle {\frac{{(\max_{x,y}f(x,y) - \min_{x,y}f(x,y))^{2}}}{{MSE}}}$

and

PSNR255 = 10×log10$\displaystyle {\frac{{255^{2}}}{{MSE}}}$

, for f the given image and MSE the mean square error between this original image and a reconstructed image.

This module allows to get the '255' PSNR from PSNR results obtained by the module fmse, when it has not been called with the option -p.

Use the -n option when fmse has been called with the -n option.




$ \bigcirc$Version 0.0


Last Modification date : Thu Nov 29 20:23:56 2001


$ \bigcirc$Author


Jacques Froment






next up previous contents index
Next: frthre Up: Reference Previous: fpset   Contents   Index
mw 2004-05-05