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

Home » Public Forums » archive » display an image from RGB
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
display an image from RGB [message #46779] Fri, 16 December 2005 13:05
Chi-Kuei Wang is currently offline  Chi-Kuei Wang
Messages: 4
Registered: May 2005
Junior Member
Hi,

I am an ENVI user. In the context of multi- and hyper-spectral data,
I always wonder how does ENVI display an image using 3 different
wavelengths representing red, green, and blue colors.

I am trying to reproduce this function using my own code in IDL (as
an exercise to understand IDL color table). But I couldn't find a way to
do it. I suspose I need to know the relationship between (red, green,
blue) triplets and IDL color table. Say,
zcolors = red * var_red + green * var_red + blue * var_blue
Once I know this relationship, I can use it to generate a new image,
whose pixel values will correspond to IDL color table.

Is this correct? If so, can anyone provide me the relationship for
color triplets and IDL color table.

Thanks,
Chi-Kuei
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: using C++ library in IDL as a function
Next Topic: computing wet-bulb temperature

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

Current Time: Wed Oct 08 13:42:34 PDT 2025

Total time taken to generate the page: 0.00443 seconds