How to Split Large Images in to parts Using MATLAB..? ? ?

6 visualizzazioni (ultimi 30 giorni)
I got a satellite image of size [17935 10968] pixels,I want to cut image equally and process my required algorithm on individual parts (eg: I need to cut above pixel range into 4 equal parts).. How can I split image without loosing intermediate pixels.. My requirement is like (1 to 5600 and 5601 to the end pixel)
And anybody got any idea of handling such a huge data in Matlab..!!! (Image Size is around 600 Mb)
  1 Commento
manideep vemula
manideep vemula il 25 Apr 2016
after implementing the algorithm, i want to know how to recombine all those to a original image of actual size.. please answer this.. i need it.? thank you.

Accedi per commentare.

Risposta accettata

Image Analyst
Image Analyst il 11 Dic 2013
upperLeft = theImage(1:5600, 1:5600);
upperRight = theImage(1:5600, 5601:end);
lowerLeft = theImage(5601:end, 1:5600);
lowerLeft = theImage(5601:end, 1:5601:end);
  10 Commenti
Walter Roberson
Walter Roberson il 9 Mar 2018
"can you please tell how to save that blocks individually"
The variable ca is the cell array that holds all of the blocks. You can extract any one block from it using {} indexing, such as
ca{3,11}
for the third block down and 11th to the right.
You can save those in whatever way is convenient.
juveria fatima
juveria fatima il 12 Mar 2018
it's working thank you very much
ca{1,1} am storing in c11 as c11=ca{1,1}
and if am trying to use imshow(c11) am getting the result that is .m file
instead i want to take that as jpg file which is input for my other code
can any one help how to get in .jpg fomat

Accedi per commentare.

Più risposte (1)

JEBA CHRISTILDA
JEBA CHRISTILDA il 9 Ago 2016
I got an mammogram image with large size of 1025*750 how can i divide this into 100*100 can anybody has an idea.
  1 Commento
Image Analyst
Image Analyst il 9 Ago 2016
Depends on what you want to do once you have the 10,000 sub-images. Use either blockproc() or mat2cell().

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by