WO2023035939A1 - Backlight adjustment method and apparatus, device, and storage medium - Google Patents

Backlight adjustment method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2023035939A1
WO2023035939A1 PCT/CN2022/114365 CN2022114365W WO2023035939A1 WO 2023035939 A1 WO2023035939 A1 WO 2023035939A1 CN 2022114365 W CN2022114365 W CN 2022114365W WO 2023035939 A1 WO2023035939 A1 WO 2023035939A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
value
adjusted
brightness value
backlight adjustment
Prior art date
Application number
PCT/CN2022/114365
Other languages
French (fr)
Chinese (zh)
Inventor
刘伟明
Original Assignee
深圳创维-Rgb电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳创维-Rgb电子有限公司 filed Critical 深圳创维-Rgb电子有限公司
Publication of WO2023035939A1 publication Critical patent/WO2023035939A1/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
    • G09G3/3406Control of illumination source
    • G09G3/3413Details of control of colour illumination sources
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Definitions

  • the present application relates to the field of display technology, and in particular to a backlight adjustment method, device, equipment and storage medium.
  • the local dimming (local backlight adjustment) function came into being. It can reduce the real-time power consumption of the whole machine, improve the contrast, expand and enhance the HDR function, and make the display picture better.
  • the brightness of the picture is established through the RGB input signal by adding specific parts of the RGB signal together. Videos are composed of image frames. If the adjacent images of the image frames that make up the video have obvious contrast between light and dark, obvious flickering problems will occur.
  • the main purpose of the present application is to provide a backlight adjustment method, device, equipment and storage medium, aiming to solve the technical problem of obvious flickering in the prior art when playing a film source with a clear contrast between light and dark.
  • the present application provides a backlight adjustment method, the method includes the following steps:
  • the brightness of the backlight is adjusted according to the adjustment result.
  • the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes:
  • the image histogram information including pixel RGB values and pixel occurrence frequencies of pixels in the image to be adjusted;
  • the image brightness value of the image to be adjusted is calculated according to the occurrence frequency of the pixel, the RGB value of the pixel point, and a preset backlight adjustment algorithm.
  • the preset backlight adjustment algorithm is:
  • M is the image brightness value of the image to be adjusted
  • n is the number of different pixels in the histogram information
  • Ri is the R value in the i-th pixel RGB value in the histogram information
  • Gi is The G value in the RGB value of the i-th pixel in the histogram information
  • Bi is the B value in the RGB value of the i-th pixel in the histogram information
  • Pi is the i-th pixel in the histogram information The pixel frequency of points.
  • the acquisition of the preset time domain filter value and the brightness value of the reference frame image is performed on the image brightness value of the image to be adjusted according to the preset time domain filter value and the brightness value of the reference frame image Reconciliation, the steps to obtain reconciliation results, including:
  • the reference frame image brightness value is an image brightness value of a previous frame image adjacent to the image to be adjusted
  • the image brightness value of the image to be adjusted is adjusted according to the target time-domain filter value range to obtain an adjustment result.
  • the step of adjusting the image brightness value of the image to be adjusted according to the target time-domain filter value range, and obtaining an adjustment result includes:
  • the image brightness value of the image to be adjusted is within the target temporal filter value range
  • the image brightness value of the image to be adjusted is used as the adjustment result.
  • the step of judging whether the image brightness value of the image to be adjusted is within the range of the target temporal filter value, it further includes:
  • the first filter value is used as the adjustment result.
  • the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes:
  • a backlight adjustment device which includes:
  • An acquisition module configured to acquire image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted
  • a calculation module configured to calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm
  • An adjustment module configured to obtain a preset time-domain filter value and a reference frame image brightness value, adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtain adjustment results;
  • a control module configured to control the brightness of the backlight according to the adjustment result.
  • the present application also proposes a backlight adjustment device, which includes: a memory, a processor, and a backlight adjustment program stored in the memory and operable on the processor, the backlight
  • the adjustment program is configured to implement the steps of the backlight adjustment method as described above.
  • the present application also proposes a storage medium, on which a backlight adjustment program is stored, and when the backlight adjustment program is executed by a processor, the steps of the above-mentioned backlight adjustment method are implemented.
  • the application discloses a backlight adjustment method, device, equipment and storage medium.
  • the method includes: acquiring image information to be adjusted, determining the image to be adjusted according to the image information to be adjusted; calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm; acquiring a preset time domain filter value and a reference frame image Brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result.
  • this application calculates the image brightness value of the image to be adjusted, adjusts the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, because the reference frame image brightness value is adjacent to the image to be adjusted
  • the image brightness value of the previous frame image so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that two adjacent frames of images will not be played due to the contrast between light and dark.
  • Obvious and flickering problem Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
  • Fig. 1 is a schematic structural diagram of a backlight adjustment device in a hardware operating environment involved in the embodiment of the present application;
  • FIG. 2 is a schematic flow chart of the first embodiment of the backlight adjustment method of the present application
  • FIG. 3 is a schematic flowchart of the second embodiment of the backlight adjustment method of the present application.
  • FIG. 4 is a structural block diagram of the first embodiment of the backlight adjusting device of the present application.
  • FIG. 1 is a schematic structural diagram of a backlight adjustment device in a hardware operating environment involved in an embodiment of the present application.
  • the backlight adjustment device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, and a memory 1005.
  • a processor 1001 such as a central processing unit (Central Processing Unit, CPU)
  • the communication bus 1002 is used to realize connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • FIG. 1 is not limited to the backlight adjustment device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 as a storage medium may include an operating system, a user interface module, and a backlight adjustment program.
  • the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the backlight adjustment device of the present application can be set in the backlight adjustment device, and the backlight adjustment device passes
  • the processor 1001 invokes the backlight adjustment program stored in the memory 1005, and executes the backlight adjustment method provided in the embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a first embodiment of the backlight adjustment method of the present application.
  • the backlight adjustment method includes the following steps:
  • Step S10 Obtain image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted.
  • the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a mobile phone, a tablet computer, a personal computer, etc., or an electronic device capable of realizing the above functions. equipment or a TV with local dimming function, etc.
  • a computing service device with data processing, network communication and program running functions such as a mobile phone, a tablet computer, a personal computer, etc.
  • the present embodiment and the following embodiments will be described by taking the television as an example.
  • the image information to be adjusted may be a video or several frames of images to be played on the video playback device.
  • the determining the image to be adjusted according to the image information to be adjusted may be acquiring an image frame in the image information to be adjusted, and using the image frame as the image to be adjusted.
  • Step S20 Calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm.
  • the preset backlight adjustment algorithm may be an algorithm capable of calculating the image brightness value of the image according to information such as YUV or RGB of the image to be adjusted.
  • the step S20 includes: acquiring image histogram information of the image to be adjusted, the image histogram information including the pixel points in the image to be adjusted Pixel RGB value and pixel occurrence frequency; calculate the image brightness value of the image to be adjusted according to the pixel occurrence frequency, the pixel RGB value and a preset backlight adjustment algorithm.
  • the image histogram information may be pixel point information and pixel frequency information in the image to be adjusted. It may be to perform histogram processing on the image to be adjusted to obtain image histogram information of the image to be adjusted.
  • the preset backlight adjustment algorithm is:
  • M is the image brightness value of the image to be adjusted
  • n is the number of different pixels in the histogram information
  • Ri is the R value in the i-th pixel RGB value in the histogram information
  • Gi is The G value in the RGB value of the i-th pixel in the histogram information
  • Bi is the B value in the RGB value of the i-th pixel in the histogram information
  • Pi is the i-th pixel in the histogram information The pixel frequency of points.
  • the image frame of the image information has 1000 frames
  • the image histogram information of the 1000 frames of images is calculated respectively
  • the pixel RGB value and pixel appearance of the pixel in the image are obtained Frequency, and then substituted into the above algorithm to calculate the brightness value of the image
  • the image histogram of an image shows that it is composed of two different pixel points, namely pixel point A and pixel point B, and the frequency of occurrence is A
  • the frequency of occurrence is 100
  • the frequency of B is 400
  • the RGB values of A are 200 for R, 100 for G, and 0 for B.
  • the RGB values of B are 100 for R, 90 for G, and 210 for B.
  • Step S30 Obtain a preset time-domain filter value and a reference frame image brightness value, adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtain an adjustment result .
  • the preset time-domain filter value may be a preset threshold value for the difference between the image brightness values of two adjacent image frames, for example, the preset time-domain filter value may be set to 25, then in When the absolute value of the difference between the image brightness values of two adjacent image frames is greater than 25, it indicates that the brightness of the two adjacent frames changes too much, and brightness adjustment is required.
  • Adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value may be adjusting the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value The image brightness value of the image, so that the absolute value of the difference between the image brightness value of the image to be adjusted and the reference frame image brightness value is less than or equal to the preset time domain filter value.
  • Step S40 adjusting the brightness of the backlight according to the adjustment result.
  • the backlight control chip may be a chip capable of adjusting the brightness of the backlight.
  • the backlight control chip in the television after receiving the adjustment result, the backlight control chip in the television adjusts the brightness of the backlight according to the adjustment result.
  • the image information to be adjusted is acquired, and the image to be adjusted is determined according to the image information to be adjusted; the image brightness value of the image to be adjusted is calculated according to the preset backlight adjustment algorithm; the preset time domain filter value and the reference frame image brightness are obtained value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result. Since this embodiment calculates the image brightness value of the image to be adjusted, the image brightness value of the image to be adjusted is adjusted according to the preset time-domain filter value and the brightness value of the image of the reference frame, because the brightness value of the image of the reference frame is the same as that of the image to be adjusted.
  • the image brightness value of the adjacent previous frame image so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that the adjacent two frame images will not be played due to brightness and darkness. Contrast is sharp and flickering problem arises. Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
  • FIG. 3 is a schematic flowchart of a second embodiment of a backlight adjustment method of the present application.
  • the step S30 includes:
  • Step S301 Obtain a reference frame image brightness value, the reference frame image brightness value being an image brightness value of a previous frame image adjacent to the image to be adjusted.
  • Step S302 Obtain the preset time domain filter value, and determine the target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value.
  • the preset time-domain filter value may be a preset threshold value for the difference between image brightness values of two adjacent image frames.
  • the preset time-domain filter value may be set to 25, that is, The difference between the image brightness values of two adjacent frames of images does not exceed 25, and may also be determined according to empirical values, which is not limited in this embodiment.
  • the determination of the target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value may be obtained by subtracting the preset time domain filter value from the brightness value of the reference frame image to obtain the target time domain filter value
  • the lower limit value of the range, the lower limit value of the target time domain filter value range is obtained according to the brightness value of the reference frame image plus the preset time domain filter value, and the target time domain value is generated according to the lower limit value and the upper limit value Filter value range. For example, if the luminance value of the reference frame image is 180, then the range of the target temporal filter value determined according to the luminance value of the reference frame image is 155-205.
  • Step S303 Adjust the image brightness value of the image to be adjusted according to the target temporal filter value range, and obtain an adjustment result.
  • the adjusting the image brightness value of the image to be adjusted according to the target time domain filter value range may be adjusting the image brightness value to be within the target time domain filter value range.
  • step S303 it also includes: judging whether the image brightness value of the image to be adjusted is within the target time-domain filter value range ; when the image brightness value of the image to be adjusted is within the range of the target temporal filter value, taking the image brightness value of the image to be adjusted as the adjustment result.
  • the image brightness value of the image to be adjusted is within the range of the target time-domain filter value, it can be considered that the brightness of the two adjacent frames of images does not change much, and no flickering problem occurs.
  • the image brightness value of the image to be adjusted may be directly used as the adjustment result without adjusting the image brightness value of the image to be adjusted.
  • the judging whether the image brightness value of the image to be adjusted is within the range of the target time domain filter value it also includes: when the image brightness value of the image to be adjusted is not within the target time domain filter value When within the range, determine the first filter value according to the target time domain filter value range; judge whether the image brightness value of the image to be adjusted is less than the first filter value; if the image brightness value of the image to be adjusted is smaller than the set When the first filter value is used, the first filter value is used as the adjustment result.
  • the first filter value may be the lower limit of the target time domain filter value range, for example, if the target time domain filter value range is 140-160, then the first filter value may be 140.
  • the first filter value is used as the adjustment result.
  • the step of judging whether the image brightness value of the image to be adjusted is smaller than the first filter value it further includes: if the image brightness value of the image to be adjusted is not smaller than the first filter value, then judging Whether the image brightness value of the image to be adjusted is greater than the upper limit value of the target time domain filter value range, and when the image brightness value of the image to be adjusted is greater than the upper limit value of the target time domain filter value range, the target time domain filter value
  • the upper limit value of the domain filter value range is used as the adjustment result. For example, if the target time domain filter value range is 140-160, then the upper limit value of the target time domain filter value range may be 160. When the image brightness value of the image to be adjusted is greater than 160, 160 is used as the adjustment result of the image to be adjusted.
  • the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes: obtaining a preset number of partitions; partitioning the image to be adjusted according to the preset number of partitions to obtain the Describe the partition image of the image to be adjusted; calculate the brightness value of the partition image of the partition image according to a preset backlight adjustment algorithm.
  • the number of partitions may be the number of partitions for partitioning the image to be adjusted, that is, the number of equally divided parts of the image to be adjusted. If the number of partitions is 4, the image to be adjusted is divided into equal parts. 4 partitions.
  • the partitioned image may be a partitioned image of the image to be adjusted, and the calculation of the brightness value of the partitioned image of the partitioned image according to the preset backlight adjustment algorithm may refer to the above method for calculating the image brightness value of the image to be adjusted. This embodiment is here Not limited.
  • each frame of the image to be adjusted can be partitioned to obtain a partitioned image of each frame of the image to be adjusted, and the image brightness value of the partitioned image can be calculated to adjust the brightness of the backlight for the partition.
  • the image brightness values of the subregion images in the same image to be recognized are too different, the brightness of the backlight of the subregion images can be adjusted separately, so that the difference between the image brightness values of each subregion image in the image to be recognized is within a preset range Inside. Improve user viewing experience.
  • the reference frame image brightness value of the previous frame image adjacent to the image to be adjusted is obtained; the preset time domain filter value is obtained, and determined according to the reference frame image brightness value and the preset time domain filter value
  • a target time-domain filter value range adjusting the image brightness value of the image to be adjusted according to the target time-domain filter value range to obtain an adjustment result.
  • the target temporal filter value range is determined according to the reference frame image brightness value and the preset temporal filter value by acquiring the reference frame image brightness value of the previous frame image adjacent to the image to be adjusted; The image brightness value of the image to be adjusted is adjusted according to the target time-domain filter value range to obtain an adjustment result. Make the difference between the image brightness value of the image to be adjusted and the reference frame image brightness value of the adjacent previous frame image within a certain range, so that when the video is played, the brightness of the image frame will not cause flickering problems.
  • FIG. 4 is a structural block diagram of a first embodiment of a backlight adjusting device of the present application.
  • the backlight adjustment device proposed in the embodiment of the present application includes:
  • the acquiring module 10 is configured to acquire image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted.
  • the calculation module 20 is configured to calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm.
  • An adjustment module 30 configured to acquire a preset time-domain filter value and a reference frame image brightness value, and adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, Get the adjustment result.
  • the control module 40 is configured to send the adjustment result to the backlight control chip, so that the backlight control chip controls the brightness of the backlight according to the adjustment result.
  • This embodiment includes acquiring the image information to be adjusted, determining the image to be adjusted according to the image information to be adjusted; calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm; acquiring a preset time domain filter value and a reference frame image Brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result. Since this embodiment calculates the image brightness value of the image to be adjusted, the image brightness value of the image to be adjusted is adjusted according to the preset time-domain filter value and the brightness value of the image of the reference frame, because the brightness value of the image of the reference frame is the same as that of the image to be adjusted.
  • the image brightness value of the adjacent previous frame image so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that the adjacent two frame images will not be played due to brightness and darkness. Contrast is sharp and flickering problem arises. Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
  • the calculation module 20 is further configured to acquire image histogram information of the image to be adjusted, the image histogram information including pixel RGB values and pixel occurrences of pixels in the image to be adjusted Frequency: calculate the image brightness value of the image to be adjusted according to the pixel occurrence frequency, the pixel RGB value and a preset backlight adjustment algorithm.
  • the preset backlight adjustment algorithm is:
  • M is the image brightness value of the image to be adjusted
  • n is the number of different pixels in the histogram information
  • Ri is the R value in the i-th pixel RGB value in the histogram information
  • Gi is The G value in the RGB value of the i-th pixel in the histogram information
  • Bi is the B value in the RGB value of the i-th pixel in the histogram information
  • Pi is the i-th pixel in the histogram information The pixel frequency of points.
  • the adjustment module 30 is also used to obtain a reference frame image brightness value, the reference frame image brightness value is an image brightness value of a previous frame image adjacent to the image to be adjusted; obtain a preset time domain A filter value, determining a target time domain filter value range according to the reference frame image brightness value and the preset time domain filter value; adjusting the image brightness value of the image to be adjusted according to the target time domain filter value range, Get the adjustment result.
  • the adjustment module 30 is also used to judge whether the image brightness value of the image to be adjusted is within the range of the target time domain filter value; when the image brightness value of the image to be adjusted is within the target time domain When the filter value is within the range, the image brightness value of the image to be adjusted is used as the adjustment result.
  • the adjustment module 30 is further configured to determine a first filter value according to the target time domain filter value range when the image brightness value of the image to be adjusted is not within the target time domain filter value range; judging whether the image brightness value of the image to be adjusted is smaller than the first filter value; when the image brightness value of the image to be adjusted is smaller than the first filter value, using the first filter value as the adjustment result .
  • calculation module 20 is also used to obtain a preset number of partitions; partition the image to be adjusted according to the preset number of partitions to obtain a partition image of the image to be adjusted; according to a preset backlight adjustment algorithm Calculate the brightness value of the sub-region image of the sub-region image.
  • the embodiment of the present application also proposes a storage medium, on which a backlight adjustment program is stored, and when the backlight adjustment program is executed by a processor, the steps of the above-mentioned backlight adjustment method are implemented.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as read-only memory/random access memory, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the methods described in various embodiments of the present application.

