Re: Transferring Color to Greyscale Images

"Godwin Stewart" <[email protected]> Thu, 21 Aug 2003 14:54:05 +0200
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <004301c367e3$9edebb20$0200a8c0@c433>
----- Original Message ----- 
From: "rolfjf" <[email protected]>
Subject: [Delphi] Transferring Color to Greyscale Images


> How can I assembly 3 values (R,G,B) into one to have the color of the
> pixel?

Take 60% of the green value, 30% of the red and 10% of the blue.

This is because the human eye is most sensitive to green, then to red, then
to blue. In other words, a green square looks "brighter" to us than a blue
square.

-- 
G. Stewart


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Delphi VCL Top Sites!
http://www.sandbrooksoftware.com/TS/TS2/Components.shtml
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/