Control method of display panel, display control chip and display device

By mapping grayscale based on ambient brightness and image content in the MicroLED display panel, the problem of monotonic mapping between brightness and ambient brightness is solved, achieving non-linear brightness adjustment and power consumption optimization, thus improving display quality.

CN122157591APending Publication Date: 2026-06-05BEIJING ESWIN COMPUTING TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ESWIN COMPUTING TECH CO LTD
Filing Date
2026-04-24
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

The brightness control method of MicroLED display panels is limited by the characteristics of analog circuits, resulting in a monotonic mapping relationship between brightness and ambient brightness. This leads to brightness overload, increased power consumption, and color coordinate shift, affecting display quality.

Method used

By determining the digital brightness value based on the ambient brightness and combining it with the image content of the image to be displayed, the input grayscale is mapped to the output grayscale, thereby achieving non-linear adjustment of the display brightness, which is controlled by a display control chip.

Benefits of technology

It achieves decoupling between brightness and ambient brightness, adapts to the characteristics of human vision, reduces brightness overload, lowers power consumption, avoids color coordinate shift, and improves display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122157591A_ABST
    Figure CN122157591A_ABST
Patent Text Reader

Abstract

The application discloses a display panel control method, a display control chip and a display device, and belongs to the technical field of image processing. The display panel control method comprises the following steps: determining a digital brightness value of a display panel according to ambient brightness, wherein the digital brightness value is used for indicating a reference brightness adjustment range of the display panel; mapping input gray scales of a to-be-displayed image into output gray scales according to the digital brightness value and image content of the to-be-displayed image in the display panel, and controlling the display brightness of the display panel according to the output gray scales. The ambient brightness is mapped into the digital brightness value to provide a reference brightness adjustment range, and the input gray scales of the to-be-displayed image are mapped into the output gray scales of the driving signal for controlling the display panel according to the digital brightness value, so that the ambient brightness and the driving signal are decoupled, and the mapping relationship between the ambient brightness and the driving signal of the display panel is flexible and configurable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and in particular to a control method for a display panel, a display control chip, and a display device. Background Technology

[0002] With the rapid development of display technology, consumers are increasingly demanding higher display quality. MicroLED (micro light emitting diode) display panels, being self-emissive displays, offer advantages such as fast response time, wide viewing angles, excellent color reproduction, high brightness, and long lifespan. They have become a promising new display technology and are expected to gradually replace traditional LCD (liquid crystal display) and OLED (organic light emitting diode) display panels, fully entering the consumer electronics field.

[0003] In related technologies, the display brightness of MicroLED display panels is usually controlled based on ambient brightness, that is, the driving voltage or driving current of MicroLED sub-pixels is directly adjusted according to the ambient brightness. Due to the limitations of the physical characteristics of analog circuits, the driving voltage or driving current of MicroLED sub-pixels can only present a linear or simple monotonic mapping relationship with ambient brightness, causing the screen brightness to increase monotonically as the ambient brightness increases.

[0004] Based on this, the above method is prone to two problems. On the one hand, when the ambient brightness is high, the screen brightness may be excessively overloaded, resulting in wasted power consumption. On the other hand, prolonged high brightness operation will significantly increase power consumption and heat generation, which will cause the color coordinates of MicroLED to shift, affecting the display quality. Summary of the Invention

[0005] This application provides a control method for a display panel, a display control chip, and a display device to solve the technical problems existing in related technologies. Specifically, it includes the following technical solutions.

[0006] In a first aspect, this application provides a method for controlling a display panel, the method comprising: determining a digital brightness value of the display panel based on ambient brightness, the digital brightness value being used to indicate a reference brightness adjustment range of the display panel; mapping an input grayscale of the image to be displayed to an output grayscale based on the digital brightness value and the image content of the image to be displayed in the display panel; and controlling the display brightness of the display panel based on the output grayscale.

[0007] In some possible implementations, mapping the input grayscale of the image to be displayed to the output grayscale based on the digital brightness value and the image content of the image to be displayed in the display panel includes: determining the average image level of the image to be displayed based on the input grayscale, the average image level being used to characterize the overall brightness of the image to be displayed; determining a compensation value for the digital brightness value based on the digital brightness value and the average image level, and correcting the digital brightness value based on the compensation value; and mapping the input grayscale to the output grayscale based on the corrected digital brightness value.

[0008] In some possible implementations, the input grayscale includes multiple input grayscale values ​​that correspond one-to-one with multiple pixels in the image to be displayed. Determining the average image level of the image to be displayed based on the input grayscale includes: determining the average value and the maximum value of the multiple input grayscale values; and weighting and fusing the average value and the maximum value according to a first weighting coefficient to obtain the average image level.

[0009] In some possible implementations, any one of the plurality of input grayscale values ​​includes a plurality of grayscale value components, and the any one input grayscale value is obtained by weighted fusion of the plurality of grayscale value components based on a second weighting coefficient.

[0010] In some possible implementations, the range of the digital brightness value is a first range, which is divided into multiple first intervals; the range of the average image level is a second range, which is divided into multiple second intervals; and determining the compensation value of the digital brightness value based on the digital brightness value and the average image level includes: searching a two-dimensional lookup table based on a first index of the digital brightness value and a second index of the average image level; the two-dimensional lookup table is used to output a first reference value of the compensation value based on the input first index and second index; the first index indicates the interval in which the digital brightness value is located among the multiple first intervals, and the second index indicates the interval in which the average image level is located among the multiple second intervals; and determining the compensation value based on the first reference value output by the two-dimensional lookup table.

[0011] In some possible implementations, correcting the digital brightness value based on the compensation value includes: determining the brightness level of the image to be displayed based on the average image level, and correcting the digital brightness value based on the brightness level using the compensation value.

[0012] In some possible implementations, mapping the input grayscale to the output grayscale based on the corrected digital brightness value includes: determining a brightness adjustment coefficient corresponding to the corrected digital brightness value; and mapping the input grayscale to the output grayscale based on the brightness adjustment coefficient.

[0013] In some possible implementations, the first value range of the digital brightness value is divided into multiple first intervals, and determining the brightness adjustment coefficient corresponding to the corrected digital brightness value includes: querying a first one-dimensional lookup table according to a third index of the corrected digital brightness value, wherein the first one-dimensional lookup table is used to output a second reference value of the brightness adjustment coefficient according to the input third index, wherein the third index indicates the interval in which the corrected digital brightness value falls among the multiple first intervals; and determining the brightness adjustment coefficient according to the second reference value.

[0014] In some possible implementations, the first value range is divided into the plurality of first intervals, and / or the second value range is divided into the plurality of second intervals in a non-equidistant manner.

