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

Home » Public Forums » archive » BSQ to BIL
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: BSQ to BIL [message #69760 is a reply to message #69587] Mon, 08 February 2010 12:10 Go to previous messageGo to previous message
Maxwell Peck is currently offline  Maxwell Peck
Messages: 61
Registered: February 2010
Member
> me.  I've tried verifying this by loading it into ISIS with a RAW2ISIS
> procedure but it gives me a pretty messed up image so either it isn't
> writing out the header info correctly for me to enter into ISIS or it
> hasn't made the conversion at all.  It looks beautiful in ENVI and

The easiest way to check the conversion is to load the converted file
into ENVI (the image before the ISIS_WRITE). If the interleaving in
the header is BIL and the image looks 'right' when you open it then it
almost certainly is right, the code itself looks fine. If you want to
convince yourself I guess you could edit the header and force it to
BSQ then try and display it. ENVI uses the header to decide how to
load and display the image, it's not just a "info" file so the
interleaving has to be correct.

If the ISIS writing commands are IDL commands they almost certainly
wont accept the fid keyword properly. It's an easy trap to fall in to
when doing IDL/ENVI programming. It's possible it wont even error as
fid is just a long integer scalar as far as IDL is concerned.

Max
[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
Previous Topic: Re: Segfault when smoothing image
Next Topic: Window or Widget to front?

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

Current Time: Sun Oct 12 14:46:43 PDT 2025

Total time taken to generate the page: 0.56106 seconds