CN113327552A - Gamma debugging method and device, electronic equipment and storage medium - Google Patents

Gamma debugging method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113327552A
CN113327552A CN202110683509.0A CN202110683509A CN113327552A CN 113327552 A CN113327552 A CN 113327552A CN 202110683509 A CN202110683509 A CN 202110683509A CN 113327552 A CN113327552 A CN 113327552A
Authority
CN
China
Prior art keywords
pixel
color sub
parameter value
sub
value corresponding
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
CN202110683509.0A
Other languages
Chinese (zh)
Other versions
CN113327552B (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.)
Hefei Visionox Technology Co Ltd
Original Assignee
Hefei Visionox 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 Hefei Visionox Technology Co Ltd filed Critical Hefei Visionox Technology Co Ltd
Priority to CN202110683509.0A priority Critical patent/CN113327552B/en
Publication of CN113327552A publication Critical patent/CN113327552A/en
Application granted granted Critical
Publication of CN113327552B publication Critical patent/CN113327552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • G09G3/3607Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction

Abstract

The embodiment of the application provides a gamma debugging method and a device thereof, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a target brightness parameter value and a register value of each color sub-pixel corresponding to the first binding point; obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value of each color sub-pixel; for the ith color sub-pixel, when the difference value between the target brightness parameter value and the measured brightness parameter value exceeds a first error range, determining a debugging step length according to the difference value; and adjusting the register value according to the debugging step length, and returning to the step of obtaining the measured brightness parameter value corresponding to each color sub-pixel according to the register value of each color sub-pixel until the difference value of the target brightness parameter value and the measured brightness parameter value of each color sub-pixel is within a first error range. The embodiment of the application can ensure that the gamma debugging time is shortened to a greater extent while the register values of all colors are converged to the optimal register value.

Description

Gamma debugging method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of display, and particularly relates to a gamma debugging method and device, electronic equipment and a storage medium.
Background
To meet the display requirements, gamma adjustment is usually required before the display devices (such as organic light emitting diode OLED display devices and liquid crystal LCD display devices) are marketed to ensure that the display effect of the display devices meets the display requirements. In the gamma debugging process, the core step is to determine the register value corresponding to each color sub-pixel of each binding point.
The inventor of the present application finds that, in the related art, a fixed debugging step length is usually adopted to adjust the register value corresponding to each color sub-pixel, and there are problems that the register value corresponding to each color sub-pixel cannot be converged to the optimal register value or the number of times of adjusting the register value corresponding to each color sub-pixel is large, and gamma debugging takes a long time.
Disclosure of Invention
The embodiment of the application provides a gamma debugging method and device, electronic equipment and a storage medium, which can solve the problem that register values corresponding to sub-pixels of each color cannot be converged to an optimal register value or the gamma debugging takes long time in the related technology.
In a first aspect, an embodiment of the present application provides a gamma debugging method, where the method is applied to a display device, where the display device includes a plurality of pixel units arranged in an array, each of the pixel units includes a plurality of color sub-pixels, and the method includes:
acquiring a target brightness parameter value of each color sub-pixel corresponding to a first binding point and a register value corresponding to each color sub-pixel;
obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel;
for an ith color sub-pixel, when a difference value between a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, determining a debugging step length corresponding to the ith color sub-pixel according to the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel, wherein i is a positive integer;
adjusting a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel to obtain an adjusted register value corresponding to the ith color sub-pixel, and returning to the step of obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until the difference value between the target brightness parameter value corresponding to each color sub-pixel and the measured brightness parameter value corresponding to each color sub-pixel is within the first error range.
In a second aspect, an embodiment of the present application provides a gamma debugging apparatus, where the gamma debugging apparatus is applied to a display apparatus, where the display apparatus includes a plurality of pixel units arranged in an array, each of the pixel units includes a plurality of color sub-pixels, and the gamma debugging apparatus includes:
the acquisition module is used for acquiring a target brightness parameter value of each color sub-pixel corresponding to the first binding point and a register value corresponding to each color sub-pixel;
the measuring module is used for obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel;
a debugging step length determining module, configured to determine, for an ith color sub-pixel, a debugging step length corresponding to the ith color sub-pixel according to a difference between a target luminance parameter value corresponding to the ith color sub-pixel and a measured luminance parameter value corresponding to the ith color sub-pixel when the difference between the target luminance parameter value corresponding to the ith color sub-pixel and the measured luminance parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, where i is a positive integer;
and an adjusting module, configured to adjust a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel, obtain an adjusted register value corresponding to the ith color sub-pixel, and return to the step of obtaining the measured luminance parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until a difference between the target luminance parameter value corresponding to each color sub-pixel and the measured luminance parameter value corresponding to each color sub-pixel is within the first error range.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the gamma debugging method as provided by the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the gamma debugging method provided in the first aspect.
According to the gamma debugging method and the device, the electronic equipment and the storage medium of the gamma debugging method, firstly, a target brightness parameter value of each color sub-pixel corresponding to a first binding point and a register value corresponding to each color sub-pixel are obtained; then obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel; then for the ith color sub-pixel, when the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, determining a debugging step length corresponding to the ith color sub-pixel according to the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel, wherein i is a positive integer; and then adjusting a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel to obtain a register value corresponding to the adjusted ith color sub-pixel, and returning to the step of obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until the difference value between the target brightness parameter value corresponding to each color sub-pixel and the measured brightness parameter value corresponding to each color sub-pixel is within a first error range. The debugging time length of the register value corresponding to each color sub-pixel can be dynamically adjusted according to the difference value between the target brightness parameter value and the measured brightness parameter value corresponding to each color sub-pixel, so that the register value corresponding to each color sub-pixel can be converged to the optimal register value according to the dynamically adjusted modulation time length, the number of times of adjusting the register value corresponding to each color sub-pixel is reduced to a greater extent while the convergence to the optimal register value is ensured, and the gamma debugging time is shortened.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a gamma debugging method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of step S103 of a gamma debugging method according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a relationship between a register value and a luminance parameter value corresponding to an R sub-pixel;
FIG. 4 is a schematic flowchart illustrating a gamma adjustment apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Before explaining the technical solutions provided by the embodiments of the present application, in order to facilitate understanding of the embodiments of the present application, the present application first specifically explains the problems existing in the prior art:
as mentioned above, in order to ensure that the display effect of the display device conforms to the gamma2.2 curve and meets the display requirements of x, y color coordinates, etc., it is usually necessary to perform gamma debugging before the display device is marketed to determine the register values corresponding to the sub-pixels of each color of each gray scale. For example, the register value of the red color R sub-pixel, the register value of the green color G sub-pixel, and the register value of the blue color B sub-pixel in each gray scale of 0 to 255 should be determined when the display requirements are satisfied. Of course, besides the three colors of RGB, other color sub-pixels, such as a white color W sub-pixel, may be included, which is not limited in this embodiment.
The inventor of the present application finds that, in the related art, a fixed debugging step length is usually adopted to adjust the register value corresponding to each color sub-pixel, and when the selected fixed debugging step length is large, the register value corresponding to each color sub-pixel cannot be converged to the optimal register value; when the selected fixed debugging step length is smaller, the times of adjusting the register value corresponding to each color sub-pixel are more, and the gamma debugging consumes long time.
In order to take into account the accuracy of the register value corresponding to each color sub-pixel and the gamma debugging speed, a general idea of the related art is: firstly, coarse adjustment is carried out on register values corresponding to the color sub-pixels by using a larger fixed step length, so that stimulus values corresponding to the color sub-pixels are converged within a first error range; then, a smaller fixed step length is used to finely adjust the register value corresponding to each color sub-pixel, so that the chroma brightness value corresponding to each color sub-pixel is converged within a second error range. Although the scheme can take into account the accuracy of the register value corresponding to each color sub-pixel and shorten the gamma debugging time to a certain extent, the problems still exist that if the fixed debugging step length is selected to be large in coarse adjustment, the register value corresponding to each color sub-pixel cannot be converged to the optimal register value, and if the fixed debugging step length is selected to be small in fine adjustment, the gamma debugging takes a long time.
In view of the above research of the inventor, the embodiments of the present application provide a technical solution different from the technical concept of the related art. Specifically, embodiments of the present application provide a gamma debugging method and apparatus, an electronic device, and a storage medium, which can ensure that register values corresponding to color sub-pixels converge to an optimal register value, and reduce the number of times of adjusting the register values corresponding to the color sub-pixels to a greater extent, thereby shortening the time of gamma debugging.
The technical idea of the embodiment of the application is as follows: and when the register value corresponding to each color sub-pixel is adjusted each time, dynamically adjusting the debugging step length of the register value corresponding to each color sub-pixel according to the difference value between the target brightness parameter value and the measured brightness parameter value corresponding to each color sub-pixel. Therefore, the register value corresponding to each color sub-pixel can be converged to the optimal register value according to the dynamically adjusted debugging time length, and the number of times of adjusting the register value corresponding to each color sub-pixel is reduced to a greater extent while the convergence to the optimal register value is ensured, so that the gamma debugging time is shortened.
First, a gamma debugging method provided in an embodiment of the present application is described below.
The gamma debugging method provided by the embodiment of the application is applied to a display device, and the display device can comprise an OLED display device, for example. It is easily understood that the display device includes a plurality of pixel units arranged in an array, and each pixel unit may include a plurality of color sub-pixels. Illustratively, the plurality of color sub-pixels may include a red color sub-pixel (R sub-pixel), a green color sub-pixel (G sub-pixel), and a blue color sub-pixel (B sub-pixel). Of course, besides R, G and B, the color sub-pixels may also include other color sub-pixels, such as a white color sub-pixel (W sub-pixel), which is not limited in this embodiment.
Fig. 1 is a schematic flowchart of a gamma debugging method according to an embodiment of the present disclosure. As shown in fig. 1, the method may include the steps of:
s101, obtaining a target brightness parameter value of each color sub-pixel corresponding to the first binding point and a register value corresponding to each color sub-pixel.
In the embodiment of the present application, the first binding point may be understood as any binding point or any gray level, such as 0 gray level, 50 gray level or 200 gray level. In practical applications, the first binding point is any one of a plurality of binding points selected during gamma debugging.
Taking the example that the plurality of color sub-pixels includes R, G and B color sub-pixels, in S101, the target luminance parameter value of the R sub-pixel, the target luminance parameter value of the G sub-pixel, and the target luminance parameter value of the B sub-pixel corresponding to the first binding point may be obtained. Illustratively, the target brightness parameter value may comprise a target stimulus value. The stimulus value corresponding to the R sub-pixel is called the red primary stimulus value, denoted by the letter X; the stimulus value corresponding to the G sub-pixel is called the green primary stimulus value, denoted by the letter Y; the stimulus value corresponding to the B subpixel is called the blue primary stimulus value and is denoted by the letter Z. Correspondingly, in S101, the target red primary color stimulus value X of the R sub-pixel corresponding to the first binding point may be specifically obtainedtarG sub-pixel target green primary color stimulus value YtarAnd target blue primary stimulus value Z of B sub-pixeltar
In some specific implementationsIn an example, the target primary red color stimulation value X of the R sub-pixel corresponding to the first binding point can be obtained according to the gamma2.2 curve and the set X, y color coordinatestarG sub-pixel target green primary color stimulus value YtarAnd target blue primary stimulus value Z of B sub-pixeltar
Wherein the x color coordinate corresponds to the R sub-pixel and the y color coordinate corresponds to the G sub-pixel. In addition to the x, y color coordinates, z color coordinates may be included, which correspond to the B sub-pixel, where x + y + z is 1. Specifically, for a first binding point (i.e. any one binding point), a brightness value corresponding to the first binding point may be obtained according to a gamma2.2 curve, where the brightness value is the target primary green color stimulus value Ytar. Since the x-color coordinate and the Y-color coordinate are known, the target green primary color stimulus value Y can be obtained according to the x-color coordinate, the Y-color coordinate and the target green primary color stimulus value YtarAnd calculating to obtain the target red primary color stimulus value Xtar. Next, the z color coordinate is obtained from x + y + z being 1. Finally, according to the Z color coordinate, the y color coordinate and the target primary green color stimulus value Ytar, calculating to obtain a target primary blue color stimulus value Ztar
In S101, in addition to the target brightness parameter value of each color sub-pixel corresponding to the first binding point, a register value corresponding to each color sub-pixel is also obtained. At the first iteration, i.e., S101, an initial register value may be assigned to each color sub-pixel. For example, an initial register value R corresponding to the R sub-pixel may be assigned0An initial register value G corresponding to the G sub-pixel can be given0An initial register value B corresponding to the B sub-pixel can be given0
And S102, obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel.
Specifically, the register value corresponding to each color sub-pixel may be input into the test panel, and then measured by an optical device such as a color analyzer to obtain a measured luminance parameter value corresponding to each color sub-pixel. The measured brightness parameter value is understood to be a brightness parameter value obtained by measurement, which may in particular comprise a measured stimulus value. With multiple colour sub-pixel packetsIncluding R, G and B color sub-pixels as an example, in S102, the measured red primary color stimulus value X of the R sub-pixel corresponding to the first binding point can be specifically obtainedmeaG sub-pixel measurement green primary color stimulus value YmeaAnd the measured primary blue stimulus value Z of the B sub-pixelmea
S103, for the ith color sub-pixel, when the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, determining a debugging step length corresponding to the ith color sub-pixel according to the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel, wherein i is a positive integer.
In the embodiment of the present application, the first error range may be flexibly set according to actual situations, and the embodiment of the present application is not limited.
It is easy to understand that, for any color sub-pixel, if the difference between the measured brightness parameter value corresponding to the color sub-pixel and the target brightness parameter is large, it indicates that the current register value of the color sub-pixel is not satisfactory, and needs to be readjusted. In order to ensure that the register value of each color sub-pixel can converge to the optimal register value, and simultaneously reduce the number of times of adjusting the register value corresponding to each color sub-pixel to a greater extent, and shorten the gamma debugging time, in S103, the debugging step length of the register value corresponding to each color sub-pixel is dynamically adjusted according to the difference value between the target brightness parameter value and the measured brightness parameter value corresponding to each color sub-pixel. Therefore, the register value corresponding to each color sub-pixel can be converged to the optimal register value according to the dynamically adjusted debugging time length, and the times of adjusting the register value corresponding to each color sub-pixel are reduced to a greater extent while the convergence to the optimal register value is ensured, so that the gamma debugging time is shortened.
As shown in fig. 2, in some embodiments, S103 may specifically include the following steps S1031 and S1032.
And S1031, obtaining the brightness parameter value variable quantity corresponding to the sub-debugging step length. A sub-debug step can be understood as a reference unit length of the debug step, e.g. 1. For example, when the debug step is 5, the debug step includes 5 sub debug steps of the reference unit length. When the reference unit length is 1, in S1031, the luminance parameter value variation corresponding to 1 step is acquired. Illustratively, the luminance parameter value variation may be understood as a variation of the primary red color stimulus value X, a variation of the primary green color stimulus value Y, or a variation of the primary blue color stimulus value Z.
S1032, determining the debugging step size corresponding to the ith color sub-pixel according to the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel and the brightness parameter value variation corresponding to the sub-debugging step size.
Specifically, in S1032, the debugging step size corresponding to the ith color sub-pixel may be determined according to the following expression:
Figure BDA0003123676540000081
wherein, Δ L represents the variation of the brightness parameter value corresponding to the sub-debugging step length; i.e. instepIndicating the debugging step length i corresponding to the ith color sub-pixeltarRepresenting a target luminance parameter value, i, corresponding to the ith color sub-pixelmeaRepresenting the measured luminance parameter value corresponding to the ith color sub-pixel.
Under different conditions, the luminance parameter value variation Δ L corresponding to the sub-debugging step length can be obtained in different manners, that is, the debugging step length corresponding to the ith color sub-pixel can be obtained in different manners. Specifically, to increase the rate of gamma debugging, in some embodiments, the debugging step size corresponding to the ith color sub-pixel may be determined according to the historical debugging step size of the ith color sub-pixel. It is simply understood that the adjustment may be performed based on the historical adjustment step size of the ith color sub-pixel, so as to obtain the adjustment step size corresponding to the ith color sub-pixel. However, considering that the XYZ tristimulus values do not absolutely correspond to the RGB register values, there are cases where the register value increase stimulus value decreases or the register value decrease stimulus value increases (that is, cases where the colorimetry principle is not satisfied). In this case, if the historical debugging step size is still used to determine the debugging step size corresponding to the ith color sub-pixel, the error will become larger and larger. Therefore, only under the condition of meeting the colorimetry principle, the debugging step length corresponding to the ith color sub-pixel is determined according to the historical debugging step length of the ith color sub-pixel; and under the condition that the principle of colorimetry is not satisfied, determining the debugging step length corresponding to the ith color sub-pixel at the current time in another mode.
Specifically, S1031 may specifically include the following steps one to three:
step one, obtaining a historical debugging step length and a historical measurement brightness parameter value of an ith color sub-pixel. Illustratively, the historical debug step may be a debug step obtained from a previous iteration of the ith color sub-pixel, and the historical measured luminance parameter value may be a measured luminance parameter value obtained from a previous iteration of the ith color sub-pixel.
And step two, judging whether a first preset condition is met or not according to the historical debugging step length and the historical measurement brightness parameter value of the ith color sub-pixel. The first preset condition is to judge whether the register value of the ith color sub-pixel and the measured brightness parameter value accord with the colorimetry principle. In principle, the measured luminance parameter value obtained this time by the ith color sub-pixel should be increased with the increase of the register value of the ith color sub-pixel or decreased with the decrease of the register value of the ith color sub-pixel compared with the measured luminance parameter value obtained by the previous iteration of the ith color sub-pixel. Thus, the first preset condition may include: under the condition that the historical debugging step length is positive, the measured brightness parameter value corresponding to the ith color sub-pixel is larger than the historical measured brightness parameter value; or, under the condition that the historical debugging step length is negative, the measured brightness parameter value corresponding to the ith color sub-pixel is smaller than the historical measured brightness parameter value. If the first preset condition is met, the register value of the ith color sub-pixel and the measured brightness parameter value are in accordance with the colorimetry principle.
Under the condition that a first preset condition is met, calculating the ratio of the first difference value to the historical debugging step length of the ith color sub-pixel to obtain the brightness parameter value variation corresponding to the sub-debugging step length; the first difference is the difference between the historical measured brightness parameter value and the measured brightness parameter value corresponding to the ith color sub-pixel. Under the condition that the first preset condition is not met, calculating the ratio of the first sum to the first product to obtain the brightness parameter value variable quantity corresponding to the sub-debugging step length; the first sum is the sum of a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel, the first product is the product of a preset gain adjustment coefficient and a second difference value, and the second difference value is the difference value between a register value corresponding to the ith color sub-pixel and a preset register starting value of the ith color sub-pixel.
Correspondingly, in S1032, the debugging step size corresponding to the ith color sub-pixel may be determined according to the difference between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel, and the brightness parameter value variation corresponding to the sub-debugging step size.
In some specific embodiments, in the case that the first preset condition is satisfied, the luminance parameter value variation corresponding to the sub-debugging step size is determined according to the following expression:
Figure BDA0003123676540000101
wherein imeaRepresenting the measured luminance parameter value, i, corresponding to the ith color sub-pixelomeaRepresenting values of historically measured luminance parameters, iostepRepresenting the historical debug step size.
Correspondingly, under the condition that the first preset condition is met, the expression of the debugging step corresponding to the ith color sub-pixel is as follows:
Figure BDA0003123676540000102
wherein the content of the first and second substances,
Figure BDA0003123676540000103
representing the variation of the brightness parameter value corresponding to the sub-debugging step length; i.e. instepIndicating the debugging step length i corresponding to the ith color sub-pixeltarRepresenting a target luminance parameter value, i, corresponding to the ith color sub-pixelmeaRepresenting the measured luminance parameter value, i, corresponding to the ith color sub-pixelomeaRepresenting values of historically measured luminance parameters, iostepRepresenting the historical debug step size.
Specifically, when the ith color sub-pixel is an R sub-pixel, the above expression (3) can be expressed as:
Figure BDA0003123676540000104
wherein the content of the first and second substances,
Figure BDA0003123676540000105
representing the variation of the red primary color stimulus value corresponding to the sub-debugging step length corresponding to the R sub-pixel; rnstepRepresents the corresponding debugging step length, X, of the R sub-pixeltarRepresenting the target red primary color stimulus value, X, corresponding to the R sub-pixelmeaRepresenting measured red primary color stimulus values, X, corresponding to R sub-pixelsomeaRepresenting historically measured red primary stimulus values of R sub-pixels, RostepRepresenting the historical debug step size of the R sub-pixel.
Specifically, when the ith color sub-pixel is a G sub-pixel, the above expression (3) can be expressed as:
Figure BDA0003123676540000111
wherein the content of the first and second substances,
Figure BDA0003123676540000112
representing the variation of the green primary color stimulus value corresponding to the sub-debugging step length corresponding to the G sub-pixel; gnstepIndicating the corresponding debugging step size, Y, of the G sub-pixeltarIndicating the target green primary stimulus value, Y, corresponding to the G sub-pixelmeaIndicating the measured green primary stimulus value, Y, corresponding to the G sub-pixelomeaRepresenting a historically measured green primary stimulus value, G, of the G sub-pixelostepRepresents G atomHistorical debug step size of pixel.
Specifically, when the ith color sub-pixel is a B sub-pixel, the above expression (3) can be expressed as:
Figure BDA0003123676540000113
wherein the content of the first and second substances,
Figure BDA0003123676540000114
representing the variation of the blue primary color stimulus value corresponding to the sub-debugging step length corresponding to the B sub-pixel; rnstepRepresents the corresponding debugging step length, Z, of the B sub-pixeltarRepresenting the target primary blue stimulus value, Z, corresponding to the B sub-pixelmeaRepresenting the measured primary blue stimulus value, Z, corresponding to the B sub-pixelomeaRepresenting historically measured primary blue stimulus values, R, of B sub-pixelsostepRepresenting the historical debug step size of the B sub-pixel.
As can be seen from the above expressions (2) to (6), the debugging step of the register value corresponding to the ith color sub-pixel can be dynamically adjusted by referring to the historical debugging step and the historical measured brightness parameter value of the ith color sub-pixel. Therefore, the register value corresponding to the ith color sub-pixel can be converged to the optimal register value according to the dynamically adjusted debugging time length, and the times of adjusting the register value corresponding to the ith color sub-pixel are reduced to a greater extent while the convergence to the optimal register value is ensured, so that the gamma debugging time is shortened.
In some other specific embodiments, when the first preset condition is not satisfied, the luminance parameter value variation corresponding to the sub-debugging step length may be determined according to the following expression:
Figure BDA0003123676540000121
where ki represents a preset gain adjustment coefficient, itarRepresenting a target luminance parameter value, i, corresponding to the ith color sub-pixelmeaIndicating the measured brightness parameter corresponding to the ith color sub-pixelValue ivalueIndicating the register value, i, corresponding to the ith color sub-pixeloffsetAnd the register starting value of the preset ith color sub-pixel is represented.
Correspondingly, under the condition that the first preset condition is not met, the expression of the debugging step corresponding to the ith color sub-pixel is as follows:
Figure BDA0003123676540000122
wherein the content of the first and second substances,
Figure BDA0003123676540000123
representing the variation of the brightness parameter value corresponding to the sub-debugging step length; i.e. instepRepresenting the debugging step length corresponding to the ith color sub-pixel; ki denotes a preset gain adjustment coefficient, itarRepresenting a target luminance parameter value, i, corresponding to the ith color sub-pixelmeaRepresenting the measured luminance parameter value, i, corresponding to the ith color sub-pixelvalueIndicating the register value, i, corresponding to the ith color sub-pixeloffsetAnd the register starting value of the preset ith color sub-pixel is represented.
Taking the ith color sub-pixel as the R sub-pixel as an example, the above expression (8) can be expressed as:
Figure BDA0003123676540000124
wherein the content of the first and second substances,
Figure BDA0003123676540000125
representing the variation of the red primary color stimulus value corresponding to the sub-debugging step length corresponding to the R sub-pixel; rnstepRepresenting the debugging step length corresponding to the R sub-pixel; kR represents a gain adjustment coefficient of a predetermined R sub-pixel, XtarRepresenting the target red primary color stimulus value, X, corresponding to the R sub-pixelmeaRepresenting measured red primary color stimulus values, R, corresponding to R sub-pixelsvalueRepresenting the register value corresponding to the R sub-pixel, RoffsetAnd the register starting value of the preset R sub-pixel is represented.
When the ith color sub-pixel is a G sub-pixel or a B sub-pixel, similar modifications to those of the R sub-pixel may be made based on the above expression (8), and details are not repeated herein for brevity.
It should be noted that, for the preset gain adjustment coefficient ki, the gain adjustment coefficients corresponding to the sub-pixels of different colors may be the same or different. In addition, the value range of the gain adjustment coefficient corresponding to each color sub-pixel may be 0.5 to 0.6, which is not limited in this embodiment of the present application.
The gain adjustment coefficient ki is set in the embodiment of the present application because: the inventor of the application finds that when the gain adjustment coefficient ki is not increased, the deviation between the debugging step length calculated based on the expression (8) and the ideal debugging step length is large, so that the gain adjustment coefficient ki is introduced to correct the debugging step length, the deviation between the debugging step length and the ideal debugging step length is reduced, the adjustment times are further reduced, and the gamma debugging time is shortened.
In addition, the register starting value i of the ith color sub-pixel is set according to the embodiment of the applicationoffsetThe reason is that: as shown in fig. 3, taking the R sub-pixel as an example, the abscissa in fig. 3 is the register value corresponding to the R sub-pixel (R register value for short), and the ordinate is the luminance parameter value. The inventor of the present application has found that the luminance parameter value is 0 in a certain range (e.g., 0 to 400) of the R register value at the beginning. The brightness parameter value only starts to change when the R register value is greater than 400. Therefore, at the time of gamma debugging, the R register value may not start from 0 but from 400, which may shorten the time of gamma debugging.
S104, adjusting a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel to obtain a register value corresponding to the adjusted ith color sub-pixel, and returning to the step of obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until the difference value between the target brightness parameter value corresponding to each color sub-pixel and the measured brightness parameter value corresponding to each color sub-pixel is within a first error range.
Specifically, on the basis of the register value corresponding to the ith color sub-pixel, the debugging step length corresponding to the ith color sub-pixel is increased to obtain the register value corresponding to the ith color sub-pixel after adjustment. And then, returning to the step S102, and obtaining the measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel.
It should be noted that, in order to facilitate the next iteration, the historical debug step and the historical measured brightness parameter value need to be updated at the same time as step S102. Specifically, the historical debugging step size R of the R sub-pixel can be adjustedostepUpdating to the debugging step length R corresponding to the R sub-pixel obtained this timenstepThe historical debugging step length G of the G sub-pixel can be adjustedostepUpdating to the debugging step length G corresponding to the G sub-pixel obtained this timenstepThe historical debugging step length B of the B sub-pixel can be adjustedostepUpdating to the debugging step length B corresponding to the B sub-pixel obtained this timenstep. The historical measured primary red color stimulus value of the R sub-pixel may be updated to the measured primary red color stimulus value corresponding to the R sub-pixel obtained this time, the historical measured primary green color stimulus value of the G sub-pixel may be updated to the measured primary green color stimulus value corresponding to the G sub-pixel obtained this time, and the historical measured primary blue color stimulus value of the B sub-pixel may be updated to the measured primary blue color stimulus value corresponding to the B sub-pixel obtained this time.
In S104, when the difference between the target luminance parameter value corresponding to each color sub-pixel and the measured luminance parameter value corresponding to each color sub-pixel is within the first error range, the tie-point debug is ended. For example, when the R sub-pixel corresponds to the target red primary color stimulus value XtarMeasured red primary color stimulus value X corresponding to R sub-pixelmeaIs within a first error range, and the G sub-pixel corresponds to a target green primary stimulus value YtarMeasuring green primary color stimulus value Y corresponding to G sub-pixelmeaIs within a first error range, and the target blue primary stimulus value Z corresponding to the B sub-pixeltarMeasuring primary blue stimulus value Z corresponding to sub-pixel BmeaWhen the difference value of (1) is within the first error range, the binding point debugging is finished, and the output is outputAnd finally, the register value corresponding to the R sub-pixel, the register value corresponding to the G sub-pixel and the register value corresponding to the B sub-pixel.
After the debugging of the tie points is finished, one tie point can be selected from the untdebugged tie points to be used as a first tie point for debugging until the debugging of all the tie points is finished.
Based on the gamma debugging method provided by the above embodiment, correspondingly, the application also provides a specific implementation manner of the gamma debugging device. The gamma debugging device of the embodiment of the application is applied to a display device, the display device may include a plurality of pixel units arranged in an array, each pixel unit may include a plurality of color sub-pixels, as shown in fig. 4, the gamma debugging device 40 includes:
an obtaining module 401, configured to obtain a target brightness parameter value of each color sub-pixel corresponding to the first binding point and a register value corresponding to each color sub-pixel;
a measuring module 402, configured to obtain a measured luminance parameter value corresponding to each color sub-pixel according to a register value corresponding to each color sub-pixel;
a debugging step length determining module 403, configured to determine, for an ith color sub-pixel, a debugging step length corresponding to the ith color sub-pixel according to a difference between a target luminance parameter value corresponding to the ith color sub-pixel and a measured luminance parameter value corresponding to the ith color sub-pixel when the difference between the target luminance parameter value corresponding to the ith color sub-pixel and the measured luminance parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, where i is a positive integer;
an adjusting module 404, configured to adjust a register value corresponding to the ith color sub-pixel according to a debugging step corresponding to the ith color sub-pixel, to obtain a register value corresponding to the adjusted ith color sub-pixel, and return to the step of obtaining a measured luminance parameter value corresponding to each color sub-pixel according to a register value corresponding to each color sub-pixel until a difference between a target luminance parameter value corresponding to each color sub-pixel and the measured luminance parameter value corresponding to each color sub-pixel is within a first error range.
In the gamma debugging device of the embodiment of the application, the obtaining module 401 is configured to obtain a target brightness parameter value of each color sub-pixel corresponding to the first binding point and a register value corresponding to each color sub-pixel; the measurement module 402 is configured to obtain a measured luminance parameter value corresponding to each color sub-pixel according to a register value corresponding to each color sub-pixel; the debugging step length determining module 403 is configured to determine, for an ith color sub-pixel, a debugging step length corresponding to the ith color sub-pixel according to a difference value between a target luminance parameter value corresponding to the ith color sub-pixel and a measured luminance parameter value corresponding to the ith color sub-pixel when the difference value between the target luminance parameter value corresponding to the ith color sub-pixel and the measured luminance parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, where i is a positive integer; the adjusting module 404 is configured to adjust a register value corresponding to the ith color sub-pixel according to the debugging step corresponding to the ith color sub-pixel to obtain an adjusted register value corresponding to the ith color sub-pixel, and return to the step of obtaining the measured luminance parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until the difference between the target luminance parameter value corresponding to each color sub-pixel and the measured luminance parameter value corresponding to each color sub-pixel is within the first error range. The debugging time length of the register value corresponding to each color sub-pixel can be dynamically adjusted according to the difference value between the target brightness parameter value and the measured brightness parameter value corresponding to each color sub-pixel, so that the register value corresponding to each color sub-pixel can be converged to the optimal register value according to the dynamically adjusted modulation time length, the number of times of adjusting the register value corresponding to each color sub-pixel is reduced to a greater extent while the convergence to the optimal register value is ensured, and the gamma debugging time is shortened.
In some embodiments, the debugging step size includes at least one sub-debugging step size with a preset length, and the debugging step size determining module 403 is specifically configured to: obtaining the brightness parameter value variable quantity corresponding to the sub-debugging step length; and determining a debugging step corresponding to the ith color sub-pixel according to the following expression:
Figure BDA0003123676540000151
wherein Δ L represents a variation of a brightness parameter value corresponding to the sub-debugging step; i.e. instepRepresents a debugging step length i corresponding to the ith color sub-pixeltarRepresenting a target luminance parameter value, i, corresponding to said ith color sub-pixelmeaAnd the measured brightness parameter value corresponding to the ith color sub-pixel is represented.
In some embodiments, the debugging step size determining module 403 is specifically configured to: acquiring a historical debugging step length and a historical measurement brightness parameter value of the ith color sub-pixel; under the condition that a first preset condition is met, calculating the ratio of the first difference to the historical debugging step length to obtain the brightness parameter value variable quantity corresponding to the sub-debugging step length; the first difference value is the difference value between the historical measurement brightness parameter value and the measurement brightness parameter value corresponding to the ith color sub-pixel; the first preset condition includes: under the condition that the historical debugging step length is positive, the measured brightness parameter value corresponding to the ith color sub-pixel is larger than the historical measured brightness parameter value; or, under the condition that the historical debugging step length is negative, the measured brightness parameter value corresponding to the ith color sub-pixel is smaller than the historical measured brightness parameter value.
In some embodiments, the debugging step size determining module 403 is specifically configured to:
determining the brightness parameter value variation corresponding to the sub-debugging step length according to the following expression:
Figure BDA0003123676540000161
wherein iomeaRepresenting values of historically measured luminance parameters, iostepRepresenting the historical debug step size.
In other embodiments, the debugging step size determining module 403 is specifically configured to: acquiring a historical debugging step length and a historical measurement brightness parameter value of the ith color sub-pixel; under the condition that the first preset condition is not met, calculating the ratio of the first sum to the first product to obtain the brightness parameter value variable quantity corresponding to the sub-debugging step length; the first sum is the sum of a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel, the first product is the product of a preset gain adjustment coefficient and a second difference value, and the second difference value is the difference value between a register value corresponding to the ith color sub-pixel and a preset register starting value of the ith color sub-pixel.
In other embodiments, the debugging step size determining module 403 is specifically configured to:
determining the brightness parameter value variation corresponding to the sub-debugging step length according to the following expression:
Figure BDA0003123676540000162
wherein ki represents the gain adjustment coefficient, ivalueRepresenting the register value, i, corresponding to said ith color sub-pixeloffsetAnd the register starting value of the preset ith color sub-pixel is represented.
In some embodiments, the plurality of color sub-pixels includes a red color sub-pixel, a green color sub-pixel, and a blue color sub-pixel; the target brightness parameter value comprises a target stimulus value and the measured brightness parameter value comprises a measured stimulus value.
Each module/unit in the apparatus shown in fig. 4 has a function of implementing each step in fig. 1, and can achieve the corresponding technical effect, and for brevity, the description is not repeated here.
Based on the gamma debugging method provided by the above embodiment, correspondingly, the application further provides a specific implementation manner of the electronic device. Please see the examples below.
Fig. 5 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application.
The electronic device may comprise a processor 501 and a memory 502 in which computer program instructions are stored.
Specifically, the processor 501 may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. In one example, memory 502 may include removable or non-removable (or fixed) media, or memory 502 is non-volatile solid-state memory. The memory 502 may be internal or external to the integrated gateway disaster recovery device.
In one example, the Memory 502 may be a Read Only Memory (ROM). In one example, the ROM may be mask programmed ROM, programmable ROM (prom), erasable prom (eprom), electrically erasable prom (eeprom), electrically rewritable ROM (earom), or flash memory, or a combination of two or more of these.
The memory 502 may include Read Only Memory (ROM), Random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform operations described with reference to the methods according to an aspect of the application.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement the methods/steps S101 to S104 in the embodiment shown in fig. 1, and achieve the corresponding technical effects achieved by the embodiment shown in fig. 1 executing the methods/steps thereof, which are not described herein again for brevity.
In one example, the electronic device can also include a communication interface 503 and a bus 510. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 to complete communication therebetween.
The communication interface 503 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
Bus 510 includes hardware, software, or both to couple the components of the electronic device to each other. By way of example, and not limitation, a Bus may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (Front Side Bus, FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) Bus, an infiniband interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a Micro Channel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a video electronics standards association local (VLB) Bus, or other suitable Bus or a combination of two or more of these. Bus 510 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, in combination with the gamma debugging method in the foregoing embodiments, the embodiments of the present application may provide a computer readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the gamma debugging methods in the above embodiments. Examples of computer readable storage media include non-transitory computer readable storage media such as electronic circuits, semiconductor memory devices, ROMs, random access memories, flash memories, erasable ROMs (eroms), floppy disks, CD-ROMs, optical disks, and hard disks.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. A gamma debugging method is applied to a display device, the display device comprises a plurality of pixel units which are arranged in an array, each pixel unit comprises a plurality of color sub-pixels, and the method comprises the following steps:
acquiring a target brightness parameter value of each color sub-pixel corresponding to a first binding point and a register value corresponding to each color sub-pixel;
obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel;
for an ith color sub-pixel, when a difference value between a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, determining a debugging step length corresponding to the ith color sub-pixel according to the difference value between the target brightness parameter value corresponding to the ith color sub-pixel and the measured brightness parameter value corresponding to the ith color sub-pixel, wherein i is a positive integer;
adjusting a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel to obtain an adjusted register value corresponding to the ith color sub-pixel, and returning to the step of obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until the difference value between the target brightness parameter value corresponding to each color sub-pixel and the measured brightness parameter value corresponding to each color sub-pixel is within the first error range.
2. The method according to claim 1, wherein the step size for debugging includes at least one sub-step size with a preset length, and the step size for debugging corresponding to the ith color sub-pixel is determined according to a difference between a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel, specifically including:
obtaining the brightness parameter value variable quantity corresponding to the sub-debugging step length; and
determining a debugging step corresponding to the ith color sub-pixel according to the following expression:
Figure FDA0003123676530000011
wherein Δ L represents a variation of a brightness parameter value corresponding to the sub-debugging step; i.e. instepRepresents a debugging step length i corresponding to the ith color sub-pixeltarRepresenting a target luminance parameter value, i, corresponding to said ith color sub-pixelmeaAnd the measured brightness parameter value corresponding to the ith color sub-pixel is represented.
3. The method according to claim 2, wherein the obtaining of the luminance parameter value variation corresponding to the sub-debugging step size specifically includes:
obtaining a historical debugging step length and a historical measurement brightness parameter value of the ith color sub-pixel;
under the condition that a first preset condition is met, calculating the ratio of a first difference value to the historical debugging step length to obtain the brightness parameter value variable quantity corresponding to the sub-debugging step length;
the first difference value is the difference value between the historical measured brightness parameter value and the measured brightness parameter value corresponding to the ith color sub-pixel;
the first preset condition includes:
under the condition that the historical debugging step length is positive, the measured brightness parameter value corresponding to the ith color sub-pixel is larger than the historical measured brightness parameter value; alternatively, the first and second electrodes may be,
and under the condition that the historical debugging step length is negative, the measured brightness parameter value corresponding to the ith color sub-pixel is smaller than the historical measured brightness parameter value.
4. The method according to claim 3, wherein the calculating a ratio of the first difference to the historical debugging step size to obtain the variation of the brightness parameter value corresponding to the sub-debugging step size when the first preset condition is satisfied specifically includes:
determining the brightness parameter value variation corresponding to the sub-debugging step length according to the following expression:
Figure FDA0003123676530000021
wherein iomeaRepresenting said historically measured brightness parameter value, iostepRepresenting the historical debug step size.
5. The method according to claim 2, wherein the obtaining of the luminance parameter value variation corresponding to the sub-debugging step size specifically includes:
obtaining a historical debugging step length and a historical measurement brightness parameter value of the ith color sub-pixel;
under the condition that a first preset condition is not met, calculating the ratio of a first sum value to the first product to obtain the brightness parameter value variable quantity corresponding to the sub-debugging step length;
the first sum is the sum of a target brightness parameter value corresponding to the ith color sub-pixel and a measured brightness parameter value corresponding to the ith color sub-pixel, the first product is the product of a preset gain adjustment coefficient and a second difference value, and the second difference value is the difference value between a register value corresponding to the ith color sub-pixel and a preset register starting value of the ith color sub-pixel;
the first preset condition includes:
under the condition that the historical debugging step length is positive, the measured brightness parameter value corresponding to the ith color sub-pixel is larger than the historical measured brightness parameter value; alternatively, the first and second electrodes may be,
and under the condition that the historical debugging step length is negative, the measured brightness parameter value corresponding to the ith color sub-pixel is smaller than the historical measured brightness parameter value.
6. The method according to claim 5, wherein the calculating a ratio of a first sum to the first product to obtain the variation of the luminance parameter value corresponding to the sub-debugging step, when the first preset condition is not satisfied, specifically includes:
determining the brightness parameter value variation corresponding to the sub-debugging step length according to the following expression:
Figure FDA0003123676530000031
wherein ki represents the gain adjustment coefficient, ivalueRepresenting the register value, i, corresponding to said ith color sub-pixeloffsetAnd the register starting value of the preset ith color sub-pixel is represented.
7. The method of any of claims 1-6, wherein the plurality of color sub-pixels comprises a red color sub-pixel, a green color sub-pixel, and a blue color sub-pixel;
the target brightness parameter value comprises a target stimulus value and the measured brightness parameter value comprises a measured stimulus value.
8. The gamma debugging device is characterized in that the gamma debugging device is applied to a display device, the display device comprises a plurality of pixel units which are arranged in an array, each pixel unit comprises a plurality of color sub-pixels, and the gamma debugging device comprises:
the acquisition module is used for acquiring a target brightness parameter value of each color sub-pixel corresponding to the first binding point and a register value corresponding to each color sub-pixel;
the measuring module is used for obtaining a measured brightness parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel;
a debugging step length determining module, configured to determine, for an ith color sub-pixel, a debugging step length corresponding to the ith color sub-pixel according to a difference between a target luminance parameter value corresponding to the ith color sub-pixel and a measured luminance parameter value corresponding to the ith color sub-pixel when the difference between the target luminance parameter value corresponding to the ith color sub-pixel and the measured luminance parameter value corresponding to the ith color sub-pixel exceeds a preset first error range, where i is a positive integer;
and an adjusting module, configured to adjust a register value corresponding to the ith color sub-pixel according to the debugging step length corresponding to the ith color sub-pixel, obtain an adjusted register value corresponding to the ith color sub-pixel, and return to the step of obtaining the measured luminance parameter value corresponding to each color sub-pixel according to the register value corresponding to each color sub-pixel until a difference between the target luminance parameter value corresponding to each color sub-pixel and the measured luminance parameter value corresponding to each color sub-pixel is within the first error range.
9. An electronic device, characterized in that the electronic device comprises: processor, memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the gamma debugging method according to any one of claims 1 to 7.
10. 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 gamma debugging method according to one of claims 1 to 7.
CN202110683509.0A 2021-06-21 2021-06-21 Gamma debugging method and device, electronic equipment and storage medium Active CN113327552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110683509.0A CN113327552B (en) 2021-06-21 2021-06-21 Gamma debugging method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110683509.0A CN113327552B (en) 2021-06-21 2021-06-21 Gamma debugging method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113327552A true CN113327552A (en) 2021-08-31
CN113327552B CN113327552B (en) 2022-05-17

