(19)
(11)EP 3 779 953 A1

(12)EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43)Date of publication:
17.02.2021 Bulletin 2021/07

(21)Application number: 18911847.4

(22)Date of filing:  11.12.2018
(51)International Patent Classification (IPC): 
G09G 3/34(2006.01)
(86)International application number:
PCT/CN2018/120347
(87)International publication number:
WO 2019/184447 (03.10.2019 Gazette  2019/40)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
KH MA MD TN

(30)Priority: 27.03.2018 CN 201810257193

(71)Applicant: Shenzhen Skyworth-RGB Electronic Co., Ltd.
Shenzhen, Guangdong 518057 (CN)

(72)Inventor:
  • LIN, Yilin
    Guangdong 518057 (CN)

(74)Representative: Osterhoff, Utz 
Bockermann Ksoll Griepenstroh Osterhoff Patentanwälte Bergstraße 159
44791 Bochum
44791 Bochum (DE)

  


(54)BACKLIGHT CONTROL METHOD, DEVICE, AND COMPUTER READABLE STORAGE MEDIUM


(57) Disclosed are a backlight control method, a backlight control device and a computer-readable storage medium. The backlight control method includes the following steps: acquiring each pixel of each area in an image (S10); calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting (S20); and sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen (S30). The backlight control method calculates a backlight value to perform backlight compensation on the image, and adjusts the liquid crystal cells of the liquid crystal display screen, thereby improving the contrast and ensuring the distortion of the image, and the algorithm is simple.




Description


[0001] The present application relates to the technical field of liquid crystal display screens, in particular to a backlight control method, a backlight control device, and a computer-readable storage medium.

Background



[0002] Nowadays, LCD screens have become the mainstream technology of flat panel displays due to their low power consumption, light weight, thin thickness, and gorgeous color display. They are widely used in our daily electronic products, such as laptops, mobile phones, GPS, home TV, etc. Since the LCD screen itself does not emit light by itself, a backlight is needed to be set behind the projection type LCD panel, and then the effect of the video image is modulated through the probability of the transmitted light through the LED liquid crystal cell, so as to achieve the desired display images of dynamic scenes. At present, because of the advantages of low power consumption, long life, environmental protection, and strong controllability, the light-emitting diode backlight of the liquid crystal display has gradually replaced the traditional cold-light cathode tube backlight. It is essential to overcome and improve the inherent nature of the liquid crystal display to ensure the quality of the picture.

[0003] At present, the backlight control method of the liquid crystal display in the prior art determines the backlight degree through the maximum value algorithm, the average value algorithm, and the square root algorithm, while the maximum value algorithm has regional optical crosstalk, which causes image distortion in some areas; the backlight degree determined by the average value algorithm will cause the image to be darker for the entire image; and the square root algorithm will cause the backlight brightness after the light compensation in the dark scene area to be too high, causing picture distortion. Therefore, the current backlight control method cannot guarantee the image contrast and distortion at the same time, and the algorithm is complicated.

[0004] The above content is only used to help understand the technical solution of the present application, and does not mean that the above content is recognized as prior art.

SUMMARY



[0005] The main object of the present application is to provide a backlight control method, which aims to solve the technical problem that the existing backlight control method cannot guarantee the image contrast and distortion at the same time.

[0006] To achieve the above object, the present application provides a backlight control method, which includes:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.



[0007] Optionally, the step of calculating a first backlight value based on the pixel includes:

calculating a grayscale value of each pixel by using a maximum value algorithm;

calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.



[0008] Optionally, the step of threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting includes:

determining whether the first backlight value includes a backlight value less than a preset threshold;

in a determination that the first backlight value includes the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

taking a backlight value not less than the preset threshold as the third backlight value.



[0009] Optionally, the step of performing backlight compensation on the image based on the third backlight value includes:

calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.



[0010] Optionally, the step of calculating a backlight compensation value based on the average value and the variance includes:

determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold,

calculating the backlight compensation value based on a second preset formula.



[0011] Optionally, subsequent to the step of determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold, the backlight control method further includes:
in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.

[0012] Optionally, subsequent to the step of in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula, the backlight control method further includes:

