Brightness adjustment method and device

By obtaining the brightness adjustment value and average image level to determine the target brightness adjustment coefficient, the problem of inflexible brightness adjustment is solved, more flexible brightness adjustment is achieved, and user experience is improved.

CN115035850BActive Publication Date: 2025-08-19VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210753878.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2025-08-19
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

In the prior art, the flexibility of brightness adjustment is poor, resulting in the inflexible picture brightness adjustment.

Method used

By obtaining the brightness adjustment value input by the user and the average image level of the target screen, the corresponding target brightness adjustment coefficient is determined, and the peak brightness of the target screen is adjusted based on the coefficient.

Benefits of technology

Improves the flexibility of brightness adjustment and meets user experience needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115035850B_ABST
    Figure CN115035850B_ABST
Patent Text Reader

Abstract

This application discloses a brightness adjustment method and apparatus thereof, belonging to the field of electronic technology. The brightness adjustment method comprises: obtaining a brightness adjustment value input by a user and an average image level of a target image; determining a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level; and adjusting the peak brightness of the target image based on the target brightness adjustment coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to a brightness adjustment method and device thereof. Background Art

[0002] In recent years, with the development of display technology, playing videos on organic light-emitting diode (OLED) terminals has gradually become mainstream. In order to meet users' demand for picture brightness, the industry has proposed a driving method for peak brightness control.

[0003] In the related art, when a user lowers the brightness bar value of a display device, the screen brightness is controlled to decrease proportionally to meet the user's demand for screen brightness.

[0004] However, in the above-mentioned related technologies, the brightness of the picture can only be reduced in proportion to the decrease in the value of the brightness bar, resulting in poor flexibility in brightness adjustment. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide a brightness adjustment method and device thereof, which can solve the problem of poor flexibility in brightness adjustment.

[0006] In a first aspect, an embodiment of the present application provides a brightness adjustment method, the method comprising:

[0007] Obtain the brightness adjustment value input by the user and the average image level of the target image;

[0008] determining a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level;

[0009] The peak brightness of the target picture is adjusted based on the target brightness adjustment coefficient.

[0010] In a second aspect, an embodiment of the present application provides a brightness adjustment device, comprising:

[0011] A first acquisition module is used to acquire a brightness adjustment value input by a user and an average image level of a target picture;

[0012] A first determining module, configured to determine a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level;

[0013] An adjustment module is configured to adjust the peak brightness of the target image based on the target brightness adjustment coefficient.

[0014] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0018] In an embodiment of the present application, the peak brightness of the target picture is adjusted based on the target brightness adjustment coefficient corresponding to the brightness adjustment value input by the user and the average image level of the target picture. That is, the present application sets a corresponding brightness adjustment coefficient for each group of brightness adjustment values and average image level, and adjusts the peak brightness of the picture based on the brightness adjustment coefficient, thereby improving the flexibility of brightness adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a flowchart of a brightness adjustment method according to an embodiment of the present application;

[0020] Figure 2 This is a second flow chart of the brightness adjustment method provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of a curve showing proportional changes in peak brightness provided in an embodiment of the present application;

[0022] Figure 4 A schematic diagram of a curve showing non-proportional changes in peak brightness provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of a portion of a display circuit of an electronic device provided in an embodiment of the present application;

[0024] Figure 6 This is a third flow chart of the brightness adjustment method provided in an embodiment of the present application;

[0025] Figure 7A schematic diagram comparing a first grayscale brightness curve and a second grayscale brightness curve provided in an embodiment of the present application;

[0026] Figure 8 A schematic diagram of a third grayscale brightness curve and a fourth grayscale brightness curve provided in an embodiment of the present application;

[0027] Figure 9 A schematic diagram of the grayscale brightness difference values corresponding to the third grayscale brightness curve and the fourth grayscale brightness curve provided in an embodiment of the present application;

[0028] Figure 10 A schematic diagram of normalized brightness differences of respective grayscales corresponding to the third grayscale brightness curve and the fourth grayscale brightness curve provided in an embodiment of the present application;

[0029] Figure 11 This is a fourth flow chart of the brightness adjustment method provided in an embodiment of the present application;

[0030] Figure 12 A schematic diagram of the structure of a brightness adjustment device provided in an embodiment of the present application;

[0031] Figure 13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0032] Figure 14 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0034] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0035] The brightness adjustment method, brightness adjustment device, and electronic device provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0036] The brightness adjustment method provided in the embodiments of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the brightness adjustment method. The electronic devices mentioned in the embodiments of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, wearable devices, etc. The brightness adjustment method provided in the embodiments of the present application is described below using an electronic device as an example of the execution entity.

[0037] Figure 1 One of the flow charts of the brightness adjustment method provided in the embodiment of the present application is applied to the scene where the electronic device plays high dynamic range imaging (HDR) video or standard dynamic range (SDR) video, such as Figure 1 As shown, the brightness adjustment method includes the following steps 101 to 103:

[0038] Step 101: Acquire a brightness adjustment value input by a user and an average image level of a target image.

[0039] The brightness adjustment value is a value corresponding to the user's input to the brightness adjustment control; the average picture level (APL) is the ratio of the number of lit pixels to the total number of pixels.

[0040] For example, when a user needs to adjust the brightness of an electronic device, he or she can operate the brightness adjustment control on the relevant interface, which can be a brightness bar. The user adjusts the display brightness of the electronic device screen based on the operation of the brightness bar; specifically, when the user operates the brightness bar, the electronic device receives the user's input to the brightness bar (brightness adjustment control), and determines the corresponding brightness bar value in response to the user's input to the brightness bar. The brightness bar value is the brightness adjustment value, thereby obtaining the brightness adjustment value input by the user; in addition, it is also necessary to obtain the lit pixels in the target picture, and determine the APL of the target picture based on the ratio of the lit pixels in the target picture to the total pixels of the target picture.

