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

Home » Public Forums » archive » Large TIFF file question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Large TIFF file question [message #28834] Tue, 15 January 2002 14:10 Go to previous message
Neil Talsania is currently offline  Neil Talsania
Messages: 7
Registered: January 2001
Junior Member
Hi,
I have what should be a simple question (I hope!). I am trying to run an
IDL routine that was given to me. The routine has run successfully on small
images, but when I try to run it on my 1.5 Gig image it fails on the memory
allocation.

Looking at the code, it does the following:

a = float(read_tiff(filename).

Now, I assume that means it is trying to read the entire thing into memory.
Ok I can see why that fails, although not really as I have >2G of RAM on my
system. But anyway, I then thought about using ASSOC which according to the
documention might help with this problem. However, that requires me to open
the file as a raw unformatted file (near as I can tell anyway).

So, to make a long story short, my question is how do I open a large TIFF
file, without exhausting memory?

Thanks
Neil
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert a byte array to a structure?
Next Topic: Re: Working with 2 partially overlapping images of different array sizes

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

Current Time: Wed Oct 08 15:37:04 PDT 2025

Total time taken to generate the page: 0.00442 seconds