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

Home » Public Forums » archive » Re: working with colours
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: working with colours [message #37653 is a reply to message #37652] Tue, 13 January 2004 06:29 Go to previous messageGo to previous message
Pepijn Kenter is currently offline  Pepijn Kenter
Messages: 31
Registered: April 2002
Member
maarten wrote:
> Hello,
>
> I have a problem with working with colours. I have two datasets that
> will be layed on eachother. One of the datasets will be displayed in
> greyvalues, the other will have to be displayed in a blue-red activation
> colourscheme, transparancy isn't needed. I tried to divide the
> colourspace in two separate parts using the bytscl command.

It's possible that I misunderstand your problem or that you allready
thought of the following solution, but it seems to me that you can map
the first parameter to the Value, and the second parameter to the Hue in
the HSV (or HSL) color coordinate system. You can use the color_convert
routine from IDL to convert this HSV color to an RGB value, and then
display the result as normal.

HTH, Pepijn.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: cron jobs, calling IDL, X windows
Next Topic: IDL memory usage

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

Current Time: Wed Oct 08 17:24:31 PDT 2025

Total time taken to generate the page: 0.00454 seconds