Matrix backlight control method and system based on histogram

By converting matrix backlight data into histograms and integrating different processing methods, the balance of display quality, energy efficiency and real-time in matrix backlight control technology in vehicle-mounted systems is solved, and efficient backlight control is achieved, ensuring backlight data Real-time and low consumption.

CN118918855APending Publication Date: 2024-11-08SHENZHEN HANGSHENG ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411211787.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-08

Smart Images

  • Figure CN118918855A_ABST
    Figure CN118918855A_ABST
Patent Text Reader

Abstract

The invention discloses a histogram-based matrix backlight control method and system. The method comprises the following steps of: obtaining matrix backlight data of a current frame and matrix backlight data output by a previous frame, and respectively processing the matrix backlight data and the matrix backlight data into histograms; the histogram data of the current frame of matrix backlight data are copied into three parts, and the three parts of histogram data are subjected to different equalization and / or power limitation processing; carrying out weighted integration on the processed three parts of histogram data to obtain integrated data; and comparing the integrated data with a previous frame of array backlight data histogram to obtain a power difference of the two frames of data, and performing power control on the matrix backlight according to the power difference. According to the invention, the balance between display and energy efficiency is improved, and the real-time performance of backlight data processing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of backlight control, and more specifically, to a histogram-based matrix backlight control method and system. Background Art

[0002] Matrix backlight technology has important applications in car screen backlight and matrix backlight headlights. For automotive systems, due to the existence of autonomous driving systems, the resources of the entire car system are relatively tight, and there are not many fixed resources to process the images displayed by the car. Similarly, there are fewer resources for matrix backlight related logic processing.

[0003] At present, the matrix backlight driving method has matured, and its main development direction focuses on the matrix backlight control algorithm. Due to the randomness of the content displayed on the screen, if the matrix backlight simply changes with the screen content, it will easily cause screen flicker and uneven contrast. In addition, excessive power fluctuations will directly affect the service life of the vehicle battery. Therefore, the matrix backlight control algorithm for vehicles is particularly necessary. At present, the matrix backlight control algorithm mainly focuses on controlling screen flicker and increasing contrast, while also taking into account the requirements of low consumption and reality synchronization.

[0004] In the prior art, the invention patent with publication number: CN101778230A discloses a method for controlling the automatic backlight adjustment speed of a liquid crystal television. The method includes: obtaining the grayscale histogram of the current frame and the grayscale histogram of the previous frame image, as well as the average brightness value of the current frame image; calculating the difference between the two grayscale histograms; and jointly determining the backlight adjustment speed based on the average brightness value of the current frame image and the scene state of the previous frame image saved. This solution does not take into account the requirements of low consumption and reality synchronization. Summary of the invention

[0005] The present invention provides a histogram-based matrix backlight control method and system to overcome the defects of poor balance between display and energy efficiency and poor real-time performance in the above-mentioned prior art matrix backlight control.

[0006] The primary purpose of the present invention is to solve the above technical problems. The technical solution of the present invention is as follows: A first aspect of the present invention provides a histogram-based matrix backlight control method, comprising the following steps: Obtain the matrix backlight data of the current frame and the matrix backlight data outputted in the previous frame and process them into histograms respectively; Copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; The three processed histogram data are weighted and integrated to obtain integrated data; The integrated data is compared with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and the power of the matrix backlight is controlled according to the power difference.

[0007] Further, performing different equalization and / or power limiting processing on three histogram data respectively includes: performing histogram equalization on one histogram data; performing partial equalization processing on one histogram data based on a threshold; and performing power limiting processing on one histogram data based on energy distribution of the histogram.

[0008] Further, the performing partial equalization processing based on the threshold includes: Determine the image brightness type of the current frame and the distribution type of the backlight highlight distribution environment according to the histogram data, wherein the brightness type includes a highlight image and a low-brightness image, and the distribution type includes: concentrated distribution and dispersed distribution; The current screen temperature is obtained. If the screen temperature is less than or equal to the safety threshold, the backlight control data is not restricted; if the screen temperature is greater than the safety threshold, the backlight control data is restricted.