[0015] Secondly, this application provides a display control chip, including a processing module, the processing module being configured to: determine a digital brightness value of a display panel based on ambient brightness, the digital brightness value being used to indicate a reference brightness adjustment range of the display panel; map the input grayscale of the image to be displayed to an output grayscale based on the digital brightness value and the image content of the image to be displayed in the display panel, and control the display brightness of the display panel based on the output grayscale.

[0016] In some possible implementations, the image content includes the average image level of the image to be displayed, and the processing module is configured to: determine the average image level of the image to be displayed based on the input grayscale, the average image level being used to characterize the overall brightness of the image to be displayed; determine a compensation value for the digital brightness value based on the digital brightness value and the average image level, and correct the digital brightness value based on the compensation value; and map the input grayscale to the output grayscale based on the corrected digital brightness value.

[0017] In some possible implementations, the input grayscale includes multiple input grayscale values ​​that correspond one-to-one with multiple pixels in the image to be displayed, and the processing module is configured to: determine the average value and the maximum value of the multiple input grayscale values; and perform weighted fusion of the average value and the maximum value according to a first weighting coefficient to obtain the average image level.

[0018] In some possible implementations, any one of the plurality of input grayscale values ​​includes a plurality of grayscale value components, and the any one input grayscale value is obtained by weighted fusion of the plurality of grayscale value components based on a second weighting coefficient.

[0019] In some possible implementations, the range of the digital brightness value is a first range, which is divided into multiple first intervals; the range of the average image level is a second range, which is divided into multiple second intervals; and the processing module is configured to: look up a two-dimensional lookup table based on a first index of the digital brightness value and a second index of the average image level; the two-dimensional lookup table is used to output a first reference value of the compensation value based on the input first index and second index; the first index indicates the interval in which the digital brightness value is located among the multiple first intervals; and the second index indicates the interval in which the average image level is located among the multiple second intervals; and determine the compensation value based on the first reference value output by the two-dimensional lookup table.

[0020] In some possible implementations, the processing module is configured to: determine the brightness of the image to be displayed based on the average image level, and correct the digital brightness value based on the brightness of the image using the compensation value.

[0021] In some possible implementations, the processing module is configured to: determine a brightness adjustment coefficient corresponding to the corrected digital brightness value; and map the input grayscale to the output grayscale according to the brightness adjustment coefficient.

[0022] In some possible implementations, the first value range of the digital brightness value is divided into multiple first intervals, and the processing module is configured to: query a first one-dimensional lookup table according to a third index of the corrected digital brightness value, the first one-dimensional lookup table being used to output a second reference value of the brightness adjustment coefficient according to the input third index, the third index indicating the interval into which the corrected digital brightness value falls among the multiple first intervals; and determine the brightness adjustment coefficient according to the second reference value.

[0023] In some possible implementations, the first value range is divided into the plurality of first intervals, and / or the second value range is divided into the plurality of second intervals in a non-equidistant manner.

[0024] Thirdly, this application provides a display device, which includes a display panel and a display control chip. The display control chip is the same as the display control chip described in the second aspect or any possible embodiment of the second aspect, and is used to control the display brightness of the display panel.

[0025] Fourthly, this application provides a computer-readable storage medium having stored thereon program instructions for controlling a display device, which, when executed by one or more processors, cause the display device to implement the method described in any one of the first aspects of this application.

[0026] Fifthly, this application provides a computer program product comprising a computer program that is executed by a processor to enable a computer to perform the method described in any of the first aspects.

[0027] The beneficial effects of the technical solution provided in this application include at least the following: The technical solution provided in this application, on the one hand, maps ambient brightness to digital brightness values, provides a reference brightness adjustment range through digital brightness values, and then maps the input grayscale of the image to be displayed to the output grayscale of the driving signal controlling the display panel based on the digital brightness values ​​and the image content of the image to be displayed. This decouples ambient brightness from the driving signal and makes the mapping relationship between ambient brightness and driving signal flexible and configurable. That is, the display brightness can be dynamically adjusted non-linearly, adaptively and in accordance with the characteristics of human vision as the ambient brightness changes. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 This is a schematic diagram of the structure of the display device provided in the embodiments of this application; Figure 2a This is a flowchart of the control method for the display panel provided in an embodiment of this application; Figure 2b This is a flowchart of another control method for a display panel provided in an embodiment of this application; Figure 3 This is a schematic diagram of a two-dimensional lookup table provided in an embodiment of this application; Figure 4 This is a schematic diagram illustrating the changing trend of the first reference value output by a two-dimensional lookup table according to an embodiment of this application; Figure 5 This is a schematic diagram illustrating an input grayscale mapping to an output grayscale provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of the display control chip provided in the embodiment of this application. Detailed Implementation

[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0031] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0032] The perceived brightness of a display panel is strongly correlated with the ambient brightness. For example, when the ambient brightness is high, the visual sensitivity of the human eye decreases, requiring the display panel to have higher brightness to ensure clear visibility. Conversely, when the ambient brightness is low, the visual sensitivity of the human eye increases, and lower brightness is sufficient for comfortable viewing. Therefore, in traditional display devices, ambient brightness is typically used as an input variable to control the driving current or voltage of the sub-pixels of the display panel, allowing the display panel's brightness to adaptively adjust to changes in ambient brightness. Display brightness, for example, refers to the amount of light energy radiated per unit area of ​​the display panel under normal operating conditions. Ambient light brightness, for example, refers to the intensity of light in the environment where the display panel is used, reflecting the degree of ambient light.

[0033] In this case, due to the inherent characteristics of analog circuits, the driving voltage or current of the sub-pixels of the display panel can only exhibit a monotonic mapping relationship with the ambient brightness, such as a linear mapping relationship or a simple gamma mapping relationship. For example, when the ambient light is low, the display brightness of the display panel is also low, and when the ambient light is high, the display brightness of the display panel is also high.

[0034] However, the human eye's perception of display brightness is influenced by multiple factors, including the display content, ambient color temperature, and ambient light intensity, as well as the non-linear saturation characteristics of visual perception and the photoelectric properties of the display panel itself, such as driving efficiency and brightness response characteristics. This results in a monotonic mapping relationship between display brightness and ambient brightness that is poorly adapted to the human eye's perceptual needs. Therefore, when display brightness increases monotonically with increasing ambient brightness, it can easily exceed the actual visual requirements of the human eye, leading to excessive brightness overload. This not only increases power consumption but also increases the perceptual load on the human eye. Furthermore, high display brightness operation significantly increases power consumption and heat generation of the display panel, causing drift in sub-pixel luminous characteristics, deviations in color gamut and color accuracy, and color coordinate shifts, ultimately affecting the display panel's image quality.

[0035] In view of this, embodiments of this application provide a control method for a display panel, the method comprising: determining a digital brightness value of the display panel based on ambient brightness, the digital brightness value being used to characterize a reference brightness adjustment range of the display panel; mapping an input grayscale of the image to be displayed to an output grayscale based on the digital brightness value and the image content of the image to be displayed in the display panel; and controlling the display brightness of the display panel based on the output grayscale.

