CN114038371B - Gamma adjustment method, related device and storage medium - Google Patents

Gamma adjustment method, related device and storage medium Download PDF

Info

Publication number
CN114038371B
CN114038371B CN202111359645.0A CN202111359645A CN114038371B CN 114038371 B CN114038371 B CN 114038371B CN 202111359645 A CN202111359645 A CN 202111359645A CN 114038371 B CN114038371 B CN 114038371B
Authority
CN
China
Prior art keywords
gamma
value
adjustment
panel
gamma value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111359645.0A
Other languages
Chinese (zh)
Other versions
CN114038371A (en
Inventor
杨安明
刘露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Huaxing Photoelectric Technology Co Ltd
Original Assignee
TCL Huaxing Photoelectric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Huaxing Photoelectric Technology Co Ltd filed Critical TCL Huaxing Photoelectric Technology Co Ltd
Priority to CN202111359645.0A priority Critical patent/CN114038371B/en
Publication of CN114038371A publication Critical patent/CN114038371A/en
Application granted granted Critical
Publication of CN114038371B publication Critical patent/CN114038371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Abstract

The embodiment of the disclosure discloses a gamma adjustment method, a related device and a storage medium, wherein the method comprises the following steps: the panel to be calibrated is lightened; obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted; determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated; and performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjustment gamma value. The surface temperature of the panel to be calibrated is obtained in real time, and the gamma value corresponding to the surface temperature is determined and used as the calibration gamma value. And then gamma adjustment is carried out by taking the adjustment gamma value as a reference to obtain a final brightness value, so that the technical problem that the adjustment is inaccurate due to the fact that a display panel heats in the process of adjusting the gamma value in the prior art is solved.

Description

Gamma adjustment method, related device and storage medium
Technical Field
The disclosure relates to the field of display, and in particular relates to a gamma adjustment method, a related device and a storage medium.
Background
Along with the development of technology, in order to make the display effect of the display more in line with the visual habit of human eyes, gamma adjustment is necessary after the display panel is manufactured. The gamma curve is a special tone curve which is 45 deg. to the coordinate axis when the gamma value is equal to 1, which indicates that the input and output densities are the same. A gamma value higher than 1 will cause the output image gray to tend to lighten, and a gamma value lower than 1 will cause the output to darken. Therefore, a display screen that has not undergone gamma adjustment affects the color brightness of the final output image. According to the study, when the gamma value is 2.2, the image output by the display is the best image.
The existing gamma value adjusting method is adjusted according to a standard gamma curve, and the existing adjusting method does not consider the situation that the display panel generates heat in the gamma value adjusting process to cause inaccurate adjustment.
Disclosure of Invention
The embodiment of the disclosure provides a gamma adjustment method, a related device and a storage medium, which can solve the technical problem that in the prior art, in the process of adjusting gamma values, a display panel can generate heat to cause inaccurate adjustment.
The embodiment of the disclosure provides a gamma adjustment method, which comprises the following steps:
the panel to be calibrated is lightened;
obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted;
determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated;
and performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjustment gamma value.
Optionally, the determining the calibration gamma value according to the surface temperature of the panel to be calibrated specifically includes:
and determining the adjustment gamma value according to the linear relation between the adjustment gamma value and the panel surface temperature.
Optionally, the adjustment gamma value is obtained by the following formula:
γ=kT+p
wherein, gamma is the adjustment gamma value, T is the surface temperature of the panel to be adjusted, k is a primary coefficient, and p is a constant coefficient.
Optionally, the standard adjustment parameter includes a standard gamma value and a standard brightness value, the standard brightness value is an optimal brightness value corresponding to each gray scale under the standard gamma value, and the gamma adjustment is performed according to the standard adjustment parameter and the adjustment gamma value to obtain a final brightness value, which specifically includes:
acquiring the difference between the adjustment gamma value and the standard gamma value as a temperature compensation adjustment value;
and determining the final brightness value according to the standard brightness value and the temperature compensation adjustment value.
Optionally, the final brightness value is obtained by the following formula:
wherein n is gray scale number, r is the temperature compensation adjustment value, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value, L n Is the optimal brightness value corresponding to the n-level gray scale under the standard gamma value.
Optionally, the standard calibration parameter includes a highest gray-scale brightness and a lowest gray-scale brightness, the highest gray-scale brightness is an optimal brightness value corresponding to 255 gray-scale, the lowest gray-scale brightness is an optimal brightness value corresponding to 0 gray-scale, and the gamma calibration is performed according to the standard calibration parameter and the calibration gamma value to obtain a final brightness value, which specifically includes:
and determining the final brightness value according to the optimal brightness value corresponding to the 255-level gray scale, the optimal brightness value corresponding to the 0-level gray scale and the adjustment gamma value.
Optionally, the final brightness value is obtained by the following formula:
wherein n is the gray scale number, gamma is the adjustment gamma value, L 255 For the highest gray-scale brightness, L 0 For the lowest gray-scale brightness, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value.
In another aspect, the present disclosure provides a gamma adjusting apparatus, including:
the lighting module is used for lighting the panel to be calibrated;
the acquisition module is used for acquiring standard adjustment parameters and the surface temperature of the panel to be adjusted;
the determining module is used for determining a regulating gamma value according to the surface temperature of the panel to be regulated, wherein the regulating gamma value is a gamma value corresponding to the surface temperature of the panel to be regulated;
and the adjusting module is used for carrying out gamma adjustment according to the standard adjusting parameter and the adjusting gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjusting gamma value.
Optionally, the determining module includes:
and the adjustment value determining unit is used for determining the adjustment gamma value according to the linear relation between the adjustment gamma value and the panel surface temperature.
Optionally, the determining module includes a first calculating unit, where the first calculating unit is configured to calculate the adjustment gamma value according to the following formula:
γ=kT+p
wherein, gamma is the adjustment gamma value, T is the surface temperature of the panel to be adjusted, k is a primary coefficient, and p is a constant coefficient.
Optionally, the standard calibration parameter includes a standard gamma value and a standard brightness value, where the standard brightness value is an optimal brightness value corresponding to each gray scale under the standard gamma value, and the calibration module includes:
a compensation value determining unit, configured to obtain a difference between the adjustment gamma value and the standard gamma value as a temperature compensation adjustment value;
and the brightness value determining unit is used for determining the final brightness value according to the standard brightness value and the temperature compensation adjustment value.
Optionally, the adjustment module includes a second calculation unit, where the second calculation unit is configured to calculate the final brightness value according to the following formula:
wherein n is gray scale number, r is the temperature compensation adjustment value, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value, L n Is the optimal brightness value corresponding to the n-level gray scale under the standard gamma value.
Optionally, the standard adjustment parameters include a highest gray-scale brightness and a lowest gray-scale brightness, the highest gray-scale brightness is an optimal brightness value corresponding to 255 gray-scale, the lowest gray-scale brightness is an optimal brightness value corresponding to 0 gray-scale, and the adjustment module includes:
and the result determining unit is used for determining the final brightness value according to the optimal brightness value corresponding to the 255-level gray scale, the optimal brightness value corresponding to the 0-level gray scale and the adjustment gamma value.
Optionally, the adjustment module includes a third calculation unit, where the third calculation unit is configured to calculate the final brightness value according to the following formula:
wherein n is the gray scale number, gamma is the adjustment gamma value, L 255 For the highest gray-scale brightness, L 0 For the lowest gray-scale brightness, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value.
In another aspect, the present disclosure also provides a computer device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the gamma adjustment method.
In another aspect, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program that is loaded by a processor to perform steps in a gamma adjustment method.
In the embodiment of the disclosure, the surface temperature of the panel to be calibrated is obtained in real time, and the gamma value corresponding to the surface temperature is determined as the calibration gamma value. And then gamma adjustment is carried out by taking the adjustment gamma value as a reference to obtain a final brightness value, so that the technical problem that the adjustment is inaccurate due to the fact that a display panel heats in the process of adjusting the gamma value in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to those skilled in the art.
FIG. 1 is an environmental diagram of an implementation of a gamma adjustment method provided in one embodiment.
Fig. 2 is a flow chart illustrating a gamma adjustment method according to an exemplary embodiment.
Fig. 3 is a flowchart of a specific implementation of step S400 in the gamma adjustment method according to the corresponding embodiment of fig. 2.
Fig. 4 is a block diagram illustrating a gamma adjustment device according to an exemplary embodiment.
Fig. 5 schematically shows an example block diagram of an electronic device for implementing the gamma adjustment method described above.
Fig. 6 schematically illustrates a computer readable storage medium for implementing the gamma adjustment method described above.
Detailed Description
The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of the disclosure. Furthermore, it should be understood that the detailed description is presented herein for purposes of illustration and explanation only and is not intended to limit the disclosure. In this disclosure, unless otherwise indicated, terms of orientation such as "upper" and "lower" are used to generally refer to the upper and lower positions of the device in actual use or operation, and in particular to the orientation of the drawing figures; while "inner" and "outer" are for the outline of the device.
The embodiment of the disclosure provides a gamma adjustment method, a related device and a storage medium. The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a diagram of an implementation environment of a gamma adjustment method according to an embodiment, as shown in fig. 1, in the implementation environment, a panel to be adjusted 100, a debugging device 200, and a data collector 300 are included.
The panel to be calibrated 100 is a module installed in any device requiring a display interface and providing the display interface for the device. The panel to be calibrated 100 may be installed in a mobile terminal, a wearable device, a display, a home appliance, a machine tool, a robot, and various other devices requiring a display interface. The debugging device 200 is a device used by a user to perform gamma debugging of the panel 100 to be debugged. The data collector 300 is a device for collecting various data parameters of the panel 100 to be calibrated, and is installed on the panel 100 to be calibrated, and includes various sensors for obtaining standard calibration parameters and the surface temperature of the panel 100 to be calibrated. In the use process, the debugging device 200 controls the panel 100 to be calibrated to be lightened, the data collector 300 acquires standard calibration parameters and the surface temperature of the panel 100 to be calibrated, and sends the standard calibration parameters and the surface temperature of the panel 100 to be calibrated to the debugging device 200, the debugging device 200 determines a calibration gamma value according to the surface temperature of the panel 100 to be calibrated, the calibration gamma value is a gamma value corresponding to the surface temperature of the panel 100 to be calibrated, and then gamma calibration is performed according to the standard calibration parameters and the calibration gamma value to obtain a final brightness value, and the final brightness value is an optimal brightness value corresponding to each gray scale under the calibration gamma value.
It should be noted that, the debugging device 200 may be connected to the panel 100 to be calibrated and the data collector 300 through a wired-wireless or other communication connection manner, which is not limited herein.
As shown in fig. 2, in one embodiment, a gamma adjustment method is provided, and the gamma adjustment method may be applied to the above-mentioned debugging device 200, and specifically may include the following steps:
step S100, the panel to be calibrated is lightened.
Before gamma adjustment, the panel to be adjusted needs to be lighted first, so that the adjustment device 200 obtains standard adjustment parameters such as a gamma curve of the panel to be adjusted and the surface temperature of the panel to be adjusted through the data collector 300.
And step 200, obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted.
After the panel to be calibrated is lightened, standard calibration parameters such as the surface temperature of the panel to be calibrated, the gamma curve of the panel to be calibrated and the like can be obtained.
The method for obtaining the surface temperature of the panel to be calibrated may be to obtain the ambient temperature around the panel to be calibrated 100 through the data collector 300 with the thermosensitive device, where the thermosensitive device converts the ambient temperature into an electrical signal, and thus the backlight temperature corresponding to the backlight can be obtained.
The method for obtaining the surface temperature of the panel to be calibrated may also be to obtain the infrared light wave emitted by the surface of the panel to be calibrated 100 through the data collector 300 with the infrared temperature measuring component, and the infrared temperature measuring component can obtain the backlight temperature corresponding to the backlight according to the wavelength by calculating the wavelength of the infrared light wave.
In the above embodiment, whether the data collector 300 with a thermosensitive device is used to obtain the ambient temperature around the panel 100 to be calibrated, or the data collector 300 with an infrared temperature measuring component is used to obtain the infrared light wave emitted from the surface of the panel 100 to be calibrated, the accuracy of the measured temperature is related to the distance between the detection device and the panel 100 to be calibrated.
Thus, in one embodiment of the present disclosure, a distance component for performing distance detection may be further disposed in the data collector 300, and the debugging device 200 may measure the distance of the data collector 300 from the panel to be calibrated 100 through the distance component. And then correcting the measured temperature according to the distance to obtain a more accurate temperature value.
In an actual application scenario, if only the standard calibration parameters are used, the actual display gamma value calibrated at the standard temperature can be guaranteed to be 2.2, but once the temperature deviates from the standard temperature by a large amount, the actual display gamma value deviates from 2.2 by a large amount. It is necessary to determine a gamma value suitable for the panel to be calibrated according to the surface temperature of the panel to be calibrated.
And step S300, determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated.
In an actual application scenario, if the actual gamma value of the actual display, which is calibrated at the standard temperature, can be guaranteed to be 2.2 only according to the standard calibration parameters, but when the temperature is higher, the actual gamma value of the actual display is lower, so that the applicable calibration gamma value of the actual display is not supposed to be 2.2, but is supposed to be a higher value than 2.2. The lower the temperature, the higher the gamma value actually displayed, so the proper calibration gamma value should not be 2.2 and should be a value lower than 2.2 at the time of its calibration.
In the embodiment of the disclosure, after the surface temperature of the panel to be calibrated is obtained, the calibration gamma value can be determined according to the surface temperature of the panel to be calibrated.
The specific manner of determining the calibration gamma value according to the surface temperature of the panel to be calibrated 100 may be determined according to a table of relationship between the surface temperature and the calibration gamma value, or may be determined according to a curve of relationship between the surface temperature and the calibration gamma value, or may be determined according to a formula of relationship between the surface temperature and the calibration gamma value, which is not limited herein.
In the embodiment of the disclosure, the above relation table and formula may be obtained by testing the panel of the model to obtain the adjustment gamma values corresponding to different test temperatures before correction, then recording the adjustment gamma values to obtain the relation table of the surface temperature and the adjustment gamma values, and then fitting the relation table according to the adjustment gamma values corresponding to different test temperatures to obtain the relation curve of the surface temperature and the adjustment gamma values, and finally obtaining the relation formula of the surface temperature and the adjustment gamma values according to the relation curve of the surface temperature and the adjustment gamma values.
Specifically, the implementation of step 300 may be:
and determining the adjustment gamma value according to the linear relation between the adjustment gamma value and the panel surface temperature.
Generally, the higher the surface temperature of the panel, the lower the gamma value actually displayed, so the higher the proper calibration gamma value should be. The lower the temperature, the higher the gamma value actually displayed, so the lower the applicable calibration gamma value should be at the time of its calibration. Namely, the adjustment gamma value and the panel surface temperature are in positive correlation. Meanwhile, according to the simulation result, the gamma value and the panel surface temperature are regulated to be in a linear relation.
Therefore, the calibration gamma value can be determined according to the positive correlation linear relation between the calibration gamma value and the panel surface temperature.
Alternatively, the above step may determine the calibration gamma value by the following formula:
γ=kT+p
wherein, gamma is the adjustment gamma value, T is the surface temperature of the panel to be adjusted, k is a primary coefficient, and p is a constant coefficient.
In this embodiment, the accurate calibration gamma value can be obtained by calculation through the above formula. For different types of display panels, the k value and the p value of the display panels are different.
For example, in one embodiment, the display panel has a calibration gamma value of 2.2 at a standard temperature of 28 ℃; at a higher temperature of 44 ℃, the gamma value of the display panel is adjusted to be 2.4; at a lower temperature of 12 ℃, the gamma value of the display panel is adjusted to 2.0. Its k value is 0.0125 and p value is 1.85. It can be calculated that the display panel has a gamma value of 2.1 at 20 c.
Step S400, performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray scale under the adjustment gamma value.
After the adjustment gamma value is determined, gamma adjustment can be performed according to the standard adjustment parameter and the adjustment gamma value, and the optimal brightness value corresponding to each gray level under the adjustment gamma value, namely the final brightness value, is obtained.
According to the display panel temperature adjusting method and device, the adjusting gamma value related to the panel surface temperature is added on the basis of the standard adjusting parameter, the adjusting gamma value is used as a reference for gamma adjustment, the final brightness value is obtained, and the technical problem that in the prior art, in the process of adjusting the gamma value, the display panel can heat to cause inaccurate adjustment is solved.
For step S400 shown in fig. 2, embodiments of the present disclosure provide a number of specific implementations, as set forth in detail below:
embodiment one:
specifically, in some embodiments, the standard adjustment parameters include a highest gray-scale brightness and a lowest gray-scale brightness, where the highest gray-scale brightness is an optimal brightness value corresponding to a gray-scale of 255, and the lowest gray-scale brightness is an optimal brightness value corresponding to a gray-scale of 0, and step S400 may include the following steps:
and determining the final brightness value according to the optimal brightness value corresponding to the 255-level gray scale, the optimal brightness value corresponding to the 0-level gray scale and the adjustment gamma value.
After the corresponding adjustment gamma value is determined, the embodiment can take the ratio of the gray scale number to the total gray scale number as a base, take the adjustment gamma value as an index, multiply the difference between the highest gray scale brightness and the lowest gray scale brightness, and add the lowest gray scale brightness to obtain the optimal brightness of each gray scale number, namely, obtain the final brightness value.
Alternatively, the above steps may determine the final luminance value by the following formula:
wherein n is the gray scale number, gamma is the adjustment gamma value, L 255 For the highest gray-scale brightness, L 0 For the lowest gray-scale brightness, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value.
Generally, the optimal brightness of each gray level is determined according to the highest gray level brightness, the lowest gray level brightness and the adjustment gamma value, and can be directly and accurately calculated through the above formula.
For example, in one embodiment, the surface temperature of the display panel is 44 ℃, the determined calibration gamma value is 2.4, the highest gray-scale brightness is 400nit, the lowest gray-scale brightness is 10nit, and the optimal brightness value corresponding to each gray-scale can be calculated, for example, the optimal brightness value corresponding to 102 gray-scale is 53.25nit.
According to the first embodiment, the final brightness value is calculated according to the optimal brightness calculation formula, so that the result is accurate and the error is smaller.
Embodiment two:
specifically, in other embodiments, the specific implementation of step S400 may refer to fig. 3. Fig. 3 is a detailed description of step S400 in the gamma adjustment method according to the corresponding embodiment of fig. 2, where the standard adjustment parameters include a standard gamma value and a standard brightness value, where the standard brightness value is an optimal brightness value corresponding to each gray scale under the standard gamma value, step S400 may include the following steps:
step S410, obtaining the difference between the calibration gamma value and the standard gamma value as a temperature compensation calibration value.
Step S420, determining the final brightness value according to the standard brightness value and the temperature compensation adjustment value.
The present embodiment proposes a more simplified way of determining the final luminance value than the first embodiment. In this embodiment, the standard calibration parameters include only the standard gamma value, the standard luminance value, and generally, the theoretical value should be 0 for the lowest gray-scale luminance of the display panel, but since the lowest gray-scale luminance is generally a value close to 0, for example, 1nit, 5nit, 10nit, etc., the lowest gray-scale luminance can be taken as 0, and at this time, a certain multiple relationship between the final luminance value and the standard luminance value can be obtained, and the multiple relationship can be determined first, and then the final luminance value can be determined according to the determined multiple.
Wherein. If the multiple relation needs to be calculated, the difference between the adjustment gamma value and the standard gamma value needs to be calculated first to be used as the temperature compensation adjustment value. The calculation method is that the calibration gamma value is subtracted by the standard gamma value, for example, when the calibration gamma value is 2.4, the temperature compensation calibration value can be calculated to be 0.2, and when the calibration gamma value is 2.0, the temperature compensation calibration value can be calculated to be-0.2.
Alternatively, the above step S420 may determine the final luminance value by the following formula:
wherein n is gray scale number, r is the temperature compensation adjustment value, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value, L n Is the optimal brightness value corresponding to the n-level gray scale under the standard gamma value.
When the lowest gray-scale luminance is taken to be 0, it can be derived from the formula of embodiment 1:
for example, in one embodiment, the surface temperature of the display panel is 44 ℃, the determined adjustment gamma value corresponds to 2.4, the temperature compensation value is 0.2, the optimal brightness value corresponding to the 102-order gray scale under the standard gamma value of 2.2 is 61.95, the optimal brightness value corresponding to the 102-order gray scale under the adjustment gamma value is 51.58, the error between the adjustment gamma value and the accurate value calculated by the formula in the first embodiment is within 3%, the calculation method of the embodiment is simpler and more convenient, the efficiency of determining the final brightness value can be improved, the data to be stored is less, and the data storage space is reduced.
In other embodiments of the present disclosure, the distance between the data collector 300 and the panel to be calibrated 100 may also be introduced as another factor for determining the calibration gamma value, and in general, the further the distance between the data collector 300 and the panel to be calibrated 100, the lower the actual gamma value displayed, so the higher the applicable calibration gamma value should be. The closer the data collector 300 is to the panel 100 to be calibrated, the higher the gamma value actually displayed, so the lower the suitable calibration gamma value should be at the time of its calibration. That is, the adjustment gamma value and the distance between the data collector 300 and the panel 100 to be adjusted are in positive correlation. Meanwhile, according to the simulation result, the adjustment gamma value and the distance between the data collector 300 and the panel 100 to be adjusted are in a linear relationship.
It can be determined that the calibration gamma value has a positive correlation with the distance between the data collector 300 and the panel 100 to be calibrated.
In this embodiment, the distance between the calibration gamma value and the data collector 300 from the panel 100 to be calibrated conforms to the following formula:
γ=hS+q
wherein γ is the adjustment gamma value, S is the distance between the data collector 300 and the panel 100 to be adjusted, h is a first order coefficient, and q is a constant coefficient.
In this embodiment, the accurate calibration gamma value can be obtained by calculation through the above formula. For different types of display panels, the h value and the q value of the display panels are different.
Then, in the present embodiment, the adjustment gamma value may be determined by the following formula:
γ=kT+hS+p+q
wherein γ is the gamma value, T is the surface temperature of the panel to be calibrated, k is the primary term coefficient of the temperature term, S is the distance between the data collector 300 and the panel to be calibrated 100, h is the primary term coefficient of the distance term, and p and q are both constant coefficients.
After calculating the adjustment gamma value, the adjustment gamma value may be substituted into the gamma adjustment methods of the first and second embodiments, or substituted into the formulas of the first and second embodiments to obtain the final brightness value.
Compared with the previous embodiments, the basis for determining the gamma value of the adjustment is not only the surface temperature of the panel to be adjusted, but also the distance between the data collector 300 and the panel to be adjusted 100, and the distance value can be used for correcting the temperature value measured by the data collector, so as to improve the accuracy of temperature measurement, thereby more accurately determining the gamma value of the adjustment and improving the accuracy of gamma adjustment.
As shown in fig. 4, in one embodiment, a gamma adjustment device is provided, which may be integrated in the above-mentioned debugging device 200, and specifically may include a lighting module 210, an obtaining module 220, a determining module 230, and an adjustment module 240.
The lighting module 210 is used for lighting the panel to be calibrated.
The obtaining module 220 is configured to obtain the standard calibration parameter and the surface temperature of the panel to be calibrated.
The determining module 230 is configured to determine a calibration gamma value according to the surface temperature of the panel to be calibrated, where the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated.
The adjustment module 240 is configured to perform gamma adjustment according to the standard adjustment parameter and the adjustment gamma value, so as to obtain a final brightness value, where the final brightness value is an optimal brightness value corresponding to each gray level under the adjustment gamma value.
Optionally, the determining module includes:
and the adjustment value determining unit is used for determining the adjustment gamma value according to the linear relation between the adjustment gamma value and the panel surface temperature.
Optionally, the adjustment gamma value is obtained by the following formula:
γ=kT+p
wherein, gamma is the adjustment gamma value, T is the surface temperature of the panel to be adjusted, k is a primary coefficient, and p is a constant coefficient.
Optionally, the standard calibration parameter includes a standard gamma value and a standard brightness value, where the standard brightness value is an optimal brightness value corresponding to each gray scale under the standard gamma value, and the calibration module includes:
a compensation value determining unit, configured to obtain a difference between the adjustment gamma value and the standard gamma value as a temperature compensation adjustment value;
and the brightness value determining unit is used for determining the final brightness value according to the standard brightness value and the temperature compensation adjustment value.
Optionally, the final brightness value is obtained by the following formula:
wherein n is gray scale number, r is the temperature compensation adjustment value, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value, L n Is the optimal brightness value corresponding to the n-level gray scale under the standard gamma value.
Optionally, the standard adjustment parameters include a highest gray-scale brightness and a lowest gray-scale brightness, the highest gray-scale brightness is an optimal brightness value corresponding to 255 gray-scale, the lowest gray-scale brightness is an optimal brightness value corresponding to 0 gray-scale, and the adjustment module includes:
and the result determining unit is used for determining the final brightness value according to the optimal brightness value corresponding to the 255-level gray scale, the optimal brightness value corresponding to the 0-level gray scale and the adjustment gamma value.
Optionally, the final brightness value is obtained by the following formula:
wherein n is the gray scale number, gamma is the adjustment gamma value, L 255 For the highest gray-scale brightness, L 0 For the lowest gray-scale brightness, L n ' is the optimal brightness value corresponding to the n-level gray scale under the adjustment gamma value.
The implementation process of the functions and actions of each module in the above device is specifically shown in the implementation process of the corresponding steps in the gamma adjustment method, and will not be described herein.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to such an embodiment of the invention is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 500 is embodied in the form of a general purpose computing device. The components of electronic device 500 may include, but are not limited to: the at least one processing unit 510, the at least one memory unit 520, and a bus 530 connecting the various system components, including the memory unit 520 and the processing unit 510.
Wherein the storage unit stores program code that is executable by the processing unit 510 such that the processing unit 510 performs steps according to various exemplary embodiments of the present invention described in the above section of the "exemplary method" of the present specification. For example, the processing unit 510 may perform step S100 shown in fig. 2 to light the panel to be calibrated. And step 200, obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted. And step S300, determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated. Step S400, performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray scale under the adjustment gamma value.
The storage unit 520 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 5201 and/or cache memory unit 5202, and may further include Read Only Memory (ROM) 5203.
The storage unit 520 may also include a program/utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 530 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 500, and/or any device (e.g., router, modem, etc.) that enables the electronic device 500 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 550. Also, electronic device 500 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 560. As shown, network adapter 560 communicates with other modules of electronic device 500 over bus 530. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 500, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 6, a program product 600 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules. The foregoing has described in detail a display device and a display panel thereof provided by embodiments of the present disclosure, and specific examples have been applied herein to illustrate principles and embodiments of the present disclosure, the above description of the embodiments being only for aiding in understanding of the method of the present disclosure and its core ideas; meanwhile, as those skilled in the art will appreciate from the idea of the present disclosure, there are variations in the specific embodiments and the application scope, and in light of the above, the present disclosure should not be construed as being limited to the present disclosure.

Claims (5)

1. A gamma adjustment method, comprising:
the panel to be calibrated is lightened;
obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted;
determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated;
performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjustment gamma value;
the determining the adjustment gamma value according to the surface temperature of the panel to be adjusted specifically includes:
determining a calibration gamma value according to the linear relation between the calibration gamma value and the panel surface temperature;
the adjustment gamma value is obtained by the following formula:
wherein,for said tuning gamma value, +.>For the surface temperature of the panel to be calibrated, < >>For the primary term coefficient->Is a constant coefficient;
the standard adjustment parameters comprise standard gamma values and standard brightness values, the standard brightness values are optimal brightness values corresponding to gray scales of each level under the standard gamma values, and gamma adjustment is performed according to the standard adjustment parameters and the adjustment gamma values to obtain final brightness values, and the method specifically comprises the following steps:
acquiring the difference between the adjustment gamma value and the standard gamma value as a temperature compensation adjustment value;
determining the final brightness value according to the standard brightness value and the temperature compensation adjustment value;
the final brightness value is obtained by the following formula:
wherein,for gray scale +.>For the temperature compensation adjustment value, +.>To adjust the gamma value +.>Optimal luminance value corresponding to gray scale +.>For +.>The gray scale corresponds to the optimal luminance value.
2. A gamma adjustment method, comprising:
the panel to be calibrated is lightened;
obtaining standard adjustment parameters and the surface temperature of the panel to be adjusted;
determining a calibration gamma value according to the surface temperature of the panel to be calibrated, wherein the calibration gamma value is a gamma value corresponding to the surface temperature of the panel to be calibrated;
performing gamma adjustment according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjustment gamma value;
the determining the adjustment gamma value according to the surface temperature of the panel to be adjusted specifically includes:
determining a calibration gamma value according to the linear relation between the calibration gamma value and the panel surface temperature;
the adjustment gamma value is obtained by the following formula:
wherein,for said tuning gamma value, +.>For the surface temperature of the panel to be calibrated, < >>For the primary term coefficient->Is a constant coefficient;
the standard calibration parameters include highest gray-scale brightness and lowest gray-scale brightness, the highest gray-scale brightness is an optimal brightness value corresponding to 255 gray-scale, the lowest gray-scale brightness is an optimal brightness value corresponding to 0 gray-scale, and the gamma calibration is performed according to the standard calibration parameters and the calibration gamma value to obtain a final brightness value, which specifically includes:
determining the final brightness value according to the optimal brightness value corresponding to the 255 th gray scale, the optimal brightness value corresponding to the 0 th gray scale and the adjustment gamma value; wherein the final brightness value is obtained by the following formula:
wherein,for gray scale +.>For said tuning gamma value, +.>For the highest gray-scale brightness->For the brightness of the lowest gray level,to adjust the gamma value +.>The gray scale corresponds to the optimal luminance value.
3. A gamma adjustment device, the gamma adjustment device comprising:
the lighting module is used for lighting the panel to be calibrated;
the acquisition module is used for acquiring standard adjustment parameters and the surface temperature of the panel to be adjusted;
the determining module is used for determining a regulating gamma value according to the surface temperature of the panel to be regulated, wherein the regulating gamma value is a gamma value corresponding to the surface temperature of the panel to be regulated;
the adjusting module is used for carrying out gamma adjustment according to the standard adjusting parameter and the adjusting gamma value to obtain a final brightness value, wherein the final brightness value is an optimal brightness value corresponding to each gray level under the adjusting gamma value;
the determining module includes:
the adjusting value determining unit is used for determining an adjusting gamma value according to the linear relation between the adjusting gamma value and the surface temperature of the panel;
the adjustment gamma value is obtained by the following formula:
wherein,for said tuning gamma value, +.>For the surface temperature of the panel to be calibrated, < >>For the primary term coefficient->Is a constant coefficient;
the gamma adjustment device is configured to implement the gamma adjustment method of claim 1 or 2.
4. A computer device, the computer device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the gamma adjustment method of any of claims 1-2.
5. A computer readable storage medium, having stored thereon a computer program, the computer program being loaded by a processor to perform the steps of the gamma adjustment method according to any of claims 1 to 2.
CN202111359645.0A 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium Active CN114038371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111359645.0A CN114038371B (en) 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111359645.0A CN114038371B (en) 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium

Publications (2)

Publication Number Publication Date
CN114038371A CN114038371A (en) 2022-02-11
CN114038371B true CN114038371B (en) 2023-12-29

Family

ID=80137873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111359645.0A Active CN114038371B (en) 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium

Country Status (1)

Country Link
CN (1) CN114038371B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020018900A (en) * 2000-09-04 2002-03-09 김영남 Method And Apparatus Of Gamma Correction In Plasma Display Pannel
CN102549649A (en) * 2009-10-07 2012-07-04 夏普株式会社 Liquid crystal display device
CN112071267A (en) * 2020-09-21 2020-12-11 Oppo(重庆)智能科技有限公司 Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium
CN112542139A (en) * 2021-01-03 2021-03-23 厦门特仪科技有限公司 OLED temperature control method and OLED gamma value adjusting method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6282156B2 (en) * 2014-03-31 2018-02-21 キヤノン株式会社 Image device, image processing method, control program, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020018900A (en) * 2000-09-04 2002-03-09 김영남 Method And Apparatus Of Gamma Correction In Plasma Display Pannel
CN102549649A (en) * 2009-10-07 2012-07-04 夏普株式会社 Liquid crystal display device
CN112071267A (en) * 2020-09-21 2020-12-11 Oppo(重庆)智能科技有限公司 Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium
CN112542139A (en) * 2021-01-03 2021-03-23 厦门特仪科技有限公司 OLED temperature control method and OLED gamma value adjusting method and system

Also Published As

Publication number Publication date
CN114038371A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN109036326B (en) Method and device for adjusting gamma curve of display panel
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN106767933A (en) The measuring system of depth camera error, measuring method, evaluation method and compensation method
CN107272821B (en) Real-time clock calibration method and device, storage medium and electronic equipment
CN114038372B (en) Gamma adjustment method, related device and storage medium
CN108717847B (en) DICOM calibration method, medical display device and computer storage medium
CN105304066A (en) Method and device for generating DICOM characteristic curve look-up table
CN110706637B (en) Display panel brightness compensation method, compensation device and display device
CN114038371B (en) Gamma adjustment method, related device and storage medium
CN114638411A (en) Carbon dioxide concentration prediction method, device, equipment and medium
CN110648634B (en) Backlight brightness determining and adjusting method and device, storage medium and electronic equipment
CN115431302B (en) Robot joint idle stroke measuring method and device, electronic equipment and storage medium
CN114141206B (en) Backlight correction method, related device and storage medium
CN111200467B (en) Calibration method and device for wireless parameters of chip and electronic equipment
CN114333670B (en) Gamma correction method and device, electronic equipment and storage medium
CN114613313A (en) Gamma parameter determination method and device for display screen, electronic equipment and storage medium
CN114222101A (en) White balance adjusting method and device and electronic equipment
CN114567324A (en) Digital-to-analog conversion error correction method and related device
CN109444061B (en) Allergen solution concentration detection method, device, equipment and storage medium
CN110535997A (en) A kind of calibration method, device, equipment and the storage medium of terminal screen light leakage
CN113534947A (en) Eyeball tracking-based display backlight control method and equipment
CN110827349B (en) Calibration method, system, computer equipment and storage medium
CN116907636B (en) Noise monitoring method and device
CN109994079B (en) Display brightness correction method, device and system
CN114265570B (en) Mobility detection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant