YCbCr

一個完整的彩色影像和一個彩色影像只有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格式有:

  • 4∶4∶4
  • 4∶2∶2
  • 4∶1∶1
  • 4∶2∶0

名稱

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
有關生物或機器的視覺能力,請參閱彩色视觉