A gray scale compensation method, compensation device and related equipment of a display panel

By obtaining the actual brightness value and target gamma curve of the OLED display panel, dividing the compensation level and setting personalized grayscale compensation values, the problem of uneven brightness of the OLED display panel is solved, and the display effect is improved.

CN116564224BActive Publication Date: 2026-04-24KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD
Filing Date
2023-05-08
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing OLED display panels suffer from uneven brightness, which affects the display effect.

Method used

By obtaining the actual brightness value of each pixel on the display panel, determining the target grayscale value according to the preset target gamma curve, dividing the compensation level according to the brightness difference, and setting different grayscale compensation values ​​to perform personalized compensation for each pixel.

Benefits of technology

It improves the brightness uniformity of the display panel and enhances the display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116564224B_ABST
    Figure CN116564224B_ABST
Patent Text Reader

Abstract

The application discloses a gray scale compensation method and device of a display panel and related equipment, and the method comprises the following steps: acquiring the actual brightness value of each pixel point of the display panel when displaying any reference gray scale picture; determining the first target gray scale value corresponding to each pixel point under the target brightness value of the reference gray scale picture according to the actual brightness value of each pixel point and a preset target gamma curve; and determining the gray scale compensation level of each pixel point and the gray scale compensation value corresponding to the gray scale compensation level according to the first target gray scale value of each pixel point. Since the gray scale compensation levels of the pixel points are different and the gray scale compensation values of the pixel points are different, the hierarchical compensation of each pixel point can be performed, so that the problem that the compensation strength of some pixel points is too large or too small can be avoided, and the uniformity of the display brightness of the display panel can be improved, and the display effect of the display panel can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of display technology, and specifically to a grayscale compensation method, compensation device, and related equipment for a display panel. Background Technology

[0002] Organic light-emitting diode (OLED) display panels have broad application prospects due to their advantages such as high brightness, thin and light size, fast response speed, and ease of achieving color and large-screen displays. However, existing OLED display panels suffer from uneven brightness, which affects their display effect. Summary of the Invention

[0003] This invention discloses a grayscale compensation method, compensation device, and related equipment for display panels to solve the problem of uneven display brightness in OLED display panels.

[0004] In a first aspect, the present invention discloses a grayscale compensation method for a display panel, comprising: acquiring the actual brightness value of each pixel of the display panel when displaying any reference grayscale image; determining a first target grayscale value corresponding to the target brightness value of each pixel under the reference grayscale image based on the actual brightness value of each pixel and a preset target gamma curve; determining a grayscale compensation level and a grayscale compensation value corresponding to each pixel based on the first target grayscale value of each pixel; wherein, different grayscale compensation levels of the pixels result in different grayscale compensation values ​​for the pixels; and performing grayscale compensation on each pixel based on the grayscale compensation value of each pixel.

[0005] Optionally, before determining the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image, the method further includes: calculating the average value of the actual brightness value of each pixel; and using the average value as the target brightness value.

[0006] Optionally, determining the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image based on the actual brightness value of each pixel and the preset target gamma curve includes: calculating the first target grayscale value of each pixel based on the actual brightness value of each pixel, the gamma value of the preset target gamma curve, the target brightness value, and the reference grayscale value of the reference grayscale image.

[0007] Optionally, determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the first target grayscale value of each pixel includes: calculating the difference between the first target grayscale value and a reference grayscale value of each pixel, wherein the reference grayscale value is the grayscale value of the reference grayscale image; determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between the pixels; wherein the grayscale compensation level of the pixel is different depending on the magnitude of the difference between the pixels.

[0008] Optionally, determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between each pixel includes: determining the grayscale compensation level and the corresponding grayscale compensation parameter value of each pixel based on the magnitude of the difference between each pixel; and calculating the grayscale compensation value of each pixel based on the difference between each pixel and the grayscale compensation parameter value of each pixel.

[0009] Optionally, the grayscale compensation value is equal to the product of the difference and the grayscale compensation parameter value.

[0010] Optionally, the step of performing grayscale compensation on each pixel based on the grayscale compensation value of each pixel includes: calculating a second target grayscale value for each pixel based on the grayscale compensation value of each pixel and a reference grayscale value, wherein the reference grayscale value is the grayscale value of the reference grayscale image; and controlling the grayscale value of each pixel to be the second target grayscale value when displaying the reference grayscale image.

[0011] Optionally, the second target grayscale value is equal to the sum of the grayscale compensation value and the reference grayscale value.

[0012] Optionally, it further includes: determining the grayscale compensation value of each pixel when displaying other reference grayscale images based on the grayscale compensation value of each pixel when displaying the reference grayscale image.

[0013] Secondly, the present invention discloses a grayscale compensation device for a display panel, comprising: an acquisition module, configured to acquire the actual brightness value of each pixel of the display panel when displaying any reference grayscale image; a first calculation module, configured to determine a first target grayscale value corresponding to the target brightness value of each pixel under the reference grayscale image based on the actual brightness value of each pixel and a preset target gamma curve; a second calculation module, configured to determine a grayscale compensation level of each pixel and a grayscale compensation value corresponding to the first target grayscale value of each pixel; wherein, different grayscale compensation levels of the pixels result in different grayscale compensation values; and a compensation module, configured to perform grayscale compensation on each pixel based on the grayscale compensation value of each pixel.

[0014] Thirdly, the present invention discloses an electronic device, comprising: a memory for storing at least one set of instructions; and a processor for executing the at least one set of instructions to perform a grayscale compensation method for a display panel as described in any of the preceding claims.

[0015] Fourthly, the present invention discloses a readable storage medium storing at least one set of instructions for causing a processor to execute the grayscale compensation method for a display panel as described in any of the preceding claims.

[0016] The present invention discloses a grayscale compensation method, compensation device, and related equipment for a display panel. When displaying any reference grayscale image, the actual brightness value of each pixel on the display panel is obtained. Based on the actual brightness value of each pixel and a preset target gamma curve, a first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image is determined. Based on the first target grayscale value of each pixel, a grayscale compensation level and a corresponding grayscale compensation value for each pixel are determined. Since different grayscale compensation levels result in different grayscale compensation values ​​for pixels, graded compensation can be performed on each pixel. This avoids the problem of excessive or insufficient compensation for some pixels when using the same grayscale compensation value for all pixels, thereby further improving the uniformity of the display panel's brightness and enhancing the display effect. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the background art, the accompanying drawings used in the embodiments of the present invention or the background art will be described below.

[0018] Figure 1 This is a flowchart of a grayscale compensation method for a display panel disclosed in an embodiment of the present invention;

[0019] Figure 2This is a normal distribution diagram of the difference between the first target grayscale value and the reference grayscale value of each pixel, as disclosed in an embodiment of the present invention.

[0020] Figure 3 This is a schematic diagram of the structure of a grayscale compensation device for a display panel disclosed in an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0022] Due to factors such as manufacturing processes, OLED display panels may exhibit uneven display quality. This unevenness, also known as Mura defects, refers to various dot-like, line-like, or block-like display defects caused by uneven brightness. While optical compensation data, such as DeMura data, can be used to compensate the driving voltage of each sub-pixel in the OLED display panel to achieve brightness compensation for each sub-pixel, current methods use uniform parameters or data for compensation. This can easily lead to situations where, while the compensation level is appropriate in areas with severe defects, the compensation level is too high in areas with minor defects, or vice versa. Consequently, even after brightness compensation, the display panel may still exhibit uneven brightness, affecting its display performance.

[0023] Based on this, the present invention discloses a compensation scheme that divides pixels with different degrees of defects into compensation levels. Pixels with different compensation levels have different compensation values, and a suitable compensation value is set for each level of pixels to avoid the problem of some pixels being compensated too much or too little when the same compensation value is used to compensate all pixels uniformly. This further improves the uniformity of the display brightness of the display panel and enhances the display effect of the display panel.

[0024] As an optional implementation of the disclosure of this invention, an embodiment of this invention discloses a grayscale compensation method for a display panel, such as... Figure 1 As shown, the grayscale compensation method includes:

[0025] S101: Obtain the actual brightness value of each pixel on the display panel when displaying any reference grayscale image;

