Write three programs using **C++** that **transforms** and **backtransforms** a two-dimensional image ( Gray level 0-255).
**Program one** : Using Discrete Cosine Transform ( forward and backward equations).
**Program two**: Using Fourier Transform.
**Program three** : Using Haar wavelet Transform.
The following things have to be submitted with the programs:
1- A breif description of the purpose of each line in the code or group of lines ( example: lines for reading an image, transforming the image to a matrix, algorithm used, writing the image .....).
Excellent documentation source code comments.
2- A proof that the program is working. ( a picture transformed).
3- Problems encountered while doing the program.
1-Use same Equations for Dicrete Fourier Transform, Cosine Transform, and Haar wavelet found in Matlab software.I need a copy as a proof.
2- Algorithms for these equations cant be taken from libraries webpages.
3- The three programs have to be ready to be executed in C++ software with out any need for any additional modifications in the program.
4- The pictures have to t be in Jpeg format.
Please e-mail me if you have any questions or unclear things