Brightness adjustment method, related device and storage medium

By comparing regions one by one and updating the lookup table, the amount of calculation and delay of brightness adjustment are reduced, the resource occupation and delay problems of brightness adjustment in the prior art are solved, and more efficient brightness adjustment is achieved.

CN120673692APending Publication Date: 2025-09-19CHIPONE (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511066777.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The brightness adjustment method in the prior art has a large amount of calculation and a high display delay during the blanking time, which increases memory resource usage and hardware costs.

Method used

By comparing the target brightness values ​​of the current frame image with the previous frame image region by region, it is determined whether the content of the sub-region has switched. When the switch is detected, the brightness value in the lookup table is updated and the display brightness calculation value is calculated to adjust the actual brightness of the current frame image.

Benefits of technology

The calculation amount and display delay during the blanking time are reduced, and the memory resource usage and hardware cost are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120673692A_ABST
    Figure CN120673692A_ABST
Patent Text Reader

Abstract

The invention provides a brightness adjustment method, a related device and a storage medium. The method comprises the following steps: in a process of displaying a previous frame of image, calculating target brightness values of pixels in a plurality of sub-regions of a current frame of image; comparing the target brightness values of the pixels in the corresponding sub-regions of the current frame image and the previous frame image region by region, and judging whether the image content of each sub-region is switched or not; when it is detected that image content switching occurs in the corresponding sub-region, updating the target brightness value of the pixel in the corresponding sub-region of the previous frame of image stored in the first lookup table to the target brightness value of the pixel in the corresponding sub-region of the current frame of image; searching a first lookup table, and calculating a display brightness calculation value of the pixel in the corresponding sub-region of the current frame image according to the target brightness value of the pixel in the corresponding sub-region stored in the first lookup table, and adjusting the actual display brightness of the corresponding sub-region of the current frame image according to the display brightness calculation value in the subsequent process of displaying the current frame image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of display technology, and particularly relates to a brightness adjustment method, related devices, and storage media. Background Art

[0002] In the field of digital image processing, contrast enhancement is a commonly used technique for improving the visual effect and clarity of an image. By contrast enhancement, the details of an image can be made more prominent, and the readability and recognizability of the image can be improved. In related technologies, a frame of image can be divided into multiple sub-regions, and the target brightness values ​​of the pixels in the multiple sub-regions of a frame of image are obtained respectively by means of histogram statistics. The target brightness values ​​of the pixels in the multiple sub-regions of a frame of image are stored in a lookup table (LUT). In a display frame, the total display time of the display frame includes the blanking time, the display time and the pre-opening time. During the blanking time after the previous frame of image is displayed, it is determined whether the image content of the current frame of image switches compared with the previous frame of image, with one frame of image as a unit. If so, the display brightness calculation values ​​of the pixels in the multiple sub-regions of the current frame of image are calculated according to the preset rules during the blanking time. During the display of the current frame of image, the actual display brightness of the multiple sub-regions of the current frame of image is adjusted according to the display brightness calculation values ​​of the multiple sub-regions. Obviously, this brightness adjustment method only supports the processing logic of a single frame of image. During the blanking period, the target brightness values ​​for pixels in multiple sub-regions of the current frame in the lookup table are updated, and the calculated display brightness values ​​for pixels in multiple sub-regions of the current frame are calculated. This results in high computational complexity and high display latency. The data related to the calculated display brightness values ​​for pixels in multiple sub-regions of the current frame must be stored in memory simultaneously, increasing memory resource usage and hardware costs. Summary of the Invention

[0003] In view of the above problems, the present disclosure provides a brightness adjustment method, related devices and storage medium, aiming to reduce the amount of calculation and display delay during the blanking time, and reduce memory resource usage and hardware costs.

[0004] According to a first aspect of the present disclosure, there is provided a brightness adjustment method, comprising:

[0005] In the process of displaying the previous frame image, calculating the target brightness values ​​of pixels in multiple sub-regions of the current frame image;

[0006] By comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region, determining whether image content switching occurs in each sub-region;

[0007] When it is detected that the image content of the corresponding sub-region switches, the target brightness value of the pixel in the corresponding sub-region of the previous frame image stored in the first lookup table is updated to the target brightness value of the pixel in the corresponding sub-region of the current frame image;

[0008] Search the first lookup table and calculate the display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculation value during the subsequent display of the current frame image.

[0009] Optionally, the searching the first lookup table and calculating a display brightness calculation value of pixels in the corresponding sub-region of the current frame image according to the target brightness values ​​of the pixels in the corresponding sub-region stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-region of the current frame image according to the display brightness calculation value during the subsequent display of the current frame image, includes:

[0010] In the first working mode, for each sub-region, when it is detected that the image content of the corresponding sub-region of the current frame image switches, the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is updated to the brightness gain step size of the pixels in the corresponding sub-region of the current frame image;

[0011] In the first working mode, for each sub-region, when it is detected that no image content switching occurs in the corresponding sub-region of the current frame image, the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is kept unchanged;

[0012] In the first working mode, for each sub-area, the second lookup table is searched, and the display brightness calculation value of the pixel in the corresponding sub-area of ​​the previous frame image and the sum of the brightness gain step of the pixel in the corresponding sub-area currently stored in the second lookup table are used as the display brightness calculation value of the pixel in the corresponding sub-area of ​​the current frame image.

[0013] Optionally, in the first working mode, for each sub-region, when it is detected that image content switching occurs in the corresponding sub-region of the current frame image, updating the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table to the brightness gain step size of the pixels in the corresponding sub-region of the current frame image includes:

[0014] Calculating a brightness gain value of pixels in a corresponding subregion of the current frame image, where the brightness gain value is equal to a difference between a target brightness value of the pixels in the corresponding subregion of the current frame image and a calculated display brightness value of the pixels in the corresponding subregion of the previous frame image;

[0015] For each sub-region, calculating a brightness gain step length of pixels in the corresponding sub-region of the current frame image, wherein the brightness gain step length is equal to a quotient of a brightness gain value of pixels in the corresponding sub-region of the current frame image and a preset dispersion frame number;

[0016] The brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is updated to the brightness gain step size of the pixels in the corresponding sub-region of the current frame image.

[0017] Optionally, the searching the first lookup table and calculating a display brightness calculation value of pixels in the corresponding sub-region of the current frame image according to the target brightness values ​​of the pixels in the corresponding sub-region stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-region of the current frame image according to the display brightness calculation value during the subsequent display of the current frame image, includes:

[0018] In the second working mode, for each sub-region, the first lookup table is searched, and the target brightness value of the pixel in the corresponding sub-region of the current frame image is used as the display brightness calculation value of the pixel in the corresponding sub-region of the current frame image.

[0019] Optionally, when the brightness gain value of the pixel in the corresponding sub-region of the current frame image is positive, the display brightness calculation value of the pixel in the corresponding sub-region of the current frame image is less than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image;

[0020] When the brightness gain value of the pixel in the corresponding sub-region of the current frame image is negative, the display brightness calculation value of the pixel in the corresponding sub-region of the current frame image is greater than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image.

[0021] Optionally, in the first working mode, for each sub-region, when it is detected that no image content switching occurs between the j consecutive frame images after the current frame image and the sub-region corresponding to the current frame image, the calculated display brightness value of the pixels in the sub-region corresponding to the j-th frame image after the current frame image is equal to the sum of the calculated display brightness value of the pixels in the sub-region corresponding to the j-1-th frame image after the current frame image and the brightness gain step size of the pixels in the sub-region corresponding to the j-th frame image after the current frame image, until it is detected that the image content switching occurs between the j-th frame image after the current frame image and the sub-region corresponding to the current frame image, where j is an integer and is less than or equal to the preset number of dispersed frames;

[0022] In the first working mode, for each sub-area, when it is detected that no image content switching occurs between the consecutive t frame images after the current frame image and the corresponding sub-area of ​​the current frame image, the display brightness calculation value of the pixels in the corresponding sub-area of ​​the t-th frame image after the current frame image is equal to the target brightness value of the pixels in the corresponding sub-area of ​​the current frame image, until it is detected that the image content switching occurs between the t-th frame image after the current frame image and the corresponding sub-area of ​​the current frame image, where t is an integer and is greater than the preset number of dispersed frames.

[0023] Optionally, the comparing target brightness values ​​of pixels in corresponding subregions of the current frame image and the previous frame image region by region to determine whether image content switching occurs in each subregion includes:

[0024] For each sub-region, calculating a difference between target brightness values ​​of pixels in the corresponding sub-region of the current frame image and the previous frame image;

[0025] When the difference is less than a preset threshold, determining that no image content switching occurs in the sub-region corresponding to the current frame image;

[0026] When the difference is greater than or equal to the preset threshold, it is determined that image content switching occurs in the sub-region corresponding to the current frame image.

[0027] According to a second aspect of the present disclosure, there is provided a brightness adjustment device, comprising:

[0028] a target brightness value calculation unit, configured to calculate target brightness values ​​of pixels in a plurality of sub-regions of a current frame image during display of a previous frame image;

[0029] an image content switching determination unit, configured to determine whether image content switching occurs in each sub-region by comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region;

[0030] a first lookup table updating unit, configured to update the target brightness value of the pixel in the corresponding sub-region of the previous frame image stored in the first lookup table to the target brightness value of the pixel in the corresponding sub-region of the current frame image when detecting that image content switching occurs in the corresponding sub-region;

[0031] A display brightness calculated value calculation unit is used to search the first lookup table and calculate the display brightness calculated value of the pixels in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculated value during the subsequent display of the current frame image.

[0032] According to a third aspect of the present disclosure, there is provided a display device, including:

[0033] Display panel;

[0034] The brightness adjustment device as described above.

[0035] According to a fourth aspect of the present disclosure, a chip is provided, comprising:

[0036] The brightness adjustment device as described above implements the steps of the method described above.

[0037] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the above method when executed by the processor.

[0038] According to a sixth aspect of the present disclosure, a storage medium is provided, on which a computer program or instructions are stored. When the computer program or instructions are executed by a processor, the steps of the method described above are implemented.

[0039] The present disclosure brings the following beneficial effects:

[0040] The brightness adjustment method provided by the present disclosure calculates the target brightness values ​​of pixels in multiple sub-areas of the current frame image during the process of displaying the previous frame image, and judges whether the image content of each sub-area switches by comparing the target brightness values ​​of pixels in the corresponding sub-areas of the current frame image and the previous frame image region by region. When it is detected that the image content of the corresponding sub-area switches, the target brightness values ​​of the pixels in the corresponding sub-area of ​​the previous frame image stored in the first lookup table are updated to the target brightness values ​​of the pixels in the corresponding sub-area of ​​the current frame image, and the first lookup table is searched. The display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image is calculated according to the target brightness values ​​of the pixels in the corresponding sub-area stored in the first lookup table, so that the current frame image can be adjusted according to the display brightness calculation value in the subsequent display of the current frame image. The actual display brightness of the corresponding sub-region of the image. In this way, after the brightness adjustment operation is performed on an area of ​​the previous frame image during the display of the previous frame image, the target brightness value of the corresponding sub-region of the current frame image can be calculated. The traditional whole-frame comparison mechanism is replaced by a block-by-block comparison method to determine whether the image content of the corresponding sub-region of the current frame image and the previous frame image has switched. The display brightness calculation value of the pixels in the corresponding sub-region of the current frame image is calculated. This means that only the display brightness calculation value of the last sub-region of the current frame image needs to be calculated within the blanking time, reducing the calculation time within the blanking time. This completely changes the traditional solution that must wait for the end of the previous frame display before starting the serial mode of calculating the display brightness calculation value of the current frame within the blanking time, thereby reducing display delay. The lookup table update operation of the corresponding region is triggered only when a sub-region content switch is detected, reducing the amount of calculation.

[0041] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or understood by practicing the present disclosure. The objectives and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0042] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0044] Figure 1 A schematic diagram of the structure of a display device according to an embodiment of the present disclosure

