Question: 2 . Discrete Cosine Transform ( test images: fig 1 . jpg ) ( a ) Perform the DCT on whole image and each
Discrete Cosine Transformtest images: figjpg
a Perform the DCT on whole image and each block of the image respectively.
b Change the number of preserved harmonicsvariable f make the value the AC components to zero and assign a part of DC components to zero.
c Apply InverseDCT to restore the image. Observe how well an image can be approximated with different number of DCT coefficients.
d Think about the difference when applying DCT over the whole image and the image in block.
Please Note:
All the intrinsic functions of MATLAB or OpenCV eg histeq in MATLAB are not allowed to be used during implementation. Those functions can be only used for result comparison.
The experiment results should contain: the original image and the image after compression, runnable code and description. Your answer about why do not we simply apply DCT to the entire image instead?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
