Gamma curve optimization method, chip, display device, electronic device and storage medium
By obtaining the target display brightness value, temperature value and frame rate value of the OLED screen, a suitable gamma curve is dynamically generated, which solves the gamma temperature drift problem of the OLED screen at different temperatures and improves the display quality and user experience.
Patent Information
- Application Number
- CN202411648666.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-01-24
AI Technical Summary
OLED screens have gamma temperature drifting problems at different temperatures, resulting in lower display quality and poor user experience.
By obtaining the target display of the display device, the target temperature value, and the target frame rate value, the suitable gamma curve is dynamically generated, considering the comprehensive impact of temperature, frame rate and brightness, and optimizing the gamma curve to improve the display quality.
The display effect of displaying devices at different temperatures is effectively improved, making the display more accurate and consistent, and improved the user experience of users when watching the display device display screen.
Smart Images

Figure CN119360779A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a gamma curve optimization method and chip, a display device, an electronic device and a storage medium. Background Art
[0002] In the field of display technology, gamma correction plays a vital role. It serves as a bridge between digital and naked eye perception, ensuring the accuracy and consistency of displayed content. The core of gamma correction is to adjust the relationship between the intensity of the image signal and the brightness of the final output of the display. This relationship is usually described by the gamma curve. The gamma curve defines the nonlinear mapping between the input signal and the output brightness to compensate for the nonlinear characteristics of the display itself, so that the brightness perceived by the human eye is closer to the brightness information in the original image signal.
[0003] Gamma correction is indispensable in all kinds of display systems. When the screen of a display device displays different brightness levels (Display Brightness Value, DBV) or frame rates, different gamma curves need to be applied for fitting to ensure the stability and accuracy of the display effect. This is because different brightness levels and frame rates will have different effects on the visual perception of the human eye, and gamma correction is to eliminate these effects and provide a consistent visual experience.
[0004] However, with the continuous advancement of display technology, especially the widespread application of OLED screens in electronic products such as mobile phones, new problems have also emerged. The inventors found that the OLED screen has the characteristics of self-luminescence, which means that its brightness output is not only affected by the input signal, but also by the temperature of the display device. In particular, at different temperatures, even if the display brightness and frame rate remain unchanged, the brightness output of the OLED screen may change, that is, there will be a problem of gamma shift due to temperature, resulting in lower display quality and poor user experience. Summary of the invention
[0005] In view of this, the present disclosure proposes a gamma curve optimization technical solution.
[0006] According to one aspect of the present disclosure, a gamma curve optimization method is provided, comprising:
[0007] Obtain the current target display brightness value, target temperature value and target frame rate value of the display device; obtain multiple first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value; obtain multiple second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves; obtain a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value according to the target frame rate value and the multiple second gamma curves.
[0008] In a possible implementation, the method also includes: obtaining multiple preset display brightness values, multiple preset temperature values, and multiple preset frame rate values; determining the two preceding and following values closest to the target display brightness value from the multiple preset display brightness values as the relevant display brightness value; determining the two preceding and following values closest to the target temperature value from the multiple preset temperature values as the relevant temperature value; and determining the two preceding and following values closest to the target frame rate value from the multiple preset frame rate values as the relevant frame rate value.
[0009] In a possible implementation, obtaining multiple first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value includes: acquiring multiple preset gamma curves corresponding to the relevant display brightness value, the relevant temperature value and the relevant frame rate value; using the target display brightness value as an interpolation point, and linearly interpolating the multiple preset gamma curves according to the relevant display brightness value to obtain multiple first gamma curves corresponding to the target display brightness value, the relevant temperature value and the relevant frame rate value.
[0010] In a possible implementation, obtaining the target display brightness value and the multiple second gamma curves corresponding to the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves includes: taking the target temperature value as an interpolation point, linearly interpolating the multiple first gamma curves according to the relevant temperature value, to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0011] In a possible implementation, obtaining the target gamma curve corresponding to the target display brightness value, target temperature value and target frame rate value according to the target frame rate value and the multiple second gamma curves includes: taking the target frame rate value as an interpolation point, linearly interpolating the multiple second gamma curves according to the relevant frame rate value, to obtain the target gamma curve corresponding to the target display brightness value, target temperature value and target frame rate value.
[0012] In a possible implementation, obtaining the target display brightness value and the multiple second gamma curves corresponding to the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves includes: performing weighted summation on the multiple first gamma curves according to the relevant temperature value and the temperature weighting coefficient corresponding to the target temperature value to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0013] In one possible implementation, the method is applied to a first electronic device and also includes: storing the multiple preset display brightness values, the multiple preset temperature values, the multiple preset frame rate values and the corresponding gamma curve in a memory of the first electronic device in a preset order, so as to obtain relevant display brightness values, relevant temperature values and relevant frame rate values based on the preset order.
[0014] According to another aspect of the present disclosure, a chip is provided, comprising:
[0015] A target parameter acquisition module is used to acquire the current target display brightness value, target temperature value and target frame rate value of the display device; a first gamma curve determination module is used to obtain multiple first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value; a second gamma curve determination module is used to obtain multiple second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves; a target gamma curve determination module is used to obtain a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value according to the target frame rate value and the multiple second gamma curves.
[0016] In a possible implementation, the chip also includes: a preset parameter acquisition module, used to acquire multiple preset display brightness values, multiple preset temperature values and multiple preset frame rate values; a related display brightness value determination module, used to determine the two values closest to the target display brightness value from the multiple preset display brightness values as the related display brightness value; a related temperature value determination module, used to determine the two values closest to the target temperature value from the multiple preset temperature values as the related temperature value; and a related frame rate value determination module, used to determine the two values closest to the target frame rate value from the multiple preset frame rate values as the related frame rate value.
[0017] In a possible implementation, the first gamma curve determination module is used to: obtain multiple preset gamma curves corresponding to the relevant display brightness value, the relevant temperature value, and the relevant frame rate value; use the target display brightness value as an interpolation point, and linearly interpolate the multiple preset gamma curves according to the relevant display brightness value to obtain multiple first gamma curves corresponding to the target display brightness value, the relevant temperature value, and the relevant frame rate value.
[0018] In one possible implementation, the second gamma curve determination module is used to: use the target temperature value as an interpolation point, and according to the relevant temperature value, linearly interpolate the multiple first gamma curves to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0019] In one possible implementation, the target gamma curve determination module is used to: use the target frame rate value as an interpolation point, and according to the relevant frame rate value, linearly interpolate the multiple second gamma curves to obtain a target gamma curve corresponding to the target display brightness value, target temperature value, and target frame rate value.
[0020] In a possible implementation, the second gamma curve determination module is further used to: perform weighted summation on the multiple first gamma curves according to the temperature weighting coefficients corresponding to the relevant temperature value and the target temperature value, so as to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0021] In one possible implementation, the chip is applied to a first electronic device, and the chip also includes: a storage module, used to store the multiple preset display brightness values, the multiple preset temperature values, the multiple preset frame rate values and the corresponding gamma curve in the memory of the first electronic device in a preset order, so as to obtain relevant display brightness values, relevant temperature values and relevant frame rate values based on the preset order.
[0022] 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.
[0023] 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.
[0024] In the disclosed embodiment, the current target display brightness value, target temperature value and target frame rate value of the display device are obtained; according to the target display brightness value, the target temperature value and the target frame rate value, a plurality of first gamma curves corresponding to the target display brightness value are obtained; according to the target temperature value, the target frame rate value and the plurality of first gamma curves, a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value are obtained; according to the target frame rate value and the plurality of second gamma curves, a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value is obtained. Thus, the influence of the temperature dimension on the gamma curve can be taken into account, and the gamma curve is adjusted by adjusting the temperature in conjunction with the frame rate and the actual brightness to obtain the target gamma curve, thereby improving the display quality of the display device, effectively improving the display effect of the display device at different temperatures, making the display more accurate and consistent, and improving the user experience when the user watches the display screen of the display device.
[0025] 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
[0026] 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.
[0027] Figure 1 A flowchart of a gamma curve optimization method according to an embodiment of the present disclosure is shown.
[0028] Figure 2 A schematic diagram showing multiple preset temperature values and multiple preset frame rate values according to an embodiment of the present disclosure.
[0029] Figure 3 A schematic diagram showing a linear interpolation process according to an embodiment of the present disclosure.
[0030] Figure 4 A block diagram of a chip according to an embodiment of the present disclosure is shown.
[0031] Figure 5 A block diagram of an electronic device 1900 according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0032] 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.
[0033] 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.
[0034] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0035] In the field of display technology, gamma correction plays a vital role. It serves as a bridge between digital and naked eye perception, ensuring the accuracy and consistency of displayed content. The core of gamma correction is to adjust the relationship between the intensity of the image signal and the brightness of the final output of the display. This relationship is usually described by the gamma curve. The gamma curve defines the nonlinear mapping between the input signal and the output brightness to compensate for the nonlinear characteristics of the display itself, so that the brightness perceived by the human eye is closer to the brightness information in the original image signal.
[0036] Gamma correction is indispensable in all kinds of display systems. When the screen of a display device displays different brightness levels (Display Brightness Value, DBV) or frame rates, different gamma curves need to be applied for fitting to ensure the stability and accuracy of the display effect. This is because different brightness levels and frame rates will have different effects on the visual perception of the human eye, and gamma correction is to eliminate these effects and provide a consistent visual experience.
[0037] However, with the continuous advancement of display technology, especially the widespread application of OLED screens in mobile phones and other electronic products, new problems have also emerged. OLED screens have the characteristics of self-luminescence, which means that their brightness output is not only affected by the input signal, but also by the temperature of the display device. In the existing technology, the impact of DBV and frame rate on screen display brightness is usually considered, but the impact of temperature is not considered, that is, there is also the problem of gamma shift due to temperature.
[0038] In the disclosed embodiment, the current target display brightness value, target temperature value and target frame rate value of the display device are obtained; according to the target display brightness value, the target temperature value and the target frame rate value, a plurality of first gamma curves corresponding to the target display brightness value are obtained; according to the target temperature value, the target frame rate value and the plurality of first gamma curves, a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value are obtained; according to the target frame rate value and the plurality of second gamma curves, a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value is obtained. Thus, the influence of the temperature dimension on the gamma curve can be taken into account, and the gamma curve is adjusted by adjusting the temperature in conjunction with the frame rate and the actual brightness to obtain the target gamma curve, thereby improving the display quality of the display device, effectively improving the display effect of the display device at different temperatures, making the display more accurate and consistent, and improving the user experience when the user watches the display screen of the display device.
[0039] Figure 1 FIG. 5 is a flow chart showing a gamma curve optimization method according to an embodiment of the present disclosure. Figure 1 As shown, the gamma curve optimization method of the embodiment of the present disclosure may include:
[0040] S11, obtaining the current target display brightness value, target temperature value and target frame rate value of the display device;
[0041] A display device is a device that can provide visual experience and display information. It presents information by stimulating a substance or using an external light source. It is an indispensable terminal output device in electronic equipment. The electronic device in the embodiments of the present disclosure can be a device manufactured using electronic technology and used to achieve a specific function, such as a communication device and a computer device.
[0042] In a possible implementation, the current target display brightness value, target temperature value, and target frame rate value of the display device may be the current target display brightness value, target temperature value, and target frame rate value of the display device received by the host computer.
[0043] The host computer in the embodiment of the present disclosure may be a computer device located at a higher level in the data acquisition and control system and having stronger data processing capabilities and control functions.
[0044] In a possible implementation, multiple preset display brightness values, multiple preset temperature values, and multiple preset frame rate values may also be obtained; from the multiple preset display brightness values, the two values closest to the target display brightness value are determined as the relevant display brightness value; from the multiple preset temperature values, the two values closest to the target temperature value are determined as the relevant temperature value; from the multiple preset frame rate values, the two values closest to the target frame rate value are determined as the relevant frame rate value.
[0045] The multiple preset display brightness values may be several discrete values within the display brightness range of the display device, the multiple preset temperature values may be several discrete values within the temperature range of the display device, and the multiple preset frame rate values may be several discrete values within the frame rate range of the display device.
[0046] In a possible implementation, since multiple preset display brightness values can be several discrete values within the display brightness range of the display device, the preset display brightness values can be arranged in a preset order, and the preset order can be arranged from small to large or from large to small according to the size of the preset display brightness values. Then, in the ordered preset display brightness values, there will be two values closest to the target display brightness value, that is, one of the values is smaller than the target display brightness value and corresponds to the value when the absolute value of the difference between the target display brightness value and the target display brightness value is the smallest among the values smaller than the target display brightness value, and the other value is larger than the target display brightness value and corresponds to the value when the absolute value of the difference between the target display brightness value and the target display brightness value is the smallest among the values larger than the target display brightness value. At this time, these two values can be used as relevant display brightness values.
[0047] Similarly, the preset temperature values can be arranged in a preset order, and the preset order can be arranged from small to large or from large to small according to the size of the preset temperature values. Then, among the preset temperature values in order, there will be two values closest to the target temperature value, that is, one of the values is smaller than the target temperature value and corresponds to the value when the absolute value of the difference between the target temperature value and the target temperature value is the smallest among the values smaller than the target temperature value, and the other value is larger than the target temperature value and corresponds to the value when the absolute value of the difference between the target temperature value and the target temperature value is the smallest among the values larger than the target temperature value. At this time, these two values can be used as relevant temperature values.
[0048] Similarly, the preset frame rate values may also be arranged in a preset order, and the preset order may be arranged from small to large or from large to small according to the size of the preset frame rate values. Then, in the ordered preset frame rate values, there will be two values closest to the target frame rate value, that is, one of the values is smaller than the target frame rate value and corresponds to the value when the absolute value of the difference between the value and the target frame rate value is the smallest among the values smaller than the target frame rate value, and the other value is larger than the target frame rate value and corresponds to the value when the absolute value of the difference between the value and the target frame rate value is the smallest among the values larger than the target frame rate value. At this time, these two values can be used as relevant frame rate values.
[0049] For example, assuming that the preset display brightness values have four discrete values of 10, 30, 60 and 100, and the target display brightness value is selected as 15, then the two values closest to the target display brightness value are 10 and 30, and 10 and 30 can be used as relevant display brightness values. Figure 2A schematic diagram showing multiple preset temperature values and multiple preset frame rate values according to an embodiment of the present disclosure. Figure 2 As shown, the preset temperature values include four discrete values: 0℃, 20℃, 50℃ and 60℃. If the target temperature value is 30℃, then the two values closest to the target temperature value are 20℃ and 50℃, and 20℃ and 50℃ can be used as relevant temperature values. The preset frame rate values include three discrete values: 30hz, 90hz and 120hz. If the target frame rate value is 50hz, then the two values closest to the target frame rate value are 30hz and 90hz, and 30hz and 90hz can be used as relevant frame rate values.
[0050] In a possible implementation manner, multiple preset gamma curves corresponding to multiple preset display brightness values, multiple preset temperature values, and multiple preset frame rate values may also be obtained.
[0051] For example, see Figure 2 , continuing to assume that the preset display brightness values have four discrete values of 10, 30, 60 and 100, then when the temperature value is any preset temperature value (0℃, 20℃, 50℃ and 60℃) and the frame rate value is any preset frame rate value (30hz, 90hz and 120hz), the preset display brightness values can be 10, 30, 60 and 100, that is, the gamma curves corresponding to all the preset display brightness values.
[0052] S12, obtaining a plurality of first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value;
[0053] In a possible implementation, obtaining multiple first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value includes: acquiring multiple preset gamma curves corresponding to the relevant display brightness value, the relevant temperature value and the relevant frame rate value; using the target display brightness value as an interpolation point, and linearly interpolating the multiple preset gamma curves according to the relevant display brightness value to obtain multiple first gamma curves corresponding to the target display brightness value, the relevant temperature value and the relevant frame rate value.
[0054] In the foregoing, multiple preset gamma curves corresponding to multiple preset display brightness values, multiple preset temperature values, and multiple preset frame rate values are obtained. Then, multiple preset gamma curves corresponding to relevant display brightness values, relevant temperature values, and relevant frame rate values can be selected.
[0055] For the preset gamma curve, when the temperature value is a certain relevant temperature value and the frame rate value is a certain relevant frame rate value, the target display brightness value can be used as the interpolation point, and according to the relevant display brightness value, the preset gamma curve corresponding to the relevant display brightness value can be linearly interpolated, so that when the temperature value is a certain relevant temperature value and the frame rate value is a certain relevant frame rate value, a gamma curve corresponding to the target display brightness value can be obtained. Thus, when the temperature value is any relevant temperature value and the frame rate value is any relevant frame rate value, all the first gamma curves corresponding to the target display brightness value can be obtained.
[0056] Continue reading Figure 2 , continue to select the target display brightness value of 15, then the relevant display brightness values are 10 and 30, when the temperature value is any relevant temperature value (20℃ and 50℃) and the frame rate value is any relevant frame rate value (30hz and 90hz), there can be a preset gamma curve corresponding to the relevant display brightness value (display brightness value is 10 and 30). When the temperature value is 20℃ and the frame rate value is 30hz, with the target display brightness value (display brightness value is 15) as the interpolation point, the gamma curve corresponding to the relevant display brightness value (display brightness value is 10 and 30) is linearly interpolated, and a gamma curve corresponding to the target display brightness value (display brightness value is 15) can be obtained. This method is applied to all relevant temperature values and all relevant frame rate values, that is, the temperature value is 20℃, the frame rate value is 30hz; the temperature value is 20℃, the frame rate value is 90hz; the temperature value is 50℃, the frame rate value is 30hz; the temperature value is 50℃, the frame rate value is 90hz. Multiple first gamma curves corresponding to the target display brightness value (display brightness value is 15) can be obtained.
[0057] For example, Figure 3 A schematic diagram showing a process of linear interpolation according to an embodiment of the present disclosure is shown. Figure 3 As shown, formula (1) shows the formula for linear interpolation:
[0058]
[0059] Among them, x is the target display brightness value, y is the gamma curve corresponding to the target display brightness value, X1 and X2 are related display brightness values, and Y1 and Y2 are the gamma curves corresponding to X1 and X2 respectively.
[0060] S13, obtaining a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves;
[0061] In a possible implementation, obtaining the target display brightness value and the multiple second gamma curves corresponding to the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves includes: taking the target temperature value as an interpolation point, linearly interpolating the multiple first gamma curves according to the relevant temperature value, to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0062] After obtaining all the first gamma curves corresponding to the target display brightness value when the temperature value is any relevant temperature value and the frame rate value is any relevant frame rate value, similarly, when the frame rate value is a certain relevant frame rate value, the target temperature value can be used as an interpolation point, and according to the relevant temperature value, the first gamma curve corresponding to the relevant temperature value can be linearly interpolated, and then a gamma curve corresponding to the target display brightness value and the target temperature value can be obtained when the frame rate value is a certain frame rate value. Thus, all the second gamma curves corresponding to the target display brightness value and the target temperature value can be obtained when the frame rate value is any relevant frame rate value.
[0063] Continue reading Figure 2 , when the frame rate value is 30hz, with the target temperature value (30℃) as the interpolation point, the first gamma curve corresponding to the relevant temperature values (20℃ and 50℃) is linearly interpolated to obtain a gamma curve corresponding to the target display brightness value (display brightness value is 15) and the target temperature value (30℃). This method is applied to all relevant frame rate values, that is, in the two cases where the frame rate value is 30hz and the frame rate value is 90hz, multiple second gamma curves corresponding to the target display brightness value and the target temperature value can be obtained.
[0064] Similarly, the interpolation process can also refer to formula (1), where x is the target temperature value, y is the gamma curve corresponding to the target temperature value, X1 and X2 are related temperature values, and Y1 and Y2 are the gamma curves corresponding to X1 and X2 respectively.
[0065] S14. Obtain a target gamma curve corresponding to the target display brightness value, the target temperature value, and the target frame rate value according to the target frame rate value and the plurality of second gamma curves.
[0066] In a possible implementation, obtaining the target gamma curve corresponding to the target display brightness value, target temperature value and target frame rate value according to the target frame rate value and the multiple second gamma curves includes: taking the target frame rate value as an interpolation point, linearly interpolating the multiple second gamma curves according to the relevant frame rate value, to obtain the target gamma curve corresponding to the target display brightness value, target temperature value and target frame rate value.
[0067] Previously, when the frame rate value is any relevant frame rate value, all the second gamma curves corresponding to the target display brightness value and the target temperature value have been obtained. Then, the target frame rate value can be used as an interpolation point, and according to the relevant frame rate value, the second gamma curve corresponding to the relevant frame rate value can be linearly interpolated to obtain the target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value.
[0068] Similarly, the interpolation process can also refer to formula (1), where x is the target frame rate value, y is the gamma curve corresponding to the target frame rate value, X1 and X2 are related frame rate values, and Y1 and Y2 are the gamma curves corresponding to X1 and X2 respectively.
[0069] In the disclosed embodiment, due to the limitation of storage space and computing resources, it is impossible to preset an infinite number of gamma curves. Therefore, a method is needed to generate a suitable gamma curve from a limited number of preset gamma curves according to the current display requirements. Then, through interpolation, a gamma curve can be dynamically generated according to the actual display requirements, thereby improving the flexibility and accuracy of the display effect.
[0070] In the embodiment of the present disclosure, by performing three-level interpolation of the display brightness-temperature-frame rate of the gamma curve, the error caused by the gamma temperature drift can be reduced, and the display effect of the display device at different temperatures can be effectively improved.
[0071] It should be noted that in the embodiments of the present disclosure, it is considered that there is no value equal to the target display brightness value, target temperature value and target frame rate value among the preset display brightness value, preset temperature value and preset frame rate value. If one or more of them are equal, the corresponding gamma curve can be directly obtained. In this case, one or more levels of interpolation of the three-level display brightness-temperature-frame rate in the embodiments of the present disclosure will not need to be performed.
[0072] In step S13 of the embodiment of the present disclosure, in addition to performing temperature compensation by linearly interpolating the temperature, temperature compensation can also be performed by using a temperature weighting coefficient.
[0073] In a possible implementation, obtaining the target display brightness value and the multiple second gamma curves corresponding to the target temperature value according to the target temperature value, the target frame rate value and the multiple first gamma curves includes: performing weighted summation on the multiple first gamma curves according to the relevant temperature value and the temperature weighting coefficient corresponding to the target temperature value to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0074] Specifically, the target display brightness value, target temperature value, related frame rate value, and temperature weighting coefficient corresponding to the target temperature value can be obtained through the host computer. Meanwhile, in the previous step, when the temperature value is the related temperature value and the frame rate value is the related frame rate value, multiple first gamma curves corresponding to the target display brightness value have been obtained. Then, the host computer can perform weighted summation on the multiple first gamma curves according to the temperature weighting coefficient corresponding to the related temperature value and the target temperature value to obtain multiple second gamma curves corresponding to the target display brightness value, the target temperature value, and the related frame rate value.
[0075] For example, the host computer obtains the target display brightness value of 30 and the target temperature of 25°C. When the frame rate value is a certain related frame rate value, there are two gamma curves corresponding to the related temperature values of 20°C and 50°C and the target display brightness value of 30, namely gamma curve A and gamma curve B. Then, a gamma curve C corresponding to the target display brightness value, the target temperature value and a certain related frame rate value can be obtained by formula (2). Formula (2) is:
[0076] C=A(1-α)+ B×α (2)
[0077] Wherein, C is a gamma curve corresponding to a target display brightness value, a target temperature value and a related frame rate value, A and B are known first gamma curves, and α is a weighting coefficient.
[0078] Similarly, after obtaining a gamma curve C corresponding to a target display brightness value, a target temperature value and a related frame rate value, all second gamma curves corresponding to any related frame rate value, target display brightness value and target temperature value can be obtained.
[0079] In the embodiment of the present disclosure, the target display brightness value, target temperature value, related frame rate value and the temperature weighting coefficient corresponding to the target temperature value are obtained by the host computer, and the gamma curve corresponding to the target temperature value is obtained according to the first gamma curve and the temperature weighting coefficient. The target gamma curve can be obtained more flexibly and accurately.
[0080] In addition, the method provided by the embodiment of the present disclosure can also be applied to a first electronic device. In a possible implementation, the method also includes: storing the multiple preset display brightness values, the multiple preset temperature values, the multiple preset frame rate values and the corresponding gamma curve in a memory of the first electronic device in a preset order, so as to obtain relevant display brightness values, relevant temperature values and relevant frame rate values based on the preset order.
[0081] The memory of the electronic device in the embodiment of the present disclosure may be a component in a computer or other electronic device for storing program codes and data, and may be divided into a volatile memory and a non-volatile memory.
[0082] Taking random access memory (RAM) under the volatile memory classification as an example, in practical applications, RAM storing data involves the use of data structures (such as arrays, linked lists, hash tables) to organize and manage data. However, in the embodiments of the present disclosure, the data in the RAM can be organized into a table form to facilitate understanding of the data storage.
[0083] See also Figure 2 , Figure 2 All preset temperature values corresponding to each preset frame rate value in , wherein each preset temperature value may also have all preset display brightness values and all gamma curves corresponding to the preset display brightness values. Taking the preset frame rate value of 30hz as an example, Figure 2 The left side is the memory address, and the right side is all the preset display brightness values in the preset display temperature value and all the gamma curves corresponding to the preset display brightness values. And each area of the preset frame rate value represents a different storage area of the RAM.
[0084] In the embodiment of the present disclosure, by using a storage method with a preset storage order, relevant display brightness values, relevant temperature values and relevant frame rate values can be more conveniently obtained, and the data can be stored in different storage areas of the RAM. When performing interpolation operations, parallel computing can be used to improve interpolation efficiency.
[0085] In the disclosed embodiment, brightness control also includes voltage, pulse width modulation (PWM), and programmable interrupt controller (PIC). Taking voltage as an example, similarly, a three-level interpolation method of display brightness-temperature-frame rate can be adopted to perform three-level interpolation on the voltage to obtain the target voltage. The target voltage can be combined with the target gamma curve to adjust the brightness.
[0086] Figure 4 FIG. 1 is a block diagram of a chip according to an embodiment of the present disclosure. Figure 4 As shown, the chip includes:
[0087] A target parameter acquisition module 21 is used to acquire a current target display brightness value, a target temperature value and a target frame rate value of the display device;
[0088] A first gamma curve determining module 22, configured to obtain a plurality of first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value;
[0089] A second gamma curve determination module 23, configured to obtain a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves;
[0090] The target gamma curve determination module 24 is used to obtain a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value according to the target frame rate value and the plurality of second gamma curves.
[0091] In a possible implementation, the chip also includes: a preset parameter acquisition module, used to acquire multiple preset display brightness values, multiple preset temperature values and multiple preset frame rate values; a related display brightness value determination module, used to determine the two values closest to the target display brightness value from the multiple preset display brightness values as the related display brightness value; a related temperature value determination module, used to determine the two values closest to the target temperature value from the multiple preset temperature values as the related temperature value; and a related frame rate value determination module, used to determine the two values closest to the target frame rate value from the multiple preset frame rate values as the related frame rate value.
[0092] In a possible implementation, the first gamma curve determination module is used to: obtain multiple preset gamma curves corresponding to the relevant display brightness value, the relevant temperature value, and the relevant frame rate value; use the target display brightness value as an interpolation point, and linearly interpolate the multiple preset gamma curves according to the relevant display brightness value to obtain multiple first gamma curves corresponding to the target display brightness value, the relevant temperature value, and the relevant frame rate value.
[0093] In one possible implementation, the second gamma curve determination module is used to: use the target temperature value as an interpolation point, and according to the relevant temperature value, linearly interpolate the multiple first gamma curves to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0094] In one possible implementation, the target gamma curve determination module is used to: use the target frame rate value as an interpolation point, and according to the relevant frame rate value, linearly interpolate the multiple second gamma curves to obtain a target gamma curve corresponding to the target display brightness value, target temperature value, and target frame rate value.
[0095] In a possible implementation, the second gamma curve determination module is further used to: perform weighted summation on the multiple first gamma curves according to the temperature weighting coefficients corresponding to the relevant temperature value and the target temperature value, so as to obtain the multiple second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
[0096] In one possible implementation, the chip is applied to a first electronic device, and the chip also includes: a storage module, used to store the multiple preset display brightness values, the multiple preset temperature values, the multiple preset frame rate values and the corresponding gamma curve in the memory of the first electronic device in a preset order, so as to obtain relevant display brightness values, relevant temperature values and relevant frame rate values based on the preset order.
[0097] In some embodiments, the functions or modules included in the chip provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0098] 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.
[0099] 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 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.
[0100] Figure 51 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. Figure 5 , 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.
[0101] 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.
[0102] 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.
[0103] 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.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] 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.
[0108] 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 optimization method, characterized in that: include: Obtain the current target display brightness value, target temperature value and target frame rate value of the display device; According to the target display brightness value, the target temperature value and the target frame rate value, a plurality of first gamma curves corresponding to the target display brightness value are obtained; Obtaining a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves; A target gamma curve corresponding to the target display brightness value, the target temperature value, and the target frame rate value is obtained according to the target frame rate value and the plurality of second gamma curves.
2. The method according to claim 1, characterized in that The method further comprises: Obtaining a plurality of preset display brightness values, a plurality of preset temperature values, and a plurality of preset frame rate values; From the plurality of preset display brightness values, determine the two values closest to the target display brightness value as the relevant display brightness value; From the plurality of preset temperature values, determine the two values closest to the target temperature value as the relevant temperature value; From the multiple preset frame rate values, two values closest to the target frame rate value are determined as relevant frame rate values.
3. The method according to claim 2, wherein obtaining a plurality of first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value comprises: Acquire a plurality of preset gamma curves corresponding to the relevant display brightness value, the relevant temperature value, and the relevant frame rate value; The target display brightness value is used as an interpolation point, and the plurality of preset gamma curves are linearly interpolated according to the relevant display brightness value to obtain a plurality of first gamma curves corresponding to the target display brightness value, the relevant temperature value, and the relevant frame rate value.
4. The method according to claim 2, wherein obtaining a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves comprises: The target temperature value is used as an interpolation point, and the plurality of first gamma curves are linearly interpolated according to the relevant temperature value to obtain the plurality of second gamma curves corresponding to the target display brightness value, the target temperature value, and the relevant frame rate value.
5. The method according to claim 2, wherein obtaining a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value according to the target frame rate value and the plurality of second gamma curves comprises: The target frame rate value is used as an interpolation point, and the plurality of second gamma curves are linearly interpolated according to the relevant frame rate values to obtain a target gamma curve corresponding to the target display brightness value, the target temperature value, and the target frame rate value.
6. The method according to claim 2, wherein obtaining a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves comprises: The plurality of first gamma curves are weighted and summed according to the temperature weighting coefficients corresponding to the relevant temperature value and the target temperature value to obtain the plurality of second gamma curves corresponding to the target display brightness value, the target temperature value and the relevant frame rate value.
7. The method according to claim 2, characterized in that The method is applied to a first electronic device, and further includes: The multiple preset display brightness values, the multiple preset temperature values, the multiple preset frame rate values and the corresponding gamma curve are stored in the memory of the first electronic device in a preset order so as to obtain relevant display brightness values, relevant temperature values and relevant frame rate values based on the preset order.
8. A chip, characterized in that: The chip comprises: A target parameter acquisition module is used to obtain the current target display brightness value, target temperature value and target frame rate value of the display device; A first gamma curve determination module, configured to obtain a plurality of first gamma curves corresponding to the target display brightness value according to the target display brightness value, the target temperature value and the target frame rate value; A second gamma curve determination module, configured to obtain a plurality of second gamma curves corresponding to the target display brightness value and the target temperature value according to the target temperature value, the target frame rate value and the plurality of first gamma curves; The target gamma curve determination module is used to obtain a target gamma curve corresponding to the target display brightness value, the target temperature value and the target frame rate value according to the target frame rate value and the plurality of second gamma curves.
9. A display device, characterized in that: The device comprises a plurality of display units and at least one chip according to claim 8.
10. The display device according to claim 9, 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.
11. An electronic device comprising the display device according to claim 9 or 10.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 7 when executing the instructions stored in the memory.
13. 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 7 is implemented.