Dynamic contrast control method and apparatus based on backlight adjustment

By acquiring the statistical histogram of the current frame of the video image of the LCD, determining the mean and maximum pixel grayscale values, dividing the interval, calculating the mixing factor and backlight value function, and performing temporal filtering and pixel grayscale compensation, the problems of energy redundancy loss and image loss distortion of the LCD are solved, and the power consumption management and image quality of the display are improved.

CN115588414BActive Publication Date: 2025-12-23INNOSILICON MICROELECTRONICS (WUHAN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211369973.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-03
Publication Date
2025-12-23
Estimated Expiration
2042-11-03

AI Technical Summary

Technical Problem

Existing LCD displays suffer from energy redundancy and image loss and distortion issues in backlight adjustment, especially in the saturation area of ​​a single frame image, resulting in significant degradation of image quality.

Method used

By acquiring the statistical histogram of the current frame of the video image, the mean and maximum pixel grayscale values ​​are determined, the first and second intervals are divided, the mixing factor and backlight value function are calculated, and temporal filtering and pixel grayscale compensation are performed to ensure that the brightness of the video image remains unchanged.

Benefits of technology

It enables the backlight brightness to change with the video image signal, reducing the display's power consumption while maintaining the original image contrast and improving the user's viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115588414B_ABST
    Figure CN115588414B_ABST
Patent Text Reader

Abstract

The application provides a dynamic contrast control method and device based on backlight adjustment. The method comprises the following steps: obtaining a statistical histogram of a current frame image of a video, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval; determining a mixing factor according to the current pixel quantity of the first interval and the second interval, determining a backlight value calculation function according to the difference between the current pixel gray maximum value and the current pixel gray mean value and the mixing factor, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value; performing time domain filtering on the current backlight value and a backlight value of a previous frame image to obtain a filtered backlight value, and setting the filtered backlight value as a global backlight value; and performing pixel gray compensation on the video image according to the corresponding brightness of the current backlight value, so as to ensure that the brightness of the video image remains unchanged. The application can flexibly reduce the power consumption of a display and maintain the image contrast.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The embodiment of the present application relates to display technical field, especially relates to a dynamic contrast control method and equipment based on backlight adjustment. BACKGROUND

[0002] The existing liquid crystal display adopts the mode of external intervention to adjust the backlight value to achieve the expected display comfort of the liquid crystal display. When the content of each frame of video image picture reaches the maximum brightness of the display, and the brightness requirement of the current video picture is overall dark, if external intervention cannot be adjusted in time, the excessive backlight value will cause redundant energy loss. In addition, the related method ignores that the backlight adjustment of a single frame of image will produce a saturation zone, and the picture of the single frame of image in the saturation zone will be distorted, finally resulting in that the image quality is obviously damaged. Therefore, developing a dynamic contrast control method and equipment based on backlight adjustment can effectively overcome the defects in the related art, which has become a technical problem to be solved in the industry. SUMMARY

[0003] In view of the above problems existing in the prior art, the embodiment of the present application provides a dynamic contrast control method and equipment based on backlight adjustment.

[0004] In a first aspect, the present application provides a dynamic contrast control method based on backlight adjustment, comprising:

[0005] obtaining a statistical histogram of a current frame of video image, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram;

[0006] determining a difference value between the current pixel gray maximum value and the current pixel gray mean value, determining a mixing factor according to the current pixel number of the first interval and the current pixel number of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value;

[0007] performing time domain filtering on the current backlight value and a previous frame image backlight value to obtain a filtered backlight value, and setting the filtered backlight value as a global backlight value;

[0008] determining a backlight value luminance proportion coefficient according to the corresponding luminance of the current backlight value, and performing pixel gray compensation on the video image according to the backlight value luminance proportion coefficient, so as to ensure that the video image luminance remains unchanged.

[0009] In some embodiments, the determination of the first interval and the second interval in the statistical histogram comprises:

[0010] determining a maximum fidelity point according to the current pixel gray mean value and the current pixel gray maximum value;

[0011] determining the first interval according to the current pixel gray mean value and the maximum fidelity point, and determining the second interval according to the maximum fidelity point and the current pixel gray maximum value.

[0012] In some embodiments, the determining of the current pixel gray mean value and the current pixel gray maximum value in the statistical histogram comprises:

[0013]

[0014]

[0015] Max = MAX(i(x, y)),

[0016] wherein Mean represents the current pixel gray mean value; Num represents the total pixel number of the current frame image; N represents the data bit width of the current frame image; n represents the number of pixels corresponding to the gray value i in the statistical histogram; Max represents the current pixel gray maximum value, and x and y respectively represent the horizontal and vertical coordinates of the pixel in the current frame image. total i

[0017] In some embodiments, the determining of the maximum fidelity point according to the current pixel gray mean value and the current pixel gray maximum value comprises:

[0018]

[0019] wherein MFP represents the maximum fidelity point.

[0020] The determining of the first interval according to the current pixel gray mean value and the maximum fidelity point, and the determining of the second interval according to the maximum fidelity point and the current pixel gray maximum value comprise:

[0021] determining the interval between the current pixel gray mean value and the maximum fidelity point as the first interval;

[0022] determining the interval between the maximum fidelity point and the current pixel gray maximum value as the first interval.

[0023] In some embodiments, the determining of the mixing factor according to the current pixel number of the first interval and the current pixel number of the second interval comprises:

[0024]

[0025] ​​

[0026]

[0027] Num A represents the current pixel quantity of the first interval; Num B represents the current pixel quantity of the second interval; M represents the mixing factor.

[0028] In some embodiments, the determining the backlight value calculation function according to the difference value and the mixing factor comprises:

[0029] According to the difference value and the mixing factor, different weights are set to construct the backlight value calculation function, if the pixel quantity of the second interval accounts for more, the pixel compression strength of the second interval is reduced; if the pixel quantity of the second interval accounts for less, the pixel compression strength of the second interval is increased.

[0030] In some embodiments, the determining the backlight value calculation function according to the difference value and the mixing factor comprises:

[0031]

[0032] Diff=Max-Mean,

[0033] wherein, Corrct represents the backlight value calculation function; Diff represents the difference value; Max represents the maximum value of the current pixel gray scale; Mean represents the mean value of the current pixel gray scale.

[0034] In some embodiments, the time domain filtering the current backlight value and the backlight value of the previous frame image to obtain a filtered backlight value comprises:

[0035] BL filter =[BL last +(BL current -BL last )×α],

[0036] BL current =Mean+Corrct,

[0037] α∈[0,1],

[0038] wherein, BL filter represents the filtered backlight value; BL last represents the backlight value of the previous frame image; BL current represents the current backlight value; α represents a filtering coefficient.

[0039] In some embodiments, the determining a backlight value luminance proportional coefficient according to the corresponding luminance of the current backlight value and the corresponding luminance of the full-power backlight value, and performing pixel gray compensation on the video image according to the backlight value luminance proportional coefficient to ensure that the luminance of the video image remains unchanged comprises:

[0040] determining a backlight value luminance proportional coefficient according to the corresponding luminance of the current backlight value and the corresponding luminance of the full-power backlight value;

[0041] determining a pixel compensation mapping curve according to the backlight value luminance proportional coefficient, and performing pixel gray compensation on the video image according to the pixel compensation mapping curve.

[0042] In some embodiments, the determining a pixel compensation mapping curve according to the backlight value luminance proportional coefficient comprises:

[0043] determining (0, 0) as a first mapping curve positioning point, determining (MFP, K(M)*MFP) as a second mapping curve positioning point, and determining (Max, 2 N -1) as a third mapping curve positioning point, wherein MFP represents a maximum fidelity point determined according to the statistical histogram; K(M) represents the backlight value luminance proportional coefficient; Max represents the maximum value of the current pixel gray scale; and N represents the data bit width of the current frame image.

[0044] connecting the first mapping curve positioning point, the second mapping curve positioning point, and the third mapping curve positioning point to obtain the pixel compensation mapping curve.

[0045] In a second aspect, the present application provides a dynamic contrast control device based on backlight adjustment, comprising: a first main module for obtaining a statistical histogram of a current frame image of a video, determining a current pixel gray scale mean value and a current pixel gray scale maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram; a second main module for determining a difference value between the current pixel gray scale maximum value and the current pixel gray scale mean value, determining a mixing factor according to the current pixel number of the first interval and the current pixel number of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor, and determining a current backlight value according to the backlight value calculation function and the current pixel gray scale mean value; a third main module for performing time domain filtering on the current backlight value and a backlight value of a previous frame image to obtain a filtered backlight value, setting the filtered backlight value as a global backlight value, and further performing pixel gray compensation on the video image according to a backlight value luminance proportional coefficient determined according to the corresponding luminance of the current backlight value, to ensure that the luminance of the video image remains unchanged.

[0046] In a third aspect, the present application provides an electronic device, comprising:

[0047] a processor;

[0048] a memory connected with the processor in communication;

[0049] The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to perform the dynamic contrast control method based on backlight adjustment as described above.

[0050] In a fourth aspect, the present application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the dynamic contrast control method based on backlight adjustment as described above.

[0051] Overall, compared with the prior art, the above technical solutions conceived by the present application have the following beneficial effects: by mining finer statistical histogram information, setting a mixing factor, and constructing a backlight value calculation function, the brightness of the backlight source can be changed with the change of the video image signal, and dynamic pixel gray compensation is performed according to the adjusted backlight value, thereby flexibly reducing the power consumption of the display while maintaining the contrast effect of the original image and improving the user experience of watching the display. BRIEF DESCRIPTION OF DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0053] Figure 1 A dynamic contrast control method based on backlight adjustment is provided for the embodiments of the present application;

[0054] Figure 2 A statistical histogram of a current frame image of a video is provided for the embodiments of the present application;

[0055] Figure 3 Various mapping method pixel gray mapping effect comparison diagrams are provided for the embodiments of the present application;

[0056] Figure 4 A dynamic contrast control device based on backlight adjustment is provided for the embodiments of the present application;

[0057] Figure 5 An electronic device is provided for the embodiments of the present application. DETAILED DESCRIPTION

[0058] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application. In addition, the technical features in each of the embodiments or in a single embodiment provided by the present application can be combined with each other at will to form a feasible technical solution, and such combination is not restricted by the order of steps and / or structure mode, but should be based on the fact that a person of ordinary skill in the art can realize it. When the combination of technical solutions appears contradictory or unfeasible, it should be considered that the combination of technical solutions does not exist and is not within the protection scope of the present application.

[0059] The embodiments of the present application provide a dynamic contrast control method based on backlight adjustment, referring to Figure 1 The method comprises the following steps: acquiring a statistical histogram of a current frame image of a video, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram; determining a difference value between the current pixel gray maximum value and the current pixel gray mean value, determining a mixing factor according to a current pixel quantity of the first interval and a current pixel quantity of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value; performing time domain filtering on the current backlight value and a backlight value of a previous frame image to obtain a filtered backlight value, setting the filtered backlight value as a global backlight value, determining a backlight value brightness proportion coefficient according to corresponding brightness of the global backlight value and corresponding brightness of the current backlight value, and performing pixel gray compensation on the video image by using a pixel gray compensation coefficient to ensure that the brightness of the video image remains unchanged.

[0060] In some embodiments, a maximum fidelity point is determined according to the current pixel gray mean value and the current pixel gray maximum value, the first interval is determined according to the current pixel gray mean value and the maximum fidelity point, and the second interval is determined according to the maximum fidelity point and the current pixel gray maximum value. Specifically, the current pixel gray mean value and the current pixel gray maximum value are determined according to the following formula:

[0061]

[0062]

[0063] Max = MAX(i(x, y)) (3)

[0064] wherein Mean represents the current pixel gray mean value; Num total represents the total pixel number of the current frame image; N represents the data bit width of the current frame image; n i represents the pixel number corresponding to the gray i in the statistical histogram; Max represents the current pixel gray maximum value; x and y respectively represent the horizontal and vertical coordinates of the pixel in the current frame image.

[0065] In some embodiments, the maximum fidelity point is determined according to the following formula:

[0066]

[0067] wherein MFP represents the maximum fidelity point.

[0068] In some embodiments, the interval between the current pixel gray mean value and the maximum fidelity point is determined as the first interval, and the interval between the maximum fidelity point and the current pixel gray maximum value is determined as the second interval.

[0069] Specifically, the statistical histogram of the current frame image of the video can be referred to Figure 2 . First, according to the statistical information of the current frame image, the maximum fidelity point MFP is defined as Max and Mean as shown in the above formula (4). Then, the interval [Mean, MFP] is defined as the A interval (i.e. the first interval), and the interval [MFP, Max] is defined as the B interval (i.e. the second interval). For the pixels in the possibly truncated B interval, a compression contrast method is adopted, which sacrifices the image contrast to some extent, but maintains the integrity of the overall information and avoids the truncation phenomenon. However, when the proportion of pixels in the B interval is large, the contrast of the corresponding gray picture content will be significantly reduced.

[0070] In some embodiments, the current pixel number of the first interval and the current pixel number of the second interval are calculated according to the following formula, including:

[0071]

[0072]

[0073] wherein Num A represents the current pixel number of the first interval; Num B represents the current pixel number of the second interval.

[0074] In some embodiments, the mixing factor is obtained by ratio operation according to the current pixel number of the first interval and the current pixel number of the second interval, including:

[0075]

[0076] Where M represents the mixing factor.

[0077] In some implementations, the backlight value calculation function is constructed by setting different weights based on the difference and the mixing factor. Specifically, the Corrct function for calculating the backlight value can be adjusted more precisely based on the mixing factor M, as shown in the following formula.

[0078]

[0079] Diff = Max - Mean (9)

[0080] Where Corrct represents the backlight value calculation function; Diff represents the difference; Max represents the maximum gray value of the current pixel; and Mean represents the average gray value of the current pixel.

[0081] For example, according to Figure 2 The statistical histogram information in the image, the calculation of the mixing factor M is shown in equation (7), and the gray value Num of the current pixel in the first interval. A The current pixel grayscale value Num in the second interval B The specific calculation is as follows: Num A =103+123+134; Num B = 90 + 67 + 31 + 19 + 3 + 2. In some implementations, if the pixel count in interval B (the second interval) is high, the compression intensity for that interval should be low; if the pixel count in interval B is low, the compression intensity for that interval can be high to further reduce power consumption. In some implementations, the filtered backlight value is obtained by performing temporal filtering based on the current backlight value and the backlight value of the previous frame image, specifically including the following formula:

[0082] BL filter =[BL last +(BL current -BL last

[10] ×α]

[0083] BL current =Mean+Corrct (11)

[0084] α∈[0,1] (12)

[0085] Among them, BL filter Indicates the filtered backlight value; BL last Indicates the backlight value of the previous frame image; BL current This represents the current backlight value; α represents the filter coefficient.

[0086] In some embodiments, the determined filtered backlight value is set as a global backlight value. Thus, by more finely mining the histogram statistics, setting the mixing factor, constructing the backlight value calculation function, and adjusting the backlight value accordingly, the brightness of the backlight can be changed with the change of the video image signal, and the power consumption can be reduced more flexibly.

[0087] In some embodiments, a backlight value brightness proportionality coefficient is determined according to the corresponding brightness of the current backlight value, and pixel gray compensation is performed on the video image according to the backlight value brightness proportionality coefficient, so as to ensure that the brightness of the video image remains unchanged.

[0088] In some embodiments, a backlight value brightness proportionality coefficient is determined according to the corresponding brightness of the full-power backlight value and the corresponding brightness of the current backlight value. Specifically, the backlight value brightness proportionality coefficient wherein BL full represents the full-power backlight value, BL current represents the current backlight value, and L represents the measured brightness value at the time of determining the backlight value.

[0089] In some embodiments, if K(M)>1, it means that the current backlight value is less than the full-power backlight value, which means that the overall brightness of the video image is reduced, and thus pixel gray compensation needs to be performed on the video image.

[0090] In some embodiments, pixel gray compensation is performed on the video image according to the backlight value brightness proportionality coefficient, so as to ensure that the brightness of the video image remains unchanged. Specifically, a pixel compensation mapping curve is determined according to the backlight value brightness proportionality coefficient, and pixel gray compensation is performed on the video image according to the pixel compensation mapping curve.

[0091] For example, (0, 0) is determined as the first mapping curve positioning point, (MFP, K(M)*MFP) is determined as the second mapping curve positioning point, and (Max, 2 N -1) is determined as the third mapping curve positioning point. The first mapping curve positioning point, the second mapping curve positioning point, and the third mapping curve positioning point are connected to obtain a pixel compensation mapping curve of the video image. The current pixel gray of the video image is mapped to the desired pixel gray of the video image by using the pixel compensation mapping curve, so as to ensure that the pixel gray of the video image uniformly transitions from the starting point of the image to the maximum point of the current pixel gray. K(M) is the backlight value proportionality coefficient.

[0092] For a specific implementation, please refer to Figure 3Although the original mapping can map the current pixel gray value to the desired pixel gray value without truncation, the end point of the curve of the original mapping does not coincide with the pixel point corresponding to the maximum value Max of the current pixel gray, which results in the lack of adjustment of the brightness of the current frame image, specifically, the maximum brightness value cannot be adjusted. If the backlight value ratio coefficient of the full-power backlight value and the current backlight value is not considered after the backlight value is adjusted, the truncated mapping occurs, which causes the current pixel gray value to be unable to be effectively mapped to the desired pixel gray value from the saturation region (i.e., the vicinity of the truncation point), that is, the current frame image enters the maximum brightness region too early, and thus a part of the brightness change is missed. As a result, a part of the image cannot be effectively displayed due to the uneven brightness change, that is, the image quality is damaged. Figure 3 It can be seen that, after the dynamic contrast control method based on backlight adjustment provided by the embodiment of the application is used, the curve of the compensation mapping overcomes the defects that the original mapping cannot reach the maximum brightness value and the truncated mapping reaches the maximum brightness value too early in the saturation region, and can uniformly map the current pixel gray value to the desired pixel gray value, solves the problem that the brightness of the display is saturated too early in a single frame image in the state of backlight value adjustment, and solves the problem of the lack of brightness of the single frame image of the display without backlight value adjustment.

[0093] The dynamic contrast control method based on backlight adjustment provided by the embodiment of the application can change the brightness of the backlight source with the change of the video image signal by mining more detailed statistical histogram information, and can more probably reduce the power consumption of the display while maintaining the contrast effect of the original image, and improve the experience of the user watching the display.

[0094] The implementation basis of each embodiment of the application is that the processing is realized by the programmed device with the processor function. Therefore, in the engineering practice, the technical solutions and functions of each embodiment of the application can be packaged into various modules. Based on the above-mentioned embodiments, the embodiment of the application provides a dynamic contrast control device based on backlight adjustment, which is used to execute the dynamic contrast control method based on backlight adjustment in the above-mentioned method embodiment. Referring to Figure 4The device comprises: a first main module for acquiring a statistical histogram of a current frame image of a video, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram; a second main module for determining a difference value between the current pixel gray maximum value and the current pixel gray mean value, determining a mixing factor according to a current pixel quantity of the first interval and a current pixel quantity of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value; a third main module for performing time domain filtering on the current backlight value and a previous frame image backlight value to obtain a filtered backlight value, and setting the filtered backlight value as a global backlight value; and further for determining a backlight value luminance proportion coefficient according to a corresponding luminance of the current backlight value, and performing pixel gray compensation on a video image according to the backlight value luminance proportion coefficient to ensure that the luminance of the video image remains unchanged.

[0095] The device for dynamic contrast control based on backlight adjustment provided in the embodiment of the application adopts a plurality of modules in the device, and can change the luminance of the backlight source with the change of the video image signal by mining more detailed statistical histogram information, so that the luminance of the backlight source changes with the change of the video image signal, and the contrast effect of the original image is maintained while the power consumption of the display is flexibly reduced, and the experience of the user watching the display is improved. Figure 4

[0096] It should be noted that the device in the device embodiment provided in the application can be used to implement the method in the method embodiment, and can also be used to implement the method in other method embodiments provided in the application, the difference is only that the corresponding function modules are set, the principle is basically the same as that of the above-mentioned device embodiment, as long as the person skilled in the art can obtain the corresponding technical means by combining the technical features on the basis of the above-mentioned device embodiment, and the technical solution formed by these technical means, on the premise of ensuring the practicability of the technical solution, the device in the above-mentioned device embodiment can be improved, so as to obtain the corresponding device class embodiment, and the method in other method class embodiments can be implemented.

[0097] Based on the content of the above-mentioned device embodiment, as an optional embodiment, the device for dynamic contrast control based on backlight adjustment provided in the embodiment of the application further comprises: a first sub-module for implementing the calculation of the current pixel gray mean value in the statistical histogram, comprising:

[0098]

[0099]

[0100] ​Wherein, Mean represents the current pixel gray mean value; Num total represents the current total pixel quantity; N represents the data bit width of the current frame image; n i represents the pixel quantity corresponding to the gray i in the histogram.

[0101] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a second sub-module for realizing the calculation of the first interval current pixel quantity and the second interval current pixel quantity in the statistical histogram, comprising:

[0102]

[0103]

[0104]

[0105] Wherein, Mean represents the current pixel gray mean value; Num A represents the first interval current pixel quantity; MFP represents the maximum fidelity point; Num B represents the second interval current pixel quantity; Max represents the current pixel gray maximum value.

[0106] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a third sub-module for realizing the ratio operation of the first interval current pixel quantity and the second interval current pixel quantity to obtain a mixing factor, comprising:

[0107]

[0108] Wherein, M represents the mixing factor.

[0109] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a fourth sub-module for realizing the combination of the difference value and the mixing factor to obtain a backlight value calculation function, comprising: if the pixel gray proportion of the second interval is large, the pixel compression strength of the second interval is reduced; if the pixel gray proportion of the second interval is small, the pixel compression strength of the second interval is increased.

[0110] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a fifth sub-module for realizing the combination of the difference value and the mixing factor to obtain a backlight value calculation function, comprising: if the pixel gray proportion of the second interval is large, the pixel compression strength of the second interval is reduced; if the pixel gray proportion of the second interval is small, the pixel compression strength of the second interval is increased.

[0111]

[0112] Diff = Max - Mean,

[0113] wherein, Corrct represents a backlight value calculation function; Diff represents a pixel gray value difference.

[0114] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a sixth sub-module for realizing time domain filtering of the current backlight value and the previous frame image backlight value to obtain a filtered backlight value, comprising:

[0115] BL filter = [BL last + (BL current - BL last ) x a],

[0116] BL current = Mean + Corrct,

[0117] a e [0, 1],

[0118] wherein, BL filter represents the filtered backlight value; BL last represents the previous frame image backlight value; BL current represents the current backlight value; a represents a filtering coefficient.

[0119] Based on the content of the above device embodiment, as an optional embodiment, the dynamic contrast control device based on backlight adjustment provided in the embodiment of the application further comprises a seventh sub-module for realizing pixel gray value compensation of the video image by using a pixel gray value compensation coefficient to ensure that the brightness of the video image remains unchanged, comprising: determining (0, 0) as a first mapping curve positioning point, (MFP, K(M)*MFP) as a second mapping curve positioning point, and (Max, 2 N -1) as a third mapping curve positioning point, connecting the first mapping curve positioning point, the second mapping curve positioning point and the third mapping curve positioning point to obtain a video image pixel compensation mapping curve, mapping the current pixel gray value of the video image to the expected pixel gray value of the video image by using the video image pixel compensation mapping curve to ensure uniform transition of the pixel gray value of the video image from the starting point of the image to the maximum point of the current pixel gray value; wherein K(M) is a backlight value proportion coefficient.

[0120] More specific implementations of the various modules of the dynamic contrast control device based on backlight adjustment of the present invention can be found in the description of the dynamic contrast control method based on backlight adjustment of the present invention, which has similar beneficial effects and will not be repeated here.

[0121] Figure 5 This is a structural block diagram of an electronic device according to an embodiment of this application. Embodiments of this application also provide an electronic device, such as... Figure 5 As shown, the electronic device includes at least one processor 701 and a memory 703 communicatively connected to the at least one processor 701. The memory 703 stores instructions executable by the at least one processor 701. The instructions are executed by the at least one processor 701. When the processor 701 executes the instructions, it implements the method described in the above embodiments. The number of memories 703 and processors 701 can be one or more. This electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.

[0122] The electronic device may also include a communication interface 705 for communicating with external devices and exchanging data. The devices are interconnected using different buses and can be mounted on a common motherboard or otherwise installed as needed. The processor 701 can process instructions executed within the electronic device, including instructions stored in or on memory for displaying graphical information of a graphical user interface (GUI) on external input / output devices (such as a display device coupled to the interface). In other embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple storage devices, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). The bus can be divided into address buses, data buses, control buses, etc. For ease of illustration, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0123] Optionally, if the memory 703, the processor 701 and the communication interface 705 are integrated on a chip, the memory 703, the processor 701 and the communication interface 705 can complete the communication among each other through an internal interface.

[0124] It should be understood that the processor described above can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It should be noted that the processor can be a processor supporting an advanced RISC machine (ARM) architecture.

[0125] The embodiment of the present application provides a computer readable storage medium (such as the memory 703 described above), which stores computer instructions, and the program is executed by the processor to implement the method provided in the embodiment of the present application.

[0126] Optionally, the memory 703 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; and the data storage area can store data created according to the use of the electronic device of the driving scene reconstruction method, etc. In addition, the memory 703 can include a high-speed random access memory, and can also include a non-transient memory, for example, at least one magnetic disk storage device, a flash memory device or other non-transient solid-state memory device. In some embodiments, the memory 703 can optionally include a memory remotely arranged relative to the processor 701, and the remote memory can be connected to the electronic device of the driving scene reconstruction method through a network. Examples of the network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0127] In the description of the application, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the application. Moreover, the specific features, structures, materials or characteristics described can be combined in any suitable manner in one or more embodiments or examples. In addition, different embodiments or examples described in the specification and characteristics of different embodiments or examples can be combined and combined by those skilled in the art without contradiction.

[0128] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the application, the meaning of "multiple" is two or more, unless otherwise specifically limited.

[0129] Any process or method descriptions in flow charts or described elsewhere herein can be understood as representing one or more (two or more) steps in a set of steps for accomplishing a particular logic function or process. And, the various steps in a set of steps can not be executed in the order described or shown in the figure, but can be executed in any order, including substantially concurrently or in reverse order. The scope of preferred embodiments of the application thus includes additional implementation in which steps are executed out of order from the order shown or discussed, including never executing all of the steps shown and / or the specific sequence of steps discussed, but any combination of steps executed in another order, including in an order that is substantially reversed from the order shown.

