"You ask the most interesting questions!" Hahahahaha, sometimes I don't know if that is good or bad. Good because I get to learn a little more, but bad be cause now I feel compeled to spend some money on another pic project that will cost 3 times as much as if I were to by a web cam at the store =) Anyway, I found this other site that has a nice visual description (scroll half way down the page) of the process along with some more info on white balancing and the like: http://www.siliconimaging.com/RGB%20Bayer.htm Thanks. -Mario -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Marcel Duchamp Sent: Saturday, December 03, 2005 12:44 AM To: Microcontroller discussion list - Public. Subject: Re: [OT] RGB from bayer mask Mario Mendes Jr. wrote: > Hi guys, > > Does anyone here know how to get RGB from a Bayer mask image? Given > the array bellow, > > 1 2 3 4 5 6 > 1 G B G B G B > 2 R G R G R G > 3 G B G B G B > 4 R G R G R G > 5 G B G B G B > 6 R G R G R G > > How do you get this? > > 1 2 3 4 5 6 > 1 RGB RGB RGB RGB RGB RGB > 2 RGB RGB RGB RGB RGB RGB > 3 RGB RGB RGB RGB RGB RGB > 4 RGB RGB RGB RGB RGB RGB > 5 RGB RGB RGB RGB RGB RGB > 6 RGB RGB RGB RGB RGB RGB > > I've tried google but I haven't been able to find anything yet. > > Thanks. > > > -Mario Mario, You ask the most interesting questions! Here is what I found on Wikipedia: http://en.wikipedia.org/wiki/Calculating_RGB_values Does this article show the way or ??? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist