For colour images the first step would be to convert to grayscale. The liminance formula used in the GIMP is pretty similar to the OPs formula:
see Re: convert image to greyscale (color to black and white) and particularly the link showing the effects of various grayscaling approaches.Y = 0.3R + 0.59G + 0.11B;
cheers
tachyon
In reply to Re^2: the difference between two colors, and how to describe a color
by tachyon
in thread the difference between two colors, and how to describe a color
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |