Display driving methods, apparatus, media, program products, and display devices

By using a method based on grayscale deviation to determine compensation weights and interpolation processing, the problem of uneven brightness in OLED panels caused by manufacturing processes on large-area glass substrates was solved, achieving more accurate display effects and higher display precision.

CN119920198BActive Publication Date: 2026-11-10BEIJING ESWIN COMPUTING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510245362.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2026-11-10
Estimated Expiration
2045-03-03

AI Technical Summary

Technical Problem

When fabricating OLED panels on large-area glass substrates, the limitations of the manufacturing process lead to non-uniformity in electrical parameters such as threshold voltage and mobility of thin-film transistors, resulting in differences in current and brightness of display devices, and thus uneven brightness.

Method used

The compensation weight is determined based on the grayscale deviation of the image to be displayed. Interpolation is performed on multiple calibration points to determine the compensation curve, which then drives the display panel to display the image to be displayed.

Benefits of technology

It improves display effect and display accuracy, reduces grayscale adhesion problems, and ensures that the display panel can accurately display the image to be displayed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119920198B_ABST
    Figure CN119920198B_ABST
Patent Text Reader

Abstract

This disclosure provides a display driving method, apparatus, medium, and display device, applicable to the field of display driving technology. The method includes: determining compensation weights for grayscale compensation of an image to be displayed based on a grayscale deviation, wherein the grayscale deviation is determined according to hardware parameters of the display panel and the expected grayscale values ​​of multiple pixels in the image to be displayed; determining a compensation curve by interpolating multiple calibration points based on the compensation weights; and driving the display panel to display the image to be displayed based on the compensation curve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display drivers, and more specifically to a display driver method, apparatus, medium, program product, and display device. Background Technology

[0002] As the display area of ​​display panels increases, when fabricating panels such as Organic Light-Emitting Diode (OLED) panels on large-area glass substrates, limitations in the manufacturing process lead to non-uniformity in electrical parameters such as threshold voltage and mobility among thin-film transistors at different locations. This non-uniformity results in differences in current and brightness within the display device, leading to uneven brightness during display. Summary of the Invention

[0003] In view of the above problems, this disclosure provides a display driving method, apparatus, medium, program product and display device.

[0004] According to a first aspect of this disclosure, a display driving method is provided, comprising: determining compensation weights for grayscale compensation of an image to be displayed based on a grayscale deviation of the image to be displayed, wherein the grayscale deviation is determined based on the difference between the predicted grayscale values ​​of a plurality of pixels included in the image to be displayed and the expected grayscale values ​​of the plurality of pixels; determining a compensation curve by interpolating a plurality of calibration points based on the compensation weights; and driving a display panel to display the image to be displayed based on the compensation curve.

[0005] A second aspect of this disclosure provides a display processing chip, including: a digital logic circuit, wherein the digital logic circuit is configured to implement the steps of the above method during operation.

[0006] A third aspect of this disclosure provides a display driver device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.

[0007] A fourth aspect of this disclosure provides a display device, including: a display panel; and the aforementioned display driving device.

[0008] The fifth aspect of this disclosure also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the steps of the above-described method.

[0009] A sixth aspect of this disclosure also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method. Attached Figure Description

[0010] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0011] Figure 1 A flowchart illustrating a display driving method according to an embodiment of the present disclosure is shown schematically;

[0012] Figure 2 This illustration schematically shows a method for determining the number of pixels associated with each compensation level according to embodiments of the present disclosure;

[0013] Figure 3 An embodiment of determining compensation weights according to embodiments of the present disclosure is illustrated schematically;

[0014] Figure 4 This illustration schematically shows the selection of calibration points according to an embodiment of the present disclosure and a schematic diagram of the first output grayscale value corresponding to the calibration points;

[0015] Figure 5 This diagram illustrates the selection of interpolation points according to an embodiment of the present disclosure.

[0016] Figure 6 This schematic diagram illustrates the selection of smoothing points according to an embodiment of the present disclosure;

[0017] Figure 7 A schematic diagram illustrating the selection of smoothing points according to another embodiment of the present disclosure is shown.

[0018] Figure 8 A graph illustrating the compensation curve according to an embodiment of the present disclosure is shown schematically.

[0019] as well as

[0020] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing a display driving method according to an embodiment of the present disclosure. Detailed Implementation

[0021] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0022] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0023] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0024] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0025] In one example, grayscale compensation technology can be used to calibrate individual pixels of a display panel (OLED, LCD). For instance, applying a higher-than-expected electric field to the OLED panel makes the grayscale value of each pixel after grayscale loss the same as the expected grayscale value. Since the grayscale range of a display panel is limited, increasing the expected electric field has little effect on the grayscale value of a pixel when the expected grayscale value is high. This leads to the problem of grayscale adhesion. Grayscale adhesion refers to the situation where, after grayscale compensation is applied to multiple pixels in the image with input grayscale values ​​higher than a certain grayscale value and with different input grayscale values, the actual output grayscale value of each of these pixels exceeds the display range of the display panel. Therefore, the actual display effect of these multiple pixels is the maximum value of the output grayscale value of the display panel, resulting in multiple pixels with different grayscale values ​​having the same actual output grayscale value.

