Brightness compensation method and electronic equipment

By obtaining and applying grayscale compensation tables under different Mura forms, the brightness compensation of the display screen is compensated, which solves the problem of poor brightness compensation effect in the prior art, and realizes uniform display of the display screen in multiple scenarios.

CN119274501AActive Publication Date: 2025-01-07HONOR DEVICE CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

When the prior art solves the problem of uneven display of the display screen, the brightness compensation effect is poor and cannot be effectively targeted at multiple Mura forms, resulting in poor display uniformity of the display screen in different scenarios.

Method used

By obtaining the grayscale compensation table of the display screen in different Mura forms, the brightness compensation of the display screen pixels is performed according to the compensation grayscale value corresponding to the target Mura form, and effective processing of multiple Mura forms, including different brightness, burning screens and Compensation in AOD state.

Benefits of technology

It significantly improves the brightness compensation effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios, solving the problem of uneven display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119274501A_ABST
    Figure CN119274501A_ABST
Patent Text Reader

Abstract

The invention discloses a brightness compensation method and electronic equipment, and relates to the technical field of electronic equipment, and the method comprises the steps that the electronic equipment obtains corresponding gray scale compensation tables of a display screen in different mura forms; and when the display screen is in the target mura form, the electronic equipment compensates the gray-scale value of each pixel in the display screen according to the compensation gray-scale value corresponding to each pixel in the gray-scale compensation table corresponding to the target mura form, and controls the pixels of the display screen to be displayed based on the gray-scale value compensated by the compensation gray-scale value. In the application, the electronic device can obtain the gray scale compensation table of the display screen in different mura forms, the operation of brightness compensation can act on various mura scenes appearing on the display screen, and the demura operation is performed for the various mura forms, so that the demura effect of the display screen is effectively improved, and the display screen can realize a uniform display effect in different scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic devices, and in particular to a brightness compensation method and electronic device. Background Art

[0002] With the continuous advancement of display technology and the continuous expansion of application scenarios, the requirements for image quality and visual experience of display devices are becoming higher and higher. However, due to factors such as manufacturing process, material selection, and use environment, the display screen often has uneven display in actual applications. This phenomenon is called mura. The mura phenomenon of the display screen will affect the user's perception and experience.

[0003] In order to eliminate the problem of uneven display on the display screen, demura technology came into being. Demura technology is to compensate the brightness of each pixel in the display screen by calculating the compensated grayscale value of each pixel in the display screen, thereby solving the problem of uneven display on the display screen. However, the existing demura technology has a poor effect on the brightness compensation of the display screen. Summary of the invention

[0004] The embodiments of the present application provide a brightness compensation method and an electronic device for solving the brightness compensation of a display screen in different mura forms, performing demura operations on various mura forms, and effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

[0005] In order to achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions.

[0006] In a first aspect, a brightness compensation method is provided, the method comprising:

[0007] The electronic device obtains a grayscale compensation table corresponding to different mura forms of the display screen; the different mura forms include at least two different mura forms of the display screen at different brightness, a mura form when the display screen is in a burn-in state, and a mura form when the display screen is in a state of always displaying AOD; a grayscale compensation table includes a grayscale value that needs to be compensated for each pixel in the display screen under a mura form;

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

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

[0010] In the present application, when the electronic device detects that the display screen is in one or more mura forms, the electronic device can perform brightness compensation for each pixel in the display screen according to the grayscale compensation table corresponding to the mura form, 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 in different mura forms, the operation of the electronic device to perform brightness compensation with the corresponding grayscale compensation table can be applied to various mura scenes that appear on the display screen. Compared with the current electronic device that only stores the grayscale compensation table corresponding to the mura form of the display screen when it leaves the factory, the brightness compensation method provided in the embodiment of the present application can perform demura operations for various mura forms 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 scenes.

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

[0012] When the display screen is in a target mura form, the electronic device compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including:

[0013] When the electronic device is in the first mura state, 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 compensated by the first compensated grayscale value.

[0014] or,

[0015] When the electronic device is in the second mura state, the electronic device obtains the second compensated 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 compensated by the second compensated grayscale value.

[0016] In the present application, when the electronic device detects that the display screen is in a certain mura form, the electronic device can perform brightness compensation for each pixel in the display screen according to the grayscale compensation table corresponding to the mura form, thereby realizing grayscale correction of each pixel in the display screen, which can effectively solve the mura problem of the display screen.

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

[0018] When the display screen is in a target mura form, the electronic device compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including:

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

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

[0021] The electronic device compensates the grayscale value 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 value compensated by the first superimposed compensation grayscale value.

[0022] In the present application, when the electronic device detects that the display screen is in a variety of mura forms, the electronic device can perform superimposed compensation for the brightness of each pixel in the display screen according to the grayscale compensation table corresponding to the various mura forms, and perform demura operations on the various mura forms, thereby effectively improving 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 manner of the first aspect, when the target mura morphology includes at least two mura morphologies, the target mura morphology includes any two or more of the mura morphologies of a mura morphology presented by a display screen at a certain brightness, a mura morphology presented by a display screen at a certain refresh rate, a mura morphology presented by a display screen in burn-in, and a mura morphology presented by a display screen in AOD.

[0024] In the present application, the display screen can be in multiple mura forms at the same time, and the demura is superimposed based on the mura forms that the display screen may actually be in, thereby effectively improving the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenarios.

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

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

[0027] The electronic device updates the compensated grayscale value corresponding to each pixel of the display screen when the display screen is in the mura state presented when the display screen is in the burn-in state according to the burn-in brightness data.

[0028] The electronic device updates the grayscale compensation table corresponding to the mura morphology presented when the display screen is in the burn-in state according to the compensated grayscale value corresponding to each pixel in the updated display screen.

[0029] In this application, when the display screen is in a burn-in state, the brightness data generated may change in real time. In this application, the brightness data can be obtained periodically or in real time to update the grayscale compensation table corresponding to the burn-in state, so that the demura effect in the burn-in state is more accurate.

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

[0031] The electronic device obtains the brightness data of each pixel in the display screen when the display screen is in a mura state.

[0032] The electronic device obtains the compensated grayscale value of each pixel in the display screen under a mura form according to the brightness data of each pixel in the display screen.

[0033] The electronic device obtains a grayscale compensation table corresponding to the mura morphology according to the compensated grayscale value of each pixel in the display screen.

[0034] In the present application, the grayscale compensation table corresponding to different mura forms can be calculated and obtained according to the brightness data of the scenes corresponding to different mura forms. For example, the brightness data of the display screen when it is at the first brightness is obtained, so as to obtain the grayscale compensation table corresponding to the mura form presented by the first brightness; the brightness data of the display screen when it is at the second brightness is obtained, so as to obtain the grayscale compensation table corresponding to the mura form presented by the second brightness; the brightness data of the display screen when it is at the first refresh rate is obtained, so as to obtain the grayscale compensation table corresponding to the mura form presented by the first refresh rate; the brightness data of the display screen when it is in burn-in, so as to obtain the grayscale compensation table corresponding to the mura form presented by the burn-in; and so on. In this way, the electronic device can store the grayscale compensation table corresponding to the different mura forms presented by the display screen in different scenes. In the process of demura, brightness compensation can be performed for a variety of scenes, so that the demura effect of the display screen is better and the display is more uniform.

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

[0036] The electronic device obtains a preset gain value corresponding to a mura form.

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

[0038] The electronic device obtains the compensated grayscale value of each pixel under a mura form according to the product of the grayscale deviation of each pixel and the preset gain value.

[0039] In this application, the preset gain value corresponding to the mura morphology presented in each scene can be set according to the empirical value. The display screen is modeled to obtain the deviation between the actual brightness data (brightness data under the mura morphology) and the reference brightness data (brightness data under uniform display, ideal brightness data without mura morphology). Thus, the compensation grayscale value corresponding to each pixel under the mura morphology presented in each scene is obtained according to the preset gain value, deviation and grayscale bit value corresponding to different scenes. The display screen is modeled and the compensation grayscale value is calculated according to the preset gain value. The calculated compensation grayscale value is more in line with the actual scene and more accurate.

[0040] In another possible implementation of the first aspect, the electronic device obtains a grayscale compensation table corresponding to a mura form according to a compensated grayscale value of each pixel in a display screen under a mura form, including:

[0041] The electronic device divides each pixel in the display screen into a plurality of area blocks according to the preset size and the size of the display screen, taking the preset size as a unit.

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

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

[0044] In the present application, the compensation grayscale values ​​can be processed according to a preset size to obtain a grayscale compensation table containing compensation grayscale values ​​of the area blocks. In other words, the grayscale compensation table may include compensation grayscale values ​​for area blocks of 1*1. The number of pixels in the display screen is consistent with the number of compensation grayscale values ​​in the grayscale compensation table. The grayscale compensation table may also include compensation grayscale values ​​for area blocks of n*m. The number of compensation grayscale values ​​in the grayscale compensation table is the number of pixels in the display screen / n*m. In this way, the number of compensation grayscale values ​​in the grayscale compensation table can be reduced, the space occupied by the grayscale compensation table can be reduced, and the storage performance and read / write performance of the grayscale compensation table can be optimized.

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

[0046] When the display screen is in a target mura form, the electronic device compensates each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including:

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

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

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

[0050] The electronic device compensates the grayscale value 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 value compensated by the second superimposed compensation grayscale value.

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

[0052] In a second aspect, a chip is provided, which is applied to an electronic device, and the electronic device includes a display screen; the chip includes a processor and an interface circuit.

[0053] The processor is used to obtain a grayscale compensation table corresponding to a display screen in different mura forms; the different mura forms include at least two different mura forms of a display screen presenting multiple mura states at different brightnesses, a mura form presented when the display screen is in a burn-in state, and a mura form presented when the display screen is in a state of always displaying AOD; a grayscale compensation table includes a grayscale value that needs to be compensated for each pixel in the display screen in a mura form.

[0054] The processor is also used to compensate the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form when the display screen is in a target mura form, so as to obtain the target compensated grayscale value of each pixel in the display screen; wherein the target mura form is at least one of different mura forms.

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

[0056] In the present application, when the electronic device detects that the display screen is in one or more mura forms, the electronic device can use different compensation modules to perform brightness compensation for each pixel in the display screen based on the grayscale compensation table stored therein, thereby realizing grayscale correction for each pixel in the display screen, which can effectively solve the mura problem of the display screen. Different compensation modules can independently perform demura in different scenes, or perform superimposed demura in multiple scenes. Performing demura operations on multiple mura forms effectively improves the demura effect of the display screen, so that the display screen can achieve a uniform display effect in different scenes.

[0057] In a possible implementation of the second aspect, the processor includes at least a first compensation module and a second compensation module; the first compensation module acts on a first mura morphology, the first mura morphology corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module acts on a second mura morphology, the second mura morphology 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 obtains a first compensated grayscale value corresponding to each pixel according to a first grayscale compensation table when the display screen is in a first mura state.

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

[0060] The 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 acts on a first mura morphology, the first mura morphology corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module acts on a second mura morphology, the second mura morphology 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 obtains a first compensated grayscale value corresponding to each pixel according to a first grayscale compensation table when the display screen is in a first mura state.

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

[0064] The second compensation module is further 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 a first target compensation grayscale value of each pixel in the display screen.

[0065] The interface circuit is used to send the first target compensated 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 for the mura morphology presented when the display screen is in a burn-in state, and the mura morphology presented when the display screen is in a burn-in state corresponds to a third grayscale compensation table, and the third grayscale compensation table is stored in the third compensation module.

[0067] The third compensation module is used to monitor that the display screen is in burn-in state, and periodically obtain the burn-in brightness data of the display screen; update the third compensation grayscale value corresponding to each pixel of the display screen under the mura form presented when the display screen is in burn-in state according to the burn-in brightness data; and update the third grayscale compensation table corresponding to the mura form presented when the display screen is in burn-in state according to the third compensation grayscale value corresponding to each pixel in the updated display screen.

[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 acts on a fourth mura form, the fourth mura form corresponds to a fourth grayscale compensation table, and the fourth grayscale compensation table is stored in the fourth compensation module; the fifth compensation module acts on a fifth mura form, the fifth mura form corresponds to a fifth grayscale compensation table, the fifth grayscale compensation table includes a difference between a grayscale value of each pixel in the fourth grayscale compensation table and a grayscale value of each pixel under the fifth mura form, and the fifth grayscale compensation table is stored in the fifth compensation module.

[0069] The fourth compensation module obtains a fourth compensated grayscale value corresponding to each pixel according to a fourth grayscale compensation table when the display screen is in a fourth mura state.

[0070] The fifth compensation module 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 when the display screen is in the fifth mura state.

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

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

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

[0074] According to a third aspect, an electronic device is provided, comprising the chip described in any one of the second aspects.

[0075] In a fourth aspect, 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 any one of the methods described in the first aspect.

[0076] In a fifth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer program / instructions are executed by a processor, the steps of the method described in any one of the first aspects are implemented.

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

[0078] It can be understood that the beneficial effects that can be 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 provided above can be referred to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0080] Figure 2 A schematic diagram of an electronic device obtaining brightness data provided by an embodiment of the present application;

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

[0082] Figure 4 A schematic diagram of the relationship between a display screen and a block size provided in an embodiment of the present application;

[0083] Figure 5 A schematic diagram of the structure of a functional module of an electronic device provided in an embodiment of the present application;

[0084] Figure 6 A schematic diagram of the structure of functional modules of another electronic device provided in an embodiment of the present application;

[0085] Figure 7 A schematic diagram of the structure of functional modules of another electronic device provided in an embodiment of the present application;

[0086] Figure 8 A schematic diagram of the execution of three compensation modules in an electronic device provided in an embodiment of the present application;

[0087] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0088] Fig.10 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0089] In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include such expressions as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are a kind of "or" relationship.

[0090] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0091] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0092] The reasons for mura on the display screen may include factors such as the materials used in the various film layers during the manufacturing process, the process of forming each film layer, and the aging and loss of materials during the use of the display screen. For example, in the manufacturing process of the display screen, if the quality of the materials used in some film layers is uneven or there are impurities, uneven textures or patterns may appear on the surface of the display screen, resulting in mura. For another example, improper process parameter settings or operating errors during the manufacturing process may cause mura on the display screen. For another example, when the liquid crystal layer is coated or the liquid crystal molecules are aligned on the liquid crystal display screen, if the temperature, humidity and other conditions are unstable or improperly controlled, the mura phenomenon may occur. For another example, long-term use and frequent switching may cause aging and loss of components of the display screen, such as backlight modules, liquid crystal panels and other components. These aging and loss may cause uneven brightness or inconsistent colors on the display screen, resulting in mura. For another example, if the display screen is affected by external pressure, vibration or temperature and humidity changes during transportation, installation or use, it may cause deformation or loosening of the internal structure of the display screen, thereby causing mura. For another example, improper control parameters and process flow during the manufacturing process may lead to poor matching or inaccurate assembly between the components of the display screen, thereby causing mura.

