Method, device, storage medium and electronic equipment for adjusting brightness of display panel

By acquiring the initial brightness control parameters and brightness change rate of the display panel, and combining them with pulse width modulation parameters and grayscale compensation values, the backlight intensity is adaptively adjusted in real time. This solves the problems of grayscale breakage and frequent brightness changes when the display device dims the backlight, ensuring the continuity and consistency of the screen color and brightness.

CN122177064APending Publication Date: 2026-06-09ANALOGIX SEMICON (SUZHOU) INC +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ANALOGIX SEMICON (SUZHOU) INC
Filing Date
2026-04-10
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing display devices are prone to grayscale breakage when the backlight brightness is dimmed, resulting in deviations in color saturation and hue from the original content. Furthermore, they cannot accurately compensate for these deviations when switching screen images, leading to frequent changes in screen brightness and impacting the user experience.

Method used

By acquiring the initial brightness control parameters and brightness change rate of the display panel, the target brightness control parameters are determined. Combined with pulse width modulation parameters and grayscale compensation values, the backlight intensity is adaptively adjusted in real time to ensure the continuity of grayscale changes and screen contrast. Pixel-level compensation is used to prevent color shift.

Benefits of technology

It achieves continuity in grayscale changes when the backlight is reduced, ensuring consistency in color saturation and tone, avoiding sudden and frequent changes in brightness, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122177064A_ABST
    Figure CN122177064A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, storage medium, and electronic device for adjusting the brightness of a display panel. The method includes: acquiring initial brightness control parameters and brightness change rate of the display panel; determining target brightness control parameters of the display panel based on the initial brightness control parameters and brightness change rate; determining pulse width modulation parameters of the display panel based on the target brightness control parameters, and determining grayscale compensation values ​​of each pixel on the display panel based on the pulse width modulation parameters; determining the actual grayscale values ​​of each pixel on the display panel in the next frame based on the grayscale compensation values ​​of each pixel on the display panel, and determining the grayscale values ​​of the pixels in the next frame as the actual grayscale values. This method can adaptively adjust the backlight intensity in real time according to the current display content of the display panel, while maintaining the color saturation and hue of the image while reducing the backlight, and ensuring smooth brightness changes when the image frequently switches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to a method for adjusting the brightness of a display panel, a device for adjusting the brightness of a display panel, a computer-readable storage medium, and an electronic device. Background Technology

[0002] In practical applications, existing display devices are found to exhibit grayscale distortion when backlight brightness is dimmed, and the color saturation and hue of the image deviate from the original content. Furthermore, because the brightness is dynamically adjusted based on the screen content, it cannot accurately compensate for real-time changes in video content when switching between different applications and screens, leading to frequent changes in screen brightness and negatively impacting the user experience. Summary of the Invention

[0003] The main objective of this application is to provide a method for adjusting the brightness of a display panel, a device for adjusting the brightness of a display panel, a computer-readable storage medium, and an electronic device, so as to at least solve the problems that existing display devices cause color deviation when the brightness decreases and cause frequent changes in screen brightness when the screen image is switched.

[0004] To achieve the above objectives, according to one aspect of this application, a method for adjusting the brightness of a display panel is provided, comprising: acquiring initial brightness control parameters and a brightness change rate of the display panel, wherein the initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel, wherein the brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel, and the image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel; determining a target brightness control parameter of the display panel based on the initial brightness control parameters and the brightness change rate; determining a pulse width modulation parameter of the display panel based on the target brightness control parameters, and determining a grayscale compensation value for each pixel on the display panel based on the pulse width modulation parameter; determining the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and determining the grayscale value of the pixel in the next frame as the actual grayscale value.

[0005] Optionally, obtaining the initial brightness control parameters of the display panel includes: obtaining the maximum brightness, average brightness, and maximum coverage brightness of the display panel in the current frame, wherein the maximum brightness is the maximum grayscale value of all pixels on the display panel, the average brightness is the average grayscale value of all pixels on the display panel, and the maximum coverage brightness is the maximum grayscale value among a preset number of pixels on the display panel; and performing a weighted average calculation on the maximum brightness, the average brightness, and the maximum coverage brightness to obtain the initial brightness control parameters of the display panel.

[0006] Optionally, obtaining the brightness change rate of the display panel includes: obtaining the brightness similarity and the image similarity of the display panel; obtaining a mapping table, the mapping table including the mapping relationship between the brightness similarity, the image similarity and the brightness change rate of the display panel; and determining the corresponding brightness change rate based on the brightness similarity, the image similarity and the mapping table.

[0007] Optionally, determining the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate includes: determining the sum of the initial brightness control parameters and the brightness change rate as the target brightness control parameters of the display panel.

[0008] Optionally, determining the pulse width modulation parameters of the display panel based on the target brightness control parameters includes: obtaining a first compensation model, the first compensation model including a mapping relationship between the target brightness control parameters and the pulse width modulation parameters of the display panel, wherein the target brightness control parameters are positively correlated with the pulse width modulation parameters; and inputting the target brightness control parameters into the first compensation model to obtain the corresponding pulse width modulation parameters.

[0009] Optionally, determining the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters includes: determining the input grayscale value corresponding to each pixel according to the pulse width modulation parameters, wherein the input grayscale value is the grayscale value input to the pulse width modulation of the pixel; when the input grayscale value is less than a preset inflection point value, determining a first compensation value of the pixel according to a gamma adjustment ratio; when the input grayscale value is greater than or equal to the preset inflection point value, determining a preset output value corresponding to the input grayscale value, and determining the ratio of the preset output value to the input grayscale value as a second compensation value of the pixel.

[0010] Optionally, determining the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel includes: when the input grayscale value is less than the preset inflection point value, determining the product of the input grayscale value and the first compensation value as a first calculated compensation value, and determining the sum of the input grayscale value and the grayscale compensation value as the actual grayscale value of each pixel on the display panel in the next frame; when the input grayscale value is greater than or equal to the preset inflection point value, determining the product of the input grayscale value and the second compensation value as a second calculated compensation value, and determining the sum of the input grayscale value and the grayscale compensation value as the actual grayscale value of each pixel on the display panel in the next frame.

[0011] According to another aspect of this application, a device for adjusting the brightness of a display panel is provided, comprising: an acquisition unit, configured to acquire initial brightness control parameters and a brightness change rate of the display panel, wherein the initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel, wherein the brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel, and the image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel; a first determination unit, configured to determine a target brightness control parameter of the display panel based on the initial brightness control parameters and the brightness change rate; a second determination unit, configured to determine a pulse width modulation parameter of the display panel based on the target brightness control parameters, and determine a grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameter; and a third determination unit, configured to determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and determine the grayscale value of the pixel in the next frame as the actual grayscale value.

[0012] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform any of the aforementioned display panel brightness adjustment methods.

[0013] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a method for performing any of the aforementioned display panel brightness adjustment methods.

[0014] Applying the technical solution of this application, the above-mentioned method for adjusting the brightness of a display panel first obtains the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel. Based on the initial brightness control parameters and brightness change rate, the target brightness control parameters of the display panel are determined. Based on the target brightness control parameters, the pulse width modulation parameters of the display panel are determined, and the grayscale compensation values ​​of each pixel on the display panel are determined based on the pulse width modulation parameters. Based on the grayscale compensation values ​​of each pixel on the display panel, the actual grayscale values ​​of each pixel on the display panel in the next frame are determined, and the grayscale values ​​of the pixels in the next frame are determined as the actual grayscale values. This method determines different brightness change rates through the current brightness distribution of the display panel, adaptively adjusts the backlight intensity in real time, and compensates for the grayscale values ​​of the pixels in the next frame while the backlight decreases. This saves computational space, and even when the backlight decreases, the grayscale change remains continuous, ensuring image contrast. Furthermore, it calculates the overall data compensation gain and performs pixel-level compensation on the image to prevent color shift. This ensures accurate color saturation and hue, as well as smooth brightness changes when frequently switching between screens. It addresses the issues of existing displays where color tones deviate when brightness decreases and where screen brightness fluctuates frequently during image transitions. Attached Figure Description

[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing a method for adjusting the brightness of a display panel, according to an embodiment of this application, is shown.

[0017] Figure 2 A schematic flowchart of a method for adjusting the brightness of a display panel according to an embodiment of this application is shown;

[0018] Figure 3 A schematic flowchart of another method for adjusting the brightness of a display panel according to an embodiment of this application is shown;

[0019] Figure 4 A structural block diagram of a display panel brightness adjustment device provided according to an embodiment of this application is shown.

[0020] The above figures include the following reference numerals:

[0021] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation

[0022] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings 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 for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] As introduced in the background section, with the widespread adoption of mobile terminals and large-size display devices, display power consumption has become a key bottleneck affecting device battery life and heat dissipation design. Compared to the self-emissive nature of OLEDs, LCD displays rely on independent backlight modules to provide a light source. Backlight brightness is controlled by PWM (Pulse Width Modulation), and backlight power consumption typically accounts for 60% to 80% of the total display power consumption. In the traditional CABC (Content Adaptive Backlight Control) solution, image histograms are typically analyzed, energy-saving levels are preset, and a fixed gamma segmentation table is used to increase pixel grayscale brightness and decrease LCD backlight brightness, thereby reducing power consumption without changing the image display effect. However, in practical applications, it has been found that when the backlight brightness is dimmed, grayscale fragmentation easily occurs, and the color saturation and hue of the image deviate from the original content. Furthermore, because it dynamically adjusts according to the screen content, it cannot accurately compensate for real-time changes in video content when switching between different applications and screens, leading to frequent changes in screen brightness and affecting the user experience.

[0026] To address the issues that existing display devices experience color deviations when brightness decreases and frequent brightness changes when switching screen images, embodiments of this application provide a method for adjusting display panel brightness, a device for adjusting display panel brightness, a computer-readable storage medium, and an electronic device.

[0027] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0028] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of adjusting the brightness of a display panel according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0029] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the brightness adjustment method of the display panel in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-described networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-described networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0030] This embodiment provides a method for adjusting the brightness of a display panel running on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0031] Figure 2 This is a flowchart of a method for adjusting the brightness of a display panel according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:

[0032] Step S201: Obtain the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel.

[0033] Specifically, both brightness similarity and image similarity are obtained statistically based on the histograms of the current frame and the previous frame. Traditional solutions use a fixed rate of change, which cannot distinguish between static and dynamic scenes, resulting in sluggish backlight adjustment in static scenes and frequent jumps in dynamic scenes. The above steps jointly determine the scene switching mode through dual similarity indices and dynamically adjust the rate of brightness change. In static scenes, it slowly approaches the target value to avoid flickering; in abrupt transitions, it responds quickly to prevent brightness lag. This adaptive rate mechanism matches the backlight response to the characteristics of human visual perception, significantly reducing visual fatigue.

[0034] Step S202: Determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate.

[0035] Specifically, the target brightness control parameters for the display panel are determined based on the initial brightness control parameters and the brightness change rate. This means that the system uses the currently obtained initial brightness control parameters as a basis, combined with the brightness change rate, to calculate the target brightness control parameters to be used in the next moment through mathematical superposition. This process does not involve re-analysis of image content or recognition of scene type; it only relies on the direct calculation of two input quantities: the former is the brightness control reference value calculated in the current frame, and the latter is the fixed change amplitude corresponding to the scene switching mode. The sum of the two forms a continuous and predictable brightness control output, thereby ensuring that the brightness adjustment process achieves linear evolution of parameters without relying on external feedback or complex calculations.

[0036] Step S203: Determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters.

[0037] Specifically, the pulse width modulation parameters of the display panel are first determined based on the target brightness control parameters. This process directly maps the brightness control parameters to the duty cycle value of the pulse width modulation, thereby achieving precise control of the backlight intensity. Subsequently, based on the determined pulse width modulation parameters, the grayscale compensation value of each pixel on the display panel is further calculated to ensure that the pixel output grayscale can be adjusted synchronously when the backlight brightness changes, so as to maintain the consistency of the image visual performance.

[0038] Step S204: Determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and set the grayscale value of the pixel in the next frame as the actual grayscale value.

[0039] Specifically, the actual grayscale value of each pixel on the display panel in the next frame is determined based on the grayscale compensation value of each pixel on the display panel. This grayscale value of the next frame's pixels is then used as the actual grayscale value. In other words, the original grayscale data of each pixel in the next frame image is corrected using the calculated grayscale compensation value, ultimately yielding the compensated and adjusted pixel grayscale output value. This value directly serves as the driving basis for the display content of the next frame, ensuring that the brightness response of each pixel is consistent with the compensation model. Traditional solutions use global gain compensation, leading to halos at high-contrast edges or grayscale loss in dark areas. The above steps achieve local grayscale adaptive enhancement. Combined with the coordinated control of PWM and output data, the output of each pixel conforms to the non-linear characteristics of human eye brightness perception, effectively suppressing the "grayscale breakage" phenomenon.

