Brightness control method and data processing method of OLED (Organic Light Emitting Diode) display

By obtaining the brightness value in the OLED display, dividing the intervals and establishing a mapping relationship, and dynamically adjusting the brightness, the problem of high energy consumption of the OLED display is solved, and the effect of reducing power consumption while maintaining the visual effect is achieved.

CN118762646AActive Publication Date: 2024-10-11RDA MICROELECTRONICS SHANGHAICO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410791982.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-11
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

The energy consumption of OLED displays is high, which shortens the use time of electronic devices. How to reduce power consumption and extend the use time while maintaining the display effect.

Method used

By obtaining the current brightness value of the target pixel in the display image of the OLED display, setting the brightness threshold according to the brightness statistical information, dividing the brightness value into brightness intervals, determining the correction coefficient for each interval, and establishing the relationship between the current brightness value and the target brightness value. Mapping relationship, dynamically adjust brightness to achieve energy saving.

Benefits of technology

It provides the best visual effects in different display scenarios, ensures balanced image brightness, reduces power consumption, does not require hardware changes, and has low implementation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762646A_ABST
    Figure CN118762646A_ABST
Patent Text Reader

Abstract

The invention provides a brightness control method of an OLED (Organic Light Emitting Diode) display, a data processing method and system thereof, electronic equipment, a storage medium, a program product, a chip and a chip module. The brightness control method comprises the following steps: acquiring a current brightness value of a target pixel in a display image of the OLED display; determining a target brightness value according to the current brightness value and based on a target mapping relation; the target mapping relation is obtained according to the data processing method; and updating the current brightness value of the target pixel according to the target brightness value. The gain effect of different current brightness values can be realized, so that the overall brightness balance of the picture is ensured while energy is saved, and the visual quality of the image is ensured. In addition, hardware does not need to be changed, implementation is easier, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing and display driving technology, and in particular to a brightness control method of an OLED display and a data processing method, system, electronic device, storage medium, program product, chip and chip module thereof. Background Art

[0002] In the current consumer electronics market, OLED (Organic Light-Emitting Diode) display technology has become popular as a new generation of display technology. However, due to the high brightness of OLED display characteristics, its display power consumption is significantly higher than that of traditional LCD (Liquid Crystal Display) in some scenarios. Therefore, how to reduce the display power consumption and extend the use time of electronic devices while maintaining the original display effect is a problem facing OLED. Summary of the invention

[0003] The technical problem to be solved by the present disclosure is to overcome the defect of high energy consumption of OLED in the prior art, and to provide a brightness control method of an OLED display and a data processing method, system, electronic device, storage medium, program product, chip and chip module.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] The present disclosure provides a data processing method for brightness control of an OLED display, the data processing method comprising:

[0006] Acquire a current brightness value of a target pixel in a display image of the OLED display;

[0007] Acquire brightness statistical information according to the current brightness value;

[0008] A brightness threshold is set according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a plurality of brightness intervals;

[0009] Determining a correction factor for each of the brightness intervals;

[0010] A target mapping relationship between a current brightness value and a target brightness value is determined according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value and the target brightness value in different brightness intervals.

[0011] Optionally, setting a brightness threshold according to the brightness statistical information includes: setting a number of the current brightness values ​​as the brightness threshold.

[0012] Optionally, setting a brightness threshold according to the brightness statistical information includes:

[0013] Arrange the current brightness values ​​in order of magnitude, and sequentially calculate the brightness difference between each two adjacent current brightness values;

[0014] In response to the brightness difference being less than or equal to a difference threshold, setting each current brightness value as the brightness threshold;

[0015] and / or,

[0016] In response to the brightness difference being greater than a difference threshold, the two current brightness values ​​corresponding to the maximum value of the brightness difference are set as the brightness threshold.

[0017] Optionally, determining the correction coefficient of each brightness interval includes:

[0018] Obtaining a number of sampled brightness values ​​within each brightness interval;

[0019] Determine a first correction coefficient corresponding to each of the sampled brightness values ​​according to a first preset mapping relationship; the first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated;

[0020] The correction coefficient of each of the brightness intervals is determined according to all of the first correction coefficients.

[0021] Optionally, determining the correction coefficient of each brightness interval includes:

[0022] Determine the average brightness value or the maximum brightness value of the current brightness value;

[0023] According to a second preset mapping relationship, determining a correction coefficient of the brightness interval corresponding to the brightness average value or the brightness maximum value as an upper limit correction coefficient;

[0024] The correction coefficient of each brightness interval is determined according to the upper limit correction coefficient; wherein all the correction coefficients do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient.

[0025] Optionally, obtaining a current brightness value of a target pixel in a display image of the OLED display includes:

[0026] Acquire a brightness histogram of the displayed image;

[0027] The current brightness value is extracted according to the brightness histogram.

[0028] The present disclosure also provides a brightness control method for an OLED display, the brightness control method comprising:

[0029] Acquire a current brightness value of a target pixel in a display image of the OLED display;

[0030] Determine the target brightness value according to the current brightness value and based on the target mapping relationship; the target mapping relationship is obtained according to any one of the above-mentioned data processing methods;

[0031] The current brightness value of the target pixel is updated according to the target brightness value.

