Machine Problems
Logistics
Guys, it's time to start working on your project. Here is some
information about logistics. Log into the linuxpool
cluster, and there you will find a directory
/work/ece446/. This directory contains the
following:
- A subdirectory video/, with 2000 frames
of a video sequence.
- A subdirectory ac/, with a standalone
program (and libraries) that implement arithmetic encoding and decoding.
- A subdirectory qt/, with a standalone
program (and libraries) that implement a simple linear transform on
an array of image data.
- A subdirectory io/, with a standalone
program (and libraries) that implement a bunch of input/output functions.
Any code or data that we provide to you will be placed in this directory,
and will have been tested (and thus bug-free... I'd hope!) in the Linux
cluster. I encourage you to work on the machines in 329PH -- you can work
wherever you want, but when you turn your code in, it has to work on those
machines or else.
Assignment #1: Some (Very) Basics on Data Compression and Display
Your first job is to write some simple programs in C:
- First you have to get yourself familiar with the language and the
tools. I will spend the lecture on Tue Oct 18 giving you a tour of the
code, of makefiles, of the source-level debugger, etc.
- Then you have to modify the vplay program,
to do the following:
- Read an image into memory.
- Apply a scalar quantizer on each pixel.
- Compress these quantized values using the arithmetic coder.
- Write the compressed data to a file.
and another program that will do all the inverse steps (read compressed
data from file, decompress, dequantize, display image).
- Then you have to make an addition to this program you wrote above:
before applying a quantizer, you have to apply a linear transform to the
given raw data.
To turn in your code, you are going to create a tar file with
two directories (one for each program), containing a proper makefile
and a proper README file with instructions on how to compile and
run your code.
Please note: we expect you to turn in working code that is a simple
to compile and run as the code we gave you. If your code does not
compile, if we get a core dump while running your code on the linuxpool
cluster, if it takes us more than 30 seconds from the time we open
your tar file until the time we see your code running and producing
correct outputs, if , then
you have a problem. Please be mindful of this.
Due date: this part of the project will be due on November 1st -- you
have two weeks to work on it.
More Assignments
Coming.