[0040] The above-described method for adjusting the brightness of a display panel in this application first obtains the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, while the brightness change rate is related to the brightness similarity and image similarity of the display panel. Then, based on the initial brightness control parameters and brightness change rate, the target brightness control parameters of the display panel are determined. Next, the pulse width modulation parameters of the display panel are determined based on the target brightness control parameters, and the grayscale compensation values ​​of each pixel on the display panel are determined based on the pulse width modulation parameters. Finally, the actual grayscale values ​​of each pixel on the display panel in the next frame are determined based on the grayscale compensation values ​​of each pixel on the display panel, and the grayscale values ​​of the pixels in the next frame are defined as the actual grayscale values. This method determines different brightness change rates based on the current brightness distribution of the display panel, adaptively adjusts the backlight intensity in real time, and compensates for the grayscale values ​​of the pixels in the next frame while reducing the backlight. This saves computational space, ensures continuous grayscale changes even when the backlight is reduced, and maintains image contrast. Furthermore, it calculates the overall data compensation gain and performs pixel-level compensation on the image to prevent color shift. This ensures accurate color saturation and hue, as well as smooth brightness changes when frequently switching between screens. It addresses the issues of existing displays where color tones deviate when brightness decreases and where screen brightness fluctuates frequently during image transitions.

[0041] In some embodiments, obtaining the initial brightness control parameters of the display panel includes the following steps:

[0042] Step S20111: Obtain the maximum brightness, average brightness and maximum coverage brightness of the display panel in the current frame. The maximum brightness is the maximum grayscale value of all pixels on the display panel, the average brightness is the average grayscale value of all pixels on the display panel, and the maximum coverage brightness is the maximum grayscale value among a preset number of pixels on the display panel.

[0043] Step S20112: Perform a weighted average calculation on the maximum brightness, the average brightness, and the maximum coverage brightness to obtain the initial brightness control parameters of the display panel.

[0044] The maximum brightness, average brightness, and maximum coverage brightness are all obtained based on the brightness distribution histogram. Maximum brightness is the highest grayscale value among all pixels on the display panel, and average brightness is the average grayscale value of all pixels on the display panel. Maximum coverage brightness is the highest grayscale value of all pixels covered within the pixel coverage area. For example, if the pixel coverage area is set to 80%, meaning 80% of pixels have similar grayscale values, then the maximum coverage brightness is the grayscale value of the pixel with the highest grayscale value within that 80% coverage area. If the grayscale value of the pixel with the highest grayscale value within that 80% coverage area is 100, then the maximum coverage brightness is 100. The pixel coverage area setting can be adjusted according to actual conditions. Furthermore, the weights of maximum brightness, average brightness, and maximum coverage brightness are not limited here; the specific weight values ​​need to be determined based on the actual application scenario.

[0045] In this embodiment, the maximum brightness, average brightness, and maximum coverage brightness ratio can be flexibly configured according to the actual application scenario. Obtaining the maximum brightness, average brightness, and maximum coverage brightness of the display panel in the current frame aims to comprehensively depict the brightness distribution characteristics of the displayed content: maximum brightness reflects the extreme value of the brightest pixel in the image, used to identify highlight areas (such as local bright spots like the sun or light bulbs in the image), avoiding excessive backlight attenuation that leads to detail loss; average brightness represents the overall grayscale level of the entire screen's pixels, reflecting the overall brightness trend of the image, such as the basic brightness benchmark in a completely black or completely white scene; maximum coverage brightness captures the distribution of locally dominant bright areas by selecting the highest grayscale value among a preset number of pixels (such as the central area of ​​the screen or 80% of the pixel coverage area). Together, these three factors constitute a multi-dimensional statistical representation of the brightness structure of the image. By performing a weighted average calculation on these three independent and complementary brightness statistics, a structured and adjustable initial brightness control parameter is formed. This allows backlight adjustment to no longer rely on fuzzy global averages or empirical thresholds, but to accurately respond to the synergistic effect of extreme values, overall trends, and local dominant bright areas in the image. As a result, a smooth and adaptive transition of backlight brightness is achieved when switching scenes (such as switching from a dark scene to a bright window scene), effectively avoiding sudden changes in brightness, color distortion, and grayscale banding, and significantly improving the accuracy and visual consistency of dynamic adjustment.

[0046] In some embodiments, obtaining the brightness change rate of the display panel includes the following steps:

[0047] Step S20121: Obtain the brightness similarity and image similarity of the display panel.

[0048] Step S20122: Obtain a mapping relationship table, which includes the mapping relationship between the brightness similarity, the image similarity, and the brightness change rate of the display panel.

[0049] Step S20123: Determine the corresponding brightness change rate based on the brightness similarity, the image similarity, and the mapping table.

[0050] Specifically, by combining the histograms of the current frame and the previous frame, the similarity between the two frames is calculated, including brightness similarity and overall image similarity. Based on these similarities, the scene switching mode of the display panel (e.g., fast switching or slow switching) can be determined. Different scene switching modes correspond to different brightness change rates.

[0051] In this embodiment, the current scene switching mode can be automatically detected, and the scene switching rate can be adapted to ensure smooth brightness changes. Obtaining the brightness similarity and image similarity of the display panel refers to calculating the Euclidean distance or correlation coefficient between the current frame and the previous frame in the overall brightness distribution (brightness similarity), and quantifying the drastic degree of scene change through the matching degree of visual content such as pixel-level structure, edges, and motion vectors (image similarity). For example, when the scene abruptly changes from a dark cinema scene to a bright outdoor sunlight scene, the brightness similarity is extremely low, and the image similarity also decreases significantly, indicating a drastic scene switch. Obtaining the mapping table refers to a three-dimensional lookup table established in advance based on a large amount of real display scene data through experimental calibration. Its horizontal and vertical axes represent the discrete intervals of brightness similarity and image similarity, and the corresponding values ​​are the optimized brightness change rate. For example, when the brightness similarity is <0.3 and the image similarity is <0.4... The mapping table output rate is 0.5 nits / frame to achieve a slow transition and avoid brightness jumps perceived by the human eye. The brightness change rate is determined based on the relationship between the two and the mapping table, which transforms the abstract "related" relationship into a reproducible, non-real-time deterministic output, rather than relying on dynamic formulas or threshold judgments. This ensures that a consistent adjustment rhythm is always used under the same visual conditions, and even when faced with complex dynamic content such as fast transitions or flashing advertisements, the output response can be stably output according to preset logic. This process upgrades brightness adjustment from a passive response to an active prediction. Combining environmental perception and content semantics, it achieves precise, smooth, and configurable control of the brightness change rate, fundamentally solving the problems of brightness abrupt changes, grayscale banding, and color drift caused by scene switching, and significantly improving display consistency and visual comfort.

[0052] In some embodiments, determining the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate includes: determining the sum of the initial brightness control parameters and the brightness change rate as the target brightness control parameters of the display panel.

