Filter löschen
Filter löschen

how to split a image?

1 Ansicht (letzte 30 Tage)
win
win am 4 Apr. 2013
Kommentiert: fateh am 2 Jun. 2014
dear programmers i am newbie here. i need to split a image into 8x8 pixels. please give the simple code.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Image Analyst
Image Analyst am 17 Jul. 2013

praveen
praveen am 20 Okt. 2013
how to split image into 4*4 matrix
  1 Kommentar
Image Analyst
Image Analyst am 20 Okt. 2013
Didn't you see my answer above?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by