[0045] Figure 2 A schematic diagram of a flow chart of a brightness adjustment method according to an embodiment of the present disclosure;

[0046] Figure 3 A schematic diagram of a process for calculating a display brightness value according to an embodiment of the present disclosure;

[0047] Figure 4 A schematic structural diagram of a brightness adjustment device according to an embodiment of the present disclosure;

[0048] Figure 5 The figure is a schematic structural diagram of an electronic device provided according to one embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] Various embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. In each of the drawings, identical elements are represented by identical or similar reference numerals. For clarity, the various parts in the drawings are not drawn to scale.

[0050] Figure 1 FIG. 1 is a schematic diagram showing the structure of a display device according to an embodiment of the present disclosure. Figure 1 As shown, the display device provided by the embodiment of the present disclosure includes: a display panel 110, a source driving circuit 120, a gate driving circuit 130, a timing control circuit 140, a brightness adjustment device 150 and a power chip 160. Exemplarily, the display device is an OLED display device.

[0051] In some embodiments, the display panel 110 includes a plurality of pixels Px arranged in an array. Each pixel Px is connected to a source driver circuit 120 via a data line and to a gate driver circuit 130 via a scan line. In some embodiments, a timing control circuit 140 is configured to provide timing control signals, gamma voltages, and input data to the source driver circuit 120, and to input timing control signals to the gate driver circuit 130. The source driver circuit 120 generates a plurality of grayscale voltages Vsrc based on the received timing control signals, gamma voltages, and input data, and transmits these grayscale voltages to each column of pixels Px via the data lines to drive the plurality of pixels Px in the display panel 110. The grayscale voltage received by each pixel Px corresponds to the grayscale to be displayed by that pixel. The gate driver circuit 130 generates a scan signal Scan based on the received timing control signal and provides the scan signal Scan to each row of pixels Px via the scan lines. A power supply chip 160 is connected to each pixel Px to provide a power supply voltage ELVDD to each pixel Px.

[0052] In some embodiments, the brightness adjustment device 150 is used to search the first lookup table according to the brightness adjustment method of the embodiment of the present disclosure during the display of the previous frame image, and calculate the display brightness calculation value of the pixel in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixel in the corresponding sub-area stored in the first lookup table, so as to generate a control signal Scontrol that is fed back to the timing control circuit 140 during the subsequent display of the current frame image, and then control the source drive circuit 120 and the gate drive circuit 130 to perform grayscale compensation on the pixel Px of the display panel 110, so as to adjust the actual display brightness of the pixel Px in the corresponding sub-area of ​​the current frame image on the display panel 110 according to the display brightness calculation value.

[0053] Figure 2 A flow chart of a brightness adjustment method according to an embodiment of the present disclosure is provided. The brightness adjustment method of the embodiment of the present disclosure can be performed by Figure 1 The brightness adjustment device 150 in the embodiment is executed as follows: Figure 2 As shown, the brightness adjustment method includes:

[0054] In step S210 , during the display of the previous frame image, target brightness values ​​of pixels in multiple sub-regions of the current frame image are calculated.

[0055] In some embodiments, during the process of displaying the previous frame image of a video stream, after performing a brightness adjustment operation on an area of ​​the previous frame image (i.e., adjusting the actual display brightness of the corresponding sub-area of ​​the previous frame image according to the display brightness calculation value of the pixels in the corresponding sub-area of ​​the previous frame image obtained by executing the brightness adjustment method of the embodiment of the present disclosure), the brightness adjustment method of the embodiment of the present disclosure can be executed to calculate the target brightness value target(i) of the pixels in the corresponding sub-area of ​​the current frame image (e.g., the i-th frame, i is a natural number), and then adjusting the actual display brightness of the corresponding sub-area of ​​the current frame image in the subsequent process of displaying the current frame image. Figure 1 and Figure 2 The brightness adjustment method according to the embodiment of the present disclosure is described in detail.

