# Local Dimming Algorithm of Automotive LCD Instrument Based on Otsu and Maximum Entropy

Authors: Tianfu Liu; Chunqiu Tang
Journal: Journal of Nanomaterials
 (2022)

---

## Abstract

In order to reasonably reduce the energy consumption of automotive LCD instrument and improve the display quality, a new local dimming algorithm is proposed in this paper. Firstly, the gray image of the input image is obtained by using the maximum principle, and then, the LED backlight brightness value is obtained by using Otsu method and maximum entropy method. The BMA backlight smoothing algorithm is improved by combining bilinear interpolation algorithm, and the dimming image is obtained by using pixel compensation algorithm based on logarithm. Then, for low brightness images, high brightness images, low contrast images, and high contrast images, typical algorithms are used to simulate and compare, and the image processing effects of various local dimming algorithms are analyzed. Finally, the entropy weight method is used to objectively evaluate the local dimming algorithm. The results show that the new local dimming algorithm reduces the energy consumption and improves the display quality, which verifies the effectiveness of the proposed algorithm.


---

## Body

## 1. Introduction

LCD in automobile liquid crystal instrument is different from OLED. It is a nonautonomous light-emitting display device, which needs to rely on backlight module to provide backlight [1]. Because LED has the characteristics of energy saving, environmental protection, and long service life, the straight down LED backlight module is widely used as its backlight in automotive LCD instruments. However, the output brightness of the traditional backlight is constant, resulting in high energy consumption, poor contrast, and light leakage of the display. In order to solve this series of problems, researchers proposed a local dimming algorithm. The local dimming algorithm divides the image into several partitions, and the backlight source changes accordingly according to the pixel content of the corresponding partition. More basic local dimming algorithms include max method, average method, sqrt method, and standard deviation method [2]. Max method takes the maximum gray value of the corresponding partition as the backlight brightness value, which will not cause obvious loss of details, but the energy-saving effect is poor. The average method takes the average gray value of the corresponding partition as the backlight brightness value. Compared with the max method, the average method has better energy-saving effect, but it is prone to gray truncation. Sqrt method and standard deviation method obtain the backlight brightness value of the corresponding partition on the basis of average method. Compared with average method, sqrt method retains more image details and reduces energy consumption to a certain extent compared with max method, but it is also prone to gray truncation. At the same time, there are typical local dimming algorithms such as error correction method, CDF threshold method, and IMF method [3, 4]. In the error correction method, the weighting coefficient before the correction value is fixed, resulting in some images cannot get the ideal LED backlight brightness value, and the scope of application is limited. Both CDF threshold method and IMF method are suitable for high brightness images and can enhance the contrast of images, but for images with a large proportion of dark scenes, the LED backlight brightness obtained by the two algorithms is low, which is easy to cause excessive pixel compensation and is easy to lose details. In recent years, some scholars have proposed better local dimming algorithms. Wu [5] proposed a new local dimming algorithm that uses the improved hybrid leapfrog algorithm to extract the backlight brightness, which improves the image contrast. Song et al. [6] proposed a local dimming algorithm based on deep learning that directly generates a compensation image from the input image without any backlight dimming level information. Zhang et al. [7] proposed a new adaptive local dimming method to change the backlight brightness value in combination with human visual characteristics. Zhao [8] proposed a local dimming algorithm based on image local brightness. Although some scholars at home and abroad have proposed some local dimming algorithms, there is still much room for improvement in energy saving and improving display quality. This paper presents a local dimming algorithm for automotive LCD instrument, which improves the display quality and reduces the energy consumption.


## 2. A New Local Dimming Algorithm

Otsu method has good processing effect for bimodal image and image edge region in gray histogram. It has the characteristics of simple calculation, high real-time performance, and relatively good processing effect. It is often used to obtain the initial threshold in the field of threshold segmentation. However, because Otsu method only considers the maximization of target and background segmentation when doing threshold segmentation, it is often difficult for Otsu method to obtain a better segmentation threshold for some images whose gray value of target and background is close. Otsu method has a good processing effect for the image with obvious distinction between the background layer and the target layer, that is, the image with double peaks in the gray histogram, and also in the edge area of the gray value of the image. The maximum entropy method and Otsu method have a good complementary effect. They have a good recognition and segmentation effect in the region with low discrimination between the background and the target boundary, while the processing effect in the edge region of gray image is poor [9]. By comprehensively analyzing the advantages and disadvantages of existing local dimming algorithms, this paper proposes a local dimming algorithm based on OTSU and maximum entropy, including local dynamic backlight extraction algorithm, backlight smoothing algorithm, and pixel compensation algorithm.


### 2.1. Backlight Extraction

The specific steps of the new backlight region extraction algorithm are as follows:(1)
Convert the input image into a gray image by using the maximum principleFirstly, this paper uses the maximum principle to gray the input image to obtain the gray image; that is, the maximum value of the red, green, and blue primary colors of each pixel is taken as the gray value of the pixel. By using the maximum principle to obtain the gray value, it can ensure that the brightness value of LED backlight calculated in the subsequent backlight extraction algorithm will not be too low, so as to avoid the impact on the image display effect due to excessive pixel compensation to a great extent. At this time, the three primary colors of red, green, and blue are represented by eight channels, which is 256 levels; the quantization range of the gray value is 0-255, as shown in(1)grayx,y=maxRx,y,Gx,y,Bx,y.In the formula,Rx,y, Gx,y, and Bx,y are the three primary color components of red, green, and blue at the pixel.
(2)
Obtain the first level target value by using Otsu methodAfter obtaining the gray image of the input image, the Otsu method (maximum inter class variance method) is used to adaptively select the first level target value according to the gray image of each image partition. The specific steps are as follows:For an image with a resolution ofA×B, it contains M gray levels 0,1,2,⋯,M−1, and Ni is the number of pixels with gray level i, as shown in
(2)POi=NiAB.In the formula,POi is the gray probability corresponding to the gray level i, where ∑0M−1POi=1 and POi≥0.If the segmentation threshold isf, the gray image pixels are divided into 0,f and f+1,M−1, that is, corresponding to background Back1 and target Back2. P1f and P2f are the total pixel probabilities of background Back1 and target Back2, respectively, and μ1f and μ2f are the average gray values of background Back1 and target Back2, respectively, as shown in
(3)μ1f=∑i=0fiPOiP1f,μ2f=∑i=f+1M−1iPOiP2f,where μ0 is the average gray value of the input image and C is the inter class variance, as shown in
(4)Cf=P1fμ1f−μ02+P2fμ2f‐μ02=P1fP2fμ1f−μ2f2,CG1=max1≤f≤M−1Cf.In the formula,CG1 is the maximum interclass variance and G1 is the target threshold.
(3)
Obtain the secondary target value by using the maximum entropy method On the basis of Otsu methodWithin the range of [90%, 110%] of the primary target value obtained by Otsu method, the secondary target value is obtained by maximum entropy method. The specific steps are as follows:Taking the segmentation thresholdf2 as the boundary, it is divided into two parts: Back3 and Back4, which correspond to gray areas 0,f2 and f2+1,M−1, respectively. Pe1f2 and Pe2f2 are the probability sum of gray levels in two gray areas, respectively.The sum of information entropythtotal of Back3 and Back4 is
(5)thtotalf2=thBack3+thBack4=−∑i=0f2POiPe1lnPOiPe1−∑i=f2+1M−1POiPe2lnPOiPe2.For the flat part of the curve in the gray histogram of the input image, the information entropy is large; the steep region with less gray level information is the region with low complexity and low information entropy. By traversingf2 in the gray range of 0.9G1,1.1G1, the gray level G2 corresponding to the maximum value of thtotalf2 is the secondary target value.
(4)
Calculate the target segmentation thresholdThe target segmentation thresholdG_final is obtained by comprehensively considering the primary target value and secondary target value in steps (2) and (3).
(6)G_final=G1+G22.(5)
Calculate the backlight brightness valueThe area where the gray value is greater thanG_final is regarded as the gain area gain, as shown in Figure 1.Figure 1
Schematic diagram of gain region.After obtaining the gain region, the relevant idea of error correction method is used, as shown in(7)BLgain=meangain,K=BLgain−G_finalBLmax,BLnew=BLavg+K×BLmax−BLavg2255.In the formula,BLgain is the average gray value of the gray image gain area; K is the gain coefficient. Cor is the correction amount obtained by introducing the error correction method, and BLnew is the backlight brightness value of LED lamp obtained by applying the new local dynamic backlight extraction algorithm.


### 2.2. Backlight Smoothing

Due to the light diffusion of LED lights in adjacent zones, it will affect adjacent zones. If the pixel is compensated directly, there will be obvious “block effect” in the image. Therefore, before pixel compensation, backlight smoothing is needed to eliminate the “block effect.” The simulation effect of block effect is shown in Figure2. At present, LSF algorithm and BMA algorithm are widely used for backlight smoothing. Compared with LSF algorithm, BMA algorithm has the advantages of simple operation, less hardware resources, and better backlight smoothing effect. However, because the traditional BMA algorithm uses a simple surrounding image processing when expanding the matrix for smoothing filtering, it will cause some loss to the final backlight smoothing effect. The algorithm adopts bilinear interpolation expansion method when expanding the matrix. This method effectively considers the image information of the original matrix, and the performance of the algorithm is improved.Figure 2
Block effect simulation diagram.The core idea of the improved BMA algorithm is as follows:(1)
The surrounding mirror image is only a simple copy of the boundary, resulting in a large error. The bilinear interpolation algorithm is used to expand the matrix, which fully considers the nearest four vertices around the pixel to be calculated. In the initial matrix expansion, the bilinear interpolation algorithm is used to replace the traditional method of surrounding mirror image to expand the matrix to obtain the expansion matrixBLexp, as shown
(8)BLexp=BLbil1,1BLbil1,2BLbil1,3LBLbil1,cBLbil1,c+1BLbil1,c+2BLbil2,1BLbil2,2BLbil2,3LBLbil2,cBLbil2,c+1BLbil2,c+2BLbil3,1BLbil3,2BLbil3,3LBLbil3,cBLbil3,c+1BLbil3,c+2MMMMMMMBLbilr,1BLbilr,2BLbilr,3LBLbilr,cBLbilr,c+1BLbilr,c+2BLbilr+1,1BLbilr+1,2BLbilr+1,3LBLbilr+1,cBLbilr+1,c+1BLbilr+1,c+2BLbilr+2,1BLbilr+2,2BLbilr+2,3LBLbilr+2,cBLbilr+2,c+1BLbilr+2,c+2.(2)
The backlight smoothing initial expansion matrixBLexp is smoothed by equation (9) to obtain the initial smoothing filter matrix BLfilt(9)BLfilti,j=0.32×BLbili,j+0.1×BLbili,j‐1+BLbili,j+1+0.1×BLbili‐1,j+BLbili+1,j+0.07×BLbili‐1,j‐1+BLbili‐1,j+1+BLbili+1,j‐1+BLbili+1,j+1.(3)
After smoothing the matrix, the nearest neighbor interpolation algorithm is replaced by bilinear interpolation algorithm to double the size of the matrix(4)
Repeat steps (1)~(3) twice. Finally, the bilinear interpolation algorithm is used to expand the smoothing filter matrix to the size of the original image. The comparison of algorithms is shown in Figure3Figure 3
Effect comparison of backlight smoothing algorithm.
(a)
Original image(b)
Backlight image(c)
Traditional BMA(d)
Improved BMA


### 2.3. Pixel Compensation

