dividing image into 64 blocks

I have an image ,i want to divide it into 64(8x8),blocks,please help

 採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 2 月 17 日

1 投票

I - your image
[m n k] = size(I)
outIblocks = mat2cell(I,m/8*ones(8,1),n/8*ones(8,1),k)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by