[0053] In this embodiment, the sum of the initial brightness control parameter and the brightness change rate is determined as the target brightness control parameter of the display panel. This means that the reference brightness value (i.e., the initial brightness control parameter) reflecting the grayscale distribution of the current image is linearly superimposed with the dynamic adjustment amount (i.e., the brightness change rate) driven by the similarity between the brightness and content of the previous and next frames through arithmetic addition, thereby constructing a clear and calculable target value. The initial brightness control parameter is calculated from the grayscale values ​​of all pixels in the current frame, representing the reference backlight intensity required to match the image content. The brightness change rate is based on the brightness similarity between the current frame and the previous frame (e.g., the percentage difference in brightness). Image similarity (such as the percentage change in pixel grayscale) is dynamically generated to characterize the smooth transition speed that should be taken when switching scenes. For example, when switching from a dark scene to a bright scene, if the brightness change rate is +15% and the initial parameter is 60%, the target value is directly 75%, rather than indirectly calculated through fuzzy weighting or table lookup. This direct addition method eliminates the uncertainty of parameter fusion, ensuring that the backlight adjustment response is strictly synchronized with the changes in image content, avoiding brightness jumps or delays caused by the algorithm black box. Thus, without changing the original grayscale compensation logic, it achieves precise control of brightness transition and visual continuity, significantly improving the color consistency and grayscale smoothness of the image.

[0054] In some embodiments, determining the pulse width modulation parameters of the display panel based on the target brightness control parameters includes the following steps:

[0055] Step S20311: Obtain a first compensation model, wherein the first compensation model includes the mapping relationship between the target brightness control parameter and the pulse width modulation parameter of the display panel, wherein the target brightness control parameter and the pulse width modulation parameter are positively correlated.

[0056] Step S20312: Input the target brightness control parameters into the first compensation model to obtain the corresponding pulse width modulation parameters.

[0057] The first compensation model can be a target brightness control parameter-PWM value compensation model, which can preset the correspondence between 32 sets of backlight control parameters (target brightness control parameters) and PWM values. The adjustment ratios of the backlight control parameters and PWM values ​​increase sequentially. Based on the backlight control parameters of the current screen, the corresponding PWM value of the current screen can be obtained.

[0058] In this embodiment, the purpose of obtaining the first compensation model is to establish a stable and predictable nonlinear mapping relationship between the target brightness control parameters and the pulse width modulation (PWM) parameters of the display panel. The "target brightness control parameters" are the optimal brightness command dynamically calculated based on the current frame's pixel grayscale distribution and the brightness change rate of the preceding and following frames, reflecting the smooth brightness transition requirements perceived by the human eye. The "PWM parameters" are the actual electrical signal duty cycle driving the backlight module, directly determining the LED luminous intensity. This mapping relationship is obtained through pre-calibration experiments to ensure that when the target brightness control parameters increase, the PWM duty cycle increases linearly or nonlinearly. For example, when the target brightness control parameters increase... When the brightness increases from 50% to 70%, the PWM correspondingly increases from 60% to 85%, rather than simply scaling up proportionally. This avoids grayscale banding and color shift caused by backlight response lag or nonlinear characteristics. By directly inputting the target brightness control parameters into this model, the system can accurately output PWM drive values ​​that match the dynamic characteristics of the displayed content without relying on empirical formulas or trial-and-error adjustments. This generates corresponding grayscale compensation values, ensuring that each pixel on the panel maintains grayscale continuity and color consistency during brightness adjustment. Ultimately, this achieves a fundamental leap from "coarse control" to "pixel-level collaborative compensation" in backlight adjustment, completely solving the problems of sudden brightness changes and color distortion during scene switching.

[0059] In some embodiments, determining the grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameters includes the following steps:

[0060] Step S20321: Determine the input grayscale value corresponding to each of the above pixels according to the above pulse width modulation parameters. The input grayscale value is the grayscale value input to the above pixel by the pulse width modulation.

[0061] Step S20322: When the input grayscale value is less than the preset inflection point value, determine the first compensation value of the pixel according to the gamma adjustment ratio.

[0062] Step S20323: When the input grayscale value is greater than or equal to the preset inflection point value, a preset output value corresponding to the input grayscale value is determined, and the ratio of the preset output value to the input grayscale value is determined as the second compensation value of the pixel.

[0063] The gamma adjustment ratio is represented by the gamma2.2 curve.

[0064] In this embodiment, determining the input grayscale value corresponding to each pixel based on the pulse width modulation parameters refers to acquiring the original grayscale data input to the PWM modulation module in the backlight driving circuit. This value represents the pixel grayscale input of the display panel before compensation and serves as the benchmark for subsequent compensation calculations. When the input grayscale value is less than a preset inflection point value (e.g., set to 64 / 255, corresponding to the boundary point of the low brightness range), the first compensation value is calculated using a gamma adjustment ratio (e.g., the gain coefficient of the gamma 2.2 curve). The purpose is to perform non-linear gain compensation on the pixel data in low grayscale areas (e.g., dark details) when the backlight brightness decreases, ensuring that the brightness gradient perceived by the human eye remains consistent with the original gamma curve, and avoiding graying of dark areas and loss of detail due to backlight dimming. For example, when the input grayscale is 16, the gamma adjustment ratio amplifies its output response to approximately 28 to maintain the original visual contrast. When the input grayscale value is greater than or equal to the inflection point value, a search is performed. The input grayscale value is compared with the pre-stored corresponding output value (such as the calibrated brightness response value obtained from a lookup table), and the ratio of the output value to the input grayscale value is calculated as the second compensation value. This method introduces non-linear correction based on actual output characteristics in high grayscale areas (such as bright details), so that the bright areas can still maintain the original contrast and color saturation when the backlight is reduced, avoiding the screen from turning white or the dynamic range being compressed. For example, when the input grayscale is 200, its preset output value is 220, then the compensation ratio is 1.1, thereby increasing the output to offset the effect of backlight attenuation. By implementing a differentiated compensation strategy at the grayscale boundary, the low grayscale area relies on the consistency of the gamma curve to maintain the detail of the dark area, and the high grayscale area relies on the dynamic calibration of the output ratio to maintain the brightness contrast. Thus, without modifying the inherent gamma curve of the display panel, the grayscale continuity and color consistency from the dark to the bright areas are optimized in a coordinated manner during the dynamic adjustment of the backlight, which significantly alleviates the problem of brightness abrupt changes and visual discontinuity when switching scenes.

[0065] In some embodiments, determining the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel includes the following steps:

[0066] Step S2041: When the input grayscale value is less than the preset inflection point value, the product of the input grayscale value and the first compensation value is determined as the first calculated compensation value, and the sum of the input grayscale value and the grayscale compensation value is determined as the actual grayscale value of each pixel on the display panel in the next frame.

[0067] Step S2042: When the input grayscale value is greater than or equal to the preset inflection point value, the product of the input grayscale value and the second compensation value is determined as the second calculated compensation value, and the sum of the input grayscale value and the grayscale compensation value is determined as the actual grayscale value of each pixel on the display panel in the next frame.

[0068] In this embodiment, the actual grayscale value of the pixel changes synchronously and precisely with the backlight brightness (i.e., PWM). The data before the set inflection point ensures that the display effect is maintained while reducing the backlight brightness, and does not affect the gamma curve, ensuring that the color saturation and hue of the image are consistent with the original content. The data after the set inflection point is stored in the mapping relationship, saving computing space, reducing the backlight brightness while ensuring continuous grayscale change, and does not affect the image contrast.

