- FELICS
FELICS, which stands for Fast Efficient & Lossless Image Compression System, is a lossless
image compression algorithm, that performs 5-times fasterthan the existing JPEG in the Lossless mode, and achieves similar performancein terms of the compression ratio.History
It was invented by P. G. Howard & J. S. Vitter of the computer science departmentof the Brown University & Duke University in USA, and presented at the DCCin
Snowbird, Utah in 1993.Principle
Like other lossless codecs for continuous-tone images, FELICS operates by decorrelating the image and encoding it with an entropy coder. The decorrelation is the context where and where are the pixel's two nearest neighbors (
causal , already coded and known at the decoder) used for providing the context to code the present pixel .Except at the top and left edges, these are the pixel above and the pixel to the left.P lies within the closed interval [L, H] roughly half the time.Otherwise, it is above H or below L. These can be encoded as 1, 01, and 00 respectively (p. 4).The following figure shows the (idealized) histogramof the pixels and their intensity values along the x-axis, and frequency of occurrence along the y-axis.
The distribution of P within the range [L, H] is nearly uniform with a minor peak near the center of this range.When P falls in the range [L, H] , P − L is encoded using an adjusted
binary code such that values in the center of the range use floor(log2(Δ + 1)) bits and values at the ends use ceil(log2(Δ + 1)) bits (p. 2).For example, when Δ = 11, the codes for P − L in 0 to 11 may be 0000, 0001, 0010, 0011, 010, 011, 100, 101, 1100, 1101, 1110, 1111.Outside the range, P tends to follow a
geometric distribution on each side (p. 3).It is encoded using aRice code with parameters chosen based on previous choices.For each Δ and each possible Rice code parameter "k", the algorithm keeps track of the total number of bits that would have been used to encode pixels outside the range.Then for each pixel, it chooses the Rice code with the based on Δ at the pixel.Improvements
FELICS improvements include methods for estimating Δ and estimating "k".For instance, relatively flat areas (with small Δ, especially where L = H) may have some noise, and compression performance in these areas improve by widening the interval, increasing the effective Δ.It is also possible to estimate the optimal "k" for a given Δ based on the mean of all prediction residues seen so far, which is faster and uses less memory than computing the number of bits used for each "k".
References
# P. G. Howard and J. S. Vitter. ``Fast and Efficient Lossless Image Compression," Proceedings of the 1993 IEEE Data Compression Conference (DCC '93), Snowbird, UT, April 1993. [http://ieeexplore.ieee.org/search/srchabstract.jsp?arnumber=253114&isnumber=6456&punumber=452&k2dockey=253114@ieeecnfs&query=%28%28felics%29%3Cin%3Emetadata%29&pos=2. IEEExplore Abstract] ; [http://www.cs.duke.edu/~jsv/Papers/catalog/node86.html full text PDF]
#ee also
*
JPEG-LS
*PNG
*Exif -Exchangeable image file format
*Context Adaptive Lossless Image Codec
*GIMP
*Image compression
*Image file formats
*Comparison of graphics file formats External links
* [http://www.compression-links.info/Link/1321_FELICS_Fast_and_Efficient_Lossless_Image_Compression.htm, Compression-Links.Info] .
Wikimedia Foundation. 2010.