Display data adjustment method

A display data adjustment method is provided, including the following. First display data is received, and first grayscale values of first sub-pixels of different colors in the first display data are converted from a first color gamut space into color values in a second color gamut space. First weight values are generated according to the color values. Lookup tables are compared according to the first grayscale values of the first sub-pixels to obtain groups of first high grayscale values and first low grayscale values corresponding to the first sub-pixels. Second high grayscale values and second low grayscale values are obtained by calculation according to the groups of the first high grayscale values and the first low grayscale values and the first weight values. The second high grayscale values or the second low grayscale values are selected as second grayscale values of second sub-pixels in second display data.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Chinese application no. 202111631908.9, filed on Dec. 28, 2021. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.

BACKGROUND

Technical Field

The disclosure relates to data adjustment technology. In particular, the disclosure relates to a display data adjustment method.

Description of Related Art

With the evolution of display technology, requirements for image quality and resolution displayed by a display device are gradually increasing. However, different human eyes viewing a display device perceive different results, particularly an influence of color shift in a side view of a display image and a sense of graininess of the image. In this regard, it is not possible for a conventional display device to dynamically adjust a display content for the color shift influences so as to provide a method for corresponding adjustment or effective improvement.

SUMMARY

The disclosure is directed to a display data adjustment method, in which a display device provides good displaying according to adjusted display data.

According to an embodiment of the disclosure, a display data adjustment method includes the following. First display data is received, and a plurality of first grayscale values of a plurality of first sub-pixels of different colors in the first display data are converted from a first color gamut space into a plurality of color values in a second color gamut space. A plurality of first weight values are generated according to the plurality of color values. A plurality of lookup tables are compared according to the plurality of first grayscale values of the plurality of first sub-pixels to obtain a plurality of groups of a plurality of first high grayscale values and a plurality of first low grayscale values corresponding to the plurality of first sub-pixels. A plurality of second high grayscale values and a plurality of second low grayscale values are obtained by calculation according to the plurality of groups of the plurality of first high grayscale values and the plurality of first low grayscale values and the plurality of first weight values. The plurality of second high grayscale values or the plurality of second low grayscale values are selected as a plurality of second grayscale values of a plurality of second sub-pixels in second display data.

Based on the foregoing, the display data adjustment method according to the embodiments of the disclosure can automatically adjust display data to dynamically adjust electrical low color shift (ELCS) of the display device to improve displaying.

DESCRIPTION OF THE EMBODIMENTS

Reference will now be made in detail to the exemplary embodiments of the disclosure, examples of which are described in the accompanying drawings. Wherever possible, the same reference numerals are used in the drawings and the description to refer to the same or similar parts.

The disclosure may be understood with reference to the following detailed description together with the drawings. Note that for ease of understanding and simplicity of drawings, the drawings of the disclosure show a part of an electronic device, and certain elements in the drawings may not be drawn to scale. In addition, the number and size of each element shown in the drawings only serve for exemplifying instead of limiting the scope of the disclosure.

Throughout the description of the disclosure and the appended claims, certain terms are used to refer to specific elements. Those skilled in the art should understand that electronic device manufacturers may refer to the same elements by different names. It is not intended herein to distinguish between elements that have the same function but different names. In the following description and claims, the terms “comprise” and “include” are open-ended terms, and should thus be interpreted to mean “comprise but not limited to . . . ”.

In some embodiments of the disclosure, unless specifically defined, terms related to bonding and connection such as “connect”, “interconnect”, and so on may mean that two structures are in direct contact, or that two structures are not in direct contact and another structure is provided in between. In addition, the terms related to bonding and connection may also cover cases where two structures are both movable or two structures are both fixed. Moreover, terms “electrically connect” and “couple” includes any direct and indirect electrical connection means.

In the description and claims, the use of an ordinal number such as “first”, “second”, and so on to modify an element does not by itself connote or represent any preceding ordinal number of the element(s); any priority, precedence, or order of one element over another; or the order in which a manufacturing method is performed, but only to clearly distinguish an element having a certain name from another element having the same name. The same terms may be not used in the claims as used in the description, and accordingly a first member in the description may be a second member in the claims. It should be noted that technical features in different embodiments described below can be replaced, recombined, or mixed with one another to constitute another embodiment without departing from the spirit of the disclosure.

It should be noted that technical features in different embodiments described below can be replaced, recombined, or mixed with one another to constitute another embodiment without departing from the spirit of the disclosure. The features in various embodiments can be arbitrarily mixed and combined for use without departing from or conflicting with the spirit of the disclosure.