threshold-limiting the backlight compensation value by using a third preset formula, and obtaining a final backlight compensation value; and

performing backlight compensation on the image based on the final backlight compensation value.



[0013] Optionally, subsequent to the step of sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen, the backlight compensation method further includes:

acquiring pixel values of all pixels in the image after backlight compensation;

determining a brightness area and a darkness area based on the pixel values;

opening a liquid crystal cell in a cell of the brightness area; and

turning off or reducing a voltage of a cell of the darkness area.



[0014] In addition, in order to achieve the above object, the present application further provides a backlight control device, which includes: a memory, a processor, and a backlight control program stored on the memory and operable on the processor, the backlight control program, when executed by the processor, implements the steps of the above mentioned backlight control method.

[0015] In addition, in order to achieve the above object, the present application further provides a computer-readable storage medium, a backlight control program is stored on the computer-readable storage medium, the backlight control program, when executed by a processor, implements the steps of the above mentioned backlight control method.

[0016] The present application provides a backlight control method, a backlight control device, and a computer-readable storage medium. Each pixel of each area in an image is acquired, a first backlight value is calculated based on the pixel, the first backlight value is threshold-limited to obtain a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting, and finally the second backlight value is sent to the backlight control circuit, the image is subjected to backlight compensation based on the third backlight value, and the image after backlight compensation is sent to the LCD screen. In this way, the image is subjected to backlight compensation by the calculation of the backlight value, and the liquid crystal cells of the LCD screen are adjusted, thereby improving the contrast, restoring the image well, and ensuring the distortion of the image, and the algorithm is simple.

Brief description of the drawings



[0017] 

FIG. 1 is a schematic structural diagram of a terminal to which a backlight control device belongs in a hardware operating environment according to an embodiment of the present application;

FIG. 2 is a schematic flowchart according to a first embodiment of a backlight control method of this application;

FIG. 3 is a schematic flowchart of a detailed process of the step of calculating a first backlight value based on the pixel point according to a second embodiment of the backlight control method of the present application;

FIG. 4 is a schematic flowchart of a detailed process of the step of threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting according to a third embodiment of the backlight control method of the present application;

FIG. 5 is a schematic flowchart of a detailed process of the step of performing backlight compensation on the image based on the third backlight value according to a fourth embodiment of the backlight control method of the present application;

FIG. 6 is a schematic flowchart of a detailed process of the step of calculating a backlight compensation value based on the average value and the variance according to a fifth embodiment of the backlight control method of the present application;

FIG. 7 is a schematic flowchart according to a sixth embodiment of the backlight control method of this application;

FIG. 8 is a schematic flowchart according to a seventh embodiment of the backlight control method of this application; and

FIG. 9 is a schematic flowchart according to an eighth embodiment of the backlight control method of this application.



[0018] The implementation, functional characteristics and advantages of the present application will be further described in conjunction with the embodiments and with reference to the drawings.

Detailed description of the embodiments



[0019] It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0020] As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal to which a backlight control device belongs in a hardware operating environment according to an embodiment of the present application.

[0021] In this embodiment of the present application, the terminal may be a PC. As shown in FIG. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is configured to implement connection communication between these components. The user interface 1003 may include a display, an input unit such as a keyboard, and optionally the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.

[0022] Optionally, the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Sensors may be light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As a kind of motion sensor, the gravity acceleration sensor may detect the magnitude of acceleration in the direction (generally three axes), and may detect the magnitude and direction of gravity when at rest, and may be configured to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc. Certainly, the mobile terminal may further be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. which will not be repeated here.

[0023] Those skilled in the art may understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and more or fewer components than those illustrated may be included, or certain components may be combined, or different components may be arranged.

[0024] As shown in FIG. 1, the memory 1005 as a computer storage medium may include an operation server, a network communication module, a user interface module, and a program.

[0025] In the terminal shown in FIG. 1, the network interface 1004 is mainly configured to connect to the back-end server and perform data communication with the back-end server; the user interface 1003 is mainly configured to connect to the client (user end) and perform data communication with the client; and the processor 1001 may be configured to call a program stored in the memory 1005.

[0026] In this embodiment, the device includes: a memory 1005, a processor 1001, and a program stored on the memory 1005 and executable on the processor 1001, where the processor 1001 calls the program stored in the memory 1005 to implement the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.