[0026] Therefore, the expected input to the display panel can be mapped, for example, mapping the input grayscale range from [0, 255] to [0, 240], reserving a grayscale range of [241, 255] for subsequent grayscale compensation. However, the reserved grayscale range in the above technology needs to be set manually. If the reserved grayscale range is set too small, the problem of grayscale adhesion cannot be avoided. If the reserved grayscale range is set too large, it will compress the normal display range of pixels, resulting in low display brightness and poor display effect.

[0027] Embodiments of this disclosure provide a display driving method, comprising: determining compensation weights for the image to be displayed based on grayscale deviations, wherein the grayscale deviations are determined based on the difference between the predicted grayscale values ​​of each of the plurality of pixels included in the image to be displayed and the expected grayscale values ​​of each of the plurality of pixels; determining a compensation curve by interpolating a plurality of calibration points based on the compensation weights; and driving a display panel to display the image to be displayed based on the compensation curve.

[0028] Figure 1 A flowchart illustrating a display driving method according to an embodiment of the present disclosure is shown schematically.

[0029] like Figure 1 As shown, the display driving method of this embodiment includes operations S110 to S130.

[0030] In operation S110, based on the grayscale deviation of the image to be displayed, the compensation weights used for grayscale compensation of the image to be displayed are determined.

[0031] Grayscale deviation is determined by the difference between the predicted grayscale values ​​of each pixel in the image to be displayed and the expected grayscale values ​​of each pixel. The predicted grayscale values ​​are obtained by predicting the display effect based on the hardware parameters of the display panel and the expected grayscale values ​​of each pixel in the image to be displayed. The hardware parameters of the display panel include the type of display panel and its service life. The predicted grayscale value of each pixel represents the grayscale value displayed by that pixel when the image to be displayed is shown using the display panel without grayscale compensation.

[0032] Since the grayscale deviation of the image to be displayed exists when using a display panel, a compensation value for the image to be displayed can be determined based on the grayscale deviation, and grayscale compensation can be performed on the image to be displayed based on the compensation value, so that the display effect of the display panel is as close as possible to the image to be displayed.

[0033] When performing grayscale compensation on an image to be displayed, the scaling of the compensation value of each pixel in the image to be displayed can be determined based on the multiple pixels included in the entire frame of the image to be displayed. This ensures that after grayscale compensation, the grayscale value of each pixel does not exceed the display capability of the display panel, thereby ensuring that the display panel can display the image to be displayed correctly.

[0034] During operation S120, based on the compensation weight, interpolation is performed on multiple calibration points to determine the compensation curve.

[0035] Because directly mapping the compensation values ​​of multiple pixels based on compensation weights may result in uneven distribution and large fluctuations, a smooth compensation curve can be determined by identifying multiple calibration points, interpolating these points, and then mapping the compensation values ​​based on the compensation weights.

[0036] In operation S130, the display panel is driven to display the image to be displayed based on the compensation curve.

[0037] Based on the compensation curve and the expected grayscale values ​​of each of the multiple pixels in the image to be displayed, the grayscale values ​​of each of the multiple pixels after compensation can be determined by the display panel, and the display panel can be further driven to display the image to be displayed based on each pixel.

[0038] According to embodiments of this disclosure, a compensation weight for the image to be displayed is determined based on the grayscale deviation of the image to be displayed, and a compensation curve for the image to be displayed is further determined through interpolation. Since interpolation smooths the mapping relationship from a line graph to a curve graph, the further determined compensation curve can more accurately reflect the data trend and reduce data fluctuations at the peaks of the line graph, making the compensation more precise. After determining the accurate compensation curve, the image to be displayed is processed, and the display panel is driven to display the image. By using the relevant parameters of the processed image, the display panel displays a more realistic and accurate image, improving the display effect and display accuracy.

[0039] According to embodiments of this disclosure, determining compensation weights for grayscale compensation of the image to be displayed based on the grayscale deviation can be achieved in the following manner: Determining compensation values ​​for the pixels included in the image to be displayed based on the individual grayscale deviations of multiple pixels. Determining compensation weights for the image to be displayed based on the individual compensation values ​​of the multiple pixels included in the image.

[0040] For each pixel of the image to be displayed, since there will be grayscale deviation when the image is directly displayed on the display panel without grayscale compensation, the grayscale deviation is summed with the expected grayscale value of the pixel to determine the grayscale value of the pixel after compensation (denoted as the compensation value). When the image to be displayed is a color image including RGB three channels, the compensation value of the pixel on each channel can be determined separately, and the maximum value among the multiple compensation values ​​is determined as the compensation value of the pixel. Here, the grayscale deviation, the expected grayscale value, and the compensation value all include the values ​​of multiple color channels.

[0041] In another embodiment, the image to be displayed is a grayscale image, and the grayscale deviation of each pixel can be directly used as the compensation value of that pixel.

[0042] In another embodiment, the compensation values ​​of each pixel on multiple color channels can be determined as multiple compensation values ​​of the pixel, and each compensation value can be further processed to determine multiple compensation weights of the image to be displayed, and grayscale compensation can be performed on a color channel based on each compensation weight.

[0043] According to embodiments of this disclosure, the grayscale deviation of the image to be displayed is determined based on the grayscale deviation, and a compensation value for the image to be displayed is further determined. When the image to be displayed has multiple color channels, a compensation value for the image to be displayed is determined based on the compensation value for each color channel, and a compensation weight is further determined. Since the maximum value of multiple compensation values ​​can be used as the compensation value for that pixel, the data processing load can be reduced and computational efficiency improved while ensuring the compensation effect.