[0056] Specifically, in some embodiments, the current frame image of the video stream can be divided into M×N sub-regions (M and N are positive integers). Each sub-region includes a number of pixels. For example, the current frame image is divided into a 4×4 pixel block structure. Taking a 40×40 pixel grayscale image as an example, the image is divided into 100 sub-regions of 10 rows × 10 columns. In some embodiments, a histogram statistical operation is performed on each sub-region. By statistically analyzing the grayscale distribution characteristics of the pixels in the region, a continuous brightness mapping curve is generated in combination with an interpolation algorithm between sub-regions. This process specifically includes: extracting the grayscale spatial distribution characteristics (such as local contrast and brightness gradient) and grayscale statistical characteristics (such as mean and variance) of each sub-region, combining the initial pixel parameters (such as the original grayscale value) with the brightness mapping curve for weighted calculation, and finally obtaining the target brightness value of the pixels in the corresponding sub-region of the current frame. The target brightness value reflects the ideal display brightness of the corresponding region after global contrast enhancement and local detail optimization.

[0057] In step S220, target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image are compared region by region to determine whether image content switching occurs in each sub-region.

[0058] In some embodiments, the target brightness values ​​target(i-1) of the pixels in the corresponding sub-region of the previous frame image (e.g., the i-1th frame) are stored in a first lookup table. After the target brightness values ​​of the pixels in the corresponding sub-region of the current frame image are calculated, the first lookup table can be searched to determine whether image content switching has occurred in each sub-region by comparing the target brightness values ​​of the pixels in the corresponding sub-regions of the current frame image and the previous frame image. Specifically, for each sub-region, when it is detected that the difference between the target brightness values ​​of the pixels in the corresponding sub-region of the current frame image and the target brightness values ​​of the pixels in the corresponding sub-region of the previous frame image is greater than a preset threshold, it is determined that image content switching has occurred in the corresponding sub-region of the current frame image; when it is detected that the difference between the target brightness values ​​of the pixels in the corresponding sub-region of the current frame image and the target brightness values ​​of the pixels in the corresponding sub-region of the previous frame image is less than or equal to the preset threshold, it is determined that image content switching has not occurred in the corresponding sub-region of the current frame image. By independently determining the image content switching mechanism according to the sub-region during the display of the previous frame image, the global delay caused by the whole frame comparison in the traditional solution is avoided, and the brightness value adjustment operations of each sub-region are decoupled from each other. After the brightness adjustment operation is performed on the corresponding sub-region of the previous frame image during the display of the previous frame image, the display brightness calculation value of the corresponding sub-region of the current frame image can be calculated. This lays the foundation for parallel calculation of the display brightness calculation value of the sub-region of the current frame image and adjustment of the actual display brightness of the sub-region of the previous frame image during the display of the previous frame image.

[0059] In step S230, when it is detected that the image content of the corresponding sub-region switches, the target brightness value of the pixels in the corresponding sub-region of the previous frame image stored in the first lookup table is updated to the target brightness value of the pixels in the corresponding sub-region of the current frame image.

[0060] In some embodiments, when a content switch is detected for a subregion corresponding to the current frame image, the subregion is marked as having experienced content switch, and a data update operation is triggered for the corresponding storage unit in the first lookup table. Specifically, the target brightness value is dynamically updated by overwriting the target brightness value for the subregion corresponding to the current frame image into the corresponding storage address in the first lookup table. For subregions of the current frame image that have not undergone content switch, the original target brightness value in the first lookup table remains unchanged.

[0061] In step S240, the first lookup table is searched, and the display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image is calculated based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculation value during the subsequent display of the current frame image.

[0062] In some embodiments, the first lookup table can be searched in two operating modes. The display brightness calculated values ​​of the pixels in the corresponding sub-region of the current frame image are calculated based on the target brightness values ​​of the pixels in the corresponding sub-region stored in the first lookup table, so that the actual display brightness of the corresponding sub-region of the current frame image can be adjusted based on the display brightness calculated values ​​during the subsequent display of the current frame image. In the first operating mode, for each sub-region, when it is detected that the image content of the corresponding sub-region of the current frame image (e.g., the i-th frame) switches, the brightness gain value diff(i) of the pixels in the corresponding sub-region of the current frame image is dispersed into a preset number of dispersed frames, T, by introducing a preset number of dispersed frames. In the second operating mode, for each sub-region, the first lookup table is searched, and the target brightness value target(i) of the pixels in the corresponding sub-region of the current frame image is used as the display brightness calculated value start(i) of the pixels in the corresponding sub-region of the current frame image.

[0063] Figure 3 This is a flow chart of calculating the display brightness value according to an embodiment of the present disclosure. Figure 3 The process of calculating the display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image according to the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table in the first working mode is described in detail. Figure 3 As shown in the figure, the process specifically includes:

[0064] In step S310, in the first working mode, for each sub-region, when it is detected that the image content of the corresponding sub-region of the current frame image switches, the brightness gain step of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is updated to the brightness gain step of the pixels in the corresponding sub-region of the current frame image.

[0065] Specifically, in the first operating mode, for each subregion, when image content switching is detected in the corresponding subregion of the current frame image, a luminance gain step size Δ(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame) is calculated, and the luminance gain step size Δ(i-1) of the pixels in the corresponding subregion of the previous frame image (e.g., the i-1th frame) stored in the second lookup table is updated to the luminance gain step size Δ(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame). In some embodiments, the calculation process of the luminance gain step size Δ(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame) is as follows: Calculate the luminance gain value diff(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame). The luminance gain value diff(i) is equal to the difference between the target luminance value target(i) of the pixel in the corresponding sub-region of the current frame image (e.g., the i-th frame) and the calculated display luminance value start(i-1) of the pixel in the corresponding sub-region of the previous frame image (e.g., the i-1-th frame), i.e., diff(i) = target(i) - start(i-1). Next, in some embodiments, for each sub-region, a luminance gain step size Δ(i) is calculated for the pixel in the corresponding sub-region of the current frame image (e.g., the i-th frame). The luminance gain step size Δ(i) is equal to the quotient of the luminance gain value diff(i) of the pixel in the corresponding sub-region of the current frame image (e.g., the i-th frame) and a preset dispersion frame number T (T is a positive integer), i.e., Δ(i) = diff(i) / T. Then, in some embodiments, the brightness gain step Δ(i-1) of the pixels in the corresponding sub-area of ​​the previous frame image (e.g., the i-1th frame) stored in the second lookup table is updated to the brightness gain step Δ(i) of the pixels in the corresponding sub-area of ​​the current frame image (e.g., the i-th frame).

[0066] In step S320, in the first working mode, for each sub-region, when it is detected that no image content switching occurs in the corresponding sub-region of the current frame image, the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is kept unchanged.

[0067] In some embodiments, in the first operating mode, for each subregion, when it is detected that no image content switching has occurred in the corresponding subregion of the current frame image (e.g., the i-th frame), the luminance gain step size Δ(i-1) of the pixels in the corresponding subregion of the previous frame image (e.g., the i-1th frame) stored in the second lookup table remains unchanged. That is, in the first operating mode, for each subregion, when it is detected that no image content switching has occurred in the corresponding subregion of the current frame image (e.g., the i-th frame), there is no need to calculate the luminance gain step size Δ(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame), and the luminance gain step size Δ(i) of the pixels in the corresponding subregion of the current frame image (e.g., the i-th frame) is equal to the luminance gain step size Δ(i-1) of the pixels in the corresponding subregion of the previous frame image (e.g., the i-1th frame).

[0068] In step S330, in the first working mode, for each sub-area, the second lookup table is searched, and the sum of the display brightness calculation value of the pixels in the corresponding sub-area of ​​the previous frame image and the brightness gain step size of the pixels in the corresponding sub-area currently stored in the second lookup table is used as the display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image.

