space_get_rgb_luminance
Description:
public void space_get_rgb_luminance (Object space, out double red_luminance, out double green_luminance, out double blue_luminance)
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.
Parameters:
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. |
Namespace: Babl
Package: babl-0.1