Gamma curve selection method and device, chip, electronic device and storage medium
By adjusting the brightness value to determine the target gamma curve, the inaccurate voltage value caused by limited chip resources in the prior art is solved, and the display effect is improved.
Patent Information
- Application Number
- CN202211611068.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-12-14
AI Technical Summary
Due to the limited chip resources of the existing display system, it is impossible to directly perform power-power calculations, resulting in inaccurate determination of the voltage value of the gamma curve, affecting the display effect.
By obtaining the brightness value of the image to be displayed and the display brightness value of the display panel, adjusting the brightness value to determine the target gamma curve, and determining the voltage value based on the target gamma curve to improve the accuracy of the voltage value.
Without increasing chip resource consumption, the accuracy of voltage values is improved and the display effect of the display panel is improved.
Smart Images

Figure CN115862566B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the display field, and in particular to a gamma curve selection method and device, a chip, an electronic device and a storage medium. Background Art
[0002] In existing display systems, the mapping relationship between brightness value and voltage value, i.e., gamma curve, is used as a bridge between digital display and the world of naked eyes. Usually, the gamma curve is a power function. Due to the limitation of chip area and design, it is impossible to directly perform power calculation. Therefore, the mapping relationship can only be determined by linear fitting.
[0003] Generally, the number of fitting points can be increased to improve the accuracy of the determined voltage value. However, the chip resources consumed in the process of determining the voltage value will also increase with the increase in the number of fitting points. Therefore, for products with limited chip resources, it is difficult to obtain accurate display panel display brightness, and the display panel display effect is poor. Summary of the invention
[0004] In view of this, the present disclosure proposes a gamma curve selection scheme. Through the present disclosure, the accuracy of determining the voltage value can be improved without increasing chip resource consumption.
[0005] According to one aspect of the present disclosure, a gamma curve selection method is provided, comprising:
[0006] Obtaining the brightness value of the image to be displayed and the display brightness value of the display panel;
[0007] Based on the ratio of the display brightness value to the maximum display brightness value, the brightness value is adjusted to obtain an adjusted brightness value;
[0008] determining a target gamma curve among at least two gamma curves based on the ratio or the adjusted brightness value;
[0009] According to the target gamma curve, a voltage value corresponding to the brightness value is determined.
[0010] In a possible implementation, among the at least two gamma curves, the gamma curve with the largest maximum voltage value is used as the first gamma curve, and the brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve is used as the brightness threshold corresponding to the gamma curve;
[0011] Determining a target gamma curve from among at least two gamma curves based on the ratio or the adjusted brightness value, comprising:
[0012] A target gamma curve is determined from among at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value.
[0013] In a possible implementation manner, determining a target gamma curve from at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value includes:
[0014] In the case that there is a first brightness threshold value greater than the ratio or greater than the maximum value among the adjusted brightness values, a second gamma curve corresponding to the minimum value among the first brightness threshold values is determined as the target gamma curve.
[0015] In a possible implementation manner, determining the voltage value corresponding to the brightness value according to the target gamma curve includes:
[0016] Mapping the adjusted brightness value range to the brightness value range corresponding to the target gamma curve to obtain a mapped brightness value;
[0017] A voltage value corresponding to the brightness value is determined according to the target gamma curve and the mapped brightness value.
[0018] In a possible implementation manner, determining a target gamma curve from at least two gamma curves based on the ratio, based on the brightness threshold, and the ratio or the adjusted brightness value includes:
[0019] In the absence of a first brightness threshold greater than the ratio or greater than a maximum value among the adjusted brightness values, the first gamma curve is determined as a target gamma curve.
[0020] According to another aspect of the present disclosure, a gamma curve selection device is provided, comprising:
[0021] A brightness control module, used to obtain a brightness value of an image to be displayed and a display brightness value of a display panel, and adjust the brightness value based on a ratio of the display brightness value to a maximum display brightness value to obtain an adjusted brightness value;
[0022] a gamma curve determination module, configured to determine a target gamma curve from among at least two gamma curves based on the ratio or the adjusted brightness value;
[0023] A mapping module is used to determine a voltage value corresponding to the brightness value according to the target gamma curve.
[0024] In a possible implementation, among the at least two gamma curves, the gamma curve with the largest maximum voltage value is used as the first gamma curve, and the brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve is used as the brightness threshold corresponding to the gamma curve;
[0025] The gamma curve determination module is further used for:
[0026] A target gamma curve is determined from among at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value.
[0027] In a possible implementation, the gamma curve determination module includes:
[0028] The first gamma curve determining module is used to determine the second gamma curve corresponding to the minimum value in the first brightness threshold as the target gamma curve when there is a first brightness threshold greater than the ratio or greater than the maximum value in the adjusted brightness values.
[0029] In a possible implementation, the mapping module includes:
[0030] A mapped brightness value determination module, used for mapping the range of the adjusted brightness value to the brightness value range corresponding to the target gamma curve to obtain a mapped brightness value;
[0031] The voltage value determination module is used to determine a voltage value corresponding to the brightness value according to the target gamma curve and the mapped brightness value.
[0032] In a possible implementation, the gamma curve determination module includes:
[0033] The second gamma curve determining module is configured to determine the first gamma curve as a target gamma curve when there is no first brightness threshold greater than the ratio or greater than a maximum value among the adjusted brightness values.
[0034] According to another aspect of the present disclosure, a chip is provided, comprising the above-mentioned gamma curve selection device.
[0035] According to another aspect of the present disclosure, a display device is provided, comprising a plurality of display units and at least one of the above-mentioned gamma curve selection devices.
[0036] In one possible implementation, the display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel and a small pitch display panel.
[0037] According to another aspect of the present disclosure, an electronic device is provided, including: the above display device.
[0038] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0039] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.
[0040] According to another aspect of the present disclosure, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0041] In an embodiment of the present disclosure, a brightness value of an image to be displayed and a display brightness value of a display panel are obtained; based on a ratio of the display brightness value to a maximum display brightness value, the brightness value is adjusted to obtain an adjusted brightness value. Based on the ratio or the adjusted brightness value, a target gamma curve is determined in at least two gamma curves with different brightness value ranges. Since at least one of the at least two gamma curves can include more fitting points for a certain brightness value range, or the at least two gamma curves are respectively for different application scenarios, the use of the target gamma curve can improve the accuracy of the determined voltage value without increasing chip resource consumption. In an embodiment of the present disclosure, since the adjusted brightness value is obtained based on the display brightness value adjustment, the adjusted brightness value is the brightness value that each pixel of the display panel is expected to present. Therefore, using the adjusted brightness value to determine the target gamma curve is more targeted and more accurate. Since the use of the ratio can clarify the degree to which the brightness value is adjusted, the efficiency of selecting the gamma curve can be improved while meeting the requirement of accurately selecting the gamma curve.
[0042] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0044] Figure 1 FIG. 4 is a schematic diagram showing a gamma curve A generated using a fitting method.
[0045] Figure 2 A flow chart of a gamma curve selection method according to an embodiment of the present disclosure is shown.
[0046] Figure 3 A schematic diagram showing a gamma curve B and a gamma curve C according to an embodiment of the present disclosure is shown.
[0047] Figure 4 A schematic diagram showing a brightness threshold according to an embodiment of the present disclosure.
[0048] Figure 5A A schematic diagram showing a target gamma curve determined according to an embodiment of the present disclosure.
[0049] Figure 5B Another schematic diagram of determining a target gamma curve according to an embodiment of the present disclosure is shown.
[0050] Figure 5C Another schematic diagram of determining a target gamma curve according to an embodiment of the present disclosure is shown.
[0051] Figure 6 A flow chart of a method for adjusting display brightness according to an embodiment of the present disclosure is shown.
[0052] Figure 7 A schematic diagram of a chip according to an embodiment of the present disclosure is shown.
[0053] Figure 8 A block diagram of a gamma curve selection device according to an embodiment of the present disclosure is shown.
[0054] Fig. 9 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0055] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0056] In the description of the present disclosure, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.
[0057] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0058] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0059] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0060] In existing display systems, the mapping relationship between brightness value and voltage value, i.e., gamma curve, is used as a bridge between digital display and the world of naked eyes. The gamma curve can be a power function. Usually, the power of the gamma curve is 2.2, which can well convert the grayscale perceived by the human eye into the real grayscale in nature.
[0061] In practical applications, some products have restrictions on chip design and / or area, resulting in limited chip resources that can be allocated to mapping voltage values using the gamma curve, making it difficult to implement power calculations. Therefore, the gamma curve can only be approximately fitted using a linear fitting method to determine the mapping relationship.
[0062] Figure 1 FIG. 4 is a schematic diagram showing a gamma curve A generated using a fitting method. Figure 1As shown, the horizontal axis is the brightness value, and the vertical axis is the voltage value. The voltage value corresponding to a certain value on the horizontal axis can be determined using the gamma curve A. A total of 5 fitting points are used to fit the gamma curve A. There are straight line segments between the fitting points, rather than curves with a power of 2.2. Therefore, it can be seen that the fitting method is to approximate the gamma curve with multiple straight lines. In theory, the more fitting points there are, the closer the simulated gamma curve is to the real gamma curve. At the same time, when determining the voltage value, the more fitting points there are, the higher the accuracy of the determined voltage value, and the more chip resources are occupied. Therefore, in order to reduce the consumption of chip resources, an upper limit is usually set on the number of fitting points.
[0063] Therefore, when there is an upper limit on the number of fitting points, the accuracy of the voltage value determined using the gamma curve A will decrease.
[0064] Therefore, it is necessary to find a method to improve the accuracy of the voltage value determined by using the gamma curve without increasing chip resource consumption.
[0065] Figure 2 FIG. 5 is a flowchart showing a gamma curve selection method according to an embodiment of the present disclosure. Figure 2 As shown, the method includes:
[0066] S11, obtaining a brightness value of an image to be displayed and a display brightness value of a display panel.
[0067] The brightness value of the image to be displayed may be the brightness value of each pixel in the image to be displayed by the current display panel. The brightness value of the image to be displayed is referred to as brightness value in the following text.
[0068] The display brightness value of the display panel may be a value that characterizes the brightness effect that is expected to be displayed by the display panel when displaying an image, hereinafter referred to as the display brightness value (DBV). The display brightness is set to inform the electronic device of the brightness state reached after the display panel is adjusted. In the embodiment of the present disclosure, the display brightness value may be specified by a button or brightness bar of the electronic product; or the electronic product may automatically specify the display brightness according to the ambient light conditions. The embodiment of the present disclosure is not limited to this. In the embodiment of the present disclosure, the brightness value may be adjusted based on the display brightness value.
[0069] S12, adjusting the brightness value based on the ratio of the display brightness value to the maximum display brightness value to obtain an adjusted brightness value.
[0070] In an embodiment of the present disclosure, an upper limit may be set for the display brightness value; the upper limit is named as the maximum display brightness value. The maximum display brightness value may be a value that characterizes the maximum brightness effect of the display panel showing the image to be displayed. The ratio of the display brightness value to the maximum display brightness value may characterize the proportion of the brightness value adjustment; the brightness value may be adjusted using the ratio, for example, the ratio is multiplied by the brightness value to obtain an adjusted brightness value. After obtaining the adjusted brightness value, the voltage value corresponding to the adjusted brightness value may be determined according to the gamma curve so that the display panel presents the desired brightness.
[0071] S13: Determine a target gamma curve from at least two gamma curves based on the ratio or the adjusted brightness value.
[0072] The gamma curve may be a mapping relationship between brightness values and voltage values.
[0073] In the embodiment of the present disclosure, at least two gamma curves may be pre-stored in the chip. The powers of the pre-stored gamma curves may be the same, for example, the power is 2.2. The brightness value range of the gamma curve may be 0 to 255 or a part of 0 to 255, and the brightness value range may also be a normalized form of 0 to 1 or a part of 0 to 1.
[0074] Exemplarily, a gamma curve with a certain number of fitting points can be divided into at least two new gamma curves according to the horizontal axis or the vertical axis, and the number of fitting points of each new gamma curve is the same as that of the original gamma curve. The sum of the brightness value ranges of the at least two new gamma curves is the same as the brightness value range of the original gamma curve. Based on the ratio or the adjusted brightness value, a new gamma curve is selected as the target gamma curve.
[0075] by Figure 1 Take the gamma curve A in as an example, the brightness value range of gamma curve A is 0 to 1. The number of fitting points is 5.
[0076] Figure 3 FIG. 2 is a schematic diagram showing a gamma curve B and a gamma curve C according to an embodiment of the present disclosure. Figure 3 As shown, the brightness value range of gamma curve B is 0-0.5, and the number of fitting points is 5; the brightness value range of gamma curve D is 0.5-1, and the number of fitting points is 5. The sum of the brightness value range of gamma curve B and the brightness value range of gamma curve C is the same as the brightness value range of gamma curve A.
[0077] Whether gamma curve B or gamma curve C is used to determine the voltage value, only one gamma curve is used, and the number of fitting points of a single gamma curve is fixed, so no excessive chip resources are consumed. However, since the number of fitting points of the brightness value range of gamma curve B or gamma curve C is twice the number of fitting points of the corresponding brightness value range in gamma curve A. Therefore, for the same brightness value range, the voltage value determined by using gamma curve B or gamma curve C has higher accuracy than the voltage value determined by using gamma curve A. Therefore, the accuracy of the determined voltage value can be improved without consuming more chip resources.
[0078] Exemplarily, a gamma curve can be set as the main gamma curve, for example: gamma curve A. According to the needs of the scene, a sub-brightness value range (for example: 0-0.5) of the gamma curve A is refitted to obtain a new gamma curve, for example: gamma curve B. When the ratio or the adjusted brightness value falls into the sub-brightness value range, the new gamma curve is determined as the target gamma curve for determining the voltage value. Since the brightness value range of the newly determined gamma curve is smaller than the brightness value range of the original gamma curve, and the number of fitting points of a single gamma curve is the same. Therefore, for the sub-brightness value range, the number of fitting points contained in the new gamma curve is greater than the number of fitting points of the original gamma curve within the brightness value range. Therefore, the voltage value determined in the low grayscale area where the human eye is more sensitive is more accurate, which can improve the user experience without consuming more chip resources.
[0079] Exemplarily, the application scenarios can be subdivided, and a mapping relationship between brightness value and voltage value can be set for different scenarios, that is, at least two gamma curves can be set for different scenarios. According to different scenarios, a target gamma curve is selected based on a ratio or an adjusted brightness value. Since different gamma curves are set for the scenarios, the accuracy of the determined voltage value is improved compared to the case where one gamma curve is applied to each scenario. Moreover, when determining the voltage value, only one gamma curve is still used, so no more chip resources are consumed.
[0080] Since the adjusted brightness value is obtained based on the display brightness value adjustment, the adjusted brightness value is the brightness value that each pixel of the display panel is expected to present. Therefore, it is more targeted and accurate to use the adjusted brightness value to determine the target gamma curve. This improves the accuracy of the voltage value determined using the target gamma curve, so that the display panel obtains a better display effect. In addition, from the perspective of time spent, it takes less time to determine the ratio than to determine the adjusted brightness value of each pixel of the display panel. Moreover, the ratio can characterize the degree to which the brightness value is adjusted, which can meet the requirements for accurately selecting the gamma curve. Therefore, it is more efficient to use the ratio to determine the target gamma curve.
[0081] S14, determining a voltage value corresponding to the brightness value according to the target gamma curve.
[0082] After the target gamma curve is determined, the voltage value corresponding to the adjusted brightness value can be determined according to the target gamma curve. Since the adjusted voltage value is obtained based on the ratio and the brightness value adjustment, the voltage value is also a voltage value corresponding to the brightness value.
[0083] In an embodiment of the present disclosure, a brightness value of an image to be displayed and a display brightness value of a display panel are obtained; based on a ratio of the display brightness value to a maximum display brightness value, the brightness value is adjusted to obtain an adjusted brightness value. Based on the ratio or the adjusted brightness value, a target gamma curve is determined in at least two gamma curves with different brightness value ranges. Since at least one of the at least two gamma curves can include more fitting points for a certain brightness value range, or the at least two gamma curves are respectively for different application scenarios, the use of the target gamma curve can improve the accuracy of the determined voltage value without increasing chip resource consumption. In an embodiment of the present disclosure, since the adjusted brightness value is obtained based on the display brightness value adjustment, the adjusted brightness value is the brightness value that each pixel of the display panel is expected to present. Therefore, using the adjusted brightness value to determine the target gamma curve is more targeted and more accurate. Since the use of the ratio can clarify the degree to which the brightness value is adjusted, the efficiency of selecting the gamma curve can be improved while meeting the requirement of accurately selecting the gamma curve.
[0084] In a possible implementation, among the at least two gamma curves, the gamma curve with the largest maximum voltage value is used as the first gamma curve, and the brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve is used as the brightness threshold corresponding to the gamma curve; based on the ratio or the adjusted brightness value, determining the target gamma curve in the at least two gamma curves includes: based on the brightness threshold, and the ratio or the adjusted brightness value, determining the target gamma curve in the at least two gamma curves.
[0085] In the disclosed embodiment, at least two gamma curves may be set; and the number of pre-stored gamma curves may be determined according to scene requirements and / or chip resource conditions. Here, a gamma curve other than the first gamma curve may be defined as a third gamma curve. The brightness threshold may be a brightness value corresponding to the maximum voltage value of each third gamma curve mapped to the first gamma curve. Then, the target gamma curve is determined using the brightness threshold and the ratio or the relationship between the adjusted brightness value. The target curve determined in this way can reduce the probability of a sudden change in the brightness of the display panel during the process of switching from the first gamma curve to the target curve.
[0086] The following uses three gamma curves as examples to introduce brightness thresholds. Figure 4 A schematic diagram showing a brightness threshold according to an embodiment of the present disclosure.
[0087] like Figure 4 As shown, the maximum voltage value on the gamma curve G is 3.5, the maximum voltage value on the gamma curve E is 2, and the maximum voltage value on the gamma curve F is 1. Among the three gamma curves, the gamma curve G has the largest maximum voltage value. Therefore, the gamma curve G is defined as the first gamma curve, and the gamma curves E and F are the third gamma curves.
[0088] In the embodiment of the present disclosure, according to the mapping relationship between the brightness value represented by the gamma curve G and the voltage value, the gamma curve G corresponding to a sub-brightness value range (i.e., a part of the gamma curve G) can be mapped on the entire brightness value range (for example: 0 to 1) to obtain the gamma curve E or the gamma curve F.
[0089] The maximum voltage value of gamma curve F corresponds to a brightness value r1=0.74 on the first gamma curve (gamma curve G); the maximum voltage value of gamma curve E corresponds to a brightness value r2=0.56 on the first gamma curve (gamma curve G). Therefore, the brightness values r1 and r2 are used as brightness thresholds.
[0090] For example, in the embodiment of the present disclosure, the first brightness value range can be determined based on the brightness threshold. When the adjusted brightness value range is 0 to 1, the range between two brightness thresholds that are numerically adjacent, the range between 0 and the minimum brightness threshold, and the range between the maximum brightness threshold and 1 can be determined as the first brightness value range. Figure 4 For example, the first brightness value range includes: 0~r2, r2~r1, r1~1.
[0091] Then, gamma curves corresponding to the first brightness value ranges are determined, and the gamma curves are pre-stored. Then, a target gamma curve is determined according to the first brightness value range into which the ratio or the adjusted brightness value falls.
[0092] For example, in the embodiment of the present disclosure, the brightness threshold and the gamma curve may be matched one by one. Figure 4 In the figure, the brightness threshold r1 corresponds to the gamma curve F; and the brightness threshold r2 corresponds to the gamma curve E. Then, a brightness threshold that is greater than and closest to the ratio or the adjusted brightness value is determined, and the gamma curve corresponding to the brightness threshold is determined as the target gamma curve.
[0093] The above are only two examples. The embodiment of the present disclosure does not limit the method for determining the target gamma curve based on the brightness threshold.
[0094] Embodiments of the present disclosure can pre-store at least two gamma curves, and determine a target gamma curve adapted to the ratio or the adjusted brightness value according to the brightness threshold, improving the accuracy of determining the voltage value. Moreover, the target curve determined in this way can reduce the probability of sudden changes in the brightness of the display panel during the process of switching from the first gamma curve to the target curve, improving the user experience.
[0095] In a possible implementation manner, determining a target gamma curve from at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value includes: when there is a first brightness threshold greater than the ratio or the maximum value of the adjusted brightness values, determining the second gamma curve corresponding to the minimum value of the first brightness thresholds as the target gamma curve.
[0096] The first brightness threshold can be a brightness threshold greater than the ratio or the adjusted brightness value.
[0097] In embodiments of the present disclosure, the mapping relationship between the brightness value and the voltage value represented by the first gamma curve can be used as the mapping relationship for determining the voltage value.
[0098] Since the number of fitting points of a single gamma curve is the same, in order to improve the accuracy of determining the voltage value, without reducing the accuracy of the voltage value, the second brightness value range from the minimum value of the brightness value range (for example: 0) to the adjusted brightness value can be expanded as much as possible. Compared with the original second brightness value range, the number of fitting points in the expanded second brightness value range increases, improving the accuracy of the determined voltage value.
[0099] Figure 5A A schematic diagram of determining a target gamma curve according to an embodiment of the present disclosure is shown. The following is a description of determining the target gamma curve in contrast Figure 5A The determination of the target gamma curve will be described.
[0100] If the current ratio or adjusted brightness value is a1, it can be seen that both r1 and r2 are greater than a1. So the first brightness thresholds are r1 and r2. Since r2 < r1, the gamma curve E corresponding to r2 is the second gamma curve, that is, the target gamma curve.
[0101] The target gamma curve E determined by the above method can improve the accuracy of the voltage value. The reason is that the first voltage value b1 corresponding to a1 on the first gamma curve, and the voltage value interval corresponds to a first brightness value interval on each of these three gamma curves. The voltage value interval here is the numerical interval from the minimum value of the voltage value range to the first voltage value (for example: 0~b1). The first brightness value interval here can be the brightness value interval formed by the brightness values corresponding to the voltage value b1 from 0 to each gamma curve. That is, the first brightness value interval can be the brightness value interval corresponding to the voltage value interval on each gamma curve. From Figure 5A It can be seen that the first brightness value interval of the gamma curve E contains the most fitting points. Therefore, selecting the gamma curve E as the target curve is equivalent to expanding the original second brightness value range to the maximum extent, increasing the number of fitting points, and improving the accuracy of the determined voltage value.
[0102] Figure 5B Another schematic diagram of determining a target gamma curve according to an embodiment of the present disclosure is shown.
[0103] If the current ratio or adjusted brightness value is a2, it can be seen that r2 is less than a1 and r1 is greater than a1, so the first brightness threshold is r1. In this case, there is only one first brightness threshold, so the first brightness threshold is r1. Therefore, the gamma curve F corresponding to r1 is used as the second gamma curve, that is, the target gamma curve.
[0104] The target gamma curve F determined in the above manner can improve the accuracy of the voltage value because the first voltage value b2 corresponding to a2 on the first gamma curve and the brightness value interval corresponding to the voltage value interval 0 to b2 on the gamma curve E exceed the maximum value of the brightness value range of the gamma curve E (for example: 1), so the complete first brightness value interval cannot be determined on the gamma curve E. If the gamma curve E is selected, the accuracy of the determined voltage value will be reduced. It can be seen that the number of fitting points contained in the first brightness value interval determined by the voltage value interval 0-b2 on the gamma curve F is greater than the number of fitting points contained in the first brightness value interval determined on the gamma curve G. Therefore, selecting the gamma curve F as the target curve is equivalent to maximizing the expansion of the original second brightness range: 0 to a2, increasing the number of fitting points, and improving the accuracy of the determined voltage value.
[0105] In the embodiment of the present disclosure, by determining the first voltage value corresponding to the ratio or the adjusted brightness value on the first gamma curve, a gamma curve containing the most fitting points in the first brightness value interval from the minimum voltage value to the first voltage value is selected from the pre-stored gamma curve as the target gamma curve; since no new gamma curve is used and no fitting points of a single gamma curve are added, the consumption of chip resources is not increased. In the embodiment of the present disclosure, the first brightness value interval on the first gamma curve is expanded without affecting the accuracy of the determined voltage value, that is, the gamma curve containing the most fitting points in the first brightness value interval is used as the target gamma curve, thereby improving the accuracy of the determined voltage value.
[0106] In a possible implementation, determining the voltage value corresponding to the luminance value according to the target gamma curve includes: mapping the range of the adjusted luminance value to the luminance value range corresponding to the target gamma curve to obtain the mapped luminance value; determining the voltage value corresponding to the luminance value according to the target gamma curve and the mapped luminance value.
[0107] The range of the adjusted luminance value here can be the first luminance value interval on the first gamma curve. If the target gamma curve is used to determine the voltage value corresponding to the adjusted luminance value, it is necessary to map the first luminance value interval on the first gamma curve to the entire luminance value range of the target gamma curve, so that the determined voltage value still satisfies the mapping relationship between the luminance value and the voltage value of the first gamma curve. At the same time, since the target gamma curve with more fitting points is used, the accuracy of the determined voltage value is improved.
[0108] Exemplarily, the mathematical expression of gamma curve H is: y H =k H x 2.2 , and the mathematical expression of gamma curve J is: y J =k J x 2.2 , and k H >k J . Therefore, in y H and y J , the maximum voltage value of y H is the largest, and y H is the first gamma curve. The luminance threshold r0 can be determined according to formula (1). If the ratio or the adjusted luminance value a0 < r0, that is, the range of the adjusted luminance value is 0 to r0, then r0 is the first luminance threshold, and y J is determined as the target gamma curve. Therefore, it is necessary to map the range of the adjusted luminance value 0 to r0 on y H to the corresponding luminance range 0 to 1 on y J . The mapping can be completed according to formula (2).
[0109]
[0110] Among them, k J represents the coefficient of gamma curve J, and k H represents the coefficient of gamma curve H.
[0111]
[0112] Among them, x H is: a certain value in the first luminance value interval on y H , and x HN is: x H on yJ The corresponding value above.
[0113] In one possible implementation, based on the brightness threshold, and the ratio or the adjusted brightness value, a target gamma curve is determined among at least two gamma curves, including: in the absence of a first brightness threshold that is greater than the ratio or greater than a maximum value among the adjusted brightness values, determining the first gamma curve as the target gamma curve.
[0114] Figure 5C Another schematic diagram of determining a target gamma curve according to an embodiment of the present disclosure is shown.
[0115] If the current ratio or the adjusted brightness value is a3, and a3 is greater than r1 and r2, it means that except for the first gamma curve, no other pre-stored gamma curve can have the complete first brightness value range. If the voltage value is determined using a gamma curve other than the first gamma curve, the accuracy will be reduced. Therefore, in this case, the first gamma curve is used as the target gamma curve.
[0116] In this way, the embodiment of the present disclosure can use the first gamma curve as the target gamma curve when there is no first brightness threshold greater than the ratio or greater than the maximum value of the adjusted brightness values, thereby reducing the probability of determining an erroneous voltage value.
[0117] Figure 6 A flow chart of a method for adjusting display brightness according to an embodiment of the present disclosure is shown. Figure 6 As shown, the method for adjusting the display brightness includes:
[0118] S21, obtaining a brightness value of an image to be displayed and a display brightness value of a display panel;
[0119] S22, adjusting the brightness value based on the ratio of the display brightness value to the maximum display brightness value to obtain an adjusted brightness value;
[0120] S23, determining a target gamma curve from at least two gamma curves based on the ratio or the adjusted brightness value;
[0121] S24, determining a voltage value corresponding to the brightness value according to the target gamma curve;
[0122] S25, adjusting the display brightness of the display panel according to the voltage value.
[0123] In a possible implementation, the method further includes, after determining the target gamma curve, determining a pulse width modulation ratio according to the target gamma curve; and adjusting the display brightness of the display panel based on the voltage value and the pulse width modulation ratio.
[0124] Figure 7 A schematic diagram of a chip 700 according to an embodiment of the present disclosure is shown. Figure 7 As shown, the chip includes: a ratio determination unit 701, a brightness value adjustment unit 702, a mode selection unit 703, a maximum adjusted brightness value determination unit 704, a target gamma curve determination unit 705, a mapping unit 706, a voltage value determination unit 707, and a pulse width modulation ratio determination unit 708.
[0125] The target gamma curve determination unit 705 may be provided with a memory for storing at least two gamma curves and a brightness threshold. The brightness value adjustment unit 702 may be a brightness controller; the mode selection unit 703 may be a data selector; the maximum adjusted brightness value determination unit 704 may be a data filter; the target gamma curve determination unit 705 and the mapping unit 706 may be two operators, for example, the target gamma curve determination unit 705 may be a first operator, and the mapping unit 706 may be a second operator.
[0126] The ratio determination unit 701 obtains the display brightness value of the display panel (abbreviated as display brightness value), determines the ratio according to the display brightness value and the maximum display brightness value, and transmits the ratio to the brightness adjustment unit 702 and the mode selection unit 703 .
[0127] The brightness value adjustment unit 702 obtains the brightness value of the image to be displayed (abbreviated as: brightness value), and adjusts the brightness value according to the ratio to obtain the adjusted brightness value. adjust =px b , where x b Indicates the brightness value, x adjust The adjusted brightness value is input into the maximum adjusted brightness value determining unit 704 and the mapping unit 706 .
[0128] The maximum adjusted brightness value determination unit 704 determines the maximum value among the adjusted brightness values, and inputs the maximum value to the mode selection unit 703 .
[0129] In the embodiment of the present disclosure, the target gamma curve can be determined according to the ratio or the adjusted brightness value. The mode selection unit 703 selects one of the ratio and the adjusted brightness value according to an externally input instruction for subsequent determination of the gamma curve.
[0130] The mode selection unit 703 inputs the maximum value of the ratio or the adjusted brightness value to the target gamma curve determination unit 705. At least two gamma curves may be pre-stored in the target gamma curve determination unit 705. Each gamma curve may have a number. The target gamma curve determination unit 705 determines the target gamma curve according to the maximum value of the ratio or the adjusted brightness value and the brightness threshold, and transmits the mapping relationship between the brightness value represented by the target gamma curve and the voltage value to the voltage value determination unit 707. The brightness threshold may be pre-stored in the target gamma curve determination unit 705. The target gamma curve determination unit 705 inputs the number of the target gamma curve to the pulse width modulation ratio determination unit 708.
[0131] The target gamma curve determining unit 705 determines a ratio for mapping the range of adjusted brightness values to the range of brightness values corresponding to the target gamma curve, and inputs the ratio into the mapping unit 706;
[0132] The mapping unit 706 maps the adjusted brightness value according to the ratio to obtain a mapped brightness value, and inputs the adjusted brightness value to the voltage value determination unit 707 .
[0133] The voltage value determining unit 707 determines the voltage value corresponding to the mapped brightness value according to the target gamma curve.
[0134] The PWM ratio determining unit 708 determines a PWM ratio (Pulse Width Modulation Ratio) corresponding to the target gamma curve according to the number of the target gamma curve. The PWM ratio may be pre-stored in the PWM ratio determining unit 708, and the PWM ratio may correspond to the pre-stored gamma curve one by one.
[0135] Figure 8 FIG. 4 is a block diagram of a gamma curve selection device according to an embodiment of the present disclosure. Figure 8 As shown, the device 80 includes:
[0136] The brightness control module 81 is used to obtain the brightness value of the image to be displayed and the display brightness value of the display panel, and adjust the brightness value based on the ratio of the display brightness value to the maximum display brightness value to obtain an adjusted brightness value;
[0137] a gamma curve determination module 82, configured to determine a target gamma curve from among at least two gamma curves based on the ratio or the adjusted brightness value;
[0138] The mapping module 83 is used to determine the voltage value corresponding to the brightness value according to the target gamma curve.
[0139] In a possible implementation, among the at least two gamma curves, the gamma curve with the largest maximum voltage value is used as the first gamma curve, and the brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve is used as the brightness threshold corresponding to the gamma curve;
[0140] The gamma curve determination module is further used for:
[0141] A target gamma curve is determined from among at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value.
[0142] In a possible implementation, the gamma curve determination module 82 includes:
[0143] The first gamma curve determining module is used to determine the second gamma curve corresponding to the minimum value in the first brightness threshold as the target gamma curve when there is a first brightness threshold greater than the ratio or greater than the maximum value in the adjusted brightness values.
[0144] In a possible implementation, the mapping module 83 includes:
[0145] A mapped brightness value determination module, used for mapping the range of the adjusted brightness value to the brightness value range corresponding to the target gamma curve to obtain a mapped brightness value;
[0146] The voltage value determination module is used to determine a voltage value corresponding to the brightness value according to the target gamma curve and the mapped brightness value.
[0147] In a possible implementation, the gamma curve determination module 82 includes:
[0148] The second gamma curve determining module is configured to determine the first gamma curve as a target gamma curve when there is no first brightness threshold greater than the ratio or greater than a maximum value among the adjusted brightness values.
[0149] Exemplarily, the electronic devices in this embodiment include but are not limited to desktop computers, televisions, mobile devices with large screens such as mobile phones, tablet computers, and other common electronic devices that require multiple chips to be cascaded to achieve driving.
[0150] Exemplarily, the electronic device may also be a user equipment (UE), a mobile device, a user terminal, a terminal, a handheld device, a computing device or a vehicle-mounted device, etc. Exemplarily, some examples of terminals are: a display, a smart phone or a portable device, a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control (Industrial Control), a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid (Smart Grid), a wireless terminal in transportation safety (Transportation Safety), a wireless terminal in smart city (Smart City), a wireless terminal in smart home (Smart Home), a wireless terminal in Internet of Vehicles, etc. For example, the server may be a local server or a cloud server.
[0151] Fig. 9 1 is a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server or a terminal device. Fig. 9 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0152] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0153] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.
[0154] The above description is merely an exemplary embodiment of the present invention and is not intended to limit the protection scope of the present invention. The protection scope of the present invention is determined by the appended claims.
[0155] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0156] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0157] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0158] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A gamma curve selection method, characterized in that: include: Obtaining the brightness value of the image to be displayed and the display brightness value of the display panel; Based on the ratio of the display brightness value to the maximum display brightness value, the brightness value is adjusted to obtain an adjusted brightness value; Using a gamma curve having a largest maximum voltage value among at least two gamma curves as a first gamma curve, and using a brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve as a brightness threshold corresponding to the gamma curve; determining a target gamma curve among the at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value; According to the target gamma curve, a voltage value corresponding to the brightness value is determined.
2. The method according to claim 1, characterized in that Determining a target gamma curve from at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value, comprising: In the case that there is a first brightness threshold value greater than the ratio or greater than the maximum value of the adjusted brightness values, a second gamma curve corresponding to the minimum value of the first brightness threshold value is determined as the target gamma curve.
3. The method according to claim 2, characterized in that The step of determining a voltage value corresponding to the brightness value according to the target gamma curve includes: Mapping the adjusted brightness value range to the brightness value range corresponding to the target gamma curve to obtain a mapped brightness value; A voltage value corresponding to the brightness value is determined according to the target gamma curve and the mapped brightness value.
4. The method according to claim 1, characterized in that: Determining a target gamma curve from among at least two gamma curves based on the ratio, based on the brightness threshold, and the ratio or the adjusted brightness value, includes: In the absence of a first brightness threshold greater than the ratio or greater than a maximum value among the adjusted brightness values, the first gamma curve is determined as a target gamma curve.
5. A gamma curve selection device, characterized in that: include: A brightness control module, used to obtain a brightness value of an image to be displayed and a display brightness value of a display panel, and adjust the brightness value based on a ratio of the display brightness value to a maximum display brightness value to obtain an adjusted brightness value; a gamma curve determination module, configured to use a gamma curve having a largest maximum voltage value among at least two gamma curves as a first gamma curve, and use a brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve as a brightness threshold corresponding to the gamma curve; determining a target gamma curve among the at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value; A mapping module is used to determine a voltage value corresponding to the brightness value according to the target gamma curve.
6. A chip, characterized in that: include: The gamma curve selection device according to claim 5.
7. A chip, comprising: The source circuit and the gate circuit are characterized in that they also include: a memory, a first operator, a second operator, a brightness controller, a data filter, and a data selector. The memory stores at least two gamma curves and a brightness threshold; The brightness controller obtains the brightness value of the image to be displayed and the ratio of the display brightness value to the maximum display brightness value; determines an adjusted brightness value according to the brightness value and the ratio, and inputs the adjusted brightness value into the data selector; The data selector determines the maximum adjusted brightness value among the adjusted brightness values and inputs it into the data filter; The data filter selects target data from the ratio and the maximum adjusted brightness value, and inputs the target data into the first operator; The first operator uses the gamma curve with the largest maximum voltage value as the first gamma curve among the at least two gamma curves, and uses the brightness value corresponding to the maximum voltage value of each gamma curve other than the first gamma curve on the first gamma curve as the brightness threshold corresponding to the gamma curve; obtains the brightness threshold from the memory, and determines a target gamma curve among the at least two gamma curves based on the brightness threshold and the ratio or the adjusted brightness value, and inputs the identifier of the target gamma curve to the second operator; The second operator obtains the target gamma curve from the memory according to the identifier of the target gamma curve, and determines a voltage value corresponding to the brightness value according to the target gamma curve.
8. A display device, characterized in that: The device comprises a plurality of display units and at least one gamma curve selection device according to claim 5.
9. The display device according to claim 8, characterized in that The display unit includes a display panel, and the display panel includes at least one of a liquid crystal display panel, a micro light emitting diode display panel, a light emitting diode display panel, a mini light emitting diode display panel, a quantum dot light emitting diode display panel, an organic light emitting diode display panel, a cathode ray tube display panel, a digital light processing display panel, a field emission display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel and a small pitch display panel.
10. An electronic device comprising the display device according to claim 8 or 9.
11. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method described in any one of claims 1 to 4 when executing the instructions stored in the memory.
12. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Image processing apparatus that performs tone correction, image processing method, and storage medium
CN104954771A
Electronic device and method of controlling output characteristic thereof
CN106462374A
Driving method for organic light-emitting display panel, driving chip, and display device
CN109166521A
Gamma debugging method, gamma debugging device and display device
CN115206236A
Image processing apparatus and image processing method for performing correction processing on input video
US20100271553A1
