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

6 vues (au cours des 30 derniers jours)
raviraja
raviraja le 11 Déc 2013
Commenté : juveria fatima le 12 Mar 2018
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 commentaire
manideep vemula
manideep vemula le 25 Avr 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.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 11 Déc 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 commentaires
Walter Roberson
Walter Roberson le 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 le 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

Connectez-vous pour commenter.

Plus de réponses (1)

JEBA CHRISTILDA
JEBA CHRISTILDA le 9 Août 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 commentaire
Image Analyst
Image Analyst le 9 Août 2016
Depends on what you want to do once you have the 10,000 sub-images. Use either blockproc() or mat2cell().

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by