[0009] Furthermore, the restriction on the backlight control data includes: if the current frame image is a highlight image and the highlight distribution type is concentrated distribution, a first brightness threshold is set, and the backlight brightness is controlled by the first brightness threshold; if the current frame image is a highlight image and the highlight distribution type is dispersed distribution, a second brightness threshold is set, and the backlight brightness is controlled by the second brightness threshold, and the second brightness threshold is greater than the first brightness threshold.

[0010] Further, performing power limitation processing based on the energy distribution of the histogram includes: The peak value of the histogram is obtained, the width of the peak value is calculated, the energy concentration area is determined according to the width, and the histogram data is optimized in the energy concentration area.

[0011] Furthermore, the integrated data is compared with a histogram of the previous frame of backlight data to obtain a power difference between the two frames of data, and the power difference is obtained by calculating information entropy, energy spectrum or peaks and valleys of the two frames of data.

[0012] Furthermore, the three processed histogram data are weighted and integrated to obtain integrated data, including: adding data a% after histogram equalization processing; data b% after partial equalization processing based on threshold; and data c% after power limitation processing based on energy distribution of the histogram, where a%+b%+c%=1.

[0013] A second aspect of the present invention provides a histogram-based matrix backlight control system, the system comprising: a memory, a processor, the memory comprising a histogram-based matrix backlight control method program, the histogram-based matrix backlight control method program when executed by the processor to implement the following steps: obtaining current frame matrix backlight data and previous frame output matrix backlight data and processing them into histograms respectively; Copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; The three processed histogram data are weighted and integrated to obtain integrated data; The integrated data is compared with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and the power of the matrix backlight is controlled according to the power difference.

[0014] Furthermore, performing different equalization and / or power limiting processing on three histogram data respectively includes: performing histogram equalization on one histogram data; performing partial equalization processing on one histogram data based on a threshold; and performing power limiting processing on one histogram data based on the energy distribution of the histogram.

[0015] The third aspect of the present invention provides a computer-readable storage medium, which includes a histogram-based matrix backlight control method program. When the histogram-based matrix backlight control method program is executed by a processor, the steps of the histogram-based matrix backlight control method are implemented.

[0016] Compared with the prior art, the technical solution of the present invention has the following beneficial effects: The present invention converts matrix backlight data into a histogram, thereby reducing the matrix backlight data from two-dimensional data to one-dimensional data, thereby improving processing efficiency. At the same time, the current frame histogram is subjected to different processing data integration, which can fully balance the backlight data and further improve the balance between display and energy efficiency. At the same time, the present invention is applicable to an FPGA platform and can ensure the real-time processing of backlight data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flow chart of a histogram-based matrix backlight control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0019] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0020] Example 1 like Figure 1 As shown, the first aspect of the present invention provides a matrix backlight control method based on a histogram, comprising the following steps: S1: Obtain the matrix backlight data of the current frame and the matrix backlight data outputted in the previous frame and process them into histograms respectively; It should be noted that the matrix backlight data is processed using the histogram data, which reduces the matrix backlight data from two-dimensional data to one-dimensional data, thereby greatly reducing the amount of calculation.

[0021] S2: copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; It should be noted that in the present application, the histogram data of the current frame matrix backlight data is copied into three copies, and different equalization and / or power limiting processing is performed on the three copies of the histogram data, including: one copy of the histogram data is subjected to histogram equalization; one copy of the histogram data is subjected to partial equalization processing based on a threshold; and one copy of the histogram data is subjected to power limiting processing based on the energy distribution of the histogram.

[0022] In a specific embodiment, the portion of histogram data is partially equalized based on a threshold, including: Determine the image brightness type of the current frame and the distribution type of the backlight highlight distribution environment according to the histogram data, wherein the brightness type includes a highlight image and a low-brightness image, and the distribution type includes: concentrated distribution and dispersed distribution; The current screen temperature is obtained. If the screen temperature is less than or equal to the safety threshold, the backlight control data is not restricted; if the screen temperature is greater than the safety threshold, the backlight control data is restricted.

