Introduction - If you have any usage issues, please Google them yourself
Cameraman.tif DCT transform of the image, were selected maximum 1/4,1/8,1/16 transform coefficients (the remainder is set to 0), inverse DCT to obtain the reconstructed image, the original image and displaying a reconstructed image of each and calculate the peak signal to noise ratio of the reconstructed image.