[0026] Before performing grayscale compensation on the display panel, a reference grayscale image of the display panel is first acquired. This reference grayscale image can be any grayscale level from 0 to 255. Furthermore, this reference grayscale image can be a monochrome image or a mixed-color image. For example, the reference grayscale image can be a 16-grayscale red image, a 64-grayscale green image, a 192-grayscale blue image, and / or a 255-grayscale mixed-color (white) image, etc. The reference grayscale image of the display panel can be acquired using a CCD camera or similar device.

[0027] Then, the actual brightness value of each pixel on the display panel can be determined based on the actual brightness value of the reference grayscale image. A pixel can be a sub-pixel of the display panel. Taking a display panel with a resolution of 2400*720 as an example, if the pixel arrangement of this display panel is REAL-RGB, then this display panel has 2400*720 sub-pixels or pixels. Of course, the present invention is not limited to this; in other embodiments, a pixel can also be multiple sub-pixels of the display panel, which will not be elaborated here.

[0028] S102: Based on the actual brightness value of each pixel and the preset target gamma curve, determine the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image.

[0029] Since the display panel for grayscale compensation in this embodiment of the invention is a gamma-corrected display panel, the brightness value of each pixel conforms to the preset target gamma curve. Therefore, in this embodiment of the invention, the first target grayscale value of each pixel can be calculated based on the actual brightness value of each pixel and the preset target gamma curve, when the brightness value of each pixel of the display panel is the target brightness value of the reference grayscale image.

[0030] When a pixel is free of defects, its first target grayscale value is equal to the reference grayscale value of the reference image. When a pixel has a bright spot defect, its first target grayscale value will be greater than the reference grayscale value. When a pixel has a dark spot defect, its first target grayscale value will be less than the reference grayscale value. Furthermore, the more severe the defect, the greater the difference between the first target grayscale value and the reference grayscale value; the more minor the defect, the smaller the difference between the first target grayscale value and the reference grayscale value.

[0031] Based on this, in this embodiment of the invention, the pixels with different degrees of defects are divided into compensation levels according to the size of the first target gray level value, or according to the size of the difference between the first target gray level value and the reference gray level value. The compensation values ​​of pixels with different compensation levels are different, so as to set an appropriate compensation value for each level of pixel to avoid the compensation intensity of the pixel being too large or too small.

[0032] S103: Determine the gray level compensation level of each pixel and the corresponding gray level compensation value based on the first target gray level value of each pixel.

[0033] After determining the first target grayscale value of each pixel, the grayscale compensation level and the corresponding grayscale compensation value of each pixel are determined based on the magnitude of the first target grayscale value or the magnitude of the difference between the first target grayscale value and the reference grayscale value. Each grayscale compensation level has a corresponding grayscale compensation value, and the grayscale compensation value of a pixel is different for different grayscale compensation levels.

[0034] S104: Perform grayscale compensation on each pixel based on the grayscale compensation value of each pixel.

[0035] After determining the grayscale compensation value for each pixel, grayscale compensation is performed on each pixel according to the grayscale compensation value, so that when the display panel displays the reference grayscale image, the brightness value of each pixel is equal to or approximately equal to the target brightness value, thereby reducing the brightness difference between each pixel.

[0036] Since different pixels have different grayscale compensation levels and values, performing grayscale compensation on each pixel separately according to its corresponding grayscale compensation value can not only avoid the problem of some pixels being compensated too much or too little when using the same grayscale compensation value to perform grayscale compensation on all pixels, but also reduce the brightness difference between pixels on the display panel, thereby improving the uniformity of the display panel's brightness and enhancing the display effect.

[0037] In some embodiments of the present invention, a target brightness value for a reference grayscale image can be preset so that the first target grayscale value of each pixel can be determined based on the actual brightness value of each pixel, a preset target gamma curve, and the target brightness value. However, the present invention is not limited to this. In other embodiments, the target brightness value of the reference grayscale image can be calculated based on the actual brightness value of each pixel. That is, in the grayscale compensation method disclosed in some embodiments, before determining the first target grayscale value of each pixel when the brightness value of each pixel is the target brightness value of the reference grayscale image, the method further includes: calculating the average value of the actual brightness values ​​of each pixel; and using the average value as the target brightness value.

[0038] In some embodiments, determining the first target grayscale value of each pixel when the brightness value of each pixel is the target brightness value of the reference grayscale image, based on the actual brightness value of each pixel and the preset target gamma curve, includes: calculating the first target grayscale value of each pixel based on the actual brightness value of each pixel, the gamma value of the preset target gamma curve, the target brightness value, and the reference grayscale value of the reference grayscale image.

