Relative luminance
follows the
photometric definition of luminance including spectral weighting for human vision, but while luminance
is a measure of light in units such as
, relative luminance
values are normalized as 0.0 to 1.0 (or 1 to 100), with 1.0 (or 100) being a theoretical perfect reflector of 100%
reference white. Like the photometric definition, it is related to the luminous flux density in a particular direction, which is radiant flux density weighted by the
luminous efficiency function
A luminous efficiency function or luminosity function represents the average spectral sensitivity of human visual perception of light. It is based on subjective judgements of which of a pair of different-colored lights is brighter, to describe re ...
of the CIE Standard Observer.
The use of relative values is useful in color or appearance models that describe perception relative to the eye's adaptation state and a reference white. For example, in prepress for print media, the absolute luminance of light reflecting off the print depends on the specific illumination, but a
color appearance model
A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement ...
using relative luminance can predict the appearance by referencing the given light source.
Relative luminance and colorimetric spaces
For CIE
colorspace
A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
s
XYZ and xyY, the letter
refers to relative luminance. If the maximum luminance for a given example is
or
, and the subject luminance is
then the relative luminance is
:
or
Relative luminance and "gamma encoded" colorspaces
(and
) are both linear to changes in the volume of light. Conversions from color spaces where light or lightness are encoded with a power curve, such as most image and video formats, must be linearized before being transformed to Y or the XYZ space.
The simple method is to apply the inverse power curve to each of the color channels, as an example for several common RGB color spaces, a 2.2 power curve is applied:
:
can then be calculated for these colorspaces by using the coefficients for the Y component of the transform matrix. For instance, for
ITU-R BT.709 and
sRGB
sRGB (standard RGB) is a colorspace, for use on monitors, printers, and the World Wide Web. It was initially proposed by HP and Microsoft in 1996 and became an official standard of the International Electrotechnical Commission (IEC) as IEC 6 ...
both of which use the same primaries and whitepoint, relative luminance can be calculated from RGB components: first
convert the gamma-compressed RGB values to linear RGB, and then
:
The formula reflects the
luminous efficiency function
A luminous efficiency function or luminosity function represents the average spectral sensitivity of human visual perception of light. It is based on subjective judgements of which of a pair of different-colored lights is brighter, to describe re ...
as "green" light is the major component of luminance, responsible for the majority of light perceived by humans, and "blue" light the smallest component.
Different linear coefficients are needed to determine luminance for a given colorspace, which are calculated from their primary chromaticities (defined by their x&y or uʹ&vʹ chromaticity coordinates). For RGB spaces that use real colors for primaries, these coefficients will be positive for the conversion into XYZ space, but may be negative for transforming back to RGB. The green coefficient is normally the largest and blue normally smallest, and normally form the middle row of the RGB-to-XYZ color transformation matrix.
For nonlinear gamma-compressed R′G′B′ color spaces as typically used for computer images, a linearization of the R′G′B′ components to RGB is needed before the linear combination.
Relative luminance should not be confused with ''
luma''
(Y prime), which is a weighted sum of ''nonlinear'' (gamma encoded) R′G′B′ components, where in some implementations the weighting coefficients are applied to the gamma encoded signal. Also, in many instances, for technical reasons the weighting coefficients are not identical to those coefficients that naturally follow from the primaries and the white point; for example PAL SDTV signals, and also NTSC signals as specified since 1987, use weighting coefficients that were natural for the primaries of the original 1953 NTSC standard (mixing the three defined 1953 NTSC primaries in the proportions given by the weighting coefficients results in the defined 1953 NTSC white) but which aren’t the natural ones to use for their own specified primaries. In those cases, luma will not purely be a function of gamma-corrected brightness (however defined) but also depends to some extent on the hue and saturation of the color. Some colorspaces that use luma include
Y′UV
Y′UV, also written YUV, is the color model found in the PAL analogue color TV standard. A color is described as a Y′ component ( luma) and two chroma components U and V. The prime symbol (') denotes that the luma is calculated from gam ...
,
Y′IQ, and
Y′CbCr
YCbCr, Y′CbCr, also written as YCBCR or Y′CBCR, is a family of color spaces used as a part of the color image pipeline in digital video and photography systems. Like YPBPR, it is based on RGB primaries; the two are generally equivalent, b ...
. To determine relative luminance, The
must be used with the subcomponents to create the gamma encoded R′G′B′ components, which are then linearized to RGB by inverting the
gamma correction
Gamma correction or gamma is a Nonlinearity, nonlinear operation used to encode and decode Relative luminance, luminance or CIE 1931 color space#Tristimulus values, tristimulus values in video or still image systems. Gamma correction is, in the s ...
. These linearized RGB channels can then have the appropriate linear coefficients applied (based on the primary chromaticities) and summed to relative luminance
.
Relative luminance and perceptual spaces
is linear to light, but human perception has a non-linear response to lightness/darkness/brightness.
For
L*a*b*
The CIELAB color space, also referred to as ''L*a*b*'', is a color space defined by the International Commission on Illumination (abbreviated CIE) in 1976. It expresses color as three values: ''L*'' for perceptual lightness and ''a*'' and ''b* ...
and
L*u*v*
In colorimetry, the CIE 1976 ''L''*, ''u''*, ''v''* color space, commonly known by its abbreviation CIELUV, is a color space adopted by the International Commission on Illumination (CIE) in 1976, as a simple-to-compute transformation of the 1931 C ...
space, the
component is perceptual
lightness
Lightness is a visual perception of the luminance (L) of an object. It is often judged relative to a similarly lit object. In colorimetry and color appearance models, lightness is a prediction of how an illuminated color will appear to a stand ...
(also known as "Lstar" and not to be confused with
luminance).
is intended to be linear to human perception of lightness/darkness, and since human perception of light is non-linear,
is a nonlinear function of relative luminance
.
See also
*
Luminance
Luminance is a photometric measure of the luminous intensity per unit area of light travelling in a given direction. It describes the amount of light that passes through, is emitted from, or is reflected from a particular area, and falls wit ...
*
CIE 1931 color space
In 1931, the International Commission on Illumination (CIE) published the CIE 1931 color spaces which define the relationship between the visible spectrum and human color vision. The CIE color spaces are mathematical models that comprise a "sta ...
*
Chromaticity
Chromaticity is an objective specification of the quality of a color regardless of its luminance. Chromaticity consists of two independent parameters, often specified as '' hue'' (''h'') and ''colorfulness'' (''s''), where the latter is alte ...
References
{{Color space
Color
Photometry
Film and video technology