CN114360426A - Gamma adjustment method, device, computer equipment and storage medium - Google Patents

Gamma adjustment method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114360426A
CN114360426A CN202210008238.3A CN202210008238A CN114360426A CN 114360426 A CN114360426 A CN 114360426A CN 202210008238 A CN202210008238 A CN 202210008238A CN 114360426 A CN114360426 A CN 114360426A
Authority
CN
China
Prior art keywords
optical data
range
preset
parameter
preset threshold
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
CN202210008238.3A
Other languages
Chinese (zh)
Other versions
CN114360426B (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.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC 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 Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202210008238.3A priority Critical patent/CN114360426B/en
Publication of CN114360426A publication Critical patent/CN114360426A/en
Application granted granted Critical
Publication of CN114360426B publication Critical patent/CN114360426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Picture Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The disclosure relates to a Gamma adjustment method, a device, a computer device and a storage medium. And inputting data which accords with a first preset range into the RGB register corresponding to the target binding point by setting the stepping parameter as a specified value, and determining first optical data of the module. And if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register. And inputting the initial value into the RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module. If the second optical data fall into the preset threshold range, the step parameter conforming to the second preset range is determined as a target step parameter, and Gamma adjustment is performed according to the initial value of the RGB register and the target step parameter, so that the time for Gamma adjustment can be shortened, the color coordinate values and the brightness values between binding points are smoother, and the adjustment precision is higher.

Description

Gamma adjustment method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of Gamma adjustment technology for display modules, and in particular, to a Gamma adjustment method, device, computer equipment, and storage medium.
Background
With the advent of Organic Light-Emitting diodes (OLEDs), the Gamma modulation of OLED modules has occurred. Adjusting R, G, B three groups of registers corresponding to the binding points to enable color coordinate values and brightness values corresponding to the binding points to fall within a target range, wherein in the traditional technology, the adjustment times of register values are large, and the register values need to be tried repeatedly, so that the adjustment time is long and the fluctuation of the distance from a target value in the adjustment process is large; due to the randomness of the values adjusted to the target range, the color coordinates and brightness values between the various bindings are not smooth.
Disclosure of Invention
In view of the above, it is necessary to provide a Gamma adjustment method, apparatus, computer device, and storage medium capable of shortening the time of Gamma adjustment, making color coordinate values and luminance values between each binding point smoother, and improving the accuracy of adjustment.
In a first aspect, the present disclosure provides a Gamma adjustment method. The method comprises the following steps:
setting a stepping parameter as a designated value, inputting data in accordance with a first preset range into an RGB register corresponding to a target binding point, and determining first optical data of a module according to the data in accordance with the first preset range and the designated value;
comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of an RGB register;
inputting the initial value into an RGB register corresponding to the target binding point, setting a stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range;
comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter;
and performing Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
In one embodiment, after comparing the first optical data with a preset threshold range and determining the data meeting the first preset range as an initial value of the RGB register if the first optical data falls into the preset threshold range, the method further includes:
and comparing the first optical data with a preset threshold range, if the first optical data does not fall into the preset threshold range, adjusting the data in the RGB register according to the first preset range until the first optical data falls into the preset threshold range, and determining the data in the adjusted RGB register which accords with the first preset range as the initial value of the RGB register.
In one embodiment, after the comparing the second optical data with the preset threshold range and determining the step parameter meeting the second preset range as the target step parameter if the second optical data falls into the preset threshold range, the method further includes:
and comparing the second optical data with the preset threshold range, if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
In one embodiment, the method further comprises:
judging whether the adjustment time falls within a third preset range or not, wherein the adjustment time comprises the time from the input of the initial value of the RGB register to the acquisition of the second optical data;
and if the adjusting time falls into the third preset range, determining a stepping parameter corresponding to the adjusting time as a target stepping parameter.
In one embodiment, the method further comprises:
judging whether the adjustment time falls within a third preset range or not, wherein the adjustment time comprises the time from the input of the initial value of the RGB register to the acquisition of the second optical data;
and if the adjusting time does not fall into the third preset range, adjusting the stepping parameters according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameters as target stepping parameters.
In one embodiment, the performing Gamma adjustment according to the initial value of the RGB register and the target step parameter includes:
setting a stepping parameter as a target stepping parameter, and inputting an initial value into an RGB register corresponding to a target binding point;
determining third optical data of the module according to the target stepping parameter and the initial value;
and comparing the third optical data with a preset threshold range, and if the third optical data falls into the preset threshold range, performing Gamma adjustment on the next target binding point.
In a second aspect, the present disclosure also provides a Gamma adjusting device. The device comprises:
the first optical data module is used for setting the stepping parameters to be specified values, inputting data which accord with a first preset range into the RGB register corresponding to the target binding point, and determining first optical data of the module according to the data which accord with the first preset range and the specified values;
an initial value determining module, configured to compare the first optical data with a preset threshold range, and if the first optical data falls within the preset threshold range, determine the data meeting the first preset range as an initial value of the RGB register;
the second optical data module is used for inputting the initial value into the RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range; (ii) a
The target stepping parameter module is used for comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping numerical value meeting the second preset range as a target stepping parameter;
and the adjusting module is used for carrying out Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
In a third aspect, the present disclosure also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the method according to any of the embodiments of the present disclosure when executing the computer program.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method of any one of the embodiments of the present disclosure.
In a fifth aspect, the present disclosure also provides a computer program product. The computer program product comprising a computer program that when executed by a processor implements the method of any of the embodiments of the present disclosure.
The embodiment provided by the disclosure inputs data in accordance with a first preset range into an RGB register corresponding to a target binding point by setting a stepping parameter to a designated value, and determines first optical data of a module according to the data in accordance with the first preset range and the designated value. And comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register. And inputting the initial value into an RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range. Comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter; and Gamma adjustment is carried out according to the initial value of the RGB register and the target stepping parameter, so that the time for Gamma adjustment can be shortened, the color coordinate values and the brightness values among binding points are smoother, and the adjustment precision is higher.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the specification, and other drawings can be obtained by those skilled in the art without inventive labor.
FIG. 1 is a diagram illustrating an exemplary Gamma adjustment method;
FIG. 2 is a schematic flow chart of a Gamma adjustment method in one embodiment;
FIG. 3 is a schematic flow chart of a Gamma adjustment method in one embodiment;
FIG. 4 is a schematic flow chart diagram of a Gamma adjustment method in one embodiment;
FIG. 5 is a schematic flow chart diagram illustrating a Gamma adjustment method in one embodiment;
FIG. 6 is a schematic flow chart diagram illustrating a Gamma adjustment method in one embodiment;
FIG. 7 is a schematic view of a Gamma adjustment system in one embodiment;
FIG. 8 is a schematic flow chart diagram illustrating a Gamma adjustment method in one embodiment;
FIG. 9 is a schematic flow chart diagram illustrating a Gamma adjustment method in one embodiment;
FIG. 10 is a schematic flow chart diagram illustrating a Gamma adjustment method in one embodiment;
FIG. 11 is a block diagram showing the structure of a Gamma adjustment device in one embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in 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 disclosure and are not intended to limit the disclosure.
The Gamma adjustment method provided by the embodiment of the disclosure can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server. The terminal 102 inputs data conforming to a first preset range into the RGB register corresponding to the target binding point by setting the stepping parameter to a designated value, and determines first optical data of the module according to the data conforming to the first preset range and the designated value. And comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register. And inputting the initial value into an RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range. Comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter; and performing Gamma adjustment according to the initial value of the RGB register and the target stepping parameter. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In an embodiment, as shown in fig. 2, a Gamma adjustment method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
s202, setting the stepping parameters to be specified values, inputting data which accord with a first preset range into the RGB register corresponding to the target binding point, and determining first optical data of the module according to the data which accord with the first preset range and the specified values.
Wherein the target binding may include a binding obtained by randomly extracting 256 bindings. The target binding may also include 256 bindings for uniform extraction, and in some embodiments, 30 bindings may be uniformly extracted from the 256 bindings to form a list of bindings that need to be adjusted; the target binding may include a binding that is extracted from a list of bindings that need to be adjusted. The optical data may include color coordinate values and luminance values corresponding to the target binding points.
Specifically, after the step parameter is set to the designated value, data conforming to a first preset range is input into the RGB register corresponding to the target binding point, and a first color coordinate value and a first luminance value of the module are determined according to the data conforming to the first preset range and the designated value.
S204, comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register.
The preset threshold range may include a range of color coordinate values and luminance values determined according to experience or actual requirements.
Specifically, the first optical data may be compared with a preset threshold range, and if the first optical data is found to fall within the preset threshold range after the comparison, the data meeting the first preset range may be determined as the initial value of the RGB register.
S206, inputting the initial value into the RGB register corresponding to the target binding point, setting the step parameter to be a step parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the step parameter in accordance with the second preset range.
The step parameter may include a step parameter in a thermostat algorithm, among others. The second optical data may include second color coordinate values and second luminance values.
Specifically, the initial value may be input into an RGB register corresponding to the target binding point, then the step parameter may be set to a step parameter in accordance with a second preset range, and the second color coordinate value and the second luminance value of the module may be determined according to the initial value and the step parameter in accordance with the second preset range. In some embodiments, the step parameter may be determined by using a PID algorithm, and when the PID algorithm is used, for example, when the P value is 1, the algorithm may be optimized after 10 cycles; when the P value is 2, the algorithm can be circularly calculated for 5 times to obtain the optimal value; when the P value is 3, the algorithm can be circularly calculated for 2 times to obtain the optimal value; then P-3 is recorded as the target step parameter for the current binding point.
S208, comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter.
Specifically, the second optical data may be compared with the preset threshold range, and if the second optical data falls within the preset threshold range, the step parameter meeting the second preset range may be determined as the target step parameter.
S210, performing Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
The Gamma adjustment may include adjusting parameters such as a color coordinate value and a brightness value of the image corresponding to the target binding point by adjusting a Gamma curve.
Specifically, the Gamma curve may be adjusted according to the initial value of the RGB register and the target stepping parameter, so as to adjust parameters such as a color coordinate value and a luminance value of the image corresponding to the target binding point.
In the Gamma adjustment method, the stepping parameter is set as the designated value, the data in accordance with the first preset range is input into the RGB register corresponding to the target binding point, and the first optical data of the module is determined according to the data in accordance with the first preset range and the designated value. And comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register. And inputting the initial value into an RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range. Comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter; and Gamma adjustment is carried out according to the initial value of the RGB register and the target stepping parameter, so that the time for Gamma adjustment can be shortened, the color coordinate values and the brightness values among binding points are smoother, and the adjustment precision is higher.
In one embodiment, step S204 compares the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, after determining the data meeting the first preset range as an initial value of the RGB register, the method further includes:
and comparing the first optical data with a preset threshold range, if the first optical data does not fall into the preset threshold range, adjusting the data in the RGB register according to the first preset range until the first optical data falls into the preset threshold range, and determining the data in the adjusted RGB register which accords with the first preset range as the initial value of the RGB register.
Wherein the adjustment may comprise receiving adjustment data entered by a person, etc.
Specifically, by comparing the first optical data with a preset threshold range, if the first optical data does not fall within the preset threshold range, the data in the RGB register is adjusted according to the first preset range until the first optical data falls within the preset threshold. And when the first optical data falls into the preset threshold range, determining the data which accords with the first preset range in the adjusted RGB register as the initial value of the RGB register.
In this embodiment, by comparing the first optical data with a preset threshold range, if the first optical data does not fall into the preset threshold range, the data in the RGB register is adjusted according to the first preset range until the first optical data falls into the preset threshold range, and the data in the adjusted RGB register that meets the first preset range is determined as the initial value of the RGB register, so that the time for Gamma adjustment can be shortened, the color coordinate values and the luminance values between the binding points are smoother, and the adjustment accuracy is higher.
In one embodiment, step S208 compares the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, after determining the step parameter meeting the second preset range as the target step parameter, the method further includes:
and comparing the second optical data with the preset threshold range, if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
Specifically, if the second optical data does not fall within the threshold range, the step parameter may be adjusted within a second preset range until the second optical data falls within the preset threshold range by comparing the second optical data with the preset threshold range. And when the second optical data falls into the preset threshold range, determining the adjusted stepping parameter as a target stepping parameter.
In this embodiment, the second optical data is compared with the preset threshold range, and if the second optical data does not fall within the preset threshold range, the step parameter is adjusted according to the second preset range until the second optical data falls within the preset threshold range, and the adjusted step parameter is determined as the target step parameter, so that the time for Gamma adjustment can be shortened, and the color coordinate values and the brightness values between the binding points are smoother and the adjustment accuracy is higher.
In one embodiment, as shown in fig. 3, the method further comprises the steps of:
s302, whether the adjusting time falls into a third preset range or not is judged, wherein the adjusting time comprises the time from inputting the initial value into the RGB register to obtaining the second optical data.
Wherein the adjustment time may comprise an adjustment time of a thermostat algorithm. The third predetermined range may comprise a time range set by experience or actual rule requirements to determine the algorithm adjustment speed.
Specifically, it is possible to determine whether or not the time taken from the input of the initial value from the RGB register to the acquisition of the second optical data falls within a third preset range. In some embodiments, the adjustment time of the thermostatic algorithm may be determined by determining whether the adjustment time falls within a third predetermined range.
S304, if the adjusting time falls into the third preset range, determining the step parameter corresponding to the adjusting time as a target step parameter.
The target step parameter may include a step parameter with the minimum adjustment time in the constant temperature algorithm.
Specifically, the target step parameter may be determined by determining a step parameter corresponding to the adjustment time, which is an adjustment time falling within a third preset range.
In this embodiment, whether the adjustment time falls into a third preset range is determined, and if the adjustment time falls into the third preset range, the step parameter corresponding to the adjustment time is determined as the target step parameter, so that the time for Gamma adjustment can be shortened, the color coordinate values and the brightness values between the binding points are smoother, and the adjustment precision is higher.
In one embodiment, as shown in fig. 4, the method further comprises the steps of:
s402, judging whether the adjusting time falls into a third preset range or not, wherein the adjusting time comprises the time from inputting the initial value into the RGB register to obtaining the second optical data.
Specifically, it is possible to determine whether or not the time taken from the input of the initial value from the RGB register to the acquisition of the second optical data falls within a third preset range. In some embodiments, the adjustment time of the thermostatic algorithm may be determined by determining whether the adjustment time falls within a third predetermined range.
S404, if the adjusting time does not fall into the third preset range, adjusting the stepping parameters according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameters as target stepping parameters.
Specifically, when the adjustment time does not fall within the third preset range, the step parameter may be adjusted according to a second preset range until the second optical data falls within the preset threshold range. When the second optical data falls within the preset threshold range, determining the adjusted stepping parameter as a target stepping parameter.
In this embodiment, whether the adjustment time falls into a third preset range is determined, and if the adjustment time does not fall into the third preset range, the step parameter is adjusted according to the second preset range until the second optical data falls into the preset threshold range, and the adjusted step parameter is determined as the target step parameter, so that the time for Gamma adjustment can be shortened, the color coordinate values and the brightness values between the binding points are smoother, and the adjustment accuracy is higher.
In one embodiment, as shown in fig. 5, the step S210 of performing Gamma adjustment according to the initial value of the RGB register and the target step parameter includes the following steps:
s502, setting the stepping parameters as target stepping parameters, and inputting initial values into the RGB registers corresponding to the target binding points.
Specifically, the step parameter may be set as a target step parameter, and an initial value may be input into the RGB register corresponding to the target binding.
And S504, determining third optical data of the module according to the target stepping parameter and the initial value.
Wherein the third optical data may include a third color coordinate value and a third luminance value.
Specifically, the third color coordinate value and the third brightness value of the module may be determined according to the target stepping parameter and the initial value.
S506, comparing the third optical data with a preset threshold range, and if the third optical data falls into the preset threshold range, performing Gamma adjustment on the next target binding point.
Specifically, by comparing the third optical data with a preset threshold range, if the third optical data falls within the preset threshold range, the Gamma adjustment of the next target binding point is performed until all target binding points requiring adjustment are adjusted.
In one embodiment, as shown in fig. 6, there is provided a Gamma adjustment method, the method comprising the steps of:
s602, setting the stepping parameter as a designated value, inputting data in accordance with a first preset range into the RGB register corresponding to the target binding point, and determining first optical data of the module according to the data in accordance with the first preset range and the designated value.
S604, comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of the RGB register.
S606, comparing the first optical data with a preset threshold range, if the first optical data does not fall into the preset threshold range, adjusting data in an RGB register according to the first preset range until the first optical data falls into the preset threshold range, and determining the data in the adjusted RGB register which accords with the first preset range as initial values of the RGB register.
S608, inputting the initial value into the RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range.
S610, comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter.
And S612, comparing the second optical data with the preset threshold range, if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
And S614, judging whether the adjusting time falls into a third preset range or not, wherein the adjusting time comprises the time from the input of the initial value of the RGB register to the acquisition of the second optical data.
And S616, if the adjusting time falls into the third preset range, determining the step parameter corresponding to the adjusting time as a target step parameter.
And S618, if the adjusting time does not fall into the third preset range, adjusting the stepping parameters according to a second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameters as target stepping parameters.
S620, setting the stepping parameters as target stepping parameters, and inputting initial values into the RGB registers corresponding to the target binding points.
And S622, determining third optical data of the module according to the target stepping parameter and the initial value.
And S624, comparing the third optical data with a preset threshold range, and if the third optical data falls into the preset threshold range, performing Gamma adjustment on the next target binding point.
In one embodiment, as shown in fig. 7, which is a system diagram of the Gamma adjustment method, the upper computer software is connected with the inspection machine and the color analyzer, the inspection machine is connected with the module, and the color analyzer is disposed right above the module for collecting optical data (color coordinate values and brightness values). In some embodiments, the specific operational steps may be as follows: referring to fig. 8, the upper computer software first lights up the module, and switches the module to the first binding screen according to the binding list to be adjusted. And writing initial data into the Gamma register RGB corresponding to the binding points, acquiring optical data through a color analyzer, and judging whether the color coordinate value and the brightness value are in the target range. Setting an initial value for the stepping parameter of the constant temperature algorithm, and substituting the initial value for debugging until whether the color coordinate value and the brightness value are in the target range; and then entering Gamma debugging of the next binding point until all the binding points are debugged. Referring to fig. 9, registers of respective binding points adjusted to a target value are used as initial values, and then step parameters of respective thermostatic algorithms are determined one by one, so that each binding point locks the target register with the minimum number of adjustments and the step parameters of the thermostatic algorithm corresponding to the binding point are recorded. Referring to fig. 10, the optimal initial values obtained in fig. 8 and the optimal parameters of the thermostatic algorithm obtained in fig. 9 are applied to the Gamma adjustment procedure as parameters.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in the figures may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or at least partially in sequence with other steps or other steps.
Based on the same inventive concept, the embodiment of the disclosure also provides a Gamma adjusting device for implementing the above Gamma adjusting method. The solution of the problem provided by the apparatus is similar to the solution described in the above method, so the specific limitations in one or more embodiments of the Gamma adjusting apparatus provided below can be referred to the limitations of the Gamma adjusting method in the above, and are not described herein again.
In one embodiment, as shown in fig. 11, there is provided a Gamma adjustment device 1100, including: a first optical data module 1102, an initial value determination module 1104, a second optical data module 1106, a target step value module 1108, and an adjustment module 1110, wherein:
the first optical data module 1102 is configured to set the step parameter to a specified value, input data that meets a first preset range into the RGB register corresponding to the target binding point, and determine first optical data of the module according to the data that meets the first preset range and the specified value.
An initial value determining module 1104, configured to compare the first optical data with a preset threshold range, and if the first optical data falls within the preset threshold range, determine the data meeting the first preset range as an initial value of the RGB register.
And a second optical data module 1106, configured to input the initial value into the RGB register corresponding to the target binding point, set the step parameter as a step parameter meeting a second preset range, and determine second optical data of the module according to the initial value and the step parameter meeting the second preset range.
A target step parameter module 1108, configured to compare the second optical data with the preset threshold range, and if the second optical data falls within the preset threshold range, determine the step parameter meeting the second preset range as a target step parameter.
And an adjusting module 1110, configured to perform Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
The modules in the Gamma adjusting device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a Gamma adjustment method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present disclosure are information and data that are authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided by the present disclosure may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases involved in embodiments provided by the present disclosure may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided in this disclosure may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic, quantum computing based data processing logic, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present disclosure, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present disclosure. It should be noted that, for those skilled in the art, various changes and modifications can be made without departing from the concept of the present disclosure, and these changes and modifications are all within the scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.

Claims (10)

1. A Gamma adjustment method, the method comprising:
setting a stepping parameter as a designated value, inputting data in accordance with a first preset range into an RGB register corresponding to a target binding point, and determining first optical data of a module according to the data in accordance with the first preset range and the designated value;
comparing the first optical data with a preset threshold range, and if the first optical data falls into the preset threshold range, determining the data meeting the first preset range as an initial value of an RGB register;
inputting the initial value into an RGB register corresponding to the target binding point, setting a stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range;
comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping parameter meeting the second preset range as a target stepping parameter;
and performing Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
2. The method of claim 1, wherein after comparing the first optical data with a preset threshold range and determining the data meeting the first preset range as an initial value of an RGB register if the first optical data falls within the preset threshold range, the method further comprises:
and comparing the first optical data with a preset threshold range, if the first optical data does not fall into the preset threshold range, adjusting the data in the RGB register according to the first preset range until the first optical data falls into the preset threshold range, and determining the data in the adjusted RGB register which accords with the first preset range as the initial value of the RGB register.
3. The method according to claim 1, wherein after comparing the second optical data with the preset threshold range and determining the step parameter meeting the second preset range as the target step parameter if the second optical data falls within the preset threshold range, the method further comprises:
and comparing the second optical data with the preset threshold range, if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
4. The method of claim 3, further comprising:
judging whether the adjustment time falls within a third preset range or not, wherein the adjustment time comprises the time from the input of the initial value of the RGB register to the acquisition of the second optical data;
and if the adjusting time falls into the third preset range, determining a stepping parameter corresponding to the adjusting time as a target stepping parameter.
5. The method of claim 4, further comprising:
judging whether the adjustment time falls within a third preset range or not, wherein the adjustment time comprises the time from the input of the initial value of the RGB register to the acquisition of the second optical data;
and if the adjusting time does not fall into the third preset range, adjusting the stepping parameters according to the second preset range until the second optical data falls into the preset threshold range, and determining the adjusted stepping parameters as target stepping parameters.
6. The method of claim 1, wherein the performing Gamma adjustment according to the initial value of the RGB register and the target step parameter comprises:
setting a stepping parameter as a target stepping parameter, and inputting an initial value into an RGB register corresponding to a target binding point;
determining third optical data of the module according to the target stepping parameter and the initial value;
and comparing the third optical data with a preset threshold range, and if the third optical data falls into the preset threshold range, performing Gamma adjustment on the next target binding point.
7. A Gamma adjustment device, the device comprising:
the first optical data module is used for setting the stepping parameters to be specified values, inputting data which accord with a first preset range into the RGB register corresponding to the target binding point, and determining first optical data of the module according to the data which accord with the first preset range and the specified values;
an initial value determining module, configured to compare the first optical data with a preset threshold range, and if the first optical data falls within the preset threshold range, determine the data meeting the first preset range as an initial value of the RGB register;
the second optical data module is used for inputting the initial value into the RGB register corresponding to the target binding point, setting the stepping parameter to be a stepping parameter in accordance with a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter in accordance with the second preset range;
the target stepping parameter module is used for comparing the second optical data with the preset threshold range, and if the second optical data falls into the preset threshold range, determining the stepping numerical value meeting the second preset range as a target stepping parameter;
and the adjusting module is used for carrying out Gamma adjustment according to the initial value of the RGB register and the target stepping parameter.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210008238.3A 2022-01-05 2022-01-05 Gamma adjusting method, gamma adjusting device, computer equipment and storage medium Active CN114360426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210008238.3A CN114360426B (en) 2022-01-05 2022-01-05 Gamma adjusting method, gamma adjusting device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210008238.3A CN114360426B (en) 2022-01-05 2022-01-05 Gamma adjusting method, gamma adjusting device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114360426A true CN114360426A (en) 2022-04-15
CN114360426B CN114360426B (en) 2023-08-01

Family

ID=81106879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210008238.3A Active CN114360426B (en) 2022-01-05 2022-01-05 Gamma adjusting method, gamma adjusting device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114360426B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106328070A (en) * 2016-09-28 2017-01-11 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method and device
CN106384573A (en) * 2016-11-04 2017-02-08 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method based on linear interpolation calculation
CN110021272A (en) * 2019-01-29 2019-07-16 信利(惠州)智能显示有限公司 GAMMA adjusting method, device, computer and the storage medium of display module
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111551348A (en) * 2020-05-08 2020-08-18 昆山国显光电有限公司 Gamma debugging method and device
US20210049947A1 (en) * 2019-08-14 2021-02-18 Chengdu Boe Optoelectronics Technology Co., Ltd. Method and device for correcting display brightness of display module, and display module
US20210150987A1 (en) * 2018-11-20 2021-05-20 Chengdu Boe Optoelectronics Technology Co., Ltd. Device, system and method for display gamma correction
CN113035152A (en) * 2021-03-16 2021-06-25 武汉天马微电子有限公司 Gray scale brightness adjusting method and device of display panel
WO2021190158A1 (en) * 2020-03-26 2021-09-30 深圳精智达技术股份有限公司 Adjusting apparatus, method for adjusting gamma voltage and white balance of display screen, and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106328070A (en) * 2016-09-28 2017-01-11 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method and device
CN106384573A (en) * 2016-11-04 2017-02-08 武汉精测电子技术股份有限公司 OLED module Gamma adjustment and calibration method based on linear interpolation calculation
US20210150987A1 (en) * 2018-11-20 2021-05-20 Chengdu Boe Optoelectronics Technology Co., Ltd. Device, system and method for display gamma correction
CN110021272A (en) * 2019-01-29 2019-07-16 信利(惠州)智能显示有限公司 GAMMA adjusting method, device, computer and the storage medium of display module
US20210049947A1 (en) * 2019-08-14 2021-02-18 Chengdu Boe Optoelectronics Technology Co., Ltd. Method and device for correcting display brightness of display module, and display module
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
WO2021190158A1 (en) * 2020-03-26 2021-09-30 深圳精智达技术股份有限公司 Adjusting apparatus, method for adjusting gamma voltage and white balance of display screen, and medium
CN111551348A (en) * 2020-05-08 2020-08-18 昆山国显光电有限公司 Gamma debugging method and device
CN113035152A (en) * 2021-03-16 2021-06-25 武汉天马微电子有限公司 Gray scale brightness adjusting method and device of display panel

Also Published As

Publication number Publication date
CN114360426B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN114022558B (en) Image positioning method, image positioning device, computer equipment and storage medium
CN110751149A (en) Target object labeling method and device, computer equipment and storage medium
CN111708931B (en) Big data acquisition method based on mobile internet and artificial intelligence cloud service platform
CN114089921A (en) Power system data storage method and device, computer equipment and storage medium
CN114168318A (en) Training method of storage release model, storage release method and equipment
CN114360426B (en) Gamma adjusting method, gamma adjusting device, computer equipment and storage medium
CN111898619A (en) Picture feature extraction method and device, computer equipment and readable storage medium
CN115237097A (en) Automatic driving simulation test method, device, computer equipment and storage medium
CN115731442A (en) Image processing method, image processing device, computer equipment and storage medium
CN112217585B (en) Signal path determination method and device, computer equipment and storage medium
CN113160126B (en) Hardware Trojan detection method, hardware Trojan detection device, computer equipment and storage medium
CN110738175B (en) Face image processing method and device, computer equipment and storage medium
CN109753217B (en) Dynamic keyboard operation method and device, storage medium and electronic equipment
CN114429644A (en) Method, device and equipment for updating image base and storage medium
CN109308721B (en) Image key point positioning method and device, storage medium and electronic equipment
CN113627755A (en) Test method, device, equipment and storage medium for intelligent terminal factory
CN112698877A (en) Data processing method and system
CN116469498B (en) Material removal rate prediction method and device, terminal equipment and storage medium
US11788130B2 (en) Computing device, storage medium, and method for managing sequencing progress
US20220165075A1 (en) Method and device for classifing densities of cells, electronic device using method, and storage medium
CN116467332A (en) White balance adjustment method, white balance adjustment device, computer equipment and storage medium
US20230306280A1 (en) Systems and methods for reducing problematic correlations between features from machine learning model data
CN117908825A (en) Chip data sequential processing method, device, computer equipment and storage medium
CN117827799A (en) Database establishment method and device, computer equipment and storage medium
CN117392477A (en) Training of object detection model, apparatus, computer device 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