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

Home » Public Forums » archive » Re: 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
Re: Large TIFF file question [message #28830 is a reply to message #28829] Tue, 15 January 2002 20:39 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Dick Jackson" <dick@d-jackson.com> writes:

> "Neil Talsania" <talsania@kodak.com> wrote in message
> news:a228o1$4n6$1@news.kodak.com...
>> 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).
>
...
> Perhaps this is the problem, and you may need to get creative to find a
> solution. (subsampling the array for further use?)

Or, how about reading only a portion of the image at a time using the
SUB_RECT keyword. This is a technique known as tiling, and of course
the slightly more difficult part is the logic to stitch together
the tiles at the end.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: spectral angle mapper algorithm
Next Topic: Re: gif from true color image

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

Current Time: Thu Oct 09 23:34:45 PDT 2025

Total time taken to generate the page: 0.08374 seconds