[0032] Optionally, determining the target brightness value according to the current brightness value and based on a target mapping relationship includes:

[0033] Determine a target brightness interval within which the current brightness value lies;

[0034] The target brightness value is calculated according to the target mapping relationship corresponding to the target brightness interval.

[0035] The present disclosure also provides a data processing system for brightness control of an OLED display, the data processing system comprising:

[0036] A first acquisition module, used to acquire a current brightness value of a target pixel in a display image of the OLED display;

[0037] A second acquisition module, used to acquire brightness statistical information according to the current brightness value;

[0038] A threshold setting module, used to set a brightness threshold according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a number of brightness intervals;

[0039] A first determination module, used to determine a correction coefficient for each brightness interval;

[0040] The second determination module is used to determine a target mapping relationship between a current brightness value and a target brightness value according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value in different brightness intervals and the target brightness value.

[0041] Optionally, the threshold setting module is specifically used to: set a number of the current brightness values ​​as the brightness threshold.

[0042] Optionally, the threshold setting module is specifically used to:

[0043] Arrange the current brightness values ​​in order of magnitude, and sequentially calculate the brightness difference between each two adjacent current brightness values;

[0044] In response to the brightness difference being less than or equal to a difference threshold, setting each current brightness value as the brightness threshold;

[0045] and / or,

[0046] In response to the brightness difference being greater than a difference threshold, the two current brightness values ​​corresponding to the maximum value of the brightness difference are set as the brightness threshold.

[0047] Optionally, the first determining module is specifically configured to:

[0048] Obtaining a number of sampled brightness values ​​within each brightness interval;

[0049] Determine a first correction coefficient corresponding to each of the sampled brightness values ​​according to a first preset mapping relationship; the first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated;

[0050] The correction coefficient of each of the brightness intervals is determined according to all of the first correction coefficients.

[0051] Optionally, the first determining module is specifically configured to:

[0052] Determine the average brightness value or the maximum brightness value of the current brightness value;

[0053] According to a second preset mapping relationship, determining a correction coefficient of the brightness interval corresponding to the brightness average value or the brightness maximum value as an upper limit correction coefficient;

[0054] The correction coefficient of each brightness interval is determined according to the upper limit correction coefficient; wherein all the correction coefficients do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient.

[0055] Optionally, the first acquisition module is specifically configured to:

[0056] Acquire a brightness histogram of the displayed image;

[0057] The current brightness value is extracted according to the brightness histogram.

[0058] The present disclosure also provides a brightness control system for an OLED display, the brightness control system comprising:

[0059] A brightness acquisition module, used to acquire the current brightness value of a target pixel in a display image of the OLED display;

[0060] A brightness determination module, configured to determine the target brightness value according to the current brightness value and based on a target mapping relationship; the target mapping relationship is obtained according to any one of the above-mentioned data processing methods;

[0061] A brightness update module is used to update the current brightness value of the target pixel according to the target brightness value.

[0062] Optionally, the brightness determination module is specifically configured to:

[0063] Determine a target brightness interval within which the current brightness value lies;

[0064] The target brightness value is calculated according to the target mapping relationship corresponding to the target brightness interval.

[0065] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein when the processor executes the computer program, it implements the data processing method for brightness control of any one of the above-mentioned OLED displays, or implements the brightness control method of any one of the above-mentioned OLED displays.

[0066] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the data processing method for brightness control of any one of the above-mentioned OLED displays is implemented, or the brightness control method for any one of the above-mentioned OLED displays is implemented.

[0067] The present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned data processing methods for brightness control of an OLED display, or implements any of the above-mentioned brightness control methods for an OLED display.

[0068] The present disclosure also provides a chip having a computer program stored thereon. When the computer program is executed by the chip, the data processing method for brightness control of any one of the above-mentioned OLED displays is implemented, or the brightness control method for any one of the above-mentioned OLED displays is implemented.

[0069] The present disclosure also provides a chip module, which is applied to electronic devices, including a transceiver component and a chip, wherein the chip is used to implement the data processing method for brightness control of any of the above-mentioned OLED displays, or to implement the brightness control method of any of the above-mentioned OLED displays.

[0070] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0071] The positive progressive effect of the present disclosure is that: by displaying the brightness statistical information of the current brightness value of the target pixel in the image, the correction coefficient of each brightness interval divided by the brightness threshold is determined, so as to determine the target mapping relationship between the current brightness value and the target brightness value according to the correction coefficient. It is possible to dynamically adjust the brightness according to different brightness requirements, thereby providing the best visual effect in different display scenarios. The current brightness value of the target pixel in the display image of the OLED display is obtained, and the target brightness value is determined according to the current brightness value and based on the target mapping relationship to update the current brightness value of the target pixel. The gain effect of different current brightness values ​​can be achieved, so that the overall brightness balance of the picture is guaranteed while saving energy, and the visual quality of the image is guaranteed. In addition, the present disclosure does not require hardware changes, and is easier to implement and has a lower cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A flowchart of a data processing method for brightness control of an OLED display provided by an exemplary embodiment of the present disclosure;

[0073] Figure 2 A flow chart of step 101 provided for an exemplary embodiment of the present disclosure;