[0093] The mura phenomenon of the display screen in actual application will affect the user's perception and experience. In order to solve this problem, demura technology came into being. By compensating the brightness of the pixels of the display screen and correcting the mura phenomenon, the display uniformity and consistency of the display screen can be improved.

[0094] Demura technology uses a complementary metal oxide semiconductor (CMOS) camera or a charge coupled device camera (CCD camera) to collect the brightness data of each pixel of the organic light-emitting diode (OLED) module in the display screen at different grayscale levels, and calculates the corresponding compensation grayscale value of each pixel at different grayscale levels based on the brightness data, so as to compensate the brightness of each pixel based on the calculated compensation grayscale value. For example, an n-order equation curve is fitted through the least squares principle to perform brightness compensation for each pixel in the display screen at full grayscale (0-255), so as to achieve the correction of mura phenomenon.

[0095] For the demura technology of display screens at low brightness, brightness compensation is generally performed by mapping pixels and compensation values. However, existing OLEDs are prone to rag screens. Among them, rag screens usually refer to a state in which the screen display effect is poor, characterized by the overall gray and dirty color of the screen, and the granular texture of the screen is visible to the naked eye, similar to the texture of coarse cloth (rag). The mura type of the rag screen in the direct current (DC) dimming area and the pulse width modulation (PWM) dimming area is different, and the mapping compensation method will lead to poor compensation effect of the rag screen. When the existing demura technology acquires the brightness data of each pixel of the display screen through image acquisition, it only refers to the mura type presented by each pixel under a single grayscale level (single brightness), and the brightness compensation under a single brightness cannot act on other brightnesses. Therefore, when the display screen is at different brightnesses, brightness compensation inaccuracy may also occur. In addition, the current demura technology only considers the mura effect presented by each pixel of the display screen in the factory state. During the use of the display screen or after a period of use, the mura effect presented by each pixel of the display screen may change. If the brightness compensation is still based on the mura effect in the factory state, without considering the impact of short-term or medium-term afterimages (afterimages that can be restored by stress changes) on the mura effect, the brightness compensation effect will also be poor.

[0096] The embodiment of the present application provides a brightness compensation method. When the electronic device detects that the display screen is in one or more mura forms, the electronic device can perform brightness compensation on each pixel in the display screen according to the grayscale compensation table corresponding to the mura form, 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 in different mura forms, the operation of the electronic device to perform brightness compensation with the corresponding grayscale compensation table can be applied to various mura scenes that appear on the display screen. Compared with the current electronic device that only stores the grayscale compensation table corresponding to the mura form of the display screen when it leaves the factory, the brightness compensation method provided in the embodiment of the present application can perform demura operations on various mura forms 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 scenes.

[0097] Taking the electronic device (or the independent display chip in the electronic device) as the execution subject, the brightness compensation method provided by the embodiment of the present application is introduced through specific embodiments. Figure 1 , Figure 1 A flow chart of a brightness compensation method is given, including:

[0098] S101, the electronic device obtains a grayscale compensation table corresponding to different mura forms of the display screen.

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

[0100] In addition, even if the grayscale values ​​of two pixels are equal in a certain mura form, the grayscale values ​​that need to be compensated for the two pixels may not be equal due to differences in pixel structures.

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

[0102] When the display screen is in different scenes, the mura forms generated are all different. In order to perform brightness compensation (grayscale correction) on the pixels of the display screen in various mura forms, the electronic device can obtain grayscale compensation tables corresponding to a variety of different mura forms. Among them, the grayscale compensation table can be a display lookup table (LUT), and the electronic device can obtain the grayscale value corresponding to each pixel in the grayscale compensation table according to each pixel of the display screen.

[0103] The display has mura due to various reasons, and the display will show different mura forms in different scenarios. The display in different scenarios includes the display in different brightness, the display in different refresh rates, the display in always on display (AOD, usually called screen off display), the display in burn-in, etc.

[0104] Specifically, for example, the display screen will present different mura forms at different brightnesses. Exemplarily, the display screen presents a mura form at a first brightness, the display screen presents another mura form at a second brightness, and so on. Among them, the first brightness can be high brightness, and the second brightness can be low brightness. In this embodiment, the display brightness value (display brightness value, dbv) of the display screen is greater than the preset brightness threshold for high brightness, and the dbv of the display screen is less than or equal to the preset brightness threshold for low brightness. Taking a specific numerical example, for example, the value range of the dbv of the display screen is 100nit-500nit, and the larger the value of dbv, the higher the brightness of the display screen. Exemplarily, dbv is greater than 200nit and less than or equal to 500nit for the first brightness, and dbv is greater than or equal to 100nit and less than or equal to 200nit for the second brightness. Alternatively, the brightness of the display screen can be divided into more levels, for example, dbv greater than 400nit and less than or equal to 500nit is the first brightness, dbv greater than 200nit and less than or equal to 400nit is the second brightness, and dbv greater than or equal to 100nit and less than or equal to 200nit is the third brightness. The electronic device can obtain the grayscale compensation table corresponding to different brightness / different mura forms when these different brightnesses present different mura forms.

[0105] In some other feasible embodiments, the mura forms of the display screen in different scenarios can be distinguished according to the functions that can be realized by the display screen. For example, different mura forms can also include the mura form presented when the display screen is in AOD, the mura form presented when the display screen is in burn-in, the different mura forms presented by the display screen at different refresh rates, and so on. Among them, different refresh rates present different mura forms. For example, a mura form is presented when the refresh rate of the display screen is 120Hz, another mura form is presented when the refresh rate of the display screen is 144Hz, and so on. The electronic device can obtain the grayscale compensation table corresponding to the different mura forms calculated when the display screen presents different mura forms in different scenarios.

[0106] The electronic device can obtain a first grayscale compensation table (LUT1) corresponding to the mura form presented by the display screen at the first brightness, a second grayscale compensation table (LUT2) corresponding to the mura form presented by the display screen at the second brightness, a third grayscale compensation table (LUT3) corresponding to the mura form presented by the display screen at AOD, a fourth grayscale compensation table (LUT4) corresponding to the mura form presented by the display screen at burn-in, etc. The grayscale values ​​that need to be compensated for pixels in the grayscale compensation tables corresponding to different mura forms may be different.

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

[0108] In some embodiments, reference Figure 2 (a) can use other image acquisition devices (such as CMOS cameras or CCD cameras) to capture the display screen image in a certain scene, and the electronic device performs general image processing based on the display screen image to obtain the brightness data of each pixel of the display screen. Then, the electronic device calculates the compensation grayscale value corresponding to each pixel pixel by pixel based on the brightness data of each pixel, and forms a grayscale compensation table corresponding to a scene. The electronic device can store the grayscale compensation table in a designated storage space, and can read the grayscale compensation table to perform brightness compensation for each pixel during the display process. Figure 2 (b) can also collect the display screen image of the display screen in a scene through external devices such as CMOS camera or CCD camera, and other devices perform general image processing based on the display screen image to obtain the brightness data of each pixel of the display screen. Therefore, other devices calculate the compensation grayscale value corresponding to each pixel pixel by pixel based on the brightness data of each pixel to form a grayscale compensation table corresponding to a scene. Other devices can send the grayscale compensation table to the electronic device and burn the grayscale compensation table into the storage space of the electronic device, so that the electronic device can read the grayscale compensation table to perform brightness compensation for each pixel during the display transmission process.

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