[0044] According to embodiments of this disclosure, determining compensation weights for grayscale compensation of the image to be displayed based on the compensation values ​​of each of the multiple pixels included in the image to be displayed includes: determining the number of pixels associated with each of the multiple compensation levels based on the compensation values ​​of each of the multiple pixels included in the image to be displayed.

[0045] According to embodiments of this disclosure, for each compensation level, if the compensation value of a pixel is greater than the compensation threshold corresponding to the compensation level, it is determined that the pixel is related to the compensation level.

[0046] The number of pixels associated with each compensation level and the compensation threshold corresponding to each compensation level can be preset. The number of pixels associated with each compensation level can be set according to the required grayscale compensation accuracy. For example, in scenarios requiring faster grayscale compensation, the number of pixels associated with each compensation level can be reduced while ensuring the grayscale compensation effect, thereby reducing the computational load during the grayscale compensation process.

[0047] Figure 2 The illustration schematically depicts a method for determining the number of pixels associated with each compensation level according to an embodiment of the present disclosure.

[0048] like Figure 2 As shown, the method includes operations S201 to S209.

[0049] In operation S201, the display effect prediction of the image to be displayed is performed.

[0050] In operation S202, based on the result of the display effect prediction, the grayscale deviation of each pixel in the image to be displayed is determined.

[0051] In operation S203, the compensation value for each pixel on multiple channels is determined.

[0052] In operation S204, the compensation value of each pixel is determined based on the compensation values ​​of each pixel in multiple channels.

[0053] In operation S205, the compensation value of one pixel is obtained, and operation S206 is executed.

[0054] In operation S206, the relationship between the compensation value of the pixel and the compensation thresholds corresponding to each of the multiple compensation levels is determined, thereby determining the compensation level to which the pixel belongs. Specifically, a pixel can be repeatedly assigned to multiple compensation levels.

[0055] In operation S207, determine whether there are any unread or unprocessed pixels in the image to be displayed. If they exist, proceed to operation S208; otherwise, proceed to operation S209.

[0056] In operation S208, the compensation value of the next pixel is read, and operation S205 is executed.

[0057] In operation S209, the number of pixels associated with each compensation level is determined.

[0058] For operation S206, taking four preset compensation levels as an example, namely level 1, level 2, level 3 and level 4. The compensation threshold corresponding to level 1 can be 1.1 times the expected gray value of the pixel, the compensation threshold corresponding to level 2 is 1.2 times the expected gray value of the pixel, the compensation threshold corresponding to level 3 is 1.3 times the expected gray value of the pixel, and the compensation threshold corresponding to level 4 is 1.4 times the expected gray value of the pixel.

[0059] Since the number of pixels associated with a compensation level represents the number of pixels in the image to be displayed that meet the compensation threshold corresponding to that compensation level, a single pixel can be associated with multiple compensation levels simultaneously.

[0060] For example, if the compensation value of a certain pixel is 1.25 times the expected gray value of that pixel, it can be determined that its compensation value is greater than the compensation threshold corresponding to level 1 and the compensation threshold corresponding to level 2. Therefore, this pixel belongs to level 1 and level 2.

[0061] In addition to the methods described above, since the compensation value for each pixel is its grayscale deviation, and the grayscale deviation represents the difference between the predicted grayscale value and the expected grayscale value of each pixel, in another embodiment, the grayscale value can also be used to characterize the compensation threshold corresponding to each compensation level. For example, the compensation threshold for level 1 is 10, for level 2 it is 15, for level 3 it is 20, and for level 4 it is 30. Therefore, for a pixel with a grayscale deviation of 22, it can be determined that it belongs to level 1, level 2, or level 3.

[0062] According to embodiments of this disclosure, based on the compensation value of each pixel in the image to be processed, the compensation level to which each pixel belongs is determined, and the number of pixels associated with each compensation level is determined. Then, based on the number of pixels associated with each compensation level, the compensation weight of the image to be displayed is determined. Since the classification of the image to be displayed can be completed by comparing the magnitude of the compensation value and the compensation threshold, and subsequent processing is performed based on the number of pixels associated with the compensation level, the applicable compensation level can be quickly determined, improving the efficiency of the display driver.

[0063] After determining the number of pixels associated with each of the multiple compensation levels, the compensation weight of the image to be displayed is determined based on the number of pixels associated with each of the multiple compensation levels.

[0064] According to embodiments of this disclosure, the number of pixels associated with a compensation level is compared with a threshold number corresponding to that compensation level to obtain a comparison result. Based on the comparison result, a target compensation level is determined from multiple compensation levels. A compensation weight is determined based on a preset weight corresponding to the target compensation level.

[0065] If the comparison result indicates that the number of pixels associated with the compensation level is less than or equal to the quantity threshold corresponding to the compensation level, the next compensation level is determined based on the previous compensation level, and the number of pixels associated with the next compensation level is compared with the quantity threshold corresponding to the next compensation level. If the comparison result indicates that the number of pixels associated with the compensation level is greater than the quantity threshold corresponding to the compensation level, the compensation weight is determined based on the preset weight corresponding to the compensation level.

