LZW (for Lempel-Ziv-Welch ) is a algorithm of Data compression without loss. It is about an improvement of the algorithms LZ77 (1977) and LZ78 (1978), all the two writings by Abraham Lempel and Jacob Ziv. LZW was created in 1984 by Terry Welch, from where its name.
Algorithm LZW had been Brevet E by the company Unisys. It was used in the Modem S (standard V42 (a)) and is still used in the format of Digital image GIF and the files audio MOD.
Let us note that the binary codes first of all are generally emitted on 8 bits, until these 8 bits are not enough any more to code the index which one wishes (for example the index 256, qu ' it is necessary to code on 9 bits). One emits index 0 then to mean that one increases the number of emitted bits by 1.
Let us take an example. Let us suppose that the sentence to be coded is “repetition”. With each letter is associated its code ASCII. The dictionary is initialized and associates index 1 with the code “0”, index 2 with the code “1” ..... etc until the index 256 which corresponds to the code “255”.
At the beginning of compression, the binary codes will be emitted on 8 bits.
| Random links: | Sexual offense on minor | Lagoon | Saint-Senier-of-Beuvron | Hamme (Flanders Eastern) | Athletic youth of Isle |