how to split a image?

1 visualizzazione (ultimi 30 giorni)
win
win il 4 Apr 2013
Commentato: fateh il 2 Giu 2014
dear programmers i am newbie here. i need to split a image into 8x8 pixels. please give the simple code.

Risposta accettata

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

Accedi per commentare.

Più risposte (2)

Image Analyst
Image Analyst il 17 Lug 2013

praveen
praveen il 20 Ott 2013
how to split image into 4*4 matrix
  1 Commento
Image Analyst
Image Analyst il 20 Ott 2013
Didn't you see my answer above?

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by