[0041] It should be noted that the brightness adjustment control can also be a control in other forms. For example, the brightness adjustment control is a brightness adjustment input box, and the user can directly enter the brightness adjustment value in the brightness adjustment input box. This application does not limit this.

[0042] Step 102: Determine a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level.

[0043] The value of the brightness adjustment coefficient can be [0, 1].

[0044] For example, when the brightness adjustment value and the APL of the target image are obtained, the target brightness adjustment coefficient corresponding to the user-entered brightness adjustment value and the APL of the target image can be searched in a preset list. The preset list stores the correspondence between the brightness adjustment value, the average picture level, and the brightness adjustment coefficient.

[0045] For example, the brightness adjustment value input by the user and the APL of the target picture can also be sent to the server, and the server searches for the target brightness adjustment coefficient corresponding to the brightness adjustment value input by the user and the APL of the target picture based on the stored preset list, and returns the target brightness adjustment coefficient to the electronic device, that is, the electronic device determines the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level.

[0046] Step 103: Adjust the peak brightness of the target image based on the target brightness adjustment coefficient.

[0047] For example, when determining the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level, the peak brightness corresponding to the average image level can be determined based on the correspondence between the average image level and the peak brightness when the target brightness adjustment value corresponds to the target brightness adjustment coefficient, and then the peak brightness of the target picture can be adjusted based on the peak brightness corresponding to the average image level when the target brightness adjustment value corresponds to.

[0048] The brightness adjustment method provided in the embodiment of the present application adjusts the peak brightness of the target picture based on the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level. That is, the present application sets a corresponding brightness adjustment coefficient for each group of brightness adjustment values and average image level, and adjusts the peak brightness of the picture based on the brightness adjustment coefficient, thereby improving the flexibility of brightness adjustment.

[0049] Optionally, the above step 102 may be implemented in the following manner:

[0050] Based on the correspondence between the brightness adjustment value, the average picture level and the second brightness adjustment coefficient, a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average picture level is determined.

[0051] For example, the following Table 1 stores the correspondence between a brightness adjustment value k, an average picture level APL, and a second brightness adjustment coefficient αi, where i can be an integer from 1 to 10. As shown in Table 1, the brightness adjustment value and the average picture level form a two-dimensional table, and each position in the two-dimensional table corresponds to a second brightness adjustment coefficient. When the brightness adjustment value input by the user and the average picture level of the target picture are obtained, the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average picture level can be found in Table 1. For example, if the user inputs a brightness adjustment value k=30 and APL=10%, Table 1 shows that the target brightness adjustment coefficient corresponding to k=30 and APL=10% is α28. Assuming α28=0.9, the determined target brightness adjustment coefficient is 0.9.

[0052] Table 1

[0053]

[0054]

[0055] It should be noted that in Table 1, the brightness adjustment coefficient corresponding to each vertical row decreases as the APL increases, and the brightness adjustment coefficient corresponding to each horizontal row decreases as the k value decreases.

[0056] It should be noted that the specific values of the brightness adjustment value can be 0, 10, 20, 30, 40, 50, 60, 70, 80, 90 and 100, or 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 and 1, etc., and can be set based on needs, and this application does not limit this.

[0057] The brightness adjustment method provided in the embodiment of the present application can determine the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level based on the correspondence between the brightness adjustment value, the average image level, and the second brightness adjustment coefficient, thereby facilitating the electronic device to quickly determine the target brightness adjustment coefficient.

[0058] Optionally, Figure 2 This is a second flow chart of the brightness adjustment method provided in the embodiment of the present application, as shown in FIG. Figure 2 As shown, the above step 103 can be specifically implemented by the following steps:

[0059] Step 1031: Determine a target brightness adjustment value corresponding to the target brightness adjustment coefficient based on a correspondence between the maximum average picture level, the brightness adjustment value, and the first brightness adjustment coefficient.

[0060] For example, the following Table 2 stores the correspondence between the maximum average picture level, the brightness adjustment value, and the first brightness adjustment coefficient. That is, when displaying a pure white screen with APL = 100%, the value of the brightness adjustment coefficient αi at each brightness adjustment value in Table 2 is set respectively, where the value of i can be an integer from 1 to 10; in Table 2, the brightness adjustment value k is positively correlated with the first brightness adjustment coefficient; that is, the larger the k value, the larger the corresponding first brightness adjustment coefficient, and the smaller the k value, the smaller the corresponding first brightness adjustment coefficient; when obtaining the target brightness adjustment coefficient, the target brightness adjustment value corresponding to the target brightness adjustment coefficient is searched in Table 2; for example, if the target brightness adjustment coefficient is 0.9, α2 = 0.9, then the target brightness adjustment value k = 90.

[0061] Table 2

[0062]

[0063]

[0064] It should be noted that the first brightness adjustment coefficients in Table 2 are the second brightness adjustment coefficients corresponding to the last row in Table 1, that is, the first brightness adjustment coefficient set in Table 2 is a subset of the second brightness coefficient set in Table 1.

[0065] It should be noted that, in order to save storage resources, in Tables 1 and 2, the node density of the brightness adjustment value k can be set to m1, and the node density of the average picture level APL can be set to n1, and both m1 and n1 are integers greater than 1. The values of the brightness adjustment coefficients between adjacent nodes can be obtained by the bilinear interpolation method, which will not be repeated in this application.

[0066] Step 1032: Based on the correspondence between the average picture level and the peak brightness, determine the peak brightness corresponding to the average picture level when the target brightness adjustment value is reached.

