[go: up one dir, main page]

TWI849990B - Color gamut calibration method and color gamut calibration system - Google Patents

Color gamut calibration method and color gamut calibration system Download PDF

Info

Publication number
TWI849990B
TWI849990B TW112123256A TW112123256A TWI849990B TW I849990 B TWI849990 B TW I849990B TW 112123256 A TW112123256 A TW 112123256A TW 112123256 A TW112123256 A TW 112123256A TW I849990 B TWI849990 B TW I849990B
Authority
TW
Taiwan
Prior art keywords
color gamut
grayscale
grayscale value
data
value
Prior art date
Application number
TW112123256A
Other languages
Chinese (zh)
Other versions
TW202502033A (en
Inventor
高涵
田志民
翟天辰
楊惠
陳池
潘梅卿
姬治華
于學敏
任星
馮仁秀
Original Assignee
大陸商北京集創北方科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW112123256A priority Critical patent/TWI849990B/en
Application granted granted Critical
Publication of TWI849990B publication Critical patent/TWI849990B/en
Publication of TW202502033A publication Critical patent/TW202502033A/en

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

本發明揭示一種色域校準方法,其首先將一輸入RGB灰階數據之中的一組m個原始數據節點及其對應m個目標數據節點轉換至XYZ色彩空間,並自該顯示裝置測得對應的m個量測數據節點。當量測數據節點和目標數據節點的色差值未在誤差範圍內之時,先對該m個原始數據節點進行迭代更新,接著重新計算色差值,直至色差值小於誤差範圍便停止迭代更新。之後,於該輸入RGB灰階數據之中選擇下一組m個原始數據節點及其對應m個目標數據節點,並重複相同的RGB灰階數據校準步驟。並且,選擇下一組m個原始數據節點時,可以執行一傳值操作,從而依據已完成校準的前一組m個原色域數據節點決定下一組m個原色域數據節點,藉此方式加速運算速度。The present invention discloses a color gamut calibration method, which first converts a group of m original data nodes and their corresponding m target data nodes in an input RGB grayscale data into an XYZ color space, and measures the corresponding m measured data nodes from the display device. When the color difference value between the measured data node and the target data node is not within the error range, the m original data nodes are first iteratively updated, and then the color difference value is recalculated until the color difference value is less than the error range, and the iterative update is stopped. Afterwards, the next group of m original data nodes and their corresponding m target data nodes are selected from the input RGB grayscale data, and the same RGB grayscale data calibration steps are repeated. Furthermore, when selecting the next group of m original data nodes, a value transfer operation can be performed, thereby determining the next group of m original color domain data nodes based on the previous group of m original color domain data nodes that have completed calibration, thereby accelerating the calculation speed.

Description

色域校準方法以及色域校準系統Color gamut calibration method and color gamut calibration system

本發明為平面顯示裝置的相關技術領域,尤指一種色域校準方法,其利用3D-LUT完成顯示裝置/顯示驅動晶片的出廠前色域校準。The present invention relates to the field of flat panel display devices, and more particularly to a color gamut calibration method that utilizes a 3D-LUT to perform color gamut calibration of a display device/display driver chip before shipment.

已知,平面顯示器包含非自發光型平面顯示器以及自發光型平面顯示器,其中液晶顯示器為使用已久的一種非自發光型平面顯示器,而有機發光二極體(Organic light-emitting diode, OLED)顯示器以及發光二極體(Light-emitting diode, LED)顯示器則為目前具有主流應用的自發光型平面顯示器。圖1為習知的一種OLED顯示裝置的方塊圖。如圖1所示,習知的OLED顯示裝置1a包括:一OLED面板11a以及至少一個顯示驅動晶片(Display driver IC, DDIC)12a,其中該顯示驅動晶片12a自一上位機2a(如:智慧型手機的應用處理器)接收一輸入顯示數據(即,RGB灰階數據),並將該輸入顯示數據預處理為一顯示驅動數據(即,VDATA),最終依據該輸出顯示數據對該OLED面板11a進行顯示驅動。As is known, flat panel displays include non-self-luminous flat panel displays and self-luminous flat panel displays, wherein liquid crystal displays are a type of non-self-luminous flat panel displays that have been used for a long time, while organic light-emitting diode (OLED) displays and light-emitting diode (LED) displays are self-luminous flat panel displays that are currently in mainstream applications. FIG1 is a block diagram of a known OLED display device. As shown in FIG. 1 , a known OLED display device 1a includes an OLED panel 11a and at least one display driver IC (DDIC) 12a, wherein the display driver IC 12a receives an input display data (i.e., RGB grayscale data) from a host computer 2a (e.g., an application processor of a smart phone), pre-processes the input display data into a display driver data (i.e., VDATA), and finally drives the OLED panel 11a for display according to the output display data.

應知道,色域(color gamut)用以表示該顯示面板11a所能顯示的色彩範圍區塊。在同一種色彩空間裡,色域百分比越高,該顯示面板11a所能顯示的色彩範圍就越廣。為了更加清楚地定義色域,國際照明協會(International Commission on Illumination, CIE)制定了一個用於描述色域的方法:CIE-xyY色度圖。圖2即顯示習知的CIE-xy色度圖。依目前的行業定義,智慧型手機和顯示器所稱廣色域是指高於100%sRGB色域。簡單地說,sRGB、P3色域為廣色域平面顯示裝置所使用的顏色系統。It should be known that the color gamut is used to indicate the color range that the display panel 11a can display. In the same color space, the higher the color gamut percentage, the wider the color range that the display panel 11a can display. In order to define the color gamut more clearly, the International Commission on Illumination (CIE) has developed a method for describing the color gamut: the CIE-xyY chromaticity diagram. Figure 2 shows the known CIE-xy chromaticity diagram. According to the current industry definition, the so-called wide color gamut of smartphones and displays refers to a color gamut higher than 100% sRGB. Simply put, the sRGB and P3 color gamuts are color systems used by wide color gamut flat panel display devices.

相較於傳統的LCD面板的最佳色域最高僅達72% NTSC,OLED顯示面板具有廣色域的特色,其最佳色域已可達甚至超越100% NTSC。可惜的是,如圖2所示,實際產出的OLED顯示面板的色域表現仍舊不符合標準的sRGB色域。因此,在用以驅動OLED面板11a的該顯示驅動晶片12a出廠前,廠商會先執行一色域校準流程,從而產生設置在該顯示驅動晶片12a之中的一個用於實現色域映射(或稱色域校準)的查找表(Look-up table, LUT)121a。如此,在自上位機2a接收一輸入顯示數據(即,RGB灰階數據)之後,該顯示驅動晶片12a通過查找該查找表121a的方式,將該輸入顯示數據映射為一輸出顯示數據,接著將該輸入顯示數據預處理為一顯示驅動數據(即,VDATA)。最終,該顯示驅動晶片12a依據該輸出顯示數據對該OLED面板11a進行顯示驅動,從而使該OLED面板11a在顯示圖像時的色域表現能夠符合標準的sRGB色域。Compared to the best color gamut of traditional LCD panels, which is only 72% NTSC at most, OLED display panels have the characteristics of wide color gamut, and their best color gamut can reach or even exceed 100% NTSC. Unfortunately, as shown in FIG. 2, the color gamut performance of the actual OLED display panel still does not meet the standard sRGB color gamut. Therefore, before the display driver chip 12a used to drive the OLED panel 11a is shipped, the manufacturer will first perform a color gamut calibration process, thereby generating a look-up table (LUT) 121a set in the display driver chip 12a for implementing color gamut mapping (or color gamut calibration). Thus, after receiving an input display data (i.e., RGB grayscale data) from the host computer 2a, the display driver chip 12a maps the input display data into an output display data by searching the lookup table 121a, and then pre-processes the input display data into a display drive data (i.e., VDATA). Finally, the display driver chip 12a drives the OLED panel 11a for display according to the output display data, so that the color gamut performance of the OLED panel 11a when displaying images can meet the standard sRGB color gamut.

為了產生所述查找表121a,現有技術是將該OLED面板11a的色彩空間按照測量點劃分為小的色彩空間。接著,在範圍更小的色彩空間中,在驅動該OLED面板11a顯示複數個測試圖像的情況下進行RGBW色坐標的測量,接著計算該OLED面板11a的色域與目標色域(即,sRGB或P3)之間的轉換矩陣,並產生查找表。之後,將查找表寫入該顯示驅動晶片12a之中,接著重複前述RGBW色坐標的測量步驟以確認查找表示是否滿足誤差範圍。如此,經過多次迭代之後,便可以獲得滿足誤差範圍的查找表。In order to generate the lookup table 121a, the prior art is to divide the color space of the OLED panel 11a into small color spaces according to the measurement points. Then, in the color space with a smaller range, the RGBW color coordinates are measured while driving the OLED panel 11a to display multiple test images, and then the conversion matrix between the color gamut of the OLED panel 11a and the target color gamut (i.e., sRGB or P3) is calculated, and a lookup table is generated. After that, the lookup table is written into the display driver chip 12a, and then the aforementioned RGBW color coordinate measurement step is repeated to confirm whether the lookup representation meets the error range. In this way, after multiple iterations, a lookup table that meets the error range can be obtained.

然而,實務經驗指出,想要產生更精確的查找表意味著必須將該OLED面板11a的色彩空間劃分成範圍更小的色彩空間以獲得大量的測量點。但是,大量的測量點同時進行迭代,反而造成迭代的時間變長,甚至出現無法收斂的情況。由此可知,習知技術之色域校準流程仍存在需要加以改善之處。However, practical experience shows that in order to generate a more accurate lookup table, the color space of the OLED panel 11a must be divided into smaller color spaces to obtain a large number of measurement points. However, iterating a large number of measurement points at the same time will increase the iteration time and even lead to a situation where convergence cannot occur. Therefore, it can be seen that the color gamut calibration process of the prior art still needs to be improved.

由上述說明可知,本領域亟需一種新式的色域校準方法。From the above description, it can be seen that a new color gamut calibration method is urgently needed in this field.

本發明之主要目的在於提供一種色域校準方法,其係由一色域校準系統執行。在該色域校準方法中,首先將一輸入RGB灰階數據之中的一組m個原始數據節點及其對應m個目標數據節點轉換至XYZ色彩空間,並自該顯示裝置測得對應的m個量測數據節點。當量測數據節點和目標數據節點的色差值未在誤差範圍內之時,先對該m個原始數據節點進行迭代更新,接著重新計算色差值,直至色差值小於誤差範圍便停止迭代更新。之後,於該輸入RGB灰階數據之中選擇下一組m個原始數據節點及其對應m個目標數據節點,並重複相同的RGB灰階數據校準步驟。並且,選擇下一組m個原始數據節點時,可以執行一傳值操作,從而依據已完成校準的前一組m個原色域數據節點決定下一組m個原色域數據節點,藉此方式加速運算速度。The main purpose of the present invention is to provide a color gamut calibration method, which is performed by a color gamut calibration system. In the color gamut calibration method, a group of m original data nodes and their corresponding m target data nodes in an input RGB grayscale data are first converted to an XYZ color space, and the corresponding m measured data nodes are measured from the display device. When the color difference value between the measured data node and the target data node is not within the error range, the m original data nodes are first iteratively updated, and then the color difference value is recalculated until the color difference value is less than the error range and the iterative update is stopped. Afterwards, the next group of m original data nodes and their corresponding m target data nodes are selected from the input RGB grayscale data, and the same RGB grayscale data calibration steps are repeated. Furthermore, when selecting the next group of m original data nodes, a value transfer operation can be performed, thereby determining the next group of m original color domain data nodes based on the previous group of m original color domain data nodes that have completed calibration, thereby accelerating the calculation speed.

為達成上述目的,本發明提出所述色域校準方法的一實施例,其係由一色域校準系統執行,且包括以下步驟: 依據傳送至一顯示驅動晶片的一輸入RGB灰階數據建立一個三維查找表;其中,該三維查找表的第一數據軸、第二數據軸與第三數據軸分別為RGB色彩空間的R軸、G軸與B軸; 執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點,其中m為正整數; 執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值;其中,X、Y、Z為CIE1931色彩空間的三激值(tristimulus values); 在一顯示面板受該顯示驅動晶片驅動的情況下,對該顯示面板執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值; 執行一色差值計算操作,從而利用該m組XYZ量測值和該m組XYZ目標值計算出m個色差值; 在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述之轉換操作、量測操作以及色差值計算操作; 在重複前述迭代更新操作、轉換操作、量測操作以及色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作,並接著對下一組m個原色域數據節點執行所述轉換操作、所述量測操作、所述色差值計算操作以及所述迭代更新操作;以及 將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據。 To achieve the above-mentioned purpose, the present invention proposes an embodiment of the color gamut calibration method, which is executed by a color gamut calibration system and includes the following steps: Establish a three-dimensional lookup table based on an input RGB grayscale data transmitted to a display driver chip; wherein the first data axis, the second data axis and the third data axis of the three-dimensional lookup table are respectively the R axis, the G axis and the B axis of the RGB color space; Perform a data node selection operation to select a group of m primary color gamut data nodes from the three-dimensional lookup table, wherein m is a positive integer; Perform a conversion operation to convert the m primary color gamut data nodes into m groups of XYZ target values corresponding to m target color gamut data nodes; wherein X, Y, and Z are tristimulus values (tristimulus values); When a display panel is driven by the display driver chip, a measurement operation is performed on the display panel to measure m sets of XYZ measurement values corresponding to the m original color gamut data nodes; A color difference value calculation operation is performed to calculate m color difference values using the m sets of XYZ measurement values and the m sets of XYZ target values; When the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color gamut data nodes, and then the aforementioned conversion operation, measurement operation and color difference value calculation operation are repeatedly performed; After repeating the aforementioned iterative update operation, conversion operation, measurement operation and color difference value calculation operation until each original color gamut data node is corrected to the corresponding color difference value being less than the predetermined value, the next data node selection operation is performed, and then the conversion operation, the measurement operation, the color difference value calculation operation and the iterative update operation are performed on the next group of m original color gamut data nodes; and the processed multiple original color gamut data nodes are stored as an output RGB grayscale data corresponding to the input RGB grayscale data.

在一實施例中,該色域校準系統利用以下數學式(1)、(2)和(3)完成所述轉換操作: ····························· (1); ····························· (2); ····························· (3); 其中, 為一個原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值, 為一個目標色域數據節點所包含的一R灰階值、一G灰階值與一B灰階值,T1為用以將該輸入R灰階值、該輸入G灰階值與該輸入B灰階值轉換成三個原色域刺激值(tristimulus values)的一第一轉換矩陣,且T2為用以將該R灰階值、該G灰階值與該B灰階值轉換成三個目標色域刺激值的一第二轉換矩陣。 In one embodiment, the color gamut calibration system uses the following mathematical formulas (1), (2) and (3) to complete the conversion operation: ····························· (1); ····························· (2); ·························· (3); Among them, , and is an input R grayscale value, an input G grayscale value and an input B grayscale value contained in an original color domain data node. , and is an R grayscale value, a G grayscale value and a B grayscale value included in a target color gamut data node, T1 is a first conversion matrix used to convert the input R grayscale value, the input G grayscale value and the input B grayscale value into three primary color gamut stimulus values (tristimulus values), and T2 is a second conversion matrix used to convert the R grayscale value, the G grayscale value and the B grayscale value into three target color gamut stimulus values.

在一實施例中,該色域校準系統利用以下數學式(4)完成所述色差值計算操作: (4); 其中, 為色差值, 為明度差(Delta luminance), 為彩度差(Delta chromaticity), 為色相差(Delta hue), 為明度權重因子, 為彩度權重因子, 為色相權重因子, 為校正明度, 為校正彩度, 為校正色相,且 為一藍色空間校正參數。 In one embodiment, the color gamut calibration system uses the following mathematical formula (4) to complete the color difference value calculation operation: (4); Among them, is the color difference value, is the luminance difference (Delta luminance), is the chromaticity difference (Delta chromaticity), is the hue difference (Delta hue), is the brightness weight factor, is the chroma weight factor, is the hue weight factor, To correct brightness, To correct the color, To correct hue, and is a blue space correction parameter.

在一實施例中,該色域校準系統利用以下數學式(5)、(6)、(7)、(8)、(9)、和(10)完成各個原色域數據節點的明度、彩度和色相之計算以及各個目標色域數據節點的明度、彩度和色相之計算,從而接著利用前述之數學式(4)完成所述色差值計算操作: ····················· (5); ···························· (6); ···························· (7); ···································· (8); ································· (9); ········································ (10); 其中,c1為第一常數、 為三個標準刺激值(standard tristimulus values)、L為明度、 表示從綠色到紅色的分量、 表示從藍色到黃色的分量、H為色相(hue)、S為飽和度(saturation)、且C為彩度。 In one embodiment, the color gamut calibration system uses the following mathematical formulas (5), (6), (7), (8), (9), and (10) to complete the calculation of the brightness, chroma, and hue of each original color gamut data node and the calculation of the brightness, chroma, and hue of each target color gamut data node, and then uses the aforementioned mathematical formula (4) to complete the color difference value calculation operation: ·····················(5); ····························(6); ····························(7); ···································· (8); ································· (9); ··································· (10); where c1 is the first constant, , and are three standard tristimulus values, L is brightness, Indicates the color components from green to red, Indicates the components from blue to yellow, H is hue, S is saturation, and C is chroma.

在一實施例中,該色域校準系統利用以下數學式(11)、(12)、(13)、(14)、(15)、和(16)完成所述迭代更新操作: ························· (11); ························· (12); ························· (13); ····································· (14); ····································· (15); ····································· (16); 其中,R'、G'、B'為所述原色域數據節點的一迭代更新R灰階值、一迭代更新G灰階值與一迭代更新B灰階值,且 為一R灰階迭代常數、一G灰階迭代常數與一B灰階迭代常數; 其中, 為一個原色域數據節點所包含的三個原色域刺激值,且 為一個目標色域數據節點所包含的三個目標色域刺激值。 In one embodiment, the color gamut calibration system uses the following mathematical formulas (11), (12), (13), (14), (15), and (16) to complete the iterative update operation: ························(11); ························(12); ························(13); ·····································(14); ·····································(15); ································· (16); wherein R', G', and B' are an iteratively updated R grayscale value, an iteratively updated G grayscale value, and an iteratively updated B grayscale value of the original color domain data node, and , , are an R grayscale iteration constant, a G grayscale iteration constant and a B grayscale iteration constant; wherein, , , are the three primary color gamut stimulus values contained in a primary color gamut data node, and , , It is the three target color gamut stimulus values contained in a target color gamut data node.

在一實施例中,在所述色差值小於該預定值的情況下,該色域校準系統利用以下數學式(17)、(18)和(19)以執行一傳值操作從而決定下一組m個原色域數據節點: ·········································· (17); ·········································· (18); ·········································· (19); 其中,Rn、Gn、Bn為下一組m個原色域數據節點之中的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值, 為一R灰階傳值比例、一G灰階傳值比例和一B灰階傳值比例。 In one embodiment, when the color difference value is less than the predetermined value, the color gamut calibration system uses the following mathematical formulas (17), (18) and (19) to perform a value transfer operation to determine the next set of m original color gamut data nodes: ··········································(17); ··········································(18); ····································· (19); wherein Rn, Gn, and Bn are an input R grayscale value, an input G grayscale value, and an input B grayscale value in the next group of m original color gamut data nodes, , , is an R grayscale value ratio, a G grayscale value ratio, and a B grayscale value ratio.

並且,本發明同時提出一種色域校準系統的一實施例,其包括: 一檢測裝置,係面對一顯示面板;以及 一電子裝置,耦接該檢測裝置以及用以驅動該顯示面板進行圖像顯示的至少一個顯示驅動晶片; 其中,該電子裝置被配置用以控制該顯示驅動晶片與該檢測裝置作動以執行一色域校準方法,且該色域校準方法包括以下步驟: 依據傳送至一顯示驅動晶片的一輸入RGB灰階數據建立一個三維查找表;其中,該三維查找表的第一數據軸、第二數據軸與第三數據軸分別為RGB色彩空間的R軸、G軸與B軸; 執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點,其中m為正整數; 執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值;其中,X、Y、Z為CIE1931色彩空間的三激值(tristimulus values); 在一顯示面板受該顯示驅動晶片驅動的情況下,對該顯示面板執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值; 執行一色差值計算操作,從而利用該m組XYZ量測值和該m組XYZ目標值計算出m個色差值; 在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述之轉換操作、量測操作以及色差值計算操作; 在重複前述迭代更新操作、轉換操作、量測操作以及色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作,並接著對下一組m個原色域數據節點執行所述轉換操作、所述量測操作、所述色差值計算操作以及所述迭代更新操作;以及 將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據。 Furthermore, the present invention also proposes an embodiment of a color gamut calibration system, which includes: A detection device facing a display panel; and An electronic device coupled to the detection device and at least one display driver chip for driving the display panel to display images; Wherein, the electronic device is configured to control the display driver chip and the detection device to operate to execute a color gamut calibration method, and the color gamut calibration method includes the following steps: A three-dimensional lookup table is established based on an input RGB grayscale data transmitted to a display driver chip; wherein the first data axis, the second data axis and the third data axis of the three-dimensional lookup table are respectively the R axis, the G axis and the B axis of the RGB color space; Perform a data node selection operation to select a group of m primary color gamut data nodes from the three-dimensional lookup table, where m is a positive integer; Perform a conversion operation to convert the m primary color gamut data nodes into m groups of XYZ target values corresponding to m target color gamut data nodes; where X, Y, and Z are tristimulus values in the CIE1931 color space; When a display panel is driven by the display driver chip, perform a measurement operation on the display panel to measure m groups of XYZ measurement values corresponding to the m primary color gamut data nodes; Perform a color difference value calculation operation to calculate m color difference values using the m groups of XYZ measurement values and the m groups of XYZ target values; When the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color gamut data nodes, and then the aforementioned conversion operation, measurement operation and color difference value calculation operation are repeatedly performed; After repeating the aforementioned iterative update operation, conversion operation, measurement operation and color difference value calculation operation until each original color gamut data node is corrected to its corresponding color difference value less than the predetermined value, the next data node selection operation is performed, and then the conversion operation, measurement operation, color difference value calculation operation and iterative update operation are performed on the next group of m original color gamut data nodes; and The processed plurality of original color gamut data nodes are stored as an output RGB grayscale data corresponding to the input RGB grayscale data.

在一實施例中,該電子裝置利用以下數學式(1)、(2)和(3)完成所述轉換操作: ····························· (1); ····························· (2); ····························· (3); 其中, 為一個原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值, 為一個目標色域數據節點所包含的一R灰階值、一G灰階值與一B灰階值,T1為用以將該輸入R灰階值、該輸入G灰階值與該輸入B灰階值轉換成三個原色域刺激值(tristimulus values)的一第一轉換矩陣,且T2為用以將該R灰階值、該G灰階值與該B灰階值轉換成三個目標色域刺激值的一第二轉換矩陣。 In one embodiment, the electronic device uses the following mathematical formulas (1), (2) and (3) to complete the conversion operation: ····························· (1); ····························· (2); ·························· (3); Among them, , and is an input R grayscale value, an input G grayscale value and an input B grayscale value contained in an original color domain data node. , and is an R grayscale value, a G grayscale value and a B grayscale value included in a target color gamut data node, T1 is a first conversion matrix used to convert the input R grayscale value, the input G grayscale value and the input B grayscale value into three primary color gamut stimulus values (tristimulus values), and T2 is a second conversion matrix used to convert the R grayscale value, the G grayscale value and the B grayscale value into three target color gamut stimulus values.

在一實施例中,該電子裝置利用以下數學式(4)完成所述色差值計算操作: (4); 其中, 為色差值, 為明度差(Delta luminance), 為彩度差(Delta chromaticity), 為色相差(Delta hue), 為明度權重因子, 為彩度權重因子, 為色相權重因子, 為校正明度, 為校正彩度, 為校正色相,且 為一藍色空間校正參數。 In one embodiment, the electronic device uses the following mathematical formula (4) to complete the color difference value calculation operation: (4); Among them, is the color difference value, is the luminance difference (Delta luminance), is the chromaticity difference (Delta chromaticity), is the hue difference (Delta hue), is the brightness weight factor, is the chroma weight factor, is the hue weight factor, To correct brightness, To correct the color, To correct hue, and is a blue space correction parameter.

在一實施例中,該電子裝置利用以下數學式(5)、(6)、(7)、(8)、(9)、和(10)完成各個原色域數據節點的明度、彩度和色相之計算以及各個目標色域數據節點的明度、彩度和色相之計算,從而接著利用前述之數學式(4)完成所述色差值計算操作: ····················· (5); ···························· (6); ···························· (7); ···································· (8); ································· (9); ········································ (10); 其中,c1為第一常數、 為三個標準刺激值(standard tristimulus values)、L為明度、 表示從綠色到紅色的分量、 表示從藍色到黃色的分量、H為色相(hue)、S為飽和度(saturation)、且C為彩度。 In one embodiment, the electronic device uses the following mathematical formulas (5), (6), (7), (8), (9), and (10) to complete the calculation of the brightness, chroma, and hue of each original color gamut data node and the calculation of the brightness, chroma, and hue of each target color gamut data node, and then uses the aforementioned mathematical formula (4) to complete the color difference value calculation operation: ·····················(5); ····························(6); ····························(7); ···································· (8); ································· (9); ··································· (10); where c1 is the first constant, , and are three standard tristimulus values, L is brightness, Indicates the color components from green to red, Indicates the components from blue to yellow, H is hue, S is saturation, and C is chroma.

在一實施例中,該電子裝置利用以下數學式(11)、(12)、(13)、(14)、(15)、和(16)完成所述迭代更新操作: ························· (11); ························· (12); ························· (13); ····································· (14); ····································· (15); ····································· (16); 其中,R'、G'、B'為所述原色域數據節點的一迭代更新R灰階值、一迭代更新G灰階值與一迭代更新B灰階值,且 為一R灰階迭代常數、一G灰階迭代常數與一B灰階迭代常數; 其中, 為一個原色域數據節點所包含的三個原色域刺激值,且 為一個目標色域數據節點所包含的三個目標色域刺激值。 In one embodiment, the electronic device uses the following mathematical formulas (11), (12), (13), (14), (15), and (16) to complete the iterative update operation: ························(11); ························(12); ························(13); ·····································(14); ·····································(15); ································· (16); wherein R', G', and B' are an iteratively updated R grayscale value, an iteratively updated G grayscale value, and an iteratively updated B grayscale value of the original color domain data node, and , , are an R grayscale iteration constant, a G grayscale iteration constant and a B grayscale iteration constant; wherein, , , are the three primary color gamut stimulus values contained in a primary color gamut data node, and , , It is the three target color gamut stimulus values contained in a target color gamut data node.

在一實施例中,在所述色差值小於該預定值的情況下,該電子裝置利用以下數學式(17)、(18)和(19)以執行一傳值操作從而決定下一組m個原色域數據節點: ·········································· (17); ·········································· (18); ·········································· (19); 其中,Rn、Gn、Bn為下一組m個原色域數據節點之中的一原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值, 為一R灰階傳值比例、一G灰階傳值比例和一B灰階傳值比例。 In one embodiment, when the color difference value is less than the predetermined value, the electronic device uses the following mathematical formulas (17), (18) and (19) to perform a value transfer operation to determine the next set of m original color gamut data nodes: ··········································(17); ··········································(18); ····································· (19); wherein Rn, Gn, and Bn are an input R grayscale value, an input G grayscale value, and an input B grayscale value contained in a primary color gamut data node of the next group of m primary color gamut data nodes, , , is an R grayscale value ratio, a G grayscale value ratio, and a B grayscale value ratio.

為使  貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable the Review Committee to further understand the structure, features, purpose, and advantages of the present invention, the following are attached with drawings and detailed descriptions of preferred specific embodiments.

圖3為應用本發明之一種色域校準方法的一色域校準系統的方塊圖。如圖3所示,所述色域校準系統2包括:一檢測裝置21與一電子裝置22,其中該檢測裝置21被設置用以面對一顯示面板11,且該電子裝置22耦接該檢測裝置21以及用以驅動該顯示面板11進行圖像顯示的至少一個顯示驅動晶片12。在一實施例中,該檢測裝置21可以是但不限於可以直接量測XYZ三刺激值(tristimulus values)的一亮度色度儀(Spectroradiometer),且該顯示面板11可以是LCD面板、OLED面板、LED面板、Micro-LED面板、或QLED面板。另一方面,該電子裝置22可以是但不限於工業電腦、桌上型電腦、筆記型電腦、一體式(All-in-one)電腦、或平板電腦。FIG. 3 is a block diagram of a color gamut calibration system applying a color gamut calibration method of the present invention. As shown in FIG. 3 , the color gamut calibration system 2 includes: a detection device 21 and an electronic device 22 , wherein the detection device 21 is configured to face a display panel 11 , and the electronic device 22 is coupled to the detection device 21 . The device 21 and at least one display driving chip 12 are used to drive the display panel 11 to display images. In one embodiment, the detection device 21 may be, but is not limited to, a spectroradiometer that can directly measure XYZ tristimulus values, and the display panel 11 may be an LCD panel, an OLED panel, LED panel, Micro-LED panel, or QLED panel. On the other hand, the electronic device 22 may be, but is not limited to, an industrial computer, a desktop computer, a notebook computer, an all-in-one computer, or a tablet computer.

特別地,本發明提出一種色域校準方法,其係由該色域校準系統2的該電子裝置22執行,從而控制該顯示驅動晶片12與該檢測裝置21作動以對該顯示面板11執行一色域校準程序,並依據所述色域校準程序的校準數據(即,校準後的RGB灰階數據)而產生一用於實現色域映射(或稱色域校準)的查找表(Look-up table, LUT)121。如此,在自上位機2接收一輸入顯示數據(即,輸入RGB灰階數據)之後,該顯示驅動晶片12通過查找該查找表121的方式,將該輸入顯示數據映射為一輸出顯示數據(即,輸出RGB灰階數據),接著將該輸入顯示數據預處理為一顯示驅動數據(即,VDATA)。最終,該顯示驅動晶片12依據該輸出顯示數據對該顯示面板11進行顯示驅動,從而使該顯示面板11在顯示圖像時的色域表現能夠符合標準的一目標色域(如:sRGB色域或P3色域)。In particular, the present invention proposes a color gamut calibration method, which is executed by the electronic device 22 of the color gamut calibration system 2, thereby controlling the display driver chip 12 and the detection device 21 to operate to execute a color gamut calibration procedure on the display panel 11, and generating a look-up table (LUT) 121 for realizing color gamut mapping (or color gamut calibration) based on the calibration data of the color gamut calibration procedure (i.e., the calibrated RGB grayscale data). Thus, after receiving an input display data (i.e., input RGB grayscale data) from the host computer 2, the display driver chip 12 maps the input display data into an output display data (i.e., output RGB grayscale data) by searching the lookup table 121, and then pre-processes the input display data into a display driver data (i.e., VDATA). Finally, the display driver chip 12 drives the display panel 11 according to the output display data, so that the color gamut performance of the display panel 11 when displaying images can meet a standard target color gamut (e.g., sRGB color gamut or P3 color gamut).

圖4A和圖4B顯示本發明一種色域校準方法的流程圖。如圖4A和圖4B,方法流程首先執行步驟S1:依據傳送至一顯示驅動晶片12的一輸入RGB灰階數據建立一個三維查找表(3D LUT)。圖5為三維查找表的第一示意圖。如圖5所示,該三維查找表的第一數據軸、第二數據軸與第三數據軸分別為RGB色彩空間的R軸、G軸與B軸。接著,方法流程係執行步驟S2:執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點,例如標示在圖5之中的多個節點。繼續地,方法流程係執行步驟S3:執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值;其中,X、Y、Z為CIE1931色彩空間的三激值(tristimulus values)。由圖5可知,一個數據節點在RGB色彩空間內係包含一R灰階數據、一G灰階數據與一B灰階數據,且該數據節點可以自RGB色彩空間轉換至CIE1931色彩空間從而包含X、Y、Z三激值。具體地,該色域校準系統2的該電子裝置22利用以下數學式(1)、(2)和(3)完成所述轉換操作: ······························· (1) ································ (2) ······························· (3) FIG. 4A and FIG. 4B show a flow chart of a color gamut calibration method of the present invention. As shown in FIG. 4A and FIG. 4B , the method flow first executes step S1: a three-dimensional lookup table (3D LUT) is established based on an input RGB grayscale data transmitted to a display driver chip 12. FIG. 5 is a first schematic diagram of the three-dimensional lookup table. As shown in FIG. 5 , the first data axis, the second data axis, and the third data axis of the three-dimensional lookup table are the R axis, the G axis, and the B axis of the RGB color space, respectively. Next, the method flow executes step S2: a data node selection operation is performed to select a set of m primary color gamut data nodes from the three-dimensional lookup table, such as the multiple nodes marked in FIG. 5 . Next, the method flow executes step S3: executing a conversion operation to convert the m original color gamut data nodes into m sets of XYZ target values corresponding to the m target color gamut data nodes; wherein X, Y, and Z are tristimulus values in the CIE1931 color space. As shown in FIG5 , a data node in the RGB color space includes an R grayscale data, a G grayscale data, and a B grayscale data, and the data node can be converted from the RGB color space to the CIE1931 color space to include X, Y, and Z tristimulus values. Specifically, the electronic device 22 of the color gamut calibration system 2 uses the following mathematical formulas (1), (2), and (3) to complete the conversion operation: ······························· (1) ································ (2) ································(3)

如圖5所示,利用一輸入RGB灰階數據可以在一RGB色彩空見內建出一個三維查找表,因此選自該三維查找表的任一個原色域數據節點皆具有一輸入R灰階值、一輸入G灰階值與一輸入B灰階值。因此,在上式(1)、(2)和(3)之中, 為一個原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值,且T1為用以將該輸入R灰階值、該輸入G灰階值與該輸入B灰階值轉換成三個原色域刺激值(tristimulus values)的一第一轉換矩陣。相對地, 為一個目標色域數據節點所包含的一R灰階值、一G灰階值與一B灰階值,且T2為用以將該R灰階值、該G灰階值與該B灰階值轉換成三個目標色域刺激值的一第二轉換矩陣。如此,利用上式(1)、(2)和(3),每個原色域數據節皆可被轉換成其對應的一目標色域數據節點,且該目標色域數據節點在CIE1931色彩空間內包含三個目標色域刺激值(即,步驟S3所述之XYZ目標值)。 As shown in FIG5 , a three-dimensional lookup table can be built in an RGB color space using an input RGB grayscale data. Therefore, any primary color domain data node selected from the three-dimensional lookup table has an input R grayscale value, an input G grayscale value, and an input B grayscale value. Therefore, in the above equations (1), (2), and (3), , and is an input R grayscale value, an input G grayscale value and an input B grayscale value included in a primary color gamut data node, and T1 is a first conversion matrix for converting the input R grayscale value, the input G grayscale value and the input B grayscale value into three primary color gamut stimulus values (tristimulus values). , and is an R grayscale value, a G grayscale value and a B grayscale value included in a target color gamut data node, and T2 is a second conversion matrix used to convert the R grayscale value, the G grayscale value and the B grayscale value into three target color gamut stimulus values. Thus, using the above formulas (1), (2) and (3), each original color gamut data node can be converted into a corresponding target color gamut data node, and the target color gamut data node includes three target color gamut stimulus values (i.e., the XYZ target values described in step S3) in the CIE1931 color space.

如圖4A與圖4B所示,方法流程接著執行步驟S4:在一顯示面板11受該顯示驅動晶片12驅動的情況下,使用該色域校準2的該檢測裝置21對該顯示面板11執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值。熟悉OLED面板缺陷檢測及/或OLED顯示器之色域校準的檢測工程師應知道,市售的亮度色度儀(Spectroradiometer)可以直接測得每個畫素(包含R子畫素、G子畫素和B子畫素)的XYZ量測值。或者,亦可使用CCD相機拍攝OLED面板,再由後端的電子裝置22利用轉換數學式將每個檢測畫素轉換成對應的XYZ量測值。繼續地,方法流程係執行步驟S5:執行一色差值計算操作,從而利用該m組XYZ量測值和該m組個XYZ目標值計算出m個色差值。具體地,該該色域校準系統2的該電子裝置22利用以下數學式(4)完成所述色差值計算操作: ···· (4) As shown in FIG. 4A and FIG. 4B , the method flow then executes step S4: when a display panel 11 is driven by the display driver chip 12, the detection device 21 of the color gamut calibration 2 is used to perform a measurement operation on the display panel 11, thereby measuring m sets of XYZ measurement values corresponding to the m primary color gamut data nodes. Inspection engineers familiar with OLED panel defect detection and/or color gamut calibration of OLED displays should know that commercially available luminance and colorimeter (Spectroradiometer) can directly measure the XYZ measurement value of each pixel (including R sub-pixel, G sub-pixel and B sub-pixel). Alternatively, a CCD camera can be used to photograph the OLED panel, and then the back-end electronic device 22 uses a conversion mathematical formula to convert each detection pixel into a corresponding XYZ measurement value. Next, the method flow executes step S5: performing a color difference value calculation operation, thereby calculating m color difference values using the m sets of XYZ measurement values and the m sets of XYZ target values. Specifically, the electronic device 22 of the color gamut calibration system 2 performs the color difference value calculation operation using the following mathematical formula (4): ···· (4)

在上式(4)中, 為色差值, 為明度差(Delta luminance), 為彩度差(Delta chromaticity), 為色相差(Delta hue), 為明度權重因子, 為彩度權重因子, 為色相權重因子, 為校正明度, 為校正彩度, 為校正色相,且 為一藍色空間校正參數。更詳細地說明,前述之明度L、彩度C以及色相H係利用以下數學式(5)、(6)、(7)、(8)、(9)、和(10)完成各個原色域數據節點的明度、彩度和色相之計算以及各個目標色域數據節點的明度、彩度和色相之計算,從而接著利用前述之數學式(4)完成所述色差值計算操作: ··························· (5) ·································· (6) ·································· (7) ·········································· (8) ······································· (9) ·············································· (10) In the above formula (4), is the color difference value, is the luminance difference (Delta luminance), is the chromaticity difference (Delta chromaticity), is the hue difference (Delta hue), is the brightness weight factor, is the chroma weight factor, is the hue weight factor, To correct brightness, To correct the color, To correct hue, and is a blue color space correction parameter. To explain in more detail, the aforementioned lightness L, chroma C and hue H are used to complete the calculation of the lightness, chroma and hue of each original color domain data node and the calculation of the lightness, chroma and hue of each target color domain data node using the following mathematical formulas (5), (6), (7), (8), (9), and (10), and then the aforementioned mathematical formula (4) is used to complete the color difference value calculation operation: ···························(5) ··································(6) ··································(7) ·········································· (8) ······································· (9) ··············································(10)

在上式(5)、(6)、(7)、(8)、(9)和(10)中,c1為第一常數、 為三個標準刺激值(standard tristimulus values)、L為明度、 表示從綠色到紅色的分量、 表示從藍色到黃色的分量、H為色相(hue)、S為飽和度(saturation)、且C為彩度。熟悉OLED面板缺陷檢測及/或OLED顯示器之色域校準的檢測工程師應知道,上式(5)、(6)、(7)用以將一個數據節點自CIE1931 XYZ色彩空間轉換至L 色彩空間。接著,利用上式(8)、(9)、(10)可以計算一個數據節點的色相、飽和度以及彩度。如此,在測得一個原色域數據節點(即,圖5上的一個節點)的XYZ量測值之後,便可以接著計算出該原色域數據節點的明度L、色相H以及彩度C。同樣的,在利用轉換矩陣將一個原色域數據節點的三個原色域刺激值轉換成一個目標色域數據節點所包含的三個目標色域刺激值之後,便可以接著計算出該目標色域數據節點的明度L、色相H以及彩度C。之後,便可以計算出明度差 ,彩度差 與色相差 ,接著計算出色差值 In the above formulas (5), (6), (7), (8), (9) and (10), c1 is the first constant, , and are three standard tristimulus values, L is brightness, Indicates the color components from green to red, represents the component from blue to yellow, H is hue, S is saturation, and C is chroma. Inspection engineers familiar with OLED panel defect inspection and/or OLED display color gamut calibration should know that the above equations (5), (6), and (7) are used to convert a data node from the CIE1931 XYZ color space to L Color space. Then, the hue, saturation and chroma of a data node can be calculated using the above formulas (8), (9) and (10). In this way, after measuring the XYZ measurement value of a primary color gamut data node (i.e., a node in Figure 5), the lightness L, hue H and chroma C of the primary color gamut data node can be calculated. Similarly, after using the conversion matrix to convert the three primary color gamut stimulus values of a primary color gamut data node into the three target color gamut stimulus values contained in a target color gamut data node, the lightness L, hue H and chroma C of the target color gamut data node can be calculated. Afterwards, the lightness difference can be calculated. , color difference Difference in color , then calculate the color difference .

如圖4B所示,方法流程接著執行步驟S6:在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述步驟S3的轉換操作、步驟S4的量測操作以及步驟S5的色差值計算操作。在一實施例中,所述預定值可以設定為2。如此,若 >2,便利用以下數學式(11)、(12)、(13)、(14)、(15)、和(16)完成各個原色域數據節點的迭代更新操作: ······························ (11) ······························· (12) ······························· (13) ··········································· (14) ··········································· (15) ··········································· (16) As shown in FIG. 4B , the method flow then executes step S6: when the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color domain data nodes, and then the conversion operation of step S3, the measurement operation of step S4, and the color difference value calculation operation of step S5 are repeatedly performed. In one embodiment, the predetermined value can be set to 2. In this way, if >2, the following mathematical formulas (11), (12), (13), (14), (15), and (16) are used to complete the iterative update operation of each primary color domain data node: ·······························(11) ································(12) ································(13) ···········································(14) ··········································(15) ··········································(16)

在上式(11)、(12)、(13)、(14)、(15)和(16)中,R'、G'、B'為所述原色域數據節點的一迭代更新R灰階值、一迭代更新G灰階值與一迭代更新B灰階值,且 為一R灰階迭代常數、一G灰階迭代常數與一B灰階迭代常數。另一方面, 為一個原色域數據節點所包含的三個原色域刺激值,且 為一個目標色域數據節點所包含的三個目標色域刺激值。換句話說,進行迭代更新時,若ΔX>0,則R按比例增加成為R',反之則按比例減少成為R'。同樣地,當ΔY>0時,G按比例增加成為G',反之則按比例減少成為G'。同樣地,當ΔZ>0時,B按比例增加成為B',反之則按比例減少成為B'。 In the above equations (11), (12), (13), (14), (15) and (16), R', G', B' are an iteratively updated R grayscale value, an iteratively updated G grayscale value and an iteratively updated B grayscale value of the original color domain data node, and , , are an R grayscale iteration constant, a G grayscale iteration constant, and a B grayscale iteration constant. On the other hand, , , are the three primary color gamut stimulus values contained in a primary color gamut data node, and , , are the three target color gamut stimulus values contained in a target color gamut data node. In other words, when iterative updating is performed, if ΔX>0, R increases proportionally to become R', otherwise it decreases proportionally to become R'. Similarly, when ΔY>0, G increases proportionally to become G', otherwise it decreases proportionally to become G'. Similarly, when ΔZ>0, B increases proportionally to become B', otherwise it decreases proportionally to become B'.

補充說明的是,迭代過程中,若某個分量差距過大而其餘分量差距較小,可以只更新差異大的分量。舉例而言,ΔX較大但同時ΔY和ΔZ較小,此時,利用只對R值進行迭代更新調整。這樣的迭代更新手段增加了色域校準方法的靈活性,令原色域數據節點可以更快地迭代更新至誤差範圍內(即 <2),從而貼近其對應的目標色域數據節點。 It should be noted that during the iteration process, if the difference between a certain component is too large and the differences between the other components are small, only the component with the large difference can be updated. For example, if ΔX is large but ΔY and ΔZ are small, then only the R value can be iteratively updated and adjusted. This iterative update method increases the flexibility of the color gamut calibration method, allowing the original color gamut data nodes to be iteratively updated faster to within the error range (i.e. <2), so as to be close to the corresponding target color gamut data node.

再行補充說明的是,假設第j次迭代更新的R'/G'/B'值和目標R'/G'/B'值之間具有第j個差值,且第j+1次迭代更新的R'/G'/B'值和目標R'/G'/B'值之間具有第j+1個差值。若是第j個差值和第j+1個差值為同號,則表示迭代更新常數(即, )的步長過小,此時須採用大於1的迭代更新常數;反之,則採用小於1的迭代更新常數。 To further explain, assume that there is a jth difference between the R'/G'/B' value updated at the jth iteration and the target R'/G'/B' value, and there is a j+1th difference between the R'/G'/B' value updated at the j+1th iteration and the target R'/G'/B' value. If the jth difference and the j+1th difference have the same sign, it means that the iterative update constant (i.e., , , ) is too small. In this case, an iterative update constant greater than 1 should be used. Otherwise, an iterative update constant less than 1 should be used.

如圖4B所示,方法流程接著執行步驟S7:在重複前述步驟S6的迭代更新操作、步驟S3的轉換操作、步驟S4的量測操作以及步驟S5的色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作(即,步驟S2),並接著對下一組m個原色域數據節點執行所述轉換操作(即,步驟S3)、所述量測操作(即,步驟S4)、所述色差值計算操作(即,步驟S5)以及所述迭代更新操作(即,步驟S6)。最後,在該輸入RGB灰階數據的所有數據節點皆利用迭代更新而完成色域校準之後,在步驟S8之中,將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據。最後,利用一組或多組輸入RGB灰階數據即其對應的輸出RGB灰階數據便可以製作出一個三維的查找表121儲存在該顯示驅動晶片12之中,使該顯示驅動晶片12可以利用該查找表121對接收自一上位機的一輸入顯示數據映射成一輸出顯示數據。As shown in FIG. 4B , the method flow then executes step S7: after repeating the iterative update operation of step S6, the conversion operation of step S3, the measurement operation of step S4, and the color difference value calculation operation of step S5 until each original color gamut data node is corrected to its corresponding color difference value less than the predetermined value, the next data node selection operation (i.e., step S2) is performed, and then the conversion operation (i.e., step S3), the measurement operation (i.e., step S4), the color difference value calculation operation (i.e., step S5), and the iterative update operation (i.e., step S6) are performed on the next group of m original color gamut data nodes. Finally, after all data nodes of the input RGB grayscale data are updated iteratively and the color gamut calibration is completed, in step S8, the processed multiple original color gamut data nodes are stored as an output RGB grayscale data corresponding to the input RGB grayscale data. Finally, a three-dimensional lookup table 121 can be made using one or more sets of input RGB grayscale data, i.e., the corresponding output RGB grayscale data, and stored in the display driver chip 12, so that the display driver chip 12 can use the lookup table 121 to map an input display data received from a host computer into an output display data.

依據本發明之設計,在所述色差值小於該預定值(即, <2)的情況下,方法流程會接著值行步驟S7。此時,為了加速運算速度,該色域校準系統2的該電子裝置22可以利用以下數學式(17)、(18)和(19)以執行一傳值操作從而決定下一組m個原色域數據節點: ················································ (17) ················································ (18) ················································ (19) According to the design of the present invention, when the color difference value is less than the predetermined value (i.e., <2), the method flow will then proceed to step S7. At this time, in order to speed up the calculation speed, the electronic device 22 of the color gamut calibration system 2 can use the following mathematical formulas (17), (18) and (19) to perform a transfer operation to determine the next set of m original color gamut data nodes: ···············································(17) ···············································(18) ···············································(19)

在上式(17)、(18)和(19)中,Rn、Gn、Bn為下一組m個原色域數據節點之中的一原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值, 為一R灰階傳值比例、一G灰階傳值比例和一B灰階傳值比例。圖6為三維查找表的第二示意圖。如圖6所示,利用上式(17)對數據節點N1執行所述傳值操作之後,係決定了數據節點N2。另一方面,利用上式(18)對數據節點N1執行所述傳值操作之後,係決定了數據節點N3。並且,利用上式(19)對數據節點N1執行所述傳值操作之後,係決定了數據節點N4。 In the above equations (17), (18) and (19), Rn, Gn, and Bn are an input R grayscale value, an input G grayscale value, and an input B grayscale value contained in a primary color gamut data node among the next group of m primary color gamut data nodes. , , is an R grayscale value transfer ratio, a G grayscale value transfer ratio and a B grayscale value transfer ratio. FIG6 is a second schematic diagram of the three-dimensional lookup table. As shown in FIG6, after the value transfer operation is performed on the data node N1 using the above formula (17), the data node N2 is determined. On the other hand, after the value transfer operation is performed on the data node N1 using the above formula (18), the data node N3 is determined. And, after the value transfer operation is performed on the data node N1 using the above formula (19), the data node N4 is determined.

如此,上述已完整且清楚地說明本發明之色域校準方法;並且,經由上述可得知本發明具有下列優點:Thus, the color gamut calibration method of the present invention has been fully and clearly described above; and, from the above, it can be known that the present invention has the following advantages:

(1)本發明揭示一種色域校準方法,其係由一色域校準系統執行。在該色域校準方法中,首先將一輸入RGB灰階數據之中的一組m個原始數據節點及其對應m個目標數據節點轉換至XYZ色彩空間,並自該顯示裝置測得對應的m個量測數據節點。當量測數據節點和目標數據節點的色差值未在誤差範圍內之時,先對該m個原始數據節點進行迭代更新,接著重新計算色差值,直至色差值小於誤差範圍便停止迭代更新。之後,於該輸入RGB灰階數據之中選擇下一組m個原始數據節點及其對應m個目標數據節點,並重複相同的RGB灰階數據校準步驟。並且,選擇下一組m個原始數據節點時,可以執行一傳值操作,從而依據已完成校準的前一組m個原色域數據節點決定下一組m個原色域數據節點,藉此方式加速運算速度。(1) The present invention discloses a color gamut calibration method, which is performed by a color gamut calibration system. In the color gamut calibration method, a group of m original data nodes and their corresponding m target data nodes in an input RGB grayscale data are first converted to an XYZ color space, and the corresponding m measured data nodes are measured from the display device. When the color difference value between the measured data node and the target data node is not within the error range, the m original data nodes are first iteratively updated, and then the color difference value is recalculated until the color difference value is less than the error range and the iterative update is stopped. Thereafter, the next group of m original data nodes and their corresponding m target data nodes are selected from the input RGB grayscale data, and the same RGB grayscale data calibration steps are repeated. Furthermore, when selecting the next group of m original data nodes, a value transfer operation can be performed, thereby determining the next group of m original color domain data nodes based on the previous group of m original color domain data nodes that have completed calibration, thereby accelerating the calculation speed.

必須加以強調的是,前述本案所揭示者乃為較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。It must be emphasized that what is disclosed in the above-mentioned case is a preferred embodiment. Any partial changes or modifications that are derived from the technical ideas of this case and are easily inferred by people familiar with the art do not deviate from the scope of the patent rights of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請  貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。In summary, this case shows that its purpose, means and effects are all different from the known technology, and it is the first invention that is practical and indeed meets the patent requirements for invention. We sincerely request the review committee to examine this carefully and grant a patent as soon as possible to benefit the society. This is our utmost prayer.

1a:OLED顯示裝置1a: OLED display device

11a:OLED面板11a: OLED panel

12a:顯示驅動晶片12a: Display driver chip

121a:查找表121a: Lookup Table

11:顯示面板11: Display Panel

12:顯示驅動晶片12: Display driver chip

121:查找表121: Lookup Table

2:色域校準系統2: Color gamut calibration system

21:檢測裝置21: Detection device

22:電子裝置22: Electronic devices

S1:依據傳送至一顯示驅動晶片的一輸入RGB灰階數據建立一個三維查找表S1: Create a 3D lookup table based on an input RGB grayscale data sent to a display driver chip

S2:執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點S2: Perform a data node selection operation to select a set of m primary color gamut data nodes from the three-dimensional lookup table.

S3:執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值S3: Perform a conversion operation to convert the m original color gamut data nodes into m sets of XYZ target values corresponding to the m target color gamut data nodes.

S4:在一顯示面板受該顯示驅動晶片驅動的情況下,對該顯示面板執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值S4: When a display panel is driven by the display driver chip, a measurement operation is performed on the display panel to measure m sets of XYZ measurement values corresponding to the m primary color gamut data nodes.

S5:執行一色差值計算操作,從而利用該m組XYZ量測值和該m組個XYZ目標值計算出m個色差值S5: Perform a color difference value calculation operation to calculate m color difference values using the m sets of XYZ measurement values and the m sets of XYZ target values.

S6:在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述之轉換操作、量測操作以及色差值計算操作S6: When the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color domain data nodes, and then the aforementioned conversion operation, measurement operation and color difference value calculation operation are repeatedly performed.

S7:在重複前述迭代更新操作、轉換操作、量測操作以及色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作,並接著對下一組m個原色域數據節點執行所述轉換操作、所述量測操作、所述色差值計算操作以及所述迭代更新操作S7: After repeating the aforementioned iterative updating operation, conversion operation, measurement operation, and color difference value calculation operation until each original color gamut data node is corrected to a color difference value corresponding to it that is less than the predetermined value, the next data node selection operation is performed, and then the conversion operation, the measurement operation, the color difference value calculation operation, and the iterative updating operation are performed on the next group of m original color gamut data nodes.

S8:將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據S8: storing the processed multiple original color domain data nodes as an output RGB grayscale data corresponding to the input RGB grayscale data

圖1為習知的一種OLED顯示裝置的方塊圖; 圖2為習知的CIE-xy色度圖; 圖3為應用本發明之一種色域校準方法的一色域校準系統的方塊圖; 圖4A和圖4B顯示本發明一種色域校準方法的流程圖; 圖5為三維查找表的第一示意圖;以及 圖6為三維查找表的第二示意圖。 FIG. 1 is a block diagram of a known OLED display device; FIG. 2 is a known CIE-xy chromaticity diagram; FIG. 3 is a block diagram of a color gamut calibration system using a color gamut calibration method of the present invention; FIG. 4A and FIG. 4B are flow charts of a color gamut calibration method of the present invention; FIG. 5 is a first schematic diagram of a three-dimensional lookup table; and FIG. 6 is a second schematic diagram of a three-dimensional lookup table.

11:顯示面板 11: Display panel

12:顯示驅動晶片 12: Display driver chip

121:查找表 121: Lookup table

2:色域校準系統 2: Color gamut calibration system

21:檢測裝置 21: Detection device

22:電子裝置 22: Electronic devices

Claims (10)

一種色域校準方法,係由一色域校準系統執行,且包括以下步驟:依據傳送至一顯示驅動晶片的一輸入RGB灰階數據建立一個三維查找表;其中,該三維查找表的第一數據軸、第二數據軸與第三數據軸分別為RGB色彩空間的R軸、G軸與B軸;執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點,其中m為正整數;執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值;其中,X、Y、Z為CIE1931色彩空間的三激值(tristimulus values);在一顯示面板受該顯示驅動晶片驅動的情況下,對該顯示面板執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值;執行一色差值計算操作,從而利用該m組XYZ量測值和該m組個XYZ目標值計算出m個色差值;在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述之轉換操作、量測操作以及色差值計算操作;在重複前述迭代更新操作、轉換操作、量測操作以及色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作,並接著對下一組m 個原色域數據節點執行所述轉換操作、所述量測操作、所述色差值計算操作以及所述迭代更新操作;以及將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據;其中,該色域校準系統利用以下數學式(4)完成所述色差值計算操作:
Figure 112123256-A0305-02-0027-1
其中,△E 00為色差值,△L'為明度差(Delta luminance),△C'為彩度差(Delta chromaticity),△H'為色相差(Delta hue),K L 為明度權重因子,K C 為彩度權重因子,K H 為色相權重因子,S L 為校正明度,S C 為校正彩度,S H 為校正色相,且R T 為一藍色空間校正參數。
A color gamut calibration method is performed by a color gamut calibration system and includes the following steps: establishing a three-dimensional lookup table according to an input RGB grayscale data transmitted to a display driver chip; wherein the first data axis, the second data axis and the third data axis of the three-dimensional lookup table are respectively the R axis, the G axis and the B axis of the RGB color space; performing a data node selection operation to select a group of m primary color gamut data nodes from the three-dimensional lookup table, wherein m is a positive integer; performing a conversion operation to convert the m primary color gamut data nodes into m groups of XYZ target values corresponding to the m target color gamut data nodes; wherein X, Y, and Z are tristimulus values (tristimulus 1, 2, and 3) of the CIE1931 color space; values); when a display panel is driven by the display driver chip, a measurement operation is performed on the display panel to measure m groups of XYZ measurement values corresponding to the m original color gamut data nodes; a color difference value calculation operation is performed to calculate m color difference values using the m groups of XYZ measurement values and the m groups of XYZ target values; when the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color gamut data nodes, and then the conversion operation, measurement operation and color difference value calculation operation are repeatedly performed; after the iterative update operation, conversion operation, measurement operation and color difference value calculation operation are repeated until each original color gamut data node is corrected to the corresponding color difference value less than the predetermined value, the next data node selection operation is performed, and then the next group of m The method comprises the steps of: performing the conversion operation, the measurement operation, the color difference value calculation operation and the iterative update operation on the plurality of original color gamut data nodes; and storing the processed plurality of original color gamut data nodes as an output RGB grayscale data corresponding to the input RGB grayscale data; wherein the color gamut calibration system uses the following mathematical formula (4) to complete the color difference value calculation operation:
Figure 112123256-A0305-02-0027-1
Wherein, △ E 00 is the color difference value, △ L' is the luminance difference (Delta luminance), △ C' is the chromaticity difference (Delta chromaticity), △ H' is the hue difference (Delta hue), K L is the luminance weight factor, K C is the chromaticity weight factor , K H is the hue weight factor, SL is the corrected luminance, SC is the corrected chroma, SH is the corrected hue, and RT is a blue space correction parameter.
如請求項1所述之色域校準方法,其中,該色域校準系統利用以下數學式(1)、(2)和(3)完成所述轉換操作:
Figure 112123256-A0305-02-0027-2
Figure 112123256-A0305-02-0027-3
Figure 112123256-A0305-02-0027-4
其中,R o G o B o 為一個原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值,R t G t B t 為一個目標色域數據節點所包含的一R灰階值、一G灰階值與一B灰階值,T1為用以將該輸入R灰階值、該輸入G灰階值與該輸入B灰階值轉換成三個原色域 刺激值(tristimulus values)的一第一轉換矩陣,且T2為用以將該R灰階值、該G灰階值與該B灰階值轉換成三個目標色域刺激值的一第二轉換矩陣。
The color gamut calibration method as described in claim 1, wherein the color gamut calibration system uses the following mathematical formulas (1), (2) and (3) to complete the conversion operation:
Figure 112123256-A0305-02-0027-2
Figure 112123256-A0305-02-0027-3
Figure 112123256-A0305-02-0027-4
Among them, R o , G o and B o are an input R grayscale value, an input G grayscale value and an input B grayscale value included in a primary color gamut data node, R t , G t and B t are an R grayscale value, a G grayscale value and a B grayscale value included in a target color gamut data node, T1 is a first conversion matrix used to convert the input R grayscale value, the input G grayscale value and the input B grayscale value into three primary color gamut stimulus values (tristimulus values), and T2 is a second conversion matrix used to convert the R grayscale value, the G grayscale value and the B grayscale value into three target color gamut stimulus values.
如請求項1所述之色域校準方法,其中,該色域校準系統利用以下數學式(5)、(6)、(7)、(8)、(9)、和(10)完成各個原色域數據節點的明度、彩度和色相之計算以及各個目標色域數據節點的明度、彩度和色相之計算,從而接著利用前述之數學式(4)完成所述色差值計算操作:
Figure 112123256-A0305-02-0028-5
Figure 112123256-A0305-02-0028-6
Figure 112123256-A0305-02-0028-7
Figure 112123256-A0305-02-0028-8
Figure 112123256-A0305-02-0028-9
C=H+S.......................................(10);其中,c1為第一常數、X 0Y 0Z 0為三個標準刺激值(standard tristimulus values)、L為明度、a*表示從綠色到紅色的分量、b*表示從藍色到黃色的分量、H為色相(hue)、S為飽和度(saturation)、且C為彩度。
The color gamut calibration method as described in claim 1, wherein the color gamut calibration system uses the following mathematical formulas (5), (6), (7), (8), (9), and (10) to complete the calculation of the brightness, chroma and hue of each original color gamut data node and the calculation of the brightness, chroma and hue of each target color gamut data node, and then uses the aforementioned mathematical formula (4) to complete the color difference value calculation operation:
Figure 112123256-A0305-02-0028-5
Figure 112123256-A0305-02-0028-6
Figure 112123256-A0305-02-0028-7
Figure 112123256-A0305-02-0028-8
Figure 112123256-A0305-02-0028-9
C=H+S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (10); wherein c1 is the first constant, X0 , Y0 and Z0 are three standard tristimulus values, L is lightness, a* represents the component from green to red, b* represents the component from blue to yellow, H is hue, S is saturation, and C is chroma.
如請求項3所述之色域校準方法,其中,該色域校準系統利用以下數學式(11)、(12)、(13)、(14)、(15)、和(16)完成所述迭代更新操作:
Figure 112123256-A0305-02-0029-10
Figure 112123256-A0305-02-0029-11
Figure 112123256-A0305-02-0029-12
△X=X t -X o ....................................(14);△Y=Y t -Y o .....................................(15);△Z=Z t -Z o ....................................(16);其中,R'、G'、B'為所述原色域數據節點的一迭代更新R灰階值、一迭代更新G灰階值與一迭代更新B灰階值,且△R、△G、△B為一R灰階迭代常數、一G灰階迭代常數與一B灰階迭代常數;其中,X o Y o Z o 為一個原色域數據節點所包含的三個原色域刺激值,且X t Y t Z t 為一個目標色域數據節點所包含的三個目標色域刺激值。
The color gamut calibration method as described in claim 3, wherein the color gamut calibration system uses the following mathematical formulas (11), (12), (13), (14), (15), and (16) to complete the iterative update operation:
Figure 112123256-A0305-02-0029-10
Figure 112123256-A0305-02-0029-11
Figure 112123256-A0305-02-0029-12
△X= Xt - Xo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (14); △Y= Y t - Y o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (15); △Z= Z t - Z o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (16); wherein R', G', B' are an iteratively updated R grayscale value, an iteratively updated G grayscale value and an iteratively updated B grayscale value of the original color gamut data node, and △ R , △ G , △ B are an R grayscale iteration constant, a G grayscale iteration constant and a B grayscale iteration constant; wherein Xo , Yo , Zo are three original color gamut stimulus values contained in an original color gamut data node , and Xt , Yt , Zt are three target color gamut stimulus values contained in a target color gamut data node.
如請求項4所述之色域校準方法,其中,在所述色差值小於該預定值的情況下,該色域校準系統利用以下數學式(17)、(18)和(19)以執行一傳值操作從而決定下一組m個原色域數據節點:
Figure 112123256-A0305-02-0029-13
Figure 112123256-A0305-02-0029-14
Figure 112123256-A0305-02-0029-15
其中,Rn、Gn、Bn為下一組m個原色域數據節點之中的一原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值,V R V G V B 為一R灰階傳值比例、一G灰階傳值比例和一B灰階傳值比例。
The color gamut calibration method as described in claim 4, wherein, when the color difference value is less than the predetermined value, the color gamut calibration system uses the following mathematical formulas (17), (18) and (19) to perform a value transfer operation to determine the next set of m original color gamut data nodes:
Figure 112123256-A0305-02-0029-13
Figure 112123256-A0305-02-0029-14
Figure 112123256-A0305-02-0029-15
Among them, Rn, Gn, Bn are an input R grayscale value, an input G grayscale value and an input B grayscale value contained in a primary color gamut data node among the next group of m primary color gamut data nodes, VR , VG , VB are an R grayscale value ratio, a G grayscale value ratio and a B grayscale value ratio.
一種色域校準系統,包括:一檢測裝置,係面對一顯示面板;以及一電子裝置,耦接該檢測裝置以及用以驅動該顯示面板進行圖像顯示的至少一個顯示驅動晶片;其中,該電子裝置被配置用以控制該顯示驅動晶片與該檢測裝置作動以執行一色域校準方法,且該色域校準方法包括以下步驟:依據傳送至一顯示驅動晶片的一輸入RGB灰階數據建立一個三維查找表;其中,該三維查找表的第一數據軸、第二數據軸與第三數據軸分別為RGB色彩空間的R軸、G軸與B軸;執行一數據節點選擇操作,從而自該三維查找表中選擇一組m個原色域數據節點,其中m為正整數;執行一轉換操作,以將該m個原色域數據節點轉換成對應m個目標色域數據節點的m組XYZ目標值;其中,X、Y、Z為CIE1931色彩空間的三激值(tristimulus values);在一顯示面板受該顯示驅動晶片驅動的情況下,對該顯示面板執行一量測操作,從而測得對應該m個原色域數據節點的m組XYZ量測值; 執行一色差值計算操作,從而利用該m組XYZ量測值和該m組XYZ目標值計算出m個色差值;在所述色差值大於一預定值的情況下,對該m個原色域數據節點進行一迭代更新操作,接著重複執行前述之轉換操作、量測操作以及色差值計算操作;在重複前述迭代更新操作、轉換操作、量測操作以及色差值計算操作直至每個原色域數據節點被校正至其對應的所述色差值小於該預定值之後,執行下一次所述數據節點選擇操作,並接著對下一組m個原色域數據節點執行所述轉換操作、所述量測操作、所述色差值計算操作以及所述迭代更新操作;以及將處理過後的複數個原色域數據節點儲存為對應該輸入RGB灰階數據的一輸出RGB灰階數據;其中,該電子裝置利用以下數學式(4)完成所述色差值計算操作:
Figure 112123256-A0305-02-0031-16
其中,△E 00為色差值,△L'為明度差(Delta luminance),△C'為彩度差(Delta chromaticity),△H'為色相差(Delta hue),K L 為明度權重因子,K C 為彩度權重因子,K H 為色相權重因子,S L 為校正明度,S C 為校正彩度,S H 為校正色相,且R T 為一藍色空間校正參數。
A color gamut calibration system includes: a detection device facing a display panel; and an electronic device coupled to the detection device and at least one display driver chip for driving the display panel to display images; wherein the electronic device is configured to control the display driver chip and the detection device to operate to execute a color gamut calibration method, and the color gamut calibration method includes the following steps: establishing a three-dimensional lookup table according to an input RGB grayscale data transmitted to a display driver chip; wherein the three-dimensional The first data axis, the second data axis and the third data axis of the lookup table are respectively the R axis, the G axis and the B axis of the RGB color space; a data node selection operation is performed to select a group of m primary color gamut data nodes from the three-dimensional lookup table, wherein m is a positive integer; a conversion operation is performed to convert the m primary color gamut data nodes into m groups of XYZ target values corresponding to the m target color gamut data nodes; wherein X, Y, and Z are tristimulus values of the CIE1931 color space; when a display panel is driven by the display driver chip, a measurement operation is performed on the display panel to measure the m groups of XYZ measurement values corresponding to the m primary color gamut data nodes; A color difference value calculation operation is performed to calculate m color difference values using the m sets of XYZ measurement values and the m sets of XYZ target values; when the color difference value is greater than a predetermined value, an iterative update operation is performed on the m original color domain data nodes, and then the aforementioned conversion operation, measurement operation, and color difference value calculation operation are repeatedly performed; the aforementioned iterative update operation, conversion operation, measurement operation, and color difference value calculation operation are repeated until each original color domain data node is corrected to its corresponding After the color difference value of the input RGB grayscale data is less than the predetermined value, the next data node selection operation is performed, and then the conversion operation, the measurement operation, the color difference value calculation operation and the iterative update operation are performed on the next group of m original color domain data nodes; and the processed plurality of original color domain data nodes are stored as an output RGB grayscale data corresponding to the input RGB grayscale data; wherein the electronic device uses the following mathematical formula (4) to complete the color difference value calculation operation:
Figure 112123256-A0305-02-0031-16
Wherein, △ E 00 is the color difference value, △ L' is the luminance difference (Delta luminance), △ C' is the chromaticity difference (Delta chromaticity), △ H' is the hue difference (Delta hue), K L is the luminance weight factor, K C is the chromaticity weight factor , K H is the hue weight factor, SL is the corrected luminance, SC is the corrected chroma, SH is the corrected hue, and RT is a blue space correction parameter.
如請求項6所述之色域校準系統,其中,該電子裝置利用以下數學式(1)、(2)和(3)完成所述轉換操作:
Figure 112123256-A0305-02-0032-17
Figure 112123256-A0305-02-0032-18
Figure 112123256-A0305-02-0032-19
其中,o R o G o B 為一個原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值,t R t G t B 為一個目標色域數據節點所包含的一R灰階值、一G灰階值與一B灰階值,T1為用以將該輸入R灰階值、該輸入G灰階值與該輸入B灰階值轉換成三個原色域刺激值(tristimulus values)的一第一轉換矩陣,且T2為用以將該R灰階值、該G灰階值與該B灰階值轉換成三個目標色域刺激值的一第二轉換矩陣。
The color gamut calibration system as described in claim 6, wherein the electronic device uses the following mathematical formulas (1), (2) and (3) to complete the conversion operation:
Figure 112123256-A0305-02-0032-17
Figure 112123256-A0305-02-0032-18
Figure 112123256-A0305-02-0032-19
Among them, o R , o G and o B are an input R grayscale value, an input G grayscale value and an input B grayscale value included in a primary color gamut data node, t R , t G and t B are an R grayscale value, a G grayscale value and a B grayscale value included in a target color gamut data node, T1 is a first conversion matrix used to convert the input R grayscale value, the input G grayscale value and the input B grayscale value into three primary color gamut stimulus values (tristimulus values), and T2 is a second conversion matrix used to convert the R grayscale value, the G grayscale value and the B grayscale value into three target color gamut stimulus values.
如請求項7所述之色域校準系統,其中,該電子裝置利用以下數學式(5)、(6)、(7)、(8)、(9)、和(10)完成各個原色域數據節點的明度、彩度和色相之計算以及各個目標色域數據節點的明度、彩度和色相之計算,從而接著利用前述之數學式(4)完成所述色差值計算操作:
Figure 112123256-A0305-02-0032-20
Figure 112123256-A0305-02-0032-21
Figure 112123256-A0305-02-0032-22
Figure 112123256-A0305-02-0033-23
Figure 112123256-A0305-02-0033-24
C=H+S.......................................(10);其中,c1為第一常數、X 0Y 0Z 0為三個標準刺激值(standard tristimulus values)、L為明度、a*表示從綠色到紅色的分量、b*表示從藍色到黃色的分量、H為色相(hue)、S為飽和度(saturation)、且C為彩度。
The color gamut calibration system as described in claim 7, wherein the electronic device uses the following mathematical formulas (5), (6), (7), (8), (9), and (10) to complete the calculation of the brightness, chroma, and hue of each original color gamut data node and the calculation of the brightness, chroma, and hue of each target color gamut data node, and then uses the aforementioned mathematical formula (4) to complete the color difference value calculation operation:
Figure 112123256-A0305-02-0032-20
Figure 112123256-A0305-02-0032-21
Figure 112123256-A0305-02-0032-22
Figure 112123256-A0305-02-0033-23
Figure 112123256-A0305-02-0033-24
C=H+S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (10); wherein c1 is the first constant, X0 , Y0 and Z0 are three standard tristimulus values, L is lightness, a* represents the component from green to red, b* represents the component from blue to yellow, H is hue, S is saturation, and C is chroma.
如請求項8所述之色域校準系統,其中,該電子裝置利用以下數學式(11)、(12)、(13)、(14)、(15)、和(16)完成所述迭代更新操作:
Figure 112123256-A0305-02-0033-25
Figure 112123256-A0305-02-0033-26
Figure 112123256-A0305-02-0033-27
△X=X t -X o ....................................(14);△Y=Y t -Y o .....................................(15);△Z=Z t -Z o ....................................(16);其中,R'、G'、B'為所述原色域數據節點的一迭代更新R灰階值、一迭代更新G灰階值與一迭代更新B灰階值,且△R、△G、△B為一R灰階迭代常數、一G灰階迭代常數與一B灰階迭代常數;其中,X o Y o Z o 為一個原色域數據節點所包含的三個原色域刺激值,且X t Y t Z t 為一個目標色域數據節點所包含的三個目標色域刺激值。
The color gamut calibration system of claim 8, wherein the electronic device uses the following mathematical formulas (11), (12), (13), (14), (15), and (16) to complete the iterative update operation:
Figure 112123256-A0305-02-0033-25
Figure 112123256-A0305-02-0033-26
Figure 112123256-A0305-02-0033-27
△X= Xt - Xo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (14); △Y= Y t - Y o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (15); △Z= Z t - Z o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (16); wherein R', G', B' are an iteratively updated R grayscale value, an iteratively updated G grayscale value and an iteratively updated B grayscale value of the original color gamut data node, and △ R , △ G , △ B are an R grayscale iteration constant, a G grayscale iteration constant and a B grayscale iteration constant; wherein Xo , Yo , Zo are three original color gamut stimulus values contained in an original color gamut data node , and Xt , Yt , Zt are three target color gamut stimulus values contained in a target color gamut data node.
如請求項9所述之色域校準系統,其中,在所述色差值小於該預定值的情況下,該電子裝置利用以下數學式(17)、(18)和(19)以執行一傳值操作從而決定下一組m個原色域數據節點:
Figure 112123256-A0305-02-0034-28
Figure 112123256-A0305-02-0034-29
Figure 112123256-A0305-02-0034-30
其中,Rn、Gn、Bn為下一組m個原色域數據節點之中的一原色域數據節點所包含的一輸入R灰階值、一輸入G灰階值與一輸入B灰階值,V R V G V B 為一R灰階傳值比例、一G灰階傳值比例和一B灰階傳值比例。
The color gamut calibration system as claimed in claim 9, wherein, when the color difference value is less than the predetermined value, the electronic device uses the following mathematical formulas (17), (18) and (19) to perform a value transfer operation to determine the next set of m original color gamut data nodes:
Figure 112123256-A0305-02-0034-28
Figure 112123256-A0305-02-0034-29
Figure 112123256-A0305-02-0034-30
Among them, Rn, Gn, Bn are an input R grayscale value, an input G grayscale value and an input B grayscale value contained in a primary color gamut data node among the next group of m primary color gamut data nodes, VR , VG , VB are an R grayscale value ratio, a G grayscale value ratio and a B grayscale value ratio.
TW112123256A 2023-06-20 2023-06-20 Color gamut calibration method and color gamut calibration system TWI849990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112123256A TWI849990B (en) 2023-06-20 2023-06-20 Color gamut calibration method and color gamut calibration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112123256A TWI849990B (en) 2023-06-20 2023-06-20 Color gamut calibration method and color gamut calibration system

Publications (2)

Publication Number Publication Date
TWI849990B true TWI849990B (en) 2024-07-21
TW202502033A TW202502033A (en) 2025-01-01

Family

ID=92929446

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112123256A TWI849990B (en) 2023-06-20 2023-06-20 Color gamut calibration method and color gamut calibration system

Country Status (1)

Country Link
TW (1) TWI849990B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212728A1 (en) * 2004-03-29 2005-09-29 Eastman Kodak Company Color OLED display with improved power efficiency
TW202201383A (en) * 2020-06-22 2022-01-01 大陸商北京集創北方科技股份有限公司 Color gamut conversion method of OLED display panel and display device and information processing device using the same using a plurality of (R, G, B) gray-scale vectors for mapping operations under matrix conversion
WO2022040889A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Display method and apparatus, and electronic device
US20220230601A1 (en) * 2019-10-08 2022-07-21 Karlsruhe Institute Of Technology Perceptually improved color display in image sequences on physical displays

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050212728A1 (en) * 2004-03-29 2005-09-29 Eastman Kodak Company Color OLED display with improved power efficiency
US20220230601A1 (en) * 2019-10-08 2022-07-21 Karlsruhe Institute Of Technology Perceptually improved color display in image sequences on physical displays
TW202201383A (en) * 2020-06-22 2022-01-01 大陸商北京集創北方科技股份有限公司 Color gamut conversion method of OLED display panel and display device and information processing device using the same using a plurality of (R, G, B) gray-scale vectors for mapping operations under matrix conversion
WO2022040889A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Display method and apparatus, and electronic device