[0027] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:

[0028] calculating a grayscale value of each pixel by using a maximum value algorithm;
calculating an average grayscale value by using an average value algorithm based on the grayscale value; and
correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.

[0029] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:
determining whether the first backlight value includes a backlight value less than a preset threshold;
in a determination that the first backlight value includes the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and
taking a backlight value not less than the preset threshold as the third backlight value.

[0030] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:

calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.



[0031] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:

determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula.



[0032] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:
in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.

[0033] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:

threshold-limiting the backlight compensation value by using a third preset formula, and obtaining a final backlight compensation value; and

performing backlight compensation on the image based on the final backlight compensation value.



[0034] Further, the processor 1001 may call the backlight control program stored in the memory 1005 to further implement the following steps:

acquiring pixel values of all pixels in the image after backlight compensation;

determining a brightness area and a darkness area based on the pixel values;

opening a liquid crystal cell in a cell of the brightness area; and

turning off or reducing a voltage of a cell of the darkness area.



[0035] The present application further provides a backlight control method. Referring to FIG. 2, FIG. 2 is a schematic flowchart according to a first embodiment of a backlight control method of this application.

[0036] In this embodiment, the backlight control method includes:
Step S10: acquiring a first pixel value of each pixel in an image.

[0037] In this embodiment, the technician divides the image into multiple areas according to actual needs, and pixels in each area are acquired, where the value of the pixel indicates the brightness of the image at that pixel.

[0038] Step S20: calculating a first backlight value based on the first pixel value, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting.

[0039] In this embodiment, a maximum RGB value in all pixels is calculated by using a maximum value algorithm, and the maximum RGB value is taken as a grayscale value of the pixel, and an average grayscale value is calculated by using an average value algorithm. Specifically, firstly a sum of corresponding grayscale values of all pixels is calculated, and then the sum of the grayscale values is divided by a number of pixels to obtain an average grayscale value. The first backlight value is calculated according to a formula set by a technician. The formula may be BL'(i) = Localavg + f(Localavg, Localmax), where BL'(i) is first backlight value, Localavg is average grayscale value, Localmax is pixel grayscale value, and f(Localavg, Localmax) is backlight correction function. The backlight of the entire area is corrected by the backlight correction function. When Localavg is small, it means that the entire area is in a dark scene area, the brightness is small, and the correction value increases less. When Localavg is large, it means that the entire area is in the bright scene area, the brightness is large, and the correction value increases more.

[0040] Further, when the brightness reaches a certain value, the human eye is not highly sensitive to it, so the first backlight value may be backlight-limited by using a set formula BL(i) = min(BLmax, BL(i)), where BLmax is preset threshold, and a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting are obtained by the set formula. The second backlight value subjected to threshold-limiting refers to a backlight value less than the threshold in the first backlight value, and the third backlight value refers to a backlight value not less than the threshold in the first backlight value. The threshold may be set by a technician according to experiment and actual conditions.

[0041] Step S30: sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and outputting the image after backlight compensation to a liquid crystal display screen.

[0042] In this embodiment, the second backlight value is a backlight value subjected to threshold-limiting, and the third backlight value is a backlight value without threshold-limiting. The backlight value subjected to threshold-limiting is sent to a backlight control circuit, and the backlight value without threshold-limiting is sent to a calculation module for calculating the backlight compensation value. Specifically, the average value and the variance of the backlight value without threshold-limiting are calculated, and then it is determined whether the calculated average value and variance meet the corresponding threshold condition. If the corresponding threshold condition is met, the backlight compensation value is obtained by using a preset function. If the corresponding threshold condition is not met, the default backlight compensation value is 1, indicating that no compensation is performed on the image and the image data is sent to the LCD screen.

[0043] Further, a threshold may be set for threshold-limiting the obtained backlight compensation value to obtain a final backlight compensation value, and the final compensation value is sent to the backlight compensation module to perform backlight compensation on the image.