[0039] Specifically, the actual brightness value of the pixel, the gamma value of the preset target gamma curve, the target brightness value, and the reference grayscale value of the reference grayscale image can be substituted into the following formula (1):

[0040] LV2=LV1*(gray2 / gray1)^gamma (1);

[0041] Where LV2 represents the target brightness value, LV1 represents the actual brightness value of any pixel, gray1 represents the reference grayscale value of the reference grayscale image, gamma represents the gamma value of the preset target gamma curve, and gray2 represents the first target grayscale value of the pixel.

[0042] In some embodiments of the present invention, the grayscale compensation level of each pixel can be directly determined based on the magnitude of the first target grayscale value of each pixel. However, the inventors have discovered that the difference between the first target grayscale value and the reference grayscale value of each pixel conforms to a normal distribution, such as... Figure 2 As shown, the difference between the first target grayscale value and the reference grayscale value of each pixel follows a normal distribution within a certain interval. As shown in the table below, Value represents the magnitude of the difference between the first target grayscale value and the reference grayscale value, Count represents the number of pixels corresponding to this difference, and Percent represents the percentage of the number of pixels corresponding to this difference to the total number of pixels. Based on this, in some embodiments, grayscale compensation levels can be divided for each pixel based on the normal distribution, i.e., according to the magnitude of the difference between the first target grayscale value and the reference grayscale value, to avoid excessive level division and resulting in excessive computation.

[0043]

[0044] In some embodiments, determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the first target grayscale value of each pixel includes: calculating the difference between the first target grayscale value and the reference grayscale value of each pixel, where the reference grayscale value is the grayscale value of the reference grayscale image; determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between each pixel; wherein, the grayscale compensation level of the pixel is different depending on the magnitude of the difference between the pixels.

[0045] For example, if the difference between the first target grayscale value and the reference grayscale value of each pixel is normally distributed in the interval [-6, 6], then pixels with a difference in the interval [-2, 2] can be classified into one level, pixels with a difference in the intervals [2, 4] and [-4, -2] can be classified into one level, and pixels with a difference in the intervals [4, 6] and [-6, -4] can be classified into one level.

[0046] Among them, the pixels in the [-6,-4] and [4,6] intervals have the most severe defects, so their grayscale compensation values ​​can be set to a larger absolute value; the pixels in the [-2,2] interval have the least defects, so their grayscale compensation values ​​can be set to a smaller absolute value; the pixels in the [2,4] and [-4,-2] intervals have intermediate defects, so their grayscale compensation values ​​can be set between a larger and a smaller value.

[0047] Of course, the present invention is not limited to this. In other embodiments, the levels can also be divided according to the values ​​of Count or Percent. For example, pixels with a Percent value within ±2% can be divided into one level, which will not be elaborated here.

[0048] Based on this, the grayscale compensation level and the corresponding grayscale compensation value of each pixel are determined according to the magnitude of the difference between each pixel. This includes: determining the grayscale compensation level and the corresponding grayscale compensation parameter value of each pixel based on the magnitude of the difference between each pixel; and calculating the grayscale compensation value of each pixel based on the difference between each pixel and the grayscale compensation parameter value of each pixel.

[0049] In some embodiments, different grayscale compensation parameter values ​​can be set for different grayscale compensation levels, and then the grayscale compensation value can be calculated based on the grayscale compensation parameter values. Optionally, the grayscale compensation value is equal to the product of the difference and the grayscale compensation parameter value. For example, the grayscale compensation value of each pixel can be obtained by multiplying the difference value (Value) of any pixel by the grayscale compensation parameter value (Gain) of that pixel. The closer the difference value (Value) is to 0, the closer the grayscale compensation parameter value (Gain) can be to 1. When the difference value (Value) is equal to 0, it indicates that the pixel has no defects. In this case, the grayscale compensation parameter value (Gain) is equal to 1. Multiplying the difference value (Value) of the pixel by 1 gives the grayscale compensation value of the pixel equal to the difference value (Value).