[0130] The logic and / or steps represented in flow charts or described elsewhere herein, for example, can be considered as a set of steps for accomplishing a particular logic function or process, and can be embodied in a computer readable medium that is executable by an instruction execution system, apparatus, or device, such as a computer-based system, processor- based system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions, or in conjunction with the instruction execution system, apparatus, or device.

[0131] It should be understood that parts of the application can be realized in hardware, software, firmware or a combination thereof. In the above-described embodiments, a plurality of steps or methods can be realized by software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above-described embodiment method can be instructed by a program to complete the relevant hardware, and the program can be stored in a computer readable storage medium, and the program includes one or a combination of the steps of the method embodiment when executed.

[0132] In addition, each of the function units in each embodiment of the present application can be integrated in one processing module, or each unit can be physically present separately, or two or more units can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module. When the integrated module is realized in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. The storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of various changes or replacements within the technical scope disclosed in the present application, and these should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A dynamic contrast control method based on backlight adjustment, characterized in that, The method comprises the following steps: acquiring a statistical histogram of a current frame image of a video, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram, wherein the first interval is determined according to the current pixel gray mean value and a maximum fidelity point, and the second interval is determined according to the maximum fidelity point and the current pixel gray maximum value; determining a difference value between the current pixel gray maximum value and the current pixel gray mean value, determining a mixing factor M according to a current pixel number of the first interval and a current pixel number of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor M, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value, wherein the determining of the backlight value calculation function according to the difference value and the mixing factor M comprises: setting different weights according to the difference value and the mixing factor M to construct the backlight value calculation function; , , wherein, Corrct represents the backlight value calculation function; Diff represents the difference value; represents the current pixel gray maximum value; represents the current pixel gray mean value; if the pixel quantity proportion of the second interval is more, the pixel compression strength of the second interval is reduced; if the pixel quantity proportion of the second interval is less, the pixel compression strength of the second interval is increased; performing time domain filtering on the current backlight value and a previous frame image backlight value to obtain a filtered backlight value, and setting the filtered backlight value as a global backlight value; determining a backlight value brightness proportion coefficient according to a corresponding brightness of the current backlight value, and performing pixel gray compensation on a video image according to the backlight value brightness proportion coefficient to ensure that the brightness of the video image remains unchanged.

2. The backlight adjustment-based dynamic contrast control method of claim 1, wherein, The determining of the first interval according to the current pixel gray mean value and the maximum fidelity point comprises: determining the maximum fidelity point according to the current pixel gray mean value and the current pixel gray maximum value.

3. The backlight adjustment-based dynamic contrast control method of claim 1, wherein, The determining of the current pixel gray mean value and the current pixel gray maximum value in the statistical histogram comprises: , , , wherein, represents the current pixel gray mean value; represents the total pixel number of the current frame image; N represents the data bit width of the current frame image; represents the pixel number corresponding to the gray value i in the statistical histogram; represents the current pixel gray maximum value, x and y respectively represent the horizontal and vertical coordinates of the pixel of the current frame image.

