next up previous contents
Next: 13.2.4.4 Modifying Saturation Up: 13.2.4 The Color Matrix Previous: 13.2.4.2 Scale and Bias   Contents


13.2.4.3 Conversion to Luminance

Converting a color image into a luminance image may be accomplished by scaling each component by its weight in the luminance equation.

\begin{displaymath}
\left[
\begin{array}{c}
L \\
L \\
L \\
0
\end{array}\righ...
...left[
\begin{array}{c}
R \\
G \\
B \\
A
\end{array}\right]
\end{displaymath}

The recommended weight values for $R_w$, $G_w$, and $B_w$ are $0.3086$, $0.6094$, and $0.0820$. Some authors have used the values from the YIQ color conversion equation ($0.299$, $0.587$, and $0.114$), but Haeberli notes that these values are incorrect in a linear RGB color space.[42]



2001-01-10