Grayscale compensation method, grayscale compensation device and display device
By acquiring multiple grayscale compensation data and using the gamma curve to calculate the compensation data to switch grayscales, the grayscale compensation data is dynamically adjusted to solve the problem of poor compensation effect of the Mura phenomenon in OLED display devices and achieve better brightness uniformity.
Patent Information
- Application Number
- CN202410994321.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In the prior art, OLED display devices have a problem of poor mura compensation effect during grayscale compensation.
By acquiring at least two grayscale compensation data, switching grayscale and duty cycle based on the binding point display brightness and compensation data, and using the gamma curve to calculate the compensation data to switch grayscale, the grayscale compensation data is dynamically adjusted to adapt to different display brightnesses, thereby improving the mura compensation effect.
Flexible call of grayscale compensation data at different display brightness improves the mura compensation effect, reduces image data acquisition and processing time, and improves work efficiency.
Smart Images

Figure CN118800184B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a grayscale compensation method, a grayscale compensation device and a display device. Background Art
[0002] Organic Light-Emitting Diode (OLED) display devices have the advantages of self-luminescence, no need for backlight, low power consumption and high brightness, and are widely used in various electronic devices.
[0003] Among them, there are differences between the characteristics of each OLED. Under the same driving voltage, OLEDs with different characteristics will output different currents. The slight difference in current between OLEDs will cause the "mura" phenomenon on the OLED display device, that is, the display brightness is uneven, resulting in various traces. It is necessary to compensate the grayscale of at least some pixels in the OLED display device to correct the uneven brightness on the OLED display device so that the pixel brightness of the OLED display device is consistent.
[0004] In the prior art, when grayscale compensation is performed on pixels in an OLED display device, there is a problem of poor Mura compensation effect. Summary of the Invention
[0005] The present invention provides a grayscale compensation method, a grayscale compensation device and a display device to solve the problem of poor grayscale compensation effect.
[0006] According to one aspect of the present invention, a grayscale compensation method is provided, comprising:
[0007] Acquiring at least two grayscale compensation data;
[0008] determining, according to parameters of the grayscale compensation data, a binding point display brightness, and a duty cycle corresponding to the binding point display brightness, a compensation data switching grayscale corresponding to the binding point display brightness, wherein the parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale, and the duty cycle;
[0009] Switching grayscales according to the compensation data corresponding to the display brightness of the binding point, determining the switching grayscales of the compensation data corresponding to all the display brightnesses;
[0010] Switching grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness;
[0011] determining a grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale at the display brightness;
[0012] Grayscale compensation is performed on the display image based on the grayscale compensation value.
[0013] According to another aspect of the present invention, there is provided a grayscale compensation device, comprising:
[0014] A grayscale compensation data acquisition module, configured to acquire at least two grayscale compensation data;
[0015] a reference compensation data switching grayscale determination module, configured to determine a compensation data switching grayscale corresponding to the binding point display brightness based on parameters of the grayscale compensation data, the binding point display brightness, and a duty cycle corresponding to the binding point display brightness, wherein the parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale, and the duty cycle;
[0016] a compensation data switching grayscale determining module, configured to determine the compensation data switching grayscales corresponding to all the display brightnesses according to the compensation data switching grayscales corresponding to the display brightnesses of the binding points;
[0017] a grayscale compensation data determination module, configured to switch grayscales according to the compensation data corresponding to the display brightness, and determine the grayscale compensation data corresponding to each grayscale under the display brightness;
[0018] a grayscale compensation value determination module, configured to determine a grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale under the display brightness;
[0019] The grayscale compensation module is used to perform grayscale compensation on the display image based on the grayscale compensation value.
[0020] According to another aspect of the present invention, a display device is provided, comprising the grayscale compensation device according to the second aspect.
[0021] The technical solution of the embodiment of the present invention is based on the display brightness of the binding point corresponding to the grayscale compensation data, the grayscale switching of the compensation data, and the duty cycle, and calculates the compensation data switching grayscale at the display brightness and duty cycle of another binding point according to the gamma curve. Therefore, the grayscale switching of the compensation data corresponding to the display brightness of each binding point is no longer completely the same, but is dynamically adjusted according to the gamma curve. Under different display brightnesses, the grayscale compensation data can be called more flexibly, thereby improving the mura compensation effect under different display brightnesses.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A schematic flow chart of a grayscale compensation method provided by an embodiment of the present invention;
[0025] Figure 2 A schematic flow chart of another grayscale compensation method provided by an embodiment of the present invention;
[0026] Figure 3 A schematic diagram corresponding to grayscale compensation data provided by an embodiment of the present invention;
[0027] Figure 4 A schematic diagram corresponding to another grayscale compensation data provided by an embodiment of the present invention;
[0028] Figure 5 is a schematic diagram of a grayscale compensation method in the related art;
[0029] Figure 6 A schematic diagram of a grayscale compensation method provided by an embodiment of the present invention;
[0030] Figure 7 A schematic diagram of grayscale switching of compensation data provided by an embodiment of the present invention;
[0031] Figure 8 A schematic diagram of a picture without grayscale compensation provided by an embodiment of the present invention;
[0032] Figure 9 A schematic diagram of a picture after grayscale compensation provided by an embodiment of the present invention;
[0033] Figure 10 A schematic diagram of another picture without grayscale compensation provided by an embodiment of the present invention;
[0034] Figure 11 A schematic diagram of another image after grayscale compensation according to an embodiment of the present invention;
[0035] Figure 12 A schematic diagram of another picture without grayscale compensation provided by an embodiment of the present invention;
[0036] Figure 13 A schematic diagram of another image after grayscale compensation according to an embodiment of the present invention;
[0037] Figure 14A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0038] Figure 15 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0039] Figure 16 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0040] Figure 17 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0041] Figure 18 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0042] Figure 19 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention;
[0043] Figure 20 A schematic structural diagram of a grayscale compensation device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0045] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0046] Figure 1A flow chart of a grayscale compensation method provided in an embodiment of the present invention is provided. This embodiment is applicable to the case of performing grayscale compensation on pixels of a display device. The method can be performed by a grayscale compensation device. The grayscale compensation device can be implemented in the form of hardware and / or software. The grayscale compensation device can be configured in a display device including a display panel.
[0047] like Figure 1 As shown, the grayscale compensation method includes:
[0048] S11. Obtain at least two grayscale compensation data.
[0049] Specifically, display devices typically have multiple pre-set display brightness values (DBVs) for adjusting screen brightness. Luminance refers to the physical quantity of light intensity on the surface of a luminous object, measured in nits. Luminance is an important indicator used to measure the luminous intensity of a display screen. Screen brightness is adjusted using DBVs, so there can be a one-to-one correspondence between screen brightness and DBVs.
[0050] For example, setting the DBV adjustment range to [0, 3515] can be used to adjust the screen brightness range to [0 nit, 500 nit]. In brighter environments, the DBV can be increased to 3515 to increase the display device's screen brightness to 500 nits, allowing the user to clearly see the content displayed on the display device. In lower-light environments, the DBV can be decreased to 50 to reduce the display device's screen brightness to 20 nits to avoid eye irritation caused by a large difference in brightness between the ambient light and the display device.
[0051] It should be noted that the above correspondence between the specific values of DBV and screen brightness is only an exemplary description and does not constitute a specific limitation on the actual correspondence between DBV and screen brightness.
[0052] In this embodiment, the grayscale compensation data refers to the grayscale difference that can make the actual brightness of the pixel reach the ideal brightness corresponding to the specific display brightness and grayscale under specific display brightness and grayscale, that is, the number of grayscales that the pixel needs to compensate under specific display brightness and grayscale.
[0053] Grayscale refers to the degree of tonal depth of the electromagnetic radiation intensity of ground objects on black and white images. Usually, the screen brightness changes between the brightest and darkest are divided into levels of 0-255 to facilitate the control of the screen brightness of the signal input.
[0054] The grayscale compensation data may include a plurality of discrete data points corresponding to a plurality of pixels, which may be stored in the form of an image or a table, but is not limited thereto.
[0055] Optionally, the grayscale compensation data may be obtained by taking a photo of the display device.
[0056] For example, Figure 2 A flow chart of another grayscale compensation method provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the display device is driven to display at a certain display brightness and grayscale, and the display device is photographed by a camera to collect image data displayed by the display device.
[0057] The ideal state of a display device is that all pixels should have consistent brightness at the same DBV and grayscale. However, due to the presence of mura, some pixels may have inconsistent brightness at the same DBV and grayscale. For example, at a DBV corresponding to a screen brightness of 500 nits, the display device displays a completely consistent pure color image in all areas. The brightness of each pixel should be the ideal brightness corresponding to 128 grayscale levels. However, the actual brightness of some pixels in the mura area may be lower than the ideal brightness corresponding to 128 grayscale levels. The grayscale corresponding to their actual brightness may only be 32 or 64 levels, resulting in uneven screen brightness of the display device.
[0058] In this embodiment, the image data captured by the camera can be sent to a computing device. The computing device can analyze the image data to obtain brightness data for each pixel. The computing device can then analyze the brightness data using a demura algorithm to identify areas of display unevenness (mura). By comparing the difference between the actual brightness distribution and the ideal brightness distribution, the computing device can calculate the number of grayscales that need to be compensated for each pixel. Grayscale compensation data is then generated based on the grayscale compensation number. The grayscale compensation data can be used to compensate the grayscale corresponding to the actual brightness of the pixel to the ideal grayscale, so that the actual brightness of the compensated pixel reaches its ideal brightness.
[0059] The Demura algorithm can generate an image representing the distribution of the difference between the actual brightness of each pixel and the ideal brightness as grayscale compensation data, but is not limited thereto.
[0060] Furthermore, under ideal conditions, it is necessary to capture a photo for each DBV, collect image data, and execute the above process to obtain grayscale compensation data. This way, optimal grayscale compensation can be achieved for all DBVs of the display device. However, due to the large DBV ranges involved in actual display applications, and the large number of pixels in medium-to-large OLED displays, capturing a photo for each DBV would be time-consuming, incur high storage resource overhead on the computing device, and hinder subsequent algorithm processing.
[0061] Therefore, in the related art, the largest DBV is selected for photographing, grayscale compensation data is generated for the image data corresponding to the largest DBV, and grayscale compensation is performed on the display screen under all DBVs by performing gain adjustment on the grayscale compensation data.
[0062] However, the high DBV range and the low DBV range generally correspond to different DBV dimming modes.
[0063] For example, in this embodiment, there may be two DBV dimming modes.
[0064] The first DBV dimming mode is direct current (DC) dimming. DC dimming changes the display device's DBV by increasing or decreasing the power of the pixel driver circuit. A higher power pixel driver circuit increases the DBV, resulting in higher screen brightness. A lower power pixel driver circuit decreases the DBV, resulting in lower screen brightness.
[0065] The second DBV dimming mode is Pulse Width Modulation (PWM). PWM dimming uses a pulse signal to control the display device to flicker alternately at a certain frequency, leveraging the human eye's residual visual effect to achieve a continuous display effect. By varying the pulse width (i.e., duty cycle) of the pulse signal, the average power, and thus the brightness, can be controlled. A greater duty cycle results in a greater DBV, and thus a higher screen brightness; a smaller duty cycle results in a smaller DBV, and thus a lower screen brightness.
[0066] Since more serious Mura will occur when the power of the pixel driving circuit is low, to ensure a better dimming effect, the DC dimming mode is used in a higher DBV range, and the PWM dimming mode is used in a lower DBV range.
[0067] The inventors have found through research that the corresponding mura forms under the two DBV dimming modes are not consistent. When grayscale compensation data obtained by the maximum DBV is used to compensate for grayscale at low DBV, the grayscale compensation effect at low DBV will be poor.
[0068] Based on the above technical issues, in this embodiment, at least two different DBVs are selected for photography, image data is collected, and grayscale compensation data is generated using the image data corresponding to the DBVs. In this way, at least two sets of grayscale compensation data corresponding to different DBVs can be obtained. When performing grayscale compensation on a display image at any DBV, grayscale compensation data that is more suitable for the current actual mura morphology can be selected for compensation. In this way, when performing grayscale compensation at a low DBV, grayscale compensation data that is more suitable for the mura morphology at the low DBV can be selected for compensation, thereby improving the grayscale compensation effect at low DBVs.
[0069] For example, Figure 3 A schematic diagram corresponding to grayscale compensation data provided by an embodiment of the present invention is shown. Figure 4 This is a schematic diagram corresponding to another grayscale compensation data provided by an embodiment of the present invention, which is described by taking two DBVs for taking a photo as an example. Figure 3 Schematic diagram of grayscale compensation data obtained when the display device is photographed at a screen brightness of 14.2 nit and 25 grayscale levels corresponding to DBV. Figure 4 This diagram shows the grayscale compensation data obtained when photographing a display device at a screen brightness of 550 nits and 30 grayscale levels corresponding to DBV. The diagram uses different grayscales to represent the grayscale offset of each pixel, helping to intuitively identify display mura areas and their morphology, but is not limited to this.
[0070] S12. Determine the compensation data switching grayscale corresponding to the binding point display brightness according to the parameters of the grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness. The parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale and the duty cycle.
[0071] Among them, several representative DBVs can be selected from all DBVs supported by the display device as the binding point display brightness. These binding point display brightnesses can cover a wide range from extremely low display brightness to extremely high display brightness, so as to ensure that the grayscale compensation data for the binding point display brightness can be suitable for display requirements under various lighting conditions.
[0072] Furthermore, the inventors have found through research that at the same DBV, the mura morphology corresponding to different grayscales may be different. Therefore, at different grayscales of the same DBV, different grayscale compensation data can be used to compensate the pixels for grayscale to achieve a better compensation effect.
[0073] Figure 5 Schematic diagram of a grayscale compensation method in the related art, wherein the horizontal axis represents the grayscale and the vertical axis represents the screen brightness corresponding to DBV.
[0074] like Figure 5 As shown, DBVs corresponding to screen brightnesses of 2nit, 14.2nit, 50nit, 80nit, 200nit, and 550nit can be selected as binding point display brightnesses. Compensation data switching grayscale is correspondingly set under each binding point display brightness. The compensation data switching grayscale is used to define the grayscale interval under the same DBV. In different grayscale intervals, different grayscale compensation data will be called for grayscale compensation.
[0075] For example, Figure 5 As shown, taking two DBVs for taking photos to obtain two sets of grayscale compensation data as an example, the two sets of grayscale compensation data can be first grayscale compensation data and second grayscale compensation data, wherein the DBV corresponding to the first grayscale compensation data is smaller than the DBV corresponding to the second grayscale compensation data.
[0076] Each binding point display brightness can be correspondingly set with two compensation data switching grayscales, namely the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, wherein the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 define three different grayscale intervals, namely the first grayscale interval A1 with the first compensation data switching grayscale G1 as the upper limit, the second grayscale interval A2 with the second compensation data switching grayscale G2 as the lower limit, and the third grayscale interval A3 between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2. Different grayscale compensation data can be used for grayscale compensation in different grayscale intervals.
[0077] For example, Figure 5 As shown, in the first grayscale interval A1, all grayscales are less than or equal to the first compensation data switching grayscale G1. Since the grayscale is low, the screen brightness is also correspondingly low. Therefore, using the first grayscale compensation data corresponding to the lower DBV for grayscale compensation in this grayscale interval can obtain a better Mura compensation effect.
[0078] In the second grayscale interval A2, all grayscales are greater than or equal to the second compensation data switching grayscale G2. Since the grayscale is higher, the screen brightness is also correspondingly enhanced. Therefore, using the second grayscale compensation data corresponding to the higher DBV for grayscale compensation within this grayscale interval can obtain a better Mura compensation effect.
[0079] In the third grayscale interval A3, all grayscales are greater than the grayscale G1 switched by the first compensation data and less than the grayscale G2 switched by the second compensation data. Within this grayscale interval, grayscale compensation can be performed by comprehensively considering the first grayscale compensation data corresponding to the lower DBV and the second grayscale compensation data corresponding to the higher DBV, so as to achieve a smooth transition between the first grayscale interval A1 and the second grayscale interval A2, thereby obtaining a better mura compensation effect.
[0080] Continue to refer Figure 5 In the related art, the same compensation data is used to switch grayscale under different DBVs. For example, for any DBV, the first compensation data switches the grayscale G1 to 32 levels, and the second compensation data switches the grayscale G2 to 240 levels. In this way, when performing grayscale compensation for different DBVs, another set of grayscale compensation data will be switched at the same grayscale value.
[0081] The inventors discovered that using the same compensation data to switch grayscales at different DBVs results in poor mura compensation for low grayscales. Furthermore, for each DBV, grayscale compensation data can only be used within a fixed grayscale range, failing to adapt to the actual mura state. Consequently, under certain specific image or brightness conditions, the preset grayscale compensation data cannot effectively suppress mura, resulting in poor mura compensation.
[0082] In this embodiment, the display device is driven to display at a preset binding point display brightness and compensation data switching grayscale, the display device is photographed by a camera, image data displayed by the display device is collected, and corresponding grayscale compensation data is analyzed and calculated.
[0083] In the process of taking photos to obtain grayscale compensation data, the binding point display brightness, compensation data switching grayscale and duty cycle used to drive the display device for display are the binding point display brightness, compensation data switching grayscale and duty cycle corresponding to the grayscale compensation data.
[0084] Among them, the binding point display brightness corresponding to the grayscale compensation data can be set according to actual needs. For example, specific DBVs that are prone to Mura phenomenon at low grayscale and high grayscale are selected as the binding point display brightness corresponding to the grayscale compensation data, but it is not limited to this.
[0085] The compensation data switching grayscale corresponding to the grayscale compensation data can be obtained by conducting multiple experiments under the display brightness of its binding point. For example, at the selected binding point display brightness, adjust the grayscale and observe the display effect, record the changes in the display effect under different grayscales, and determine those grayscales with significant changes in the display effect as candidate points for the compensation data switching grayscale. Experimentally verify the candidate points, adjust the grayscale compensation data, observe the improvement of the display effect, and finally find the optimal candidate point as the compensation data switching grayscale corresponding to the grayscale compensation data.
[0086] The duty cycle corresponding to the grayscale compensation data can be determined by the duty cycle setting under the display brightness of its binding point. For example, to ensure a better dimming effect, the lower DBV interval adopts PWM dimming mode, and the higher DBV interval adopts DC dimming mode. At this time, in the lower DBV interval, different DBVs will correspond to different duty cycles; and in the higher DBV interval, different DBVs can correspond to the same duty cycle.
[0087] Furthermore, the inventors discovered through research that brightness (LV) can be expressed as the product of luminous intensity (I), luminous area (A) and luminous time (T), that is, LV = I*A*T, and in pulse width modulation (PWM) control, the luminous time (T) can be determined by the duty cycle. Therefore, there is a direct proportional relationship between brightness (LV) and duty cycle.
[0088] Among them, under the same luminous intensity (I) and luminous area (A), the ratio between the brightness (LV) and its corresponding duty cycle should be constant.
[0089] In gamma correction technology, the brightness (LV) of a pixel is related to the display brightness and grayscale. At a certain display brightness, the nonlinear relationship between the brightness (LV) and the grayscale can be described by a gamma curve. Therefore, under the condition that the binding point display brightness, compensation data switching grayscale and duty cycle corresponding to the grayscale compensation data are known, the brightness (LV) corresponding to the grayscale compensation data can be obtained based on the binding point display brightness, compensation data switching grayscale and gamma curve. Further, the ratio between the brightness (LV) corresponding to the grayscale compensation data and the duty cycle can be obtained. This ratio remains relatively stable on the same type of display device and is applicable to any binding point display brightness. Based on this ratio, the compensation data switching grayscale at another binding point display brightness and duty cycle can be calculated according to the gamma curve.
[0090] Thus, in this embodiment, based on the known grayscale compensation data parameters (binding point display brightness, compensation data switching grayscale and duty cycle), the compensation data switching grayscale under other binding point display brightness and duty cycle conditions can be calculated.
[0091] Figure 6 Schematic diagram of a grayscale compensation method provided by an embodiment of the present invention, wherein the horizontal axis represents the grayscale and the vertical axis represents the screen brightness corresponding to DBV, as shown in FIG. Figure 6As shown, the grayscale compensation method provided in an embodiment of the present invention is used to calculate the compensation data switching grayscale under the display brightness of the binding point. The compensation data switching grayscale corresponding to the display brightness of each binding point is no longer completely the same, but is dynamically adjusted according to the gamma curve. That is, under different DBVs, the grayscale compensation data can be called more flexibly, so that the mura phenomenon under different DBVs can be more effectively compensated, thereby improving the mura compensation effect under different DBVs.
[0092] Figure 7 A schematic diagram of grayscale switching of compensation data provided by an embodiment of the present invention is shown in FIG. Figure 7 As shown in FIG, wherein the abscissa represents display brightness, the ordinate represents compensation data switching grayscale, curve Tap1-1 represents the ideal first compensation data switching grayscale G1, curve Tap1-2 represents the first compensation data switching grayscale G1 obtained by the grayscale compensation method provided in this embodiment, curve Tap2-1 represents the ideal second compensation data switching grayscale G2, and curve Tap2-2 represents the second compensation data switching grayscale G2 obtained by the grayscale compensation method provided in this embodiment. Figure 7 As shown, the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 obtained by the grayscale compensation method provided in this embodiment are basically consistent with the ideal first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, which shows that the setting of the compensation data switching grayscale in this embodiment can fit the actual performance of the display device under different DBVs and meet the mura compensation requirements under different DBVs.
[0093] At the same time, the grayscale compensation method provided in the embodiment of the present invention is used to calculate the compensation data switching grayscale under the binding point display brightness. There is no need to take pictures, collect image data and analyze and calculate the display brightness of each binding point, which can greatly reduce the time for image data collection and processing and improve work efficiency.
[0094] S13 , switching grayscales according to the compensation data corresponding to the display brightness of the binding point, and determining the compensation data corresponding to all display brightnesses to switch grayscales.
[0095] Among them, after determining the compensation data switching grayscale corresponding to the display brightness of each binding point, the compensation data switching grayscale corresponding to other display brightnesses that are not directly measured or calculated can be estimated based on the known compensation data switching grayscale of the display brightness of each binding point. Ultimately, each display brightness has a corresponding compensation data switching grayscale, which can ensure that a relatively accurate compensation data switching grayscale can be obtained under the entire display brightness, and a relatively smooth and continuous grayscale compensation effect can be achieved between the display brightnesses of adjacent binding points.
[0096] S14 , switching grayscales according to compensation data corresponding to display brightness, and determining grayscale compensation data corresponding to each grayscale under display brightness.
[0097] As described above, the compensation data switching grayscale is used to define the grayscale interval under the same DBV. In different grayscale intervals, different grayscale compensation data are set to perform grayscale compensation.
[0098] For example, let's take the example of selecting two DBVs to take a photo and obtain two sets of grayscale compensation data. The two sets of grayscale compensation data can be first grayscale compensation data and second grayscale compensation data, respectively. The DBV corresponding to the first grayscale compensation data is smaller than the DBV corresponding to the second grayscale compensation data. In this case, each binding point display brightness can be assigned two compensation data switching grayscales: the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, with the first compensation data switching grayscale G1 being smaller than the second compensation data switching grayscale G2. In the grayscale interval less than or equal to the first compensation data switching grayscale G1, since the grayscale is low, the screen brightness is also correspondingly low, and the first grayscale compensation data corresponding to the lower DBV can be set for grayscale compensation; in the grayscale interval greater than the second compensation data switching grayscale G2, since the grayscale is high, the screen brightness is also correspondingly enhanced, and the second grayscale compensation data corresponding to the higher DBV can be set for grayscale compensation; in the grayscale interval greater than the first compensation data switching grayscale G1 and less than the second compensation data switching grayscale G2, the first grayscale compensation data and the second grayscale compensation data can be set for grayscale compensation.
[0099] S15 , determining a grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale under display brightness.
[0100] Among them, the grayscale compensation data may include the grayscale offset value of each pixel. The grayscale offset value refers to the grayscale difference that can make the actual brightness of the pixel reach the ideal brightness when the binding point display brightness corresponding to the grayscale compensation data and the compensation data switch grayscale, that is, the number of grayscales that the pixel needs to be compensated up or down when the binding point display brightness corresponding to the grayscale compensation data and the compensation data switch grayscale.
[0101] After determining the grayscale compensation data corresponding to each grayscale at each display brightness, a grayscale compensation value of each pixel can be determined according to the grayscale offset value and compensation gain of each pixel using a preset algorithm.
[0102] Compensation gain refers to the gain based on the grayscale offset value, which is used to fine-tune the pixel brightness adjustment amplitude at different grayscales to achieve optimal grayscale compensation at all grayscales. Each grayscale at each display brightness is set with a corresponding compensation gain, which can be set based on actual factory measurements.
[0103] The grayscale compensation value refers to the grayscale amount that the pixel ultimately needs to compensate.
[0104] Optionally, the grayscale offset value is offset, the compensation gain is gain, and the grayscale compensation value is △C, wherein △C=offset*gain, that is, the grayscale compensation value is equal to the grayscale offset value multiplied by the compensation gain.
[0105] A more accurate grayscale compensation value can be obtained by multiplying the grayscale offset value by the compensation gain. The grayscale compensation value reflects the actual brightness adjustment amount ultimately applied to the pixel.
[0106] It should be noted that the above steps S11 to S15 may be completed before the display device leaves the factory, or may be performed at any other time period, which is not specifically limited in the embodiment of the present invention.
[0107] S16 , performing grayscale compensation on the display image based on the grayscale compensation value.
[0108] Specifically, the target grayscale of the pixel can be calculated based on the grayscale compensation value of the pixel. The target grayscale is the grayscale that the pixel actually needs to display. The pixel is controlled to emit light at the target grayscale to compensate the pixel for grayscale, so that the actual brightness of the pixel is close to the ideal brightness.
[0109] Optionally, the target grayscale can be equal to the sum of the initial grayscale and the grayscale compensation value, and the initial grayscale can be obtained from the image data to be displayed, wherein the image data to be displayed refers to the data of the image information to be displayed on the display device, and the image data to be displayed includes the grayscales that need to be displayed by all pixels constituting the image to be displayed. In this embodiment, the grayscales that need to be displayed by the above pixels are used as the initial grayscale.
[0110] In summary, the grayscale compensation method provided by the embodiment of the present invention calculates the compensation data switching grayscale at another binding point display brightness and duty cycle based on the binding point display brightness, compensation data switching grayscale and duty cycle corresponding to the grayscale compensation data according to the gamma curve. This ensures that the compensation data switching grayscale corresponding to the display brightness of each binding point is no longer completely the same, but is dynamically adjusted according to the gamma curve. Under different display brightnesses, the grayscale compensation data can be called more flexibly, thereby improving the mura compensation effect under different display brightnesses.
[0111] Optionally, determining the compensation data switching grayscale corresponding to the binding point display brightness according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness includes:
[0112] By formula The compensation data corresponding to the display brightness of the binding point is calculated and the grayscale is switched.
[0113] Among them, X2 is the compensation data switching grayscale corresponding to the binding point display brightness, Lmax1 is the binding point display brightness corresponding to the grayscale compensation data, X1 is the compensation data switching grayscale corresponding to the grayscale compensation data, duty1 is the duty cycle corresponding to the grayscale compensation data, Lmax2 is the binding point display brightness, and duty2 is the duty cycle corresponding to the binding point display brightness.
[0114] Specifically, as described above, under the same luminous intensity (I) and luminous area (A), the ratio between the brightness (LV) and its corresponding duty cycle remains relatively stable. For the same type of display device, the following formula is satisfied:
[0115]
[0116] Among them, LV1 is the brightness corresponding to the grayscale compensation data, and LV2 is the brightness corresponding to the binding point display brightness.
[0117] Since the human eye is more sensitive to dark details than bright details, in order to make the human eye perceive brightness more naturally, in gamma correction technology, the brightness change is increased at low grayscales and reduced at high grayscales, so that the image looks more natural and more in line with the human eye's perception.
[0118] Following the gamma correction rule, the conversion relationship between grayscale X (usually between 0 and 255) and its corresponding brightness LV can satisfy the following formula:
[0119]
[0120] Among them, Lmax is the display brightness, 255 is the maximum value of grayscale, and 2.2 is the gamma value.
[0121] For the grayscale compensation data, the following formula is satisfied:
[0122]
[0123] Wherein, LV1 is the brightness corresponding to the grayscale compensation data.
[0124] The display brightness of the binding point satisfies the following formula:
[0125]
[0126] Among them, LV2 is the brightness corresponding to the display brightness of the binding point, and X2 is the compensation data switching grayscale corresponding to the display brightness of the binding point to be solved.
[0127] Substituting Formula 3 and Formula 4 into Formula 1 yields the following formula:
[0128]
[0129] Then, the binding point display brightness Lmax1 corresponding to the known grayscale compensation data, the compensation data switching grayscale X1 corresponding to the grayscale compensation data, the duty cycle duty1 corresponding to the grayscale compensation data, the binding point display brightness Lmax2, and the duty cycle duty2 corresponding to the binding point display brightness are substituted into the above formula 5 to calculate the compensation data switching grayscale X2 corresponding to the binding point display brightness.
[0130] For example, DBVs corresponding to screen brightnesses of 2nit, 14.2nit, 50nit, 80nit, 200nit and 550nit are selected from all DBVs supported by the display device as binding point display brightnesses, and two DBVs are selected from the above binding point display brightnesses to take pictures to obtain two sets of grayscale compensation data, which are the first grayscale compensation data and the second grayscale compensation data. Then, each binding point display brightness can be correspondingly set with 2 compensation data switching grayscales, which are the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, that is, the number of compensation data switching grayscales in each binding point display brightness is the same as the number of grayscale compensation data.
[0131] Among them, the binding point display brightness corresponding to the first grayscale compensation data is the display brightness corresponding to 14.2nit, the compensation data switching grayscale is 25, and the duty cycle is 18.67%; the binding point display brightness corresponding to the second grayscale compensation data is the display brightness corresponding to 550nit, the compensation data switching grayscale is 30, and the duty cycle is 98.1%.
[0132] Furthermore, the binding point display brightness, compensation data switching grayscale and duty cycle corresponding to the first grayscale compensation data are respectively substituted into Lmax1, X1 and duty1 in Formula 5, and the binding point display brightness and its duty cycle to be solved are respectively substituted into Lmax2 and duty2 in Formula 5. The solved X2 is the first compensation data switching grayscale G1 corresponding to the brought-in binding point display brightness.
[0133] Substitute the binding point display brightness, compensation data switching grayscale and duty cycle corresponding to the second grayscale compensation data into Lmax1, X1 and duty1 in Formula 5 respectively. Substitute the binding point display brightness and its duty cycle to be solved into Lmax2 and duty2 in Formula 5 respectively. The solved X2 is the second compensation data switching grayscale G2 corresponding to the brought-in binding point display brightness.
[0134] Table 1 and Table 2 describe in detail the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 calculated by the grayscale compensation method provided in the above embodiment in a feasible implementation manner.
[0135] Table 1 First compensation data switching grayscale
[0136] Lmax2 duty2(%) X2 G1 2nit 5.71 35.56381 36 14.2nit 18.67 25 25 50nit 56.39 23.31613 23 80nit 88.55 23.11849 23 200nit 98.1 15.96967 16 550nit 98.1 10.08322 10
[0137] Table 2 First compensation data switching grayscale
[0138] Lmax2 duty2(%) X2 G2 2nit 5.71 105.8109 106 14.2nit 18.67 74.381 74 50nit 56.39 69.37107 69 80nit 88.55 68.78304 69 200nit 98.1 47.5136 48 550nit 98.1 30 30
[0139] It should be noted that the values indicated in bold in Tables 1 and 2 are known values known when the first grayscale compensation data and the second grayscale compensation data are obtained. Under the conditions of the binding point display brightness, compensation data switching grayscale, and duty cycle corresponding to the known grayscale compensation data, the compensation data switching grayscale under other binding point display brightnesses and duty cycles can be obtained based on the above formula 5. There is no need to take pictures, collect image data, and perform analysis and calculation for each binding point display brightness, which greatly improves the acquisition speed of the compensation data switching grayscale.
[0140] In addition, the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 are obtained by rounding off the calculated X2 to meet the integer requirement of the compensation data switching grayscale.
[0141] Optionally, switching the grayscale according to the compensation data corresponding to the display brightness of the binding point and determining the compensation data corresponding to all display brightnesses to switch the grayscale include:
[0142] According to the compensation data switching grayscale corresponding to the display brightness of the binding point, the compensation data switching grayscale corresponding to the display brightness of the non-binding point is calculated by a first interpolation method to determine the compensation data switching grayscale corresponding to all display brightnesses.
[0143] The non-binding point display brightness refers to other display brightness except the binding point display brightness.
[0144] like Figure 6 As shown, the inventors have found through research that if the compensation data corresponding to the adjacent binding point display brightness is directly used to switch the grayscale for grayscale compensation at the non-binding point display brightness between the adjacent binding point display brightnesses, the display picture corresponding to the non-binding point display brightness between the adjacent binding point display brightnesses will be under-compensated or over-compensated.
[0145] For example, Figure 8 A schematic diagram of a picture without grayscale compensation provided by an embodiment of the present invention. Figure 9 A schematic diagram of a picture after grayscale compensation provided by an embodiment of the present invention. Figure 10 This is another schematic diagram of a picture without grayscale compensation provided by an embodiment of the present invention. Figure 11 This is another schematic diagram of a picture after grayscale compensation provided by an embodiment of the present invention. Figure 12 A schematic diagram of another picture without grayscale compensation provided by an embodiment of the present invention is shown. Figure 13A schematic diagram of another image after grayscale compensation is provided in an embodiment of the present invention.
[0146] Take the DBV corresponding to the screen brightness of 2nit, 14.2nit, 50nit, 80nit, 200nit and 550nit as the binding point display brightness as an example to illustrate. Figure 8 and Figure 9 The following are schematic diagrams of a 16-level grayscale image before and after grayscale compensation at a DBV of 7.6 nits. Figure 10 and Figure 11 The following are schematic diagrams of a 16-level grayscale image before and after grayscale compensation at a DBV of 10.3 nits. Figure 12 and Figure 13 They are schematic diagrams of a 16-level grayscale image before and after grayscale compensation at a DBV of 13.5 nits.
[0147] like Figures 8-13 As shown, at the non-binding point display brightness (for example, the corresponding screen brightness is 7.6nit, 10.3nit and 13.5nit) between the adjacent two binding point display brightness (for example, the corresponding screen brightness is 2nit and 14.2nit respectively), there is under-compensation (such as Figure 8 and Figure 9 as shown) → over-compensation (as shown) Figure 10 and Figure 11 As shown) → Normal (as shown) Figure 12 and Figure 13 Abnormal phenomenon shown).
[0148] Based on the above technical issues, Figure 14 Schematic diagram of another grayscale compensation method provided by an embodiment of the present invention, wherein the horizontal axis represents the grayscale and the vertical axis represents the screen brightness corresponding to DBV, as shown in FIG. Figure 14 As shown, in this embodiment, after determining the compensation data switching grayscale corresponding to each binding point display brightness, the compensation data switching grayscale corresponding to the non-binding point display brightness is estimated using a first interpolation method based on the known compensation data switching grayscale corresponding to the binding point display brightness. Ultimately, each display brightness has a corresponding compensation data switching grayscale. This ensures more accurate compensation data switching grayscale across the entire display brightness range, resolving the issue of under-compensation or over-compensation of the display image corresponding to the non-binding point display brightness between adjacent binding point display brightnesses. The difference between the estimated compensation data switching grayscale corresponding to the non-binding point display brightness and the compensation data switching grayscale corresponding to the binding point display brightness facilitates achieving a smoother and more continuous grayscale compensation effect between adjacent binding point display brightnesses.
[0149] It should be noted that the first interpolation method refers to switching grayscale based on compensation data corresponding to the display brightness of adjacent binding points, and estimating the compensation data switching grayscale of the display brightness of other non-binding points between the adjacent binding points. The first interpolation method may include linear interpolation, quadratic fitting, polynomial interpolation, or spline interpolation, and is not specifically limited in this embodiment of the present invention.
[0150] In this embodiment, the first interpolation method can be used to estimate the compensation data switching grayscale at the non-binding point display brightness without directly testing the non-binding point display brightness, thereby significantly shortening the test cycle and improving efficiency.
[0151] Optionally, the first interpolation method includes linear interpolation.
[0152] The linear interpolation means that the compensation data switching grayscale of the non-binding point display brightness between two adjacent binding point display brightnesses is linearly distributed.
[0153] When using at least two grayscale compensation data for grayscale compensation, the first interpolation method uses quadratic fitting or other interpolation methods, which has poor prediction ability between adjacent binding point display brightnesses, and may cause the interpolation results to have unnatural fluctuations or mutations in certain non-binding point display brightness ranges.
[0154] Figure 15 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention, wherein the horizontal axis represents the screen brightness corresponding to DBV, and the vertical axis represents the grayscale switched by the compensation data. Figure 15 The compensation data switching grayscale includes a first compensation data switching grayscale G1 and a second compensation data switching grayscale G2. Figure 15 As shown, in this embodiment, the first interpolation method adopts linear interpolation, which can provide a better interpolation effect in the scenario where at least two grayscale compensation data are used for grayscale compensation, and can ensure that the non-binding point display brightness can have more accurate compensation data switching grayscale, which is beneficial to improving the grayscale compensation effect under the non-binding point display brightness and solving the problem of under-compensation or over-compensation of the display picture corresponding to the non-binding point display brightness between adjacent binding point display brightnesses.
[0155] At the same time, linear interpolation is relatively simple, easy to implement, and has low computational complexity, which can improve the efficiency of obtaining compensation data switching grayscales.
[0156] Optionally, the binding point display brightness includes a first binding point display brightness and a second binding point display brightness, and the first binding point display brightness is smaller than the second binding point display brightness.
[0157] Switching the grayscale according to the compensation data corresponding to the display brightness of the binding point, and calculating the compensation data corresponding to the display brightness of the non-binding point by the first interpolation method, comprising:
[0158] By formula The compensation data corresponding to the non-binding point display brightness is calculated and switched to grayscale.
[0159] Among them, the display brightness of the first binding point is DBV1, and the compensation data switching grayscale corresponding to the display brightness of the first binding point is N1; the display brightness of the second binding point is DBV2, and the compensation data switching grayscale corresponding to the display brightness of the second binding point is N2; the display brightness of the non-binding point is DBV3, and the compensation data switching grayscale corresponding to the display brightness of the non-binding point is N3.
[0160] Specifically, two adjacent binding point display brightnesses are selected as the first binding point display brightness DBV1 and the second binding point display brightness DBV2. It is known that the compensation data switching grayscale corresponding to the first binding point display brightness is N1, and the compensation data switching grayscale corresponding to the second binding point display brightness is N2. If you want to obtain the compensation data switching grayscale N3 corresponding to the non-binding point display brightness DBV3 between the first binding point display brightness DBV1 and the second binding point display brightness DBV2, the following relationship exists:
[0161]
[0162] Substitute the first binding point display brightness DBV1, the second binding point display brightness DBV2, the compensation data switching grayscale N1 corresponding to the first binding point display brightness, the compensation data switching grayscale N2 corresponding to the second binding point display brightness, and the non-binding point display brightness DBV3 for which the compensation data switching grayscale needs to be calculated into the above formula
[0163] In formula 6, the compensation data switching grayscale N3 corresponding to the non-binding point display brightness DBV3 can be obtained, where:
[0164]
[0165] For example, Figure 16 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention is shown as follows: Figure 16 As shown, taking the example that each binding point display brightness can correspond to 2 compensation data switching grayscales, the first binding point display brightness DBV1 is C00, the first compensation data switching grayscale N11 corresponding to the first binding point display brightness DBV1 is 40, and the second compensation data switching grayscale N12 corresponding to the first binding point display brightness DBV1 is 70; the second binding point display brightness DBV2 is DBB, the first compensation data switching grayscale N21 corresponding to the second binding point display brightness DBV2 is 32, and the second compensation data switching grayscale N22 corresponding to the second binding point display brightness DBV2 is 64.
[0166] To obtain the first compensation data switching grayscale N31 and the second compensation data switching grayscale N32 of the non-binding point display brightness DBV3 (for example, DBV3 = D00) between the first binding point display brightness DBV1 and the second binding point display brightness DBV2, the relevant values of the first binding point display brightness DBV1 and the second binding point display brightness DBV2 can be substituted into Formula 7 to obtain:
[0167]
[0168] The first binding point display brightness DBV1, the second binding point display brightness DBV2, and the non-binding point display brightness DBV3 are all expressed in hexadecimal. Converting the hexadecimal in Formula 8 and Formula 9 to decimal yields:
[0169]
[0170] When the non-binding point display brightness DBV3 is D00, the first compensation data switching grayscale N31 corresponding to the non-binding point display brightness DBV3 is level 35, and the second compensation data switching grayscale N32 corresponding to the non-binding point display brightness DBV3 is level 67.
[0171] Continue to refer Figure 7 The first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 corresponding to the non-binding point display brightness DBV3 obtained by the grayscale compensation method provided in this embodiment are basically consistent with the ideal first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, which shows that the compensation data switching grayscale corresponding to the non-binding point display brightness DBV3 in this embodiment can fit the actual performance of the display device under different DBVs and meet the mura compensation requirements under different DBVs.
[0172] Optionally, obtaining at least two grayscale compensation data includes:
[0173] First grayscale compensation data and second grayscale compensation data are obtained, and the display brightness of the binding point corresponding to the first grayscale compensation data is smaller than the display brightness of the binding point corresponding to the second grayscale compensation data.
[0174] Determining the compensation data corresponding to the binding point display brightness to switch the grayscale according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, including:
[0175] According to the parameters of the first grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness is determined to be the first compensation data switching grayscale.
[0176] According to the parameters of the second grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness is determined to be the second compensation data switching grayscale.
[0177] Switching grayscale according to compensation data corresponding to display brightness, and determining grayscale compensation data corresponding to each grayscale under display brightness, including:
[0178] For any display brightness, when the grayscale is less than or equal to the grayscale switched by the first compensation data, the first grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0179] For any display brightness, when the grayscale is greater than or equal to the grayscale switched by the second compensation data, the second grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0180] Specifically, such as Figure 14 As shown, in this embodiment, two binding point display brightnesses are selected to take pictures to obtain two sets of grayscale compensation data, and the two sets of grayscale compensation data are respectively first grayscale compensation data and second grayscale compensation data, wherein the binding point display brightness corresponding to the first grayscale compensation data is less than the binding point display brightness corresponding to the second grayscale compensation data. For example, from all DBVs supported by the display device, DBVs corresponding to screen brightnesses of 2nit, 14.2nit, 50nit, 80nit, 200nit and 550nit are selected as binding point display brightnesses, the display brightness corresponding to 14.2nit is selected as the binding point display brightness corresponding to the first grayscale compensation data, and the display brightness corresponding to 550nit is selected as the binding point display brightness corresponding to the second grayscale compensation data, but it is not limited to this.
[0181] Among them, the compensation data switching grayscale corresponding to the first grayscale compensation data is the first compensation data switching grayscale G1 under its corresponding binding point display brightness, and the compensation data switching grayscale corresponding to the second grayscale compensation data is the second compensation data switching grayscale G2 under its corresponding binding point display brightness.
[0182] Furthermore, according to the parameters of the first grayscale compensation data (binding point display brightness, compensation data switching grayscale and duty cycle), the first compensation data switching grayscale G1 corresponding to other binding point display brightness and its duty cycle is calculated.
[0183] Based on the same method, according to the parameters of the second grayscale compensation data (binding point display brightness, compensation data switching grayscale and duty cycle), the second compensation data switching grayscale G2 corresponding to other binding point display brightness and its duty cycle is calculated.
[0184] When performing grayscale compensation on the display screen, for any display brightness, when the grayscale is less than or equal to the first compensation data and the grayscale G1 is switched, since the grayscale is lower, the screen brightness is also correspondingly lower. Therefore, the first grayscale compensation data corresponding to the lower DBV is determined as the grayscale compensation data corresponding to the grayscale, and grayscale compensation is performed, which can achieve a better mura compensation effect.
[0185] For any display brightness, when the grayscale is greater than or equal to the second compensation data switching grayscale G2, due to the higher grayscale, the screen brightness is also correspondingly enhanced. The second grayscale compensation data corresponding to the higher DBV is determined as the grayscale compensation data corresponding to the grayscale, and grayscale compensation is performed, which can obtain a better Mura compensation effect.
[0186] It should be noted that the grayscale compared with the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 refers to the initial grayscale, and the initial grayscale can be obtained from the image data to be displayed, wherein the image data to be displayed refers to the data of the image information to be displayed on the display device, and the image data to be displayed includes the grayscales that need to be displayed by all pixels constituting the image to be displayed. In this embodiment, the grayscale that the above-mentioned pixels need to display is used as the initial grayscale, and this will not be repeated in the subsequent embodiments.
[0187] Optionally, switching the grayscale according to the compensation data corresponding to the display brightness and determining the grayscale compensation data corresponding to each grayscale under the display brightness further includes:
[0188] For any display brightness, when the grayscale is greater than the grayscale switched by the first compensation data and less than the grayscale switched by the second compensation data, the first grayscale compensation data and the second grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
[0189] Specifically, such as Figure 14 As shown, when grayscale compensation is performed on a display screen, for any display brightness, when the grayscale is greater than the first compensation data and switches to grayscale G1, and is less than the second compensation data and switches to grayscale G2, the first grayscale compensation data and the second grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale, so as to comprehensively consider the first grayscale compensation data corresponding to a lower DBV and the second grayscale compensation data corresponding to a higher DBV for grayscale compensation. This allows the grayscale compensation within the grayscale range to achieve a smoother transition, thereby obtaining a better mura compensation effect.
[0190] Optionally, determining the grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale under display brightness includes:
[0191] When the grayscale is greater than the grayscale switched by the first compensation data and is less than the grayscale switched by the second compensation data, the grayscale is switched according to the first compensation data, the first grayscale compensation data, the second compensation data, and the second grayscale compensation data, and the grayscale compensation data corresponding to the grayscale is calculated by the second interpolation method as the target grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
[0192] Specifically, when the grayscale is greater than the first compensation data switching grayscale G1 and less than the second compensation data switching grayscale G2, the first grayscale compensation data and the second grayscale compensation data are called simultaneously. Through the second interpolation method, based on the known first grayscale compensation data corresponding to the first compensation data switching grayscale G1 and the second grayscale compensation data corresponding to the second compensation data switching grayscale G2, the grayscale compensation data corresponding to the grayscales between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 are estimated. Finally, the grayscale compensation data corresponding to each grayscale between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 can be obtained. This can ensure that more accurate grayscale compensation data can be obtained in the entire grayscale range. The grayscale compensation data obtained by the second interpolation method is used as the target grayscale compensation data for the current grayscale, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain, and then grayscale compensation is performed, which can achieve a better mura compensation effect.
[0193] The difference between the estimated grayscale compensation data and the first grayscale compensation data and the second grayscale compensation data is conducive to achieving a smoother and more continuous grayscale compensation effect between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2.
[0194] It should be noted that the second interpolation method is to estimate grayscale compensation data for grayscales between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 based on the first grayscale compensation data and the second grayscale compensation data corresponding to the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2. The second interpolation method may include linear interpolation, quadratic fitting, polynomial interpolation, or spline interpolation, and is not specifically limited in this embodiment of the present invention.
[0195] In this embodiment, the second interpolation method can be used to estimate the grayscale compensation data at other grayscales between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 without directly testing other grayscales between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, thereby significantly shortening the test cycle and improving efficiency.
[0196] Optionally, the second interpolation method includes linear interpolation.
[0197] The linear interpolation means that the grayscale compensation data of other grayscales between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 are linearly distributed.
[0198] When at least two grayscale compensation data are used for grayscale compensation, the second interpolation method uses quadratic fitting or other interpolation methods, and has poor prediction ability between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, which may cause the interpolation result to have unnatural fluctuations or mutations in certain grayscale intervals between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2.
[0199] In this embodiment, the second interpolation method adopts linear interpolation, which can provide a better interpolation effect in the scenario where at least two grayscale compensation data are used for grayscale compensation. It can ensure that the grayscale interval between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 can have more accurate grayscale compensation data, which is beneficial to improving the grayscale compensation effect at the grayscale between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2.
[0200] At the same time, linear interpolation is relatively simple, easy to implement, and has low computational complexity, which can improve the efficiency of obtaining compensation data switching grayscales.
[0201] Figure 17 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention is shown as follows: Figure 17 As shown, optionally, the first grayscale compensation data includes a first grayscale offset value offset1 for each pixel, and the second grayscale compensation data includes a second grayscale offset value offset2 for each pixel. The first grayscale offset value offset1 refers to the grayscale difference between the binding point display brightness corresponding to the first grayscale compensation data and the compensation data switching grayscale, which can enable the actual brightness of the pixel to reach the ideal brightness. The second grayscale offset value offset2 refers to the grayscale difference between the binding point display brightness corresponding to the second grayscale compensation data and the compensation data switching grayscale, which can enable the actual brightness of the pixel to reach the ideal brightness.
[0202] In this embodiment, the formula The grayscale offset value offsetx corresponding to the grayscale Gx between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2 is calculated and obtained.
[0203] Specifically, given the first compensation data switching grayscale G1, the first grayscale offset value offset1 of each pixel in the first grayscale compensation data, the second compensation data switching grayscale G2, and the second grayscale offset value offset2 of each pixel in the second grayscale compensation data, if one wants to obtain the grayscale offset value offsetx corresponding to the grayscale Gx between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2, the following relationship exists:
[0204]
[0205] Substituting the first compensation data switching grayscale G1, the second compensation data switching grayscale G2, the first grayscale offset value offset1, the second grayscale offset value offset2, and the grayscale Gx for which the grayscale offset value offsetx needs to be calculated into the above formula 12, the grayscale offset value offsetx corresponding to the grayscale Gx can be obtained, where:
[0206]
[0207] Formula 13 is used to obtain the grayscale offset value offsetx corresponding to the grayscale Gx between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2. In scenarios where at least two grayscale compensation data are used for grayscale compensation, more accurate grayscale compensation data can be ensured for the grayscale interval between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2. This ensures that a better mura compensation effect can be achieved at the grayscale between the first compensation data switching grayscale G1 and the second compensation data switching grayscale G2.
[0208] Optionally, the binding point display brightness corresponding to the first grayscale compensation data includes display brightness in a pulse width modulation dimming mode.
[0209] The binding point display brightness corresponding to the second grayscale compensation data includes the display brightness in the DC dimming mode.
[0210] Specifically, as mentioned above, to ensure a better dimming effect, a pulse width modulation (PWM) dimming mode is adopted in a lower DBV range, and a direct current (DC) dimming mode is adopted in a higher DBV range. Since different dimming modes have different effects on the response characteristics of the display device and are prone to forming different mura forms, in this embodiment, corresponding first grayscale compensation data and second grayscale compensation data are selected for the PWM dimming mode and the DC dimming mode, respectively. Grayscale compensation can be performed for the brightness unevenness caused by the PWM dimming mode and the DC dimming mode, respectively, thereby achieving a better mura compensation effect in both the PWM dimming mode and the DC dimming mode.
[0211] Exemplarily, within the DBV interval of the display device, a display brightness node DBV0 is preset to divide the display brightness into a high DBV interval corresponding to the DC dimming mode and a low DBV interval corresponding to the PWM dimming mode. If the DBV interval is [0, 3515], and the preset display brightness node DBV0 is at a DBV of 1291, the display brightness in the PWM dimming mode is the display brightness in the low DBV interval [0, 1291], and the PWM dimming mode is used within this DBV interval; the display brightness in the DC dimming mode is the display brightness in the high DBV interval [1291, 3515], and the DC dimming mode is used within this DBV interval.
[0212] Among them, the binding point display brightness corresponding to the first grayscale compensation data is selected in the low DBV interval [0, 1291], and the binding point display brightness corresponding to the second grayscale compensation data is selected in the high DBV interval [1291, 3515], so as to select the corresponding first grayscale compensation data and second grayscale compensation data for the PWM dimming mode and the DC dimming mode respectively, so that targeted grayscale compensation can be performed for the brightness unevenness caused by the PWM dimming mode and the DC dimming mode, and good mura compensation effect can be obtained in both the PWM dimming mode and the DC dimming mode.
[0213] Optionally, the binding point display brightness corresponding to the first grayscale compensation data has a corresponding screen brightness less than or equal to 50 nit.
[0214] The binding point display brightness corresponding to the second grayscale compensation data corresponds to a screen brightness greater than or equal to 200 nit.
[0215] Specifically, the Mura morphology at low screen brightness and high screen brightness is usually not consistent. In this embodiment, corresponding first grayscale compensation data and second grayscale compensation data are selected for low screen brightness (for example, less than or equal to 50 nits) and high screen brightness (for example, greater than or equal to 200 nits), respectively. Targeted grayscale compensation can be performed at low screen brightness and high screen brightness, respectively, thereby achieving better Mura compensation effects at both low and high screen brightness.
[0216] Exemplarily, the display brightness of the binding point corresponding to the first grayscale compensation data is 14.2 nit, and the display brightness of the binding point corresponding to the second grayscale compensation data is 550 nit, but the present invention is not limited thereto.
[0217] Optionally, obtaining at least two grayscale compensation data further includes:
[0218] A third grayscale compensation data is obtained, wherein the binding point display brightness corresponding to the third grayscale compensation data is greater than the binding point display brightness corresponding to the first grayscale compensation data, and is less than or equal to the binding point display brightness corresponding to the second grayscale compensation data.
[0219] Determining the compensation data corresponding to the binding point display brightness to switch the grayscale according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, further comprising:
[0220] According to the parameters of the third grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness, it is determined that the compensation data switching grayscale corresponding to the binding point display brightness is the third compensation data switching grayscale.
[0221] Switching the grayscale according to the compensation data corresponding to the display brightness and determining the grayscale compensation data corresponding to each grayscale under the display brightness also includes:
[0222] For any display brightness, when the grayscale is greater than the grayscale switched by the first compensation data and less than or equal to the grayscale switched by the third compensation data, the third grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0223] Figure 18 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention, wherein the horizontal axis represents the grayscale and the vertical axis represents the screen brightness corresponding to DBV, as shown in FIG. Figure 18 As shown, in this embodiment, at least two binding point display brightnesses are selected to take pictures to obtain three sets of grayscale compensation data, and the three sets of grayscale compensation data are respectively first grayscale compensation data, second grayscale compensation data and third grayscale compensation data, wherein the binding point display brightness corresponding to the first grayscale compensation data is less than the binding point display brightness corresponding to the second grayscale compensation data, the binding point display brightness corresponding to the third grayscale compensation data is greater than the binding point display brightness corresponding to the first grayscale compensation data, and is less than or equal to the binding point display brightness corresponding to the second grayscale compensation data.
[0224] For example, from all DBVs supported by the display device, the DBVs corresponding to screen brightnesses of 2nit, 14.2nit, 50nit, 80nit, 200nit and 550nit are selected as the binding point display brightness, the display brightness corresponding to 14.2nit is selected as the binding point display brightness corresponding to the first grayscale compensation data, the display brightness corresponding to 550nit is selected as the binding point display brightness corresponding to the second grayscale compensation data, and the display brightness corresponding to 550nit is selected as the binding point display brightness corresponding to the third grayscale compensation data, but it is not limited to this.
[0225] Among them, the compensation data switching grayscale corresponding to the first grayscale compensation data is the first compensation data switching grayscale G1 under the corresponding binding point display brightness, the compensation data switching grayscale corresponding to the second grayscale compensation data is the second compensation data switching grayscale G2 under the corresponding binding point display brightness, and the compensation data switching grayscale corresponding to the third grayscale compensation data is the third compensation data switching grayscale G3 under the corresponding binding point display brightness, and under the same DBV, the first compensation data switching grayscale G1 is smaller than the second compensation data switching grayscale G3, and the second compensation data switching grayscale G3 is smaller than the third compensation data switching grayscale G3.
[0226] Furthermore, based on the parameters of the first grayscale compensation data (binding point display brightness, compensation data switching grayscale and duty cycle), the first compensation data switching grayscale G1 corresponding to the display brightness of other binding points and their duty cycle is calculated; based on the parameters of the second grayscale compensation data (binding point display brightness, compensation data switching grayscale and duty cycle), the second compensation data switching grayscale G2 corresponding to the display brightness of other binding points and their duty cycle is calculated.
[0227] Based on the same method, according to the parameters of the third grayscale compensation data (binding point display brightness, compensation data switching grayscale and duty cycle), the third compensation data switching grayscale G3 corresponding to other binding point display brightness and its duty cycle is calculated.
[0228] When performing grayscale compensation on a display screen, for any display brightness, when the grayscale is greater than the first compensation data (initiated by grayscale G1) and less than or equal to the third compensation data (initiated by grayscale G3), the third grayscale compensation data corresponding to the DBV that is more suitable for the current mura morphology is determined as the grayscale compensation data corresponding to that grayscale, and grayscale compensation is performed, resulting in a better mura compensation effect.
[0229] Optionally, switching the grayscale according to the compensation data corresponding to the display brightness and determining the grayscale compensation data corresponding to each grayscale under the display brightness further includes:
[0230] For any display brightness, when the grayscale is greater than the grayscale switched by the third compensation data and less than the grayscale switched by the second compensation data, the second grayscale compensation data and the third grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
[0231] Specifically, such as Figure 18As shown, when grayscale compensation is performed on a display image, for any display brightness, when the grayscale is greater than the third compensation data and switches to grayscale G3, and is less than the second compensation data and switches to grayscale G2, the second grayscale compensation data and the third grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale. Grayscale compensation is performed by comprehensively considering the second grayscale compensation data and the third grayscale compensation data within a DBV range that is more suitable for the current mura morphology. This allows for a smoother transition of grayscale compensation within the grayscale range, resulting in a better mura compensation effect.
[0232] Optionally, determining the grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale under display brightness includes:
[0233] When the grayscale is greater than the grayscale switched by the third compensation data and is less than the grayscale switched by the second compensation data, the grayscale is switched according to the third compensation data, the third grayscale compensation data, the second compensation data, and the second grayscale compensation data, and the grayscale compensation data corresponding to the grayscale is calculated by the third interpolation method as the target grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
[0234] Specifically, when the grayscale is greater than the grayscale G3 switched by the third compensation data and less than the grayscale G2 switched by the second compensation data, the second grayscale compensation data and the third grayscale compensation data are called simultaneously. Through the third interpolation method, based on the known third grayscale compensation data corresponding to the grayscale G3 switched by the third compensation data and the second grayscale compensation data corresponding to the grayscale G2 switched by the second compensation data, the grayscale compensation data corresponding to the grayscales between the grayscale G3 switched by the third compensation data and the grayscale G2 switched by the second compensation data are estimated. Finally, the grayscale compensation data corresponding to each grayscale between the grayscale G3 switched by the third compensation data and the grayscale G2 switched by the second compensation data can be obtained. This can ensure that more accurate grayscale compensation data can be obtained in the entire grayscale range. The grayscale compensation data obtained by the third interpolation method is used as the target grayscale compensation data for the current grayscale, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain, and then grayscale compensation is performed, which can achieve a better mura compensation effect.
[0235] The difference between the estimated grayscale compensation data and the second grayscale compensation data and the third grayscale compensation data is conducive to achieving a smoother and more continuous grayscale compensation effect between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2.
[0236] It should be noted that the third interpolation method is to estimate grayscale compensation data for grayscales between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2 based on the third grayscale compensation data and the second grayscale compensation data corresponding to the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2. The third interpolation method may include linear interpolation, quadratic fitting, polynomial interpolation, or spline interpolation, and is not specifically limited in this embodiment of the present invention.
[0237] In this embodiment, the third interpolation method can be used to estimate the grayscale compensation data at other grayscales between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2 without directly testing other grayscales between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2, thereby significantly shortening the test cycle and improving efficiency.
[0238] Optionally, the third interpolation method includes linear interpolation.
[0239] The linear interpolation means that the grayscale compensation data of other grayscales between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2 are linearly distributed.
[0240] When at least two grayscale compensation data are used for grayscale compensation, the third interpolation method uses quadratic fitting or other interpolation methods, and has poor prediction ability between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2, which may cause the interpolation result to have unnatural fluctuations or mutations in certain grayscale intervals between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2.
[0241] In this embodiment, the third interpolation method adopts linear interpolation, which can provide a better interpolation effect in the scenario where at least two grayscale compensation data are used for grayscale compensation. It can ensure that the grayscale interval between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2 can have more accurate grayscale compensation data, which is beneficial to improving the grayscale compensation effect at the grayscale between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2.
[0242] At the same time, linear interpolation is relatively simple, easy to implement, and has low computational complexity, which can improve the efficiency of obtaining compensation data switching grayscales.
[0243] Figure 19 A schematic diagram of another grayscale compensation method provided by an embodiment of the present invention is shown as follows: Figure 19As shown, optionally, the third grayscale compensation data includes a third grayscale offset value offset3 of each pixel, and the second grayscale compensation data includes a second grayscale offset value offset2 of each pixel. The third grayscale offset value offset3 refers to the grayscale difference between the binding point display brightness corresponding to the third grayscale compensation data and the compensation data switching grayscale, which can enable the actual brightness of the pixel to reach the ideal brightness. The second grayscale offset value offset2 refers to the grayscale difference between the binding point display brightness corresponding to the second grayscale compensation data and the compensation data switching grayscale, which can enable the actual brightness of the pixel to reach the ideal brightness.
[0244] In this embodiment, the formula The grayscale offset value offsety corresponding to the grayscale Gy between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2 is calculated and obtained.
[0245] Specifically, given the third compensation data switching grayscale G3, the third grayscale offset value offset3 of each pixel in the third grayscale compensation data, the second compensation data switching grayscale G2, and the second grayscale offset value offset2 of each pixel in the second grayscale compensation data, if one wants to obtain the grayscale offset value offsety corresponding to the grayscale Gy between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2, the following relationship exists:
[0246]
[0247] Substituting the third compensation data switching grayscale G3, the second compensation data switching grayscale G2, the third grayscale offset value offset3, the second grayscale offset value offset2, and the grayscale Gy for which the grayscale offset value offsety needs to be calculated into the above formula 14, the grayscale offset value offsety corresponding to the grayscale Gy can be obtained, where:
[0248]
[0249] Formula 15 is used to obtain the grayscale offset value offsety corresponding to the grayscale Gy between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2. In scenarios where at least two grayscale compensation data are used for grayscale compensation, more accurate grayscale compensation data can be obtained for the grayscale interval between the third compensation data switching grayscale G3 and the second compensation data switching grayscale G2. This ensures that a better mura compensation effect can be achieved at grayscales between the third compensation data switching grayscale G1 and the second compensation data switching grayscale G2.
[0250] Optionally, the binding point display brightness corresponding to the third grayscale compensation data includes display brightness in a DC dimming mode.
[0251] Specifically, the direct current (DC) dimming mode is typically used in a higher DBV range. By selecting the binding point display brightness corresponding to the third grayscale compensation data in the high DBV range in which the DC dimming mode is applied, the screen brightness corresponding to the third grayscale compensation data can be higher. This results in a brighter image displayed by the display device when taking photos, and more grayscales can be displayed. This allows the mura morphology at the binding point display brightness corresponding to the third grayscale compensation data to be more iconic, which is conducive to achieving a better mura compensation effect.
[0252] Optionally, the binding point display brightness corresponding to the third grayscale compensation data has a corresponding screen brightness greater than or equal to 200 nit.
[0253] Specifically, by selecting the binding point display brightness corresponding to the third grayscale compensation data in a high screen brightness range (for example, greater than or equal to 200 nit), the screen brightness corresponding to the third grayscale compensation data can be higher. Then, when taking pictures, the image displayed by the display device is brighter and more grayscales can be displayed. This makes the Mura morphology under the binding point display brightness corresponding to the third grayscale compensation data have a certain signature, which is conducive to obtaining a better Mura compensation effect.
[0254] For example, DBVs corresponding to screen brightnesses of 2nit, 14.2nit, 50nit, 80nit, 200nit and 550nit are selected from all DBVs supported by the display device as the binding point display brightness, wherein the display brightness corresponding to 14.2nit can be selected as the binding point display brightness corresponding to the first grayscale compensation data, the display brightness corresponding to 550nit can be selected as the binding point display brightness corresponding to the second grayscale compensation data, and the display brightness corresponding to 550nit can be selected as the binding point display brightness corresponding to the third grayscale compensation data, but it is not limited to this.
[0255] Optionally, when the binding point display brightness corresponding to the third grayscale compensation data is equal to the binding point display brightness corresponding to the second grayscale compensation data, the compensation data switching grayscale corresponding to the third grayscale compensation data is smaller than the compensation data switching grayscale corresponding to the second grayscale compensation data.
[0256] Specifically, as described above, the binding point display brightness corresponding to the third grayscale compensation data and the binding point display brightness corresponding to the second grayscale compensation data are both selected from the high screen brightness range (for example, greater than or equal to 200nit). When the binding point display brightness corresponding to the third grayscale compensation data and the binding point display brightness corresponding to the second grayscale compensation data are the same, the compensation data switching grayscale corresponding to the third grayscale compensation data is set to be smaller than the compensation data switching grayscale corresponding to the second grayscale compensation data, so as to achieve differentiated acquisition of grayscale compensation data in the high screen brightness range and improve the grayscale compensation accuracy.
[0257] For example, when the binding point display brightness corresponding to the second grayscale compensation data and the binding point display brightness corresponding to the third grayscale compensation data are both the display brightness corresponding to 500nit, the compensation data switching grayscale corresponding to the third grayscale compensation data can be 32 grayscales, and the compensation data switching grayscale corresponding to the second grayscale compensation data can be 240 grayscales, but is not limited to this.
[0258] Based on the same inventive concept, an embodiment of the present invention further provides a grayscale compensation device, which is used to execute the grayscale compensation method described in any embodiment of the present invention. Therefore, the grayscale compensation device provided by an embodiment of the present invention has the technical effect of the technical solution in any of the above embodiments, and the structures and terminology that are the same or corresponding to the above embodiments are not repeated here.
[0259] The grayscale compensation device may be implemented in the form of hardware and / or software. The grayscale compensation device may be configured in a display device including a display panel. For example, the grayscale compensation device may be configured in a display driver integrated circuit (DDIC) of the display device, but is not limited thereto.
[0260] Figure 20 A schematic diagram of the structure of a grayscale compensation device provided by an embodiment of the present invention is shown in FIG. Figure 20 As shown, the grayscale compensation device provided by the embodiment of the present invention includes:
[0261] The grayscale compensation data acquisition module 11 is configured to acquire at least two grayscale compensation data.
[0262] The reference compensation data switching grayscale determination module 12 is used to determine the compensation data switching grayscale corresponding to the binding point display brightness based on the parameters of the grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness. The parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale and the duty cycle.
[0263] The compensation data switching grayscale determining module 13 is configured to determine the compensation data switching grayscales corresponding to all display brightnesses according to the compensation data switching grayscales corresponding to the display brightnesses of the binding points.
[0264] The grayscale compensation data determining module 14 is configured to switch grayscales according to the compensation data corresponding to the display brightness, and determine the grayscale compensation data corresponding to each grayscale under the display brightness.
[0265] The grayscale compensation value determination module 15 is configured to determine the grayscale compensation value according to the grayscale compensation data and the compensation gain corresponding to each grayscale under display brightness.
[0266] The grayscale compensation module 16 is configured to perform grayscale compensation on the display image based on the grayscale compensation value.
[0267] The grayscale compensation device provided by the embodiment of the present invention calculates the compensation data switching grayscale at another binding point display brightness and duty cycle based on the display brightness of the binding point corresponding to the grayscale compensation data, the compensation data switching grayscale, and the duty cycle according to the gamma curve. This ensures that the compensation data switching grayscale corresponding to the display brightness of each binding point is no longer completely the same, but is dynamically adjusted according to the gamma curve. This allows for more flexible call of grayscale compensation data at different display brightnesses, thereby improving the mura compensation effect at different display brightnesses.
[0268] It should be noted that when the grayscale compensation device is configured in a display driver integrated circuit (DDIC) of a display device, only the internal logic of the DDIC needs to be updated to implement the grayscale compensation method described in any embodiment of the present invention, which has a short cycle, low cost and high feasibility.
[0269] Optionally, the reference compensation data switching grayscale determination module 12 is specifically configured to:
[0270] By formula The compensation data corresponding to the display brightness of the binding point is calculated and the grayscale is switched.
[0271] Among them, X2 is the compensation data switching grayscale corresponding to the binding point display brightness, Lmax1 is the binding point display brightness corresponding to the grayscale compensation data, X1 is the compensation data switching grayscale corresponding to the grayscale compensation data, duty1 is the duty cycle corresponding to the grayscale compensation data, Lmax2 is the binding point display brightness, and duty2 is the duty cycle corresponding to the binding point display brightness.
[0272] Optionally, the compensation data switching grayscale determination module 13 is specifically configured to:
[0273] According to the compensation data switching grayscale corresponding to the display brightness of the binding point, the compensation data switching grayscale corresponding to the display brightness of the non-binding point is calculated by a first interpolation method to determine the compensation data switching grayscale corresponding to all display brightnesses.
[0274] Optionally, the first interpolation method includes linear interpolation.
[0275] Optionally, the binding point display brightness includes a first binding point display brightness and a second binding point display brightness, and the first binding point display brightness is smaller than the second binding point display brightness.
[0276] The compensation data switching grayscale determination module 13 is specifically used for:
[0277] By formula The compensation data corresponding to the non-binding point display brightness is calculated and switched to grayscale.
[0278] Among them, the display brightness of the first binding point is DBV1, and the compensation data switching grayscale corresponding to the display brightness of the first binding point is N1; the display brightness of the second binding point is DBV2, and the compensation data switching grayscale corresponding to the display brightness of the second binding point is N2; the display brightness of the non-binding point is DBV3, and the compensation data switching grayscale corresponding to the display brightness of the non-binding point is N3.
[0279] Optionally, the grayscale compensation data acquisition module 11 is specifically used to:
[0280] First grayscale compensation data and second grayscale compensation data are obtained, and the display brightness of the binding point corresponding to the first grayscale compensation data is smaller than the display brightness of the binding point corresponding to the second grayscale compensation data.
[0281] The reference compensation data switching grayscale determination module 12 is specifically used for:
[0282] According to the parameters of the first grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness is determined to be the first compensation data switching grayscale.
[0283] According to the parameters of the second grayscale compensation data, the binding point display brightness and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness is determined to be the second compensation data switching grayscale.
[0284] The grayscale compensation data determination module 14 is specifically used for:
[0285] For any display brightness, when the grayscale is less than or equal to the grayscale switched by the first compensation data, the first grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0286] For any display brightness, when the grayscale is greater than or equal to the grayscale switched by the second compensation data, the second grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0287] Optionally, the grayscale compensation data determining module 14 is further configured to:
[0288] For any display brightness, when the grayscale is greater than the grayscale switched by the first compensation data and less than the grayscale switched by the second compensation data, the first grayscale compensation data and the second grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
[0289] Optionally, the grayscale compensation value determining module 15 is specifically configured to:
[0290] When the grayscale is greater than the grayscale switched by the first compensation data and is less than the grayscale switched by the second compensation data, the grayscale is switched according to the first compensation data, the first grayscale compensation data, the second compensation data, and the second grayscale compensation data, and the grayscale compensation data corresponding to the grayscale is calculated by the second interpolation method as the target grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
[0291] Optionally, the second interpolation method includes linear interpolation.
[0292] Optionally, the binding point display brightness corresponding to the first grayscale compensation data includes the display brightness in a pulse width modulation dimming mode, and the binding point display brightness corresponding to the second grayscale compensation data includes the display brightness in a direct current dimming mode.
[0293] Optionally, the binding point display brightness corresponding to the first grayscale compensation data has a corresponding screen brightness less than or equal to 50 nit, and the binding point display brightness corresponding to the second grayscale compensation data has a corresponding screen brightness greater than or equal to 200 nit.
[0294] Optionally, the grayscale compensation data acquisition module 11 is further configured to:
[0295] A third grayscale compensation data is obtained, wherein the binding point display brightness corresponding to the third grayscale compensation data is greater than the binding point display brightness corresponding to the first grayscale compensation data, and is less than or equal to the binding point display brightness corresponding to the second grayscale compensation data.
[0296] Determining the compensation data corresponding to the binding point display brightness to switch the grayscale according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, further comprising:
[0297] Determining, according to the parameters of the third grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, that the compensation data switching grayscale corresponding to the binding point display brightness is the third compensation data switching grayscale;
[0298] The grayscale compensation data determination module 14 is further configured to:
[0299] For any display brightness, when the grayscale is greater than the grayscale switched by the first compensation data and less than or equal to the grayscale switched by the third compensation data, the third grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
[0300] Optionally, the grayscale compensation data determining module 14 is further configured to:
[0301] For any display brightness, when the grayscale is greater than the grayscale switched by the third compensation data and less than the grayscale switched by the second compensation data, the second grayscale compensation data and the third grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
[0302] Optionally, the grayscale compensation value determining module 15 is specifically configured to:
[0303] When the grayscale is greater than the grayscale switched by the third compensation data and is less than the grayscale switched by the second compensation data, the grayscale is switched according to the third compensation data, the third grayscale compensation data, the second compensation data, and the second grayscale compensation data, and the grayscale compensation data corresponding to the grayscale is calculated by the third interpolation method as the target grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
[0304] Optionally, the third interpolation method includes linear interpolation.
[0305] Optionally, the binding point display brightness corresponding to the third grayscale compensation data includes display brightness in a DC dimming mode.
[0306] Optionally, the binding point display brightness corresponding to the third grayscale compensation data has a corresponding screen brightness greater than or equal to 200 nit.
[0307] Optionally, when the binding point display brightness corresponding to the third grayscale compensation data is equal to the binding point display brightness corresponding to the second grayscale compensation data, the compensation data switching grayscale corresponding to the third grayscale compensation data is smaller than the compensation data switching grayscale corresponding to the second grayscale compensation data.
[0308] Continue to refer Figure 2 For example, the binding point display brightness and the duty cycle corresponding to the binding point display brightness are input into the grayscale compensation device, and the grayscale compensation device will output the compensation data corresponding to the binding point display brightness and the duty cycle according to the grayscale compensation data.
[0309] Furthermore, the grayscale compensation device switches the grayscale according to the compensation data corresponding to the binding point display brightness, and calculates the compensation data switching grayscale corresponding to the non-binding point display brightness through a first interpolation method (such as linear interpolation) to determine the compensation data switching grayscale corresponding to all display brightness.
[0310] When performing grayscale compensation on a display screen, the grayscale compensation device switches the grayscale according to the compensation data corresponding to the current display brightness, calls the grayscale compensation data corresponding to each grayscale at the current display brightness, and determines the grayscale compensation value of each pixel in the current display screen based on the grayscale compensation data and compensation gain corresponding to each grayscale at the display brightness. Finally, the display screen is grayscale compensated based on the grayscale compensation value, thereby achieving a good mura compensation effect for display screens at different display brightnesses.
[0311] Among them, it is only necessary to input several sets of grayscale compensation data (for example, two sets of grayscale compensation data), binding point display brightness and duty cycle information into the grayscale compensation device, and the grayscale compensation device can realize the calculation and control of the call of grayscale compensation data. Moreover, under different display brightness, the grayscale compensation data can be flexibly called according to the brightness characteristics of the display device. When processing complex and changeable dynamic display images, it can quickly respond to changes in display content, which not only improves the overall quality of the display image, but also simplifies the debugging work of engineers and reduces potential errors caused by manually setting compensation data to switch grayscale.
[0312] Based on the same inventive concept, an embodiment of the present invention further provides a display device, which includes the grayscale compensation device described in any embodiment of the present invention. Therefore, the display device provided by the embodiment of the present invention has the technical effect of the technical solution in any of the above embodiments, and the structures that are the same or corresponding to the above embodiments and the explanation of terms are no longer repeated here.
[0313] The display device provided in the embodiment of the present invention can be a mobile phone or any electronic product with a display function, including but not limited to the following categories: televisions, laptops, desktop monitors, tablet computers, digital cameras, smart bracelets, smart glasses, car displays, medical equipment, industrial control equipment, touch interactive terminals, etc. The embodiment of the present invention does not specifically limit this.
[0314] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0315] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A grayscale compensation method, characterized in that: include: Acquiring at least two grayscale compensation data; determining, according to parameters of the grayscale compensation data, a binding point display brightness, and a duty cycle corresponding to the binding point display brightness, a compensation data switching grayscale corresponding to the binding point display brightness, wherein the parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale, and the duty cycle; Switching grayscales according to the compensation data corresponding to the display brightness of the binding point, determining the switching grayscales of the compensation data corresponding to all the display brightnesses; Switching grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness; determining a grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale at the display brightness; Performing grayscale compensation on a display image based on the grayscale compensation value; Determining, according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness includes: By formula Calculating and obtaining the compensation data switching grayscale corresponding to the display brightness of the binding point; Among them, X2 is the compensation data switching grayscale corresponding to the binding point display brightness, Lmax1 is the binding point display brightness corresponding to the grayscale compensation data, X1 is the compensation data switching grayscale corresponding to the grayscale compensation data, duty1 is the duty cycle corresponding to the grayscale compensation data, Lmax2 is the binding point display brightness, and duty2 is the duty cycle corresponding to the binding point display brightness.
2. The grayscale compensation method according to claim 1, wherein: Switching grayscale according to the compensation data corresponding to the display brightness of the binding point, and determining the compensation data switching grayscale corresponding to all the display brightnesses, includes: According to the compensation data switching grayscale corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the non-binding point display brightness is calculated by a first interpolation method to determine the compensation data switching grayscale corresponding to all the display brightnesses.
3. The grayscale compensation method according to claim 2, wherein: The first interpolation method includes linear interpolation.
4. The grayscale compensation method according to claim 2, wherein: The binding point display brightness includes a first binding point display brightness and a second binding point display brightness, and the first binding point display brightness is smaller than the second binding point display brightness; Switching the grayscale according to the compensation data corresponding to the display brightness of the binding point, and calculating the grayscale switching of the compensation data corresponding to the display brightness of the non-binding point by a first interpolation method, includes: By formula Calculating and obtaining the compensation data switching grayscale corresponding to the non-binding point display brightness; Among them, the first binding point display brightness is DBV1, and the compensation data switching grayscale corresponding to the first binding point display brightness is N1; the second binding point display brightness is DBV2, and the compensation data switching grayscale corresponding to the second binding point display brightness is N2; the non-binding point display brightness is DBV3, and the compensation data switching grayscale corresponding to the non-binding point display brightness is N3.
5. The grayscale compensation method according to claim 1, wherein: Obtain at least two grayscale compensation data, including: Acquire first grayscale compensation data and second grayscale compensation data, wherein the display brightness of the binding point corresponding to the first grayscale compensation data is smaller than the display brightness of the binding point corresponding to the second grayscale compensation data; Determining, according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness includes: determining, according to the parameters of the first grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, that the compensation data switching grayscale corresponding to the binding point display brightness is the first compensation data switching grayscale; determining, according to a parameter of the second grayscale compensation data, the binding point display brightness, and a duty cycle corresponding to the binding point display brightness, that the compensation data switching grayscale corresponding to the binding point display brightness is the second compensation data switching grayscale; Switching grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness, includes: For any of the display brightnesses, when the grayscale is less than or equal to the grayscale switched by the first compensation data, determining the first grayscale compensation data to be the grayscale compensation data corresponding to the grayscale; For any of the display brightnesses, when the grayscale is greater than or equal to the grayscale switched by the second compensation data, the second grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
6. The grayscale compensation method according to claim 5, wherein: Switching the grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness, further comprising: For any of the display brightnesses, when the grayscale is greater than the grayscale switched by the first compensation data and less than the grayscale switched by the second compensation data, the first grayscale compensation data and the second grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
7. The grayscale compensation method according to claim 6, wherein: Determining a grayscale compensation value according to the grayscale compensation data and the compensation gain corresponding to each grayscale at the display brightness includes: When the grayscale is greater than the grayscale switched by the first compensation data and less than the grayscale switched by the second compensation data, the grayscale compensation data corresponding to the grayscale is calculated as the target grayscale compensation data by a second interpolation method according to the first compensation data switching grayscale, the first grayscale compensation data, the second compensation data switching grayscale and the second grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
8. The grayscale compensation method according to claim 7, wherein: The second interpolation method includes linear interpolation.
9. The grayscale compensation method according to claim 5, wherein: The binding point display brightness corresponding to the first grayscale compensation data includes display brightness in a pulse width modulation dimming mode; The binding point display brightness corresponding to the second grayscale compensation data includes display brightness in a DC dimming mode.
10. The grayscale compensation method according to claim 5, wherein: The display brightness of the binding point corresponding to the first grayscale compensation data corresponds to a screen brightness less than or equal to 50 nit; The binding point display brightness corresponding to the second grayscale compensation data corresponds to a screen brightness greater than or equal to 200 nit.
11. The grayscale compensation method according to claim 5, wherein: Acquiring at least two grayscale compensation data further includes: Acquire third grayscale compensation data, wherein the display brightness of the binding point corresponding to the third grayscale compensation data is greater than the display brightness of the binding point corresponding to the first grayscale compensation data, and is less than or equal to the display brightness of the binding point corresponding to the second grayscale compensation data; Determining, according to the parameters of the grayscale compensation data, the binding point display brightness, and the duty cycle corresponding to the binding point display brightness, the compensation data switching grayscale corresponding to the binding point display brightness further includes: determining, according to a parameter of the third grayscale compensation data, the binding point display brightness, and a duty cycle corresponding to the binding point display brightness, that the compensation data switching grayscale corresponding to the binding point display brightness is the third compensation data switching grayscale; Switching the grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness, further comprising: For any of the display brightnesses, when the grayscale is greater than the grayscale switched by the first compensation data and less than or equal to the grayscale switched by the third compensation data, the third grayscale compensation data is determined to be the grayscale compensation data corresponding to the grayscale.
12. The grayscale compensation method according to claim 11, wherein: Switching the grayscale according to the compensation data corresponding to the display brightness, and determining the grayscale compensation data corresponding to each grayscale under the display brightness, further comprising: For any of the display brightnesses, when the grayscale is greater than the grayscale switched by the third compensation data and less than the grayscale switched by the second compensation data, the second grayscale compensation data and the third grayscale compensation data are determined to be the grayscale compensation data corresponding to the grayscale.
13. The grayscale compensation method according to claim 12, wherein: Determining a grayscale compensation value according to the grayscale compensation data and the compensation gain corresponding to each grayscale at the display brightness includes: When the grayscale is greater than the grayscale switched by the third compensation data and less than the grayscale switched by the second compensation data, the grayscale compensation data corresponding to the grayscale is calculated as the target grayscale compensation data by a third interpolation method according to the grayscale switched by the third compensation data, the third grayscale compensation data, the second compensation data switching grayscale and the second grayscale compensation data, and the grayscale compensation value is determined according to the target grayscale compensation data and the compensation gain.
14. The grayscale compensation method according to claim 13, wherein: The third interpolation method includes linear interpolation.
15. The grayscale compensation method according to claim 11, wherein: The binding point display brightness corresponding to the third grayscale compensation data includes display brightness in a DC dimming mode.
16. The grayscale compensation method according to claim 11, wherein: The binding point display brightness corresponding to the third grayscale compensation data has a corresponding screen brightness greater than or equal to 200 nit.
17. The grayscale compensation method according to claim 11, wherein: When the binding point display brightness corresponding to the third grayscale compensation data is equal to the binding point display brightness corresponding to the second grayscale compensation data, the compensation data switching grayscale corresponding to the third grayscale compensation data is smaller than the compensation data switching grayscale corresponding to the second grayscale compensation data.
18. A grayscale compensation device, characterized in that: include: A grayscale compensation data acquisition module, configured to acquire at least two grayscale compensation data; a reference compensation data switching grayscale determination module, configured to determine a compensation data switching grayscale corresponding to the binding point display brightness based on parameters of the grayscale compensation data, the binding point display brightness, and a duty cycle corresponding to the binding point display brightness, wherein the parameters of the grayscale compensation data include the binding point display brightness corresponding to the grayscale compensation data, the compensation data switching grayscale, and the duty cycle; a compensation data switching grayscale determining module, configured to determine the compensation data switching grayscales corresponding to all the display brightnesses according to the compensation data switching grayscales corresponding to the display brightnesses of the binding points; a grayscale compensation data determination module, configured to switch grayscales according to the compensation data corresponding to the display brightness, and determine the grayscale compensation data corresponding to each grayscale under the display brightness; a grayscale compensation value determination module, configured to determine a grayscale compensation value according to the grayscale compensation data and compensation gain corresponding to each grayscale under the display brightness; A grayscale compensation module, configured to perform grayscale compensation on a display image based on the grayscale compensation value; The reference compensation data switching grayscale determination module is specifically used to: By formula Calculating and obtaining the compensation data switching grayscale corresponding to the display brightness of the binding point; Among them, X2 is the compensation data switching grayscale corresponding to the binding point display brightness, Lmax1 is the binding point display brightness corresponding to the grayscale compensation data, X1 is the compensation data switching grayscale corresponding to the grayscale compensation data, duty1 is the duty cycle corresponding to the grayscale compensation data, Lmax2 is the binding point display brightness, and duty2 is the duty cycle corresponding to the binding point display brightness.
19. A display device, characterized in that: Includes the grayscale compensation device according to claim 18.
Citation Information
Patent Citations
Gray scale compensation data generation method, processing equipment and display device
CN120148406A