[0069] In some embodiments, in the first operating mode, for each sub-region, a second lookup table is searched, and the sum of the calculated display brightness value start(i-1) of the pixel in the corresponding sub-region of the previous frame image (e.g., frame i-1) and the brightness gain step size Δ(i) of the pixel in the corresponding sub-region stored in the current second lookup table is used as the calculated display brightness value start(i) of the pixel in the corresponding sub-region of the current frame image (e.g., frame i), i.e., start(i)=start(i-1)+Δ(i). It will be understood that in the first operating mode, for each sub-region, when image content switching is detected in the corresponding sub-region of the current frame image, if the brightness gain value of the pixel in the corresponding sub-region of the current frame image is positive, the calculated display brightness value of the pixel in the corresponding sub-region of the current frame image is less than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image. If the brightness gain value of the pixel in the corresponding sub-region of the current frame image is negative, the calculated display brightness value of the pixel in the corresponding sub-region of the current frame image is greater than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image.

[0070] It can be understood that in the first working mode, for each sub-area, when it is detected that no image content switching occurs between the consecutive j frame images after the current frame image (for example, the i-th frame) and the corresponding sub-area of ​​the current frame image, the display brightness calculation value start(i+j) of the pixels in the corresponding sub-area of ​​the j-th frame image after the current frame image (for example, the i+j-1-th frame) is equal to the sum of the display brightness calculation value start(i+j-1) of the pixels in the corresponding sub-area of ​​the j-1-th frame image after the current frame image (for example, the i+j-1-th frame) and the brightness gain step Δ(i+j) of the pixels in the corresponding sub-area of ​​the j-th frame image after the current frame image, that is, start(i+j)=start(i+j-1)+Δ(i+j), until it is detected that the image content switching occurs between the j-th frame image after the current frame image (for example, the i+j-th frame) and the corresponding sub-area of ​​the current frame image (for example, the i-th frame), where j is an integer and is less than or equal to the preset number of dispersed frames T. In the first working mode, for each sub-area, when it is detected that no image content switching occurs between the consecutive t frame images after the current frame image and the corresponding sub-area of ​​the current frame image (for example, the i-th frame), the display brightness calculation value start(i+t) of the pixels in the corresponding sub-area of ​​the t-th frame image after the current frame image (for example, the i+t-th frame) is equal to the target brightness value target(i) of the pixels in the corresponding sub-area of ​​the current frame image (for example, the i-th frame), that is, start(i+t)=target(i), until it is detected that the image content switching occurs between the t-th frame image after the current frame image (for example, the i+t-th frame) and the corresponding sub-area of ​​the current frame image (for example, the i-th frame), where t is an integer and is greater than the preset number of dispersed frames T.

[0071] It is understood that in the first operating mode, for each sub-region, when image content switching is detected in the corresponding sub-region of the current frame image (e.g., the i-th frame), the brightness gain value diff(i) of the pixels in the corresponding sub-region of the current frame image (e.g., the i-th frame) is dispersed over the preset dispersed frame number T display frames by introducing a preset dispersed frame number T. For the preset dispersed frame number T display frames after the current frame image, the calculated display brightness value of the pixels in the corresponding sub-region can be adjusted to the target brightness value of the corresponding sub-region frame by frame by gradually accumulating the brightness gain step size on a frame-by-frame basis, thereby achieving progressive adjustment of the display brightness, thereby achieving the purpose of anti-flicker while ensuring visual continuity.

[0072] It should be noted that, in the first working mode, for each sub-region, when it is detected that no image content switching occurs in the corresponding sub-region of the current frame image (for example, the i-th frame), there is no need to calculate the brightness gain value diff(i) and the brightness gain step Δ(i) of the pixels in the corresponding sub-region of the current frame image (for example, the i-th frame), and there is no need to update the second lookup table, thereby reducing the amount of calculation.

[0073] It should be noted that the parallel processing mechanism for calculating the display brightness calculated values ​​of the sub-regions of the current frame image and adjusting the actual display brightness of the sub-regions of the previous frame image in parallel during the display of the previous frame image allows the data processing of the previous and subsequent frames to overlap in time in the hardware pipeline. The display brightness calculated values ​​of all sub-regions except the last sub-region of the current frame image can be completed in advance within the effective display time of the previous frame image, eliminating the need to centrally process the display brightness calculated values ​​of each sub-region of the current frame image during the blanking time. This significantly reduces the amount of calculation and calculation time during the blanking time, thereby reducing display delay. At the same time, by independently maintaining the first and second mapping tables and related data of the display brightness calculated values ​​of the sub-regions of the current frame image (e.g., target brightness value, display brightness calculated value, absolute value and sign of brightness gain step, absolute value and sign of brightness gain value, etc.) for each sub-region, only the display brightness calculated value data of the corresponding sub-region (i.e., one sub-region) of the current frame image needs to be stored in the memory, reducing memory resource usage and hardware costs.

