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

조회 수: 2 (최근 30일)
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.

답변 (1개)

Keerthana Chiruvolu
Keerthana Chiruvolu 2020년 12월 8일
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