How do we extract an m*n matrix from a larger p*q matrix?

1 次查看(过去 30 天)
I have an image which is divided into 8*8 blocks grid. I am finding DCT of each block in this image using blocproc which is followed by idct. This gives me idct of the entire image(a matrix of 512*512 is obtained). How do I extract dct of one block(i.e. dct of a single block out of 512*512 blocks) to obtain a 8*8 matrix out of 512*512 one.

回答(1 个)

KSSV
KSSV 2017-7-20

Community Treasure Hunt

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

Start Hunting!

Translated by