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

Home » Public Forums » archive » how to manipulate data that are stored in memory directly?
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: how to manipulate data that are stored in memory directly? [message #84938 is a reply to message #84934] Wed, 19 June 2013 03:31 Go to previous messageGo to previous message
Josh Sixsmith is currently offline  Josh Sixsmith
Messages: 13
Registered: December 2012
Junior Member
As David mentioned, I don't think you have much luck in being able to manipulate it directly.
However, you can use the returned fid in your case 'r_fid', and let ENVI's magic tiling routines for you to process small chunks of data at a time. Any of ENVI's 'do_it' routines should be able to process via the 'r_fid' as well.

Another option (if you want to use anything but ENVI's routines) is to use ENVI_GET_DATA and retrieve one band at a time. You'll have to allocate an array large enough to handle all bands and feed in one band at a time within or loop or something. But now you've just doubled your memory use. It's probably better just to write it to disk and then read it into memory.

Cheers
Josh
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Avoiding Loops in IDL 8.2.2
Next Topic: what 's mean?

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

Current Time: Fri Oct 10 10:32:47 PDT 2025

Total time taken to generate the page: 0.96155 seconds