Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!styx!ames!ucbcad!ucbvax!decvax!tektronix!orca!tekecs!blast!kendalla From: kendalla@blast.UUCP Newsgroups: comp.graphics Subject: Re: Simple RGB to Gray scale question Message-ID: <8228@tekecs.TEK.COM> Date: Mon, 2-Mar-87 00:40:08 EST Article-I.D.: tekecs.8228 Posted: Mon Mar 2 00:40:08 1987 Date-Received: Tue, 3-Mar-87 20:22:14 EST References: <718@hp-sdd.HP.COM> Sender: nobody@tekecs.TEK.COM Reply-To: kendalla@blast.UUCP (Kendall Auel) Distribution: comp Organization: Tektronix, Inc., Wilsonville, OR Lines: 17 Keywords: color In article <718@hp-sdd.HP.COM> nick@hp-sdd.HP.COM (Nick Flor) writes: > >How does one convert a pixel defined by an R, G, B value into >a single Gray level? > Let me guess... You're converting the colorized version of "The Maltese Falcon" back to black-and-white. Right?? (:-) Gray = 30%(Red) + 59%(Green) + 11%(Blue). Kendall Auel ^ ^ /O O\ Tektronix, Inc. | V | Information Display Group / """ \ Graphics Workstations Division / """"" \ (kendalla@blast.GWD.TEK.COM) /|\ /|\