Home Products Download Order Contacts

comp.graphics.algorithms

Subject: Re: Red Yellow to Red Green Conversion



"gthimmes" ,
In a message on 6 May 2006 12:48:04 -0700, wrote :

"> Hello,
">
"> I'm a little new to the color conversion world and I'm struggling with
"> coming up with a good conversion algorithm for this. I am designing a
"> program that creates graphics for a roadside sign that uses pixels that
"> each consist of a Red(0-255) and a Yellow(0-255) value. So the possible
"> colors are Red, Yello, and all the shades of orange in between with out
"> there ever being a tint of green. Now I have to represent this on the
"> user's monitor using the Red and Green values of an RGB pixel.
"> Obviously blue will always be zero, and I'll have to use Red and Green

No, I am not sure that blue will NOT always be zero.

"> to show as many Red/Yellow combinations as possible without any green
"> coloration.
">
"> I'm stumped on how to do this conversion. Everything I've tried for
"> coming up with a color palette eventually brings in green tints. Can
"> anyone offer any advice on how ot approach this?

You need a really good tutorial on mixing 'light' colors (RGB) vs
mixing 'paint' colors (CMY), since what you are doing is a sort of
conversion from CMY color space to RGB color space.

You might start with Chapter 11 "Achromatic and Colored Light" of
"Introduction To Computer Graphics", Foley, Van Dam, et. al. (LC call
number T385.I538 1993, ISBN 0-201-60921-5)

">
"> Thanks much.
"> Glenn
">
">

Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk








Reply


View All Messages in comp.graphics.algorithms

path:
Red Yellow to Red Green Conversion =>

Replies:
Re: Red Yellow to Red Green Conversion

Copyright 2006 WatermarkFactory.com. All Rights Reserved.