[0067] For example, Figure 3 A schematic diagram of a curve showing a proportional change in peak brightness provided in an embodiment of the present application is shown in FIG. Figure 3 As shown in the figure, under different brightness adjustment values k, the curves corresponding to the APL and peak brightness change proportionally. Assuming that the target brightness adjustment value k = 90, the peak brightness corresponding to the average picture level of the target picture is found on the curve corresponding to k = 90. If the average picture level APL of the target picture is 10%, the peak brightness corresponding to APL = 10% on the curve corresponding to k = 90 is the peak brightness corresponding to the determined average picture level of the target picture.

[0068] Step 1033: Adjust the peak brightness of the target image based on the peak brightness corresponding to the average image level.

[0069] For example, when determining the peak brightness corresponding to the average picture level of the target picture, the peak brightness of the target picture is adjusted based on the peak brightness corresponding to the average picture level of the target picture, thereby achieving adjustment of the peak brightness of the target picture. For example, the peak brightness corresponding to k=90 and APL=10% is determined to be the peak brightness corresponding to k=30 and APL=10%, thereby achieving adjustment of the peak brightness when k=30 and APL=10%.

[0070] Furthermore, assuming that α8 = 0.3 in Table 2 and the corresponding k = 30, then Figure 3 It can be concluded that the peak brightness corresponding to k = 30 and APL = 10% is smaller than the peak brightness corresponding to k = 90 and APL = 10%, thereby improving the peak brightness of the target image at k = 30 and APL = 10%, and achieving an increase in peak brightness at low APL and low brightness adjustment value k, which can meet the user experience of small picture window scenes such as the starry sky and bright moon.

[0071] Figure 4 This is a schematic diagram of a curve showing non-proportional changes in peak brightness provided in an embodiment of the present application, such as Figure 4 As shown, at k = 30, APL = 10% the peak brightness is greater than Figure 3 The peak brightness corresponding to k=30 and APL=10% is achieved. Figures 3 and 4 The change of the curve corresponding to the APL and peak brightness; the specific change trend of the curve corresponding to the APL and peak brightness is determined by the preset brightness adjustment coefficient. The closer the brightness adjustment coefficient is to 1, the closer the peak brightness is to Figure 3 The curves corresponding to APL and peak brightness at k=100 are shown.

[0072] It should be noted that in Figure 3 and Figure 4 In the example, the unit of peak brightness can be nit.

[0073] The brightness adjustment method provided in the embodiment of the present application can change the peak brightness corresponding to the brightness adjustment value input by the user based on the target brightness adjustment coefficient, thereby improving the flexibility of peak brightness adjustment.

[0074] Optionally, before executing step 1032, the brightness adjustment method further includes the following steps:

[0075] Determining a gamma voltage corresponding to a highest grayscale binding point at each of the first brightness adjustment coefficients based on the first brightness adjustment coefficient and a target adjustment voltage; the target adjustment voltage is an adjustment voltage corresponding to a high brightness mode;

[0076] determining a peak brightness corresponding to the highest grayscale binding point based on a gamma voltage corresponding to the highest grayscale binding point;

[0077] Based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point, a corresponding relationship among the peak brightness, the brightness adjustment value and the average picture level is established.

[0078] To meet users' demand for better visual effects, the panel size and resolution of OLED display devices are constantly increasing. However, for large-panel, high-resolution OLED display devices, when the same power supply voltage is used to power each pixel unit in the display area, the wires transmitting electrical signals to each pixel unit have different resistances. This can easily cause the same power supply voltage signal to experience different degrees of voltage drop (IR drop) after being transmitted through each wire. This results in different voltage signals actually received by each pixel unit. Therefore, voltage drop is a characteristic parameter of the display device.

[0079] For example, Figure 5 A schematic diagram of a portion of a display circuit of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, for each first brightness adjustment coefficient αi in Table 2, the Peak Brightness Management (PBM) module calculates αi*Vreg_HBM=Vreg to obtain the adjustment voltage Vreg, and then inputs the adjustment voltage Vreg into the gamma voltage circuit (including a string of resistors, and the adjustment voltage Vreg and the low-level ground voltage are applied to both ends of the string of resistors). The gamma voltage circuit obtains the gamma voltage corresponding to each grayscale binding point through internal resistor voltage division, including the gamma voltage corresponding to the highest grayscale binding point, but the gamma voltage corresponding to the highest grayscale binding point is the input adjustment voltage Vreg; wherein Vreg_HBM is the adjustment voltage corresponding to the high brightness mode, that is, the target adjustment voltage, and Vreg is the calculated adjustment voltage, which is also the gamma source voltage. After obtaining the gamma voltage corresponding to each grayscale binding point, the gamma (GMA) voltage corresponding to each grayscale binding point is input to the data driving circuit, and the data driving circuit drives the display panel to display, so that the peak brightness corresponding to the highest grayscale binding point can be measured based on the display result. Finally, based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point, the corresponding relationship between the peak brightness, the brightness adjustment value and the average image level is established. The specific corresponding relationship between the peak brightness, the brightness adjustment value and the average image level is as follows: Figure 3 shown.

[0080] The brightness adjustment method provided in the embodiment of the present application pre-establishes a correspondence between the peak brightness, the brightness adjustment value and the average image level. This facilitates determining the peak brightness corresponding to the average image level of the target picture based on the correspondence when the target brightness adjustment value is obtained, thereby achieving adjustment of the peak brightness of the target picture.

[0081] Optionally, Figure 6 The third flow chart of the brightness adjustment method provided in the embodiment of the present application is as follows: Figure 6 As shown, after executing step 103, the brightness adjustment method further includes the following steps:

[0082] Step 104: Determine a first grayscale brightness curve corresponding to the average image level.

[0083] Among them, the grayscale brightness curve is also the gamma curve.

[0084] In one embodiment, a maximum brightness corresponding to a white picture at the average picture level is obtained; and a first grayscale brightness curve corresponding to the average picture level is determined based on the maximum brightness, a brightness difference function, and a third grayscale brightness curve.