Family

ID=77423831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110683509.0A Active CN113327552B (en) 2021-06-21 2021-06-21 Gamma debugging method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113327552B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113948041A (en) * 2021-10-13 2022-01-18 昆山国显光电有限公司 Brightness compensation method and device of display panel and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042464B1 (en) * 2003-08-01 2006-05-09 Apple Computer, Inc. Methods and apparatuses for the automated display of visual effects
CN107146565A (en) * 2017-04-26 2017-09-08 广州视源电子科技股份有限公司 The method and device of gamma curve based on DICOM calibration curve displays
CN107610649A (en) * 2017-10-26 2018-01-19 上海天马有机发光显示技术有限公司 The optical compensation method and device of a kind of display panel
CN109036233A (en) * 2018-09-07 2018-12-18 四川长虹电器股份有限公司 The automatic gamma curve adjustment method of production line multiple spot and system
CN110428777A (en) * 2019-08-14 2019-11-08 京东方科技集团股份有限公司 A kind of display bearing calibration of display module and device
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111192554A (en) * 2019-01-31 2020-05-22 昆山国显光电有限公司 Gamma adjusting method and device for display panel and display equipment
US20200357360A1 (en) * 2019-05-08 2020-11-12 Apple Inc. Method and Apparatus for Color Calibration for Reduced Motion-Induced Color Breakup

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7042464B1 (en) * 2003-08-01 2006-05-09 Apple Computer, Inc. Methods and apparatuses for the automated display of visual effects
CN107146565A (en) * 2017-04-26 2017-09-08 广州视源电子科技股份有限公司 The method and device of gamma curve based on DICOM calibration curve displays
CN107610649A (en) * 2017-10-26 2018-01-19 上海天马有机发光显示技术有限公司 The optical compensation method and device of a kind of display panel
CN109036233A (en) * 2018-09-07 2018-12-18 四川长虹电器股份有限公司 The automatic gamma curve adjustment method of production line multiple spot and system
CN111192554A (en) * 2019-01-31 2020-05-22 昆山国显光电有限公司 Gamma adjusting method and device for display panel and display equipment
US20200357360A1 (en) * 2019-05-08 2020-11-12 Apple Inc. Method and Apparatus for Color Calibration for Reduced Motion-Induced Color Breakup
CN110428777A (en) * 2019-08-14 2019-11-08 京东方科技集团股份有限公司 A kind of display bearing calibration of display module and device
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113948041A (en) * 2021-10-13 2022-01-18 昆山国显光电有限公司 Brightness compensation method and device of display panel and electronic equipment