[0036] Figure 1 This is a schematic diagram of the structure of a display device provided in an embodiment of this application. (Reference) Figure 1 The display device provided in this application embodiment includes, for example, a display panel 110 and a display control chip 120.

[0037] The display panel 110 includes, for example, a plurality of sub-pixels arranged in an array and a driving backplane electrically connected to the plurality of sub-pixels. The driving backplane includes, for example, a plurality of sub-driving circuits corresponding one-to-one with the plurality of sub-pixels. Each of the plurality of sub-driving circuits is used, but is not limited to, to provide a driving signal to the corresponding sub-pixel, so that the corresponding sub-pixel achieves a brightness response according to the driving signal. The driving signal is, for example, a driving current or a driving voltage.

[0038] Optionally, the display panel 110 may be any type of display panel that supports pixel-level independent brightness control and grayscale mapping, such as MicroLED, OLED, or LED. This application does not impose any restrictions in this regard.

[0039] The display control chip 120 is used to control the display brightness of the display panel 110, for example, by adjusting the brightness of multiple sub-pixels of the display panel 110 by adjusting the drive signals provided by multiple sub-drive circuits.

[0040] Optionally, the display control chip 120 adjusts the drive signals of multiple sub-drive circuits by means of adjusting the duty cycle of the drive signal, adjusting the amplitude of the drive signal, etc., and this application does not impose any restrictions in this regard.

[0041] Figure 2a This is a flowchart of a control method for a display panel provided in an embodiment of this application. The control method for the display panel is, for example, provided by... Figure 1 The display control chip shown performs the functions described herein, but this application makes no limitations in this regard. See also Figure 2a The control method for the display panel provided in this application embodiment includes, for example, the steps S210-S220 shown below.

[0042] Step S210: Determine the digital brightness value of the display panel based on the ambient brightness. The digital brightness value is used to indicate the reference brightness adjustment range of the display panel.

[0043] For example, the reference brightness adjustment range is, for instance, the brightness adjustment range of the display panel set according to the current ambient brightness, used, but not limited to, to indicate the constraint and adaptation relationship between the ambient brightness and the display panel's display brightness. For example, if the current ambient brightness is lower, the human eye is more sensitive to changes in display brightness. To avoid eye strain and ensure visual comfort, the upper limit of the display brightness needs to be lowered, resulting in a smaller reference brightness adjustment range. Conversely, if the current ambient brightness is higher, the human eye's sensitivity to brightness changes is relatively lower, allowing for a corresponding increase in the upper limit of the display brightness, resulting in a larger reference brightness adjustment range.

[0044] The reference brightness adjustment range is a subset of the maximum brightness adjustment range of the display panel. The maximum brightness adjustment range indicates the range between the maximum and minimum display brightness that the display panel can achieve, and the unit is cd / m² (candela per square meter, or nit). The maximum brightness adjustment range depends on the physical characteristics of the display panel, such as the characteristics of the light-emitting device, the driving voltage range, and the driving circuit capability. This application does not impose any limitations in this regard.

[0045] DBV (Digital Brightness Value) is, for example, a numerical value in the digital domain representing the reference brightness adjustment range of the display panel. The value type can be, for example, an integer, a fixed-point number, or a floating-point number; this application makes no limitation in this regard. DBV is used, but is not limited to, converting display brightness and its adjustment range—also known as analog brightness—from physical quantities into digital quantities that are easily processed and accessed by digital circuits. For example, after the display panel's control unit determines the DBV based on the current ambient brightness, the control unit determines the current reference brightness adjustment range based on the DBV.

[0046] For example, the numerical type and first value range of DBV are pre-configured in the register of the control unit, and the value of DBV is any number of discrete values ​​within the first value range. In some embodiments, the first value range of DBV is, for example, a mapping of the maximum brightness adjustment range of the display panel in the digital domain, that is, the minimum value of DBV corresponds to the minimum display brightness of the display panel, and the maximum value of DBV corresponds to the maximum display brightness of the display panel. The numerical type of DBV is, for example, a non-negative integer. For example, when the first value range of DBV is [0, 1023], the value of DBV includes any number of 0, 1, 2, ..., 1023. In this case, the more values ​​of DBV there are, that is, the higher the adjustment resolution of DBV, the higher the brightness adjustment accuracy of the display panel; the fewer values ​​of DBV there are, that is, the lower the adjustment resolution of DBV, the lower the brightness adjustment accuracy of the display panel.

[0047] Optionally, the third value range of ambient brightness is divided into multiple third intervals. A method for determining the digital brightness value (DBV) of the display panel based on the ambient brightness may include, for example, querying a second one-dimensional lookup table based on the ambient brightness, and determining the DBV based on a third reference value output from the second one-dimensional lookup table. The second one-dimensional lookup table is used to output a third reference value for the DBV based on a third index of the ambient brightness, where the third index indicates the third target interval where the ambient brightness falls among the multiple third intervals.

[0048] The following section will further explain the configuration method of the second-dimensional lookup table in conjunction with the method of determining DBV based on the third reference value output by the second-dimensional lookup table.

[0049] If the first value range of DBV is configured as [0, 1023], and DBV is any non-negative integer within [0, 1023], then the number of values ​​for DBV is 2. 10 (i.e., 1024), denoted as P. The third value range of ambient brightness is divided into q consecutive third intervals by q-1 preset thresholds configured in the register of the control unit, resulting in q+1 third interval nodes. The DBV is then determined based on the third reference value output by the second one-dimensional lookup table, including the following three cases: Case 1: The second one-dimensional lookup table is a set of mapping relationships between q third intervals and third reference values.

[0050] In this case, the second one-dimensional lookup table includes q entries corresponding one-to-one with q third intervals. Each entry maps a third interval as a whole to a third reference value. If the ambient brightness falls within the third target interval, the third reference value corresponding to the third target interval indicated by the third index is the final value of DBV, requiring no interpolation. Here, the third reference values ​​are all possible values ​​of DBV, and this will be repeated below.

[0051] Case 2: The second one-dimensional lookup table is a set of mapping relationships between q + 1 third interval nodes and a third reference value.

[0052] In this case, the second one-dimensional lookup table includes q + 1 entries corresponding one-to-one to the q + 1 third interval nodes, and each entry maps a third interval node to a third reference value. At this time, if the ambient brightness falls into the third target interval, the two third interval nodes of the third target interval indicated by the third index correspond to two third reference values.

[0053] When q + 1 < P, the number of q + 1 entries is less than the number of values that the DBV can take, that is, the resolution of the second one-dimensional lookup table is lower than the adjustment resolution of the DBV. In this case, when the ambient brightness falls into the third target interval, according to the position of the current ambient brightness in the third target interval, linear interpolation is performed on the two third reference values corresponding to the two third interval nodes of the third target interval to obtain the final value of the DBV.