[0074] Figure 3 Another flow chart of step 103 provided for an exemplary embodiment of the present disclosure;

[0075] Figure 4 A schematic diagram of a mapping relationship between brightness intervals and correction coefficients provided by an exemplary embodiment of the present disclosure;

[0076] Figure 5 A flow chart of step 104 provided for an exemplary embodiment of the present disclosure;

[0077] Figure 6 A schematic diagram of a first preset mapping relationship provided for an exemplary embodiment of the present disclosure;

[0078] Figure 7 Another flow chart of step 104 provided for an exemplary embodiment of the present disclosure;

[0079] Figure 8 A schematic diagram of a second preset mapping relationship provided by an exemplary embodiment of the present disclosure;

[0080] Fig. 9 A schematic diagram of a target mapping relationship provided for an exemplary embodiment of the present disclosure;

[0081] Fig.10 A flowchart of a brightness control method of an OLED display provided by an exemplary embodiment of the present disclosure;

[0082] Fig.11 A flow chart of step 202 provided for an exemplary embodiment of the present disclosure;

[0083] Fig.12 A module schematic diagram of a data processing system for brightness control of an OLED display provided by an exemplary embodiment of the present disclosure;

[0084] Fig.13 A module schematic diagram of a brightness control system of an OLED display provided by an exemplary embodiment of the present disclosure;

[0085] Fig.14 The present invention provides a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0086] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0087] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0088] Example 1

[0089] Figure 1 A flowchart of a data processing method for brightness control of an OLED display provided by an exemplary embodiment of the present disclosure, the data processing method comprising:

[0090] Step 101: Obtain the current brightness value of a target pixel in a display image of an OLED display.

[0091] This step provides necessary input data for subsequent brightness adjustment, so that the entire brightness control system can perform effective brightness optimization and adjustment based on an accurate understanding of the current brightness state.

[0092] Optionally, Figure 2 A flowchart of step 101 is provided for an exemplary embodiment of the present disclosure; as can be seen from the figure, step 101 specifically includes:

[0093] Step 1011: Obtain a brightness histogram of the displayed image.

[0094] In this step, first, the current display image needs to be captured from the OLED display. For example, the data in the Frame Buffer can be read through the screenshot thread and the data can be saved as a screenshot. Since the FrameBuffer provides an interface to abstract the display device as a frame buffer, the synthesized display frame is written into the Frame Buffer, and the display frame can be displayed on the screen. By reading the data in the Frame Buffer, a screenshot of the current display screen can be achieved. The histogram information of the V channel of the current image is calculated to generate a brightness histogram. In practical applications, obtaining all pixel values ​​of the image has a large hardware overhead, so usually only the brightness histogram of the image is obtained to calculate the image-related information. Therefore, if the brightness and chromaticity information of the input image are mixed together, the brightness and chromaticity information need to be separated. The specific separation method is not limited in this article. For example, it can be converted into an image in the common YUV or HSV format. The present disclosure does not limit the number of histogram Bins, but in order to ensure that the calculated image information is sufficiently accurate, the number of Bins should not be too small.

[0095] Step 1012: extract the current brightness value according to the brightness histogram.

[0096] After obtaining the histogram, the current brightness value of the current image is calculated according to the histogram. First, as described in step 1011, a brightness histogram is generated by calculating the brightness value of each pixel. This histogram represents the distribution of the number of pixels at each brightness level in the image. The generated brightness histogram is analyzed to determine the overall brightness trend of the image. This can be done by finding the peak value, average value or other statistical measures in the histogram. Based on the analysis results of the brightness histogram, the current brightness value representing the brightness of the current image is extracted. This current brightness value can be the peak value (the most common brightness value), average value (average brightness level) or median (middle brightness value) in the histogram, and which method is selected depends on the application scenario and the required accuracy.

[0097] Step 102: Obtain brightness statistical information according to the current brightness value.

[0098] In this step, the brightness statistics include but are not limited to the brightness cumulative histogram of the current image, the maximum brightness max, the average brightness ave, etc. For example, the brightness values ​​pxl_a1, pxl_a2, pxl_a3...pxl_an corresponding to the cumulative histogram pixel count accounting for a1%, a2%, a3%...an% of the total number of image pixels. And calculate the differences between the brightness values ​​of different proportions diff_a2_a1, diff_a3_a2...diff_max_an. Among them, diff_a2_a1=pxl_a2-pxl_a1, and so on. The relationship between the pixel proportions a1%, a2%, a3%...an% must satisfy 100%≥an>an-1...>a3>a2>a1≥0%.

[0099] Step 103: Set a brightness threshold according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a number of brightness intervals.

[0100] The purpose of this step is to divide the threshold of the brightness interval so as to perform subsequent brightness adjustment. Optionally, step 103 specifically includes:

[0101] Step 1031: Set a number of current brightness values ​​as brightness thresholds.

