Course: CIS451/651; Data Compression in Multimedia
Professor: Paul D. Amer
Semester: Spring 2013
Title: Project 1 - Using Sayood's Software; and Difference Images

Goals:

  1. to install and become familiar with Sayood's compression software.
  2. to become familiar with 256X256 grayscale and grayscale difference images in both raw and "meta-data" formats.
  3. to use Huffman encoding on grayscale images and difference images
  4. to become familiar with "seeing" the contents of non-ASCII files using the octal dump (od) command (in this case, the files contain 8-bit unsigned integers)

Tasks:

  1. (0 pts) Throughout the semester, students will need to use C programs and data developed by Khalid Sayood, the textbook’s author. Download and install Professor Amer's version of Sayood's software and data to a machine of your choice. Amer's version is archived (using 'tar') and compressed (using 'gzip'), and is located in www.cis.udel.edu/~amer/CISC651/Sayood/Amer451-651VersionOfSayoodSoftware.tar.gz After you download this file, uncompress it, and then untar it. Then use the Makefile (located in the programs subdirectory) to compile all of the code for your machine. You can compile everything using "make -f Makefile all" A README file explaining the software and data is in www.cis.udel.edu/~amer/CISC651/Sayood/software/READMe-by-Amer


  2. (20 pts) Required for all students - Huffman Encoding and Difference Images

  3. (4 pts) Required for 651 students; Extra Credit for 451 students - Using the Wrong Codebook

  4. (4 pts) Required for all students - Seeing an Image Next to its Difference Image
    • use your favorite image software (e.g., I recommend you install Irfanview, or GIMP) to view the original sena, sinan, and omaha images, and their difference images on your computer. Most commercial software (including Irfanview, xv, GIMP) have never encountered a Sayood raw image file (filename postfix ".img".) Sayood's raw image format is not a standard, or even widely-known image format. To view an ".img" image, convert the ".img" file to the well-known ".pgm" file format using Sayood's program "convpgm.c", and then view the ".pgm" file. (You will need to convert and view ".img" images in future assignments.)
    • (submit) Print out a few images next to their difference images.

  5. (4 pts) Required for 651 students; Extra credit for 451 students - Adaptive Huffman Coding
    • Section 3.10 - Projects and Problems 2c

  6. (4 pts) Required for 651 students; Extra Credit for 451 students - Reconstructing the Original Image

Notes

  1. Graduate students must do this assignment individually. Undergraduate students may collaborate in groups of 2 for this assignment. Only one submission with both names should be turned in from a group.
  2. Clearly label your answers, and please submit answers in the order assigned.
  3. (repeated from course syllabus) Academic Honesty: Unless explicitly stated otherwise, students are not permitted to access or compare any homework, or program-project answers with those of any other student or group past or present, alive or dead, or any Internet web site prior to submitting the assignment. Comparing answers, or getting answers off the Internet before submitting one's work is considered cheating. If you do not have time to complete an assignment, it is better to submit partial solutions than to get answers from someone else. While it is obviously difficult to enforce this policy, students who do not follow this policy should be keenly aware that in this class, they a re cheating, and if caught, will be prosecuted according to University guidelines. This applies both to the student (or group) who gets answers and the student (or group) who gives answers.
  4. (repeated from course syllabus)  Lateness Policy: Assignments are due at the beginning of class. Unexcused late assignments will be penalized up to 10% per school day (weekends do not count) up to a 2-day maximum penalty of 20%. Without prior discussion with the professor, assignments will not be accepted more than two school days late without a university approved excuse.