If the brightness value of LED backlight obtained by the local dynamic backlight extraction algorithm is too small, the traditional pixel compensation algorithm will lead to overcompensation of image pixels, which will lead to gray truncation and poor reliability of the algorithm. This paper proposes a pixel compensation algorithm based on logarithm, which can stretch the low brightness region and enhance the high brightness region, which reduces the distortion of the image to a great extent, as shown in(10)Vx,y=lngraymaxgx,y0.2×e,R′x,y=Vx,y∗Rx,y,G′x,y=Vx,y∗Gx,y,B′x,y=Vx,y∗Bx,y.In the formula,graymax is the maximum gray value of each image partition gray image; gx,y is the backlight smoothing value at pixel x,y obtained by backlight smoothing of LED backlight brightness matrix; Vx,y is the pixel adjustment coefficient.The comparison between traditional pixel compensation algorithm and logarithm-based pixel compensation algorithm is shown in Figure4.Figure 4
Effect comparison of pixel compensation algorithm.
(a)
Original image(b)
Backlight image(c)
Traditional pixel compensation(d)
Improved pixel compensation


## 2.1. Backlight Extraction

The specific steps of the new backlight region extraction algorithm are as follows:(1)
Convert the input image into a gray image by using the maximum principleFirstly, this paper uses the maximum principle to gray the input image to obtain the gray image; that is, the maximum value of the red, green, and blue primary colors of each pixel is taken as the gray value of the pixel. By using the maximum principle to obtain the gray value, it can ensure that the brightness value of LED backlight calculated in the subsequent backlight extraction algorithm will not be too low, so as to avoid the impact on the image display effect due to excessive pixel compensation to a great extent. At this time, the three primary colors of red, green, and blue are represented by eight channels, which is 256 levels; the quantization range of the gray value is 0-255, as shown in(1)grayx,y=maxRx,y,Gx,y,Bx,y.In the formula,Rx,y, Gx,y, and Bx,y are the three primary color components of red, green, and blue at the pixel.
(2)
Obtain the first level target value by using Otsu methodAfter obtaining the gray image of the input image, the Otsu method (maximum inter class variance method) is used to adaptively select the first level target value according to the gray image of each image partition. The specific steps are as follows:For an image with a resolution ofA×B, it contains M gray levels 0,1,2,⋯,M−1, and Ni is the number of pixels with gray level i, as shown in
(2)POi=NiAB.In the formula,POi is the gray probability corresponding to the gray level i, where ∑0M−1POi=1 and POi≥0.If the segmentation threshold isf, the gray image pixels are divided into 0,f and f+1,M−1, that is, corresponding to background Back1 and target Back2. P1f and P2f are the total pixel probabilities of background Back1 and target Back2, respectively, and μ1f and μ2f are the average gray values of background Back1 and target Back2, respectively, as shown in
(3)μ1f=∑i=0fiPOiP1f,μ2f=∑i=f+1M−1iPOiP2f,where μ0 is the average gray value of the input image and C is the inter class variance, as shown in
(4)Cf=P1fμ1f−μ02+P2fμ2f‐μ02=P1fP2fμ1f−μ2f2,CG1=max1≤f≤M−1Cf.In the formula,CG1 is the maximum interclass variance and G1 is the target threshold.
(3)
Obtain the secondary target value by using the maximum entropy method On the basis of Otsu methodWithin the range of [90%, 110%] of the primary target value obtained by Otsu method, the secondary target value is obtained by maximum entropy method. The specific steps are as follows:Taking the segmentation thresholdf2 as the boundary, it is divided into two parts: Back3 and Back4, which correspond to gray areas 0,f2 and f2+1,M−1, respectively. Pe1f2 and Pe2f2 are the probability sum of gray levels in two gray areas, respectively.The sum of information entropythtotal of Back3 and Back4 is
(5)thtotalf2=thBack3+thBack4=−∑i=0f2POiPe1lnPOiPe1−∑i=f2+1M−1POiPe2lnPOiPe2.For the flat part of the curve in the gray histogram of the input image, the information entropy is large; the steep region with less gray level information is the region with low complexity and low information entropy. By traversingf2 in the gray range of 0.9G1,1.1G1, the gray level G2 corresponding to the maximum value of thtotalf2 is the secondary target value.
(4)
Calculate the target segmentation thresholdThe target segmentation thresholdG_final is obtained by comprehensively considering the primary target value and secondary target value in steps (2) and (3).
(6)G_final=G1+G22.(5)
Calculate the backlight brightness valueThe area where the gray value is greater thanG_final is regarded as the gain area gain, as shown in Figure 1.Figure 1
Schematic diagram of gain region.After obtaining the gain region, the relevant idea of error correction method is used, as shown in(7)BLgain=meangain,K=BLgain−G_finalBLmax,BLnew=BLavg+K×BLmax−BLavg2255.In the formula,BLgain is the average gray value of the gray image gain area; K is the gain coefficient. Cor is the correction amount obtained by introducing the error correction method, and BLnew is the backlight brightness value of LED lamp obtained by applying the new local dynamic backlight extraction algorithm.


