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

19 views (last 30 days)
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 Comment
manideep vemula
manideep vemula on 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.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 11 Dec 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 Comments
Walter Roberson
Walter Roberson on 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 on 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

Sign in to comment.

More Answers (1)

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

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!