LZSS

Juan Francisco Rodríguez Herrera
Vicente González Ruiz

July 10, 2017

Contents

1 Motivation

1 Motivation

Let’s go to the lab!

  1. Download http://www.ace.ual.es/~vruiz/doctorado/text-compression.tar.gz and make lzss.
  2. Encode each image of The Test Image Corpus using the LZSS codec. Continue filling the table:
        Codec | lena boats pepers zelda Average  
    ----------+--------------------------------  
            : |    :     :      :     :       :  
         lzss | ....  ....   ....  ....    ....

  3. Try to modify the source code of lzss.c to increase the compression ratios for these data.
  4. Finally, verify that the LZSS codec is lossless!

References

[1]   J. A. Storer and T. G. Szymanski. Data Compression via Textual Substitution. Journal of the ACM, 29(4):928–951, 1982.