In the disclosure, the electronic device may include, but is not limited to, a display device, an antenna device, a sensing device, or a tiled device. The electronic device may be a bendable or flexible electronic device. The electronic device may include, for example but not limited to, liquid crystals, light-emitting diodes, quantum dots (QD), fluorescence, phosphor, other suitable materials, or a combination of the above materials. The light-emitting diode may include, for example but not limited to, an organic light-emitting diode (OLED), a mini LED, a micro LED, or a quantum dot light-emitting diode (QLED or QDLED). The antenna device may be, for example but not limited to, a liquid crystal antenna. The tiled device may be, for example but not limited to, a tiled display device or a tile antenna device. It should be noted that the electronic device may be arbitrary arrangement and combination of the above, but is not limited thereto. A display device will be adopted as the electronic device for describing the disclosure below, but the disclosure is not limited thereto.

FIG.1is a schematic diagram of a display device according to an embodiment of the disclosure. With reference toFIG.1, an electronic device100includes a controller110and a display panel120. The controller110is coupled to the display panel120. In this embodiment, the controller110may include a display data adjustment module111. The controller110may be a timing controller (TCON), for example, and the display data adjustment module111may be implemented by circuits, firmware, and/or software programs in the controller110, but the disclosure is not limited thereto. In this embodiment, the display data adjustment module111may receive first display data D1from the outside, and generate second display data D2after data adjustment. The display panel120may receive the second display data D2to adjust a display image, for example, to render the display image with electrical low color shift (ELCS).

FIG.2Ais a schematic diagram of a pixel array according to an embodiment of the disclosure. With reference toFIG.2A, firstly, in some embodiments of the disclosure, the display panel120ofFIG.1may include a pixel array210as shown inFIG.2A. The pixel array210includes a plurality of pixels211_1to211_N, where N is a positive integer. The pixels211_1to211_N may include a plurality of sub-pixels211R_1to211R N,211G_1to211G N, and211B_1to211B N. Each of the pixels211_1to211_N may include a plurality of sub-pixels, such as a red sub-pixel, a green sub-pixel, and a blue sub-pixel, but the disclosure is not limited thereto. The pixel array210may realize electrical low color shift in a space, so a part of the pixels211_1to211_N may be defined as a high grayscale pixel type (displaying high grayscales), and another part of the pixels211_1to211_N may be defined as a low grayscale pixel type (displaying low grayscales). In some embodiments, the sub-pixels211R_1,211G_1, and211B_1of the pixel211_1are each a sub-pixel of the high grayscale pixel type, for example, and the sub-pixels211R_2,211G_2, and211B_2of the pixel211_2are each a sub-pixel of the low grayscale pixel type, for example. By analogy, as shown inFIG.2A, the sub-pixels of the high grayscale pixel type and the sub-pixels of the low grayscale pixel type are alternately arranged in a manner of line insertion.

FIG.2Bis a schematic diagram of a pixel array according to another embodiment of the disclosure. With reference toFIG.2B, firstly, in some embodiments of the disclosure, the display panel120ofFIG.1may include a pixel array220as shown inFIG.2B. The pixel array220includes a plurality of pixels221_1to221_N, where N is a positive integer. The pixels221_1to221_N may include a plurality of sub-pixels221R_1to221R_N,221G_1to221G_N, and221B_1to221B N. Each of the pixels221_1to221_N may include a plurality of sub-pixels, such as a red sub-pixel, a green sub-pixel, and a blue sub-pixel, but the disclosure is not limited thereto. The pixel array220may realize electrical low color shift in a space, so a part of the pixels221_1to221_N may be defined as a high grayscale pixel type (displaying high grayscales), and another part of the pixels221_1to221_N may be defined as a low grayscale pixel type (displaying low grayscales). In this regard, the sub-pixels221R_1and221G_1of the pixel221_1are each a sub-pixel of the high grayscale pixel type, for example, and the sub-pixel221B_1of the pixel221_1is of the low grayscale pixel type, for example. The sub-pixels221R_2and221G_2of the pixel221_2are each a sub-pixel of the low grayscale pixel type, for example, and the sub-pixel221B_2of the pixel221_2is of the high grayscale pixel type, for example. By analogy, as shown inFIG.2B, the sub-pixels of the high grayscale pixel type and the sub-pixels of the low grayscale pixel type are alternately arranged in a manner of 2-dot insertion.

