dividing image into 64 blocks

1 次查看(过去 30 天)
I have an image ,i want to divide it into 64(8x8),blocks,please help

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by