Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!osu-eddie!osu-cgrg!flip From: flip@osu-cgrg.UUCP Newsgroups: comp.graphics Subject: Re: Simple RGB to Gray scale question Message-ID: <791@osu-cgrg.UUCP> Date: Fri, 27-Feb-87 15:46:23 EST Article-I.D.: osu-cgrg.791 Posted: Fri Feb 27 15:46:23 1987 Date-Received: Sun, 1-Mar-87 11:29:49 EST References: <718@hp-sdd.HP.COM> Organization: Computer Graphics Research Group, Columbus OH Lines: 29 Keywords: The question is Summary: and the solution is... 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? > > Gray = (R+G+B) / 3 ??? > > 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. > and the mystery weights are: 0.30 red 0.59 green 0.11 blue makes for beautyful flesh tones... -- Flip Phillips {ucbvax,decvax}!cbosg!osu-cgrg!flip Computer Graphics Research Group, The Ohio State University Delphi: FPHILLIPS USnail: 1501 Neil Ave., Columbus, OH 43201 "All I wanted was a Pepsi, and she wouldn't give it to me." -Suicidal Tendancies