[0069] The above embodiment determines the corresponding output grayscale value based on the pulse width modulation parameters. This refers to the standard grayscale output corresponding to the duty cycle of the PWM signal generated by the backlight driving circuit according to the target brightness control parameters. This value represents the theoretical brightness level that the LCD panel should present under uncompensated conditions. For example, when the PWM duty cycle is 30%, the output grayscale value is 80 (assuming an 8-bit grayscale range of 0–255), which serves as a reference for subsequent compensation calculations. When the input grayscale value is less than a preset inflection point value (e.g., set to 64), the output grayscale value is multiplied by the first compensation value to generate a grayscale compensation value. The purpose is to implement nonlinear gain amplification for low-brightness areas. Since the human eye is more sensitive to brightness changes in dark fields, multiplication can ensure that the compensation amount adaptively scales with the output grayscale, avoiding the loss of dark details or grayscale breaks caused by traditional additive compensation. For example, when the output grayscale is 20 and the first compensation value is 1.2, the compensation value is 24, making the original grayscale value, which might have been compressed to the 10–15 range, more effective. The perceived grayscale is brought back to a reasonable range. When the input grayscale value is greater than or equal to the inflection point value, the compensation value is determined by multiplying the output grayscale value and the second compensation value. The second compensation value is a preset constant (such as 1.05). Its design is based on the stability requirements of the gamma curve in the high grayscale area. By fine-tuning with a fixed ratio instead of dynamic calculation, it not only preserves the contrast and color consistency of the bright area, but also greatly reduces the real-time computing burden of the processor and avoids the introduction of latency or color shift due to complex algorithms. Finally, regardless of whether it is in a low grayscale or high grayscale area, the actual grayscale value of the pixel in the next frame is directly generated by adding the output grayscale value to the corresponding grayscale compensation value. This accumulation mechanism realizes the closed-loop output of the compensation calculation, ensuring that each pixel is still accurately mapped to the target brightness level after the backlight is dynamically adjusted. This allows for seamless connection of the gamma curve in the entire grayscale range, suppression of brightness abrupt changes, elimination of color shift and grayscale discontinuity, and significant improvement of visual continuity and color fidelity under dynamic scene switching.

[0070] In some embodiments, a PWM value-output data dimension compensation model can be established, meaning that the corresponding input and output grayscale values ​​can be determined based on the PWM value. When the PWM value is adjusted, the output grayscale must also be adjusted accordingly. Additionally, a preset inflection point value can be set based on 32 pre-set backlight control parameters (target brightness control parameters) according to the actual application. When the input grayscale value is less than the preset inflection point value, the output data gain (i.e., the first compensation value) can be calculated based on the backlight brightness adjustment ratio. When the input grayscale value is greater than or equal to the preset inflection point value, the output grayscale value can be flexibly set according to the actual application scenario, and the output grayscale value is stored as a mapping table, corresponding one-to-one with the input grayscale value.

[0071] The specific formula for calculating the grayscale compensation value is as follows: ,in, Here, gain is the first compensation value, pixeldata is the input grayscale value, knee is the preset inflection point value, and curve is the grayscale compensation value. out The preset output value is 'others', which indicates the case where the input grayscale value is greater than or equal to the preset inflection point value.

[0072] In addition, the specific formula for calculating the actual grayscale value of a pixel is as follows: , data out The actual grayscale value of the pixel in the next frame, data in For input grayscale values, gain final This is the grayscale compensation value.

[0073] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the display panel brightness adjustment method of this application will be described in detail below with reference to specific embodiments.

[0074] This embodiment relates to a specific method for adjusting the brightness of a display panel, such as... Figure 3 As shown, it includes the following steps:

[0075] Step 1: Calculate the screen brightness. Based on the current displayed content, generate a relevant brightness distribution histogram to obtain the maximum brightness, average brightness, and maximum coverage brightness. Assign different weights to the three based on the actual application scenario to obtain the initial brightness control parameters.

[0076] Step 2: Scene transition detection. By combining the histograms of the current frame and the previous frame, the image similarity and brightness similarity between the current frame and the previous frame are calculated. Automatic scene transition detection is then performed based on the brightness similarity and image similarity, combined with preset scene transition mode parameters.

[0077] Step 3: Adjust the backlight parameters. Different scene switching modes correspond to different brightness change rates. After determining the scene switching mode, obtain the brightness change rate Δbin for scene switching under different modes, and combine it with the initial brightness control parameter bin. target The target brightness control parameters bin of the current image are obtained. cur bin cur =bin target +Δbin.

[0078] Step four: Determine the backlight brightness and fit the compensation curve to establish a multi-dimensional piecewise compensation model. The specific steps are as follows:

[0079] 1. Establish the first compensation model (i.e., the target brightness control parameter-PWM value compensation model), which can preset 32 ​​sets of correspondence between target brightness control parameters and PWM values. The adjustment ratios of target brightness control parameters and PWM values ​​increase sequentially. Based on the target brightness control parameters of the current image, the corresponding PWM value of the current image can be obtained.

[0080] 2. Establish a PWM value-output grayscale dimension compensation model. When the PWM value is adjusted, the output grayscale should also be adjusted accordingly. Based on the actual application, set the preset inflection point value with reference to the preset 32 ​​sets of target brightness control parameters.

[0081] 3. When the input grayscale value is less than the preset inflection point value, the grayscale compensation value of each of the above pixels can be calculated according to the backlight brightness adjustment ratio (gamma2.2 curve).

[0082] 4. When the input grayscale value is greater than or equal to the preset inflection point value, the output grayscale value can be flexibly set according to the actual application scenario. The output grayscale value is stored as a mapping relationship, corresponding one-to-one with the input grayscale value.

[0083] Step 5: Calculate the grayscale compensation value based on the compensation curve. Perform pixel compensation, where, , Here, gain is the first compensation value, pixeldata is the input grayscale value, knee is the preset inflection point value, and curve is the grayscale compensation value. out The preset output value is 'others', which indicates the case where the input grayscale value is greater than or equal to the preset inflection point value.

[0084] Step 6, actual grayscale value of the pixel (data) out Simultaneously, the backlight brightness value is modified for backlight control, among which... , data out The actual grayscale value of the pixel in the next frame, data in For input grayscale values, gain final This is the grayscale compensation value.

[0085] This application also provides a display panel brightness adjustment device. It should be noted that the display panel brightness adjustment device of this application embodiment can be used to execute the display panel brightness adjustment method provided in this application embodiment. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0086] The following describes the display panel brightness adjustment device provided in the embodiments of this application.

