dividing image into 64 blocks

1 vue (au cours des 30 derniers jours)
FIR
FIR le 17 Fév 2012
I have an image ,i want to divide it into 64(8x8),blocks,please help

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by