CN114360426B - Gamma adjusting method, gamma adjusting device, computer equipment and storage medium - Google Patents

Gamma adjusting method, gamma adjusting device, computer equipment and storage medium Download PDF

Info

Publication number
CN114360426B
CN114360426B CN202210008238.3A CN202210008238A CN114360426B CN 114360426 B CN114360426 B CN 114360426B CN 202210008238 A CN202210008238 A CN 202210008238A CN 114360426 B CN114360426 B CN 114360426B
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.)
Active
Application number
CN202210008238.3A
Other languages
Chinese (zh)
Other versions
CN114360426A (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

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 present disclosure relates to a Gamma adjustment method, apparatus, computer device, and storage medium. And inputting data conforming to a first preset range into an RGB register corresponding to the target binding point by setting the stepping parameter as a designated value, and determining first optical data of the module. And if the first optical data fall into the preset threshold range, determining the data conforming to 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 conforming to a second preset range, and determining second optical data of the module. If the second optical data falls into the preset threshold range, determining the stepping parameter conforming to 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, so that the Gamma adjustment time can be shortened, the color coordinate values and the brightness values among all binding points are smoother, and the adjustment precision is higher.

Description

Gamma adjusting method, gamma adjusting device, computer equipment and storage medium
Technical Field
The disclosure relates to the technical field of Gamma adjustment of display modules, and in particular relates to a Gamma adjustment method, a Gamma adjustment device, computer equipment and a storage medium.
Background
With the advent of Organic Light-Emitting Diode (OLED), OLED module Gamma modulation has emerged. The R, G, B three groups of registers corresponding to the binding points are adjusted, so that the color coordinate values and the brightness values corresponding to the binding points fall in the target range, in the prior art, the register values are adjusted for a plurality of times, the register values need to be tried repeatedly, the adjustment time is long, and the fluctuation from the target value in the adjustment process is large; the randomness of the values adjusted to the target range causes the color coordinates and brightness values among the binding points to be not smooth.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a Gamma adjustment method, apparatus, computer device, and storage medium that can shorten the time of Gamma adjustment, make the color coordinate values and brightness values between binding points smoother, and improve 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 conforming to 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 conforming to 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 conforming to the first preset range as an initial value of an RGB register;
inputting the initial value into an RGB register corresponding to a target binding point, setting a stepping parameter as a stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to 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, the comparing the first optical data with a preset threshold range, if the first optical data falls within the preset threshold range, after determining the data conforming to the first preset range as the 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 conforming to the first preset range in the adjusted RGB register as an initial value of the RGB register.
In one embodiment, the comparing the second optical data with the preset threshold range, if the second optical data falls within the preset threshold range, determining the step parameter meeting the second preset range as the target step parameter, and then the method further includes:
and comparing the second optical data with the preset threshold range, and if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to a 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, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data;
and if the adjustment time falls into the third preset range, determining the stepping parameter corresponding to the adjustment time as a target stepping parameter.
In one embodiment, the method further comprises:
judging whether the adjustment time falls within a third preset range, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data;
and if the adjustment time does not fall into the third preset range, adjusting the stepping parameter according to the second preset range until the second optical data fall into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
In one embodiment, the performing Gamma adjustment according to the initial value of the RGB register and the target step parameter includes:
setting the 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;
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 of the next target binding point.
In a second aspect, the present disclosure further provides a Gamma adjustment device. The device comprises:
the first optical data module is used for setting the stepping parameter as a specified value, inputting data conforming to a first preset range into an RGB register corresponding to a target binding point, and determining first optical data of the module according to the data conforming to the first preset range and the specified value;
the initial value determining module is used for comparing the first optical data with a preset threshold range, and determining the data conforming to the first preset range as an initial value of an RGB register if the first optical data falls into the preset threshold range;
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 as the stepping parameter conforming to the second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to the second preset range; the method comprises the steps of carrying out a first treatment on the surface of the
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 value conforming to the second preset range as a target stepping parameter;
and the adjusting module is used for performing 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 the processor executes the computer program.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of any of the embodiments of the present disclosure.
In a fifth aspect, the present disclosure also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the method according to any of the embodiments of the present disclosure.
According to the embodiment provided by the disclosure, the stepping parameter is set to be a specified value, data conforming to a first preset range is input into an RGB register corresponding to a target binding point, and first optical data of a module is determined according to the data conforming to the first preset range and the specified 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 conforming to 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 as a stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to the second preset range as a target stepping parameter; according to the initial value of the RGB register and the target stepping parameter, gamma adjustment is carried out, so that Gamma adjustment time can be shortened, color coordinate values and brightness values among binding points are smoother, and adjustment accuracy is higher.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the following description will briefly explain the embodiments or the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of an application environment of a Gamma adjustment method according to one embodiment;
FIG. 2 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 3 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 4 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 5 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 6 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 7 is a schematic diagram of a Gamma adjustment system according to one embodiment;
FIG. 8 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 9 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 10 is a flow chart of a Gamma adjustment method according to one embodiment;
FIG. 11 is a block diagram illustrating a Gamma adjustment device according to an embodiment;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present disclosure.
The Gamma adjustment method provided by the embodiment of the disclosure can be applied to an application environment as 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 a 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 step parameter to a specified value, and determines first optical data of the module according to the data conforming to the first preset range and the specified 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 conforming to 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 as a stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to 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, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a Gamma adjustment method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
s202, setting a stepping parameter as a specified value, inputting data conforming to 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 conforming to the first preset range and the specified value.
The target binding points may include binding points obtained by randomly extracting 256 binding points. The target binding points may also include uniformly extracting 256 binding points, and in some embodiments, 30 binding points may be uniformly extracted from the 256 binding points to form a binding point list to be adjusted; the target binding points may include binding points extracted from a list of binding points that need to be adjusted. The optical data may include a color coordinate value and a brightness value corresponding to the target binding point.
Specifically, after the stepping parameter is set to be a specified value, data conforming to a first preset range is input into an RGB register corresponding to a target binding point, and a first color coordinate value and a first brightness value of the module are determined according to the data conforming to the first preset range and the specified 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 conforming to the first preset range as an initial value of an RGB register.
The preset threshold range may include a range of color coordinate values and brightness values determined empirically or according to 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 conforming to the first preset range is determined as an initial value of the RGB register.
S206, inputting the initial value into an RGB register corresponding to the target binding point, setting the stepping parameter as the stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to the second preset range.
The step parameters may include step parameters in a constant temperature algorithm, among others. The second optical data may include a second color coordinate value and a second luminance value.
Specifically, the initial value may be input into an RGB register corresponding to the target binding point, and then the step parameter is set to be a step parameter conforming to a second preset range, and the second color coordinate value and the second brightness value of the module are determined according to the initial value and the step parameter conforming to the second preset range. In some embodiments, the step parameters may be determined using a PID algorithm, which is exemplary when the value of P is 1, and the algorithm loops 10 times to obtain an optimum; when the P value is 2, the algorithm circularly calculates for 5 times to obtain the optimal value; when the P value is 3, the algorithm circularly calculates for 2 times to obtain the optimal value; 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 conforming to 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 conforming to the second preset range is determined as the target step parameter.
S210, gamma adjustment is carried out 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 an image corresponding to the target binding point by adjusting a Gamma curve.
Specifically, the adjustment of the Gamma curve can be performed according to the initial value of the RGB register and the target stepping parameter, so as to realize the adjustment of parameters such as a color coordinate value, a brightness value, and the like of the image corresponding to the target binding point.
In the Gamma adjusting method, by setting the stepping parameter as the specified value, inputting data conforming to a first preset range into the RGB register corresponding to the target binding point, and determining the first optical data of the module according to the data conforming to the first preset range and the specified 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 conforming to 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 as a stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to the second preset range as a target stepping parameter; according to the initial value of the RGB register and the target stepping parameter, gamma adjustment is carried out, so that Gamma adjustment time can be shortened, color coordinate values and brightness values among binding points are smoother, and adjustment accuracy is higher.
In one embodiment, step S204 compares the first optical data with a preset threshold range, and if the first optical data falls within the preset threshold range, after determining the data conforming to the first preset range as the 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 conforming to the first preset range in the adjusted RGB register as an initial value of the RGB register.
Wherein the adjustment may include 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 fall into the preset threshold range, determining the data conforming to the first preset range in the regulated RGB register as an 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 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 range, and the data conforming to the first preset range in the adjusted RGB register is determined as the initial value of the RGB register, so that the time of 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, step S208 compares the second optical data with the preset threshold range, and if the second optical data falls within 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, and if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to a 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 particular, the step parameter may be adjusted within a second preset range by comparing the second optical data with the preset threshold range, if the second optical data does not fall within the threshold range, until the second optical data falls within the preset threshold range. And when the second optical data fall into the preset threshold range, determining the adjusted stepping parameter as a target stepping parameter.
In this embodiment, by comparing the second optical data with the preset threshold range, 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 of Gamma adjustment can be shortened, the color coordinate value and the brightness value between each binding point are smoother, and the adjustment precision is higher.
In one embodiment, as shown in fig. 3, the method further comprises the steps of:
s302, judging whether the adjustment time falls within a third preset range, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data.
Wherein the adjustment time may include an adjustment time of a constant temperature algorithm. The third preset range may include 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 inputting the initial value from the RGB register to obtaining the second optical data falls within the third preset range. In some embodiments, it may be determined whether the adjustment time of the constant temperature algorithm falls within a third preset range.
And S304, if the adjustment time falls into the third preset range, determining the stepping parameter corresponding to the adjustment time as a target stepping parameter.
The target step parameter may include a step parameter with the minimum adjustment time corresponding to the constant temperature algorithm.
Specifically, the step parameter corresponding to the adjustment time, which is an adjustment time falling within a third preset range, may be determined as the target step parameter.
In this embodiment, by determining whether the adjustment time falls within a third preset range, if the adjustment time falls within the third preset range, determining the step parameter corresponding to the adjustment time as the target step parameter, the time of Gamma adjustment can be shortened, the color coordinate value and the brightness value 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 adjustment time falls within a third preset range, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data.
Specifically, it is possible to determine whether or not the time taken from inputting the initial value from the RGB register to obtaining the second optical data falls within the third preset range. In some embodiments, it may be determined whether the adjustment time of the constant temperature algorithm falls within a third preset range.
And S404, if the adjustment time does not fall into the third preset range, adjusting the stepping parameter according to the second preset range until the second optical data fall into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
Specifically, when the adjustment time does not fall within the third preset range, the step parameter is adjusted according to a second preset range until the second optical data falls within 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, by determining whether the adjustment time falls within a third preset range, if the adjustment time does not fall within the third preset 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 to be the target step parameter, so that the time of Gamma adjustment can be shortened, the color coordinate value and the brightness value between each binding point are smoother, and the adjustment precision is higher.
In one embodiment, as shown in fig. 5, step S210 of performing Gamma adjustment according to the initial values of the RGB registers and the target step parameters includes the following steps:
s502, setting the stepping parameter as a target stepping parameter, and inputting an initial value into an RGB register corresponding to a target binding point.
Specifically, the step parameter may be set as a target step parameter, and an initial value is input into an RGB register corresponding to the target binding point.
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 brightness value.
Specifically, the third color coordinate value and the third luminance value of the module may be determined according to the target step 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 of the next target binding point.
Specifically, the third optical data may be compared with a preset threshold range, and if the third optical data falls within the preset threshold range, gamma adjustment of the next target binding point is performed until all target binding points to be adjusted are adjusted.
In one embodiment, as shown in fig. 6, a Gamma adjustment method is provided, the method comprising the steps of:
s602, setting a stepping parameter as a specified value, inputting data conforming to 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 conforming to the first preset range and the specified 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 conforming to the first preset range as an initial value of an 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 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 conforming to the first preset range in the adjusted RGB register as an initial value of the RGB register.
S608, inputting the initial value into an RGB register corresponding to the target binding point, setting the stepping parameter as the stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to the second preset range as a target stepping parameter.
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.
S614, it is determined whether the adjustment time, which includes the time taken from inputting the initial value from the RGB register to obtaining the second optical data, falls within the third preset range.
S616, if the adjustment time falls within the third preset range, determining the step parameter corresponding to the adjustment time as a target step parameter.
And S618, if the adjustment time does not fall into the third preset range, adjusting the stepping parameter according to the second preset range until the second optical data fall into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
S620, setting the stepping parameter as a target stepping parameter, and inputting an initial value into an RGB register corresponding to the target binding point.
S622, determining third optical data of the module according to the target stepping parameter and the initial value.
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 of the next target binding point.
In one embodiment, as shown in fig. 7, which is a schematic diagram of a system of the Gamma adjustment method, the upper computer software connects the inspection machine and the color analyzer, the inspection machine connects 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, 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 point frame according to the binding point list to be adjusted. Initial data is written into a Gamma register RGB corresponding to the binding point, optical data is collected through a color analyzer, and whether a color coordinate value and a brightness value are in a target range is judged. Substituting the stepping parameter of the constant temperature algorithm with an initial value for debugging until the color coordinate value and the brightness value are in a target range; and then, gamma debugging of the next binding point is carried out until all binding points are debugged. Referring to fig. 9, the registers of the binding points adjusted to the target value are used as initial values, and then the stepping parameters of the constant temperature algorithms of the binding points are determined one by one, so that each binding point locks the target register with the minimum adjustment times and records the stepping parameters of the constant temperature algorithm of the corresponding binding point. Referring to fig. 10, the optimal initial value obtained in fig. 8 and the optimal parameter of the constant temperature algorithm obtained in fig. 9 are applied as parameters to the Gamma adjustment procedure.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the figures may include steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the disclosure further provides a Gamma adjusting device for implementing the above related Gamma adjusting method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitation of one or more embodiments of the Gamma adjustment device provided below may be referred to the limitation of the Gamma adjustment method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 11, a Gamma adjustment device 1100 is provided, 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 a step parameter to a specified value, input data conforming to a first preset range into an RGB register corresponding to a target binding point, and determine first optical data of a module according to the data conforming to the first preset range and the specified value.
The initial value determining module 1104 is configured to compare the first optical data with a preset threshold range, and determine the data conforming to the first preset range as an initial value of the RGB register if the first optical data falls within the preset threshold range.
The second optical data module 1106 is configured to input the initial value into the RGB register corresponding to the target binding point, set the step parameter to be a step parameter conforming to a second preset range, and determine second optical data of the module according to the initial value and the step parameter conforming to the second preset range.
And 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 that meets 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 step parameter.
The modules in the Gamma adjusting device can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof 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 includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode 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, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structures shown in FIG. 12 are only block diagrams of portions of structures associated with the disclosed aspects and are not limiting as to the computer device on which the disclosed aspects may be implemented, and that a particular computer device may include more or less components than those shown, or may combine some of the 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 method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided by the present disclosure may include at least one of non-volatile and volatile memory, among others. 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 (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided by the present disclosure may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors involved in the embodiments provided by the present 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 thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples have expressed only a few embodiments of the present disclosure, which are described in more detail and detail, but are not to be construed as limiting the scope of the present disclosure. It should be noted that variations and modifications can be made by those skilled in the art without departing from the spirit of the disclosure, which are within the scope of the disclosure. Accordingly, the scope of the present disclosure should be determined from the following claims.

Claims (9)

1. A Gamma adjustment method, the method comprising:
setting a stepping parameter as a designated value, inputting data conforming to 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 conforming to 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 conforming to the first preset range as an initial value of an RGB register;
inputting the initial value into an RGB register corresponding to a target binding point, setting a stepping parameter as a stepping parameter conforming to a second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 conforming to 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 the comparing the first optical data with a predetermined threshold range, and if the first optical data falls within the predetermined threshold range, determining the data conforming to the first predetermined range as an initial value of an RGB register, 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 conforming to the first preset range in the adjusted RGB register as an initial value of the RGB register.
3. The method of claim 1, wherein the comparing the second optical data to the preset threshold range, and if the second optical data falls within the preset threshold range, determining the step parameter that meets the second preset range as the target step parameter, the method further comprises:
and comparing the second optical data with the preset threshold range, and if the second optical data does not fall into the preset threshold range, adjusting the stepping parameter according to a 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. A method according to claim 3, characterized in that the method further comprises:
judging whether the adjustment time falls within a third preset range, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data;
and if the adjustment time falls into the third preset range, determining the stepping parameter corresponding to the adjustment time as a target stepping parameter.
5. The method according to claim 4, wherein the method further comprises:
judging whether the adjustment time falls within a third preset range, wherein the adjustment time comprises the time from inputting initial values into the RGB register to obtaining second optical data;
and if the adjustment time does not fall into the third preset range, adjusting the stepping parameter according to the second preset range until the second optical data fall into the preset threshold range, and determining the adjusted stepping parameter as a target stepping parameter.
6. The method of claim 1, wherein the Gamma adjustment based on the initial values of the RGB registers and the target step parameter comprises:
setting the 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;
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 of the next target binding point.
7. A Gamma adjustment device, the device comprising:
the first optical data module is used for setting the stepping parameter as a specified value, inputting data conforming to a first preset range into an RGB register corresponding to a target binding point, and determining first optical data of the module according to the data conforming to the first preset range and the specified value;
the initial value determining module is used for comparing the first optical data with a preset threshold range, and determining the data conforming to the first preset range as an initial value of an RGB register if the first optical data falls into the preset threshold range;
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 as the stepping parameter conforming to the second preset range, and determining second optical data of the module according to the initial value and the stepping parameter conforming to 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 value conforming to the second preset range as a target stepping parameter;
and the adjusting module is used for performing 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 implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
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 CN114360426A (en) 2022-04-15
CN114360426B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111551348A (en) * 2020-05-08 2020-08-18 昆山国显光电有限公司 Gamma debugging method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106328070B (en) * 2016-09-28 2018-12-28 武汉精测电子集团股份有限公司 OLED mould group Gamma adjusting process and device
CN106384573B (en) * 2016-11-04 2018-09-14 武汉精测电子集团股份有限公司 The OLED module Gamma adjusting process calculated based on linear interpolation
CN110164371B (en) * 2018-11-20 2021-01-26 京东方科技集团股份有限公司 Gamma correction method and device for display module
CN110021272A (en) * 2019-01-29 2019-07-16 信利(惠州)智能显示有限公司 GAMMA adjusting method, device, computer and the storage medium of display module
CN110428777B (en) * 2019-08-14 2021-01-22 京东方科技集团股份有限公司 Display correction method and device of display module
CN110910847B (en) * 2019-11-25 2021-09-21 豪威触控与显示科技(深圳)有限公司 Gamma correction method and device for display module
CN111243550B (en) * 2020-03-26 2021-07-30 深圳精智达技术股份有限公司 Adjusting device, adjusting method and medium for gamma voltage and white balance of display screen
CN113035152B (en) * 2021-03-16 2022-06-03 武汉天马微电子有限公司 Gray scale brightness adjusting method and device of display panel

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111551348A (en) * 2020-05-08 2020-08-18 昆山国显光电有限公司 Gamma debugging method and device

Also Published As

Publication number Publication date
CN114360426A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN110399487B (en) Text classification method and device, electronic equipment and storage medium
CN110363303B (en) Memory training method and device for intelligent distribution model and computer readable storage medium
CN114089921A (en) Power system data storage method and device, computer equipment and storage medium
CN114360426B (en) Gamma adjusting method, gamma adjusting device, computer equipment and storage medium
CN116991800A (en) File acquisition system, method, device, computer equipment and storage medium
CN116894721A (en) Index prediction method and device and computer equipment
CN117112090A (en) Business page theme generation method, device, computer equipment, medium and product
CN114614992B (en) Signature value output and verification method, device, computer equipment and storage medium
CN115237097A (en) Automatic driving simulation test method, device, computer equipment and storage medium
CN115147296A (en) Hyperspectral image correction method, device, computer equipment and storage medium
CN114253481A (en) Data storage method and device, computer equipment and storage medium
CN113160126A (en) Hardware Trojan horse detection method and device, computer equipment and storage medium
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
US11788130B2 (en) Computing device, storage medium, and method for managing sequencing progress
CN116469498B (en) Material removal rate prediction method and device, terminal equipment and storage medium
CN116612474B (en) Object detection method, device, computer equipment and computer readable storage medium
CN115686706B (en) Terminal view configuration method, device, computer equipment and storage medium
CN116402842B (en) Edge defect detection method, device, computer equipment and storage medium
CN117036490B (en) Method, device, computer equipment and medium for detecting preset bit offset of camera
CN117392477A (en) Training of object detection model, apparatus, computer device and storage medium
CN117238017A (en) Face recognition method, device, computer equipment and storage medium
CN116523943A (en) Image binarization processing method, device, equipment, storage medium and product
CN117112206A (en) Transaction resource isolation method, device, computer equipment and storage medium
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium

Legal Events

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