Display data adjustment method
By receiving and converting display data in the display device, calculating weight values, and adjusting grayscale values using a lookup table, the problems of color shift and graininess are solved, resulting in a better display effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INNOLUX CORP
- Filing Date
- 2021-12-28
- Publication Date
- 2026-04-17
AI Technical Summary
When different people view a display device, color distortion and graininess may occur. Traditional display devices cannot dynamically adjust the displayed content to improve these problems.
By receiving display data, converting it into color values in different color gamuts, calculating weight values, using lookup tables to obtain high and low grayscale values, and selecting appropriate grayscale values as display data, the display effect is dynamically adjusted.
It achieves low color shift in electronic displays, reducing color deviation and graininess in the display device and providing better display quality.
Smart Images

Figure CN116363986B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to data adjustment techniques, and more particularly to a method for adjusting display data. Background Technology
[0002] As display technology evolves, the demands on image quality and resolution of display devices are increasing. However, different people perceive display devices differently, especially considering the color shift caused by viewing the image from the side and the degree of graininess. Traditional display devices cannot dynamically adjust the displayed content to address these color shift effects, thus lacking methods to provide corresponding adjustments or effective improvements. Summary of the Invention
[0003] This disclosure relates to a display data adjustment method that enables a display device to provide a good display effect based on the adjusted display data.
[0004] According to embodiments of this disclosure, the display data adjustment method includes the following steps: receiving first display data and converting multiple first grayscale values of multiple first sub-pixels of different colors in the first display data from a first color gamut space to multiple color values in a second color gamut space; generating multiple first weight values based on the multiple color values; comparing the multiple first grayscale values of the multiple first sub-pixels with multiple lookup tables to obtain multiple sets of multiple first high grayscale values and multiple first low grayscale values corresponding to the multiple first sub-pixels; calculating multiple second high grayscale values and multiple second low grayscale values based on the multiple sets of multiple first high grayscale values, multiple first low grayscale values, and multiple first weight values; and selecting multiple second high grayscale values or multiple second low grayscale values as multiple second grayscale values of the multiple second sub-pixels in the second display data.
[0005] Based on the above, the display data adjustment method disclosed herein can automatically adjust the display data to dynamically adjust the electronic low color shift (ELCS) effect of the display device, thereby achieving a good display effect.
[0006] To make the above-disclosed features and advantages more apparent and understandable, specific embodiments are described below in conjunction with the accompanying drawings. Attached Figure Description
[0007] Figure 1 This is a schematic diagram of a display device according to an embodiment of the present disclosure;
[0008] Figure 2A This is a schematic diagram of a pixel array according to an embodiment of the present disclosure;
[0009] Figure 2B This is a schematic diagram of a pixel array according to another embodiment of the present disclosure;
[0010] Figure 3 This is a flowchart of a display data adjustment method according to an embodiment of the present disclosure;
[0011] Figure 4 This is a schematic diagram of the process for adjusting display data according to an embodiment of this disclosure;
[0012] Figure 5A This is a schematic diagram of comparing hue values according to an embodiment of the present disclosure;
[0013] Figure 5B This is a schematic diagram of comparing saturation values according to an embodiment of this disclosure;
[0014] Figures 6A to 6B This is a first example schematic diagram of a grayscale value comparison lookup table according to an embodiment of the present disclosure;
[0015] Figures 6C to 6D This is a second example schematic diagram of an embodiment of the present disclosure based on a lookup table by comparing grayscale values;
[0016] Figures 6E to 6F This is a third example schematic diagram of an embodiment of the present disclosure based on a lookup table by comparing grayscale values;
[0017] Figure 7 This is a schematic diagram of the process for adjusting the display data according to another embodiment of this disclosure;
[0018] Figure 8 This is a schematic diagram of comparing hue values according to another embodiment of this disclosure;
[0019] Figures 9A to 9D This is a schematic diagram of another embodiment of the present disclosure, showing a lookup table based on grayscale value comparison. Detailed Implementation
[0020] Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same element references are used in the drawings and description to denote the same or similar parts.
[0021] This disclosure can be understood by referring to the following detailed description in conjunction with the accompanying drawings. It should be noted that, for ease of understanding and for the sake of brevity, many of the drawings in this disclosure depict only a portion of the electronic device, and certain components in the drawings are not drawn to scale. Furthermore, the number and dimensions of the components in the drawings are for illustrative purposes only and are not intended to limit the scope of this disclosure.
[0022] Throughout this specification and the appended claims, certain terms are used to refer to specific elements. Those skilled in the art will understand that electronic device manufacturers may use different names to refer to the same components. This document is not intended to distinguish between components that function identically but have different names. In the following specification and claims, words such as "containing" and "comprising" are open-ended terms and should therefore be interpreted as meaning "containing but not limited to...".
[0023] In some embodiments disclosed herein, terms such as “connection” and “interconnection”, unless specifically defined, may refer to two structures in direct contact, or to two structures not in direct contact, with other structures disposed between them. Furthermore, these terms may include situations where both structures are movable or both structures are fixed. Additionally, the terms “electrical connection” and “coupling” include any direct or indirect electrical connection means.
[0024] The ordinal numbers used in the specification and claims, such as "first," "second," etc., to modify elements, do not in themselves imply or represent any prior ordinal number for that or those components, nor do they represent the order of one element with another, or the order of manufacturing methods. The use of these ordinal numbers is solely to clearly distinguish one named element from another element with the same name. The claims and specification may not use the same terminology; therefore, a first component in the specification may be a second component in the claims. It should be understood that the following embodiments can be implemented by substituting, recombining, or combining technical features from several different embodiments without departing from the spirit of this disclosure to complete other embodiments.
[0025] It should be understood that the features described below can be replaced, recombined, or mixed in several different embodiments to complete other embodiments without departing from the spirit of this disclosure. Features between embodiments can be arbitrarily mixed and combined as long as they do not violate the spirit of the invention or conflict with it.
[0026] Electronic devices may include, but are not limited to, display devices, antenna devices, sensing devices, or splicing devices. Electronic devices may be bendable or flexible. Electronic devices may include, for example, liquid crystal (LC), light-emitting diodes (LEDs), quantum dots (QDs), fluorescence, phosphorescence, other suitable materials, or combinations of the above materials, but this disclosure is not limited thereto. Light-emitting diodes may include, for example, organic light-emitting diodes (OLEDs), mini LEDs, micro LEDs, or quantum dot LEDs, but this disclosure is not limited thereto. Antenna devices may be, for example, liquid crystal antennas, but this disclosure is not limited thereto. Splicing devices may be, for example, display splicing devices or antenna splicing devices, but this disclosure is not limited thereto. It should be noted that electronic devices may be any arrangement or combination of the foregoing, but are not limited thereto. The following description uses display devices as examples of electronic devices to illustrate the content of this disclosure, but this disclosure is not limited thereto.
[0027] Figure 1 This is a schematic diagram of a display device according to an embodiment of the present disclosure. (See reference...) Figure 1 The electronic device 100 includes a controller 110 and a display panel 120. The controller 110 is coupled to the display panel 120. In this embodiment, the controller 110 may include a display data adjustment module 111. The controller 110 may be, for example, a timing controller (TCON), and the display data adjustment module 111 may be implemented by circuitry, firmware, and / or software programs within the controller 110, but this disclosure is not limited thereto. In this embodiment, the display data adjustment module 111 may receive first display data D1 from an external source and generate second display data D2 after data adjustment. The display panel 120 may receive the second display data D2 to adjust the displayed image, for example, to give the displayed image an Electrical Low Color Shift (ELCS) effect.
[0028] Figure 2A This is a schematic diagram of a pixel array according to an embodiment of the present invention. (See reference) Figure 2A First, it should be noted that in some embodiments disclosed herein, Figure 1 The display panel 120 may include, for example, Figure 2AThe pixel array 210 includes a plurality of pixels 211_1 to 211_N, where N is a positive integer. Pixels 211_1 to 211_N may include a plurality of sub-pixels 211R_1 to 211R_N, 211G_1 to 211G_N, and 211B_1 to 211B_N. Each of pixels 211_1 to 211_N may include a plurality of sub-pixels, such as red sub-pixels, green sub-pixels, and blue sub-pixels, but this disclosure is not limited thereto. The pixel array 210 can achieve a spatially low electronic color shift effect, therefore a portion of pixels 211_1 to 211_N can be defined as a high grayscale pixel type (displaying a high grayscale effect), and another portion of pixels 211_1 to 211_N can be defined as a low grayscale pixel type (displaying a low grayscale effect). In some embodiments, sub-pixels 211R_1, 211G_1, and 211B_1 of pixel 211_1 are, for example, sub-pixels of a high grayscale pixel type, and sub-pixels 211R_2, 211G_2, and 211B_2 of pixel 211_2 are, for example, sub-pixels of a low grayscale pixel type. And so on, such as... Figure 2A As shown, high grayscale pixel type subpixels and low grayscale pixel type subpixels are arranged in a staggered line insertion.
[0029] Figure 2B This is a schematic diagram of a pixel array according to another embodiment of this disclosure. (See reference) Figure 2B First, it should be noted that in some embodiments disclosed herein, Figure 1 The display panel 120 may include, for example, Figure 2B The pixel array 220 includes a plurality of pixels 221_1 to 221_N, where N is a positive integer. Pixels 221_1 to 221_N may include a plurality of sub-pixels 221R_1 to 221R_N, 221G_1 to 221G_N, and 221B_1 to 221B_N. Each of pixels 221_1 to 221_N may include a plurality of sub-pixels, such as red sub-pixels, green sub-pixels, and blue sub-pixels, but this disclosure is not limited thereto. The pixel array 220 can achieve a spatially low electronic color shift effect, therefore a portion of pixels 221_1 to 221_N can be defined as a high grayscale pixel type (displaying a high grayscale effect), and another portion of pixels 221_1 to 221_N can be defined as a low grayscale pixel type (displaying a low grayscale effect). For example, sub-pixels 221R_1 and 221G_1 of pixel 221_1 are high grayscale pixel types, and sub-pixel 212B_1 of pixel 221_1 is a low grayscale pixel type. Similarly, sub-pixels 221R_2 and 221G_2 of pixel 221_2 are low grayscale pixel types, and sub-pixel 212B_2 of pixel 221_2 is a high grayscale pixel type. And so on. Figure 2B As shown, the sub-pixels of the high grayscale pixel type and the sub-pixels of the low grayscale pixel type are arranged in a 2-dot insertion.
[0030] Figure 3 This is a flowchart of a display data adjustment method according to an embodiment of this disclosure. (See also...) Figure 1 as well as Figure 3 The electronic device 100 can execute the following steps S310 to S350 to adjust display data. In this embodiment, the controller 110 can receive first display data D1 from an external source. In step S310, the display data adjustment module 111 receives the first display data D1 and can convert multiple first grayscale values of multiple first sub-pixels of different colors in the first display data D1 from a first color gamut space to multiple color values in a second color gamut space. For example, taking the driving of one pixel as an example, the first display data D1 may include grayscale values of red sub-pixels, green sub-pixels, and blue sub-pixels corresponding to a pixel. The display data adjustment module 111 can convert the grayscale values of red sub-pixels, green sub-pixels, and blue sub-pixels from the RGB color gamut space to color values in the HSV (Hue, Saturation, and Value / Brightness) color gamut space, such as hue value, saturation value, and brightness value. The means of adjusting display data for multiple pixels can be deduced similarly.
[0031] In step S320, the display data adjustment module 111 can generate multiple first weight values based on multiple color values. In step S330, the display data adjustment module 111 can compare multiple first grayscale values of multiple first sub-pixels with multiple lookup tables to obtain multiple sets of multiple first high grayscale values and multiple first low grayscale values corresponding to multiple first sub-pixels. For example, taking a lookup table as shown in Table 1 below and obtaining a set of multiple first high grayscale values and multiple first low grayscale values as an example, assuming that the red sub-pixel, green sub-pixel, and blue sub-pixel of the first display data D1 have grayscale values (254, 1, 255), the display data adjustment module 111 can search Table 1 below based on the grayscale values (254, 1, 255) to obtain a set of multiple high grayscale values and multiple low grayscale values as shown in Tables 2 to 4 below. Multiple lookup tables and methods for obtaining multiple sets can be deduced by analogy, but this disclosure is not limited thereto.
[0032]
[0033] Table 1
[0034]
[0035] Table 2
[0036]
[0037] Table 3
[0038]
[0039] Table 4
[0040] In step S340, the display data adjustment module 111 calculates multiple second high grayscale values and multiple second low grayscale values based on multiple sets of multiple first high grayscale values, multiple first low grayscale values, and multiple first weight values. In step S350, the display data adjustment module 111 selects multiple second high grayscale values or multiple second low grayscale values as multiple second grayscale values of multiple second sub-pixels in the second display data D2. In this embodiment, when the multiple second sub-pixels in the second display data D2 are of a first pixel type, the display data adjustment module 111 selects multiple second high grayscale values as multiple second grayscale values of multiple second sub-pixels in the second display data D2. When the multiple second sub-pixels in the second display data D2 are of a second pixel type, the display data adjustment module 111 selects multiple second low grayscale values as multiple second grayscale values of multiple second sub-pixels in the second display data D2. For example, the first pixel type can be a high grayscale pixel type, and the second pixel type can be a low grayscale pixel type. If the multiple second grayscale values of multiple second sub-pixels in the second display data D2 are used to drive, for example... Figure 2A The sub-pixels 211R_1, 211G_1, and 211B_1 shown are of the high grayscale pixel type. The display data adjustment module 111 can select multiple second high grayscale values calculated in step S340 above as multiple second grayscale values of the multiple second sub-pixels in the second display data D2. Conversely, if the multiple second grayscale values of the multiple second sub-pixels in the second display data D2 are used to drive... Figure 2A The sub-pixels 211R_2, 211G_2, and 211B_2 shown are of the low grayscale pixel type. The display data adjustment module 111 can select multiple second low grayscale values calculated in step S340 above as multiple second grayscale values for the multiple second sub-pixels in the second display data D2. In this way, the display data adjustment module 111 can dynamically adjust the display data to drive the display panel 120 to display a display effect with electronically low color shift through the second display data D2. However, the specific implementation methods for generating weight values and calculating grayscale values will be explained below. Figures 4 to 9D The embodiments are described in detail.
[0041] Figure 4 This is a schematic diagram illustrating the display data adjustment process according to an embodiment of this disclosure. (See reference) Figure 1 as well as Figure 4The display data adjustment module 111 of the controller 110 can execute the following steps S401 to S408 to generate second display data D2 based on the first display data D1. In step S401, the display data adjustment module 111 can perform a color gamut space conversion operation to convert multiple first grayscale values of multiple first sub-pixels of different colors in the first display data D1 from the first color gamut space to multiple color values in the second color gamut space. In step S402, the display data adjustment module 111 can perform a screen feature detection operation to make a judgment based on the multiple color values and output multiple first weight values (X). In one embodiment, the screen feature detection can perform screen skin tone detection, but this disclosure is not limited to this.
[0042] In one embodiment, when the display data adjustment module 111 performs skin tone detection, it can determine whether the brightness value is less than the brightness threshold V1. When the brightness value is less than the brightness threshold V1, the display data adjustment module 111 determines that multiple first weight values (X) are first values (e.g., values of "0"). Conversely, when the brightness value is greater than or equal to the brightness threshold V1, the display data adjustment module 111 determines a first reference value (e.g., represented by Hf) based on the hue value and multiple hue thresholds, determines a second reference value (e.g., represented by Sf) based on the saturation value and multiple saturation thresholds, and multiplies the first reference value and the second reference value as multiple first weight values (X = Hf × Sf). The following is an example of the adjustment method for display data of a pixel (including three sub-pixels), but this disclosure is not limited thereto.
[0043] For example, refer to Figure 5A , Figure 5A This is a schematic diagram of comparing hue values according to an embodiment of the present disclosure. Figure 5AThis is a planar diagram showing the relationship between hue and saturation values in the HSV color gamut. When the display data adjustment module 111 determines that the hue value is less than or equal to the first hue threshold H1 and greater than or equal to the second hue threshold H2, the display data adjustment module 111 can determine that the first reference value (Hf) is the second value (e.g., the value is "1"). When the display data adjustment module 111 determines that the hue value is greater than the first hue threshold H1 and less than the third hue threshold H3, the display data adjustment module 111 can calculate the first reference value (Hf is between 0 and 1) using interpolation based on the first value (e.g., the value is "0") and the second value (e.g., the value is "1"). When the display data adjustment module 111 determines that the hue value is greater than or equal to the third hue threshold H3 and less than or equal to the fourth hue threshold H4, the display data adjustment module 111 can determine that the first reference value (Hf) is the first value (e.g., the value is "0"). When the display data adjustment module 111 determines that the hue value is greater than the fourth hue threshold H4 and less than the second hue threshold H2, the display data adjustment module 111 can calculate the first reference value (Hf is between the value 0 and 1) by interpolation based on the first value (e.g., the value "0") and the second value (e.g., the value "1").
[0044] For another example, refer to Figure 5B , Figure 5B This is a schematic diagram of comparing saturation values according to an embodiment of the present disclosure. Figure 5B This is a planar diagram showing the relationship between hue and saturation values in the HSV color gamut space. When the display data adjustment module 111 determines that the saturation value is equal to a first value (e.g., S = 0) or a second value (e.g., S = 1), it determines that the second reference value (Sf) is the first value (e.g., the value is "0"). When the display data adjustment module 111 determines that the saturation value is less than or equal to a first saturation threshold S1 (e.g., S1 = 0.75) and greater than or equal to a second saturation threshold S2 (e.g., S2 = 0.5), the display data adjustment module 111 can determine that the second reference value (Sf) is the second value (e.g., the value is "1"), wherein 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 module 111 determines that the saturation value is greater than the first saturation threshold S1 (e.g., S1 = 0.75) or less than the second saturation threshold S2 (e.g., S2 = 0.5), it calculates the second reference value (Sf is between the value 0 and 1) by interpolation based on the first value (e.g., the value is "0") and the second value (e.g., the value is "1").
[0045] Next, in step S403, the display data adjustment module 111 performs a first lookup table operation and compares multiple first grayscale values with the first lookup table to obtain multiple first high grayscale values and multiple first low grayscale values in the first group. The first lookup table may, for example, correspond to a numerical design for low electronic color shift intensity, but this disclosure is not limited thereto. In step S404, the display data adjustment module 111 performs a second lookup table operation and compares multiple first grayscale values with the second lookup table to obtain multiple first high grayscale values and multiple first low grayscale values in the second group. The second lookup table may, for example, correspond to a numerical design for high electronic color shift intensity, but this disclosure is not limited thereto. In step S405, the display data adjustment module 111 performs a subtraction operation. The display data adjustment module 111 subtracts the value "1" from multiple first weight values (X) respectively to calculate multiple second weight values (1-X) based on the multiple first weight values (X), wherein the multiple first weight values (X) are added to the corresponding multiple second weight values (1-X) to obtain 1.
[0046] In step S406, the display data adjustment module 111 performs a multiplication operation. The display data adjustment module 111 multiplies multiple first high grayscale values and multiple first low grayscale values of the first group by multiple second weight values to obtain multiple first calculated values and multiple other first calculated values. In step S407, the display data adjustment module 111 performs a multiplication operation. The display data adjustment module 111 multiplies multiple first high grayscale values and multiple first low grayscale values of the second group by multiple first weight values (X) to obtain multiple second calculated values and multiple other second calculated values. In step S408, the display data adjustment module 111 performs an addition operation. The display data adjustment module 111 adds multiple first calculated values to multiple second calculated values to obtain multiple second high grayscale values, and adds multiple other first calculated values to multiple other second calculated values to obtain multiple second low grayscale values. The display data adjustment module 111 can select multiple second high grayscale values or multiple second low grayscale values as multiple second grayscale values of multiple second sub-pixels in the second display data D2. In this way, the display data adjustment module 111 of this embodiment can adjust the display data so that the non-skin color display part of the image displayed by the display panel 120 according to the second display data D2 can obtain an adjustment result that minimizes the graininess.
[0047] For example, refer to the following Figures 6A to 6B , Figures 6A to 6BThis is a first example schematic diagram of a grayscale value lookup table according to an embodiment of the present disclosure. Assume that the red, green, and blue sub-pixels of D1 in the first display data have grayscale values (170, 89, 60). The first hue threshold H1 is 45 degrees. The second hue threshold H2 is 330 degrees. The third hue threshold H3 is 135 degrees. The fourth hue threshold H4 is 180 degrees. The first saturation threshold S1 is 0.1. The second saturation threshold S2 is 0.8. The brightness threshold V1 is 48. (And simultaneously refer to...) Figure 4 Corresponding to step S401 above, the display data adjustment module 111 can convert the grayscale values (170, 89, 60) of the RGB color gamut space to HSV values (16, 0.64, 170) of the HSV color gamut space. Corresponding to step S402 above, the display data adjustment module 111 can calculate that the first reference value Hf is 1 and the second reference value Sf is 1. Therefore, the display data adjustment module 111 can calculate that the first weight value X is 1 (that is, the first reference value Hf multiplied by the second reference value Sf, the display data adjustment module 111 determines that this color is skin tone). In addition, corresponding to step S405 above, the display data adjustment module 111 can calculate that the second weight value (X-1) is 0.
[0048] Next, corresponding to step S403 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (170, 89, 60) to obtain the desired result. Figure 6A A portion 610 of the first lookup table is shown. The display data adjustment module 111 can obtain the first high grayscale value (RH=198) and low grayscale value (RL=155) of the red sub-pixel R, the first high grayscale value (GH=97) and low grayscale value (GL=81) of the green sub-pixel G, and the first high grayscale value (BH=62) and low grayscale value (BL=58) of the blue sub-pixel B in the first group 611-613.
[0049] Next, corresponding to step S404 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (170, 89, 60) to obtain the desired result. Figure 6B The second lookup table shown is a portion 620. The display data adjustment module 111 can obtain the first high grayscale value (RH=230) and low grayscale value (RL=123) of the red sub-pixel R, the first high grayscale value (GH=130) and low grayscale value (GL=50) of the green sub-pixel G, and the first high grayscale value (BH=71) and low grayscale value (BL=3) of the blue sub-pixel B in the second group 621-623.
[0050] Finally, corresponding to steps S406, S407, and S408 above, the display data adjustment module 111 can calculate to obtain the second high grayscale value (198×0+230×1=230) and the second low grayscale value (155×0+123×1=123) corresponding to the red sub-pixel R. The display data adjustment module 111 can calculate to obtain the second high grayscale value (97×0+130×1=130) and the second low grayscale value (81×0+50×1=50) corresponding to the green sub-pixel G. The display data adjustment module 111 can calculate to obtain the second high grayscale value (62×0+71×1=71) and the second low grayscale value (58×0+3×1=3) corresponding to the blue sub-pixel B.
[0051] For another example, see the following: Figures 6C to 6D , Figures 6C to 6D This is a second example schematic diagram of a lookup table based on grayscale value comparison according to an embodiment of this disclosure. Assume that the red, green, and blue sub-pixels of D1 in the first display data have grayscale values (170, 170, 170). The first hue threshold H1 is 45 degrees. The second hue threshold H2 is 330 degrees. The third hue threshold H3 is 135 degrees. The fourth hue threshold H4 is 180 degrees. The first saturation threshold S1 is 0.1. The second saturation threshold S2 is 0.8. The brightness threshold V1 is 48. (And simultaneously refer to...) Figure 4 Corresponding to step S401 above, the display data adjustment module 111 can convert the grayscale value (170, 170, 170) of the RGB color gamut space to the HSV value (0, 0, 170) of the HSV color gamut space. Corresponding to step S402 above, the display data adjustment module 111 can calculate that the first reference value Hf is 1 and the second reference value Sf is 0. Therefore, the display data adjustment module 111 can calculate that the first weight value X is 0 (that is, the first reference value Hf multiplied by the second reference value Sf, the display data adjustment module 111 determines that this color is not skin tone). In addition, corresponding to step S405 above, the display data adjustment module 111 can calculate that the second weight value (X-1) is 1.
[0052] Next, corresponding to step S403 above, the display data adjustment module 111 can look up the data in a table based on the grayscale value (170, 170, 170) to obtain the desired result. Figure 6C A portion 630 of the first lookup table is shown. The display data adjustment module 111 can obtain the first high grayscale value (RH=198) and low grayscale value (RL=155) of the red sub-pixel R, the first high grayscale value (GH=195) and low grayscale value (GL=160) of the green sub-pixel G, and the first high grayscale value (BH=182) and low grayscale value (BL=165) of the blue sub-pixel B in the first group 631-633.
[0053] Next, corresponding to step S404 above, the display data adjustment module 111 can look up the data in a table based on the grayscale value (170, 170, 170) to obtain the desired result. Figure 6D The second lookup table shown is a portion 640. The display data adjustment module 111 can obtain the first high grayscale value (RH=230) and low grayscale value (RL=123) of the red sub-pixel R, the first high grayscale value (GH=224) and low grayscale value (GL=140) of the green sub-pixel G, and the first high grayscale value (BH=218) and low grayscale value (BL=152) of the blue sub-pixel B in the second group 641-643.
[0054] Finally, corresponding to steps S406, S407, and S408 above, the display data adjustment module 111 can calculate to obtain the second high grayscale value (198×1+230×0=198) and the second low grayscale value (155×1+123×0=155) corresponding to the red sub-pixel R. The display data adjustment module 111 can calculate to obtain the second high grayscale value (195×1+224×0=195) and the second low grayscale value (160×1+140×0=160) corresponding to the green sub-pixel G. The display data adjustment module 111 can calculate to obtain the second high grayscale value (182×1+218×0=182) and the second low grayscale value (165×1+152×0=165) corresponding to the blue sub-pixel B.
[0055] For another example, see the following: Figures 6E to 6F , Figures 6E to 6F This is a third example schematic diagram of a lookup table based on grayscale value comparison according to an embodiment of this disclosure. Assume that the red, green, and blue sub-pixels of D1 in the first display data have grayscale values (170, 10, 60). The first hue threshold H1 is 45 degrees. The second hue threshold H2 is 330 degrees. The third hue threshold H3 is 135 degrees. The fourth hue threshold H4 is 180 degrees. The first saturation threshold S1 is 0.1. The second saturation threshold S2 is 0.8. The brightness threshold V1 is 48. (And simultaneously refer to...) Figure 4 Corresponding to step S401 above, the display data adjustment module 111 can convert the grayscale values (170, 10, 60) of the RGB color gamut space to HSV values (341, 0.94, 170) of the HSV color gamut space. Corresponding to step S402 above, the display data adjustment module 111 can calculate the first reference value Hf as 1 and the second reference value Sf as 0.3. Therefore, the display data adjustment module 111 can calculate the first weight value X as 0.3 (that is, the first reference value Hf multiplied by the second reference value Sf, the display data adjustment module 111 determines that this color is a skin tone). In addition, corresponding to step S405 above, the display data adjustment module 111 can calculate the second weight value (X-1) as 0.7.
[0056] Next, corresponding to step S403 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (170, 10, 60) to obtain the desired result. Figure 6E A portion 650 of the first lookup table is shown. The display data adjustment module 111 can obtain the first high grayscale value (RH=198) and low grayscale value (RL=155) of the red sub-pixel R, the first high grayscale value (GH=14) and low grayscale value (GL=7) of the green sub-pixel G, and the first high grayscale value (BH=62) and low grayscale value (BL=58) of the blue sub-pixel B in the first group 651-653.
[0057] Next, corresponding to step S404 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (170, 10, 60) to obtain the desired result. Figure 6F The second lookup table shown is a portion 660. The display data adjustment module 111 can obtain the first high grayscale value (RH=230) and low grayscale value (RL=123) of the red sub-pixel R, the first high grayscale value (GH=18) and low grayscale value (GL=5) of the green sub-pixel G, and the first high grayscale value (BH=71) and low grayscale value (BL=3) of the blue sub-pixel B in the second group 661-663.
[0058] Finally, corresponding to steps S406, S407, and S408 above, the display data adjustment module 111 can calculate to obtain the second high grayscale value (198×0.7+230×0.3=208) and the second low grayscale value (155×0.7+123×0.3=145) corresponding to the red sub-pixel R. The display data adjustment module 111 can calculate to obtain the second high grayscale value (14×0.7+18×0.3=15) and the second low grayscale value (7×0.7+5×0.3=6) corresponding to the green sub-pixel G. The display data adjustment module 111 can calculate to obtain the second high grayscale value (62×0.7+71×0.3=65) and the second low grayscale value (58×0.7+3×0.3=42) corresponding to the blue sub-pixel B.
[0059] Figure 7This is a schematic flowchart of display data adjustment according to another embodiment of the present disclosure. The display data adjustment module 111 of the controller 110 can execute the following steps S701 to S711 to generate second display data D2 based on first display data D1. In step S701, the display data adjustment module 111 can perform a color gamut space conversion operation to convert multiple first grayscale values of multiple first sub-pixels of different colors in the first display data D1 from the first color gamut space to multiple color values in the second color gamut space. In step S702, the display data adjustment module 111 can perform weight allocation to generate and output multiple first weight values (X_1 to X_M, where M is a positive integer). In this embodiment, the display data adjustment module 111 can determine that the hue value is located in one of multiple hue regions to calculate multiple first weight values, but the present disclosure is not limited to this; the first weight values can also be calculated based on the saturation value. The number of first weight values is equal to the number of lookup tables. In this regard, the display data adjustment module 111 can calculate multiple first weight values respectively using interpolation based on multiple hue references used to divide multiple hue regions. Furthermore, when interpolation is performed based on one of the multiple hue references, one of the multiple hue references corresponds to the second value (e.g., the value is "1"), and the two hue references adjacent to one of the multiple hue references correspond to the first value (e.g., the value is "0").
[0060] For example, refer to Figure 8 , Figure 8 This is a schematic diagram of comparing hue values according to another embodiment of this disclosure. Figure 8This is a planar diagram 800 showing the relationship between hue and saturation values in the HSV color gamut space. Taking a lookup table of four as an example, and assuming that hue references Hr1 to Hr4 correspond to hue values of 90 degrees, 180 degrees, 270 degrees, and 360 degrees respectively, when the display data adjustment module 111 determines that the hue value is equal to 90 degrees, it can set the first weight value X_1 to 1, the first weight value X_2 to 0, the first weight value X_3 to 0, and the first weight value X_4 to 0. When the display data adjustment module 111 determines that the hue value is equal to 180 degrees, it can set the first weight value X_1 to 0, the first weight value X_2 to 1, the first weight value X_3 to 0, and the first weight value X_4 to 0. When the display data adjustment module 111 determines that the hue value is equal to 270 degrees, the display data adjustment module 111 can determine that the first weight value X_1 is 0, the first weight value X_2 is 0, the first weight value X_3 is 1, and the first weight value X_4 is 0. When the display data adjustment module 111 determines that the hue value is equal to 360 degrees, the display data adjustment module 111 can determine that the first weight value X_1 is 0, the first weight value X_2 is 0, the first weight value X_3 is 0, and the first weight value X_4 is 1. For another example, when the display data adjustment module 111 determines that the hue value is equal to 225 degrees, the display data adjustment module 111 can perform interpolation calculation based on the hue reference 180 (assuming its corresponding value is "1") and the adjacent hue reference 270 (assuming its corresponding value is "0") to obtain a first weight value X_2 of 0.5, and can also perform interpolation calculation based on the hue reference 270 (assuming its corresponding value is "1") and the adjacent hue reference 180 (assuming its corresponding value is "0") to obtain a first weight value X_3 of 0.5. The first weight values X_1 and X_4 are 0.
[0061] Next, in steps S703-S706, the display data adjustment module 111 performs four lookup operations using four different lookup tables to obtain multiple sets of first high grayscale values and multiple first low grayscale values. In steps S707-S711, the display data adjustment module 111 performs weighted calculations on the multiple sets of first high grayscale values and multiple first low grayscale values according to multiple first weight values to obtain multiple second high grayscale values and multiple second low grayscale values. The display data adjustment module 111 can select multiple second high grayscale values or multiple second low grayscale values as multiple second grayscale values of multiple second sub-pixels in the second display data D2. In this way, the display data adjustment module 111 of this embodiment can adjust the display data so that the display panel 120 obtains a better adjustment result for the electronic low color shift effect of a specific hue in the side viewing angle of the image displayed by the second display data D2.
[0062] For example, refer to the following Figures 9A to 9D, Figures 9A to 9D This is a schematic diagram of a lookup table based on grayscale values, according to another embodiment of this disclosure. Assume that the red, green, and blue sub-pixels of D1 in the first display data have grayscale values (0, 100, 25). Taking four lookup tables as an example, these four lookup tables can be, for example, numerical designs corresponding to different electronic low color shift intensities. Furthermore, assume that the four hue references can be, for example, 90 degrees, 180 degrees, 270 degrees, and 360 degrees respectively.
[0063] Corresponding to step S701 above, the display data adjustment module 111 can convert the grayscale values (0, 100, 25) of the RGB color gamut space into HSV values (135, 1, 100) of the HSV color gamut space. Corresponding to step S702 above, based on the fact that the hue value 135 is between 90 degrees and 180 degrees of the hue reference, the display data adjustment module 111 can calculate the first weight value X_1 as 0.5, the first weight value X_2 as 0.5, the first weight value X_3 as 0, and the first weight value X_4 as 0.
[0064] Next, corresponding to step S703 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (0, 100, 25) to obtain the desired result. Figure 9A A portion 910 of the first lookup table is shown. The display data adjustment module 111 can obtain the first high grayscale value (RH=0) and low grayscale value (RL=0) of the red sub-pixel R, the first high grayscale value (GH=125) and low grayscale value (GL=77) of the green sub-pixel G, and the first high grayscale value (BH=29) and low grayscale value (BL=22) of the blue sub-pixel B in the first group 911-913.
[0065] Next, corresponding to step S704 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (0, 100, 25) to obtain the desired result. Figure 9B A portion 920 of the second lookup table is shown. The display data adjustment module 111 can obtain the first high grayscale value (RH=0) and low grayscale value (RL=0) of the red sub-pixel R, the first high grayscale value (GH=138) and low grayscale value (GL=75) of the green sub-pixel G, and the first high grayscale value (BH=30) and low grayscale value (BL=19) of the blue sub-pixel B in the first group 921-923.
[0066] Next, corresponding to step S705 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (0, 100, 25) to obtain the desired result. Figure 9CThe third lookup table shown is a portion 930. The display data adjustment module 111 can obtain the first high grayscale value (RH=0) and low grayscale value (RL=0) of the red sub-pixel R, the first high grayscale value (GH=120) and low grayscale value (GL=81) of the green sub-pixel G, and the first high grayscale value (BH=35) and low grayscale value (BL=17) of the blue sub-pixel B in the first group 931-932.
[0067] Next, corresponding to step S706 above, the display data adjustment module 111 can look up the data in a table based on the grayscale values (0, 100, 25) to obtain the desired result. Figure 9D The fourth lookup table shown is a portion 940. The display data adjustment module 111 can obtain the first high grayscale value (RH=0) and low grayscale value (RL=0) of the red sub-pixel R, the first high grayscale value (GH=125) and low grayscale value (GL=88) of the green sub-pixel G, and the first high grayscale value (BH=31) and low grayscale value (BL=18) of the blue sub-pixel B in the first group 941-943.
[0068] Finally, corresponding to steps S707 to S711 above, the display data adjustment module 111 can calculate to obtain the second high grayscale value (0×0.5+0×0.5+0×0+0×0=0) and the second low grayscale value (0×0.5+0×0.5+0×0+0×0=0) corresponding to the red sub-pixel R. The display data adjustment module 111 can calculate to obtain the second high grayscale value (125×0.5+138×0.5+120×0+115×0=132) and the second low grayscale value (77×0.5+75×0.5+81×0+88×0=76) corresponding to the green sub-pixel G. The display data adjustment module 111 can calculate to obtain the second high grayscale value (29×0.5+30×0.5+35×0+31×0=30) and the second low grayscale value (22×0.5+19×0.5+17×0+18×0=0) corresponding to the blue sub-pixel B.
[0069] In summary, the display data adjustment method disclosed herein can dynamically adjust the intensity of the electronic low color shift effect displayed by the display panel by considering the grayscale value composition of sub-pixels of different colors. This display data adjustment method can also be combined with a special pixel arrangement technique for spatial electronic low color shift in the pixel array of the display panel to enable the display panel to provide a better display effect.
[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting display data, characterized in that, include: Receive first display data, and convert multiple first grayscale values of multiple first sub-pixels of different colors in the first display data from a first color space to multiple color values in a second color space; Multiple first weight values are generated based on the multiple color values; Multiple lookup tables are compared with the multiple first grayscale values of the multiple first sub-pixels to obtain multiple sets of multiple first high grayscale values and multiple first low grayscale values corresponding to the multiple first sub-pixels. Based on the multiple sets of multiple first high grayscale values, multiple first low grayscale values and multiple first weight values, multiple second high grayscale values and multiple second low grayscale values are calculated; as well as Selecting either the plurality of second high grayscale values or 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. The steps for calculating the plurality of second high grayscale values and the plurality of second low grayscale values include: Multiple second weight values are calculated based on the multiple first weight values, wherein the multiple first weight values are added to the corresponding multiple second weight values to obtain 1; The plurality of first high grayscale values and the plurality of first low grayscale values in the first group are multiplied by the plurality of second weight values respectively to obtain a plurality of first operation values and another plurality of first operation values; The plurality of first high grayscale values and the plurality of first low grayscale values in the second group are multiplied by the plurality of first weight values respectively to obtain a plurality of second operation values and another plurality of second operation values; and The plurality of first operation values are respectively added to the plurality of second operation values to obtain the plurality of second high grayscale values, and the plurality of other first operation values are respectively added to the plurality of other second operation values to obtain the plurality of second low grayscale values.
2. The display data adjustment method according to claim 1, characterized in that, The steps of obtaining the plurality of first high grayscale values and the plurality of first low grayscale values corresponding to the plurality of first sub-pixels include: The plurality of first grayscale values are compared with a first lookup table to obtain the plurality of first high grayscale values and the plurality of first low grayscale values of the first group; and The plurality of first grayscale values are compared with the second lookup table to obtain the plurality of first high grayscale values and the plurality of first low grayscale values of the second group.
3. The display data adjustment method according to claim 1, characterized in that, The plurality of first grayscale values correspond to red, blue and green respectively, and the plurality of color values include hue value, saturation value and brightness value.
4. The display data adjustment method according to claim 3, characterized in that, The step of generating the plurality of first weight values based on the plurality of color values includes: Determine whether the brightness value is less than the brightness threshold; When the brightness value is less than the brightness threshold, the plurality of first weight values are determined to be first values; and When the brightness value is greater than or equal to the brightness threshold, a first reference value is determined based on the hue value and multiple hue thresholds, a second reference value is determined based on the saturation value and multiple saturation thresholds, and the result of multiplying the first reference value and the second reference value is used as the multiple first weight values.
5. The display data adjustment method according to claim 4, characterized in that, The steps for determining the first reference value include: When the hue value is less than or equal to the first hue threshold, or greater than the second hue threshold, the first reference value is determined to be the second value; When the hue value is greater than the first hue threshold and less than or equal to the third hue threshold, the first reference value is calculated by interpolation based on the first value and the second value. When the hue value is greater than the third hue threshold and less than or equal to the fourth hue threshold, the first reference value is determined to be the first value; and When the hue value is greater than the fourth hue threshold and less than or equal to the second hue threshold, the first reference value is calculated by interpolation based on the first value and the second value.
6. The display data adjustment method according to claim 4, characterized in that, The steps for determining the second reference value include: When the saturation value is equal to the first value or the second value, the second reference value is determined to be the first value; When the saturation value is less than or equal to a first saturation threshold and greater than or equal to a second saturation threshold, the second reference value is determined to be a second value, wherein the first saturation threshold is greater than the second saturation threshold; and When the saturation value is greater than the first saturation threshold or less than the second saturation threshold, the second reference value is calculated by interpolation based on the first value and the second value.
7. The display data adjustment method according to claim 1, characterized in that, The plurality of second high grayscale values correspond to the first pixel type, and the plurality of second low grayscale values correspond to the second pixel type. The step of selecting the plurality of second high grayscale values or 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 includes: When the plurality of second sub-pixels in the second display data are of the first pixel type, the plurality of second high grayscale values are selected as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data; and When the plurality of second sub-pixels in the second display data are of the second pixel type, the plurality of second low grayscale values are selected as the plurality of second grayscale values of the plurality of second sub-pixels in the second display data.
8. A method for adjusting display data, characterized in that, include: Receive first display data, and convert multiple first grayscale values of multiple first sub-pixels of different colors in the first display data from a first color gamut space into multiple color values in a second color gamut space, wherein the multiple color values include hue values; Multiple first weight values are generated based on the multiple color values; Multiple lookup tables are compared with the multiple first grayscale values of the multiple first sub-pixels to obtain multiple sets of multiple first high grayscale values and multiple first low grayscale values corresponding to the multiple first sub-pixels. Based on the multiple sets of multiple first high grayscale values, multiple first low grayscale values and multiple first weight values, multiple second high grayscale values and multiple second low grayscale values are calculated; as well as Selecting either the plurality of second high grayscale values or 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. The step of generating the plurality of first weight values based on the plurality of color values includes: The hue value is determined to fall within one of multiple hue regions, and the multiple first weight values are calculated accordingly. The steps for calculating the plurality of second high grayscale values and the plurality of second low grayscale values include: The plurality of first high grayscale values and the plurality of first low grayscale values are weighted and calculated according to the plurality of first weight values to obtain the plurality of second high grayscale values and the plurality of second low grayscale values.
9. The display data adjustment method according to claim 8, characterized in that, The steps for calculating the plurality of first weight values include: Based on multiple hue references used to divide the multiple hue regions, the multiple first weight values are calculated respectively using interpolation. When interpolation is performed based on one of the plurality of hue references, one of the plurality of hue references corresponds to a second value, and the two hue references adjacent to one of the plurality of hue references correspond to a first value.
Citation Information
Patent Citations
Image processing apparatus and image processing method
CN102292991A
Display device and driving method thereof
US20180174535A1