[0085] Among them, the third grayscale brightness curve is the grayscale brightness curve corresponding to the maximum average image level at the maximum brightness adjustment value, that is, the third grayscale brightness curve is the grayscale brightness curve corresponding to k=100 and APL=100%; the brightness difference function is used to indicate the brightness difference of each grayscale value in the grayscale brightness curve corresponding to different average image levels.

[0086] For example, gamma 2.2 correction is performed when APL = 100%. However, due to the voltage drop of the display device, the gamma at other APLs will deviate from gamma 2.2. Therefore, the gamma correction module performs gamma 2.2 correction on other APLs based on the gamma at APL = 100%. Before correction, the maximum brightness corresponding to the white screen (the screen corresponding to the highest grayscale value) at the average picture level needs to be measured. Then, the maximum brightness is multiplied by the brightness difference function to obtain the brightness value of each grayscale binding point corresponding to the average picture level, and the brightness difference between the brightness value of each grayscale binding point corresponding to the maximum average picture level. Then, based on the brightness difference value and the third grayscale brightness curve corresponding to the maximum average picture level at the maximum brightness adjustment value, the first grayscale brightness curve corresponding to the average picture level can be determined.

[0087] For example, the average picture level APL = 10%, and the maximum brightness of the white picture of the small window corresponding to APL = 10% is measured. Then, the maximum brightness of the white picture of the small window corresponding to APL = 10% is multiplied by the brightness difference function to obtain the brightness difference between the brightness value of each grayscale binding point corresponding to APL = 10% and the brightness value of each grayscale binding point corresponding to APL = 100%. Finally, based on the brightness difference and the third grayscale brightness curve corresponding to k = 100 and APL = 100%, the measured first grayscale brightness curve corresponding to APL = 10% is determined.

[0088] Step 105 : Correct the first grayscale brightness curve based on a second grayscale brightness curve; the second grayscale brightness curve is a target gamma value grayscale brightness curve corresponding to the average image level.

[0089] In one embodiment, for each grayscale value to be corrected, a first brightness value corresponding to the grayscale value to be corrected in the first grayscale brightness curve and a second brightness value corresponding to the grayscale value to be corrected in the second grayscale brightness curve are determined; a target grayscale value corresponding to the second brightness value in the first grayscale brightness curve is determined; and the grayscale value to be corrected is corrected based on the target grayscale value.

[0090] The target gamma value may be 2.2.

[0091] For example, when the maximum brightness corresponding to a white screen under an average image level is measured, the brightness corresponding to each grayscale value can be obtained based on the maximum brightness * (grayscale value / 256)^2.2. Based on the brightness corresponding to each grayscale value, a second grayscale brightness curve can be plotted. Then, the first grayscale brightness curve can be corrected based on the second grayscale brightness curve. The specific correction method is:

[0092] For each grayscale value to be corrected, a first brightness value corresponding to the grayscale value to be corrected on the first grayscale brightness curve is determined, and a second brightness value corresponding to the grayscale value to be corrected on the second grayscale brightness curve is determined. Then, a target grayscale value corresponding to the second brightness value is searched on the first grayscale brightness curve. The following Table 3 stores the correspondence between the brightness adjustment value, the average image level, and the grayscale mapping table. The grayscale mapping table is shown in Table 4. Table 4 stores the grayscale value corresponding to each color channel. Therefore, the grayscale mapping table corresponding to the brightness adjustment value input by the user and the average image level of the target picture can be searched in Table 3. If Table 4 is a grayscale mapping table corresponding to the brightness adjustment value and the average image level, then the target grayscale value corresponding to the second brightness value is searched in Table 4. The grayscale value of the red (R) channel, the grayscale value of the green (G) channel and the grayscale value of the blue (B) channel are obtained, and the grayscale value to be corrected includes the grayscale value to be corrected of the red (R) channel, the grayscale value to be corrected of the green (G) channel and the grayscale value to be corrected of the blue (B) channel. The grayscale value to be corrected of the red (R) channel is replaced by the grayscale value of the red (R) channel under the target grayscale value, the grayscale value to be corrected of the green (G) channel is replaced by the grayscale value of the green (G) channel under the target grayscale value, and the grayscale value to be corrected of the blue (B) channel is replaced by the grayscale value of the blue (B) channel under the target grayscale value, thereby achieving correction of the first grayscale brightness curve, that is, achieving correction of the gamma curve of the average image level of the target picture.

[0093] Figure 7 This is a schematic diagram comparing the first grayscale brightness curve and the second grayscale brightness curve provided in an embodiment of the present application. For example, the average picture level APL = 10%, then Figure 7 The solid line in the middle represents the first grayscale brightness curve corresponding to APL = 10%, and the dotted line represents the second grayscale brightness curve corresponding to gamma 2.2 corresponding to APL = 10%. Assuming that in the first grayscale brightness curve, the first brightness value corresponding to the grayscale value 180 is 200, and in the second grayscale brightness curve, the second brightness value corresponding to the grayscale value 180 is 220, then the grayscale value corresponding to the brightness value 220 is found in the first grayscale brightness curve. Assuming that the grayscale value corresponding to the brightness value 220 is 190, then the corresponding grayscale value in Table 4 is The grayscale value of the red (R) channel at the grayscale value of 190, the grayscale value of the green (G) channel at the grayscale value of 190, and the grayscale value of the blue (B) channel at the grayscale value of 190 are found, and the grayscale value of the red (R) channel, the grayscale value of the green (G) channel, and the grayscale value of the blue (B) channel corresponding to the grayscale value of 190 are used as the grayscale values of each color channel corresponding to the grayscale value of 180, thereby achieving correction of the first grayscale brightness curve, so that the corrected first grayscale brightness curve is close to the second grayscale brightness curve.

[0094] Table 3

[0095]

[0096] Table 4

