Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!seismo!mcvax!unido!tub!ao From: ao@tub.UUCP Newsgroups: comp.graphics Subject: Re: Simple RGB to Gray scale question - (nf) Message-ID: <48300002@tub.UUCP> Date: Mon, 2-Mar-87 08:09:00 EST Article-I.D.: tub.48300002 Posted: Mon Mar 2 08:09:00 1987 Date-Received: Fri, 6-Mar-87 06:40:22 EST References: <718@hp-sdd.UUCP> Lines: 26 Nf-ID: #R:hp-sdd:-71800:tub:48300002:000:871 Nf-From: tub!ao Mar 2 14:09:00 1987 > /***** tub:comp.graph / hp-sdd!nick / 6:48 pm Feb 25, 1987*/ > > How does one convert a pixel defined by an R, G, B value into > a single Gray level? > > Gray = (R+G+B) / 3 ??? > You wouldn't be able to distinguish between the New York Jets and Giants ( if I remember correctly ) seen on a black and white TV monitor. > It seems like the R, G, B components should have different weights since > I'm aware that the eye is less sensitive to blue light. > In the YIQ model, that is used in commercial color TV, the Y-component of the color signal is shown on a B/W screen. It is defined as: Y = 0.3 * Red + 0.59 * Green + 0.11 * Blue and matches the luminosity response curve of the eye. Expierences are good with that formula used in a GKS to PostScript filter for our LaserWriter. Arnfried Ossen, ao @ tub.UUCP, Technische Universitaet Berlin, West Germany