[0044] In the backlight control method according to the present embodiment, each pixel of each area in an image is acquired, a first backlight value is calculated based on the pixel, the first backlight value is threshold-limited to obtain a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting, and finally the second backlight value is sent to the backlight control circuit, the image is subjected to backlight compensation based on the third backlight value, and the image after backlight compensation is output to the LCD screen. In this way, the backlight compensation of the image is realized by the calculation of the backlight value, and the liquid crystal cells of the LCD screen are adjusted, thereby improving the contrast, restoring the image well, and ensuring the distortion of the image, and the algorithm is simple.

[0045] Based on the first embodiment, a second embodiment of the backlight control method of the present application is provided. Referring to FIG. 3, in this embodiment, Step S20 includes:

Step S21: calculating a grayscale value of each pixel by using a maximum value algorithm;

Step S22: calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

Step S23: correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.



[0046] In this embodiment, the grayscale value refers to the color depth of a pixel point in a black and white image, which generally ranges from 0 to 255, white is 255, and black is 0. A maximum RGB value in all pixels is calculated by using a maximum value algorithm, the maximum RGB value is taken as a grayscale value of the pixel, and an average grayscale value is calculated by using an average value algorithm. Specifically, firstly a sum of corresponding grayscale values of all pixels is calculated, and then the sum of the grayscale values is divided by a number of pixels to obtain an average grayscale value. The first backlight value is calculated according to a formula set by a technician. The formula may be BL'(i) = Localavg + f(Localavg, Localmax), where BL'(i) is first backlight value, Localavg is average grayscale value, Localmax is grayscale value of pixel, and f(Localavg, Localmax) is backlight correction function. The backlight of the entire area is corrected by the backlight correction function. When Localavg is small, it means that the entire area is in a dark scene area, the brightness is small, and the correction value increases less. When Localavg is large, it means that the entire area is in the bright scene area, the brightness is large, and the correction value increases more.

[0047] In the backlight control method provided in this embodiment, the grayscale value of each pixel is calculated by using the maximum value algorithm, then the average grayscale value is calculated by using the average value algorithm based on the grayscale value, and finally the backlight of the entire area is corrected based on the backlight correction function to obtain the first backlight value. So that it is realized that the entire area is corrected by using the grayscale value and average grayscale value of the pixel, thereby obtaining the first backlight value.

[0048] Based on the second embodiment, a third embodiment of the backlight control method of the present application is provided. Referring to FIG. 4, in this embodiment, Step S20 includes:

Step S24: determining whether the first backlight value includes a backlight value less than a preset threshold;

Step S25: in a determination that the first backlight value includes the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

Step S26: taking a backlight value not less than the preset threshold as the third backlight value.



[0049] In this embodiment, the first backlight value is backlight-limited according to a set formula. The formula may be BL'(i) = min(BLmax, BL'(i)), where a preset threshold BLmax is set, and the backlight value in the first backlight value is compared with the threshold BLmax to determine whether there is a backlight value less than the preset threshold in the first backlight value, if there is a backlight value less than the preset threshold in the first backlight value, the backlight value less than the preset threshold is taken as the backlight value subjected to threshold-limiting, and the backlight value not less than the preset threshold is taken as the backlight value without threshold-limiting. Where the second backlight value is the backlight value subjected to threshold-limiting, and the third backlight value is the backlight value without threshold-limiting.

[0050] In the backlight control method provided in this embodiment, it is determined whether the first backlight value includes the backlight value less than the preset threshold, and then in a determination that the first backlight value includes the backlight value less than the preset threshold, the backlight value less than the preset threshold is taken as the second backlight value, and finally the backlight value not less than the preset threshold is taken as the third backlight value. So that the backlight limitation of the first backlight value is realized, thereby improving the image contrast, and ensuring the distortion of the image at the same time.

[0051] Based on the third embodiment, a fourth embodiment of the backlight control method of the present application is provided. Referring to FIG. 5, in this embodiment, Step S30 includes:

Step S31: calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

Step S32: calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.



[0052] In this embodiment, the backlight value subjected to threshold-limiting is sent to the backlight control circuit, and the backlight value without threshold-limiting is sent to the calculation module for calculating the corresponding backlight compensation value. Specifically, firstly the average value of the backlight value subjected to threshold-limiting is calculated by using a formula

and the backlight value without threshold-limiting is calculated by using the formula