[0102] This step is to directly select several current brightness values ​​as brightness thresholds. Regarding the selection of current brightness values, a series of representative current brightness values ​​can be selected according to the brightness statistical information obtained in step 102. Of course, all current brightness values ​​can also be selected. These selected current brightness values ​​are directly set as brightness thresholds for subsequent division of brightness intervals. For example, if the selected brightness values ​​are 90 and 120, these two values ​​can be selected as brightness thresholds and divided into three brightness intervals of "lower than 90", "90 to 120" and "higher than 120". Or the average and median of the current brightness values ​​can be used as brightness thresholds. For example, if the average value of the brightness value is 120 and the median is 115, these two values ​​can be selected as brightness thresholds and divided into three brightness intervals of "lower than 115", "115 to 120" and "higher than 120". It should be understood that the above example is only divided into three brightness intervals. In actual application scenarios, the number of selected current brightness values ​​can be increased to increase the number of brightness intervals. This direct use of actual brightness values ​​as brightness thresholds is easy to understand and implement, and does not require complex calculations or algorithms.

[0103] Optionally, Figure 3 Another flowchart of step 103 is provided for an exemplary embodiment of the present disclosure; as can be seen from the figure, step 103 specifically includes:

[0104] Step 1032: Arrange the current brightness values ​​in order of size, and calculate the brightness difference between every two adjacent current brightness values ​​in sequence.

[0105] For example, suppose there are the following current brightness values: 50, 80, 60, 130, 100. First, these brightness values ​​are sorted in order of size to obtain 50, 60, 80, 100, 130. Then, the brightness difference between each two adjacent brightness values ​​is calculated to obtain 10, 20, 20, 30. It should be understood that in this step, the calculation object of the brightness difference value is two adjacent current brightness values, and the brightness difference value of any two current brightness values ​​can be calculated according to actual needs.

[0106] Step 1033: In response to the brightness difference being less than or equal to the difference threshold, each current brightness value is set as the brightness threshold.

[0107] Based on the example of step 1032, it is assumed that the difference threshold is 30. Since all brightness difference values ​​are less than or equal to 30, 50, 60, 80, 100, and 130 are set as brightness thresholds, that is, 6 brightness intervals can be formed.

[0108] and / or,

[0109] Step 1034: In response to the brightness difference being greater than the difference threshold, two current brightness values ​​corresponding to the maximum brightness difference are set as the brightness threshold.

[0110] Based on the example of step 1032, assume that the difference threshold is 10. Since the brightness difference values ​​are 10, 20, 20, and 30, among which 3 brightness difference values ​​are greater than 10, and the two current brightness values ​​corresponding to the maximum brightness difference value 30 are 100 and 130, 100 and 130 are set as the brightness thresholds. It should be understood that this step will determine two brightness thresholds, that is, the current brightness value will be divided into 2 brightness intervals.

[0111] Based on the above steps 101 to 103, a specific example is given here: after obtaining the histogram, the brightness statistics of the current image are calculated according to the histogram. The brightness statistics include but are not limited to the brightness cumulative histogram of the current image, the maximum brightness max, the average brightness ave, and the brightness values ​​pxl_a1, pxl_a2, pxl_a3...pxl_an corresponding to the cumulative histogram pixel count accounting for a1%, a2%, a3%...an% of the total number of image pixels. And calculate the brightness difference diff_a2_a1, diff_a3_a2...diff_max_an between the brightness values ​​with different proportions. Where diff_a2_a1=pxl_a2-pxl_a1, and so on. The relationship between the pixel proportions a1%, a2%, a3%...an% must satisfy 100%≥an%>an-1%...>a3%>a2%>a1%≥0%. First, we need to calculate the brightness difference between the proportions of pixels with different brightness values, diff_a2_a1, diff_a3_a2…diff_max_an, based on the cumulative histogram, and then find the maximum value max_diff between the above brightness differences. Then, we can determine the brightness threshold according to the following 4 situations:

[0112] Case 1: If max_diff is less than the set threshold thr_diff, it means that the image has a low contrast. At this time, pxl_a1, pxl_a2, pxl_a3…pxl_an are set as brightness thresholds. Among them, pxl_a1, pxl_a2, pxl_a3…pxl_an need to satisfy 0≤pxl_a1≤pxl_a2≤…≤pxl_an≤255.

[0113] Case 2: If max_diff is equal to diff_a2_a1 and greater than thr_diff, it means that the image contrast is high, but the overall brightness of the image is low. At this time, one brightness threshold thr1 is set to pxl_a1, and the other brightness threshold thr2 is set to pxl_a2.

[0114] Case 3: If max_diff is equal to diff_a3_a2 and greater than thr_diff, it means that the image contrast is high and the overall brightness of the image is high. At this time, one brightness threshold thr1 is set to pxl_a2, and the other brightness threshold thr2 is set to pxl_a3.

[0115] Case 4: If max_diff is equal to diff_max_an, it means that the brightness histogram of the image has obvious tailing and the image contrast is low. At this time, set one brightness threshold thr1 to pxl_an and the other brightness threshold thr2 to the maximum brightness pxl_max.

[0116] The above four situations are merely examples, and the embodiments of the present disclosure are not limited to the above four situations. The reason for adopting the above four brightness threshold setting methods is to distinguish the low brightness area, medium brightness area and high brightness area of ​​the image. For example, if max_diff is equal to diff_a3_a2, it means that the brightness value pxl_a3 accounting for a3% of the total number of image pixels and the brightness value pxl_a2 accounting for a2% of the total number of image pixels have the largest difference, then the brightness value less than pxl_a2 is regarded as a low brightness area, the brightness value greater than pxl_a2 and less than pxl_a3 is regarded as a medium brightness, and the brightness value greater than pxl_a3 is regarded as a high brightness area. It should be understood that the value of thr_diff is not limited in this article and needs to be set manually based on empirical values.

