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