[0097]

[0098] It should be noted that LUT represents a color lookup table. Each LUT in Table 3 corresponds to a Table 4. The value in Table 4 corresponding to each LUT can be pre-set based on actual needs. The grayscale value corresponding to each color channel in Table 4 is an initialized grayscale value and can be modified based on actual needs. This application does not limit this.

[0099] It should be noted that, in order to save storage resources, in Table 3, the node density of the brightness adjustment value k can be set to m2, and the node density of the average picture level APL can be set to n2, and both m2 and n2 are integers greater than 1. The grayscale values between adjacent nodes can be obtained by the bilinear interpolation method, which will not be repeated in this application.

[0100] It should be noted that after the corrected first grayscale brightness curve is close to the second grayscale brightness curve, that is, after the brightness value difference corresponding to each grayscale value is close to 0, the debugging personnel can also fine-tune each grayscale value based on the effect of the display picture to ensure the chromaticity information, thereby improving the user's viewing experience.

[0101] Step 106: Display the target image based on the corrected first grayscale brightness curve.

[0102] For example, after the first grayscale brightness curve is corrected, a target picture may be displayed based on the corrected first grayscale brightness curve, so that the target picture satisfies gamma 2.2 to ensure a good viewing experience for the user.

[0103] The brightness adjustment method provided in the embodiment of the present application corrects the measured first grayscale brightness curve based on the target gamma value grayscale brightness curve corresponding to the average image level and the grayscale mapping table, and finally displays the target picture based on the corrected first grayscale brightness curve, so that the corrected first grayscale brightness curve is close to the standard second grayscale brightness curve, avoiding the gamma curve deviation problem caused by the influence of voltage drop, and achieving the gamma curve satisfying gamma 2.2 under different APL pictures, thereby improving the user viewing experience.

[0104] Furthermore, before determining the first grayscale brightness curve corresponding to the average image level based on the maximum brightness, the brightness difference function, and the third grayscale brightness curve, the brightness adjustment method further needs to determine the brightness difference function. Specifically, the brightness difference function can be determined in the following manner:

[0105] Obtaining a fourth grayscale brightness curve corresponding to a target average image level under a maximum brightness adjustment value; the target average image level is an average image level excluding the maximum average image level;

[0106] Determining brightness differences corresponding to respective grayscale values based on the third grayscale brightness curve and the fourth grayscale brightness curve;

[0107] The brightness difference values corresponding to each grayscale value are normalized to obtain the brightness difference function.

[0108] For example, assuming that the fourth grayscale brightness curve is the grayscale brightness curve corresponding to APL=10%, Figure 8 A schematic diagram of the third grayscale brightness curve and the fourth grayscale brightness curve provided in the embodiment of the present application, Figure 8 In the figure, the dotted line represents the fourth grayscale brightness curve, and the solid line represents the third grayscale brightness curve; Figure 9 A schematic diagram of the grayscale brightness difference values corresponding to the third grayscale brightness curve and the fourth grayscale brightness curve provided in an embodiment of the present application; Figure 10 This is a schematic diagram of the normalized brightness difference of each grayscale corresponding to the third grayscale brightness curve and the fourth grayscale brightness curve provided in an embodiment of the present application. The third grayscale brightness curve corresponding to APL = 100% and the grayscale brightness curve corresponding to APL = 10% are measured, and the difference in brightness corresponding to the two grayscales is calculated. Then, the normalized brightness difference is obtained using the maximum normalization method, as shown in FIG. Figure 10 The curve shown is the brightness difference function.

[0109] It should be noted that the brightness difference function is the same at each APL.

[0110] The brightness adjustment method provided in the embodiment of the present application determines a brightness difference function based on the normalization of the grayscale brightness difference values in two grayscale brightness curves, so as to facilitate the subsequent determination of the corresponding grayscale brightness curve based on the brightness difference function.

[0111] Further, Figure 11 This is a fourth flow chart of the brightness adjustment method provided in the embodiment of the present application, as shown in FIG. Figure 11 As shown, after executing step 103, the brightness adjustment method further includes the following steps:

[0112] Step 107 : Determine a first adjustment voltage corresponding to the target image based on the target brightness adjustment coefficient and the adjustment voltage corresponding to the highlight mode.

[0113] For example, when the target brightness adjustment coefficient corresponding to the target picture is obtained, the first adjustment voltage corresponding to the target picture can be obtained based on the product of the target brightness adjustment coefficient and the adjustment voltage corresponding to the highlight mode, that is, the first adjustment voltage corresponding to the current frame, and the first adjustment voltage corresponding to the current frame can be saved in a preset cache.

[0114] Step 108 : Determine the gamma voltage corresponding to each grayscale binding point in the target picture based on the first adjustment voltage and the second adjustment voltage corresponding to the previous picture.

[0115] For example, when playing the previous picture, the second adjustment voltage corresponding to the previous picture, that is, the second adjustment voltage corresponding to the previous frame, is obtained based on the product of the brightness adjustment coefficient corresponding to the previous picture and the adjustment voltage corresponding to the highlight mode, and the second adjustment voltage corresponding to the previous frame is saved in a preset cache; when obtaining the first adjustment voltage corresponding to the target picture, the first adjustment voltage and the second adjustment voltage are averaged to obtain an average adjustment voltage, and the average adjustment voltage is input into the gamma voltage circuit, and the gamma voltage circuit divides the average adjustment voltage through a resistor to obtain the gamma voltage corresponding to each grayscale binding point.

[0116] It should be noted that, for any two adjacent frames, the above steps 107 and 108 are used to determine the gamma voltages corresponding to the grayscale binding points in the target frame, which will not be described in detail in this application.

