A brightness compensation method and electronic device

By acquiring and applying grayscale compensation tables under different mura modes of the display screen, brightness compensation and superposition correction are performed on the display screen, solving the problem of uneven display in various scenarios and improving display uniformity.

CN119274501BActive Publication Date: 2026-01-06HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410411788.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2026-01-06
Estimated Expiration
2044-04-07

AI Technical Summary

Technical Problem

Existing demura technology is not effective at compensating for screen brightness and cannot effectively solve the problem of uneven display in different scenarios.

Method used

The electronic device acquires the grayscale compensation table of the display screen under different mura modes, and performs brightness compensation on each pixel according to the compensation table corresponding to the target mura mode, including grayscale correction and overlay compensation under multiple mura modes, and optimizes storage and calculation methods to improve the demura effect.

Benefits of technology

It achieves uniformity of display across different scenarios, improves demura effects, and solves the problem of uneven display across different brightness, refresh rates, burn-in, and AOD scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119274501B_ABST
    Figure CN119274501B_ABST
Patent Text Reader

Abstract

This application discloses a brightness compensation method and an electronic device, relating to the field of electronic device technology. The method includes: the electronic device acquiring a grayscale compensation table corresponding to different mura modes of the display screen. When the display screen is in a target mura mode, the electronic device compensates the grayscale values ​​of each pixel in the display screen according to the compensation grayscale values ​​corresponding to each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display based on the compensated grayscale values. In this application, the electronic device can acquire a grayscale compensation table for different mura modes of the display screen, and the brightness compensation operation can be applied to multiple mura scenarios appearing on the display screen. By performing demura operations on multiple mura modes, the demura effect of the display screen is effectively improved, enabling the display screen to achieve a uniform display effect in different scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic device technology, and in particular to a brightness compensation method and an electronic device. Background Technology

[0002] With the continuous advancement of display technology and the expansion of application scenarios, the requirements for display devices in terms of image quality and visual experience are becoming increasingly stringent. However, due to factors such as manufacturing processes, material selection, and usage environment, displays often exhibit uneven display in practical applications; this phenomenon is known as mura. Mura on a display screen negatively impacts the user's viewing experience.

[0003] To eliminate display unevenness, demura technology was developed. Demura technology compensates for the brightness of individual pixels on the display by calculating the compensation grayscale value, thus solving the problem of display unevenness. However, existing demura technologies are not very effective at compensating for display brightness. Summary of the Invention

[0004] This application provides a brightness compensation method and an electronic device for solving the brightness compensation of a display screen under different mura modes. By performing demura operations on multiple mura modes, the demura effect of the display screen is effectively improved, enabling the display screen to achieve a uniform display effect in different scenarios.

[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions.

[0006] Firstly, a brightness compensation method is provided, the method comprising:

[0007] The electronic device acquires grayscale compensation tables corresponding to different mura modes of the display screen; different mura modes include at least two different mura modes among the multiple mura states presented by the display screen at different brightness, the mura mode presented when the display screen is in burn-in, and the mura mode presented when the display screen is always displaying AOD; a grayscale compensation table includes the grayscale values ​​that need to be compensated for each pixel in the display screen under a mura mode.

[0008] When the display screen is in the target mura mode, the electronic device compensates the grayscale value of each pixel in the display screen according to the compensation grayscale value of each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display according to the compensation grayscale value.

[0009] The target mura morphology is at least one of the different mura morphologies.

[0010] In this application, when an electronic device detects that the display screen is in one or more mura modes, the electronic device can perform brightness compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the mura mode, thereby achieving grayscale correction of each pixel in the display screen and effectively solving the mura problem that occurs on the display screen. Since the electronic device can obtain the grayscale compensation table for the display screen under different mura modes, the operation of the electronic device to perform brightness compensation with the corresponding grayscale compensation table can be applied to multiple mura scenarios that occur on the display screen. Compared with the current electronic devices that only store the grayscale compensation table corresponding to the mura mode at the factory, the brightness compensation method provided in this application embodiment can perform demura operation from multiple dimensions for multiple mura modes, effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0011] In one possible implementation of the first aspect, the target mura shape includes a first mura shape or a second mura shape; the first mura shape corresponds to a first grayscale compensation table, and the second mura shape corresponds to a second grayscale compensation table.

[0012] When the electronic device's display screen is in the target mura mode, it compensates the grayscale values ​​of each pixel in the display screen according to the compensation grayscale values ​​corresponding to each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display according to the compensated grayscale values, including:

[0013] When the electronic device is in the first mura mode, the electronic device obtains the first compensated grayscale value corresponding to each pixel according to the first grayscale compensation table, compensates the grayscale value of each pixel in the display screen, and controls the pixels of the display screen to display according to the grayscale value after compensation by the first compensated grayscale value.

[0014] or,

[0015] When the electronic device is in the second mura mode, the electronic device obtains the second compensation grayscale value corresponding to each pixel according to the second grayscale compensation table, compensates the grayscale value of each pixel in the display screen, and controls the pixels of the display screen to display according to the grayscale value after compensation by the second compensation grayscale value.

[0016] In this application, when the electronic device detects that the display screen is in a certain mura state, the electronic device can perform brightness compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the mura state, thereby realizing grayscale correction of each pixel in the display screen and effectively solving the mura problem that occurs in the display screen.

[0017] In another possible implementation of the first aspect, the target mura shape includes at least a first mura shape and a second mura shape; the first mura shape corresponds to a first grayscale compensation table, and the second mura shape corresponds to a second grayscale compensation table.

[0018] When the electronic device's display screen is in the target mura mode, it compensates the grayscale values ​​of each pixel in the display screen according to the compensation grayscale values ​​corresponding to each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display according to the compensated grayscale values, including:

[0019] The electronic device obtains the first compensation grayscale value corresponding to each pixel according to the first grayscale compensation table, and obtains the second compensation grayscale value corresponding to each pixel according to the second grayscale compensation table.

[0020] The electronic device superimposes the first and second compensation grayscale values ​​of the same pixel to obtain the first superimposed compensation grayscale value.

[0021] The electronic device compensates the grayscale values ​​of each pixel in the display screen based on the first superimposed compensation grayscale value, and controls the pixels of the display screen to display according to the grayscale values ​​after compensation by the first superimposed compensation grayscale value.

[0022] In this application, when the electronic device detects that the display screen is in multiple mura modes, the electronic device can perform brightness superposition compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the multiple mura modes, and perform demura operation for multiple mura modes, which effectively improves the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0023] In another possible implementation of the first aspect, when the target mura shape includes at least two mura shapes, the target mura shape includes any two or more of the following mura shapes: the mura shape presented by the display at a certain brightness, the mura shape presented by the display at a certain refresh rate, the mura shape presented by the display during burn-in, and the mura shape presented by the display during AOD.

[0024] In this application, the display screen can be in multiple mura modes simultaneously. By combining the mura modes that the display screen may actually be in, the demura effect of the display screen is effectively improved, so that the display screen can achieve a uniform display effect in different scenarios.

[0025] In another possible implementation of the first aspect, the method further includes:

[0026] When an electronic device detects that the display screen is burn-in, it periodically acquires the burn-in brightness data of the display screen.

[0027] Based on the burn-in brightness data, the electronic device updates the compensation grayscale values ​​corresponding to each pixel of the display screen when the screen is in the mura state presented during burn-in.

[0028] The electronic device updates the grayscale compensation table corresponding to the mura pattern presented by the display screen when it is in burn-in, based on the compensation grayscale values ​​corresponding to each pixel in the updated display screen.

[0029] In this application, when the display screen is in a burn-in state, the generated brightness data may change in real time. This application allows for the periodic or real-time acquisition of brightness data to update the grayscale compensation table corresponding to the burn-in state, resulting in a more accurate demura effect for the burn-in state.

[0030] In another possible implementation of the first aspect, before the electronic device acquires the grayscale compensation table corresponding to the display screen in different mura modes, the method further includes:

[0031] Electronic devices acquire brightness data of each pixel on the display screen when the display screen is in a mura mode.

[0032] Electronic devices obtain the compensation grayscale value of each pixel in a certain mura mode based on the brightness data of each pixel in the display screen.

[0033] Electronic devices obtain a grayscale compensation table corresponding to a mura pattern based on the compensation grayscale values ​​of each pixel in the display screen.

[0034] In this application, the grayscale compensation tables corresponding to different mura modes can be calculated and obtained based on the brightness data corresponding to the scene of each mura mode. For example, the brightness data of the display at a first brightness level can be obtained to obtain the grayscale compensation table corresponding to the mura mode presented at the first brightness level; the brightness data of the display at a second brightness level can be obtained to obtain the grayscale compensation table corresponding to the mura mode presented at the second brightness level; the brightness data of the display at a first refresh rate can be obtained to obtain the grayscale compensation table corresponding to the mura mode presented at the first refresh rate; the brightness data of the display during burn-in can be obtained to obtain the grayscale compensation table corresponding to the mura mode presented during burn-in; and so on. In this way, the electronic device can store the grayscale compensation tables corresponding to the different mura modes presented by the display in different scenes. During the demura process, brightness compensation can be performed for multiple scenes, resulting in a better demura effect and more uniform display.

[0035] In another possible implementation of the first aspect, the electronic device obtains the first compensated grayscale value of each pixel in a mura mode based on the first brightness data of each pixel in the display screen, including:

[0036] Electronic devices acquire a preset gain value corresponding to a mura mode.

[0037] The electronic device obtains the grayscale deviation of each pixel based on the deviation between the brightness data and the reference brightness data corresponding to a mura pattern.

[0038] The electronic device obtains the compensated grayscale value of each pixel in a certain mura mode by multiplying the grayscale deviation of each pixel with the preset gain value.

[0039] In this application, a preset gain value corresponding to the mura shape presented in each scene can be set based on empirical values. The display screen is modeled to obtain the deviation between actual brightness data (brightness data under the mura shape) and reference brightness data (brightness data under uniform display conditions, without the ideal brightness data under the mura shape). Therefore, based on the preset gain value, the deviation, and the grayscale bit values ​​corresponding to different scenes, the compensated grayscale value corresponding to each pixel under the mura shape presented in each scene is obtained. Modeling the display screen and calculating the compensated grayscale value based on the preset gain value results in a relatively accurate and realistic compensated grayscale value.

[0040] In another possible implementation of the first aspect, the electronic device obtains a grayscale compensation table corresponding to a mura mode based on the compensation grayscale values ​​of each pixel in the display screen under a mura mode, including:

[0041] Electronic devices divide each pixel in the display screen into multiple regions based on a preset size and the size of the display screen, using the preset size as the unit.

[0042] The electronic device uses the average of the first compensated grayscale values ​​of all pixels in each region block as the compensated grayscale value of the region block.

[0043] The electronic device uses the compensation grayscale values ​​of all regions as a corresponding grayscale compensation table.

[0044] In this application, the compensated grayscale values ​​can be processed according to a preset size to obtain a grayscale compensation table containing compensated grayscale values ​​of region blocks. That is, the grayscale compensation table can include compensated grayscale values ​​for region blocks of 1*1. The number of pixels in the display screen is consistent with the number of compensated grayscale values ​​in the grayscale compensation table. The grayscale compensation table can also include compensated grayscale values ​​for region blocks of n*m. The number of compensated grayscale values ​​in the grayscale compensation table is the number of pixels in the display screen / n*m. This reduces the number of compensated grayscale values ​​in the grayscale compensation table, reduces the space occupied by the grayscale compensation table, and optimizes the storage performance and read / write performance of the grayscale compensation table.

[0045] In another possible implementation of the first aspect, the target mura shape includes at least a third mura shape and a fourth mura shape; the third mura shape corresponds to a third grayscale compensation table, and the fourth mura shape corresponds to a fourth grayscale compensation table; the fourth grayscale compensation table includes the difference between the grayscale values ​​of each pixel in the third grayscale compensation table and the grayscale values ​​of each pixel in the fourth mura shape.

[0046] When the electronic device's display screen is in the target mura mode, it compensates each pixel in the display screen according to the compensation grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display according to the compensation grayscale value, including:

[0047] The electronic device obtains the third compensation grayscale value corresponding to each pixel according to the third grayscale compensation table.

[0048] The electronic device uses the sum of the difference between the third compensation grayscale value of the same pixel and the value in the fourth grayscale compensation table as the fourth compensation grayscale value for each pixel.

[0049] The electronic device superimposes the third compensation grayscale value corresponding to each pixel and the fourth compensation grayscale value corresponding to each pixel to obtain the second superimposed compensation grayscale value.

[0050] The electronic device compensates the grayscale values ​​of each pixel in the display screen based on the second superimposed compensation grayscale value, and controls the pixels of the display screen to display according to the grayscale values ​​after compensation by the second superimposed compensation grayscale value.

[0051] In this application, the electronic device can also store a difference table calculated from the grayscale compensation table as a grayscale compensation table corresponding to a certain mura mode for brightness compensation. Storing the difference table can reduce the storage space occupied by the electronic device and optimize the storage performance and read / write performance of the grayscale compensation table compared to storing the complete grayscale compensation table.

[0052] Secondly, a chip is provided for use in electronic devices, including displays; the chip includes a processor and interface circuitry.

[0053] The processor is used to obtain grayscale compensation tables corresponding to different mura modes of the display screen; different mura modes include at least two different mura modes among the following: the display screen presents multiple mura states at different brightness levels, the display screen presents a mura mode when it is in burn-in, and the display screen presents a mura mode when it is always displaying AOD; a grayscale compensation table includes the grayscale values ​​that need to be compensated for each pixel in the display screen under a certain mura mode.

[0054] The processor is also configured to, when the display is in the target mura mode, compensate the grayscale value of each pixel in the display according to the compensation grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura mode, so as to obtain the target compensation grayscale value of each pixel in the display; wherein, the target mura mode is at least one of different mura modes.

[0055] The interface circuit is used to send the target compensation grayscale values ​​of each pixel of the display screen to the display screen.

[0056] In this application, when an electronic device detects that the display screen is in one or more mura modes, the electronic device can use different compensation modules to perform brightness compensation on each pixel in the display screen based on its stored grayscale compensation table, thereby achieving grayscale correction of each pixel in the display screen and effectively solving the mura problem. Different compensation modules can independently perform demura in different scenarios, or they can perform superimposed demura for multiple scenarios. Performing demura operations for multiple mura modes effectively improves the demura effect of the display screen, enabling the display screen to achieve a uniform display effect in different scenarios.

[0057] In one possible implementation of the second aspect, the processor includes at least a first compensation module and a second compensation module; the first compensation module operates on a first mura shape, the first mura shape corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module operates on a second mura shape, the second mura shape corresponds to a second grayscale compensation table, and the second grayscale compensation table is stored in the second compensation module.

[0058] The first compensation module, when the display screen is in the first mura mode, obtains the first compensation grayscale value corresponding to each pixel according to the first grayscale compensation table.

[0059] The second compensation module, when the display screen is in the second mura mode, obtains the second compensation grayscale value corresponding to each pixel according to the second grayscale compensation table.

[0060] An interface circuit is used to send the first compensated grayscale value and / or the second compensated grayscale value of each pixel of the display screen to the display screen.

[0061] In another possible implementation of the second aspect, the processor includes at least a first compensation module and a second compensation module; the first compensation module operates on a first mura shape, the first mura shape corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module operates on a second mura shape, the second mura shape corresponds to a second grayscale compensation table, and the second grayscale compensation table is stored in the second compensation module.

[0062] The first compensation module, when the display screen is in the first mura mode, obtains the first compensation grayscale value corresponding to each pixel according to the first grayscale compensation table.

[0063] The second compensation module, when the display screen is in the second mura mode, obtains the second compensation grayscale value corresponding to each pixel according to the second grayscale compensation table.

[0064] The second compensation module is also used to superimpose the first compensation grayscale value corresponding to the same pixel and the second compensation grayscale value corresponding to each pixel to obtain the first target compensation grayscale value of each pixel in the display screen.

[0065] The interface circuit is used to send the first target compensation grayscale value of each pixel of the display screen to the display screen.

[0066] In another possible implementation of the second aspect, the processor includes a third compensation module, which is used to display the mura pattern when the display is in burn-in. The mura pattern displayed when the display is in burn-in corresponds to a third grayscale compensation table, which is stored in the third compensation module.

[0067] The third compensation module is used to periodically acquire the burn-in brightness data of the display screen when the screen is detected to be burning in; based on the burn-in brightness data, update the third compensation grayscale value corresponding to each pixel of the display screen in the mura mode presented when the screen is burning in; based on the updated third compensation grayscale value corresponding to each pixel of the display screen, update the third grayscale compensation table corresponding to the mura mode presented when the screen is burning in.

[0068] In another possible implementation of the second aspect, the processor includes at least a fourth compensation module and a fifth compensation module; the fourth compensation module operates on a fourth mura shape, the fourth mura shape corresponds to a fourth grayscale compensation table, and the fourth grayscale compensation table is stored in the fourth compensation module; the fifth compensation module operates on a fifth mura shape, the fifth mura shape corresponds to a fifth grayscale compensation table, the fifth grayscale compensation table includes the difference between the grayscale values ​​of each pixel in the fourth grayscale compensation table and the grayscale values ​​of each pixel in the fifth mura shape, and the fifth grayscale compensation table is stored in the fifth compensation module.

[0069] The fourth compensation module, when the display is in the fourth mura mode, obtains the fourth compensation grayscale value corresponding to each pixel according to the fourth grayscale compensation table.

[0070] The fifth compensation module, when the display is in the fifth mura mode, uses the sum of the fourth compensation grayscale value of the same pixel and the difference in the fifth grayscale compensation table as the fifth compensation grayscale value of each pixel.

[0071] The fifth compensation module is also used to superimpose the fourth compensation grayscale value corresponding to each pixel and the fifth compensation grayscale value corresponding to each pixel to obtain the second target compensation grayscale value of each pixel in the display screen.

[0072] The interface circuit is used to send the second target compensation grayscale value of each pixel of the display screen to the display screen.

[0073] In this application, the compensation module can store a difference table calculated from the grayscale compensation table as a new grayscale compensation table for brightness compensation. Storing the difference table reduces the storage space required by the compensation module compared to storing the complete grayscale compensation table.

[0074] Thirdly, an electronic device is provided, comprising the chip described in any one of the second aspects above.

[0075] Fourthly, an electronic device is provided, comprising a display screen, a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described in any of the first aspects above.

[0076] Fifthly, a computer-readable storage medium is provided that stores instructions which, when executed by a processor, implement the steps of the method described in any of the first aspects above.

[0077] In a sixth aspect, a computer program product comprising instructions is provided, including a computer program / instructions that, when executed by a processor, implement the steps of the method described in any of the first aspects above.

[0078] It is understood that the beneficial effects achieved by the chip described in the second aspect, the electronic devices described in the third and fourth aspects, the computer-readable storage medium described in the fifth aspect, and the computer program product described in the sixth aspect can be referred to the beneficial effects in the first aspect and any of its possible design embodiments, which will not be repeated here. Attached Figure Description

[0079] Figure 1 A flowchart of a brightness compensation method provided in an embodiment of this application;

[0080] Figure 2 This is a schematic diagram illustrating how an electronic device acquires brightness data, as provided in an embodiment of this application.

[0081] Figure 3 A schematic diagram comparing the actual brightness data and reference brightness data of each pixel of a display screen provided in an embodiment of this application;

[0082] Figure 4 This application provides a schematic diagram illustrating the relationship between a display screen and block size.

[0083] Figure 5 This is a schematic diagram of the functional modules of an electronic device provided in an embodiment of this application;

[0084] Figure 6 This is a schematic diagram of the structure of a functional module of another electronic device provided in an embodiment of this application;

[0085] Figure 7 This is a schematic diagram of the structure of a functional module of another electronic device provided in an embodiment of this application;

[0086] Figure 8 A schematic diagram illustrating the execution of three compensation modules in an electronic device according to an embodiment of this application;

[0087] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0088] Figure 10 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0089] In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0090] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.

[0091] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0092] The causes of mura in displays can include factors such as the materials used in each film layer during manufacturing, the processes employed in forming each film layer, and the aging and wear of materials during the display's use. For example, if some film layers use materials of uneven quality or contain impurities during manufacturing, it may lead to uneven textures or patterns on the display surface, resulting in mura. Improper process parameter settings or operational errors during manufacturing can also cause mura. Furthermore, unstable or improperly controlled conditions such as temperature and humidity during the coating of liquid crystal layers or alignment of liquid crystal molecules can also lead to mura. Prolonged use and frequent switching can cause aging and wear of display components, such as the backlight module and LCD panel. This aging and wear can result in uneven brightness or color inconsistencies, leading to mura. Additionally, external pressure, vibration, or temperature and humidity changes during transportation, installation, or use can cause deformation or loosening of the internal structure of the display, triggering mura. Finally, improper control parameters and processes during manufacturing can lead to poor matching or inaccurate assembly between display components, resulting in mura.

[0093] The mura phenomenon on displays can negatively impact user experience and perception. To address this issue, demura technology was developed. By compensating for the brightness of the display's pixels, it corrects the mura phenomenon, thereby improving the uniformity and consistency of the display.

[0094] Demura technology uses a complementary metal-oxide-semiconductor (CMOS) camera or a charge-coupled device (CCD) camera to capture the brightness data of each pixel in an organic light-emitting diode (OLED) module at different gray levels. Based on this brightness data, a compensation gray level value is calculated for each pixel at each gray level, and then brightness compensation is applied to each pixel based on this calculated compensation gray level value. For example, an nth-degree equation curve is fitted using the least squares method to compensate the brightness of each pixel across the entire grayscale (0-255), thereby correcting the mura phenomenon.

[0095] For demura technology on displays operating at low brightness, brightness compensation is typically achieved by mapping pixels to compensation values. However, existing OLED displays are prone to "smudged screen" issues. A smudged screen typically refers to a poor display quality characterized by an overall grayish and dirty-looking color, and visible grainy textures resembling a rough cloth. The demura pattern differs between direct current (DC) and pulse width modulation (PWM) dimming modes, leading to poor compensation results from mapping-based compensation. Existing demura technologies, when acquiring brightness data for each pixel on the display, only reference the demura pattern at a single grayscale level (single brightness). Brightness compensation at a single brightness level cannot be applied to other brightness levels. Therefore, brightness compensation inaccuracies can occur when the display is at different brightness levels. Furthermore, current demura technology only considers the mura effect presented by each pixel in the factory state of the display. During the use of the display or after a period of use, the mura effect presented by each pixel in the display may change. If brightness compensation is still based on the mura effect in the factory state, without taking into account the impact of short-term or medium-term afterimages (afterimages that can be recovered by stress changes) on the mura effect, the problem of poor brightness compensation effect will also occur.

[0096] This application provides a brightness compensation method. When an electronic device detects that the display screen is in one or more mura modes, the electronic device can perform brightness compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the mura mode, thereby achieving grayscale correction of each pixel in the display screen and effectively solving the mura problem that occurs on the display screen. Since the electronic device can obtain the grayscale compensation table for the display screen under different mura modes, the brightness compensation operation performed by the electronic device with the corresponding grayscale compensation table can be applied to multiple mura scenarios that occur on the display screen. Compared with the current electronic devices that only store the grayscale compensation table corresponding to the mura mode at the factory, the brightness compensation method provided by this application can perform demura operation from multiple dimensions for multiple mura modes, effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0097] Using an electronic device (or a discrete graphics chip within an electronic device) as the execution entity, this application describes the brightness compensation method provided in its embodiments through specific examples. (Reference) Figure 1 , Figure 1 A flowchart of a brightness compensation method is provided, including:

[0098] S101, The electronic device obtains the grayscale compensation table corresponding to the display screen under different mura modes.

[0099] A grayscale compensation table is used to characterize the grayscale values ​​that need to be compensated for each pixel in a display under a certain mura mode. In this embodiment, the grayscale values ​​of each pixel in a display under a certain mura mode may be the same or different. Therefore, the grayscale compensation table corresponding to a certain mura mode may contain differences in the grayscale values ​​that need to be compensated for each pixel. For example, the grayscale value that needs to be compensated for a pixel can be a positive number, a negative number, or 0. For instance, under a certain mura mode, the grayscale value that pixel 1 needs to be compensated for can be +10, the grayscale value that pixel 2 needs to be compensated for can be -5, and the grayscale value that pixel 3 needs to be compensated for can be 0. A positive grayscale value that needs to be compensated means that the pixel needs to be compensated in the positive direction, a negative grayscale value that needs to be compensated means that the pixel needs to be compensated in the negative direction, and a grayscale value that needs to be compensated for can be 0 means that the pixel does not need to be compensated for.

[0100] Furthermore, even if two pixels have the same grayscale value under a certain mura mode, differences in pixel structure may result in different grayscale values ​​that need to be compensated for.

[0101] The display screen involved in this embodiment can be the display screen of an electronic device; or it can be a display screen with a communication module that can communicate with the electronic device and is independent of the electronic device.

[0102] The mura patterns produced by a display screen vary depending on the context. To perform brightness compensation (grayscale correction) on pixels in different mura patterns, electronic devices can obtain grayscale compensation tables corresponding to various mura patterns. These grayscale compensation tables can be lookup tables (LUTs), allowing the electronic device to retrieve the corresponding grayscale values ​​for each pixel in the grayscale compensation table.

[0103] Displays exhibit mura phenomena due to various reasons, and the mura will appear differently depending on the scenario. These different scenarios include scenarios with different brightness levels, scenarios with different refresh rates, scenarios where the display is always on display (AOD, often referred to as always-on display), and scenarios where the display is subject to burn-in, etc.

[0104] Specifically, for example, the display screen will exhibit different mura patterns under different brightness levels. For instance, the display screen may exhibit one mura pattern at a first brightness level, another at a second brightness level, and so on. The first brightness level can be high brightness, and the second brightness level can be low brightness. In this embodiment, a display brightness value (dbv) greater than a preset brightness threshold is considered high brightness, and a dbv less than or equal to the preset brightness threshold is considered low brightness. For specific numerical examples, the dbv value of the display screen may range from 100 nits to 500 nits; the higher the dbv value, the higher the brightness of the display screen. For instance, a dbv greater than 200 nits and less than or equal to 500 nits represents the first brightness, and a dbv greater than or equal to 100 nits and less than or equal to 200 nits represents the second brightness. Alternatively, the brightness of the display screen can be divided into more levels. For example, a first brightness level could be defined as a dBV greater than 400 nits and less than or equal to 500 nits, a second brightness level as a dBV greater than 200 nits and less than or equal to 400 nits, and a third brightness level as a dBV greater than or equal to 100 nits and less than or equal to 200 nits. Electronic devices can then calculate grayscale compensation tables corresponding to different brightness levels and different mura patterns when these different brightness levels are displayed.

[0105] In some other feasible embodiments, the mura patterns of the display in different scenarios can be distinguished based on the functions that the display can perform. For example, different mura patterns may include the mura pattern presented when the display is in AOD (Away From Home), the mura pattern presented when the display is in burn-in mode, and different mura patterns presented at different refresh rates, etc. Different refresh rates present different mura patterns. For example, a display with a refresh rate of 120Hz presents one mura pattern, a display with a refresh rate of 144Hz presents another mura pattern, and so on. The electronic device can obtain the grayscale compensation table corresponding to the different mura patterns calculated when the display presents different mura patterns in different scenarios.

[0106] Electronic devices can acquire a first grayscale compensation table (LUT1) corresponding to the mura mode presented by the display screen at the first brightness level, a second grayscale compensation table (LUT2) corresponding to the mura mode presented by the display screen at the second brightness level, a third grayscale compensation table (LUT3) corresponding to the mura mode presented by the display screen at AOD level, a fourth grayscale compensation table (LUT4) corresponding to the mura mode presented by the display screen during burn-in, and so on. The grayscale values ​​that need to be compensated for by pixels in the grayscale compensation tables corresponding to different mura modes may be different.

[0107] In some embodiments, the electronic device can obtain grayscale compensation tables corresponding to different mura modes based on brightness data when the display screen presents different mura modes. Alternatively, the electronic device can obtain grayscale compensation tables corresponding to different mura modes from other devices. For example, other devices can obtain grayscale compensation tables corresponding to different mura modes based on brightness data when the display screen presents different mura modes. Other devices can have the grayscale compensation tables corresponding to different mura modes pre-installed in the electronic device, or the electronic device can send a request to other devices to obtain the grayscale compensation tables of the display screen under different mura states. Optionally, in some embodiments, other devices can also pre-store the grayscale compensation tables in the hardware integrated circuit (IC) of the electronic device, or store the grayscale compensation tables in the external Flash module or memory of the electronic device. In some embodiments, when the electronic device receives a grayscale compensation table or detects that a grayscale compensation table is stored, it can enable the demura function and monitor the status of the display screen. If the display screen presents at least one of the above-mentioned mura modes, demura is initiated, and brightness compensation is performed according to the grayscale compensation table corresponding to the current mura mode.

[0108] In some embodiments, reference Figure 2 (a) The electronic device can acquire images of the display screen in a given scene using other image acquisition devices (e.g., a CMOS camera or a CCD camera). The electronic device then performs general image processing on these images to obtain the brightness data of each pixel on the display. Based on this brightness data, the electronic device calculates the corresponding compensation grayscale value for each pixel, forming a scene-specific grayscale compensation table. The electronic device can store this grayscale compensation table in a designated storage space and can retrieve it during display processing to perform brightness compensation for each pixel. (See reference) Figure 2 (b) Similarly, external devices such as CMOS or CCD cameras can be used to capture images of the display screen in a given scene. These other devices then perform general image processing based on these images to obtain the brightness data of each pixel. Based on this brightness data, they calculate the corresponding grayscale compensation value for each pixel, forming a scene-specific grayscale compensation table. These other devices can then send the grayscale compensation table to the electronic device and burn it into the device's storage space, allowing the electronic device to read the grayscale compensation table during the display process and perform brightness compensation for each pixel.

[0109] In some embodiments, the electronic device (discrete graphics chip) can also interact with the display screen to obtain images formed by each pixel of the display screen under different scenarios. For example, it can obtain the first type of brightness data of each pixel in the display screen when the display screen is at a first brightness level; and obtain the second type of brightness data of each pixel in the display screen when the display screen is at a second brightness level. The first type of brightness data corresponds to a mura pattern presented by the display screen under the first brightness level, and the second type of brightness data corresponds to another mura pattern presented by the display screen under the second brightness level.

[0110] Specifically, in some embodiments, the process by which the electronic device / other device calculates the grayscale compensation table corresponding to the mura pattern presented by the display screen in different scenarios includes:

[0111] S201. The electronic device acquires the brightness data of each pixel in the display screen when the display screen is in a certain scene.

[0112] For example, a scenario can be any scenario such as the display being at a first brightness, or the display being at a second brightness, or the display being at AOD, or the display being burned in, or the display having a refresh rate of a first refresh rate, or the display having a refresh rate of a second refresh rate, etc.

[0113] For example, the description will be given in a scenario where the display screen is at a certain brightness (first brightness).

[0114] When the display screen is at its first brightness level, an image of the display screen can be captured by an external device such as a CMOS camera or a CCD camera to obtain the first image of the display screen at the first brightness level.

[0115] After acquiring the first image, the electronic device can perform general image processing on it. This general image processing may include noise reduction, grayscale conversion, and other similar processes. Grayscale conversion refers to converting a color image into a grayscale image. For example, after grayscale conversion, the electronic device can obtain the first brightness data (first grayscale value) of each pixel in the first grayscale image obtained from the first image. Alternatively, if the electronic device does not perform grayscale conversion on the first image, it can also calculate the first brightness data (first grayscale value) of each pixel based on the RGB values ​​of each pixel in the color first image.

[0116] For example, an electronic device can calculate the grayscale value of each pixel based on its RGB values ​​using methods such as the luminosity method and the weighted average method. The luminosity method calculates the grayscale value of each pixel using the formula gray = 0.299*R + 0.587*G + 0.114*B. The weighted average method calculates the grayscale value of each pixel using the formula gray = (R + G + B) / 3. This embodiment does not limit the specific method used to calculate the luminosity data of each pixel.

[0117] In this embodiment, the electronic device can use the above method to obtain the brightness data of each pixel in the display screen image for the display screen images captured under different scenarios.

[0118] S202. The electronic device obtains the compensation grayscale value of each pixel in the display screen under a corresponding mura mode based on the brightness data of each pixel in the display screen.

[0119] In this embodiment, the electronic device can model the brightness data of each pixel on the display screen in the current scene, and obtain a comparison result between the actual brightness data of each pixel on the display screen in that scene and the reference brightness data. Reference Material Figure 3 , Figure 3 A schematic diagram comparing the actual brightness data of each pixel on a display screen with reference brightness data is provided. Figure 3 In this context, the reference brightness data for each pixel of the display screen can be understood as the brightness data of each pixel when the display screen does not exhibit mura in that scene. The actual brightness data is the brightness data of each pixel when the display screen exhibits mura in that scene. There is a grayscale deviation between the actual brightness data and the reference brightness data. The grayscale deviation of each pixel is obtained by calculating the difference between the grayscale value corresponding to the actual brightness data and the grayscale value corresponding to the reference brightness data. Therefore, the compensation grayscale value for each pixel can be determined based on the grayscale deviation of each pixel.

[0120] Specifically, in some embodiments, S202 above includes:

[0121] S2021. The electronic device acquires a preset gain value corresponding to a scenario.

[0122] In this embodiment, each scene can be preset with a corresponding gain value at different gray levels. For example, when the display is at a first brightness level (e.g., 100 nits), the gain value at 64 gray levels is g1; when the display is at a first brightness level (e.g., 100 nits), the gain value at 128 gray levels is g2; when the display is at a second brightness level (e.g., 200 nits), the gain value at 64 gray levels is g3; when the display is at a second brightness level (e.g., 200 nits), the gain value at 128 gray levels is g4, and so on. The preset gain value for each scene is determined based on the display's screen brightness, display hardware performance, etc.

[0123] S2022. The electronic device obtains the grayscale deviation of each pixel based on the deviation between the brightness data and the reference brightness data corresponding to a scene.

[0124] Referring to S202, electronic devices can model the brightness data of each pixel on the display screen in the current scene, and obtain the comparison results between the actual brightness data of each pixel on the display screen and the reference brightness data at different gray levels in each scene. The difference between the gray level value corresponding to the actual brightness data and the gray level value corresponding to the reference brightness data is then determined as the gray level offset of each pixel. For example, the reference... Figure 3 When the luminance data (dbv) of pixel 1 (pixel(x1,y1)) is L1, the corresponding reference grayscale is G1, and the actual grayscale is G1'. The difference between G1 and G1' is calculated as the grayscale deviation of pixel 1 (pixel(x1,y1)). When the luminance data (dbv) of pixel 2 (pixel(x2,y2)) is L2, the corresponding reference grayscale is G2, and the actual grayscale is G2'. The difference between G2 and G2' is calculated as the grayscale deviation of pixel 2 (pixel(x2,y2)). Thus, based on the reference grayscale in the reference luminance data of each pixel and the actual grayscale corresponding to the actual luminance data of each pixel, the grayscale deviation of each pixel is obtained.

[0125] S2023. The electronic device uses the product of the grayscale deviation of each pixel and the preset gain value as the compensation grayscale value of each pixel in the corresponding mura mode.

[0126] In this embodiment, for example, the electronic device calculates that when the display screen is at the first brightness, the grayscale deviation of pixel 1 (pixel(x1,y1)) at 64 grayscale levels is offset1. The electronic device can determine 64 + g1 * offset1 as the compensated grayscale value of pixel 1 (pixel(x1,y1)) at 64 grayscale levels when the display screen is at the first brightness. The grayscale deviation of pixel 2 (pixel(x2,y2)) at 64 grayscale levels is offset2. The electronic device can determine 64 + g1 * offset2 as the compensated grayscale value of pixel 2 (pixel(x2,y2)) at 64 grayscale levels when the display screen is at the first brightness. The grayscale deviation of pixel 3 (pixel(x3,y3)) at 64 grayscale levels is offset3. The electronic device can determine 64 + g1 * offset3 as the compensated grayscale value of pixel 3 (pixel(x3,y3)) at 64 grayscale levels when the display screen is at the first brightness. In this way, electronic devices can calculate the compensation grayscale value corresponding to each pixel under 64 grayscale levels when the display screen is at the first brightness.

[0127] In this embodiment, for example, the electronic device calculates that when the display screen is at the first brightness level, the grayscale deviation of pixel 1 (pixel(x1,y1)) at 128 grayscale levels is offset11. The electronic device can determine 128 + g2 * offset11 as the compensated grayscale value of pixel 1 (pixel(x1,y1)) at 128 grayscale levels when the display screen is at the first brightness level. The grayscale deviation of pixel 2 (pixel(x2,y2)) at 128 grayscale levels is offset22. The electronic device can determine 128 + g2 * offset22 as the compensated grayscale value of pixel 2 (pixel(x2,y2)) at 128 grayscale levels when the display screen is at the first brightness level. The grayscale deviation of pixel 3 (pixel(x3,y3)) at 128 grayscale levels is offset33. The electronic device can determine 128 + g2 * offset33 as the compensated grayscale value of pixel 3 (pixel(x3,y3)) at 128 gray levels when the display is at its first brightness. Based on this, the electronic device can calculate the compensated grayscale value corresponding to each pixel at 128 gray levels when the display is at its first brightness.

[0128] S203. The electronic device obtains a grayscale compensation table based on the compensation grayscale value of each pixel in the display screen under a corresponding mura mode.

[0129] In this embodiment, after obtaining the compensated grayscale values ​​(grayscale + preset gain value * grayscale deviation) of each pixel corresponding to different grayscale levels in each scenario, the electronic device can obtain the corresponding grayscale compensation table according to the preset pixel processing size for the display screen. Alternatively, it can generate a grayscale compensation table containing the compensated grayscale values ​​of all pixels on the display screen, which is the same size as the display screen, according to the position and order of each pixel on the display screen.

[0130] The range of compensated grayscale values ​​for each pixel in the grayscale compensation table can be preset. For example, if the grayscale compensation table is a 5-bit (32-level) compensation table, then the range of compensated grayscale values ​​for each pixel in the grayscale compensation table can be [-2...]. 5 ,2 5 For example, if the grayscale compensation table is a 6-bit (64 grayscale) compensation table, then the range of the compensated grayscale value for each pixel in the grayscale compensation table can be [-2]. 6 ,2 6 ].

[0131] Specifically, in some embodiments, S203 above includes:

[0132] S2031. The electronic device divides each pixel in the display screen into multiple area blocks according to the preset size and the size of the display screen, using the preset size as the unit.

[0133] The preset block size can be understood as the processing size of pixels on the display screen. For example, if the display screen size is 100*100 dpi, it includes 10,000 pixels. When the preset size is 1*1, one pixel constitutes one block. Figure 4 (a). When the preset size is 4*2, that is, the pixels in the display screen are divided into regions of 4*2 pixels, and the resulting display screen includes 25*50 regions. (See reference...) Figure 4 (b) When the preset size is 4*4, that is, the pixels in the display screen are divided into regions of 4*4 pixels each. The resulting display screen consists of 25*25 regions. (See reference...) Figure 4 (c) The block size can be determined based on the display's hardware performance, the display's size, and the degree of compensation.

[0134] S2032. The electronic device uses the average value of the compensated grayscale values ​​of all pixels in each region block as the compensated grayscale value of the region block.

[0135] In this embodiment, after dividing the pixels in the display screen into regions, the average of the compensated grayscale values ​​of all pixels in the region can be used as the compensated grayscale value of the region. For example, a 2*2 region includes pixels 1, 2, 3, and 4, where the compensated grayscale value of pixel 1 is 64 + g1 * offset1, the compensated grayscale value of pixel 2 is 64 + g1 * offset2, the compensated grayscale value of pixel 3 is 64 + g1 * offset3, and the compensated grayscale value of pixel 4 is 64 + g1 * offset4. The compensated grayscale value of the 2*2 region is 64 + g1 * (offset1 + offset2 + offset3 + offset4) / 4. Alternatively, in some other feasible embodiments, the median of the compensated grayscale values ​​of each pixel in the region can be used as the compensated grayscale value of the region. Alternatively, in some other feasible embodiments, if the compensated grayscale values ​​of each pixel in the region are repeated, the compensated grayscale value with the highest repetition frequency can be used as the compensated grayscale value of the region. Alternatively, in other feasible embodiments, the compensation grayscale value of any pixel in the region block can be used as the compensation grayscale value of the region block; alternatively, the compensation grayscale value of the pixel corresponding to the geometric center of the region block can be used as the compensation grayscale value of the region block. This embodiment does not limit the specific calculation method for calculating the compensation grayscale value of the region block.

[0136] S2033, The compensation grayscale values ​​of all regions are used to form a grayscale compensation table corresponding to a mura pattern.

[0137] In this embodiment, if the preset size is 1*1, the compensation grayscale values ​​corresponding to all pixels are used as the final grayscale compensation table, as referenced. Figure 4 (a) corresponds to the generated grayscale compensation table. If the preset size is 4*2, the compensated grayscale values ​​of the area blocks in the display screen are calculated based on S2032 as the final grayscale compensation table, for reference. Figure 4 (b) corresponds to the generated grayscale compensation table. If the preset size is 4*4, the compensated grayscale values ​​of the area blocks on the display screen are calculated based on S2032 as the final grayscale compensation table, for reference. Figure 4 (c) corresponds to the generated grayscale compensation table.

[0138] S102. When the display screen is in the target mura mode, the electronic device compensates the grayscale value of each pixel in the display screen according to the compensation grayscale value of each pixel in the grayscale compensation table corresponding to the target mura mode, and controls the pixels of the display screen to display according to the compensation grayscale value.

[0139] The target mura form can be one or more different mura forms.

[0140] In this embodiment, the electronic device can burn grayscale compensation tables corresponding to different mura patterns displayed on the screen under various scenarios to the corresponding storage space. Optionally, the grayscale compensation tables can be compressed before being burned to the corresponding storage space. For example, the storage space can be the FLASH or memory of the electronic device. The electronic device can monitor the scene of the screen and select the grayscale compensation table corresponding to the scene of the screen, and compensate the grayscale values ​​of each pixel on the screen before displaying it, thereby solving the mura phenomenon of the screen.

[0141] In some embodiments, the electronic device can independently compensate for the grayscale values ​​of each pixel for each scene in which the display is located. For example, when the display is currently in only one scene, the grayscale compensation table corresponding to the mura pattern presented in that scene is obtained to compensate for the grayscale values ​​of the pixels. For example, when the electronic device detects that the display is at a first brightness, it obtains the grayscale compensation table corresponding to the mura pattern presented at the first brightness to compensate for the grayscale values ​​of the pixels; when the electronic device detects that the display is at a second brightness, it obtains the grayscale compensation table corresponding to the mura pattern presented at the second brightness to compensate for the grayscale values ​​of the pixels; when the electronic device detects that the display is at AOD, it obtains the grayscale compensation table corresponding to the mura pattern presented when the display is at AOD to compensate for the grayscale values ​​of the pixels; when the electronic device detects that the display is in burn-in mode, it obtains the grayscale compensation table corresponding to the mura pattern presented when the display is in burn-in mode to compensate for the grayscale values ​​of the pixels; when the electronic device detects that the current refresh rate is a first refresh rate, it obtains the grayscale compensation table corresponding to the mura pattern presented at the first refresh rate to compensate for the grayscale values ​​of the pixels. In this way, since electronic devices store grayscale compensation tables corresponding to different mura patterns in various scenarios, different electronic devices can obtain the grayscale compensation table corresponding to the scenario regardless of the scenario, and perform grayscale compensation operations on each pixel in the display screen in that scenario to eliminate the mura phenomenon displayed on the display screen in that scenario.

[0142] In other feasible embodiments, the display screen of the electronic device may be in multiple scenarios simultaneously, such as a scenario where the display screen is in a first brightness and first refresh rate scenario requiring brightness compensation. The electronic device can combine the grayscale compensation table corresponding to the respective scenario to perform superimposed compensation of the grayscale values ​​of each pixel on the display screen. For example, the electronic device obtains the compensation grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura mode presented by the display screen at the first brightness; the electronic device obtains the compensation grayscale value 2 of each pixel in the grayscale compensation table corresponding to the mura mode presented by the display screen at the first refresh rate. The compensation grayscale value 1 and compensation grayscale value 2 are sent to the display screen, and the display screen compensates the grayscale values ​​of each pixel on the display screen based on the superimposed compensation grayscale value (target compensation grayscale value) of compensation grayscale value 1 and compensation grayscale value 2, and finally controls each pixel to be displayed according to the sum of the actual grayscale of each pixel and the superimposed compensation grayscale value.

[0143] In other feasible embodiments, the display screen of the electronic device may be in multiple scenarios simultaneously, such as a scenario where the display screen is at a first brightness level and a second brightness level, causing screen burn-in. The electronic device can combine the grayscale compensation table corresponding to the respective scenario to perform superimposed compensation of the grayscale values ​​of each pixel of the display screen. For example, the electronic device obtains the compensated grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura pattern presented when the display screen is at the first brightness level; the electronic device obtains the compensated grayscale value 2 of each pixel in the grayscale compensation table corresponding to the mura pattern presented when the display screen is at the second brightness level; the electronic device obtains the compensated grayscale value 3 of each pixel in the grayscale compensation table corresponding to the mura pattern presented when the display screen is in burn-in. The compensated grayscale value 1, compensated grayscale value 2, and compensated grayscale value 3 are sent to the display screen. When the display screen is at the first brightness level, the display screen compensates the grayscale values ​​of each pixel of the display screen based on the superimposed compensation grayscale value of the compensated grayscale value 1 and the compensated grayscale value 3, and finally controls each pixel to be displayed according to the sum of the actual grayscale of each pixel and the superimposed compensation grayscale value. When the display is at its second brightness level, it compensates for the grayscale values ​​of each pixel based on the superimposed compensation grayscale values ​​2 and 3. Ultimately, each pixel is controlled to display according to the sum of its actual grayscale value and the superimposed compensation grayscale value. This operation, which combines grayscale compensation tables corresponding to various scenarios to superimpose compensation for the grayscale values ​​of each pixel, effectively solves the problem of multiple demolition patterns appearing in different scenarios. It also improves the efficiency and accuracy of demolition, thus achieving a better demolition effect.

[0144] In other feasible embodiments, the display screen of the electronic device may also be in multiple other scenarios simultaneously. For example, in the scenario of the first refresh rate, the display screen may experience burn-in when it is at the first brightness. In this case, the electronic device can combine the grayscale compensation table corresponding to the scenario to perform superimposed compensation of the grayscale values ​​of each pixel of the display screen. For example, the electronic device obtains the compensation grayscale value 4 of each pixel in the grayscale compensation table corresponding to the mura pattern presented by the display screen at the first refresh rate; the electronic device obtains the compensation grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura pattern presented by the display screen at the first brightness; the electronic device obtains the compensation grayscale value 3 of each pixel in the grayscale compensation table corresponding to the mura pattern presented by the display screen during burn-in. The compensation grayscale value 1, compensation grayscale value 3, and compensation grayscale value 4 are sent to the display screen, so that the display screen compensates the grayscale values ​​of each pixel of the display screen based on the superimposed value of compensation grayscale value 1, compensation grayscale value 3, and compensation grayscale value 4, and finally controls each pixel to display according to the brightness data after grayscale compensation. In this way, the operation of superimposing and compensating the grayscale values ​​of each pixel of the display screen by combining grayscale compensation tables corresponding to multiple scenarios can effectively solve the problem of multiple mura patterns appearing on the display screen in multiple scenarios, and at the same time improve the efficiency and accuracy of demura, thereby achieving a better demura effect.

[0145] It is understandable that a display screen may be in multiple scenarios simultaneously, such as a display screen at a certain brightness, a display screen at a certain refresh rate, a display screen under burn-in, or a display screen under AOD (Always On Display). Therefore, the target mura pattern of the display screen can include any two or more of the following mura patterns: the mura pattern presented by the display screen at a certain brightness, the mura pattern presented by the display screen at a certain refresh rate, the mura pattern presented by the display screen under burn-in, and the mura pattern presented by the display screen under AOD.

[0146] In this embodiment, when the electronic device detects that the display screen is in one or more mura modes, the electronic device can perform brightness superposition compensation on each pixel in the display screen according to the grayscale compensation table corresponding to different mura modes, thereby realizing grayscale correction of each pixel in the display screen and effectively solving the mura problem of the display screen. Since the electronic device can obtain the grayscale compensation table of the display screen under different mura modes, the operation of brightness superposition compensation by the electronic device with the corresponding grayscale compensation table can be applied to multiple mura scenarios of the display screen. Compared with the current electronic devices that only store the grayscale compensation table corresponding to the mura modes at the factory, the brightness compensation method provided in this application embodiment can perform demura operation on multiple mura modes from multiple dimensions, effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0147] In some embodiments, the brightness compensation method provided in this application is described in conjunction with the functional modules of an electronic device. The electronic device includes a discrete graphics chip and a display screen. The discrete graphics chip includes a processor and an interface circuit. The processor is used to execute the brightness compensation method provided in the above embodiments. The interface circuit is used to send the compensated target compensation grayscale values ​​(overlaid compensation grayscale values) of each pixel to the display screen for display.

[0148] Specifically, in one feasible embodiment, the processor may include at least two compensation modules. The compensation modules can acquire grayscale compensation tables corresponding to different scenarios, or different grayscale compensation tables can be preset in the compensation modules. In some embodiments, the block size for brightness compensation performed by the compensation modules can also be preset, thereby generating a grayscale compensation table corresponding to the block size of brightness compensation performed by the compensation modules. Alternatively, when the grayscale compensation table is preset to the compensation modules, a block size conversion can be performed so that the block size of the grayscale compensation table matches the block size of brightness compensation performed by the compensation modules.

[0149] For example, refer to Figure 5 , Figure 5A schematic diagram of the functional modules of an electronic device is provided. The processor includes a first compensation module and a second compensation module. The first compensation module can acquire a first grayscale compensation table; or, the first grayscale compensation table can be preset in the first compensation module. For example, the block size of the first compensation module can be 1*1, then the block size of the first grayscale compensation table in the first compensation module is also 1*1. The second compensation module can acquire a second grayscale compensation table; or, the second grayscale compensation table can be preset in the second compensation module. For example, the block size of the first compensation module can be 4*4, then the block size of the first grayscale compensation table in the first compensation module is also 4*4. The first compensation module can be used to output the first compensated grayscale value of each pixel of the display screen under a first brightness scene, and the second compensation module can be used to output the second compensated grayscale value of each pixel of the display screen under a second brightness scene. The first compensation module can directly send the first compensated grayscale value to the interface circuit, or it can send the first compensated grayscale value to the second compensation module. The second compensation module sends the second compensated grayscale value (and the first compensated grayscale value) to the interface circuit. The interface circuit then sends the first and second compensated grayscale values ​​to the display screen. The display screen superimposes the first and second compensated grayscale values ​​for compensation, and controls each pixel in the display screen to display according to the grayscale value after superimposed compensation (target compensated grayscale value).

[0150] In some other scenarios, if the display screen reaches a third brightness level between the first and second brightness levels, the second compensation module can calculate the grayscale compensation table corresponding to the third brightness level based on the difference between the third and first brightness levels and the first grayscale compensation table; or, the second compensation module can calculate the grayscale compensation table corresponding to the third brightness level based on the difference between the third and second brightness levels and the second grayscale compensation table. Therefore, based on the grayscale compensation table corresponding to the third brightness level, the module outputs the compensated grayscale values ​​for each pixel of the display screen corresponding to the third brightness level when the display screen reaches the third brightness level for compensation operations.

[0151] For example, refer to Figure 6 , Figure 6A schematic diagram of the functional modules of another electronic device is provided. The processor includes a first compensation module, a second compensation module, and a third compensation module. The first compensation module can acquire a first grayscale compensation table; or, the first grayscale compensation table can be preset in the first compensation module. For example, the block size of the first compensation module can be 1*1, then the block size of the first grayscale compensation table in the first compensation module is also 1*1. The second compensation module can acquire a second grayscale compensation table; or, the second grayscale compensation table can be preset in the second compensation module. For example, the block size of the second compensation module can be 4*4, then the block size of the second grayscale compensation table in the second compensation module is also 4*4.

[0152] In some embodiments, if the function of the first compensation module and the second compensation module (or at least two compensation modules) is to perform grayscale compensation on the same reference dimension, at least one of the compensation modules may store a difference table calculated from the grayscale compensation table as a new grayscale compensation table for brightness compensation. Storing the difference table reduces the storage space occupied by the compensation module compared to storing the complete grayscale compensation table. For example, the reference dimension... Figure 7 , Figure 7 A schematic diagram of the functional modules of another electronic device is provided. For example, a first compensation module is used to perform grayscale compensation for a first brightness, and the first compensation module stores a first grayscale compensation table corresponding to the first brightness; a second compensation module needs to perform grayscale compensation for a second brightness, so the second compensation module can store a difference table formed by the difference between the compensated grayscale value corresponding to each pixel under the second brightness and the compensated grayscale value corresponding to each pixel in the first grayscale compensation table. The difference table is stored in the second compensation module as a second grayscale compensation table corresponding to the second brightness. In this embodiment, the compensation table formed by the compensated grayscale values ​​corresponding to each pixel under the second brightness is called the reference compensation table. Alternatively, in other scenarios, for example, the first compensation module is used to perform grayscale compensation for a first refresh rate, and the first compensation module stores a grayscale compensation table corresponding to the first refresh rate; the second compensation module needs to perform grayscale compensation for a second refresh rate, so the second compensation module can store a difference table formed by the difference between the compensated grayscale value corresponding to each pixel under the second refresh rate and the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the first refresh rate. The difference table is stored in the second compensation module as a second grayscale compensation table corresponding to the second refresh rate. In this way, the second compensation module stores a difference table. The difference table occupies less storage space than the second grayscale compensation table, which can improve the storage space utilization of the second compensation module and optimize the storage and data reading performance of the second compensation module.

[0153] In some embodiments, if the compensation module stores a grayscale compensation table or a difference table, the compensation module can calculate the output compensated grayscale value based on the compensated grayscale value of each pixel in the grayscale compensation table and the difference between the corresponding pixels in the difference table. For example, the first compensation module stores a first grayscale compensation table corresponding to a first brightness, and the first compensation module can output a first compensated grayscale value. The second compensation module stores a difference table (second grayscale compensation table). This difference table is calculated from the first grayscale compensation table and the second grayscale compensation table corresponding to the second brightness. Then, the second compensation module can obtain the first grayscale compensation table, superimpose the grayscale values ​​of each pixel in the first grayscale compensation table with the grayscale values ​​of each pixel in the difference table, calculate, and output the second compensated grayscale value for each pixel.

[0154] For example, the third compensation module can obtain a third grayscale compensation table; or, the third grayscale compensation table can be preset in the third compensation module. For example, the block size of the third compensation module can be 8*4, then the block size of the third grayscale compensation table in the third compensation module is also 8*4.

[0155] In some embodiments, the first compensation module can be used to output the first compensated grayscale value of each pixel of the display screen under the first brightness scene, the second compensation module can be used to output the compensated grayscale value of each pixel of the display screen under the second brightness scene, and the third compensation module can be used to output the compensated grayscale value of each pixel in the display screen under the burn-in or short-term residual state based on the real-time acquired third brightness data (brightness data of each pixel when the display screen is in burn-in). Here, short-term residual refers to the mura phenomenon exhibited by the image retention caused by the display screen receiving a change in stress.

[0156] The first compensation module can directly send the first compensated grayscale value to the interface circuit, or it can send the first compensated grayscale value to the second compensation module. The second compensation module sends the second compensated grayscale value (and the first compensated grayscale value) to the interface circuit, or it can send the second compensated grayscale value (and the first compensated grayscale value) to the third compensation module. The third compensation module can send the third compensated grayscale value (and the first and second compensated grayscale values) to the interface circuit. The interface circuit then sends the first, second, and third compensated grayscale values ​​to the display screen. The display screen superimposes and compensates the first, second, and third compensated grayscale values, controlling each pixel on the display screen to display the grayscale value after correction based on the actual grayscale value and the target grayscale value. The third compensation module can also send the superimposed compensated grayscale value (target grayscale value) of the first, second, and third compensated grayscale values ​​to the interface circuit. The interface circuit sends the superimposed compensation grayscale value (target grayscale value) to the display screen. The display screen performs brightness compensation based on the target grayscale value and controls each pixel in the display screen to display according to the grayscale value after correction between the actual grayscale value and the target grayscale value.

[0157] It should be noted that a compensation module can store multiple grayscale compensation tables. The grayscale compensation tables stored in a single compensation module have the same block size. For example, if the first compensation module has a block size of 4*2, then all grayscale compensation tables stored in the first compensation module will also have a block size of 4*2. Similarly, if the first compensation module has a block size of 4*4, then all grayscale compensation tables stored in the first compensation module will also have a block size of 4*4. Likewise, if the second compensation module has a block size of 2*2, then all grayscale compensation tables stored in the second compensation module will also have a block size of 2*2. Different compensation modules can have the same or different block sizes.

[0158] The brightness compensation method provided in the above embodiments and Figure 6 and Figure 7 The functional modules shown are for reference. Figure 8 , Figure 8 A schematic diagram of the execution of three compensation modules in an electronic device is given.

[0159] In some embodiments, the three modules include a first compensation module, a second compensation module, and a third compensation module.

[0160] Within the same compensation module, grayscale compensation tables corresponding to different grayscale values ​​can be preset. The grayscale range of the preset grayscale compensation tables in different compensation modules can be the same.

[0161] For example, the first compensation module includes a grayscale compensation table 1 (LUT1, with a gain value of g1) corresponding to 32 grayscale levels (5-bit grayscale value) and a grayscale compensation table 2 (LUT2, with a gain value of g2) corresponding to 64 grayscale levels (6-bit grayscale value). The second compensation module includes a grayscale compensation table 3 (LUT3, with a gain value of g3) corresponding to 32 grayscale levels (5-bit grayscale value), a grayscale compensation table 4 (LUT4, with a gain value of g4) corresponding to 64 grayscale levels (6-bit grayscale value), and a grayscale compensation table 5 (LUT5, with a gain value of g5) corresponding to 128 grayscale levels (7-bit grayscale value). The third compensation module includes a grayscale compensation table 6 (LUT6, with a gain value of g6) corresponding to 32 grayscale levels (5-bit grayscale value) and a grayscale compensation table 7 (LUT7, with a gain value of g7) corresponding to 64 grayscale levels (6-bit grayscale value).

[0162] The block size of the grayscale compensation table within the same compensation module is the same as the block size of that module. Different compensation modules may have different block sizes.

[0163] For example, if the block size of the first compensation module is 1*1, then the block size of the grayscale compensation tables (LUT1 and LUT2) in the first compensation module is also 1*1. The block size of the second compensation module can be 4*4, then the block size of the grayscale compensation tables (LUT3, LUT4, and LUT5) in the second compensation module is also 4*4. The block size of the third compensation module can be 8*4, then the block size of the grayscale compensation tables (LUT6 and LUT7) in the third compensation module is also 8*4.

[0164] Within the same compensation module, the grayscale compensation table can have the same or different grayscale value range for each pixel. Conversely, grayscale compensation tables from different compensation modules can have different or the same grayscale value range for each pixel.

[0165] For example, in the grayscale compensation table corresponding to the first compensation module, each pixel has a grayscale value of 5 bits. That is, the range of the compensated grayscale values ​​for each pixel in LUT1 and LUT2 is [-32, +32]. In the grayscale compensation table corresponding to the second compensation module, each pixel has a grayscale value of 6 bits. That is, the range of the compensated grayscale values ​​for each pixel in LUT3, LUT4, and LUT5 is [-64, +64]. In the grayscale compensation table corresponding to the third compensation module, each pixel has a grayscale value of 7 bits. That is, the range of the compensated grayscale values ​​for each pixel in LUT6 and LUT7 is [-128, +128].

[0166] Specifically, the brightness compensation method provided in this embodiment will be explained using two of the compensation modules mentioned above.

[0167] For example, the first compensation module is used to output the first compensated grayscale value of each pixel of the display screen under the first brightness scene, and the third compensation module is used to output the compensated grayscale value of each pixel of the display screen under the burn-in or short-term residual state. The display screen includes n pixels.

[0168] When an electronic device detects screen burn-in, the screen is set to its initial brightness. At this point, the screen operates in two scenarios, involving two compensation modules: a first compensation module and a third compensation module. For example, the first compensation module includes a 32-grayscale LUT1, and the third compensation module includes a 32-grayscale LUT6.

[0169] Specifically, the first compensation module can obtain the compensation grayscale values ​​1 for 32 grayscale levels corresponding to n pixels on the display screen through LUT1. For example, the first compensation module obtains the compensation grayscale value 11 for pixel 1 in LUT1 as 32 + g1 * offset 11, the compensation grayscale value 12 for pixel 2 in LUT1 as 32 + g1 * offset 12, and so on. The first compensation module sends the compensation grayscale values ​​1n of the n pixels to the next compensation module.

[0170] For example, the next compensation module can be a third compensation module. The third compensation module receives the compensation grayscale values ​​of n pixels at the first brightness grayscale level. The third compensation module obtains the corresponding grayscale compensation value of each pixel in LUT6 at the corresponding grayscale level. For example, the third compensation module obtains the compensation grayscale value 31 of pixel 1 in LUT6 as 32 + g6 * offset 31, the compensation grayscale value 32 of pixel 2 in LUT1 as 32 + g6 * offset 32, and so on. The third compensation module sends the compensation grayscale value 3n corresponding to the n pixels and the compensation grayscale value 1n of each pixel received from the first compensation module to the display screen.

[0171] The display screen performs superimposed compensation based on the compensation grayscale values ​​1n and 3n for every n pixels, controlling each pixel to display according to the compensated grayscale value. For example, the superimposed compensation grayscale value of pixel 1 is 32 + g1*offset11 + 32 + g6*offset31. The superimposed compensation grayscale value of pixel 2 is 32 + g1*offset21 + 32 + 32 + g6*offset32. The display screen applies the superimposed compensation grayscale value of each pixel to the actual grayscale value of each pixel, achieving grayscale correction for each pixel. That is, the display screen can use the sum of the actual grayscale value and the superimposed compensation grayscale value (correction value) of each pixel as the final display grayscale of each pixel.

[0172] Alternatively, the third compensation module can send the superimposed compensation grayscale value (32 + g1*offset21 + 32 + 32 + g6*offset32) to the interface circuit. The interface circuit then sends this superimposed compensation grayscale value to the display screen. The display screen applies the superimposed compensation grayscale value of each pixel to the actual grayscale value of each pixel, thus achieving grayscale correction for each pixel. In other words, the display screen can use the sum of the actual grayscale value and the superimposed compensation grayscale value (the correction value) of each pixel as the final display grayscale of each pixel.

[0173] Specifically, the brightness compensation method provided in this embodiment will be explained using the three compensation modules mentioned above.

[0174] For example, the first compensation module is used to output the first compensated grayscale value of each pixel of the display screen under the first brightness scene, the second compensation module is used to output the compensated grayscale value of each pixel of the display screen under the second brightness scene, and the third compensation module is used to output the compensated grayscale value of each pixel of the display screen under the burn-in or short-term damaged state. The display screen includes n pixels.

[0175] When an electronic device detects that the display screen is in a burn-in state, the display screen is set to its initial brightness. However, the display screen can still perform brightness compensation based on the two brightness levels and the brightness data under burn-in conditions. The compensation modules involved include a first compensation module, a second compensation module, and a third compensation module. For example, the first compensation module includes a 32-grayscale LUT1, the second compensation module includes a 32-grayscale LUT3, and the third compensation module includes a 32-grayscale LUT6.

[0176] Specifically, the first compensation module can obtain the compensation grayscale values ​​1 for 32 grayscale levels corresponding to n pixels on the display screen through LUT1. For example, the first compensation module obtains the compensation grayscale value 11 for pixel 1 in LUT1 as 32 + g1 * offset 11, the compensation grayscale value 12 for pixel 2 in LUT1 as 32 + g1 * offset 12, and so on. The first compensation module sends the compensation grayscale values ​​1n of the n pixels to the next compensation module.

[0177] For example, the next compensation module can be a second compensation module. The second compensation module receives the compensation grayscale values ​​of n pixels at the first brightness 32 grayscale level. The second compensation module obtains the corresponding 32 grayscale compensation grayscale value of each pixel in LUT3. For example, the second compensation module obtains the compensation grayscale value 21 of pixel 1 in LUT6 as 32 + g3 * offset 21, the compensation grayscale value 22 of pixel 2 in LUT1 as 32 + g3 * offset 22, and so on. The second compensation module sends the compensation grayscale value 2n corresponding to the n pixels and the compensation grayscale value 1n of each pixel received from the first compensation module to the next compensation module.

[0178] For example, the next compensation module can be a third compensation module. The third compensation module receives the compensation grayscale values ​​1n of n pixels at the first brightness grayscale and the compensation grayscale values ​​2n of n pixels at the second brightness grayscale. The third compensation module obtains the corresponding grayscale compensation value of each pixel in LUT6. For example, the third compensation module obtains the compensation grayscale value 31 of pixel 1 in LUT6 as 32 + g6 * offset 31, the compensation grayscale value 32 of pixel 2 in LUT1 as 32 + g6 * offset 32, and so on. The third compensation module sends the compensation grayscale value 3n corresponding to the n pixels, along with the compensation grayscale values ​​1n and 2n of each pixel sent by the first compensation module and the second compensation module, to the display screen.

[0179] The display screen performs superimposed compensation based on the compensation grayscale values ​​1n, 2n, and 3n for every n pixels, controlling each pixel to display according to the compensated grayscale value. For example, the superimposed compensation grayscale value of pixel 1 is 32 + g1*offset11 + 32 + g3*offset21 + 32 + g6*offset31. The superimposed compensation grayscale value of pixel 2 is 32 + g1*offset21 + 32 + g3*offset22 + 32 + g6*offset32. The display screen applies the superimposed compensation grayscale value of each pixel to the actual grayscale value of each pixel, achieving grayscale correction for each pixel. That is, the display screen can use the sum of the actual grayscale value and the superimposed compensation grayscale value (correction value) of each pixel as the final display grayscale of each pixel.

[0180] Alternatively, the third compensation module can send the superimposed compensation grayscale value (32 + g1*offset11 + 32 + g3*offset21 + 32 + g6*offset31) to the interface circuit. The interface circuit then sends the superimposed compensation grayscale value (32 + g1*offset11 + 32 + g3*offset21 + 32 + g6*offset31) to the display screen. The display screen applies the superimposed compensation grayscale value of each pixel to the actual grayscale value of each pixel, thereby achieving grayscale correction for each pixel. In other words, the display screen can use the sum of the actual grayscale value and the superimposed compensation grayscale value (the correction value) of each pixel as the final display grayscale of each pixel.

[0181] In some embodiments, since the brightness data of each pixel changes with the usage time of the display during burn-in, the electronic device can also construct an aging model of the display based on the device parameters of the display, which is used to calculate and update the grayscale compensation table corresponding to each pixel of the display in real time during burn-in. The electronic device can calculate the number of blocks corresponding to the display when the third compensation module performs brightness compensation based on the block size of the third compensation module, the screen brightness, and the display time. Based on the number of blocks corresponding to the display and the aging model, the grayscale compensation table corresponding to different grayscale levels is calculated. The grayscale deviation between the reference brightness data and the actual brightness data of each pixel of the display can be obtained from the aging model, thereby updating the grayscale compensation table in the third compensation module. The aging model of the display can be written into a corresponding chip such as a discrete graphics chip.

[0182] In this embodiment, the electronic device can acquire the actual brightness data of the display screen when it is in burn-in, either in real time or periodically. Based on the actual brightness data acquired in real time and the reference brightness data of the display screen in the aging model, the grayscale compensation table in the third compensation module is updated.

[0183] Similar to screen burn-in scenarios, when the display is in AOD (Always On Display) mode, the electronic device can also construct a display model corresponding to the AOD mode based on the display's device parameters. The electronic device can also periodically acquire the actual brightness data of the display when it is in AOD mode, and update the grayscale compensation table in the brightness compensation module for the corresponding AOD mura state based on the real-time acquired actual brightness data and the reference brightness data of the display model corresponding to the AOD mode.

[0184] In this embodiment, different compensation modules of the electronic device can be pre-configured with a block size matching the compensation module and a grayscale compensation table matching the applicable scenario / function of the compensation module. When the electronic device detects that the display screen is in a certain mura state, the electronic device can use the corresponding compensation module to perform brightness compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the mura state, thereby realizing grayscale correction of each pixel in the display screen and effectively solving the mura problem that occurs on the display screen. Compared with the current electronic devices that only store the grayscale compensation table corresponding to the mura state at the factory, the brightness compensation method provided in this application embodiment can perform demura operation on multiple mura states from multiple dimensions, effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0185] The electronic device 200 in this application embodiment can be an electronic device with a display screen. For example, the electronic device can be a portable computer (such as a mobile phone), a tablet computer, a laptop computer, a personal computer (PC), a wearable electronic device (such as a smartwatch), an augmented reality (AR) / virtual reality (VR) device, an in-vehicle computer, etc. The following embodiments do not impose any special restrictions on the specific form of the electronic device.

[0186] For example, Figure 9 The schematic diagram of the electronic device 200 in the diagram is shown. Figure 9 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. See also... Figure 9 , Figure 9 The electronic device shown may include: a processor 201, a memory 202, a communication interface 203, a driver chip 204, a display screen 205, and a bus 206. The processor 201, memory 202, communication interface 203, driver chip 204, and display screen 205 can be connected via the bus 206.

[0187] For example, processor 201 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors. As an example, processor 201 may include one or more CPUs, such as... Figure 9 CPU 0 and CPU 1 are shown in the diagram.

[0188] The memory 202 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0189] In one possible implementation, the memory 202 can exist independently of the processor 201. The memory 202 can be connected to the processor 201 via a bus 204 and is used to store data, instructions, or program code. When the processor 201 calls and executes the instructions or program code stored in the memory 202, it can implement the split-screen display method provided in this application embodiment.

[0190] In another possible implementation, the memory 202 can also be integrated with the processor 201.

[0191] The communication interface 203 is used for connecting the electronic device to other devices via a communication network, which may be Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 203 may include a receiving unit for receiving data and a transmitting unit for transmitting data.

[0192] In some embodiments, the driver chip 204 may be a display driver IC (DDIC), an AP chip, a microcontroller unit (MCU), etc. The driver chip 204 serves as a communication bridge between the processor (CPU) and the display screen 205.

[0193] The display screen 205 is used to display images, videos, etc. The display screen 205 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include one or N display screens 205, where N is a positive integer greater than 1.

[0194] The brightness compensation method provided in this application embodiment can be executed in the driver chip 204 or the processor 201. After the processor 201 or the driver chip 204 burns the compensation table into the memory 202, the processor 201 or the driver chip 204 can perform brightness compensation for each pixel in the display screen 205 according to the compensation table corresponding to different gray levels stored in the memory 202, thereby achieving a demura effect.

[0195] Bus 206 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0196] It should be pointed out that, Figure 9 The structure shown does not constitute a limitation on the electronic device, except... Figure 9 In addition to the components shown, the electronic device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0197] This application also provides a chip system (e.g., a system-on-a-chip (SoC)). Figure 10 As shown, the chip system includes at least one processor 701 and at least one interface circuit 702. The processor 701 and the interface circuit 702 are interconnected via lines. For example, the interface circuit 702 can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit 702 can be used to send signals to other devices (e.g., the processor 701 or the camera of an electronic device). Exemplarily, the interface circuit 702 can read instructions stored in the memory and send those instructions to the processor 701. When the instructions are executed by the processor 701, the electronic device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete components, which are not specifically limited in this application embodiment.

[0198] This application also provides a computer-readable storage medium including computer instructions that, when executed on the electronic device, cause the electronic device to perform various functions or steps performed by the electronic device 100 in the above method embodiment.

[0199] This application also provides a computer program product that, when run on a computer, causes the computer to perform the various functions or steps performed by the electronic device 100 in the above method embodiments. For example, the computer may be the aforementioned electronic device 100.

[0200] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0201] It should be noted that the personal information used in the technical solution of this application is limited to information for which individual consent has been obtained, including but not limited to notifying and reminding users to read the relevant user agreement (notification) and sign the agreement (authorization) which includes authorization of relevant user information before users use the function.

[0202] The technical solutions disclosed in this application involve the collection, storage, use, processing, transmission, provision, and disclosure of users' personal information, all of which comply with relevant laws and regulations and do not violate public order and good morals.

[0203] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0204] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0205] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0206] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0207] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A luminance compensation method characterized by, The method comprises: The electronic device obtains a gray scale compensation table corresponding to different mura forms of the display screen; the different mura forms include at least two different mura forms of a plurality of mura states in which the display screen is in different brightness presentations, a mura form in which the display screen is in burn-in, and a mura form in which the display screen is in AOD display at all times; one gray scale compensation table includes the gray scale values that need to be compensated for each pixel in the display screen in one mura form; The display screen is in a superimposed state of a plurality of target mura forms, the gray scale values of each pixel in the display screen are superimposed and compensated according to the compensation gray scale values corresponding to each pixel in the gray scale compensation table corresponding to each target mura form, and the pixels of the display screen are controlled to display according to the gray scale values after superimposed compensation; Wherein, the superimposed state of the plurality of target mura forms includes the superimposed state of the mura state in which the display screen is in a certain brightness presentation and the mura form in which the display screen is in burn-in presentation, or the superimposed state of the mura state in which the display screen is in a certain brightness presentation and the mura form in which the display screen is in AOD presentation; The gray scale compensation table corresponding to the mura form in which the display screen is in burn-in presentation is dynamically updated following the actual brightness data when the display screen is in burn-in, and the gray scale compensation table corresponding to the mura form in which the display screen is in AOD presentation is dynamically updated based on the actual brightness data when the display screen is in AOD.

2. The method of claim 1, wherein, If the display screen is in a target mura form, the target mura form includes a first mura form or a second mura form; The first mura form corresponds to a first gray scale compensation table, and the second mura form corresponds to a second gray scale compensation table; The method further comprises: When the electronic device is in the first mura form, the electronic device obtains the first compensation gray scale value corresponding to each pixel according to the first gray scale compensation table, compensates the gray scale value of each pixel in the display screen, and controls the pixels of the display screen to display according to the gray scale value after the first compensation gray scale value compensation; Or, When the electronic device is in the second mura form, the electronic device obtains the second compensation gray scale value corresponding to each pixel according to the second gray scale compensation table, compensates the gray scale value of each pixel in the display screen, and controls the pixels of the display screen to display according to the gray scale value after the second compensation gray scale value compensation.

3. The method according to claim 1 or 2, characterized in that, The superimposed state of the plurality of target mura forms includes at least a first mura form and a second mura form; the first mura form corresponds to a first gray scale compensation table, and the second mura form corresponds to a second gray scale compensation table; The display screen is in a superimposed state of multiple target mura patterns, and the gray scale values of each pixel in the display screen are superimposed and compensated according to the compensation gray scale values corresponding to each pixel in the gray scale compensation table corresponding to each target mura pattern, and the pixels of the display screen are controlled to display according to the superimposed and compensated gray scale values of the compensation gray scale values, comprising: The electronic device obtains the first compensation gray scale value corresponding to each pixel according to the first gray scale compensation table, and obtains the second compensation gray scale value corresponding to each pixel according to the second gray scale compensation table; The electronic device superimposes the first compensation gray scale value and the second compensation gray scale value of the same pixel to obtain the first superimposed compensation gray scale value; The electronic device compensates the gray scale values of each pixel in the display screen based on the first superimposed compensation gray scale value, and controls the pixels of the display screen to display according to the gray scale values compensated by the first superimposed compensation gray scale value.

4. The method according to claim 1 or 2, characterized in that, Before the electronic device obtains the gray scale compensation table corresponding to the display screen in different mura patterns, the method further comprises: The electronic device obtains the brightness data of each pixel in the display screen when the display screen is in a mura pattern; The electronic device obtains the compensation gray scale value of each pixel in the display screen in the mura pattern according to the brightness data of each pixel in the display screen; The electronic device obtains the gray scale compensation table corresponding to the mura pattern according to the compensation gray scale value of each pixel in the display screen.

5. The method of claim 4, wherein, The electronic device obtains the compensation gray scale value of each pixel in the display screen in the mura pattern according to the brightness data of each pixel in the display screen, comprising: The electronic device obtains a preset gain value corresponding to the mura pattern; The electronic device obtains the gray scale deviation of each pixel according to the deviation between the brightness data and the reference brightness data corresponding to the mura pattern; The electronic device obtains the compensation gray scale value of each pixel in the mura pattern according to the product of the gray scale deviation of each pixel and the preset gain value.

6. The method of claim 5, wherein, The electronic device obtains the gray scale compensation table corresponding to the mura pattern according to the compensation gray scale value of each pixel in the display screen in the mura pattern, comprising: The electronic device divides each pixel in the display screen into multiple area blocks in units of a preset size according to the preset size and the size of the display screen; The electronic device takes the average value of the compensation gray scale values of all pixels in each area block as the compensation gray scale value of the area block; The electronic device takes the compensation gray scale values of all the area blocks as the corresponding gray scale compensation table.

7. The method of claim 1 or 2, wherein, The superposition state of the plurality of target mura patterns includes at least a third mura pattern and a fourth mura pattern; the third mura pattern corresponds to a third gray scale compensation table, and the fourth mura pattern corresponds to a fourth gray scale compensation table; the fourth gray scale compensation table includes a difference value of a gray scale value of each pixel in the third gray scale compensation table and a gray scale value of each pixel in the fourth mura pattern; The display screen is in a superposition state of a plurality of target mura patterns, and the gray scale values of each pixel in the display screen are superimposed and compensated according to the compensation gray scale values of each pixel in the gray scale compensation table corresponding to each target mura pattern, and the pixels of the display screen are controlled to display according to the superimposed and compensated gray scale values, and the method comprises the following steps: The electronic device obtains the third compensation gray scale value corresponding to each pixel according to the third gray scale compensation table; The electronic device adds the third compensation gray scale value of the same pixel and the difference value in the fourth gray scale compensation table to obtain the fourth compensation gray scale value corresponding to each pixel; The electronic device superimposes the third compensation gray scale value corresponding to each pixel and the fourth compensation gray scale value corresponding to each pixel to obtain a second superimposed compensation gray scale value; The electronic device compensates the gray scale values of each pixel in the display screen based on the second superimposed compensation gray scale value, and controls the pixels of the display screen to display according to the compensated gray scale values.

8. A chip, characterized by The chip is applied to an electronic device, and the electronic device comprises a display screen; the chip comprises a processor and an interface circuit; The processor is configured to obtain gray scale compensation tables corresponding to different mura patterns of the display screen; the different mura patterns include at least two different mura patterns in the following mura patterns: a mura pattern presented when the display screen is in different brightness presentations, a mura pattern presented when the display screen is burned in, and a mura pattern presented when the display screen is always displaying AOD; each gray scale compensation table includes a gray scale value that needs to be compensated for each pixel in the display screen in a mura pattern; The processor is further configured to, when the display screen is in a superposition state of a plurality of target mura patterns, superimpose and compensate the gray scale values of each pixel in the display screen according to the compensation gray scale values of each pixel in the gray scale compensation table corresponding to each target mura pattern, to obtain target compensation gray scale values of each pixel in the display screen; wherein the target mura pattern is at least one of the different mura patterns; The interface circuit is configured to send the target compensation gray scale values of each pixel of the display screen to the display screen; The superposition state of the plurality of target mura patterns includes a superposition state of a mura pattern presented when the display screen is in a certain brightness and a mura pattern presented when the display screen is burned in, or a superposition state of a mura pattern presented when the display screen is in a certain brightness and a mura pattern presented when the display screen is in AOD. The gray scale compensation table corresponding to the mura pattern of the display screen in the burn-in presentation is dynamically updated following the actual brightness data of the display screen in the burn-in, and the gray scale compensation table corresponding to the mura pattern of the display screen in the AOD presentation is dynamically updated following the actual brightness data of the display screen in the AOD.

9. The chip of claim 8, wherein, The processor comprises at least a first compensation module and a second compensation module; the first compensation module acts on a first mura pattern, the first mura pattern corresponds to a first gray scale compensation table, and the first gray scale compensation table is stored in the first compensation module; the second compensation module acts on a second mura pattern, the second mura pattern corresponds to a second gray scale compensation table, and the second gray scale compensation table is stored in the second compensation module; The first compensation module acquires a first compensation gray scale value corresponding to each pixel according to the first gray scale compensation table when the display screen is in the first mura pattern; The second compensation module acquires a second compensation gray scale value corresponding to each pixel according to the second gray scale compensation table when the display screen is in the second mura pattern; The interface circuit is configured to send the first compensation gray scale value and / or the second compensation gray scale value of each pixel of the display screen to the display screen.

10. The chip according to claim 8 or 9, characterized in that The processor comprises at least a first compensation module and a second compensation module; the first compensation module acts on a first mura pattern, the first mura pattern corresponds to a first gray scale compensation table, and the first gray scale compensation table is stored in the first compensation module; the second compensation module acts on a second mura pattern, the second mura pattern corresponds to a second gray scale compensation table, and the second gray scale compensation table is stored in the second compensation module; The first compensation module acquires a first compensation gray scale value corresponding to each pixel according to the first gray scale compensation table when the display screen is in the first mura pattern; The second compensation module acquires a second compensation gray scale value corresponding to each pixel according to the second gray scale compensation table when the display screen is in the second mura pattern; The second compensation module is further configured to superimpose the first compensation gray scale value and the second compensation gray scale value of the same pixel to obtain a first target compensation gray scale value of each pixel in the display screen. The interface circuit is configured to send the first target compensation gray scale value of each pixel of the display screen to the display screen.

11. The chip according to claim 8 or 9, characterized in that, The processor comprises a third compensation module, the third compensation module acts on a mura pattern presented when the display screen is in burn-in, the mura pattern presented when the display screen is in burn-in corresponds to a third gray scale compensation table, and the third gray scale compensation table is stored in the third compensation module; The third compensation module is configured to periodically acquire burn-in brightness data of the display screen when it is detected that the display screen is in burn-in; and update third compensation gray scale values corresponding to each pixel of the display screen in the mura pattern presented by the display screen in burn-in according to the burn-in brightness data. According to the third compensation gray scale value corresponding to each pixel in the display screen after the update, a third gray scale compensation table corresponding to the mura pattern presented by the display screen when the display screen is in the burn-in state is updated.

12. The chip according to claim 8 or 9, characterized by The processor at least includes a fourth compensation module and a fifth compensation module; the fourth compensation module acts on a fourth mura pattern, the fourth mura pattern corresponds to a fourth gray scale compensation table, the fourth gray scale compensation table is stored in the fourth compensation module; the fifth compensation module acts on a fifth mura pattern, the fifth mura pattern corresponds to a fifth gray scale compensation table, the fifth gray scale compensation table includes the difference between the gray scale value of each pixel in the fourth gray scale compensation table and the gray scale value of each pixel in the fifth mura pattern, and the fifth gray scale compensation table is stored in the fifth compensation module; The fourth compensation module acquires a fourth compensation gray scale value corresponding to each pixel according to the fourth gray scale compensation table when the display screen is in the fourth mura pattern; The fifth compensation module adds the fourth compensation gray scale value of the same pixel and the difference in the fifth gray scale compensation table as a fifth compensation gray scale value corresponding to each pixel when the display screen is in the fifth mura pattern; The fifth compensation module is further configured to superimpose the fourth compensation gray scale value corresponding to each pixel and the fifth compensation gray scale value corresponding to each pixel to obtain a second target compensation gray scale value of each pixel in the display screen. The interface circuit is configured to send the second target compensation gray scale value of each pixel of the display screen to the display screen.

13. An electronic device, comprising: The electronic device includes the chip of any one of claims 8-12.

14. An electronic device comprising a processor, a display screen, a memory, and a computer program on the memory, characterized in that The processor executes the computer program to implement the steps of the method of any one of claims 1-7.

15. A computer readable storage medium having stored thereon computer programs / instructions, characterized in that, The computer program / instruction is executed by the processor to implement the steps of the method of any one of claims 1-7.

16. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction is executed by the processor to implement the steps of the method of any one of claims 1-7. The computer program / instruction is executed by the processor to implement the steps of the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Mura compensation method and device for display screen, display screen, and computer equipment

    CN108877612A

  • Compensation method of display panel, electronic device, equipment and storage medium

    CN117746791A