[0087] Figure 4 A schematic diagram of a display panel brightness adjustment device according to an embodiment of this application. (See diagram below.) Figure 4 As shown, the device includes an acquisition unit 10, a first determination unit 20, a second determination unit 30, and a third determination unit 40. The acquisition unit 10 is used to acquire the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel, and the image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel. The determining unit 20 is used to determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate; the second determining unit 30 is used to determine the pulse width modulation parameters of the display panel based on the target brightness control parameters, and to determine the grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameters; the third determining unit 40 is used to determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and to determine the grayscale value of the pixel in the next frame as the actual grayscale value.

[0088] The aforementioned display panel brightness adjustment device of this application includes an acquisition unit, a first determination unit, a second determination unit, and a third determination unit. The acquisition unit is used to acquire the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel. The first determination unit is used to determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate. The second determination unit is used to determine the pulse width modulation parameters of the display panel based on the target brightness control parameters, and to determine the grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameters. The third determination unit is used to determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and to determine the grayscale value of the next frame pixel as the actual grayscale value. This device determines different brightness change rates through the current brightness distribution of the display panel, adaptively adjusts the backlight intensity in real time, and compensates for the grayscale value of the next frame pixel while the backlight decreases. This saves computational space, and even when the backlight decreases, the grayscale change remains continuous, while ensuring image contrast. Furthermore, it calculates overall data compensation gain and performs pixel-level compensation on the image to prevent color shifts. This ensures accurate color saturation and hue, as well as smooth brightness changes when the screen frequently switches between images. It addresses the issues of existing displays where color deviations occur when brightness decreases and where screen brightness fluctuates frequently during image transitions.

[0089] In some embodiments, the acquisition unit includes a first acquisition module and a calculation module. The first acquisition module is used to acquire the maximum brightness, average brightness, and maximum coverage brightness of the display panel in the current frame. The maximum brightness is the maximum grayscale value of all pixels on the display panel, the average brightness is the average grayscale value of all pixels on the display panel, and the maximum coverage brightness is the maximum grayscale value among a preset number of pixels on the display panel. The calculation module is used to perform a weighted average calculation on the maximum brightness, the average brightness, and the maximum coverage brightness to obtain the initial brightness control parameters of the display panel. By performing a weighted average calculation on these three independent and complementary brightness statistics, a structured and adjustable initial brightness control parameter is formed, so that the backlight adjustment no longer relies on a fuzzy global average or empirical threshold, but accurately responds to the synergistic effect of extreme values, overall trends, and local dominant bright areas in the image, thereby achieving a smooth and adaptive transition of backlight brightness when switching scenes (such as switching from a dark scene to a bright window scene).

[0090] In some embodiments, the acquisition unit includes a second acquisition module, a third acquisition module, and a first determination module. The second acquisition module is used to acquire the brightness similarity and the image similarity of the display panel. The third acquisition module is used to acquire a mapping relationship table, which includes the mapping relationship between the brightness similarity, the image similarity, and the brightness change rate of the display panel. The first determination module is used to determine the corresponding brightness change rate based on the brightness similarity, the image similarity, and the mapping relationship table. This process upgrades brightness adjustment from passive response to active prediction. By combining environmental perception and content semantics, it achieves precise, smooth, and configurable control of the brightness change rate, fundamentally solving the problems of brightness abrupt changes, grayscale banding, and color drift caused by scene switching, and significantly improving display consistency and visual comfort.

[0091] In some embodiments, the first determining unit includes a determining subunit, used to determine the sum of the initial brightness control parameters and the brightness change rate as the target brightness control parameters of the display panel. This direct addition method eliminates the uncertainty of parameter fusion, ensures that the backlight adjustment response is strictly synchronized with the changes in screen content, avoids brightness jumps or delays caused by the algorithm black box, and thus achieves precise controllability and visual continuity of brightness transition without changing the original grayscale compensation logic, significantly improving the color consistency and grayscale smoothness of the screen.

[0092] In some embodiments, the second determining unit includes a fourth acquisition module and a first processing module. The fourth acquisition module is used to acquire a first compensation model, which includes a mapping relationship between the target brightness control parameters and the pulse width modulation parameters of the display panel, wherein the target brightness control parameters and the pulse width modulation parameters are positively correlated. The first processing module is used to input the target brightness control parameters into the first compensation model to obtain the corresponding pulse width modulation parameters. By directly inputting the target brightness control parameters into this model, the system can accurately output PWM drive values ​​that conform to the dynamic characteristics of the displayed content without relying on empirical formulas or trial-and-error adjustments, thereby generating corresponding grayscale compensation values, so that each pixel of the panel maintains grayscale continuity and color consistency during brightness adjustment.

[0093] In some embodiments, the second determining unit includes a first determining module, a second determining module, and a third determining module. The first determining module is used to determine the input grayscale value corresponding to each of the aforementioned pixels based on the aforementioned pulse width modulation parameters. The input grayscale value is the grayscale value input to the pulse width modulation of the aforementioned pixels. The second determining module is used to determine a first compensation value for the aforementioned pixels based on a gamma adjustment ratio when the aforementioned input grayscale value is less than a preset inflection point value. The third determining module is used to determine a preset output value corresponding to the aforementioned input grayscale value when the aforementioned input grayscale value is greater than or equal to the aforementioned preset inflection point value, and to determine the ratio of the aforementioned preset output value to the aforementioned input grayscale value as the second compensation value for the aforementioned pixels. By implementing a differentiated compensation strategy at the grayscale boundary, the low grayscale area relies on the consistency of the gamma curve to maintain the detail of the dark areas, and the high grayscale area relies on the dynamic calibration of the output ratio to maintain the brightness contrast. Thus, without modifying the inherent gamma curve of the display panel, the grayscale continuity and color consistency from the dark areas to the bright areas are synergistically optimized during the backlight dynamic adjustment process.

[0094] In some embodiments, the third determining unit includes a second determining module, a third determining module, and a fourth determining module. The second determining module is used by the third determining module to determine the product of the input grayscale value and the first compensation value as a first calculated compensation value when the input grayscale value is less than the preset inflection point value, and to determine the sum of the input grayscale value and the grayscale compensation value as the actual grayscale value of each pixel on the display panel in the next frame. The fourth determining module is used to determine the product of the input grayscale value and the second compensation value as a second calculated compensation value when the input grayscale value is greater than or equal to the preset inflection point value, and to determine the sum of the input grayscale value and the grayscale compensation value as the actual grayscale value of each pixel on the display panel in the next frame. This accumulation mechanism realizes the closed-loop output of the compensation operation, ensuring that each pixel is still accurately mapped to the target brightness level after the backlight is dynamically adjusted, thereby seamlessly connecting the gamma curve across the entire grayscale range, suppressing brightness abrupt changes, eliminating color shift and grayscale banding, and significantly improving the visual continuity and color fidelity of the image under dynamic scene switching.

[0095] The aforementioned display panel brightness adjustment device includes a processor and a memory. The aforementioned acquisition units, etc., are all stored as program units in the memory, and the processor executes these program units stored in the memory to achieve the corresponding functions. All of the aforementioned modules are located in the same processor; alternatively, the aforementioned modules may be located in different processors in any combination.