[0066] Each compensation level corresponds to a quantity threshold. The quantity thresholds for different compensation levels can be the same or different. The quantity threshold can be expressed as a percentage of the number of pixels in the image to be displayed. When comparing the number of pixels associated with a compensation level with the quantity threshold corresponding to that compensation level, compensation levels can be selected in descending order of their compensation thresholds, and then the comparison can be performed.

[0067] Figure 3 An embodiment of determining compensation weights according to an embodiment of the present disclosure is illustrated.

[0068] like Figure 3 As shown, this embodiment includes operations S301 to S302.

[0069] In operation S301, the number of pixels associated with each compensation level is determined.

[0070] In operation S302, the compensation weight is determined based on the number of pixels associated with each compensation level.

[0071] In the example above that includes four compensation levels, the compensation weight can be determined through operations S321 to S329.

[0072] In operation S321, determine whether the number of pixels at level 4 is greater than the quantity threshold. If yes, execute operation S322; otherwise, execute operation S323.

[0073] In operation S322, the compensation weight is determined to be the preset weight corresponding to level 4.

[0074] In operation S323, determine whether the number of pixels of level 3 is greater than the number threshold. If yes, execute operation S324; otherwise, execute operation S325.

[0075] In operation S324, the compensation weight is determined to be the preset weight corresponding to level 3.

[0076] In operation S325, determine whether the number of pixels of level 2 is greater than the number threshold. If yes, execute operation S326; otherwise, execute operation S327.

[0077] In operation S326, the compensation weight is determined to be the preset weight corresponding to level 2.

[0078] In operation S327, determine whether the number of pixels of level 1 is greater than the number threshold. If yes, execute operation S328; otherwise, execute operation S329.

[0079] In operation S328, the compensation weight is determined to be the preset weight corresponding to level 1.

[0080] In operation S329, the compensation weight is set to the preset value.

[0081] To facilitate understanding, the compensation weight can be determined as follows: Set the quantity threshold to 50% of the number of pixels in the image to be displayed. After traversing the image to be displayed, determine that the number of pixels in levels 1 through 4 are 75%, 68%, 49%, and 36%, respectively. Compare the number of pixels in level 4 with the quantity threshold. If the number of pixels in level 4 is less than the quantity threshold, select level 3. If the number of pixels in level 3 is less than the quantity threshold, select level 2. If the number of pixels in level 2 is greater than the quantity threshold, then the compensation weight can be determined based on the preset weight corresponding to level 2.

[0082] The preset weights corresponding to levels 1 to 4 can be set to, for example, 0.8, 0.85, 0.95 and 0.98. In the above embodiment, based on the preset weight corresponding to level 2, the compensation weight can be determined to be 0.85.

[0083] In another embodiment, if after traversing the image to be displayed, it is determined that the number of pixels associated with each of the compensation levels 1 to 4 is 46%, 42%, 32%, and 25%, respectively, that is, the number of pixels associated with each of the multiple compensation levels is less than or equal to the number threshold, then the compensation weight can be determined as a preset value. Preferably, the preset value can be 1.

[0084] According to embodiments of this disclosure, by sequentially comparing the number of pixels associated with each compensation level with a corresponding threshold number for that compensation level, and when the number of pixels associated with a compensation level exceeds the threshold number, a compensation weight is determined based on the compensation level, thus improving the efficiency of determining the compensation weight. Furthermore, when the number of pixels associated with a compensation level exceeds the threshold number, it can be determined that the number of pixels corresponding to that compensation level is sufficient. Subsequent compensation using the compensation weight corresponding to that compensation level ensures that the display effect of most pixels in the image to be displayed meets the requirements, thus guaranteeing the effectiveness of the display driver.

[0085] According to embodiments of this disclosure, a compensation curve is determined by interpolating multiple calibration points based on compensation weights. This includes: determining multiple calibration points within the grayscale range of the display panel, wherein each calibration point is determined based on a first input grayscale value within the grayscale range and a first output grayscale value corresponding to the first input grayscale value. Interpolation is then performed between the multiple calibration points using a first interpolation method to obtain multiple interpolation points. Finally, a compensation curve is determined based on these multiple interpolation points.

[0086] When determining calibration points, it is necessary to first determine the horizontal axis coordinates corresponding to the calibration points, and then determine multiple first input grayscale values ​​within the grayscale range of the display panel. Based on the compensation weights and the multiple first input grayscale values, determine the first output grayscale value corresponding to each of the multiple first input grayscale values. Based on the multiple first input grayscale values ​​and the first output grayscale values ​​corresponding to each of the multiple first input grayscale values, multiple calibration points can be determined.

[0087] The grayscale range of a display panel can be used to represent the range of gray values ​​that the display panel can display. For example, if each pixel on the display panel can display a gray value of 0 to 255, then the grayscale range of the display panel is [0, 255].

[0088] Multiple first input grayscale values ​​are determined within the grayscale range of the display panel, and multiple calibration points can be determined based on the first output grayscale values ​​corresponding to the first input grayscale values. Specifically, the actual output of the display panel for the first input grayscale value, i.e., the first output grayscale value, can be determined by multiplying the first input grayscale value by the compensation weight.

