GO-V.ORG
As seen in

YCoCg

The YCoCg color model, also known as the YCgCo color model, is the color space formed from a simple transformation of an associated RGB color space into a luma value (Y) and two chroma values called chrominance orange (Co) and chrominance green (Cg). It is supported in video and image compression designs such as H.264/MPEG-4 AVC, HEVC, VVC, JPEG XR, and Dirac. It is simple to compute, has good transform coding gain, and can be losslessly converted to and from RGB with fewer bits than are needed with other color models. A reversible scaled version with even lower bit depth, YCoCg-R, is also supported in most of these designs and is also used in Display Stream Compression. The more complete... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

The YCoCg color model, also known as the YCgCo color model, is the color space formed from a simple transformation of an associated RGB color space into a luma value (Y) and two chroma values called chrominance orange (Co) and chrominance green (Cg). It is supported in video and image compression designs such as H.264/MPEG-4 AVC, HEVC, VVC, JPEG XR, and Dirac. It is simple to compute, has good transform coding gain, and can be losslessly converted to and from RGB with fewer bits than are needed with other color models. A reversible scaled version with even lower bit depth, YCoCg-R, is also supported in most of these designs and is also used in Display Stream Compression. The more complete definition with variable bit depths of Y and chrominance values is given in ITU-T H.273. \begin{bmatrix} Y \\ Co \\ Cg \end{bmatrix} = \begin{bmatrix} \frac{1}{4} & \frac{1}{2} & \frac{1}{4} \\ \frac{1}{2} & 0 & -\frac{1}{2} \\ -\frac{1}{4} & \frac{1}{2} & -\frac{1}{4}\end{bmatrix} \cdot \begin{bmatrix} R \\ G \\ B \end{bmatrix} The values of Y are in the range from 0 to 1, while Co and Cg are in the range of −0.5 to 0.5, as is typical with "YCC" color models such as YCbCr. For example, pure red is expressed in the RGB system as (1, 0, 0) and in the YCoCg system as ( , , − ). However, since the coefficients of the transformation matrix are simple binary fractions, it is easier to compute than other YCC transformations. For RGB signals with bit depth n, either the resulting signals would then be rounded to n bits or would ordinarily be n+2 bits when processing data in this form (although n+1 bits would be sufficient for Co). The inverse matrix converts from the YCoCg color model back to the RGB color model: \begin{bmatrix} R \\ G \\ B \end{bmatrix} = \begin{bmatrix} 1 & 1 & -1 \\ 1 & 0 & 1 \\ 1 & -1 & -1\end{bmatrix} \cdot \begin{bmatrix} Y \\ Co \\ Cg \end{bmatrix} To perform the inverse conversion, only two additions and two subtractions are necessary, with integer-valued coefficients, by implementing it as: tmp = Y - Cg; R = tmp + Co; G = Y + Cg; B = tmp - Co;

References

  1. ^ Tilo Strutz, " Multiplierless Reversible Colour Transforms and their Automatic Selection for Image Data Compression Archived 2016-02-06 at the Wayback Machine ." IEEE Transactions on Circuits and Systems for Video Technology , Vol. 23, No. 7, pp. 1249–1259, July 2013. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  2. ^ Tilo Strutz and Alexander Leipnitz, " Reversible Colour Spaces without Increased Bit Depth and Their Adaptive Selection Archived 2016-02-06 at the Wayback Machine ." IEEE Signal Processing Letters , Vol. 22, No. 9, pp. 1269–1273, September 2015. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  3. ^ Henrique Malvar and Gary Sullivan , " YCoCg-R: A color space with RGB reversibility and low dynamic range ". Moving Picture Experts Group and Video Coding Experts Group document JVT-I014, JVT PExt Ad Hoc Group Meeting: Trondheim, Norway, July 2003. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  4. ^ Cary, David. "Lossless RGB to Y'CbCr transformation" . Stack Overflow . Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  5. ^ a b c Henrique Malvar and Gary Sullivan , " Transform, Scaling & Color Space Impact of Professional Extensions ". Moving Picture Experts Group and Video Coding Experts Group document JVT-H031, JVT 8th meeting, Geneva, May 2003. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  6. ^ Shijun Sun, " Residual Color Transform Using YCoCg-R ". Moving Picture Experts Group and Video Coding Experts Group document JVT-L014, 12th JVT meeting: Redmond, Washington, United States, July 2004. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  7. ^ Shan Liu; Xiaozhong Xu; Shawmin Lei; Kevin Jou (September 2015). "Overview of HEVC extensions on screen content coding" . p. 8. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  8. ^ Woo-Shik Kim, Dmitry Birinov, and Dae-Sung Cho, Hyun Mun Kim (Multimedia Lab, Samsung AIT), " Enhancements to RGB coding in H.264/MPEG-4 AVC FRExt ". Video Coding Experts Group document VCEG-Z16, 26th VCEG meeting: Busan, Korea, April 2005. Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  9. ^ "Dirac Specification" (PDF) . BBC . p. 136. Archived from the original on 2015-05-03 . Retrieved 2010-05-04 . Wikipedia revision 1339743343, retrieved 2026-11-20 · 1272927600.0
  10. ^ a b Malvar, Henrique S.; Sullivan, Gary J.; Srinivasan, Sridhar (28 August 2008). Lifting-based reversible color transformations for image compression (PDF) . Optical Engineering + Applications, 2008. p. 707307. doi : 10.1117/12.797091 . Wikipedia revision 1339743343, retrieved 2026-11-20 · 1795129200.0
  11. ^ a b Yair Moshe. "H.264 Amendment: Fidelity Range Extensions" (PDF) . Signal and Image processing Lab (SIPL), Technion Israel Institute of Technology . p. 15. Archived from the original (pdf) on 2014-10-06 . Retrieved 2010-05-02 . Wikipedia revision 1339743343, retrieved 2026-11-20 · 1272754800.0
  12. ^ a b "YCoCg: A Color Space with RGB Reversibility" . University of Texas at Arlington. Archived from the original (ppt) on 2010-07-02 . Retrieved 2010-05-02 . Wikipedia revision 1339743343, retrieved 2026-11-20 · 1272754800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"YCoCg". 1771726081. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1339743343

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·