WO2018132987A1 - Luminance adjusting method and terminal - Google Patents

Luminance adjusting method and terminal Download PDF

Info

Publication number
WO2018132987A1
WO2018132987A1 PCT/CN2017/071608 CN2017071608W WO2018132987A1 WO 2018132987 A1 WO2018132987 A1 WO 2018132987A1 CN 2017071608 W CN2017071608 W CN 2017071608W WO 2018132987 A1 WO2018132987 A1 WO 2018132987A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
pixel
value
partition
partitions
Prior art date
Application number
PCT/CN2017/071608
Other languages
French (fr)
Chinese (zh)
Inventor
张涛
巫红英
李昌禄
李蒙
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/071608 priority Critical patent/WO2018132987A1/en
Priority to CN201780057986.8A priority patent/CN109716427A/en
Publication of WO2018132987A1 publication Critical patent/WO2018132987A1/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
    • 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

Definitions

  • the present application relates to the field of image processing technologies, and in particular, to a brightness adjustment method and a terminal.
  • HDR High-Dynamic Range
  • Scope based on this, people have proposed a light-emitting diode (LED)-based backlight dynamic dimming technology based on liquid crystal display, that is, according to the content of different regions of the image to adjust the brightness of its corresponding backlight LED lamp, the technology is The most effective way to increase the dynamic range of the display, reduce energy consumption and improve display quality.
  • LED light-emitting diode
  • the LED area backlight dynamic dimming algorithm has a maximum value method, an average value method, and a root mean square method.
  • the maximum value method has poor energy saving effect and cannot effectively improve image contrast, and the average method makes adjustment.
  • the image after the light will have more serious distortion, and the rms method can not improve the image contrast.
  • the dimming effect of the LED area backlight dynamic dimming algorithm is better, and the application is more widely used.
  • Function inversion method, cumulative distribution function threshold method and error correction method wherein the mapping function inversion method and the cumulative distribution function threshold method for the overall low brightness picture, the image after dimming will have obvious distortion, and the error correction The law is not suitable for high-contrast images, and the energy saving rate is not high.
  • the embodiment of the present application provides a brightness adjustment method and a terminal, which improves the image display contrast while reducing the probability of image distortion and improving the image display quality.
  • the embodiment of the present application provides a brightness adjustment method, which is applied to a terminal provided with a liquid crystal display (LCD) using a light emitting diode (LED) as a backlight module, and the method includes:
  • BDR backlight dimming ratio
  • determining a plurality of image partitions of the input image according to a preset partitioning strategy determining a backlight dimming rate BDR of each image partition; and calculating the grayscale maximum value according to the BDR and the pixel points in the respective image partitions
  • Each a backlight luminance value BL of the image partition adjusting LED backlight brightness of the respective image partitions according to BL values of the respective image partitions, and determining each pixel point in each image partition according to BL values of the respective image partitions a target brightness value, and adjusting brightness of the liquid crystal display according to the target brightness value.
  • the determining the backlight dimming rate BDR of each image partition includes:
  • BDG backlight dimming gray level
  • the backlight dynamic dimming method disclosed in the possible design in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, adopts the largest of the three components per pixel.
  • the value as the pixel point gray value accurately reflects the maximum intensity of each pixel point, avoiding the occurrence of clipping distortion in the process of adjusting the brightness of the liquid crystal display according to the target brightness value.
  • the determining, according to the BDG of each image partition, the backlight dimming rate BDR of each image partition includes:
  • the BDR is determined based on the following formula:
  • BGR(i,j) is the backlight dimming gray level of the image partition (i,j)
  • BDR(i,j) is the backlight dimming rate of the image partition (i,j)
  • a and b are presets.
  • the coefficient is related to the content of the input image of the liquid crystal display and the ambient brightness.
  • the calculating the backlight dimming gray level BDG of each image partition according to the gray value of each pixel in each image partition includes:
  • the brightness adjustment method disclosed in the possible design in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, adopts a preset maximum inter-class variance method according to each image.
  • the brightness distribution of the partition adaptively determines the segmentation threshold, and the BDGs of different partitions are obtained by different segmentation thresholds, which reduces the computational complexity, effectively enhances the detailed information reflecting the dark parts of the image, and further improves the image contrast.
  • the calculating the brightness variation coefficient of each image partition according to the segmentation threshold of each image partition includes:
  • the number of pixel points whose gray value is 1 in each image partition is the first data, and the number of pixel points whose gray value is 0 is the second data.
  • the calculating the brightness variation coefficient of each image partition according to the first data and the second data includes:
  • the brightness variation coefficient is calculated based on the following formula:
  • K(i,j) is the luminance variation coefficient of the image partition (i,j)
  • N 1 (i,j) is the first data of the image partition (i,j)
  • N 0 (i,j) is the image The second data of the partition (i, j).
  • the calculating the backlight brightness value BL of each image partition according to the BDR and the gray level maximum value of the pixel points in the respective image partitions includes:
  • the BL value is calculated based on the following formula:
  • BL(i,j) is the backlight luminance value of the image partition (i,j)
  • I max (i,j) is the grayscale maximum of the image partition (i,j).
  • the target brightness value of each pixel in each image partition is determined according to a BL value of each image partition, and the brightness of the liquid crystal display is adjusted according to the target brightness value, including:
  • the liquid crystal pixel compensation process is performed on each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions, and the target brightness value of each pixel point is determined, including :
  • Determining a target luminance component Y value of each pixel point by performing liquid crystal pixel compensation processing on the luminance component Y of each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions.
  • the brightness adjustment method disclosed in the possible design in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, firstly smoothing the BL values of the respective image partitions, Further, the distortion of the image is further weakened, and each pixel is converted into RBG to YCbCr before the liquid crystal compensation process is performed, and then the liquid crystal compensation is performed on the luminance component Y, thereby reducing the defect of apparent partitioning when the brightness is adjusted and displayed. LCD compensation can improve the display quality of the dimmed image and further enhance the image contrast.
  • the liquid crystal pixel compensation process is performed on the luminance component Y of each pixel in each of the image partitions according to the BL value after the smoothing of the respective image partitions, and the target of each pixel is determined.
  • the luminance component Y value including:
  • the liquid crystal pixel compensation processing is performed based on the following formula:
  • Y in the luminance component of each pixel in the respective image section Y, Y out of the target luminance component of each pixel of the liquid crystal after each image compensated partition Y, ⁇ is the gamma factor.
  • an embodiment of the present application discloses a terminal, where the terminal has a function of implementing a behavior of a terminal in the foregoing method design.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the terminal includes a processor configured to support the terminal in performing the corresponding functions of the above methods. Further, the terminal may further include a receiver and a transmitter, and the receiver and the transmitter are used for communication between the terminal and other devices such as a display system of a liquid crystal display with the LED as a backlight module. Further, the terminal may further include a memory for coupling with the processor, which holds program instructions and data necessary for the device.
  • the embodiment of the present application discloses a computer readable storage medium, where the computer readable storage medium stores program code for execution by a computer device, where the program code specifically includes an execution instruction, where the execution instruction is used for Some or all of the steps described in any of the methods of the first aspect of the embodiments of the present application are performed.
  • determining a plurality of image partitions of the input image according to a preset partitioning strategy determining a backlight dimming rate BDR of each image partition; and calculating the grayscale maximum value according to the BDR and the pixel points in the respective image partitions a backlight brightness value BL of each image partition; adjusting LED backlight brightness of each image partition according to BL values of the respective image partitions, and determining each pixel point in each image partition according to BL values of the respective image partitions a target brightness value, and adjusting a brightness of the liquid crystal display according to the target brightness value.
  • FIG. 1A is a schematic flow chart of a brightness adjustment method disclosed in an embodiment of the present application.
  • FIG. 1B is a schematic flowchart of S102 in the flow of the brightness adjustment method described in FIG. 1A disclosed in the embodiment of the present application;
  • 1C is a schematic diagram of a method for calculating a backlight dimming gray level BDG disclosed in an embodiment of the present application
  • 1D is a schematic diagram of a liquid crystal compensation calculation method disclosed in an embodiment of the present application.
  • FIG. 2A is a functional block diagram of a terminal disclosed in an embodiment of the present application.
  • FIG. 2B is a schematic structural diagram of a terminal disclosed in an embodiment of the present application.
  • FIG. 1A is a schematic flowchart of a brightness adjustment method according to an embodiment of the present disclosure.
  • the method is applied to a liquid crystal display (Liquid Crystal) provided with a light emitting diode (LED) as a backlight module.
  • Display, LCD) terminal the terminal may include a smart phone, a tablet computer, a television, a wearable device, and the like, and an electronic device provided with an LED liquid crystal display.
  • the brightness adjustment method includes:
  • the terminal determines, according to a preset partitioning policy, multiple image partitions of the input image.
  • the input image is virtually divided into 24 ⁇ 42 partitions according to a preset partitioning strategy, and the size of each partition is 45 ⁇ 45.
  • the terminal determines a backlight dimming ratio (BDR) of each image partition
  • FIG. 1B is a schematic flowchart of determining, by the terminal, a backlight dimming rate BDR of each image partition.
  • the method for determining, by the terminal, a backlight dimming rate BDR of each image partition includes:
  • the terminal calculates three components of each pixel in each image partition, and uses a maximum value of three components of the pixel as a gray value of the pixel.
  • each pixel The three components of each pixel are red (Red, R), green (Green, G), and blue (Blue, B).
  • the maximum value of the three components of each pixel in each image partition is used as a pixel point gray value, and the image is converted into a gray image according to the gray value of the pixel point, and the transformed gray is transformed.
  • the three component values of each pixel in the degree image are the same, and are the maximum of the three components.
  • the specific implementation manner of converting the RGB image into the grayscale image may be:
  • I gray (m,n) max ⁇ R(m,n), G(m,n),B(m,n) ⁇
  • I gray (m, n) is the gradation value of the pixel at (m, n).
  • the gray value of the pixel that is, converted into a grayscale image. Thereafter, the gray values of the three components of the pixel points R, G, and B are all 70.
  • the terminal calculates a backlight dimming gray level (BDG) of each image partition according to a gray value of each pixel in each image partition.
  • BDG backlight dimming gray level
  • the segmentation threshold is a segmentation threshold T of the image target foreground and the background.
  • the specific implementation manner of calculating the segmentation threshold of each image partition by using a preset maximum inter-class variance method according to the gray value of each pixel in each image partition may be:
  • the preset maximum inter-class variance method firstly records the ratio of the number of pixel points N 0 whose gray value is smaller than T to the total pixel point of the image partition i ⁇ j as w 0 , and the N 0 pixel points
  • the average gray value is ⁇ 0 ;
  • the ratio of the number of pixel points N 1 whose gray value is greater than T to the total pixel point of the image partition i ⁇ j is denoted as w 1 , and the average gray value of the N 1 pixel points is ⁇ 1
  • the inter-class variance of the image is recorded as g, and the size of each partition is recorded as i ⁇ j; then the division threshold T of each image partition is calculated by the following formula:
  • the threshold value corresponding to the maximum variance between the classes is obtained by the traversal method, that is, the obtained segmentation threshold T.
  • the implementation manner of calculating the brightness variation coefficient of each image partition according to the segmentation threshold of each image partition may be:
  • the number of points is the first data, that is, N 1
  • the number of the pixel points whose pixel point gray value is 0 is the second data, that is, N 0 ; according to the first data N 1 and the first
  • the second data N 0 calculates the brightness variation coefficient K of each image partition by the following formula:
  • K(i,j) is the luminance variation coefficient of the image partition (i,j)
  • N 1 (i,j) is the first data of the image partition (i,j)
  • N 0 (i,j) is the image The second data of the partition (i, j).
  • the BDGs of the respective image partitions are determined according to the luminance variation coefficients of the respective image partitions.
  • the specific implementation manner of determining the BDG of each image partition according to the brightness variation coefficient of each image partition may be:
  • the BDGs of the respective image partitions are grayscale values corresponding to K% of all pixel points of the respective image partitions, according to the brightness variation coefficient K of the certain image partition and the Defining a BDG, determining the BDG of the image partition, wherein the gray histogram in the figure is the maximum value of the three components of each pixel in the image partition as a pixel point gray value, according to each The gray value of the pixel points is the statistics of the gray value distribution of the image partition.
  • the BDG when the BDG is large, it indicates that most of the pixels of the image partition have a large gray value, and the partition is a highlighted area; and when the BDG is small, the image partition is indicated. Most of the pixels are in the low gray level range, which is a low light area. Therefore, the BDG can be used as a standard for dividing the image partitions of the input image into high brightness, intermediate brightness and dark areas.
  • the terminal determines, according to the BDG of each image partition, a backlight dimming rate BDR of each image partition;
  • the BDR is calculated based on the following formula:
  • BGR(i,j) is the backlight dimming gray level of the image partition (i,j)
  • BDR(i,j) is the backlight of the image partition (i,j)
  • the dimming rate, a, b are preset coefficients, which are related to the content of the input image of the liquid crystal display and the ambient brightness.
  • the terminal calculates a backlight brightness value (Backlight, BL) of each image partition according to the BDR and a gray maximum value of a pixel point in each image partition;
  • the BL is calculated based on the following formula:
  • BL(i,j) is the backlight luminance value of the image partition (i,j)
  • I max (i,j) is the grayscale maximum of the image partition (i,j).
  • the terminal adjusts, according to a BL value of each image partition, an LED backlight brightness of each image partition.
  • the specific implementation manner that the terminal adjusts the brightness of the LED backlight of each image partition according to the BL value of each image partition may be:
  • the BL values of the respective image partitions are controlled by a Pulse Width Modulation (PWM) technique to control the brightness and darkness of the backlight unit LEDs corresponding to the respective image partitions.
  • PWM Pulse Width Modulation
  • the terminal determines, according to a BL value of each image partition, a target brightness value of each pixel in each image partition, and adjusts a brightness of the liquid crystal display according to the target brightness value.
  • the terminal determines, according to the BL value of each image partition, a target brightness value of each pixel in each image partition, and the specific implementation manner of adjusting the brightness of the liquid crystal display according to the target brightness value may be Yes:
  • each pixel of each image partition needs to be converted into RBG to YCbCr to obtain each pixel in each image partition.
  • the brightness component Y of the point secondly, because the area control of the light source will cause the backlight brightness to be no longer uniform, and the light mixing effect of the backlight causes the light of different image partitions to affect each other, which affects the light reaching the liquid crystal display. Strong distribution and ultimately affect the accuracy of liquid crystal pixel brightness compensation. If the difference in backlight brightness between adjacent partitions is large, the liquid crystal pixel compensated image will have a significant "block effect".
  • each image partition smoothing process is subjected to liquid crystal pixel compensation processing for the luminance component Y of each pixel point of each image partition to determine a target luminance component Y value of each pixel point, and is adjusted according to the target luminance value.
  • the opening degree of each liquid crystal molecule of the liquid crystal display adjusts the brightness of each liquid crystal pixel.
  • Y is the luminance component of the color in YCbCr
  • Cb and Cr are the concentration offset components of blue and red.
  • the target luminance component Y value Y out of each pixel point is calculated based on the following formula:
  • gamma a gamma coefficient
  • the brightness adjustment method disclosed in the embodiment of the present application determines a plurality of image partitions of the input image according to a preset partitioning strategy; determining a backlight dimming rate BDR of each image partition; and determining, according to the BDR, gray of pixels in each image partition a maximum value of the backlight luminance values BL of the respective image partitions; adjusting LED backlight brightness of the respective image partitions according to BL values of the respective image partitions, and determining the respective images according to BL values of the respective image partitions Partition a target brightness value of each pixel point, and adjusting a brightness of the liquid crystal display according to the target brightness value.
  • RMSE calculates the mean square error of all pixel values of the original image and the dimmed image, which reflects the change of the corresponding pixel color between the two images, based on the following formula:
  • Y in (m,n) and Y out (m,n) are the image pixel brightness before and after dimming, respectively.
  • PSNR is used as another image fidelity metric based on the following formula:
  • the image contrast enhancement intensity percentage ⁇ E is calculated based on the following formula:
  • H 90 is a gray level BDG corresponding to 90% of all pixels
  • L 10 is a gray level BDG corresponding to 10% of all pixels
  • CR is the contrast of the dimmed image
  • CR 0 is the original input image Contrast
  • ⁇ E is the percentage of image contrast enhancement intensity.
  • Table 1 records the comparison of the RMSE and PSNR of the CDF threshold method and the solution described in the embodiment of the present application on the image area backlight dimming.
  • Table 2 records the CDF threshold method and the present application.
  • the average value of the PSNR of the image after the dimming of the brightness adjustment method in the embodiment of the present application is 32.38 dB>30 dB, so that the image after dimming can be guaranteed.
  • High display quality the above data demonstrates that the method can also effectively improve image contrast with an average improvement of 14.71%.
  • the image quality is poor after backlight dimming and liquid crystal compensation by CDF threshold method, and only the contrast of high-brightness image is obviously improved, but the improvement is only 3.09%. Therefore, the solution described in the embodiment of the present application improves the image display contrast while reducing the probability of image distortion, thereby improving the image display quality.
  • the terminal includes corresponding hardware structures and/or software modules for performing various functions.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for each particular application to implement the described functionality, but such implementation should not be considered to be beyond the scope of the application.
  • the embodiment of the present application may perform functional unit division on a terminal according to the foregoing method example, for example, corresponding to each Each function divides each functional unit, and it is also possible to integrate two or more functions into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
  • FIG. 2A shows a possible structural diagram of the terminal involved in the above embodiment.
  • the terminal 200 includes a processing unit 202 and a communication unit 203.
  • the processing unit 202 is configured to perform control management on the actions of the terminal.
  • the processing unit 202 is configured to support the terminal to perform steps S101 to 104 in FIG. 1 , steps S1021 to 1023 in FIG. 2 and/or for the techniques described herein.
  • Other processes are used to support communication between the terminal and other devices such as an LED display.
  • the terminal may further include a storage unit 201 for storing program codes and data of the terminal.
  • the processing unit 202 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 203 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces.
  • the storage unit 201 can be a memory.
  • the terminal involved in the embodiment of the present application may be the terminal shown in FIG. 2B.
  • the terminal 210 includes a processor 212, a communication interface 213, a memory 211, and an LED liquid crystal display 214.
  • the terminal 210 may further include a bus 215.
  • the communication interface 213, the processor 212, the memory 211, and the LED liquid crystal display 214 may be connected to each other through a bus 215;
  • the bus 215 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure ( Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 215 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 2B, but it does not mean that there is only one bus or one type of bus.
  • the terminal shown in FIG. 2A or FIG. 2B can also be understood as a device for brightness adjustment, which is not limited in the embodiment of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, Transfer by server or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

Disclosed are a luminance adjusting method and a terminal. The method is applied to the terminal provided with a liquid crystal display screen using an LED as a backlight module, and comprises: determining a plurality of image partitions of an input image according to a preset partition strategy; determining a backlight dimming rate (BDR) of each image partition; calculating a backlight luminance (BL) value of the each image partition according to the BDR and a gray maximum value of pixels in the each image partition; adjusting the LED backlight luminance of the each image partition according to the BL value of the each image partition; and determining a target luminance value of each pixel in each image partition according to the BL value of the each image partition, and determining the luminance of the liquid crystal display screen according to the target luminance value. By means of embodiments of the present application, image display contrast can be improved, the probability of image distortion can be reduced, and the image display quality can be improved.

Description

一种亮度调节方法及终端Brightness adjustment method and terminal 技术领域Technical field
本申请涉及图像处理技术领域,具体涉及了一种亮度调节方法及终端。The present application relates to the field of image processing technologies, and in particular, to a brightness adjustment method and a terminal.
背景技术Background technique
由于高动态范围(High-Dynamic Range,HDR)视频或者图像能够最大程度的再现真实场景的动态范围,它可使得高亮场景更加璀璨自然而较暗区域则可呈现更多细节,给人以最直接的临场感受,因此,伴随着HDR图像和视频的大量涌现,HDR显示***必将成为市场主流,HDR显示器的开发也成为了目前主要的研究方向,而开发HDR显示器的关键就是提高显示器的动态范围,基于此,人们提出了基于液晶显示屏的发光二极管(Light Emitting Diode,LED)区域背光动态调光技术,即根据不同区域图像的内容调整其对应的背光源LED灯的亮度,该技术是提高显示器动态范围,降低能耗和提升显示画质的最有效方法。Since High-Dynamic Range (HDR) video or images can reproduce the dynamic range of the real scene to the greatest extent, it can make the highlight scene more natural and the darker area can present more details, giving the most Direct on-the-spot experience, therefore, with the emergence of HDR images and video, HDR display system will become the mainstream of the market, the development of HDR display has become the main research direction, and the key to developing HDR display is to improve the dynamics of the display. Scope, based on this, people have proposed a light-emitting diode (LED)-based backlight dynamic dimming technology based on liquid crystal display, that is, according to the content of different regions of the image to adjust the brightness of its corresponding backlight LED lamp, the technology is The most effective way to increase the dynamic range of the display, reduce energy consumption and improve display quality.
现有技术中,LED区域背光动态调光算法较为基础的有最大值法、平均值法以及均方根法,其中,最大值法的节能效果差且不能有效提高图像对比度,平均值法使得调光后的图像会出现较为严重的失真情况,而均方根法同样不能较好的提高图像对比度,目前,LED区域背光动态调光技术算法中调光效果较好,应用较为广泛的主要有映射函数反转法、累积分布函数阈值法以及误差修正法,其中,映射函数反转法和累积分布函数阈值法对于整体亮度较低的图片,调光后图像会出现明显的失真情况,而误差修正法则不适应于高对比度图像,且节能率不高。In the prior art, the LED area backlight dynamic dimming algorithm has a maximum value method, an average value method, and a root mean square method. Among them, the maximum value method has poor energy saving effect and cannot effectively improve image contrast, and the average method makes adjustment. The image after the light will have more serious distortion, and the rms method can not improve the image contrast. At present, the dimming effect of the LED area backlight dynamic dimming algorithm is better, and the application is more widely used. Function inversion method, cumulative distribution function threshold method and error correction method, wherein the mapping function inversion method and the cumulative distribution function threshold method for the overall low brightness picture, the image after dimming will have obvious distortion, and the error correction The law is not suitable for high-contrast images, and the energy saving rate is not high.
发明内容Summary of the invention
本申请实施例提供一种亮度调节方法及终端,提高了图像显示对比度的同时还降低图像失真的概率,提升图像显示质量。The embodiment of the present application provides a brightness adjustment method and a terminal, which improves the image display contrast while reducing the probability of image distortion and improving the image display quality.
第一方面,本申请实施例提供一种亮度调节方法,应用于设置有以发光二极管(Light Emitting Diode,LED)作为背光模组的液晶显示屏(Liquid Crystal Display,LCD)的终端,方法包括:In a first aspect, the embodiment of the present application provides a brightness adjustment method, which is applied to a terminal provided with a liquid crystal display (LCD) using a light emitting diode (LED) as a backlight module, and the method includes:
根据预设分区策略确定输入图像的多个图像分区;Determining a plurality of image partitions of the input image according to a preset partitioning strategy;
确定各个图像分区的背光调光率(Backlight Dimming Ratio,BDR);Determining the backlight dimming ratio (BDR) of each image partition;
根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值(Backlight,BL);Calculating a backlight brightness value (Backlight, BL) of each image partition according to the BDR and a gray maximum value of the pixel points in the respective image partitions;
根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度;Adjusting LED backlight brightness of each image partition according to BL values of the respective image partitions;
根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。Determining, according to a BL value of each of the image partitions, a target luminance value of each pixel in each of the image partitions, and adjusting a brightness of the liquid crystal display according to the target luminance value.
由上可见,根据预设分区策略确定输入图像的多个图像分区;确定各个图像分区的背光调光率BDR;根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个 图像分区的背光亮度值BL;根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度,以及根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。可见,通过对不同区域计算各个区域最佳的BDR,满足不同区域对亮度的不同要求,提高了图像对比度,同时,根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的BL,而不是以255作为各个图像分区的灰度最大值计算各个图像分区的BL,解决了图像亮度调节后图像失真的问题,提升了图像显示质量。As can be seen from the above, determining a plurality of image partitions of the input image according to a preset partitioning strategy; determining a backlight dimming rate BDR of each image partition; and calculating the grayscale maximum value according to the BDR and the pixel points in the respective image partitions Each a backlight luminance value BL of the image partition; adjusting LED backlight brightness of the respective image partitions according to BL values of the respective image partitions, and determining each pixel point in each image partition according to BL values of the respective image partitions a target brightness value, and adjusting brightness of the liquid crystal display according to the target brightness value. It can be seen that by calculating the optimal BDR of each region for different regions, the different requirements of different regions are satisfied, and the image contrast is improved, and at the same time, according to the BDR and the gray maximum value of the pixel points in the respective image partitions, The BL of each image partition is described instead of 255 as the gray maximum value of each image partition to calculate the BL of each image partition, which solves the problem of image distortion after image brightness adjustment, and improves the image display quality.
在一个可能的设计中,所述确定各个图像分区的背光调光率BDR,包括:In one possible design, the determining the backlight dimming rate BDR of each image partition includes:
计算所述各个图像分区中每个像素点的三个分量,将所述像素点三个分量中的最大值作为所述像素点的灰度值;Calculating three components of each pixel in each image partition, and using a maximum value of the three components of the pixel as a gray value of the pixel;
根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级(Backlight Dimming Gray,BDG);Calculating a backlight dimming gray level (BDG) of each image partition according to a gray value of each pixel in each image partition;
根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR。Determining a backlight dimming rate BDR of the respective image partitions according to BDGs of the respective image partitions.
由上可见,本可能的设计中公开的背光动态调光方法,除了提高了图像显示对比度的同时还降低图像失真的概率,提升图像显示质量之外,采用每个像素点三个分量中的最大值作为像素点灰度值,准确的反映了每个像素点的最大强度,避免了在根据所述目标亮度值调整所述液晶显示屏亮度的过程中出现削幅失真的情况。It can be seen from the above that the backlight dynamic dimming method disclosed in the possible design, in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, adopts the largest of the three components per pixel. The value as the pixel point gray value accurately reflects the maximum intensity of each pixel point, avoiding the occurrence of clipping distortion in the process of adjusting the brightness of the liquid crystal display according to the target brightness value.
在这个可能的设计中,所述根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR,包括:In this possible design, the determining, according to the BDG of each image partition, the backlight dimming rate BDR of each image partition includes:
基于如下公式确定所述BDR:The BDR is determined based on the following formula:
BDR(i,j)=a+BGR(i,j)/bBDR(i,j)=a+BGR(i,j)/b
其中,BGR(i,j)为图像分区(i,j)的背光调光灰度级,BDR(i,j)为图像分区(i,j)的背光调光率,a、b为预设系数,与所述液晶显示屏的输入图像的内容和环境亮度相关。Where BGR(i,j) is the backlight dimming gray level of the image partition (i,j), BDR(i,j) is the backlight dimming rate of the image partition (i,j), and a and b are presets. The coefficient is related to the content of the input image of the liquid crystal display and the ambient brightness.
在一个可能的设计中,所述根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级BDG,包括:In a possible design, the calculating the backlight dimming gray level BDG of each image partition according to the gray value of each pixel in each image partition includes:
根据所述各个图像分区中每个像素点的灰度值,采用预设的最大类间方差法,计算所述各个图像分区的分割阈值;Calculating a segmentation threshold of each image partition according to a gray value of each pixel in each image partition by using a preset maximum inter-class variance method;
根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数;Calculating a brightness variation coefficient of each image partition according to a segmentation threshold of each image partition;
根据所述各个图像分区的亮度变化系数,确定所述各个图像分区的所述BDG。Determining the BDGs of the respective image partitions according to brightness variation coefficients of the respective image partitions.
由上可见,本可能的设计中公开的亮度调节方法,除了在提高了图像显示对比度的同时还降低图像失真的概率,提升图像显示质量之外,采用预设的最大类间方差法根据各个图像分区的亮度分布情况自适应的确定分割阈值,通过不同的分割阈值得到各个分区不同的BDG,降低了计算复杂度,有效增强反映了图像暗处的细节信息,进一步提高图像对比度。It can be seen from the above that the brightness adjustment method disclosed in the possible design, in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, adopts a preset maximum inter-class variance method according to each image. The brightness distribution of the partition adaptively determines the segmentation threshold, and the BDGs of different partitions are obtained by different segmentation thresholds, which reduces the computational complexity, effectively enhances the detailed information reflecting the dark parts of the image, and further improves the image contrast.
在这个可能的设计中,所述根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数,包括:In this possible design, the calculating the brightness variation coefficient of each image partition according to the segmentation threshold of each image partition includes:
根据所述各个图像分区的分割阈值,对所述各个图像分区中每个像素点的灰度值做二 值化处理;Performing, according to the segmentation threshold of each image partition, the gray value of each pixel in each image partition Value processing
统计所述二值化处理后各个图像分区中所述像素点灰度值为1的像素点个数为第一数据,以及所述像素点灰度值为0的像素点个数为第二数据;Counting, after the binarization processing, the number of pixel points whose gray value is 1 in each image partition is the first data, and the number of pixel points whose gray value is 0 is the second data. ;
根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数。Calculating a luminance variation coefficient of each of the image partitions according to the first data and the second data.
在这个可能的设计中,所述根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数,包括:In this possible design, the calculating the brightness variation coefficient of each image partition according to the first data and the second data includes:
基于如下公式计算所述亮度变化系数:The brightness variation coefficient is calculated based on the following formula:
Figure PCTCN2017071608-appb-000001
Figure PCTCN2017071608-appb-000001
其中,K(i,j)为图像分区(i,j)的亮度变化系数,N1(i,j)为图像分区(i,j)的第一数据,N0(i,j)为图像分区(i,j)的第二数据。Where K(i,j) is the luminance variation coefficient of the image partition (i,j), N 1 (i,j) is the first data of the image partition (i,j), and N 0 (i,j) is the image The second data of the partition (i, j).
在一个可能的设计中,所述根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL,包括:In a possible design, the calculating the backlight brightness value BL of each image partition according to the BDR and the gray level maximum value of the pixel points in the respective image partitions includes:
基于如下公式计算所述BL值:The BL value is calculated based on the following formula:
BL(i,j)=BDR(i,j)×Imax(i,j)BL(i,j)=BDR(i,j)×I max (i,j)
其中,BL(i,j)为图像分区(i,j)的背光亮度值,Imax(i,j)为图像分区(i,j)的灰度最大值。Where BL(i,j) is the backlight luminance value of the image partition (i,j), and I max (i,j) is the grayscale maximum of the image partition (i,j).
在一个可能的设计中,所述根据各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度,包括:In a possible design, the target brightness value of each pixel in each image partition is determined according to a BL value of each image partition, and the brightness of the liquid crystal display is adjusted according to the target brightness value, including:
根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值;Determining a target luminance value of each pixel point by performing liquid crystal pixel compensation processing on each pixel point in each image partition according to the BL value after the smoothing of each image partition;
根据所述目标亮度值调整所述液晶显示屏亮度。Adjusting the brightness of the liquid crystal display according to the target brightness value.
在这个可能的设计中,所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值,包括:In this possible design, the liquid crystal pixel compensation process is performed on each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions, and the target brightness value of each pixel point is determined, including :
将所述各个图像分区中每个像素点做RBG到YCbCr的转换,得到所述各个图像分区中每个像素点的亮度分量Y;Performing RBG to YCbCr conversion for each pixel in each image partition to obtain a luminance component Y of each pixel in each image partition;
根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值。Determining a target luminance component Y value of each pixel point by performing liquid crystal pixel compensation processing on the luminance component Y of each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions.
由上可见,本可能的设计中公开的亮度调节方法,除了在提高了图像显示对比度的同时还降低图像失真的概率,提升图像显示质量之外,首先对各个图像分区的BL值做平滑处理,进一步减弱了图像的失真情况,且在做液晶补偿处理之前将每个像素点做RBG到YCbCr的转换,然后对亮度分量Y做液晶补偿,减少了亮度调整后显示时出现明显分区的缺陷,同时液晶补偿可以提升调光后图像的显示质量,以及进一步提升图像对比度。It can be seen from the above that the brightness adjustment method disclosed in the possible design, in addition to improving the image display contrast while reducing the probability of image distortion and improving the image display quality, firstly smoothing the BL values of the respective image partitions, Further, the distortion of the image is further weakened, and each pixel is converted into RBG to YCbCr before the liquid crystal compensation process is performed, and then the liquid crystal compensation is performed on the luminance component Y, thereby reducing the defect of apparent partitioning when the brightness is adjusted and displayed. LCD compensation can improve the display quality of the dimmed image and further enhance the image contrast.
在这个可能的设计中,所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值,包括:In this possible design, the liquid crystal pixel compensation process is performed on the luminance component Y of each pixel in each of the image partitions according to the BL value after the smoothing of the respective image partitions, and the target of each pixel is determined. The luminance component Y value, including:
基于如下公式做所述液晶像素补偿处理: The liquid crystal pixel compensation processing is performed based on the following formula:
Figure PCTCN2017071608-appb-000002
Figure PCTCN2017071608-appb-000002
其中,Yin为所述各个图像分区中每个像素点的亮度分量Y,Yout为液晶补偿后的所述各个图像分区中每个像素点的目标亮度分量Y,γ为伽马系数。Wherein, Y in the luminance component of each pixel in the respective image section Y, Y out of the target luminance component of each pixel of the liquid crystal after each image compensated partition Y, γ is the gamma factor.
第二方面,本申请实施例公开一种终端,该终端具有实现上述方法设计中终端的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a second aspect, an embodiment of the present application discloses a terminal, where the terminal has a function of implementing a behavior of a terminal in the foregoing method design. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
在一个可能的设计中,终端包括处理器,所述处理器被配置为支持终端执行上述方法中相应的功能。进一步的,终端还可以包括接收器和发射器,所述接收器和发射器用于终端与其他设备如以LED为背光模组的液晶显示屏的显示***之间的通信。进一步的,终端还可以包括存储器,所述存储器用于与处理器耦合,其保存设备必要的程序指令和数据。In one possible design, the terminal includes a processor configured to support the terminal in performing the corresponding functions of the above methods. Further, the terminal may further include a receiver and a transmitter, and the receiver and the transmitter are used for communication between the terminal and other devices such as a display system of a liquid crystal display with the LED as a backlight module. Further, the terminal may further include a memory for coupling with the processor, which holds program instructions and data necessary for the device.
第三方面,本申请实施例公开一种计算机可读存储介质,其中,所述计算机可读存储介质存储有用于计算机设备执行的程序代码,该程序代码具体包括执行指令,所述执行指令用于执行本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a third aspect, the embodiment of the present application discloses a computer readable storage medium, where the computer readable storage medium stores program code for execution by a computer device, where the program code specifically includes an execution instruction, where the execution instruction is used for Some or all of the steps described in any of the methods of the first aspect of the embodiments of the present application are performed.
由上可见,根据预设分区策略确定输入图像的多个图像分区;确定各个图像分区的背光调光率BDR;根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL;根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度,以及根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。可见,通过对不同区域计算各个区域最佳的BDR,满足不同区域对亮度的不同要求,提高了图像对比度,同时,根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的BL,而不是以255作为各个图像分区的灰度最大值计算各个图像分区的BL,解决了图像亮度调节后图像失真的问题,提升了图像显示质量。As can be seen from the above, determining a plurality of image partitions of the input image according to a preset partitioning strategy; determining a backlight dimming rate BDR of each image partition; and calculating the grayscale maximum value according to the BDR and the pixel points in the respective image partitions a backlight brightness value BL of each image partition; adjusting LED backlight brightness of each image partition according to BL values of the respective image partitions, and determining each pixel point in each image partition according to BL values of the respective image partitions a target brightness value, and adjusting a brightness of the liquid crystal display according to the target brightness value. It can be seen that by calculating the optimal BDR of each region for different regions, the different requirements of different regions are satisfied, and the image contrast is improved, and at the same time, according to the BDR and the gray maximum value of the pixel points in the respective image partitions, The BL of each image partition is described instead of 255 as the gray maximum value of each image partition to calculate the BL of each image partition, which solves the problem of image distortion after image brightness adjustment, and improves the image display quality.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the drawings to be used in the embodiments of the present application or the background art will be described below.
图1A是本申请实施例公开的一种亮度调节方法的流程示意图;1A is a schematic flow chart of a brightness adjustment method disclosed in an embodiment of the present application;
图1B是本申请实施例公开的图1A中所描述的亮度调节方法流程中S102的流程示意图;1B is a schematic flowchart of S102 in the flow of the brightness adjustment method described in FIG. 1A disclosed in the embodiment of the present application;
图1C是本申请实施例公开的计算背光调光灰度级BDG的方法示意图;1C is a schematic diagram of a method for calculating a backlight dimming gray level BDG disclosed in an embodiment of the present application;
图1D是本申请实施例公开的液晶补偿计算方法示意图;1D is a schematic diagram of a liquid crystal compensation calculation method disclosed in an embodiment of the present application;
图2A是本申请实施例公开的一种终端的功能单元框图;2A is a functional block diagram of a terminal disclosed in an embodiment of the present application;
图2B是本申请实施例公开的一种终端的结构示意图。FIG. 2B is a schematic structural diagram of a terminal disclosed in an embodiment of the present application.
具体实施方式detailed description
下面结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。 The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application.
请参阅图1A,图1A是本申请实施例公开的一种亮度调节方法的流程示意图,该方法应用于设置有以发光二极管(Light Emitting Diode,LED)作为背光模组的液晶显示屏(Liquid Crystal Display,LCD)的终端,该终端可以包括智能手机、平板电脑、电视,可穿戴设备等设置有LED液晶显示屏的电子设备,如图所示,本亮度调节方法包括:Please refer to FIG. 1A , which is a schematic flowchart of a brightness adjustment method according to an embodiment of the present disclosure. The method is applied to a liquid crystal display (Liquid Crystal) provided with a light emitting diode (LED) as a backlight module. Display, LCD) terminal, the terminal may include a smart phone, a tablet computer, a television, a wearable device, and the like, and an electronic device provided with an LED liquid crystal display. As shown in the figure, the brightness adjustment method includes:
S101,终端根据预设分区策略确定输入图像的多个图像分区;S101. The terminal determines, according to a preset partitioning policy, multiple image partitions of the input image.
举例而言,若输入图像的分辨率为1920×1080,则根据预设分区策略,将输入图像虚拟划分为24×42个分区,则每个分区的大小为45×45。For example, if the resolution of the input image is 1920×1080, the input image is virtually divided into 24×42 partitions according to a preset partitioning strategy, and the size of each partition is 45×45.
S102,所述终端确定各个图像分区的背光调光率(Backlight Dimming Ratio,BDR);S102, the terminal determines a backlight dimming ratio (BDR) of each image partition;
请参阅图1B,图1B是所述终端确定各个图像分区的背光调光率BDR的流程示意图,如图所示,所述终端确定各个图像分区的背光调光率BDR的方法包括:Referring to FIG. 1B, FIG. 1B is a schematic flowchart of determining, by the terminal, a backlight dimming rate BDR of each image partition. As shown in the figure, the method for determining, by the terminal, a backlight dimming rate BDR of each image partition includes:
S1021,所述终端计算所述各个图像分区中每个像素点的三个分量,将所述像素点三个分量中的最大值作为所述像素点的灰度值;S1021. The terminal calculates three components of each pixel in each image partition, and uses a maximum value of three components of the pixel as a gray value of the pixel.
其中,所述每个像素点的三个分量分别为红色(Red,R)、绿色(Green,G)、蓝色(Blue,B)。The three components of each pixel are red (Red, R), green (Green, G), and blue (Blue, B).
其中,将所述各个图像分区中每个像素点三个分量中的最大值作为像素点灰度值,根据所述像素点的灰度值将所述图像转化为灰度图像,转化后的灰度图像中每个像素点的三个分量值相同,均为三个分量中的最大值。Wherein, the maximum value of the three components of each pixel in each image partition is used as a pixel point gray value, and the image is converted into a gray image according to the gray value of the pixel point, and the transformed gray is transformed. The three component values of each pixel in the degree image are the same, and are the maximum of the three components.
具体的,所述将RGB图像转化为灰度图像的具体实现方式可以是:Specifically, the specific implementation manner of converting the RGB image into the grayscale image may be:
Igray(m,n)=max{R(m,n),G(m,n),B(m,n)}I gray (m,n)=max{R(m,n), G(m,n),B(m,n)}
其中,Igray(m,n)为位于(m,n)的像素点的灰度值。Where I gray (m, n) is the gradation value of the pixel at (m, n).
举例而言,若其中某一个像素点的三个分量R、G、B的三个分量值分别为50、60、70,则取70为该像素点的灰度值,即转化为灰度图像以后,该像素点R、G、B三个分量的灰度值均为70。For example, if the three component values of the three components R, G, and B of one of the pixel points are 50, 60, and 70 respectively, then 70 is the gray value of the pixel, that is, converted into a grayscale image. Thereafter, the gray values of the three components of the pixel points R, G, and B are all 70.
S1022,所述终端根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级(Backlight Dimming Gray,BDG)。S1022. The terminal calculates a backlight dimming gray level (BDG) of each image partition according to a gray value of each pixel in each image partition.
首先,根据所述各个图像分区中每个像素点的灰度值,采用预设的最大类间方差法,计算所述各个图像分区的分割阈值;First, calculating, according to the gray value of each pixel in each image partition, a segmentation threshold of each image partition by using a preset maximum inter-class variance method;
其中,所述分割阈值为图像目标前景和背景的分割阈值T。The segmentation threshold is a segmentation threshold T of the image target foreground and the background.
具体的,所述根据所述各个图像分区中每个像素点的灰度值,采用预设的最大类间方差法,计算所述各个图像分区的分割阈值的具体实现方式可以是:Specifically, the specific implementation manner of calculating the segmentation threshold of each image partition by using a preset maximum inter-class variance method according to the gray value of each pixel in each image partition may be:
所述预设的最大类间方差法,首先,将灰度值小于T的像素点个数N0占图像分区i×j总像素点的比例记为w0,所述N0个像素点的平均灰度值为μ0;将灰度值大于T的像素点个数N1占图像分区i×j总像素点的比例记为w1,所述N1个像素点的平均灰度值为μ1,且图像的类间方差记为g,各个分区的大小记为i×j;则有如下公式计算所述各个图像分区的分割阈值T:The preset maximum inter-class variance method firstly records the ratio of the number of pixel points N 0 whose gray value is smaller than T to the total pixel point of the image partition i×j as w 0 , and the N 0 pixel points The average gray value is μ 0 ; the ratio of the number of pixel points N 1 whose gray value is greater than T to the total pixel point of the image partition i×j is denoted as w 1 , and the average gray value of the N 1 pixel points is μ 1 , and the inter-class variance of the image is recorded as g, and the size of each partition is recorded as i×j; then the division threshold T of each image partition is calculated by the following formula:
w0=N0/(i×j) w 0 =N 0 /(i×j)
w1=N1/(i×j)w 1 =N 1 /(i×j)
g=w0×w1×(μ01)2 g=w 0 ×w 1 ×(μ 01 ) 2
基于上述公式,采用遍历的方法求得使类间方差g最大时对应的阈值即为所求的分割阈值T。Based on the above formula, the threshold value corresponding to the maximum variance between the classes is obtained by the traversal method, that is, the obtained segmentation threshold T.
其次,根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数;Secondly, calculating brightness variation coefficients of the respective image partitions according to the segmentation thresholds of the respective image partitions;
具体的,所述根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数的实现方式可以是:Specifically, the implementation manner of calculating the brightness variation coefficient of each image partition according to the segmentation threshold of each image partition may be:
根据所述各个图像分区的分割阈值T,对所述各个图像分区中每个像素点的灰度值做二值化处理,即将各个图像分区中灰度值大于分割阈值T的像素点的灰度值设为1,将各个图像分区中灰度值小于分割阈值T的像素点的灰度值设为0,统计所述二值化处理后的各个图像分区中像素点灰度值为1的像素点个数为第一数据,即为N1,以及像素点灰度值为0的所述像素点个数为第二数据,即为N0;根据所述第一数据N1和所述第二数据N0通过如下公式计算所述各个图像分区的亮度变化系数K:And performing graying on the gray value of each pixel in each image partition according to the dividing threshold T of each image partition, that is, the gray level of the pixel in each image partition whose gray value is greater than the dividing threshold T The value is set to 1, and the gradation value of the pixel point whose gradation value is smaller than the division threshold T in each image partition is set to 0, and the pixel whose pixel gradation value is 1 in each image partition after the binarization processing is counted. The number of points is the first data, that is, N 1 , and the number of the pixel points whose pixel point gray value is 0 is the second data, that is, N 0 ; according to the first data N 1 and the first The second data N 0 calculates the brightness variation coefficient K of each image partition by the following formula:
Figure PCTCN2017071608-appb-000003
Figure PCTCN2017071608-appb-000003
其中,K(i,j)为图像分区(i,j)的亮度变化系数,N1(i,j)为图像分区(i,j)的第一数据,N0(i,j)为图像分区(i,j)的第二数据。Where K(i,j) is the luminance variation coefficient of the image partition (i,j), N 1 (i,j) is the first data of the image partition (i,j), and N 0 (i,j) is the image The second data of the partition (i, j).
最后,根据所述各个图像分区的亮度变化系数,确定所述各个图像分区的所述BDG。Finally, the BDGs of the respective image partitions are determined according to the luminance variation coefficients of the respective image partitions.
具体的,所述根据所述各个图像分区的亮度变化系数,确定所述各个图像分区的所述BDG的具体的实现方式可以是:Specifically, the specific implementation manner of determining the BDG of each image partition according to the brightness variation coefficient of each image partition may be:
如图1C所示,所述各个图像分区的BDG是包含所述各个图像分区所有像素点中K%的像素点对应的灰度值,根据所述某个图像分区的亮度变化系数K和所述BDG的定义,确定该图像分区的所述BDG,图中所述灰度直方图为所述将该图像分区中每个像素点三个分量中的最大值作为像素点灰度值后,根据每个像素点的灰度值对该图像分区灰度值分布的统计。As shown in FIG. 1C, the BDGs of the respective image partitions are grayscale values corresponding to K% of all pixel points of the respective image partitions, according to the brightness variation coefficient K of the certain image partition and the Defining a BDG, determining the BDG of the image partition, wherein the gray histogram in the figure is the maximum value of the three components of each pixel in the image partition as a pixel point gray value, according to each The gray value of the pixel points is the statistics of the gray value distribution of the image partition.
在一个可能的示例中,当BDG较大时,说明该图像分区的大多数像素点都有较大的灰度值,该分区是一个高亮区域;而当BDG较小时,说明该图像分区的大多数像素点都处于低灰度级范围内,该区域是一个低亮区域,因此,BDG可作为一个将输入图像的各个图像分区划分为高亮度、中间亮度和暗区域的标准。In one possible example, when the BDG is large, it indicates that most of the pixels of the image partition have a large gray value, and the partition is a highlighted area; and when the BDG is small, the image partition is indicated. Most of the pixels are in the low gray level range, which is a low light area. Therefore, the BDG can be used as a standard for dividing the image partitions of the input image into high brightness, intermediate brightness and dark areas.
S1023,所述终端根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR;S1023, the terminal determines, according to the BDG of each image partition, a backlight dimming rate BDR of each image partition;
具体的,基于如下公式计算BDR:Specifically, the BDR is calculated based on the following formula:
BDR(i,j)=a+BGR(i,j)/bBDR(i,j)=a+BGR(i,j)/b
其中,BGR(i,j)为图像分区(i,j)的背光调光灰度级,BDR(i,j)为图像分区(i,j)的背光 调光率,a、b为预设系数,与所述液晶显示屏的输入图像的内容和环境亮度相关。Where BGR(i,j) is the backlight dimming gray level of the image partition (i,j), and BDR(i,j) is the backlight of the image partition (i,j) The dimming rate, a, b are preset coefficients, which are related to the content of the input image of the liquid crystal display and the ambient brightness.
S103,所述终端根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值(Backlight,BL);S103, the terminal calculates a backlight brightness value (Backlight, BL) of each image partition according to the BDR and a gray maximum value of a pixel point in each image partition;
具体的,基于如下公式计算所述BL:Specifically, the BL is calculated based on the following formula:
BL(i,j)=BDR(i,j)×Imax(i,j)BL(i,j)=BDR(i,j)×I max (i,j)
其中,BL(i,j)为图像分区(i,j)的背光亮度值,Imax(i,j)为图像分区(i,j)的灰度最大值。Where BL(i,j) is the backlight luminance value of the image partition (i,j), and I max (i,j) is the grayscale maximum of the image partition (i,j).
S104,所述终端根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度;S104. The terminal adjusts, according to a BL value of each image partition, an LED backlight brightness of each image partition.
具体的,所述终端根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度的具体实现方式可以是:Specifically, the specific implementation manner that the terminal adjusts the brightness of the LED backlight of each image partition according to the BL value of each image partition may be:
所述各个图像分区的BL值通过脉冲宽度调制(Pulse Width Modulation,PWM)技术控制对应各个图像分区的背光单元LED灯的亮暗。The BL values of the respective image partitions are controlled by a Pulse Width Modulation (PWM) technique to control the brightness and darkness of the backlight unit LEDs corresponding to the respective image partitions.
S105,所述终端根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。S105. The terminal determines, according to a BL value of each image partition, a target brightness value of each pixel in each image partition, and adjusts a brightness of the liquid crystal display according to the target brightness value.
具体的,所述终端根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度的具体实现方式可以是:Specifically, the terminal determines, according to the BL value of each image partition, a target brightness value of each pixel in each image partition, and the specific implementation manner of adjusting the brightness of the liquid crystal display according to the target brightness value may be Yes:
所述终端在根据所述目标亮度值调整所述各液晶像素亮度之前,首先,需要将所述各个图像分区的每个像素点做RBG到YCbCr的转换,得到所述各个图像分区中每个像素点的亮度分量Y,其次,由于光源的区域控制将导致背光亮度不再统一,再加上背光源的混光作用使得不同图像分区的光线会相互影响,这就会影响到达液晶显示屏的光强分布而最终影响液晶像素亮度补偿的准确性。如果相邻分区之间背光亮度差异较大还会使液晶像素补偿后的图像出现明显的“块效应”,故需要对所述各个图像分区的BL值构成的背光亮度矩阵做背光平滑处理,以减少液晶像素补偿后出现的“块效应”,最后,为保证当背光亮度降低时,调光后的图像经过补偿后其整体亮度与色彩与背光全亮时基本保持不变,还要根据所述各个图像分区平滑处理后的BL值对所述各个图像分区的每个像素点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值,根据所述目标亮度值调整所述液晶显示屏各个液晶分子的开度从而调整各液晶像素的亮度。Before the terminal adjusts the brightness of each liquid crystal pixel according to the target brightness value, first, each pixel of each image partition needs to be converted into RBG to YCbCr to obtain each pixel in each image partition. The brightness component Y of the point, secondly, because the area control of the light source will cause the backlight brightness to be no longer uniform, and the light mixing effect of the backlight causes the light of different image partitions to affect each other, which affects the light reaching the liquid crystal display. Strong distribution and ultimately affect the accuracy of liquid crystal pixel brightness compensation. If the difference in backlight brightness between adjacent partitions is large, the liquid crystal pixel compensated image will have a significant "block effect". Therefore, it is necessary to perform backlight smoothing processing on the backlight luminance matrix composed of the BL values of the respective image partitions. Reducing the "block effect" that occurs after the compensation of the liquid crystal pixel. Finally, in order to ensure that when the brightness of the backlight is lowered, the image after the dimming is compensated, and the overall brightness and color and the backlight are substantially bright, and remain according to the above. The BL value of each image partition smoothing process is subjected to liquid crystal pixel compensation processing for the luminance component Y of each pixel point of each image partition to determine a target luminance component Y value of each pixel point, and is adjusted according to the target luminance value. The opening degree of each liquid crystal molecule of the liquid crystal display adjusts the brightness of each liquid crystal pixel.
其中,YCbCr中Y为颜色的亮度成分、而Cb和Cr则为蓝色和红色的浓度偏移量成份。Among them, Y is the luminance component of the color in YCbCr, and Cb and Cr are the concentration offset components of blue and red.
具体的,如图1D所示,基于如下公式计算所述每个像素点的目标亮度分量Y值YoutSpecifically, as shown in FIG. 1D, the target luminance component Y value Y out of each pixel point is calculated based on the following formula:
Figure PCTCN2017071608-appb-000004
Figure PCTCN2017071608-appb-000004
其中,Yin为所述输入图像各个图像分区中每个像素点的亮度分量Y,Yout为液晶补偿后的所述各个图像分区中每个像素点的目标亮度分量,γ为伽马系数,一般取值为γ=2.2。Wherein, Y in the input luminance of each pixel of the image of each image section components Y, Y out of the target luminance component of each pixel of the liquid crystal after each compensated partition image, gamma] is a gamma coefficient, Generally, the value is γ=2.2.
本申请实施例公开的亮度调节方法,根据预设分区策略确定输入图像的多个图像分区;确定各个图像分区的背光调光率BDR;根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL;根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度,以及根据所述各个图像分区的BL值确定所述各个图像分区 中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。可见,通过对不同区域计算各个区域最佳的BDR,满足不同区域对亮度的不同要求,提高了图像对比度,同时,根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的BL,而不是以255作为各个图像分区的灰度最大值计算各个图像分区的BL,解决了图像亮度调节后图像失真的问题,提升了图像显示质量。The brightness adjustment method disclosed in the embodiment of the present application determines a plurality of image partitions of the input image according to a preset partitioning strategy; determining a backlight dimming rate BDR of each image partition; and determining, according to the BDR, gray of pixels in each image partition a maximum value of the backlight luminance values BL of the respective image partitions; adjusting LED backlight brightness of the respective image partitions according to BL values of the respective image partitions, and determining the respective images according to BL values of the respective image partitions Partition a target brightness value of each pixel point, and adjusting a brightness of the liquid crystal display according to the target brightness value. It can be seen that by calculating the optimal BDR of each region for different regions, the different requirements of different regions are satisfied, and the image contrast is improved, and at the same time, according to the BDR and the gray maximum value of the pixel points in the respective image partitions, The BL of each image partition is described instead of 255 as the gray maximum value of each image partition to calculate the BL of each image partition, which solves the problem of image distortion after image brightness adjustment, and improves the image display quality.
下面,针对累积分布函数(Cumulative Distribution Function,CDF)阈值法和本申请实施例所述的方案对三种不同类型图像((a)高亮度图像、(b)高对比度图像及(c)暗图像)进行对比,对本申请实施例所述的方案的效果进行验证。三幅图像均划分为24×42个分区。为对比出调光后图像的显示质量,使用均方根误差(Root Mean Square,RMSE)和峰值信噪比(Peak Signal to Noise Ratio,PSNR)作为两个评价指标,同时,使用图像对比度增强强度百分比(ΔE)来衡量调光后图像对比度提高情况。In the following, three different types of images ((a) high-brightness image, (b) high-contrast image, and (c) dark image are proposed for the Cumulative Distribution Function (CDF) threshold method and the scheme described in the embodiments of the present application. For comparison, the effects of the scheme described in the embodiments of the present application are verified. The three images are divided into 24 x 42 partitions. In order to compare the display quality of the dimmed image, Root Mean Square (RMSE) and Peak Signal to Noise Ratio (PSNR) were used as two evaluation indicators, and image contrast enhancement intensity was used. The percentage (ΔE) is a measure of the contrast improvement of the image after dimming.
RMSE计算的是原图像与调光后图像所有像素值的均方误差,它反映了两幅图像之间对应像素点颜色的变化,基于如下公式:RMSE calculates the mean square error of all pixel values of the original image and the dimmed image, which reflects the change of the corresponding pixel color between the two images, based on the following formula:
Figure PCTCN2017071608-appb-000005
Figure PCTCN2017071608-appb-000005
式中,Yin(m,n)和Yout(m,n)分别为调光前后图像像素亮度。Where Y in (m,n) and Y out (m,n) are the image pixel brightness before and after dimming, respectively.
为了衡量图像的显示质量,将PSNR作为另一个图像保真度度量,基于如下公式:To measure the display quality of an image, PSNR is used as another image fidelity metric based on the following formula:
Figure PCTCN2017071608-appb-000006
Figure PCTCN2017071608-appb-000006
定义图像对比度CR计算公式为:Define the image contrast CR calculation formula is:
Figure PCTCN2017071608-appb-000007
Figure PCTCN2017071608-appb-000007
则图像对比度增强强度百分比ΔE基于如下公式计算:The image contrast enhancement intensity percentage ΔE is calculated based on the following formula:
Figure PCTCN2017071608-appb-000008
Figure PCTCN2017071608-appb-000008
其中,H90为包含所有像素点的90%对应的灰度级BDG;L10为包含所有像素点10%对应的灰度级BDG;CR为调光后图像的对比度;CR0为原始输入图像的对比度;ΔE为图像对比度增强强度百分比。Wherein, H 90 is a gray level BDG corresponding to 90% of all pixels; L 10 is a gray level BDG corresponding to 10% of all pixels; CR is the contrast of the dimmed image; CR 0 is the original input image Contrast; ΔE is the percentage of image contrast enhancement intensity.
结果如下表1和表2所示,表1记录了CDF阈值法和本申请实施例所述的方案对图像区域背光调光后的RMSE和PSNR的对比,表2记录了CDF阈值法和本申请实施例所述的方案对图像区域调光后的对比度(CR)和对比度增强强度百分比(ΔE)的对比。The results are shown in Table 1 and Table 2 below. Table 1 records the comparison of the RMSE and PSNR of the CDF threshold method and the solution described in the embodiment of the present application on the image area backlight dimming. Table 2 records the CDF threshold method and the present application. The contrast of the contrast (CR) and the contrast enhancement intensity percentage (ΔE) after dimming the image area in the embodiment described in the embodiment.
表1 CDF阈值法和本申请实施例对图像区域调光后RMSE和PSNR对比表Table 1 Comparison of RMSE and PSNR after dimming the image area by the CDF threshold method and the embodiment of the present application
Figure PCTCN2017071608-appb-000009
Figure PCTCN2017071608-appb-000009
Figure PCTCN2017071608-appb-000010
Figure PCTCN2017071608-appb-000010
表2 CDF阈值法和本申请实施例对图像区域调光后的CR和ΔE的对比表Table 2 Comparison of CR and ΔE after dimming the image area by the CDF threshold method and the embodiment of the present application
Figure PCTCN2017071608-appb-000011
Figure PCTCN2017071608-appb-000011
由上表1和表2中的数据可知,本申请实施例所述的亮度调节方法区域调光后的图像的PSNR的平均值为32.38dB>30dB,因此,可以保证调光后的图像拥有较高的显示质量。除此之外,上述数据说明所述方法还可以有效地提高图像对比度,其平均提高程度为14.71%。相反,经CDF阈值法区域背光调光及液晶补偿后图像质量较差,且只有高亮度图像的对比度有较为明显的提高,但提高程度只有3.09%。因此,本申请实施例所述的方案在提高图像显示对比度的同时还降低了图像失真的概率,从而提升了图像显示质量。It can be seen from the data in the above Table 1 and Table 2 that the average value of the PSNR of the image after the dimming of the brightness adjustment method in the embodiment of the present application is 32.38 dB>30 dB, so that the image after dimming can be guaranteed. High display quality. In addition, the above data demonstrates that the method can also effectively improve image contrast with an average improvement of 14.71%. On the contrary, the image quality is poor after backlight dimming and liquid crystal compensation by CDF threshold method, and only the contrast of high-brightness image is obviously improved, but the improvement is only 3.09%. Therefore, the solution described in the embodiment of the present application improves the image display contrast while reducing the probability of image distortion, thereby improving the image display quality.
上述主要从终端执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing describes the solution of the embodiment of the present application mainly from the perspective of the terminal execution process. It can be understood that, in order to implement the above functions, the terminal includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for each particular application to implement the described functionality, but such implementation should not be considered to be beyond the scope of the application.
本申请实施例可以根据上述方法示例对终端进行功能单元的划分,例如,可以对应各 个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may perform functional unit division on a terminal according to the foregoing method example, for example, corresponding to each Each function divides each functional unit, and it is also possible to integrate two or more functions into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
在采用集成的单元的情况下,图2A示出了上述实施例中所涉及的终端的一种可能的结构示意图。终端200包括:处理单元202和通信单元203。处理单元202用于对终端的动作进行控制管理,例如,处理单元202用于支持终端执行图1中的步骤S101至104,图2中的步骤S1021至1023和/或用于本文所描述的技术的其它过程。通信单元203用于支持终端与其他设备如LED显示屏之间的通信。终端还可以包括存储单元201,用于存储终端的程序代码和数据。In the case of employing an integrated unit, FIG. 2A shows a possible structural diagram of the terminal involved in the above embodiment. The terminal 200 includes a processing unit 202 and a communication unit 203. The processing unit 202 is configured to perform control management on the actions of the terminal. For example, the processing unit 202 is configured to support the terminal to perform steps S101 to 104 in FIG. 1 , steps S1021 to 1023 in FIG. 2 and/or for the techniques described herein. Other processes. The communication unit 203 is used to support communication between the terminal and other devices such as an LED display. The terminal may further include a storage unit 201 for storing program codes and data of the terminal.
其中,处理单元202可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元203可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元201可以是存储器。The processing unit 202 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 203 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces. The storage unit 201 can be a memory.
当处理单元202为处理器,通信单元203为通信接口,存储单元401为存储器时,本申请实施例所涉及的终端可以为图2B所示的终端。When the processing unit 202 is a processor, the communication unit 203 is a communication interface, and the storage unit 401 is a memory, the terminal involved in the embodiment of the present application may be the terminal shown in FIG. 2B.
参阅图2B所示,该终端210包括:处理器212、通信接口213、存储器211、LED液晶显示屏214。可选的,终端210还可以包括总线215。其中,通信接口213、处理器212、存储器211以及LED液晶显示屏214可以通过总线215相互连接;总线215可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。所述总线215可以分为地址总线、数据总线、控制总线等。为便于表示,图2B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 2B, the terminal 210 includes a processor 212, a communication interface 213, a memory 211, and an LED liquid crystal display 214. Optionally, the terminal 210 may further include a bus 215. The communication interface 213, the processor 212, the memory 211, and the LED liquid crystal display 214 may be connected to each other through a bus 215; the bus 215 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure ( Extended Industry Standard Architecture (EISA) bus. The bus 215 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 2B, but it does not mean that there is only one bus or one type of bus.
上述图2A或图2B所示的终端也可以理解为一种用于亮度调节的装置,本申请实施例不限定。The terminal shown in FIG. 2A or FIG. 2B can also be understood as a device for brightness adjustment, which is not limited in the embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件、或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、 服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, Transfer by server or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The embodiments of the present application have been described in detail above. The principles and implementations of the present application are described in the specific examples. The description of the above embodiments is only used to help understand the method and core ideas of the present application. A person skilled in the art will have a change in the specific embodiments and the scope of the application according to the idea of the present application. In summary, the content of the present specification should not be construed as limiting the present application.

Claims (22)

  1. 一种亮度调节方法,其特征在于,应用于设置有以发光二极管LED为背光模组的液晶显示屏的终端,所述方法包括:A method for adjusting brightness, which is applied to a terminal provided with a liquid crystal display having a light emitting diode LED as a backlight module, the method comprising:
    根据预设分区策略确定输入图像的多个图像分区;Determining a plurality of image partitions of the input image according to a preset partitioning strategy;
    确定各个图像分区的背光调光率BDR;Determining a backlight dimming rate BDR of each image partition;
    根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL;Calculating a backlight brightness value BL of each of the image partitions according to the BDR and a gray level maximum value of the pixel points in the respective image partitions;
    根据所述各个图像分区的BL值调节所述各个图像分区的LED背光亮度;Adjusting LED backlight brightness of each image partition according to BL values of the respective image partitions;
    根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏的亮度。Determining, according to a BL value of each of the image partitions, a target luminance value of each pixel in each of the image partitions, and adjusting a brightness of the liquid crystal display according to the target luminance value.
  2. 根据权利要求1所述的方法,其特征在于,所述确定各个图像分区的背光调光率BDR,包括:The method according to claim 1, wherein the determining a backlight dimming rate BDR of each image partition comprises:
    计算所述各个图像分区中每个像素点的三个分量,将所述像素点三个分量中的最大值作为所述像素点的灰度值;Calculating three components of each pixel in each image partition, and using a maximum value of the three components of the pixel as a gray value of the pixel;
    根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级BDG;Calculating a backlight dimming gray level BDG of each image partition according to a gray value of each pixel in each image partition;
    根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR。Determining a backlight dimming rate BDR of the respective image partitions according to BDGs of the respective image partitions.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR,包括:The method according to claim 2, wherein the determining, according to the BDG of the respective image partitions, the backlight dimming rate BDR of the respective image partitions comprises:
    基于如下公式确定所述BDR:The BDR is determined based on the following formula:
    BDR(i,j)=a+BGR(i,j)/bBDR(i,j)=a+BGR(i,j)/b
    其中,BGR(i,j)为图像分区(i,j)的背光调光灰度级,BDR(i,j)为图像分区(i,j)的背光调光率,a、b为预设系数,与所述液晶显示屏的输入图像的内容和环境亮度相关。Where BGR(i,j) is the backlight dimming gray level of the image partition (i,j), BDR(i,j) is the backlight dimming rate of the image partition (i,j), and a and b are presets. The coefficient is related to the content of the input image of the liquid crystal display and the ambient brightness.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级BDG,包括:The method according to claim 2, wherein the calculating the backlight dimming gray level BDG of each image partition according to the gray value of each pixel in each image partition comprises:
    根据所述各个图像分区中每个像素点的灰度值,采用预设的最大类间方差法,计算所述各个图像分区的分割阈值;Calculating a segmentation threshold of each image partition according to a gray value of each pixel in each image partition by using a preset maximum inter-class variance method;
    根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数;Calculating a brightness variation coefficient of each image partition according to a segmentation threshold of each image partition;
    根据所述各个图像分区的亮度变化系数,确定所述各个图像分区的所述BDG。Determining the BDGs of the respective image partitions according to brightness variation coefficients of the respective image partitions.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数,包括:The method according to claim 4, wherein the calculating the brightness variation coefficient of each image partition according to the segmentation threshold of each image partition comprises:
    根据所述各个图像分区的分割阈值,对所述各个图像分区中每个像素点的灰度值做二值化处理; And performing, according to the segmentation threshold of each image partition, a binarization process on a gray value of each pixel in each image partition;
    统计所述二值化处理后各个图像分区中所述像素点灰度值为1的像素点个数为第一数据,以及所述像素点灰度值为0的像素点个数为第二数据;Counting, after the binarization processing, the number of pixel points whose gray value is 1 in each image partition is the first data, and the number of pixel points whose gray value is 0 is the second data. ;
    根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数。Calculating a luminance variation coefficient of each of the image partitions according to the first data and the second data.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数,包括:The method according to claim 5, wherein the calculating the brightness variation coefficient of each image partition according to the first data and the second data comprises:
    基于如下公式计算所述亮度变化系数:The brightness variation coefficient is calculated based on the following formula:
    Figure PCTCN2017071608-appb-100001
    Figure PCTCN2017071608-appb-100001
    其中,K(i,j)为图像分区(i,j)的亮度变化系数,N1(i,j)为图像分区(i,j)的第一数据,N0(i,j)为图像分区(i,j)的第二数据。Where K(i,j) is the luminance variation coefficient of the image partition (i,j), N 1 (i,j) is the first data of the image partition (i,j), and N 0 (i,j) is the image The second data of the partition (i, j).
  7. 根据权利要求1所述的方法,其特征在于,所述根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL,包括:The method according to claim 1, wherein the calculating the backlight brightness value BL of the respective image partitions according to the BDR and the gray level maximum value of the pixel points in the respective image partitions comprises:
    基于如下公式计算所述BL值:The BL value is calculated based on the following formula:
    BL(i,j)=BDR(i,j)×Imax(i,j)BL(i,j)=BDR(i,j)×I max (i,j)
    其中,BL(i,j)为图像分区(i,j)的背光亮度值,Imax(i,j)为图像分区(i,j)的灰度最大值。Where BL(i,j) is the backlight luminance value of the image partition (i,j), and I max (i,j) is the grayscale maximum of the image partition (i,j).
  8. 根据权利要求1所述的方法,其特征在于,所述根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值调整所述液晶显示屏亮度,包括:The method according to claim 1, wherein the determining a target brightness value of each pixel in each of the image partitions according to a BL value of the respective image partitions, and adjusting the liquid crystal according to the target brightness value Display brightness, including:
    根据所述各个图像分区的BL值,对所述各个图像分区的BL值做平滑处理;Smoothing BL values of the respective image partitions according to BL values of the respective image partitions;
    根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值;Determining a target luminance value of each pixel point by performing liquid crystal pixel compensation processing on each pixel point in each image partition according to the BL value after the smoothing of each image partition;
    根据所述目标亮度值调整所述液晶示屏亮度。Adjusting the brightness of the liquid crystal display according to the target brightness value.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值,包括:The method according to claim 8, wherein the determining, by the liquid crystal pixel compensation processing for each pixel in each of the image partitions, the pixel values according to the BL values after the smoothing of the respective image partitions Target brightness values, including:
    将所述各个图像分区中每个像素点做RBG到YCbCr的转换,得到所述各个图像分区中每个像素点的亮度分量Y;Performing RBG to YCbCr conversion for each pixel in each image partition to obtain a luminance component Y of each pixel in each image partition;
    根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值。Determining a target luminance component Y value of each pixel point by performing liquid crystal pixel compensation processing on the luminance component Y of each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点的亮度分量Y做液晶像素补偿处理确定所述 每个像素点的目标亮度分量Y值,包括:The method according to claim 9, wherein the determining, according to the BL value after the smoothing of the respective image partitions, the liquid crystal pixel compensation processing on the luminance component Y of each pixel in each of the image partitions The target luminance component Y value for each pixel, including:
    基于如下公式做所述液晶像素补偿处理:The liquid crystal pixel compensation processing is performed based on the following formula:
    Figure PCTCN2017071608-appb-100002
    Figure PCTCN2017071608-appb-100002
    其中,Yin为所述各个图像分区中每个像素点的亮度分量Y,Yout为液晶补偿后的所述各个图像分区中每个像素点的目标亮度分量Y,γ为伽马系数。Wherein, Y in the luminance component of each pixel in the respective image section Y, Y out of the target luminance component of each pixel of the liquid crystal after each image compensated partition Y, γ is the gamma factor.
  11. 一种终端,其特征在于,应用于设置有以LED为背光模组的液晶显示屏的终端,包括处理单元和通信单元,A terminal, which is applied to a terminal provided with a liquid crystal display with an LED as a backlight module, including a processing unit and a communication unit,
    所述处理单元用于根据预设分区策略确定通过所述通信单元输入图像的多个图像分区;以及用于确定各个图像分区的背光调光率BDR;以及用于根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算出各个图像分区的背光亮度值BL;以及用于根据所述各个图像分区的BL值通过所述通信单元调节所述各个图像分区的LED背光亮度;以及用于根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值通过所述通信单元调整所述液晶显示屏的亮度。The processing unit is configured to determine a plurality of image partitions for inputting an image through the communication unit according to a preset partitioning strategy; and a backlight dimming rate BDR for determining each image partition; and for using the BDR and the respective The grayscale maximum value of the pixel points in the image partition calculates the backlight luminance value BL of each image partition; and the LED backlight brightness for adjusting the respective image partitions by the communication unit according to the BL values of the respective image partitions; And determining, by the BL value of each of the image partitions, a target brightness value of each pixel in each of the image partitions, and adjusting brightness of the liquid crystal display by the communication unit according to the target brightness value.
  12. 根据权利要求11所述的终端,其特征在于,在所述确定各个图像分区的背光调光率BDR方面,所述处理单元具体用于计算所述各个图像分区中每个像素点的三个分量,将所述像素点三个分量中的最大值作为所述像素点的灰度值;The terminal according to claim 11, wherein in the determining the backlight dimming rate BDR of each image partition, the processing unit is specifically configured to calculate three components of each pixel in each image partition. Taking the maximum value of the three components of the pixel as the gray value of the pixel;
    以及用于根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级BDG;And for calculating a backlight dimming gray level BDG of each image partition according to a gray value of each pixel in each image partition;
    以及用于根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR。And determining, by the BDG of the respective image partitions, a backlight dimming rate BDR of the respective image partitions.
  13. 根据权利要求12所述的终端,其特征在于,所述处理单元在用于所述根据所述各个图像分区的BDG确定所述各个图像分区的背光调光率BDR方面的具体实现方式为:The terminal according to claim 12, wherein the processing unit determines, in the determining, the backlight dimming rate BDR of the respective image partitions according to the BDGs of the respective image partitions:
    基于如下公式计算所述BDR:The BDR is calculated based on the following formula:
    BDR(i,j)=a+BGR(i,j)/bBDR(i,j)=a+BGR(i,j)/b
    其中,BGR(i,j)为图像分区(i,j)的背光调光灰度级,BDR(i,j)为图像分区(i,j)的背光调光率,a、b为预设系数,与所述液晶显示屏的输入图像的内容和环境亮度相关。Where BGR(i,j) is the backlight dimming gray level of the image partition (i,j), BDR(i,j) is the backlight dimming rate of the image partition (i,j), and a and b are presets. The coefficient is related to the content of the input image of the liquid crystal display and the ambient brightness.
  14. 根据权利要求12所述的终端,其特征在于,在所述根据所述各个图像分区中每个像素点的灰度值,计算所述各个图像分区的背光调光灰度级BDG方面,所述处理单元具体用于根据所述各个图像分区中每个像素点的灰度值,采用预设的最大类间方差法,计算所述各个图像分区的分割阈值;The terminal according to claim 12, wherein in said calculating a backlight dimming gray level BDG of each image partition according to a gray value of each pixel in each of the image partitions, The processing unit is configured to calculate, according to a gray value of each pixel in each image partition, a segmentation threshold of each image partition by using a preset maximum inter-class variance method;
    以及用于根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数;And calculating a brightness variation coefficient of the respective image partitions according to the segmentation thresholds of the respective image partitions;
    以及用于根据所述各个图像分区的亮度变化系数,确定所述各个图像分区的所述BDG。 And determining the BDG of the respective image partitions according to brightness variation coefficients of the respective image partitions.
  15. 根据权利要求14所述的终端,其特征在于,在所述根据所述各个图像分区的分割阈值计算所述各个图像分区的亮度变化系数方面,所述处理单元具体用于根据所述各个图像分区的分割阈值,对所述各个图像分区中每个像素点的灰度值做二值化处理;The terminal according to claim 14, wherein the processing unit is specifically configured to perform, according to the segmentation thresholds of the respective image partitions, a luminance variation coefficient of each of the image partitions. Segmentation threshold, binarizing the gray value of each pixel in each image partition;
    以及用于统计所述二值化处理后各个图像分区中所述像素点灰度值为1的像素点个数为第一数据,以及所述像素点灰度值为0的像素点个数为第二数据;And the number of pixel points used to count the gray point value of the pixel in each image partition after the binarization processing is 1st, and the number of pixels of the pixel point gray value is 0. Second data;
    以及用于根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数。And calculating a luminance variation coefficient of the respective image partitions according to the first data and the second data.
  16. 根据权利要求15所述的终端,其特征在于,所述处理单元在用于所述根据所述第一数据和所述第二数据计算所述各个图像分区的亮度变化系数方面的具体实现方式为:The terminal according to claim 15, wherein the processing unit is configured to calculate, according to the first data and the second data, a brightness variation coefficient of each image partition. :
    基于如下公式计算所述亮度变化系数:The brightness variation coefficient is calculated based on the following formula:
    Figure PCTCN2017071608-appb-100003
    Figure PCTCN2017071608-appb-100003
    其中,K(i,j)为图像分区(i,j)的亮度变化系数,N1(i,j)为图像分区(i,j)的第一数据,N0(i,j)为图像分区(i,j)的第二数据。Where K(i,j) is the luminance variation coefficient of the image partition (i,j), N 1 (i,j) is the first data of the image partition (i,j), and N 0 (i,j) is the image The second data of the partition (i, j).
  17. 根据权利要求11所述的终端,其特征在于,所述处理单元在用于所述根据所述BDR以及所述各个图像分区中像素点的灰度最大值计算所述各个图像分区的背光亮度值BL方面的具体实现方式为:The terminal according to claim 11, wherein said processing unit calculates a backlight luminance value of said respective image partitions for said grayscale maximum value of said pixel points in said respective image partitions The specific implementation of BL is:
    基于如下公式计算所述BL值:The BL value is calculated based on the following formula:
    BL(i,j)=BDR(i,j)×Imax(i,j)BL(i,j)=BDR(i,j)×I max (i,j)
    其中,BL(i,j)为图像分区(i,j)的背光亮度值,Imax(i,j)为图像分区(i,j)的灰度最大值。Where BL(i,j) is the backlight luminance value of the image partition (i,j), and I max (i,j) is the grayscale maximum of the image partition (i,j).
  18. 根据权利要求11所述的终端,其特征在于,在所述根据所述各个图像分区的BL值确定所述各个图像分区中每个像素点的目标亮度值,根据所述目标亮度值通过所述通信单元调整所述液晶显示屏亮度方面,所述处理单元具体用于根据所述各个图像分区的BL值,对所述各个图像分区的BL值做平滑处理;The terminal according to claim 11, wherein the target brightness value of each pixel in each of the image partitions is determined according to the BL value of the respective image partitions, and the In terms of adjusting the brightness of the liquid crystal display, the processing unit is configured to perform smoothing on the BL values of the respective image partitions according to BL values of the respective image partitions;
    以及用于根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值;And determining a target brightness value of each of the pixel points by performing liquid crystal pixel compensation processing on each pixel point in each of the image partitions according to the BL value after the smoothing of the respective image partitions;
    以及用于根据所述目标亮度值通过所述通信单元调整所述液晶显示屏亮度。And for adjusting the brightness of the liquid crystal display by the communication unit according to the target brightness value.
  19. 根据权利要求18所述的终端,其特征在于,在所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点做液晶像素补偿处理确定所述每个像素点的目标亮度值方面,所述处理单元具体用于将所述各个图像分区中每个像素点做RBG到YCbCr的转换,得到所述各个图像分区中每个像素点的亮度分量Y;The terminal according to claim 18, wherein said each pixel is determined by performing liquid crystal pixel compensation processing on each pixel of each of said image partitions according to said BL value after smoothing processing of said respective image partitions The processing unit is specifically configured to perform RBG to YCbCr conversion for each pixel in each image partition to obtain a luminance component Y of each pixel in each image partition;
    以及用于根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素 点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值。And for each pixel in each of the image partitions according to the BL value after the smoothing of the respective image partitions The luminance component Y of the dot is subjected to liquid crystal pixel compensation processing to determine the target luminance component Y value of each of the pixel points.
  20. 根据权利要求19所述的终端,其特征在于,所述处理单元在用于所述根据所述各个图像分区平滑处理后的BL值对所述各个图像分区中每个像素点的亮度分量Y做液晶像素补偿处理确定所述每个像素点的目标亮度分量Y值方面的具体实现方式为:The terminal according to claim 19, wherein said processing unit performs a luminance component Y for each pixel in said respective image partitions for said BL value after smoothing processing according to said respective image partitions The specific implementation manner of the liquid crystal pixel compensation process for determining the target luminance component Y value of each pixel point is:
    基于如下公式做所述液晶像素补偿处理:The liquid crystal pixel compensation processing is performed based on the following formula:
    Figure PCTCN2017071608-appb-100004
    Figure PCTCN2017071608-appb-100004
    其中,Yin为所述各个图像分区中每个像素点的亮度分量Y,Yout为液晶补偿后的所述各个图像分区中每个像素点的目标亮度分量Y,γ为伽马系数。Wherein, Y in the luminance component of each pixel in the respective image section Y, Y out of the target luminance component of each pixel of the liquid crystal after each image compensated partition Y, γ is the gamma factor.
  21. 一种终端,其特征在于,应用于设置有以LED为背光模组的液晶显示屏的终端,包括:A terminal is characterized in that it is applied to a terminal provided with a liquid crystal display with an LED as a backlight module, including:
    处理器、存储器、通信接口、LED液晶显示屏和通信总线,所述处理器、所述存储器、所述通信接口和所述LED液晶显示屏通过所述通信总线连接并完成相互间的通信;a processor, a memory, a communication interface, an LED liquid crystal display, and a communication bus, wherein the processor, the memory, the communication interface, and the LED liquid crystal display are connected by the communication bus and complete communication with each other;
    所述存储器存储有可执行程序代码,所述通信接口用于无线通信;The memory stores executable program code for wireless communication;
    所述处理器用于调用所述存储器中的所述可执行程序代码,执行如权利要求1-10任一项所描述的方法。The processor is operative to invoke the executable program code in the memory to perform the method as described in any one of claims 1-10.
  22. 一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1-10所述的方法。 A computer readable storage medium comprising instructions which, when executed on a computer, cause a computer to perform the method of claims 1-10.
PCT/CN2017/071608 2017-01-18 2017-01-18 Luminance adjusting method and terminal WO2018132987A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/071608 WO2018132987A1 (en) 2017-01-18 2017-01-18 Luminance adjusting method and terminal
CN201780057986.8A CN109716427A (en) 2017-01-18 2017-01-18 A kind of brightness adjusting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/071608 WO2018132987A1 (en) 2017-01-18 2017-01-18 Luminance adjusting method and terminal

Publications (1)

Publication Number Publication Date
WO2018132987A1 true WO2018132987A1 (en) 2018-07-26

Family

ID=62907519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071608 WO2018132987A1 (en) 2017-01-18 2017-01-18 Luminance adjusting method and terminal

Country Status (2)

Country Link
CN (1) CN109716427A (en)
WO (1) WO2018132987A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062709A1 (en) * 2020-09-28 2022-03-31 京东方科技集团股份有限公司 Method, apparatus and device for compensating display screen, and display screen driver board
CN116168652A (en) * 2022-12-26 2023-05-26 武汉Tcl集团工业研究院有限公司 Image display method, device, electronic equipment and computer readable storage medium
CN116453470A (en) * 2023-04-03 2023-07-18 武汉Tcl集团工业研究院有限公司 Image display method, device, electronic equipment and computer readable storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112927654B (en) * 2019-12-06 2022-08-02 Tcl科技集团股份有限公司 Backlight control method and device and terminal equipment
CN112164007A (en) * 2020-09-29 2021-01-01 Oppo广东移动通信有限公司 Image display method and apparatus, terminal and readable storage medium
CN114397779B (en) * 2021-12-08 2022-12-13 深圳市穗晶光电股份有限公司 Structure for enabling mini LED backlight partition brightness to be uniform
CN114170975B (en) * 2021-12-08 2023-05-30 Tcl华星光电技术有限公司 Display brightness adjusting method and device, display device and storage medium
CN114420061B (en) * 2022-01-27 2023-05-23 深圳Tcl数字技术有限公司 Screen brightness adjusting method and device, storage medium and display device
CN117157702A (en) * 2022-03-31 2023-12-01 京东方科技集团股份有限公司 Display control method and device, display equipment, electronic equipment and medium
CN114822421B (en) * 2022-04-29 2023-12-22 京东方科技集团股份有限公司 Display control method and device, display equipment, electronic equipment and medium
CN115240606A (en) * 2022-07-30 2022-10-25 福州大学 Dynamic dimming method for twice backlight correction area based on maximum value method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414437A (en) * 2007-10-19 2009-04-22 青岛海信电器股份有限公司 Liquid crystal display method and liquid crystal display device
CN104505055A (en) * 2014-12-31 2015-04-08 深圳创维-Rgb电子有限公司 Method and device for adjusting backlight brightness
CN105047145A (en) * 2015-09-14 2015-11-11 青岛海信电器股份有限公司 Backlight brightness control method, backlight brightness control device and display terminal
US20160225328A1 (en) * 2013-09-10 2016-08-04 Elbit Systems Ltd. Liquid crystal display having a rolling backlight

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005338511A (en) * 2004-05-27 2005-12-08 Sanyo Electric Co Ltd Video display unit
CN101281733B (en) * 2008-03-26 2010-06-02 青岛海信电器股份有限公司 Liquid crystal display method
DE102008062157A1 (en) * 2008-12-13 2011-06-16 Vastview Technology Inc. Dynamic control method, useful for controlling backlight module of a liquid crystal display, comprises capturing image data with many grayscale levels, and performing statistical analysis for generating many distribution factors from data
CN102243855B (en) * 2011-08-25 2012-12-26 合肥工业大学 Integrated backlight dimming method and device for enhancing liquid crystal display contrast ratio
JP2013148870A (en) * 2011-12-19 2013-08-01 Canon Inc Display device and control method thereof
CN103024489B (en) * 2012-12-24 2016-05-11 京东方科技集团股份有限公司 Image processing apparatus and system, video frequency collection card, display device, Set Top Box
CN103514853B (en) * 2013-09-23 2015-10-28 西安交通大学 A kind of backlight smoothing method and device being applied to liquid crystal display dynamic light adjustment
KR102127853B1 (en) * 2013-12-31 2020-06-29 에스엘 주식회사 Head up display apparatus and method for adjusting brightness of backlight unit
CN105469746B (en) * 2014-06-16 2019-02-26 青岛海信电器股份有限公司 A kind of liquid crystal display backlight control apparatus, LCD TV and MCU chip
KR101661466B1 (en) * 2015-03-09 2016-09-30 이피네트시스템즈 주식회사 Display apparatus for controlling luminance
CN105047140A (en) * 2015-07-06 2015-11-11 西安交通大学 Self-adapting dynamic backlight control system and method based on image content
CN105376498A (en) * 2015-10-16 2016-03-02 凌云光技术集团有限责任公司 Image processing method and system for expanding dynamic range of camera
CN106228936B (en) * 2016-09-28 2019-01-22 青岛海信电器股份有限公司 Backlight brightness control method, Apparatus and liquid crystal display equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414437A (en) * 2007-10-19 2009-04-22 青岛海信电器股份有限公司 Liquid crystal display method and liquid crystal display device
US20160225328A1 (en) * 2013-09-10 2016-08-04 Elbit Systems Ltd. Liquid crystal display having a rolling backlight
CN104505055A (en) * 2014-12-31 2015-04-08 深圳创维-Rgb电子有限公司 Method and device for adjusting backlight brightness
CN105047145A (en) * 2015-09-14 2015-11-11 青岛海信电器股份有限公司 Backlight brightness control method, backlight brightness control device and display terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LAI, C.C. ET AL.: "Backlight Power Reduction and Image Contrast Enhancement Using Adaptive Dimming for Global Backlight Applications", IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, vol. 54, no. 2, 15 July 2008 (2008-07-15), XP011229950, ISSN: 0098-3063 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062709A1 (en) * 2020-09-28 2022-03-31 京东方科技集团股份有限公司 Method, apparatus and device for compensating display screen, and display screen driver board
US11922848B2 (en) 2020-09-28 2024-03-05 Beijing Boe Optoelectronics Technology Co., Ltd. Method and apparatus for compensating displayed picture, device thereof, and driver board for display screen
CN116168652A (en) * 2022-12-26 2023-05-26 武汉Tcl集团工业研究院有限公司 Image display method, device, electronic equipment and computer readable storage medium
CN116453470A (en) * 2023-04-03 2023-07-18 武汉Tcl集团工业研究院有限公司 Image display method, device, electronic equipment and computer readable storage medium
CN116453470B (en) * 2023-04-03 2024-03-29 武汉Tcl集团工业研究院有限公司 Image display method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109716427A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
WO2018132987A1 (en) Luminance adjusting method and terminal
US8576256B2 (en) Dynamic backlight adaptation for video images with black bars
KR102149187B1 (en) Electronic device and control method of the same
US10783837B2 (en) Driving method and driving device of display device, and related device
WO2017084255A1 (en) Real-time video enhancement method, terminal, and nonvolatile computer readable storage medium
US20090317017A1 (en) Image characteristic oriented tone mapping for high dynamic range images
WO2017088483A1 (en) Display device image processing method and system, computer program and storage medium
WO2018035879A1 (en) Image processing method and device
CN115496668A (en) Image processing method, image processing device, electronic equipment and storage medium
WO2021073304A1 (en) Image processing method and apparatus
US20190313005A1 (en) Tone mapping for high-dynamic-range images
US8766902B2 (en) Management techniques for video playback
KR20160068627A (en) Image processing device, image processing method and display device
WO2020119454A1 (en) Method and apparatus for color reproduction of image
CN103810980A (en) Image occurrence frequency based liquid crystal display power consumption reducing method
TW202004662A (en) Method and computer system of image enhancement
KR100999811B1 (en) Image quality enhancement method using histogram equalization by parity probability segmentation
CN114051126B (en) Video processing method and video processing device
CN113099201B (en) Video signal processing method and device and electronic equipment
US9930349B2 (en) Image processing to retain small color/gray differences
CN113194267B (en) Image processing method and device and photographing method and device
TWI491266B (en) Noise reduction method and apparatus for pixels of a frame
WO2017092305A1 (en) Method and apparatus for adjusting image quality of video
CN109996017B (en) Image adjusting method and terminal thereof
CN115472135A (en) Backlight control method, apparatus and storage medium

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: 17893270

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17893270

Country of ref document: EP

Kind code of ref document: A1