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

Gamma adjustment method, related device and storage medium Download PDF

Info

Publication number
CN114038372A
CN114038372A CN202111359652.0A CN202111359652A CN114038372A CN 114038372 A CN114038372 A CN 114038372A CN 202111359652 A CN202111359652 A CN 202111359652A CN 114038372 A CN114038372 A CN 114038372A
Authority
CN
China
Prior art keywords
gamma
value
calibration
standard
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.)
Granted
Application number
CN202111359652.0A
Other languages
Chinese (zh)
Other versions
CN114038372B (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 China Star Optoelectronics Technology Co Ltd
Original Assignee
TCL China Star Optoelectronics 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 China Star Optoelectronics Technology Co Ltd filed Critical TCL China Star Optoelectronics Technology Co Ltd
Priority to CN202111359652.0A priority Critical patent/CN114038372B/en
Publication of CN114038372A publication Critical patent/CN114038372A/en
Application granted granted Critical
Publication of CN114038372B publication Critical patent/CN114038372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Picture Signal Circuits (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the disclosure discloses a gamma adjustment method, a related device and a storage medium, which are applied to a debugging device connected with an electric signal of a data acquisition unit, wherein the method comprises the following steps: lightening a panel to be adjusted; acquiring a standard calibration parameter and a detection distance parameter through the data acquisition unit, wherein the detection distance parameter is the distance between the data acquisition unit and the panel to be calibrated; determining an adjustment gamma value according to the detection distance parameter, wherein the adjustment gamma value is a gamma value corresponding to the detection distance parameter; and performing gamma calibration according to the standard calibration parameters and the calibration 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 calibration gamma value. The method and the device solve the technical problem that in the prior art, the detection distance influences the accuracy of the standard calibration parameters collected by the data collector, and further the gamma correction is inaccurate.

Description

Gamma adjustment method, related device and storage medium
Technical Field
The disclosure relates to the field of display, and in particular, to a gamma adjustment method, a related device and a storage medium.
Background
With the development of the technology, in order to make the display effect of the display more conform to the visual habit of human eyes, gamma adjustment must be performed after the display panel is manufactured. The gamma curve is a special tone curve, and when the gamma value is equal to 1, the curve is a straight line having an angle of 45 ° with the coordinate axis, which represents that the input and output densities are the same. Gamma values above 1 will cause the output image to tend to be brighter, and gamma values below 1 will cause the output to be darker. Therefore, the display screen without gamma adjustment will affect the color brightness of the final output image. According to the research, when the gamma value is 2.2, the image output by the display is the best image.
The existing gamma value adjusting method is used for adjusting according to a standard gamma curve, the distance between a data collector and a panel to be adjusted influences the accuracy of the data collector for collecting standard adjusting parameters in the process of adjusting the gamma value, and the condition that the adjustment is inaccurate due to the factors is not considered in the existing adjusting method.
Disclosure of Invention
The embodiment of the disclosure provides a gamma correction method, a related device and a storage medium, which can solve the technical problem that in the prior art, the detection distance influences the accuracy of standard correction parameters acquired by a data acquisition unit, so that the gamma correction is inaccurate.
The embodiment of the disclosure provides a gamma adjustment method, which is applied to a debugging device connected with an electric signal of a data collector, and the gamma adjustment method comprises the following steps:
lightening a panel to be adjusted;
acquiring a standard calibration parameter and a detection distance parameter through the data acquisition unit, wherein the detection distance parameter is the distance between the data acquisition unit and the panel to be calibrated;
determining an adjustment gamma value according to the detection distance parameter, wherein the adjustment gamma value is a gamma value corresponding to the detection distance parameter;
and performing gamma calibration according to the standard calibration parameters and the calibration 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 calibration gamma value.
Optionally, the determining the calibration gamma value according to the detection distance parameter specifically includes:
and determining the calibration gamma value according to the linear relation between the calibration gamma value and the detection distance parameter.
Optionally, the calibration gamma value is obtained by the following formula:
γ=hS+q
wherein γ is the calibration gamma value, S is a detection distance parameter, h is a first order coefficient, and q is a constant coefficient.
Optionally, the standard calibration parameters include a standard gamma value and a standard brightness value, the standard brightness value is an optimal brightness value corresponding to each gray level under the standard gamma value, 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:
acquiring the difference between the calibration gamma value and the standard gamma value as a compensation calibration value;
and determining the final brightness value according to the standard brightness value and the compensation adjustment value.
Optionally, the final brightness value is obtained by the following formula:
Figure BDA0003358643580000021
wherein n is the gray scale order, r is the compensation tuning value, Ln' is an optimum brightness value, L, corresponding to n-level gray scale under the adjusted gamma valuenThe gamma value is the best brightness value corresponding to n-step gray scale under the standard gamma value.
Optionally, the standard calibration 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 a 255-level gray scale, the lowest gray scale brightness is an optimal brightness value corresponding to a 0-level 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:
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 calibration gamma value.
Optionally, the final brightness value is obtained by the following formula:
Figure BDA0003358643580000022
wherein n is the gray scale order, γ is the gamma value, L255At the highest gray-scale brightness, L0At the lowest gray scale luminance, Ln' is the optimum brightness value corresponding to n-step gray scale under the adjusted gamma value.
On the other hand, this disclosure provides a gamma timing device, is applied to in the debugging equipment who is connected with data collection station electrical signal, gamma timing device includes:
the lighting module is used for lighting the panel to be adjusted;
the acquisition module is used for acquiring standard calibration parameters and detection distance parameters through the data acquisition unit, wherein the detection distance parameters are the distance between the data acquisition unit and the panel to be calibrated;
the determining module is used for determining an adjusting gamma value according to the detection distance parameter, wherein the adjusting gamma value is a gamma value corresponding to the detection distance parameter;
and the adjusting module is used for carrying out gamma adjustment according to standard adjusting parameters 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 adjusting value determining unit is used for determining the adjusting gamma value according to the linear relation between the adjusting gamma value and the detecting distance parameter.
Optionally, the determining module includes a first calculating unit, and the first calculating unit is configured to calculate the calibration gamma value according to the following formula:
γ=hS+q
wherein γ is the calibration gamma value, S is a detection distance parameter, h is a first order coefficient, and q is a constant coefficient.
Optionally, the standard calibration 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 level under the standard gamma value, and the calibration module includes:
a compensation value determining unit, configured to obtain a difference between the calibration gamma value and the standard gamma value as a compensation calibration value;
and the brightness value determining unit is used for determining the final brightness value according to the standard brightness value and the compensation and adjustment value.
Optionally, the adjusting module includes a second calculating unit, and the second calculating unit is configured to calculate the final brightness value according to the following formula:
Figure BDA0003358643580000031
wherein n is the gray scale order, r is the compensation tuning value, Ln' is an optimum brightness value, L, corresponding to n-level gray scale under the adjusted gamma valuenThe gamma value is the best brightness value corresponding to n-step gray scale under the standard gamma value.
Optionally, the standard calibration 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 a 255-level gray scale, and the lowest gray scale brightness is an optimal brightness value corresponding to a 0-level gray scale, where the calibration 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 adjusting module includes a third calculating unit, and the third calculating unit is configured to calculate the final brightness value according to the following formula:
Figure BDA0003358643580000041
wherein n is the gray scale order, γ is the gamma value, L255At the highest gray-scale brightness, L0At the lowest gray scale luminance, Ln' is the optimum brightness value corresponding to n-step gray scale under the adjusted gamma value.
In another aspect, the present disclosure also provides a computer device, including:
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 tuning method.
In another aspect, the present disclosure also provides a computer readable storage medium, on which a computer program is stored, the computer program being loaded by a processor to execute the steps in the gamma adjustment method.
In the embodiment of the present disclosure, the calibration gamma value is obtained by obtaining the distance between the data collector and the panel to be calibrated and correcting the gamma value to be calibrated according to the detection distance parameter. And then gamma calibration is carried out by taking the calibrated gamma value as a reference to obtain a final brightness value, so that the technical problem that in the prior art, the detection distance influences the accuracy of the data acquisition unit for acquiring standard calibration parameters, and further the gamma calibration is inaccurate is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is an implementation environment diagram of a gamma calibration method provided in an embodiment.
Fig. 2 is a flow chart illustrating a gamma tuning method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a specific implementation of step S400 in the gamma calibration method according to the corresponding embodiment of fig. 2.
Fig. 4 is a block diagram illustrating a gamma adjustment apparatus according to an exemplary embodiment.
Fig. 5 schematically shows an example block diagram of an electronic device for implementing the above gamma calibration method.
Fig. 6 schematically illustrates a computer readable storage medium for implementing the above-described gamma tuning method.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure. Furthermore, it should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, and are not intended to limit the present disclosure. In the present disclosure, unless otherwise specified, use of the directional terms "upper" and "lower" generally refer to upper and lower, and specifically to the orientation of the drawing figures in the drawings, in the actual use or operating condition of the device; while "inner" and "outer" are with respect to the outline of the device.
The embodiment of the disclosure provides a gamma adjustment method, a related device and a storage medium. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a diagram of an implementation environment of a gamma calibration method provided in an embodiment, as shown in fig. 1, in the implementation environment, a panel 100 to be calibrated, a debugging device 200, and a data collector 300 are included.
The panel 100 to be calibrated is a module that is installed in any device requiring a display interface and provides 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 other various devices requiring a display interface. The debugging apparatus 200 is an apparatus used by a user to perform gamma debugging of the panel to be calibrated 100. 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 acquiring standard calibration parameters and the distance from the data collector 300 to the panel 100 to be calibrated. In the using process, the debugging device 200 controls the panel 100 to be calibrated to be lighted, the data collector 300 obtains the standard calibration parameters and the detection distance parameters and sends the standard calibration parameters and the detection distance parameters to the debugging device 200, the debugging device 200 corrects the gamma value according to the detection distance parameters to obtain a calibration gamma value, the calibration gamma value is the gamma value corresponding to the detection distance parameters, and then gamma calibration is carried out according to the standard calibration parameters and the calibration gamma value to obtain a final brightness value, and the final brightness value is the optimal brightness value corresponding to each gray level under the calibration gamma value.
It should be noted that, the debugging device 200, the panel 100 to be calibrated, and the data collector 300 may be connected through wired or wireless or other communication connection manners, and the invention is not limited herein.
As shown in fig. 2, in an embodiment, a gamma calibration method is provided, which can be applied to the commissioning device 200 described above, and specifically includes the following steps:
step S100, light the panel to be calibrated.
Before the gamma calibration, the panel to be calibrated needs to be lighted up, so that the test equipment 200 can obtain standard calibration parameters such as a gamma curve of the panel to be calibrated and the surface temperature of the panel to be calibrated through the data collector 300.
Step S200, obtaining a standard calibration parameter and a detection distance parameter by the data collector, where the detection distance parameter is a distance from the data collector to the panel to be calibrated.
After the panel to be calibrated is lighted, the standard calibration parameters and the detection distance parameters, such as the highest gray-scale brightness and the lowest gray-scale brightness of the panel to be calibrated 100, acquired by the data acquisition unit 300 can be acquired, wherein the detection distance parameters are the distance from the data acquisition unit 300 to the panel to be calibrated 100.
The method for obtaining the detected distance parameter may be to measure the distance by using ultrasonic waves transmitted by the data acquisition device 300 with an ultrasonic distance measurement component, and the ultrasonic distance measurement component calculates the detected distance parameter by using a time interval between the transmission of the ultrasonic waves and the reception of the ultrasonic waves.
The method for obtaining the surface temperature of the panel to be calibrated may also be to measure the distance by using laser emitted from the data collector 300 with a laser temperature measurement component to obtain a detection distance parameter.
Generally, when the data collector 300 obtains the standard calibration parameters, a buffer pad is required to be disposed between the data collector 300 and the panel 100 to be calibrated in order to protect the panel 100 to be calibrated, so the method for obtaining the surface temperature of the panel to be calibrated may further measure the thickness of the buffer pad and use the thickness of the buffer pad as the detection distance parameter.
In an actual application scenario, if only the standard calibration parameters are used, the gamma value actually displayed at the standard distance can be guaranteed to be 2.2, but if the distance deviates from the standard distance more, the gamma value actually displayed deviates from 2.2 more. Therefore, it is necessary to determine the gamma value suitable for the detection distance parameter for calibration.
Step S300, determining an adjustment gamma value according to the detection distance parameter, where the adjustment gamma value is a gamma value corresponding to the detection distance parameter.
In a practical application scenario, if only the standard calibration parameters are used, the actually displayed gamma value calibrated at the standard distance can be guaranteed to be 2.2, but the lower the distance is, the lower the actually displayed gamma value is, so the calibration gamma value applicable in calibration should not be 2.2, but should be a value higher than 2.2. As the distance is closer, the gamma value actually displayed is higher, so that the calibration gamma value suitable for calibration should not be 2.2, but should be a value lower than 2.2.
In the embodiment of the disclosure, after the detection distance parameter is obtained, the calibration gamma value can be determined according to the detection distance parameter.
The specific manner of determining the calibration gamma value according to the surface temperature of the panel 100 to be calibrated may be determined according to the detection distance parameter and the calibration gamma value relation table, may also be determined according to the detection distance parameter and the calibration gamma value relation curve, and may also be determined according to the detection distance parameter and the calibration gamma value relation formula, which is not limited herein.
In the embodiment of the disclosure, the relationship table and the formula may be obtained by, before the calibration, testing the panel of the model to obtain calibration gamma values corresponding to different detection distances, then recording the calibration gamma values to obtain the relationship table of the detection distance parameters and the calibration gamma values, then fitting the calibration gamma values corresponding to different detection distance parameters to obtain the relationship curve of the detection distance parameters and the calibration gamma values, and finally obtaining the relationship formula of the detection distance parameters and the calibration gamma values according to the relationship curve of the detection distance parameters and the calibration gamma values.
Specifically, the implementation of step 300 may be:
and determining the calibration gamma value according to the linear relation between the calibration gamma value and the detection distance parameter.
Generally, the farther the detection distance parameter is, the lower the gamma value actually displayed, so the gamma value suitable for calibration should be higher. The closer the detection distance parameter is, the higher the gamma value actually displayed, so the applicable calibration gamma value should be lower during calibration. Namely, the calibration gamma value and the detection distance parameter are in positive correlation. Meanwhile, according to the simulation result, the gamma value is adjusted and calibrated to be in a linear relation with the detection distance parameter.
Therefore, the calibration gamma value can be determined according to the positive correlation linear relation between the calibration gamma value and the detection distance parameter.
Alternatively, the above step may determine the calibration gamma value by the following formula:
γ=hS+q
wherein γ is the calibration gamma value, S is a detection distance parameter, h is a first order coefficient, and q is a constant coefficient.
In this embodiment, the accurate calibration gamma value can be calculated by the above formula. The h value and the q value of the display panel are different for different models of display panels.
For example, in one embodiment, at a standard detection distance of 3mm, the gamma value of the display panel is 2.2; under the far detection distance of 5mm, the adjustment gamma value of the display panel is 2.4; at a lower detection distance of 1mm, the gamma value of the display panel is 2.0. The h value is 0.1 and the q value is 1.9. It can be calculated that the tuning gamma of the display panel is 2.5 at 6 mm.
Step S400, performing gamma calibration according to the standard calibration parameters and the calibration gamma value to obtain a final brightness value, where the final brightness value is an optimal brightness value corresponding to each gray level under the calibration gamma value.
And performing gamma calibration according to the standard calibration parameters and the calibration 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 calibration gamma value.
After the gamma value is determined, gamma adjustment can be performed according to the standard adjustment parameters and the adjustment gamma value, so as to obtain the optimal brightness value corresponding to each gray level under the adjustment gamma value, namely the final brightness value.
According to the method, the gamma value relevant to the surface temperature of the panel is added on the basis of the conventional standard calibration parameters, the gamma calibration is carried out by taking the calibration gamma value as a reference, the final brightness value is obtained, and the technical problem that the calibration is inaccurate due to the fact that the display panel generates heat in the process of calibrating the gamma value in the prior art is solved.
For step S400 shown in fig. 2, embodiments of the present disclosure provide a number of specific implementations, which are elaborated as follows:
the first implementation mode comprises the following steps:
specifically, in some embodiments, the standard calibration 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 a 255-level gray scale, and the lowest gray-scale brightness is an optimal brightness value corresponding to a 0-level gray scale, and the 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 calibration gamma value.
After the corresponding calibration gamma value is determined, the optimal brightness of each gray scale order can be obtained by taking the ratio of the gray scale order to the total order as the base, taking the calibration gamma value as an index, multiplying the difference between the highest gray scale brightness and the lowest gray scale brightness, and adding the lowest gray scale brightness, so as to obtain the final brightness value.
Alternatively, the above steps may determine the final brightness value by the following formula:
Figure BDA0003358643580000091
wherein n is the gray scale order, γ is the gamma value, L255At the highest gray-scale brightness, L0At the lowest gray scale luminance, Ln' is the optimum brightness value corresponding to n-step gray scale under the adjusted 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 calibration gamma value, and can be directly and accurately calculated through the formula.
For example, in one embodiment, the detection distance of the data collector 300 is 5mm, the determined calibration gamma value is 2.4, the highest gray-scale brightness is 400nit, and the lowest gray-scale brightness is 10nit, and then the optimal brightness value corresponding to each gray-scale can be calculated, for example, the optimal brightness value corresponding to 102 gray-scales is 53.25 nit.
The above embodiment calculates the final brightness value according to the optimal brightness calculation formula, and the result is accurate and has less error.
The second embodiment:
specifically, in other embodiments, reference may be made to fig. 3 for a specific implementation of step S400. Fig. 3 is a detailed description of step S400 of the gamma calibration method according to the corresponding embodiment of fig. 2, in which the standard calibration parameters include a standard gamma value and a standard brightness value, and the standard brightness value is an optimal brightness value corresponding to each gray level at the standard gamma value, and step S400 may include the following steps:
step S410, obtaining a difference between the calibration gamma value and the standard gamma value as a compensation calibration value.
Step S420, determining the final brightness value according to the standard brightness value and the compensation adjustment value.
This embodiment proposes a more simplified way of determining the final luminance value compared to the first embodiment. In this embodiment, the standard calibration parameters only include the standard gamma value, the standard brightness value and the standard brightness value, and generally, the theoretical value of the lowest gray-scale brightness of the display panel should be 0, but because the precision of the display panel during manufacturing is that the lowest gray-scale brightness is generally a value close to 0, such as 1nit, 5nit, 10nit, and the like, the lowest gray-scale brightness can be 0, and at this time, a certain multiple relationship between the final brightness value and the standard brightness value can be obtained, and the multiple relationship can be determined first, and then the final brightness value can be determined according to the determined multiple.
Wherein. If the above-mentioned multiple relation needs to be calculated, the difference between the calibration gamma value and the standard gamma value needs to be calculated first to be used as the compensation calibration value. The calculation method is to subtract the calibration gamma value from the standard gamma value, for example, when the calibration gamma value is 2.4, the compensation calibration value can be calculated to be 0.2, and when the calibration gamma value is 2.0, the compensation calibration value can be calculated to be-0.2.
Alternatively, the step S420 may determine the final brightness value by the following formula:
Figure BDA0003358643580000101
wherein n is the gray scale order, r is the compensation tuning value, Ln' is an optimum brightness value, L, corresponding to n-level gray scale under the adjusted gamma valuenTo be at the standard gamma valueAnd the optimal brightness value corresponding to the lower n-level gray scale.
When the lowest gray-scale luminance is taken as 0, it can be derived from the formula of embodiment 1:
Figure BDA0003358643580000102
for example, in an embodiment, the detection distance of the data collector 300 is 5mm, the determined calibration gamma value is 2.4, the compensation calibration value is 0.2, the optimal brightness value corresponding to 102 gray levels under the standard gamma value of 2.2 is 61.95, the optimal brightness value corresponding to 102 gray levels under the calibration gamma value is 51.58, and the error between the optimal brightness value and the accurate value calculated by the formula in the first embodiment is within 3%.
In other embodiments of the present disclosure, the temperature of the surface of the data collector 300 from the panel 100 to be calibrated may also be introduced as another factor for determining the calibration gamma value, and generally, the higher the surface temperature of the panel 100 to be calibrated, the lower the gamma value actually displayed, so the applicable calibration gamma value during calibration should be higher. As the surface temperature of the panel 100 to be calibrated is lower, the gamma value actually displayed is higher, so the calibration gamma value suitable for calibration should be lower. That is, the calibration gamma value is in positive correlation with the surface temperature of the panel 100 to be calibrated. Meanwhile, according to the simulation result, the calibration gamma value is linearly related to the surface temperature of the panel 100 to be calibrated.
It can be determined that the calibration gamma value and the surface temperature of the data collector 300 and the panel 100 to be calibrated are in a positive correlation linear relationship.
In this embodiment, the calibration gamma value and the surface temperature of the panel 100 to be calibrated satisfy the following formula:
γ=kT+p
wherein γ is the calibration gamma value, T is the surface temperature of the panel to be calibrated, k is a first order coefficient, and p is a constant coefficient.
Then, in this embodiment, the calibration gamma value may be determined by the following formula:
γ=kT+hS+p+q
where γ is the calibration gamma value, T is the surface temperature of the panel 100 to be calibrated, k is a first order coefficient of a temperature term, S is a detection distance parameter, h is a first order coefficient of a distance term, and p and q are both constant coefficients.
After the calibration gamma value is calculated, the calibration gamma value may be substituted into the gamma calibration method of the first and second embodiments to perform gamma calibration, or into the formulas of the first and second embodiments to obtain the final brightness value.
In this embodiment, compared to the previous embodiments, the gamma value is determined according to not only the distance between the data collector 300 and the panel 100 to be calibrated, but also the surface temperature of the panel 100 to be calibrated.
The method for obtaining the surface temperature of the panel 100 to be calibrated may be to obtain the ambient temperature around the panel 100 to be calibrated through the data collector 300 with a thermosensitive device, and the thermosensitive device converts the ambient temperature into an electrical signal, so as to obtain the backlight temperature corresponding to the backlight.
The method for obtaining the surface temperature of the panel 100 to be calibrated may also be that the data collector 300 with an infrared temperature measurement component obtains an infrared light wave emitted from the surface of the panel 100 to be calibrated, and the infrared temperature measurement component obtains the backlight temperature corresponding to the backlight according to the wavelength by calculating the wavelength of the infrared light wave.
Whether the ambient temperature around the panel 100 to be calibrated is obtained by the data collector 300 with a thermosensitive device or the infrared light waves emitted from the surface of the panel 100 to be calibrated is obtained by the data collector 300 with an infrared temperature measurement component, the accuracy of the measured temperature is related to the distance from the detection device to the panel 100 to be calibrated.
Therefore, the detection distance parameter not only can directly participate in the correction of the gamma value, but also can correct the temperature value so as to obtain an accurate temperature value. The gamma value is indirectly corrected through correcting the temperature value, so that the determined correction gamma value is more accurate, and the determined final brightness value is further ensured to be more accurate.
As shown in fig. 4, in an embodiment, a gamma calibration device is provided, which may be integrated in the commissioning apparatus 200 described above, and specifically may include a lighting module 210, an obtaining module 220, a determining module 230, and a calibration module 240.
A lighting module 210 for lighting the panel to be adjusted;
an obtaining module 220, configured to obtain a standard calibration parameter and a detection distance parameter through the data collector, where the detection distance parameter is a distance between the data collector and the panel to be calibrated;
a determining module 230, configured to determine an adjusted gamma value according to the detection distance parameter, where the adjusted gamma value is a gamma value corresponding to the detection distance parameter;
the adjusting module 240 is configured to perform gamma adjustment according to a standard adjusting parameter and the adjusting gamma value to obtain a final brightness value, where 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 adjusting value determining unit is used for determining the adjusting gamma value according to the linear relation between the adjusting gamma value and the detecting distance parameter.
Optionally, the determining module includes a first calculating unit, and the first calculating unit is configured to calculate the calibration gamma value according to the following formula:
γ=hS+q
wherein γ is the calibration gamma value, S is a detection distance parameter, h is a first order coefficient, and q is a constant coefficient.
Optionally, the standard calibration 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 level under the standard gamma value, and the calibration module includes:
a compensation value determining unit, configured to obtain a difference between the calibration gamma value and the standard gamma value as a compensation calibration value;
and the brightness value determining unit is used for determining the final brightness value according to the standard brightness value and the compensation and adjustment value.
Optionally, the adjusting module includes a second calculating unit, and the second calculating unit is configured to calculate the final brightness value according to the following formula:
Figure BDA0003358643580000131
wherein n is the gray scale order, r is the compensation tuning value, Ln' is an optimum brightness value, L, corresponding to n-level gray scale under the adjusted gamma valuenThe gamma value is the best brightness value corresponding to n-step gray scale under the standard gamma value.
Optionally, the standard calibration 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 a 255-level gray scale, and the lowest gray scale brightness is an optimal brightness value corresponding to a 0-level gray scale, where the calibration 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 adjusting module includes a third calculating unit, and the third calculating unit is configured to calculate the final brightness value according to the following formula:
Figure BDA0003358643580000132
wherein n is the gray scale order, γ is the gamma value, L255At the highest gray-scale brightness, L0At the lowest gray scale luminance, Ln' is the optimum brightness value corresponding to n-step gray scale under the adjusted gamma value.
The implementation process of the functions and actions of each module in the above device is specifically described in detail in the implementation process of the corresponding step in the above gamma adjustment method, and is not described herein again.
It should be noted that although in the above detailed description several modules or units of the 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, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute 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.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to this embodiment of the invention is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is only an example and should not bring any limitation to the functions and the scope of use of the 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 the 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 that couples 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 to cause the processing unit 510 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 510 may perform step S100 as shown in fig. 2, and light the panel to be calibrated. Step S200, obtaining a standard calibration parameter and a detection distance parameter by the data collector, where the detection distance parameter is a distance from the data collector to the panel to be calibrated. Step S300, determining an adjustment gamma value according to the detection distance parameter, where the adjustment gamma value is a gamma value corresponding to the detection distance parameter. Step S400, performing gamma calibration according to the standard calibration parameters and the calibration gamma value to obtain a final brightness value, where the final brightness value is an optimal brightness value corresponding to each gray level under the calibration gamma value.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
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 of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be one or more of any 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.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 560. As shown, the network adapter 560 communicates with the other modules of the electronic device 500 over the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 6, a program product 600 for implementing the above 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 in this regard and, in the present 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. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules. The display device and the display panel thereof provided by the embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific examples, and the above description of the embodiments is only used to help understanding the method and the core idea of the present disclosure; meanwhile, for those skilled in the art, according to the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present description should not be construed as a limitation to the present disclosure.

Claims (10)

1. The gamma correction method is characterized by being applied to debugging equipment connected with an electric signal of a data acquisition unit, and comprises the following steps:
lightening a panel to be adjusted;
acquiring a standard calibration parameter and a detection distance parameter through the data acquisition unit, wherein the detection distance parameter is the distance between the data acquisition unit and the panel to be calibrated;
determining an adjustment gamma value according to the detection distance parameter, wherein the adjustment gamma value is a gamma value corresponding to the detection distance parameter;
and performing gamma calibration according to the standard calibration parameters and the calibration 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 calibration gamma value.
2. The gamma adjustment method of claim 1, wherein the determining the adjusted gamma value according to the detected distance parameter comprises:
and determining the calibration gamma value according to the linear relation between the calibration gamma value and the detection distance parameter.
3. The gamma adjustment method of claim 2, wherein the adjustment gamma value is obtained by the following formula:
γ=hS+q
wherein γ is the calibration gamma value, S is a detection distance parameter, h is a first order coefficient, and q is a constant coefficient.
4. The gamma adjustment method of claim 1, wherein the standard adjustment parameters include a standard gamma value and a standard brightness value, the standard brightness value is an optimal brightness value corresponding to each gray level under the standard gamma value, and the gamma adjustment is performed according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, specifically including:
acquiring the difference between the calibration gamma value and the standard gamma value as a compensation calibration value;
and determining the final brightness value according to the standard brightness value and the compensation adjustment value.
5. The gamma adjustment method of claim 4, wherein the final brightness value is obtained by the following formula:
Figure FDA0003358643570000011
wherein n is the gray scale order, r is the compensation tuning value, Ln' is an optimum brightness value, L, corresponding to n-level gray scale under the adjusted gamma valuenThe gamma value is the best brightness value corresponding to n-step gray scale under the standard gamma value.
6. The gamma adjustment method of claim 1, wherein 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 a 255-level gray-scale, the lowest gray-scale brightness is an optimal brightness value corresponding to a 0-level gray-scale, and the gamma adjustment is performed according to the standard adjustment parameters and the adjustment gamma value to obtain a final brightness value, specifically including:
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 calibration gamma value.
7. The gamma adjustment method of claim 6, wherein the final brightness value is obtained by the following formula:
Figure FDA0003358643570000021
wherein n is the gray scale order, γ is the gamma value, L255At the highest gray-scale brightness, L0At the lowest gray scale luminance, LnIs at the time of adjustmentAnd the best brightness value corresponding to n-level gray scale under the gamma value.
8. The utility model provides a gamma timing device which characterized in that is applied to the debugging equipment who is connected with data collection station electricity signal, gamma timing device includes:
the lighting module is used for lighting the panel to be adjusted;
the acquisition module is used for acquiring standard calibration parameters and detection distance parameters through the data acquisition unit, wherein the detection distance parameters are the distance between the data acquisition unit and the panel to be calibrated;
the determining module is used for determining an adjusting gamma value according to the detection distance parameter, wherein the adjusting gamma value is a gamma value corresponding to the detection distance parameter;
and the adjusting module is used for carrying out gamma adjustment according to standard adjusting parameters 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.
9. A computer device, characterized in that the computer device comprises:
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 correction method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor to perform the steps of the gamma correction method according to any one of claims 1 to 7.
CN202111359652.0A 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium Active CN114038372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111359652.0A CN114038372B (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
CN202111359652.0A CN114038372B (en) 2021-11-17 2021-11-17 Gamma adjustment method, related device and storage medium

Publications (2)

Publication Number Publication Date
CN114038372A true CN114038372A (en) 2022-02-11
CN114038372B CN114038372B (en) 2024-01-26

Family

ID=80137849

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114038372B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115696691A (en) * 2023-01-05 2023-02-03 卧安科技(深圳)有限公司 Intelligent lamp dimming method and device, intelligent lamp and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251494A1 (en) * 2008-04-02 2009-10-08 Miaohong Shi Apparatus and method for gamma correction
CN109448653A (en) * 2018-12-21 2019-03-08 惠科股份有限公司 Display device compensation calculation method, compensation structure and display device
US20200154003A1 (en) * 2018-11-09 2020-05-14 Chongqing Advance Display Technology Research Gamma Value Tuning Method and Device of Display Panel
CN113140192A (en) * 2021-04-22 2021-07-20 北海惠科光电技术有限公司 Gamma curve calibration method, gamma curve calibration device and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251494A1 (en) * 2008-04-02 2009-10-08 Miaohong Shi Apparatus and method for gamma correction
US20200154003A1 (en) * 2018-11-09 2020-05-14 Chongqing Advance Display Technology Research Gamma Value Tuning Method and Device of Display Panel
CN109448653A (en) * 2018-12-21 2019-03-08 惠科股份有限公司 Display device compensation calculation method, compensation structure and display device
CN113140192A (en) * 2021-04-22 2021-07-20 北海惠科光电技术有限公司 Gamma curve calibration method, gamma curve calibration device and display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115696691A (en) * 2023-01-05 2023-02-03 卧安科技(深圳)有限公司 Intelligent lamp dimming method and device, intelligent lamp and storage medium

Also Published As

Publication number Publication date
CN114038372B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN106767933A (en) The measuring system of depth camera error, measuring method, evaluation method and compensation method
CN105866781B (en) Data processing method and electronic equipment
RU2012114864A (en) METHOD FOR LIGHT DISTRIBUTION MANAGEMENT IN A SPACE INCLUDING MULTIPLE INSTALLED LIGHT SOURCES AND AN EXTERNAL LIGHT SOURCE
CN103234647B (en) Temperature correction method and temperature correction system of embedded system
CN107862660B (en) Data optimization method and device and ultrasonic platform
CN109934211B (en) Fingerprint calibration method and related device
CN114038372B (en) Gamma adjustment method, related device and storage medium
WO2019042004A1 (en) Weighting method and storage medium thereof
CN108717847A (en) The method of DICOM calibrations, medical display device and computer storage media
CN115728445A (en) Sensor calibration method, device, equipment and computer readable storage medium
CN112182067A (en) Individual height prediction method and device, electronic equipment and storage medium
CN111200467B (en) Calibration method and device for wireless parameters of chip and electronic equipment
CN113776787A (en) Screen uniformity testing method and system of virtual reality equipment and related device
CN114038371B (en) Gamma adjustment method, related device and storage medium
CN103092815B (en) To the method transferring function by calibration in monitoring device
CN110132416B (en) Broadband remote sensor on-orbit spectrum calibration method and device
WO2023103774A1 (en) Gamma correction method and apparatus, electronic device, and storage medium
CN114141206B (en) Backlight correction method, related device and storage medium
CN110535997A (en) A kind of calibration method, device, equipment and the storage medium of terminal screen light leakage
US20150092187A1 (en) Photometric Apparatus And Measurement Control Program
CN114613313A (en) Gamma parameter determination method and device for display screen, electronic equipment and storage medium
CN104375696B (en) The apparatus and method of touch screen induction value self-correcting
CN110196422B (en) Laser ranging test method and device and mobile terminal
CN111814295A (en) Verification method and system of thermal simulation model, computer equipment and storage medium
CN109712579A (en) A kind of calibration method and device of brightness measurement

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