Landscapes

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

Abstract

The present application discloses a backlight adjustment method and apparatus, a device, and a storage medium. The method comprises acquiring image information to be adjusted; according to said image information, determining an image to be adjusted; according to a preset backlight adjustment algorithm, calculating an image brightness value of said image; acquiring a preset time domain filter value and a reference frame image brightness value; according to the preset time domain filter value and the reference frame image brightness value, adjusting the image brightness value of said image, and obtaining an adjustment result; and adjusting the brightness of a backlight lamp according to the adjustment result.

Description

背光调节方法、装置、设备及存储介质Backlight adjustment method, device, equipment and storage medium
优先权信息priority information
本申请要求于2021年9月8日申请的、申请号为202111054158.3的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111054158.3 filed on September 8, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及显示技术领域,尤其涉及一种背光调节方法、装置、设备及存储介质。The present application relates to the field of display technology, and in particular to a backlight adjustment method, device, equipment and storage medium.
背景技术Background technique
随着广播电视事业的飞速发展、数字化进程的不断加快,local dimming(局部背光调节)功能应运而生,它能降低整机实时功耗,提升对比度,扩展增强HDR功能,使显示画面更好。画面的亮度是透过RGB输入信号来建立的,方法是将RGB信号的特定部分叠加到一起。视频都是由图像帧构成的,若是构成视频的图像帧相邻的图像亮暗对比明显,则会出现明显的闪烁问题。With the rapid development of the radio and television industry and the continuous acceleration of the digitalization process, the local dimming (local backlight adjustment) function came into being. It can reduce the real-time power consumption of the whole machine, improve the contrast, expand and enhance the HDR function, and make the display picture better. The brightness of the picture is established through the RGB input signal by adding specific parts of the RGB signal together. Videos are composed of image frames. If the adjacent images of the image frames that make up the video have obvious contrast between light and dark, obvious flickering problems will occur.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present application, and does not mean that the above content is admitted as prior art.
发明内容Contents of the invention
本申请的主要目的在于提供了一种背光调节方法、装置、设备及存储介质,旨在解决现有技术中在播放亮暗对比明显的片源时出现明显闪烁的技术问题。The main purpose of the present application is to provide a backlight adjustment method, device, equipment and storage medium, aiming to solve the technical problem of obvious flickering in the prior art when playing a film source with a clear contrast between light and dark.
为实现上述目的,本申请提供了一种背光调节方法,所述方法包括以下步骤:In order to achieve the above object, the present application provides a backlight adjustment method, the method includes the following steps:
获取待调节图像信息,根据所述待调节图像信息确定待调节图像;Acquiring image information to be adjusted, and determining an image to be adjusted according to the image information to be adjusted;
根据预设背光调节算法计算所述待调节图像的图像亮度值;calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm;
获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;Acquiring a preset time-domain filter value and a reference frame image brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtaining an adjustment result;
根据所述调节结果调节背光灯的亮度。The brightness of the backlight is adjusted according to the adjustment result.
在一实施例中,所述根据预设背光调节算法计算所述待调节图像的图像亮度值的步骤,包括:In one embodiment, the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes:
获取所述待调节图像的图像直方图信息,所述图像直方图信息包括所述待调节图像中像素点的像素点RGB值和像素出现频率;Acquiring image histogram information of the image to be adjusted, the image histogram information including pixel RGB values and pixel occurrence frequencies of pixels in the image to be adjusted;
根据所述像素出现频率、所述像素点RGB值和预设背光调节算法计算所述待调节图像的图像亮度值。The image brightness value of the image to be adjusted is calculated according to the occurrence frequency of the pixel, the RGB value of the pixel point, and a preset backlight adjustment algorithm.
在一实施例中,所述预设背光调节算法为:In one embodiment, the preset backlight adjustment algorithm is:
Figure PCTCN2022114365-appb-000001
Figure PCTCN2022114365-appb-000001
其中,M为所述待调节图像的图像亮度值,n为所述直方图信息中不同像素点的数量、Ri为所述直方图信息中第i个像素点RGB值中的R值,Gi为所述直方图信息中第i个像素点RGB值中的G值,Bi为所述直方图信息中第i个像素点RGB值中的B值,Pi为所述直方图信息中第i个像素点的像素出现频率。Wherein, M is the image brightness value of the image to be adjusted, n is the number of different pixels in the histogram information, Ri is the R value in the i-th pixel RGB value in the histogram information, and Gi is The G value in the RGB value of the i-th pixel in the histogram information, Bi is the B value in the RGB value of the i-th pixel in the histogram information, and Pi is the i-th pixel in the histogram information The pixel frequency of points.
在一实施例中,所述获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果的步骤,包括:In one embodiment, the acquisition of the preset time domain filter value and the brightness value of the reference frame image is performed on the image brightness value of the image to be adjusted according to the preset time domain filter value and the brightness value of the reference frame image Reconciliation, the steps to obtain reconciliation results, including:
获取参考帧图像亮度值,所述参考帧图像亮度值为与所述待调节图像相邻的上一帧图像的图像亮度值;Obtaining a reference frame image brightness value, where the reference frame image brightness value is an image brightness value of a previous frame image adjacent to the image to be adjusted;
获取预设时域滤波值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;Acquire a preset time domain filter value, and determine a target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value;
根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。The image brightness value of the image to be adjusted is adjusted according to the target time-domain filter value range to obtain an adjustment result.
在一实施例中,所述根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果的步骤,包括:In one embodiment, the step of adjusting the image brightness value of the image to be adjusted according to the target time-domain filter value range, and obtaining an adjustment result includes:
判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内;judging whether the image brightness value of the image to be adjusted is within the range of the target temporal filter value;
在所述待调节图像的图像亮度值处于所述目标时域滤波值范围内时,将所述待调节图像的图像亮度值作为所述调节结果。When the image brightness value of the image to be adjusted is within the target temporal filter value range, the image brightness value of the image to be adjusted is used as the adjustment result.
在一实施例中,所述判断所述待调节图像的图像亮度值是否处于所述目 标时域滤波值范围内的步骤之后,还包括:In one embodiment, after the step of judging whether the image brightness value of the image to be adjusted is within the range of the target temporal filter value, it further includes:
在所述待调节图像的图像亮度值不处于所述目标时域滤波值范围内时,根据所述目标时域滤波值范围确定第一滤波值;When the image brightness value of the image to be adjusted is not within the target time-domain filter value range, determine a first filter value according to the target time-domain filter value range;
判断所述待调节图像的图像亮度值是否小于所述第一滤波值;judging whether the image brightness value of the image to be adjusted is smaller than the first filter value;
在所述待调节图像的图像亮度值小于所述第一滤波值时,将所述第一滤波值作为所述调节结果。When the image brightness value of the image to be adjusted is smaller than the first filter value, the first filter value is used as the adjustment result.
在一实施例中,所述根据预设背光调节算法计算所述待调节图像的图像亮度值的步骤,包括:In one embodiment, the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes:
获取预设分区数量;Get the number of preset partitions;
根据所述预设分区数量对所述待调节图像进行分区,获得所述待调节图像的分区图像;Partitioning the image to be adjusted according to the preset number of partitions to obtain a partitioned image of the image to be adjusted;
根据预设背光调节算法计算所述分区图像的分区图像亮度值。Calculate the brightness value of the sub-region image of the sub-region image according to a preset backlight adjustment algorithm.
此外,为实现上述目的,本申请还提供一种背光调节装置,所述装置包括:In addition, in order to achieve the above purpose, the present application also provides a backlight adjustment device, which includes:
获取模块,用于获取待调节图像信息,根据所述待调节图像信息确定待调节图像;An acquisition module, configured to acquire image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted;
计算模块,用于根据预设背光调节算法计算所述待调节图像的图像亮度值;A calculation module, configured to calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm;
调节模块,用于获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;An adjustment module, configured to obtain a preset time-domain filter value and a reference frame image brightness value, adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtain adjustment results;
控制模块,用于根据所述调节结果控制背光灯的亮度。A control module, configured to control the brightness of the backlight according to the adjustment result.
此外,为实现上述目的,本申请还提出一种背光调节设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的背光调节程序,所述背光调节程序配置为实现如上文所述的背光调节方法的步骤。In addition, in order to achieve the above purpose, the present application also proposes a backlight adjustment device, which includes: a memory, a processor, and a backlight adjustment program stored in the memory and operable on the processor, the backlight The adjustment program is configured to implement the steps of the backlight adjustment method as described above.
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有背光调节程序,所述背光调节程序被处理器执行时实现如上文所述的背光调节方法的步骤。In addition, to achieve the above purpose, the present application also proposes a storage medium, on which a backlight adjustment program is stored, and when the backlight adjustment program is executed by a processor, the steps of the above-mentioned backlight adjustment method are implemented.
本申请公开了一种背光调节方法、装置、设备及存储介质。该方法包括:获取待调节图像信息,根据所述待调节图像信息确定待调节图像;根据预设背光调节算法计算所述待调节图像的图像亮度值;获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;根据所述调节结果调节背光灯的亮度。由于本申请是通过计算待调节图像的图像亮度值,根据预设时域滤波值和参考帧图像亮度值对待调节图像的图像亮度值进行调节,因为参考帧图像亮度值为与待调节图像相邻的上一帧图像的图像亮度值,所以调节后的待调节图像的图像亮度值与参考帧图像亮度值之差在一定范围内,使得相邻的两帧图像在播放时不会因为亮暗对比明显而产生闪烁问题。解决了现有的在播放亮暗对比明显的片源时,会出现明显的闪烁问题,提升用户观影体验。The application discloses a backlight adjustment method, device, equipment and storage medium. The method includes: acquiring image information to be adjusted, determining the image to be adjusted according to the image information to be adjusted; calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm; acquiring a preset time domain filter value and a reference frame image Brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result. Because this application calculates the image brightness value of the image to be adjusted, adjusts the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, because the reference frame image brightness value is adjacent to the image to be adjusted The image brightness value of the previous frame image, so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that two adjacent frames of images will not be played due to the contrast between light and dark. Obvious and flickering problem. Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
附图说明Description of drawings
图1是本申请实施例方案涉及的硬件运行环境的背光调节设备的结构示意图;Fig. 1 is a schematic structural diagram of a backlight adjustment device in a hardware operating environment involved in the embodiment of the present application;
图2为本申请背光调节方法第一实施例的流程示意图;FIG. 2 is a schematic flow chart of the first embodiment of the backlight adjustment method of the present application;
图3为本申请背光调节方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of the second embodiment of the backlight adjustment method of the present application;
图4为本申请背光调节装置第一实施例的结构框图。FIG. 4 is a structural block diagram of the first embodiment of the backlight adjusting device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的背光调节设备结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a backlight adjustment device in a hardware operating environment involved in an embodiment of the present application.
如图1所示,该背光调节设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003 还可以包括标准的有线接口、无线接口。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM),也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the backlight adjustment device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, and a memory 1005. Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的结构并不构成对背光调节设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 is not limited to the backlight adjustment device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、用户接口模块以及背光调节程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a user interface module, and a backlight adjustment program.
在图1所示的背光调节设备中,用户接口1003主要用于与用户进行数据交互;本申请背光调节设备中的处理器1001、存储器1005可以设置在背光调节设备中,所述背光调节设备通过处理器1001调用存储器1005中存储的背光调节程序,并执行本申请实施例提供的背光调节方法。In the backlight adjustment device shown in FIG. 1 , the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the backlight adjustment device of the present application can be set in the backlight adjustment device, and the backlight adjustment device passes The processor 1001 invokes the backlight adjustment program stored in the memory 1005, and executes the backlight adjustment method provided in the embodiment of the present application.
基于上述背光调节设备,本申请实施例提供了一种背光调节方法,参照图2,图2为本申请背光调节方法第一实施例的流程示意图。Based on the above-mentioned backlight adjustment device, an embodiment of the present application provides a backlight adjustment method. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first embodiment of the backlight adjustment method of the present application.
本实施例中,所述背光调节方法包括以下步骤:In this embodiment, the backlight adjustment method includes the following steps:
步骤S10:获取待调节图像信息,根据所述待调节图像信息确定待调节图像。Step S10: Obtain image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted.
需要说明的是,本实施例的执行主体可以是一种具有数据处理、网络通信以及程序运行功能的计算服务设备,例如手机、平板电脑、个人电脑等,或者是一种能够实现上述功能的电子设备或带有local dimming功能的电视机等。以下以所述电视机为例,对本实施例及下述各实施例进行说明。It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a mobile phone, a tablet computer, a personal computer, etc., or an electronic device capable of realizing the above functions. equipment or a TV with local dimming function, etc. Hereinafter, the present embodiment and the following embodiments will be described by taking the television as an example.
需要说明的是,所述待调节图像信息可以是在视频播放设备上待播放的视频或若干帧图像。所述根据所述待调节图像信息确定待调节图像可以是获取所述待调节图像信息中的图像帧,将所述图像帧作为所述待调节图像。It should be noted that the image information to be adjusted may be a video or several frames of images to be played on the video playback device. The determining the image to be adjusted according to the image information to be adjusted may be acquiring an image frame in the image information to be adjusted, and using the image frame as the image to be adjusted.
步骤S20:根据预设背光调节算法计算所述待调节图像的图像亮度值。Step S20: Calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm.
需要说明的是,所述预设背光调节算法可以是能够根据待调节图像的YUV或RGB等信息计算出图像的图像亮度值的算法。It should be noted that the preset backlight adjustment algorithm may be an algorithm capable of calculating the image brightness value of the image according to information such as YUV or RGB of the image to be adjusted.
进一步的,为了更准确的获得待调节图像的图像亮度值,所述步骤S20 包括:获取所述待调节图像的图像直方图信息,所述图像直方图信息包括所述待调节图像中像素点的像素点RGB值和像素出现频率;根据所述像素出现频率、所述像素点RGB值和预设背光调节算法计算所述待调节图像的图像亮度值。Further, in order to obtain the image brightness value of the image to be adjusted more accurately, the step S20 includes: acquiring image histogram information of the image to be adjusted, the image histogram information including the pixel points in the image to be adjusted Pixel RGB value and pixel occurrence frequency; calculate the image brightness value of the image to be adjusted according to the pixel occurrence frequency, the pixel RGB value and a preset backlight adjustment algorithm.
需要说明的是,所述图像直方图信息可以是所述待调节图像中的像素点信息和像素点的频率信息。可以是对所述待调节图像进行直方图处理,获得所述待调节图像的图像直方图信息。所述预设背光调节算法为:It should be noted that the image histogram information may be pixel point information and pixel frequency information in the image to be adjusted. It may be to perform histogram processing on the image to be adjusted to obtain image histogram information of the image to be adjusted. The preset backlight adjustment algorithm is:
Figure PCTCN2022114365-appb-000002
Figure PCTCN2022114365-appb-000002
其中,M为所述待调节图像的图像亮度值,n为所述直方图信息中不同像素点的数量、Ri为所述直方图信息中第i个像素点RGB值中的R值,Gi为所述直方图信息中第i个像素点RGB值中的G值,Bi为所述直方图信息中第i个像素点RGB值中的B值,Pi为所述直方图信息中第i个像素点的像素出现频率。Wherein, M is the image brightness value of the image to be adjusted, n is the number of different pixels in the histogram information, Ri is the R value in the i-th pixel RGB value in the histogram information, and Gi is The G value in the RGB value of the i-th pixel in the histogram information, Bi is the B value in the RGB value of the i-th pixel in the histogram information, and Pi is the i-th pixel in the histogram information The pixel frequency of points.
在具体实施中,例如,对于一个图像信息,该图像信息的图像帧有1000帧,对该1000帧图像分别进行计算其图像直方图信息,得到其图像中像素点的像素点RGB值和像素出现频率,进而代入至上述算法中计算图像的亮度值,例如,某一图像的图像直方图表示其由两种不同的像素点组成,分别是像素点A和像素点B,其出现的频率为A出现频率为100个,B出现的频率为400个,A的RGB值分别为R为200,G为100,B为0。B的RGB值分别为R为100,G为90,B为210。代入至上述公式中,计算得到M=100[(299*200)+(587*100)+(114*0)]/1000+400[(299*100)+(587*90)+(114*210)]/1000=100*118.5+400*106.67=11850+10667=22517。即该图像帧的图像亮度值为22517。由于每一款液晶显示屏存在冷色和暖色区别,甚至同一款屏不同部位由于工艺差异会存在差异,所以此处需要继续做液晶补偿,采用液晶补偿更对计算出来的图像亮度值进行调整,以得到更加精确的计算结果。In specific implementation, for example, for an image information, the image frame of the image information has 1000 frames, the image histogram information of the 1000 frames of images is calculated respectively, and the pixel RGB value and pixel appearance of the pixel in the image are obtained Frequency, and then substituted into the above algorithm to calculate the brightness value of the image, for example, the image histogram of an image shows that it is composed of two different pixel points, namely pixel point A and pixel point B, and the frequency of occurrence is A The frequency of occurrence is 100, the frequency of B is 400, and the RGB values of A are 200 for R, 100 for G, and 0 for B. The RGB values of B are 100 for R, 90 for G, and 210 for B. Substituting into the above formula, the calculation is M=100[(299*200)+(587*100)+(114*0)]/1000+400[(299*100)+(587*90)+(114* 210)]/1000=100*118.5+400*106.67=11850+10667=22517. That is, the image brightness value of the image frame is 22517. Since each type of LCD display has a difference between cool and warm colors, and even different parts of the same type of screen may have differences due to process differences, so it is necessary to continue to do liquid crystal compensation here, and use liquid crystal compensation to adjust the calculated image brightness value. Get more accurate calculation results.
步骤S30:获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果。Step S30: Obtain a preset time-domain filter value and a reference frame image brightness value, adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtain an adjustment result .
需要说明的是,所述预设时域滤波值可以是预先设定的相邻两帧图像帧的图像亮度值的差别的阈值,例如,可以设定预设时域滤波值为25,则在相 邻两者图像帧的图像亮度值之差的绝对值大于25时,说明这相邻两帧的亮度变化过大,需要进行亮度调节。根据所述预设时域滤波值和参考帧图像亮度值对所述待调节图像的图像亮度值进行调节可以是根据所述预设时域滤波值和参考帧图像亮度值调节所述待调节图像的图像亮度值,使待调节图像的图像亮度值与参考帧图像亮度值的差的绝对值小于或等于所述预设时域滤波值。It should be noted that the preset time-domain filter value may be a preset threshold value for the difference between the image brightness values of two adjacent image frames, for example, the preset time-domain filter value may be set to 25, then in When the absolute value of the difference between the image brightness values of two adjacent image frames is greater than 25, it indicates that the brightness of the two adjacent frames changes too much, and brightness adjustment is required. Adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value may be adjusting the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value The image brightness value of the image, so that the absolute value of the difference between the image brightness value of the image to be adjusted and the reference frame image brightness value is less than or equal to the preset time domain filter value.
步骤S40:根据所述调节结果调节背光灯的亮度。Step S40: adjusting the brightness of the backlight according to the adjustment result.
需要说明的是,所述背光控制芯片可以是能够调整所述背光灯的亮度的芯片。It should be noted that the backlight control chip may be a chip capable of adjusting the brightness of the backlight.
在具体实施中,电视机中的背光控制芯片接收到所述调节结果后,根据所述调节结果调节背光灯的亮度。In a specific implementation, after receiving the adjustment result, the backlight control chip in the television adjusts the brightness of the backlight according to the adjustment result.
本实施例获取待调节图像信息,根据所述待调节图像信息确定待调节图像;根据预设背光调节算法计算所述待调节图像的图像亮度值;获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;根据所述调节结果调节背光灯的亮度。由于本实施例是通过计算待调节图像的图像亮度值,根据预设时域滤波值和参考帧图像亮度值对待调节图像的图像亮度值进行调节,因为参考帧图像亮度值为与待调节图像相邻的上一帧图像的图像亮度值,所以调节后的待调节图像的图像亮度值与参考帧图像亮度值之差在一定范围内,使得相邻的两帧图像在播放时不会因为亮暗对比明显而产生闪烁问题。解决了现有的在播放亮暗对比明显的片源时,会出现明显的闪烁问题,提升用户观影体验。In this embodiment, the image information to be adjusted is acquired, and the image to be adjusted is determined according to the image information to be adjusted; the image brightness value of the image to be adjusted is calculated according to the preset backlight adjustment algorithm; the preset time domain filter value and the reference frame image brightness are obtained value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result. Since this embodiment calculates the image brightness value of the image to be adjusted, the image brightness value of the image to be adjusted is adjusted according to the preset time-domain filter value and the brightness value of the image of the reference frame, because the brightness value of the image of the reference frame is the same as that of the image to be adjusted. The image brightness value of the adjacent previous frame image, so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that the adjacent two frame images will not be played due to brightness and darkness. Contrast is sharp and flickering problem arises. Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
参考图3,图3为本申请背光调节方法第二实施例的流程示意图。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second embodiment of a backlight adjustment method of the present application.
基于上述第一实施例,在本实施例中,所述步骤S30包括:Based on the first embodiment above, in this embodiment, the step S30 includes:
步骤S301:获取参考帧图像亮度值,所述参考帧图像亮度值为与所述待调节图像相邻的上一帧图像的图像亮度值。Step S301: Obtain a reference frame image brightness value, the reference frame image brightness value being an image brightness value of a previous frame image adjacent to the image to be adjusted.
应理解的是,若待调节图像为图像信息中的第一帧图像,则可以不用调节,从第二帧图像开始调节。It should be understood that, if the image to be adjusted is the first frame of image in the image information, adjustment may be started from the second frame of image without adjustment.
步骤S302:获取预设时域滤波值,根据所述参考帧图像亮度值和所述预 设时域滤波值确定目标时域滤波值范围。Step S302: Obtain the preset time domain filter value, and determine the target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value.
需要说明的是,所述预设时域滤波值可以是预先设定的相邻两帧图像帧的图像亮度值的差别的阈值,例如,可以设定预设时域滤波值为25,即相邻两帧图像的图像亮度值之差不超过25,也可以根据经验值进行确定,本实施例在此不加以限制。所述根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围可以是根据所述参考帧图像亮度值减去预设时域滤波值得到目标时域滤波值范围的下限值,根据所述参考帧图像亮度值加上预设时域滤波值得到目标时域滤波值范围的下限值,根据所述下限值和所述上限值生成目标时域滤波值范围。例如,参考帧图像亮度值为180,则根据所述参考帧图像亮度值确定的目标时域滤波值范围为155-205。It should be noted that the preset time-domain filter value may be a preset threshold value for the difference between image brightness values of two adjacent image frames. For example, the preset time-domain filter value may be set to 25, that is, The difference between the image brightness values of two adjacent frames of images does not exceed 25, and may also be determined according to empirical values, which is not limited in this embodiment. The determination of the target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value may be obtained by subtracting the preset time domain filter value from the brightness value of the reference frame image to obtain the target time domain filter value The lower limit value of the range, the lower limit value of the target time domain filter value range is obtained according to the brightness value of the reference frame image plus the preset time domain filter value, and the target time domain value is generated according to the lower limit value and the upper limit value Filter value range. For example, if the luminance value of the reference frame image is 180, then the range of the target temporal filter value determined according to the luminance value of the reference frame image is 155-205.
步骤S303:根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。Step S303: Adjust the image brightness value of the image to be adjusted according to the target temporal filter value range, and obtain an adjustment result.
需要说明的是,所述根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节可以是调节所述图像亮度值使其处于所述目标时域滤波值范围内。It should be noted that the adjusting the image brightness value of the image to be adjusted according to the target time domain filter value range may be adjusting the image brightness value to be within the target time domain filter value range.
进一步的,为了解决视频播放时由于图像帧的亮度变化明显导致的闪烁问题,所述步骤S303之后,还包括:判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内;在所述待调节图像的图像亮度值处于所述目标时域滤波值范围内时,将所述待调节图像的图像亮度值作为所述调节结果。Further, in order to solve the flickering problem caused by the obvious brightness change of the image frame during video playback, after the step S303, it also includes: judging whether the image brightness value of the image to be adjusted is within the target time-domain filter value range ; when the image brightness value of the image to be adjusted is within the range of the target temporal filter value, taking the image brightness value of the image to be adjusted as the adjustment result.
应理解的是,当所述待调节图像的图像亮度值处于所述目标时域滤波值范围内时,则可以认为该相邻两帧图像的亮度变化不大,不会产生闪烁问题,此时,可以不用调节所述待调节图像的图像亮度值,直接将所述待调节图像的图像亮度值作为所述调节结果。It should be understood that when the image brightness value of the image to be adjusted is within the range of the target time-domain filter value, it can be considered that the brightness of the two adjacent frames of images does not change much, and no flickering problem occurs. The image brightness value of the image to be adjusted may be directly used as the adjustment result without adjusting the image brightness value of the image to be adjusted.
进一步的,所述判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内之后,还包括:在所述待调节图像的图像亮度值不处于所述目标时域滤波值范围内时,根据所述目标时域滤波值范围确定第一滤波值;判断所述待调节图像的图像亮度值是否小于所述第一滤波值;在所述待调节图像的图像亮度值小于所述第一滤波值时,将所述第一滤波值作为所述调节结果。Further, after the judging whether the image brightness value of the image to be adjusted is within the range of the target time domain filter value, it also includes: when the image brightness value of the image to be adjusted is not within the target time domain filter value When within the range, determine the first filter value according to the target time domain filter value range; judge whether the image brightness value of the image to be adjusted is less than the first filter value; if the image brightness value of the image to be adjusted is smaller than the set When the first filter value is used, the first filter value is used as the adjustment result.
需要说明的是,所述第一滤波值可以是所述目标时域滤波值范围的下限值,例如,目标时域滤波值范围为140-160,则所述第一滤波值可以是140。在所述待调节图像的图像亮度值小于所述第一滤波值时,将所述第一滤波值作为所述调节结果。It should be noted that the first filter value may be the lower limit of the target time domain filter value range, for example, if the target time domain filter value range is 140-160, then the first filter value may be 140. When the image brightness value of the image to be adjusted is smaller than the first filter value, the first filter value is used as the adjustment result.
应理解的是,判断所述待调节图像的图像亮度值是否小于所述第一滤波值的步骤之后还包括:若所述待调节图像的图像亮度值不小于所述第一滤波值,则判断所述待调节图像的图像亮度值是否大于目标时域滤波值范围的上限值,在所述待调节图像的图像亮度值大于目标时域滤波值范围的上限值时,将所述目标时域滤波值范围的上限值作为所述调节结果。例如,目标时域滤波值范围为140-160,则所述目标时域滤波值范围的上限值可以是160。在所述待调节图像的图像亮度值大于160时,将160作为所述待调节图像的调节结果。It should be understood that after the step of judging whether the image brightness value of the image to be adjusted is smaller than the first filter value, it further includes: if the image brightness value of the image to be adjusted is not smaller than the first filter value, then judging Whether the image brightness value of the image to be adjusted is greater than the upper limit value of the target time domain filter value range, and when the image brightness value of the image to be adjusted is greater than the upper limit value of the target time domain filter value range, the target time domain filter value The upper limit value of the domain filter value range is used as the adjustment result. For example, if the target time domain filter value range is 140-160, then the upper limit value of the target time domain filter value range may be 160. When the image brightness value of the image to be adjusted is greater than 160, 160 is used as the adjustment result of the image to be adjusted.
进一步的,所述根据预设背光调节算法计算所述待调节图像的图像亮度值的步骤,包括:获取预设分区数量;根据所述预设分区数量对所述待调节图像进行分区,获得所述待调节图像的分区图像;根据预设背光调节算法计算所述分区图像的分区图像亮度值。Further, the step of calculating the image brightness value of the image to be adjusted according to the preset backlight adjustment algorithm includes: obtaining a preset number of partitions; partitioning the image to be adjusted according to the preset number of partitions to obtain the Describe the partition image of the image to be adjusted; calculate the brightness value of the partition image of the partition image according to a preset backlight adjustment algorithm.
需要说明的是,所述分区数量可以是对待调节图像进行分区的分区数量,即将所述待调节图像等分为几份的数量,若分区数量为4,则将所述待调节图像等分为4个分区。所述分区图像可以是对待调节图像进行分区后的图像,根据预设背光调节算法计算所述分区图像的分区图像亮度值可参照上述计算待调节图像的图像亮度值的方法,本实施例在此不加以限制。It should be noted that the number of partitions may be the number of partitions for partitioning the image to be adjusted, that is, the number of equally divided parts of the image to be adjusted. If the number of partitions is 4, the image to be adjusted is divided into equal parts. 4 partitions. The partitioned image may be a partitioned image of the image to be adjusted, and the calculation of the brightness value of the partitioned image of the partitioned image according to the preset backlight adjustment algorithm may refer to the above method for calculating the image brightness value of the image to be adjusted. This embodiment is here Not limited.
应理解的是,本实施例还可以通过对每一帧待调节图像进行分区,进而得到每一帧待调节图像的分区图像,计算分区图像的图像亮度值,可以针对分区进行背光灯的亮度调节。例如,若同一张待识别图像中的分区图像的图像亮度值差别过大,可以分别调整分区图像的背光灯的亮度,使得待识别图像中的各个分区图像的图像亮度至之差在预设范围内。提升用户观影体验感。It should be understood that in this embodiment, each frame of the image to be adjusted can be partitioned to obtain a partitioned image of each frame of the image to be adjusted, and the image brightness value of the partitioned image can be calculated to adjust the brightness of the backlight for the partition. . For example, if the image brightness values of the subregion images in the same image to be recognized are too different, the brightness of the backlight of the subregion images can be adjusted separately, so that the difference between the image brightness values of each subregion image in the image to be recognized is within a preset range Inside. Improve user viewing experience.
本实施例获取与所述待调节图像相邻的上一帧图像的参考帧图像亮度值;获取预设时域滤波值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。本实施例通过获取与所述待调节 图像相邻的上一帧图像的参考帧图像亮度值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。使得待调节图像的图像亮度值与相邻的上一帧图像的参考帧图像亮度值之差在一定范围,使得在视频播放的时候,不会因为图像帧的亮度变化太大而导致闪烁问题。In this embodiment, the reference frame image brightness value of the previous frame image adjacent to the image to be adjusted is obtained; the preset time domain filter value is obtained, and determined according to the reference frame image brightness value and the preset time domain filter value A target time-domain filter value range: adjusting the image brightness value of the image to be adjusted according to the target time-domain filter value range to obtain an adjustment result. In this embodiment, the target temporal filter value range is determined according to the reference frame image brightness value and the preset temporal filter value by acquiring the reference frame image brightness value of the previous frame image adjacent to the image to be adjusted; The image brightness value of the image to be adjusted is adjusted according to the target time-domain filter value range to obtain an adjustment result. Make the difference between the image brightness value of the image to be adjusted and the reference frame image brightness value of the adjacent previous frame image within a certain range, so that when the video is played, the brightness of the image frame will not cause flickering problems.
参照图4,图4为本申请背光调节装置第一实施例的结构框图。Referring to FIG. 4 , FIG. 4 is a structural block diagram of a first embodiment of a backlight adjusting device of the present application.
如图4所示,本申请实施例提出的背光调节装置包括:As shown in Figure 4, the backlight adjustment device proposed in the embodiment of the present application includes:
获取模块10,用于获取待调节图像信息,根据所述待调节图像信息确定待调节图像。The acquiring module 10 is configured to acquire image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted.
计算模块20,用于根据预设背光调节算法计算所述待调节图像的图像亮度值。The calculation module 20 is configured to calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm.
调节模块30,用于获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果。An adjustment module 30, configured to acquire a preset time-domain filter value and a reference frame image brightness value, and adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, Get the adjustment result.
控制模块40,用于将所述调节结果发送至背光控制芯片,以使所述背光控制芯片根据所述调节结果控制背光灯的亮度。The control module 40 is configured to send the adjustment result to the backlight control chip, so that the backlight control chip controls the brightness of the backlight according to the adjustment result.
本实施例包括获取待调节图像信息,根据所述待调节图像信息确定待调节图像;根据预设背光调节算法计算所述待调节图像的图像亮度值;获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;根据所述调节结果调节背光灯的亮度。由于本实施例是通过计算待调节图像的图像亮度值,根据预设时域滤波值和参考帧图像亮度值对待调节图像的图像亮度值进行调节,因为参考帧图像亮度值为与待调节图像相邻的上一帧图像的图像亮度值,所以调节后的待调节图像的图像亮度值与参考帧图像亮度值之差在一定范围内,使得相邻的两帧图像在播放时不会因为亮暗对比明显而产生闪烁问题。解决了现有的在播放亮暗对比明显的片源时,会出现明显的闪烁问题,提升用户观影体验。This embodiment includes acquiring the image information to be adjusted, determining the image to be adjusted according to the image information to be adjusted; calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm; acquiring a preset time domain filter value and a reference frame image Brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time domain filter value and the reference frame image brightness value to obtain an adjustment result; adjusting the brightness of the backlight according to the adjustment result. Since this embodiment calculates the image brightness value of the image to be adjusted, the image brightness value of the image to be adjusted is adjusted according to the preset time-domain filter value and the brightness value of the image of the reference frame, because the brightness value of the image of the reference frame is the same as that of the image to be adjusted. The image brightness value of the adjacent previous frame image, so the difference between the adjusted image brightness value of the image to be adjusted and the reference frame image brightness value is within a certain range, so that the adjacent two frame images will not be played due to brightness and darkness. Contrast is sharp and flickering problem arises. Solve the existing problem of obvious flickering when playing a film source with a clear contrast between light and dark, and improve the user's viewing experience.
需要说明的是,以上所描述的工作流程仅仅是示意性的,并不对本申请 的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部来实现本实施例方案的目的,此处不做限制。It should be noted that the workflow described above is only illustrative and does not limit the scope of protection of this application. In practical applications, those skilled in the art can select part or all of them to implement according to actual needs. The purpose of the scheme of this embodiment is not limited here.
另外,未在本实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的参数运行方法,此处不再赘述。In addition, for technical details that are not described in detail in this embodiment, refer to the parameter operation method provided in any embodiment of the present application, which will not be repeated here.
基于本申请上述背光调节装置第一实施例,提出本申请背光调节装置的第二实施例。Based on the above-mentioned first embodiment of the backlight adjusting device of the present application, a second embodiment of the backlight adjusting device of the present application is proposed.
在本实施例中,所述计算模块20,还用于获取所述待调节图像的图像直方图信息,所述图像直方图信息包括所述待调节图像中像素点的像素点RGB值和像素出现频率;根据所述像素出现频率、所述像素点RGB值和预设背光调节算法计算所述待调节图像的图像亮度值。In this embodiment, the calculation module 20 is further configured to acquire image histogram information of the image to be adjusted, the image histogram information including pixel RGB values and pixel occurrences of pixels in the image to be adjusted Frequency: calculate the image brightness value of the image to be adjusted according to the pixel occurrence frequency, the pixel RGB value and a preset backlight adjustment algorithm.
进一步的,所述预设背光调节算法为:Further, the preset backlight adjustment algorithm is:
Figure PCTCN2022114365-appb-000003
Figure PCTCN2022114365-appb-000003
其中,M为所述待调节图像的图像亮度值,n为所述直方图信息中不同像素点的数量、Ri为所述直方图信息中第i个像素点RGB值中的R值,Gi为所述直方图信息中第i个像素点RGB值中的G值,Bi为所述直方图信息中第i个像素点RGB值中的B值,Pi为所述直方图信息中第i个像素点的像素出现频率。Wherein, M is the image brightness value of the image to be adjusted, n is the number of different pixels in the histogram information, Ri is the R value in the i-th pixel RGB value in the histogram information, and Gi is The G value in the RGB value of the i-th pixel in the histogram information, Bi is the B value in the RGB value of the i-th pixel in the histogram information, and Pi is the i-th pixel in the histogram information The pixel frequency of points.
进一步的,所述调节模块30,还用于获取参考帧图像亮度值,所述参考帧图像亮度值为与所述待调节图像相邻的上一帧图像的图像亮度值;获取预设时域滤波值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。Further, the adjustment module 30 is also used to obtain a reference frame image brightness value, the reference frame image brightness value is an image brightness value of a previous frame image adjacent to the image to be adjusted; obtain a preset time domain A filter value, determining a target time domain filter value range according to the reference frame image brightness value and the preset time domain filter value; adjusting the image brightness value of the image to be adjusted according to the target time domain filter value range, Get the adjustment result.
进一步的,所述调节模块30,还用于判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内;在所述待调节图像的图像亮度值处于所述目标时域滤波值范围内时,将所述待调节图像的图像亮度值作为所述调节结果。Further, the adjustment module 30 is also used to judge whether the image brightness value of the image to be adjusted is within the range of the target time domain filter value; when the image brightness value of the image to be adjusted is within the target time domain When the filter value is within the range, the image brightness value of the image to be adjusted is used as the adjustment result.
进一步的,所述调节模块30,还用于在所述待调节图像的图像亮度值不处于所述目标时域滤波值范围内时,根据所述目标时域滤波值范围确定第一滤波值;判断所述待调节图像的图像亮度值是否小于所述第一滤波值;在所 述待调节图像的图像亮度值小于所述第一滤波值时,将所述第一滤波值作为所述调节结果。Further, the adjustment module 30 is further configured to determine a first filter value according to the target time domain filter value range when the image brightness value of the image to be adjusted is not within the target time domain filter value range; judging whether the image brightness value of the image to be adjusted is smaller than the first filter value; when the image brightness value of the image to be adjusted is smaller than the first filter value, using the first filter value as the adjustment result .
进一步的,所述计算模块20,还用于获取预设分区数量;根据所述预设分区数量对所述待调节图像进行分区,获得所述待调节图像的分区图像;根据预设背光调节算法计算所述分区图像的分区图像亮度值。Further, the calculation module 20 is also used to obtain a preset number of partitions; partition the image to be adjusted according to the preset number of partitions to obtain a partition image of the image to be adjusted; according to a preset backlight adjustment algorithm Calculate the brightness value of the sub-region image of the sub-region image.
本申请背光调节装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。For other embodiments or specific implementations of the backlight adjusting device of the present application, reference may be made to the foregoing method embodiments, which will not be repeated here.
此外,本申请实施例还提出一种存储介质,所述存储介质上存储有背光调节程序,所述背光调节程序被处理器执行时实现如上文所述的背光调节方法的步骤。In addition, the embodiment of the present application also proposes a storage medium, on which a backlight adjustment program is stored, and when the backlight adjustment program is executed by a processor, the steps of the above-mentioned backlight adjustment method are implemented.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器/随机存取存储器、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as read-only memory/random access memory, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.

Claims (15)

  1. 一种背光调节方法,其中,所述背光调节包括以下步骤:A backlight adjustment method, wherein the backlight adjustment comprises the following steps:
    获取待调节图像信息,根据所述待调节图像信息确定待调节图像;Acquiring image information to be adjusted, and determining an image to be adjusted according to the image information to be adjusted;
    根据预设背光调节算法计算所述待调节图像的图像亮度值;calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm;
    获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;Acquiring a preset time-domain filter value and a reference frame image brightness value, adjusting the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtaining an adjustment result;
    根据所述调节结果调节背光灯的亮度。The brightness of the backlight is adjusted according to the adjustment result.
  2. 如权利要求1所述的背光调节方法,其中,所述根据预设背光调节算法计算所述待调节图像的图像亮度值的步骤,包括:The backlight adjustment method according to claim 1, wherein the step of calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm comprises:
    获取所述待调节图像的图像直方图信息,所述图像直方图信息包括所述待调节图像中像素点的像素点RGB值和像素出现频率;Acquiring image histogram information of the image to be adjusted, the image histogram information including pixel RGB values and pixel occurrence frequencies of pixels in the image to be adjusted;
    根据所述像素出现频率、所述像素点RGB值和预设背光调节算法计算所述待调节图像的图像亮度值。The image brightness value of the image to be adjusted is calculated according to the occurrence frequency of the pixel, the RGB value of the pixel point, and a preset backlight adjustment algorithm.
  3. 如权利要求2所述的背光调节方法,其中,所述预设背光调节算法为:The backlight adjustment method according to claim 2, wherein the preset backlight adjustment algorithm is:
    Figure PCTCN2022114365-appb-100001
    Figure PCTCN2022114365-appb-100001
    其中,M为所述待调节图像的图像亮度值,n为所述直方图信息中不同像素点的数量、R i为所述直方图信息中第i个像素点RGB值中的R值,G i为所述直方图信息中第i个像素点RGB值中的G值,B i为所述直方图信息中第i个像素点RGB值中的B值,P i为所述直方图信息中第i个像素点的像素出现频率。 Wherein, M is the image brightness value of the image to be adjusted, n is the number of different pixels in the histogram information, R i is the R value in the i-th pixel RGB value in the histogram information, G i is the G value in the i-th pixel RGB value in the histogram information, Bi is the B value in the i-th pixel RGB value in the histogram information, and P i is in the histogram information The pixel occurrence frequency of the i-th pixel.
  4. 如权利要求1所述的背光调节方法,其中,所述获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果的步骤,包括:The backlight adjustment method according to claim 1, wherein said acquiring a preset time domain filter value and a reference frame image brightness value, and treating said to-be The step of adjusting the image brightness value of the image to obtain the adjustment result includes:
    获取参考帧图像亮度值,所述参考帧图像亮度值为与所述待调节图像相邻的上一帧图像的图像亮度值;Obtaining a reference frame image brightness value, where the reference frame image brightness value is an image brightness value of a previous frame image adjacent to the image to be adjusted;
    获取预设时域滤波值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;Acquire a preset time domain filter value, and determine a target time domain filter value range according to the brightness value of the reference frame image and the preset time domain filter value;
    根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。The image brightness value of the image to be adjusted is adjusted according to the target time-domain filter value range to obtain an adjustment result.
  5. 如权利要求4所述的背光调节方法,其中,所述根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果的步骤,包括:The backlight adjustment method according to claim 4, wherein the step of adjusting the image brightness value of the image to be adjusted according to the target time-domain filter value range, and obtaining an adjustment result comprises:
    判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内;judging whether the image brightness value of the image to be adjusted is within the range of the target temporal filter value;
    在所述待调节图像的图像亮度值处于所述目标时域滤波值范围内时,将所述待调节图像的图像亮度值作为所述调节结果。When the image brightness value of the image to be adjusted is within the target temporal filter value range, the image brightness value of the image to be adjusted is used as the adjustment result.
  6. 如权利要求5所述的背光调节方法,其中,所述判断所述待调节图像的图像亮度值是否处于所述目标时域滤波值范围内的步骤之后,还包括:The backlight adjustment method according to claim 5, wherein after the step of judging whether the image brightness value of the image to be adjusted is within the range of the target time-domain filter value, further comprising:
    在所述待调节图像的图像亮度值不处于所述目标时域滤波值范围内时,根据所述目标时域滤波值范围确定第一滤波值;When the image brightness value of the image to be adjusted is not within the target time-domain filter value range, determine a first filter value according to the target time-domain filter value range;
    判断所述待调节图像的图像亮度值是否小于所述第一滤波值;judging whether the image brightness value of the image to be adjusted is smaller than the first filter value;
    在所述待调节图像的图像亮度值小于所述第一滤波值时,将所述第一滤波值作为所述调节结果。When the image brightness value of the image to be adjusted is smaller than the first filter value, the first filter value is used as the adjustment result.
  7. 如权利要求6所述的背光调节方法,其中,所述第一滤波值为所述目标时域滤波值范围的下限值。The backlight adjustment method according to claim 6, wherein the first filter value is a lower limit value of the target time-domain filter value range.
  8. 如权利要求6所述的背光调节方法,其中,所述判断所述待调节图像的图像亮度值是否小于所述第一滤波值的步骤之后,还包括:The backlight adjustment method according to claim 6, wherein, after the step of judging whether the image brightness value of the image to be adjusted is smaller than the first filter value, further comprising:
    若所述待调节图像的图像亮度值不小于所述第一滤波值,则判断所述待调节图像的图像亮度值是否大于目标时域滤波值范围的上限值;If the image brightness value of the image to be adjusted is not less than the first filter value, then judge whether the image brightness value of the image to be adjusted is greater than the upper limit value of the target temporal filter value range;
    在所述待调节图像的图像亮度值大于目标时域滤波值范围的上限值时,将所述目标时域滤波值范围的上限值作为所述调节结果。When the image brightness value of the image to be adjusted is greater than the upper limit value of the target time domain filter value range, the upper limit value of the target time domain filter value range is used as the adjustment result.
  9. 如权利要求1-8任一项所述的背光调节方法,其中,所述根据预设背光调节算法计算所述待调节图像的图像亮度值的步骤,包括:The backlight adjustment method according to any one of claims 1-8, wherein the step of calculating the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm comprises:
    获取预设分区数量;Get the number of preset partitions;
    根据所述预设分区数量对所述待调节图像进行分区,获得所述待调节图像的分区图像;Partitioning the image to be adjusted according to the preset number of partitions to obtain a partitioned image of the image to be adjusted;
    根据预设背光调节算法计算所述分区图像的分区图像亮度值。Calculate the brightness value of the sub-region image of the sub-region image according to a preset backlight adjustment algorithm.
  10. 一种背光调节装置,其中,所述背光调节装置包括:A backlight adjustment device, wherein the backlight adjustment device comprises:
    获取模块,用于获取待调节图像信息,根据所述待调节图像信息确定待调节图像;An acquisition module, configured to acquire image information to be adjusted, and determine an image to be adjusted according to the image information to be adjusted;
    计算模块,用于根据预设背光调节算法计算所述待调节图像的图像亮度值;A calculation module, configured to calculate the image brightness value of the image to be adjusted according to a preset backlight adjustment algorithm;
    调节模块,用于获取预设时域滤波值和参考帧图像亮度值,根据所述预设时域滤波值和所述参考帧图像亮度值对所述待调节图像的图像亮度值进行调节,获得调节结果;An adjustment module, configured to obtain a preset time-domain filter value and a reference frame image brightness value, adjust the image brightness value of the image to be adjusted according to the preset time-domain filter value and the reference frame image brightness value, and obtain adjustment results;
    控制模块,用于根据所述调节结果控制背光灯的亮度。A control module, configured to control the brightness of the backlight according to the adjustment result.
  11. 如权利要求10所述的背光调节装置,其中,所述计算模块还用于获取所述待调节图像的图像直方图信息,所述图像直方图信息包括所述待调节图像中像素点的像素点RGB值和像素出现频率;根据所述像素出现频率、所述像素点RGB值和预设背光调节算法计算所述待调节图像的图像亮度值。The backlight adjustment device according to claim 10, wherein the calculation module is further configured to obtain image histogram information of the image to be adjusted, and the image histogram information includes pixel points of pixels in the image to be adjusted RGB value and pixel occurrence frequency; calculate the image brightness value of the image to be adjusted according to the pixel occurrence frequency, the pixel RGB value and a preset backlight adjustment algorithm.
  12. 如权利要求10所述的背光调节装置,其中,所述调节模块还用于获取参考帧图像亮度值,所述参考帧图像亮度值为与所述待调节图像相邻的上一帧图像的图像亮度值;获取预设时域滤波值,根据所述参考帧图像亮度值和所述预设时域滤波值确定目标时域滤波值范围;根据所述目标时域滤波值范围对所述待调节图像的图像亮度值进行调节,获得调节结果。The backlight adjustment device according to claim 10, wherein the adjustment module is further used to obtain a reference frame image brightness value, and the reference frame image brightness value is an image of a previous frame image adjacent to the image to be adjusted brightness value; obtain a preset time-domain filter value, determine a target time-domain filter value range according to the reference frame image brightness value and the preset time-domain filter value; The image brightness value of the image is adjusted to obtain an adjustment result.
  13. 如权利要求10所述的背光调节装置,其中,所述计算模块还用于获 取预设分区数量;根据所述预设分区数量对所述待调节图像进行分区,获得所述待调节图像的分区图像;根据预设背光调节算法计算所述分区图像的分区图像亮度值。The backlight adjustment device according to claim 10, wherein the calculation module is further used to obtain a preset number of partitions; partition the image to be adjusted according to the preset number of partitions to obtain the partitions of the image to be adjusted Image: calculating the brightness value of the sub-region image of the sub-region image according to a preset backlight adjustment algorithm.
  14. 一种背光调节设备,其中,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的背光调节程序,所述背光调节程序配置为实现如权利要求1至9中任一项所述的背光调节方法。A backlight adjustment device, wherein the device includes: a memory, a processor, and a backlight adjustment program stored on the memory and operable on the processor, the backlight adjustment program configured to implement the The backlight adjustment method described in any one of to 9.
  15. 一种存储介质,其中,所述存储介质上存储有背光调节程序,所述背光调节程序被处理器执行时实现如权利要求1至9中任一项所述的背光调节方法。A storage medium, wherein a backlight adjustment program is stored on the storage medium, and when the backlight adjustment program is executed by a processor, the backlight adjustment method according to any one of claims 1 to 9 is realized.
PCT/CN2022/114365 2021-09-08 2022-08-24 Backlight adjustment method and apparatus, device, and storage medium WO2023035939A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111054158.3A CN113781968A (en) 2021-09-08 2021-09-08 Backlight adjusting method, device, equipment and storage medium
CN202111054158.3 2021-09-08

Publications (1)

Publication Number Publication Date
WO2023035939A1 true WO2023035939A1 (en) 2023-03-16

Family

ID=78842107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114365 WO2023035939A1 (en) 2021-09-08 2022-08-24 Backlight adjustment method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN113781968A (en)
WO (1) WO2023035939A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116825039A (en) * 2023-08-30 2023-09-29 惠科股份有限公司 Backlight brightness calculating method, display device and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113781968A (en) * 2021-09-08 2021-12-10 深圳创维-Rgb电子有限公司 Backlight adjusting method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281731A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101546537A (en) * 2008-03-28 2009-09-30 北京京东方光电科技有限公司 Drive method, compensation processor and drive device of liquid crystal display device
CN101778230A (en) * 2010-03-19 2010-07-14 四川长虹电器股份有限公司 Control method of liquid crystal display television automatic backlight adjusting speed
CN110660364A (en) * 2019-09-18 2020-01-07 惠州视维新技术有限公司 Method and device for adjusting regional backlight and storage medium
CN111462701A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN111899694A (en) * 2019-05-06 2020-11-06 京东方科技集团股份有限公司 Backlight control method and device of backlight module and display device
CN113781968A (en) * 2021-09-08 2021-12-10 深圳创维-Rgb电子有限公司 Backlight adjusting method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093324A1 (en) * 2008-01-24 2009-07-30 Fujitsu Limited Image processing device, image processing method, image processing program, and image correction device
CN103117045B (en) * 2013-01-31 2015-04-22 青岛海信信芯科技有限公司 Backlight display control device and backlight display control method
CN109817170B (en) * 2017-11-21 2020-09-29 华为技术有限公司 Pixel compensation method and device and terminal equipment
CN110602472A (en) * 2018-06-13 2019-12-20 上海富瀚微电子股份有限公司 Local tone mapping method and device based on histogram and guide filtering
CN113314080A (en) * 2021-05-31 2021-08-27 锐迪科微电子科技(上海)有限公司 Backlight brightness control method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281731A (en) * 2008-03-26 2008-10-08 青岛海信电器股份有限公司 Liquid crystal display method
CN101546537A (en) * 2008-03-28 2009-09-30 北京京东方光电科技有限公司 Drive method, compensation processor and drive device of liquid crystal display device
CN101778230A (en) * 2010-03-19 2010-07-14 四川长虹电器股份有限公司 Control method of liquid crystal display television automatic backlight adjusting speed
CN111462701A (en) * 2019-01-18 2020-07-28 北京小米移动软件有限公司 Backlight brightness adjusting method and device
CN111899694A (en) * 2019-05-06 2020-11-06 京东方科技集团股份有限公司 Backlight control method and device of backlight module and display device
CN110660364A (en) * 2019-09-18 2020-01-07 惠州视维新技术有限公司 Method and device for adjusting regional backlight and storage medium
CN113781968A (en) * 2021-09-08 2021-12-10 深圳创维-Rgb电子有限公司 Backlight adjusting method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116825039A (en) * 2023-08-30 2023-09-29 惠科股份有限公司 Backlight brightness calculating method, display device and computer readable storage medium
CN116825039B (en) * 2023-08-30 2023-12-22 惠科股份有限公司 Backlight brightness calculating method, display device and computer readable storage medium

