dividing image into 64 blocks

1 visualizzazione (ultimi 30 giorni)
FIR
FIR il 17 Feb 2012
I have an image ,i want to divide it into 64(8x8),blocks,please help

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by