Introduction - If you have any usage issues, please Google them yourself
Using matlab on a picture to DFT transform, DCT transform, compared to 20 DCT transform coefficients to retain the image reconstruction of the difference between the original image.