how to split a image?

1 次查看(过去 30 天)
win
win 2013-4-4
评论: fateh 2014-6-2
dear programmers i am newbie here. i need to split a image into 8x8 pixels. please give the simple code.

采纳的回答

Walter Roberson
Walter Roberson 2013-4-4
SplitImage = mat2cell( OriginalImage, 8 * ones(1,size(OriginalImage,1)/8), 8 * ones(1,size(OriginalImage,2)/8), size(OriginalImage,3) );
  3 个评论
Tia
Tia 2013-7-15
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 2014-6-2
how do i split image file into 4096 bytes per each fragment...and find out its compression ratio
need ur guidance plz...

请先登录,再进行评论。

更多回答(2 个)

Image Analyst
Image Analyst 2013-7-17

praveen
praveen 2013-10-20
how to split image into 4*4 matrix

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by