The invention relates to a display device and a color adjusting method and, more particularly, to a display device and a color adjusting method allowing a user to adjust color in real-time.
A high definition display device has been widely used to obtain high resolution. The high definition display device requires high precision of color. At present, a colorimeter used for calibrating color of the display device usually uses CIE1931 coordinate system to measure chrominance of the display device. However, CIE1931 coordinate system is not suitable for performing comparison and calculation for color vision of human eyes. Therefore, metameric colors may still exist between different display devices even if color calibration has been performed for the display devices, such that a user needs to adjust color by himself/herself to obtain identical color output. In the prior art, the user adjusts color by adjusting gain and/or offset of RGB. However, the aforesaid adjusting manner will affect brightness, color gamut and gamma of the display device at the same time and the operation thereof is inconvenient.
An objective of the invention is to provide a display device and a color adjusting method allowing a user to adjust color in real-time, so as to solve the aforesaid problems.
According to an embodiment of the invention, a display device comprises a storage unit, a display unit and a processing unit. The storage unit stores an original coordinate of a reference point and a color parameter under a color space, wherein the color space has been processed by color calibration in advance. The display unit displays an adjusting interface. The adjusting interface is configured to shift the reference point to generate a shift coordinate of the reference point. The processing unit is coupled to the storage unit and the display unit. The processing unit obtains a color transformation matrix according to the original coordinate of the reference point, the shift coordinate of the reference point and the color parameter. The processing unit adjusts three output percentages of RGB by the color transformation matrix.
According to another embodiment of the invention, a color adjusting method is adapted to a display device. The color adjusting method comprises steps of the display device storing an original coordinate of a reference point and a color parameter under a color space, wherein the color space has been processed by color calibration in advance; the display device displaying an adjusting interface; shifting the reference point by the adjusting interface to generate a shift coordinate of the reference point; the display device obtaining a color transformation matrix according to the original coordinate of the reference point, the shift coordinate of the reference point and the color parameter; and the display device adjusting three output percentages of RGB by the color transformation matrix.
As mentioned in the above, when a user wants to adjust the current color of the display device, the user shifts the reference point by the adjusting interface. Then, the display device calculates the color transformation matrix automatically and adjusts three output percentages of RGB by the color transformation matrix, so as to update the current color to be a new color adjusted by the user in real-time. Since the color transformation matrix does not need to be calculated by an external color analyzer, the invention is very convenient for a common user.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Referring to
As shown in
The storage unit stores an original coordinate of a reference point and a color parameter under a color space, wherein the color space has been processed by color calibration in advance. In this embodiment, the aforesaid color space may be a linear color space, i.e. a three-axis coordinate system capable of performing linear transformation for matrix, such as CIE1931XYZ, CIE1931RGB, CIE2015XYZ, LMS color space, or other color space using three characteristic vectors {
wherein X, Y or Z represents a component of a coordinate axis in the aforesaid color space.
In this embodiment, the display device 1 may provide a button (not shown) for triggering a color adjusting function. When a user wants to adjust the current color of the display device 1, the user may press the button. At this time, the display unit 12 displays an adjusting interface, as any one shown in
In the following, the adjusting interfaces 16a-16i shown in
As shown in
The adjusting interface 16a shown in
The adjusting interface 16b shown in
The adjusting interface 16c shown in
The adjusting interface 16d shown in
As shown in
It should be noted that each of the adjusting interfaces 16e-16i may also be the color adjusting template only without the brightness adjusting template. At this time, each of the adjusting interfaces 16e-16i is a two-dimensional adjusting interface. When the adjusting interface is a two-dimensional adjusting interface, the user may operate the color adjusting template to adjust color of the reference point to input shift vectors of the reference point. After the user inputs the shift vectors of the reference point, the processing unit 14 may generate the shift coordinate of the reference point according to the original coordinate of the reference point and the shift vectors.
In an embodiment, the aforesaid color parameter may be color coordinates of WRGB, wherein W represents white, R represents red, G represents green, and B represents blue. At this time, the processing unit 14 may obtain an RGB tristimulus matrix according to the color coordinates of WRGB. Then, the processing unit 14 may obtain the color transformation matrix according to the original coordinate of the reference point, the shift coordinate of the reference point and the RGB tristimulus matrix.
According to an embodiment, the data of color coordinates (x, y, z) of WRGB may be shown in table 1 below. In this embodiment, the storage unit 10 may store the color coordinates (x, y) of WRGB shown in table 1 below and the color coordinate z may be calculated and obtained by 1-x-y. As mentioned in the above, the color coordinates (x, y, z) of WRGB shown in table 1 have been processed by color calibration in advance.
The color coordinates (x, y, z) of RGB shown in table 1 may be represented by an RGB color gamut matrix
Then, the RGB color gamut matrix
may be transformed into an RGB color gamut inverse matrix
According to the data of table 1,
is
Furthermore, the color coordinate (x y z)W of W may be normalized by the color coordinate y of W to be
wherein
Then, a composition coefficient (rW gW bW) of the color coordinate of W may be obtained by an equation 1 below, wherein (rW gW bW) is obtained by the normalized color coordinate
of W and the RGB color gamut inverse matrix
According to the equation 1, the composition coefficient (rW gW bW) of the color coordinate of W is 0.644361 1.191948 1.203205).
Then, the RGB tristimulus matrix
may be obtained by an equation 2 below.
According to the equation 2, the data of the RGB tristimulus matrix
may be shown in table 2 below.
In another embodiment, the aforesaid color parameter may also be the RGB tristimulus matrix. In other words, the invention may calculate the RGB tristimulus matrix in advance according to the aforesaid manner and then store the RGB tristimulus matrix in the storage unit 10.
In this embodiment, the aforesaid reference point may be any point in the color space (e.g. white point or other color points). The original coordinate of the reference point may be obtained by an equation 3 below.
In the equation 3, (X Y Z)Original represents the original coordinate of the reference point, (r g b)Original represents three output percentages of RGB of the reference point, and
represents the RGB tristimulus matrix.
It is assumed that the output percentages (r g b)Original of RGB of the reference point is (0.8 0.9 1). According to the equation 3, the original coordinate (X Y Z)Original of the reference point is (118322 0.8860 1.0733).
Then, the color transformation matrix may be obtained by equations 4 to 6 below.
In the equations 4 to 6, (X Y Z)Original represents the original coordinate of the reference point, (X Y Z)Shift represents the shift coordinate of the reference point, MT represents a coordinate transformation matrix,
represents the RGB tristimulus matrix, and MC represents the color transformation matrix.
It is assumed that the color coordinate (0.2981 0.3174) of the reference point is shifted to (0.3 0.32) by the aforesaid two-dimensional adjusting interface, wherein the brightness is not adjusted. At this time, the shift coordinate (X Y Z)Shift of the reference point may be obtained by an equation 7 below.
It should be noted that since Y represents brightness and the brightness is not adjusted, the value of Y in the shift coordinate of the reference point is equal to the value of Y in the original coordinate of the reference point. According to the equation 7, the shift coordinate (X Y Z)Shift of the reference point is (0.830583 0.8860 1.052072).
According to the equations 4 and 5, the coordinate transformation matrix MT is
Then, according to the equation 6, the color transformation matrix MC is
Then, the processing unit 14 may adjust three output percentages of RGB by the color transformation matrix MC according to an equation 8 below, so as to update the current color to be a new color adjusted by the user in real-time.
(r g b)Adjusted=(r g b)Original*MC. Equation 8:
In the equation 8, (r g b)Adjusted represents the output percentages of RGB adjusted by the color transformation matrix MC. When (r g b)Original is (0.8 0.9 1), (r g b)Adjusted is (0.8053 0.9007 0.9775).
In another embodiment, it is assumed that the color coordinate (0.2981 0.3174) of the reference point is shifted to (0.3 0.32) by the aforesaid three-dimensional adjusting interface and the brightness of the reference point is adjusted to 95% by the aforesaid three-dimensional adjusting interface. Since Y represents brightness and the brightness is adjusted to 95%, the value of Y in the shift coordinate of the reference point is equal to the value of Y in the original coordinate of the reference point multiplied by 95%. According to the equation 7, the shift coordinate (X Y Z)Shift of the reference point is (0.789054 0.8417 0.999468).
According to the equations 4 and 5, the coordinate transformation matrix MT is
Then, according to the equation 6, the color transformation matrix MC is
Then, the processing unit 14 may adjust three output percentages of RGB by the color transformation matrix MC according to an equation 8 below, so as to update the current color to be a new color adjusted by the user in real-time.
(r g b)Adjusted=(r g b)Original*MC. Equation 8:
In the equation 8, (r g b)Adjusted represents the output percentages of RGB adjusted by the color transformation matrix MC. When (r g b)Original is (0.8 0.9 1), (r g b)Adjusted is (0.7650 0.8557 0.9286).
Referring to
It should be noted that the detailed embodiments of the color adjusting method of the invention are mentioned in the above and those will not be depicted herein again. Furthermore, each part or function of the control logic of the color adjusting method of the invention may be implemented by software, hardware or the combination thereof.
As mentioned in the above, when a user wants to adjust the current color of the display device, the user shifts the reference point by the adjusting interface. Then, the display device calculates the color transformation matrix automatically and adjusts three output percentages of RGB by the color transformation matrix, so as to update the current color to be a new color adjusted by the user in real-time. Since the color transformation matrix does not need to be calculated by an external color analyzer, the invention is very convenient for a common user.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
109105852 | Feb 2020 | TW | national |