[0023] Furthermore, the restriction on the backlight control data includes: if the current frame image is a highlight image and the highlight distribution type is concentrated distribution, a first brightness threshold is set, and the backlight brightness is controlled by the first brightness threshold; if the current frame image is a highlight image and the highlight distribution type is dispersed distribution, a second brightness threshold is set, and the backlight brightness is controlled by the second brightness threshold, and the second brightness threshold is greater than the first brightness threshold.

[0024] It should be noted that if the current frame image is a low-brightness image, no restriction is imposed on the backlight control data.

[0025] For example, the current frame image is a highlight image, and the average brightness of the highlight part is 75%. If the highlight part is concentrated, the desired display effect can be achieved without a 100% control value due to the superposition effect of the halo; if the highlight part is not concentrated, the above 100% control value is taken.

[0026] In a specific embodiment, performing power limitation processing based on energy distribution of a histogram includes: The peak value of the histogram is obtained, the width of the peak value is calculated, the energy concentration area is determined according to the width, and the histogram data is optimized in the energy concentration area.

[0027] It should be noted that the peak of the histogram can be obtained by using the difference method, the steps include: first, calculate the difference between two adjacent columns of the histogram. This can be done by starting from the second column and subtracting the value of each column from the value of the previous column. Find the change point: Observe the difference sequence and find the point where the difference changes from positive to negative. This point usually indicates the beginning of the peak. Determine the peak position: Near the point where the difference changes from positive to negative, the peak is usually located at the point with the largest difference. This can be determined by comparing the difference between this point and its neighboring points. Verify the peak: To ensure that the peak is found, you can check whether there is a downward trend on both sides of the peak point. If so, then this point is likely to be the peak. At the same time, consider the boundary conditions: At the boundary of the histogram, the difference method may not be applicable because there is only one column to compare. In this case, it may be necessary to use other methods or consider the boundary conditions of the histogram.

[0028] S3: weighted integration of the three processed histogram data to obtain integrated data; The three processed histogram data are weighted and integrated to obtain the integrated data, including: adding a% of the data after histogram equalization processing; b% of the data after partial equalization processing based on the threshold; and c% of the data after power limitation processing based on the energy distribution of the histogram, where a%+b%+c%=1. Where a, b, and c are positive integers. For example, 50% of the histogram equalization data, 30% of the histogram partial equalization data, and 20% of the histogram power limitation data are added to obtain the integrated data.

[0029] S4: Compare the integrated data with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and perform power control on the matrix backlight according to the power difference.

[0030] The integrated data is compared with the histogram of the previous frame of backlight data to obtain the power difference between the two frames of data, and the power difference is obtained by calculating the information entropy, energy spectrum or peaks and valleys of the two frames of data.

[0031] In a specific embodiment, the average value, variance, normal distribution, etc. of data within a certain range of information entropy of two frames of data may be calculated to determine a threshold value of partition data fluctuation.

[0032] It should be noted that the backlight data of the current frame is compared with the histogram data of the previous frame. The reason for using the histogram data for comparison is that it can improve the computing efficiency, because the amount of data in the histogram is very small, and the sum of the histogram can intuitively reflect the backlight power represented by the current image. After the histogram is calculated, the power difference between the two frames of the image can be intuitively known, so as to limit the power and suppress large power fluctuations; for example, after calculation, the data of each backlight partition can be limited to a maximum of 20 data at a time.

[0033] The present invention is applicable to an FPGA platform, consumes little resources, can output an image and a backlight in the same frame, has no delay, and has better real-time performance.

[0034] The second aspect of the present invention provides a histogram-based matrix backlight control system, the system comprising: a memory, a processor, the memory comprising a histogram-based matrix backlight control method program, the histogram-based matrix backlight control method program when executed by the processor to implement the following steps: S1: obtaining the matrix backlight data of the current frame and the matrix backlight data outputted in the previous frame and processing them into histograms respectively; It should be noted that the matrix backlight data is processed using the histogram data, which reduces the matrix backlight data from two-dimensional data to one-dimensional data, thereby greatly reducing the amount of calculation.

