dear programmers i am newbie here. i need to split a image into 8x8 pixels. please give the simple code.

 Réponse acceptée

Walter Roberson
Walter Roberson le 4 Avr 2013

1 vote

SplitImage = mat2cell( OriginalImage, 8 * ones(1,size(OriginalImage,1)/8), 8 * ones(1,size(OriginalImage,2)/8), size(OriginalImage,3) );

3 commentaires

win
win le 4 Avr 2013
thanks.........
Tia
Tia le 15 Juil 2013
hello.. could you tell me how to call splitImage(1,1).. example:
splitImage(1,1)=splitImage(1,3)
i want to move it. is it possible? thanks
fateh
fateh le 2 Juin 2014
how do i split image file into 4096 bytes per each fragment...and find out its compression ratio
need ur guidance plz...

Connectez-vous pour commenter.

Plus de réponses (2)

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by