Re: RGB from 3 grayscale images under IDL [message #6753] |
Fri, 16 August 1996 00:00 |
Arno F. Granados
Messages: 8 Registered: August 1996
|
Junior Member |
|
|
gennari@universe.Hawaii.edu (Scott Gennari) wrote:
> 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?
Check out the reference page for the COLOR_QUAN command in IDL.
Arno Granados
Positive Systems Inc.
Leaders in Digital Aerial Photography
granados@possys.com
|
|
|