Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Perl Image Analysisby rustyjuggler (Initiate) |
on Oct 06, 2006 at 06:41 UTC ( [id://576621]=note: print w/replies, xml ) | Need Help?? |
If you have the RGB-values you can easily convert them to grayscale through the formula on Wikipedia where Y (luminance) is the grayscale intensity:
Y = 0.299 * R + 0.587 * G + 0.114 * B Here is the link: http://en.wikipedia.org/wiki/YUVAnders, Norway
In Section
Seekers of Perl Wisdom
|
|