Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!peregrine!falk From: falk%peregrine@Sun.COM (Edward Falk) Newsgroups: comp.graphics Subject: Re: Converting RGB <-> HSV Message-ID: <33900@sun.uucp> Date: Fri, 13-Nov-87 21:19:29 EST Article-I.D.: sun.33900 Posted: Fri Nov 13 21:19:29 1987 Date-Received: Sun, 15-Nov-87 12:03:31 EST References: <6781@bbn.COM> <7018@pur-ee.UUCP> Sender: news@sun.uucp Reply-To: falk@sun.UUCP (Edward Falk) Organization: Sun Microsystems, Mountain View Lines: 22 In article <7018@pur-ee.UUCP> 3ksnn64@pur-ee.UUCP (Joe Cychosz) writes: > > >RGB to grayscale: > > Y = .59*R + .11*G + .33*B > EEEEAAAAAYYYYAAAGGGGHHH!!!! This is WRONG! Your numbers don't even add up to 1.0 Y = .30*R + .59*G + .11*B Look at a chart someday that describes the eye's sensitivity to the three colors. You'll see that blue is the least sensitive. Film has a different spectrum, which is why blue objects in a B&W picture look lighter than you remember them. -ed falk, sun microsystems sun!falk, falk@sun.com I'll take a drug test when Oliver North takes a lie detector test.