[0117] The brightness adjustment method provided in the embodiment of the present application averages the second adjustment voltage corresponding to the previous picture and the first adjustment voltage corresponding to the target picture and inputs them into the gamma voltage circuit, so that the gamma voltage circuit divides the average adjustment voltage through resistors to obtain the gamma voltage corresponding to each grayscale binding point, so as to prevent screen flickering in the video caused by large differences in APL between adjacent frames.

[0118] The brightness adjustment method provided in the embodiment of the present application can be executed by a brightness adjustment device. In the embodiment of the present application, the brightness adjustment device provided in the embodiment of the present application is described by taking the brightness adjustment device executing the brightness adjustment method as an example.

[0119] Figure 12 This is a schematic diagram of the structure of the brightness adjustment device provided in the embodiment of the present application, as shown in FIG. Figure 12 As shown, the brightness adjustment device includes a first acquisition module 1201, a first determination module 1202 and an adjustment module 1203; wherein:

[0120] A first acquisition module 1201 is configured to acquire a brightness adjustment value input by a user and an average image level of a target image;

[0121] A first determining module 1202 is configured to determine a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level;

[0122] The adjustment module 1203 is configured to adjust the peak brightness of the target image based on the target brightness adjustment coefficient.

[0123] The brightness adjustment device provided in an embodiment of the present application adjusts the peak brightness of the target picture based on the brightness adjustment value input by the user and the target brightness adjustment coefficient corresponding to the average image level of the target picture. That is, the present application sets a corresponding brightness adjustment coefficient for each group of brightness adjustment values and average image level, and adjusts the peak brightness of the picture based on the brightness adjustment coefficient, thereby improving the flexibility of brightness adjustment.

[0124] Optionally, the first determining module 1202 is further configured to:

[0125] Based on the correspondence between the brightness adjustment value, the average picture level and the second brightness adjustment coefficient, a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average picture level is determined.

[0126] Optionally, the adjustment module 1203 is further configured to:

[0127] determining a target brightness adjustment value corresponding to the target brightness adjustment coefficient based on a correspondence between the maximum average image level, the brightness adjustment value, and the first brightness adjustment coefficient;

[0128] Determining, based on a correspondence between an average picture level and peak brightness, a peak brightness corresponding to the average picture level at the target brightness adjustment value;

[0129] The peak brightness of the target picture is adjusted based on the peak brightness corresponding to the average picture level.

[0130] Optionally, the device further comprises:

[0131] a second determining module, configured to determine a gamma voltage corresponding to a highest grayscale binding point at each of the first brightness adjustment coefficients based on the first brightness adjustment coefficient and a target adjustment voltage; the target adjustment voltage being an adjustment voltage corresponding to a high brightness mode;

[0132] a third determining module, configured to determine a peak brightness corresponding to a highest grayscale binding point based on a gamma voltage corresponding to the highest grayscale binding point;

[0133] An establishing module is used to establish a correspondence between the peak brightness, the brightness adjustment value and the average picture level based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point; the voltage drop is a characteristic parameter of the display device.

[0134] Optionally, the device further comprises:

[0135] a fourth determining module, configured to determine a first grayscale brightness curve corresponding to the average image level;

[0136] a correction module, configured to correct the first grayscale brightness curve based on a second grayscale brightness curve; the second grayscale brightness curve being a target gamma value grayscale brightness curve corresponding to the average image level;

[0137] The display module is configured to display the target image based on the corrected first grayscale brightness curve.

[0138] Optionally, the correction module is further configured to:

[0139] For each grayscale value to be corrected, determining a first brightness value corresponding to the grayscale value to be corrected in the first grayscale brightness curve and a second brightness value corresponding to the grayscale value to be corrected in the second grayscale brightness curve;

[0140] determining a target grayscale value corresponding to the second brightness value in the first grayscale brightness curve;

[0141] The grayscale value to be corrected is corrected based on the target grayscale value.

[0142] Optionally, the fourth determining module is further configured to:

[0143] Obtaining the maximum brightness corresponding to the white picture under the average image level;

[0144] A first grayscale brightness curve corresponding to the average image level is determined based on the maximum brightness, the brightness difference function, and the third grayscale brightness curve; the third grayscale brightness curve is the grayscale brightness curve corresponding to the maximum average image level at the maximum brightness adjustment value; the brightness difference function is used to indicate the brightness difference of each grayscale value in the grayscale brightness curve corresponding to different average image levels.

[0145] Optionally, the device further comprises:

[0146] a second acquisition module, configured to acquire a fourth grayscale brightness curve corresponding to a target average image level at a maximum brightness adjustment value; the target average image level being an average image level excluding the maximum average image level;

[0147] a fifth determining module, configured to determine a brightness difference corresponding to each grayscale value based on the third grayscale brightness curve and the fourth grayscale brightness curve;

[0148] The processing module is used to normalize the brightness difference values corresponding to each grayscale value to obtain the brightness difference function.

[0149] Optionally, the device further comprises:

[0150] a sixth determining module, configured to determine a first adjustment voltage corresponding to the target image based on the target brightness adjustment coefficient and the adjustment voltage corresponding to the highlight mode;

[0151] The seventh determining module is configured to determine a gamma voltage corresponding to each grayscale binding point in the target picture based on the first adjusting voltage and a second adjusting voltage corresponding to a previous picture.

[0152] The brightness adjustment device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0153] The brightness adjustment device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0154] The brightness adjustment device provided in the embodiment of the present application can achieve Figures 1 to 11 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0155] Alternatively, as Figure 13 As shown, an embodiment of the present application further provides an electronic device 1300, including a processor 1301 and a memory 1302, wherein the memory 1302 stores a program or instruction that can be run on the processor 1301, and when the program or instruction is executed by the processor 1301, the various steps of the above-mentioned brightness adjustment method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0156] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0157] Figure 14 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0158] The electronic device 1400 includes but is not limited to components such as a radio frequency unit 1401 , a network module 1402 , an audio output unit 1403 , an input unit 1404 , a sensor 1405 , a display unit 1406 , a user input unit 1407 , an interface unit 1408 , a memory 1409 , and a processor 1410 .