## 2.2. Backlight Smoothing

Due to the light diffusion of LED lights in adjacent zones, it will affect adjacent zones. If the pixel is compensated directly, there will be obvious “block effect” in the image. Therefore, before pixel compensation, backlight smoothing is needed to eliminate the “block effect.” The simulation effect of block effect is shown in Figure2. At present, LSF algorithm and BMA algorithm are widely used for backlight smoothing. Compared with LSF algorithm, BMA algorithm has the advantages of simple operation, less hardware resources, and better backlight smoothing effect. However, because the traditional BMA algorithm uses a simple surrounding image processing when expanding the matrix for smoothing filtering, it will cause some loss to the final backlight smoothing effect. The algorithm adopts bilinear interpolation expansion method when expanding the matrix. This method effectively considers the image information of the original matrix, and the performance of the algorithm is improved.Figure 2
Block effect simulation diagram.The core idea of the improved BMA algorithm is as follows:(1)
The surrounding mirror image is only a simple copy of the boundary, resulting in a large error. The bilinear interpolation algorithm is used to expand the matrix, which fully considers the nearest four vertices around the pixel to be calculated. In the initial matrix expansion, the bilinear interpolation algorithm is used to replace the traditional method of surrounding mirror image to expand the matrix to obtain the expansion matrixBLexp, as shown
(8)BLexp=BLbil1,1BLbil1,2BLbil1,3LBLbil1,cBLbil1,c+1BLbil1,c+2BLbil2,1BLbil2,2BLbil2,3LBLbil2,cBLbil2,c+1BLbil2,c+2BLbil3,1BLbil3,2BLbil3,3LBLbil3,cBLbil3,c+1BLbil3,c+2MMMMMMMBLbilr,1BLbilr,2BLbilr,3LBLbilr,cBLbilr,c+1BLbilr,c+2BLbilr+1,1BLbilr+1,2BLbilr+1,3LBLbilr+1,cBLbilr+1,c+1BLbilr+1,c+2BLbilr+2,1BLbilr+2,2BLbilr+2,3LBLbilr+2,cBLbilr+2,c+1BLbilr+2,c+2.(2)
The backlight smoothing initial expansion matrixBLexp is smoothed by equation (9) to obtain the initial smoothing filter matrix BLfilt(9)BLfilti,j=0.32×BLbili,j+0.1×BLbili,j‐1+BLbili,j+1+0.1×BLbili‐1,j+BLbili+1,j+0.07×BLbili‐1,j‐1+BLbili‐1,j+1+BLbili+1,j‐1+BLbili+1,j+1.(3)
After smoothing the matrix, the nearest neighbor interpolation algorithm is replaced by bilinear interpolation algorithm to double the size of the matrix(4)
Repeat steps (1)~(3) twice. Finally, the bilinear interpolation algorithm is used to expand the smoothing filter matrix to the size of the original image. The comparison of algorithms is shown in Figure3Figure 3
Effect comparison of backlight smoothing algorithm.
(a)
Original image(b)
Backlight image(c)
Traditional BMA(d)
Improved BMA


## 2.3. Pixel Compensation

If the brightness value of LED backlight obtained by the local dynamic backlight extraction algorithm is too small, the traditional pixel compensation algorithm will lead to overcompensation of image pixels, which will lead to gray truncation and poor reliability of the algorithm. This paper proposes a pixel compensation algorithm based on logarithm, which can stretch the low brightness region and enhance the high brightness region, which reduces the distortion of the image to a great extent, as shown in(10)Vx,y=lngraymaxgx,y0.2×e,R′x,y=Vx,y∗Rx,y,G′x,y=Vx,y∗Gx,y,B′x,y=Vx,y∗Bx,y.In the formula,graymax is the maximum gray value of each image partition gray image; gx,y is the backlight smoothing value at pixel x,y obtained by backlight smoothing of LED backlight brightness matrix; Vx,y is the pixel adjustment coefficient.The comparison between traditional pixel compensation algorithm and logarithm-based pixel compensation algorithm is shown in Figure4.Figure 4
Effect comparison of pixel compensation algorithm.
(a)
Original image(b)
Backlight image(c)
Traditional pixel compensation(d)
Improved pixel compensation


## 3. Effect Verification of Local Dimming Algorithm

On the MATLAB platform, different local dimming algorithms are used to simulate low brightness image, high brightness image, low contrast image, and high contrast image. The resolution of the test image is1920×1080, and image partition is 16×9. The sample image is shown in Figure 5, and the simulation results are shown in Figures 6–9.Figure 5
Sample image.
(a)
Low brightness(b)
High brightness(c)
Low contrast(d)
High contrastFigure 6
Low brightness image simulation diagram.
(a)
Max(b)
Average(c)
Sqrt(d)
SD(e)
ECM(f)
CDF(g)
IMF(h)
NewFigure 7
High brightness image simulation diagram.
(a)
Max(b)
Average(c)
Sqrt(d)
SD(e)
ECM(f)
CDF(g)
IMF(h)
NewFigure 8
Low contrast image simulation diagram.
(a)
Max(b)
Average(c)
Sqrt(d)
SD(e)
ECM(f)
CDF(g)
IMF(h)
NewFigure 9
High contrast image simulation diagram.
(a)
Max(b)
Average(c)
Sqrt(d)
SD(e)
ECM(f)
CDF(g)
IMF(h)
NewAccording to the simulation results, six testers are invited to subjectively evaluate the simulation images according to the five grades of excellent, good, general, substandard, and inferior in the closed dark light environment. The results are shown in Table1.Table 1
Subjective evaluation effect.
MaxAverageSqrtSDECMCDFIMFNewLow brightnessSubstandardSubstandardSubstandardSubstandardSubstandardSubstandardSubstandardGoodHigh brightnessSubstandardGoodGeneralGeneralGeneralGeneralGeneralGoodLow contrastGoodSubstandardGeneralGeneralGeneralGeneralSubstandardGoodHigh contrastGoodGoodGoodGoodGoodGoodGoodGood


## 4. Algorithm Evaluation

### 4.1. Evaluation Index

Based on the comprehensive analysis of the classical objective evaluation methods, this paper proposes to take the energy-saving rate (SER), overflow rate (OFR), and contrast (CR) as the objective evaluation indexes for the regional dimming algorithm, as shown in Table2.Table 2
Objective evaluation index of local dimming algorithm.
IndexCalculation formulaEvaluation significanceSERSER=1‐BL_AVG/255×100%Energy-saving effectOFROFR=OFsum/A×BImage retention effectCRCR=MAXBL/MINBLImage display enhancement effectIn the formula,BL_AVG is the average brightness of all LED backlights corresponding to an input image, and the value range is 0−255; OFsum is the total number of pixel overflow after pixel compensation; MAXBL and MINBL are the maximum and minimum brightness of LED backlight obtained by using the regional dynamic backlight extraction algorithm.


### 4.2. Result Analysis

