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

Home » Public Forums » archive » Solve memory problems
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: Solve memory problems [message #64698 is a reply to message #64623] Tue, 13 January 2009 13:01 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jean H. writes:

> if not already in use, using pointers can be of great help. You can save
> each band in a different pointer, or even each line etc. Therefore, the
> size of the required contiguous memory space decreases.

I was so upset with the HEAP_GC suggestion this morning
that I forgot to respond to this. But I don't immediately
see how this will help, unless, of course you have some
ability to read all three bands from the file as bands
and not as an image.

Otherwise, I think you would have to allocate twice
the image size to do the transfer to pointers.

Plus, you have to put the bands together again to display
the image, so I don't see where I am ahead of anything
here. What am I missing?

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: question about array interpolation
Next Topic: Re: pdf extractor

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

Current Time: Sat Nov 29 15:46:24 PST 2025

Total time taken to generate the page: 0.95820 seconds