Question: Compress the same image using two dimensional DCT (dct2) with 6.25% of the dct coefficients retained, the others are set to zeros. (no windows, it

 Compress the same image using two dimensional DCT (dct2) with 6.25%

Compress the same image using two dimensional DCT (dct2) with 6.25% of the dct coefficients retained, the others are set to zeros. (no windows, it is Global DCT). You need to sort the coefficients from largest to smallest, then retain the largest 6.25% and set the rest to zero. A simpler way is to find the location; 0.0625*(size), set all values beyond this location to zero. Use idct2 to get the reconstructed image. Find the rms and psnr. Display the output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!