Copyright 2004 Ken Greenebaum
Exam #5 Convert to Grey
n
unsigned
*malloc(256*3+100*100);
n
Grey scale palette
n
Each component contains same value
n
(have to assume that our RGB space is
already normalized to perception)
n
Luminance = Sum of components
n
(we discussed this during color matching)