[0035] S2: copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; It should be noted that in the present application, the histogram data of the current frame matrix backlight data is copied into three copies, and different equalization and / or power limiting processing is performed on the three copies of the histogram data, including: one copy of the histogram data is subjected to histogram equalization; one copy of the histogram data is subjected to partial equalization processing based on a threshold; and one copy of the histogram data is subjected to power limiting processing based on the energy distribution of the histogram.

[0036] In a specific embodiment, the portion of histogram data is partially equalized based on a threshold, including: Determine the image brightness type of the current frame and the distribution type of the backlight highlight distribution environment according to the histogram data, wherein the brightness type includes a highlight image and a low-brightness image, and the distribution type includes: concentrated distribution and dispersed distribution; The current screen temperature is obtained. If the screen temperature is less than or equal to the safety threshold, the backlight control data is not restricted; if the screen temperature is greater than the safety threshold, the backlight control data is restricted.

[0037] Furthermore, the restriction on the backlight control data includes: if the current frame image is a highlight image and the highlight distribution type is concentrated distribution, a first brightness threshold is set, and the backlight brightness is controlled by the first brightness threshold; if the current frame image is a highlight image and the highlight distribution type is dispersed distribution, a second brightness threshold is set, and the backlight brightness is controlled by the second brightness threshold, and the second brightness threshold is greater than the first brightness threshold.

[0038] For example, the current frame image is a highlight image, and the average brightness of the highlight part is 75%. If the highlight part is concentrated, the desired display effect can be achieved without a 100% control value due to the superposition effect of the halo; if the highlight part is not concentrated, the above 100% control value is taken.

[0039] In a specific embodiment, performing power limitation processing based on energy distribution of a histogram includes: The peak value of the histogram is obtained, the width of the peak value is calculated, the energy concentration area is determined according to the width, and the histogram data is optimized in the energy concentration area.

[0040] It should be noted that the peak of the histogram can be obtained by using the difference method, the steps include: first, calculate the difference between two adjacent columns of the histogram. This can be done by starting from the second column and subtracting the value of each column from the value of the previous column. Find the change point: Observe the difference sequence and find the point where the difference changes from positive to negative. This point usually indicates the beginning of the peak. Determine the peak position: Near the point where the difference changes from positive to negative, the peak is usually located at the point with the largest difference. This can be determined by comparing the difference between this point and its neighboring points. Verify the peak: To ensure that the peak is found, you can check whether there is a downward trend on both sides of the peak point. If so, then this point is likely to be the peak. At the same time, consider the boundary conditions: At the boundary of the histogram, the difference method may not be applicable because there is only one column to compare. In this case, it may be necessary to use other methods or consider the boundary conditions of the histogram.

[0041] S3: weighted integration of the three processed histogram data to obtain integrated data; The three processed histogram data are weighted and integrated to obtain the integrated data, including: adding a% of the data after histogram equalization processing; b% of the data after partial equalization processing based on the threshold; and c% of the data after power limitation processing based on the energy distribution of the histogram, where a%+b%+c%=1. Where a, b, and c are positive integers. For example, 50% of the histogram equalization data, 30% of the histogram partial equalization data, and 20% of the histogram power limitation data are added to obtain the integrated data.

[0042] S4: Compare the integrated data with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and perform power control on the matrix backlight according to the power difference.

[0043] The integrated data is compared with the histogram of the previous frame of backlight data to obtain the power difference between the two frames of data, and the power difference is obtained by calculating the information entropy, energy spectrum or peaks and valleys of the two frames of data.

[0044] In a specific embodiment, the average value, variance, normal distribution, etc. of data within a certain range of information entropy of two frames of data may be calculated to determine a threshold value of partition data fluctuation.

[0045] It should be noted that the backlight data of the current frame is compared with the histogram data of the previous frame. The reason for using the histogram data for comparison is that it can improve the computing efficiency, because the amount of data in the histogram is very small, and the sum of the histogram can intuitively reflect the backlight power represented by the current image. After the histogram is calculated, the power difference between the two frames of the image can be intuitively known, so as to limit the power and suppress large power fluctuations; for example, after calculation, the data of each backlight partition can be limited to a maximum of 20 data at a time.

[0046] The present invention is applicable to an FPGA platform, consumes little resources, can output an image and a backlight in the same frame, has no delay, and has better real-time performance.

