Course: CIS451/651  Data Compression in Multimedia
    Professor: Paul D. Amer
    Semester: Spring 2009
    Title:  Homework - Chapter 7 - Lossless Image Compression
    Due Date:

    Notice

    Because this assignment involves detailed sequences of bits and pixels, it is required that your answers be neatly organized. Difficult-to-read answers will be returned without grading.

    Tasks

    Read Chapter 7. You may omit reading Section 7.3 and the details of JBIG in Section 7.6.3 (you need to know what JBIG is.)

    1. (3 pts) Chapter 7 Projects and Problems: 1
      • assume Modified Huffman (MH) (therefore, every line is 1-D encoded)
    2. (3 pts) Chapter 7 Projects and Problems: 2
    3. (3 pts) Chapter 7 Projects and Problems: 3
    4. (2 pts) Chapter 7 Projects and Problems: 4
    5. (2 pts) Encode the following line using 1-D Modified Huffman (MH) Fax encoding.  W represents a white pel, and B represents a black pel.
    6. (3 pts) Decode  the following single line (broken into two lines for readability) using 1-D Modified Huffman (MH) Fax encoding.  Assume the encoding begins with a run of W pels.
    7. (3 pts) Encode the following using 2-D Modified READ (MR) Fax encoding.   Only encode the coding line.  Assume initially that a points to a virtual white pel to the left of the coding line.
    8. (1 pt) The facsimile standard assumes each line begins with a white pel.
    9. (2 pts) Use the lossless JPEG model 2 (see section 7.2.1) to encode the following 4X4 "image."
    10. (2 pts) The following 4X4 image is the result of applying the lossless JPEG model 2.  Decode the image back to its original values.
          1.  +2   +2   +1    0
             +1    0    0   +1
             -1   -1   -1   -1
              0   +1   +1    0
    11. (4 pts) Repeat the previous two questions, this time assuming the lossless JPEG model 3

    Notes

    1. Students may work individually or in groups of 2.   Students in different groups may NOT compare answers prior to submitting their work.  Only one submission should be turned in from each group.  See the syllabus for full details on academic honesty and lateness policies.
    2. To receive full credit, you must neatly present all work.