WO2019184447A1 - 背光控制方法、装置及计算机可读存储介质 - Google Patents

背光控制方法、装置及计算机可读存储介质 Download PDF

Info

Publication number
WO2019184447A1
WO2019184447A1 PCT/CN2018/120347 CN2018120347W WO2019184447A1 WO 2019184447 A1 WO2019184447 A1 WO 2019184447A1 CN 2018120347 W CN2018120347 W CN 2018120347W WO 2019184447 A1 WO2019184447 A1 WO 2019184447A1
Authority
WO
WIPO (PCT)
Prior art keywords
backlight
value
threshold
preset
average
Prior art date
Application number
PCT/CN2018/120347
Other languages
English (en)
French (fr)
Inventor
林艺霖
Original Assignee
深圳创维-Rgb电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳创维-Rgb电子有限公司 filed Critical 深圳创维-Rgb电子有限公司
Priority to EP18911847.4A priority Critical patent/EP3779953A4/en
Publication of WO2019184447A1 publication Critical patent/WO2019184447A1/zh
Priority to US17/001,858 priority patent/US11232757B2/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • G09G3/342Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines
    • G09G3/3426Control of illumination source using several illumination sources separately controlled corresponding to different display panel areas, e.g. along one dimension such as lines the different display panel areas being distributed in two dimensions, e.g. matrix
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • G09G3/3611Control of matrices with row and column drivers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0238Improving the black level
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • G09G2320/0646Modulation of illumination source brightness and image signal correlated to each other
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • the present application relates to the field of liquid crystal display technologies, and in particular, to a backlight control method, apparatus, and computer readable storage medium.
  • LCD TVs have become the mainstream technology of flat panel display due to their low power consumption, light weight, thin thickness and bright color display. They are widely used in our daily electronic products. Such as laptops, mobile phones, GPS, home TV, etc. Since the liquid crystal display itself does not emit light by itself, it needs to place a backlight behind the projection type liquid crystal panel, and then modulate the effect of the video image through the probability of transmitting light of the LED liquid crystal unit to achieve the desired display. An image of a dynamic scene. At present, the LED backlight of liquid crystal display has gradually replaced the traditional cold cathode cathode backlight because of its low power consumption, long life, environmental protection and strong controllability. How to overcome and improve the inherentity of liquid crystal display The shortcomings to ensure the quality of the picture.
  • the backlight control method of the liquid crystal display in the prior art determines the backlight by the maximum value algorithm, the average value algorithm, and the square root algorithm, but the maximum value algorithm has a regional optical crosstalk phenomenon, causing partial region image distortion, and the average algorithm determines the backlight.
  • the degree will cause the image to be dark for the whole image, and the square root algorithm will cause the backlight brightness after the light compensation in the dark scene area is too high, causing the picture to be distorted. Therefore, the current backlight control method cannot simultaneously ensure image contrast and distortion, and the algorithm is complicated.
  • the main purpose 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 simultaneously ensure image contrast and distortion.
  • the present application provides a backlight control method, and the backlight control method includes:
  • the step of calculating the first backlight value based on the pixel point includes:
  • the backlight of the entire area is corrected based on the backlight correction function to obtain the first backlight value.
  • the step of thresholding the first backlight value to obtain a threshold value defined second backlight value and an undefined third backlight value comprises:
  • a backlight value smaller than the preset threshold exists in the first backlight value
  • a backlight value smaller than the preset threshold is used as the second backlight value
  • a backlight value not less than the preset threshold is used as the third backlight value.
  • the step of performing backlight compensation on the image based on the third backlight value comprises:
  • a backlight compensation value is calculated based on the average value and the variance, and the image is backlight compensated based on the backlight compensation value.
  • the step of calculating the backlight compensation value based on the average value and the variance includes:
  • the backlight compensation value is calculated based on the second preset formula.
  • the backlight control method further includes:
  • the backlight Control methods also include:
  • the backlight compensation value is threshold-defined by using a third preset formula to obtain a final backlight compensation value
  • the image is backlit compensated based on the final backlight compensation value.
  • the sending the second backlight value to the backlight control circuit, performing backlight compensation on the image based on the third backlight value, and transmitting the backlight compensated image to the liquid crystal display, the backlight Compensation methods also include:
  • the voltage of the darkness area cell is turned off or reduced.
  • the present application further provides a backlight control apparatus, the backlight control apparatus including: a memory, a processor, and a backlight control program stored on the memory and operable on the processor, The steps of the backlight control method as described above are implemented when the backlight control program is executed by the processor.
  • the present application further provides a computer readable storage medium having a backlight control program stored thereon, and the backlight control program is implemented by a processor to implement backlight control as described above. The steps of the method.
  • the present application provides a backlight control method and apparatus computer readable storage medium, by acquiring respective pixel points of respective regions in an image, and then calculating a first backlight value based on the pixel points, and thresholding the first backlight value And obtaining a second backlight value that is limited by the threshold and an undefined third backlight value, and finally sending the second backlight value to the backlight control circuit, performing backlight compensation on the image based on the third backlight value, and backlighting
  • the compensated image is sent to the LCD.
  • the calculation of the backlight value is performed to compensate the backlight of the image, and the liquid crystal cell of the liquid crystal display is adjusted, thereby improving the contrast, and the image is restored well, the distortion of the image is ensured, and the algorithm is simple.
  • 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 flow chart of a first embodiment of a backlight control method according to the present application
  • FIG. 3 is a schematic diagram of a refinement process for calculating a first backlight value based on the pixel points in the second embodiment of the backlight control method of the present application;
  • FIG. 4 is a third embodiment of the backlight control method of the present application, and thresholding the first backlight value to obtain a second backlight value limited by a threshold and a third step of an undefined third backlight value.
  • FIG. 5 is a schematic diagram of a refinement process of performing backlight compensation on an image based on the third backlight value in the fourth embodiment of the backlight control method of the present application;
  • FIG. 6 is a schematic flowchart of a step of calculating a backlight compensation value based on the average value and the variance in the fifth embodiment of the backlight control method of the present application;
  • FIG. 7 is a schematic flow chart of a sixth embodiment of a backlight control method according to the present application.
  • FIG. 8 is a schematic flow chart of a seventh embodiment of a backlight control method according to the present application.
  • FIG. 9 is a schematic flow chart of an eighth embodiment of a backlight control method according to the present application.
  • FIG. 1 is a schematic structural diagram of a terminal to which a device belongs in a hardware operating environment according to an embodiment of the present application.
  • the terminal in this embodiment of the present application may be a PC.
  • 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 used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of the acceleration in the direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile terminal can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Let me repeat.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operation server may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call a program stored in the memory 1005.
  • the device includes: a memory 1005, a processor 1001, and a program stored on the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls a program stored in the memory 1005, Do the following:
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • the backlight of the entire area is corrected based on the backlight correction function to obtain the first backlight value.
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • a backlight value smaller than the preset threshold exists in the first backlight value
  • a backlight value smaller than the preset threshold is used as the second backlight value
  • a backlight value not less than the preset threshold is used as the third backlight value.
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • a backlight compensation value is calculated based on the average value and the variance, and the image is backlight compensated based on the backlight compensation value.
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • the backlight compensation value is calculated based on the second preset formula.
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • the backlight compensation value is threshold-defined by using a third preset formula to obtain a final backlight compensation value
  • the image is backlit compensated based on the final backlight compensation value.
  • processor 1001 can call the backlight control program stored in the memory 1005, and also perform the following operations:
  • the voltage of the darkness area cell is turned off or reduced.
  • FIG. 2 is a schematic flow chart of a first embodiment of a backlight control method according to the present application.
  • the backlight control method includes:
  • Step S10 acquiring a first pixel value of each pixel in the image
  • the technician divides the image into a plurality of regions according to actual needs, and acquires pixel points in the respective regions, and the value of the pixel points indicates the brightness of the dot image.
  • Step S20 calculating a first backlight value based on the first pixel value, and performing threshold definition on the first backlight value to obtain a threshold value-defined second backlight value and an undefined third backlight value;
  • the maximum RGB value of all the pixel points is calculated by using the maximum value algorithm, and the maximum RGB value is used as the gray value of the pixel point, and the average gray value is calculated by using the average value algorithm. Specifically, first, The sum of the gray values corresponding to all the pixel points is calculated, and then the gray value is divided by the number of pixel points to obtain an average gray value.
  • BL max is a set threshold
  • a second backlight value limited by the threshold and an undefined third backlight value are obtained by the set formula, wherein the second backlight value limited by the threshold refers to the first backlight
  • the backlight value is less than the threshold value
  • the third backlight value refers to a backlight value that is not less than the threshold value in the first backlight value
  • the threshold value can be set by a technician according to experiments and actual conditions.
  • Step S30 Send the second backlight value to the backlight control circuit, perform backlight compensation on the image based on the third backlight value, and output the backlight compensated image to the liquid crystal display.
  • the second backlight value is a backlight value limited by a threshold
  • the third backlight value is an undefined backlight value
  • the backlight value limited by the threshold is sent to the backlight control circuit, and the undefined backlight value is used.
  • the calculation module calculates the backlight compensation value, specifically, calculating the average value and the variance of the undefined backlight value, and then determining whether the calculated average value and the variance meet the corresponding threshold condition, when the corresponding In the threshold condition, the backlight compensation value is obtained by using the preset function.
  • the default backlight compensation value is 1, indicating that no image compensation is performed, and the image data is sent to the liquid crystal display.
  • the obtained backlight compensation value may be set to a threshold value for threshold determination 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.
  • the backlight control method of the present embodiment obtains a first backlight value based on the pixel points by acquiring respective pixel points of each region in the image, and thresholding the first backlight value to obtain a threshold-defined value. a second backlight value and an undefined third backlight value, and finally sending the second backlight value to the backlight control circuit, performing backlight compensation on the image based on the third backlight value, and outputting the backlight compensated image to the liquid crystal
  • the display screen realizes the backlight value calculation, performs backlight compensation on the image, and adjusts the liquid crystal cell of the liquid crystal display, thereby improving the contrast, and the image is restored well, and the image distortion is ensured, and the image is corrected.
  • the algorithm is simple.
  • step S20 includes:
  • Step S21 calculating a gray value of each of the pixel points by using a maximum value algorithm
  • Step S22 calculating an average gray value by using an average value algorithm based on the gray value
  • Step S23 correcting the backlight of the entire area based on the backlight correction function to obtain the first backlight value.
  • the gray value refers to the color depth of the point in the black and white image
  • the range is generally from 0 to 255
  • the white is 255
  • the black is 0,
  • the maximum RGB value of all the pixels is calculated by the maximum value algorithm
  • the The maximum RGB value is used as the gray value of the pixel
  • the average gray value is calculated by using the average value algorithm. Specifically, the sum of the gray values corresponding to all the pixel points is first calculated, and then the gray value is divided by the pixel point. The number gets the average gray value.
  • the backlight control method proposed in this embodiment calculates a gray value of each of the pixel points by using a maximum value algorithm, and then calculates an average gray value by using an average value algorithm based on the gray value, and finally performs an entire area based on a backlight correction function.
  • the backlight is corrected to obtain the first backlight value; and the entire region is corrected by using the correction according to the gray value and the average gray value of the pixel to obtain the first backlight value.
  • step S20 includes:
  • Step S24 determining whether there is a backlight value less than a preset threshold in the first backlight value
  • Step S25 when there is a backlight value smaller than the preset threshold in the first backlight value, a backlight value smaller than the preset threshold is used as the second backlight value;
  • step S26 a backlight value not less than the preset threshold is used as the third backlight value.
  • the backlight control method of the present embodiment determines whether there is a backlight value smaller than a preset threshold in the first backlight value, and then when there is a backlight value smaller than the preset threshold in the first backlight value, A backlight value that is less than the preset threshold is used as the second backlight value, and a backlight value that is not less than the preset threshold is finally used as the third backlight value; and backlight definition is performed on the first backlight value, thereby improving image contrast. At the same time, the distortion of the image is guaranteed.
  • step S30 includes:
  • Step S31 calculating an average value and a variance of the third backlight value by using a first preset formula
  • 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.
  • the backlight value limited by the threshold is sent to the backlight control circuit, and the undefined backlight value is sent to the calculation module, and the calculation module calculates the corresponding backlight compensation value.
  • the formula is first used. Calculate the average of the backlight values that are limited by the threshold, using the formula Calculate the unrestricted backlight value, where BL avg is the average of the undefined backlight values, and BL var is the variance of the undefined backlight value. When the average and variance are obtained, the formula BL com (i) is used.
  • the backlight control method of the present embodiment calculates a mean value and a variance of the third backlight value by using a first preset formula, and then calculates a backlight compensation value based on the average value and the variance, and based on the backlight compensation value pair
  • the image is backlit compensated; backlight compensation is performed on the image, thereby improving contrast.
  • step S32 includes:
  • Step S321 determining whether the average value and the variance are less than a preset variance threshold and a preset average threshold
  • Step S322 when the average value and the variance are smaller than the preset variance threshold and the preset average threshold, calculate a backlight compensation value based on the second preset formula.
  • BL com (i) f(BL(i), BL max-n ), ifBL var ⁇ T var ⁇ BL avg ⁇ T avg ,
  • T var To set the preset variance threshold T avg is the set preset average threshold, calculate the backlight compensation value according to the judgment condition, set the average threshold and the variance threshold, and when the calculated average value and variance are less than the preset average When the threshold and the preset variance threshold are used, the backlight compensation value is calculated according to the second formula.
  • the backlight control method of the present embodiment determines whether the average value and the variance are less than a preset variance threshold and a preset average threshold, and then when the average value and the variance are smaller than the preset variance threshold and When the preset average threshold is described, the backlight compensation value is calculated based on the second preset formula; the average value and the variance are determined, so that the backlight compensation value is correctly calculated, thereby improving the contrast of the image.
  • step S321 the method further includes:
  • Step S323 when the average value and the variance are not less than the preset variance threshold and the preset average threshold, no backlight compensation is performed.
  • the backlight compensation value is calculated according to the second formula, and when the calculated average value and variance are not When the threshold is less than the preset average threshold and the preset variance value, the default backlight compensation value is 1, indicating that no backlight compensation is performed on the image.
  • the backlight compensation method provided in this embodiment does not perform backlight compensation when the average value and the variance are not less than the preset variance threshold and the preset average threshold; and achieves an undefined backlight value.
  • the average value and the variance are judged to determine whether backlight compensation is required, thereby correcting the backlight of the image and improving the image contrast.
  • step S322 the method further includes:
  • Step S324 determining whether the average value and the variance are less than a preset variance threshold and a preset average threshold
  • Step S325 when the average value and the variance are smaller than the preset variance threshold and the preset average threshold, calculate a backlight compensation value based on the second preset formula.
  • the threshold is defined to obtain a final backlight compensation value, and the image is backlit compensated according to the final backlight compensation value.
  • the backlight control method of the present embodiment is configured to threshold the backlight compensation value by using a third preset formula to obtain a final backlight compensation value, and then perform backlight compensation on the image based on the final backlight compensation value;
  • the backlight compensation value is threshold-limited to avoid excessive backlight compensation, thereby improving image contrast while ensuring image distortion.
  • an eighth embodiment of the backlight control control method of the present application is provided. Referring to FIG. 9, in this embodiment, after step S30, the method further includes:
  • Step S40 obtaining 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 value
  • Step S60 opening a liquid crystal cell in the brightness area cell
  • step S70 the voltage of the dark area cell is turned off or reduced.
  • the pixel values of all the pixels in the image after the backlight compensation are obtained, and the brightness region and the darkness region are determined according to the pixel value. Specifically, the pixel values of the respective regions are determined, and whether the pixel values of the respective regions are determined is If the pixel value of a certain area is greater than a certain threshold, the area is a luminance area. When the pixel value of a certain area is not greater than a certain threshold, the area is a dark area.
  • the brightness area is brighter, the darkness area is darker, the liquid crystal cell of the brightness area is turned on, and the liquid crystal cell is placed in the darker darkness area of the backlight.
  • the liquid crystal cell in the middle is turned off, and at the same time, the voltage in the liquid crystal cell is turned off or reduced, thus preventing light leakage while reducing power consumption.
  • the backlight control method provided in this embodiment obtains a pixel value of all pixels in the image after the backlight is compensated, and then determines a luminance region and a darkness region based on the pixel value, and then opens a liquid crystal cell in the luminance region cell. Finally, the voltage of the dark area cell is turned off or reduced; the liquid crystal cell is debugged, thereby reducing power consumption and preventing light leakage.
  • the embodiment of the present application further provides a computer readable storage medium.
  • the computer readable storage medium of the present application stores a backlight control program, and when the backlight control program is executed by the processor, the following steps are implemented:
  • the backlight of the entire area is corrected based on the backlight correction function to obtain the first backlight value.
  • a backlight value smaller than the preset threshold exists in the first backlight value
  • a backlight value smaller than the preset threshold is used as the second backlight value
  • a backlight value not less than the preset threshold is used as the third backlight value.
  • a backlight compensation value is calculated based on the average value and the variance, and the image is backlight compensated based on the backlight compensation value.
  • the backlight compensation value is calculated based on the second preset formula.
  • the backlight compensation value is threshold-defined by using a third preset formula to obtain a final backlight compensation value
  • the image is backlit compensated based on the final backlight compensation value.
  • the voltage of the darkness area cell is turned off or reduced.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

