A few posts ago, I said that while the colorspaces looked random, they really weren’t, and that there was underlying order. The structure cannot be easily seen just by looking at the numbers themselves, but at how the numbers are obtained.
The story begins sometimes in the 1950s, were transmitting color TV images started to be the next logical step. Someone (not sure who was first, but it may have been Valensi, in the 1930s) proposed that TV color should be encoded in a perceptually friendly way . It was known for a while that the retina had four types of sensors, rods for brightness with no color information, and three other types corresponding to red, green, and blue, but also that in, and beyond the retina, information travels as brightness, yellow-blue and red-green differences [2,3].
Inspired by the eye, the color camera sensors would be composed of red, green, and blue sensors—but no brightness sensors; brightness would have to be synthesized. The weights assigned to each color were set to:
The transmission primaries were chosen to be
is more or less a red-cyan difference and is the yellow-blue difference. If we swap the last two rows, we get the (Kodak) YCC colorspace:
YUV, YDbDr, YIQ, and YCbCr can be easily derived from YCC.
where and are two magic constants (I haven’t found why exactly they were chosen).
Then YUV is
and YCbCr is
YIQ is a bit more complicated, because there’s an extra rotation, and starts from the transmission primaries, not YCC:
All the “analog” colorspaces are strongly filiated and this is made clear when we express them in terms of matrix products instead of just numerical matrices. The same is true for the BT.709 and BT.2020 colorspaces, except that they use 0.2126, 0.7152, and 0.0722 to weight red, green, and blue.
 Harold E. Ennes — Television Broadcasting: Equipment, Systems, and Operating Fundamentals — Howard W. Sams & Co (1971)
 R Steven Turner — In the Eye’s Mind: Vision and the Helmholtz-Hering Controversy — Princeton University Press (1994)
 M. A. Ali, M. A. Klyne — VIsion in Vertebrates — Springer-Verlag (1985)