一個完整的彩色影像和一個彩色影像只有Y成份的圖、只有Cb成份的圖、和只有Cr成份的圖。只有Y成份的圖基本上就是彩色影像的灰階版本。that the white snow is represented as a middle value in both Cr and Cb; that the brown barn is represented by weak Cb and strong Cr; that the green grass is represented by weak Cb and weak Cr; and that the blue sky is represented by strong Cb and weak Cr. YCbCr或Y'CbCr,是色彩空間 的一種,通常會用于影片中的影像連續處理,或是數位攝影系統中。Y'和Y是不同的,Y是流明 (luminance),而Y'表示光的濃度且為非線性,使用伽馬修正 (gamma correction)編碼處理,而Cb和Cr則為藍色和紅色的濃度偏移量。
YCbCr 不是一種絕對色彩空間 ,是YUV壓縮和偏移的版本。YCbCr的Y與YUV中的Y含义一致,Cb和Cr與UV同样都指色彩,Cb指蓝色色度,Cr指红色色度。在应用上很广泛,JPEG、MPEG、DVD、攝影機 、數位電視 等皆採此一格式。因此一般俗稱的YUV大多是指YCbCr。
Y'CbCr 同樣不是一種絕對的色彩空間,是一種針對RGB資訊所做的編碼。真正的顏色顯示是根據實際RGB色盤(colorant)來決定。因此Y'CbCr所表示的值只有在標準RGB色盤或是ICC數據(ICC profile)有提供的時候才能計算。
YCbCr格式有:
名稱 YCbCr有時會稱為YCC. Y'CbCr在色差端子 中也常被稱為YPbPr。
技術細節 Y'CbCr訊號(prior to scaling and offsets to place the signals into digital form)被稱為YPbPr,而且產生時必須合乎gamma-adjusted RGB source有二個不同的常數Kb和Kr如下:
YPbPr (analog version of Y'CbCr) from R'G'B'
Y' = Kr * R' + (1 - Kr - Kb) * G' + Kb * B'
Pb = 0.5 * (B' - Y') / (1 - Kb)
Pr = 0.5 * (R' - Y') / (1 - Kr)
....................................................
R', G', B' in [0; 1]
Y' in [0; 1]
Pb in [-0.5; 0.5]
Pr in [-0.5; 0.5]
Y ′ = K r ∗ R ′ + ( 1 − K r − K b ) ∗ G ′ + K b ∗ B ′ {\displaystyle Y'=Kr*R'+(1-Kr-Kb)*G'+Kb*B'\,} P b = 1 2 ∗ B ′ − Y ′ 1 − K b {\displaystyle Pb={\frac {1}{2}}*{\frac {B'-Y'}{1-Kb}}} P r = 1 2 ∗ R ′ − Y ′ 1 − K r {\displaystyle Pr={\frac {1}{2}}*{\frac {R'-Y'}{1-Kr}}}
where Kb and Kr are ordinarily derived from the definition of the corresponding RGB space. (The equivalent matrix manipulation is often referred to as the "color matrix.")
外部連結 Charles Poynton - Color FAQ (页面存档备份,存于互联网档案馆 ) Charles Poynton - Video engineering (页面存档备份,存于互联网档案馆 ) YCrCb to RGB converter Color Space Visualization PC Magazine Encyclopedia: YCbCr (页面存档备份,存于互联网档案馆 ) 色彩空間列表 (英语 : List of color spaces and their uses ) 色彩模型 CAM (英语 : Color appearance model ) CIECAM02 (英语 : CIECAM02 ) iCAM (英语 : ICAM (color appearance model) ) CIE RGB YUV 其他 CcMmYK (英语 : CcMmYK color model ) CMYK Coloroid (英语 : Coloroid ) LMS (英语 : LMS color space ) Hexachrome (英语 : Hexachrome ) HSL和HSV LAB HCL (英语 : HCL color space ) 不可能的顏色 OSA-UCS (英语 : OSA-UCS ) PCCS (英语 : Practical Color Coordinate System ) RG (英语 : RG color space ) RYB (英语 : RYB color model ) HWB 色彩系統及標準 ACES (英语 : Academy Color Encoding System ) ANPA (英语 : News Media Alliance ) 国际颜料索引 CI list of dyes (英语 : List of dyes ) DIC (英语 : DIC Corporation ) 聯邦標準595 (英语 : Federal Standard 595 ) HKS (英语 : HKS (colour system) ) ICC色彩特性文件 ISCC–NBS (英语 : ISCC–NBS system ) Munsell NCS (英语 : Natural Color System ) Ostwald 彩通 RAL (英语 : RAL colour standard ) 列表 (英语 : List of RAL colors ) 日本產業標準Z8102