[0110] Specifically, in some embodiments, the process of the electronic device / other device calculating the grayscale compensation table corresponding to the mura morphology presented by the display screen in different scenes includes:

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

[0112] Exemplarily, a scenario may be that the display screen is at a first brightness, or the display screen is at a second brightness, or the display screen is in AOD, or the display screen is in burn-in, or the refresh rate of the display screen is a first refresh rate, or the refresh rate of the display screen is a second refresh rate, and the like.

[0113] Exemplarily, a scenario is described as when the display screen is at a certain brightness (first brightness).

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

[0115] After the electronic device acquires the first image, it can perform general image processing on the first image. Among them, general image processing may include noise reduction, grayscale conversion and other processing. Among them, grayscale conversion refers to converting a color image into a grayscale image. Exemplarily, after the grayscale conversion process, the electronic device can obtain the first brightness data (first grayscale value) of each pixel in the first grayscale image based on the first grayscale image obtained by converting the first image. Alternatively, if the electronic device does not perform grayscale conversion on the first image, the electronic device can also calculate the first brightness data (first grayscale value) of each pixel based on the RGB value of each pixel in the first image based on the first color image.

[0116] Exemplarily, the electronic device can calculate the gray value of each pixel according to the RBG value of each pixel by a luminosity method, a weighted average method, or the like. The luminosity method refers to calculating the gray value (gray) of each pixel according to the formula gray = 0.299*R + 0.587*G + 0.114*B. The weighted average method refers to calculating the gray value (gray) of each pixel according to the formula gray = (R+G+B) / 3. This embodiment does not limit the specific method for calculating the luminance 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 images collected when the display screen is in different scenes.

[0118] S202: The electronic device obtains a compensated grayscale value of each pixel in the display screen under a corresponding mura form according to brightness data of each pixel in the display screen.

[0119] In this embodiment, the electronic device can model the brightness data of each pixel of the display screen in the current scene, and obtain the comparison result between the actual brightness data of each pixel in the display screen in the scene and the reference brightness data. Figure 3 , Figure 3 A schematic diagram for comparing actual brightness data of each pixel of a display screen with reference brightness data is given. Figure 3 In the figure, the reference brightness data of each pixel of the display screen can be understood as the brightness data of each pixel corresponding to the display screen when there is no mura phenomenon in the scene. The actual brightness data is the brightness data of each pixel corresponding to the display screen when the mura phenomenon appears in the 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 compensated grayscale value of each pixel can be determined based on the grayscale deviation of each pixel.

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

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

[0122] In this embodiment, a corresponding gain value (gain value) can be preset for each scene at different grayscales. For example, when the display screen is at the first brightness (such as 100nit), the corresponding gain value at 64 grayscale is g1; when the display screen is at the first brightness (such as 100nit), the corresponding gain value at 128 grayscale is g2; when the display screen is at the second brightness (such as 200nit), the corresponding gain value at 64 grayscale is g3; when the display screen is at the second brightness (such as 200nit), the corresponding gain value at 128 grayscale is g4, and so on. The preset gain value of each scene is determined according to the screen brightness of the display screen, the hardware performance of the display screen, and so on.

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

[0124] As mentioned in reference S202, the electronic device can model the brightness data of each pixel of the display screen in the current scene, and obtain the comparison results of the actual brightness data of each pixel in the display screen and the reference brightness data at different grayscales in each scene. Thus, the difference between the grayscale value corresponding to the actual brightness data and the grayscale value corresponding to the reference brightness data is determined as the grayscale deviation (offset) of each pixel. For example, reference Figure 3 , when the brightness data (dbv) of pixel 1 (pixel (x1, y1)) is L1, the corresponding reference grayscale is G1, the actual grayscale is G1', and the difference between G1-G1' is calculated as the grayscale deviation of pixel 1 (pixel (x1, y1)). When the brightness data (dbv) of pixel 2 (pixel (x2, y2)) is L2, the corresponding reference grayscale is G2, the actual grayscale is G2', and the difference between G2-G2' is calculated as the grayscale deviation of pixel 2 (pixel (x2, y2)). In this way, the grayscale deviation of each pixel is obtained according to the reference grayscale in the reference brightness data corresponding to each pixel and the actual grayscale corresponding to the actual brightness data of each pixel.