[0089] When a display panel performs grayscale compensation on pixels close to their upper grayscale limit, the resolution can easily decrease due to reaching the limit after compensation, resulting in grayscale banding. Therefore, curve fitting can be performed on the portion of the grayscale value that is closer to the upper limit, thus avoiding reaching the upper limit after compensation for these pixels.

[0090] Since curve fitting is needed for the portion of grayscale values ​​closer to the upper limit, the maximum value among multiple first input grayscale values ​​can be taken as the upper limit of the grayscale range, and the remaining multiple first input grayscale values ​​within the grayscale range can be used. Because the calibration points are determined based on the first input grayscale values ​​and the first output grayscale values, and the first output grayscale values ​​are determined based on the first input grayscale values ​​and the compensation weights, when the number of calibration points is greater than 3, the first output grayscale values ​​of the calibration points other than the last calibration point are not constrained by the grayscale range. Therefore, there is a linear relationship between the other calibration points. Interpolating among multiple calibration points with a linear relationship yields points with the same linear relationship, resulting in an insignificant interpolation effect.

[0091] Based on the above issues, preferably, three first input grayscale values ​​can be taken, and the first output grayscale value corresponding to each first input grayscale value can be calculated respectively. Furthermore, based on the first input grayscale values ​​and their corresponding first output grayscale values, three calibration points can be determined.

[0092] Figure 4 The illustration shows the selection of calibration points according to an embodiment of the present disclosure and the schematic diagram of the first output grayscale value corresponding to the calibration points.

[0093] like Figure 4As shown, the maximum input grayscale value of the display panel is 255, so the input grayscale range of the display panel can be determined to be [0, 255]. With the last first input grayscale value being 255 and the preset interval between multiple first input grayscale values ​​being 64, the remaining two first input grayscale values ​​can be determined to be 191 and 127 respectively, based on the first input grayscale value 255 and the interval 64, thus determining multiple first input grayscale values ​​127, 191, and 255. Point P2' is determined based on the first input grayscale value 255 and the compensation weight. The slope of the line segment determined by point 0 and point P2' is the same as the compensation weight, meaning that without compensation, the maximum output value of the display panel is the theoretical maximum output grayscale value. Based on the line segment determined by point 0 and point P2', the first output grayscale values ​​determined by the first input grayscale values ​​127, 191, and 255 can be determined, and further, P0, P1, and P2' in the case of no compensation can be determined based on the corresponding first input grayscale values ​​and first output grayscale values.

[0094] In implementing grayscale compensation, it is usually necessary to compress the calibrated output grayscale value of the display panel. The maximum value of the output grayscale value is set to a certain actual maximum value of the output grayscale value that is less than the theoretical maximum value. Grayscale compensation is then performed using the grayscale range between the theoretical and actual maximum values. Therefore, in actual display driving, the actual output grayscale value for any input grayscale value exceeding point A is the actual maximum value of the output grayscale value. That is, the input grayscale value within the range [A, 255] corresponds to the same output grayscale value, making grayscale indistinguishable and resulting in grayscale overlap.

[0095] It can be determined that among P0, P1, and P2', the first output grayscale value of P2' exceeds the actual maximum output grayscale value of the display panel, and the display panel is not capable of displaying this first output grayscale value. Therefore, the first output grayscale value corresponding to the first input grayscale value 255 (the maximum input grayscale value) can be determined as the actual maximum output grayscale value within the display panel's display capability range. That is, when the input grayscale value is 255, the output grayscale value is taken as the actual maximum output grayscale value, and the calibration point corresponding to this input grayscale value is point P2.

[0096] Through the above calculations and comparisons, the three calibration points can be determined as P0, P1, and P2. After determining multiple calibration points, the first interpolation method is used to perform interpolation between the multiple calibration points to obtain multiple interpolation points between two adjacent calibration points. Based on the multiple interpolation points, curve fitting is further performed to obtain a smooth compensation curve. Here, the first interpolation method means uniformly taking calibration points between two calibration points and performing linear interpolation.

[0097] According to the embodiments of this disclosure, since the first output gray value corresponding to the first input gray value that is equal to the maximum value of the grayscale range is limited by the maximum output gray value of the display panel, the problem of grayscale sticking after grayscale compensation for a large input gray value can be avoided, thereby ensuring the display effect of the display panel.

[0098] According to embodiments of this disclosure, the process of interpolating between multiple calibration points using a first interpolation method to obtain multiple interpolation points is as follows: Based on the first input grayscale values ​​of two adjacent calibration points, multiple third input grayscale values ​​are determined. Based on the third input grayscale values ​​and the first output grayscale values ​​of two adjacent calibration points corresponding to the range of the third input grayscale values, a third output grayscale value corresponding to the third input grayscale value is determined. And based on the multiple third grayscale values ​​and the multiple third output grayscale values ​​corresponding to the third input grayscale values, multiple interpolation points are determined.

[0099] Based on two adjacent calibration points, an input gray value interval is determined, which is formed by the first input gray value corresponding to the two calibration points. Multiple third input gray values ​​are taken in the input gray value interval. The interval between the multiple third input gray values ​​can be the same, that is, the gray value interval is divided equally.

[0100] Based on the third input grayscale value and the first output grayscale value corresponding to each of two adjacent calibration points, an interpolation method is used to determine the third output grayscale value corresponding to each of the multiple third input grayscale values. Furthermore, multiple interpolation points are determined based on the multiple sets of corresponding third input grayscale values ​​and second output grayscale values.