[0054] When q + 1 = P, the number of q + 1 entries is equal to the number of values that the DBV can take, that is, the resolution of the second one-dimensional lookup table is the same as the adjustment resolution of the DBV. In this case, since there are no additional values of the DBV available for interpolation, only exact mapping at the third interval nodes is supported. If the current ambient brightness falls into the third target interval, no interpolation calculation is performed, and any one of the two third reference values corresponding to the two third interval nodes of the third target interval is determined as the final value of the DBV.

[0055] In some embodiments, the configuration of the mapping relationship between different values of the DBV in the second one-dimensional lookup table and the ambient brightness, that is, the configuration of the mapping relationship between the third reference value and the third index, refers to the following principles: In an environment with a higher ambient brightness, a larger DBV value is set so that the user can see the content on the display screen clearly; in an environment with a lower ambient brightness, a smaller DBV value is set to avoid the user's eyes from being stung due to too large a difference between the ambient light and the display screen.

[0056] Step S220: Map the input gray level of the image to be displayed to the output gray level according to the digital brightness value and the image content of the image to be displayed in the display panel, and control the display brightness of the display panel according to the output gray level.

[0057] Exemplarily, the image to be displayed includes, for example, multiple pixels. The input gray level of the image to be displayed is the original pixel brightness of the multiple pixels, which is used to but not limited to indicate the brightness levels of the multiple pixels themselves and the relative brightness and darkness relationships between the multiple pixels. The output gray level is a control parameter used to characterize the light emission intensity of multiple sub-pixels, and its value directly determines the intensity of the driving signal and the final display brightness of the display panel.

[0058] In some embodiments, the method for controlling the display brightness of the display panel according to the output grayscale is, for example, adjusting the duty cycle, amplitude, etc. of the driving signal in the sub-driving circuit that corresponds one-to-one with multiple sub-pixels of the image to be displayed in the display panel according to the output grayscale.

[0059] Considering that in practical applications, the brightness characteristics of the image to be displayed also affect the display effect of the display panel, and that the degree of influence of the brightness characteristics of the image to be displayed on the display effect varies under different ambient brightness levels, when mapping the input grayscale of the image to be displayed to the output grayscale based on the DBV and the image content of the image to be displayed, the reference brightness adjustment range indicated by the DBV can be corrected by using the APL of the image to be displayed.

[0060] In some embodiments, the image content includes the average image level of the image to be displayed. A method for mapping the input grayscale of the image to be displayed to an output grayscale based on a digital brightness value and the image content of the image to be displayed on a display panel includes: determining the average image level of the image to be displayed based on the input grayscale, where the average image level characterizes the overall brightness of the image to be displayed; determining a compensation value for the digital brightness value based on the digital brightness value and the average image level, and correcting the digital brightness value based on the compensation value; and mapping the input grayscale to an output grayscale based on the corrected digital brightness value. Here, APL (average picture level) characterizes the overall brightness of the image to be displayed.

[0061] Figure 2b This is a flowchart of another control method for the display panel provided in an embodiment of this application.

[0062] The following will combine Figure 2b Steps S221-S223 further explain the method of mapping the input grayscale of the image to be displayed to the output grayscale based on the DBV and the image content of the image to be displayed.

[0063] Step S221: Determine the average image level (APL) of the image to be displayed based on the input grayscale. APL is used to characterize the overall brightness of the image to be displayed.

[0064] APL is a statistical index calculated in real time based on the input grayscale of the image to be displayed. It is used, but is not limited to, to characterize the overall brightness of the entire frame of the image to be displayed, the brightness level of the image itself, and the inherent overall brightness of the image itself determined by the image data (input grayscale).

[0065] In some embodiments, the image to be displayed includes multiple pixels, and the input grayscale of the image to be displayed includes, for example, multiple input grayscale values ​​corresponding one-to-one with the multiple pixels. A method for determining the average image level (APL) of the image to be displayed based on the input grayscale of the image to be displayed on the display panel includes, for example, determining the average and maximum values ​​of the multiple input grayscale values; and weighting and fusing the average and maximum values ​​according to a first weighting coefficient to obtain the APL. The first weighting coefficient is configured, for example, in a register of a control unit, and is used, but not limited to, adjusting the contribution ratio of the average and maximum values ​​of the multiple input grayscale values ​​to the APL, so as to achieve flexible adjustment between overall screen visibility and peak brightness overload protection, taking into account display quality, human eye visual comfort, and system power consumption and reliability.

[0066] Optionally, the average of multiple input grayscale values ​​can be calculated using the following formula (1): (1) in, is the average of multiple input grayscale values; W is the pixel width of the image to be displayed, that is, the image to be displayed includes W columns of pixels from 0 to (W-1); H is the pixel height of the image to be displayed, that is, the image to be displayed includes H rows of pixels from 0 to (H-1). Let be the input grayscale value corresponding to the pixel in the i-th row and j-th column of the image to be displayed.

[0067] Optionally, the maximum value of multiple input grayscale values ​​can be calculated using the following formula (2): (2) in, The maximum value of multiple input grayscale values; Let i be the input grayscale value corresponding to the pixel in the i-th row and j-th column of the image to be displayed, i = 0 - (H-1), j = 0 - (W-1).

[0068] Optionally, the average and maximum values ​​can be weighted and fused according to the first weighting coefficient to obtain the APL, for example, by referring to the following formula (3): (3) in, This is the average of multiple input grayscale values; The maximum value of multiple input grayscale values; and This is the first weighting coefficient. For example, it is configured in the register of the control unit, and the configuration in the register is modified. The value of the first weighting coefficient is adjusted to regulate the contribution ratio of the average and maximum values ​​of multiple input grayscale values ​​to the APL. For example, if Greater than This indicates that the average of multiple input grayscale values ​​contributes a larger proportion to the APL than the maximum value contributes a larger proportion to the APL. The value of can be adjusted according to the actual application scenario, and this application does not impose any restrictions in this regard.

[0069] In some embodiments, any one of the multiple input grayscale values ​​includes multiple grayscale value components, that is, any input grayscale value is multi-channel data. For example, any input grayscale value includes a first grayscale value component of the red channel, a second grayscale value component of the green channel, and a third grayscale value component of the blue channel. In this case, any input grayscale value is obtained, for example, by weighted fusion of multiple grayscale value components based on a second weighting coefficient. The second weighting coefficient is configured, for example, in a register of the control unit, and is used, but not limited to, adjusting the contribution ratio of each grayscale value component to any input grayscale value, to adapt to the brightness perception requirements under different display standards, human visual characteristics, or application scenarios.