Also Published As

Publication number Publication date
TW202502033A (en) 2025-01-01

Similar Documents

Publication Publication Date Title
CN110197642B (en) Acquisition method of three-primary color brightness correction relationship, display correction method and correction device
CN107369408B (en) Toning method, toning device, display driver and display system
CN106782303B (en) A kind of display bearing calibration of display panel, apparatus and system
WO2019114369A1 (en) Primary color conversion method and converter therefor, display control method, and display device
US8704848B2 (en) Calibration system and method thereof for calibrating display
CN112292851B (en) Color gamut correction method and device
WO2017082994A1 (en) White point calibration and gamut mapping for a display
WO2017035849A1 (en) White balancing method for four-color pixel system
CN104520921A (en) Color-signal-processing circuit, color signal processing method, display device, and electronic instrument
CN112992059B (en) Method and related device for adjusting Gamma of OLED display screen
CN105472364B (en) The chrominance signal conversion method and device of LCDs
CN104811676B (en) Color gamut mapping method and device thereof
CN110675797A (en) Color gamut mapping method, color gamut mapping assembly, display device and storage medium
TW202222070A (en) Color gamut mapping device, tuning method thereof, and image processor
CN118737060A (en) Display brightness adjustment method, device, computer equipment and storage medium
CN112700747B (en) Accurate display calibration method with common color space circuitry
JP2018137633A (en) White balance adjustment method, method of manufacturing display unit having white balance adjusted, white balance adjustment device, and display unit
TWI849990B (en) Color gamut calibration method and color gamut calibration system
JP2010256899A (en) Calibration system and method for calibrating display
CN111667787B (en) Display device
CN110277076A (en) A kind of Color Mapping Approach and device, display equipment, medium
TWI780449B (en) Color gamut conversion method of OLED display panel and display device and information processing device using the same
TW202220437A (en) Color gamut mapping method and device
TW201911284A (en) Image data processing method and timing controller
CN101527857A (en) Display device, and color conversion method and color conversion circuit of same