How do I select and produce a 8x8 pixel region of an original image as a new image?

3 visualizzazioni (ultimi 30 giorni)
I need to select an 8 pixel by 8 pixel region of the image from an interesting area of the image and perform 2D DCT on it.

Risposte (1)

Keerthana Chiruvolu
Keerthana Chiruvolu il 8 Dic 2020
Hi,
You can use the imcrop() function to crop the region of interest an image, and perform 2-D DCT using dct2() function. Alternately, you may also select the region of interest by specifying the rows and columns parameters of the dct2() function.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by