Return to the CurtPalme.com main site CurtPalme.com Home Theater Forum
A forum with a sense of fun and community for Home Theater enthusiasts!
Products for Sale ] [ FAQ: Hooking it all up ] [ CRT Primer/FAQ ] [ Best/Worst CRT Projectors List ] [ Setup Tips & Manuals ] [ Advanced Procedures ] [ Newsletters ]

 
Forum FAQForum FAQ   SearchSearch   MemberlistMemberlist  Photo AlbumsPhoto Albums  RegisterRegister 
 MembershipClub Membership   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 
Blu-ray disc release list and must-have titles. Buy the latest and best Blu-ray titles to show off in your home theater!

Colour Science: All about Color Decoding

 
Post new topic   Reply to topic   Printer-friendly view    CurtPalme.com Forum Index -> Audio & Video Calibration
View previous topic :: View next topic  
Author Message
kal
Forum Administrator



Joined: 06 Mar 2006
Posts: 17850
Location: Ottawa, Canada

TV/Projector: JVC DLA-NZ7


PostLink    Posted: Tue Jun 01, 2010 2:46 am    Post subject: Colour Science: All about Color Decoding Reply with quote


        Register to remove this ad. It's free!
Colour Science: All about Color Decoding

Color decoding is a technical term referring to the process whereby uncompressed RGB color information is encoded into compressed YPbPr (analog) or YCbCr (digital) format and then subsequently decoded back into RGB for display. The compression of color information involved is called chroma subsampling and is done to reduce data bandwidth in the chroma channel. There are various subsampling rates, but the most common is 4:2:0, which is used in Blu-ray and the MPEG codec for DVD.

There are two common color decoding specifications, Rec. 601 and Rec. 709. Let's spend a little time discussing each because the differences between them are interesting. Rec. 601 is used for standard definition programming, including DVD. The approach uses a formula that relies on luma coefficients that were derived from a now long-obsolete gamut specification adopted in 1953 by NTSC for the then-budding color television industry. That gamut was:

NTSC 1953:
Red x=0.670 y=0.330
Green x=0.210 y=0.710
Blue x=0.140 y=0.080
White x=0.310 y=0.316

From this gamut you can mathematically derive the RGB luminance values of R 0.2990, G 0.5864, B 0.1146, and these values are used for the RGB-YPbPr-RGB encoding/decoding.

However, as time progressed and the desire for brighter displays emerged (early TVs were quite dim), the gamut was gradually restricted to accommodate this need. Through the 1960s this led to a lot of confusion and conflicting standards. Finally, in 1979, SMPTE (Society of Motion Picture and Television Engineers) settled on the SMPTE 170M standard. This offered a much restricted gamut, which allowed for brighter images, and a new white point that is known as D65. The gamut is called SMPTE-C.

SMPTE-C:
Red x=0.630 y=0.340
Green x=0.310 y=0.595
Blue x=0.155 y=0.070
White x=0.3127 y=0.329

From this gamut you can mathematically derive the RGB luminance values of R 0.2124, G 0.7011, B 0.0866. However, and this is the odd part of this story, SMPTE decided to stick with the 1953 luma coefficients for use in color decoding for displays with SMPTE-C primaries. This was probably done to ensure backwards compatibility, and in practice it had no substantial effect on the image. Thus, modern SD programming (broadcast and DVD) uses the SMPTE-C gamut but the Rec. 601 color decoding specification, which is not based on a modern gamut, but on the 1953 NTSC standard.

In the late 1990s when we began moving towards high definition displays, SMPTE recommended another standard, SMPTE 240M, which again used the SMPTE-C gamut. However, it also used the theoretically correct luma coefficients for color decoding of R 0.2124, G 0.7011, B 0.0866. SMPTE 240M was an interim specification that was quickly replaced by the Rec. 709 high-definition standard that we use today. Rec. 709 is defined by the following gamut.

Rec. 709:
Red x=0.640 y=0.330
Green x=0.300 y=0.600
Blue x=0.150 y=0.060
White x=0.3127 y=0.329