Where is average value of the backlight value without threshold-limiting, and BLvar is variance of the backlight value without threshold-limiting. When obtaining the average value and the variance, the formula BLcom(i) = f(BL(i), BLmax-n), if BLvar<TvarBLavg<Tavg is used, where BLcom(i) is compensation value of the i-th area, BL(i) is the backlight value without threshold-limiting, BLmax-n is maximum value of N backlight values without threshold-limiting in this area, Tvar is set preset variance threshold, and Tavg is set preset average value threshold. The backlight compensation value is calculated according to the judgment condition, and an average value threshold and a variance threshold are set. If the calculated average value and variance meet the corresponding average value threshold and the variance threshold, then the backlight compensation value is calculated according to the formula, and backlight compensation is performed on the image according to the backlight compensation value. If the calculated average value and variance do not meet the corresponding average value threshold and variance threshold, the default backlight compensation value is 1, indicating that no backlight compensation is required.

[0053] In the backlight control method provided in this embodiment, the average value and the variance of the third backlight value is calculated by using the first preset formula, then the backlight compensation value is calculated based on the average value and the variance, and backlight compensation is performed on the image based on the backlight compensation value. So that backlight compensation is performed on the image, thereby improving contrast.Based on the fourth embodiment, a fifth embodiment of the backlight control method of the present application is provided. Referring to FIG. 6, in this embodiment, Step S32 includes:

Step S321: determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

Step S322: in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula.



[0054] In this embodiment, the backlight value without threshold-limiting is calculated by using a formula

where BLavg is average value of the backlight value without threshold-limiting, and BLvar is variance of the backlight value without threshold-limiting. When the average value and the variance are obtained, the second formula is used:



[0055] Where BLcom(i) is compensation value of the i-th area, BL(i) is the backlight value without threshold-limiting, BLmax-n is maximum value of N backlight values without threshold-limiting in this area, Tvar is set preset variance threshold, and Tavg is set preset average value threshold. The backlight compensation value is calculated according to the judgment condition, and an average value threshold and a variance threshold are set. When the calculated average value is less than the preset average value threshold and/or the calculated variance is less than the preset variance threshold, the backlight compensation value is calculated according to the second formula.

[0056] In the backlight control method provided in this embodiment, it is determined whether the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, and then in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, the backlight compensation value is calculated based on the second preset formula. In this way, the average value and the variance are judged, so that the backlight compensation value may be calculated correctly, thereby improving the contrast of the image.

[0057] Based on the fifth embodiment, a sixth embodiment of the backlight control method of the present application is provided. Referring to FIG. 7, in this embodiment, subsequent to the Step S321, the backlight control method further includes:
Step S323: in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.

[0058] In this embodiment, in the fifth embodiment, if the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, the backlight compensation value is calculated based on the second preset formula. If the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, the default backlight compensation value is 1, indicating that no backlight compensation is performed on the image.

[0059] In the backlight compensation method provided in this embodiment, if the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, no backlight compensation is performed. In this way, the average value and the variance of the backlight value without threshold-limiting are judged, so as to determine whether backlight compensation is needed, thereby performing backlight compensation correctly for the image and improving the image contrast.

[0060] Based on the sixth embodiment, a seventh embodiment of the backlight control method of the present application is provided. Referring to FIG. 8, in this embodiment, subsequent to the Step S322, the backlight control method further includes:

Step S324: determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

Step S325: in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula.



[0061] In this embodiment, if the backlight value without threshold-limiting satisfies the second formula, it indicates that the current image area is a dark scene area, and the overall image is very dark. When a certain area has a very bright block, then the variance of this block is very large. According to the visual characteristics of the human eye, in this case, the image contrast will be stronger without affecting the human eye effect, so no light compensation is required. In order to prevent excessive light compensation, the technician may set a minimum threshold to perform threshold-limiting. The calculated backlight compensation value is subjected to threshold-limiting by using the third formula BL'com(i) = (TBL,BLcom(i)), so as to obtain the final backlight compensation value, and the image is subjected to backlight compensation according to the final backlight compensation value.

