YCbCr或Y'CbCr,是色彩空間的一種,通常會用於影片中的影像連續處理,或是數碼攝影系統中。Y'和Y是不同的,Y是流明luminance),而Y'表示光的濃度且為非線性,使用伽馬修正(gamma correction)編碼處理,而Cb和Cr則為藍色和紅色的濃度偏移量。

一個完整的彩色影像和一個彩色影像只有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不是一種絕對色彩空間,是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]








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.")

外部連結

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.