4. The backlight adjustment-based dynamic contrast control method of claim 3, wherein, The determining of the maximum fidelity point according to the current pixel gray mean value and the current pixel gray maximum value comprises: , wherein MFP represents the maximum fidelity point. The determining of the first interval according to the current pixel gray mean value and the maximum fidelity point, and the determining of the second interval according to the maximum fidelity point and the current pixel gray maximum value comprise: determining an interval between the current pixel gray mean value and the maximum fidelity point as the first interval; determining an interval between the maximum fidelity point and the current pixel gray maximum value as the second interval.

5. The backlight adjustment-based dynamic contrast control method of claim 4, wherein, The determining of the mixing factor M according to the current pixel number of the first interval and the current pixel number of the second interval comprises: , , , wherein, represents the current pixel number of the first interval; represents the current pixel number of the second interval; M represents the mixing factor.

6. The backlight adjustment-based dynamic contrast control method of claim 5, wherein, The performing of the time domain filtering on the current backlight value and the previous frame image backlight value to obtain the filtered backlight value comprises: , , , wherein, represents the filtered backlight value; represents the previous frame image backlight value; represents the current backlight value; represents a filter coefficient.

7. The backlight adjustment-based dynamic contrast control method according to any of claims 1 to 5, characterized in that, The determining of the backlight value brightness proportion coefficient according to the corresponding brightness of the current backlight value, and the performing of the pixel gray compensation on the video image according to the backlight value brightness proportion coefficient to ensure that the brightness of the video image remains unchanged comprise: determining a backlight value brightness proportion coefficient according to a corresponding brightness of a full-power backlight value and a corresponding brightness of the current backlight value; determining a pixel compensation mapping curve according to the backlight value brightness proportion coefficient, and performing pixel gray compensation on the video image according to the pixel compensation mapping curve.

8. The backlight adjustment-based dynamic contrast control method of claim 7, wherein, The determining of the pixel compensation mapping curve according to the backlight value brightness proportion coefficient comprises: determining (0, 0) as a first mapping curve positioning point, determining (MFP, K(M)*MFP) as a second mapping curve positioning point, and determining as a third mapping curve positioning point, wherein MFP represents a maximum fidelity point determined according to the statistical histogram; K(M) represents a backlight value luminance proportionality coefficient; Max represents a maximum value of the current pixel gray scale; and N represents a data bit width of a current frame image. The first mapping curve positioning point, the second mapping curve positioning point and the third mapping curve positioning point are connected to obtain the pixel compensation mapping curve.

9. A dynamic contrast control device based on backlight adjustment, characterized in that, Comprise: The first main module is used for acquiring a statistical histogram of a current frame image of a video, determining a current pixel gray mean value and a current pixel gray maximum value in the statistical histogram, and determining a first interval and a second interval in the statistical histogram, wherein the first interval is determined according to the current pixel gray mean value and a maximum fidelity point, and the second interval is determined according to the maximum fidelity point and the current pixel gray maximum value; the second main module is used for determining a difference value of the current pixel gray maximum value and the current pixel gray mean value, determining a mixing factor M according to a current pixel number of the first interval and a current pixel number of the second interval, determining a backlight value calculation function according to the difference value and the mixing factor M, and determining a current backlight value according to the backlight value calculation function and the current pixel gray mean value, wherein the second main module is used for setting different weights to construct the backlight value calculation function according to the difference value and the mixing factor M: , , Wherein, Corrct represents the backlight value calculation function; Diff represents the difference value; represents the current pixel gray maximum value; represents the current pixel gray mean value; if the pixel quantity proportion of the second interval is more, the pixel compression strength of the second interval is reduced; if the pixel quantity proportion of the second interval is less, the pixel compression strength of the second interval is increased; the third main module is used for carrying out time domain filtering according to the current backlight value and the previous frame image backlight value to obtain a filtered backlight value, setting the filtered backlight value as a global backlight value; and is also used for determining a backlight value brightness proportion coefficient according to the corresponding brightness of the current backlight value, and carrying out pixel gray compensation on the video image according to the backlight value brightness proportion coefficient, so as to ensure that the video image brightness remains unchanged.

10. An electronic device, comprising: Comprise: A processor; A memory connected with the processor in communication; The memory stores instructions executable by the processor, and the instructions are executed by the processor to enable the processor to execute the dynamic contrast control method based on backlight adjustment in any one of claims 1 to 8.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are executed by the processor to implement the dynamic contrast control method based on backlight adjustment in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Methods for adjusting image characteristics

    CN101918994A

  • Backlight compensation method and device for liquid crystal display image, storage medium and terminal

    CN111105756A