Abstract
The main goal of this project is to implement the DCT and quantization of a JPEG image compression algorithm using hardware. Basically, in this project the JPEG algorithm converts an image from BMP format into a JPEG format. The main step of this algorithm is discrete cosine transform (DCT) which is implemented using hardware (ATmega32 micro-controller) and other parts are implemented using Microsoft Foundation Class (MFC) library based application. The other main thing in this project was to interface a micro-controller with the computer in order to receive data from computer for processing DCT on it and then send back the processed data to the computer. The media used for this communication is RS-232 and one other chip, MAX-232 which converts data between RS-232 and TTL format. The MFC Application takes in the BMP format image as an input. After that this application works on extracting the raw data from that image in order to send it to a micro-controller for further processing and waits until micro-controller finishes the processing. As soon as micro-controller is done with processing, it sends data back to MFC application and then MFC application completes remaining processing steps in JPEG compression algorithm and creates an image in JPEG format which is very small in size as compared to BMP format. The report will further discuss on how all the things like MFC application is implemented, hardware is setup and how an interfacing between computer and micro-controller is established.