[0047] The third aspect of the present invention provides a computer-readable storage medium, which includes a histogram-based matrix backlight control method program. When the histogram-based matrix backlight control method program is executed by a processor, the steps of the histogram-based matrix backlight control method are implemented.

[0048] The same or similar reference numerals correspond to the same or similar components; The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent; Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A matrix backlight control method based on histogram, characterized in that: The following steps are involved: Obtain the matrix backlight data of the current frame and the matrix backlight data outputted in the previous frame and process them into histograms respectively; Copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; The three processed histogram data are weighted and integrated to obtain integrated data; The integrated data is compared with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and the power of the matrix backlight is controlled according to the power difference.

2. The matrix backlight control method based on histogram according to claim 1, characterized in that: The performing different equalization and / or power limiting processing on three histogram data respectively includes: performing histogram equalization on one histogram data; performing partial equalization processing on one histogram data based on a threshold; and performing power limiting processing on one histogram data based on the energy distribution of the histogram.

3. The matrix backlight control method based on histogram according to claim 2, characterized in that: The threshold-based partial equalization processing includes: Determine the image brightness type of the current frame and the distribution type of the backlight highlight distribution environment according to the histogram data, wherein the brightness type includes a highlight image and a low-brightness image, and the distribution type includes: concentrated distribution and dispersed distribution; The current screen temperature is obtained. If the screen temperature is less than or equal to the safety threshold, the backlight control data is not restricted; if the screen temperature is greater than the safety threshold, the backlight control data is restricted.

4. The matrix backlight control method based on histogram according to claim 3, characterized in that: The described restriction on the backlight control data includes: if the current frame image is a highlight image, and the highlight distribution type is concentrated distribution, then a first brightness threshold is set, and the backlight brightness is controlled by the first brightness threshold; if the current frame image is a highlight image, and the highlight distribution type is dispersed distribution, then a second brightness threshold is set, and the backlight brightness is controlled by the second brightness threshold, and the second brightness threshold is greater than the first brightness threshold.

5. The matrix backlight control method based on histogram according to claim 2, characterized in that: Power limiting based on histogram energy distribution, including: The peak value of the histogram is obtained, the width of the peak value is calculated, the energy concentration area is determined according to the width, and the histogram data is optimized in the energy concentration area.

6. The matrix backlight control method based on histogram according to claim 1, characterized in that: The integrated data is compared with the histogram of the previous frame of backlight data to obtain the power difference between the two frames of data, and the power difference is obtained by calculating the information entropy, energy spectrum or peaks and valleys of the two frames of data.

7. The matrix backlight control method based on histogram according to claim 2, characterized in that: The three processed histogram data are weighted and integrated to obtain the integrated data, including: the data a% after the histogram equalization processing; the data b% after the partial equalization processing based on the threshold; the data c% after the power limitation processing based on the energy distribution of the histogram are added together, where a%+b%+c%=1.

8. A matrix backlight control system based on histogram, characterized in that: The system comprises: a memory and a processor, wherein the memory comprises a matrix backlight control method program based on a histogram, and when the matrix backlight control method program based on a histogram is executed by the processor, the following steps are implemented: obtaining matrix backlight data of a current frame and matrix backlight data outputted in a previous frame and processing them into histograms respectively; Copying the histogram data of the current frame matrix backlight data into three copies, and performing different equalization and / or power limiting processing on the three copies of the histogram data respectively; The three processed histogram data are weighted and integrated to obtain integrated data; The integrated data is compared with the histogram of the previous frame array backlight data to obtain the power difference between the two frames of data, and the power of the matrix backlight is controlled according to the power difference.

9. The histogram-based matrix backlight control system according to claim 1, characterized in that: The performing different equalization and / or power limiting processing on three histogram data respectively includes: performing histogram equalization on one histogram data; performing partial equalization processing on one histogram data based on a threshold; and performing power limiting processing on one histogram data based on the energy distribution of the histogram.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a histogram-based matrix backlight control method program. When the histogram-based matrix backlight control method program is executed by a processor, the steps of a histogram-based matrix backlight control method as described in any one of claims 1 to 7 are implemented.