Field of the Invention
The invention is directed to a gamma curve and color coordinate adjusting apparatus and method and more particularly, to the gamma curve and color coordinate adjusting method according to a color analyzing data.
Description of Related Art
With the advancement of electronic technologies, people's demands for information have been significantly increased. Accordingly, a high performance display system is necessary for an electronic apparatus.
With respect to a conventional display system, the gamma curve and optical color coordinate are always adjusted by manual. However, there are many sets of gamma registers needed to be filled up. It is a difficult job to fill up all of the gamma registers of a display system correctly. That is, it is an important course for engineers to generated information for the gamma registers efficiency and correctly.
The invention provides a gamma curve and color coordinate adjusting apparatus and an adjusting method thereof for adjusting the gamma curve and the color coordinate efficiency.
The invention is directed to a gamma curve and a color coordinate adjusting method including: receiving a display image and generating a color analyzing data, wherein the color analyzing data comprises a plurality of stimulus values respectively corresponding to a plurality of driven gray levels; receiving a target color coordinate value and a target luminance value; operating a searching operation according to a setting range on the color analyzing data, calculating a simulation color coordinate value and a simulation luminance value according to the stimulus values of each of the driven voltage levels, and obtaining a plurality of adjusted node information for the gamma curve and the color coordinate according to a difference between the target color coordinate value and the simulation color coordinate value and a difference between the target luminance value and the simulation luminance value corresponding to each of the driven voltage levels.
The invention is directed to a gamma curve and color coordinate adjusting apparatus. The gamma curve and color coordinate adjusting apparatus includes a display color analyzer, and a controller. The display color analyzer receives a display image and generates a color analyzing data, wherein the color analyzing data comprises a plurality of stimulus values respectively corresponding to a plurality of driven gray levels. The controllers is coupled to the display color analyzer. The controller receives a target color coordinate value and a target luminance value, operates a searching operation according to a setting range on the color analyzing data, calculates a simulation color coordinate value and a simulation luminance value according to the stimulus values of each of the driven voltage levels, and obtains a plurality of adjusted node information for the gamma curve and the color coordinate according to a difference between the target color coordinate value and the simulation color coordinate value and a difference between the target luminance value and the simulation luminance value corresponding to each of the driven voltage levels.
To sum up, the present disclosure provides a gamma curve and color coordinate adjusting apparatus for adjusting a gamma curve and a color coordinate of a display system according to color analyzing data and a target color coordinate value and a target luminance value. That is, a necessary gamma curve and color coordinate can be obtain automatically by the gamma curve and color coordinate adjusting apparatus when the color analyzing data is obtained. Also, an engineer for the display system can adjust the gamma curve and color coordinate easily by adjust the target color coordinate value and the target luminance value. The efficiency of the display system is improved.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, several embodiments accompanied with figures are described in detail below.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Referring to
The color analyzing data may include a first primary color analyzing data, a second primary color analyzing data, and a third primary color analyzing data. The first, second and third primary color analyzing data may respectively are red, green and blue analyzing data. Each of the primary color analyzing data can be indexed by a plurality of driven voltage levels, and three (X, Y and Z) stimulus values are corresponding to one of the driven voltage level. In here, the driven voltage level A means a driving voltage value fed to the display panel for displaying an image with gray level A.
In the step S120, a target color coordinate value and a target luminance value are received, wherein a x target color coordinate value and a y target color coordinate value are received. Then, in the step S130, a searching operation is operated according to a setting range on the color analyzing data, a simulation color coordinate value and a simulation luminance value according to the stimulus values of each of the driven voltage levels is calculated, and a plurality of adjusted node information for the gamma curve and the color coordinate are obtained according to a difference between the target color coordinate value and the simulation color coordinate value and a difference between the target luminance value and the simulation luminance value corresponding to each of the driven voltage levels.
In this embodiment, the searching operation may be performed on the color analyzing data by different levels. Referring to
In
In
The detail operation of the step S130 can be referred to
Wherein, the X1[i] is the X stimulus value corresponding to the ith driven gay level in the first primary color analyzing data 311, the X2[j] is the X stimulus value corresponding to the jth driven gray level in the second primary color analyzing data 312, the X3[k] is the X stimulus value corresponding to the kth driven gray level in the third primary color analyzing data 313, the Y1[i] is the Y stimulus value corresponding to the ith driven gray level in the first primary color analyzing data 311, the Y2[j] is the Y stimulus value corresponding to the ith driven gray level in the second primary color analyzing data 312, the Y3[k] is the Y stimulus value corresponding to the kth driven gray level in the third primary color analyzing data 313, the Z1[i] is a Z stimulus value corresponding to the ith driven gray level in the first primary color analyzing data 311, the Z2[j] is the Z stimulus value corresponding to the jth driven gray level in the second primary color analyzing data 312, the Z3[k] is the Z stimulus value corresponding to the kth driven gray level in the third primary color analyzing data 313.
On the other hand, difference values between the target color coordinate value and the simulation color coordinate value are calculated. An absolute value of difference between the x simulation color coordinate value and the x target color coordinate value is calculated to obtain a first difference value, and an absolute value of difference between the y simulation color coordinate value and the y target color coordinate value is calculated to obtain a second difference. The first and second difference values are respectively compared by a x difference limit and a y difference limit. If both of the first and second difference values are respectively smaller than the x difference limit and the y difference limit, the corresponding driven voltage levels of the first, second and third primary color analyzing data are recorded to be a first adjusted node information.
For example, in
It should be noted here, if the first adjusted node information is determined, the search operation may be stopped. On the contrary, if not both of the first and second difference values are respectively smaller than the x difference limit and the y difference limit, the search operation may keep on executing till the first adjusted node information can be determined.
Moreover, a maximum luminance value of the gamma curve can be obtained by adding all of the Y stimulus values corresponding to the first adjusted node information. In the embodiment of
The maximum and minimum luminance values can respectively be maximum and minimum luminance values of the adjusted gamma curve. That is, a relationship between luminance and gray levels can be obtained by follow formula (3): Luminance=(maximum luminance value−minimum luminance value)*(255−i)2.2/255+minimum luminance value (3), wherein i is the gray level and between 0-255.
Furthermore, after the first adjusting node information is determined, a plurality of second adjusting node information need to be determined, too. In the example in
sim_Y=Y1[i]+Y2[j]+Y3[k] (4)
Furthermore, a difference luminance ratio according to the simulation luminance value and the target luminance value corresponding to one of the driven voltage levels is calculated, wherein the difference luminance ratio=(SimY−TarY)/TarY, wherein the SimY is the simulation luminance values corresponding to one of the driven voltage levels, and the TarY is the target luminance value. In the example of
Furthermore, the first difference value and second difference value can be also obtained at the same time, and in the example of
It can be easily known, during the search operation within the setting range, a plurality of difference summations can be obtained. A minimum value of the difference summations is selected to obtain a selected difference summation, wherein first and second difference values corresponding to the selected difference summation are respectively smaller than the x difference limit and y difference limit. That is, in the example of
Furthermore, by adjusting the number of i, the target luminance value can be adjusted according to the formula (3), and another second adjusted node information can be obtained by repeat the search operation in the example of
Referring to
In
That is, a maximum luminance value and a minimum luminance value of the adjusted gamma curve can be obtained, and luminance of each node of the adjusted gamma curve can be obtained according to the formula (3).
After the first adjusting node information is obtained, the search operation can be executed continually, and a plurality of second adjusting node information can be obtained. In this embodiment, a distance between the target color coordinate value and the simulation color coordinate value is calculated, and whether the distance between the target color coordinate value and the simulation color coordinate value corresponding to each of the driven voltage levels is smaller than a limit distance or not is determined.
In detail, a x difference between the x target color coordinate value and the x simulation color coordinate value, and a y difference between the y target color coordinate value and the y simulation color coordinate value are calculated. Then, square of the x difference and square of the y difference are summed, and a square root of the summation is calculated to obtain the distance between the target color coordinate value and the simulation color coordinate value is calculated. Further, a square root of a summation of square of the x difference limit and square of the y difference limit is calculated to obtain the limit distance. By comparing the limit distance and the distance between the target color coordinate value and the simulation color coordinate value, whether the distance between the target color coordinate value and the simulation color coordinate value corresponding to each of the driven voltage levels is smaller than a limit distance or not can be determined.
If the distance between the target color coordinate value and the simulation color coordinate value corresponding to each of the driven voltage levels is determined to be smaller than the limit distance, and further if the x and y simulation color coordinate values are respectively smaller than the x difference limit and y difference limit, the corresponding driven voltage level may be recorded in a data base. Then, when the search operation is completed, luminance differences of all of the driven voltage levels recorded in the data base are calculated, and one of the driven voltage levels in the storage bank is selected to be a second adjusted node information. Wherein, the luminance difference is absolute value of difference between the simulation luminance and the target luminance, and the selected driven voltage level has a minimum luminance difference.
Referring to
For the example in
That is, a maximum luminance value and a minimum luminance value of the adjusted gamma curve can be obtained, and luminance of each node of the adjusted gamma curve can be obtained according to the formula (3).
After the first adjusting node information is obtained, the search operation can be executed continually, and a plurality of second adjusting node information can be obtained. In this embodiment, if the distance between the target color coordinate value and the simulation color coordinate value corresponding one of the driven voltage levels is smaller than the distance limit, and the x and y simulation color coordinate values are respectively smaller than the x difference limit and y difference limit, the corresponding driven voltage level is recorded to be a second adjusted node information.
Referring to
In some embodiment, the controller 620 may be a processor (such as CPU or DSP) for executing program to process step S130. The detail operations of the step S130 have been described detail in above embodiments.
To conclude, the color coordinate and gamma curve adjusting information by the color coordinate and gamma curve adjusting apparatus automatically. A plurality of values of gamma registers can be filled up without manual operation. The performance of a display system can be improved efficiency.
Although the invention has been described with reference to the above embodiments, it will be apparent to one of the ordinary skill in the art that modifications to the described embodiment may be made without departing from the spirit of the invention. Accordingly, the scope of the invention will be defined by the attached claims not by the above detailed descriptions.
Number | Name | Date | Kind |
---|---|---|---|
20040246273 | Rykowski | Dec 2004 | A1 |
20070052735 | Chou | Mar 2007 | A1 |
20120242680 | Park | Sep 2012 | A1 |
20150348505 | Pyo | Dec 2015 | A1 |
Number | Date | Country | |
---|---|---|---|
20170039989 A1 | Feb 2017 | US |