[0101] Figure 5 A schematic diagram illustrating the selection of interpolation points according to an embodiment of the present disclosure is shown.

[0102] like Figure 5 As shown, in Figure 4 After determining the P0-P1-P2 polyline, the input grayscale value interval formed by P0 and P1 can be determined as [127, 191], and the input grayscale value interval formed by P1 and P2 is [191, 255]. Multiple third input grayscale values ​​are taken between P0 and P1 and between P1 and P2 respectively. Taking three third input grayscale values ​​in each input grayscale value interval as an example, the length of each grayscale value interval is 64, so the interval between each third input grayscale value can be 16. That is, three third input grayscale values ​​of 143, 159 and 175 are taken in the input grayscale value interval formed by P0 and P1, and three third input grayscale values ​​of 207, 223 and 239 are taken in the input grayscale value interval formed by P1 and P2.

[0103] After determining multiple third grayscale values, taking the third input grayscale value in the input grayscale value interval formed by P0 and P1 as an example, using interpolation, the output grayscale values ​​corresponding to the three input grayscale values ​​can be determined to be located on the line segment P0-P1. Therefore, based on this linear relationship, the third output grayscale values ​​corresponding to each of the multiple third input grayscale values ​​(143, 159, and 175) can be calculated. Similarly, the third output grayscale values ​​corresponding to 207, 223, and 239 can be calculated based on the linear relationship between P1 and P2. After determining the third output grayscale values ​​corresponding to each third input grayscale value, multiple interpolation points can be determined. In this example, each interpolation point is located on the line segment determined by the calibration points at both ends of the input grayscale value interval where its third input grayscale value is located.

[0104] According to embodiments of this disclosure, after determining multiple interpolation points, the process of determining a compensation curve based on these multiple interpolation points is as follows: Based on multiple calibration points and multiple interpolation points, interpolation is performed using a second interpolation method to obtain multiple smoothing points. Based on these smoothing points and multiple calibration points, the compensation curve is determined.

[0105] The second interpolation method involves determining the interpolation position based on a weighted reorganization within the interpolation interval, and then performing linear interpolation within the interval determined by that position. The weighted reorganization is used to represent the degree of influence of the left and right endpoints of the interpolation interval on the interpolation result.

[0106] Based on multiple calibration points, multiple fourth input grayscale values ​​are determined. Based on the differences between these fourth input grayscale values ​​and the third input grayscale values ​​corresponding to multiple interpolation points, weighted reassemblies are determined for each of the fourth input grayscale values. Based on the weighted reassemblies and the third output grayscale values ​​of each interpolation point, fourth output grayscale values ​​corresponding to the multiple fourth input grayscale values ​​are determined. Based on the multiple fourth input grayscale values ​​and the multiple fourth output grayscale values, multiple smoothing points are determined. Based on the multiple smoothing points and the multiple calibration points, a compensation curve is determined.

[0107] Based on the calibration points at both ends of the multiple calibration points, the fitting range of the compensation curve is determined. Within the fitting range, multiple fourth input gray values ​​are determined. The number of fourth input gray values ​​can be the same as the number of interpolation points between two adjacent calibration points, so that the fourth output gray value corresponding to the fourth input gray value can be calculated based on the interpolation points.

[0108] Figure 6 A schematic diagram illustrating the selection of smoothing points according to an embodiment of the present disclosure is shown.

[0109] like Figure 6 As shown, in Figure 5After determining multiple interpolation points, since the number of fourth input grayscale values ​​can be the same as the number of interpolation points between two adjacent calibration points, the number of fourth input grayscale values ​​is also 3.

[0110] Since taking more points at the vertices of a line graph is more conducive to curve fitting, the fourth input gray value can be set near the third input gray value corresponding to the second calibration point, i.e., the vertex portion.

[0111] In one example, with the first input gray values ​​being 127, 191, and 255, and three interpolation points between two adjacent calibration points, the third input gray values ​​of the interpolation points are 143, 159, 175, 207, 223, and 239, respectively. The interpolation points divide the fitting range into eight sub-intervals with an interval length of 16. In order to make the fourth input gray value as close as possible to the third input gray value, the fourth input gray value can be 175, 191, and 207, respectively.

[0112] In this case, the first fourth output grayscale value can be determined based on the third output grayscale value of the first interpolation point between the first and second calibration points and the third output grayscale value of the first interpolation point between the second and third calibration points. The second fourth output grayscale value can be determined based on the third output grayscale value of the second interpolation point between the first and second calibration points and the third output grayscale value of the second interpolation point between the second and third calibration points. The third fourth output grayscale value can be determined based on the third output grayscale value of the third interpolation point between the first and second calibration points and the third output grayscale value of the third interpolation point between the second and third calibration points.

[0113] Taking the first fourth input grayscale value of 175 as an example, since this fourth input grayscale value is determined based on the first interpolation point X between the first and second calibration points and the first interpolation point Y between the second and third calibration points, the weighted reassembly corresponding to the fourth input grayscale value 175 can be determined using interpolation based on the relationship between the input grayscale values ​​and output grayscale values ​​of X and Y, and the fourth input grayscale value. Furthermore, the fourth output grayscale value is determined based on the weighted reassembly and the output grayscale values ​​of X and Y. In this example, the weighted reassembly is [1 / 2, 1 / 2], and the fourth output grayscale value corresponding to the fourth input grayscale value 175 is (1 / 2 * output grayscale value of X) + (1 / 2 * output grayscale value of Y).