Also Published As

Publication number Publication date
CN113327552B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN113948041B (en) Brightness compensation method and device of display panel and electronic equipment
CN108039143B (en) Gamma circuit adjusting method and device
US11330685B2 (en) Method, device, terminal setting and readable storage medium for correcting mixed color
CN112820233B (en) Gamma debugging method, device and equipment
CN110910847B (en) Gamma correction method and device for display module
CN112073703A (en) Method and device for adjusting color correction matrix, terminal equipment and medium
CN113327552B (en) Gamma debugging method and device, electronic equipment and storage medium
CN114023235B (en) Display panel driving method, electronic device, and computer-readable storage medium
CN111754913A (en) Gamma calculation method and device and display panel
CN112908240B (en) Gamma debugging method, device and equipment
CN114882822A (en) Gamma debugging method, device, equipment and computer readable storage medium
EP3905672B1 (en) Color space mapping method and device, computer readable storage medium and apparatus
CN113539165B (en) Gamma debugging method, device and equipment for display panel and storage medium
CN114267316A (en) Gamma debugging method, electronic device and computer readable storage medium
CN114283728A (en) Compensation method and device of display panel and computer readable storage medium
CN113393794B (en) Gamma debugging method, device and equipment
CN115019716A (en) Compensation method, device and equipment of display panel and storage medium
CN115359751A (en) Gamma debugging method and device and computer readable storage medium
CN114898714B (en) Brightness compensation method, device, equipment and medium
CN114882843A (en) Method and device for compensating brightness of display panel and computer readable storage medium
CN111458112B (en) Color coordinate measuring method, device, equipment and storage medium based on Gamma correction
CN111276092B (en) Optimization parameter determination method and device
CN114141197A (en) Gamma debugging method, electronic device and computer readable storage medium
CN114217757A (en) Color temperature adjustment method, terminal device and computer-readable storage medium
US20240127733A1 (en) Method, apparatus, and device for driving display screen to display

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