[0096] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can address existing display devices' issues such as color distortion when brightness decreases and frequent brightness changes during screen image transitions.

[0097] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0098] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the method for adjusting the brightness of the display panel.

[0099] Specifically, the methods for adjusting the brightness of the display panel include:

[0100] Step S201: Obtain the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel.

[0101] Specifically, both brightness similarity and image similarity are obtained statistically based on the histograms of the current frame and the previous frame. Traditional solutions use a fixed rate of change, which cannot distinguish between static and dynamic scenes, resulting in sluggish backlight adjustment in static scenes and frequent jumps in dynamic scenes. The above steps jointly determine the scene switching mode through dual similarity indices and dynamically adjust the rate of brightness change. In static scenes, it slowly approaches the target value to avoid flickering; in abrupt transitions, it responds quickly to prevent brightness lag. This adaptive rate mechanism matches the backlight response to the characteristics of human visual perception, significantly reducing visual fatigue.

[0102] Step S202: Determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate.

[0103] Specifically, the target brightness control parameters for the display panel are determined based on the initial brightness control parameters and the brightness change rate. This means that the system uses the currently obtained initial brightness control parameters as a basis, combined with the brightness change rate, to calculate the target brightness control parameters to be used in the next moment through mathematical superposition. This process does not involve re-analysis of image content or recognition of scene type; it only relies on the direct calculation of two input quantities: the former is the brightness control reference value calculated in the current frame, and the latter is the fixed change amplitude corresponding to the scene switching mode. The sum of the two forms a continuous and predictable brightness control output, thereby ensuring that the brightness adjustment process achieves linear evolution of parameters without relying on external feedback or complex calculations.

[0104] Step S203: Determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters.

[0105] Specifically, the pulse width modulation parameters of the display panel are first determined based on the target brightness control parameters. This process directly maps the brightness control parameters to the duty cycle value of the pulse width modulation, thereby achieving precise control of the backlight intensity. Subsequently, based on the determined pulse width modulation parameters, the grayscale compensation value of each pixel on the display panel is further calculated to ensure that the pixel output grayscale can be adjusted synchronously when the backlight brightness changes, so as to maintain the consistency of the image visual performance.

[0106] Step S204: Determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and set the grayscale value of the pixel in the next frame as the actual grayscale value.

[0107] Specifically, the actual grayscale value of each pixel on the display panel in the next frame is determined based on the grayscale compensation value of each pixel on the display panel. This grayscale value of the next frame's pixels is then used as the actual grayscale value. In other words, the original grayscale data of each pixel in the next frame image is corrected using the calculated grayscale compensation value, ultimately yielding the compensated and adjusted pixel grayscale output value. This value directly serves as the driving basis for the display content of the next frame, ensuring that the brightness response of each pixel is consistent with the compensation model. Traditional solutions use global gain compensation, leading to halos at high-contrast edges or grayscale loss in dark areas. The above steps achieve local grayscale adaptive enhancement. Combined with the coordinated control of PWM and output data, the output of each pixel conforms to the non-linear characteristics of human eye brightness perception, effectively suppressing the "grayscale breakage" phenomenon.

[0108] This invention provides a processor for running a program, wherein the program executes the method for adjusting the brightness of the display panel.

[0109] Specifically, the methods for adjusting the brightness of the display panel include:

[0110] Step S201: Obtain the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel.

[0111] Specifically, both brightness similarity and image similarity are obtained statistically based on the histograms of the current frame and the previous frame. Traditional solutions use a fixed rate of change, which cannot distinguish between static and dynamic scenes, resulting in sluggish backlight adjustment in static scenes and frequent jumps in dynamic scenes. The above steps jointly determine the scene switching mode through dual similarity indices and dynamically adjust the rate of brightness change. In static scenes, it slowly approaches the target value to avoid flickering; in abrupt transitions, it responds quickly to prevent brightness lag. This adaptive rate mechanism matches the backlight response to the characteristics of human visual perception, significantly reducing visual fatigue.

[0112] Step S202: Determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate.

[0113] Specifically, the target brightness control parameters for the display panel are determined based on the initial brightness control parameters and the brightness change rate. This means that the system uses the currently obtained initial brightness control parameters as a basis, combined with the brightness change rate, to calculate the target brightness control parameters to be used in the next moment through mathematical superposition. This process does not involve re-analysis of image content or recognition of scene type; it only relies on the direct calculation of two input quantities: the former is the brightness control reference value calculated in the current frame, and the latter is the fixed change amplitude corresponding to the scene switching mode. The sum of the two forms a continuous and predictable brightness control output, thereby ensuring that the brightness adjustment process achieves linear evolution of parameters without relying on external feedback or complex calculations.

[0114] Step S203: Determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters.

[0115] Specifically, the pulse width modulation parameters of the display panel are first determined based on the target brightness control parameters. This process directly maps the brightness control parameters to the duty cycle value of the pulse width modulation, thereby achieving precise control of the backlight intensity. Subsequently, based on the determined pulse width modulation parameters, the grayscale compensation value of each pixel on the display panel is further calculated to ensure that the pixel output grayscale can be adjusted synchronously when the backlight brightness changes, so as to maintain the consistency of the image visual performance.

[0116] Step S204: Determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and set the grayscale value of the pixel in the next frame as the actual grayscale value.

[0117] Specifically, the actual grayscale value of each pixel on the display panel in the next frame is determined based on the grayscale compensation value of each pixel on the display panel. This grayscale value of the next frame's pixels is then used as the actual grayscale value. In other words, the original grayscale data of each pixel in the next frame image is corrected using the calculated grayscale compensation value, ultimately yielding the compensated and adjusted pixel grayscale output value. This value directly serves as the driving basis for the display content of the next frame, ensuring that the brightness response of each pixel is consistent with the compensation model. Traditional solutions use global gain compensation, leading to halos at high-contrast edges or grayscale loss in dark areas. The above steps achieve local grayscale adaptive enhancement. Combined with the coordinated control of PWM and output data, the output of each pixel conforms to the non-linear characteristics of human eye brightness perception, effectively suppressing the "grayscale breakage" phenomenon.

[0118] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0119] Step S201: Obtain the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel.

[0120] Step S202: Determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate.

[0121] Step S203: Determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters.

[0122] Step S204: Determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and set the grayscale value of the pixel in the next frame as the actual grayscale value.

[0123] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0124] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0125] Step S201: Obtain the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel.

[0126] Step S202: Determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate.

[0127] Step S203: Determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters.

[0128] Step S204: Determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and set the grayscale value of the pixel in the next frame as the actual grayscale value.

