Course: CIS451/651 Data Compression in Multimedia
Professor: Paul D. Amer
Semester: next time taught after Spring 2013
Title: Homework - Chapters 8 and 9 - Lossy mathematical preliminaries and Scalar Quantization

Tasks

Read Chapter 8 with emphasis on Sections 8.3 and 8.6.1. Omit Section 8.5.
Read Chapter 9 with emphasis on Sections 9.1-9.4, 9.6. Omit Section 9.7.

  1. (15 pts) Midrise vs. Midtread Quantizers
  2. (10 pts) Chapter 8: Projects and Problems: 1(a) [1(b) is not required]
  3. (6 pts) Image Scalar Quantization
  4. (Extra Credit 3 pts) Specify a scalar quantizer that inputs values over the domain [0,127.5) and outputs the value rounded to the nearest integer represented as a 7-bit unsigned integer. For example, an input of 65.83 results in an output of 1000010 and a reconstructed value of 66; an input of 65.306 results in an output of 1000001 and a reconstructed value of 65. Assuming the input is uniformly distributed, compute the mean squared error. Provide a figure to help clarify your mean squared error computation.
  5. (Extra Credit 3 pts) Specify a scalar quantizer that resides inside a digital scale capable of weighing objects over the domain [0-300) pounds in 1/2 pound increments. Assume the scale truncates not rounds (a feature that customers like!) Assuming the input is uniformly distributed, (note: for humans, this assumption is invalid.) compute the expected mean squared error. Provide a figure to help clarify your mean squared error computation.

Notes

  1. For all tasks where you write a program, submit well-commented source listings of your code.
  2. Graduate students must do all assignments individually. Undergraduate students may collaborate in groups of 2 for assignments. Only one submission with both names should be turned in from a group.
  3. Clearly label your answers, and please submit answers in the order assigned.
  4. (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.
  5. (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.