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

Home » Public Forums » archive » Writing to a specific line of a BIP or BIL file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Writing to a specific line of a BIP or BIL file? [message #33413] Thu, 19 December 2002 17:09
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
(thanks Andrew for your answer to my ASCII file question)

I now want to know, using IDL and/or ENVI function, how do I write data to a
specific LINE of a BIP or BIL file? Its easy to read it (envi_get_slice),
but not easy to write that slice. The brute force is to load the entire
image into memory, assign that specific line the new values, and then
rewrite the entire image back to disk. This is EXTREMELY slow. Even using
ENVI's spectral tiling routines (which at least minimize the memory used,
and allow me to know what line I'm on), I still have to parse an entire BIP
or BIL file and rewrite it, when all I want to do is write to a specific
line and leave the rest of them as is. Anyone have any suggestions for how
to do this?

--j
[Message index]
 
Read Message
Previous Topic: Determining window types
Next Topic: sec : U Re: Writing to a specific line of a BIP or BIL file?

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

Current Time: Fri Oct 10 05:20:05 PDT 2025

Total time taken to generate the page: 0.56077 seconds