[0117] Step 104: Determine the correction coefficient for each brightness interval.

[0118] In this step, a plurality of brightness intervals divided by the brightness threshold are determined based on step 103, and a correction coefficient is determined for each interval. Figure 4 A schematic diagram of the mapping relationship between brightness intervals and correction coefficients provided by an exemplary embodiment of the present disclosure. As can be seen from the figure, thresholds thr1 and thr2 divide the brightness range into three brightness intervals, and the correction coefficients corresponding to the three brightness intervals from left to right are gain1, gain2 and gain3 respectively. Optionally, Figure 5 A flowchart of step 104 is provided for an exemplary embodiment of the present disclosure; as can be seen from the figure, step 104 specifically includes:

[0119] Step 1041: Obtain a number of sampled brightness values ​​in each brightness interval.

[0120] In this step, sample brightness values ​​are selected in each defined brightness interval to provide data for the subsequent calculation of the correction coefficient. Assuming that the brightness thresholds have been set to 100 and 130 according to step 103, the current brightness is divided into three brightness intervals: 0 to 100, 100 to 130, and 130 to 255. First, select a number of sample brightness values ​​in each brightness interval, and the sample brightness values ​​can be any value taken from the brightness interval and / or the current brightness value existing in the brightness interval. For example, in the interval [0, 100), 50 and 60 can be selected as sample brightness values; in the interval [100, 130), 110 and 120 can be selected as sample brightness values; in the interval [130, 255), 150 and 240 can be selected as sample brightness values; then, record these sample brightness values ​​for subsequent calculation of the correction coefficient. In this example, the sample brightness values ​​obtained are: 50, 60, 110, 120, 150, 240.

[0121] It should be understood that the selection of the sampled brightness values ​​may be based on randomness or on certain selection rules, and the number of sampled brightness values ​​selected for each brightness interval may also be adjusted according to actual conditions.

[0122] Step 1042: determine the first correction coefficient corresponding to each sampled brightness value according to the first preset mapping relationship; the first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated.

[0123] In this step, a first correction coefficient is determined for each sampled brightness value according to a first preset mapping relationship. The first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated. Optionally, Figure 6 A schematic diagram of a first preset mapping relationship provided for an exemplary embodiment of the present disclosure, wherein each first correction coefficient corresponds to a sampling brightness range, and if the sampling brightness value falls into any sampling brightness range, a unique first correction coefficient can be determined. So based on the example of step 1041, when the sampling brightness values ​​are: 50, 60, 110, 120, 150, 240. The corresponding 6 first correction coefficients are: 0.93, 0.9, 085, 0.82, 0.79, 0.62.

[0124] Step 1043: Determine the correction coefficient for each brightness interval according to all the first correction coefficients.

[0125] In this step, the correction coefficient of each brightness interval is calculated based on the first correction coefficient obtained in step 1042. For example, the first correction coefficient corresponding to each brightness interval can be determined separately. For example, in the example of step 1042, the first correction coefficients corresponding to the sampled brightness values ​​in the interval [0, 100) are: 0.93, 0.9 respectively; the first correction coefficients corresponding to the sampled brightness values ​​in the interval [100, 130) are: 085, 0.82 respectively; the first correction coefficients corresponding to the sampled brightness values ​​in the interval [130, 255) are: 0.79, 0.62 respectively. For the first correction coefficients corresponding to the above-mentioned respective brightness intervals, any one of the values ​​can be randomly used as the correction coefficient, or the average value of these first correction coefficients can be taken as the correction coefficient. For example, the average value of the first correction coefficients is set as the correction coefficient, and the correction coefficients in the brightness intervals [0, 100), [100, 130), and [130, 255) are 0.915, 0.835, and 0.705 respectively.

[0126] Optionally, Figure 7 Another flowchart of step 104 is provided for an exemplary embodiment of the present disclosure; as can be seen from the figure, step 104 specifically includes:

[0127] Step 1044: Determine the average brightness value or the maximum brightness value of the current brightness value.

[0128] Assuming that the current brightness values ​​are: 50, 60, 80, 100, 130, the average brightness of the current brightness value is 84, and the maximum brightness value is 130.

[0129] Step 1045: According to the second preset mapping relationship, determine the correction coefficient of the brightness interval corresponding to the brightness average value or the brightness maximum value as the upper limit correction coefficient.

[0130] In this step, according to the second preset mapping relationship, the correction coefficient of the brightness interval corresponding to the brightness average value or the brightness maximum value is determined as the upper limit correction coefficient. Figure 8 A schematic diagram of a second preset mapping relationship provided for an exemplary embodiment of the present disclosure, wherein each second correction coefficient corresponds to a brightness range, and if the average brightness value or the maximum brightness value falls into any brightness range, a unique second correction coefficient can be determined. Therefore, based on the example of step 1044, when the average brightness value is 84, the corresponding second correction coefficient is 0.87, and when the maximum brightness value is 130, the corresponding second correction coefficient is 0.82. Then 0.87 or 0.82 can be used as the upper limit correction coefficient.

