YCbCrväriavaruus
YCbCr is a color space that represents color information as a luminance component (Y) and two chrominance components (Cb and Cr). This representation is commonly used in video transmission and storage, particularly in digital television systems and image compression. The Y component carries the brightness information of the image, while Cb and Cr carry the color difference information. Cb represents the difference between the blue component and a reference luminance, and Cr represents the difference between the red component and the same reference luminance.
The YCbCr color space is derived from the RGB color space. The conversion involves a linear transformation
Common chroma subsampling schemes include 4:4:4, 4:2:2, and 4:2:0. In 4:4:4, all three components (Y, Cb, and