[0159] Those skilled in the art will understand that the electronic device 1400 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0160] The processor 1410 is configured to obtain a brightness adjustment value input by a user and an average image level of a target image;

[0161] The processor 1410 is further configured to determine a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level;

[0162] The processor 1410 is further configured to adjust the peak brightness of the target image based on the target brightness adjustment coefficient.

[0163] In the above embodiment, the peak brightness of the target picture is adjusted based on the target brightness adjustment coefficient corresponding to the brightness adjustment value input by the user and the average image level of the target picture. That is, the present application sets a corresponding brightness adjustment coefficient for each group of brightness adjustment values and average image level, and adjusts the peak brightness of the picture based on the brightness adjustment coefficient, thereby improving the flexibility of brightness adjustment.

[0164] Optionally, the processor 1410 is further configured to:

[0165] Based on the correspondence between the brightness adjustment value, the average picture level and the second brightness adjustment coefficient, a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average picture level is determined.

[0166] In the above embodiment, based on the correspondence between the preset brightness adjustment value, the average image level and the second brightness adjustment coefficient, the target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level can be determined, which facilitates the electronic device to quickly determine the target brightness adjustment coefficient.

[0167] Optionally, the processor 1410 is further configured to:

[0168] determining a target brightness adjustment value corresponding to the target brightness adjustment coefficient based on a correspondence between the maximum average image level, the brightness adjustment value, and the first brightness adjustment coefficient;

[0169] Determining, based on a correspondence between an average picture level and peak brightness, a peak brightness corresponding to the average picture level at the target brightness adjustment value;

[0170] The peak brightness of the target picture is adjusted based on the peak brightness corresponding to the average picture level.

[0171] In the above embodiment, the peak brightness corresponding to the brightness adjustment value can be changed based on the target brightness adjustment coefficient, thereby improving the flexibility of peak brightness adjustment.

[0172] Optionally, the processor 1410 is further configured to:

[0173] Determining a gamma voltage corresponding to a highest grayscale binding point at each of the first brightness adjustment coefficients based on the first brightness adjustment coefficient and a target adjustment voltage; the target adjustment voltage is an adjustment voltage corresponding to a high brightness mode;

[0174] determining a peak brightness corresponding to the highest grayscale binding point based on a gamma voltage corresponding to the highest grayscale binding point;

[0175] Based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point, a correspondence between the peak brightness, the brightness adjustment value and the average picture level is established; the voltage drop is a characteristic parameter of the display device.

[0176] In the above embodiment, a correspondence between peak brightness, brightness adjustment value and average picture level is pre-established, so that when the target brightness adjustment value is obtained, the peak brightness corresponding to the average picture level is determined based on the correspondence, thereby achieving adjustment of the peak brightness of the target picture.

[0177] Optionally, the processor 1410 is further configured to:

[0178] determining a first grayscale brightness curve corresponding to the average image level;

[0179] Correcting the first grayscale brightness curve based on a second grayscale brightness curve; wherein the second grayscale brightness curve is a target gamma value grayscale brightness curve corresponding to the average image level;

[0180] The display unit 1406 is configured to display the target image based on the corrected first grayscale brightness curve.

[0181] In the above embodiment, the measured first grayscale brightness curve is corrected based on the target gamma value grayscale brightness curve corresponding to the average image level and the grayscale mapping table, and finally the target picture is displayed based on the corrected first grayscale brightness curve, so that the corrected first grayscale brightness curve is close to the standard second grayscale brightness curve, avoiding the gamma curve deviation problem caused by the influence of voltage drop, and achieving the gamma curve satisfying gamma 2.2 under different APL pictures, thereby improving the user viewing experience.

[0182] Optionally, the processor 1410 is further configured to:

[0183] For each grayscale value to be corrected, determining a first brightness value corresponding to the grayscale value to be corrected in the first grayscale brightness curve and a second brightness value corresponding to the grayscale value to be corrected in the second grayscale brightness curve;

[0184] determining a target grayscale value corresponding to the second brightness value in the first grayscale brightness curve;

[0185] The grayscale value to be corrected is corrected based on the target grayscale value.

[0186] Optionally, the processor 1410 is further configured to:

[0187] Obtaining the maximum brightness corresponding to the white picture under the average image level;

[0188] A first grayscale brightness curve corresponding to the average image level is determined based on the maximum brightness, the brightness difference function, and the third grayscale brightness curve; the third grayscale brightness curve is the grayscale brightness curve corresponding to the maximum average image level at the maximum brightness adjustment value; the brightness difference function is used to indicate the brightness difference of each grayscale value in the grayscale brightness curve corresponding to different average image levels.

[0189] Optionally, the processor 1410 is further configured to:

[0190] Obtaining a fourth grayscale brightness curve corresponding to a target average image level under a maximum brightness adjustment value; the target average image level is an average image level excluding the maximum average image level;

[0191] Determining brightness differences corresponding to respective grayscale values based on the third grayscale brightness curve and the fourth grayscale brightness curve;

[0192] The brightness difference values corresponding to each grayscale value are normalized to obtain the brightness difference function.

[0193] In the above embodiment, the brightness difference function is determined based on the normalization of the grayscale brightness difference values in the two grayscale brightness curves, so that the corresponding grayscale brightness curve can be determined based on the brightness difference function later.

[0194] Optionally, the processor 1410 is further configured to:

[0195] Determining a first adjustment voltage corresponding to the target image based on the target brightness adjustment coefficient and the adjustment voltage corresponding to the highlight mode;

[0196] The gamma voltage corresponding to each grayscale binding point in the target picture is determined based on the first adjustment voltage and the second adjustment voltage corresponding to the previous picture.

