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

조회 수: 10 (최근 30일)
raviraja
raviraja 2013년 12월 11일
댓글: juveria fatima 2018년 3월 12일
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
manideep vemula
manideep vemula 2016년 4월 25일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2013년 12월 11일
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
Walter Roberson
Walter Roberson 2018년 3월 9일
"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 2018년 3월 12일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

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

댓글을 달려면 로그인하십시오.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by