Programming Assignment 2
Due Date: June 29, 2011 (Wednesday)
Objective:
Learn essential parts of JPEG image compression and some multimedia
programming skills.
Assignment:
- Write your own code to implement chroma subsampling,
transform coding, and quantization for the encoder and decoder
of JPEG.
- Do not implement the entropy (lossless) coding part.
Optionally, you may include any publicly available code for this.
- Create an interactive graphical user interface for the purpose of
demonstrating your results.
Minimum Requirements:
- For color, use either YUV or YIQ, and do 4:2:0 chroma subsampling.
- Separate the 2D DCT/IDCT into a sequence of two 1D DCTs/IDCTs.
- Use different quantization matrices to show the effect of lossy
compression.
- You may use any programming language of your choice, C++ or Java
is recommended.
What to hand in:
(a) Submit your source, executable files, and a short (2-3 pages)
written report summarizing what you have done for your assignment
on line by the due date.
(b) Have a demo to the TA.