FIG.3is a flowchart of a display data adjustment method according to an embodiment of the disclosure. With reference toFIG.1andFIG.3, the electronic device100may perform steps S310to S350below for display data adjustment. In this embodiment, the controller110may receive the first display data D1from the outside. In step S310, the display data adjustment module111receives the first display data D1, and may convert a plurality of first grayscale values of a plurality of first sub-pixels of different colors in the first display data D1from a first color gamut space into a plurality of color values in a second color gamut space. For example, taking driving one pixel as an example, the first display data D1may include a red sub-pixel grayscale value, a green sub-pixel grayscale value, and a blue sub-pixel grayscale value corresponding to one pixel. The display data adjustment module111may convert the red sub-pixel grayscale value, the green sub-pixel grayscale value, and the blue sub-pixel grayscale value from an RGB color gamut space into color values, such as a hue value, a saturation value, and a brightness value, in an HSV (hue, saturation, and lightness) color gamut space. Analogy may be accordingly made for display data adjustment for a plurality of pixels.

In step S320, the display data adjustment module111may generate a plurality of first weight values according to the plurality of color values. In step S330, the display data adjustment module111may compare a plurality of lookup tables according to the plurality of first grayscale values of the plurality of first sub-pixels to obtain a plurality of groups of a plurality of first high grayscale values and a plurality of first low grayscale values corresponding to the plurality of first sub-pixels. For example, taking one lookup table as shown in Table 1 below and obtaining of one group of a plurality of first high grayscale values and a plurality of first low grayscale values as an example, it is assumed that a red sub-pixel, a green sub-pixel, and a blue sub-pixel in the first display data D1have grayscale values (254, 1, 255). The display data adjustment module111may search Table 1 below according to the grayscale values (254, 1, 255) to obtain one group of a plurality of high grayscale values and a plurality of low grayscale values as shown in Tables 2 to 4 below. Analogy may be accordingly made for a plurality of lookup tables and obtaining of a plurality of groups of grayscale values, but the disclosure is not limited thereto.

In step S340, the display data adjustment module111may obtain a plurality of second high grayscale values and a plurality of second low grayscale values by calculation according to the plurality of groups of the plurality of first high grayscale values and the plurality of first low grayscale values and the plurality of first weight values. In step S350, the display data adjustment module111may select the plurality of second high grayscale values or the plurality of second low grayscale values as a plurality of second grayscale values of a plurality of second sub-pixels in the second display data D2. In this embodiment, when the plurality of second sub-pixels in the second display data D2is of a first pixel type, the display data adjustment module111may select the plurality of second high grayscale values as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2. When the plurality of second sub-pixels in the second display data D2is of a second pixel type, the display data adjustment module111may select the plurality of second low grayscale values as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2. For example, the first pixel type may be a high grayscale pixel type, and the second pixel type may be a low grayscale pixel type. If the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2are for driving the sub-pixels211R_1,211G_1, and211B_1of the high grayscale pixel type as shown inFIG.2A, the display data adjustment module111may select the plurality of second high grayscale values obtained by calculation in step S340above as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2. Comparatively, if the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2are for driving the sub-pixels211R_2,211G_2, and211B_2of the low grayscale pixel type as shown inFIG.2A, the display data adjustment module111may select the plurality of second low grayscale values obtained by calculation in step S340above as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data D2. As such, the display data adjustment module111may dynamically adjust the display data to drive the display panel120to display with electrical low color shift through the second display data D2. The specific implementations of generating the weight values and obtaining the grayscale values by calculation will be described in detail in the following embodiments ofFIG.4toFIG.9D.

FIG.4is a schematic flowchart of display data adjustment according to an embodiment of the disclosure. With reference toFIG.1andFIG.4, the display data adjustment module111of the controller110may perform steps S401to S408below to generate the second display data D2according to the first display data D1. In step S401, the display data adjustment module111may perform a color gamut space conversion operation to convert a plurality of first grayscale values of a plurality of first sub-pixels of different colors in the first display data D1from a first color gamut space into a plurality of color values in a second color gamut space. In step S402, the display data adjustment module111may perform an image property detection operation for determination according to the plurality of color values, and output a plurality of first weight values (X). In an embodiment, the image property detection may detect image skin color, but the disclosure is not limited thereto.

