On Mar 8, 2007, at 6:00 AM, realbasic-nug- [EMAIL PROTECTED] wrote: > Date: Thu, 8 Mar 2007 14:56:23 +0100 (CET) > From: Emile SCHWARZ <[EMAIL PROTECTED]> > > > I use the following code to remove Green and Blue from the passed > Picture (and get a cyan image! [1])
RGB is an additive color model, so what you've done is maxed the green and blue channels, and adding those together with the red layer will give you your cyan tint. If you want only red, then set GreenMap and BlueMap to zero. This will give you only the red layer. Do you have Photoshop or some other paint software? Playing with the color channels might help you understand better what's going on. > I use the following code to transform a color image to get a > GreyScale image: There was some formulas posted WAY back when for converting to grayscale. One such formula I've used is: gray pixel = (red*0.299) + (green*0.587) + (blue*0.114) == Jeff Quan [EMAIL PROTECTED] http://www.jcquan.com/JQportfolio _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