一种背光控制方法、背光控制装置及计算机可读存储介质,背光控制方法包括以下步骤:获取图像中各个区域的各个像素点(S10);基于像素点计算第一背光值,并对第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值(S20);将第二背光值发送至背光控制电路,基于第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏(S30)。背光控制方法计算背光值对图像进行背光补偿,并对液晶显示屏的液晶单元格进行调整,提高对比度,保证图像失真度,算法简单。

Description

背光控制方法、装置及计算机可读存储介质 技术领域
本申请涉及液晶显示屏技术领域,尤其涉及背光控制方法、装置及计算机可读存储介质。
背景技术
如今,液晶显示屏由于具有功耗比较低、重量比较轻、厚度比较薄、色彩显示比较绚丽等原因,已成为了平板显示的主流技术,被广泛的应用于我们的日常所消费的电子产品中,比如笔记本电脑、移动电话、GPS、家用电视等。由于液晶显示屏本身并不会自己发光,所以它需要在投射型液晶面板后面安置一种背光源,然后透过LED液晶单元的透过光的概率来调制视频图像的效果,以达到想要显示的动态场景的图像。目前,液晶显示的发光二极管背光源,因其具有耗电量低、寿命长、环保、可控性强等优点,已经逐步取代了传统的冷光阴极管背光源,如何克服和改善液晶显示的固有的缺点来保证画面的质量。
目前,现有技术中液晶显示屏的背光控制方法通过最大值算法、平均值算法、平方根算法确定背光度,但最大值算法存在区域光学串扰现象,造成部分区域图像失真,平均值算法确定的背光度对于整个图像来说会造成图像偏暗,平方根算法会造成暗场景区域光补偿之后的背光亮度过高,造成图片失真。所以,目前背光控制方法不能同时保证图像对比度及失真度,且算法复杂。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
发明内容
本申请的主要目的在于提供一种背光控制方法,旨在解现有背光控制方法不能同时保证图像对比度及失真度的技术问题。
为实现上述目的,本申请提供一种背光控制方法,所述背光控制方法包括:
获取图像中各个区域的各个像素点;
基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
可选地,所述基于所述像素点计算第一背光值的步骤包括:
利用最大值算法计算各个所述像素点的灰度值;
基于所述灰度值利用平均值算法计算平均灰度值;
基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
可选地,所述并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值的步骤包括:
确定所述第一背光值中是否存在小于预设阈值的背光值;
当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
将不小于所述预设阈值的背光值作为第三背光值。
可选地,所述基于所述第三背光值对图像进行背光补偿的步骤包括:
利用第一预设公式计算所述第三背光值的平均值及方差;
基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
可选地,所述基于所述平均值及方差计算背光补偿值的步骤包括:
确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
可选地,所述确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值的之后,所述背光控制方法还包括:
当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
可选地,所述当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值的步骤之后,所述背光控制方法还包括:
利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值;
基于所述最终背光补偿值对图像进行背光补偿。
可选地,所述将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏的步骤之后,所述背光补偿方法还包括:
获取背光补偿后图像中所有像素点的像素值;
基于所述像素值确定亮度区域及暗度区域;
打开所述亮度区域单元格中的液晶单元格;
将所述暗度区域单元格的电压关闭或者减小。
此外,为实现上述目的,本申请还提供一种背光控制装置,所述背光控制装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的背光控制程序,所述背光控制程序被所述处理器执行时实现如上所述的背光控制方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有背光控制程序,所述背光控制程序被处理器执行时实现如上所述的背光控制方法的步骤。
本申请提供一种背光控制方法、装置计算机可读存储介质,通过获取图像中各个区域的各个像素点,然后基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值,最后将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。由此实现了对背光值的计算对图像进行背光补偿,并且对液晶显示屏的液晶单元格进行调整,从而提高了对比度,并且很好的还原了图像,保证了图像的失真度,并且该算法简 单。
附图说明
图1是本申请实施例方案涉及的硬件运行环境中背光控制装置所属终端的结构示意图;
图2为本申请背光控制方法第一实施例的流程示意图;
图3为本申请背光控制方法第二实施例中所述基于所述像素点计算第一背光值的细化流程示意图;
图4为本申请背光控制方法第三实施例中所述并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值步骤的细化流程示意图;
图5为本申请背光控制方法第四实施例中所述基于所述第三背光值对图像进行背光补偿步骤的细化流程示意图;
图6为本申请背光控制方法第五实施例中所述基于所述平均值及方差计算背光补偿值步骤的细化流程示意图;
图7为本申请背光控制方法第六实施例的流程示意图;
图8为本申请背光控制方法第七实施例的流程示意图;
图9为本申请背光控制方法第八实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境中装置所属终端的结构示意图。
本申请实施例终端可以是PC。如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比 如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作服务器、网络通信模块、用户接口模块以及程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的程序。
在本实施例中,装置包括:存储器1005、处理器1001及存储在所述存储器1005上并可在所述处理器1001上运行的程序,其中,处理器1001调用存储器1005中存储的程序时,执行以下操作:
获取图像中各个区域的各个像素点;
基于所述像素点计算第一背光值,并对所述第一背光值进行阈值 限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
利用最大值算法计算各个所述像素点的灰度值;
基于所述灰度值利用平均值算法计算平均灰度值;
基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
确定所述第一背光值中是否存在小于预设阈值的背光值;
当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
将不小于所述预设阈值的背光值作为第三背光值。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
利用第一预设公式计算所述第三背光值的平均值及方差;
基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值;
基于所述最终背光补偿值对图像进行背光补偿。
进一步地,处理器1001可以调用存储器1005中存储的背光控制程序,还执行以下操作:
获取背光补偿后图像中所有像素点的像素值;
基于所述像素值确定亮度区域及暗度区域;
打开所述亮度区域单元格中的液晶单元格;
将所述暗度区域单元格的电压关闭或者减小。
本申请进一步提供一种背光控制方法。参照图2,图2为本申请背光控制方法第一实施例的流程示意图。
在本实施例中,该背光控制方法包括:
步骤S10,获取图像中各个像素点的第一像素值;
在本实施例中,技术人员根据实际需求对图像划分为多个区域,并获取各个区域中的像素点,像素点的值表示该点图像的亮度。
步骤S20,基于所述第一像素值计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
在本实施例中,利用最大值算法计算所有像素点中的最大RGB值,并将该最大RGB值作为该像素点的灰度值,并利用平均值算法计算平均灰度值,具体的,首先计算所有像素点对应灰度值之和,然后用该灰度值之后除以像素点个数得到平均灰度值。根据技术人员设定的公式计算第一背光值,该公式可以是,BL'(i)=Local avg+f(Local avg,Local max),其中,BL'(i)为第一背光值,Local avg为平均灰度值,Local max为像素点的灰度值,f(Local avg,Local max)为背光修正函数,利用背光修正函数对整个区域的背光进行修正,当Local avg较小时,说明整个区域在暗场景区域,亮度小,则修正值增加的小,当Local avg较大时,说明整个区域在亮场景区域,亮度大,则修正值增 加的高。
进一步地,当亮度到达某个值时,人眼对其敏感度不高,所以可以对第一背光值利用设定的公式进行背光限定,公式包括,BL(i)=min(BL max,BL'(i))。其中,BL max为设定的阈值,通过该设定的公式得到受到阈值限定的第二背光值及未加限定的第三背光值,其中,受到阈值限定的第二背光值是指第一背光值中小于阈值的背光值,第三背光值是指第一背光值中不小于阈值的背光值,该阈值可以由技术人员根据实验及实际情况进行设置。
步骤S30,将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像输出到液晶显示屏。
在本实施例中,第二背光值为受到阈值限定的背光值,第三背光值为未加限定的背光值,将受到阈值限定的背光值发送至背光控制电路,将未加限定的背光值发送至计算模块,计算模块计算背光补偿值,具体地,对未加限定的背光值进行平均值及方差的计算,然后确定计算得到的平均值及方差是否符合对应的阈值条件,当符合对应的阈值条件时,利用预设函数求得背光补偿值,当不符合对应阈值条件时,则默认背光补偿值为1,表示不对图像进行任何补偿,将图像数据发送至液晶显示屏。
进一步地,对求得的背光补偿值可以设置阈值进行阈值限定,得到最终背光补偿值,将最终补偿值发送至背光补偿模块对图像进行背光补偿。
本实施例提出的背光控制方法,通过获取图像中各个区域的各个像素点;然后基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值,最后将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像输出到液晶显示屏;实现了对背光值的计算对图像进行背光补偿,并且对液晶显示屏的液晶单元格进行调整,从而提高了对比度,并且很好的还原了图像,保证了图像的失真度,并且该算法简单。
基于第一实施例,提出本申请背光控制方法的第二实施例,参照图3,本实施例中,步骤S20包括:
步骤S21,利用最大值算法计算各个所述像素点的灰度值;
步骤S22,基于所述灰度值利用平均值算法计算平均灰度值;
步骤S23,基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
在本实施例中,灰度值指黑白图像中点的颜色深度,范围一般从0到255,白色为255,黑色为0,利用最大值算法计算所有像素点中的最大RGB值,并将该最大RGB值作为该像素点的灰度值,并利用平均值算法计算平均灰度值,具体的,首先计算所有像素点对应灰度值之和,然后用该灰度值之后除以像素点个数得到平均灰度值。根据技术人员设定的公式计算第一背光值,该公式可以是,BL'(i)=Local avg+f(Local avg,Local max),其中,BL'(i)为第一背光值,Local avg为平均灰度值,Local max为像素点的灰度值,f(Local avg,Local max)为背光修正函数,利用背光修正函数对整个区域的背光进行修正,当Local avg较小时,说明整个区域在暗场景区域,亮度小,则修正值增加的小,当Local avg较大时,说明整个区域在亮场景区域,亮度大,则修正值增加的高。
本实施例提出的背光控制方法,通过利用最大值算法计算各个所述像素点的灰度值,然后基于所述灰度值利用平均值算法计算平均灰度值,最后基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值;实现了利用修正根据像素点的灰度值及平均灰度值对整个区域进行修正,从而得到第一背光值。
基于第二实施例,提出本申请背光控制控制方法的第三实施例,参照图4,本实施例中,步骤S20包括:
步骤S24,确定所述第一背光值中是否存在小于预设阈值的背光值;
步骤S25,当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
步骤S26,将不小于所述预设阈值的背光值作为第三背光值。
在本实施例中,根据设定的公式对第一背光值进行背光限定,该公式可以是BL(i)=min(BL max,BL'(i)),其中,设定一个预设阈值BL max,将第一背光值中的背光值与阈值BL max进行比较,确定第一背光值中是否存在小于预设阈值的背光值,当第一背光值中存在小于预设阈值的背光值时,将小于预设阈值的背光值作为受到阈值限定的背光值,将不小于预设阈值的背光值作为未被限定的背光值,其中,第二背光值为受到阈值限定的背光值,第三背光值为未被限定的背光值。
本实施例提出的背光控制方法,通过确定所述第一背光值中是否存在小于预设阈值的背光值,然后当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值,最后将不小于所述预设阈值的背光值作为第三背光值;实现了对第一背光值进行背光限定,从而提高了图像对比度,同时保证了图像的失真度。
基于第三实施例,提出本申请背光控制控制方法的第四实施例,参照图5,本实施例中,步骤S30包括:
步骤S31,利用第一预设公式计算所述第三背光值的平均值及方差;
步骤S32,基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
在本实施例中,将受到阈值限定的背光值发送至背光控制电路,将未加限定的背光值发送至计算模块,计算模块计算对应的背光补偿值,具体地,首先利用公式
Figure PCTCN2018120347-appb-000001
计算受到阈值限定的背光值的平均值,利用公式
Figure PCTCN2018120347-appb-000002
计算未加限定的背光值,其中,BL avg为未加限定的背光值的平均值,BL var为未加限定的背光值的方差,在得到平均值及方差时,利用公式BL com(i)=f(BL(i),BL max-n),ifBL var<T var∪BL avg<T avg,其中,BL com(i)为第i个区域的补偿值,BL(i)为未加限定的背光值,BL max-n为这个分区N个未加限定的背光值中的最大值,T var为设定的预设方差阈值,T avg为设定的预设平均值阈值,根据判断条件计算背光补偿值,设定平均值 阈值及方差阈值,当计算的到的平均值及方差满足对应的平均值阈值及方差阈值时,则根据公式计算背光补偿值,根据背光补偿值对图像进行背光补偿。当计算得到的平均值及方差不满足对应的平均阈值及方差阈值时,则默认背光补偿值为1,表示不需要进行背光补偿。
本实施例提出的背光控制方法,通过利用第一预设公式计算所述第三背光值的平均值及方差,然后基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿;实现了对图像进行背光补偿,从而提高了对比度。
基于第四实施例,提出本申请背光控制控制方法的第五实施例,参照图6,本实施例中,步骤S32包括:
步骤S321,确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
步骤S322,当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
在本实施例中,利用公式
Figure PCTCN2018120347-appb-000003
计算未加限定的背光值,其中,BL avg为未加限定的背光值的平均值,BL var为未加限定的背光值的方差,在得到平均值及方差时,利用第二公式:
BL com(i)=f(BL(i),BL max-n),ifBL var<T var∪BL avg<T avg
其中,BL com(i)为第i个区域的补偿值,BL(i)为未加限定的背光值,BL max-n为这个分区N个未加限定的背光值中的最大值,T var为设定的预设方差阈值,T avg为设定的预设平均值阈值,根据判断条件计算背光补偿值,设定平均值阈值及方差阈值,当计算得到的平均值及方差小于预设平均阈值及预设方差阈值时,则根据第二公式计算背光补偿值。
本实施例提出的背光控制方法,通过确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值,然后当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值;实现了对平均值及方差进行判断,从而正确计算背光补偿值,进而提高图像的对比度。
基于第五实施例,提出本申请背光控制控制方法的第六实施例,参照图7,本实施例中,步骤S321之后,还包括:
步骤S323,当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
在本实施例中,在第五实施例中,当见计算得到的平均值及方差小于平均值阈值及方差阈值时,则根据第二公式计算背光补偿值,当计算得到的平均值及方差不小于预设平均值阈值及预设方差值时,则默认背光补偿值为1,表明不对图像进行任何背光补偿。
本实施例提出的背光补偿方法,通过当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿;实现了对未限定的背光值的平均值及方差的判断,从而判断是否需要背光补偿,进而对图像进行正确的背光补偿,提高了图像对比度。
基于第六实施例,提出本申请背光控制控制方法的第七实施例,参照图8,本实施例中,步骤S322之后,还包括:
步骤S324,确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
步骤S325,当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
在本实施例中,当未加限定的背光值中满足第二公式时,则表明当前图像区域为暗场景区域,整体图像很暗,当某一区域有个很亮的区块时,则这个区块的方差很大,根据人眼的视觉特性,在这种情况下,会觉得图像对比度更强,而不会对人眼效果造成影响,所以不需要进行光补偿。为了防止过度光补偿,技术人员可以设定一个最低阈值来进行阈值限定,利用第三公式BL' com(i)=(T BL,BL com(i)),对计算的到的背光补偿值就行阈值限定,得到最终背光补偿值,根据最终背光补偿值对图像进行背光补偿。
本实施例提出的背光控制方法,通过利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值,然后基于所述最终背光补偿值对图像进行背光补偿;实现了对背光补偿值进行阈值限定,避免过度背光补偿,从而提高了图像对比度,同时保证了图像的失真 度。
基于第七实施例,提出本申请背光控制控制方法的第八实施例,参照图9,本实施例中,步骤S30之后,还包括:
步骤S40,获取背光补偿后图像中所有像素点的像素值;
步骤S50,基于所述像素值确定亮度区域及暗度区域;
步骤S60,打开所述亮度区域单元格中的液晶单元格;
步骤S70,将所述暗度区域单元格的电压关闭或者减小。
在本实施例中,获取背光补偿后图像中所有像素点的像素值,根据该像素值确定亮度区域及暗度区域,具体地,对各个区域的像素值进行判断,判断各个区域的像素值是否大于某一阈值,当某个区域的像素值大于某一阈值时,则该区域为亮度区域,当某个区域的像素值不大于某一阈值时,则该区域为暗度区域。
进一步当,当划分好暗度区域及亮度区域时,亮度区域亮度较亮,暗度区域亮度较暗,打开亮度区域的液晶单元格,而在背光较暗的暗度区域的地方将液晶单元格中的液晶单元关闭,同时,将液晶单元格中的电压关闭或者减小,这样,在降低功耗的同时防止漏光现象。
本实施例提出的背光控制方法,通过获取背光补偿后图像中所有像素点的像素值,然后基于所述像素值确定亮度区域及暗度区域,接着打开所述亮度区域单元格中的液晶单元格,最后将所述暗度区域单元格的电压关闭或者减小;实现了对液晶单元格进行调试,从而降低了功耗,防止了漏光现象。
此外,本申请实施例还提出一种计算机可读存储介质。本申请计算机可读存储介质上存储有背光控制程序,所述背光控制程序被处理器执行时实现如下步骤:
获取图像中各个区域的各个像素点;
基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
利用最大值算法计算各个所述像素点的灰度值;
基于所述灰度值利用平均值算法计算平均灰度值;
基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
确定所述第一背光值中是否存在小于预设阈值的背光值;
当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
将不小于所述预设阈值的背光值作为第三背光值。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
利用第一预设公式计算所述第三背光值的平均值及方差;
基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值;
基于所述最终背光补偿值对图像进行背光补偿。
进一步地,该背光控制程序被所述处理器执行时,还实现如下步骤:
获取背光补偿后图像中所有像素点的像素值;
基于所述像素值确定亮度区域及暗度区域;
打开所述亮度区域单元格中的液晶单元格;
将所述暗度区域单元格的电压关闭或者减小。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种背光控制方法,其中,所述背光控制方法包括以下步骤:
    获取图像中各个区域的各个像素点;
    基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
    将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
  2. 如权利要求1所述的背光控制方法,其中,所述基于所述像素点计算第一背光值的步骤包括:
    利用最大值算法计算各个所述像素点的灰度值;
    基于所述灰度值利用平均值算法计算平均灰度值;
    基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
  3. 如权利要求2所述的背光控制方法,其中,所述并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值的步骤包括:
    确定所述第一背光值中是否存在小于预设阈值的背光值;
    当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
    将不小于所述预设阈值的背光值作为第三背光值。
  4. 如权利要求3所述的背光控制方法,其中,所述基于所述第三背光值对图像进行背光补偿的步骤包括:
    利用第一预设公式计算所述第三背光值的平均值及方差;
    基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
  5. 如权利要求4所述的背光控制方法,其中,所述基于所述平均值及方差计算背光补偿值的步骤包括:
    确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
    当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
  6. 如权利要求5所述的背光控制方法,其中,所述确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值的之后,所述背光控制方法还包括:
    当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
  7. 如权利要求5所述的背光控制方法,其中,所述当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值的步骤之后,所述背光控制方法还包括:
    利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值;
    基于所述最终背光补偿值对图像进行背光补偿。
  8. 如权利要求7所述的背光控制方法,其中,所述将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏的步骤之后,所述背光补偿方法还包括:
    获取背光补偿后图像中所有像素点的像素值;
    基于所述像素值确定亮度区域及暗度区域;
    打开所述亮度区域单元格中的液晶单元格;
    将所述暗度区域单元格的电压关闭或者减小。
  9. 一种背光控制装置,其中,所述背光控制装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的背光控制程序,所述背光控制程序被所述处理器执行时实现以下步骤:
    获取图像中各个区域的各个像素点;
    基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
    将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
  10. 如权利要求9所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    利用最大值算法计算各个所述像素点的灰度值;
    基于所述灰度值利用平均值算法计算平均灰度值;
    基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
  11. 如权利要求10所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    确定所述第一背光值中是否存在小于预设阈值的背光值;
    当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
    将不小于所述预设阈值的背光值作为第三背光值。
  12. 如权利要求11所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    利用第一预设公式计算所述第三背光值的平均值及方差;
    基于所述平均值及方差计算背光补偿值,并基于所述背光补偿值对所述图像进行背光补偿。
  13. 如权利要求12所述的背光控制装置,其中,所述背光控制 程序被所述处理器执行时还实现以下步骤:
    确定所述平均值及所述方差是否小于预设方差阈值及预设平均阈值;
    当所述平均值及所述方差小于所述预设方差阈值及所述预设平均阈值时,基于所述第二预设公式计算背光补偿值。
  14. 如权利要求13所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    当所述平均值及所述方差不小于所述预设方差阈值及所述预设平均阈值时,不进行背光补偿。
  15. 如权利要求13所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    利用第三预设公式对所述背光补偿值进行阈值限定,以得到最终背光补偿值;
    基于所述最终背光补偿值对图像进行背光补偿。
  16. 如权利要求15所述的背光控制装置,其中,所述背光控制程序被所述处理器执行时还实现以下步骤:
    获取背光补偿后图像中所有像素点的像素值;
    基于所述像素值确定亮度区域及暗度区域;
    打开所述亮度区域单元格中的液晶单元格;
    将所述暗度区域单元格的电压关闭或者减小。
  17. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有背光控制程序,所述背光控制程序被处理器执行时实现以下步骤:
    获取图像中各个区域的各个像素点;
    基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
    将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
  18. 如权利要求17所述的计算机可读存储介质,其中,所述背光控制程序被处理器执行时还实现以下步骤:
    获取图像中各个区域的各个像素点;
    基于所述像素点计算第一背光值,并对所述第一背光值进行阈值限定,以得到受到阈值限定的第二背光值及未加限定的第三背光值;
    将所述第二背光值发送至背光控制电路,基于所述第三背光值对图像进行背光补偿,将背光补偿后的图像发送至液晶显示屏。
  19. 如权利要求18所述的计算机可读存储介质,其中,所述背光控制程序被处理器执行时还实现以下步骤:
    利用最大值算法计算各个所述像素点的灰度值;
    基于所述灰度值利用平均值算法计算平均灰度值;
    基于背光修正函数对整个区域的背光进行修正,以得到所述第一背光值。
  20. 如权利要求19所述的计算机可读存储介质,其中,所述背光控制程序被处理器执行时还实现以下步骤:
    确定所述第一背光值中是否存在小于预设阈值的背光值;
    当所述第一背光值中存在小于所述预设阈值的背光值时,将小于所述预设阈值的背光值作为第二背光值;
    将不小于所述预设阈值的背光值作为第三背光值。
PCT/CN2018/120347 2018-03-27 2018-12-11 背光控制方法、装置及计算机可读存储介质 WO2019184447A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18911847.4A EP3779953A4 (en) 2018-03-27 2018-12-11 BACKLIGHT CONTROL METHOD, DEVICE, AND COMPUTER READABLE STORAGE MEDIUM
US17/001,858 US11232757B2 (en) 2018-03-27 2020-08-25 Backlight control method and device, and computer-readable storage medium for improving the contrast, restoring the image, and ensuring the distortion of the image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810257193.7A CN108389553B (zh) 2018-03-27 2018-03-27 背光控制方法、装置及计算机可读存储介质
CN201810257193.7 2018-03-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/001,858 Continuation US11232757B2 (en) 2018-03-27 2020-08-25 Backlight control method and device, and computer-readable storage medium for improving the contrast, restoring the image, and ensuring the distortion of the image

Publications (1)

Publication Number Publication Date
WO2019184447A1 true WO2019184447A1 (zh) 2019-10-03

Family

ID=63072819

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120347 WO2019184447A1 (zh) 2018-03-27 2018-12-11 背光控制方法、装置及计算机可读存储介质

Country Status (4)

Country Link
US (1) US11232757B2 (zh)
EP (1) EP3779953A4 (zh)
CN (1) CN108389553B (zh)
WO (1) WO2019184447A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108389553B (zh) 2018-03-27 2021-01-12 深圳创维-Rgb电子有限公司 背光控制方法、装置及计算机可读存储介质
CN111341272A (zh) * 2018-12-29 2020-06-26 Tcl集团股份有限公司 一种背光控制方法、系统、终端及计算机可读存储介质
CN112687232B (zh) * 2019-10-18 2022-06-10 北京小米移动软件有限公司 Oled显示屏的调光方法和装置、电子设备、存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021944A (zh) * 2007-03-14 2007-08-22 哈尔滨工业大学 基于小波函数的多尺度显微图像分割处理方法
CN105139809A (zh) * 2015-09-01 2015-12-09 青岛海信电器股份有限公司 液晶显示亮度控制方法和装置以及液晶显示设备
CN105788562A (zh) * 2014-12-24 2016-07-20 Tcl集团股份有限公司 一种显示装置的亮度控制方法及系统
CN107342054A (zh) * 2017-07-14 2017-11-10 京东方科技集团股份有限公司 显示装置、显示控制方法及显示控制装置
CN107689215A (zh) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 一种智能显示设备的背光调节方法和装置
US10002567B2 (en) * 2004-06-02 2018-06-19 Sony Corporation Pixel circuit, active matrix apparatus and display apparatus with first and second reference potentials applied to gate and other terminal of drive transistor
CN108389553A (zh) * 2018-03-27 2018-08-10 深圳创维-Rgb电子有限公司 背光控制方法、装置及计算机可读存储介质

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9813855D0 (en) * 1998-06-27 1998-08-26 Univ Derby Image recording apparatus
JP4103850B2 (ja) * 2004-06-02 2008-06-18 ソニー株式会社 画素回路及、アクティブマトリクス装置及び表示装置
WO2011027592A1 (ja) * 2009-09-07 2011-03-10 シャープ株式会社 画像表示装置および画像表示方法
KR101341016B1 (ko) * 2009-12-11 2014-01-07 엘지디스플레이 주식회사 액정 표시 장치의 로컬 디밍 구동 방법 및 장치
TWI517126B (zh) * 2009-12-16 2016-01-11 杜比實驗室特許公司 使用影像資料區段統計屬性之背光控制方法與系統
JP5337757B2 (ja) * 2010-04-28 2013-11-06 日立コンシューマエレクトロニクス株式会社 液晶表示装置及びバックライトの制御方法
CN101866638B (zh) * 2010-07-09 2012-05-30 北京理工大学 一种led背光源驱动控制信号的确定方法
JP5836869B2 (ja) * 2012-04-09 2015-12-24 キヤノン株式会社 表示装置及びその制御方法
WO2013166680A1 (zh) * 2012-05-10 2013-11-14 青岛海信信芯科技有限公司 用于侧导光的区域背光控制方法及背光设备
CN102903340B (zh) * 2012-11-12 2015-11-04 中航华东光电有限公司 液晶显示器基于动态阈值的led动态背光控制方法
CN103077684B (zh) * 2013-01-23 2015-09-16 京东方科技集团股份有限公司 一种背光调节方法、装置和显示屏
JP6108238B2 (ja) * 2013-08-15 2017-04-05 Nltテクノロジー株式会社 制御回路及びその表示装置
CN105469746B (zh) * 2014-06-16 2019-02-26 青岛海信电器股份有限公司 一种液晶屏背光控制装置、液晶电视及mcu芯片
KR101749229B1 (ko) * 2014-12-22 2017-06-20 엘지디스플레이 주식회사 화상 표시 방법 및 화상 표시 장치
CN104505055B (zh) * 2014-12-31 2017-02-22 深圳创维-Rgb电子有限公司 调整背光亮度的方法及装置
CN106297674B (zh) * 2015-05-18 2019-07-26 青岛海信电器股份有限公司 一种背光亮度控制方法、装置及显示设备
CN105047140A (zh) * 2015-07-06 2015-11-11 西安交通大学 一种基于图像内容自适应的动态背光控制系统及方法
US9741305B2 (en) * 2015-08-04 2017-08-22 Apple Inc. Devices and methods of adaptive dimming using local tone mapping
CN105047142B (zh) * 2015-09-01 2017-11-24 青岛海信电器股份有限公司 液晶显示亮度控制方法和装置以及液晶显示设备
US10360868B2 (en) * 2015-12-09 2019-07-23 Hisense Electric Co., Ltd. Image processing method and liquid crystal display device
CN106228935B (zh) * 2016-08-19 2019-01-22 青岛海信电器股份有限公司 一种保持液晶屏幕亮度均匀的方法和显示装置
CN106228936B (zh) * 2016-09-28 2019-01-22 青岛海信电器股份有限公司 背光亮度控制方法、装置及液晶显示设备
US10930223B2 (en) * 2016-12-22 2021-02-23 Dolby Laboratories Licensing Corporation Ambient light-adaptive display management
US10803828B2 (en) * 2017-02-24 2020-10-13 Apple Inc. Locally adaptive backlight control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10002567B2 (en) * 2004-06-02 2018-06-19 Sony Corporation Pixel circuit, active matrix apparatus and display apparatus with first and second reference potentials applied to gate and other terminal of drive transistor
CN101021944A (zh) * 2007-03-14 2007-08-22 哈尔滨工业大学 基于小波函数的多尺度显微图像分割处理方法
CN105788562A (zh) * 2014-12-24 2016-07-20 Tcl集团股份有限公司 一种显示装置的亮度控制方法及系统
CN105139809A (zh) * 2015-09-01 2015-12-09 青岛海信电器股份有限公司 液晶显示亮度控制方法和装置以及液晶显示设备
CN107689215A (zh) * 2016-08-05 2018-02-13 青岛海信电器股份有限公司 一种智能显示设备的背光调节方法和装置
CN107342054A (zh) * 2017-07-14 2017-11-10 京东方科技集团股份有限公司 显示装置、显示控制方法及显示控制装置
CN108389553A (zh) * 2018-03-27 2018-08-10 深圳创维-Rgb电子有限公司 背光控制方法、装置及计算机可读存储介质

Also Published As

Publication number Publication date
CN108389553A (zh) 2018-08-10
EP3779953A1 (en) 2021-02-17
US11232757B2 (en) 2022-01-25
CN108389553B (zh) 2021-01-12
US20200388232A1 (en) 2020-12-10
EP3779953A4 (en) 2021-12-22

Similar Documents

Publication Publication Date Title
KR102040746B1 (ko) 디스플레이 뮤라 교정 방법, 장치, 및 시스템
CN110602473B (zh) 一种白平衡校准方法及装置
US11232757B2 (en) Backlight control method and device, and computer-readable storage medium for improving the contrast, restoring the image, and ensuring the distortion of the image
CN108156533B (zh) 智能电视背光调节方法、智能电视以及存储介质
EP3379822B1 (en) Video enhancement method, terminal, and nonvolatile computer readable storage medium
WO2017113343A1 (zh) 一种调节背光亮度的方法和终端
US9691318B2 (en) Image display method and device and electronic apparatus
CN108615496B (zh) 图像数据处理方法及装置
CN111916032B (zh) 显示面板的伽玛调节方法和装置
US10726793B2 (en) Backlight self-adaptive adjustment method and device
WO2021082542A1 (zh) 区域背光控制方法、显示器及存储介质
CN108806616A (zh) 背光控制方法、装置及计算机可读存储介质
CN105810152A (zh) 显示终端的背光控制方法及装置、电视机
US12094095B2 (en) Image processing method, terminal and non-transitory computer-readable storage medium
CN115223509A (zh) 背光控制方法、装置、显示设备及计算机可读存储介质
CN114067733B (zh) 显示屏校正方法、显示屏校正装置以及显示芯片
CN109729280B (zh) 一种图像处理方法及移动终端
CN112969088A (zh) 投屏控制方法、装置、电子设备和可读存储介质
KR20110099411A (ko) 전자 기기에서 소비전력 감소 방법 및 장치
CN112669768B (zh) Led显示屏亮度调节方法、装置、设备及可读存储介质
CN115691396A (zh) 一种led显示屏显示控制方法、装置、设备及存储介质
CN114416226A (zh) 一种显示调节方法、装置、终端及存储介质
US20200090603A1 (en) Display image adjusting method, display device, and computer readable storage medium
TW202005351A (zh) 電子設備及其處理圖像的方法
CN114822444B (zh) 兼容显示方法、装置、设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18911847

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018911847

Country of ref document: EP

Effective date: 20201027