[0074] Figure 4 FIG. 1 is a schematic diagram of a brightness adjustment device according to an embodiment of the present disclosure. Figure 4 The brightness adjustment device 400 includes a target brightness value calculation unit 410 , an image content switching determination unit 420 , a first lookup table updating unit 430 , and a display brightness calculation value calculation unit 440 .

[0075] The target brightness value calculation unit 410 is configured to calculate target brightness values ​​of pixels in multiple sub-regions of a current frame image during the process of displaying a previous frame image.

[0076] The image content switching determination unit 420 is configured to determine whether image content switching occurs in each sub-region by comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region.

[0077] The first lookup table updating unit 430 is configured to update the target brightness value of the pixels in the corresponding sub-region of the previous frame image stored in the first lookup table to the target brightness value of the pixels in the corresponding sub-region of the current frame image when an image content switching is detected in the corresponding sub-region.

[0078] The display brightness calculated value calculation unit 440 is used to search the first lookup table and calculate the display brightness calculated value of the pixels in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculated value during the subsequent display of the current frame image.

[0079] Since the specific process of brightness adjustment has been described in detail above, it will not be repeated here.

[0080] The present disclosure also provides an electronic device, such as Figure 5 As shown, it includes a memory 520, a processor 510, and a program stored in the memory 520 and executable on the processor 510. When the program is executed by the processor 510, the various processes of the various embodiments of the above method can be implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0081] The present disclosure also provides a chip, including Figure 4 The brightness adjustment device 400 shown implements the steps of the method described above. Chips herein include general-purpose processors (e.g., CPUs and GPUs), mobile device main processors (APs), programmable logic chips (e.g., FPGAs), and application-specific integrated circuits (e.g., ASICs). The beneficial effects achieved by the method provided by the embodiments of the present disclosure can be achieved, as detailed in the previous embodiments and will not be repeated here.

[0082] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be accomplished by instructions, or by instructions controlling related hardware. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, the present disclosure also provides a storage medium having a computer program or instructions stored thereon. When the computer program or instructions are executed by the processor, the various processes of the various embodiments of the above methods can be implemented.

[0083] Since the instructions stored in the storage medium can execute the steps in the method provided in the embodiment of the present disclosure, the beneficial effects that can be achieved by the method provided in the embodiment of the present disclosure can be achieved. For details, please refer to the previous embodiment and will not be repeated here. The specific implementation of each of the above operations can be referred to the previous embodiment and will not be repeated here.

[0084] Finally, it should be noted that the above embodiments are merely examples for the purpose of illustrating the present disclosure and are not intended to limit the embodiments. Those skilled in the art will readily appreciate that other variations or modifications based on the above descriptions are possible. It is not necessary and impossible to provide an exhaustive list of all embodiments. Obvious variations or modifications arising therefrom remain within the scope of protection of the present disclosure.

Claims

1. A brightness adjustment method, comprising: In the process of displaying the previous frame image, calculating the target brightness values ​​of pixels in multiple sub-regions of the current frame image; By comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region, determining whether image content switching occurs in each sub-region; When it is detected that the image content of the corresponding sub-region switches, the target brightness value of the pixel in the corresponding sub-region of the previous frame image stored in the first lookup table is updated to the target brightness value of the pixel in the corresponding sub-region of the current frame image; Search the first lookup table and calculate the display brightness calculation value of the pixels in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculation value during the subsequent display of the current frame image.

2. The brightness adjustment method according to claim 1, wherein: The step of searching the first lookup table and calculating a display brightness calculation value of pixels in the corresponding sub-region of the current frame image according to target brightness values ​​of pixels in the corresponding sub-region stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-region of the current frame image according to the display brightness calculation value during a subsequent display of the current frame image, includes: In the first working mode, for each sub-region, when it is detected that the image content of the corresponding sub-region of the current frame image switches, the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is updated to the brightness gain step size of the pixels in the corresponding sub-region of the current frame image; In the first working mode, for each sub-region, when it is detected that no image content switching occurs in the corresponding sub-region of the current frame image, the brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is kept unchanged; In the first working mode, for each sub-area, the second lookup table is searched, and the display brightness calculation value of the pixel in the corresponding sub-area of ​​the previous frame image and the sum of the brightness gain step of the pixel in the corresponding sub-area currently stored in the second lookup table are used as the display brightness calculation value of the pixel in the corresponding sub-area of ​​the current frame image.