[0070] The calculation method for any input grayscale value is shown in the following formula (4): (4) in, Let i be the input grayscale value corresponding to the pixel in the i-th row and j-th column of the image to be displayed, i = 0 - (H-1), j = 0 - (W-1). Let be the first grayscale value component of the pixel in the i-th row and j-th column of the image to be displayed; The second grayscale value component of the pixel in the i-th row and j-th column of the image to be displayed; Let be the third grayscale value component of the pixel in the i-th row and j-th column of the image to be displayed. , , For example, it is configured in the register of the control unit, and the configuration in the register is modified. , , The value of the second weighting coefficient is adjusted to regulate the contribution ratio of multiple grayscale components of any input grayscale value to any input grayscale value. , , The sum of is 1. , , The specific value can be adjusted according to the actual application scenario, and this application does not impose any restrictions on the comparison.

[0071] It should be noted that the first grayscale component, the second grayscale component, and the third grayscale component mentioned above are illustrative and not restrictive. The number of grayscale components and the type of color channel for any input grayscale value can be adjusted according to the actual application scenario.

[0072] Step S222: Determine the compensation value of DBV based on DBV and APL, and correct DBV based on the compensation value.

[0073] For example, the compensation value is used, but not limited to, to dynamically adjust, scale, or limit the reference brightness adjustment range indicated by the DBV based on the APL of the image to be displayed. As mentioned above, the DBV is used to indicate the brightness adjustment range of the display panel set according to the current ambient brightness. Since the brightness characteristics of the image to be displayed also affect the display effect of the display panel, and the degree of influence of the brightness characteristics of the image to be displayed on the display effect varies under different ambient brightness conditions. For example, when the ambient brightness remains constant, the lower the APL of the image to be displayed, the darker it appears to the human eye, and the easier it is for the dark details of the image to be unclear, requiring a moderate increase in the reference brightness adjustment range; or, when the APL of the image to be displayed remains constant, the lower the ambient brightness, the easier it is for high display brightness to cause glare and visual fatigue, requiring a corresponding decrease in the reference brightness adjustment range.

[0074] Therefore, in this embodiment, APL is used as a dynamic correction factor to correct the reference brightness adjustment range of DBV indication under different ambient brightness, so as to suppress brightness overload caused by image content while ensuring visibility under different ambient light, and optimize power consumption, heat generation and image quality performance.

[0075] Optionally, if the value range of DBV is a first value range, and the first value range is divided into multiple first intervals, and the value range of APL is a second value range, and the second value range is divided into multiple second intervals, the method for determining the compensation value of DBV based on DBV and APL is, for example: searching a two-dimensional lookup table based on the first index of DBV and the second index of APL; and determining the compensation value based on the first reference value output by the two-dimensional lookup table.

[0076] Here, the first index indicates the interval where DBV is located among multiple first intervals, also known as the first target interval. For example, the first index idx i The first target interval is the i-th first interval among multiple first intervals. The second index indicates the interval where APL is located among multiple second intervals, also known as the second target interval. For example, the second index idx j The second target interval is indicated as the j-th second interval among a plurality of second intervals.

[0077] A two-dimensional lookup table is used to output a first reference value based on the input first and second indices. The configuration method of the two-dimensional lookup table is the same as that of the first one-dimensional lookup table described above, and will not be repeated here. For example, the two-dimensional lookup table is a set of mapping relationships between any combination of first intervals and any combination of second intervals and the first reference value; or, the two-dimensional lookup table is a set of mapping relationships between the combination of first interval nodes and second interval nodes and the first reference value, where the first interval nodes are interval nodes of multiple first intervals, and the second interval nodes are interval nodes of multiple second intervals.

[0078] The following will take the set of mapping relationships between the combination of the first interval node and the second interval node in the two-dimensional lookup table and the first reference value as an example to further explain the method of querying the two-dimensional lookup table according to the first index and the second index, and determining the compensation value according to the first reference value output by the two-dimensional lookup table.

[0079] For example, the first value range of DBV is divided into N first intervals, corresponding to N+1 first interval nodes, and the N+1 first interval nodes are multiple possible values ​​of DBV; the second value range of APL is divided into M second intervals, corresponding to M+1 second interval nodes, and the M+1 second interval nodes are multiple possible values ​​of APL. The two-dimensional lookup table includes (N+1) × (M+1) entries, and each entry maps a combination of a first interval node and a second interval node to a first reference value.

[0080] Figure 3 This is a schematic diagram of a two-dimensional lookup table provided in an embodiment of this application.

[0081] like Figure 3 As shown, N first intervals and M second intervals divide the two-dimensional space corresponding to the two-dimensional lookup table into M×N grid cells, and any grid cell is denoted as d. (i,j) , i=0-(N-1), j=0-(M-1). Any grid cell is formed by the intersection of a corresponding first interval and a second interval, that is, it is enclosed by four corner points formed by the combination of two first interval nodes of the first interval and two second interval nodes of the second interval.

