processing a large image in matlab

1 view (last 30 days)
bob bob
bob bob on 4 May 2011
hi,
however, my computer does not have sufficient memory to open the entire image, so i get the error: out of memory.
is there a way to solve this problem? for instance, can the script be somehow modified to read in the image segment by segment so as not to overload the memory?
i am new to matlab, thanks for any help.

Answers (2)

Andreas Goser
Andreas Goser on 4 May 2011
The code looks pretty straight forward to me. Maybe not speed optimized, but I see no obvious memory waste. One would need to run it with a smaller ENVI image to identify memory waster. Did you already contact the author? He might be interested to collaborate.
You may need a 64 bit MATLAB on a 64 Bit environment.

bob bob
bob bob on 4 May 2011
yes, i think the issue here is the size of my ENVI images. how can i modify the script to make it open the image, say, 10MB at a time?
no, i have not contacted the author.

Tags

Community Treasure Hunt

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

Start Hunting!