3. The brightness adjustment method according to claim 2, wherein: In the first working mode, for each sub-region, when it is detected that image content switching occurs in the sub-region corresponding to the current frame image, updating the brightness gain step size of the pixels in the sub-region corresponding to the previous frame image stored in the second lookup table to the brightness gain step size of the pixels in the sub-region corresponding to the current frame image, including: Calculating a brightness gain value of pixels in a corresponding subregion of the current frame image, where the brightness gain value is equal to a difference between a target brightness value of the pixels in the corresponding subregion of the current frame image and a calculated display brightness value of the pixels in the corresponding subregion of the previous frame image; For each sub-region, calculating a brightness gain step length of pixels in the corresponding sub-region of the current frame image, wherein the brightness gain step length is equal to a quotient of a brightness gain value of pixels in the corresponding sub-region of the current frame image and a preset dispersion frame number; The brightness gain step size of the pixels in the corresponding sub-region of the previous frame image stored in the second lookup table is updated to the brightness gain step size of the pixels in the corresponding sub-region of the current frame image.

4. The brightness adjustment method according to claim 1, wherein: The step of searching the first lookup table and calculating a display brightness calculation value of pixels in the corresponding sub-region of the current frame image according to target brightness values ​​of pixels in the corresponding sub-region stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-region of the current frame image according to the display brightness calculation value during a subsequent display of the current frame image, includes: In the second working mode, for each sub-region, the first lookup table is searched, and the target brightness value of the pixel in the corresponding sub-region of the current frame image is used as the display brightness calculation value of the pixel in the corresponding sub-region of the current frame image. The brightness adjustment method according to claim 3 , wherein: When the brightness gain value of the pixel in the corresponding sub-region of the current frame image is positive, the calculated display brightness value of the pixel in the corresponding sub-region of the current frame image is less than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image; When the brightness gain value of the pixel in the corresponding sub-region of the current frame image is negative, the display brightness calculation value of the pixel in the corresponding sub-region of the current frame image is greater than or equal to the target brightness value of the pixel in the corresponding sub-region of the current frame image. The brightness adjustment method according to claim 5 , wherein: In the first operating mode, for each sub-region, when it is detected that no image content switching occurs between j consecutive frame images after the current frame image and the sub-region corresponding to the current frame image, the calculated display brightness value of the pixels in the sub-region corresponding to the j-th frame image after the current frame image is equal to the sum of the calculated display brightness value of the pixels in the sub-region corresponding to the j-1-th frame image after the current frame image and the brightness gain step size of the pixels in the sub-region corresponding to the j-th frame image after the current frame image, until it is detected that image content switching occurs between the j-th frame image after the current frame image and the sub-region corresponding to the current frame image, where j is an integer and is less than or equal to the preset number of dispersed frames; In the first working mode, for each sub-area, when it is detected that no image content switching occurs between the consecutive t frame images after the current frame image and the corresponding sub-area of ​​the current frame image, the display brightness calculation value of the pixels in the corresponding sub-area of ​​the t-th frame image after the current frame image is equal to the target brightness value of the pixels in the corresponding sub-area of ​​the current frame image, until it is detected that the image content switching occurs between the t-th frame image after the current frame image and the corresponding sub-area of ​​the current frame image, where t is an integer and is greater than the preset number of dispersed frames.

7. The brightness adjustment method according to claim 1, wherein: The step of comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region to determine whether image content switching occurs in each sub-region includes: For each sub-region, calculating a difference between target brightness values ​​of pixels in the corresponding sub-region of the current frame image and the previous frame image; When the difference is less than a preset threshold, determining that no image content switching occurs in the sub-region corresponding to the current frame image; When the difference is greater than or equal to the preset threshold, it is determined that image content switching occurs in the sub-region corresponding to the current frame image.

8. A brightness adjustment device, comprising: a target brightness value calculation unit, configured to calculate target brightness values ​​of pixels in a plurality of sub-regions of a current frame image during display of a previous frame image; an image content switching determination unit, configured to determine whether image content switching occurs in each sub-region by comparing target brightness values ​​of pixels in corresponding sub-regions of the current frame image and the previous frame image region by region; a first lookup table updating unit, configured to update the target brightness value of the pixel in the corresponding sub-region of the previous frame image stored in the first lookup table to the target brightness value of the pixel in the corresponding sub-region of the current frame image when detecting that image content switching occurs in the corresponding sub-region; A display brightness calculated value calculation unit is used to search the first lookup table and calculate the display brightness calculated value of the pixels in the corresponding sub-area of ​​the current frame image based on the target brightness value of the pixels in the corresponding sub-area stored in the first lookup table, so as to adjust the actual display brightness of the corresponding sub-area of ​​the current frame image according to the display brightness calculated value during the subsequent display of the current frame image.

9. A display device comprising: Display panel; The brightness adjustment device as claimed in claim 8.

10. A chip comprising: The brightness adjustment device according to claim 8, implements the steps of the method according to any one of claims 1 to 7.

11. An electronic device comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 7.

12. A storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.