[0129] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0130] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0131] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0132] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0133] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0134] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0135] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0136] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0137] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0138] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0139] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0140] 1) The above-mentioned method for adjusting the brightness of the display panel in this application first obtains the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel. Then, based on the initial brightness control parameters and brightness change rate, the target brightness control parameters of the display panel are determined. Next, the pulse width modulation parameters of the display panel are determined based on the target brightness control parameters, and the grayscale compensation values ​​of each pixel on the display panel are determined based on the pulse width modulation parameters. Finally, the actual grayscale values ​​of each pixel on the display panel in the next frame are determined based on the grayscale compensation values ​​of each pixel on the display panel, and the grayscale values ​​of the pixels in the next frame are determined as the actual grayscale values. This method determines different brightness change rates through the current brightness distribution of the display panel, adaptively adjusts the backlight intensity in real time, and compensates for the grayscale values ​​of the pixels in the next frame while the backlight decreases. This saves computational space, and even if the backlight decreases, the grayscale change remains continuous, ensuring image contrast. Furthermore, it calculates the overall data compensation gain and performs pixel-level compensation on the image to prevent color shift in the image. This ensures accurate color saturation and hue, as well as smooth brightness changes when frequently switching between screens. It addresses the issues of existing displays where color tones deviate when brightness decreases and where screen brightness fluctuates frequently during image transitions.

[0141] 2) The above-mentioned display panel brightness adjustment device of this application includes an acquisition unit, a first determination unit, a second determination unit, and a third determination unit. The acquisition unit is used to acquire the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame, and the brightness change rate is related to the brightness similarity and image similarity of the display panel. The first determination unit is used to determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate. The second determination unit is used to determine the pulse width modulation parameters of the display panel based on the target brightness control parameters, and to determine the grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameters. The third determination unit is used to determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and to determine the grayscale value of the next frame pixel as the actual grayscale value. This device determines different brightness change rates through the current brightness distribution of the display panel, adaptively adjusts the backlight intensity in real time, and compensates for the grayscale value of the next frame pixel while the backlight decreases. While saving computing space, even if the backlight decreases, the grayscale change remains continuous, and the image contrast is guaranteed. Furthermore, it calculates overall data compensation gain and performs pixel-level compensation on the image to prevent color shifts. This ensures accurate color saturation and hue, as well as smooth brightness changes when the screen frequently switches between images. It addresses the issues of existing displays where color deviations occur when brightness decreases and where screen brightness fluctuates frequently during image transitions.

[0142] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for adjusting the brightness of a display panel, characterized in that, include: The initial brightness control parameters and brightness change rate of the display panel are obtained. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel. The target brightness control parameters of the display panel are determined based on the initial brightness control parameters and the brightness change rate. The pulse width modulation parameters of the display panel are determined according to the target brightness control parameters, and the grayscale compensation value of each pixel on the display panel is determined according to the pulse width modulation parameters. The actual grayscale value of each pixel on the display panel in the next frame is determined based on the grayscale compensation value of each pixel on the display panel, and the grayscale value of the pixel in the next frame is determined as the actual grayscale value.

2. The method according to claim 1, characterized in that, Obtain the initial brightness control parameters of the display panel, including: Obtain the maximum brightness, average brightness, and maximum coverage brightness of the display panel in the current frame. The maximum brightness is the maximum grayscale value of all pixels on the display panel, the average brightness is the average grayscale value of all pixels on the display panel, and the maximum coverage brightness is the maximum grayscale value among a preset number of pixels on the display panel. The initial brightness control parameters of the display panel are obtained by performing a weighted average calculation on the maximum brightness, the average brightness, and the maximum coverage brightness.

3. The method according to claim 1, characterized in that, Obtain the brightness change rate of the display panel, including: Obtain the brightness similarity and the image similarity of the display panel; Obtain a mapping table, which includes the mapping relationship between the brightness similarity, the image similarity, and the brightness change rate of the display panel; The corresponding brightness change rate is determined based on the brightness similarity, the image similarity, and the mapping table.

4. The method according to claim 1, characterized in that, Determining the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate includes: The sum of the initial brightness control parameter and the brightness change rate is determined as the target brightness control parameter of the display panel.

5. The method according to claim 1, characterized in that, Determining the pulse width modulation parameters of the display panel based on the target brightness control parameters includes: Obtain a first compensation model, the first compensation model including the mapping relationship between the target brightness control parameter and the pulse width modulation parameter of the display panel, wherein the target brightness control parameter and the pulse width modulation parameter are positively correlated; The target brightness control parameters are input into the first compensation model to obtain the corresponding pulse width modulation parameters.

6. The method according to claim 1, characterized in that, Determining the grayscale compensation value of each pixel on the display panel based on the pulse width modulation parameters includes: The input grayscale value corresponding to each pixel is determined according to the pulse width modulation parameters, and the input grayscale value is the grayscale value input to the pulse width modulation of the pixel; If the input grayscale value is less than the preset inflection point value, the first compensation value of the pixel is determined according to the gamma adjustment ratio. If the input grayscale value is greater than or equal to the preset inflection point value, a preset output value corresponding to the input grayscale value is determined, and the ratio of the preset output value to the input grayscale value is determined as the second compensation value of the pixel.

7. The method according to claim 6, characterized in that, Determining the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel includes: When the input grayscale value is less than the preset inflection point value, the product of the input grayscale value and the first compensation value is determined as the first calculated compensation value, and the sum of the input grayscale value and the grayscale compensation value is determined as the actual grayscale value of each pixel on the display panel in the next frame. When the input grayscale value is greater than or equal to the preset inflection point value, the product of the input grayscale value and the second compensation value is determined as the second calculated compensation value, and the sum of the input grayscale value and the grayscale compensation value is determined as the actual grayscale value of each pixel on the display panel in the next frame.

8. A device for adjusting the brightness of a display panel, characterized in that, include: The acquisition unit is used to acquire the initial brightness control parameters and brightness change rate of the display panel. The initial brightness control parameters are related to the grayscale values ​​of all pixels on the display panel in the current frame. The brightness change rate is related to the brightness similarity and image similarity of the display panel. The brightness similarity is the similarity between the brightness of the current frame and the brightness of the previous frame of the display panel. The image similarity is the similarity between the image of the current frame and the image of the previous frame of the display panel. The first determining unit is used to determine the target brightness control parameters of the display panel based on the initial brightness control parameters and the brightness change rate; The second determining unit is used to determine the pulse width modulation parameters of the display panel according to the target brightness control parameters, and to determine the grayscale compensation value of each pixel on the display panel according to the pulse width modulation parameters. The third determining unit is used to determine the actual grayscale value of each pixel on the display panel in the next frame based on the grayscale compensation value of each pixel on the display panel, and to determine the grayscale value of the pixel in the next frame as the actual grayscale value.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the brightness adjustment method of the display panel according to any one of claims 1 to 7.

10. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a method for performing a brightness adjustment of a display panel as described in any one of claims 1 to 7.