[0114] Similarly, in this example, the weighted sets corresponding to the fourth input grayscale values ​​191 and 207 are both [1 / 2, 1 / 2].

[0115] Figure 7 A schematic diagram illustrating the selection of smoothing points according to another embodiment of the present disclosure is shown.

[0116] like Figure 7 As shown, in Figure 5 After determining multiple interpolation points, the fitting range can be divided into four equal parts using three fourth input gray values. Therefore, the fourth input gray values ​​are 160, 192, and 224, respectively. The first fourth output gray value can also be determined based on the third output gray value of the first interpolation point between the first and second calibration points and the third output gray value of the first interpolation point between the second and third calibration points.

[0117] Taking the first fourth input grayscale value 609 as an example, since this fourth input grayscale value is determined based on the first interpolation point X between the first and second calibration points and the first interpolation point Y between the second and third calibration points, the weighted reassembly corresponding to the fourth input grayscale value 160 can be determined using interpolation based on the relationship between the input grayscale values, output grayscale values, and fourth input grayscale values ​​of X and Y respectively. Furthermore, the fourth output grayscale value is determined based on the weighted reassembly and the output grayscale values ​​of X and Y respectively. In this example, the weighted reassembly is [3 / 4, 1 / 4], meaning the fourth output grayscale value corresponding to the fourth input grayscale value 175 is (3 / 4 * output grayscale value of X) + (1 / 4 * output grayscale value of Y).

[0118] Similarly, in this example, the weighted sets corresponding to the fourth input grayscale values ​​192 and 224 are [1 / 2, 1 / 2] and [1 / 4, 3 / 4], respectively.

[0119] After determining the fourth output gray value corresponding to each of the multiple fourth input gray values, multiple smoothing points can be determined. Based on the multiple smoothing points and the two calibration points located at the two ends of the multiple calibration points, the broken line can be fitted to obtain the fitted smooth compensation curve.

[0120] Figure 8 A graph illustrating the compensation curve according to an embodiment of the present disclosure is shown schematically.

[0121] like Figure 8 As shown, line 801 is the broken line determined based on P0-P1-P2, and curve 802 is the broken line in... Figure 7 After determining multiple smoothing points M0, M1, and M2, the compensation curve obtained by fitting P0-M0-M1-M2-P2 is more gradual than the broken line 801 when the input gray value is 192. It has no abrupt changes and is closer to the real situation.

[0122] According to embodiments of this disclosure, interpolation is performed on two adjacent calibration points to determine multiple third-input grayscale values ​​corresponding to multiple third-output grayscale values, thereby determining multiple interpolation points. Multiple fourth-input grayscale values ​​are then determined between these calibration points. Based on these fourth-input grayscale values, another interpolation is performed between the multiple interpolation points to obtain multiple smoothing points. The first interpolation process provides multiple interpolation points, enabling the determination of finer-grained boundary points during the smoothing point determination process, thereby improving the accuracy of the smoothing points. Based on these multiple smoothing points and multiple calibration points, the mapping relationship of the polyline can be smoothed to obtain a smooth compensation curve, thereby improving the compensation curve's ability to reflect mapping trends and optimizing the compensation effect.

[0123] According to embodiments of this disclosure, after determining the compensation curve, the process of driving the target display panel to display the image to be displayed based on the compensation curve is as follows: A second output grayscale value for each pixel in the image to be displayed is determined based on the expected grayscale value and the compensation curve. The display panel is then driven to display the pixel based on the second output grayscale value.

[0124] The compensation curve can be used to determine the actual output grayscale value of each pixel based on the expected grayscale value of each pixel in the image to be displayed, so as to drive the display panel based on the actual output grayscale value.

[0125] Specifically, the second input gray value of a pixel can be determined based on the expected gray value of each pixel in the image to be displayed for multiple color channels, and the value corresponding to the second input gray value can be determined as the second output gray value of the pixel based on the compensation curve.

[0126] The second input grayscale value can be the maximum value among the compensation values ​​for each pixel across multiple color channels. In another embodiment, the compensation value for each pixel across each color channel can also be determined as the second input grayscale value, and subsequent calculations can be performed based on each second input grayscale value.

[0127] For each pixel's second input grayscale value, a mapping process is performed based on a compensation curve to determine the pixel's second output grayscale value. The display panel is then driven to display the pixel based on this second output grayscale value.

[0128] like Figure 8 As shown, the correspondence between pixels is determined based on multiple pixels of the display panel and multiple pixels of the image to be displayed. For a pixel with a second input grayscale value of In_Gray, its second output grayscale value of Out_Gray is determined using curve 802. Based on the correspondence between pixels, the target pixel on the display panel corresponding to that pixel can be determined. Based on Out_Gray, the target pixel on the display panel is driven to display the pixel with the second input grayscale value of In_Gray.

[0129] By using the above method to determine the second output grayscale value of each pixel and driving the display panel to display each pixel respectively, the display panel can display the image to be displayed after grayscale compensation.

[0130] According to embodiments of this disclosure, based on a determined compensation curve, a second output grayscale value after pixel compensation for the image to be displayed is determined, and the display panel is driven to display that pixel, thereby ensuring that the display effect of the display panel on that pixel is closer to the image to be displayed. By driving the pixels on the display panel using the above process for each pixel of the image to be displayed, the display effect of the display panel can be optimized.

[0131] Based on the above display driving method, this disclosure also provides a display processing chip, which includes a digital logic circuit, wherein the digital logic circuit is configured to implement the above display driving method at runtime.

[0132] Based on the above-described display driving method, this disclosure also provides a display device. The display device includes a display panel and a display driving device, the display panel and the display driving device being communicatively connected. The display driving device includes a processor and a memory. The memory stores one or more computer programs, and the processor executes the one or more computer programs to implement the above-described display driving method.

[0133] Based on the execution result of the above-described display driving method, the display driving device drives the display panel to display multiple pixels in order to display the image to be displayed.

[0134] Figure 9 A block diagram schematically illustrates an electronic device suitable for implementing a display driving method according to an embodiment of the present disclosure.

[0135] like Figure 9 As shown, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage portion 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0136] RAM 903 stores various programs and data required for the operation of electronic device 900. Processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Processor 901 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 902 and / or RAM 903. It should be noted that the programs may also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.

[0137] According to embodiments of this disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to a bus 904. The electronic device 900 may also include one or more of the following components connected to the input / output (I / O) interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.

[0138] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0139] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 902 and / or RAM 903 and / or one or more memories other than ROM 902 and RAM 903 described above.

[0140] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the methods provided in the embodiments of this disclosure.

[0141] When the computer program is executed by the processor 901, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0142] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 909, and / or installed from a removable medium 911. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0143] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0144] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0145] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0146] Those skilled in the art will understand that the features described in the various embodiments of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments of this disclosure can be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0147] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A display driving method, comprising: Based on the grayscale deviation of the image to be displayed, a compensation weight is determined for grayscale compensation of the image to be displayed, wherein the grayscale deviation is determined according to the hardware parameters of the display panel and the expected grayscale values ​​of each of the multiple pixels included in the image to be displayed. Based on the aforementioned compensation weights, interpolation is performed on multiple calibration points to determine the compensation curve; and Based on the compensation curve, drive the display panel to display the image to be displayed; The compensation weight is determined in the following way: The number of pixels associated with a compensation level is compared with a threshold number corresponding to that compensation level to determine a target compensation level from multiple compensation levels. The number of pixels associated with the compensation level is determined based on the compensation values ​​of the multiple pixels in the image to be displayed, and the compensation values ​​are determined based on the grayscale deviations of the multiple pixels. The compensation weight is determined based on a preset weight corresponding to the target compensation level.

2. The method according to claim 1, wherein, The determination of compensation weights for grayscale compensation of the image to be displayed based on the grayscale deviation of the image to be displayed includes: Based on the grayscale deviation of each of the plurality of pixels, a compensation value for the pixels included in the image to be displayed is determined; and Based on the compensation values ​​of each of the multiple pixels in the image to be displayed, a compensation weight is determined for grayscale compensation of the image to be displayed.

3. The method according to claim 2, wherein, The step of determining the compensation weights for grayscale compensation of the image to be displayed based on the compensation values ​​of each of the multiple pixels included in the image to be displayed includes: Based on the compensation values ​​of each of the multiple pixels in the image to be displayed, determine the number of pixels associated with each of the multiple compensation levels; and The compensation weight is determined based on the number of pixels associated with each of the multiple compensation levels.

4. The method according to claim 3, further comprising: For each compensation level, if the compensation value of the pixel is greater than the compensation threshold corresponding to the compensation level, the pixel is determined to be related to the compensation level.

5. The method according to claim 1, wherein, The step of interpolating multiple calibration points based on the compensation weight to determine the compensation curve includes: Multiple calibration points are determined within the grayscale range of the display panel, wherein the calibration points are determined based on a first input grayscale value within the grayscale range and a first output grayscale value corresponding to the first input grayscale value, and the first output grayscale value is determined based on the compensation weight and the first input grayscale value; Interpolation is performed between the multiple calibration points using a first interpolation method to obtain multiple interpolation points; and The compensation curve is determined based on the multiple interpolation points.

6. The method according to claim 5, wherein, Determining the compensation curve based on the plurality of interpolation points includes: Based on the multiple calibration points and the multiple interpolation points, interpolation is performed using a second interpolation method to obtain multiple smooth points; and The compensation curve is determined based on the plurality of smoothing points and the plurality of calibration points.

7. The method according to any one of claims 1 to 6, wherein, The step of driving the display panel to display the image to be displayed based on the compensation curve includes: Based on the desired grayscale value of each pixel in the image to be displayed and the compensation curve, determine the second output grayscale value of the pixel; and Based on the second output grayscale value, the display panel is driven to display the pixel.

8. A display processing chip, comprising: A processing circuit, wherein the processing circuit is configured to implement the steps of the method according to any one of claims 1 to 7 when running.

9. A display driving device, comprising: One or more processors; Memory, used to store one or more computer programs. The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.

10. A display device, comprising: Display panel; as well as The display driving device according to claim 9.

11. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Image sticking compensating device and display device having the same

    US20170213493A1