[0131] Step 1046: determine the correction coefficient for each brightness interval according to the upper limit correction coefficient; wherein all correction coefficients do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient.

[0132] Assuming that the upper limit correction coefficient is 0.87, the correction coefficients of the brightness intervals [0, 100), [100, 130), and [130, 255) are 0.87, 0.77, and 0.67, respectively. These correction coefficients satisfy the requirement that they do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient, that is, the smaller the brightness value corresponding to the brightness interval, the larger the correction coefficient.

[0133] Step 105 : determining a target mapping relationship between the current brightness value and the target brightness value according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value in different brightness intervals and the target brightness value.

[0134] Optionally, Fig. 9 A schematic diagram of a target mapping relationship provided by an exemplary embodiment of the present disclosure; when the correction coefficient is determined, the target mapping relationship can be obtained according to the following mapping relationship:

[0135]

[0136] Among them, V is the current brightness value, V ’ is the target brightness value, gain1, gain2, gain3 are correction coefficients, coef1 and coef2 are constant terms (intercepts), thr1 and thr2 are brightness thresholds, and max is the maximum brightness value.

[0137] Through the data processing method for brightness control of the OLED display of this embodiment, the correction coefficient of each brightness interval divided by the brightness threshold can be determined, so as to determine the target mapping relationship between the current brightness value and the target brightness value according to the correction coefficient. It is possible to dynamically adjust the brightness according to different brightness requirements, thereby providing the best visual effect in different display scenes.

[0138] Example 2

[0139] Fig.10 A flow chart of a brightness control method of an OLED display provided by an exemplary embodiment of the present disclosure, the brightness control method comprising:

[0140] Step 201: Obtain the current brightness value of a target pixel in a display image of an OLED display.

[0141] Assume an OLED display with a resolution of 1920*1080 pixels. You need to control the brightness of a specific pixel in the display, such as the pixel at coordinates (100, 200). For example, for the pixel at coordinates (100, 200), the RGB value read is (150, 100, 50). Next, you need to convert the RGB value to a brightness value. A common method is to use the brightness formula: brightness = 0.299*R + 0.587*G + 0.114*B. For this example, the brightness value is 0.299*150 + 0.587*100 + 0.114*50 = 74.75. That is, the current brightness value of the pixel at coordinates (100, 200) is 74.75.

[0142] Step 202: determining a target brightness value according to the current brightness value and based on a target mapping relationship; the target mapping relationship is obtained according to the data processing method of any one of Embodiment 1;

[0143] Optionally, Fig.11 A flow chart of step 202 is provided for an exemplary embodiment of the present disclosure; step 202 specifically includes:

[0144] Step 2021: Determine the target brightness range in which the current brightness value lies.

[0145] Assume that the current brightness value of a pixel, for example, 74.75, has been obtained through step 201. Now it is necessary to determine the target brightness value based on this brightness value in order to adjust the brightness of the pixel. Assume that the target mapping relationship is:

[0146]

[0147] The current brightness value is 74.75, which is in the range of 0≤V<80.

[0148] Step 2022: Calculate the target brightness value according to the target mapping relationship corresponding to the target brightness interval.

[0149] According to the target mapping relationship corresponding to 0≤V<80, V ’ =V*0.6=74.75*0.6=44.85. That is, the target brightness value is 44.85.

[0150] Step 203: Update the current brightness value of the target pixel according to the target brightness value.

[0151] Assuming that the target brightness value, for example 44.85, has been calculated in step 202, it is now necessary to update the current brightness value of the target pixel according to the target brightness value. The brightness value of the pixel with coordinates (100, 200) is updated from 74.75 to 44.85.

[0152] By using the brightness control method of the OLED display of this embodiment, the current brightness value of the target pixel in the display image of the OLED display is obtained, and the target brightness value is determined based on the current brightness value and the target mapping relationship to update the current brightness value of the target pixel. The gain effect of different current brightness values ​​can be achieved, so that the overall brightness balance of the picture is ensured while saving energy, and the visual quality of the image is ensured. In addition, the present disclosure does not require hardware changes, and is easier to implement and has a lower cost.

[0153] Example 3

[0154] Corresponding to the aforementioned data processing method embodiment for brightness control of an OLED display, the present disclosure further provides an embodiment of a data processing system for brightness control of an OLED display.

[0155] Fig.12 A schematic diagram of a module of a data processing system for brightness control of an OLED display provided by an exemplary embodiment of the present disclosure, the data processing system comprising:

[0156] A first acquisition module 31 is used to acquire a current brightness value of a target pixel in a display image of the OLED display;

[0157] A second acquisition module 32, used to acquire brightness statistical information according to the current brightness value;

[0158] The threshold setting module 33 is used to set a brightness threshold according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a number of brightness intervals;

[0159] A first determination module 34, used to determine a correction coefficient for each brightness interval;

[0160] The second determination module 35 is used to determine a target mapping relationship between the current brightness value and the target brightness value according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value in different brightness intervals and the target brightness value.

[0161] Optionally, the threshold setting module 33 is specifically configured to set a number of current brightness values ​​as brightness thresholds.

