Display compensation method, device, electronic device and storage medium
By obtaining the accumulated electrical stress information and grayscale value compensation of pixel points in the under-screen camera area, the problem of high aging rate in the under-screen camera area is solved, and the display effect consistency of the display screen is achieved.
Patent Information
- Application Number
- CN202211608420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-12-14
AI Technical Summary
The pixel structure design of the under-screen camera area causes its aging rate to be higher than that of the normal area, making it difficult to achieve consistent display effects between the CUP area and non-CUP area of the display screen.
By obtaining the accumulated electrical stress information of each pixel point in the CUP area of the display screen, the gain coefficient of each pixel point is determined, and grayscale value compensation is performed.
The display effect consistency between CUP areas and non-CUP areas is improved, and the display effect difference caused by different aging degrees is reduced.
Smart Images

Figure CN116229861B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and is related to but not limited to a display compensation method, device, electronic device and computer storage medium. Background Art
[0002] The Camera Under Panel (CUP) solution hides the front-facing camera under the screen. To ensure the light transmittance of the CUP area, the pixel structure in the CUP area has been specially designed, and its pixel density is much lower than that of the normal area of the screen. When displaying the same image, to ensure display consistency, the pixel brightness in the CUP area is higher than that in the normal area. This causes the display device in the CUP area to age faster than the normal area. Due to the continuous aging of the display device in the CUP area, it is difficult to achieve the same display effect between the CUP area and the non-CUP area of the display screen. Summary of the Invention
[0003] The embodiments of the present application at least provide a display compensation method, device, electronic device, and computer storage medium.
[0004] An embodiment of the present application provides a display compensation method, which may include:
[0005] Obtaining the accumulated electrical stress information of each pixel in the CUP area of the display screen;
[0006] determining a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point;
[0007] The grayscale value of each pixel is compensated according to the gain coefficient of each pixel.
[0008] In some embodiments, obtaining the cumulative electric stress information of each pixel in the CUP area of the display screen includes: obtaining the grayscale value of each pixel in the CUP area and the current display brightness level (Display Brightness Value, DBV) value of the display screen; determining the electric stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen; obtaining historical electric stress information of each pixel in the CUP area, and accumulating the historical electric stress information of each pixel in the CUP area and the electric stress information of each pixel in the CUP area in the current frame to obtain the cumulative electric stress information of each pixel in the CUP area.
[0009] It can be seen that since the accumulated electric stress information of the pixels in the CUP area is related to factors such as the grayscale value of the pixels and the DBV value of the display screen, the electric stress information of each pixel in the CUP area in the current frame can be determined more accurately based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen. Furthermore, by accumulating the historical electric stress information and the electric stress information of each pixel in the CUP area in the current frame, the accumulated electric stress information of each pixel in the CUP area can be determined more accurately.
[0010] In some embodiments, determining the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen includes: obtaining the current temperature value of the display screen; determining the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area, the current DBV value of the display screen and the current temperature value of the display screen.
[0011] It can be seen that since the accumulated electrical stress information of the pixels in the CUP area is not only related to the grayscale value of the pixels and the DBV value of the display screen, but also related to the current temperature value of the display screen, the embodiment of the present application can more accurately determine the electrical stress information of each pixel in the CUP area in the current frame based on a comprehensive consideration of the three factors: the grayscale value of the pixels, the DBV value of the display screen, and the current temperature value of the display screen.
[0012] In some embodiments, determining the electrical stress information of each pixel in the CUP area in a current frame based on the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen includes: determining a first DBV value and a second DBV value based on the current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen; obtaining a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between grayscale values corresponding to the first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between grayscale values corresponding to the second DBV value and electrical stress information; determining first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; determining second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship; performing a weighted summation of the first electrical stress information and the second electrical stress information to obtain initial electrical stress information of each pixel in the current frame; and determining the electrical stress information of each pixel in the CUP area in the current frame based on the initial electrical stress information and the current temperature value of the display screen.
[0013] It can be seen that the embodiment of the present application can determine the first DBV value and the second DBV value based on the current DBV value of the display screen, so that the current DBV value of the display screen is between the first DBV value and the second DBV value; further, based on the first mapping relationship related to the first DBV value and the second mapping relationship related to the second DBV value, the first electric stress information and the second electric stress information are obtained. By performing weighted summation on the first electric stress information and the second electric stress information, the initial electric stress information of the pixel point in the current frame can be determined more accurately, which, combined with the current temperature value of the display screen, is conducive to more accurately determining the electric stress information of each pixel point in the CUP area in the current frame.
[0014] In some embodiments, determining the electric stress information of each pixel in the CUP area in the current frame based on the initial electric stress information and the current temperature information of the display screen includes: determining a first temperature value and a second temperature value according to the current temperature value of the display screen, the first temperature value being greater than the current temperature value of the display screen, and the second temperature value being less than the current temperature value of the display screen; obtaining a predetermined third mapping relationship and a fourth mapping relationship, the third mapping relationship representing a mapping relationship between the initial electric stress information and the electric stress information corresponding to the first temperature value, and the fourth mapping relationship representing a mapping relationship between the initial electric stress information and the electric stress information corresponding to the second temperature value; determining third electric stress information corresponding to the initial electric stress information of each pixel in the current frame based on the third mapping relationship; determining fourth electric stress information corresponding to the initial electric stress information of each pixel in the current frame based on the fourth mapping relationship; and performing weighted summation on the third electric stress information and the fourth electric stress information to obtain the electric stress information of each pixel in the current frame.
[0015] It can be seen that the embodiment of the present application can determine the first temperature value and the second temperature value based on the current temperature value of the display screen, so that the current temperature value of the display screen is between the first temperature value and the second temperature value; further, based on the third electric stress information and the fourth electric stress information obtained according to the third mapping relationship related to the first temperature value and the fourth mapping relationship related to the second temperature value, the electric stress information of the pixel point in the current frame can be determined more accurately by performing weighted summation on the third electric stress information and the fourth electric stress information.
[0016] In some embodiments, the accumulating historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain the accumulated electrical stress information of each pixel in the CUP area includes: determining the display frequency of the display screen, and the number of interval frames between two adjacent accumulations of electrical stress information according to the display frequency of the display screen; in response to the current frame being an image frame that needs to accumulate electrical stress information determined according to the interval frame number, accumulating historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain the accumulated electrical stress information of each pixel in the CUP area.
[0017] It can be seen that the embodiment of the present application can more accurately determine the accumulated time point of the historical electrical stress information and the electrical stress information of each pixel in the CUP area in the current frame according to the display frequency of the display screen. That is, the scheme for accumulating electrical stress information in the embodiment of the present application can adapt to various display frequencies, thereby expanding the application scenarios to a certain extent.
[0018] In some embodiments, acquiring the accumulated electrical stress information of each pixel in the CUP area of the display screen includes: receiving the accumulated electrical stress information of each pixel in the CUP area through a human-computer interaction interface.
[0019] It can be seen that since the user can determine the cumulative electrical stress information based on the actual display effect of the display screen, that is, the cumulative electrical stress information received through the human-computer interaction interface is consistent with the actual display effect of the display screen. Therefore, when the gain coefficient of the pixel points in the CUP area is determined according to the cumulative electrical stress information and the grayscale value compensation of the pixel points in the CUP area is performed according to the gain coefficient, it is beneficial to improve the consistency of the display effect between the CUP area and the non-CUP area.
[0020] In some embodiments, the gain coefficient of each pixel point is determined based on the accumulated electrical stress information of each pixel point, including: when the current grayscale value of the first pixel point is less than a preset threshold, the gain coefficient is determined to be a fixed gain coefficient; the first pixel point represents any one of the pixel points; when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, the grayscale value greater than or equal to the preset threshold is divided into multiple grayscale levels arranged from small to large, and the gain coefficient is determined to be a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
[0021] It can be seen that when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, by determining the first gain coefficient that decreases as the grayscale level increases, the smoothness of the grayscale value change can be improved, and since the first gain coefficient is smaller than the fixed gain coefficient, the occurrence of grayscale value overflow can be reduced.
[0022] In some embodiments, the gain coefficient of each pixel point is determined based on the accumulated electrical stress information of each pixel point, including: when the current grayscale value of the first pixel point is less than a preset threshold, the gain coefficient is determined to be a fixed gain coefficient; the first pixel point represents any one of the pixel points; when the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the gain coefficient is determined to be a first gain coefficient, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
[0023] It can be seen that when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, by determining a first gain coefficient that decreases as the grayscale value increases, the smoothness of the grayscale value change can be improved, and since the first gain coefficient is smaller than the fixed gain coefficient, the occurrence of grayscale value overflow can be reduced.
[0024] The embodiment of the present application further provides a display compensation device, the device comprising a display driver chip, the display driver chip comprising an electrical stress accumulation processing circuit and a grayscale compensation circuit, wherein:
[0025] An electrical stress accumulation processing circuit is used to obtain the accumulated electrical stress information of each pixel in the CUP area of the display screen;
[0026] The grayscale compensation circuit is used to determine the gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point; and compensate the grayscale value of each pixel point according to the gain coefficient of each pixel point.
[0027] In some embodiments, the electrical stress accumulation processing circuit includes an information acquisition subcircuit and an information processing subcircuit; wherein the information acquisition subcircuit is used to obtain the grayscale value of each pixel in the CUP area and the current DBV value of the display screen; the information processing subcircuit is used to determine the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen; obtain the historical electrical stress information of each pixel in the CUP area, accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame, and obtain the accumulated electrical stress information of each pixel in the CUP area.
[0028] In some embodiments, the information acquisition subcircuit is also used to obtain the current temperature value of the display screen; the information processing subcircuit is used to determine the electrical stress information of each pixel point in the CUP area in the current frame based on the grayscale value of each pixel point in the CUP area, the current DBV value of the display screen and the current temperature value of the display screen.
[0029] In some embodiments, the information processing subcircuit includes a first mapping subcircuit and a second mapping subcircuit; wherein the first mapping subcircuit is configured to determine a first DBV value and a second DBV value based on a current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen; the first mapping subcircuit is further configured to obtain a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between grayscale values corresponding to the first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between grayscale values corresponding to the second DBV value and electrical stress information; the first mapping subcircuit is further configured to determine first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; and to determine second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship; the first mapping subcircuit is further configured to perform a weighted summation of the first electrical stress information and the second electrical stress information to obtain initial electrical stress information for each pixel in the current frame; and the second mapping subcircuit is configured to determine electrical stress information for each pixel in the CUP area in the current frame based on the initial electrical stress information and the current temperature value of the display screen.
[0030] In some embodiments, the second mapping subcircuit is used to determine a first temperature value and a second temperature value based on the current temperature value of the display screen, the first temperature value is greater than the current temperature value of the display screen, and the second temperature value is less than the current temperature value of the display screen; the second mapping subcircuit is used to obtain a predetermined third mapping relationship and a fourth mapping relationship, the third mapping relationship represents a mapping relationship between the initial electrical stress information corresponding to the first temperature value and the electrical stress information, and the fourth mapping relationship represents a mapping relationship between the initial electrical stress information corresponding to the second temperature value and the electrical stress information; the second mapping subcircuit is used to determine, based on the third mapping relationship, the third electrical stress information corresponding to the initial electrical stress information of each pixel in the current frame; and based on the fourth mapping relationship, determine the fourth electrical stress information corresponding to the initial electrical stress information of each pixel in the current frame; the second mapping subcircuit is used to perform a weighted summation on the third electrical stress information and the fourth electrical stress information to obtain the electrical stress information of each pixel in the current frame.
[0031] In some embodiments, the information processing sub-circuit also includes an accumulation processing sub-circuit; the accumulation processing sub-circuit is used to determine the display frequency of the display screen, and the interval frame number between two adjacent accumulations of electrical stress information according to the display frequency of the display screen; in response to the current frame being an image frame that requires accumulation of electrical stress information determined according to the interval frame number, the historical electrical stress information of each pixel point in the CUP area and the electrical stress information of each pixel point in the CUP area in the current frame are accumulated to obtain the accumulated electrical stress information of each pixel point in the CUP area.
[0032] In some embodiments, the electrical stress accumulation processing circuit is configured to receive accumulated electrical stress information of each pixel in the CUP area through a human-computer interaction interface.
[0033] In some embodiments, the grayscale compensation circuit is used to determine that the gain coefficient is a fixed gain coefficient when the current grayscale value of the first pixel point is less than a preset threshold; the first pixel point represents any one of the pixel points; the grayscale compensation circuit is used to divide the grayscale value greater than or equal to the preset threshold into multiple grayscale levels arranged from small to large when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, and determine the gain coefficient to be a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
[0034] In some embodiments, the grayscale compensation circuit is used to determine that the gain coefficient is a fixed gain coefficient when the current grayscale value of the first pixel point is less than a preset threshold; the first pixel point represents any one of the pixel points; the grayscale compensation circuit is used to determine that the gain coefficient is a first gain coefficient when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
[0035] An embodiment of the present application further provides an electronic device, comprising a processor and a memory for storing a computer program that can be run on the processor; wherein the processor is configured to run the computer program to execute any one of the above-mentioned display compensation methods.
[0036] An embodiment of the present application further provides a computer storage medium storing a computer program, which implements any of the above-mentioned display compensation methods when executed by a processor.
[0037] It can be seen that the embodiment of the present application can determine the gain coefficient of each pixel in the CUP area based on the accumulated electrical stress information of each pixel in the CUP area. Since the accumulated electrical stress information of the pixel can be used to reflect the aging rate of the display material at the corresponding position, the embodiment of the present application can more accurately determine the gain coefficient of the pixel based on the aging rate of the display material at the corresponding position, thereby improving the consistency of the display effects of the CUP area and the non-CUP area of the display screen by compensating the grayscale values of the corresponding pixel points in the CUP area.
[0038] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings herein are incorporated into and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to illustrate the technical solutions of the present application.
[0040] Figure 1 A flowchart of a display compensation method according to an embodiment of the present application;
[0041] Figure 2 A flowchart for obtaining the accumulated electrical stress information of each pixel in the CUP area of a display screen in an embodiment of the present application;
[0042] Figure 3 A schematic diagram showing the relationship between grayscale value and electrical stress information in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of determining electrical stress information in an embodiment of the present application;
[0044] Figure 5 Schematic diagram of a framework for compensating an input image according to a gain coefficient in an embodiment of the present application;
[0045] Figure 6 Schematic diagram of the relationship between input grayscale values and output grayscale values in an embodiment of the present application;
[0046] Figure 7 Schematic diagram of a framework for implementing a display compensation method in an embodiment of the present application;
[0047] Figure 8 This is a schematic diagram of a framework for determining accumulated electrical stress information in an embodiment of the present application;
[0048] Figure 9 A schematic diagram showing the circuit structure of a compensation device in an embodiment of the present application;
[0049] Figure 10This is a schematic diagram of the structure of the information processing sub-circuit in an embodiment of the present application;
[0050] Figure 11 This is a schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions of this application are further elaborated in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0052] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0053] The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing this application only and are not intended to limit this application.
[0055] In order to better understand the technical solutions of the embodiments of the present application, the display compensation solution of the display is described below using an organic light emitting diode (OLED) as an example.
[0056] OLED devices are increasingly being used in the display field due to their excellent luminescence properties. Due to the characteristics of organic materials, the luminous efficiency (current-luminance conversion rate) of OLED display devices will gradually decrease with the increase of usage time. For OLED displays, since the pixel brightness in the CUP area is higher than that in the normal area, the aging rate of the display device in the CUP area is higher than that in the normal area. Due to the continuous aging of the display device in the CUP area, it is difficult to achieve the same display effect between the CUP area and the non-CUP area of the display screen.
[0057] An embodiment of the present application provides a display compensation method, which can compensate for the grayscale value of the CUP area of the display screen, thereby improving the consistency of the display effects of the CUP area and the non-CUP area of the display screen, and reducing the difference in display effects caused by different degrees of aging between the CUP area and the non-CUP area.
[0058] The display compensation method of the embodiment of the present application can be applied to an electronic device with a display device, which can be a terminal or a server, wherein the terminal can be a thin client, a thick client, a handheld or laptop device, a microprocessor-based system, a set-top box, a programmable consumer electronic product, a network personal computer, a small computer system, etc., and the server can be a server computer system, a small computer system, a large computer system, and a distributed cloud computing technology environment including any of the above systems, etc.
[0059] Electronic devices such as terminals and servers may include program modules for executing instructions. Generally, program modules may include routines, programs, object programs, components, logic, data structures, and the like, which perform specific tasks. Computer systems / servers may be implemented in distributed cloud computing environments, where tasks are performed by remote processing devices linked via a communications network. In distributed cloud computing environments, program modules may reside on local or remote computing system storage media, including storage devices.
[0060] The display device may be an OLED display device, a liquid crystal display (LCD) device, a quantum dot light emitting diode (QLED) display device, or another type of display device, and the embodiments of the present disclosure are not limited thereto. For example, the display device includes a plurality of pixels, and the plurality of pixels are arranged in an array in a plurality of rows and columns.
[0061] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0062] Figure 1 This is a flow chart of a display compensation method according to an embodiment of the present application. Figure 1 As shown, the process may include:
[0063] Step 101: Obtain accumulated electrical stress information of each pixel in a CUP area of a display screen.
[0064] In the embodiments of the present application, electrical stress significantly impacts the reliability of display materials. The lifespan and failure rate of display materials are closely related to the electrical stress they experience. Reducing the electrical stress experienced by these materials can improve their reliability during use. By determining cumulative electrical stress information, electrical stress damage to the display material can be determined. To a certain extent, the cumulative electrical stress information for each pixel in the CUP region can be used to reflect the aging rate of the display material at the corresponding location.
[0065] The accumulated electrical stress information of pixels in the CUP region is related to factors such as the grayscale value of the pixel, the display's DBV value, and the temperature of the display. In some embodiments, after obtaining the accumulated electrical stress information of each pixel in the CUP region of the display, the accumulated electrical stress information can be stored in a memory. For example, the accumulated electrical stress information can be stored in a static random-access memory (SRAM) of a display driver integrated circuit (DDIC). The accumulated electrical stress information stored in the SRAM can be sent to an external Flash memory at set intervals. This can improve the storage continuity and non-volatility of the accumulated electrical stress information to a certain extent.
[0066] Step 102: determining a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point.
[0067] In some embodiments, a mapping relationship between accumulated electrical stress information and gain coefficients can be pre-established, so that when the accumulated electrical stress information is read from the SRAM, the gain coefficient of each pixel can be determined in combination with the mapping relationship between the accumulated electrical stress information and the gain coefficients.
[0068] Step 103: Compensate the grayscale value of each pixel according to the gain coefficient of each pixel.
[0069] In some embodiments, the grayscale value compensation for each pixel point can be implemented by determining the initial grayscale value and gain coefficient of each pixel point, and performing attenuation processing on each pixel point based on the product of the initial grayscale value and the gain coefficient of each pixel point, that is, taking the product of the initial grayscale value and the gain coefficient of each pixel point as the corrected grayscale value of the corresponding pixel point, and displaying the corresponding pixel point according to the corrected grayscale value of the pixel point.
[0070] It can be seen that the embodiment of the present application can determine the gain coefficient of each pixel in the CUP area based on the accumulated electrical stress information of each pixel in the CUP area. Since the accumulated electrical stress information of the pixel can be used to reflect the aging rate of the display material at the corresponding position, the embodiment of the present application can more accurately determine the gain coefficient of the pixel based on the aging rate of the display material at the corresponding position, thereby improving the consistency of the display effects of the CUP area and the non-CUP area of the display screen by compensating the grayscale values of the corresponding pixel points in the CUP area.
[0071] In some embodiments, reference Figure 2 A process for obtaining the accumulated electrical stress information of each pixel in the CUP area of the display screen may include:
[0072] Step 201: Obtain the grayscale value of each pixel in the CUP area and the current DBV value of the display screen.
[0073] In some embodiments, the grayscale value of each pixel in the CUP area and the current DBV value of the display screen can be read from the application processor (AP).
[0074] Step 202: Determine the electrical stress information of each pixel in the CUP area in the current frame according to the grayscale value of each pixel in the CUP area and the current DBV value of the display screen.
[0075] Step 203: Obtain historical electrical stress information of each pixel in the CUP area, accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame, and obtain the accumulated electrical stress information of each pixel in the CUP area.
[0076] Here, the historical electrical stress information of each pixel in the CUP area is the electrical stress information determined before the current frame image is displayed. The electrical stress information of each pixel in the CUP area in the current frame will be continuously updated in the time domain, so that the historical electrical stress information of each pixel in the CUP area can be obtained.
[0077] It can be seen that since the accumulated electric stress information of the pixels in the CUP area is related to factors such as the grayscale value of the pixels and the DBV value of the display screen, the electric stress information of each pixel in the CUP area in the current frame can be determined more accurately based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen. Furthermore, by accumulating the historical electric stress information and the electric stress information of each pixel in the CUP area in the current frame, the accumulated electric stress information of each pixel in the CUP area can be determined more accurately.
[0078] In some embodiments, the process of determining the electrical stress information of each pixel in the CUP area in the current frame according to the grayscale value of each pixel in the CUP area and the current DBV value of the display screen may include:
[0079] Obtain the current temperature value of the display screen; and determine the electrical stress information of each pixel in the CUP area in the current frame according to the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen.
[0080] Here, the current temperature value of the display screen can be read from the AP. In actual applications, a temperature sensor for collecting the current temperature value of the display screen forms a communication connection with the AP, and the temperature sensor can send the collected current temperature value to the AP.
[0081] It can be seen that since the accumulated electrical stress information of the pixels in the CUP area is not only related to the grayscale value of the pixels and the DBV value of the display screen, but also related to the current temperature value of the display screen, the embodiment of the present application can more accurately determine the electrical stress information of each pixel in the CUP area in the current frame based on a comprehensive consideration of the three factors: the grayscale value of the pixels, the DBV value of the display screen, and the current temperature value of the display screen.
[0082] In some embodiments, a method for determining the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen may include:
[0083] Step A1: determining a first DBV value and a second DBV value according to a current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen.
[0084] In practical applications, the mapping relationship between the grayscale value corresponding to each DBV value and the electrical stress information can be determined for multiple DBV values. Here, the first DBV value and the second DBV value are two DBV values among the multiple DBV values. The first DBV value can be recorded as DBV high , the second DBV value can be recorded as DBV low .
[0085] In some embodiments, a first DBV value and a second DBV value sandwiched between the current DBV value of the display screen may be determined from the multiple DBV values according to the current DBV value of the display screen.
[0086] Step A2: obtaining a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between a grayscale value corresponding to a first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between a grayscale value corresponding to a second DBV value and electrical stress information.
[0087] In the embodiment of the present application, the first mapping relationship and the second mapping relationship can be represented by different mapping curves; Figure 3 In the figure, the horizontal axis represents the grayscale value, the vertical axis represents the electrical stress, the electrical stress on the vertical axis can be represented by stress_gray, and Gray_in represents the grayscale value of each pixel; DBV in Indicates the current DBV value of the display screen; curve 1 represents the mapping curve corresponding to the first mapping relationship, and curve 2 represents the mapping curve corresponding to the second mapping relationship.
[0088] Step A3: determining first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; and determining second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship.
[0089] For example, referring to Figure 3 When the grayscale value of the pixel is Gray_in, the first electrical stress information corresponding to Gray_in can be determined according to curve 1; similarly, the second electrical stress information corresponding to Gray_in can also be determined according to curve 2; here, the first electrical stress information corresponding to Gray_in can be recorded as LUT_high_DBV(Gray_in), and the second electrical stress information corresponding to Gray_in can be recorded as LUT_low_DBV(Gray_in).
[0090] Step A4: performing weighted summation on the first electric stress information and the second electric stress information to obtain initial electric stress information of each pixel in the current frame.
[0091] For example, the initial electrical stress information of each pixel in the current frame can be calculated according to formula (1) and formula (2).
[0092]
[0093]
[0094] Among them, Stress gray Indicates the initial electrical stress information of the pixel in the current frame.
[0095] Step A5: Based on the initial electrical stress information and the current temperature value of the display screen, determine the electrical stress information of each pixel in the CUP area in the current frame.
[0096] It can be seen that the embodiment of the present application can determine the first DBV value and the second DBV value based on the current DBV value of the display screen, so that the current DBV value of the display screen is between the first DBV value and the second DBV value; further, based on the first mapping relationship related to the first DBV value and the second mapping relationship related to the second DBV value, the first electric stress information and the second electric stress information are obtained. By performing weighted summation on the first electric stress information and the second electric stress information, the initial electric stress information of the pixel point in the current frame can be determined more accurately, which, combined with the current temperature value of the display screen, is conducive to more accurately determining the electric stress information of each pixel point in the CUP area in the current frame.
[0097] In some embodiments, determining the electrical stress information of each pixel in the CUP area in the current frame based on the initial electrical stress information and the current temperature information of the display screen may include:
[0098] Step B1: determining a first temperature value and a second temperature value according to the current temperature value of the display screen, wherein the first temperature value is greater than the current temperature value of the display screen, and the second temperature value is less than the current temperature value of the display screen.
[0099] In practical applications, the mapping relationship between the initial electrical stress information and the electrical stress information corresponding to each temperature value can be determined for each of the multiple temperature values. Here, the first temperature value and the second temperature value are two temperature values among the multiple temperature values. The first temperature value can be recorded as Temp. high , the second temperature value can be recorded as Temp low .
[0100] In some embodiments, a first temperature value and a second temperature value sandwiched between the current temperature value of the display screen may be determined from the multiple temperature values according to the current temperature value of the display screen.
[0101] Step B2: Obtain a predetermined third mapping relationship and a fourth mapping relationship, wherein the third mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the first temperature value and electrical stress information, and the fourth mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the second temperature value and electrical stress information.
[0102] In the embodiment of the present application, the third mapping relationship and the fourth mapping relationship can be represented by different mapping curves; Figure 4 In the figure, the horizontal axis represents the initial electrical stress information, and the vertical axis represents the electrical stress information. lu Indicates the initial electrical stress information of each pixel in the current frame; Temp in represents the current temperature value of the display screen; curve 3 represents the mapping curve corresponding to the third mapping relationship, and curve 4 represents the mapping curve corresponding to the fourth mapping relationship.
[0103] Step B3: Based on the third mapping relationship, determine the third electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; based on the fourth mapping relationship, determine the fourth electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame.
[0104] For example, referring to Figure 4 , the initial electrical stress information of the pixel in the current frame is Stress lu In the case of Stress, the Stress lu The corresponding third electrical stress information; similarly, the Stress lu Here, Stress lu The corresponding third electrical stress information can be recorded as LUT_high_Temp(Stress lu ), Stress lu The corresponding fourth electrical stress information can be recorded as LUT_low_Temp (Stress lu ).
[0105] Step B4: performing weighted summation on the third electric stress information and the fourth electric stress information to obtain the electric stress information of each pixel in the current frame.
[0106] For example, the electrical stress information of each pixel in the current frame can be calculated according to formula (3) and formula (4).
[0107]
[0108]
[0109] Here, Stress represents the electrical stress information of the pixel in the current frame.
[0110] It can be seen that the embodiment of the present application can determine the first temperature value and the second temperature value based on the current temperature value of the display screen, so that the current temperature value of the display screen is between the first temperature value and the second temperature value; further, based on the third electric stress information and the fourth electric stress information obtained according to the third mapping relationship related to the first temperature value and the fourth mapping relationship related to the second temperature value, the electric stress information of the pixel point in the current frame can be determined more accurately by performing weighted summation on the third electric stress information and the fourth electric stress information.
[0111] In some embodiments, the above-mentioned method of accumulating the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain the accumulated electrical stress information of each pixel in the CUP area may include:
[0112] The display frequency of the display screen is determined, and the number of interval frames between two adjacent accumulations of electrical stress information is determined according to the display frequency of the display screen. In response to the current frame being an image frame for which electrical stress information accumulation is required, the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame are accumulated to obtain the accumulated electrical stress information of each pixel in the CUP area.
[0113] In an embodiment of the present application, a fixed accumulation time interval can be set, so that the interval frame number between two adjacent accumulations of electrical stress information can be determined based on the fixed accumulation time interval and the display frequency of the display screen. This is beneficial for scenarios with different display frequencies, and the interval frame number between two adjacent accumulations of electrical stress information can be set according to the display frequency to make the accumulation time intervals the same.
[0114] If the current frame is not an image frame that needs to accumulate electrical stress information based on the interval frame number, the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame are not accumulated; if the current frame is an image frame that needs to accumulate electrical stress information based on the interval frame number, it means that the time interval since the last accumulation of electrical stress information is equal to the preset fixed accumulation time interval.
[0115] It can be seen that the embodiment of the present application can more accurately determine the accumulated time point of the historical electrical stress information and the electrical stress information of each pixel in the CUP area in the current frame according to the display frequency of the display screen. That is, the scheme for accumulating electrical stress information in the embodiment of the present application can adapt to various display frequencies, thereby expanding the application scenarios to a certain extent.
[0116] In some embodiments, another implementation of obtaining the accumulated electrical stress information of each pixel in the CUP area of the display screen may include: receiving the accumulated electrical stress information of each pixel in the CUP area through a human-computer interaction interface.
[0117] In actual scenarios, the aging model and stress statistics scheme of the display device used will inevitably introduce errors, and the aging model of the CUP area will be different from that of the normal area. In order to ensure the consistency and effectiveness of the grayscale value compensation, a manual adjustment interface can be opened to the user. That is, the cumulative electrical stress information can be determined based on the user's visual effect of the display screen. The user can input the cumulative electrical stress information through the human-computer interaction interface, which is conducive to improving the consistency of the display effect between the CUP area and the non-CUP area.
[0118] It can be seen that since the user can determine the cumulative electrical stress information based on the actual display effect of the display screen, that is, the cumulative electrical stress information received through the human-computer interaction interface is consistent with the actual display effect of the display screen. Therefore, when the gain coefficient of the pixel points in the CUP area is determined according to the cumulative electrical stress information and the grayscale value compensation of the pixel points in the CUP area is performed according to the gain coefficient, it is beneficial to improve the consistency of the display effect between the CUP area and the non-CUP area.
[0119] In some embodiments, the above-mentioned implementation method of determining the gain coefficient of each pixel point based on the accumulated electrical stress information of each pixel point may include:
[0120] When the current grayscale value of the first pixel point is less than a preset threshold, the gain coefficient is determined to be a fixed gain coefficient; the first pixel point represents any one of the pixel points.
[0121] When the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the grayscale value greater than or equal to the preset threshold is divided into multiple grayscale levels arranged from small to large, and the gain coefficient is determined to be a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
[0122] For example, referring to Figure 5 The generation submodule 501 can determine a fixed gain coefficient according to a pre-established mapping relationship between the accumulated electrical stress information and the gain coefficient. The fixed gain coefficient can be recorded as G0. The fixed gain coefficient is greater than 1, for example, the fixed gain coefficient is 1.2.
[0123] When the current grayscale value of the first pixel is greater than or equal to the preset threshold, the fixed gain coefficient needs to be corrected by the correction compensation submodule 502 to obtain a corrected first gain coefficient. The first gain coefficient can be recorded as G out After receiving the input current frame image, the correction compensation submodule 502 can compensate the grayscale value of each pixel according to the gain coefficient of each pixel in the CUP area to obtain an output image, which is an image after grayscale value compensation.
[0124] The following combination Figure 6 Explain the gain coefficient values corresponding to different input grayscale values. Figure 6In FIG, line 1 represents the relationship between the input grayscale value and the output grayscale value of the pixel point when no compensation processing is performed on the pixel point. The slope of line 1 is 1, that is, the input grayscale value of the pixel point and the output grayscale value of the pixel point are the same. Line 2 represents the relationship between the input grayscale value and the output grayscale value of the pixel point when the compensation processing is performed on the pixel point according to the display compensation method of the embodiment of the application. The slope of line 2 represents the gain coefficient, G th Indicates the preset threshold. The current grayscale value of the first pixel is less than the preset threshold G th In the case of , line 2 is in the linear region, and the slope of line 2 is the above-mentioned fixed gain coefficient.
[0125] When the current grayscale value of the first pixel point is large, the product of the current grayscale value of the first pixel point and the fixed gain coefficient may exceed the maximum value of the grayscale value, for example, the maximum value of the grayscale value is 255; in order to avoid overflow of the grayscale value, when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, a first gain coefficient that is smaller than the fixed gain coefficient is set.
[0126] In order to reduce the occurrence of grayscale mutation or grayscale adhesion, when the current grayscale value of the first pixel point is relatively large, a first gain coefficient that decreases as the grayscale level increases can be determined by connecting multiple lines. Figure 6 In the example, the current grayscale value of the first pixel is greater than the preset threshold G th In the case of , line 2 is in the correction area, and line 2 includes multiple lines with gradually decreasing slopes. The solution of determining the gain coefficient through multiple lines can effectively reduce the occurrence of grayscale value overflow and is conducive to improving the smoothness of grayscale value changes.
[0127] It can be seen that when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, by determining a first gain coefficient that decreases as the grayscale level increases, the smoothness of the grayscale value change can be improved, and since the first gain coefficient is smaller than the fixed gain coefficient, the occurrence of grayscale value overflow can be reduced.
[0128] In some embodiments, another implementation of determining the gain coefficient of each pixel point based on the accumulated electrical stress information of each pixel point may include:
[0129] When the current grayscale value of the first pixel point is less than a preset threshold, determining the gain coefficient to be a fixed gain coefficient; the first pixel point represents any one of the pixel points;
[0130] When the current grayscale value of the first pixel point is greater than or equal to the preset threshold, the gain coefficient is determined to be a first gain coefficient, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
[0131] Here, when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, there is no need to determine the first gain coefficient corresponding to the current grayscale value of the first pixel point according to the grayscale level, but the first gain coefficient is determined directly according to the current grayscale value of the first pixel point.
[0132] It can be seen that when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, by determining a first gain coefficient that decreases as the grayscale value increases, the smoothness of the grayscale value change can be improved, and since the first gain coefficient is smaller than the fixed gain coefficient, the occurrence of grayscale value overflow can be reduced.
[0133] The display compensation method is exemplarily described below through an embodiment of an application scenario. Figure 7 The accumulation module 701 and the compensation module 702 can be implemented by a processor in the DDIC; of course, they can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0134] The accumulation module 701 is used to obtain the accumulated electrical stress information of each pixel in the CUP area of the display screen's under-screen camera. The compensation module 702 is used to determine the gain coefficient of each pixel based on the accumulated electrical stress information of each pixel, and compensate the grayscale value of each pixel based on the gain coefficient of each pixel. After receiving the input image, the compensation module 702 can compensate the grayscale value of each pixel based on the gain coefficient of each pixel in the CUP area to obtain an output image. Here, if the input image is a frame, the output image is a frame of image after grayscale value compensation.
[0135] In this embodiment of the present application, the accumulation module 701 and the compensation module 702 need to work in conjunction with a memory. The accumulation module 701 can accumulate historical electrical stress information and electrical stress information in the current frame for each pixel in the CPU area and store the accumulated electrical stress information in the DDIC's SRAM 703. The flash controller 704 can read the accumulated electrical stress information stored in the SRAM at set time intervals and store the read accumulated electrical stress information in the external flash memory 705.
[0136] Figure 7 In the embodiment, the manual adjustment interface is the above-mentioned human-computer interaction interface. After being successfully enabled by the manual adjustment enable signal, the accumulated electrical stress information can be input to the accumulation module 701 through the manual adjustment interface.
[0137] Combined with the above-mentioned contents, it can be seen that the embodiment of the present application can perform two mappings on the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen, thereby converting them into the electrical stress information of the pixel in the current frame; the display frequency is the basis for controlling the number of interval frames for accumulating electrical stress information. Figure 8 The grayscale mapping submodule 801 can perform a first mapping based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen, thereby determining the initial electrical stress information of the pixel in the current frame; the temperature mapping submodule 802 can perform a second mapping based on the initial electrical stress information and the current temperature value of the display screen, thereby determining the electrical stress information of each pixel in the CUP area in the current frame.
[0138] The enabling submodule 803 can determine, based on the display frequency of the display screen, whether the current frame is an image frame that needs to accumulate electrical stress information determined according to the interval frame number, and enable the accumulation submodule 804 when the current frame is an image frame that needs to accumulate electrical stress information determined according to the interval frame number; the accumulation submodule 804 can, when enabled successfully, accumulate the pre-stored n-1 historical electrical stress information and the electrical stress information of the pixel points in the CUP area in the current frame, and output the corresponding accumulated electrical stress information.
[0139] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0140] Based on the above embodiments, the present disclosure provides a display compensation device. Figure 9 This is a schematic diagram of the structure of a display compensation device according to an embodiment of the present application. Figure 9As shown, the device may include a display driver chip 90, which includes an electrical stress accumulation processing circuit 91 and a grayscale compensation circuit 92, wherein:
[0141] The electrical stress accumulation processing circuit 91 is used to obtain the accumulated electrical stress information of each pixel in the CUP area of the display screen;
[0142] The grayscale compensation circuit 92 is configured to determine a gain coefficient of each pixel according to the accumulated electrical stress information of each pixel; and compensate the grayscale value of each pixel according to the gain coefficient of each pixel.
[0143] In some embodiments, the electrical stress accumulation processing circuit 91 includes an information acquisition subcircuit 911 and an information processing subcircuit 912; wherein,
[0144] An information acquisition subcircuit 911 is configured to acquire the grayscale value of each pixel in the CUP area and the current DBV value of the display screen;
[0145] The information processing subcircuit 912 is used to determine the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen; obtain the historical electrical stress information of each pixel in the CUP area, and accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain the accumulated electrical stress information of each pixel in the CUP area.
[0146] In some embodiments, the information acquisition subcircuit 911 is also used to obtain the current temperature value of the display screen; the information processing subcircuit 912 is used to determine the electrical stress information of each pixel point in the CUP area in the current frame based on the grayscale value of each pixel point in the CUP area, the current DBV value of the display screen and the current temperature value of the display screen.
[0147] In some embodiments, reference Figure 10 , the information processing sub-circuit 912 includes a first mapping sub-circuit 9121 and a second mapping sub-circuit 9122; wherein,
[0148] The first mapping sub-circuit 9121 is configured to determine a first DBV value and a second DBV value according to a current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen;
[0149] The first mapping sub-circuit 9121 is further configured to obtain a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between a grayscale value corresponding to the first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between a grayscale value corresponding to the second DBV value and electrical stress information;
[0150] The first mapping subcircuit 9121 is further configured to determine first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; and determine second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship;
[0151] The first mapping sub-circuit 9121 is further configured to perform a weighted summation on the first electrical stress information and the second electrical stress information to obtain the initial electrical stress information of each pixel in the current frame;
[0152] The second mapping sub-circuit 9122 is configured to determine the electrical stress information of each pixel in the CUP area in the current frame based on the initial electrical stress information and the current temperature value of the display screen.
[0153] In some embodiments, the second mapping subcircuit 9122 is configured to determine a first temperature value and a second temperature value according to a current temperature value of the display screen, wherein the first temperature value is greater than the current temperature value of the display screen, and the second temperature value is less than the current temperature value of the display screen;
[0154] the second mapping subcircuit 9122 is configured to obtain a predetermined third mapping relationship and a fourth mapping relationship, wherein the third mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the first temperature value and electrical stress information, and the fourth mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the second temperature value and electrical stress information;
[0155] The second mapping subcircuit 9122 is configured to determine, based on the third mapping relationship, third electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; and to determine, based on the fourth mapping relationship, fourth electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame;
[0156] The second mapping subcircuit 9122 is used to perform weighted summation on the third electrical stress information and the fourth electrical stress information to obtain the electrical stress information of each pixel in the current frame.
[0157] In some embodiments, reference Figure 10 , the information processing sub-circuit 912 further includes an accumulation processing sub-circuit 9123;
[0158] The accumulation processing sub-circuit 9123 is used to determine the display frequency of the display screen and the interval frame number between two adjacent accumulations of electrical stress information according to the display frequency of the display screen; in response to the current frame being an image frame for which electrical stress information needs to be accumulated according to the interval frame number, the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame are accumulated to obtain the accumulated electrical stress information of each pixel in the CUP area.
[0159] In some embodiments, the electrical stress accumulation processing circuit 91 is configured to receive the accumulated electrical stress information of each pixel in the CUP area through a human-computer interaction interface.
[0160] In some embodiments, the grayscale compensation circuit 92 is configured to determine that the gain coefficient is a fixed gain coefficient when the current grayscale value of the first pixel point is less than a preset threshold; the first pixel point represents any one of the pixel points;
[0161] The grayscale compensation circuit 92 is used to divide the grayscale value greater than or equal to the preset threshold into multiple grayscale levels arranged from small to large when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, and determine the gain coefficient as a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
[0162] In some embodiments, the grayscale compensation circuit 92 is configured to determine that the gain coefficient is a fixed gain coefficient when the current grayscale value of the first pixel point is less than a preset threshold; the first pixel point represents any one of the pixel points;
[0163] The grayscale compensation circuit 92 is used to determine that the gain coefficient is a first gain coefficient when the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
[0164] The description of the above device embodiment is similar to the description of the above method embodiment and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiments of the present application can be used to perform the methods described in the above method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0165] It should be noted that, in the embodiment of the present application, if the above-mentioned display compensation method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software and firmware.
[0166] The present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in any of the above-mentioned display compensation methods. The computer-readable storage medium may be transient or non-transient.
[0167] An embodiment of the present application provides a computer program, including computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing any one of the above-mentioned display compensation methods.
[0168] An embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-mentioned display compensation method. The computer program product can be implemented in hardware, software, or a combination thereof. In some embodiments, the computer program product is embodied as a computer storage medium. In other embodiments, the computer program product is embodied as a software product, such as a software development kit (SDK).
[0169] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between the embodiments, and reference can be made to the similarities or similarities between them. The descriptions of the above device, storage medium, computer program, and computer program product embodiments are similar to the descriptions of the above method embodiments and have similar beneficial effects as the method embodiments. For technical details not disclosed in the device, storage medium, computer program, and computer program product embodiments, please refer to the description of the method embodiments of this application for understanding.
[0170] Figure 11 This is a hardware entity diagram of an electronic device in an embodiment of the present application, such as Figure 10 As shown, the electronic device 1100 may include: a memory 1101, a processor 1102, and a computer program stored in the memory 1101 and executable on the processor 1102; wherein,
[0171] The processor 1102 is configured to run the computer program to execute any one of the above display compensation methods.
[0172] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned steps / processes does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0173] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0174] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0175] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0176] In addition, all functional units in the embodiments of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated units can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0177] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: mobile storage devices, ROM, disks or optical disks, and other media that can store program codes.
[0178] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0179] The above is only an implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the scope of protection of the present application.
Claims
1. A display compensation method, characterized in that: The method comprises: Obtain the accumulated electrical stress information of each pixel in the under-screen camera CUP area of the display; determining a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point; Compensating the grayscale value of each pixel according to the gain coefficient of each pixel; The step of determining a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point includes: When the current grayscale value of the first pixel point is less than a preset threshold, determining the gain coefficient to be a fixed gain coefficient; the first pixel point represents any one of the pixel points; When the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the gain coefficient is determined to be a first gain coefficient, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
2. The method according to claim 1, characterized in that The obtaining of the accumulated electrical stress information of each pixel in the CUP area of the display screen includes: Obtaining the grayscale value of each pixel in the CUP area and the current display brightness level DBV value of the display screen; Determining electrical stress information of each pixel in the CUP area in a current frame according to a grayscale value of each pixel in the CUP area and a current DBV value of the display screen; Obtain historical electrical stress information of each pixel in the CUP area, accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in a current frame, and obtain accumulated electrical stress information of each pixel in the CUP area.
3. The method according to claim 2, characterized in that The determining, according to the grayscale value of each pixel in the CUP area and the current DBV value of the display screen, the electrical stress information of each pixel in the CUP area in the current frame includes: Obtaining the current temperature value of the display screen; and determining the electrical stress information of each pixel in the CUP area in the current frame according to the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen.
4. The method according to claim 3, characterized in that The determining, according to the grayscale value of each pixel in the CUP area, the current DBV value of the display screen, and the current temperature value of the display screen, of the electrical stress information of each pixel in the CUP area in the current frame includes: determining a first DBV value and a second DBV value according to a current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen; Acquire a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between a grayscale value corresponding to the first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between a grayscale value corresponding to the second DBV value and electrical stress information; determining first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; and determining second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship; performing a weighted summation on the first electrical stress information and the second electrical stress information to obtain initial electrical stress information of each pixel in the current frame; Based on the initial electrical stress information and the current temperature value of the display screen, the electrical stress information of each pixel in the CUP area in the current frame is determined.
5. The method according to claim 4, characterized in that The determining, based on the initial electrical stress information and the current temperature information of the display screen, electrical stress information of each pixel in the CUP area in the current frame includes: determining a first temperature value and a second temperature value according to a current temperature value of the display screen, wherein the first temperature value is greater than the current temperature value of the display screen, and the second temperature value is less than the current temperature value of the display screen; Obtaining a predetermined third mapping relationship and a fourth mapping relationship, wherein the third mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the first temperature value and electrical stress information, and the fourth mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the second temperature value and electrical stress information; determining, based on the third mapping relationship, third electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; and determining, based on the fourth mapping relationship, fourth electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; A weighted sum is performed on the third electrical stress information and the fourth electrical stress information to obtain the electrical stress information of each pixel in the current frame.
6. The method according to any one of claims 2 to 5, characterized in that The accumulating historical electrical stress information of each pixel in the CUP area and electrical stress information of each pixel in the CUP area in a current frame to obtain accumulated electrical stress information of each pixel in the CUP area includes: Determining a display frequency of the display screen, and determining an interval number of frames between two adjacent accumulations of electrical stress information according to the display frequency of the display screen; In response to the current frame being an image frame that requires accumulation of electrical stress information determined according to the number of interval frames, the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame are accumulated to obtain the accumulated electrical stress information of each pixel in the CUP area.
7. The method according to any one of claims 1 to 5, characterized in that The obtaining of the accumulated electrical stress information of each pixel in the CUP area of the display screen includes: The accumulated electrical stress information of each pixel point in the CUP area is received through the human-computer interaction interface.
8. The method according to any one of claims 1 to 5, characterized in that The step of determining a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point includes: When the current grayscale value of the first pixel point is less than a preset threshold, determining the gain coefficient to be a fixed gain coefficient; the first pixel point represents any one of the pixel points; When the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the grayscale value greater than or equal to the preset threshold is divided into multiple grayscale levels arranged from small to large, and the gain coefficient is determined to be a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
9. A display compensation device, characterized in that: The device includes a display driver chip, and the display driver chip includes an electrical stress accumulation processing circuit and a grayscale compensation circuit, wherein: An electrical stress accumulation processing circuit, used to obtain accumulated electrical stress information of each pixel in the under-screen camera CUP area of the display screen; a grayscale compensation circuit, configured to determine a gain coefficient of each pixel point according to the accumulated electrical stress information of each pixel point; and compensate the grayscale value of each pixel point according to the gain coefficient of each pixel point; The grayscale compensation circuit is configured to determine that the gain coefficient is a fixed gain coefficient when a current grayscale value of a first pixel point is less than a preset threshold value; the first pixel point represents any one of the pixel points; The grayscale compensation circuit is used to determine that the gain coefficient is a first gain coefficient when the current grayscale value of the first pixel point is greater than or equal to a preset threshold, the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the current grayscale value of the first pixel point.
10. The device according to claim 9, characterized in that The electrical stress accumulation processing circuit includes an information acquisition subcircuit and an information processing subcircuit; wherein, An information acquisition subcircuit, configured to acquire the grayscale value of each pixel in the CUP area and the current display brightness level DBV value of the display screen; The information processing subcircuit is configured to determine electrical stress information of each pixel in the CUP area in a current frame based on the grayscale value of each pixel in the CUP area and the current DBV value of the display screen; obtain historical electrical stress information of each pixel in the CUP area, and accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain accumulated electrical stress information of each pixel in the CUP area.
11. The device according to claim 10, characterized in that The information acquisition subcircuit is also used to obtain the current temperature value of the display screen; the information processing subcircuit is used to determine the electrical stress information of each pixel in the CUP area in the current frame based on the grayscale value of each pixel in the CUP area, the current DBV value of the display screen and the current temperature value of the display screen.
12. The device according to claim 11, characterized in that The information processing subcircuit includes a first mapping subcircuit and a second mapping subcircuit; wherein, The first mapping sub-circuit is configured to determine a first DBV value and a second DBV value according to a current DBV value of the display screen, wherein the first DBV value is greater than the current DBV value of the display screen, and the second DBV value is less than the current DBV value of the display screen; The first mapping subcircuit is further configured to obtain a predetermined first mapping relationship and a second mapping relationship, wherein the first mapping relationship represents a mapping relationship between a grayscale value corresponding to the first DBV value and electrical stress information, and the second mapping relationship represents a mapping relationship between a grayscale value corresponding to the second DBV value and electrical stress information; The first mapping subcircuit is further configured to determine first electrical stress information corresponding to the grayscale value of each pixel based on the first mapping relationship; and determine second electrical stress information corresponding to the grayscale value of each pixel based on the second mapping relationship; The first mapping sub-circuit is further configured to perform a weighted summation on the first electrical stress information and the second electrical stress information to obtain initial electrical stress information of each pixel in the current frame; The second mapping subcircuit is configured to determine the electrical stress information of each pixel in the CUP area in a current frame based on the initial electrical stress information and the current temperature value of the display screen.
13. The device according to claim 12, characterized in that the second mapping subcircuit is configured to determine a first temperature value and a second temperature value according to a current temperature value of the display screen, wherein the first temperature value is greater than the current temperature value of the display screen, and the second temperature value is less than the current temperature value of the display screen; the second mapping subcircuit is configured to obtain a predetermined third mapping relationship and a fourth mapping relationship, wherein the third mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the first temperature value and electrical stress information, and the fourth mapping relationship represents a mapping relationship between initial electrical stress information corresponding to the second temperature value and electrical stress information; The second mapping subcircuit is configured to determine, based on the third mapping relationship, third electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; and to determine, based on the fourth mapping relationship, fourth electrical stress information corresponding to the initial electrical stress information of each pixel point in the current frame; The second mapping sub-circuit is configured to perform weighted summation on the third electrical stress information and the fourth electrical stress information to obtain the electrical stress information of each pixel in the current frame.
14. The device according to any one of claims 10 to 13, characterized in that The information processing subcircuit further includes an accumulation processing subcircuit; The accumulation processing subcircuit is used to determine the display frequency of the display screen, and determine the interval frame number between two adjacent accumulations of electrical stress information based on the display frequency of the display screen; in response to the current frame being an image frame for which electrical stress information needs to be accumulated based on the interval frame number, accumulate the historical electrical stress information of each pixel in the CUP area and the electrical stress information of each pixel in the CUP area in the current frame to obtain the accumulated electrical stress information of each pixel in the CUP area.
15. The device according to any one of claims 9 to 13, characterized in that The electrical stress accumulation processing circuit is used to receive the accumulated electrical stress information of each pixel point in the CUP area through a human-computer interaction interface.
16. The device according to any one of claims 10 to 13, characterized in that The grayscale compensation circuit is configured to determine that the gain coefficient is a fixed gain coefficient when a current grayscale value of a first pixel point is less than a preset threshold value; the first pixel point represents any one of the pixel points; The grayscale compensation circuit is used to divide the grayscale value greater than or equal to the preset threshold into multiple grayscale levels arranged from small to large when the current grayscale value of the first pixel point is greater than or equal to the preset threshold, and determine the gain coefficient as a first gain coefficient, wherein the first gain coefficient is less than the fixed gain coefficient, and the first gain coefficient is negatively correlated with the grayscale level of the current grayscale value of the first pixel point.
17. An electronic device, characterized in that: The device comprises a processor and a memory for storing a computer program that can be run on the processor; wherein the processor is used to run the computer program to execute the display compensation method according to any one of claims 1 to 8.
18. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the display compensation method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Display device
CN109841191A
Display device
CN109994083A