[0062] In the backlight control method provided in this embodiment, the backlight compensation value is subjected to threshold-limiting by using the third formula to obtain the final backlight compensation value, and then the image is subjected to backlight compensation according to the final backlight compensation value. In this way, threshold-limiting of the backlight compensation value is realized, avoiding excessive backlight compensation, thereby improving the image contrast and ensuring the distortion of the image.

[0063] Based on the seventh embodiment, an eighth embodiment of the backlight control method of the present application is provided. Referring to FIG. 9, in this embodiment, subsequent to the Step S30, the backlight control method further includes:

Step S40: acquiring pixel values of all pixels in the image after backlight compensation;

Step S50: determining a brightness area and a darkness area based on the pixel values;

Step S60: opening a liquid crystal cell in a cell of the brightness area; and Step S70: turning off or reducing a voltage of a cell of the darkness area.



[0064] In this embodiment, the pixel values of all pixels in the image after backlight compensation are acquired, and the brightness area and the darkness area are determined according to the pixel values. Specifically, the pixel values of each area are determined whether the pixel value of each area is greater than a certain threshold, if the pixel value of a certain area is greater than a certain threshold, the area is a brightness area, and if the pixel value of a certain area is not greater than a certain threshold, the area is a dark area.

[0065] Further, when dividing the darkness area and the brightness area, the brightness of the brightness area is brighter, and the brightness of the darkness area is darker. The liquid crystal cell of the brightness area is turned on, and the liquid crystal cell in the darkness area with darker backlight is turned off, and at the same time, the voltage in the liquid crystal cell is turned off or reduced. In this way, light leakage is prevented while reducing power consumption.

[0066] In the backlight control method provided in this embodiment, the pixel values of all pixels in the image after backlight compensation are acquired, and then the brightness area and the darkness area are determined based on the pixel values, and then the liquid crystal cell in the cell of the brightness area is opened, and finally the voltage of the cell of the darkness area is turned off or reduced. So that debugging of the liquid crystal cell is realized, thereby reducing power consumption and preventing light leakage.

[0067] In addition, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium of this application stores a backlight control program, the backlight control program, when executed by a processor, implements the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.



[0068] Further, the backlight control program, when executed by the processor, further implements the following steps:

calculating a grayscale value of each pixel by using a maximum value algorithm;

calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.



[0069] Further, the backlight control program, when executed by the processor, further implements the following steps:

determining whether the first backlight value includes a backlight value less than a preset threshold;

in a determination that the first backlight value includes the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

taking a backlight value not less than the preset threshold as the third backlight value.



[0070] Further, the backlight control program, when executed by the processor, further implements the following steps:

calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.



[0071] Further, the backlight control program, when executed by the processor, further implements the following steps:

determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold,

calculating the backlight compensation value based on a second preset formula.



[0072] Further, the backlight control program, when executed by the processor, further implements the following steps:
in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.

[0073] Further, the backlight control program, when executed by the processor, further implements the following steps:

threshold-limiting the backlight compensation value by using a third preset formula, and obtaining a final backlight compensation value; and

performing backlight compensation on the image based on the final backlight compensation value.



[0074] Further, the backlight control program, when executed by the processor, further implements the following steps:

acquiring pixel values of all pixels in the image after backlight compensation;

determining a brightness area and a darkness area based on the pixel values;

opening a liquid crystal cell in a cell of the brightness area; and

turning off or reducing a voltage of a cell of the darkness area.



[0075] It should be noted that in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or include elements inherent to this process, method, article, or system. Without more restrictions, the element defined by the sentence "comprise a..." does not exclude that there are other identical elements in the process, method, article or system that includes the element.

[0076] The sequence numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.

[0077] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, Magnetic disk, optical disk as described above), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to implement the method described in each embodiment of the present application.

[0078] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by the description and drawings of the present application, or directly or indirectly used in other related technical fields are similarly included in the patent protection scope of the present application.


Claims

1. A backlight control method, characterized by comprising the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.


 
2. The backlight control method according to claim 1, characterized in that the step of calculating a first backlight value based on the pixel comprises:

calculating a grayscale value of each pixel by using a maximum value algorithm;

calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.


 
3. The backlight control method according to claim 2, characterized in that the step of threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting comprises:

determining whether the first backlight value comprises a backlight value less than a preset threshold;

in a determination that the first backlight value comprises the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