[0162] Optionally, the threshold setting module 33 is specifically configured to:

[0163] Arrange the current brightness values ​​in order of size, and calculate the brightness difference between each two adjacent current brightness values ​​in sequence;

[0164] In response to the brightness difference being less than or equal to the difference threshold, setting each current brightness value as the brightness threshold;

[0165] and / or,

[0166] In response to the brightness difference being greater than the difference threshold, two current brightness values ​​corresponding to the maximum value of the brightness difference are set as the brightness threshold.

[0167] Optionally, the first determining module 34 is specifically configured to:

[0168] Get several sampled brightness values ​​in each brightness range;

[0169] Determine a first correction coefficient corresponding to each sampled brightness value according to a first preset mapping relationship; the first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated;

[0170] A correction coefficient for each brightness interval is determined according to all the first correction coefficients.

[0171] Optionally, the first determining module 34 is specifically configured to:

[0172] Determine the average brightness or maximum brightness of the current brightness value;

[0173] According to the second preset mapping relationship, a correction coefficient of a brightness interval corresponding to the brightness average value or the brightness maximum value is determined as an upper limit correction coefficient;

[0174] The correction coefficient of each brightness interval is determined according to the upper limit correction coefficient; wherein all correction coefficients do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient.

[0175] Optionally, the first acquisition module 31 is specifically configured to:

[0176] Get the brightness histogram of the displayed image;

[0177] Extract the current brightness value based on the brightness histogram.

[0178] Through the data processing system for brightness control of the OLED display of this embodiment, the correction coefficient of each brightness interval divided by the brightness threshold can be determined, so as to determine the target mapping relationship between the current brightness value and the target brightness value according to the correction coefficient. The brightness can be dynamically adjusted according to different brightness requirements, thereby providing the best visual effect in different display scenes.

[0179] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0180] Example 4

[0181] Corresponding to the aforementioned embodiment of the brightness control method of the OLED display, the present disclosure also provides an embodiment of the brightness control system of the OLED display.

[0182] Fig.13 A module schematic diagram of a brightness control system of an OLED display provided by an exemplary embodiment of the present disclosure, the brightness control system comprising:

[0183] The brightness acquisition module 41 is used to acquire the current brightness value of the target pixel in the display image of the OLED display;

[0184] A brightness determination module 42, configured to determine a target brightness value according to the current brightness value and based on a target mapping relationship; the target mapping relationship is obtained according to any of the above data processing methods;

[0185] The brightness update module 43 is used to update the current brightness value of the target pixel according to the target brightness value.

[0186] Optionally, the brightness determination module 42 is specifically configured to:

[0187] Determine the target brightness range where the current brightness value lies;

[0188] The target brightness value is calculated according to the target mapping relationship corresponding to the target brightness interval.

[0189] Through the brightness control system of the OLED display of this embodiment, the current brightness value of the target pixel in the display image of the OLED display is obtained, and the target brightness value is determined based on the current brightness value and the target mapping relationship to update the current brightness value of the target pixel. The gain effect of different current brightness values ​​can be achieved, so that the overall brightness balance of the picture is ensured while saving energy, and the visual quality of the image is ensured. In addition, the present disclosure does not require hardware changes, and is easier to implement and has a lower cost.

[0190] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0191] Example 5

[0192] Fig.14 This is a structural schematic diagram of an electronic device shown in an example embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, when the processor executes the computer program, it implements any of the above-mentioned data processing methods for brightness control of an OLED display, or implements any of the above-mentioned brightness control methods for an OLED display. Fig.14 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0193] like Fig.14 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0194] The bus 93 includes a data bus, an address bus, and a control bus.

[0195] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0196] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0197] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the data processing method for brightness control of the OLED display described above, or implements the brightness control method for the OLED display described above.

[0198] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0199] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0200] Example 6

[0201] The embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements any of the above-mentioned data processing methods for brightness control of an OLED display, or implements any of the above-mentioned brightness control methods for an OLED display.

[0202] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0203] Example 7

[0204] The embodiments of the present disclosure also provide a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned data processing methods for controlling the brightness of an OLED display, or implements any of the above-mentioned methods for controlling the brightness of an OLED display.

[0205] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0206] Example 8

[0207] The embodiments of the present disclosure also provide a chip having a computer program stored thereon. When the computer program is executed by the chip, the data processing method for brightness control of an OLED display described above is implemented, or the brightness control method for an OLED display described above is implemented.

[0208] Example 9

[0209] The disclosed embodiment also provides a chip module, which is applied to electronic devices, including a transceiver component and a chip, wherein the chip is used to implement any of the above-mentioned data processing methods for brightness control of an OLED display, or to implement any of the above-mentioned brightness control methods for an OLED display.

[0210] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims

1. A data processing method for brightness control of an OLED display, characterized in that: The data processing method comprises: Acquire a current brightness value of a target pixel in a display image of the OLED display; Acquire brightness statistical information according to the current brightness value; A brightness threshold is set according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a plurality of brightness intervals; Determining a correction factor for each of the brightness intervals; A target mapping relationship between a current brightness value and a target brightness value is determined according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value and the target brightness value in different brightness intervals.