From this gamut you can mathematically derive the RGB luminance values of R 0.2126, G 0.7152, B 0.0722. Interestingly, this time it was agreed (as with SMPTE 240M) that Rec. 709 should use the theoretically correct luma coefficients for color decoding.

To complicate matters even more, EBU (European Broadcast Union) settled on a gamut for their PAL broadcast system that is only slightly different from Rec. 709. However, EBU continued with the 1953 luma coefficients.

Of course, the problem with all of this is that - just considering North America - there are at three sets of luma coefficients (Rec. 601, SMPTE 240M, and Rec. 709) and two gamuts that are currently in use (SMPTE-C and Rec. 709). It is vitally important that a display device is able to apply the same color decoding standard as was used for the source material during the encoding phase. This generally means that displays receiving signals from SD material should use Rec. 601 and when receiving signals from an HD source should use Rec. 709. Unfortunately, sometimes the manufacturers get this wrong and color decoding errors occur. For example, if HD source material was encoded with Rec. 709 but the display incorrectly uses Rec. 601 for decoding, then severe color errors will arise, especially in green and cyan.

That's the technical background for color decoding. However, confusion arises regarding terminology, and sometimes "color decoding" is used more informally simply in the context of describing the types of visible errors in color reproduction that can occur when there are mistakes in the encode/decode process described above and the controls that displays use to correct them.

Because the bulk of color decoding errors appear as errors in either the hues of the secondary colors or the brightness of the primary colors, sometimes the phrase "color decoding error" is used loosely to describe these types of inaccuracies. Saturation for all colors and the primary color hues are only slightly affected by color decoding errors. In fact, the tint and color controls found on all NTSC displays are most effective for adjusting precisely the types of errors poor color decoding creates. Thus, color and tint can be thought of as color decoding controls, despite the fact that they play no role in the encode/decode process described above.

Unfortunately, the Color and Tint controls found on commercial displays are blunt instruments that do not really address the problems created by color decoding errors. The biggest problem is that these controls affect all of the colors more or less equally, whereas color decoding errors affect the colors in a variety of ways and thus require individual attention.

If you are interested in exploring this further, Wikipedia has good pages on chroma subsampling and YCbCr. Also, I have created a spreadsheet that shows exactly the type of errors to expect from improper color decoding.

To order ChromaPure software & meter packages at CurtPalme.com exclusive prices, see our ChromaPure order page. Same product, same support - just more money in your pocket at the end of the day!


_________________

Support our site by using our affiliate links. We thank you!
My basement/HT/bar/brewery build 2.0


Last edited by kal on Fri Jan 15, 2021 3:13 pm; edited 1 time in total
Back to top
View user's photo album (18 photos)
leonrossdale




Joined: 13 Nov 2013
Posts: 1



PostLink    Posted: Wed Nov 13, 2013 12:06 pm    Post subject: Reply with quote

Hey, I have a doubt. I would like to know how to get SMPTE-C standard colors on a display device with non-standard primaries. I have searched around and didn’t find any resources yet. Any help is much appreciated. Thanks in advance.


__________________________
cobra PCs
Back to top
kal
Forum Administrator



Joined: 06 Mar 2006
Posts: 17850
Location: Ottawa, Canada

TV/Projector: JVC DLA-NZ7


PostLink    Posted: Wed Nov 13, 2013 1:02 pm    Post subject: Reply with quote

leonrossdale wrote:
Hey, I have a doubt. I would like to know how to get SMPTE-C standard colors on a display device with non-standard primaries. I have searched around and didn’t find any resources yet. Any help is much appreciated. Thanks in advance.

Like any other display: Simply try to calibrate to standard primaries (Rec709 likely) and see how close you can get. How close you can get will depend on the display itself and the controls they provide. If the display does not have a colour management system (CMS) you can use an external video processor like the Radiance: http://www.curtpalme.com/Radiance.shtm

Kal

_________________

Support our site by using our affiliate links. We thank you!
My basement/HT/bar/brewery build 2.0
Back to top
View user's photo album (18 photos)
Display posts from previous:   
Post new topic   Reply to topic   Printer-friendly view    CurtPalme.com Forum Index -> Audio & Video Calibration All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum