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

Home » Public Forums » archive » Re: OUPUT TRIGRID to ENVI
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: OUPUT TRIGRID to ENVI [message #49449 is a reply to message #49442] Thu, 27 July 2006 00:37 Go to previous message
Ulan is currently offline  Ulan
Messages: 8
Registered: April 2005
Junior Member
Hi Derek,

First, you don't have to read and write image files in order to import
and export from ENVI to IDL - there is a menu button (File->Import from
IDL variable and FIle->Export to IDL variable). Or else, if you have
to, then try in IDL after the trigrid:

be_grid=ROTATE(be_grid,7)

Hope this helps,
Ulan




DMac wrote:
> Hello All,
> I am trying to write/export a grid produced from the TRIGRID function
> to an ENVI image file as follows:
>
> BE_GRID = TRIGRID(XBE, YBE, LAS_BE.Z, TR, NX = NX2, NY=NY2,
> XGRID=XGRID, YGRID=YGRID)
> OPENW, 1, 'd:\temp\BE_GRIDER1'
> WRITEU, 1, BE_GRID
> CLOSE, 1
>
> I than manually create the header file based off the size of the array
> of BE_GRID and the min X and Max Y coordinate values from the input
> points to TRIGRID.
>
> My problem is that when I try to bring the image up in ENVI it is
> flipped (i.e., the top left corner pixel value should be moved to the
> bottom left and the top right corner pixel value should be moved to the
> bottom right, etc..). If that makes any sense.
>
> Anyone know what I might be doing wrong?
>
> Any help is greatly appreciated.
>
> Derek M.
[Message index]
 
Read Message
Read Message
Previous Topic: problem loading color palette
Next Topic: Re: negative return values after FFT

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

Current Time: Sat Oct 11 16:27:06 PDT 2025

Total time taken to generate the page: 1.91951 seconds