201026082 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一種色序法,且特別有關於一種基於 亮度/色差色彩空間之分色技術的色序法。 【先前技術】 場色序型液晶顯示器(Field Sequential Color LCD, FSC φ —LCD)是一超薄且具高解析度與高色彩飽和度的次世代 顯示器。此顯示技術最常見的原理是利用三原色場(紅、 綠、藍)在人眼視覺暫留的時間内,利用時間混色法,進 行累加三原色來合成彩色圖像。此技術有下列優點:(1)場 色序型液晶顯示器不需彩色濾光片,因此提高了三倍的光 穿透率,此也意指將可減少顯示器功率損耗;(2)相較傳統 有彩色濾光片的顯示器須由三個紅、綠、藍色子晝素組成 一個晝素,場色序型液晶顯示器中的晝素較小因而提高了 馨顯示器解析度,或者維持原解析度而減少薄膜電晶體—液 晶顯示器(Thin Film Transistor (TFT) —LCD)的成本; (3)場色序型液晶顯示器之背光由三原色的紅、綠、藍發光 二極體(Light-emitting Diode,LED)組成,其會提升影 像色彩飽和度;以及(4)由於無需使用彩色滤光片因而可 降低顯示器生產成本。因此,色序法(C—㈣此谢 =thod)顯域娜成為新—代高晝f綠色縣顯示器的 重要技術。 然而,場色序型液晶顯示器雖具有比其他的顯示技術 5 201026082 •.. 更好的顯色特性且能大大降低顯示器功率消耗,卻存在著 一個嚴重的問題,即會發生色分離(Color Break — up )。 此現象發生在當人眼與觀看物體有一相對速度時,造成同 一晝面的各色場(例如,紅、綠、藍三色場)成像在視網 膜上的疊加,其影像於疊加後邊緣卻在不同位置,因而出 現邊緣有類似彩虹色帶的現象,此稱為色分離現象。色分 離現象除了降低影像品質外,長時間的觀看其影像亦有可 能造成眼睛的疲勞,這些為場色序型液晶顯示器中一個不 可忽視的現象。 因此,本發明提供了一種基於亮度/色差色彩空間之分 色技術的色序法,以改善傳統色序法易產生色分離的問題。 【發明内容】 基於上述目的,本發明實施例揭露了一種基於亮度/色 差色彩空間之分色技術之色序法。將一輸入影像之訊號從 RGB色彩空間轉換為YCbCr色彩空間,並且將YCbCr訊號 • 拆解為Y亮度訊號以及+Cb、一 Cb、+Cr與一Cr等四個色差 訊號。並將亮度訊號分別分配給+Cb、一 Cb、+Cr與一Cr之 色差訊號,及計算每一色差訊號所需之亮度值,並且經過 亮度分配後所產生新的+cb、一cb、+cr與一cr色差訊號。 本發明實施例更揭露了一種顯示裝置,包括一螢幕、 一影像輸入模組與一影像處理單元。該影像輸入模組自一 影像來源取得一輸入影像。該影像處理單元將該輸入影像 訊號從RGB色彩空間轉換為YCbCr色彩空間,將YCbCr 訊號之Y亮度訊號進行拆解以及+Cb、一Cb、+Cr與一Cr 6 201026082 等四個色差訊號,將Y亮度訊號分別分配給+Cb、—Cb、 +cr與〜cr之色差訊號,並计算每一色差訊號需要的亮度 值,以及根據計算分配亮度給色差訊號,並產生新的+Cb、 -cb、+cr與—Cr色差訊號。 【實施方式】 為了讓本發明之目的、特徵、及優點能更明顯易懂, 下,特舉較佳實施例,並配合所附圓式第1圖至第4圖, 做詳細之說明。本發明說明書提供不同的實施例來說明本 發明不同實施方式的技術特徵。其中,實施例中的各元件 之配置係為說明之用,並非用以限制本發明。且實施例中 圖式標號之部分重複,係為了簡化說明,並非意指不同實 施例之間的關聯性。 本發明實施例揭露了 一種基於亮度/色差色彩空間之 分色技術的色序法。 如上文所述,傳統的色序法係直接利用RGB三原色在 同一時間切換而達到所須顯示之刼色,而非使用彩色濾光 片,可達到節能與成本效益,但其缺點為晝面易產生色分 離,且侷限在RGB色彩空間而不易擴充調整及色彩調整。 本發明實施例之色序法係利用YCbCr色差訊號來達到 所須顯示之顏色。 第1圖係顯示本發明實施例之基於亮度/色差色彩空間 之分色技術之色序法的步驟流程圖。第2圖係顯示本發明 實施例之基於亮度/色差色彩空間之分色技術之色序法的 實施流程圖。 7 201026082 首先’將-輸人影像之RGB色彩 色彩空間(如第3圖所示)(步 轉、為YCbCr 叙斛- vr 〇 ^戈驟幻1),如第2圖之210 與220所不。YCbCr值和三原色尺仙值 3X3矩陣關係’其中,Y代表影像的亮度,而Cb、c子表示 號 車/程式將RGB色彩空間轉換為 YCbCr色彩二間,該矩陣方程式表示為· 'r' 「 cb =201026082 IX. DESCRIPTION OF THE INVENTION: TECHNICAL FIELD The present invention relates to a color sequential method, and more particularly to a color sequential method based on a color separation technique of a luminance/chromatic aberration color space. [Prior Art] A Field Sequential Color LCD (FSC φ-LCD) is an ultra-thin, next-generation display with high resolution and high color saturation. The most common principle of this display technology is to use the three primary color fields (red, green, and blue) to synthesize color images by accumulating three primary colors during the time when the human eye persists. This technology has the following advantages: (1) The field color sequential liquid crystal display does not require a color filter, thus increasing the light transmittance by three times, which also means that the display power loss can be reduced; (2) compared with the conventional A display with a color filter must consist of three red, green, and blue sub-tendins, and the pixels in the field-sequence liquid crystal display are small, thereby improving the resolution of the display or maintaining the original resolution. And reduce the cost of Thin Film Transistor (TFT) - LCD; (3) The backlight of the field color sequential liquid crystal display is composed of three primary colors of red, green and blue light emitting diodes (Light-emitting Diode, LED), which enhances image color saturation; and (4) reduces display production costs by eliminating the need for color filters. Therefore, the color-sequence method (C-(4), thank you =thod) has become an important technology for the new-generation high-definition green county display. However, although the field color sequential liquid crystal display has better color rendering characteristics than other display technologies and can greatly reduce the power consumption of the display, there is a serious problem that color separation occurs (Color Break). — up ). This phenomenon occurs when the human eye has a relative velocity with the viewing object, causing the color field of the same facet (for example, red, green, and blue color fields) to be superimposed on the retina, and the image is different after the superimposed edge. The position, and thus the appearance of a rainbow-like ribbon on the edge, is called color separation. In addition to reducing the image quality, the color separation phenomenon may cause eye fatigue when viewed for a long time. These are phenomena that cannot be ignored in the field color sequential liquid crystal display. Accordingly, the present invention provides a color sequential method based on a color separation technique of luminance/chromatic aberration color space to improve the problem that color separation is easily generated by the conventional color sequential method. SUMMARY OF THE INVENTION Based on the above objects, an embodiment of the present invention discloses a color sequential method based on a color separation technique of a luminance/chromatic aberration color space. The signal of an input image is converted from the RGB color space to the YCbCr color space, and the YCbCr signal is disassembled into a Y luminance signal and four color difference signals such as +Cb, a Cb, +Cr and a Cr. And the luminance signals are respectively assigned to the color difference signals of +Cb, Cb, +Cr and a Cr, and the brightness values required for calculating each color difference signal, and the new +cb, a cb, and + are generated after the brightness distribution. Cr and a cr color difference signal. The embodiment of the invention further discloses a display device comprising a screen, an image input module and an image processing unit. The image input module obtains an input image from an image source. The image processing unit converts the input image signal from the RGB color space to the YCbCr color space, disassembles the Y luminance signal of the YCbCr signal, and four color difference signals such as +Cb, a Cb, +Cr, and a Cr 6 201026082. The Y luminance signals are respectively assigned to the color difference signals of +Cb, -Cb, +cr and ~cr, and the luminance values required for each color difference signal are calculated, and the luminance is assigned to the color difference signals according to the calculation, and new +Cb, -cb are generated. , +cr and -Cr color difference signals. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to make the objects, features, and advantages of the present invention more comprehensible, the preferred embodiments will be described in detail with reference to the accompanying drawings. FIG. The present specification provides various embodiments to illustrate the technical features of various embodiments of the present invention. The arrangement of the various elements in the embodiments is for illustrative purposes and is not intended to limit the invention. The repeated reference numerals in the embodiments are intended to simplify the description and do not imply the relationship between the different embodiments. Embodiments of the present invention disclose a color sequential method based on a color separation technique of a luminance/chromatic aberration color space. As described above, the conventional color-sequence method directly uses the RGB three primary colors to switch at the same time to achieve the desired color, instead of using color filters, which can achieve energy saving and cost-effectiveness, but the disadvantage is that Produces color separation and is limited to RGB color space without easy adjustment and color adjustment. The color sequential method of the embodiment of the present invention utilizes the YCbCr color difference signal to achieve the desired color. Fig. 1 is a flow chart showing the steps of the color sequential method of the color separation technique based on the luminance/chromatic aberration color space in the embodiment of the present invention. Fig. 2 is a flow chart showing the implementation of the color sequential method based on the color separation technique of the luminance/chromatic aberration color space in the embodiment of the present invention. 7 201026082 First of all, 'will-input image RGB color space space (as shown in Figure 3) (step, for YCbCr narration - vr 〇 ^ Ge illusion 1), as shown in Figure 2, 210 and 220 . The YCbCr value and the three primary color ruler 3X3 matrix relationship 'where Y represents the brightness of the image, and the Cb and c sub-cars/programs convert the RGB color space to the YCbCr color two, the matrix equation is expressed as · 'r' Cb =
R X G B 0.2990 0.5870 〇·_- -0.1687 -0.3313 Ο』。。。 0.5000 -0.4187 -〇.〇8ΐ3 需注意到,將像素之RGB色彩空間轉換為yc&色彩 空間之該矩陣方程式僅係為一實施例,其並非用以限制本 發明。 接著,將YCbCr訊號拆解為γ亮度訊號以及+Cb、— cb、+cr與-cj四個色差訊號(步驟S12)(如第2圖之 參230所示),而產生具有四個象限之二維平面其中此二 、维平面的X軸表示紅綠色差訊號,而y轴表示黃藍色差訊 號。 人眼視覺特性為對亮度訊號的解析度最高,紅綠訊號 次之,黃藍訊號最低。在YCbCr色差訊號之色彩空間下(其 係修改YUV色彩空間而得),Y訊號代表亮度 (Luminance),cb( Yellow-Blue channel)與 Cr( Red,Green channel)訊號代表彩度資訊之黃藍色差以及紅綠色差。如 果像素中只包含彩度資訊是無法呈現色彩到人眼中,因此 8 201026082 將亮度訊號分別分配給+cb、一cb、+cr與一cr這四個色差 訊號(步驟S13),如第2圖之240與250所示。 在本發明實施例中,將在RGB色彩空間下之訊號最強 之紅色(255, 0, 0)、綠色(0, 255, 0)、藍色(〇, 〇, 255)與黃色 (255, 255, 0)轉換到亮度/色差空間以觀察其亮度之值,分 別取其亮度值。舉例來說,Y(紅色)=30,Y(綠色)=59,Y(藍 色)=11,Y(黃色)=89,將影像像素之亮度依照比例分配(ex: 30:59:11:89)給四個色差訊號之色頻。利用下述方程式計 ® 算每一色差訊號需要的亮度值,其分別表示為:R X G B 0.2990 0.5870 〇·_- -0.1687 -0.3313 Ο』. . . 0.5000 - 0.4187 - 〇. 〇 8 ΐ 3 It should be noted that the matrix equation for converting the RGB color space of a pixel into a yc & color space is merely an embodiment and is not intended to limit the invention. Then, the YCbCr signal is disassembled into four gamma luminance signals and four color difference signals of +Cb, -cb, +cr, and -cj (step S12) (as shown in step 230 of FIG. 2), and four quadrants are generated. In the two-dimensional plane, the X-axis of the second plane represents the red-green difference signal, and the y-axis represents the yellow-blue difference signal. The visual characteristics of the human eye are the highest resolution for the luminance signal, followed by the red and green signals, and the yellow and blue signals are the lowest. In the color space of the YCbCr color difference signal (which is modified by the YUV color space), the Y signal represents Luminance, cb (Yellow-Blue channel) and Cr (Red, Green channel) signals represent the yellow and blue of the chroma information. Chromatic aberration and reddish green are poor. If the pixel only contains the chroma information, the color cannot be presented to the human eye, so 8 201026082 assigns the luminance signals to the four color difference signals of +cb, one cb, +cr and one cr respectively (step S13), as shown in FIG. 240 and 250 are shown. In the embodiment of the present invention, the signals with the strongest signals in the RGB color space are red (255, 0, 0), green (0, 255, 0), blue (〇, 〇, 255), and yellow (255, 255). , 0) Convert to the brightness/color difference space to observe the value of its brightness, and take the brightness value respectively. For example, Y (red) = 30, Y (green) = 59, Y (blue) = 11, Y (yellow) = 89, the brightness of the image pixels is proportionally distributed (ex: 30:59:11: 89) Give the color frequency of the four color difference signals. Use the following equation to calculate the brightness values required for each color difference signal, which are expressed as:
Pixel_YR(x,y)= Pixel_Ytotal(x,y)/(30+59+l 1+89)*30 ; Pixel_YG(x,y) = Pixel_Ytotal(x,y)/(30+59+ll+89)*59 ;Pixel_YR(x,y)= Pixel_Ytotal(x,y)/(30+59+l 1+89)*30 ; Pixel_YG(x,y) = Pixel_Ytotal(x,y)/(30+59+ll+89) *59;
Pixel一YB(x,y)=Pixel一Ytotal(x,y)/(30+59+ll+89)*ll ;以及 Pixel_YY(x,y)= Pixel—Ytotal(x,y)/(3〇+59+ll+89)*89 ; 其中,Pixel_Ytotal(x,y)表示該輸入影像之每個像素的 原始亮度,Pixel一YR(x,y)表示計算出+Cr色差(色頻)訊號 ❹值需要多少亮度值’ Pixel 一 YG(x,y)表示計算出_Cr色差(色 頻)訊號值需要多少亮度值,而Pixel_YB(x,y)表示 —cb色差(色頻)訊號值需要多少亮度值,而pixel_YY(x,y) 表示計算出+Cb色差(色頻)訊號值需要多少亮度值。 如此-來,利用上述方程式即可計算出四個色差訊號 分別所需之亮度值,並且根據計算所得的亮度值產生新的 +cb、一Cb、+C^_Cr色差訊號(步驟Sl4),如第2圖 之260所示。 第4圖係顯示本發明實施例之顯示|置的架構示意 9 201026082Pixel-YB(x,y)=Pixel-Ytotal(x,y)/(30+59+ll+89)*ll; and Pixel_YY(x,y)= Pixel—Ytotal(x,y)/(3〇 +59+ll+89)*89 ; where Pixel_Ytotal(x,y) represents the original brightness of each pixel of the input image, and Pixel-YR(x,y) represents the calculated +Cr color difference (color frequency) signal❹ How many brightness values are needed for the value? Pixel - YG(x, y) indicates how much brightness value is needed to calculate the _Cr color difference (color frequency) signal value, and Pixel_YB(x, y) indicates how much the -cb color difference (color frequency) signal value is needed. The brightness value, and pixel_YY(x,y) indicates how much brightness value is needed to calculate the +Cb color difference (color frequency) signal value. In this way, the brightness values required for the four color difference signals can be calculated by using the above equation, and a new +cb, a Cb, +C^_Cr color difference signal is generated according to the calculated brightness value (step S14), such as Figure 260 of Figure 2 shows. Figure 4 is a schematic diagram showing the display of the embodiment of the present invention. 9 201026082
本發明實施例之顯示裝置400至少包括一影像輸入模 組410、一影像處理單元430與一螢幕450。 影像輸入模組410自一影像來源取得一輸入影像,影 像處理單元430將該輸入影像之RGB色彩空間轉換為 YCbCr色彩空間(如第3圖所示),接著將Ycbcr訊號拆 解為Y亮度訊號以及+Cb、一 Cb、+(^與一cr等四個色差訊 號’並且將亮度訊號分別分配給+Cb、一 Cb、+Cr與一Cr這 ^ 四個色差訊號。 在本發明實施例中,將訊號最強之紅色(255, 0, 0)、綠 色(0, 255, 0)、藍色(〇, 0, 255)與黃色(255, 255, 0)轉換到亮 度/色差空間以觀察其亮度之值。舉例來說,Y(紅色)==30, Y(綠色)=59 ’ Y(藍色)=11 ’ Y(黃色)=89,將影像像素之亮 度依照比例分配給四個色差訊號之色頻。利用下述方程式 計算每一色差訊號需要的亮度值,其分別表示為: φ Pixel_YR(x,y) = Pixel_Ytotal(x,y)/(30+59+11+89)*30 ;The display device 400 of the embodiment of the present invention includes at least an image input module 410, an image processing unit 430, and a screen 450. The image input module 410 obtains an input image from an image source, and the image processing unit 430 converts the RGB color space of the input image into a YCbCr color space (as shown in FIG. 3), and then disassembles the Ycbcr signal into a Y brightness signal. And four color difference signals of +Cb, one Cb, + (^ and one cr) and the luminance signals are respectively assigned to four color difference signals of +Cb, one Cb, +Cr and one Cr. In the embodiment of the present invention Convert the strongest red (255, 0, 0), green (0, 255, 0), blue (〇, 0, 255) and yellow (255, 255, 0) to the luminance/color difference space to observe the signal The value of the brightness. For example, Y (red) == 30, Y (green) = 59 'Y (blue) = 11 'Y (yellow) = 89, the brightness of the image pixels is proportionally assigned to the four color differences The color frequency of the signal. The brightness value required for each color difference signal is calculated by the following equation, which is expressed as: φ Pixel_YR(x, y) = Pixel_Ytotal(x, y)/(30+59+11+89)*30 ;
Pixel_YG(x,y) = Pixel_Ytotal(x,y)/(30+59+l 1+89)*59 ; Pixel_YB(x,y) = Pixel_Ytotal(x,y)/(30+59+ll+89)*ll ;以及 Pixel_YY(x,y)=Pixel_Ytotal(x,y)/(30+59+ll+89)*89 ; 其中,Pixel—Ytotal(x,y)表示該輸入影像之每個像素的 原始免度’ Pixel一YR(x,y)表示計算出+cr色差訊號值需要多 少亮度值,Pixel_YG(x,y)表示計算出—cr色差訊號值愛直 多少亮度值’而Pixel_YB(x,y)表示計算出—Cb色差訊號值 需要多少亮度值’而Pixel一YY(x,y)表示計算出+Cb色差訊 10 201026082 號值需要多少亮度值。 影像處理單元430利用上述方程式即可計算出四個色 差訊號分別所需之亮度值’並且根據計算所得的亮度值產 生新的+Cb、一 Cb、+Cr與一Cr色差訊號,然後將處理過之 該輸入影像顯示在螢幕450上。 本發明實施例之基於亮度/色差色彩空間之分色技術 的色序法將YCbCr色差訊號中之Cb色差訊號作為藍色與黃 色訊號值’並將Cr色差訊號作為紅色與綠色訊號值,並且 • 將亮度分配給這四個色差訊號值。因此,較不易產生色分 離,較易以壳度/色差訊號進行色彩調整,可節省頻寬並提 冋景>像資料壓縮率,以及和傳統電視訊號相容。此外, YCbCr色彩空間可擴充至廣色域xvycc色彩空間。 本發明之方法,或特定型態或其部份,可以以程式碼 的型態存在。程式碼可以包含於實體媒體,如軟碟、光碟 片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲 • ΐ::變當程式碼被機器’如_載入且執行時, 變成用以參與本發明之裝置。程式碼也可以透過一 订時’此機器變成用以參與本發明之裝置。 處理單it實作時,程式碼結合處理單元提供 應用特定邏輯電路之獨特裝置。 媒=如電線或電纔、光纖、或是任何傳輪型態進 ㈣送’其中’當程式碼被機器,如電腦接收、载入且執 。當在一般用途 操作類似於 雖然本發明已以較佳實施例揭露如上, 限定本發明,任何熟習此技藝者,在 然其並非用以 在不脫離本發明之精神 201026082 和範圍内,當可作各種之更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者為準。Pixel_YG(x,y) = Pixel_Ytotal(x,y)/(30+59+l 1+89)*59 ; Pixel_YB(x,y) = Pixel_Ytotal(x,y)/(30+59+ll+89) *ll ; and Pixel_YY(x,y)=Pixel_Ytotal(x,y)/(30+59+ll+89)*89 ; where Pixel-Ytotal(x,y) represents the original of each pixel of the input image The degree of freedom Pixel-YR(x,y) indicates how much brightness value is needed to calculate the value of the +cr color difference signal. Pixel_YG(x,y) indicates how much the brightness value of the -cr color difference signal value is calculated and Pixel_YB(x,y ) indicates how much brightness value is needed to calculate the value of the Cb color difference signal' and Pixel - YY(x, y) indicates how much brightness value is needed to calculate the value of the +Cb color difference signal 10 201026082. The image processing unit 430 can calculate the brightness values required for the four color difference signals by using the above equations, and generate new +Cb, Cb, +Cr, and a Cr color difference signals according to the calculated brightness values, and then process the processed signals. The input image is displayed on the screen 450. The color sequential method based on the color separation technique of the luminance/chromatic aberration color space in the embodiment of the present invention uses the Cb color difference signal in the YCbCr color difference signal as the blue and yellow signal value 'and the Cr color difference signal as the red and green signal values, and The brightness is assigned to these four color difference signal values. Therefore, color separation is less likely to occur, and color adjustment is easier with the shell/color difference signal, which saves bandwidth and improves image compression ratio, and is compatible with conventional television signals. In addition, the YCbCr color space can be expanded to the wide color gamut xvycc color space. The method of the invention, or a particular version or portion thereof, may exist in the form of a code. The code can be included in physical media, such as floppy disks, CDs, hard drives, or any other machine readable (such as computer readable) storage. ΐ:: The code is loaded by the machine as _ When executed, it becomes a device for participating in the present invention. The code can also be passed through a predetermined order. This machine becomes a device for participating in the present invention. When processing a single implementation, the code combination processing unit provides a unique means of applying a particular logic circuit. Media = such as wire or electricity, fiber optics, or any type of transmission (4) to send 'where' when the code is received, loaded and executed by the machine, such as a computer. While the invention has been described in the above, the invention is intended to be limited to the scope of the present invention, and is not intended to be Various modifications and refinements are intended to be included in the scope of the invention as defined by the appended claims.
12 201026082 【圖式簡單說明】 第1圖係顯示本發明實施例之基於亮度/色差色彩空間 之分色技術之色序法的步驟流程圖。 第2圖係顯示本發明實施例之基於亮度/色差色彩空間 之分色技術之色序法的實施流程圖。 第3圖係顯示一輸入影像之RGB色彩空間轉換為 YCbCr色彩空間的示意圖。 φ 第4圖係顯示本發明實施例之顯示裝置的架構示意 圖。 【主要元件符號說明】 511.. 514〜流程步驟 210.. 260〜實施流程 400〜顯示裝置 410〜影像輸入模組 • 430〜影像處理單元 450〜螢幕450 1312 201026082 [Simplified Schematic Description] Fig. 1 is a flow chart showing the steps of the color sequential method based on the color separation technique of the luminance/chromatic aberration color space in the embodiment of the present invention. Fig. 2 is a flow chart showing the implementation of the color sequential method based on the color separation technique of the luminance/chromatic aberration color space in the embodiment of the present invention. Figure 3 is a schematic diagram showing the conversion of an RGB color space of an input image into a YCbCr color space. Fig. 4 is a schematic view showing the structure of a display device according to an embodiment of the present invention. [Description of main component symbols] 511.. 514~ Flowchart 210.. 260~ Implementation flow 400~Display device 410~Image input module • 430~Image processing unit 450~Screen 450 13