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

Home » Public Forums » archive » Re: Image structure
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: Image structure [message #38815 is a reply to message #38814] Fri, 26 March 2004 21:45 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Julio writes:

> Hi! I have a question, any comments will be welcome�
>
> I have to create an image with 1, 2, 3, 4 or 5 bands. When I have all
> the 5 bands, I can write:
>
> Image=[(Band1),(Band2),(Band3),(Band4),(Band5)]
>
> However, in the case I don't have all the bands, like only 2, 3 and 5,
> I should put:
>
> Image=[(Band2),(Band3),(Band5)]
>
> Then, I would have to write several combinations to make that
> automatically. That's the problem! Isn't there anything easier? How
> can I modify the initial script in the case I don't have all the
> bands??

I think you are looking for a CASE statement. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Read XML and Base64 format
Next Topic: need the dimensions of an array

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

Current Time: Fri Oct 10 04:07:14 PDT 2025

Total time taken to generate the page: 0.63984 seconds