Luma (video)

In video, luma represents the brightness in an image (the "black-and-white" or achromatic portion of the image). Luma is typically paired with chrominance. Luma represents the achromatic image, while the chroma components represent the color information. Converting R'G'B' sources (such as the output of a 3CCD camera) into luma and chroma allows for chroma subsampling: because human vision has finer spatial sensitivity to luminance ("black and white") differences than chromatic differences, video systems can store chromatic information at lower resolution, optimizing perceived detail at a particular bandwidth.

Luma versus luminance

255, 170, 170 211, 211, 0
255, 147, 255
192, 192, 255 200, 200, 200 122, 244, 0
0, 255, 0
0, 235, 235 0, 250, 125
RGB values of example colors with the same luma

as the lightest primary color (green) according to

CCIR 601 for ' (gamma correction) = 2.2

255, 208, 208 227, 227,0
255, 203, 255
216, 216, 255 219, 219, 219 124, 248, 0
0, 255, 0
0, 244, 244 0, 252, 126
RGB values of example colors with the same luma

as the lightest primary color (green) according to

BT. 709 for ' (gamma correction) = 2.2

Luma is the weighted sum of gamma-compressed R'G'B' components of a color video – the prime symbols (') denote gamma-compression. The word was proposed to prevent confusion between luma as implemented in video engineering and luminance as used in color science (i.e. as defined by CIE). Luminance is formed as a weighted sum of linear RGB components, not gamma-compressed ones. Even so, luma is erroneously called luminance.[1] SMPTE EG 28 recommends the symbol Y' to denote luma and the symbol Y to denote luminance.[2]

Use of luminance

While luma is more often encountered, (photometric) luminance is sometimes used in video engineering when referring to the brightness of a monitor. The formula used to calculate luminance uses coefficients based on the CIE color matching functions and the relevant standard chromaticities of red, green, and blue (e.g., the original NTSC primaries, SMPTE C, or Rec. 709). For the Rec. 709 primaries, the linear combination, based on pure colorimetric considerations and the definition of luminance is:

Y = 0.2126 R + 0.7152 G + 0.0722 B

The formula used to calculate luma in the Rec. 709 spec arbitrarily also uses these same coefficients, but with gamma-compressed components:

Y' = 0.2126 R' + 0.7152 G' + 0.0722 B', where the prime symbol ' denotes gamma correction.

Rec. 601 luma versus Rec. 709 luma coefficients

171, 0, 0 140, 70, 0
158, 0, 79
142, 0, 142 100, 100, 0
104, 0, 208 95, 95, 95 58, 116, 0
0, 0, 255 0, 119, 0
0, 118, 59
0,91,182 0, 112, 112
RGB values of example colors with the same luma

as the darkest primary color (blue) according to

CCIR 601 for ' (gamma correction) = 2.2

156, 0, 0 122, 61, 0
152, 0, 76
137, 0, 137 80, 80, 0
102, 0, 204 77, 77, 77 44, 88, 0
0, 0, 255 0, 90, 0
0, 90, 45
0, 76, 152 0, 86, 86
RGB values of example colors with the same luma

as the darkest primary color (blue) according to

BT. 709 for ' (gamma correction) = 2.2

For digital formats following CCIR 601 (i.e. most digital standard definition formats), luma is calculated with the formula Y' = 0.299 R' + 0.587 G' + 0.114 B'. Formats following ITU-R Recommendation BT. 709 use the formula Y' = 0.2126 R' + 0.7152 G' + 0.0722 B'. Modern HDTV systems use the 709 coefficients, while transitional 1035i HDTV formats may use the SMPTE 240M coefficients (Y' = 0.212 R' + 0.701 G' + 0.087 B'). These coefficients correspond to the SMPTE RP 145 primaries (also known as "SMPTE C") in use at the time the standard was created.[3]

The change in the luma coefficients is to provide the "theoretically correct" coefficients that reflect the corresponding standard chromaticities ('colors') of the primaries red, green, and blue. However, there is some controversy regarding this decision.[4] The difference in luma coefficients requires that component signals must be converted between Rec. 601 and Rec. 709 to provide accurate colors. In consumer equipment, the matrix required to perform this conversion may be omitted (to reduce cost), resulting in inaccurate color.

As well, the Rec. 709 luma coefficients may not necessarily provide better performance. Because of the difference between luma and luminance, luma does not exactly represent the luminance in an image. As a result, errors in chroma can affect luminance. Luma alone does not perfectly represent luminance; accurate luminance requires both accurate luma and chroma. Hence, errors in chroma "bleed" into the luminance of an image.

Due to the widespread usage of chroma subsampling, 'errors' in chroma typically occur when it is lowered in resolution/bandwidth. This lowered bandwidth, coupled with high frequency chroma components, can cause visible errors in luminance. An example of a high frequency chroma component would be the line between the green and magenta bars of the SMPTE color bars test pattern. Error in luminance can be seen as a dark band that occurs in this area.[5]

See also

References

  1. Charles Poynton, "YUV and luminance considered harmful: a plea for precise terminology in video," online
  2. Engineering Guideline EG 28, "Annotated Glossary of Essential Terms for Electronic Production," SMPTE, 1993.
  3. Charles A. Poynton, Digital Video and HDTV: Algorithms and Interfaces, Morgan–Kaufmann, 2003. online
  4. Luminance, luma, and the migration to DTV
  5. Constant Luminance
This article is issued from Wikipedia - version of the Tuesday, August 11, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.