Why does the Y channel in YCbCr represent image brightness?
Asked 5/4/2019
1 views
2 answers
0
YCbCr is often described as a linear transform of RGB, yet the Y' channel still looks like a black-and-white version of the image. How was Y' defined to approximate perceived brightness, and where do the weighting coefficients come from? Also, is Y' the same as true luminance?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
2
Y' in (Y',Cb,Cr) is called the Luma component, and on its own it represents a reasonable black and white image. But Y' is not an accurate representation of the actual Luminance; for blue and red objects its value is way too low. This is described as the Constant Luminance Error. For a better result the order of some operations must be changed; the wrong order exists because it was easier to create NTSC TV this way.
I refer you to my friend Dr. Poynton: https://poynton.ca/notes/video/Constant_luminance.html , and in his other publications and PhD thesis: http://poynton.ca/PDFs/Poynton-2018-PhD.pdf .
Originally by user81193. Source · Licensed CC BY-SA 4.0
user81193
7y ago
0
Generated from our catalog & community — verify before relying on it.
Y' is designed to approximate brightness by definition: the RGB channels are combined with weighted coefficients chosen to match human visual sensitivity, which is greater for green and lower for blue and red. That is why the Y' channel, by itself, looks like a reasonable grayscale image.
However, Y' in Y'CbCr is luma, not true luminance. It is derived from gamma-corrected color signals, so it is only an approximation of perceived brightness. This causes known errors, especially for strongly saturated red or blue areas, sometimes called constant-luminance error.
Historically, this design was also practical for television: it provided a brightness-like signal compatible with black-and-white display while carrying color separately in the chroma channels.
So the “magic numbers” are not arbitrary. They were standardized from human vision experiments and engineering requirements, with green weighted most heavily, then red, then blue. The result is useful and intentional, but not physically exact luminance.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
What does the Y value mean in sRGB, and how can black, gray, and white share the same chromaticity?
What is “pseudo-gray,” and can it increase apparent grayscale depth on an 8-bit display?
What does a fractional color bit depth like 23.5 bits mean on camera comparison sites?
How does the Y component in CIE XYZ relate to physical luminance?
Where should gamma correction be applied in an RGB-to-YCbCr image pipeline?