Weekend Programming Challenge – Week #64 Color to Gray scale converter


To convert color to gray scale image is easy all you have to do is to find function which converts (R,G,B) to gray levels. There are many algorithms, simple is average grayscale = (r+g+b)/3 which works somehow but not quite well as with this algorithm all color R,G,B are translated to same grayscale level (255,0,0) = (0,255,0) = (0,0,255) but human eye have different sensitivity for the different colors, which may be taken into account to make better converter.

What can you invent?

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday September 14th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: