{"id":171,"date":"2025-10-14T09:44:20","date_gmt":"2025-10-14T16:44:20","guid":{"rendered":"https:\/\/videoq.com\/blog2\/?p=171"},"modified":"2025-10-14T09:44:20","modified_gmt":"2025-10-14T16:44:20","slug":"rgb-yuv-convenient-nicknames","status":"publish","type":"post","link":"https:\/\/videoq.com\/blog2\/2025\/10\/14\/rgb-yuv-convenient-nicknames\/","title":{"rendered":"RGB, YUV &#038; Media Ambit"},"content":{"rendered":"\n<p><strong>RGB<\/strong> is the convenient and simple designation of additive color model used for more than 100 years in colorimetry,\u00a0 photography, cinematography, color TV and other areas. Does it means something <strong><em>particular<\/em><\/strong>?<\/p>\n\n\n\n<p><strong>Not at all!<\/strong><br><br>There are so many variants of hardly compatible systems, using RGB as convenient label for light levels, screen pixels, analog or digital signals, or even the group of sub-channels within multi-channel video data processor.<br><br>Adding subscript and superscript indices, extra explanatory letters and\u00a0 exponential values are not necessarily helpful.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The academic pedants insist on these cumbersome additions and they are keen to append <strong>more and more symbols<\/strong>\u00a0 all the way from the camera lens to the display screen, thus making <strong>video engineers&#8217; life<\/strong> really difficult.<\/p>\n\n\n\n<p>The terminology committees have one very good rule:<br> If <strong>some feature<\/strong> of the term is well known and assumed <strong>by default<\/strong>, then such feature should be <strong>excluded <\/strong>from the term itself. The scientific name for this procedure is <em><strong>ellipsis<\/strong><\/em>\u00a0 (from the Greek: <span lang=\"el\">\u1f14\u03bb\u03bb\u03b5\u03b9\u03c8\u03b9\u03c2<\/span>, <i>\u00e9lleipsis<\/i>, &#8220;omission&#8221;).<\/p>\n\n\n\n<p>E.g. if the whole exhibition is dedicated to <strong>electric <\/strong>cars, then the presenter may say &#8220;this wonderful car&#8221;, omitting &#8220;<strong><em>electric<\/em><\/strong>&#8220;.<\/p>\n\n\n\n<p>Thus, we have full right to designate the Red channel signal simply <strong>R<\/strong>\u00a0 if we know <strong>for sure<\/strong>, that we are talking about some <strong>particular<\/strong> <strong>flavor <\/strong>of this wonderful signal.<\/p>\n\n\n\n<p>For example:\u00a0<em>Full Range 10 bit , decompressed, full bandwidth, gamma-corrected, color-corrected R component of HDR-PQ RGB data, <span style=\"color: #000000;\">originated in assumption of BT.2020 Primaries and D65 White Point, taken at the output of the color enhancement stage of the production workflow using Master Display in the\u00a0 DCI-P3 Primaries mode.<\/span><\/em><br>Oof! The provided statement offers us a nice <strong>self-explanatory<\/strong> and <strong>short <\/strong>definition of the signal in question, <em>thank you very much<\/em>.<\/p>\n\n\n\n<p>The <strong>YUV<\/strong> signals group consists of the luminance signal <strong>Y<\/strong> (weighted sum of&nbsp; R, G and B signals) and two color difference signals&nbsp; B-Y, and R-Y. Color difference signals are scaled to fit the available&nbsp; data levels range, e.g. 8, 10, 12&nbsp; or 16 bit. The scaled versions of B-Y and R-Y signals are traditionally designated as Cb &amp; Cr or <strong>U<\/strong> &amp; <strong>V<\/strong>.<\/p>\n\n\n\n<p>In comparison with the RGB signals typical processing and compression distortions of YUV signals are less noticeable.<\/p>\n\n\n\n<p>However, it should be noted that in some conditions, e.g. if bit depth is not high enough, the\u00a0 RGB\u21d2YUV\u21d2RGB conversion itself may go wrong, i.e. the\u00a0<em><strong>reconstructed<\/strong> <\/em>RGB images may significantly differ from the original RGB images.<\/p>\n\n\n\n<p>The scope of the widely used terms\u00a0Y,B-Y,R-Y,\u00a0 YUV,\u00a0YCbCr,\u00a0 YIQ, YDrDb, YPbPr, etc., is <strong>ambiguous <\/strong>and <strong>overlapping<\/strong>.<\/p>\n\n\n\n<p>We recommend to use widespread abbreviation <strong>YUV,<\/strong>\u00a0 thus ignoring the academic pedants\u00a0claim that the only <strong>legal<\/strong> name for this group of digital signals is pretty awkward Y&#8217;CbCr.<\/p>\n\n\n\n<p>However, if necessary, we may and should specify extra details; e.g. slightly longer name\u00a0<strong>YUV420p10le<\/strong>\u00a0designates<em>\u00a0420 sampling structure of YUV data, planar memory array format and use of 10 bit little-endian code-word per component.\u00a0<\/em><\/p>\n\n\n\n<p>By some obscure reasons, rather&nbsp;weird term &#8220;pixel format&#8221; (pix_fmt) is often used to designate this group of parameters.<\/p>\n\n\n\n<p>However, even such &#8220;extended label&#8221; as YUV420p10le does not cover <strong>all<\/strong> vitally important parameters of YUV data.<\/p>\n\n\n\n<p>To get good images at the workflow output we should include in the YUV data specification the specification of RGB data from which they are <strong>derived<\/strong>.<\/p>\n\n\n\n<p>For example:<span style=\"color: #000000;\"><em>\u00a0HDR-PQ RGB data\u00a0<strong>originated<\/strong> in <strong>assumption <\/strong>of BT.2020 Primaries and D65 White Point, taken at the output of the color enhancement stage of the production workflow using Master Display in the\u00a0 DCI-P3 Primaries mode. <\/em><\/span><\/p>\n\n\n\n<p><span style=\"color: #000080;\"><span style=\"color: #000000;\">YUV data specification <strong>must<\/strong><\/span><\/span><span style=\"color: #000000;\">\u00a0also include <strong>description <\/strong>of RGB to YUV <strong>conversion<\/strong> <strong>parameters<\/strong>.\u00a0<\/span><\/p>\n\n\n\n<p><span style=\"color: #000000;\">For example:\u00a0<\/span><em style=\"font-size: 1rem;\"><span style=\"color: #000000;\">12 bit Full Range RGB data converted to 10 bit Narrow Range YUV data using <strong>BT.2020<\/strong> Color Encoding Matrix in its linear Non-Constant Luminance <strong>version<\/strong>.<\/span><\/em><\/p>\n\n\n\n<p>Shall we accept this large group of interrelated parameters as &#8216;simple, easy and comprehensive description&#8217; of YUV data stream?<\/p>\n\n\n\n<p>Yes!<\/p>\n\n\n\n<p><strong>On condition<\/strong> that all these important\u00a0 &#8220;birth certificate and life history&#8221; details are <strong>not included<\/strong> in the YUV <strong>label<\/strong> itself, but:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00a0<strong><em>embedded<\/em><\/strong> as <strong>Metadata<\/strong> within the <strong>Video Data Stream<\/strong><\/li>\n\n\n\n<li>and\/or <em><strong>included<\/strong><\/em> in the <strong>Media Title Multi-file Package<\/strong><\/li>\n\n\n\n<li>\u00a0and\/or\u00a0<em><strong>stored<\/strong> <strong>separately<\/strong><\/em> in the <strong>Media Ambit<\/strong> database.<\/li>\n<\/ul>\n\n\n\n<p>See also:<\/p>\n\n\n\n<p>Tables and numerical examples of reference values, such as coefficients of <a href=\"https:\/\/videoq.com\/blog2\/2018\/10\/26\/rgb-yuv-travel-across-color-spaces\/\"><strong>Color Encoding Matrices<\/strong><\/a> and&nbsp;<strong>Color<\/strong>&nbsp;<strong>Conversion Matrices<\/strong>, as well as&nbsp;<a href=\"https:\/\/videoq.com\/blog2\/2018\/10\/28\/color-bars-reference-levels\/\"><strong>Color Bars Reference Levels<\/strong><\/a>&nbsp;for a variety of <strong>Color Spaces<\/strong>.<\/p>\n\n\n\n<p>Learn more:<\/p>\n\n\n\n<p>See posts in the <a href=\"https:\/\/videoq.com\/blog2\/category\/video-science-fundamentals\/\"><strong>Video Science&nbsp;Fundamentals<\/strong><\/a> and&nbsp;<strong><a href=\"https:\/\/videoq.com\/blog2\/category\/media-ambit-and-tools\/\">Media Ambit Tools<\/a>&nbsp;<\/strong>categories.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RGB is the convenient and simple designation of additive color model used for more than 100 years in colorimetry,\u00a0 photography, cinematography, color TV and other areas. Does it means something particular? Not at all! There are so many variants of hardly compatible systems, using RGB as convenient label for light levels, screen pixels, analog or &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/videoq.com\/blog2\/2025\/10\/14\/rgb-yuv-convenient-nicknames\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;RGB, YUV &#038; Media Ambit&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,11],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-media-ambit-and-tools","category-video-science-fundamentals"],"_links":{"self":[{"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":49,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/posts\/171\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/videoq.com\/blog2\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}