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

Home » Public Forums » archive » RGB from 3 grayscale images under IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
RGB from 3 grayscale images under IDL [message #6790] Mon, 12 August 1996 00:00
gennari is currently offline  gennari
Messages: 25
Registered: April 1994
Junior Member
Hi all,

I've got three seperate grayscale images that i'd like to combine
to form a RGB color image. This is easily done in ENVI when loading
the file but under IDL it is not as obvious. Or is it?

three 300x300 arrays (8bit)

I started out with

image=byarr(300,300,3) ; define a single array
read_gif,'red.gif',image(0)
read_gif,'blue.gif',image(1)
read_gif,'green.gif',image(2)

Here's where I'm stuck. What parameters need I use to display
this as a RGB with TV? Is there a better/easier way to go about
this?

Thanks,
Scott

------------------------------------------------------------ ------
University of Hawaii voice (808) 956 5392
Dept. of Information & Computer Sciences fax (808) 956 9399
2565 The Mall, Keller 304A
Honolulu, HI 96822 email gennari@Hawaii.Edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Handbook or Manual
Next Topic: Re: How to distinguish widget ID and handle ID?

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

Current Time: Sat Oct 11 09:14:02 PDT 2025

Total time taken to generate the page: 1.59911 seconds