comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Trying to read very big image in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Trying to read very big image in IDL [message #69153 is a reply to message #68921] Fri, 11 December 2009 07:45 Go to previous message
Alexander Sousa is currently offline  Alexander Sousa
Messages: 3
Registered: December 2009
Junior Member
On 8 dic, 20:30, Chris <beaum...@ifa.hawaii.edu> wrote:
> On Dec 8, 11:02 am,AlexanderSousa<antina...@gmail.com> wrote:
>
>> Hello everyone, i've found much of the information found here quite
>> useful, which is why i require of your help for the following (sorry
>> if my english is somewhat poor):
>> -I'm trying to read an awfully large image (14402 cols, 9602 rows, 2
>> bands, floating-point data), stored in tiff format, the problem is:
>> when i try to read it using the READ_TIFF IDL throws an error saying
>> it can't allocate memory to make such array... I can easily export the
>> image to different data types, so feel free to advice a format
>> migration; i'd be very grateful if you provided me with an efficient
>> way to achieve this task.
>
>> Thank you,Alexander
>
> The SUB_RECT keyword in READ_TIFF will allow you to extract a subimage
> within your large file. There's a chance that the image is too big to
> fit in ram (by my calculation, it's around 1 GB). If this is the case,
> then your only choice is to process the image in chunks using sub_rect
>
> chris

Thanks for your help Chris, but i don't quite understand the correct
use of SUB_RECT keyword, i'm quite unexperienced in IDL as you may
have already noticed, sorry for the inconvenience... That aside,
supposing i manage to process the image in chunks with SUB_RECT, how
should i output the processed image (same size, but just one band).

Thanks for the help, Alexander.
[Message index]
 
Read Message
Read Message
Previous Topic: Arithmetic Errors Windows 64-bit Object Graphics
Next Topic: Vectorize procedure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 05:02:50 PDT 2025

Total time taken to generate the page: 1.75933 seconds