taking a backlight value not less than the preset threshold as the third backlight value.


 
4. The backlight control method according to claim 3, characterized in that the step of performing backlight compensation on the image based on the third backlight value comprises:

calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.


 
5. The backlight control method of claim 4, characterized in that the step of calculating a backlight compensation value based on the average value and the variance comprises:

determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula.


 
6. The backlight control method according to claim 5, characterized in that subsequent to the step of determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold, the backlight control method further comprises:

in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.


 
7. The backlight control method according to claim 5, characterized in that subsequent to the step of in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula, the backlight control method further comprises:

threshold-limiting the backlight compensation value by using a third preset formula, and obtaining a final backlight compensation value; and

performing backlight compensation on the image based on the final backlight compensation value.


 
8. The backlight control method according to claim 7, characterized in that subsequent to the step of sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen, the backlight compensation method further comprises:

acquiring pixel values of all pixels in the image after backlight compensation;

determining a brightness area and a darkness area based on the pixel values;

opening a liquid crystal cell in a cell of the brightness area; and

turning off or reducing a voltage of a cell of the darkness area.


 
9. A backlight control device, characterized by comprising: a memory, a processor, and a backlight control program stored on the memory and operable on the processor, the backlight control program, when executed by the processor, implements the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.


 
10. The backlight control device according to claim 9, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

calculating a grayscale value of each pixel by using a maximum value algorithm;

calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.


 
11. The backlight control device according to claim 10, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

determining whether the first backlight value comprises a backlight value less than a preset threshold;

in a determination that the first backlight value comprises the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

taking a backlight value not less than the preset threshold as the third backlight value.


 
12. The backlight control device according to claim 11, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

calculating an average value of the third backlight value and a variance of the third backlight value by using a first preset formula; and

calculating a backlight compensation value based on the average value and the variance, and performing backlight compensation on the image based on the backlight compensation value.


 
13. The backlight control device according to claim 12, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

determining whether the average value is less than a preset average value threshold and/or the variance is less than a preset variance threshold; and

in a determination that the average value is less than the preset average value threshold and/or the variance is less than the preset variance threshold, calculating the backlight compensation value based on a second preset formula.


 
14. The backlight control device according to claim 13, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

in a determination that the average value is not less than the preset average value threshold and the variance is not less than the preset variance threshold, performing no backlight compensation.


 
15. The backlight control device according to claim 13, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

threshold-limiting the backlight compensation value by using a third preset formula, and obtaining a final backlight compensation value; and

performing backlight compensation on the image based on the final backlight compensation value.


 
16. The backlight control device according to claim 15, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

acquiring pixel values of all pixels in the image after backlight compensation;

determining a brightness area and a darkness area based on the pixel values;

opening a liquid crystal cell in a cell of the brightness area; and

turning off or reducing a voltage of a cell of the darkness area.


 
17. A computer-readable storage medium, characterized in that a backlight control program is stored on the computer-readable storage medium, the backlight control program, when executed by a processor, implements the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.


 
18. The computer-readable storage medium of claim 17, wherein the backlight control program, when executed by the processor, further implements the following steps:

acquiring each pixel of each area in an image;

calculating a first backlight value based on the pixel, threshold-limiting the first backlight value, and obtaining a second backlight value subjected to threshold-limiting and a third backlight value without threshold-limiting; and

sending the second backlight value to a backlight control circuit, performing backlight compensation on the image based on the third backlight value, and sending the image after backlight compensation to a liquid crystal display screen.


 
19. The computer-readable storage medium of claim 18, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

calculating a grayscale value of each pixel by using a maximum value algorithm;

calculating an average grayscale value by using an average value algorithm based on the grayscale value; and

correcting backlight of an entire area based on a backlight correction function, and obtaining the first backlight value.


 
20. The computer-readable storage medium of claim 19, characterized in that the backlight control program, when executed by the processor, further implements the following steps:

determining whether the first backlight value comprises a backlight value less than a preset threshold;

in a determination that the first backlight value comprises the backlight value less than the preset threshold, taking the backlight value less than the preset threshold as the second backlight value; and

taking a backlight value not less than the preset threshold as the third backlight value.


 




Drawing
















Search report