A display compensation method and device of a display panel and electronic equipment
By finely dividing and calculating compensation parameters in the under-display camera area of the OLED display panel, the Mura problem under low brightness and low grayscale was solved, improving the display effect and product yield.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BOE TECHNOLOGY GROUP CO LTD
- Filing Date
- 2026-04-30
- Publication Date
- 2026-06-19
AI Technical Summary
In organic light-emitting diode (OLED) display panels, the under-display camera display area exhibits a noticeable Mura phenomenon at low brightness and low grayscale, affecting the display effect, and existing brightness compensation algorithms are unable to improve this.
When displaying the anchoring inspection screen in the under-display camera display area, compensation is performed based on the basic compensation parameters to obtain the display effect of the pixels. The area is divided into multiple sub-regions, the target compensation parameters of each sub-region are calculated, and display compensation is performed under the target brightness and grayscale, including the calculation of RGB monochrome and WHITE compensation modes.
This achieves the same display effect in the under-display camera area as in the non-under-display area under low brightness and low grayscale conditions, improving the production yield and market competitiveness of full-screen products.
Smart Images

Figure CN122245235A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a display compensation method, apparatus and electronic device for a display panel. Background Technology
[0002] In an organic light-emitting diode (OLED) display panel with an under-display camera, the display panel includes an under-display camera display area and a non-under-display camera display area. Due to its high transmittance requirement, the wiring of the under-display camera display area is different from that of other areas of the screen.
[0003] While the wiring in the under-display camera display area can meet the high transmittance requirements of the under-display camera display area, and the under-display camera display area will not show obvious Mura (brightness or color unevenness) when the current is large at high brightness and high grayscale, the under-display camera display area will show very obvious Mura, which seriously affects the display effect at low brightness and low grayscale. Summary of the Invention
[0004] The purpose of this application is to provide a display compensation method, apparatus, and electronic device for a display panel, so as to improve the display effect of the under-display camera display area under low brightness and low grayscale conditions. The specific technical solution is as follows:
[0005] In a first aspect, embodiments of this application provide a display compensation method for a display panel, wherein the display area of the display panel includes an under-display camera display area and a non-under-display camera display area, and the method includes:
[0006] When the anchoring inspection image is displayed in the under-display camera display area, the anchoring inspection image is compensated based on the basic compensation parameters to obtain the compensated inspection image; the brightness of the anchoring inspection image is lower than the first brightness threshold, and the grayscale of the anchoring inspection image is lower than the first grayscale threshold.
[0007] Obtain the first display effect of each pixel of the compensated inspection screen;
[0008] Based on the first display effect of each pixel, the display area of the under-display camera is divided into multiple sub-regions;
[0009] For each of the sub-regions, calculate the target compensation parameters for that sub-region under the target brightness and / or target grayscale.
[0010] When the display panel displays at the target brightness and / or target grayscale, it performs display compensation based on the basic compensation parameters and target compensation parameters of each sub-region.
[0011] In one possible implementation, the first display effect includes a brightness value;
[0012] The step of dividing the under-display camera display area into multiple sub-regions based on the first display effect of each pixel includes:
[0013] Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple sub-regions in the under-display camera display area.
[0014] In one possible implementation, the first display effect further includes chromaticity values; the step of dividing each pixel whose brightness value is within the same preset brightness value range into the same region to obtain multiple sub-regions in the under-display camera display area includes:
[0015] Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple first regions in the display area of the under-display camera;
[0016] Each pixel in the first region whose chromaticity value is within the same preset chromaticity value range is divided into the same region to obtain multiple second regions in the display area of the under-display camera.
[0017] In one possible implementation, calculating the target compensation parameters for each sub-region under target brightness and / or target grayscale includes:
[0018] For each sub-region, determine the chromaticity value of the sub-region, and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds a preset chromaticity value difference threshold.
[0019] If yes, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode; if no, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode.
[0020] Calculate the target compensation parameters for the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale.
[0021] In one possible implementation, calculating the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale includes:
[0022] The basic compensation parameters of the sub-region are determined based on the basic compensation parameters of each pixel in the sub-region.
[0023] When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0024] When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0025] In one possible implementation, the step of calculating the target compensation parameters for the sub-region includes:
[0026] The target compensation parameters for the sub-region are calculated using the following formula:
[0027]
[0028] Wherein, Y is the desired RGB monochrome grayscale value or the desired brightness grayscale value, X is the RGB monochrome grayscale value or brightness grayscale value of the sub-region under the target brightness and / or target grayscale, k and b are the basic compensation parameters, and Factor is the target compensation parameter.
[0029] In one possible implementation, after calculating the target compensation parameters for the sub-region under target brightness and / or target grayscale, the method further includes:
[0030] The sub-regions are compensated based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area;
[0031] For the compensated under-display camera display area and the non-under-display camera display area, calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
[0032] In one possible implementation, after performing display compensation based on the basic compensation parameters and target compensation parameters of each sub-region when the display panel is displayed at the target brightness and / or target grayscale, the method further includes:
[0033] Demura compensation is performed on the display area based on the Demura compensation parameters of the display area at the target brightness and / or target grayscale.
[0034] Secondly, embodiments of this application provide a display compensation device for a display panel, wherein the display area of the display panel includes an under-display camera display area and a non-under-display camera display area, and the device includes:
[0035] The inspection image acquisition module is used to compensate the anchor inspection image based on basic compensation parameters when the anchor inspection image is displayed in the display area of the under-display camera to obtain the compensated inspection image; the brightness of the anchor inspection image is lower than a first brightness threshold, and the grayscale of the anchor inspection image is lower than a first grayscale threshold.
[0036] The display effect acquisition module is used to acquire the first display effect of each pixel of the compensated inspection screen;
[0037] The sub-region division module is used to divide the under-display camera display area into multiple sub-regions according to the first display effect of each pixel;
[0038] The compensation parameter calculation module is used to calculate the target compensation parameters for each sub-region under the target brightness and / or target grayscale.
[0039] The display compensation module is used to perform display compensation based on the basic compensation parameters and target compensation parameters of each sub-region when the display panel is displayed at the target brightness and / or target grayscale.
[0040] In one possible implementation, the first display effect includes a brightness value;
[0041] The sub-region division module includes:
[0042] The first division submodule is used to divide each pixel whose brightness value is within the same preset brightness value range into the same region, thereby obtaining multiple sub-regions in the under-display camera display area.
[0043] In one possible implementation, the first display effect further includes chromaticity values; the first partitioning submodule is specifically used for:
[0044] Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple first regions in the display area of the under-display camera;
[0045] Each pixel in the first region whose chromaticity value is within the same preset chromaticity value range is divided into the same region to obtain multiple second regions in the display area of the under-display camera.
[0046] In one possible implementation, the compensation parameter calculation module includes:
[0047] The chromaticity value determination submodule is used to determine the chromaticity value of each sub-region and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds a preset chromaticity value difference threshold.
[0048] The compensation mode determination submodule is used to determine, if yes, that the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode, and if no, to determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode.
[0049] The compensation parameter determination submodule is used to calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale.
[0050] In one possible implementation, the compensation parameter determining submodule is specifically used for:
[0051] The basic compensation parameters of the sub-region are determined based on the basic compensation parameters of each pixel in the sub-region.
[0052] When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0053] When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0054] In one possible implementation, the compensation parameter determining submodule is specifically used for:
[0055] The target compensation parameters for the sub-region are calculated using the following formula:
[0056]
[0057] Wherein, Y is the desired RGB monochrome grayscale value or the desired brightness grayscale value, X is the RGB monochrome grayscale value or brightness grayscale value of the sub-region under the target brightness and / or target grayscale, k and b are the basic compensation parameters, and Factor is the target compensation parameter.
[0058] In one possible implementation, the device further includes:
[0059] The under-display camera display area compensation module is used to compensate each sub-region based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area.
[0060] The display area compensation parameter calculation module is used to calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale for the compensated under-display camera display area and the non-under-display camera display area.
[0061] In one possible implementation, the device further includes:
[0062] The Demura compensation module is used to perform Demura compensation on the display area according to the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
[0063] Thirdly, embodiments of this application provide an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0064] Memory, used to store computer programs;
[0065] A processor, when executing a program stored in memory, implements any of the methods described above.
[0066] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the methods described above.
[0067] This application also provides a computer program product containing instructions that, when run on a computer, causes the computer to execute any of the above-described display panel display compensation methods.
[0068] Beneficial effects of the embodiments in this application:
[0069] The display compensation method, apparatus, and display panel provided in this application embodiment include a display area of the display panel comprising an under-display camera display area and a non-under-display camera display area. When displaying an anchoring inspection image in the under-display camera display area, the anchoring inspection image is compensated based on basic compensation parameters to obtain a compensated inspection image. The brightness of the anchoring inspection image is lower than a first brightness threshold, and the grayscale of the anchoring inspection image is lower than a first grayscale threshold. The first display effect of each pixel of the compensated inspection image is obtained. Based on the first display effect of each pixel, the under-display camera display area is divided into multiple sub-regions. For each sub-region, the target compensation parameters of the sub-region under the target brightness and / or target grayscale are calculated. When the display panel displays under the target brightness and / or target grayscale, display compensation is performed based on the basic compensation parameters and target compensation parameters of each sub-region.
[0070] This application embodiment compensates for low-brightness, low-grayscale anchor inspection images based on basic compensation parameters. Based on the display effect of each pixel in the compensated inspection image, the under-display camera display area is divided into multiple sub-regions with different display effects. For each sub-region, compensation parameters are calculated under target brightness and / or target grayscale, enabling further refined compensation of the under-display camera display area. This improves the display effect of the under-display camera display area under low brightness and low grayscale, making its display effect in low brightness and low grayscale consistent with that of non-under-display camera display areas. This solves the problem of low-brightness, low-grayscale under-display camera display areas lowering the display level and product yield of full-screen products, greatly improving the production yield and market competitiveness of full-screen products with under-display cameras.
[0071] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0072] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0073] Figure 1-1 This is a schematic diagram of the wiring structure of an under-display camera display area and a non-under-display camera display area provided in an embodiment of this application;
[0074] Figure 1-2 A schematic flowchart illustrating a display compensation method for a display panel provided in an embodiment of this application;
[0075] Figure 2-1 This is a schematic diagram of a sub-region division provided in an embodiment of this application;
[0076] Figure 2-2 This is a schematic diagram of a process for dividing sub-regions provided in an embodiment of this application;
[0077] Figure 2-3 This is another schematic diagram of sub-region division provided in an embodiment of this application;
[0078] Figure 3 This is a schematic diagram of a process for calculating target compensation parameters provided in an embodiment of this application;
[0079] Figure 4 This is a schematic diagram of another process for calculating target compensation parameters provided in an embodiment of this application;
[0080] Figure 5 A schematic diagram of a process for calculating Demura compensation parameters provided in an embodiment of this application;
[0081] Figure 6 This is a schematic diagram illustrating the determination of the size of a sub-region, as provided in an embodiment of this application.
[0082] Figure 7 A schematic diagram of the structure of a display compensation device for a display panel provided in an embodiment of this application;
[0083] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0084] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0085] Active-matrix organic light-emitting diode (AMOLED) screens, due to their self-emissive and high-contrast characteristics, have become the leading technology in the era of full-screen displays. With the development of full-screen displays, the display is becoming increasingly borderless, giving rise to under-display camera technology. To ensure that light can penetrate the screen area and reach the sensor when the under-display camera is activated, the under-display camera display area requires extremely high transparency. To improve transparency, the wiring design of the under-display camera display area (FDC, Full Display with Camera) differs from that of the non-under-display camera display area (NOR, Normal), such as... Figure 1-1 As shown, the under-display camera display area retains only the electroluminescent (EL) device, while other circuit devices (such as thin film transistors (TFTs)) are led out to the non-under-display camera display area through indium tin oxide (ITO) transparent oxide electrodes.
[0086] Due to the special nature of its wiring, the display effects of pixels in the under-display camera display area, such as brightness and color, are somewhat different from those in the non-under-display camera display area. The lower the brightness and the lower the grayscale, the worse the display effect, and it may even directly display black lines, green lines, red spots, colored blocks, etc.
[0087] In related technologies, to address this issue, a brightness compensation algorithm is used to compensate the brightness of pixels in the under-display camera display area. Then, the compensated under-display camera display area and the non-under-display camera display area are treated as a single unit for Demura (uniformity) compensation. After compensation, the display effect of the under-display camera display area under high brightness and high grayscale is minimally different from that of the non-under-display camera display area. However, under low brightness and low grayscale, on the one hand, the compensation algorithm's capabilities limit the brightness of black lines in low grayscale and low brightness areas; on the other hand, crosstalk issues at low grayscale levels make it difficult to meet the brightness and color standards of the under-display camera display area. Even with subsequent full-screen Demura compensation, it is still difficult to improve the display effect of the under-display camera display area under low brightness and low grayscale.
[0088] To address this issue, embodiments of this application provide a display compensation method, apparatus, and electronic device for a display panel.
[0089] The following explains the display compensation method for the display panel provided in the embodiments of this application.
[0090] like Figure 1-2 As shown, the display area of the display panel includes the under-display camera display area and the non-under-display camera display area. The display compensation method for the display panel provided in this application embodiment includes:
[0091] Step S101: When the anchoring inspection image is displayed in the under-display camera display area, the anchoring inspection image is compensated based on the basic compensation parameters to obtain the compensated inspection image; the brightness of the anchoring inspection image is lower than the first brightness threshold, and the grayscale of the anchoring inspection image is lower than the first grayscale threshold; Step S102: Obtain the first display effect of each pixel of the compensated inspection image; Step S103: Divide the under-display camera display area into multiple sub-regions according to the first display effect of each pixel; Step S104: For each sub-region, calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale; Step S105: When the display panel is displayed under the target brightness and / or target grayscale, display compensation is performed according to the basic compensation parameters and target compensation parameters of each sub-region.
[0092] The first brightness threshold and the first grayscale threshold are both preset values based on actual needs. This means that when the brightness of the displayed image is lower than the first brightness threshold and the grayscale is lower than the first grayscale threshold, the display effect of the under-display camera display area is poor.
[0093] In one optional embodiment, the anchoring check screen can be the display screen at the display brightness value (DBV) corresponding to the critical point of drive mode switching, where the grayscale value is 128. The critical point of drive mode switching can be the inflection point of pulse width modulation (PWM) and direct current dimming (DC). In one example, multiple anchoring check screens can also be set according to actual needs.
[0094] The basic compensation parameters are predetermined brightness compensation parameters. In one example, compensation based on the basic compensation parameters refers to adjusting the positive and negative grayscale values of each pixel (Block size 1×1) in the under-display camera display area according to its corresponding brightness compensation parameters. When the brightness and grayscale of the anchored inspection image are lower than the first brightness threshold and the grayscale is lower than the first grayscale threshold, the basic compensation can increase the brightness of the dark areas (e.g., black line areas) in the anchored inspection image to a displayable brightness, thereby providing basic compensation for the display effect of the under-display camera display area. When the brightness and grayscale of the display image that needs basic compensation are higher than the second brightness threshold and the grayscale is higher than the second grayscale threshold, the basic compensation can reduce the brightness of the display image to a brightness that meets the requirements of the display effect. The second brightness threshold and the second grayscale threshold indicate that the display effect is poor when the brightness and grayscale of the display image are higher than these thresholds.
[0095] In one example, the base compensation parameters can be calculated using the appropriate brightness increase / decrease algorithm based on actual needs.
[0096] Each sub-region includes multiple pixels with similar first display effects in the compensated inspection screen. For example, pixels whose first display effects are within the same display effect range, which is preset according to actual needs.
[0097] In one example, the initial display effect of a subpixel can be determined by a high-resolution digital camera (CCD, charge-coupled device camera) and visual verification.
[0098] Multiple target brightness and / or target grayscale display images can be set according to actual needs, and each target compensation parameter of each sub-region corresponds to a target brightness and / or target grayscale display image.
[0099] In one example, when the display panel is displayed at the target brightness and / or target grayscale, display compensation is performed sequentially according to the basic compensation parameters and target compensation parameters of each sub-region to obtain the final display image. Alternatively, display compensation is performed separately according to the basic compensation parameters and target compensation parameters to obtain two compensated display images. The image with better display effect is selected as the final display image. For example, the image with smaller difference in brightness and grayscale from the target brightness and / or target grayscale is selected from the two compensated display images.
[0100] In one optional embodiment, when the display panel includes multiple under-display camera display areas, such as dual-hole or multi-hole under-display camera display areas, different under-display camera display areas can be divided into the same sub-regions due to the same wiring, thereby obtaining the same target compensation parameters.
[0101] As can be seen from the above, the display compensation method for the display panel provided in this application, based on basic compensation parameters, compensates for the low-brightness, low-grayscale anchor inspection screen, and obtains and divides the under-display camera display area into multiple sub-regions with different display effects according to the display effect of each pixel in the compensated inspection screen. For each sub-region, the compensation parameters under the target brightness and / or target grayscale screen are calculated, which can achieve further fine compensation for the under-display camera display area, improve the display effect of the under-display camera display area under low brightness and low grayscale, and make the display effect of the under-display camera display area under low brightness and low grayscale consistent with the display effect of the non-under-display camera display area. This solves the problem of the under-display camera display area lowering the display level and product yield of full-screen products in low brightness and low grayscale, and greatly improves the production yield and market competitiveness of full-screen products with under-display cameras.
[0102] In one possible implementation, the first display effect includes a brightness value;
[0103] Based on the initial display effect of each pixel, the under-display camera display area is divided into multiple sub-regions, including:
[0104] Pixels whose brightness values are within the same preset brightness value range are divided into the same region, resulting in multiple sub-regions in the under-display camera display area.
[0105] The preset brightness value range is pre-defined, meaning that pixels within the same preset brightness value range can undergo uniform brightness compensation, thereby enabling rapid division of the under-display camera display area.
[0106] In one example, because the display effect of the under-display camera area is related to its wiring design, when the under-display camera area is circular, the display effect is generally worse closer to the center, meaning the brightness value is lower and the color value deviation is greater. When dividing the area into sub-regions according to the brightness value, the resulting sub-regions can be as follows: Figure 2-1 The annular area shown refers to Area1-5, which are the five sub-regions that were divided.
[0107] In one possible implementation, such as Figure 2-2 As shown, the first display effect also includes chromaticity values; pixels with brightness values within the same preset brightness value range are divided into the same area to obtain multiple sub-regions in the under-display camera display area, including:
[0108] Step S201: Divide each pixel whose brightness value is within the same preset brightness value range into the same region to obtain multiple first regions in the under-display camera display area;
[0109] Step S202: Divide each pixel in the first region whose chromaticity value is within the same preset chromaticity value range into the same region to obtain multiple second regions in the under-display camera display area.
[0110] Within the first region divided according to brightness value, the chromaticity values of different pixels can also have different deviations. Therefore, after dividing the under-display camera display area into multiple first regions according to brightness value, the first regions are further divided into multiple second regions according to chromaticity value, such as... Figure 2-3 As shown, this enables fine-grained division of sub-regions.
[0111] The preset chromaticity value range is pre-defined, meaning that pixels within the same preset chromaticity value range can undergo uniform chromaticity compensation, thereby achieving a more refined division of the under-display camera display area.
[0112] In one possible implementation, such as Figure 3 As shown, for each sub-region, the target compensation parameters for that sub-region under target brightness and / or target grayscale are calculated, including:
[0113] Step S301: For each sub-region, determine the chromaticity value of the sub-region, and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds a preset chromaticity value difference threshold.
[0114] Step S302: If yes, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode; if no, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode.
[0115] Step S303: Calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale.
[0116] The desired chromaticity value refers to the standard value in the image corresponding to the target brightness and / or target grayscale. The chromaticity value difference threshold is a value set in advance according to actual needs. If the chromaticity value difference threshold is exceeded, it indicates that the color display effect is not good and RGB monochrome compensation is required.
[0117] When the difference between the chromaticity value of a sub-region and the desired chromaticity value exceeds the preset chromaticity value difference threshold, it indicates that the color display effect of the sub-region is poor, and the deviation in the display effect of red-green-blue (RGB) monochrome is large. For example, there may be obvious color stripes that need to be compensated and adjusted. In this case, the compensation mode of the sub-region is set to RGB monochrome compensation mode.
[0118] When the difference between the chromaticity value of a sub-region and the desired chromaticity value does not exceed the preset chromaticity value difference threshold, it indicates that the color display effect of the sub-region is better, and the deviation in the display effect of red-green-blue (RGB) monochrome is small. Only brightness compensation adjustment is needed. Set the compensation mode of the sub-region to WHITE compensation mode.
[0119] In one example, the amount of data that the WHITE compensation mode needs to calculate and store is less than that of the RGB monochrome compensation mode, approximately one-third of the amount of data required for the RGB monochrome compensation mode.
[0120] In one example, the chromaticity value of a sub-region can be the average of the chromaticity values of each pixel in the sub-region.
[0121] As can be seen from the above, the display compensation method for the display panel provided in this application can determine whether a sub-region needs RGB monochrome compensation mode or WHITE compensation mode based on whether the difference between the chromaticity value of the sub-region and the desired chromaticity value exceeds a preset chromaticity value difference threshold. Then, it calculates the corresponding target compensation parameters according to the compensation mode and performs display compensation. This enables more accurate calculation of the compensation parameters required for the sub-region, thereby achieving more precise and adaptive display compensation for the sub-region. It avoids wasting computing resources and display compensation resources.
[0122] In one possible implementation, such as Figure 4 As shown, according to the compensation mode of the sub-region under the target brightness and / or target grayscale, the target compensation parameters of the sub-region under the target brightness and / or target grayscale are calculated, including:
[0123] Step S401: Determine the basic compensation parameters of the sub-region based on the basic compensation parameters of each pixel in the sub-region;
[0124] Step S402: When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale values of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale values of the image corresponding to the target brightness and / or target grayscale.
[0125] Step S403: When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0126] In one example, the expected RGB monochrome grayscale value refers to the standard R / G / B monochrome grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value refers to the standard brightness grayscale value of the sub-region under the target brightness and / or target grayscale.
[0127] When the compensation mode is RGB monochrome compensation mode, the target compensation parameters can include the positive and negative adjustment grayscale values of the three monochrome colors R / G / B. For example, increase the grayscale of the green monochrome and / or decrease the grayscale of the red monochrome or blue monochrome; increase the grayscale of the red monochrome and / or decrease the grayscale of the green monochrome or blue monochrome; increase the grayscale of the blue monochrome and / or decrease the grayscale of the red monochrome or blue monochrome in order to achieve color balance.
[0128] In one example, the RGB monochrome grayscale value of a sub-region can be the average of the RGB monochrome grayscale values of each pixel in the sub-region.
[0129] When the compensation mode is WHITE compensation mode, the target compensation parameters can include positive and negative adjustment brightness grayscale values. There is no need to calculate the positive and negative adjustment grayscale values of RGB monochrome. You only need to adjust the brightness of the sub-region by adjusting the positive and negative adjustment brightness grayscale values.
[0130] In one example, the brightness grayscale value of a sub-region can be the average brightness grayscale value of each pixel in the sub-region.
[0131] In one possible implementation, the step of calculating the target compensation parameters for the sub-region includes:
[0132] The target compensation parameters for the sub-region are calculated using the following formula:
[0133]
[0134] Where Y is the desired RGB monochrome grayscale value or the desired brightness grayscale value, X is the RGB monochrome grayscale value or brightness grayscale value of the sub-region under the target brightness and / or target grayscale, k and b are the basic compensation parameters, and Factor is the target compensation parameter.
[0135] As can be seen from the above, the display compensation method for the display panel provided in this application calculates the target compensation parameters for each sub-region according to its corresponding compensation mode. Even adjacent sub-regions will not interfere with each other, thus achieving accurate calculation of compensation parameters and accurate compensation of sub-regions.
[0136] In one possible implementation, such as Figure 5 As shown, after calculating the target compensation parameters for the sub-region under target brightness and / or target grayscale, the method further includes:
[0137] Step S501: Compensate each sub-region based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area;
[0138] Step S502: For the compensated under-display camera display area and the non-under-display camera display area, calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
[0139] After compensating each sub-region based on the target compensation parameters of each sub-region, due to the wiring limitations of the under-display camera display area, the area near the center may still fail to achieve the expected result (i.e., the standard display effect of the image under the target brightness and / or target grayscale), resulting in dot-like or small circular Mura bright spots or dark spots. Therefore, the Demura compensation parameters of the entire screen are calculated for the compensated under-display camera display area and the non-under-display camera display area in order to achieve uniformity compensation for the entire display area.
[0140] In one example, the Demura compensation parameters can be calculated using the appropriate Demura compensation algorithm or method based on actual needs.
[0141] As can be seen from the above, the display compensation method for the display panel provided in this application embodiment can, after compensating the sub-region based on the target compensation parameters, also calculate the Demura compensation parameters of the entire display area, and perform uniformity compensation for the under-display camera display area and the non-under-display camera display area.
[0142] In one possible implementation, when the display panel is displayed at the target brightness and / or target grayscale, after performing display compensation based on the basic compensation parameters and target compensation parameters of each sub-region, the method further includes:
[0143] Demura compensation is performed on the display area based on the Demura compensation parameters of the display area at the target brightness and / or target grayscale.
[0144] When the display panel is displayed at the target brightness and / or target grayscale, after performing display compensation on each sub-area according to the basic compensation parameters and target compensation parameters, the display area is subjected to overall Demura compensation. This achieves multiple precise compensations for the under-display camera display area, as well as overall compensation for the under-display camera display area and the non-under-display camera display area. While improving the display effect of the under-display camera display area at low brightness and low grayscale, it also improves the overall brightness and color uniformity of the under-display camera display area and the non-under-display camera display area.
[0145] In one optional embodiment, the basic compensation parameters for each pixel of the under-display camera display area, the target compensation parameters for each sub-region of the under-display camera display area, and the Demura compensation parameters for the entire display area can all be stored in the registers of the display panel. Specifically, they can be programmed once (OTP) in the driver IC memory or burned into the flash memory chip. Whenever the display panel displays an image, the compensation parameters are directly retrieved from the memory for display compensation, thereby obtaining the compensated display effect or the effect of power-on reset (Reload).
[0146] In one optional embodiment, after dividing the sub-regions, the number and size of each sub-region, such as ring width and radius, can be obtained, and the compensation mode and compensation parameters of each sub-region can be determined. All of these are stored in registers, and the specific storage location is determined by the register value of the page in the available sector (SECTOR).
[0147] For example, define it at the beginning of a available page, and obtain, for example... Figure 6The dimensions a0, a1, a2, a3, a4, etc., shown, are mapped using a pixel map. Each dimension occupies two bytes for its corresponding row and column number; that is, the x-coordinate occupies 16 bits and the y-coordinate occupies 16 bits. A 12-bit ring width is then used to define the sub-region's width, which defines the number of pixels that can be compensated synchronously within the same sub-region. Other parameters are defined using 8 bits, sequentially divided into different compensation values for different brightness and grayscale levels. Target compensation parameters between undefined binding points are calculated using linear interpolation. Starting from the outermost annular sub-region of the under-display camera display area, the parameters converge inwards, continuing to define a5 to aN and the ring width as shown in the figure, until all compensation parameters for all sub-regions are set. Finally, after all compensation parameters are written to the chip (IC reload) and visually verified, they are either written to RAM via OTP or erased and burned into Flash memory.
[0148] In one optional embodiment, the compensation mode for each sub-region can be set separately and independently at the starting register position, so adjacent sub-regions do not interfere with each other. Because the WHITE compensation mode only adjusts the brightness grayscale, without compressing the data, the data write volume of the WHITE compensation mode is only 1 / 3 of that of the RGB monochrome compensation mode, which can greatly save data write or storage space used in Flash.
[0149] When a display panel uses dual-hole or multi-hole cameras on the front, different under-display camera display areas within the same display area may exhibit the same display defects due to identical wiring. Therefore, compensation parameters support multi-ring linkage. The contents of the sub-regions stored in registers (e.g., row and column numbers) are added to the registers at the corresponding defined locations for each under-display camera display area requiring the same compensation parameters. This ensures that the compensation parameters used by each under-display camera display area are consistent, allowing each area to use the same compensation parameters for display compensation. This avoids the problem of significant display differences between different under-display camera display areas that may result from dual-hole or multi-hole cameras. If non-adjacent sub-regions within the same under-display camera display area have the same compensation parameters, they can also be stored in this way.
[0150] For more precise compensation, the first sub-region of each ring can be further subdivided into different sub-regions, and the compensation parameters do not need to be linked. For example, the 1 / 4 ring from a0 to a1 in Area1 can use different compensation parameters than the 1 / 4 ring from a1 to a2, simply by indicating them separately in the register corresponding to Area1. To effectively address the non-fixed display differences in the under-display camera display area, the division of the first sub-region is not limited to a standard 1 / 4 partition.
[0151] When the sub-region is close to the under-display camera display area and the non-under-display camera display area, the compensation method provided in this application embodiment can also effectively improve some of the visually obvious progressive hole dark ring defects that exist in the initial state (T0) at the edge of the under-display camera opening. If not compensated, these hole dark rings will become more and more serious over time or as the screen ages.
[0152] After sub-region compensation is completed, the display area is treated as a whole for Demura compensation. Compensation is performed using basic parameters, followed by further subdivision based on display effects and then target compensation parameters. This significantly improves the display effect of the under-display camera area, bringing the display effect of low-brightness, low-grayscale under-display camera areas down to a level very close to that of the actual under-display camera area. In the overall Demura compensation, there is no longer the risk of interpolating incorrect display effects in low-brightness and low-grayscale areas due to significant differences in display effects. This maximizes the utilization of the binding points limited by chip design in Demura compensation, and also greatly improves the overall screen display effect, image quality yield, and shipment yield of under-display camera products.
[0153] Furthermore, during the debugging of under-display camera products, it can be confirmed that without changing the display panel and other process conditions, the display area of the under-display camera in most under-display camera products can be compensated using the solution provided in the embodiments of this application, so that the improved under-display camera products are mass-producible.
[0154] like Figure 7 As shown in the figure, this application embodiment also provides a structural schematic diagram of a display compensation device for a display panel.
[0155] The display panel's display area includes an under-display camera display area and a non-under-display camera display area. The device includes:
[0156] The inspection screen acquisition module 701 is used to compensate the anchor inspection screen based on the basic compensation parameters when the anchor inspection screen is displayed in the under-display camera display area to obtain the compensated inspection screen; the brightness of the anchor inspection screen is lower than the first brightness threshold, and the gray level of the anchor inspection screen is lower than the first gray level threshold.
[0157] The display effect acquisition module 702 is used to acquire the first display effect of each pixel of the compensated inspection screen;
[0158] The sub-region division module 703 is used to divide the under-display camera display area into multiple sub-regions based on the first display effect of each pixel;
[0159] The compensation parameter calculation module 704 is used to calculate the target compensation parameters for each sub-region under the target brightness and / or target grayscale.
[0160] The display compensation module 705 is used to perform display compensation based on the basic compensation parameters and target compensation parameters of each sub-region when the display panel is displayed at the target brightness and / or target grayscale.
[0161] As can be seen from the above, the display compensation device for the display panel provided in this application compensates for the low-brightness, low-grayscale anchor inspection screen based on basic compensation parameters. It obtains and, based on the display effect of each pixel in the compensated inspection screen, divides the under-display camera display area into multiple sub-regions with different display effects. For each sub-region, it calculates its compensation parameters under the target brightness and / or target grayscale screen, enabling further refined compensation of the under-display camera display area. This improves the display effect of the under-display camera display area under low brightness and low grayscale, making its display effect in low brightness and low grayscale consistent with that of the non-under-display camera display area. This solves the problem of low-brightness, low-grayscale under-display camera display areas lowering the display level and product yield of full-screen products, greatly improving the production yield and market competitiveness of full-screen products with under-display cameras.
[0162] In one possible implementation, the first display effect includes a brightness value;
[0163] Sub-region partitioning module 703 includes:
[0164] The first division submodule is used to divide pixels whose brightness values are within the same preset brightness value range into the same region, thereby obtaining multiple sub-regions in the under-display camera display area.
[0165] In one possible implementation, the first display effect further includes chromaticity values; the first partitioning submodule is specifically used for:
[0166] Each pixel whose brightness value is within the same preset brightness value range is divided into the same region, resulting in multiple first regions in the under-display camera display area;
[0167] Each pixel in the first region whose chromaticity value is within the same preset chromaticity value range is divided into the same region, resulting in multiple second regions in the under-display camera display area.
[0168] In one possible implementation, the compensation parameter calculation module 704 includes:
[0169] The chromaticity value determination submodule is used to determine the chromaticity value of each sub-region and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds the preset chromaticity value difference threshold.
[0170] The compensation mode determination submodule is used to determine, if yes, the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode, and if no, the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode.
[0171] The compensation parameter determination submodule is used to calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale.
[0172] In one possible implementation, the compensation parameter determining submodule is specifically used for:
[0173] The basic compensation parameters of the sub-region are determined based on the basic compensation parameters of each pixel in the sub-region.
[0174] When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale values of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale values of the image corresponding to the target brightness and / or target grayscale.
[0175] When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
[0176] In one possible implementation, the compensation parameter determining submodule is specifically used for:
[0177] The target compensation parameters for the sub-region are calculated using the following formula:
[0178]
[0179] Where Y is the desired RGB monochrome grayscale value or the desired brightness grayscale value, X is the RGB monochrome grayscale value or brightness grayscale value of the sub-region under the target brightness and / or target grayscale, k and b are the basic compensation parameters, and Factor is the target compensation parameter.
[0180] In one possible implementation, the device further includes:
[0181] The under-display camera display area compensation module is used to compensate each sub-region based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area.
[0182] The display area compensation parameter calculation module is used to calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale for the compensated under-display camera display area and the non-under-display camera display area.
[0183] In one possible implementation, the device further includes:
[0184] The Demura compensation module is used to perform Demura compensation on the display area according to the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
[0185] This application also provides an electronic device, such as... Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.
[0186] Memory 803 is used to store computer programs;
[0187] When processor 801 executes a program stored in memory 803, it performs the following steps:
[0188] Step S101: When the anchoring inspection image is displayed in the under-display camera display area, the anchoring inspection image is compensated based on the basic compensation parameters to obtain the compensated inspection image; the brightness of the anchoring inspection image is lower than the first brightness threshold, and the grayscale of the anchoring inspection image is lower than the first grayscale threshold; Step S102: Obtain the first display effect of each pixel of the compensated inspection image; Step S103: Divide the under-display camera display area into multiple sub-regions according to the first display effect of each pixel; Step S104: For each sub-region, calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale; Step S105: When the display panel is displayed under the target brightness and / or target grayscale, display compensation is performed according to the basic compensation parameters and target compensation parameters of each sub-region.
[0189] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0190] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0191] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0192] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0193] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0194] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of the display compensation method for any of the above-described display panels.
[0195] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the display compensation method for any of the display panels described in the above embodiments.
[0196] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0197] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0198] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0199] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A display compensation method for a display panel, characterized in that, The display panel includes an under-display camera display area and a non-under-display camera display area. The method includes: When the anchoring inspection image is displayed in the under-display camera display area, the anchoring inspection image is compensated based on the basic compensation parameters to obtain the compensated inspection image; the brightness of the anchoring inspection image is lower than the first brightness threshold, and the grayscale of the anchoring inspection image is lower than the first grayscale threshold. Obtain the first display effect of each pixel of the compensated inspection screen; Based on the first display effect of each pixel, the display area of the under-display camera is divided into multiple sub-regions; For each of the sub-regions, calculate the target compensation parameters for that sub-region under the target brightness and / or target grayscale. When the display panel displays at the target brightness and / or target grayscale, it performs display compensation based on the basic compensation parameters and target compensation parameters of each sub-region.
2. The display compensation method according to claim 1, characterized in that, The first display effect includes brightness value; The step of dividing the under-display camera display area into multiple sub-regions based on the first display effect of each pixel includes: Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple sub-regions in the under-display camera display area.
3. The display compensation method according to claim 2, characterized in that, The first display effect also includes chromaticity values; the step of dividing each pixel whose brightness value is within the same preset brightness value range into the same region to obtain multiple sub-regions in the under-display camera display area includes: Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple first regions in the display area of the under-display camera; Each pixel in the first region whose chromaticity value is within the same preset chromaticity value range is divided into the same region to obtain multiple second regions in the display area of the under-display camera.
4. The display compensation method according to any one of claims 1-3, characterized in that, For each of the sub-regions, the calculation of the target compensation parameters for that sub-region under target brightness and / or target grayscale includes: For each sub-region, determine the chromaticity value of the sub-region, and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds a preset chromaticity value difference threshold. If yes, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode; if no, determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode. Calculate the target compensation parameters for the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale.
5. The display compensation method according to claim 4, characterized in that, The step of calculating the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale includes: The basic compensation parameters of the sub-region are determined based on the basic compensation parameters of each pixel in the sub-region. When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale value of the image corresponding to the target brightness and / or target grayscale. When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
6. The display compensation method according to claim 5, characterized in that, The steps for calculating the target compensation parameters for the sub-region include: The target compensation parameters for the sub-region are calculated using the following formula: ; Wherein, Y is the desired RGB monochrome grayscale value or the desired brightness grayscale value, X is the RGB monochrome grayscale value or brightness grayscale value of the sub-region under the target brightness and / or target grayscale, k and b are the basic compensation parameters, and Factor is the target compensation parameter.
7. The display compensation method according to any one of claims 1-3, characterized in that, After calculating the target compensation parameters for the sub-region under target brightness and / or target grayscale, the method further includes: The sub-regions are compensated based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area; For the compensated under-display camera display area and the non-under-display camera display area, calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
8. The display compensation method according to claim 7, characterized in that, When the display panel is displayed at the target brightness and / or target grayscale, after performing display compensation based on the basic compensation parameters and target compensation parameters of each sub-region, the method further includes: Demura compensation is performed on the display area based on the Demura compensation parameters of the display area at the target brightness and / or target grayscale.
9. A display compensation device for a display panel, characterized in that, The display panel includes an under-display camera display area and a non-under-display camera display area. The device includes: The inspection image acquisition module is used to compensate the anchor inspection image based on basic compensation parameters when the anchor inspection image is displayed in the display area of the under-display camera to obtain the compensated inspection image; the brightness of the anchor inspection image is lower than a first brightness threshold, and the grayscale of the anchor inspection image is lower than a first grayscale threshold. The display effect acquisition module is used to acquire the first display effect of each pixel of the compensated inspection screen; The sub-region division module is used to divide the under-display camera display area into multiple sub-regions according to the first display effect of each pixel; The compensation parameter calculation module is used to calculate the target compensation parameters for each sub-region under the target brightness and / or target grayscale. The display compensation module is used to perform display compensation based on the basic compensation parameters and target compensation parameters of each sub-region when the display panel is displayed at the target brightness and / or target grayscale.
10. The display compensation device according to claim 9, characterized in that, The first display effect includes brightness value; The sub-region division module includes: The first division submodule is used to divide each pixel whose brightness value is within the same preset brightness value range into the same region, thereby obtaining multiple sub-regions in the display area of the under-display camera. The first display effect also includes chromaticity values; the first partitioning submodule is specifically used for: Each pixel whose brightness value is within the same preset brightness value range is divided into the same region to obtain multiple first regions in the display area of the under-display camera; Each pixel in the first region whose chromaticity value is within the same preset chromaticity value range is divided into the same region to obtain multiple second regions in the display area of the under-display camera.
11. The display compensation device according to claim 9 or 10, characterized in that, The compensation parameter calculation module includes: The chromaticity value determination submodule is used to determine the chromaticity value of each sub-region and determine whether the difference between the chromaticity value of the sub-region and the expected chromaticity value of the image corresponding to the target brightness and / or target grayscale exceeds a preset chromaticity value difference threshold. The compensation mode determination submodule is used to determine, if yes, that the compensation mode of the sub-region under the target brightness and / or target grayscale is RGB monochrome compensation mode, and if no, to determine that the compensation mode of the sub-region under the target brightness and / or target grayscale is WHITE compensation mode. The compensation parameter determination submodule is used to calculate the target compensation parameters of the sub-region under the target brightness and / or target grayscale according to the compensation mode of the sub-region under the target brightness and / or target grayscale. The compensation parameter determination submodule is specifically used for: The basic compensation parameters of the sub-region are determined based on the basic compensation parameters of each pixel in the sub-region. When the compensation mode is RGB monochrome compensation mode, the target compensation parameters of the sub-region are calculated based on the basic compensation parameters, the RGB monochrome grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected RGB monochrome grayscale value of the image corresponding to the target brightness and / or target grayscale. When the compensation mode is WHITE compensation mode, the target compensation parameters of the sub-region are calculated based on the basic parameter values, the brightness grayscale value of the sub-region under the target brightness and / or target grayscale, and the expected brightness grayscale value of the image corresponding to the target brightness and / or target grayscale.
12. The display compensation device according to claim 9 or 10, characterized in that, The device further includes: The under-display camera display area compensation module is used to compensate each sub-region based on the target compensation parameters of each sub-region to obtain the compensated under-display camera display area. The display area compensation parameter calculation module is used to calculate the Demura compensation parameters of the display area under the target brightness and / or target grayscale for the compensated under-display camera display area and the non-under-display camera display area. The device further includes: The Demura compensation module is used to perform Demura compensation on the display area according to the Demura compensation parameters of the display area under the target brightness and / or target grayscale.
13. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method described in any one of claims 1-8.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-8.