[0050] In some embodiments of the present invention, grayscale compensation for each pixel based on its grayscale compensation value includes: calculating a second target grayscale value for each pixel based on its grayscale compensation value and a reference grayscale value, wherein the reference grayscale value is the grayscale value of a reference grayscale image; and controlling the grayscale value of each pixel to be the second target grayscale value when displaying the reference grayscale image. Optionally, the second target grayscale value is equal to the sum of the grayscale compensation value and the reference grayscale value.

[0051] Taking the pixels in the ranges [-5,-3] and [4,6] as one level, and the pixels in the ranges [-3,-2], [-2,-1], [-1,0], [0,1], [1,2], [2,3] and [3,4] as seven levels respectively, this example illustrates the concept. Assume that the grayscale compensation parameter Gain value of the pixels in the ranges [-5,-3] and [4,6] is equal to 8 / 16, where the precision of the grayscale compensation parameter Gain value is 1 / 16. This precision can be the difference between the grayscale compensation parameter Gain values ​​of two adjacent grayscale compensation levels. The calculation is based on different ± direction values. The positive intervals are [0,1], [1,2], [2,3] and [3,4]. After dividing the data between 8 / 16 and 1 equally and rounding the numerator, the grayscale compensation parameter Gain values ​​are 16 / 16, 13 / 16, 10 / 16 and 8 / 16 respectively. The negative intervals are [-3,-2], [-2,-1] and [-1,0]. After dividing the data between -8 / 16 and 1 equally and rounding the numerator, the grayscale compensation parameter Gain values ​​are 8 / 16, 12 / 16 and 16 / 16 respectively.

[0052] Multiplying the differences -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, and 6 by the corresponding grayscale compensation parameter value Gain yields grayscale compensation values ​​of -5*8 / 16, -4*8 / 16, -3*8 / 16, -2*12 / 16, -1*16 / 16, 0, 1*16 / 16, 2*13 / 16, 3*10 / 16, 4*8 / 16, 5*8 / 16, and 6*8 / 16, respectively. Adding the grayscale compensation value of each pixel to the reference grayscale value yields the second target grayscale value for each pixel. When displaying the reference grayscale image, controlling the grayscale value of each pixel to be the second target grayscale value ensures that the brightness value of each pixel is equal to or approximately equal to the target brightness value. This can be achieved by controlling the driving voltage or driving current of each pixel to match the driving voltage or driving current corresponding to the second target grayscale value.

[0053] The grayscale compensation method disclosed in some embodiments of the present invention further includes: determining the grayscale compensation value of each pixel when displaying other reference grayscale images based on the grayscale compensation value of each pixel when displaying a reference grayscale image.

[0054] For example, when displaying a green image with 64 gray levels, the gray level compensation value of each pixel on the display panel can be calculated. When displaying a green image with other gray levels besides 64 gray levels, the gray level compensation value of each pixel on the display panel and the second target gray level value can be calculated. When displaying other reference gray level images, the gray level value of each pixel can be controlled to correspond to the second target gray level value, so as to reduce the brightness difference of each pixel on other reference gray level images and improve their brightness uniformity.

[0055] When displaying a red image with 16 gray levels, the gray level compensation value of each pixel on the display panel can be obtained. When displaying a red image with other gray levels besides 16 gray levels, the gray level compensation value of each pixel on the display panel and the second target gray level value can be calculated. When displaying other reference gray level images, the gray level value of each pixel is controlled to be the corresponding second target gray level value, so as to reduce the brightness difference of each pixel on other reference gray level images and improve their brightness uniformity.

[0056] When displaying a blue image with a grayscale of 192, the grayscale compensation value of each pixel on the display panel can be calculated. When displaying a blue image with other grayscale levels besides 192, the grayscale compensation value of each pixel on the display panel and the second target grayscale value can be calculated. When displaying other reference grayscale images, the grayscale value of each pixel can be controlled to correspond to the second target grayscale value, so as to reduce the brightness difference of each pixel on other reference grayscale images and improve their brightness uniformity.

[0057] As another optional implementation of the content disclosed in this invention, an embodiment of this invention discloses a grayscale compensation device for a display panel, such as... Figure 3 As shown, the grayscale compensation device includes:

[0058] The acquisition module 20 is used to acquire the actual brightness value of each pixel on the display panel when displaying any reference grayscale image.