[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 under a corresponding mura form.

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

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

[0128] S203: The electronic device obtains a corresponding grayscale compensation table according to the compensated grayscale value of each pixel in the display screen under a corresponding mura form.

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

[0130] The value range of the compensation grayscale value of each pixel in the grayscale compensation table can be preset. For example, if the grayscale compensation table is a 5-bit (32 grayscale) compensation table, then the value range of the compensation grayscale value of 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 value range of the compensation grayscale value of each pixel in the grayscale compensation table can be [-2 6 ,2 6 ].

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

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

[0133] The preset size (block size) can be understood as the processing size of the pixels of the display screen. For example, the size of the display screen is 100*100dpi, which includes 10,000 pixels in total. When the preset size is 1*1, one pixel is one area block. Figure 4 When the preset size is 4*2, that is, the pixels in the display screen are divided into regional blocks with 4*2 pixels as the unit, and the divided display screen includes 25*50 regional blocks, refer to Figure 4 When the preset size is 4*4, that is, the pixels in the display screen are divided into regional blocks with 4*4 pixels as units, and the divided display screen includes 25*25 regional blocks, refer to Figure 4 (c) The block size can be determined based on the display hardware performance, display size, and compensation level.

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

[0135] In this embodiment, after the pixels in the display screen are divided into regional blocks, the average value of the compensated grayscale values ​​of all pixels in the regional block can be used as the compensated grayscale value of the regional block. For example, the 2*2 regional block includes pixel 1, pixel 2, pixel 3 and pixel 4, wherein 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 regional block is 64+g1*(offset1+offset2+offset3+offset4) / 4. Alternatively, in some other feasible embodiments, the median value of the compensated grayscale values ​​of each pixel in the regional block can be used as the compensated grayscale value of the regional block. Alternatively, in some other feasible embodiments, if the compensated grayscale values ​​of each pixel in the regional block are repeated, the compensated grayscale value with the highest number of repetitions can be used as the compensated grayscale value of the regional block. Alternatively, in some other feasible embodiments, the compensated grayscale value of any pixel in the regional block may be used as the compensated grayscale value of the regional block; the compensated grayscale value of the pixel corresponding to the geometric center of the regional block may also be used as the compensated grayscale value of the regional block. This embodiment does not limit the specific calculation method for calculating the compensated grayscale value of the regional block.

[0136] S2033 , the compensated grayscale values ​​of all the area blocks form a grayscale compensation table corresponding to a mura form.

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

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

[0139] The target mura morphology is one or more of different mura morphologies.

[0140] In this embodiment, the electronic device can burn the grayscale compensation table corresponding to the different mura forms presented by the display screen in various scenes into the corresponding storage space. Optionally, the grayscale compensation table can be burned into the corresponding storage space after data compression. Exemplarily, the storage space can be the FLASH or memory of the electronic device. The electronic device can monitor the scene in which the display screen is located and select the grayscale compensation table corresponding to the scene in which the display screen is located, and compensate the grayscale value of each pixel in the display screen for display, thereby solving the mura phenomenon of the display screen.

[0141] In some embodiments, the electronic device can independently compensate the grayscale value of each pixel for each scene in which the display screen is located. For example, when the display screen is currently in only one scene, the grayscale compensation table corresponding to the mura morphology presented in the one scene is obtained to compensate the grayscale value of the pixel. Exemplarily, when the electronic device monitors that the display screen is in the first brightness, the grayscale compensation table corresponding to the mura morphology presented at the first brightness is obtained to compensate the grayscale value of the pixel; when the electronic device monitors that the display screen is in the second brightness, the grayscale compensation table corresponding to the mura morphology presented at the second brightness is obtained to compensate the grayscale value of the pixel; when the electronic device monitors that the display screen is in AOD, the grayscale compensation table corresponding to the mura morphology presented when the display screen is in AOD is obtained to compensate the grayscale value of the pixel; when the electronic device monitors that the display screen is in burn-in, the grayscale compensation table corresponding to the mura morphology presented when the display screen is in burn-in is obtained to compensate the grayscale value of the pixel; when the electronic device monitors that the current refresh rate is the first refresh rate, the grayscale compensation table corresponding to the mura morphology presented at the first refresh rate is obtained to compensate the grayscale value of the pixel. In this way, since the electronic device stores grayscale compensation tables corresponding to different mura forms presented in a variety of scenes, different electronic devices can obtain the grayscale compensation table corresponding to the scene no matter what scene it is in, and perform grayscale value compensation operations on each pixel in the display screen under the scene, thereby eliminating the mura phenomenon presented on the display screen under the scene.

[0142] In some other feasible embodiments, the display screen of the electronic device may be in multiple scenes at the same time, for example, the display screen is in a scene where the brightness compensation is performed at the first brightness and the first refresh rate. The electronic device can perform superimposed compensation of the grayscale values ​​of each pixel of the display screen in combination with the grayscale compensation table corresponding to the corresponding scene. For example, the electronic device obtains the compensated grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the first brightness; the electronic device obtains the compensated grayscale value 2 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the first refresh rate. The compensated grayscale value 1 and the compensated grayscale value 2 are sent to the display screen, and the display screen compensates the grayscale values ​​of each pixel of the display screen based on the superimposed compensated grayscale value (target compensated grayscale value) of the compensated grayscale value 1 and the compensated 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 compensated grayscale value.

[0143] In some other feasible embodiments, the display screen of the electronic device may be in multiple scenes at the same time, for example, for scenes where the display screen is in the first brightness and the second brightness and a burn-in phenomenon occurs. The electronic device can perform superimposed compensation of the grayscale values ​​of each pixel of the display screen in combination with the grayscale compensation table corresponding to the corresponding scene. For example, the electronic device obtains the compensated grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the first brightness; the electronic device obtains the compensated grayscale value 2 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the second brightness; the electronic device obtains the compensated grayscale value 3 of each pixel in the grayscale compensation table corresponding to the mura morphology presented when the display screen is in burn-in. The compensated grayscale value 1, the compensated grayscale value 2, and the compensated grayscale value 3 are sent to the display screen. When the display screen is at the first brightness, the display screen compensates the grayscale values ​​of each pixel of the display screen based on the superimposed compensated grayscale value of the compensated grayscale value 1 and the compensated grayscale value 3, and finally controls each pixel to display according to the sum of the actual grayscale of each pixel and the superimposed compensated grayscale value. When the display screen is at the second brightness, the display screen compensates the grayscale value of each pixel of the display screen based on the superimposed compensation grayscale value of the compensation grayscale value 2 and the compensation grayscale value 3, and finally controls each pixel to display according to the sum of the actual grayscale of each pixel and the superimposed compensation grayscale value. In this way, the operation of superimposing and compensating the grayscale value of each pixel of the display screen in combination with the grayscale compensation table corresponding to multiple scenes can effectively solve the problem of multiple mura forms appearing on the display screen in multiple scenes, and also improves the efficiency and accuracy of demura, thereby achieving a better demura effect.

[0144] In some other feasible embodiments, the display screen of the electronic device may also be in other multiple scenes at the same time. For example, in the scene of the first refresh rate, the display screen will produce a burn-in phenomenon when it is at the first brightness. In this case, the electronic device can combine the grayscale compensation table corresponding to the corresponding scene 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 4 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the first refresh rate; the electronic device obtains the compensated grayscale value 1 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen at the first brightness; the electronic device obtains the compensated grayscale value 3 of each pixel in the grayscale compensation table corresponding to the mura morphology presented by the display screen when the display screen is in burn-in. The compensated grayscale value 1, the compensated grayscale value 3 and the compensated 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 the compensated grayscale value 1, the compensated grayscale value 3 and the compensated 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 the grayscale compensation tables corresponding to various scenes can effectively solve the problem of various mura forms appearing on the display screen in various scenes, while also improving the efficiency and accuracy of demura, thereby achieving better demura effect.

[0145] It is understandable that the display screen is in multiple other scenarios at the same time, which may be any two or more of the following scenarios: the display screen is at a certain brightness, the display screen is at a certain refresh rate, the display screen is in burn-in, and the display screen is in AOD. Then, the target mura morphology of the display screen may include any two or more of the mura morphology presented by the display screen at a certain brightness, the mura morphology presented by the display screen at a certain refresh rate, the mura morphology presented by the display screen in burn-in, and the mura morphology presented by the display screen in AOD.

[0146] In this embodiment, when the electronic device detects that the display screen is in one or more mura forms, the electronic device can perform superimposed compensation for the brightness of each pixel in the display screen according to the grayscale compensation table corresponding to the different mura forms, 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 in different mura forms, the operation of the electronic device to perform superimposed compensation for brightness with the corresponding grayscale compensation table can be applied to various mura scenes that appear on the display screen. Compared with the current electronic device that only stores the grayscale compensation table corresponding to the mura form of the display screen when it leaves the factory, the brightness compensation method provided in the embodiment of the present application can perform demura operations for various mura forms 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 scenes.

[0147] In some embodiments, the brightness compensation method provided in the embodiment of the present application is introduced in combination with the functional modules of the 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 embodiment. The interface circuit is used to send the target compensation grayscale value (superimposed compensation grayscale value) of each pixel after compensation to the display screen for display.

[0148] Specifically, in a feasible embodiment, the processor may include at least two compensation modules. The compensation module may obtain the grayscale compensation table corresponding to different scenes, or different grayscale compensation tables may be preset in the compensation module. In some embodiments, the block size of the compensation module for brightness compensation may also be preset, so as to generate a grayscale compensation table corresponding to its block size according to the block size of the compensation module for brightness compensation. Alternatively, when the grayscale compensation table is preset to the compensation module, the block size may be converted so that the block size of the grayscale compensation table matches the block size of the compensation module for brightness compensation.

[0149] For example, reference Figure 5 , Figure 5A structural schematic diagram of a functional module of an electronic device is provided. The processor includes a first compensation module and a second compensation module. The first compensation module can obtain a first grayscale compensation table; or, the first grayscale compensation table can be preset in the first compensation module. Exemplarily, the block size of the first compensation module can be 1*1, and the block size of the first grayscale compensation table in the first compensation module is also 1*1. The second compensation module can obtain a second grayscale compensation table; or, the second grayscale compensation table can be preset in the second compensation module. Exemplarily, the block size of the first compensation module can be 4*4, and 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 a 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 a 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 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 sends the first compensation grayscale value and the second compensation grayscale value to the display screen, which performs superposition compensation on the first compensation grayscale value and the second compensation grayscale value, and controls each pixel in the display screen to display according to the grayscale value compensated by the superposition compensation grayscale value (target compensation grayscale value).

[0150] In some other scenarios, if the display screen is at a third brightness between the first brightness and the second brightness, the second compensation module can calculate the grayscale compensation table corresponding to the third brightness according to the difference between the third brightness and the first brightness and the first grayscale compensation table; or the second compensation module can calculate the grayscale compensation table corresponding to the third brightness according to the difference between the third brightness and the second brightness and the second grayscale compensation table. Therefore, based on the grayscale compensation table corresponding to the third brightness, the compensation grayscale value of each pixel of the display screen corresponding to the third brightness is output to perform compensation operation when the display screen is at the third brightness.

[0151] For example, reference Figure 6 , Figure 6A structural schematic diagram of the functional modules of another electronic device is given. The processor includes a first compensation module, a second compensation module and a third compensation module. The first compensation module can obtain a first grayscale compensation table; or, the first grayscale compensation table can be preset in the first compensation module. Exemplarily, the blocksize 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 obtain a second grayscale compensation table; or, the second grayscale compensation table can be preset in the second compensation module. Exemplarily, 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 of 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 can reduce the storage space occupied by the compensation module compared to storing a complete grayscale compensation table. For example, reference Figure 7 , Figure 7 A structural schematic diagram of a functional module of another electronic device is given. For example, the first compensation module is used to perform grayscale compensation of a first brightness, and the first compensation module stores a first grayscale compensation table corresponding to the first brightness; the second compensation module needs to perform grayscale compensation of a second brightness, then the second compensation module can store a difference table formed by the difference between the compensated grayscale value corresponding to each pixel at 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 the second grayscale compensation table corresponding to the second brightness. In this embodiment, the compensation table formed by the compensated grayscale value corresponding to each pixel at the second brightness is called a reference compensation table. Alternatively, in other scenarios, for example, the first compensation module is used to perform grayscale compensation of 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 of a second refresh rate, then the second compensation module can store a difference table formed by the difference between the compensated grayscale value corresponding to each pixel at 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 the second grayscale compensation table corresponding to the second refresh rate. In this way, the second compensation module stores a difference table, which occupies a smaller storage space than the second grayscale compensation table, thereby improving storage space utilization of the second compensation module and optimizing storage and data reading performance of the second compensation module.

[0153] In some embodiments, if the grayscale compensation table stored in the compensation module is a difference table, the compensation module can calculate the output compensated grayscale value according to the compensated grayscale value of each pixel in the grayscale compensation table in the corresponding compensation module and the difference of the corresponding pixel in the difference table. For example, the first compensation module stores the first grayscale compensation table corresponding to the first brightness, and the first compensation module can output the first compensated grayscale value. The second compensation module stores the difference table (second grayscale compensation table). The difference table is calculated by 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 value of each pixel in the first grayscale compensation table with the grayscale value of each pixel in the difference table, and obtain and output the second compensated grayscale value of each pixel.

[0154] Exemplarily, the third compensation module may obtain a third grayscale compensation table; or, the third grayscale compensation table may be preset in the third compensation module. Exemplarily, the block size of the third compensation module may be 8*4, and 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 in the first brightness scene, the second compensation module can be used to output the compensated grayscale value of each pixel of the display screen in 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 in the burn-in or short-medium residual state according to the third brightness data (brightness data of each pixel when the display screen is in burn-in state) acquired in real time. Among them, short-medium residual refers to the mura phenomenon presented by the residual image generated when the display screen receives stress change.

[0156] Among them, the first compensation module can send the first compensation grayscale value directly to the interface circuit, or send the first compensation grayscale value to the second compensation module. The second compensation module sends the second compensation grayscale value (and the first compensation grayscale value) to the interface circuit, or sends the second compensation grayscale value (and the first compensation grayscale value) to the third compensation module. The third compensation module can send the third compensation grayscale value (and the first compensation grayscale value, the second compensation grayscale value) to the interface circuit. Thus, the interface circuit sends the first compensation grayscale value, the second compensation grayscale value and the third compensation grayscale value to the display screen, and the display screen performs superposition compensation on the first compensation grayscale value, the second compensation grayscale value and the third compensation grayscale value, and controls each pixel in the display screen to display according to the grayscale value after the actual grayscale value and the target grayscale value are corrected. The third compensation module can also send the superposition compensation grayscale value (target grayscale value) of the first compensation grayscale value, the second compensation grayscale value and the third compensation grayscale value to the interface circuit. The interface circuit sends the superimposed compensation grayscale value (target grayscale value) to the display screen, which 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 plurality of grayscale compensation tables can be stored in a compensation module. The block sizes corresponding to the grayscale compensation tables stored in a compensation module are the same. For example, if the block size of the first compensation module is 4*2, then the block size of all grayscale compensation tables stored in the first compensation module is also 4*2. For example, if the blocksize of the first compensation module is 4*4, then the block size of all grayscale compensation tables stored in the first compensation module is also 4*4. For example, if the block size of the second compensation module is 2*2, then the block size of all grayscale compensation tables stored in the second compensation module is also 2*2. The block sizes of different compensation modules may be the same or different.

[0158] In combination with the brightness compensation method provided in the above embodiment and Figure 6 and Figure 7 The functional modules shown are referenced Figure 8 , Figure 8 A schematic diagram of the implementation 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] Grayscale compensation tables corresponding to different grayscale values ​​may be preset in the same compensation module, and the grayscale ranges of the grayscale compensation tables preset in different compensation modules may be the same.

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

[0162] The block size of the grayscale compensation table in the same compensation module is the same as the block size of the module. The block sizes of different compensation modules may be different.

[0163] For example, if the block size of the first compensation module is 1*1, then the block size of the grayscale compensation table (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 table (LUT3, LUT4 and LUT5) in the second compensation module is also 4*4. The blocksize of the third compensation module can be 8*4, then the block size of the grayscale compensation table (LUT6 and LUT7) in the third compensation module is also 8*4.

[0164] The grayscale value range of each pixel in the grayscale compensation table in the same compensation module may be the same or different. The grayscale value range of each pixel in the grayscale compensation table of different compensation modules may be different or the same.

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

[0166] Specifically, two compensation modules among the above compensation modules are used to illustrate the brightness compensation method provided by this embodiment.

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

[0168] When the electronic device detects that the display screen is in a burn-in state, the display screen is at the first brightness. At this time, the display screen is in two scenarios, and the compensation modules involved include the first compensation module and the third compensation module. For example, the first compensation module includes LUT1 of 32 grayscales, and the third compensation module includes LUT6 corresponding to 32 grayscales.

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

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

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

[0172] Alternatively, the third compensation module may also send the superimposed compensation grayscale value (32+g1*offset21+32+32+g6*offset32) to the interface circuit. The interface circuit sends the superimposed compensation grayscale value (32+g1*offset21+32+32+g6*offset32) to the display screen. The display screen applies the superimposed compensation grayscale value of each pixel to the actual grayscale value of each pixel to achieve grayscale correction of each pixel. That is, the display screen may use the sum (correction value) of the actual grayscale value of each pixel and the superimposed compensation grayscale value as the final display grayscale of each pixel.

[0173] Specifically, the brightness compensation method provided by this embodiment is described using the above three compensation modules.

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

[0175] When the electronic device detects that the display screen is in a burn-in state, the display screen is in a first brightness. However, the display screen can still perform brightness compensation based on the two brightnesses and the brightness data in the burn-in state. 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 compensated grayscale value 1 of 32 grayscales corresponding to n pixels in the display screen through LUT1. For example, the first compensation module obtains the compensated grayscale value 11 of pixel 1 in LUT1 as 32+g1*offset11, the compensated grayscale value 12 of pixel 2 in LUT1 as 32+g1*offset12, and so on. The first compensation module sends the compensated grayscale values ​​1n of n pixels to the next compensation module.

[0177] For example, the next compensation module may be the second compensation module. The second compensation module receives the compensated grayscale values ​​of n pixels under the first brightness 32 grayscale. The second compensation module obtains the compensated grayscale values ​​of the corresponding 32 grayscales of each pixel in LUT3. For example, the second compensation module obtains the compensated grayscale value 21 of pixel 1 in LUT6 as 32+g3*offset21, the compensated grayscale value 22 of pixel 2 in LUT1 as 32+g3*offset22, and so on. The second compensation module sends the compensated grayscale value 2n corresponding to n pixels and the compensated grayscale value 1n of each pixel sent by the first compensation module to the next compensation module.

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

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

[0180] Alternatively, the third compensation module may also send the superimposed compensation grayscale value (32+g1*offset11+32+g3*offset21+32+g6*offset31) to the interface circuit. The interface circuit 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 to achieve grayscale correction of each pixel. That is, the display screen may use the sum (correction value) of the actual grayscale value of each pixel and the superimposed compensation grayscale value as the final display grayscale of each pixel.

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

[0182] In this embodiment, the electronic device can obtain the actual brightness data of the display screen when it is burned in real time or periodically, and update the grayscale compensation table in the third compensation module based on the actual brightness data obtained in real time and the reference brightness data of the display screen of the aging model.

[0183] Similar to the screen burn-in scenario, when the display screen is in AOD, the electronic device can also construct a display screen model corresponding to the display screen in AOD according to the device parameters of the display screen. The electronic device can also periodically obtain the actual brightness data of the display screen when it is in AOD, and update the grayscale compensation table in the brightness compensation module corresponding to the mura state of AOD based on the actual brightness data obtained in real time and the reference brightness data of the display screen of the display screen model corresponding to AOD.

[0184] In this embodiment, grayscale compensation tables that match the block size of the compensation modules and the scenarios / functions to which the compensation modules are applicable may be preset in different compensation modules of the electronic device. When the electronic device detects that the display screen is in a certain mura form, the electronic device can use the corresponding compensation module to perform brightness compensation for each pixel in the display screen according to the grayscale compensation table corresponding to the mura form, thereby achieving grayscale correction for each pixel in the display screen, and can effectively solve the mura problem of the display screen. Compared with the current electronic devices that only store the grayscale compensation table corresponding to the mura form of the display screen when it leaves the factory, the brightness compensation method provided in the embodiment of the present application can perform demura operations on a variety of mura forms 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 the embodiment of the present application may be an electronic device with a display screen. For example, the electronic device may 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 smart watch), an augmented reality (AR) / virtual reality (VR) device, a car computer, etc. The following embodiments do not impose any special restrictions on the specific form of the electronic device.

[0186] For example, Fig. 9 As shown in the structural schematic diagram of the electronic device 200. Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. Fig. 9 , Fig. 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, the memory 202, the communication interface 203, the driver chip 204 and the display screen 205 may be connected via the bus 206.

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

[0188] The memory 202 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

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

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

[0191] The communication interface 203 is used for the electronic device to connect to other devices through a communication network, and the communication network 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 sending unit for sending 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 is 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 200 may include 1 or N display screens 205, where N is a positive integer greater than 1.

[0194] The brightness compensation method provided in the embodiment of the present application can be executed in the driver chip 204, or in 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 grayscale levels stored in the memory 202, so as to achieve the demura effect.

[0195] The bus 206 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0196] It should be pointed out that Fig. 9 The structure shown in the figure does not constitute a limitation on the electronic device, except Fig. 9 In addition to the components shown, the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0197] The present application also provides a chip system (eg, a system on a chip (SoC)), such as Fig.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 can be interconnected by lines. For example, the interface circuit 702 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 702 can be used to send signals to other devices (such as a processor 701 or a camera of an electronic device). Exemplarily, the interface circuit 702 can read instructions stored in the memory and send the instructions to the processor 701. When the instruction is executed by the processor 701, the electronic device can perform the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0198] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device 100 in the above-mentioned method embodiment.

[0199] The embodiment of the present application further provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the electronic device 100 in the above method embodiment. For example, the computer may be the above electronic device 100.

[0200] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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 the individual’s separate consent has been obtained, including but not limited to notifying and reminding the user to read the relevant user agreement (notification) and sign the agreement (authorization) including authorization of relevant user information before the user uses the function.

[0202] In the technical solutions disclosed in this application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0203] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0204] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0205] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0206] If the integrated unit is implemented in the form of 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 solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0207] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A brightness compensation method, characterized in that: The method comprises: The electronic device obtains a grayscale compensation table corresponding to a display screen in different mura forms; the different mura forms include at least two different mura forms of a plurality of mura states presented by the display screen at different brightnesses, a mura form presented when the display screen is in burn-in, and a mura form presented when the display screen is in the state of always displaying AOD; a grayscale compensation table includes a grayscale value that needs to be compensated for each pixel in the display screen in a mura form; When the display screen is in a target mura form, the electronic device compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value; wherein the target mura form is at least one of the different mura forms.

2. The method according to claim 1, characterized in that The target mura morphology includes a first mura morphology or a second mura morphology; the first mura morphology corresponds to a first grayscale compensation table, and the second mura morphology corresponds to a second grayscale compensation table; The electronic device, when the display screen is in a target mura form, compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including: When the electronic device is in the first mura state, the electronic device obtains a 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 compensated by the first compensated grayscale value; or, When the electronic device is in the second mura state, the electronic device obtains the second compensated 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 compensated by the second compensated grayscale value.

3. The method according to claim 1 or 2, characterized in that: The target mura morphology includes at least a first mura morphology and a second mura morphology; the first mura morphology corresponds to a first grayscale compensation table, and the second mura morphology corresponds to a second grayscale compensation table; The electronic device, when the display screen is in a target mura form, compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including: The electronic device obtains a first compensated grayscale value corresponding to each pixel according to the first grayscale compensation table, and obtains a second compensated grayscale value corresponding to each pixel according to the second grayscale compensation table; The electronic device superimposes the first compensated grayscale value and the second compensated grayscale value of the same pixel to obtain a first superimposed compensated grayscale value; The electronic device compensates the grayscale value 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 value compensated by the first superimposed compensation grayscale value.

4. The method according to claim 3, characterized in that When the target mura form includes at least two mura forms, the target mura form includes any two or more of the mura forms of the display screen at a certain brightness, the mura form of the display screen at a certain refresh rate, the mura form of the display screen in burn-in, and the mura form of the display screen in AOD.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When the electronic device detects that the display screen is in burn-in state, the electronic device periodically obtains burn-in brightness data of the display screen; The electronic device updates, according to the burn-in brightness data, a compensation grayscale value corresponding to each pixel of the display screen when the display screen is in a mura state when the display screen is in a burn-in state; The electronic device updates the grayscale compensation table corresponding to the mura morphology presented by the display screen when the display screen is in the burn-in state according to the compensated grayscale value corresponding to each pixel in the updated display screen.

6. The method according to any one of claims 1 to 5, characterized in that Before the electronic device obtains the grayscale compensation table corresponding to the display screen being in different mura forms, the method further includes: The electronic device obtains brightness data of each pixel in the display screen when the display screen is in a mura state; The electronic device obtains the compensated grayscale value of each pixel in the display screen under the mura form according to the brightness data of each pixel in the display screen; The electronic device obtains a grayscale compensation table corresponding to the mura form according to the compensated grayscale value of each pixel in the display screen.

7. The method according to claim 6, characterized in that The electronic device obtains the compensated grayscale value of each pixel in the display screen under the mura form according to the brightness data of each pixel in the display screen, including: The electronic device obtains a preset gain value corresponding to the mura form; The electronic device obtains the grayscale deviation of each pixel according to the deviation between the brightness data and the reference brightness data corresponding to the mura form; The electronic device obtains the compensated grayscale value of each pixel under the mura form according to the product of the grayscale deviation of each pixel and the preset gain value.

8. The method according to claim 7, characterized in that The electronic device obtains a grayscale compensation table corresponding to the mura form according to the compensated grayscale value of each pixel in the display screen under the mura form, including: The electronic device divides each pixel in the display screen into a plurality of area blocks according to a preset size and a size of the display screen, taking the preset size as a unit; The electronic device uses the average value of the compensated grayscale values ​​of all pixels in each of the area blocks as the compensated grayscale value of the area block; The electronic device uses the compensated grayscale values ​​of all the area blocks as the corresponding grayscale compensation table.

9. The method according to any one of claims 3 to 8, characterized in that: The target mura form includes at least a third mura form and a fourth mura form; the third mura form corresponds to a third grayscale compensation table, and the fourth mura form corresponds to a fourth grayscale compensation table; the fourth grayscale compensation table includes a difference between a grayscale value of each pixel in the third grayscale compensation table and a grayscale value of each pixel under the fourth mura form; The electronic device, when the display screen is in a target mura form, compensates the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form, and controls the pixels of the display screen to display according to the grayscale value compensated by the compensated grayscale value, including: The electronic device obtains a third compensated grayscale value corresponding to each pixel according to the third grayscale compensation table; The electronic device uses the sum of the third compensated grayscale value of the same pixel and the difference in the fourth grayscale compensation table as the fourth compensated grayscale value corresponding to each pixel; The electronic device superimposes the third compensated grayscale value corresponding to each pixel and the fourth compensated grayscale value corresponding to each pixel to obtain a second superimposed compensated grayscale value; The electronic device compensates the grayscale value 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 value compensated by the second superimposed compensation grayscale value.

10. A chip, characterized in that: Applicable to electronic equipment, the electronic equipment includes a display screen; the chip includes a processor and an interface circuit; The processor is used to obtain a grayscale compensation table corresponding to different mura forms of the display screen; the different mura forms include at least two different mura forms of the display screen presenting multiple mura states at different brightnesses, the mura form presented when the display screen is in a burn-in state, and the mura form presented when the display screen is in a state of always displaying AOD; a grayscale compensation table includes a grayscale value that needs to be compensated for each pixel in the display screen under a mura form; The processor is further configured to compensate the grayscale value of each pixel in the display screen according to the compensated grayscale value corresponding to each pixel in the grayscale compensation table corresponding to the target mura form when the display screen is in a target mura form, so as to obtain a target compensated grayscale value of each pixel in the display screen; wherein the target mura form is at least one of the different mura forms; The interface circuit is used to send the target compensation grayscale value of each pixel of the display screen to the display screen.

11. The chip according to claim 10, characterized in that: The processor includes at least a first compensation module and a second compensation module; the first compensation module acts on a first mura morphology, the first mura morphology corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module acts on a second mura morphology, the second mura morphology corresponds to a second grayscale compensation table, and the second grayscale compensation table is stored in the second compensation module; The first compensation module acquires a first compensated grayscale value corresponding to each pixel according to the first grayscale compensation table when the display screen is in the first mura state; The second compensation module acquires a second compensated grayscale value corresponding to each pixel according to the second grayscale compensation table when the display screen is in the second mura state; The 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.

12. The chip according to claim 10 or 11, characterized in that: The processor includes at least a first compensation module and a second compensation module; the first compensation module acts on a first mura morphology, the first mura morphology corresponds to a first grayscale compensation table, and the first grayscale compensation table is stored in the first compensation module; the second compensation module acts on a second mura morphology, the second mura morphology corresponds to a second grayscale compensation table, and the second grayscale compensation table is stored in the second compensation module; The first compensation module acquires a first compensated grayscale value corresponding to each pixel according to the first grayscale compensation table when the display screen is in the first mura state; The second compensation module acquires a second compensated grayscale value corresponding to each pixel according to the second grayscale compensation table when the display screen is in the second mura state; The second compensation module is further used to superimpose the first compensation grayscale value and the second compensation grayscale value of the same pixel to obtain a first target compensation grayscale value of each pixel in the display screen; The interface circuit is used to send the first target compensated grayscale value of each pixel of the display screen to the display screen.

13. The chip according to any one of claims 10 to 12, characterized in that: The processor includes a third compensation module, the third compensation module is used for the mura form presented by the display screen when the display screen is in the state of screen burn-in, the mura form presented by the display screen when the display screen is in the state of screen burn-in corresponds to a third grayscale compensation table, and the third grayscale compensation table is stored in the third compensation module; The third compensation module is used to periodically acquire the burn-in brightness data of the display screen when monitoring that the display screen is in the state of screen burn-in; and update the third compensation grayscale value corresponding to each pixel of the display screen under the mura form presented when the display screen is in the state of screen burn-in according to the burn-in brightness data; According to the updated third compensation grayscale value corresponding to each pixel in the display screen, the third grayscale compensation table corresponding to the mura morphology presented when the display screen is in the burn-in state is updated.

14. The chip according to any one of claims 10 to 13, characterized in that: The processor at least includes a fourth compensation module and a fifth compensation module; the fourth compensation module acts on a fourth mura form, the fourth mura form corresponds to a fourth grayscale compensation table, and the fourth grayscale compensation table is stored in the fourth compensation module; the fifth compensation module acts on a fifth mura form, the fifth mura form corresponds to a fifth grayscale compensation table, the fifth grayscale compensation table includes a difference between a grayscale value of each pixel in the fourth grayscale compensation table and a grayscale value of each pixel under the fifth mura form, and the fifth grayscale compensation table is stored in the fifth compensation module; The fourth compensation module acquires a fourth compensation grayscale value corresponding to each pixel according to the fourth grayscale compensation table when the display screen is in a fourth mura state; The fifth compensation module, when the display screen is in the fifth mura state, 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 corresponding to each pixel; The fifth compensation module is further used to superimpose the fourth compensation grayscale value corresponding to each pixel and the fifth compensation grayscale value corresponding to each pixel to obtain a second target compensation grayscale value of each pixel in the display screen; The interface circuit is used to send the second target compensated grayscale value of each pixel of the display screen to the display screen.

15. An electronic device, characterized in that: The electronic device comprises the chip according to any one of claims 10-14.

16. 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 according to any one of claims 1-9.

17. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

18. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

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

    CN108877612A

  • Method and device of compensation for eliminating uneven brightness of screen body

    CN108877736A

  • Brightness compensation parameter detection method, brightness compensation method, brightness compensation parameter detection device, brightness compensation device, display device and storage medium

    CN110447061A

  • Brightness compensation method and system of display panel and display panel

    CN111816121A

  • Compensation method of display panel, mura identification method and device, equipment and medium

    CN115359755A

Cited By

  • Method and system for solving low-gray-scale color cast of silicon-based OLED and storage medium

    CN120783692A

  • Driving method and driving device of display panel and display device

    CN120833733A

  • Compensation method and device of display panel and display screen

    CN121354509A

  • Compensation methods, devices, and displays for display panels

    CN121354509B