Question: 1- Generate an 8 8 image with random values ranging between 0-255. 2- Apply 2D Discrete Cosine Transformation (DCT) on the gen- erated image above.

1- Generate an 8 8 image with random values ranging between 0-255.

2- Apply 2D Discrete Cosine Transformation (DCT) on the gen- erated image above. Plot the response.

3- Obtain the same response using the combination of 1D-DCTs.

4- Compare the resultant responses from 2 and 3.

You can use: scipy.dctn function for 2D-DCT, and scipy.dct function for 1D-DCT.

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!