[0059] The first calculation module 21 is used to determine the first target grayscale value corresponding to the target brightness value of each pixel under the reference grayscale image based on the actual brightness value of each pixel and the preset target gamma curve.

[0060] The second calculation module 22 is used to determine the gray level compensation level of each pixel and the gray level compensation value corresponding to the gray level compensation level based on the first target gray level value of each pixel; wherein, the gray level compensation value of the pixel is different if the gray level compensation level is different.

[0061] The compensation module 23 is used to perform grayscale compensation on each pixel according to the grayscale compensation value of each pixel.

[0062] In some embodiments of the present invention, before the first calculation module 21 determines the first target grayscale value corresponding to each pixel point under the target brightness value of the reference grayscale image, it is further configured to: calculate the average value of the actual brightness value of each pixel point; and use the average value as the target brightness value.

[0063] In some embodiments of the present invention, the first calculation module 21 determines the first target grayscale value of each pixel when the brightness value of each pixel is the target brightness value of the reference grayscale image based on the actual brightness value of each pixel and the preset target gamma curve. This includes: calculating the first target grayscale value of each pixel based on the actual brightness value of each pixel, the gamma value of the preset target gamma curve, the target brightness value, and the reference grayscale value of the reference grayscale image.

[0064] In some embodiments of the present invention, the second calculation module 22 determines the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the first target grayscale value of each pixel, including: calculating the difference between the first target grayscale value and the reference grayscale value of each pixel, wherein the reference grayscale value is the grayscale value of the reference grayscale image; and determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between each pixel; wherein the grayscale compensation level of the pixel is different depending on the magnitude of the difference between the pixels.

[0065] In some embodiments of the present invention, the second calculation module 22 determines the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between each pixel, including: determining the grayscale compensation level and the corresponding grayscale compensation parameter value of each pixel based on the magnitude of the difference between each pixel; and calculating the grayscale compensation value of each pixel based on the difference between each pixel and the grayscale compensation parameter value of each pixel. Optionally, the grayscale compensation value is equal to the product of the difference and the grayscale compensation parameter value.

[0066] In some embodiments of the present invention, the compensation module 23 performs grayscale compensation on each pixel based on the grayscale compensation value of each pixel, including: calculating a second target grayscale value for each pixel based on the grayscale compensation value and a reference grayscale value, wherein the reference grayscale value is the grayscale value of a reference grayscale image; and controlling the grayscale value of each pixel to be the second target grayscale value when displaying the reference grayscale image. Optionally, the second target grayscale value is equal to the sum of the grayscale compensation value and the reference grayscale value.

[0067] In some embodiments of the present invention, the grayscale compensation device is further used to determine the grayscale compensation value of each pixel when displaying other reference grayscale images based on the grayscale compensation value of each pixel when displaying a reference grayscale image.

[0068] As another optional implementation of the disclosure of this invention, an embodiment of this invention discloses an electronic device, which may be a terminal device or a server device, etc. The electronic device includes:

[0069] Memory, used to store at least one set of instructions;

[0070] A processor is configured to execute at least one set of instructions to perform the grayscale compensation method for a display panel as disclosed in any of the above embodiments.

[0071] As another optional implementation of the disclosure of this invention, an embodiment of this invention discloses a readable storage medium that stores at least one set of instructions for causing a processor to execute the grayscale compensation method for a display panel as disclosed in any of the above embodiments.

[0072] The readable storage medium of this invention includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be host-readable instructions, data structures, program modules, or other data. Examples of host storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0073] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0074] The above embodiments are merely illustrative of several implementation methods described in detail, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this specification, and these all fall within the protection scope of this specification. Therefore, the protection scope of this patent should be determined by the appended claims.

Claims

