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

Home » Public Forums » archive » Re: HSB to RGB?
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: HSB to RGB? [message #5930 is a reply to message #5916] Tue, 12 March 1996 00:00 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
lgao@aol.com (LGAO) writes:

> Does anyone know the equation to convert the color in
> HSB(hue,satriration,brightness) model to the color in RGB(red, green blue)
> model? Is the conversion 1 to 1?

Check the help for the IDL function color_convert. One of the
conversions it can handle is HSV to RGB, not far from what you need.
The online help also gives a useful reference.

Ray Sterner sterner@tesla.jhuapl.edu
The Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
WWW Home page: http://fermi.jhuapl.edu/s1r/people/res/res.html
[Message index]
 
Read Message
Read Message
Previous Topic: Re: hooking external 'C' functions to IDL
Next Topic: What's best?

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

Current Time: Sat Oct 11 10:36:19 PDT 2025

Total time taken to generate the page: 0.70537 seconds