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

2 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Keerthana Chiruvolu
Keerthana Chiruvolu el 8 de Dic. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by