Also Published As

Publication number Publication date
CN113781968A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
WO2023035939A1 (en) Backlight adjustment method and apparatus, device, and storage medium
US8525752B2 (en) System and method for automatically adjusting electronic display settings
WO2017211250A1 (en) Image overlay display method and system
US10237454B2 (en) Method for detecting terminal static layer information, terminal and television
US8553103B1 (en) Compensation of ambient illumination
WO2009138018A1 (en) Image processing method and equipment
WO2017084255A1 (en) Real-time video enhancement method, terminal, and nonvolatile computer readable storage medium
WO2021218603A1 (en) Image processing method and projection system
WO2020056744A1 (en) Smear evaluation and improvement method and electronic device
JP2019532566A (en) Video processing apparatus and recording medium
CN111128082B (en) Backlight adjusting method, display and storage medium
WO2021128941A1 (en) Image processing method, terminal, and storage medium
CN107680541A (en) A kind of method and device for reducing liquid crystal display power consumption
CN115223509A (en) Backlight control method, backlight control device, display equipment and computer readable storage medium
CN108389553B (en) Backlight control method, apparatus and computer readable storage medium
CN113744696A (en) Method and device for adjusting brightness of backlight module and storage medium
CN112511890A (en) Video image processing method and device and electronic equipment
CN112199149A (en) Interface rendering method and device and electronic equipment
US8212796B2 (en) Image display apparatus and method, program and recording media
CN111383604B (en) Method, system and storage medium for improving regional dimming algorithm
TWI678927B (en) Method for dynamically adjusting clarity of image and image processing device using the same
CN112446848A (en) Image processing method and device and electronic equipment
CN111866401A (en) Shooting method and device and electronic equipment
CN111010525B (en) Method for dynamically adjusting image definition and image processing device thereof
CN110660364A (en) Method and device for adjusting regional backlight 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: 22866409

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE