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

1 回表示 (過去 30 日間)
Chandvi Arora
Chandvi Arora 2017 年 7 月 20 日
コメント済み: Chandvi Arora 2017 年 7 月 20 日
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.
  2 件のコメント
Rik
Rik 2017 年 7 月 20 日
With block=total(1:8,1:8);?
Chandvi Arora
Chandvi Arora 2017 年 7 月 20 日
I am able to do what I want with this. Thanks a lot.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2017 年 7 月 20 日
  1 件のコメント
Chandvi Arora
Chandvi Arora 2017 年 7 月 20 日
In the last link, how to determine the value of [20x6x3 double]? I need the exact value.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by