2. The data processing method of the OLED display according to claim 1, characterized in that: The setting of the brightness threshold according to the brightness statistical information includes: setting a number of the current brightness values ​​as the brightness threshold.

3. The data processing method of the OLED display according to claim 1, characterized in that: The setting of the brightness threshold according to the brightness statistical information includes: Arrange the current brightness values ​​in order of magnitude, and sequentially calculate the brightness difference between each two adjacent current brightness values; In response to the brightness difference being less than or equal to a difference threshold, setting each current brightness value as the brightness threshold; and / or, In response to the brightness difference being greater than a difference threshold, the two current brightness values ​​corresponding to the maximum value of the brightness difference are set as the brightness threshold.

4. The data processing method of the OLED display according to claim 1, characterized in that: The determining of the correction coefficient for each brightness interval includes: Obtaining a number of sampled brightness values ​​within each brightness interval; Determine a first correction coefficient corresponding to each of the sampled brightness values ​​according to a first preset mapping relationship; the first preset mapping relationship is a mapping relationship between the sampled brightness value and the first correction coefficient, and the sampled brightness value and the first correction coefficient are negatively correlated; The correction coefficient of each of the brightness intervals is determined according to all of the first correction coefficients.

5. The data processing method of the OLED display according to claim 1, characterized in that: The determining of the correction coefficient for each brightness interval includes: Determine the average brightness value or the maximum brightness value of the current brightness value; According to a second preset mapping relationship, determining a correction coefficient of the brightness interval corresponding to the brightness average value or the brightness maximum value as an upper limit correction coefficient; The correction coefficient of each brightness interval is determined according to the upper limit correction coefficient; wherein all the correction coefficients do not exceed the upper limit correction coefficient, and the brightness threshold corresponding to each brightness interval is negatively correlated with the correction coefficient.

6. The data processing method of the OLED display according to claim 1, characterized in that: The obtaining of the current brightness value of a target pixel in a display image of the OLED display comprises: Acquire a brightness histogram of the displayed image; The current brightness value is extracted according to the brightness histogram.

7. A brightness control method for an OLED display, characterized in that: The brightness control method comprises: Acquire a current brightness value of a target pixel in a display image of the OLED display; Determine the target brightness value according to the current brightness value and based on the target mapping relationship; the target mapping relationship is obtained according to the data processing method described in any one of claims 1 to 6; The current brightness value of the target pixel is updated according to the target brightness value.

8. The brightness control method of an OLED display according to claim 7, characterized in that: The determining the target brightness value according to the current brightness value and based on a target mapping relationship includes: Determine a target brightness interval within which the current brightness value lies; The target brightness value is calculated according to the target mapping relationship corresponding to the target brightness interval.

9. A data processing system for brightness control of an OLED display, characterized in that: The data processing system comprises: A first acquisition module, used to acquire a current brightness value of a target pixel in a display image of the OLED display; A second acquisition module, used to acquire brightness statistical information according to the current brightness value; A threshold setting module, used to set a brightness threshold according to the brightness statistical information; the brightness threshold is used to divide the current brightness value of the target pixel into a number of brightness intervals; A first determination module, used to determine a correction coefficient for each brightness interval; The second determination module is used to determine a target mapping relationship between a current brightness value and a target brightness value according to the correction coefficient; the target mapping relationship represents a mapping relationship between the current brightness value in different brightness intervals and the target brightness value.

10. A brightness control system for an OLED display, characterized in that: The brightness control system comprises: A brightness acquisition module, used to acquire the current brightness value of a target pixel in a display image of the OLED display; A brightness determination module, configured to determine the target brightness value according to the current brightness value and based on a target mapping relationship; the target mapping relationship is obtained according to the data processing method according to any one of claims 1 to 6; A brightness update module is used to update the current brightness value of the target pixel according to the target brightness value.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the processor implements the data processing method for brightness control of the OLED display according to any one of claims 1 to 6, or implements the brightness control method for the OLED display according to any one of claims 7 to 8.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method for brightness control of an OLED display according to any one of claims 1 to 6 is implemented, or the brightness control method for an OLED display according to any one of claims 7 to 8 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data processing method for brightness control of an OLED display according to any one of claims 1 to 6 is implemented, or the brightness control method for an OLED display according to any one of claims 7 to 8 is implemented.

14. A chip, characterized in that: A computer program is stored on the chip, and when the computer program is executed by the chip, the data processing method for brightness control of the OLED display according to any one of claims 1 to 6 is implemented, or the brightness control method for the OLED display according to any one of claims 7 to 8 is implemented.

15. A chip module, applied to electronic equipment, characterized in that: The invention comprises a transceiver component and a chip, wherein the chip is used to implement the data processing method for brightness control of an OLED display according to any one of claims 1 to 6, or to implement the brightness control method for an OLED display according to any one of claims 7 to 8.

Citation Information

Patent Citations

  • Backlight driving method and device for digital display system

    CN101630485A

  • Display apparatus and method for driving the same

    CN102915721A

  • Backlight brightness control method and device and liquid crystal display equipment

    CN106228936A

  • Backlight control method and device and storage medium

    CN115472135A

  • Tone mapping method and device and related equipment

    CN115761015A