fencode Encode a fimage : return bit rate for lossless compression
fencode U .
U : input fimage
. (screen output) : best rate (bit per pixel)
double fencode (U )
Fimage U ;
This module computes the bit rate (bit per pixel) needed to encode the input fimage that is, to perform lossless compression on it.
Several algorithms are considered, and the bit rate returned by the function is the best bit rate over all the following algorithms : entropy coding, arithmetic coding, predictive arithmetic coding.
See the module
arencode2 for more information on the arithmetic
Last Modification date : Thu Nov 29 20:23:57 2001