Three objective evaluation indexes of energy saving rate, overflow rate, and contrast are extracted from the backlight brightness value and backlight compensation pixel value. In this paper, the entropy weight method based on objective indexes is used to evaluate and score the algorithm, eliminate the interference of subjective factors, give weights to each objective evaluation index, and then convert it into the quantification of the quality evaluation of regional dimming algorithm.The evaluation results obtained by entropy weight method are shown in Table3.Table 3
Objective evaluation results.
Low brightnessHigh brightnessLow contrastHigh contrast算法SEROFRCRSUMSEROFRCRSUMSEROFRCRSUMSEROFRCRSUMMax60806069.5360807066.7270817076.3975858079.74Average89507064.8880708581.0980608068.3880808581.86Sqrt71655062.0270807071.1370777074.0775858079.74SD81606064.8770808075.5870708072.0575858079.74ECM70756069.4670807071.1370777074.0775858079.74CDF79656066.8070808075.5870718072.6375858079.74IMF84558069.0270808577.8180628069.5475858581.59New86857080.8680808582.2380828081.3180808581.86Table1 evaluates the image from the subjective visual perception of the tester, and Table 3 analyzes the processing effect of the algorithm from the objective indicators. The consistency between Tables 1 and 3 is good, which verifies the excellent processing effect of the algorithm proposed in this paper on reducing energy consumption and improving display quality.


## 4.1. Evaluation Index

Based on the comprehensive analysis of the classical objective evaluation methods, this paper proposes to take the energy-saving rate (SER), overflow rate (OFR), and contrast (CR) as the objective evaluation indexes for the regional dimming algorithm, as shown in Table2.Table 2
Objective evaluation index of local dimming algorithm.
IndexCalculation formulaEvaluation significanceSERSER=1‐BL_AVG/255×100%Energy-saving effectOFROFR=OFsum/A×BImage retention effectCRCR=MAXBL/MINBLImage display enhancement effectIn the formula,BL_AVG is the average brightness of all LED backlights corresponding to an input image, and the value range is 0−255; OFsum is the total number of pixel overflow after pixel compensation; MAXBL and MINBL are the maximum and minimum brightness of LED backlight obtained by using the regional dynamic backlight extraction algorithm.


## 4.2. Result Analysis

Three objective evaluation indexes of energy saving rate, overflow rate, and contrast are extracted from the backlight brightness value and backlight compensation pixel value. In this paper, the entropy weight method based on objective indexes is used to evaluate and score the algorithm, eliminate the interference of subjective factors, give weights to each objective evaluation index, and then convert it into the quantification of the quality evaluation of regional dimming algorithm.The evaluation results obtained by entropy weight method are shown in Table3.Table 3
Objective evaluation results.
Low brightnessHigh brightnessLow contrastHigh contrast算法SEROFRCRSUMSEROFRCRSUMSEROFRCRSUMSEROFRCRSUMMax60806069.5360807066.7270817076.3975858079.74Average89507064.8880708581.0980608068.3880808581.86Sqrt71655062.0270807071.1370777074.0775858079.74SD81606064.8770808075.5870708072.0575858079.74ECM70756069.4670807071.1370777074.0775858079.74CDF79656066.8070808075.5870718072.6375858079.74IMF84558069.0270808577.8180628069.5475858581.59New86857080.8680808582.2380828081.3180808581.86Table1 evaluates the image from the subjective visual perception of the tester, and Table 3 analyzes the processing effect of the algorithm from the objective indicators. The consistency between Tables 1 and 3 is good, which verifies the excellent processing effect of the algorithm proposed in this paper on reducing energy consumption and improving display quality.


## 5. Discussion

(1)
A new local dimming algorithm for automotive LCD instrument is proposed, which can reduce energy consumption and improve display quality. It mainly includes the comprehensive use of Otsu method and maximum entropy method to determine the brightness value of LED backlight, the improvement of BMA backlight smoothing algorithm by bilinear interpolation, and the pixel compensation algorithm based on logarithm(2)
The new local dimming algorithm and other local dimming algorithms proposed in this paper are simulated and analyzed on four typical images. It is found that the local dimming algorithm proposed in this paper can effectively improve the display quality, which shows that this algorithm has wide applicability(3)
The entropy weight method is used to objectively evaluate the quality of the algorithm, which proves that the local dimming algorithm proposed in this paper can effectively reduce energy consumption and improve the display quality



---

*Source: 5244088-2022-05-25.xml*