TWI283852B - Method for color correction - Google Patents

Method for color correction Download PDF

Info

Publication number
TWI283852B
TWI283852B TW92137746A TW92137746A TWI283852B TW I283852 B TWI283852 B TW I283852B TW 92137746 A TW92137746 A TW 92137746A TW 92137746 A TW92137746 A TW 92137746A TW I283852 B TWI283852 B TW I283852B
Authority
TW
Taiwan
Prior art keywords
value
gray scale
display
interval
gray
Prior art date
Application number
TW92137746A
Other languages
Chinese (zh)
Other versions
TW200521951A (en
Inventor
Yuh-Ren Shen
Ching-Hsiang Hsu
Ling-Chih Lu
Original Assignee
Vast View Technology Inc
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 Vast View Technology Inc filed Critical Vast View Technology Inc
Priority to TW92137746A priority Critical patent/TWI283852B/en
Publication of TW200521951A publication Critical patent/TW200521951A/en
Application granted granted Critical
Publication of TWI283852B publication Critical patent/TWI283852B/en

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A method for color correction includes selecting a plurality of gray levels and luminance from display source of a display, analyzing the selected data of each light, getting fitting functions by curve fitting each gray level data in each intervals. By using fitting functions to obtain all fitting luminance in the intervals forms a lookup table. For matching the normalized image data to a predetermined target curve, using logarithmic scale plots these two curves in advance, obtaining corrected gray level signals from the lookup table. Outputting these corrected gray level signals to display the gray level distribution on a display. It is applicable to various displays, especially the liquid crystal display.

Description

1283852 五、發明說明(1) 【發明所屬之技術領域】 本發明係關於一種色彩校正之方法,尤指一種將影像 資料之原始灰階表現值分布狀態分配之色彩校正方法,其 方法係以一區間契合曲線函數取得契合灰階表現值,並製 成一對照表,藉此對照表快速取得修正灰階訊號以提供顯 示器調整灰階分布狀態,特別適合用於液晶顯示器之色彩 影像處理。 【先前技術】 液晶顯示器(Liquid Crystal D i s p 1 a y ,簡稱LCD)是屬於光電產品中平面顯示器 的一種,擁有體積小、質量輕、厚度薄、耗電低、不閃爍 、無輻射等眾多優點;在顯示器之影像處理技術上,受液 晶分子的本身的性質影響,諸如黏滞係數、介電常數以及 彈性係數等,會有響應時間過久與殘影現象之問題,因此 需以改良之驅動方式改善影像品質,其中又以主動矩陣型 (Active Ma t r i X)驅動方式最具產業應用 價值,此種驅動方式是在原本配置晝素的電極交叉處加上 一個主動(Ac t i ve)素子,目前最熱門的TFT ( Thin Film Transistor)技術就是 屬於其中一種,特別是T F T型液晶顯示器於液晶面板上 原本配置晝素的電極交叉處,再加上一個對向電極,並且 在此三個電極的交叉處放置薄膜狀的主動素子。 LCD面板的每個像素(P i xe 1 )可產生紅光( Red)、綠光(Green)和藍光(Blue)三原1283852 V. INSTRUCTION DESCRIPTION OF THE INVENTION (1) Technical Field The present invention relates to a method of color correction, and more particularly to a color correction method for distributing the distribution state of the original gray scale expression value of image data, the method is The interval matching curve function obtains the gray scale performance value and makes a comparison table. The comparison table quickly obtains the modified gray level signal to provide the display to adjust the gray scale distribution state, and is particularly suitable for the color image processing of the liquid crystal display. [Prior Art] Liquid crystal display (LCD) is a type of flat panel display in optoelectronic products. It has many advantages such as small size, light weight, thin thickness, low power consumption, no flicker, no radiation, etc. In the image processing technology of the display, due to the nature of the liquid crystal molecules, such as viscosity coefficient, dielectric constant and elastic coefficient, there will be problems of excessive response time and image sticking, so an improved driving method is required. Improve image quality, which is the most industrial application value of Active Ma tri X. This driving method is to add an active (Ac ti ve) element to the electrode intersection of the original configuration. The most popular TFT (Thin Film Transistor) technology is one of them. In particular, the TFT type liquid crystal display has an electrode intersection originally disposed on the liquid crystal panel, plus a counter electrode, and the intersection of the three electrodes. Place a film-like active element. Each pixel (P i xe 1 ) of the LCD panel can generate red, green, and blue

12838521283852

,事實上液晶本身沒有顏色,顏色是光通 過L C Π而 板所設的濾色片而產生的’並且以控制光線通 過像夸66旦+ ^ 的里來控制色彩的亮度,亮度的程度和彩色濾色片 1 ^ 般稱之為 π灰階值’’(G r a y 1 e v e 動 °在液晶顯示器内部,灰階值由驅動元件產生電壓驅 ’—個8位元的驅動元件可產生2 5 6個灰階電壓,而 中間多庚丨^_ 偉 則在驅動元件中產生中間電壓值,然而液晶的光 、輸為非線性,因此必須修正電壓以得到均勻色度分佈特 十生’電壓與像素亮度之輸入輸出關係近似於一曲線函數: $輸出=輸入電壓7,其參數以r (gamma)表示, 若f灰階值與亮度(或稱灰階表現值)之對應關係顯示於 座‘上則呈一曲線,稱為”伽瑪曲線”(忌a m m a c u r v e ) ’如第1 A圖所示,當輸入灰階資料分為r G b 二色光時’伽瑪曲線會如第1 B圖所示,一般會將此伽碼 曲線之原始灰階資料正規化(η 〇 r m a 1 i z e d ) 了 得到二色光之曲線起點與終點相同之伽瑪曲線,如第丄c 圖所不,一般而言,影像之色彩修正係根據此正規化伽 曲線。 馬 口 ,一包含驅動方式之驅動晶片而言,要使顯示器面 王現最佳色衫表現,也就是最佳之伽瑪曲線狀態,必須 由色彩量測系統或裝置將面板之灰階表現值量測出,並 原始灰階資料父與驅動晶片處理;習知技術中,對於一多 光為8位7G顯不之顯示器面板,色彩量測系統必須量 7 6 8個灰階表現值,才能得到伽瑪曲線,十分費時,'因In fact, the liquid crystal itself has no color, the color is generated by the color filter set by the LC Π plate and the light is controlled by the light passing through the image to control the brightness of the color, the degree of brightness and the color. The color filter 1 ^ is generally called the π gray scale value '' (G ray 1 eve move ° inside the liquid crystal display, the gray scale value is generated by the drive element voltage drive' - an 8-bit drive component can generate 2 5 6 The gray-scale voltage, while the middle multi-g 丨 ^ _ wei generates an intermediate voltage value in the driving component, but the liquid crystal light and output are nonlinear, so the voltage must be corrected to obtain a uniform chromaticity distribution of the special 'voltage and pixel The input-output relationship of brightness is approximated by a curve function: $output = input voltage 7, whose parameter is expressed by r (gamma), if the correspondence between f-gradation value and brightness (or gray-scale performance value) is displayed on the ' Then a curve, called "gamma curve" (avoid ammacurve) 'As shown in Figure 1A, when the input grayscale data is divided into r G b dichromatic light, the gamma curve will be as shown in Figure 1B. , usually the original of this gamma curve The order data normalization (η 〇rma 1 ized ) obtains the same gamma curve as the start point and the end point of the curve of the two-color light, as shown in the figure 丄c. Generally, the color correction of the image is based on the normalized gamma curve. In Makou, a driving chip containing a driving method, in order to make the display face the best color shirt performance, that is, the best gamma curve state, the gray scale performance value of the panel must be determined by the color measurement system or device. Measured, and the original grayscale data parent and driver wafer processing; in the prior art, for a multi-light display panel with 8 digits and 7G display, the color measurement system must measure 768 grayscale performance values. Getting a gamma curve is very time consuming, 'cause

1283852 五、發明說明(3) 此本案之發明人以一新穎有效之色彩修正方法,將色彩量 測時間大為縮短,進而使色彩產生速度更快、更豐富。 另外,對液晶顯示器而言,一個8位元的控制器能生 產2 5 6個明暗層次,若像素上的每個原色能顯示2 5 6 個色度變化,則每個像素就能夠顯示2 5 6 X 2 5 6 X 256種色彩,也就是1 6,777,2 1 6種顏色,但這 並不能滿足人的眼睛對色彩變化的要求,顯示器晝面於動 態顯示時雖然看不出色彩變化之差異,但是靜態顯示時, 人眼就會明顯察覺出灰階變化不夠平順,為了解決此一問 題,於是發展出圖框速率控制(F r ame Rate C ο n t r ο 1 ,F R C )技術,方法即是於一個圖像顯 示花費的時間内細分成數個圖框資料,當影像資料的切換 過程中較暗和較亮色度間切換時,像素可在切換過程中產 生中間色度,使灰階值更平滑地呈現,也使色彩表現更為 豐富。影像色彩切換過程中若相鄰兩像素同時開啟或關閉 明暗,就會產生一種閃燦現象(f 1 i c k e r p h e nomenon),使人產生不舒服感,因此為了消除此 種現象,必須使兩像素產生不同之灰階值,產生之方法係 將原始伽瑪曲線之原始灰階值對應至一目標曲線而得之, 目標曲線係根據液晶顯示器面板之特性而建立,或是設定 R G B伽瑪曲線其中之一作為目標曲線,再以對應後得到 之修正灰階訊號以F R C技術處理,於顯示器上呈現灰階 狀態;以往之習知技術中,色彩處理方式會如第2圖所示 之步驟方法,經由一色光之伽瑪曲線之原始灰階值經步驟1283852 V. INSTRUCTIONS (3) The inventor of this case uses a novel and effective color correction method to greatly shorten the color measurement time, thereby making the color generation faster and more abundant. In addition, for a liquid crystal display, an 8-bit controller can produce 256 shades. If each primary color on the pixel can display 2 5 6 chrominance changes, each pixel can display 2 5 6 X 2 5 6 X 256 colors, which are 1, 6,777, 2 1 6 colors, but this does not meet the requirements of the human eye for color changes, although the display does not see color changes during dynamic display. The difference, but when displayed statically, the human eye will notice that the grayscale change is not smooth enough. In order to solve this problem, the frame rate control (Fr ame Rate C ο ntr ο 1 , FRC ) technology is developed. That is, it is subdivided into several frame materials in the time taken by an image display. When the image data is switched between darker and brighter chromaticity, the pixel can generate intermediate chromaticity during the switching process, so that the grayscale value is more Smooth rendering also makes the color more abundant. If two adjacent pixels are turned on or off at the same time during image color switching, a phenomenon of f1 ickerphe nomenon will occur, which will cause discomfort. Therefore, in order to eliminate this phenomenon, it is necessary to make two pixels different. The gray scale value is generated by correspondingly the original gray scale value of the original gamma curve to a target curve, and the target curve is established according to the characteristics of the liquid crystal display panel, or one of the RGB gamma curves is set. As the target curve, the modified gray-scale signal obtained by the corresponding processing is processed by the FRC technology, and the gray-scale state is displayed on the display. In the prior art, the color processing method is as shown in FIG. The original grayscale value of the gamma curve of light is stepped

第10頁 1283852 五、發明說明(4) 一會對應至一目標曲線上之灰階表現值,也就是步驟二所 指向之亮度,此亮度可由原始伪0瑪曲線之灰階值為 1 2 8 . 5所表現,也就是步驟三之方法,然而此灰階值 介於1 2 8與1 2 9之間,因此需將運算位元從8位元提 昇至9位元,以線性内插法求得到相對應之灰階表現值, 若產生之中間灰階值位於1 2 8 .5與1 2 9之間或 1 2 8與1 2 8 · 5之間,則運算位元就必須提昇至1 0 位元以上,對硬體資源而言是一負擔,而且以線性内插法 運算無法快速又準確對應至目標曲線。 有鑑於此,本案之發明人對上述之缺點加以改進,以 一新穎之色彩校正方法使影像資料處理速度更快,色彩呈 現更豐富。 【發明内容】 本發明之主要目的係提供一種色彩校正之方法,以快 速獲得影像資料之灰階表現值,降低色彩量測時間。 本發明之另一目的係提供一種色彩校正之方法,以快 速獲得影像修正後之灰階表現值,使液晶顯示器能依此修 正灰階訊號分布灰階狀態,使顯示器之色彩呈現更為豐富 ,並且不降低影像之解析度。 為了達到上述目的,本發明之色彩校正方法分別對各 色光之選取資料作數值計算,求得曲線契合(c u r v e f i t t i n g )每區間内灰階值資料之契合曲線函數 ,利用此契合曲線函數獲得區間内灰階值之契合灰階表現 值,並製成一對照表,接著將輸入之影像灰階資料正規化Page 10 1283852 V. Description of the invention (4) A gray level representation value corresponding to a target curve, that is, the brightness pointed to in step 2, the brightness of the original pseudo-zero curve is 1 2 8 5 performance, that is, the method of step three, however, the gray scale value is between 1 2 8 and 1 2 9 , so the operation bit needs to be increased from 8 bits to 9 bits by linear interpolation. Find the corresponding gray-scale performance value. If the intermediate gray-scale value is between 1 2 8 .5 and 1 2 9 or between 1 2 8 and 1 2 8 · 5, the operation bit must be raised to More than 10 bits is a burden on hardware resources, and it cannot be quickly and accurately mapped to the target curve by linear interpolation. In view of this, the inventors of the present invention have improved the above-mentioned shortcomings, and have a novel color correction method to make image data processing faster and more colorful. SUMMARY OF THE INVENTION The main object of the present invention is to provide a color correction method for quickly obtaining gray scale performance values of image data and reducing color measurement time. Another object of the present invention is to provide a color correction method for quickly obtaining image-corrected gray-scale performance values, so that the liquid crystal display can correct the gray-scale state of the gray-scale signal distribution, thereby making the display color richer. And does not reduce the resolution of the image. In order to achieve the above object, the color correction method of the present invention separately performs numerical calculation on the selected data of each color light, and obtains a curve curve function of the gray-scale value data in each interval of curve fitting, and obtains the gray in the interval by using the matching curve function. The order value fits the gray scale performance value, and is made into a comparison table, and then the input image gray scale data is normalized.

1283852 五、發明說明(5) 後得一伽瑪曲線,將此伽瑪曲線對應至一預設之目標曲 線,對應時先將二伽瑪曲線對數化,透過對照表求得一修 正灰階訊號 ,將修正灰階訊號以F R C技術處理,以供顯示器呈現灰 階分布狀態,尤其適合用於各式液晶顯示器。 為了對此一發明有更深入之瞭解,茲藉一實施例詳述 於後。 【實施方式】 以液晶顯示器為例,為了校正液晶顯示器面板之亮度 呈現狀態,因此會輸入不同色光之灰階值,再以一色彩量 測裝置或系統量測液晶顯示器面板之灰階表現值,以此得 到如第1 B圖所示各色光之伽瑪曲線圖,經正規化後如第 1 C圖所示,在本發明中,並不對各色光之2 5 6個灰階 值及灰階表現值作處理,而是僅取N組灰階資料計算伽瑪 曲線,N為正整數且最小值為2、最大值為顯示器所能顯 示之灰階值範圍之最大值,因此N值越小,量測速度越快 ,但是準確度越不準確;N值越大,量測時間增長,但是 準確度可提高;以R G B三色光為顯示光源之顯示器為例 ,其最佳之選取總數為3 0組,分別如下所列: 紅光之量測灰階值為: 0,31,63,95,127,159 ,191,207,223,239,2551283852 V. Invention description (5) After obtaining a gamma curve, the gamma curve is corresponding to a preset target curve. Correspondingly, the two gamma curves are logarithmized, and a modified gray-scale signal is obtained through a comparison table. The modified gray-scale signal is processed by the FRC technology for the gray-scale distribution state of the display, and is particularly suitable for various liquid crystal displays. In order to gain a deeper understanding of this invention, an embodiment will be described in detail later. [Embodiment] Taking a liquid crystal display as an example, in order to correct the brightness display state of the liquid crystal display panel, gray scale values of different color lights are input, and the gray scale performance value of the liquid crystal display panel is measured by a color measuring device or system. In this way, the gamma curve of each color light as shown in FIG. 1B is obtained, and as shown in FIG. 1C after normalization, in the present invention, there are no 256 gray scale values and gray scales for each color light. The performance value is processed, but only the N sets of gray scale data are used to calculate the gamma curve, N is a positive integer and the minimum value is 2. The maximum value is the maximum value of the gray scale value range that the display can display, so the smaller the N value is The faster the measurement speed, but the less accurate the accuracy; the larger the N value, the longer the measurement time, but the accuracy can be improved; for example, the display with RGB tri-color light as the display light source, the best selection is 3 Group 0, as listed below: The gray scale value of red light is: 0,31,63,95,127,159,191,207,223,239,255

第12頁 1283852 ( 量測上述灰階值(p)之灰階表現值(Q)後,每n組歸為 一區間,η為正整數且大於等於2、小於等於N,若每2個量 測灰階資料為一區間,取區間内灰階值與灰階表現值之最 大者,取對數後相除,得到一伽瑪參數函數(a): 1ogQmax r — __ logPmax (a) 依據此伽瑪參數以一冪函數q = apr + b曲線契合(curve fitting)區間内所有選取資料,以求得係數a、b值,使各 區間得一契合曲線函數並儲存之,利用各色光每區間之契 合曲線函數,獲得區間内各灰階值之契合灰階表現值並製 成一對照表(lookup table),可供後續色彩處理或校正 用。 右每3組灰階資料歸為一區間,同樣取相鄰二區間灰階值 與灰階表現值之最大值代入(㈧式,求得一伽瑪參數,以 此參數以一多項式Q = aPr + bp + C曲線契合區間内所有 選取貧料,以求得係數a、咏碰,使各區間得一契合曲 線函數並儲存之。 、若母n組灰階資料歸為一區間,n為大於等於2、小 於等於Ν之正整數時,同樣先取相鄰二區間灰階值與灰階 表現值之最大值代入(a )式,求得一伽瑪參數,將此參 數以一多項式(b ):Page 12 1283852 (After measuring the gray scale representation value (Q) of the above gray scale value (p), each n group is classified into an interval, η is a positive integer and is greater than or equal to 2, less than or equal to N, if every 2 quantities The gray-scale data is an interval, and the largest of the gray-scale values and gray-scale representation values in the interval is taken, and the logarithm is divided to obtain a gamma parameter function (a): 1ogQmax r — __ logPmax (a) The Ma parameter uses a power function q = apr + b curve to curve all the selected data in the interval to obtain the coefficients a and b, so that each interval has a matching curve function and stores it, using each color of light per interval. Corresponding to the curve function, the grayscale representation value of each grayscale value in the interval is obtained and made into a lookup table, which can be used for subsequent color processing or correction. The right grayscale data of each group is classified into one interval, and the same phase is taken. The maximum value of the gray-scale value of the adjacent two interval and the gray-scale representation value are substituted ((8), and a gamma parameter is obtained. With this parameter, a polynomial Q = aPr + bp + C curve fits all the selected poor materials in the interval. Get the coefficient a, bump, so that each interval gets a curve function and If the n-group gray-scale data is classified as an interval, and n is a positive integer greater than or equal to 2 and less than or equal to Ν, the same is taken as the maximum value of the adjacent two-interval gray-scale value and the gray-scale representation value (a ), find a gamma parameter, and use this parameter as a polynomial (b):

1283852 t 五、發明說明(7) η Q二X〜卜+ Ή α〇 广、 m = 2 ( b ) 曲線契合區間内所有選取資料,而求得函數之係數a m、a 1以及a 〇,並且令每一多項式之a n — i=〇 ,r⑺之 值由各區間内灰階所決定,求法為將相鄰區間灰階值與灰 階表現值之最大值代入函數(a )得到之伽瑪參數;以η =4為例, 2 = +¾ ,其中紅光之一區間包含灰 階值2 0 7、2 2 3、2 3 9及2 5 5 ,則r 4由灰階值 2 5 5及其灰階表現值代入伽瑪參數函數(a )所決定, r 2由灰階值2 3 9及其灰階表現值所決定,r 1由灰階值 2 2 3及其灰階表現值所決定,再將4個灰階值與灰階表 現值代入Q函數,解出各係數即可得到該區間之契合曲線 函數,利用各色光每區間之契合曲線函數,獲得區間内各 灰階值之契合灰階表現值製成一對照表,以供後續色彩處 理之使用。 上述之步驟可由如第5圖之流程圖表示,經由執行該 步驟可建立一完整之對照表,換言之,該對照表係由在不 同伽瑪參數下、不同灰階值與相對應之灰階表現值所構成 ,經實驗數據比較得知,此種方法所得到之伽瑪曲線和量 測得到之伽瑪曲線兩者之誤差小於量測裝置之容許範圍, 因此可得知,此種曲線契合之色彩校正方法不僅有效地降 低量測顯示器之時間,亦獲得精準度高之量測值,此種色 彩校正之方法適用於各式顯示器,例如液晶顯示器、投影1283852 t V. Description of invention (7) η Q 二 X~卜 + Ή α〇广, m = 2 ( b ) The curve fits all the selected data in the interval, and the coefficients of the function am, a 1 and a 求 are obtained, and Let the value of an - i = 〇, r (7) of each polynomial be determined by the gray level in each interval. The method is to substitute the maximum value of the gray value of the adjacent interval and the gray value of the gray level into the gamma parameter obtained by the function (a). Taking η = 4 as an example, 2 = +3⁄4 , where one of the red light intervals contains gray scale values of 2 0 7 , 2 2 3 , 2 3 9 and 2 5 5 , then r 4 is represented by a gray scale value of 2 5 5 and The gray-scale performance value is determined by the gamma parameter function (a), r 2 is determined by the gray-scale value 2 3 9 and its gray-scale representation value, and r 1 is represented by the gray-scale value 2 2 3 and its gray-scale representation value. Decide, then substitute 4 gray scale values and gray scale performance values into the Q function, and solve the coefficients to obtain the fit curve function of the interval. Use the fit curve function of each color light to obtain the gray scale values in the interval. The grayscale performance values are made into a comparison table for use in subsequent color processing. The above steps can be represented by a flow chart as shown in FIG. 5. By performing this step, a complete comparison table can be established. In other words, the comparison table is represented by different gray level values and corresponding gray scales under different gamma parameters. The value is composed, and the experimental data shows that the error between the gamma curve obtained by the method and the gamma curve obtained by the measurement is smaller than the allowable range of the measuring device, so that it can be known that the curve fits The color correction method not only effectively reduces the time of the measurement display, but also obtains a highly accurate measurement value. The color correction method is applicable to various types of displays, such as liquid crystal displays and projections.

第14頁 1283852 t 五、發明說明(8) 機、電漿顯示器等等。 另外,當影像之原始灰階資料訊號輸入顯示器後,假 設此影像資料之伽瑪曲線為參數為r之函數: Γ = ( c ) ,其中X、Y為灰階訊號之灰階值與灰階表現值,欲將此 伽瑪曲線函數對應至一預設之目標曲線函數(d )函數其 中Y為目標灰階表現值,r ’為目標曲線之伽瑪參數,使 顯示器可依修正後之灰階訊號處理色彩表現,方法為將函 數(c ) ( d )取對數,並令X t = X,得到函數: logF = rlogZ ( c,);及 \ogYt = rf\ogX ( d,); 上述兩式經聯立運算得到函數(e ): log Yt = log Y (e) 由函數(e )可求得目標灰階表現值Υ t,若以座標表 示則如第3圖所示,對數座標軸分別為灰階值及灰階表現 值,函數(c’ )(d’ )之數值形成斜率分別為r及I·’之 直線,當影像資料之灰階值X i n輸入後,經步驟一及步驟 二,可得到目標灰階表現值Y t,再經步驟三,即以一斜 率為一r之直線求得橫軸上之X Q u t,以X Q u t為過渡灰 階值X n參看上述之對照表,求得相對應之過渡灰階表現 值Υ η ;將Υ η與Y t做比較,若兩者之差值小於一容許誤 差值,則以Y n值取代Y t值,以過渡灰階值X 11取代目標 灰階值X t,否則重複上述步驟,直到Y 11與Y t之差值小Page 14 1283852 t V. Description of invention (8) Machine, plasma display, etc. In addition, when the original grayscale data signal of the image is input into the display, it is assumed that the gamma curve of the image data is a function of the parameter r: Γ = ( c ) , where X and Y are gray scale values and gray scales of the gray scale signal. Performance value, this gamma curve function is required to correspond to a preset target curve function (d) function, where Y is the target gray scale performance value, r ' is the gamma parameter of the target curve, so that the display can be modified according to the gray The order signal handles the color representation by taking the logarithm of the function (c) ( d ) and let X t = X to get the function: logF = rlogZ ( c,); and \ogYt = rf\ogX ( d,); The two equations are obtained by a simultaneous operation to obtain the function (e): log Yt = log Y (e) The target gray scale representation value Υ t can be obtained from the function (e), and if represented by coordinates, as shown in Fig. 3, the logarithmic coordinate axis The grayscale value and the grayscale representation value respectively, and the value of the function (c')(d') forms a straight line with a slope of r and I·' respectively. When the grayscale value X in of the image data is input, step 1 and Step 2, the target gray scale performance value Y t can be obtained, and after step 3, the slope is a r Find the XQ ut on the horizontal axis and XQ ut as the transition gray scale value X n. Refer to the above comparison table to find the corresponding transition gray scale performance value Υ η; compare Υ η with Y t , if two If the difference is less than a tolerance value, replace the Y t value with the Y n value, and replace the target gray scale value X t with the transition gray value X 11 , otherwise repeat the above steps until the difference between Y 11 and Y t is small

第15頁 1283852Page 15 1283852

五、發明說明(9) ^ =許誤差值’接著將表現目標灰階值x t之修 ^輸出,“一FRc^術將修正灰階tK號表^來,白 =驟之流程圖如第6圖所示,經由該步驟所 確度可依據上述對照表所提供之不同伽瑪象火= =灰:值與:對應之灰階表現值決定,不受硬體資:限不 铲盥 可表現之色彩層次更為豐富,而原始灰階資钭1 =修正灰階訊號可對應製成一對照表 據呈現灰階分佈狀態。 %作為依 f參閱第4圖,以9位元之裝置可以線性内插法 2 8 . 5之灰階值表現,但是若灰階 二 破歸為接近值丄2 8 ·5 ,而“丄2 8 5來輸出廿:則會 ::表現,反觀本案之方法可直接以灰階值工8呈現, 枓由,續之FRC技術處理,得到準確之灰^出7貝 因此,本發明具有以下之優點: 出 1、本發明之色f校正方法使顯示器色彩量測 且条差小於篁測裝置之容許範圍, 爭價值。 、巧α 1土之產業競 2 5發:之J彩校正方法使色彩之表 b 且不減低畫面之解析唐,佶顧+的 ^ 又马豆备, 感。 U使顯不盗之色彩鮮豔有立體 綜上所述,本發明確實可達到預 使顯示器校正過程迅速、色彩更豐富及 供一種 之方法,極具產業利用之價值,爰依法提出專利=校正 第16頁 1283852 圖式簡單說明 【圖式簡單說明】 第1 A圖係習知之伽瑪曲線之示意圖。 第1 B圖係不同色光之原始伽瑪曲線之示意圖。 第1 C圖係不同色光之正規化後伽瑪曲線之示意圖。 第2圖係習知之伽瑪曲線對應至目標曲線之方法示意圖。 第3圖係本發明之色彩校正之方法之輸入灰階值求得目標 函數曲線之目標灰階表現值之步驟示意圖。 第4圖係本發明之色彩校正之方法與習知技術之方法比較 之示意圖。 第5圖係本發明之色彩校正之方法之建立各色光灰階值之 契合灰階表現值對照表之流程圖。 第6圖係本發明之色彩校正之方法之輸出各色光之修正灰 階訊號之流程圖。V. Description of invention (9) ^ = Xu error value' will then be used to represent the target gray scale value xt. "A FRc^ will correct the grayscale tK number table ^, white = step flow chart as the sixth As shown in the figure, the accuracy determined by this step can be determined according to the different gamma ray fire = = gray: value and: corresponding gray scale performance value provided by the above-mentioned comparison table, which is not subject to hardware resources: The color level is more abundant, and the original gray level resource 1 = the modified gray level signal can be correspondingly made into a comparison table according to the gray scale distribution state. % as the f according to Fig. 4, the device with 9 bits can be linearly The gray scale value of interpolation 2 8 . 5 is expressed, but if the gray scale is broken into the approximate value 丄 2 8 · 5 , and " 丄 2 8 5 to output 廿: will:: performance, the method of this case can be directly Presented by the grayscale value worker 8, and then processed by the FRC technology, the accurate gray is obtained. Therefore, the present invention has the following advantages: 1. The color f correction method of the present invention makes the display color measurement and The difference is less than the allowable range of the device and the value is awarded. Qiao α 1 soil industry competition 2 5 hair: the J color correction method makes the color table b and does not reduce the analysis of the picture Tang, care for the + ^ and the horse bean preparation, feeling. U makes the color of the display not vivid, and the stereoscopic combination is described above. The invention can achieve the method of pre-predicting the display calibration process quickly, the color is richer and is provided for one method, and the value of the industry is highly utilized. 16 pages 1283852 Brief description of the diagram [Simple description of the diagram] Figure 1A is a schematic diagram of the conventional gamma curve. Figure 1 B is a schematic diagram of the original gamma curve of different colored lights. Figure 1 C is a schematic diagram of the normalized gamma curve of different colored lights. Figure 2 is a schematic diagram of a method in which a conventional gamma curve corresponds to a target curve. Figure 3 is a schematic diagram showing the steps of determining the target gray scale performance value of the target function curve by the input gray scale value of the color correction method of the present invention. Fig. 4 is a schematic view showing a comparison of the method of color correction of the present invention with the method of the prior art. Fig. 5 is a flow chart showing a comparison table of the gray scale performance values of the gray scale values of the respective colors in the method of color correction of the present invention. Figure 6 is a flow chart showing the modified gray scale signal of each color light outputted by the color correction method of the present invention.

第17頁Page 17

Claims (1)

1283852 六、申請專利範圍 1 、一種色彩校正之方法,其方法包含: (1 )由色彩量測系統量測顯示器顯示光源之灰階值 與灰階表現值; (2 )將灰階值與灰階表現值正規化(η 〇 r m a 1 i z e d ),並選取N組灰階值與灰階 表現值,N為正整數,最小值為2、最大值 為顯示器所能顯示之灰階值範圍之最大值; (3 )將上述步驟之選取值每η組歸為一區間,η為 正整數且大於等於2、小於等於Ν ; (4 )將每區間之灰階值(Ρ )與灰階表現值(Q ) 取對數後相除,得到伽瑪參數(g a m m a ): log?,分別依據此伽瑪參數以一函數曲 線契合(curve fi tt ing)區間 内所有選取資料,使各區間得一契合曲線函數 y (5 )利用各色光每區間之契合曲線函數,獲得區間 内各灰階值之契合灰階表現值,並將灰階值與 契合灰階表現值之對應數值序列製成一對照表 (lookup table); (6 )將影像之原始灰階資料正規化(η o r m a 1 i z e d ),分別得到各色光包含灰階值(X )與灰階表現值(Y )之灰階訊號之伽瑪曲線 (gamma curve),伽瑪曲線函數1283852 6. Patent application scope 1. A method for color correction, the method comprises the following steps: (1) measuring the gray scale value and gray scale performance value of the display light source by the color measurement system; (2) gray scale value and gray scale The order representation value is normalized (η 〇rma 1 ized ), and N sets of gray scale values and gray scale representation values are selected, N is a positive integer, the minimum value is 2, and the maximum value is the maximum range of gray scale values that the display can display. (3) classify the selected value of the above steps into an interval, η is a positive integer and greater than or equal to 2, less than or equal to Ν; (4) grayscale value (Ρ) and grayscale representation value of each interval (Q) After the logarithm is divided, the gamma parameter (gamma) is obtained: log?, according to the gamma parameter, all the selected data in the interval are matched by a function curve, so that each interval has a matching curve. The function y (5) uses the fit curve function of each color light to obtain the fit gray scale representation value of each gray scale value in the interval, and makes the corresponding numerical sequence of the gray scale value and the corresponding gray scale expression value into a comparison table ( Lookup table); (6) original image Order Data normalization (η o r m a 1 i z e d), respectively comprising a light gray color gamma curve value (X) and the level performance value (Y) of the gray scale signal (gamma curve), the gamma curve function 第18頁 1283852 六、申請專利範圍 為 i7 = ’ Γ為伽瑪蒼數; (7 )將伽瑪曲線函數為 r = 之影像灰階訊號對 jp* , 應至一預設之目標曲線函數 ¥ = A ,即令X t 等於X,經疊代法逼近求得一修正灰階訊號, 其步驟為: (a )分別將伽瑪曲線函數及目標曲線函數對 log Yt = —log Y 數化,因此 r ,由此求得目 標灰階表現值Y t ; (b )以一過渡灰階值X n參看該對照表,求 得相對應之過渡灰階表現值Y n ; (c )將過渡灰階表現值Y 11與目標灰階表現 值Y t比較,若兩者差值小於一容許誤 差值,則以Y n取代Y t值,並以該過渡 灰階值X 11取代目標灰階值X t ;若兩者 差值未小於一容許誤差值,則重複步驟 (a )至(c ), (d )將包含目標灰階值X t之修正灰階訊號 輸出;以及 (8 )將修正灰階訊號輸出,使顯示器依據修正灰階 訊號呈現灰階分佈狀態。 2、如申請專利範圍第1項所述之色彩校正之方法,其中Page 18 1283852 VI. The scope of the patent application is i7 = ' Γ is the gamma number; (7) the gamma curve function is r = image gray level signal pair jp*, should be a preset target curve function ¥ = A , that is, let X t be equal to X, and obtain a modified gray-scale signal by approximation method. The steps are as follows: (a) The gamma curve function and the target curve function are respectively digitized by log Yt = -log Y, so r, thereby obtaining the target gray scale expression value Y t ; (b) referring to the comparison table with a transition gray scale value X n to obtain a corresponding transition gray scale representation value Y n ; (c) transition gray scale The performance value Y 11 is compared with the target gray scale performance value Y t . If the difference between the two is less than a tolerance value, the Y t value is replaced by Y n , and the target gray scale value X t is replaced by the transition gray scale value X 11 . If the difference between the two is not less than an allowable error value, repeat steps (a) through (c), (d) output the modified gray-scale signal containing the target gray-scale value X t ; and (8) correct the gray scale The signal output enables the display to display the grayscale distribution state according to the modified gray scale signal. 2. A method of color correction as described in claim 1 of the patent application, wherein 第19頁 1283852 六 3 4 5 申請專利範圍 顯示光源係為R G B (紅綠藍)三色光。 •如申請專利範圍第1項所述之色彩校正之方法 各區間取相鄰灰階值與灰階表現值之最大值者 r = 1〇g 得伽瑪參數,即 log Prax 。 如申請專利範圍第1項所述之色彩校正之方法,其中 η 函數係以伽瑪參數為依據之多項式 2 = % ’ η為大於等於2、小於等於N之正整數,a m、a工 以及a ◦為此函數之係數,並且令每一多項式之a。i =〇 ’ r m之值由各區間内灰階值所決定。 一種色彩校正之方法中之色彩校正對照表製成方法, 其方法包含: (1 )由色彩量測系統量測顯示器顯示光源之灰階值 與灰階表現值; (2 )將灰階值與灰階表現值正規化(η 〇 r m a 1 1 z e d ),並選取N組灰階值與灰階表現值 ,1^為正整數,最小值為2 、最大值為顯示器 所能顯示之灰階值範圍之最大值; (3 )將上述步驟之選取值每η組歸為一區間,n為 正整數且大於等於2、小於等於Ν ; (4 )將每區間之灰階值(Ρ )與灰階表現值(q ) 取對數後相除,得到伽瑪參數(g a m m a ) 其中 以求Page 19 1283852 VI 3 4 5 Patent application range The display source is R G B (red, green and blue) three-color light. • The method of color correction as described in item 1 of the patent application section. Each interval takes the maximum value of the adjacent grayscale value and the grayscale representation value r = 1〇g to obtain the gamma parameter, ie log Prax. The method of color correction according to claim 1, wherein the η function is a polynomial based on gamma parameters 2 = % ' η is a positive integer greater than or equal to 2, less than or equal to N, am, a, and a ◦ The coefficient of this function, and let a of each polynomial. The value of i = 〇 ’ r m is determined by the grayscale value in each interval. A color correction comparison table manufacturing method in a color correction method, the method comprising: (1) measuring a gray scale value and a gray scale performance value of a display display source by a color measurement system; (2) setting a gray scale value and The grayscale representation value is normalized (η 〇rma 1 1 zed ), and N sets of grayscale values and grayscale representation values are selected, 1^ is a positive integer, the minimum value is 2, and the maximum value is the grayscale value that the display can display. (3) The selected value of the above steps is divided into an interval, n is a positive integer and greater than or equal to 2, less than or equal to Ν; (4) the grayscale value (Ρ) and gray of each interval The order performance value (q) is divided by the logarithm and the gamma parameter (gamma) is obtained. 第20頁 1283852 六、申請專利範圍 ·· 匕#,分別依據此伽瑪參數以一函數曲線 契合(curve fitting)區間内 所有選取資料’使各區間得一契合曲線函數; 以及 (5 )利用各色光每區間之契合曲線函數,獲得區間 内各灰階值之契合灰階表現值,並將灰階值與 契合灰階表現值之對應數值序列製成一對照表 (lookup table)。 6、 如申請專利範圍第5項所述之色彩校正對照表製成 方法’其中各區間取相鄰灰階值與灰階表現值之最大 ^ ^ log Q ^ 值者,以求得伽瑪參數,即 ” 一 log尸咖 。 7、 如申請專利範圍第5項所述之色彩校正對照表製成 方法,其中函數係以伽瑪參數為依據之多項式 η ’ η為大於專於2、小於等於ν之 ,整數,a m、a i以及a Q為此函數之係數,並且令 每一多項式之a n_P 〇 ,Γ⑴之值由各區間内灰階值 所決定。 8、 如申請專利範圍第5項所述之色彩校正對照表製成 方法其中忒光源為紅綠藍三色光,其紅光之量測灰 階值為:0, 31,63, 9 5, 1 27, 1 59, 191,20 7, 223, 239, 255; 綠光之量測灰階值為·· 3丨,6 3,9 5,丨2 7,丨5 9,丨9丨,2 〇 7Page 20 1283852 VI. Application scope ··匕#, according to this gamma parameter, a curve curve fits all the selected data in the interval to make each interval get a curve function; and (5) use each color The fit curve function of each interval of light obtains the gray scale representation value of each gray scale value in the interval, and makes the corresponding numerical sequence of the gray scale value and the gray scale representation value into a lookup table. 6. If the color correction comparison table preparation method described in item 5 of the patent application scope is used, the maximum ^^ log Q ^ value of the adjacent gray scale value and the gray scale expression value is taken in each interval to obtain the gamma parameter. , that is, "a log corpse coffee. 7. A method for making a color correction reference table as described in claim 5, wherein the function is based on a gamma parameter and the polynomial η ' η is greater than 2, less than or equal to ν, integer, am, ai, and a Q are the coefficients of this function, and let the value of a n_P 〇, Γ (1) of each polynomial be determined by the gray scale value in each interval. 8. As in the fifth paragraph of the patent application scope The color correction comparison table preparation method is described in which the xenon light source is red, green and blue, and the gray scale value of the red light is 0, 31, 63, 9 5, 1 27, 1 59, 191, 20 7, 223, 239, 255; The gray scale of the green light is ·· 3丨,6 3,9 5,丨2 7,丨5 9,丨9丨,2 〇 7 第21頁 1283852 六、申請專利範圍 223, 2 3 9,2 5 5;以及藍光之量測灰階值為: 3 0,6 3,9 6,1 2 9,1 6 2,1 9 5,2 1 5,2 3 5,2 5 5。 9 、如申請專利範圍第5項所述之色彩校正對照表製成 方法,其中顯示器係液晶顯示器。 1 0 、如申請專利範圍第5項所述之色彩校正對照表製成 方法,其中顯示器係投影機。 1 1 、如申請專利範圍第5項所述之色彩校正對照表製成 方法,其中顯示器係電漿顯示器(P 1 a s m a Disp lay Panel)。Page 21, 1283852 VI. The scope of application for patents 223, 2 3 9, 2 5 5; and the gray scale of the blue light are: 3 0,6 3,9 6,1 2 9,1 6 2,1 9 5, 2 1 5,2 3 5,2 5 5. 9. The color correction reference sheet manufacturing method according to claim 5, wherein the display is a liquid crystal display. 1 0. The color correction reference sheet manufacturing method according to claim 5, wherein the display is a projector. 1 1 . The color correction reference sheet manufacturing method according to claim 5, wherein the display is a plasma display (P 1 a s m a Disp lay Panel). 第22頁 1283852 否Page 22 1283852 No 1283852 六、指定代表圖 (一) 、本案代表圖為:第____3____圖 (二) 、本案代表圖之元件代表符號簡單說明:1283852 VI. Designation of Representative Representatives (1) The representative figure of this case is: ____________ (2), the representative symbol of the representative figure of this case is simple:
TW92137746A 2003-12-31 2003-12-31 Method for color correction TWI283852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92137746A TWI283852B (en) 2003-12-31 2003-12-31 Method for color correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92137746A TWI283852B (en) 2003-12-31 2003-12-31 Method for color correction

Publications (2)

Publication Number Publication Date
TW200521951A TW200521951A (en) 2005-07-01
TWI283852B true TWI283852B (en) 2007-07-11

Family

ID=39430904

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92137746A TWI283852B (en) 2003-12-31 2003-12-31 Method for color correction

Country Status (1)

Country Link
TW (1) TWI283852B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2244486A2 (en) 2009-04-21 2010-10-27 Coretronic Display Solution Corporation Color calibration system and method for a display
US9135889B2 (en) 2008-10-14 2015-09-15 Apple Inc. Color correction of electronic displays

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11004406B1 (en) * 2020-01-05 2021-05-11 Himax Technologies Limited Dual liquid crystal display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9135889B2 (en) 2008-10-14 2015-09-15 Apple Inc. Color correction of electronic displays
EP2244486A2 (en) 2009-04-21 2010-10-27 Coretronic Display Solution Corporation Color calibration system and method for a display
US8704848B2 (en) 2009-04-21 2014-04-22 Young Lighting Technology Inc. Calibration system and method thereof for calibrating display

Also Published As

Publication number Publication date
TW200521951A (en) 2005-07-01

Similar Documents

Publication Publication Date Title
WO2019214449A1 (en) Screen brightness control method and device, and terminal device
WO2020224387A1 (en) Drive method, drive apparatus, display device, and computer-readable medium
WO2023000631A1 (en) Method and apparatus for determining correction coefficient of display screen light point, and computer device
TWI553622B (en) Image processing device with image compensation function and image processing method thereof
WO2020093495A1 (en) Method and device for adjusting gamma value of display panel
US7375854B2 (en) Method for color correction
CN105259687A (en) Liquid crystal display screen picture consistency adjusting method and system
JPH05127620A (en) Method and circuit for adjusting liquid crystal projection type color display
JP4870533B2 (en) Gradation correction method for display device, display device, and computer program
CN109246405B (en) Method and system for adjusting uniformity of image tone
WO2013086745A1 (en) Color adjusting device, color adjusting method and display
WO2013086740A1 (en) Color adjustment device, color adjustment method, and display
WO2017035849A1 (en) White balancing method for four-color pixel system
TWI405181B (en) Calibration method for improving the uniformity of luminosity of display device and related device
TWI525604B (en) Apparatus and method for image analysis and image display
JP2011107703A (en) Method and device for managing color
CN114333724B (en) Display brightness and color correction method, device, electronic equipment and storage medium
JP6373478B2 (en) Liquid crystal display device and driving method thereof
CN108932936B (en) Gray scale brightness adjusting method and display device
KR20100073648A (en) Method and apparatus for correcting color of display device
CN108898987B (en) Gray scale conversion method, gray scale conversion device and display device
CN107274857B (en) Method for adjusting output image of display and display system
US20130229430A1 (en) Method and device for simulation of image at oblique view angle
TWI283852B (en) Method for color correction
JP3839024B2 (en) Color correction method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees