Screen brightness compensation method, screen compensation parameter calibration method, device and product
Patent Information
- Application Number
- CN202510417890.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2026-10-16
AI Technical Summary
然而,由于标定亮度设定参数与补偿亮度设定参数下屏幕中各区域的亮度差异和变化趋势不一致,统一的补偿参数往往无法实现理想的补偿效果,导致部分区域欠补偿或过补偿,影响用户的使用体验
[0021] The screen brightness compensation method disclosed herein obtains screen compensation parameters including compensation coefficients and at least one compensation threshold range; determines the compensation depth corresponding to each region based on the compensation coefficients; performs brightness compensation on the region based on the compensation depth when the compensation depth is within the compensation threshold range; and performs brightness compensation on the region based on the compensation threshold range when the compensation depth exceeds the compensation threshold range. This method, by limiting the calculated compensation depth based on the compensation threshold range, can avoid undercompensation or overcompensation in some regions, thereby making the overall screen display brightness more uniform.
Smart Images

Figure CN122929936A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of screen display technology, and more specifically, to a screen brightness compensation method, a screen compensation parameter calibration method, an apparatus, an electronic device, a storage medium, and a computer program product. Background Technology
[0002] OLED (Organic Light-Emitting Diode) screens have become a common display solution for mobile phones, tablets, and other devices due to their advantages such as self-illumination, wide color gamut, and low power consumption. However, because OLED screens are current-driven devices, they are prone to mura (brightness unevenness) issues at low brightness and low grayscale levels due to limitations in the consistency of backplane manufacturing processes. To address this, the industry commonly uses demura compensation technology to improve the uniformity of display brightness. However, because the brightness differences and trends in different areas of the screen under calibrated brightness settings and compensated brightness settings are inconsistent, uniform compensation parameters often fail to achieve ideal compensation effects, resulting in undercompensation or overcompensation in some areas, affecting the user experience. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a screen brightness compensation method, a screen compensation parameter calibration method, an apparatus, an electronic device, a storage medium, and a computer program product.
[0004] According to a first aspect of the present disclosure, a screen brightness compensation method is provided, the method comprising: acquiring screen compensation parameters; the screen compensation parameters including at least: a compensation coefficient and at least one compensation threshold interval; the screen including at least one region; the compensation threshold interval corresponding one-to-one with the region; determining a first compensation depth corresponding to a first region based on the compensation coefficient; the first region belonging to the at least one region; in response to the first compensation depth being located within the first compensation threshold interval, performing brightness compensation on the first region based on the first compensation depth; the first compensation threshold interval corresponding to the first region; in response to the first compensation depth exceeding the first compensation threshold interval, performing brightness compensation on the first region based on the first compensation threshold interval.
[0005] In some exemplary embodiments of this disclosure, obtaining the screen compensation parameters includes: obtaining a first brightness setting parameter of the screen; and obtaining the screen compensation parameters corresponding to the first brightness setting parameter.
[0006] In some exemplary embodiments of this disclosure, obtaining screen compensation parameters further includes: determining the first compensation threshold range based on a first brightness and a first reference brightness corresponding to the first brightness setting parameter; the first brightness corresponds to the first region.
[0007] In some exemplary embodiments of this disclosure, determining the first compensation depth corresponding to the first region based on the compensation coefficient includes: obtaining the calibration brightness difference corresponding to the first region; the calibration brightness difference of the first region is the difference between the first calibration brightness and the calibration reference brightness corresponding to the first region; the first calibration brightness and the calibration reference brightness correspond to calibration brightness setting parameters; determining a first compensation value based on the compensation coefficient and the calibration brightness difference of the first region; and determining the first compensation depth based on the first brightness and the first compensation value corresponding to the first region.
[0008] In some exemplary embodiments of this disclosure, the first reference brightness and the calibration reference brightness are the brightness of the center point of the screen under the first brightness setting parameter and the calibration brightness setting parameter, respectively.
[0009] In some exemplary embodiments of this disclosure, the step of performing brightness compensation on the first region based on the first compensation threshold range in response to the first compensation depth exceeding the first compensation threshold range includes: performing brightness compensation on the first region based on the lower limit of the first compensation threshold range in response to the first compensation depth being lower than the lower limit of the first compensation threshold range; and performing brightness compensation on the first region based on the upper limit of the first compensation threshold range in response to the first compensation depth being higher than the upper limit of the first compensation threshold range.
[0010] According to a second aspect of the present disclosure, a screen compensation parameter calibration method is provided. The method includes: acquiring calibrated brightness distribution information of a screen under calibrated brightness setting parameters; the calibrated brightness distribution information includes at least: a calibrated reference brightness and calibrated brightness corresponding to each region; the screen includes at least one region; acquiring first brightness distribution information of the screen under a first brightness setting parameter; the first brightness distribution information includes at least: a first reference brightness and brightness corresponding to each region; determining a region compensation coefficient corresponding to each region based on the calibrated brightness distribution information and the first brightness distribution information; and determining a compensation coefficient based on each of the region compensation coefficients.
[0011] In some exemplary embodiments of this disclosure, the method further includes: determining at least one compensation threshold interval based on the brightness corresponding to each region and the first reference brightness; the compensation threshold interval corresponds one-to-one with the region.
[0012] In some exemplary embodiments of this disclosure, determining the region compensation coefficient corresponding to each region based on the calibrated brightness distribution information and the first brightness distribution information includes: obtaining the calibrated brightness difference corresponding to the first region; the calibrated brightness difference is the difference between the first calibrated brightness and the calibrated reference brightness corresponding to the first region; the first region belongs to the at least one region; obtaining the first brightness difference corresponding to the first region; the first brightness difference is the difference between the first brightness and the first reference brightness corresponding to the first region; and determining the first region compensation coefficient corresponding to the first region based on the first brightness difference and the calibrated brightness difference.
[0013] In some exemplary embodiments of this disclosure, determining the compensation coefficient based on each of the regional compensation coefficients includes: determining the maximum value among the regional compensation coefficients as the compensation coefficient.
[0014] In some exemplary embodiments of this disclosure, the first reference brightness and the calibration reference brightness are the brightness of the center point of the screen under the first brightness setting parameter and the calibration brightness setting parameter, respectively.
[0015] According to a third aspect of the present disclosure, a screen brightness compensation device is provided, comprising: a screen compensation parameter acquisition unit, configured to acquire screen compensation parameters; the screen compensation parameters including at least: a compensation coefficient and at least one compensation threshold interval; the screen including at least one region; the compensation threshold interval corresponding one-to-one with the region; a compensation depth determination unit, configured to determine a first compensation depth corresponding to a first region based on the compensation coefficient; the first region belonging to the at least one region; and a brightness compensation unit, configured to perform brightness compensation on the first region based on the first compensation depth in response to the first compensation depth being located within the first compensation threshold interval; the first compensation threshold interval corresponding to the first region; and to perform brightness compensation on the first region based on the first compensation threshold interval in response to the first compensation depth exceeding the first compensation threshold interval.
[0016] According to a fourth aspect of the present disclosure, a screen compensation parameter calibration apparatus is provided, comprising: a calibration brightness distribution information acquisition unit, configured to acquire calibration brightness distribution information of a screen under calibration brightness setting parameters; the calibration brightness distribution information includes at least: a calibration reference brightness and calibration brightness corresponding to each region; the screen includes at least one region; a first brightness distribution information acquisition unit, configured to acquire first brightness distribution information of the screen under a first brightness setting parameter; the first brightness distribution information includes at least: a first reference brightness and brightness corresponding to each region; a region compensation coefficient determination unit, configured to determine a region compensation coefficient corresponding to each region based on the calibration brightness distribution information and the first brightness distribution information; and a compensation coefficient determination unit, configured to determine a compensation coefficient based on each of the region compensation coefficients.
[0017] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to: implement any of the screen brightness compensation methods or screen compensation parameter calibration methods described in the present disclosure.
[0018] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is able to perform any of the screen brightness compensation methods or screen compensation parameter calibration methods described in the present disclosure.
[0019] According to a seventh aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the screen brightness compensation methods or screen compensation parameter calibration methods described in the present disclosure.
[0020] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0021] The screen brightness compensation method disclosed herein obtains screen compensation parameters including compensation coefficients and at least one compensation threshold range; determines the compensation depth corresponding to each region based on the compensation coefficients; performs brightness compensation on the region based on the compensation depth when the compensation depth is within the compensation threshold range; and performs brightness compensation on the region based on the compensation threshold range when the compensation depth exceeds the compensation threshold range. This method, by limiting the calculated compensation depth based on the compensation threshold range, can avoid undercompensation or overcompensation in some regions, thereby making the overall screen display brightness more uniform.
[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0024] Figure 1 This is a flowchart illustrating a screen brightness compensation method according to an exemplary embodiment of the present disclosure.
[0025] Figure 2 This is a flowchart illustrating a compensation depth determination method according to an exemplary embodiment of the present disclosure.
[0026] Figure 3 This is a schematic diagram illustrating the distribution of brightness differences in different regions according to an exemplary embodiment of this disclosure.
[0027] Figure 4 This is a flowchart illustrating a screen compensation parameter calibration method according to an exemplary embodiment of the present disclosure.
[0028] Figure 5 This is a flowchart illustrating a method for determining regional compensation coefficients according to an exemplary embodiment of the present disclosure.
[0029] Figure 6 This is a block diagram illustrating a screen brightness compensation device according to an exemplary embodiment of the present disclosure.
[0030] Figure 7 This is a block diagram illustrating a screen compensation parameter calibration device according to an exemplary embodiment of the present disclosure.
[0031] Figure 8 This is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0032] Exemplary embodiments of this disclosure will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. Various changes, modifications, and equivalents of the methods, apparatus, and / or systems described herein will become apparent upon understanding this disclosure. For example, the order of operations described herein is merely illustrative and is not limited to those orders set forth herein, but can be changed as will become apparent upon understanding this disclosure, except for operations that must be performed in a particular order. Furthermore, for clarity and brevity, descriptions of features known in the art may be omitted.
[0033] The embodiments described below, which are examples of some of the embodiments of this disclosure, do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0034] The steps of the method in the exemplary embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings and examples.
[0035] Figure 1 This is a flowchart illustrating a screen brightness compensation method according to an exemplary embodiment of the present disclosure. Figure 3 This is a schematic diagram illustrating the distribution of brightness differences in different regions according to an exemplary embodiment of this disclosure. The method of this embodiment can be applied to electronic devices, including smartphones and smart tablet terminal devices, and may also include server-side components such as local servers and cloud servers, which can be deployed in a computer or a computer cluster consisting of multiple computers.
[0036] like Figure 1 , 3 As shown, in some embodiments, the screen brightness compensation method of this disclosure includes:
[0037] In step S110, screen compensation parameters are obtained; the screen compensation parameters include at least: a compensation coefficient and at least one compensation threshold interval; the screen includes at least one region; the compensation threshold interval corresponds one-to-one with the region.
[0038] In this embodiment of the disclosure, to address the issue of uneven brightness in screen display, the screen brightness is calibrated at the factory, and screen compensation parameters for Demura compensation are stored in the screen's configuration parameters. During the screen brightness compensation process, these screen compensation parameters are retrieved to perform screen brightness compensation.
[0039] In this embodiment, the screen compensation parameters include at least a compensation coefficient and multiple compensation threshold intervals. The screen is pre-divided into multiple regions, such as 1x1 pixels, 3x3 pixels, 5x5 pixels, etc. The compensation coefficient is a global compensation coefficient used to calculate the compensation value for each region. However, since the brightness variation range of each display region differs, compensation based solely on the compensation coefficient can lead to undercompensation or overcompensation in some regions. Therefore, the screen compensation parameters also include multiple compensation threshold intervals. Each compensation threshold interval corresponds one-to-one with the regions divided on the screen. By setting differentiated compensation threshold intervals for different regions, the compensation value is controlled within a certain range, avoiding undercompensation or overcompensation.
[0040] In an exemplary embodiment, the user sets different brightness settings, such as 300 nits or 500 nits, according to their needs. As the brightness settings change, the required brightness compensation for the screen also varies. Therefore, the screen will be configured with multiple sets of different screen compensation parameters corresponding to different brightness settings. In obtaining these screen compensation parameters, the first brightness setting parameter of the current screen is first obtained, and then the corresponding screen compensation parameter is obtained based on the first brightness setting parameter.
[0041] In an exemplary embodiment, a first compensation threshold range corresponding to a first region is determined based on a first brightness corresponding to a first brightness setting parameter and a first reference brightness. The first brightness setting parameter can be any brightness setting parameter set by the user. The first brightness is the brightness corresponding to the first region under the first brightness setting parameter. The first reference brightness is a reference brightness under the first brightness setting parameter. The reference brightness is a preset brightness used as a reference. For example, the brightness of the center point of the screen can be used as the reference brightness. Of course, the brightness of other locations on the screen can be used as the reference brightness according to the settings.
[0042] In an exemplary embodiment, the upper and lower limits of the first compensation threshold range are determined based on the magnitudes of the first brightness and the first reference brightness, respectively, and the first compensation threshold range is determined accordingly. Figure 3 As shown, assuming the first brightness setting is 300 nits, the brightness of each area of the screen is represented by the dashed lines in the diagram. The brightness of area 1 is Lv1', area 2 is Lv2', area 3 is Lv3', and area n is Lv n'. The brightness of the center point of the screen is taken as the reference brightness, which is Lv0'. Corresponding to area 1, its first brightness is Lv1', and its first reference brightness is Lv0'. As shown, area 1 is located in the bright area (brightness greater than the reference brightness), i.e., Lv1' > Lv0'. Therefore, the compensation threshold range for area 1 is [Lv0', Lv1']. Corresponding to area 3, its first brightness is Lv3', and its first reference brightness is Lv0'. As shown, area 3 is located in the dark area (brightness less than the reference brightness), i.e., Lv3' < Lv0'. Therefore, the compensation threshold range for area 3 is [Lv3', Lv0'].
[0043] In an exemplary embodiment, to save storage space for screen configuration parameters, the multiple compensation threshold ranges in the screen compensation parameters may not be pre-stored as screen configuration parameters in the screen configuration file. Instead, during the process of obtaining screen compensation parameters, the brightness corresponding to each region and the reference brightness are obtained based on the current brightness setting parameters, thereby determining the compensation threshold range corresponding to each region. It should be noted that whether the compensation threshold ranges are pre-stored as configuration parameters in the screen configuration file or the corresponding compensation threshold ranges are obtained based on the current brightness setting parameters, both should be considered within the protection scope of this disclosure.
[0044] In step S120, a first compensation depth corresponding to the first region is determined according to the compensation coefficient; the first region belongs to the at least one region.
[0045] In this embodiment of the disclosure, the compensation depth corresponding to each region of the screen is calculated based on the obtained compensation coefficient. Specifically, a first compensation depth is calculated for the first region. The first region can be any region on the screen. The compensation depth is the output brightness after compensation based on the brightness of that region using the compensation coefficient. It should be noted that there are many algorithms for compensating the brightness of a display area based on compensation coefficients, and this disclosure does not limit the specific compensation algorithm. Any compensation depth determined after compensation using the compensation coefficient should be considered within the protection scope of this disclosure.
[0046] In an exemplary embodiment, such as Figure 3 As shown, firstly, based on the compensation coefficient γ, the compensation value corresponding to region 1 is calculated as comp.1. Then, based on the brightness of region 1 as Lv1' and the compensation value as comp.1, the compensation depth of region 1, Output_Lv1 = Lv1' - comp.1, is calculated.
[0047] In step S130, in response to the first compensation depth being within a first compensation threshold range, brightness compensation is performed on the first region based on the first compensation depth; the first compensation threshold range corresponds to the first region.
[0048] As mentioned earlier, compensation based solely on the compensation coefficient can lead to undercompensation or overcompensation in certain areas. In this embodiment, brightness compensation for the area is not performed directly based on the compensation depth determined in step S120; instead, the compensation depth is limited by a compensation threshold range. When the first compensation depth falls within the first compensation threshold range (i.e., the first compensation depth does not exceed the range of the first compensation threshold range), brightness compensation can be performed on the first area based on this first compensation depth. The first compensation threshold range corresponds to the first area on the screen.
[0049] In step S140, in response to the first compensation depth exceeding the first compensation threshold range, brightness compensation is performed on the first region based on the first compensation threshold range.
[0050] In this embodiment of the disclosure, if the first compensation depth exceeds the first compensation threshold range, it indicates that the first compensation depth has an undercompensation or overcompensation problem. Therefore, brightness compensation for the first region based on the first compensation depth is abandoned; instead, brightness compensation for the first region is performed based on the first compensation threshold range.
[0051] In an exemplary embodiment, such as Figure 3 As shown, if the compensation value comp.1 corresponding to region 1 is too large, then the compensation depth Output_Lv1 = Lv1' - comp.1 < Lv0' for region 1, meaning region 1 has an undercompensation problem. Therefore, brightness compensation needs to be performed on region 1 based on the compensation threshold range [Lv0', Lv1']. For example, brightness compensation can be performed based on the lower limit Lv0' of this compensation threshold range. Similarly, if the compensation value comp.3 corresponding to region 3 is too small, then the compensation depth Output_Lv3 = Lv3' - comp.3 > Lv0' for region 3, meaning region 3 has an overcompensation problem. Therefore, brightness compensation needs to be performed on region 3 based on the compensation threshold range [Lv3', Lv0']. For example, brightness compensation can be performed based on the upper limit Lv0' of this compensation threshold range. It can be seen that by limiting the calculated compensation depth based on the compensation threshold range, undercompensation or overcompensation problems in some areas can be avoided, thereby making the overall screen display brightness more uniform.
[0052] In an exemplary embodiment, brightness compensation can be performed based on either the upper or lower limit of the compensation threshold interval, depending on the relationship between the compensation depth and the corresponding compensation threshold interval. In response to the first compensation depth being lower than the lower limit of the first compensation threshold interval, brightness compensation is performed on the first region based on the lower limit of the first compensation threshold interval; in response to the first compensation depth being higher than the upper limit of the first compensation threshold interval, brightness compensation is performed on the first region based on the upper limit of the first compensation threshold interval. This allows for brightness compensation closest to the compensation depth to be obtained within the compensation threshold interval.
[0053] The screen brightness compensation method disclosed herein obtains screen compensation parameters including compensation coefficients and at least one compensation threshold range; determines the compensation depth corresponding to each region based on the compensation coefficients; performs brightness compensation on the region based on the compensation depth when the compensation depth is within the compensation threshold range; and performs brightness compensation on the region based on the compensation threshold range when the compensation depth exceeds the compensation threshold range. This method, by limiting the calculated compensation depth based on the compensation threshold range, can avoid undercompensation or overcompensation in some regions, thereby making the overall screen display brightness more uniform.
[0054] Figure 2 This is a flowchart illustrating a compensation depth determination method according to an exemplary embodiment of the present disclosure. Figure 3 This is a schematic diagram illustrating the distribution of brightness differences in different regions according to an exemplary embodiment of this disclosure. For example... Figure 2 , 3 As shown, in some embodiments, the aforementioned step S120 may include the following steps.
[0055] In step S210, the calibration brightness difference corresponding to the first region is obtained; the calibration brightness difference of the first region is the difference between the first calibration brightness and the calibration reference brightness corresponding to the first region; the first calibration brightness and the calibration reference brightness correspond to the calibration brightness setting parameters.
[0056] In this embodiment of the disclosure, during the screen factory calibration process, it is generally impossible to calibrate all brightness setting parameters. Instead, parameter calibration is usually performed under a certain brightness setting parameter (calibrated brightness setting parameter), and compensation coefficients are set for other brightness setting parameters to generate compensation depths under other brightness setting parameters based on the compensation coefficients and the calibrated parameters.
[0057] In this embodiment of the disclosure, the screen pre-stores calibrated brightness distribution information under calibrated brightness setting parameters. This calibrated brightness distribution information includes at least: a calibrated reference brightness and calibrated brightness corresponding to each region. The calibrated reference brightness is a brightness preset as a reference under the calibrated brightness setting parameters. For example, if the brightness of the screen center point is used as a reference, then the calibrated reference brightness is the brightness of the screen center point under the calibrated brightness setting parameters. Of course, the brightness of other locations on the screen can be used as the reference brightness according to the settings. The calibrated brightness is the brightness corresponding to each region under the calibrated brightness setting parameters.
[0058] In this embodiment of the disclosure, the compensation coefficient is calculated based on the brightness difference between the brightness of each region and the reference brightness under the calibrated brightness setting parameters, to determine the compensation value required for the corresponding region under other brightness setting parameters. Therefore, the calibrated brightness difference corresponding to each region is obtained according to the calibrated brightness distribution information.
[0059] In an exemplary embodiment, a calibration brightness difference corresponding to a first region is obtained. This first region can be any region on the screen. The calibration brightness difference of the first region is the difference between a first calibration brightness corresponding to the first region and a calibration reference brightness.
[0060] like Figure 3 As shown, assuming a calibrated brightness setting of 500 nits, the brightness of each area of the screen is represented by the solid lines in the diagram. The calibrated brightness of area 1 is Lv1, area 2 is Lv2, area 3 is Lv3, and area n is Lvn. The brightness of the screen center point is used as the reference brightness, which is Lv0. The calibrated brightness difference for area 1 is Lv1 - Lv0. For area 2, the difference is Lv2 - Lv0. For area 3, the difference is Lv3 - Lv0. For area n, the difference is Lvn - Lv0.
[0061] In step S220, a first compensation value is determined based on the compensation coefficient and the calibrated brightness difference of the first region.
[0062] In this embodiment, the compensation coefficient is calculated based on the difference in calibrated brightness of each region under calibrated brightness setting parameters, to determine the compensation value required for the corresponding region under other brightness setting parameters. Therefore, a first compensation value is determined according to the compensation coefficient and the difference in calibrated brightness of the first region. The first region can be any region on the screen.
[0063] In an exemplary embodiment, such as Figure 3 As shown, based on the compensation coefficient γ, the compensation value corresponding to region 1 is calculated as comp.1 = γ(Lv1 - Lv0). Correspondingly, the compensation value for region 2 is comp.2 = γ(Lv2 - Lv0); the compensation value for region 3 is comp.3 = γ(Lv3 - Lv0); and the compensation value for region n is comp.n = γ(Lv n - Lv0).
[0064] In step S230, the first compensation depth is determined based on the first brightness and the first compensation value corresponding to the first region.
[0065] In this embodiment of the disclosure, the compensation depth of a region is determined based on the brightness and compensation value corresponding to each region. The brightness corresponding to each region is the brightness of the region under the corresponding brightness setting parameters.
[0066] In an exemplary embodiment, such as Figure 3As shown, with the first brightness setting parameter of 300 nits, the brightness of region 1 is Lv1', the brightness of region 2 is Lv2', the brightness of region 3 is Lv3', and the brightness of region n is Lv n'. Based on the compensation value comp.n of each region calculated according to the aforementioned step S220 and the brightness Lv n' of each region under the first brightness setting parameter, the compensation depth of the corresponding region is determined.
[0067] For example, the compensation depth can be calculated based on the formula Output_Lv n = Lv n' - comp.n. Figure 3 As shown, the compensation depth of region 1 is Output_Lv1 = Lv1' - comp.1, and the compensation depth of region 3 is Output_Lv3 = Lv3' - comp.3.
[0068] The screen brightness compensation method disclosed herein provides an algorithm for determining the compensation depth. This algorithm calculates the compensation value for each region by applying a global compensation coefficient and the calibrated brightness difference between each region, thereby determining the compensation depth for each region. This compensation algorithm requires fewer configuration parameters stored on the screen and can efficiently determine the compensation depth for each region.
[0069] Figure 4 This is a flowchart illustrating a screen compensation parameter calibration method according to an exemplary embodiment of the present disclosure. Figure 3 This is a schematic diagram illustrating the distribution of brightness differences in different regions according to an exemplary embodiment of this disclosure. The method of this embodiment can be applied to electronic devices, including smartphones and smart tablet terminal devices, and may also include server-side components such as local servers and cloud servers, which can be deployed in a computer or a computer cluster consisting of multiple computers.
[0070] like Figure 4 , 3 As shown, in some embodiments, the screen compensation parameter calibration method of this disclosure includes:
[0071] In step S410, under the calibration brightness setting parameters, the calibration brightness distribution information of the screen is obtained; the calibration brightness distribution information includes at least: calibration reference brightness and calibration brightness corresponding to each region; the screen includes at least one region.
[0072] In this embodiment of the disclosure, during the screen parameter calibration process, the screen is set to calibration brightness setting parameters. Under the calibration brightness setting parameters, calibration brightness distribution information of the screen is acquired. This brightness distribution information is used to record the brightness distribution of the screen, i.e., the screen's mura information. This brightness distribution information can be acquired by taking a picture or other brightness acquisition methods. The screen is pre-divided into multiple areas, such as 1x1 pixels, 3x3 pixels, 5x5 pixels, etc. The calibration brightness distribution information includes at least: a calibration reference brightness and calibration brightness corresponding to each area. The calibration reference brightness is a brightness preset as a reference under the calibration brightness setting parameters. For example, if the brightness of the center point of the screen is used as a reference, then the calibration reference brightness is the brightness of the center point of the screen under the calibration brightness setting parameters. Of course, the brightness of other positions on the screen can be used as the reference brightness according to the settings. The calibration brightness is the brightness corresponding to each area under the calibration brightness setting parameters.
[0073] like Figure 3 As shown, assuming a calibrated brightness setting of 500 nits, the brightness of each area of the screen is represented by the solid lines in the figure. Specifically, the calibrated brightness of area 1 is Lv1, area 2 is Lv2, area 3 is Lv3, and area n is Lvn. The brightness of the center point of the screen is used as the reference brightness, which is designated as Lv0.
[0074] In step S420, under the first brightness setting parameter, the first brightness distribution information of the screen is obtained; the first brightness distribution information includes at least: a first reference brightness and the brightness corresponding to each area.
[0075] In this embodiment, the screen is set to a first brightness setting parameter. Under the first brightness setting parameter, first brightness distribution information of the screen is obtained. This first brightness distribution information includes at least: a first reference brightness and brightness corresponding to each region. The first reference brightness is a brightness preset as a reference under the first brightness setting parameter. For example, if the brightness of the center point of the screen is used as a reference, then the first reference brightness is the brightness of the center point of the screen under the first brightness setting parameter. Of course, the brightness of other positions on the screen can be used as the reference brightness according to the setting. The brightness of each region is the brightness corresponding to each region under the first brightness setting parameter.
[0076] like Figure 3 As shown, assuming the first brightness setting is 300 nits, the brightness of each area of the screen is represented by the dashed lines in the diagram. Specifically, the brightness of area 1 is Lv1', the brightness of area 2 is Lv2', the brightness of area 3 is Lv3', and the brightness of area n is Lv n'. The brightness of the center point of the screen is taken as the reference brightness, which is Lv0'.
[0077] In step S430, the area compensation coefficient corresponding to each region is determined based on the calibrated brightness distribution information and the first brightness distribution information.
[0078] In this embodiment, based on the obtained calibrated brightness distribution information and first brightness distribution information, the brightness compensation change relationship between the first brightness distribution information and the calibrated brightness distribution information is determined, and corresponding area compensation coefficients are determined for each area on the screen. It should be noted that these area compensation coefficients are related to the designed brightness compensation algorithm, and this disclosure does not limit the specific compensation algorithm, nor does it limit the method for determining the specific area compensation coefficients. Any area compensation coefficient determined based on the brightness compensation change relationship between the first brightness distribution information and the calibrated brightness distribution information should be considered within the protection scope of this disclosure.
[0079] like Figure 3 As shown, for region 1, based on the calibrated brightness Lv1, the calibrated reference brightness Lv0, the brightness Lv1', and the first reference brightness Lv0', the brightness compensation variation relationship corresponding to region 1 under the first brightness setting parameter and the calibrated brightness setting parameter is determined, thereby determining the region compensation coefficient γ1 for region 1. Similarly, the region compensation coefficients γ2, γ3, and γn for regions 2, 3, and n are determined respectively.
[0080] In step S440, the compensation coefficient is determined based on the compensation coefficients of each of the regions.
[0081] In this embodiment of the disclosure, a compensation coefficient applicable to the entire system is determined based on the regional compensation coefficient corresponding to each region. This compensation coefficient corresponds to a first brightness setting parameter and is used to calculate the compensation depth of each region under the first brightness setting parameter based on the calibrated brightness distribution information.
[0082] In an exemplary embodiment, the maximum value among the compensation coefficients of each region can be determined as the compensation coefficient.
[0083] In an exemplary embodiment, the regional compensation coefficients of each region can be statistically analyzed, and the compensation coefficient can be determined based on the statistical results. For example, a weighted average of the regional compensation coefficients can be calculated, and this weighted average can be determined as the compensation coefficient.
[0084] The screen compensation parameter calibration method disclosed herein obtains calibrated brightness distribution information of the screen under calibrated brightness setting parameters; obtains first brightness distribution information of the screen under first brightness setting parameters; determines regional compensation coefficients corresponding to each region based on the calibrated brightness distribution information and the first brightness distribution information; and determines compensation coefficients based on each of the regional compensation coefficients. This method does not require separate calibration data recording for different brightness setting parameters; it only requires recording the calibrated brightness distribution information under the calibrated brightness setting parameters. The compensation coefficients are then determined through the brightness compensation change relationship between other brightness distribution information and the calibrated brightness distribution information, thereby determining the compensation depth under different brightness setting parameters. Furthermore, these compensation coefficients are determined mathematically based on the regional compensation coefficients corresponding to each region. This method allows for better selection of appropriate compensation coefficients from various regional compensation coefficients, resulting in superior brightness compensation effects.
[0085] In some exemplary embodiments of this disclosure, during the screen parameter calibration process, compensation threshold intervals for each region can also be set. Based on the first brightness distribution information, and according to the brightness of each region under the first brightness setting parameter and the first reference brightness, a compensation threshold interval corresponding to each region is determined. Each compensation threshold interval corresponds one-to-one with each region. The first brightness setting parameter can be any brightness setting parameter set by the user.
[0086] In an exemplary embodiment, the compensation threshold range corresponding to each region and the aforementioned determined compensation coefficient can be stored as screen compensation parameters in the screen's configuration parameters to calibrate the screen.
[0087] In an exemplary embodiment, the upper and lower limits of the corresponding compensation threshold interval are determined based on the brightness of each region and the magnitude of the first reference brightness, respectively, and the compensation threshold interval is determined accordingly.
[0088] like Figure 3 As shown, the brightness of region 1 is Lv1', the brightness of region 2 is Lv2', the brightness of region 3 is Lv3', and the brightness of region n is Lv n'. The brightness of the center point of the screen is used as the reference brightness, which is Lv0'. Corresponding to region 1, its brightness is Lv1', and the first reference brightness is Lv0'. As shown, region 1 is located in the bright area (brightness greater than the reference brightness), i.e., Lv1' > Lv0'. Therefore, the compensation threshold range for region 1 is [Lv0', Lv1']. Corresponding to region 3, its brightness is Lv3', and the first reference brightness is Lv0'. As shown, region 3 is located in the dark area (brightness less than the reference brightness), i.e., Lv3' < Lv0'. Therefore, the compensation threshold range for region 3 is [Lv3', Lv0'].
[0089] The screen compensation parameter calibration method disclosed herein, based on determining the compensation coefficients under different brightness settings, further sets compensation threshold ranges corresponding to each region. By limiting the calculated compensation depth based on the compensation threshold range, this method can avoid under-compensation or over-compensation in some areas, thereby making the overall screen display brightness more uniform.
[0090] Figure 5 This is a flowchart illustrating a method for determining regional compensation coefficients according to an exemplary embodiment of the present disclosure. Figure 3 This is a schematic diagram illustrating the distribution of brightness differences in different regions according to an exemplary embodiment of this disclosure. For example... Figure 5 , 3 As shown, in some embodiments, the aforementioned step S430 may include the following steps.
[0091] In step S510, the calibration brightness difference corresponding to the first region is obtained; the calibration brightness difference is the difference between the first calibration brightness and the calibration reference brightness corresponding to the first region; the first region belongs to the at least one region.
[0092] In this embodiment of the disclosure, the compensation coefficient is determined based on the brightness difference between the area brightness and the reference brightness under the first brightness setting parameter and the brightness difference between the area brightness and the reference brightness under the calibrated brightness setting parameter, to determine the brightness compensation change relationship under different brightness setting parameters.
[0093] In this embodiment of the disclosure, the calibrated brightness difference corresponding to a first region is obtained based on the calibrated brightness distribution information. This calibrated brightness difference is the difference between the first calibrated brightness corresponding to the first region and the calibrated reference brightness. The first region can be any region of the screen.
[0094] like Figure 3 As shown, assuming a calibrated brightness setting of 500 nits, the brightness of each area of the screen is represented by the solid lines in the diagram. The calibrated brightness of area 1 is Lv1, area 2 is Lv2, area 3 is Lv3, and area n is Lvn. The brightness of the screen center point is used as the reference brightness, which is Lv0. The calibrated brightness difference for area 1 is Lv1 - Lv0. For area 2, the difference is Lv2 - Lv0. For area 3, the difference is Lv3 - Lv0. For area n, the difference is Lvn - Lv0.
[0095] In step S520, a first brightness difference corresponding to the first region is obtained; the first brightness difference is the difference between the first brightness corresponding to the first region and the first reference brightness.
[0096] In this embodiment of the disclosure, a first brightness difference corresponding to a first region is obtained based on first brightness distribution information. This first brightness difference is the difference between the first brightness corresponding to the first region and a first reference brightness.
[0097] like Figure 3 As shown, assuming a first brightness setting of 300 nits, the brightness of each area of the screen is represented by the dashed lines in the diagram. The brightness of area 1 is Lv1', area 2 is Lv2', area 3 is Lv3', and area n is Lv n'. The brightness of the center point of the screen is taken as the reference brightness, which is Lv0'. The brightness difference for area 1 is Lv1' - Lv0. The brightness difference for area 2 is Lv2' - Lv0. The brightness difference for area 3 is Lv3' - Lv0. The brightness difference for area n is Lv n' - Lv0.
[0098] In step S530, a first region compensation coefficient corresponding to the first region is determined based on the first brightness difference and the calibrated brightness difference.
[0099] In this embodiment of the disclosure, the brightness compensation change relationship between the brightness difference and the calibrated brightness difference of the corresponding region is extracted to determine the region compensation coefficient corresponding to that region. For example, the first region compensation coefficient corresponding to the first region is determined based on the first brightness difference and the calibrated brightness difference corresponding to the first region.
[0100] In an exemplary embodiment, the compensation coefficient for the region is determined based on the ratio between the brightness difference and the calibrated brightness difference. For example... Figure 3 As shown, for region 1, the regional compensation coefficient γ1 = (Lv1'-Lv0') / (Lv1-Lv0). Similarly, the regional compensation coefficient γ2 = (Lv2'-Lv0') / (Lv2-Lv0) for region 2; the regional compensation coefficient γ3 = (Lv3'-Lv0') / (Lv3-Lv0) for region 3; and the regional compensation coefficient γn = (Lvn'-Lv0') / (Lvn-Lv0) for region n.
[0101] like Figure 3 As shown, the brightness difference varies across different regions, therefore the corresponding regional compensation coefficients also differ. Determining a globally applicable compensation coefficient based on the regional compensation coefficients for each region is crucial for screen compensation parameter calibration.
[0102] like Figure 3 As shown, assume that the regional compensation coefficient γ1 of region 1 is greater than the regional compensation coefficient γ3 of region 3. If γ1 is used as the compensation coefficient, according to... Figure 2The compensation depth determination method is shown. The compensation depth of region 1 is Output_Lv1 = Lv1' - γ1(Lv1 - Lv0) = Lv0'. It can be seen that region 1 can be compensated to the first reference brightness, i.e., good brightness compensation is achieved. The compensation depth of region 3 is Output_Lv3 = Lv3' - γ1(Lv3 - Lv0). Since γ1 > γ3, Output_Lv3 > Lv0, meaning overcompensation occurs in region 3. To address this overcompensation problem, this disclosure further sets a compensation threshold interval [Lv3', Lv0'] for region 3. By limiting the compensation depth Output_Lv3 of region 3 through this compensation threshold interval [Lv3', Lv0'], brightness compensation of region 3 is performed based on the upper limit Lv0' of the compensation threshold interval [Lv3', Lv0'], effectively preventing overcompensation in this region.
[0103] In an exemplary embodiment, based on the compensation threshold range design corresponding to each region in this disclosure, the maximum value among the compensation coefficients for each region can be determined as the compensation coefficient. This allows for sufficient brightness compensation for each region based on the compensation coefficient. Furthermore, by setting compensation threshold ranges for each region, over-compensation or under-compensation issues are effectively prevented, resulting in a more uniform overall screen brightness.
[0104] The screen compensation parameter calibration method disclosed herein provides an algorithm for determining the compensation coefficients for each region. This algorithm determines the brightness compensation variation relationship under different brightness setting parameters based on the brightness difference between the region brightness and the reference brightness under a first brightness setting parameter and the brightness difference between the region brightness and the reference brightness under a calibrated brightness setting parameter, thereby determining the compensation coefficients for each region. This method obtains the brightness compensation variation relationship under different brightness setting parameters for each region, providing an accurate data foundation for determining better compensation coefficients.
[0105] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.
[0106] Figure 6 This is a block diagram illustrating a screen brightness compensation device according to an exemplary embodiment of the present disclosure. The device of this embodiment can be applied to electronic devices, including smartphones and smart tablet terminal devices, and may also include server-side components such as local servers and cloud servers, which can be deployed in a computer or a computer cluster consisting of multiple computers.
[0107] like Figure 6As shown, the screen brightness compensation device 600 may include: a screen compensation parameter acquisition unit 610, a compensation depth determination unit 620, and a brightness compensation unit 630.
[0108] The screen compensation parameter acquisition unit 610 is used to acquire screen compensation parameters; the screen compensation parameters include at least: a compensation coefficient and at least one compensation threshold interval; the screen includes at least one region; the compensation threshold interval corresponds one-to-one with the region.
[0109] The compensation depth determination unit 620 is used to determine a first compensation depth corresponding to a first region based on the compensation coefficient; the first region belongs to the at least one region.
[0110] The brightness compensation unit 630 is configured to perform brightness compensation on the first region based on the first compensation depth in response to the first compensation depth being within a first compensation threshold range; the first compensation threshold range corresponds to the first region; and to perform brightness compensation on the first region based on the first compensation threshold range in response to the first compensation depth exceeding the first compensation threshold range.
[0111] In some exemplary embodiments of this disclosure, the screen compensation parameter acquisition unit 610 is further configured to acquire a first brightness setting parameter of the screen; and acquire the screen compensation parameter corresponding to the first brightness setting parameter.
[0112] In some exemplary embodiments of this disclosure, the screen compensation parameter acquisition unit 610 is further configured to determine the first compensation threshold range based on a first brightness corresponding to the first brightness setting parameter and a first reference brightness; the first brightness corresponds to the first region.
[0113] In some exemplary embodiments of this disclosure, the compensation depth determination unit 620 is further configured to obtain a calibration brightness difference corresponding to the first region; the calibration brightness difference of the first region is the difference between a first calibration brightness and a calibration reference brightness corresponding to the first region; the first calibration brightness and the calibration reference brightness correspond to calibration brightness setting parameters; a first compensation value is determined based on the compensation coefficient and the calibration brightness difference of the first region; and the first compensation depth is determined based on the first brightness corresponding to the first region and the first compensation value.
[0114] In some exemplary embodiments of this disclosure, the first reference brightness and the calibration reference brightness are the brightness of the center point of the screen under the first brightness setting parameter and the calibration brightness setting parameter, respectively.
[0115] In some exemplary embodiments of this disclosure, the brightness compensation unit 630 is further configured to perform brightness compensation on the first region based on the lower limit of the first compensation threshold interval in response to the first compensation depth being lower than the lower limit of the first compensation threshold interval; and to perform brightness compensation on the first region based on the upper limit of the first compensation threshold interval in response to the first compensation depth being higher than the upper limit of the first compensation threshold interval.
[0116] Figure 7 This is a block diagram illustrating a screen compensation parameter calibration device according to an exemplary embodiment of the present disclosure. The device of this embodiment can be applied to electronic devices, including smartphones and smart tablet terminals, and may also include server-side components such as local servers and cloud servers, which can be deployed in a computer or a computer cluster consisting of multiple computers.
[0117] like Figure 7 As shown, the screen compensation parameter calibration device 700 may include: a calibration brightness distribution information acquisition unit 710, a first brightness distribution information acquisition unit 720, a region compensation coefficient determination unit 730, and a compensation coefficient determination unit 740.
[0118] The calibration brightness distribution information acquisition unit 710 is used to acquire the calibration brightness distribution information of the screen under the calibration brightness setting parameters; the calibration brightness distribution information includes at least: calibration reference brightness and calibration brightness corresponding to each region; the screen includes at least one region.
[0119] The first brightness distribution information acquisition unit 720 is used to acquire the first brightness distribution information of the screen under the first brightness setting parameters; the first brightness distribution information includes at least: a first reference brightness and the brightness corresponding to each area.
[0120] The area compensation coefficient determination unit 730 is used to determine the area compensation coefficient corresponding to each area based on the calibration brightness distribution information and the first brightness distribution information.
[0121] The compensation coefficient determination unit 740 is used to determine the compensation coefficient based on the compensation coefficient of each of the regions.
[0122] In some exemplary embodiments of this disclosure, the compensation threshold interval determination unit is used to determine at least one compensation threshold interval based on the brightness corresponding to each region and the first reference brightness; the compensation threshold interval corresponds one-to-one with the region.
[0123] In some exemplary embodiments of this disclosure, the region compensation coefficient determining unit 730 is further configured to obtain a calibration brightness difference corresponding to a first region; the calibration brightness difference is the difference between a first calibration brightness and a calibration reference brightness corresponding to the first region; the first region belongs to the at least one region; obtain a first brightness difference corresponding to the first region; the first brightness difference is the difference between a first brightness and a first reference brightness corresponding to the first region; and determine a first region compensation coefficient corresponding to the first region based on the first brightness difference and the calibration brightness difference.
[0124] In some exemplary embodiments of this disclosure, the compensation coefficient determining unit 740 is further configured to determine the maximum value among the compensation coefficients of each of the regions as the compensation coefficient.
[0125] In some exemplary embodiments of this disclosure, the first reference brightness and the calibration reference brightness are the brightness of the center point of the screen under the first brightness setting parameter and the calibration brightness setting parameter, respectively.
[0126] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0127] Figure 8 This is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. For example, device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0128] Reference Figure 8 The device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0129] Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0130] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0131] Power supply component 806 provides power to various components of device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 800.
[0132] Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0133] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0134] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0135] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0136] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as WiFi, 3G, 4G, 5G, other communication standards, or combinations thereof. In some embodiments of this disclosure, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In some embodiments of this disclosure, communication component 816 further includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0137] In some embodiments of this disclosure, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0138] In some embodiments of this disclosure, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions that can be executed by a processor 820 of device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0139] In some embodiments of this disclosure, a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of a terminal, enables the terminal to perform the screen brightness compensation method or screen compensation parameter calibration method as described in any of the foregoing embodiments.
[0140] In some embodiments of this disclosure, a computer program product is also provided, including a computer program / instruction, which, when executed by a processor, implements the screen brightness compensation method or screen compensation parameter calibration method described in any of the foregoing embodiments.
[0141] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0142] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A screen brightness compensation method, characterized in that, The method includes: Obtain screen compensation parameters; the screen compensation parameters include at least: a compensation coefficient and at least one compensation threshold interval; the screen includes at least one region; the compensation threshold interval corresponds one-to-one with the region. Based on the compensation coefficient, a first compensation depth corresponding to the first region is determined; the first region belongs to the at least one region. In response to the first compensation depth being within a first compensation threshold range, brightness compensation is performed on the first region based on the first compensation depth; the first compensation threshold range corresponds to the first region. In response to the first compensation depth exceeding the first compensation threshold range, brightness compensation is performed on the first region based on the first compensation threshold range.
2. The method according to claim 1, characterized in that, The acquisition of screen compensation parameters includes: Obtain the first brightness setting parameter of the screen; Obtain the screen compensation parameters corresponding to the first brightness setting parameters.
3. The method according to claim 2, characterized in that, The process of obtaining screen compensation parameters also includes: The first compensation threshold range is determined based on the first brightness and the first reference brightness corresponding to the first brightness setting parameter; the first brightness corresponds to the first region.
4. The method according to claim 2, characterized in that, Determining the first compensation depth corresponding to the first region based on the compensation coefficient includes: Obtain the calibration brightness difference corresponding to the first region; the calibration brightness difference of the first region is the difference between the first calibration brightness and the calibration reference brightness corresponding to the first region; the first calibration brightness and the calibration reference brightness correspond to the calibration brightness setting parameters; The first compensation value is determined based on the compensation coefficient and the calibrated brightness difference of the first region; The first compensation depth is determined based on the first brightness and the first compensation value corresponding to the first region.
5. The method according to claim 3 or 4, characterized in that, The first reference brightness and the calibrated reference brightness are the brightness of the center point of the screen under the first brightness setting parameters and the calibrated brightness setting parameters, respectively.
6. The method according to claim 1, characterized in that, The step of responding to the first compensation depth exceeding the first compensation threshold range and performing brightness compensation on the first region based on the first compensation threshold range includes: In response to the first compensation depth being lower than the lower limit of the first compensation threshold interval, brightness compensation is performed on the first region based on the lower limit of the first compensation threshold interval. In response to the first compensation depth being higher than the upper limit of the first compensation threshold interval, brightness compensation is performed on the first region based on the upper limit of the first compensation threshold interval.
7. A method for calibrating screen compensation parameters, characterized in that, The method includes: Under the calibrated brightness setting parameters, the calibrated brightness distribution information of the screen is obtained; the calibrated brightness distribution information includes at least: the calibrated reference brightness and the calibrated brightness corresponding to each region; the screen includes at least one region; Under the first brightness setting parameters, first brightness distribution information of the screen is obtained; the first brightness distribution information includes at least: a first reference brightness and the brightness corresponding to each area; Based on the calibrated brightness distribution information and the first brightness distribution information, determine the regional compensation coefficient corresponding to each region; The compensation coefficient is determined based on the compensation coefficients for each of the aforementioned regions.
8. The method according to claim 7, characterized in that, The method further includes: Based on the brightness corresponding to each region and the first reference brightness, at least one compensation threshold interval is determined; the compensation threshold interval corresponds one-to-one with the region.
9. The method according to claim 7, characterized in that, The step of determining the regional compensation coefficient corresponding to each region based on the calibrated brightness distribution information and the first brightness distribution information includes: Obtain the calibration brightness difference corresponding to the first region; the calibration brightness difference is the difference between the first calibration brightness and the calibration reference brightness corresponding to the first region; the first region belongs to the at least one region; Obtain the first brightness difference corresponding to the first region; the first brightness difference is the difference between the first brightness corresponding to the first region and the first reference brightness. Based on the first brightness difference and the calibrated brightness difference, a first region compensation coefficient corresponding to the first region is determined.
10. The method according to claim 7, characterized in that, The step of determining the compensation coefficient based on the compensation coefficients of each of the aforementioned regions includes: The maximum value among the compensation coefficients of each region is determined as the compensation coefficient.
11. The method according to claim 7, characterized in that, The first reference brightness and the calibrated reference brightness are the brightness of the center point of the screen under the first brightness setting parameters and the calibrated brightness setting parameters, respectively.
12. A screen brightness compensation device, characterized in that, include: Screen compensation parameter acquisition unit, used to acquire screen compensation parameters; The screen compensation parameters include at least: a compensation coefficient and at least one compensation threshold interval; the screen includes at least one region; the compensation threshold interval corresponds one-to-one with the region. The compensation depth determination unit is used to determine a first compensation depth corresponding to a first region based on the compensation coefficient; the first region belongs to the at least one region. A brightness compensation unit is configured to perform brightness compensation on the first region based on the first compensation depth in response to the first compensation depth being within a first compensation threshold range; the first compensation threshold range corresponds to the first region; and to perform brightness compensation on the first region based on the first compensation threshold range in response to the first compensation depth exceeding the first compensation threshold range.
13. A screen compensation parameter calibration device, characterized in that, include: The calibration brightness distribution information acquisition unit is used to acquire the calibration brightness distribution information of the screen under the calibration brightness setting parameters. The calibration brightness distribution information includes at least: a calibration reference brightness and calibration brightness corresponding to each region; the screen includes at least one region; The first brightness distribution information acquisition unit is used to acquire the first brightness distribution information of the screen under the first brightness setting parameters; the first brightness distribution information includes at least: a first reference brightness and the brightness corresponding to each area; The area compensation coefficient determination unit is used to determine the area compensation coefficient corresponding to each area based on the calibration brightness distribution information and the first brightness distribution information. The compensation coefficient determination unit is used to determine the compensation coefficient based on the compensation coefficient of each of the regions.
14. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to implement the screen brightness compensation method according to any one of claims 1 to 6 or the screen compensation parameter calibration method according to any one of claims 7 to 11.
15. A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is able to perform the screen brightness compensation method of any one of claims 1 to 6 or the screen compensation parameter calibration method of any one of claims 7 to 11.
16. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the screen brightness compensation method as described in any one of claims 1 to 6 or the screen compensation parameter calibration method as described in any one of claims 7 to 11.