dividing image into 64 blocks

2 visualizaciones (últimos 30 días)
FIR
FIR el 17 de Feb. de 2012
I have an image ,i want to divide it into 64(8x8),blocks,please help

Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by