[0082] In the case where the two-dimensional lookup table is a set of mapping relationships between a combination of first interval nodes and second interval nodes and a first reference value, the first index idx of the first target interval is used. i Second index idx j The combined query of the two-dimensional lookup table outputs multiple first reference values, namely grid cell d. (i,j) The four corner points correspond to the four first reference values. For example, if the two first interval nodes of the first target interval are... and The two nodes of the second target interval are and Then the four corner points of the target mesh cell are: the top left corner point ( , ), lower left corner point ( , ), top right corner ( , (bottom right corner) , Each of the four corner points corresponds to a first reference value.

[0083] In this case, the method for determining the compensation value based on the first reference value output by the two-dimensional lookup table includes: interpolating multiple first reference values ​​output by the two-dimensional lookup table to obtain the compensation value.

[0084] For example, based on the current DBV position in the first target interval, linear interpolation is performed on the two first reference values ​​corresponding to the top left and bottom left corner points to obtain... Based on the current DBV position in the first target interval, linear interpolation is performed on the two first reference values ​​corresponding to the upper right and lower right corner points to obtain the result. Then, substitute the current APL into the formula (5) shown below to obtain the compensation value of the current DBV: (5) in, This is the compensation value for the current DBV; For target mesh element d (i,j) The linear interpolation results of the two first reference values ​​corresponding to the top left and bottom left corner points; For target mesh element d (i,j) The linear interpolation results of the two first reference values ​​corresponding to the top left and bottom left corner points, and the target mesh element d (i,j) The slope of the line containing the linear interpolation results of the two first reference values ​​corresponding to the upper right and lower right corner points. ; This is the left endpoint of the second target interval; This is the right endpoint of the second target interval.

[0085] It should be noted that the above method for interpolating multiple first reference values ​​output by the two-dimensional lookup table is illustrative and not restrictive. For example, the interpolation order of the four first reference values ​​corresponding to the four corner points of the target grid cell can also be to first interpolate the row direction of the two-dimensional lookup table and then interpolate the column direction of the two-dimensional lookup table. The interpolation method can also be non-linear interpolation. This application does not impose any restrictions in this regard.

[0086] In some embodiments, the second value range of APL is, for example, 0%-100%, and the number of multiple second intervals is, for example, M. The configuration of the M second intervals is, for example, as follows: the second value range of APL is divided into M second intervals by using M-1 second preset thresholds configured in the control unit's register (excluding the left endpoint 0% and the right endpoint 100% of the second value range), resulting in M+1 second interval nodes. For example, the M+1 second interval nodes include T0, T... 1、 T 2、……、 T M Where T0 is the left endpoint (0%) of the second value range, T M 100% is the right endpoint of the second value range.

[0087] In this case, the two second interval nodes of the second target interval are determined based on the current APL. and The method is as follows: compare the current APL with the M+1 second interval nodes configured in the register one by one. The interval that the current APL falls into, which is formed by two adjacent second interval nodes, is the second target interval. These two adjacent interval nodes are the two second interval nodes of the second target interval. and .

[0088] The first value range of DBV is divided into N first intervals, corresponding to N+1 first interval nodes. The configuration method of the N first intervals is as follows: configure N distance values ​​in the register of the control unit that correspond one-to-one with the N first intervals. Any distance value indicates the length of the corresponding first interval.

[0089] In some embodiments, the length of any one of the plurality of first intervals is a power of 2, and any distance value is configured in the register of the control unit, for example, in the form of a displacement. For example, the register of the control unit is configured with N displacements corresponding one-to-one with N distance values ​​and N first intervals, namely n0, n... 1、 n 2、……、 n N-1 The distance value of any first interval is calculated as follows: , representing distance value To shift the value 1 to the left The result obtained is equivalent to This ensures that the length of any first interval is a power of 2, facilitating rapid hardware calculation and mapping.

[0090] In this case, the two first interval nodes of the first target interval are determined based on the current DBV. and The method is as follows: compare the current DBV with each of the N+1 first interval nodes. The interval into which the current DBV falls, consisting of two adjacent first interval nodes, is the first target interval, and these two adjacent first interval nodes are the two first interval nodes of the first target interval. and .

[0091] The N+1 nodes of the first interval are calculated as follows: ,in, For the first node in the first interval, To remove Any node in the first interval outside, To and Adjacent and smaller Another node in the first interval, Let be the distance value of the i-th first interval.

[0092] Figure 4 This is a schematic diagram illustrating the changing trend of the first reference value output by a two-dimensional lookup table provided in an embodiment of this application.

[0093] like Figure 4 As shown, when the two-dimensional lookup table is a set of mapping relationships between combinations of first and second interval nodes and first reference values, the configuration of the mapping relationships between different combinations of first and second interval nodes and different first reference values ​​in the two-dimensional lookup table follows the principle described below: When the value of DBV remains constant, as the value of APL increases, the compensation value ( The compensation value exhibits a trend of first decreasing and then increasing. That is, when APL is less than the specified threshold, the compensation value decreases as the value of APL increases; when APL is greater than or equal to the specified threshold, the compensation value increases as the value of APL increases. Furthermore, any possible value of the compensation value is greater than or equal to 0.

[0094] In this case, the method for correcting the DBV based on the compensation value is as follows: determine the brightness of the image to be displayed based on the average image level, and correct the digital brightness value according to the brightness level using the compensation value. For example, if the APL is less than a specified threshold, the compensation value is added to the DBV to obtain the corrected DBV. If the APL is greater than or equal to the specified threshold, the compensation value is subtracted from the DBV to obtain the corrected DBV.

[0095] In the above method, when the DBV value remains constant, i.e., the ambient brightness remains constant, the impact on the brightness performance of the display panel, human eye perception, and power consumption varies significantly due to the different brightness levels (APL) of the images to be displayed. Therefore, this embodiment of the application differentiates the reference brightness adjustment range for different APL values, i.e., different brightness levels of the images to be displayed. When the APL is less than a specified threshold, a compensation value is added to the DBV to increase the reference brightness adjustment range and improve the visibility of details in dark scenes. When the APL is greater than or equal to the specified threshold, a compensation value is subtracted from the DBV to reduce the reference brightness adjustment range, suppressing overexposure of bright scenes and reducing power consumption. This ensures that, under the same ambient brightness, images with different content brightness can balance display effect, visual comfort, and system reliability.

[0096] In some embodiments, the first value range is divided into multiple first intervals, and / or the second value range is divided into multiple second intervals in a non-equidistant manner, so as to differentiate the mapping accuracy under different ambient brightness or different APL, adapt to the visual characteristics of the human eye and the control requirements of the actual display scene, and improve the flexibility of brightness adjustment range correction.

[0097] For example, the M+1 nodes of the second interval include T0, T... 1、 T 2、……、 T M And T0 is the left endpoint of the second value range, 0%, T M When the right endpoint of the second value range is 100%, the distance values ​​of multiple first intervals are all equal, while the distance values ​​of multiple second intervals are not equal, such as... Figure 4 As shown, the distance between T0 and T1 is 1%, the distance between T1 and T2 is 4%, the distance between T2 and T3 is 5%, etc. Alternatively, the distance values ​​of multiple first intervals may be unequal, while the distance values ​​of multiple second intervals may all be equal. Or, the distance values ​​of multiple first intervals may be unequal, and the distance values ​​of multiple second intervals may also be unequal. This application does not impose any restrictions on the specific values ​​of the distances in the multiple first intervals or the specific values ​​of the multiple second intervals.

[0098] Step S223: Map the input grayscale to the output grayscale according to the corrected DBV.

[0099] For example, a method for mapping input grayscale to output grayscale based on the modified DBV. For instance, this involves: determining the brightness adjustment coefficient corresponding to the modified digital brightness value; and mapping the input grayscale to the output grayscale based on the brightness adjustment coefficient.

[0100] Optionally, the first value range of DBV is divided into multiple first intervals. The method for determining the brightness adjustment coefficient corresponding to the corrected digital brightness value includes, for example,: querying a first one-dimensional lookup table based on the third index of the corrected DBV; querying the first one-dimensional lookup table based on the third index of the corrected digital brightness value; and determining the brightness adjustment coefficient based on a second reference value. The third index indicates the interval into which the corrected DBV falls among the multiple first intervals. The first one-dimensional lookup table is used to output a second reference value for the brightness adjustment coefficient based on the input third index. The configuration and lookup method of the first one-dimensional lookup table are the same as those of the second one-dimensional lookup table, and will not be elaborated here.

[0101] In some embodiments, the second reference value output by the first one-dimensional lookup table may be multiple, and the method for determining the brightness adjustment coefficient based on the second reference value may be, for example, interpolating the multiple second reference values ​​output by the first one-dimensional lookup table to obtain the brightness adjustment coefficient.

[0102] In other embodiments, the input grayscale includes multiple pixels of the image to be displayed, and multiple output grayscale values ​​correspond one-to-one with the multiple input grayscale values. The method for mapping the input grayscale to the output grayscale according to the brightness adjustment coefficient is, for example, mapping any one of the multiple input grayscale values ​​to the corresponding output grayscale value according to the brightness adjustment coefficient. For example, any output grayscale = the corresponding input grayscale value × C, where C is the brightness adjustment coefficient.

[0103] Figure 5 This is a schematic diagram of an input grayscale mapping to an output grayscale provided in an embodiment of this application.

[0104] like Figure 5 As shown, the thick solid line represents the mapping relationship between the input grayscale and the output grayscale when the brightness adjustment coefficient is 1, and the thin solid line represents the mapping relationship between the input grayscale and the output grayscale when the brightness adjustment coefficient is less than 1.

[0105] When the brightness adjustment coefficient is 1, input grayscale value Mapped to output grayscale values , = Input grayscale value Mapped to , = In this case, it means that the input grayscale has not been scaled or adjusted, and the grayscale mapping remains unchanged. That is, the output grayscale and the input grayscale have the same value, and the display panel displays the brightness corresponding to the original input grayscale.

[0106] When the brightness adjustment coefficient is less than 1, input grayscale value Mapped to , Greater than Input grayscale value Mapped to output grayscale values , > In this case, it means that the input grayscale is scaled as a whole, that is, the output grayscale value is smaller than the input grayscale value, compressing the original input grayscale value range to a smaller output grayscale value range, thereby reducing the overall display brightness of the display panel.

[0107] In the above method, under different ambient brightness and different APL, the input grayscale of the image to be displayed is scaled by the brightness adjustment coefficient, or the original brightness of the input grayscale is maintained. The embodiments of this application can adaptively adjust the range of output grayscale values ​​of the display panel according to the ambient brightness and the overall brightness of the image content. While ensuring the visibility and visual comfort of the screen in different scenarios, it effectively suppresses peak power consumption and brightness overload, and improves the overall performance and reliability of the display system.

[0108] The technical solution provided in this application, on the one hand, maps ambient brightness to digital brightness values, provides a reference brightness adjustment range through digital brightness values, and then maps the input grayscale of the image to be displayed to the output grayscale of the driving signal controlling the display panel based on the digital brightness values ​​and the image content of the image to be displayed. This decouples ambient brightness from the driving signal and makes the mapping relationship between ambient brightness and driving signal flexible and configurable. That is, the display brightness can be dynamically adjusted non-linearly, adaptively and in accordance with the characteristics of human vision as the ambient brightness changes.

[0109] In some other possible implementations, embodiments of this application also provide a display control chip. Figure 6 This is a schematic diagram of the structure of the display control chip provided in an embodiment of this application. See also... Figure 6 The display control chip provided in this application embodiment includes a processing module 610.

[0110] The processing module 610 is configured to determine the digital brightness value of the display panel based on the ambient brightness; map the input grayscale of the image to be displayed to the output grayscale based on the digital brightness value and the image content of the image to be displayed in the display panel; and control the display brightness of the display panel based on the output grayscale.

[0111] The digital brightness value is used to indicate the reference brightness adjustment range of the display panel.

[0112] In some possible implementations, the image content includes the average image level of the image to be displayed, and the processing module 610 is configured to: determine the average image level of the image to be displayed based on the input grayscale, the average image level being used to characterize the overall brightness of the image to be displayed; determine a compensation value for the digital brightness value based on the digital brightness value and the average image level, and correct the digital brightness value based on the compensation value; and map the input grayscale to the output grayscale based on the corrected digital brightness value.

[0113] In some possible implementations, the input grayscale includes multiple input grayscale values ​​that correspond one-to-one with multiple pixels in the image to be displayed. The processing module 610 is configured to: determine the average value and the maximum value of the multiple input grayscale values; and perform weighted fusion of the average value and the maximum value according to a first weighting coefficient to obtain an average image level.

[0114] In some possible implementations, any one of the multiple input grayscale values ​​includes multiple grayscale value components, and any input grayscale value is obtained by weighted fusion of the multiple grayscale value components based on a second weighting coefficient.

[0115] In some possible implementations, the range of digital brightness values ​​is a first range, which is divided into multiple first intervals; the range of average image level values ​​is a second range, which is divided into multiple second intervals; and the processing module 610 is configured to: look up a two-dimensional lookup table based on the first index of the digital brightness values ​​and the second index of the average image level; the two-dimensional lookup table is used to output a first reference value for the compensation value based on the input first and second indices; the first index indicates the interval in which the digital brightness values ​​are located among the multiple first intervals; and the second index indicates the interval in which the average image level is located among the multiple second intervals; and determine the compensation value based on the first reference value output by the two-dimensional lookup table.

[0116] In some possible implementations, the processing module 610 is configured to: determine the brightness of the image to be displayed based on the average image level, and correct the digital brightness value by means of a compensation value based on the brightness.

[0117] In some possible implementations, the processing module 610 is configured to: determine the brightness adjustment coefficient corresponding to the corrected digital brightness value; and map the input grayscale to the output grayscale according to the brightness adjustment coefficient.

[0118] In some possible implementations, the first value range of the digital brightness value is divided into multiple first intervals, and the processing module 610 is configured to: query a first one-dimensional lookup table according to a third index of the corrected digital brightness value, the first one-dimensional lookup table being used to output a second reference value of the brightness adjustment coefficient according to the input third index, the third index indicating the interval into which the corrected digital brightness value falls among the multiple first intervals; and determine the brightness adjustment coefficient according to the second reference value.

[0119] In some possible implementations, the first value range is divided into multiple first intervals, and / or the second value range is divided into multiple second intervals in a non-equidistant manner.

[0120] The above Figure 6 The principle of the display control chip shown can be referred to Figure 2 above and the related descriptions of its various embodiments, and will not be repeated here. The display control chip embodiments provided above and the display panel control method embodiments belong to the same concept, and their specific implementation process can be found in the display panel control method.

[0121] In other possible embodiments, this application also provides a computer-readable storage medium storing program instructions for controlling a display device, which, when executed by one or more processors, cause the display device to perform the steps of the method and its various embodiments described above in conjunction with FIG2. The computer-readable storage medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0122] This application also provides a computer program product comprising a computer program that is executed by a processor to cause a display device to implement the steps of the method and its various embodiments described above in conjunction with FIG2.

[0123] It should also be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0124] The term "and / or" in the embodiments of this application is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0125] The above description is only for the purpose of enabling those skilled in the art to understand the technical solution of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application shall be included within the scope of protection of this application.

Claims

1. A method for controlling a display panel, characterized in that, The method includes: The digital brightness value of the display panel is determined based on the ambient brightness, and the digital brightness value is used to indicate the reference brightness adjustment range of the display panel; Based on the digital brightness value and the image content of the image to be displayed in the display panel, the input grayscale of the image to be displayed is mapped to the output grayscale, and the display brightness of the display panel is controlled according to the output grayscale.

2. The method according to claim 1, characterized in that, The image content includes the average image level of the image to be displayed. Mapping the input grayscale of the image to be displayed to the output grayscale based on the digital brightness value and the image content of the image to be displayed on the display panel includes: The average image level of the image to be displayed is determined based on the input grayscale, and the average image level is used to characterize the overall brightness of the image to be displayed. A compensation value for the digital brightness value is determined based on the digital brightness value and the average image level, and the digital brightness value is corrected based on the compensation value. The input grayscale is mapped to the output grayscale based on the corrected digital brightness value.

3. The method according to claim 2, characterized in that, The input grayscale includes multiple input grayscale values ​​that correspond one-to-one with multiple pixels in the image to be displayed. Determining the average image level of the image to be displayed based on the input grayscale includes: Determine the average and maximum values ​​of the multiple input grayscale values; The average image level is obtained by weighting and fusing the average value and the maximum value according to the first weighting coefficient.

4. The method according to claim 3, characterized in that, Any one of the multiple input grayscale values ​​includes multiple grayscale value components, and the multiple input grayscale value is obtained by weighted fusion of the multiple grayscale value components based on a second weighting coefficient.

5. The method according to claim 2, characterized in that, The range of the digital brightness value is a first range, which is divided into multiple first intervals. The range of the average image level is a second range, which is divided into multiple second intervals. Determining the compensation value of the digital brightness value based on the digital brightness value and the average image level includes: A two-dimensional lookup table is searched based on a first index of the digital brightness value and a second index of the average image level. The two-dimensional lookup table is used to output a first reference value of the compensation value based on the input first index and second index. The first index indicates the interval in which the digital brightness value is located among a plurality of first intervals, and the second index indicates the interval in which the average image level is located among a plurality of second intervals. The compensation value is determined based on the first reference value output by the two-dimensional lookup table.

6. The method according to claim 2, characterized in that, The step of correcting the digital brightness value based on the compensation value includes: The brightness level of the image to be displayed is determined based on the average image level, and the digital brightness value is corrected based on the brightness level using the compensation value.

7. The method according to claim 2, characterized in that, The step of mapping the input grayscale to the output grayscale based on the corrected digital brightness value includes: Determine the brightness adjustment coefficient corresponding to the corrected digital brightness value; The input grayscale is mapped to the output grayscale based on the brightness adjustment coefficient.

8. The method according to claim 7, characterized in that, The first value range of the digital brightness value is divided into multiple first intervals, and the determination of the brightness adjustment coefficient corresponding to the corrected digital brightness value includes: The first one-dimensional lookup table is queried according to the third index of the corrected digital brightness value. The first one-dimensional lookup table is used to output the second reference value of the brightness adjustment coefficient according to the input third index. The third index indicates the interval in which the corrected digital brightness value falls among the plurality of first intervals. The brightness adjustment coefficient is determined based on the second reference value.

9. The method according to claim 5 or 7, characterized in that, The first value range is divided into the plurality of first intervals, and / or the second value range is divided into the plurality of second intervals in a non-equidistant manner.

10. A display control chip, characterized in that, Includes a processing module, which is configured to: The digital brightness value of the display panel is determined based on the ambient brightness, and the digital brightness value is used to indicate the reference brightness adjustment range of the display panel; Based on the digital brightness value and the image content of the image to be displayed in the display panel, the input grayscale of the image to be displayed is mapped to the output grayscale, and the display brightness of the display panel is controlled according to the output grayscale.

11. The display control chip according to claim 10, characterized in that, The image content includes the average image level of the image to be displayed, and the processing module is configured to: The average image level of the image to be displayed is determined based on the input grayscale, and the average image level is used to characterize the overall brightness of the image to be displayed. A compensation value for the digital brightness value is determined based on the digital brightness value and the average image level, and the digital brightness value is corrected based on the compensation value. The input grayscale is mapped to the output grayscale based on the corrected digital brightness value.

12. The display control chip according to claim 11, characterized in that, The input grayscale includes multiple input grayscale values ​​that correspond one-to-one with multiple pixels in the image to be displayed, and the processing module is configured to: Determine the average and maximum values ​​of the multiple input grayscale values; The average image level is obtained by weighting and fusing the average value and the maximum value according to the first weighting coefficient.

13. The display control chip according to claim 12, characterized in that, Any one of the multiple input grayscale values ​​includes multiple grayscale value components, and the multiple input grayscale value is obtained by weighted fusion of the multiple grayscale value components based on a second weighting coefficient.

14. The display control chip according to claim 11, characterized in that, The range of the digital brightness value is a first range, which is divided into multiple first intervals; the range of the average image level is a second range, which is divided into multiple second intervals; and the processing module is configured to: A two-dimensional lookup table is searched based on a first index of the digital brightness value and a second index of the average image level. The two-dimensional lookup table is used to output a first reference value of the compensation value based on the input first index and second index. The first index indicates the interval in which the digital brightness value is located among a plurality of first intervals, and the second index indicates the interval in which the average image level is located among a plurality of second intervals. The compensation value is determined based on the first reference value output by the two-dimensional lookup table.

15. The display control chip according to claim 11, characterized in that, The processing module is configured as follows: The brightness level of the image to be displayed is determined based on the average image level, and the digital brightness value is corrected based on the brightness level using the compensation value.

16. The display control chip according to claim 11, characterized in that, The processing module is configured as follows: Determine the brightness adjustment coefficient corresponding to the corrected digital brightness value; The input grayscale is mapped to the output grayscale based on the brightness adjustment coefficient.

17. The display control chip according to claim 16, characterized in that, The first value range of the digital brightness value is divided into multiple first intervals, and the processing module is configured as follows: The first one-dimensional lookup table is queried according to the third index of the corrected digital brightness value. The first one-dimensional lookup table is used to output the second reference value of the brightness adjustment coefficient according to the input third index. The third index indicates the interval in which the corrected digital brightness value falls among the plurality of first intervals. The brightness adjustment coefficient is determined based on the second reference value.

18. The display control chip according to claim 14 or 16, characterized in that, The first value range is divided into the plurality of first intervals, and / or the second value range is divided into the plurality of second intervals in a non-equidistant manner.

19. A display device, characterized in that, The display device includes a display panel and a display control chip, wherein the display control chip is as described in any one of claims 10-18 and is used to control the display brightness of the display panel.