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

Home » Public Forums » archive » Re: How to read a multi-band image with IDL
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 read a multi-band image with IDL [message #65053 is a reply to message #65047] Mon, 09 February 2009 06:23 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
shi.bobopan@gmail.com wrote:
> Hello! I will write a supervised classification programme and want to
> read a multi-band ETM+ image with IDL. But ENVI_GET_DATA function can
> only read one band. It seems that READ_IMAGE function also read gray
> image or RGB imge only. How can I read a multi-band image at one time?
> I am new in IDL. Thank you very much.

Hi,

from the top of my head, you could

1) open the file via ENVI_OPEN_FILE
2) get the image dimensions and other info (offset etc) via envi_file_query
3) read the data via read_binary

Jean
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Has anyone worked with ARF files and brought them into IDL successfully?
Next Topic: How to plot linear regression relation of two array?

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

Current Time: Fri Oct 10 16:19:59 PDT 2025

Total time taken to generate the page: 0.40166 seconds