In an embodiment, when the display data adjustment module111performs skin color detection, the display data adjustment module111may determine whether a brightness value is less than a brightness threshold V1. When the brightness value is less than the brightness threshold V1, the display data adjustment module111may determine the plurality of first weight values (X) to be a first numerical value (e.g., a numerical value of “0”). Comparatively, when the brightness value is greater than or equal to the brightness threshold V1, the display data adjustment module111may determine a first reference value (e.g., expressed by Hf) according to a hue value and a plurality of hue thresholds, determine a second reference value (e.g., represented by Sf) according to a saturation value and a plurality of saturation thresholds, and take a result of multiplying the first reference value by the second reference value as the plurality of first weight values (X=Hf×Sf). Display data adjustment for one pixel (including three sub-pixels) is taken as an example for description below, but the disclosure is not limited thereto.

For example, reference may first be made toFIG.5A, which is a schematic diagram of comparing a hue value according to an embodiment of the disclosure.FIG.5Ais a planar diagram of the relationships between hue values and saturation values in the HSV color gamut space. When the display data adjustment module111determines that the hue value is less than or equal to a first hue threshold H1and is greater than or equal to a second hue threshold H2, the display data adjustment module111may determine the first reference value (Hf) to be a second numerical value (e.g., a numerical value of “1”). When the display data adjustment module111determines that the hue value is greater than the first hue threshold H1and is less than a third hue threshold H3, the display data adjustment module111may obtain the first reference value (Hf is a numerical value ranging from 0 to 1) by interpolation calculation according to the first numerical value (e.g., a numerical value of “0”) and the second numerical value (e.g., a numerical value of “1”). When the display data adjustment module111determines that the hue value is greater than or equal to the third hue threshold H3and is less than or equal to a fourth hue threshold H4, the display data adjustment module111may determine the first reference value (Hf) to be the first numerical value (e.g., a numerical value of “0”). When the display data adjustment module111determines that the hue value is greater than the fourth hue threshold H4and is less than the second hue threshold H2, the display data adjustment module111may obtain the first reference value (Hf is a numerical value ranging from 0 to 1) by interpolation calculation according to the first numerical value (e.g., numerical value “0”) and the second numerical value (e.g., numerical value “1”.

For another example, reference may then be made toFIG.5B, which is a schematic diagram of comparing a saturation value according to an embodiment of the disclosure.FIG.5Bis a planar diagram of the relationships between hue values and saturation values in the HSV color gamut space. When the display data adjustment module111determines that the saturation value is equal to a first value (e.g., S=0) or a second value (e.g., S=1), the display data adjustment module111determines the second reference value (Sf) to be the first numerical value (e.g., a numerical value of “0”). When the display data adjustment module111determines that the saturation value is less than or equal to a first saturation threshold S1(e.g., S1=0.75) and is greater than or equal to a second saturation threshold S2(e.g., S2=0.5), the display data adjustment module111may determine the second reference value (Sf) to be the second numerical value (e.g., a numerical value of “1”), where the first saturation threshold S1(e.g., S1=0.75) is greater than the second saturation threshold S2(e.g., S2=0.5). When the display data adjustment module111determines that the saturation value is greater than the first saturation threshold S1(e.g., S1=0.75) or is less than the second saturation threshold S2(e.g., S2=0.5), the display data adjustment module111obtains the second reference value (Sf is a numerical value ranging from 0 to 1) by interpolation calculation according to the first numerical value (e.g., a numerical value of “0”) and the second numerical value (e.g., a numerical value of “1”).

Next, in step S403, the display data adjustment module111performs a first table lookup operation, and compares the plurality of first grayscale values with a first lookup table to obtain a first group of a plurality of first high grayscale values and a plurality of first low grayscale values. The first lookup table may be designed with numerical values corresponding to, for example, a relatively low intensity of electrical low color shift, but the disclosure is not limited thereto. In step S404, the display data adjustment module111performs a second table lookup operation, and compares the plurality of first grayscale values with a second lookup table to obtain a second group of a plurality of first high grayscale values and a plurality of first low grayscale values. The second lookup table may be designed with numerical values corresponding to, for example, a relatively high intensity of electrical low color shift, but the disclosure is not limited thereto. In step S405, the display data adjustment module111performs a subtraction operation. The display data adjustment module111subtracts each of the plurality of first weight values (X) from the numerical value “1” to obtain a plurality of second weight values (1−X) by calculation according to the plurality of first weight values (X), where each of respective sums of the corresponding plurality of second weight values (1−X) added to the plurality of first weight values (X) is 1.

In step S406, the display data adjustment module111performs a multiplication operation. The display data adjustment module111multiplies the first group of the plurality of first high grayscale values and the plurality of first low grayscale values respectively by the plurality of second weight values to obtain a plurality of first operation values and a plurality of other first operation values. In step S407, the display data adjustment module111performs a multiplication operation. The display data adjustment module111multiplies the second group of the plurality of first high grayscale values and the plurality of first low grayscale values respectively by the plurality of first weight values (X) to obtain a plurality of second operation values and a plurality of other second operation values. In step S408, the display data adjustment module111performs an addition operation. The display data adjustment module111may respectively add the plurality of second operation values to the plurality of first operation values to obtain a plurality of second high grayscale values, and respectively add the plurality of other second operation values to the plurality of other first operation values to obtain a plurality of second low grayscale values. The display data adjustment module111may select the plurality of second high grayscale values or the plurality of second low grayscale values as a plurality of second grayscale values of a plurality of second sub-pixels in the second display data D2. As such, the display data adjustment module111of this embodiment may adjust the display data so as to obtain an adjustment result with a minimized sense of graininess of the non-skin color display part in the image displayed by the display panel120according to the second display data D2.

For example, reference may now be made toFIG.6AtoFIG.6B, which are schematic diagrams of a first example of comparing a lookup table according to grayscale values according to an embodiment of the disclosure. It is assumed that a red sub-pixel, a green sub-pixel, and a blue sub-pixel in the first display data D1have grayscale values (170, 89, 60). The first hue threshold H1is 45 degrees. The second hue threshold H2is 330 degrees. The third hue threshold H3is 135 degrees. The fourth hue threshold H4is 180 degrees. The first saturation threshold S1is 0.1. The second saturation threshold S2is 0.8. The brightness threshold V1is 48. With reference toFIG.4together, corresponding to step S401above, the display data adjustment module111may convert the grayscale values (170, 89, 60) in the RGB color gamut space into HSV values (16, 0.64, 170) in the HSV color gamut space. Corresponding to step S402above, the display data adjustment module111may calculate that the first reference value Hf is 1 and the second reference value Sf is 1. Therefore, the display data adjustment module111may calculate that the first weight value X is 1 (i.e., the first reference value Hf multiplied by the second reference value Sf, and the display data adjustment module111determines that the color is a skin color). In addition, corresponding to step S405above, the display data adjustment module111may calculate that the second weight value (1−X) is 0.

Next, corresponding to step S403above, the display data adjustment module111may look up a table according to the grayscale values (170, 89, 60) to obtain a part610of the first lookup table as shown inFIG.6A. The display data adjustment module111may obtain a first high grayscale value (RH=198) and a first low grayscale value (RL=155) of the red sub-pixel R, a first high grayscale value (GH=97) and a first low grayscale value (GL=81) of the green sub-pixel G, and a first high grayscale value (BH=62) and a first low grayscale value (BL=58) of the blue sub-pixel B in first groups611to613.

Next, corresponding to step S404above, the display data adjustment module111may look up a table according to the grayscale values (170, 89, 60) to obtain a part620of the second lookup table as shown inFIG.6B. The display data adjustment module111may obtain a first high grayscale value (RH=230) and a first low grayscale value (RL=123) of the red sub-pixel R, a first high grayscale value (GH=130) and a first low grayscale value (GL=50) of the green sub-pixel G, and a first high grayscale value (BH=71) and a first low grayscale value (BL=3) of the blue sub-pixel B in second groups621to623.

Lastly, corresponding to steps S406, S407, and S408above, the display data adjustment module111may obtain a second high grayscale value (198×0+230×1=230) and a second low grayscale value (155×0+123×1=123) corresponding to the red sub-pixel R by calculation. The display data adjustment module111may obtain a second high grayscale value (97×0+130×1=130) and a second low grayscale value (81×0+50×1=50) corresponding to the green sub-pixel G by calculation. The display data adjustment module111may obtain a second high grayscale value (62×0+71×1=71) and a second low grayscale value (58×0+3×1=3) corresponding to the blue sub-pixel B by calculation.

For another example, reference may now be made toFIG.6CtoFIG.6D, which are schematic diagrams of a second example of comparing a lookup table according to grayscale values according to an embodiment of the disclosure. It is assumed that a red sub-pixel, a green sub-pixel, and a blue sub-pixel in the first display data D1have grayscale values (170, 170, 170). The first hue threshold H1is 45 degrees. The second hue threshold H2is 330 degrees. The third hue threshold H3is 135 degrees. The fourth hue threshold H4is 180 degrees. The first saturation threshold S1is 0.1. The second saturation threshold S2is 0.8. The brightness threshold V1is 48. With reference toFIG.4together, corresponding to step S401above, the display data adjustment module111may convert the grayscale values (170, 170, 170) in the RGB color gamut space into HSV values (0, 0, 170) in the HSV color gamut space. Corresponding to step S402above, the display data adjustment module111may calculate that the first reference value Hf is 1 and the second reference value Sf is 0. Therefore, the display data adjustment module111may calculate that the first weight value X is 0 (i.e., the first reference value Hf multiplied by the second reference value Sf, and the display data adjustment module111determines that the color is a non-skin color). In addition, corresponding to step S405above, the display data adjustment module111may calculate that the second weight value (1−X) is 1.

Next, corresponding to step S403above, the display data adjustment module111may look up a table according to the grayscale values (170, 170, 170) to obtain a part630of the first lookup table as shown inFIG.6C. The display data adjustment module111may obtain a first high grayscale value (RH=198) and a first low grayscale value (RL=155) of the red sub-pixel R, a first high grayscale value (GH=195) and a first low grayscale value (GL=160) of the green sub-pixel G, and a first high grayscale value (BH=182) and a first low grayscale value (BL=165) of the blue sub-pixel B in first groups631to633.

Next, corresponding to step S404above, the display data adjustment module111may look up a table according to the grayscale values (170, 170, 170) to obtain a part640of the second lookup table as shown inFIG.6D. The display data adjustment module111may obtain a first high grayscale value (RH=230) and a first low grayscale value (RL=123) of the red sub-pixel R, a first high grayscale value (GH=224) and a first low grayscale value (GL=140) of the green sub-pixel G, and a first high grayscale value (BH=218) and a first low grayscale value (BL=152) of the blue sub-pixel B in second groups641to643.

Lastly, corresponding to steps S406, S407, and S408above, the display data adjustment module111may obtain a second high grayscale value (198×1+230×0=198) and a second low grayscale value (155×1+123×0=155) corresponding to the red sub-pixel R by calculation. The display data adjustment module111may obtain a second high grayscale value (195×1+224×0=195) and a second low grayscale value (160×1+140×0=160) corresponding to the green sub-pixel G by calculation. The display data adjustment module111may obtain a second high grayscale value (182×1+218×0=182) and a second low grayscale value (165×1+152×0=165) corresponding to the blue sub-pixel B by calculation.

For still another example, reference may now be made toFIG.6EtoFIG.6F, which are schematic diagrams of a third example of comparing a lookup table according to grayscale values according to an embodiment of the disclosure. It is assumed that a red sub-pixel, a green sub-pixel, and a blue sub-pixel in the first display data D1have grayscale values (170, 10, 60). The first hue threshold H1is 45 degrees. The second hue threshold H2is 330 degrees. The third hue threshold H3is 135 degrees. The fourth hue threshold H4is 180 degrees. The first saturation threshold S1is 0.1. The second saturation threshold S2is 0.8. The brightness threshold V1is 48. With reference toFIG.4together, corresponding to step S401above, the display data adjustment module111may convert the grayscale values (170, 10, 60) in the RGB color gamut space into HSV values (341, 0.94, 170) in the HSV color gamut space. Corresponding to step S402above, the display data adjustment module111may calculate that the first reference value Hf is 1 and the second reference value Sf is 0.3. Therefore, the display data adjustment module111may calculate that the first weight value X is 0.3 (i.e., the first reference value Hf multiplied by the second reference value Sf, and the display data adjustment module111determines that the color is a skin color). In addition, corresponding to step S405above, the display data adjustment module111may calculate the second weight value (1−X) to be 0.7.

Next, corresponding to step S403above, the display data adjustment module111may look up a table according to the grayscale values (170, 10, 60) to obtain a part650of the first lookup table shown inFIG.6E. The display data adjustment module111may obtain a first high grayscale value (RH=198) and a first low grayscale value (RL=155) of the red sub-pixel R, a first high grayscale value (GH=14) and a first low grayscale value (GL=7) of the green sub-pixel G, and a first high grayscale value (BH=62) and a first low grayscale value (BL=58) of the blue sub-pixel B in first groups651to653.

Next, corresponding to step S404above, the display data adjustment module111may look up a table according to the grayscale values (170, 10, 60) to obtain a part660of the second lookup table as shown inFIG.6F. The display data adjustment module111may obtain a first high grayscale value (RH=230) and a first low grayscale value (RL=123) of the red sub-pixel R, a first high grayscale value (GH=18) and a first low grayscale value (GL=5) of the green sub-pixel G, and a first high grayscale value (BH=71) and a first low grayscale value (BL=3) of the blue sub-pixel B in second groups661to663.

Lastly, corresponding to steps S406, S407, and S408above, the display data adjustment module111may obtain a second high grayscale value (198×0.7+230×0.3=208) and a second low grayscale value (155×0.7+123×0.3=145) corresponding to the red sub-pixel R by calculation. The display data adjustment module111may obtain a second high grayscale value (14×0.7+18×0.3=15) and a second low grayscale value (7×0.7+5×0.3=6) corresponding to the green sub-pixel G by calculation. The display data adjustment module111may obtain a second high grayscale value (62×0.7+71×0.3=65) and a second low grayscale value (58×0.7+3×0.3=42) corresponding to the blue sub-pixel B by calculation.

FIG.7is a schematic flowchart of display data adjustment according to another embodiment of the disclosure. The display data adjustment module111of the controller110may perform steps S701to S711below to generate the second display data D2according to the first display data D1. In step S701, the display data adjustment module111may perform a color gamut space conversion operation to convert a plurality of first grayscale values of a plurality of first sub-pixels of different colors in the first display data D1from a first color gamut space into a plurality of color values in a second color gamut space. In step S702, the display data adjustment module111may perform a weight assignment operation to generate and output a plurality of first weight values (X_1to X_M, where M is a positive integer). In this embodiment, the display data adjustment module111may determine that the hue value is located in one of a plurality of hue regions to obtain the plurality of first weight values by calculation. However, the disclosure is not limited thereto. The first weight values may also be obtained by calculation according to the saturation value. The number of first weight values is equal to the number of lookup tables. In this regard, the display data adjustment module111may obtain the plurality of first weight values by interpolation calculation based on a plurality of hue benchmarks for dividing the plurality of hue regions. Moreover, during an interpolation calculation based on one of the plurality of hue benchmarks, the one of the plurality of hue benchmarks corresponds to a second numerical value (e.g., a numerical value of “1”), and two hue benchmarks adjacent to the one of the plurality of hue benchmarks correspond to a first numerical value (e.g., a numerical value of “0”).

For example, reference may be made toFIG.8, which is a schematic diagram of comparing a hue value according to another embodiment of the disclosure.FIG.8shows a planar diagram800of the relationships between hue values and saturation values in the HSV color gamut space. Taking the number of lookup tables being four as an example, and assuming that hue benchmarks Hr1to Hr4may respectively correspond to hue values of 90 degrees, 180 degrees, 270 degrees, and 360 degrees, for example. When the display data adjustment module111determines that the hue value is equal to 90 degrees, the display data adjustment module111may determine the first weight value X_1to be 1, the first weight value X_2to be 0, the first weight value X_3to be 0, and the first weight value X_4to be 0. When the display data adjustment module111determines that the hue value is equal to 180 degrees, the display data adjustment module111may determine the first weight value X_1to be 0, the first weight value X_2to be 1, the first weight value X_3to be 0, and the first weight value X_4to be 0. When the display data adjustment module111determines that the hue value is equal to 270 degrees, the display data adjustment module111may determine the first weight value X_1to be 0, the first weight value X_2to be 0, the first weight value X_3to be 1, and the first weight value X_4to be 0. When the display data adjustment module111determines that the hue value is equal to 360 degrees, the display data adjustment module111may determine the first weight value X_1to be 0, the first weight value X_2to be 0, the first weight value X_3to be 0, and the first weight value X_4to be 1. For another example, when the display data adjustment module111determines that the hue value is equal to 225 degrees, the display data adjustment module111may perform an interpolation calculation based on the hue benchmark180(assumed to correspond to a numerical value of “1”) and the adjacent hue benchmark270(assumed to correspond to a numerical value of “0”) to obtain the first weight value X_2as 0.5, and may perform an interpolation calculation based on the hue benchmark270(assumed to correspond to a numerical value of “1”) and the adjacent hue benchmark180(assumed to correspond to a numerical value of “0”) to obtain the first weight value X_3as 0.5. The first weight value X_1and the first weight value X_4are 0.

Next, in steps S703to S706, the display data adjustment module111may perform four times of table lookup operations with four different lookup tables to obtain a plurality of groups of a plurality of first high grayscale values and a plurality of first low grayscale values. In steps S707to S711, the display data adjustment module111may weight the plurality of groups of the plurality of first high grayscale values and the plurality of first low grayscale values according to the plurality of first weight values to obtain a plurality of second high grayscale values and a plurality of second low grayscale values. The display data adjustment module111may select the plurality of second high grayscale values or the plurality of second low grayscale values as a plurality of second grayscale values of a plurality of second sub-pixels in the second display data D2. As such, the display data adjustment module111of this embodiment may adjust the display data so as to obtain a better adjustment result for electrical low color shift of specific hues at the side viewing angle in the image displayed by the display panel120according to the second display data D2.

For example, reference may now be made toFIG.9AtoFIG.9D, which are schematic diagrams of comparing a lookup table according to grayscale values according to another embodiment of the disclosure. It is assumed that a red sub-pixel, a green sub-pixel, and a blue sub-pixel in the first display data D1have grayscale values (0, 100, 25). Taking the number of lookup tables being four as an example, with the following four lookup tables designed with numerical values corresponding to, for example, different intensities of electrical low color shift. Moreover, it is assumed that the four hue benchmarks may respectively be 90 degrees, 180 degrees, 270 degrees, and 360 degrees, for example.

Next, corresponding to step S703above, the display data adjustment module111may look up a table according to the grayscale values (0, 100, 25) to obtain a part910of a first lookup table as shown inFIG.9A. The display data adjustment module111may obtain a first high grayscale value (RH=0) and a first low grayscale value (RL=0) of the red sub-pixel R, a first high grayscale value (GH=125) and a first low grayscale value (GL=77) of the green sub-pixel G, and a first high grayscale value (BH=29) and a first low grayscale value (BL=22) of the blue sub-pixel B in first groups911to913.

Next, corresponding to step S704above, the display data adjustment module111may look up a table according to the grayscale values (0, 100, 25) to obtain a part920of a second lookup table as shown inFIG.9B. The display data adjustment module111may obtain a first high grayscale value (RH=0) and a first low grayscale value (RL=0) of the red sub-pixel R, a first high grayscale value (GH=138) and a first low grayscale value (GL=75) of the green sub-pixel G, and a first high grayscale value (BH=30) and a first low grayscale value (BL=19) of the blue sub-pixel B in first groups921to923.

Next, corresponding to step S705above, the display data adjustment module111may look up a table according to the grayscale values (0, 100, 25) to obtain a part930of a third lookup table as shown inFIG.9C. The display data adjustment module111may obtain a first high grayscale value (RH=0) and a first low grayscale value (RL=0) of the red sub-pixel R, a first high grayscale value (GH=120) and a first low grayscale value (GL=81) of the green sub-pixel G, and a first high grayscale value (BH=35) and a first low grayscale value (BL=17) of the blue sub-pixel B in first groups931to933.

Next, corresponding to step S706above, the display data adjustment module111may look up a table according to the grayscale values (0, 100, 25) to obtain a part940of a fourth lookup table as shown inFIG.9D. The display data adjustment module111may obtain a first high grayscale value (RH=0) and a first low grayscale value (RL=0) of the red sub-pixel R, a first high grayscale value (GH=115) and a first low grayscale value (GL=88) of the green sub-pixel G, and a first high grayscale value (BH=31) and a first low grayscale value (BL=18) of the blue sub-pixel B in first groups941to943.

Lastly, corresponding to steps S707to S711above, the display data adjustment module111may obtain a second high grayscale value (0×0.5+0×0.5+0×0+0×0=0) and a second low grayscale value (0×0.5+0×0.5+0×0+0×0=0) corresponding to the red sub-pixel R by calculation. The display data adjustment module111may obtain a second high grayscale value (125×0.5+138×0.5+120×0+115×0=132) and a second low grayscale value (77×0.5+75×0.5+81×0+88×0=76) corresponding to the green sub-pixel G by calculation. The display data adjustment module111may obtain a second high grayscale value (29×0.5+30×0.5+35×0+31×0=30) and a second low grayscale value (22×0.5+19×0.5+17×0+18×0=21) corresponding to the blue sub-pixel B by calculation.

In summary of the foregoing, the display data adjustment method according to the embodiments of the disclosure can dynamically adjust the intensity of electrical low color shift displayed by the display panel in consideration of the grayscale value composition in sub-pixels of different colors. The display data adjustment method according to the embodiments of the disclosure can be used with special pixel arrangement of the pixel array of the display panel with electrical low color shift in a space, so that the display panel provides better displaying.