In the present invention, a method for automatically detecting and adjusting the grayscale/white balance of a display is provided, which is according to a colormetry principle, i.e. Grassman's Law of color mixture, which proposes that any color can be constituted by suitably mixing three primary colors of red, green, and blue, wherein the method of the present invention comprises the steps of: detecting a chromaticity coordinate and a brightness of a present white color of a display by a detector; selecting a chromaticity coordinate of three primary colors of red, green, and blue in a known chromaticity space, such as selecting a chromaticity coordinate R(0.64, 0.33), G(0.29, 0.6) and B(0.15, 0.06) of three primary colors of red, green, and blue of an EBU (European Broadcast Union) recommendation for automatically calculating a present mixing ratio of the three primary colors of red, green, and blue, which is used to constitute the present white color of the display according to Grassman's Law of color mixture in colormetry; meanwhile, calculating a desired mixing ratio of three primary colors of red, green, and blue, which is used to constitute an ideal white color under a predetermined color temperature; and comparing the present mixing ratio with the desired mixing ratio to obtain a proportion therebetween which is used as a set of gain values of the three primary colors of red, green, and blue of the display so that the display can be adjusted until the display exhibits optimal color performances.
According to a transformation equation of a color system proposed by the Commission Intornation De'l E'clairage (CIE), a chromaticity coordinate and a brightness (x, y, Y) can be transformed into three theoretically primary colors (X, Y, Z) by the following equation (1), wherein X, Y, and Z are stimulation values (i.e. stimulation energies for human eyes) of three primary colors of red, green, and blue, respectively:
Thereby, in the present invention, if the chromaticity coordinate and the brightness of the present white color of the display detected by the detector is Wp(xwp, ywp, Ywp) , the three theoretically primary colors is as shown in the following equation (2):
Meanwhile, based on Grassman's Law of color mixture which proposes that any color can be constituted by suitably mixing three primary colors of red, green, and blue according to a suitable brightness ratio, if the three primary colors of red, green, and blue are Rp(xr, yr) Gp(Xg, yg) and Bp(xb, yb) the chromaticity coordinate and the brightness of the present white color of the display Wp(xwp, ywp, Ywp) should have three theoretically primary colors Wp(Xwp, Ywp, Zwp) which can be calculated from three theoretically primary colors Rp(Xrp, Yrp, Zrp) of the chromaticity coordinate Rp(xr, yr) and the brightness Yrp of red color, three theoretically primary colors Gp(Xgp, Ygp, Zgp) of the chromaticity coordinate Gp(xg, yg) and the brightness Ygp of green color, and three theoretically primary colors Bp(Xbp, Ybp, Zbp) of the chromaticity coordinate Bp(xb, yb) and the brightness Ybp of blue color as shown in the following equation (3):
According to a transformation table of the color system of CIE, the three theoretically primary colors Rp(Xrp, Yrp, Zrp) of the chromaticity coordinate Rp(xr, yr) and the brightness Yrp of red color can be calculated as shown in the following equation (4):
Meanwhile, the three theoretically primary colors Gp(Xgp, Ygp, Zgp) of the chromaticity coordinate Gp(xg, yg) and the brightness Ygp of green color can be calculated as shown in the following equation (5), and the three theoretically primary colors Bp(Xbp, Ybp, Zbp) of the chromaticity coordinate Bp(xb, yb) and the brightness Ybp of blue color can be calculated as shown in the following equation (6):
According to the equations (3), (4), (5), and (6), the three theoretically primary colors (Xwp, Ywp, Zwp) of the present white color of the display under a predetermined color temperature can be calculated as shown in the following equations (7), (8), and (9):
Then, by calculating a simultaneous equation of the equations (7), (8), and (9), the mixing ratio of the brightness Yrp of red color, the brightness Ygp of green color, and the brightness Ybp of blue color will be obtained, wherein the present white color of the display is constituted according to the mixing ratio.
In the same way, if it is supposed that an ideal white color under a predetermined color temperature has a chromaticity coordinate and a brightness Wi(xwi, ywi, Ywi) the value Wi(xwi, ywi, Ywi) can be calculated as shown in the following equations (10) by adding the three theoretically primary colors Rp(Xri, Yri, Zri) of the chromaticity coordinate Rp(xr, yr) and the brightness Yri of red color, the three theoretically primary colors Gp(Xgi, Ygi, Zgi) of the chromaticity coordinate Gp(xg, yg) and the brightness Ygi of green color, and the three theoretically primary colors Bp(Xbi, Ybi, Zbi) of the chromaticity coordinate Bp(xb, yb) and the brightness Ybi of blue color:
Then, according to the transformation table of the color system of CIE, the three theoretically primary colors Rp(Xri, Yri, Zri) of the chromaticity coordinate Rp(xr, yr) and the brightness Yri of red color can be calculated as shown in the following equation (11):
Meanwhile, the three theoretically primary colors Gp(Xgi, Ygi, Zgi) of the chromaticity coordinate Gp(xg, yg) and the brightness Ygi of green color can be calculated as shown in the following equation (12), and the three theoretically primary colors Bp(Xbi, Ybi, Zbi) of the chromaticity coordinate Bp(xb, yb) and the brightness Ybi of blue color can be calculated as shown in the following equation (13):
According to the equations (10), (11), (12), and (13), the three theoretically primary colors (Xwi, Ywi, Zwi) of the ideal white color of the display under the predetermined color temperature can be calculated as shown in the following equations (14), (15), and (16):
Then, by calculating a simultaneous equation of the equations (14), (15), and (16), the mixing ratio of the brightness Yri of red color, the brightness Ygi of green color, and the brightness Ybi of blue color will be obtained, wherein the ideal white color of the display are constituted according to the mixing ratio.
When compensating the three primary colors of the display by the gain values, the mixing ratio of the three primary colors could be adjusted to a lower level if the mixing ratio is excessive. On the contrary, the mixing ratio of the three primary colors could be adjusted to a higher level if the mixing ratio is insufficient. As a result, the three primary colors will be adjusted to compensate for excess or insufficient color performances until the display exhibits optimal color performances. In the preferred embodiment of the present invention, the three primary colors of the display are compensated based on the desired mixing ratio of the three primary colors of the ideal white color which is defined as a standard value. If the present mixing ratio of the three primary colors of the present white color of the display are higher than the standard value, the present mixing ratio thereof will be compensated by using gain values which are less than 1. On the contrary, if the present mixing ratio of the three primary colors of the present white color is lower than the standard value, the present mixing ratio thereof will be compensated by using gain values which are greater than 1. In other words, the gain values for compensating are in an inverse proportion to the present mixing ratio of the three primary colors of the present white color of the display. The gain values (cr, cg, cb) for compensating the three primary colors of red, green, blue of the display can be calculated as shown in the following equation (17):
Referring to
Referring now to
Then, the values (Yrp, Ygp, Ybp) and (Yri, Ygi, Ybi) are used to calculate the equation (17) to obtain a set of gain values (cr, cg, cb) for compensating the three primary colors of red, green, and blue of the display, which is about (1.04547, 1.04996, 0.95224) Finally, the operation unit 13 sends the set of gain values to a memory 1231 of a scaler 123 formed on a system printed circuit board 12 of the display, in which the set of gain values is written. Thus, when video signals are inputted into the system printed circuit board 12, at least one video decoder 121 and a de-interlacer 122 provided by the system printed circuit board 12 are respectively used to decode and de-interlace the video signals in turn. Meanwhile, the scaler 123 is used to compensate the three primary colors of red, green, and blue of the video signals according to the set of gain values stored in the memory 1231, and then the compensated video signals are outputted to the panel 11 so that the panel 11 can exhibit the compensated video signals with optimal color performances.
Furthermore, due to the calculated gain values (1.04547, 1.04996, 0.95224) having fractional numbers, designs of digital circuits based on the gain values will be very complex, and may need more operating processes and operating times. In the first preferred embodiment of the present invention, the gain values (cr, cg, cb) of red, green, and blue can be preferably normalized and converted into a ratio (gr, gg, gb) which is equal to or less than 1. Moreover, the ratio (gr, gg, gb) is further multiplied and converted into an integral number by a power of 2, such as 27=128 for increasing adjustment accuracy, wherein the ratio is calculated as shown in the following equation (20) and (21):
(Gr, Gg, Gb)=(128×gr, 128×gg, 128×gb) (21)
According to the equation (21), the gain values (Gr, Gg, Gb) are converted into an integral ratio (127, 128, 116), and then written into the memory 1231 of the scaler 123 so as to automatically complete the adjustment of the three primary colors of red, green, and blue of the display.
After the adjustment, the detector 10 is used to detect the panel 11 again for ensuring values of the color temperature and the color deviation of the panel 11, wherein the color temperature is adjusted from an original value of about 10600K to a closely optimal value of about 9210K, and wherein the color deviation is adjusted from an original value of about −0.002 to a closely optimal value of about −0.0004. As shown in the experimental data of
As described above, the method of the present invention can be used to detect each of the displays in a batch for immediately calculating the desired gain values (Gr, Gg, Gb) of each of the displays before outputting the batch while the desired gain values (Gr, Gg, Gb) can be automatically written into the memory 1231 of the scaler 123 without any manual adjustment so as to automatically compensate the three primary colors of red, green, and blue outputted from the panel 11 until the panel 11 can exhibit optimal color performances in order to efficiently lower the manufacture time and the manual inaccuracy caused by the manual adjustment. Furthermore, the method of the present invention can be used to speed the adjustment of grayscale/white balance of each of the displays in a batch, wherein the grayscale/white balance of each of the displays is automatically adjusted until each of the displays can exhibit optimal color performance after detection and adjustment.
It should be noted that the first preferred embodiment of the present invention is described as above, and a second preferred embodiment of the present invention will be described in more detail hereinafter. Referring to FIG. 3, a display is provided with a panel 21 and a system printed circuit board 22. The system printed circuit board 22 is formed with at least one video decoder 221, a de-interlacer 222, a scaler 223, and a memory 2231, wherein the video decoder 221, the de-interlacer 222, and the scaler 223 are electrically connected to each other in turn, and the scaler 223 is further electrically connected to the memory 2231 and the panel 21. When a detector 20 is used to detect the panel 21, a chromaticity coordinate Wp(xwp, ywp, Ywp) of a white color of the panel 21 under a predetermined color temperature is detected by the detector 20, and then sent to an operation unit 23. The operation unit 23 accesses a chromaticity coordinate Wi(xwi, ywi) of a predetermined white color under an ideal color temperature, while the operation unit 23 accesses chromaticity coordinate R (0.64, 0.33), G (0.29, 0.6), and B (0.15, 0.06) of the three primary colors of red, green, and blue of an EBU recommendation, which will be used to calculate the equations (20), to obtain a set of gain values (Gr, Gg, Gb) which will be written into the memory 2231. Thereby, when video signals are inputted into the system printed circuit board 22, the video decoder 221 and the de-interlacer 222 are respectively used to decode and de-interlace the video signals in turn. Meanwhile, the scaler 223 is used to compensate the three primary colors of red, green, and blue of the video signals according to the set of gain values stored in the memory 2231, and then the compensated video signals are outputted to the panel 21 so that the panel 21 can exhibit the compensated video signals with optimal color performances.
Referring to
According to the method for automatically detecting and adjusting the grayscale/white balance of the display of the first, second, and third preferred embodiments of the present invention, the compensation of the three primary colors of red, green, and blue of the display is preferably carried out by circuit hardware. However, the compensation thereof is not limited to be carried out by circuit hardware, i.e. it also can be carried out in other equivalent manner, such as software, by anyone skilled in the art according to the concept of the present invention as described above and claimed hereinafter. Furthermore, in the present invention, the chromaticity coordinate of the present white color of the display can be detected by the detector 10, 20, or 30 to be used to calculate the gain values of the three primary colors of red, green, and blue for adjusting the grayscale/white balance of the display, and then the three primary colors of red, green, and blue of the display will be compensated via circuit hardware or equivalent software until the display can exhibit optimal color performances. Moreover, it should be also noted that the method of the present invention is not limited to select the chromaticity coordinate of the three primary colors of red, green, and blue for detection and adjustment, i.e. chromaticity coordinate of any three points in a chromaticity space can be also selected for detection and adjustment, although the method of the present invention preferably selects the chromaticity coordinate of the three primary colors of red, green, and blue in a color range of the display for calculating the gain values for adjustment.
The present invention has been described with a preferred embodiment thereof and it is understood that many changes and modifications in the described embodiment can be carried out without departing from the scope and the spirit of the invention that is intended to be limited only by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
095131921 | Aug 2006 | TW | national |