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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Abr. de 2013

1 voto

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

3 comentarios

win
win el 4 de Abr. de 2013
thanks.........
Tia
Tia el 15 de Jul. de 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 el 2 de Jun. de 2014
how do i split image file into 4096 bytes per each fragment...and find out its compression ratio
need ur guidance plz...

Iniciar sesión para comentar.

Más respuestas (2)

praveen
praveen el 20 de Oct. de 2013

0 votos

how to split image into 4*4 matrix

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

win
el 4 de Abr. de 2013

Comentada:

el 2 de Jun. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by