TWI627624B - Image data processing method and timing controller - Google Patents
Image data processing method and timing controller Download PDFInfo
- Publication number
- TWI627624B TWI627624B TW106118057A TW106118057A TWI627624B TW I627624 B TWI627624 B TW I627624B TW 106118057 A TW106118057 A TW 106118057A TW 106118057 A TW106118057 A TW 106118057A TW I627624 B TWI627624 B TW I627624B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- input
- output
- image data
- brightness
- Prior art date
Links
Landscapes
- Processing Of Color Television Signals (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
本發明提出一種影像資料處理方法包括以下步驟:依據伽瑪參數對輸入影像資料執行伽瑪轉換,並且決定輸入影像資料的第一最小亮度資料;將輸入影像資料由RGB色域轉換至HSV色域,並且將轉換後的輸入影像資料的最大明度資料調高至邊界值;依據轉換後的輸入影像資料決定第二最小亮度資料,並且依據第二最小亮度資料決定參考係數;依據第一最小亮度資料以及參考係數決定輸出紅色亮度資料、輸出綠色亮度資料以及輸出藍色亮度資料,並且依據第一最小亮度資料決定輸出白色亮度資料。另外,一種時序控制器亦被提出。The invention provides a method for processing image data, comprising the steps of: performing gamma conversion on input image data according to gamma parameters, and determining first minimum brightness data of input image data; converting input image data from RGB color gamut to HSV color gamut And increasing the maximum brightness data of the converted input image data to a boundary value; determining a second minimum brightness data according to the converted input image data, and determining a reference coefficient according to the second minimum brightness data; according to the first minimum brightness data And the reference coefficient determines the output of the red brightness data, the output of the green brightness data, and the output of the blue brightness data, and determines the output white brightness data according to the first minimum brightness data. In addition, a timing controller has also been proposed.
Description
本發明是有關於一種資料處理技術,且特別是有關於一種影像資料處理方法以及時序控制器。The present invention relates to a data processing technique, and in particular to an image data processing method and a timing controller.
隨著科技的進步,液晶顯示器(Liquid Crystal Display, LCD)以及有機發光二極體顯示器(Organic Light Emitting Diode, OLED)已被廣泛的應用於例如手機、平板電腦及電視等各種顯示設備中。一般而言,為了更有效地利用液晶顯示器的背光亮度,會在傳統顯示器的RGB顯示面板(Red-Green-Blue)當中加入白色子畫素(W),以增加顯示面板的穿透率。然而,若以RGB格式的輸入影像資料來驅動RGBW顯示面板(Red-Green-Blue-White),則會導致RGBW顯示面板當中的紅色像素(R)、綠色像素(G)以及藍色像素(B)的亮度偏暗。並且,RGBW顯示面板的各個顏色顯示結果的伽瑪參數(gamma)會發生偏移,進而導致RGBW顯示面板的顯示效果不佳或色彩失真。因此,如何依據RGB輸入影像資料來有效驅動RGBW顯示面板,以使RGBW顯示面板的色彩顯示效果可接近傳統的RGB顯示面板的色彩顯示效果,是目前重要的課題。With the advancement of technology, liquid crystal displays (LCDs) and organic light emitting diodes (OLEDs) have been widely used in various display devices such as mobile phones, tablet computers, and televisions. In general, in order to more effectively utilize the backlight brightness of the liquid crystal display, a white sub-pixel (W) is added to the RGB display panel (Red-Green-Blue) of the conventional display to increase the transmittance of the display panel. However, if the RGBW display panel (Red-Green-Blue-White) is driven by the input image data in the RGB format, the red pixel (R), the green pixel (G), and the blue pixel (B) in the RGBW display panel are caused. The brightness is dark. Moreover, the gamma parameter of each color display result of the RGBW display panel is shifted, which leads to poor display effect or color distortion of the RGBW display panel. Therefore, how to effectively drive the RGBW display panel according to the RGB input image data, so that the color display effect of the RGBW display panel can be close to the color display effect of the conventional RGB display panel, is an important subject at present.
本發明提供一種影像資料處理方法以及時序控制器,可將具有RGB像素資料的輸入影像資料經由轉換以產生具有RGBW像素資料的輸出影像資料,並且可藉由輸出影像資料來有效驅動RGBW顯示面板。The invention provides an image data processing method and a timing controller, which can convert an input image data having RGB pixel data to generate output image data having RGBW pixel data, and can effectively drive the RGBW display panel by outputting the image data.
本發明的影像資料處理方法包括以下步驟:依據伽瑪參數對輸入影像資料執行伽瑪轉換,並且決定輸入影像資料的第一最小亮度資料;將輸入影像資料由RGB色域轉換至HSV色域,並且將轉換後的輸入影像資料的最大明度資料調高至邊界值;依據轉換後的輸入影像資料決定第二最小亮度資料,並且依據第二最小亮度資料決定參考係數;以及依據第一最小亮度資料以及參考係數決定輸出紅色亮度資料、輸出綠色亮度資料以及輸出藍色亮度資料,並且依據第一最小亮度資料決定輸出白色亮度資料。The image data processing method of the present invention comprises the steps of: performing gamma conversion on the input image data according to the gamma parameter, and determining the first minimum brightness data of the input image data; converting the input image data from the RGB color gamut to the HSV color gamut, And increasing the maximum brightness data of the converted input image data to a boundary value; determining a second minimum brightness data according to the converted input image data, and determining a reference coefficient according to the second minimum brightness data; and according to the first minimum brightness data And the reference coefficient determines the output of the red brightness data, the output of the green brightness data, and the output of the blue brightness data, and determines the output white brightness data according to the first minimum brightness data.
在本發明的一實施例中,上述的影像資料處理方法更包括以下步驟:依據伽瑪參數對輸入影像資料的輸入紅色像素資料、輸入綠色像素資料以及輸入藍色像素資料執行伽瑪轉換,以產生輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料。In an embodiment of the present invention, the image data processing method further includes the steps of: performing gamma conversion on the input red pixel data, the input green pixel data, and the input blue pixel data according to the gamma parameter; Generate input red brightness data, input green brightness data, and input blue brightness data.
在本發明的一實施例中,上述的伽瑪參數為2.2。In an embodiment of the invention, the gamma parameter is 2.2.
在本發明的一實施例中,上述決定輸入影像資料的第一最小亮度資料的步驟包括:將輸入影像資料經由伽瑪轉換取得輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料,並且判斷輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料的大小,以決定第一最小亮度資料。In an embodiment of the invention, the step of determining the first minimum brightness data of the input image data comprises: inputting the input image data into the red brightness data, inputting the green brightness data, and inputting the blue brightness data via gamma conversion, and Determine the input of the red brightness data, input the green brightness data, and input the size of the blue brightness data to determine the first minimum brightness data.
在本發明的一實施例中,上述依據轉換後的輸入影像資料決定第二最小亮度資料的步驟包括:將轉換後的輸入影像資料的最大色相資料、最大飽和度資料以及最大明度資料由HSV色域轉換至RGB色域,以取得對應的最大紅色像素資料、最大綠色像素資料以及最大藍色像素資料;以及判斷最大紅色像素資料、最大綠色像素資料以及最大藍色像素資料的大小,以取得最小像素資料,並且經由伽瑪轉換將最小像素資料轉換為第二最小亮度資料。In an embodiment of the invention, the step of determining the second minimum brightness data according to the converted input image data comprises: converting the maximum hue data, the maximum saturation data, and the maximum brightness data of the converted input image data by the HSV color. The field is converted to the RGB color gamut to obtain the corresponding maximum red pixel data, the largest green pixel data, and the largest blue pixel data; and the maximum red pixel data, the largest green pixel data, and the maximum blue pixel data size are determined to obtain the minimum Pixel data, and the minimum pixel data is converted to a second minimum brightness data via gamma conversion.
在本發明的一實施例中,上述的依據第一最小亮度資料以及參考係數決定輸出紅色亮度資料、輸出綠色亮度資料以及輸出藍色亮度資料,並且依據第一最小亮度資料決定輸出白色亮度資料的步驟更包括:依據伽瑪參數對輸出紅色亮度資料、輸出綠色亮度資料、輸出藍色亮度資料以及輸出白色亮度資料執行伽瑪逆轉換,以產生輸出紅色像素資料、輸出綠色像素資料、輸出藍色像素資料以及輸出白色像素資料。In an embodiment of the invention, the determining, according to the first minimum brightness data and the reference coefficient, outputting the red brightness data, outputting the green brightness data, and outputting the blue brightness data, and determining the output white brightness data according to the first minimum brightness data. The step further comprises: performing gamma inverse conversion on the output red luminance data, the output green luminance data, the output blue luminance data, and the output white luminance data according to the gamma parameter to generate the output red pixel data, output the green pixel data, and output the blue color. Pixel data and output white pixel data.
本發明的時序控制器,適用於對輸入影像資料進行轉換,以產生輸出影像資料至驅動電路,並且藉由驅動電路驅動顯示面板。時序控制器色彩轉換模組。色彩轉換模組包括伽瑪轉換模組、色域轉換模組以及處理模組。伽瑪轉換模組用以依據伽瑪參數對輸入影像資料執行伽瑪轉換。色域轉換模組用以對輸入影像資料執行RGB色域以及HSV色域之間的色域轉換。處理模組用以將轉換後的輸入影像資料的最大明度資料調高至邊界值。處理模組依據轉換後的輸入影像資料決定第二最小亮度資料,並且依據第二最小亮度資料決定參考係數。處理模組依據第一最小亮度資料以及參考係數決定輸出紅色亮度資料、輸出綠色亮度資料以及輸出藍色亮度資料,並且依據第一最小亮度資料決定輸出白色亮度資料。The timing controller of the present invention is adapted to convert input image data to generate output image data to a driving circuit, and drive the display panel by the driving circuit. Timing controller color conversion module. The color conversion module includes a gamma conversion module, a color gamut conversion module, and a processing module. The gamma conversion module is configured to perform gamma conversion on the input image data according to the gamma parameter. The color gamut conversion module is configured to perform color gamut conversion between the RGB color gamut and the HSV color gamut on the input image data. The processing module is configured to increase the maximum brightness data of the converted input image data to a boundary value. The processing module determines the second minimum brightness data according to the converted input image data, and determines the reference coefficient according to the second minimum brightness data. The processing module determines the output red luminance data, the output green luminance data, and the output blue luminance data according to the first minimum luminance data and the reference coefficient, and determines the output white luminance data according to the first minimum luminance data.
在本發明的一實施例中,上述的伽瑪轉換模組依據伽瑪參數將輸入影像資料的輸入紅色像素資料、輸入綠色像素資料以及輸入藍色像素資料轉換為輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料。In an embodiment of the invention, the gamma conversion module converts the input red pixel data, the input green pixel data, and the input blue pixel data of the input image data into the input red brightness data according to the gamma parameter, and inputs the green brightness. Data and input blue brightness data.
在本發明的一實施例中,上述的伽瑪參數為2.2。In an embodiment of the invention, the gamma parameter is 2.2.
在本發明的一實施例中,上述的伽瑪轉換模組將輸入影像資料經由伽瑪轉換取得輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料,並且處理模組判斷輸入紅色亮度資料、輸入綠色亮度資料以及輸入藍色亮度資料的大小,以決定第一最小亮度資料。In an embodiment of the invention, the gamma conversion module obtains input red luminance data, inputs green luminance data, and inputs blue luminance data by gamma conversion, and the processing module determines the input red luminance data. Enter the green brightness data and the size of the blue brightness data to determine the first minimum brightness data.
在本發明的一實施例中,上述的色域轉換模組將轉換後的輸入影像資料的最大色相資料、最大飽和度資料以及最大明度資料由HSV色域轉換至RGB色域,以使處理模組取得對應的最大紅色像素資料、最大綠色像素資料以及最大藍色像素資料。處理模組判斷最大紅色像素資料、最大綠色像素資料以及最大藍色像素資料的大小,以決定最小像素資料,並且伽瑪轉換模組經由伽瑪轉換將最小像素資料轉換為第二最小亮度資料。In an embodiment of the invention, the color gamut conversion module converts the maximum hue data, the maximum saturation data, and the maximum brightness data of the converted input image data from the HSV color gamut to the RGB color gamut, so that the processing mode is The group obtains the corresponding maximum red pixel data, maximum green pixel data, and maximum blue pixel data. The processing module determines the maximum red pixel data, the maximum green pixel data, and the maximum blue pixel data size to determine the minimum pixel data, and the gamma conversion module converts the minimum pixel data into the second minimum brightness data via gamma conversion.
在本發明的一實施例中,上述的伽瑪轉換模組依據伽瑪參數對輸出紅色亮度資料、輸出綠色亮度資料、輸出藍色亮度資料以及輸出白色亮度資料執行伽瑪逆轉換,以產生輸出紅色像素資料、輸出綠色像素資料、輸出藍色像素資料以及輸出白色像素資料。In an embodiment of the invention, the gamma conversion module performs gamma inverse conversion on the output red luminance data, the output green luminance data, the output blue luminance data, and the output white luminance data according to the gamma parameter to generate an output. Red pixel data, output green pixel data, output blue pixel data, and output white pixel data.
基於上述,本發明的影像資料處理方法以及時序控制器可將輸入影像資料經由RGB色域轉換至HSV色域,並且調整轉換後的輸入影像資料的最大明度值調高至最大邊界值,再依據調整後的輸入影像資料來執行運算,以產生輸出影像資料,其中輸出影像資料包括輸出紅色像素資料、輸出綠色像素資料、輸出藍色像素資料以及輸出白色像素資料。也就是說,本發明的影像資料處理方法以及時序控制器可將RGB色域的影像資料經由處理以及運算,以使產生可有效驅動RGBW顯示面板的輸出影像資料。Based on the above, the image data processing method and the timing controller of the present invention can convert the input image data to the HSV color gamut via the RGB color gamut, and adjust the maximum brightness value of the converted input image data to the maximum boundary value, and then The adjusted input image data is used to perform an operation to generate output image data, wherein the output image data includes outputting red pixel data, outputting green pixel data, outputting blue pixel data, and outputting white pixel data. That is to say, the image data processing method and the timing controller of the present invention can process and calculate the image data of the RGB color gamut to generate output image data that can effectively drive the RGBW display panel.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.
以下提出多個實施例來說明本發明,然而本發明不限於所例示的多個實施例。又實施例之間也允許有適當的結合。The following examples are presented to illustrate the invention, but the invention is not limited to the illustrated embodiments. Further combinations are also allowed between the embodiments.
圖1是依照本發明的一實施例的時序控制器的示意圖。參考圖1,時序控制器100耦接驅動電路200,並且驅動電路200耦接顯示面板300。在本實施例中,時序控制器100藉由驅動電路200來驅動顯示面板300。驅動電路200可例如包括源極驅動電路以及閘極驅動電路等。在本實施例中,時序控制器100包括色彩轉換模組110,並且色彩轉換模組110可包括處理模組111、伽瑪轉換模組112以及色域轉換模組113。在本實施例中,顯示面板300可為配置在液晶顯示器(Liquid Crystal Display, LCD)或有機發光二極體顯示器(Organic Light Emitting Diode, OLED)等諸如此類的顯示器當中的RGBW顯示面板(Red-Green-Blue-White)。並且,顯示面板300可包括四種像素,其中分別為紅色像素(R)、綠色像素(G)、藍色像素(B)以及白色像素(W)。在本實施例中,時序控制器100可具有處理器以及儲存裝置。儲存裝置可為動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)。儲存裝置可儲存多個模組,其中可至少包括色彩轉換模組110的處理模組111、伽瑪轉換模組112以及色域轉換模組113。並且,處理器可用以執行色彩轉換模組110當中的這些模組,以實現本發明的各實施例所述的影像資料處理方法。然而,在一實施例中,色彩轉換模組110的處理模組111、伽瑪轉換模組112以及色域轉換模組113也可以硬體的形式實現之,本發明並不加以限制。1 is a schematic diagram of a timing controller in accordance with an embodiment of the present invention. Referring to FIG. 1 , the timing controller 100 is coupled to the driving circuit 200 , and the driving circuit 200 is coupled to the display panel 300 . In the present embodiment, the timing controller 100 drives the display panel 300 by the driving circuit 200. The drive circuit 200 may include, for example, a source drive circuit and a gate drive circuit or the like. In this embodiment, the timing controller 100 includes a color conversion module 110, and the color conversion module 110 can include a processing module 111, a gamma conversion module 112, and a color gamut conversion module 113. In this embodiment, the display panel 300 can be an RGBW display panel (Red-Green) disposed in a display such as a liquid crystal display (LCD) or an Organic Light Emitting Diode (OLED). -Blue-White). Also, the display panel 300 may include four types of pixels, among which are a red pixel (R), a green pixel (G), a blue pixel (B), and a white pixel (W). In the present embodiment, the timing controller 100 can have a processor and a storage device. The storage device can be a Dynamic Random Access Memory (DRAM). The storage device can store a plurality of modules, and at least the processing module 111, the gamma conversion module 112, and the color gamut conversion module 113 of the color conversion module 110 can be included. Moreover, the processor can be used to execute the modules in the color conversion module 110 to implement the image data processing method according to various embodiments of the present invention. However, in an embodiment, the processing module 111, the gamma conversion module 112, and the color gamut conversion module 113 of the color conversion module 110 can also be implemented in a hardware form, which is not limited by the present invention.
在本實施例中,時序控制器100可用以接收具有紅色像素資料、綠色像素資料以及藍色像素資料的輸入影像資料I1,並且對輸入影像資料進行轉換以及運算,以使產生具有紅色像素資料、綠色像素資料、藍色像素資料以及白色像素資料的輸出影像資料I2,並且用以驅動顯示面板300。換句話說,時序控制器100可依據RGB格式的輸入影像資料I1來對應產生RGBW格式的輸出影像資料I2。In this embodiment, the timing controller 100 can be configured to receive the input image data I1 having the red pixel data, the green pixel data, and the blue pixel data, and convert and calculate the input image data to generate the red pixel data. The green pixel data, the blue pixel data, and the output image data I2 of the white pixel data are used to drive the display panel 300. In other words, the timing controller 100 can correspondingly generate the output image data I2 in the RGBW format according to the input image data I1 in the RGB format.
圖2是依照本發明的一實施例的影像資料處理方法的流程圖。參考圖1、圖2,本實施例的影像資料處理方法可至少適用於圖1的時序控制器100。影像資料處理方法可包括以下步驟。首先,在步驟S310中,伽瑪轉換模組112可依據伽瑪參數對輸入影像資料I1執行伽瑪轉換(gamma transform),並且決定輸入影像資料的第一最小亮度資料。在本實施例中,伽瑪轉換模組112可依據以下公式(1)至公式(3)進行伽瑪轉換。 ………………(1) ………………(2) ………………(3) 2 is a flow chart of a method of processing image data in accordance with an embodiment of the present invention. Referring to FIGS. 1 and 2, the image data processing method of the present embodiment can be applied at least to the timing controller 100 of FIG. The image data processing method may include the following steps. First, in step S310, the gamma conversion module 112 may perform a gamma transform on the input image data I1 according to the gamma parameter, and determine a first minimum brightness data of the input image data. In the present embodiment, the gamma conversion module 112 can perform gamma conversion according to the following formulas (1) to (3). ………………(1) ………………(2) ..................(3)
在本實施例中,上述的符號R為輸入紅色像素資料、符號G為輸入綠色像素資料、符號B為輸入藍色像素資料、符號RL為輸入紅色亮度資料、符號GL為輸入綠色亮度資料、符號BL為輸入藍色亮度資料,以及符號Gamma為伽瑪參數。具體來說,本實施例的伽瑪轉換模組112可依據伽瑪參數Gamma對輸入影像資料I1的輸入紅色像素資料R、輸入綠色像素資料G以及輸入藍色像素資料B執行伽瑪轉換,以產生輸入紅色亮度資料RL、輸入綠色亮度資料GL以及輸入藍色亮度資料BL。也就是說,伽瑪轉換模組112可將輸入影像資料I1當中的紅色、綠色以及藍色的像素資料經由伽瑪轉換,以使產生對應的紅色、綠色以及藍色的亮度資料。In this embodiment, the symbol R is the input red pixel data, the symbol G is the input green pixel data, the symbol B is the input blue pixel data, the symbol RL is the input red luminance data, the symbol GL is the input green luminance data, the symbol is the input green luminance data, the symbol BL is the input blue luminance data, and the symbol Gamma is the gamma parameter. Specifically, the gamma conversion module 112 of the embodiment may perform gamma conversion on the input red pixel data R, the input green pixel data G, and the input blue pixel data B of the input image data I1 according to the gamma parameter Gamma. An input red luminance data RL, an input green luminance data GL, and an input blue luminance data BL are generated. That is, the gamma conversion module 112 can convert the red, green, and blue pixel data in the input image data I1 via gamma to generate corresponding red, green, and blue luminance data.
值得注意的是,上述的伽瑪參數Gamma可設定為2.2,但本發明並不限於此。在一實施例中,伽瑪參數Gamma也可依據不同面板規格或使用者需求而決定之。It is to be noted that the above gamma parameter Gamma can be set to 2.2, but the present invention is not limited thereto. In an embodiment, the gamma parameter Gamma may also be determined according to different panel specifications or user requirements.
在本實施例中,處理模組111可依據輸入紅色亮度資料RL、輸入綠色亮度資料GL、輸入藍色亮度資料BL,選擇其中之一個最小值做為第一最小亮度資料。在本實施例中,處理模組111可依據以下公式(4)進行選擇。 ………………(4) In this embodiment, the processing module 111 can select one of the minimum values as the first minimum brightness data according to the input red brightness data RL, the input green brightness data GL, and the input blue brightness data BL. In this embodiment, the processing module 111 can select according to the following formula (4). ..................(4)
在本實施例中,上述的符號mL為第一最小亮度資料。具體來說,本實施例的處理模組111可將輸入影像資料經由伽瑪轉換取得輸入紅色亮度資料RL、輸入綠色亮度資料GL以及輸入藍色亮度資料BL,並且判斷輸入紅色亮度資料RL、輸入綠色亮度資料GL以及輸入藍色亮度資料BL的大小,以決定第一最小亮度資料mL。In the embodiment, the above symbol mL is the first minimum brightness data. Specifically, the processing module 111 of the embodiment can obtain the input red luminance data RL, the input green luminance data GL, and the input blue luminance data BL by gamma conversion, and determine the input red luminance data RL and input. The green brightness data GL and the size of the blue brightness data BL are input to determine the first minimum brightness data mL.
接著,在步驟S320中,時序控制器100可藉由色域轉換模組113將輸入影像資料I1由RGB色域轉換至HSV色域(Hue, Saturation, Value)。在本實施例中,色域轉換模組113可依據以下公式(5)進行轉換。 ………………(5) Next, in step S320, the timing controller 100 can convert the input image data I1 from the RGB color gamut to the HSV color gamut (Hue, Saturation, Value) by the color gamut conversion module 113. In this embodiment, the color gamut conversion module 113 can perform conversion according to the following formula (5). ..................(5)
在本實施例中,上述的符號hMax為最大色相資料、符號sMax為最大飽和度資料、符號vMax為最大明度資料。在本實施例中,處理模組111可將最大明度資料vMax調高至邊界值。也就是說,處理模組111將最大明度資料vMax直接設定為1(最高明度)。在本實施例中,處理模組111可依據以下公式(6)進行明度資料調整。 ………………(6) In this embodiment, the above symbol hMax is the maximum hue data, the symbol sMax is the maximum saturation data, and the symbol vMax is the maximum brightness data. In this embodiment, the processing module 111 can increase the maximum brightness data vMax to a boundary value. That is, the processing module 111 directly sets the maximum brightness data vMax to 1 (highest brightness). In this embodiment, the processing module 111 can perform brightness data adjustment according to the following formula (6). ..................(6)
接著,在步驟S330中,處理模組111可依據轉換後的輸入影像資料決定第二最小亮度資料。先參考圖3,圖3是依照本發明的一實施例的計算第二最小亮度的流程圖。在步驟S331中,色域轉換模組113可將轉換後的輸入影像資料I1的最大色相資料hMax、最大飽和度資料sMax以及最大明度資料vMax由HSV色域轉換至RGB色域,以取得對應的最大紅色像素資料、最大綠色像素資料以及最大藍色像素資料。在本實施例中,色域轉換模組113可依據以下公式(7)進行轉換。 ………………(7) Next, in step S330, the processing module 111 can determine the second minimum brightness data according to the converted input image data. Referring first to FIG. 3, FIG. 3 is a flow chart for calculating a second minimum brightness in accordance with an embodiment of the present invention. In step S331, the color gamut conversion module 113 can convert the maximum hue data hMax, the maximum saturation data sMax, and the maximum brightness data vMax of the converted input image data I1 from the HSV color gamut to the RGB color gamut to obtain corresponding Maximum red pixel data, maximum green pixel data, and maximum blue pixel data. In this embodiment, the color gamut conversion module 113 can perform conversion according to the following formula (7). ..................(7)
在本實施例中,上述的符號rMax為最大紅色像素資料、符號gMax為最大綠色像素資料以及符號bMax為最大藍色像素資料。接著,在步驟S332中,處理模組111可判斷最大紅色像素資料rMax、最大綠色像素資料gMax以及最大藍色像素資料bMax的大小,以取得對小像素資料,並且再經由伽瑪轉換模組112執行伽瑪轉換,將最小像素資料轉換為第二最小亮度資料。在本實施例中,處理模組111可依據以下公式(8)執行運算,並且伽瑪轉換模組112可依據以下公式(9)執行轉換。 ………………(8) ………………(9) In this embodiment, the symbol rMax is the maximum red pixel data, the symbol gMax is the maximum green pixel data, and the symbol bMax is the maximum blue pixel data. Then, in step S332, the processing module 111 can determine the size of the maximum red pixel data rMax, the maximum green pixel data gMax, and the maximum blue pixel data bMax to obtain the small pixel data, and then pass the gamma conversion module 112. A gamma conversion is performed to convert the minimum pixel data into a second minimum luminance data. In this embodiment, the processing module 111 can perform an operation according to the following formula (8), and the gamma conversion module 112 can perform the conversion according to the following formula (9). ………………(8) ………………(9)
在本實施例中,上述的符號mLmax為第二最小亮度資料。再參照圖2,在步驟S330中,處理模組111可依據第二最小亮度資料mLmax決定參考係數。在本實施例中,處理模組111可依據以下公式(10)進行運算。 ………………(10) In this embodiment, the above symbol mLmax is the second minimum luminance data. Referring again to FIG. 2, in step S330, the processing module 111 can determine the reference coefficient according to the second minimum luminance data mLmax. In this embodiment, the processing module 111 can perform operations according to the following formula (10). ..................(10)
在本實施例中,上述的符號k為參考係數。最後,在步驟S340中,處理模組111可依據第一最小亮度資料mL以及參考係數k決定輸出紅色亮度資料、輸出綠色亮度資料以及輸出藍色亮度資料,並且依據第一最小亮度資料mL決定輸出白色亮度資料。在本實施例中,處理模組111可依據以下公式(11)至公式(14)進行運算。 ………………(11) ………………(12) ………………(13) ………………(14) In the present embodiment, the above symbol k is a reference coefficient. Finally, in step S340, the processing module 111 can determine the output red luminance data, the output green luminance data, and the output blue luminance data according to the first minimum luminance data mL and the reference coefficient k, and determine the output according to the first minimum luminance data mL. White brightness data. In this embodiment, the processing module 111 can perform operations according to the following formulas (11) to (14). ..................(11) ..................(12) ..................(13) ..................(14)
在本實施例中,上述的符號RLp為輸出紅色亮度資料、GLp為輸出綠色亮度資料、BLp為輸出藍色亮度資料以及WLp為輸出白色亮度資料。也就是說,本實施例的處理模組111可依據上述計算出的第一最小亮度資料mL以及參考係數k來調整原始的輸入影像資料I1的輸入紅色亮度資料RL、輸入綠色亮度資料GL以及輸入藍色亮度資料BL,以產生輸出紅色亮度資料RLp、輸出綠色亮度資料GLp以及輸出藍色亮度資料BLp。並且,處理模組111更依據上述計算出的第一最小亮度資料mL直接做為輸出白色亮度資料WLp。In this embodiment, the symbol RLp is output red luminance data, GLp is output green luminance data, BLp is output blue luminance data, and WLp is output white luminance data. In other words, the processing module 111 of the embodiment can adjust the input red luminance data RL, the input green luminance data GL, and the input of the original input image data I1 according to the calculated first minimum luminance data mL and the reference coefficient k. The blue luminance data BL is generated to generate an output red luminance data RLp, an output green luminance data GLp, and an output blue luminance data BLp. Moreover, the processing module 111 directly uses the first minimum brightness data mL calculated as the output white brightness data WLp.
在本實施例中,伽瑪轉換模組112可依據伽瑪參數對上述的輸出紅色亮度資料RLp、輸出綠色亮度資料GLp、輸出藍色亮度資料BLp以及輸出白色亮度資料WLp執行伽瑪逆轉換,以產生輸出紅色像素資料、輸出綠色像素資料、輸出藍色像素資料以及輸出白色像素資料。在本實施例中,伽瑪轉換模組112可依據以下公式(15)至公式(18)進行轉換。 ………………(15) ………………(16) ………………(17) ………………(18) In this embodiment, the gamma conversion module 112 performs gamma inverse conversion on the output red luminance data RLp, the output green luminance data GLp, the output blue luminance data BLp, and the output white luminance data WLp according to the gamma parameter. To generate output red pixel data, output green pixel data, output blue pixel data, and output white pixel data. In this embodiment, the gamma conversion module 112 can perform conversion according to the following formulas (15) to (18). ..................(15) ..................(16) ..................(17) ..................(18)
在本實施例中,上述的符號Rp為輸出紅色像素資料、符號Gp為輸出綠色像素資料、符號Bp為輸出藍色像素資料以及符號Wp為輸出白色像素資料。在本實施例中,時序控制器100可依據上述計算而得的輸出紅色像素資料Rp、輸出綠色像素資料Gp、輸出藍色像素資料Bp以及輸出白色像素資料Wp來產生輸出影像資料I2,並且藉由輸出影像資料I2來驅動顯示面板300。因此,本實施例的RGBW顯示面板300當中的紅色像素、綠色像素、藍色像素以及白色像素可依據輸出影像資料I2而被有效驅動。In this embodiment, the symbol Rp is the output red pixel data, the symbol Gp is the output green pixel data, the symbol Bp is the output blue pixel data, and the symbol Wp is the output white pixel data. In this embodiment, the timing controller 100 can generate the output image data I2 according to the calculated red pixel data Rp, the output green pixel data Gp, the output blue pixel data Bp, and the output white pixel data Wp. The display panel 300 is driven by the output image data I2. Therefore, the red pixel, the green pixel, the blue pixel, and the white pixel among the RGBW display panel 300 of the present embodiment can be effectively driven according to the output image data I2.
綜上所述,本發明的影像資料處理方法以及時序控制器可將輸入影像資料經由RGB色域轉換至HSV色域,以取得第一最小亮度資料。並且,本發明的影像資料處理方法以及時序控制器可調整轉換後的輸入影像資料的最大明度值調整至邊界值(最高明度),且再依據調整後的輸入影像資料來運算參考係數。最後,本發明的影像資料處理方法以及時序控制器可依據第一最小亮度資料以及參考係數來調整原始輸入的各顏色亮度,並且產生白色亮度資料,進而產生具有紅色、綠色、藍色以及白色像素資料的輸出影像資料。據此,本發明的影像資料處理方法以及時序控制器產生的輸出影像資料可有效驅動RGBW顯示面板,並且可使RGBW顯示面板提供良好的顯示品質。 In summary, the image data processing method and the timing controller of the present invention can convert the input image data to the HSV color gamut via the RGB color gamut to obtain the first minimum luminance data. Moreover, the image data processing method and the timing controller of the present invention can adjust the maximum brightness value of the converted input image data to a boundary value (highest brightness), and then calculate the reference coefficient according to the adjusted input image data. Finally, the image data processing method and the timing controller of the present invention can adjust the brightness of each color of the original input according to the first minimum brightness data and the reference coefficient, and generate white brightness data, thereby generating pixels having red, green, blue, and white colors. Output image data of the data. Accordingly, the image data processing method of the present invention and the output image data generated by the timing controller can effectively drive the RGBW display panel, and the RGBW display panel can provide good display quality.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
100‧‧‧時序控制器 100‧‧‧ timing controller
110‧‧‧色彩轉換模組 110‧‧‧Color Conversion Module
111‧‧‧處理模組 111‧‧‧Processing module
112‧‧‧伽瑪轉換模組 112‧‧‧Gamma conversion module
113‧‧‧色域轉換模組 113‧‧‧Color Gamut Conversion Module
200‧‧‧驅動電路 200‧‧‧ drive circuit
300‧‧‧顯示面板 300‧‧‧ display panel
I1‧‧‧輸入影像資料 I1‧‧‧ Input image data
I2‧‧‧輸出影像資料 I2‧‧‧ output image data
S410、S420、S430、S431、S432、S440‧‧‧步驟 S410, S420, S430, S431, S432, S440‧‧ steps
圖1是依照本發明的一實施例的時序控制器的示意圖。 圖2是依照本發明的一實施例的影像資料處理方法的流程圖。 圖3是依照本發明的一實施例的計算第二最小亮度的流程圖。1 is a schematic diagram of a timing controller in accordance with an embodiment of the present invention. 2 is a flow chart of a method of processing image data in accordance with an embodiment of the present invention. 3 is a flow chart for calculating a second minimum brightness in accordance with an embodiment of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106118057A TWI627624B (en) | 2017-06-01 | 2017-06-01 | Image data processing method and timing controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106118057A TWI627624B (en) | 2017-06-01 | 2017-06-01 | Image data processing method and timing controller |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI627624B true TWI627624B (en) | 2018-06-21 |
TW201903746A TW201903746A (en) | 2019-01-16 |
Family
ID=63255921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106118057A TWI627624B (en) | 2017-06-01 | 2017-06-01 | Image data processing method and timing controller |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI627624B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11138953B1 (en) | 2020-05-20 | 2021-10-05 | Himax Technologies Limited | Method for performing dynamic peak brightness control in display module, and associated timing controller |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI779794B (en) * | 2021-08-23 | 2022-10-01 | 大陸商集創北方(珠海)科技有限公司 | Current limiting method, driving circuit and display based on picture brightness distribution |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050243349A1 (en) * | 2004-04-19 | 2005-11-03 | Tatsuya Aoyama | Image processing method, image processing apparatus, and image processing program |
TW201040936A (en) * | 2009-05-13 | 2010-11-16 | Chunghwa Picture Tubes Ltd | Color transforming method and corresponding color displaying method |
CN101909215A (en) * | 2009-06-05 | 2010-12-08 | 华映视讯(吴江)有限公司 | Color conversion method and corresponding color display method thereof |
TW201349880A (en) * | 2012-05-21 | 2013-12-01 | Univ Tamkang | Color adjusting method and system thereof |
-
2017
- 2017-06-01 TW TW106118057A patent/TWI627624B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050243349A1 (en) * | 2004-04-19 | 2005-11-03 | Tatsuya Aoyama | Image processing method, image processing apparatus, and image processing program |
TW201040936A (en) * | 2009-05-13 | 2010-11-16 | Chunghwa Picture Tubes Ltd | Color transforming method and corresponding color displaying method |
CN101909215A (en) * | 2009-06-05 | 2010-12-08 | 华映视讯(吴江)有限公司 | Color conversion method and corresponding color display method thereof |
TW201349880A (en) * | 2012-05-21 | 2013-12-01 | Univ Tamkang | Color adjusting method and system thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11138953B1 (en) | 2020-05-20 | 2021-10-05 | Himax Technologies Limited | Method for performing dynamic peak brightness control in display module, and associated timing controller |
TWI745062B (en) * | 2020-05-20 | 2021-11-01 | 奇景光電股份有限公司 | Timing controller applicable to performing dynamic peak brightness control in display module |
Also Published As
Publication number | Publication date |
---|---|
TW201903746A (en) | 2019-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10896635B2 (en) | Primary color conversion method and converter thereof, display control method, and display device | |
TWI498872B (en) | Method and apparatus for converting rgb data signals to rgbw data signals in an oled display | |
KR102194571B1 (en) | Method of data conversion and data converter | |
TWI427608B (en) | Rgbw displaying apparatus and method of controlling the same | |
US10366673B2 (en) | Display device and image processing method thereof | |
US10347198B2 (en) | Image displaying methods and display devices | |
TWI463464B (en) | Backlight adjustment device of a display and method thereof | |
WO2017004817A1 (en) | Image display method and display system | |
JP6440338B2 (en) | Image data processing method and apparatus | |
TWI647683B (en) | Electronic device, display driver, and display data generating method of display panel | |
CN108962167A (en) | Data processing method and device, driving method, display panel and storage medium | |
CN109147713B (en) | Image data processing method and time schedule controller | |
TW201545156A (en) | Signal conversion method for display image | |
WO2019080446A1 (en) | Display apparatus driving method, and display apparatus | |
TWI627624B (en) | Image data processing method and timing controller | |
JP2022064304A (en) | Ir drop compensation for display panel including region of different pixel layouts | |
TW201312531A (en) | Multi-primary color LCD and color signal conversion device and method thereof | |
JP6373478B2 (en) | Liquid crystal display device and driving method thereof | |
JP6551230B2 (en) | Signal generation device and image display device | |
TWI637382B (en) | Image data processing method and timing controller | |
US9569999B2 (en) | Signal generation apparatus, signal generation program, signal generation method, and image display apparatus | |
TWI575506B (en) | Display control unit, display device and display control method | |
US20210201850A1 (en) | Display Device and Driving Method Thereof | |
CN109427315B (en) | Image data processing method and time schedule controller | |
TWI661420B (en) | Brightness adjustment method and display |