1. A grayscale compensation method for a display panel, characterized in that, include: Obtain the actual brightness value of each pixel on the display panel when displaying any reference grayscale image; Based on the actual brightness value of each pixel and the preset target gamma curve, determine the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image; Based on the first target grayscale value of each pixel, determine the grayscale compensation level of each pixel and the grayscale compensation value corresponding to the grayscale compensation level; wherein, the grayscale compensation value of the pixel is different if the grayscale compensation level is different. Gray level compensation is performed on each pixel based on its gray level compensation value. The step of determining the grayscale compensation level of each pixel and the grayscale compensation value corresponding to the grayscale compensation level based on the first target grayscale value of each pixel includes: calculating the difference between the first target grayscale value of each pixel and the reference grayscale value, wherein the reference grayscale value is the grayscale value of the reference grayscale image. Based on the magnitude of the difference between each pixel, the grayscale compensation level of each pixel and the grayscale compensation value corresponding to the grayscale compensation level are determined; wherein, the grayscale compensation level of the pixel is different if the magnitude of the difference between the pixels is different. The step of determining the grayscale compensation level of each pixel and the grayscale compensation value corresponding to the grayscale compensation level based on the difference between each pixel includes: Based on the magnitude of the difference between each pixel, determine the grayscale compensation level of each pixel and the grayscale compensation parameter value corresponding to the grayscale compensation level; The grayscale compensation value of each pixel is calculated based on the difference between each pixel and the grayscale compensation parameter value of each pixel.

2. The grayscale compensation method according to claim 1, characterized in that, Before determining the first target grayscale value corresponding to each pixel at the target brightness value of the reference grayscale image, the method further includes: Calculate the average value of the actual brightness of each pixel; The average value is used as the target brightness value.

3. The grayscale compensation method according to claim 1, characterized in that, The step of determining the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image based on the actual brightness value of each pixel and the preset target gamma curve includes: The first target grayscale value of each pixel is calculated based on the actual brightness value of each pixel, the gamma value of the preset target gamma curve, the target brightness value, and the reference grayscale value of the reference grayscale image.

4. The grayscale compensation method according to claim 1, characterized in that, The grayscale compensation value is equal to the product of the difference and the grayscale compensation parameter value.

5. The grayscale compensation method according to claim 1, characterized in that, The step of performing grayscale compensation on each pixel based on the grayscale compensation value of each pixel includes: The second target grayscale value of each pixel is calculated based on the grayscale compensation value of each pixel and the reference grayscale value, wherein the reference grayscale value is the grayscale value of the reference grayscale image. When displaying the reference grayscale image, the grayscale value of each pixel is controlled to be the second target grayscale value; Optionally, the second target grayscale value is equal to the sum of the grayscale compensation value and the reference grayscale value.

6. The grayscale compensation method according to any one of claims 1-5, characterized in that, Also includes: Based on the grayscale compensation values ​​of each pixel when displaying the reference grayscale image, determine the grayscale compensation values ​​of each pixel when displaying other reference grayscale images.

7. A grayscale compensation device for a display panel, characterized in that, include: The acquisition module is used to acquire the actual brightness value of each pixel on the display panel when displaying any reference grayscale image; The first calculation module is used to determine the first target grayscale value corresponding to each pixel under the target brightness value of the reference grayscale image based on the actual brightness value of each pixel and the preset target gamma curve. The second calculation module is used to determine the gray level compensation level of each pixel and the gray level compensation value corresponding to the gray level compensation level based on the first target gray level value of each pixel; wherein, the gray level compensation level of the pixel is different and the gray level compensation value of the pixel is different. The compensation module is used to perform grayscale compensation on each pixel according to the grayscale compensation value of each pixel. The second calculation module determines the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the first target grayscale value of each pixel, including: calculating the difference between the first target grayscale value and the reference grayscale value of each pixel, where the reference grayscale value is the grayscale value of the reference grayscale image; and determining the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between the pixels; wherein, different differences between pixels result in different grayscale compensation levels for the pixels. The second calculation module determines the grayscale compensation level and the corresponding grayscale compensation value of each pixel based on the magnitude of the difference between each pixel, including: determining the grayscale compensation level and the corresponding grayscale compensation parameter value of each pixel based on the magnitude of the difference between each pixel; and calculating the grayscale compensation value of each pixel based on the difference between each pixel and the grayscale compensation parameter value of each pixel.

8. An electronic device, characterized in that, include: Memory, used to store at least one set of instructions; A processor for executing the at least one set of instructions to perform the grayscale compensation method for a display panel as described in any one of claims 1 to 6.

9. A readable storage medium, characterized in that, The readable storage medium stores at least one set of instructions, which are used to cause the processor to execute the grayscale compensation method for the display panel as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Grayscale compensation method and system of OLED display panel

    CN106782307A