Retrieve the relevant RGB luminance constants for a babl space.
Note: these luminance coefficients should only ever be used on linear data. If your input space
is non-linear, you should
convert your pixel values to the linearized variant of space
before making any computation with these coefficients. See #83.
space |
a BablSpace |
red_luminance |
Location for the red luminance factor. |
green_luminance |
Location for the green luminance factor. |
blue_luminance |
Location for the blue luminance factor. |