[0197] In the above embodiment, the second adjustment voltage corresponding to the previous picture and the first adjustment voltage corresponding to the target picture are averaged and input into the gamma voltage circuit, so that the gamma voltage circuit divides the average adjustment voltage by resistors to obtain the gamma voltage corresponding to each grayscale binding point, so as to prevent the screen flickering caused by the large difference in APL between adjacent frames in the video.

[0198] It should be understood that in an embodiment of the present application, the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and at least one of other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.

[0199] The memory 1409 can be used to store software programs and various data. The memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1409 may include a volatile memory or a non-volatile memory, or the memory 1409 may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1409 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0200] Processor 1410 may include one or more processing units. Optionally, processor 1410 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1410.

[0201] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned brightness adjustment method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0202] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0203] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned brightness adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0204] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0205] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned brightness adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0206] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0207] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0208] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A brightness adjustment method, characterized in that: include: Obtain the brightness adjustment value input by the user and the average image level of the target image; Determining a target brightness adjustment coefficient corresponding to the brightness adjustment value and an average image level of the target picture; Adjusting the peak brightness of the target image based on the target brightness adjustment coefficient; The adjusting the peak brightness of the target picture based on the target brightness adjustment coefficient includes: determining a target brightness adjustment value corresponding to the target brightness adjustment coefficient based on a correspondence between the maximum average image level, the brightness adjustment value, and the first brightness adjustment coefficient; Determining, based on a correspondence between average picture level and peak brightness, a peak brightness corresponding to the average picture level of the target picture at the target brightness adjustment value; The peak brightness of the target picture is adjusted based on the peak brightness corresponding to the average picture level of the target picture.

2. The brightness adjustment method according to claim 1, wherein: Before determining the peak brightness corresponding to the average picture level of the target picture at the target brightness adjustment value based on the correspondence between the average picture level and the peak brightness, the method further includes: Determining a gamma voltage corresponding to a highest grayscale binding point at each of the first brightness adjustment coefficients based on the first brightness adjustment coefficient and a target adjustment voltage; the target adjustment voltage is an adjustment voltage corresponding to a high brightness mode; determining a peak brightness corresponding to the highest grayscale binding point based on a gamma voltage corresponding to the highest grayscale binding point; Based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point, a correspondence between the peak brightness, the brightness adjustment value and the average picture level is established; the voltage drop is a characteristic parameter of the display device.

3. The brightness adjustment method according to claim 1, wherein: After adjusting the peak brightness of the target picture based on the target brightness adjustment coefficient, the method further includes: Determining a first grayscale brightness curve corresponding to an average image level of the target picture; Correcting the first grayscale brightness curve based on a second grayscale brightness curve; wherein the second grayscale brightness curve is a target gamma value grayscale brightness curve corresponding to the average image level of the target picture; The target image is displayed based on the corrected first grayscale brightness curve.

4. The brightness adjustment method according to claim 3, characterized in that: The correcting the first grayscale brightness curve based on the second grayscale brightness curve includes: For each grayscale value to be corrected, determining a first brightness value corresponding to the grayscale value to be corrected in the first grayscale brightness curve and a second brightness value corresponding to the grayscale value to be corrected in the second grayscale brightness curve; determining a target grayscale value corresponding to the second brightness value in the first grayscale brightness curve; The grayscale value to be corrected is corrected based on the target grayscale value.

5. A brightness adjustment device, characterized in that: include: A first acquisition module is used to acquire a brightness adjustment value input by a user and an average image level of a target picture; A first determining module is used to determine a target brightness adjustment coefficient corresponding to the brightness adjustment value and the average image level of the target picture; an adjustment module, configured to determine a target brightness adjustment value corresponding to the target brightness adjustment coefficient based on a correspondence between the maximum average image level, the brightness adjustment value, and the first brightness adjustment coefficient; Determining, based on a correspondence between average picture level and peak brightness, a peak brightness corresponding to the average picture level of the target picture at the target brightness adjustment value; The peak brightness of the target picture is adjusted based on the peak brightness corresponding to the average picture level of the target picture.

6. The brightness adjustment device according to claim 5, characterized in that: The device further comprises: a second determining module, configured to determine a gamma voltage corresponding to a highest grayscale binding point at each of the first brightness adjustment coefficients based on the first brightness adjustment coefficient and a target adjustment voltage; the target adjustment voltage being an adjustment voltage corresponding to a high brightness mode; a third determining module, configured to determine a peak brightness corresponding to a highest grayscale binding point based on a gamma voltage corresponding to the highest grayscale binding point; An establishing module is used to establish a correspondence between the peak brightness, the brightness adjustment value and the average picture level based on the peak brightness corresponding to the highest grayscale binding point and the voltage drop corresponding to the highest grayscale binding point; the voltage drop is a characteristic parameter of the display device.

7. The brightness adjustment device according to claim 5, characterized in that: The device further comprises: A fourth determining module, configured to determine a first grayscale brightness curve corresponding to an average image level of the target picture; a correction module, configured to correct the first grayscale brightness curve based on a second grayscale brightness curve; the second grayscale brightness curve being a target gamma value grayscale brightness curve corresponding to an average image level of the target picture; The display module is configured to display the target image based on the corrected first grayscale brightness curve.

8. The brightness adjustment device according to claim 7, characterized in that: The correction module is also used for: For each grayscale value to be corrected, determining a first brightness value corresponding to the grayscale value to be corrected in the first grayscale brightness curve and a second brightness value corresponding to the grayscale value to be corrected in the second grayscale brightness curve; determining a target grayscale value corresponding to the second brightness value in the first grayscale brightness curve; The grayscale value to be corrected is corrected based on the target grayscale value.

Citation Information

Patent Citations

  • Display brightness adjusting method and related device

    CN113554973A