Backlight dimming method and device, display equipment and storage medium
By determining the input image segmentation and image division level in Mini LED backlight display technology, combined with the calculation of the cumulative density function and backlight dimming, the problem of high power consumption of Mini LED backlight is solved, and the effect of reducing power consumption while ensuring image quality is achieved.
Patent Information
- Application Number
- CN202411979657.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-27
AI Technical Summary
On the premise of ensuring that the image quality is not affected, how to reduce the power consumption of Mini LED backlight, especially in the highlight area, avoid the problems of heat increase and power consumption increase caused by peak current.
By dividing the input image into a high-frequency detail pixel area and a low-frequency brightness pixel area, the image division level is determined based on the grayscale value distribution of the high-frequency detail pixel area, and the image division of the low-frequency brightness pixel area is obtained to obtain multiple low-frequency sub-regions of different levels. Then, the cumulative density function of the low-frequency subregions of each level is calculated and backlight dimmed according to the cumulative density function.
It realizes dynamic adjustment of the backlight brightness without affecting the image quality, avoiding unnecessary peak current use, thereby reducing the power consumption of Mini LED backlight and extending the service life of the equipment.
Smart Images

Figure CN119724113A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display devices, and in particular to a backlight dimming method, device, display device and storage medium. Background Art
[0002] In recent years, Mini LED (Mini Light Emitting Diode) backlight display technology has been widely used because it can achieve better contrast and brightness performance through partitioned backlight.
[0003] In the actual application of Mini LED backlight display technology, the backlight is divided into multiple independently controllable areas. The brightness of these areas will be adjusted in real time according to the current displayed image content to obtain better image quality. When a bright area appears in the image, the corresponding Mini LED will receive peak current drive to ensure sufficient brightness output. However, due to the high heat generated by the peak current, the power consumption increases, which will directly affect the service life of the Mini LED in serious cases.
[0004] In summary, how to reduce the power consumption of Mini LED backlight while ensuring that the image quality is not affected has become a technical problem that needs to be solved urgently in this field. Summary of the invention
[0005] The main purpose of this application is to provide a backlight dimming method, device, display device and storage medium, aiming to reduce the power consumption of Mini LED backlight while ensuring that the picture quality is not affected.
[0006] To achieve the above object, the present application proposes a backlight dimming method, which includes:
[0007] Segment the input image into high-frequency detail pixel regions and low-frequency brightness pixel regions;
[0008] Determining an image division level according to the grayscale value distribution of the high-frequency detail pixel area, and performing image division on the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels;
[0009] The cumulative density function of the low-frequency sub-regions of each level is calculated, and the backlight dimming is performed according to the cumulative density function.
[0010] In one embodiment, the step of determining the image division level according to the gray value distribution of the high-frequency detail pixel area includes:
[0011] grayscale the high-frequency detail pixel area, and divide the grayscale-processed high-frequency detail pixel area into a plurality of high-frequency sub-areas;
[0012] Obtaining the grayscale value distribution of each of the high-frequency sub-regions, and calculating the grayscale value threshold of each of the high-frequency sub-regions according to the grayscale value distribution;
[0013] The high-frequency detail pixel area is divided into images according to the gray value threshold, and the image division level is determined.
[0014] In one embodiment, the step of obtaining the gray value distribution of each of the high-frequency sub-regions and calculating the gray value threshold of each of the high-frequency sub-regions according to the gray value distribution includes:
[0015] Obtaining the grayscale value distribution of each of the high-frequency sub-regions, and calculating the sum of the grayscale values of the pixels in each of the high-frequency sub-regions according to the grayscale value distribution;
[0016] Obtaining the total number of pixels in each of the high-frequency sub-regions;
[0017] Calculating an initial gray value threshold according to the sum of the gray values of the pixels in each of the high-frequency sub-regions and the total number of pixels;
[0018] An iterative algorithm is used to determine the grayscale value threshold of each of the high-frequency sub-regions based on the initial grayscale value threshold.
[0019] In one embodiment, the step of calculating the cumulative density function of the low-frequency sub-regions of each level includes:
[0020] Determine the maximum grayscale value of each low-frequency sub-region at each level;
[0021] For each level of low-frequency sub-region, the grayscale values in the low-frequency sub-region that do not exceed the grayscale maximum value are summed to obtain a cumulative density function.
[0022] In one embodiment, the step of performing backlight dimming according to the cumulative density function comprises:
[0023] Performing a symmetrical operation on the cumulative density function based on a preset linear function to obtain a dimming curve;
[0024] Backlight dimming is performed according to the dimming curve.
[0025] In one embodiment, the step of performing backlight dimming according to the dimming curve includes:
[0026] Determine the grayscale value of each pixel in the input image after backlight processing according to the dimming curve;
[0027] Calculate the compensation coefficient according to the preset nonlinear curve equation;
[0028] Each of the pixel grayscale values is multiplied by the compensation coefficient to obtain a new output brightness value, and backlight dimming is performed according to the new output brightness value.
[0029] In one embodiment, the step of segmenting the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region comprises:
[0030] Input the input image to a preset linear filter for processing;
[0031] The high-frequency information and the low-frequency information of the input image are separated by the linear filter to obtain a high-frequency detail pixel area and a low-frequency brightness pixel area.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a backlight dimming device, the backlight dimming device comprising:
[0033] An image segmentation module is used to segment the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region;
[0034] An image division module, used to determine an image division level according to the gray value distribution of the high-frequency detail pixel area, and to perform image division on the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels;
[0035] The backlight dimming module is used to calculate the cumulative density function of the low-frequency sub-regions of each level and perform backlight dimming according to the cumulative density function.
[0036] In addition, to achieve the above objectives, the present application also proposes a display device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the backlight dimming method as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the backlight dimming method as described above are implemented.
[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the backlight dimming method described above are implemented.
[0039] The present application proposes a backlight dimming method, which divides an input image into a high-frequency detail pixel area and a low-frequency brightness pixel area; then, the image division level is determined according to the grayscale value distribution of the high-frequency detail pixel area, and the low-frequency brightness pixel area is divided according to the image division level to obtain a plurality of low-frequency sub-areas of different levels; finally, the cumulative density function of the low-frequency sub-areas of each level is calculated, and the backlight is dimmed according to the cumulative density function.
[0040] In summary, in the present application, the high-frequency detail pixel area and the low-frequency brightness pixel area of the input image are first divided, and the image level division of the low-frequency brightness pixel area is realized by analyzing the grayscale value distribution of the high-frequency detail pixel area. Then, the backlight brightness is intelligently adjusted for the input image according to the level division of the low-frequency brightness pixel area. Therefore, the backlight brightness will be dynamically adjusted according to the actual brightness distribution of the input image, avoiding unnecessary peak current use, thereby reducing the power consumption of the Mini LED backlight while ensuring that the image quality is not affected. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the backlight dimming method of the present application;
[0044] Figure 2 Another flowchart diagram provided for the second embodiment of the backlight dimming method of the present application;
[0045] Figure 3 A schematic diagram of a backlight dimming process provided in Embodiment 2 of the backlight dimming method of the present application;
[0046] Figure 4 This is a schematic diagram of the module structure of the backlight dimming device according to an embodiment of the present application;
[0047] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the backlight dimming method in the embodiment of the present application.
[0048] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] In recent years, Mini LED backlight display technology has been widely used because it can achieve better contrast and brightness performance through zoned backlight.
[0052] In the actual application of Mini LED backlight display technology, the backlight is divided into multiple independently controllable areas. The brightness of these areas will be adjusted in real time according to the current displayed image content to obtain better image quality. When a bright area appears in the image, the corresponding Mini LED will receive peak current drive to ensure sufficient brightness output. However, due to the high heat generated by the peak current, the power consumption increases, which will directly affect the service life of the Mini LED in serious cases.
[0053] In summary, how to reduce the power consumption of Mini LED backlight while ensuring that the image quality is not affected has become a technical problem that needs to be solved urgently in this field.
[0054] The main solution of the embodiment of the present application is: dividing the input image into a high-frequency detail pixel area and a low-frequency brightness pixel area; determining the image division level according to the grayscale value distribution of the high-frequency detail pixel area, and dividing the low-frequency brightness pixel area according to the image division level to obtain multiple low-frequency sub-areas of different levels; calculating the cumulative density function of the low-frequency sub-areas of each level, and performing backlight dimming according to the cumulative density function.
[0055] The backlight dimming method proposed in the embodiment of the present application first divides the high-frequency detail pixel area and the low-frequency brightness pixel area of the input image, and realizes the image level division of the low-frequency brightness pixel area by analyzing the grayscale value distribution of the high-frequency detail pixel area, and then intelligently adjusts the backlight brightness of the input image according to the level division of the low-frequency brightness pixel area. Therefore, the backlight brightness will be dynamically adjusted according to the actual brightness distribution of the input image, avoiding unnecessary peak current use, thereby reducing the power consumption of the Mini LED backlight while ensuring that the image quality is not affected.
[0056] It should be noted that the executor of this embodiment may be a display device that adopts Mini LED display technology. The display device may specifically be an electronic device with display function such as a smart TV, a smart screen, a broadcast TV monitor, etc. The following takes the display device as an example to illustrate this embodiment and the following embodiments.
[0057] Based on this, the present application embodiment provides a backlight dimming method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the backlight dimming method of the present application.
[0058] In this embodiment, the backlight dimming method is applied to a display device; the backlight dimming method includes steps S10 to S30:
[0059] Step S10, dividing the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region;
[0060] The input image (i.e., the image to be displayed on the display device) is divided into a high-frequency detail pixel area and a low-frequency brightness pixel area, wherein the high-frequency detail pixel area contains detail information such as edges and textures in the input image, and usually corresponds to an area in the input image where the grayscale value changes rapidly; the low-frequency brightness pixel area contains the overall brightness information of the input image, reflecting the average brightness or brightness distribution of the input image, and each pixel point in the high-frequency detail pixel area and the low-frequency brightness pixel area can correspond one to one.
[0061] In a feasible embodiment, step S10 may include steps S101 to S102:
[0062] Step S101, inputting the input image into a preset linear filter for processing;
[0063] The input image (i.e., the image to be displayed by the display device) is imported into a pre-set linear filter for processing. The linear filter is used to perform linear transformation on the input image. The linear filter includes but is not limited to box filter, mean filter, Gaussian filter, etc. For example, the box filter can smooth the image by calculating the average value of pixels in the neighborhood of the input image, and the mean filter can replace the pixel value by calculating the average value of pixels around each pixel in the input image; the Gaussian filter can determine the weight according to the shape of the Gaussian function and perform weighted averaging on the pixels in the neighborhood to achieve a better smoothing effect while retaining more image edge information.
[0064] Step S102, separating the high-frequency information and the low-frequency information of the input image by a linear filter to obtain a high-frequency detail pixel area and a low-frequency brightness pixel area.
[0065] A linear filter is used to separate the high-frequency information and low-frequency information of the input image. The high-frequency information usually represents the details in the input image, such as edges, textures, etc. These parts change faster in the image and have higher frequencies. The low-frequency information represents the smooth areas in the image, such as brightness, color, etc. These parts change slower in the image and have lower frequencies.
[0066] After filtering is completed, the high-frequency detail pixel area and low-frequency brightness pixel area of the input image are obtained, wherein the high-frequency detail pixel area contains detail information such as edges and textures in the input image, and usually corresponds to areas in the input image where grayscale values change rapidly; the low-frequency brightness pixel area contains the overall brightness information of the input image, reflecting the average brightness or brightness distribution of the input image, and each pixel point in the high-frequency detail pixel area and the low-frequency brightness pixel area can correspond one to one.
[0067] Step S20, determining the image division level according to the gray value distribution of the high-frequency detail pixel area, and dividing the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels;
[0068] The gray value distribution of the high-frequency detail pixel area is analyzed, and the high-frequency detail pixel area image is divided into different levels according to the statistical characteristics of its gray value (such as mean, variance) or histogram characteristics. The complexity and detail richness of the image content in different levels of areas are different.
[0069] According to the image division level determined in the high-frequency detail pixel area, the low-frequency brightness pixel area is divided to form multiple low-frequency sub-areas. For each low-frequency sub-area divided according to the image division level, each low-frequency sub-area corresponds to a specific brightness level and detail richness, thereby allowing more precise control of the backlight according to the level division.
[0070] In a feasible embodiment, step S20 may include steps S201 to S203:
[0071] Step S201, graying the high-frequency detail pixel area, and dividing the grayed high-frequency detail pixel area into a plurality of high-frequency sub-areas;
[0072] The high-frequency detail pixel area is grayed out, that is, the image of the high-frequency detail pixel area (hereinafter referred to as the high-frequency image) is converted from the color space to the gray space, so as to more intuitively analyze the detail information of the high-frequency image. The high-frequency image after graying will only contain gray value information but no longer contain color information.
[0073] For example, the high-frequency detail pixel area can be grayed out using a weighted average method, that is, the gray value is calculated according to the different weights of the three color channels of red (R), green (G), and blue (B) in the color image. Specifically, the weighted average method multiplies the values of the three color channels of red, green, and blue of each pixel by the corresponding weight coefficients, and then adds the three weighted values to obtain the gray value of the pixel.
[0074] In the weighted average method, the formula for grayscale processing of high-frequency detail pixel areas using the weighted average method can be expressed as: Gray = 0.299R + 0.587G + 0.144B, where Gray represents the grayscale value, R, G, and B represent the values of the red, green, and blue color channels, respectively. The weight coefficients are 0.299, 0.587, and 0.144, corresponding to the red, green, and blue color channels, respectively. These weight coefficients are based on the study of the human eye's sensitivity to different colors and can better reflect the brightness information in color images.
[0075] Then, the high-frequency detail pixel area after grayscale processing is divided into multiple high-frequency sub-areas. The division can be performed according to a fixed size or shape. The division method can be set based on the actual application scenario, and this embodiment does not make any specific limitation on this.
[0076] Step S202, obtaining the gray value distribution of each high-frequency sub-region, and calculating the gray value threshold of each high-frequency sub-region according to the gray value distribution;
[0077] After dividing the high-frequency detail pixel area after grayscale processing into multiple high-frequency sub-areas, the grayscale value distribution of each high-frequency sub-area is obtained, and the grayscale value threshold of each high-frequency sub-area is calculated according to the grayscale value distribution. The grayscale value threshold can be a plurality of different thresholds determined according to the grayscale value distribution. By determining the grayscale value threshold, the pixel points in each high-frequency sub-area can be divided according to their grayscale values.
[0078] In a feasible embodiment, step S202 may include steps S2021 to S2024:
[0079] Step S2021, obtaining the grayscale value distribution of each high-frequency sub-region, and calculating the sum of the grayscale values of the pixels in each high-frequency sub-region according to the grayscale value distribution;
[0080] Get the grayscale value distribution of each high-frequency sub-region, that is, traverse each pixel in each high-frequency sub-region and record its grayscale value, then calculate the sum of the grayscale values of all pixels in each high-frequency sub-region according to the recorded grayscale value. The sum of the grayscale values is used to calculate the initial grayscale value threshold of the high-frequency sub-region in the subsequent steps.
[0081] Step S2022, obtaining the total number of pixels in each high-frequency sub-region;
[0082] The total number of pixels in each high-frequency sub-region is determined, for example, by simply counting the pixels in the high-frequency sub-region. The total number of pixels is used to calculate the initial gray value threshold of the corresponding high-frequency sub-region in the subsequent step.
[0083] Step S2023, calculating an initial gray value threshold according to the sum of the gray values of the pixels in each high-frequency sub-region and the total number of pixels;
[0084] After determining the sum of the grayscale values of the pixels and the total number of pixels in each high-frequency sub-region, the initial grayscale value threshold of the high-frequency sub-region is calculated. For example, the sum of the grayscale values of the pixels is divided by the total number of pixels to obtain the average grayscale value as the initial grayscale value threshold of the high-frequency sub-region.
[0085] Step S2024: using an iterative algorithm to determine the grayscale value threshold of each high-frequency sub-region based on the initial grayscale value threshold.
[0086] In order to obtain a more accurate gray value threshold, an iterative algorithm is used based on the initial gray value threshold, and a more accurate threshold is determined by continuous adjustment to find the optimal gray value threshold. It is worth mentioning that multiple thresholds can be determined for each high-frequency sub-region during the iteration process to divide each high-frequency sub-region into multiple levels. The iterative process will continue until the optimal threshold that meets a certain stop condition is found. If the difference between the two thresholds before and after the iteration is less than a fixed difference, the iteration is stopped.
[0087] Step S203, dividing the high-frequency detail pixel area into image segments according to the gray value threshold, and determining the image segmentation level.
[0088] For each high-frequency sub-region, after determining one or more grayscale value thresholds, the high-frequency detail pixel area can be image-divided according to the determined grayscale value thresholds, and the image division level can be determined, that is, a high-frequency sub-region is divided into multiple levels, each level corresponding to a specific grayscale value range.
[0089] Step S30 , calculating the cumulative density function of the low-frequency sub-regions of each level, and performing backlight dimming according to the cumulative density function.
[0090] It should be noted that the cumulative density function is used to describe the cumulative characteristics of data distribution. In this embodiment, the cumulative density function is used to describe the cumulative probability distribution of each gray value in the low-frequency sub-region of each level.
[0091] For each low-frequency sub-region of different levels, the cumulative density function of the low-frequency sub-region is calculated. The cumulative density function represents the proportion of pixels in the low-frequency sub-region that are less than or equal to a certain grayscale value (usually the maximum grayscale value in the sub-region). By calculating the cumulative density function of the low-frequency sub-region, the brightness distribution characteristics of each low-frequency sub-region can be intuitively understood.
[0092] Then, the backlight brightness is adjusted according to the result of the cumulative density function. Generally, for sub-areas with higher brightness, the backlight brightness will be increased accordingly; while for sub-areas with lower brightness or less details, the backlight brightness will be reduced. This dynamic backlight adjustment helps improve the display effect while reducing energy consumption.
[0093] In a feasible embodiment, the step of "calculating the cumulative density function of the low-frequency sub-regions of each level" in step S30 may include steps S301 to S302:
[0094] Step S301, determining the maximum grayscale value of each low-frequency sub-region at each level;
[0095] For each low-frequency sub-region divided according to the image division level, the pixels of the low-frequency sub-regions of different levels are traversed respectively, and the grayscale value of the pixel with the largest grayscale value is found and recorded, that is, the maximum grayscale value of the low-frequency sub-region in this level. The determined maximum grayscale value is used to determine which grayscale values need to be included in the summation range when calculating the cumulative density function.
[0096] Step S302: For each level of low-frequency sub-region, the grayscale values in the low-frequency sub-region that do not exceed the grayscale maximum value are summed to obtain a cumulative density function.
[0097] After determining the grayscale maximum value of the low-frequency sub-region of each level, the cumulative density function of the low-frequency sub-region of each level is calculated.
[0098] Specifically, for each level of low-frequency sub-region, all pixels in the low-frequency sub-region of this level are traversed, and a determination is made as to whether the grayscale value of each pixel does not exceed the grayscale maximum value of the low-frequency sub-region; for pixels whose grayscale values do not exceed the grayscale maximum value of the low-frequency sub-region, their grayscale values are accumulated and summed, and the accumulated summation result is the cumulative density function value of the low-frequency sub-region of this level, which reflects the cumulative probability or frequency of occurrence of each grayscale value in the range from grayscale value 0 to the grayscale maximum value in the low-frequency sub-region of this level.
[0099] For example, the calculated cumulative density function can be expressed as hist(i) is the grayscale histogram, that is, the number of times a pixel with grayscale value i appears in the low-frequency sub-region, m is the maximum grayscale value, and C(m) is the cumulative density function. By calculating the cumulative density function, the distribution of each grayscale value in each level of low-frequency sub-region can be obtained.
[0100] In summary, in the embodiment of the present application, the high-frequency detail pixel area and the low-frequency brightness pixel area of the input image are first divided, and the image level division of the low-frequency brightness pixel area is realized by analyzing the grayscale value distribution of the high-frequency detail pixel area, and then the backlight brightness is intelligently adjusted for the input image according to the level division of the low-frequency brightness pixel area. Therefore, the backlight brightness will be dynamically adjusted according to the actual brightness distribution of the input image, avoiding unnecessary peak current use, thereby reducing the power consumption of the Mini LED backlight while ensuring that the image quality is not affected.
[0101] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 As shown, the step of "dimming the backlight according to the cumulative density function" in step S30 may include steps S303 to S304:
[0102] Step S303, performing symmetric operation on the cumulative density function based on a preset linear function to obtain a dimming curve;
[0103] The cumulative density function is symmetrically operated with respect to a preset linear function to obtain a dimming curve, wherein the linear function can be set based on the actual application scenario, and is not specifically limited in this embodiment. By performing symmetrical operations on the cumulative density function with respect to the linear function, a dimming curve for adjusting the backlight is obtained.
[0104] Step S304, performing backlight dimming according to the dimming curve.
[0105] After obtaining the dimming curve, the backlight brightness of the display device is adjusted according to the dimming curve. Specifically, each point of the dimming curve can be mapped to the control range of the backlight brightness, and then the backlight brightness is adjusted according to the mapping result. This adjustment process can be linear or nonlinear, depending on the shape of the dimming curve and the control requirements of the backlight brightness.
[0106] By adjusting the backlight brightness, the visual effects such as contrast and brightness when the display device displays the input image can be improved, making the image clearer.
[0107] In a feasible embodiment, step S304 may include steps S3041 to S3043:
[0108] Step S3041, determining the grayscale value of each pixel in the input image after backlight processing according to the dimming curve;
[0109] The input image is backlit according to the obtained dimming curve, that is, the grayscale value of each pixel in the input image is adjusted to match the change of the dimming curve. In the processed image, each pixel will have a new grayscale value, which reflects the impact of the backlight adjustment on the original grayscale value of each pixel in the input image.
[0110] Step S3042, calculating a compensation coefficient according to a preset nonlinear curve equation;
[0111] After obtaining the pixel grayscale value after backlight processing, the compensation coefficient is calculated according to a preset nonlinear curve equation, wherein the nonlinear curve equation can be a function of any shape determined based on the actual application scenario, and usually a function that can reflect the characteristics of human visual perception is selected, such as a characteristic S-curve function.
[0112] The specific process of calculating the compensation coefficient is to use the new grayscale value obtained after the backlight processing as the input of the nonlinear curve equation, and calculate the corresponding output value as the compensation coefficient.
[0113] Step S3043: multiply the grayscale value of each pixel by the compensation coefficient to obtain a new output brightness value, and perform backlight dimming according to the new output brightness value.
[0114] The new grayscale value of each pixel after backlight processing is multiplied by the corresponding compensation coefficient to obtain a new output brightness value, which reflects the result of the combined effect of backlight adjustment and compensation coefficient. After obtaining the new output brightness value, these values are applied to the backlight control system of the display device to achieve the backlight dimming effect.
[0115] For example, in a feasible implementation, the nonlinear curve equation is Among them, L point is the inflection point, k is the curvature of the curve, Lx is the grayscale value of x% of the total number of pixels, Ly is the grayscale value of y% of the total number of pixels, the compensation coefficient α is Lout / Lin, and the grayscale values of the sub-pixels R, G, and B are multiplied by the compensation coefficient α to obtain the final output brightness value.
[0116] In summary, in this embodiment, the high-frequency detail pixel area and the low-frequency brightness pixel area of the input image are first divided, and the image level division of the low-frequency brightness pixel area is realized by analyzing the grayscale value distribution of the high-frequency detail pixel area, and the low-frequency brightness pixel area is divided according to the image division level to obtain a plurality of low-frequency sub-areas of different levels, and then, by calculating the cumulative density function of each low-frequency sub-area of different levels, the grayscale value distribution of the input image can be obtained, avoiding the problem of uneven brightness or excessive adjustment that may be caused in the subsequent backlight dimming process; then, the cumulative density function is symmetrically operated based on the preset linear function to generate a dimming curve, and the backlight dimming is performed according to the dimming curve, which can reduce the backlight brightness to reduce power consumption and will not cause excessive distortion rate, because when the grayscale value distribution of the high-frequency sub-area is small, the backlight brightness can be greatly reduced, and in the area where the grayscale value distribution is increased, the backlight brightness can be fine-tuned to improve the image contrast and effectively reduce the backlight brightness power consumption. In addition, the compensation coefficient is calculated using the preset nonlinear curve equation to compensate the backlight brightness, so that the adjusted brightness is more in line with the perception habits of the human eye and reduces visual fatigue.
[0117] Therefore, in this embodiment, a reasonable brightness adjustment strategy is adopted to ensure the improvement of image quality, effectively reduce the power consumption of the display device, and extend the service life of the device.
[0118] For example, in order to help understand the implementation process of the backlight dimming method obtained by combining this embodiment with the above embodiments, please refer to Figure 3 , Figure 3 A brief flow chart of a backlight dimming method is provided, specifically:
[0119] The input image is processed by a linear filter, and the input image is divided into a high-frequency area (i.e., a high-frequency detail pixel area) and a low-frequency area (i.e., a low-frequency brightness pixel area). Then, the image in the high-frequency area is converted into a grayscale image and then segmented to obtain multiple high-frequency sub-areas. Then, an iterative algorithm is used to determine the division threshold (i.e., grayscale value threshold) of the high-frequency sub-area, and the high-frequency detail pixel area is image-divided according to the grayscale value threshold, and the image division level is determined. Then, the division threshold (or image division level) of the high-frequency area is mapped to the low-frequency area to divide the low-frequency area; each low-frequency sub-area is traversed to find the maximum grayscale value of each area, and then a cumulative grayscale histogram is made according to the maximum grayscale value to obtain a cumulative density function, and then a symmetric operation is performed on the cumulative density function with respect to a linear function to obtain a dimming curve, and the backlight of the display device is adjusted according to the dimming curve, and a compensation factor (i.e., compensation coefficient) is determined based on an S curve (i.e., a preset nonlinear curve equation), and finally, the RGB grayscale value of each pixel is multiplied by the compensation factor to obtain a new output brightness value, and an output image of the display device is generated according to the output brightness value.
[0120] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the backlight dimming method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0121] The present application also provides a backlight dimming device. Figure 4 , the backlight dimming device comprises:
[0122] An image segmentation module 10 is used to segment the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region;
[0123] An image division module 20 is used to determine the image division level according to the gray value distribution of the high-frequency detail pixel area, and to divide the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels;
[0124] The backlight dimming module 30 is used to calculate the cumulative density function of the low-frequency sub-regions of each level and perform backlight dimming according to the cumulative density function.
[0125] Optionally, the image segmentation module 20 is further configured to:
[0126] grayscale the high-frequency detail pixel area, and divide the grayscale-processed high-frequency detail pixel area into a plurality of high-frequency sub-areas;
[0127] Obtaining the grayscale value distribution of each high-frequency sub-region, and calculating the grayscale value threshold of each high-frequency sub-region according to the grayscale value distribution;
[0128] The image is divided into high-frequency detail pixel areas according to the gray value threshold, and the image division level is determined.
[0129] Optionally, the image segmentation module 20 is further configured to:
[0130] Obtain the grayscale value distribution of each high-frequency sub-region, and calculate the sum of the grayscale values of the pixels in each high-frequency sub-region according to the grayscale value distribution;
[0131] Get the total number of pixels in each high-frequency sub-region;
[0132] Calculate the initial gray value threshold according to the sum of the gray values of the pixels in each high-frequency sub-region and the total number of pixels;
[0133] An iterative algorithm is used to determine the gray value threshold of each high-frequency sub-region based on the initial gray value threshold.
[0134] Optionally, the backlight dimming module 30 is further used for:
[0135] Determine the maximum grayscale value of each low-frequency sub-region at each level;
[0136] For each level of low-frequency sub-region, the grayscale values in the low-frequency sub-region that do not exceed the grayscale maximum value are summed to obtain a cumulative density function.
[0137] Optionally, the backlight dimming module 30 is further used for:
[0138] A dimming curve is obtained by performing a symmetrical operation on the cumulative density function based on a preset linear function;
[0139] Backlight dimming is performed according to the dimming curve.
[0140] Optionally, the backlight dimming module 30 is further used for:
[0141] Determine the grayscale value of each pixel in the input image after backlight processing according to the dimming curve;
[0142] Calculate the compensation coefficient according to the preset nonlinear curve equation;
[0143] The grayscale value of each pixel is multiplied by the compensation coefficient to obtain a new output brightness value, and the backlight is dimmed according to the new output brightness value.
[0144] Optionally, the image segmentation module 10 is further used for:
[0145] Input the input image to a preset linear filter for processing;
[0146] The high-frequency information and low-frequency information of the input image are separated by a linear filter to obtain a high-frequency detail pixel area and a low-frequency brightness pixel area.
[0147] The backlight dimming device provided in the embodiment of the present application adopts the backlight dimming method in the above embodiment, which can reduce the power consumption of the Mini LED backlight without affecting the image quality. Compared with the prior art, the beneficial effects of the backlight dimming device provided in the embodiment of the present application are the same as the beneficial effects of the backlight dimming method provided in the above embodiment, and other technical features in the backlight dimming device are the same as the features disclosed in the backlight dimming method in the above embodiment, which will not be repeated here.
[0148] An embodiment of the present application provides a display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the backlight dimming method in the above-mentioned embodiment one.
[0149] Reference below Figure 5, which shows a schematic diagram of the structure of a display device suitable for implementing an embodiment of the present application. The display device in the embodiment of the present application may include a mobile terminal and a fixed terminal of an MCU. Figure 5 The display device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0150] like Figure 5 As shown, the display device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the display device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / generation (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; a generation device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the display device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a display device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0151] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0152] The display device provided in the embodiment of the present application adopts the backlight dimming method in the above embodiment, which can reduce the power consumption of the Mini LED backlight without affecting the image quality. Compared with the prior art, the beneficial effects of the display device provided in the embodiment of the present application are the same as the beneficial effects of the backlight dimming method provided in the above embodiment, and the other technical features in the display device are the same as the features disclosed in the backlight dimming method in the previous embodiment, which will not be repeated here.
[0153] It should be understood that the various parts disclosed in the embodiments of the present application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0154] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0155] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer program) stored thereon, and the computer-readable program instructions are used to execute the backlight dimming method in the above embodiment.
[0156] The computer-readable storage medium provided in the embodiment of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0157] The computer-readable storage medium may be included in the display device; or may exist independently without being assembled into the display device.
[0158] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the display device, the display device: divides the input image into a high-frequency detail pixel area and a low-frequency brightness pixel area; determines the image division level according to the grayscale value distribution of the high-frequency detail pixel area, and divides the low-frequency brightness pixel area according to the image division level to obtain multiple low-frequency sub-areas of different levels; calculates the cumulative density function of the low-frequency sub-areas of each level, and performs backlight dimming according to the cumulative density function.
[0159] The computer program code for performing the operation of the embodiment of the present application can be written in one or more programming languages or a combination thereof, and the above-mentioned programming languages include object-oriented programming languages, such as Java, Smalltalk, C++, and also include conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0160] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0161] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0162] The readable storage medium provided in the embodiment of the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned backlight dimming method, and can reduce the power consumption of the Mini LED backlight without affecting the image quality. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the backlight dimming method provided in the above-mentioned embodiment, and will not be repeated here.
[0163] The present application also provides a computer program product, including a computer program, which implements the steps of the backlight dimming method as described above when the computer program is executed by a processor.
[0164] The computer program product provided by this application can reduce the power consumption of Mini LED backlight without affecting the image quality. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the backlight dimming method provided by the above embodiment, which will not be repeated here.
[0165] The above are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A backlight dimming method, characterized in that: The backlight dimming method comprises: Segment the input image into high-frequency detail pixel regions and low-frequency brightness pixel regions; Determining an image division level according to the grayscale value distribution of the high-frequency detail pixel area, and performing image division on the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels; The cumulative density function of the low-frequency sub-regions of each level is calculated, and the backlight dimming is performed according to the cumulative density function.
2. The backlight dimming method according to claim 1, wherein: The step of determining the image division level according to the gray value distribution of the high-frequency detail pixel area comprises: grayscale the high-frequency detail pixel area, and divide the grayscale-processed high-frequency detail pixel area into a plurality of high-frequency sub-areas; Obtaining the grayscale value distribution of each of the high-frequency sub-regions, and calculating the grayscale value threshold of each of the high-frequency sub-regions according to the grayscale value distribution; The high-frequency detail pixel area is divided into images according to the gray value threshold, and the image division level is determined.
3. The backlight dimming method according to claim 2, wherein: The step of obtaining the gray value distribution of each of the high-frequency sub-regions and calculating the gray value threshold of each of the high-frequency sub-regions according to the gray value distribution includes: Obtaining the grayscale value distribution of each of the high-frequency sub-regions, and calculating the sum of the grayscale values of the pixels in each of the high-frequency sub-regions according to the grayscale value distribution; Obtaining the total number of pixels in each of the high-frequency sub-regions; Calculating an initial gray value threshold according to the sum of the gray values of the pixels in each of the high-frequency sub-regions and the total number of pixels; An iterative algorithm is used to determine the grayscale value threshold of each of the high-frequency sub-regions based on the initial grayscale value threshold.
4. The backlight dimming method according to claim 1, wherein: The step of calculating the cumulative density function of the low-frequency sub-regions of each level comprises: Determine the maximum grayscale value of each low-frequency sub-region at each level; For each level of low-frequency sub-region, the grayscale values in the low-frequency sub-region that do not exceed the grayscale maximum value are summed to obtain a cumulative density function.
5. The backlight dimming method according to claim 1, wherein: The step of performing backlight dimming according to the cumulative density function comprises: Performing a symmetrical operation on the cumulative density function based on a preset linear function to obtain a dimming curve; Backlight dimming is performed according to the dimming curve.
6. The backlight dimming method according to claim 5, characterized in that: The step of performing backlight dimming according to the dimming curve includes: Determine the grayscale value of each pixel in the input image after backlight processing according to the dimming curve; Calculate the compensation coefficient according to the preset nonlinear curve equation; Each of the pixel grayscale values is multiplied by the compensation coefficient to obtain a new output brightness value, and backlight dimming is performed according to the new output brightness value.
7. The backlight dimming method according to claim 1, wherein: The step of dividing the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region comprises: Input the input image to a preset linear filter for processing; The high-frequency information and the low-frequency information of the input image are separated by the linear filter to obtain a high-frequency detail pixel area and a low-frequency brightness pixel area.
8. A backlight dimming device, characterized in that: The backlight dimming device comprises: An image segmentation module is used to segment the input image into a high-frequency detail pixel region and a low-frequency brightness pixel region; An image division module, used to determine an image division level according to the gray value distribution of the high-frequency detail pixel area, and to perform image division on the low-frequency brightness pixel area according to the image division level to obtain a plurality of low-frequency sub-areas of different levels; The backlight dimming module is used to calculate the cumulative density function of the low-frequency sub-regions of each level and perform backlight dimming according to the cumulative density function.
9. A display device, characterized in that: The display device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the backlight dimming method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the backlight dimming method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Image color correcting method and device
CN107863060A
Backlight compensation method and device for liquid crystal display image, storage medium and terminal
CN111105756A
Dimming method and display device
CN113362777A
Image processing method and device, image processing equipment and storage medium
CN115052111A
Image compensation method, image display method and display equipment
CN117174047A
Cited By
Partition dimming method and device based on image region features, equipment and medium
CN120673716A