CN108039143B - Gamma circuit adjusting method and device - Google Patents
Gamma circuit adjusting method and device Download PDFInfo
- Publication number
- CN108039143B CN108039143B CN201711277373.3A CN201711277373A CN108039143B CN 108039143 B CN108039143 B CN 108039143B CN 201711277373 A CN201711277373 A CN 201711277373A CN 108039143 B CN108039143 B CN 108039143B
- Authority
- CN
- China
- Prior art keywords
- pixel
- white light
- sub
- color
- brightness
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 239000011159 matrix material Substances 0.000 claims description 70
- 238000012545 processing Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 17
- 230000009466 transformation Effects 0.000 claims description 10
- 238000012937 correction Methods 0.000 abstract description 27
- 238000012360 testing method Methods 0.000 abstract description 11
- 230000008569 process Effects 0.000 abstract description 8
- 241001270131 Agaricus moelleri Species 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/34—Control 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/36—Control 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/3607—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/2003—Display of colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0242—Compensation of deficiencies in the appearance of colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G2320/0276—Adjustment 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0673—Adjustment of display parameters for control of gamma adjustment, e.g. selecting another gamma curve
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/16—Calculation or use of calculated indices related to luminance levels in display data
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a Gamma circuit adjusting method and a Gamma circuit adjusting device, which are used for solving the problems of complicated Gamma correction process, long time consumption and low precision in the prior art. In the invention, Gamma correction is used for solving the brightness of each color sub-pixel in white light according to the brightness and color coordinates of the white light and the corresponding color coordinates of each color sub-pixel, establishing the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding sub-pixel, finding a voltage target value according to the calculated brightness of each color sub-pixel in the white light corresponding to any gray scale in the corresponding relation, and then debugging the voltage of the red, green and blue sub-pixels to the target value. Therefore, the Gamma correction does not need to regulate and test the voltages of the red sub-pixel and the green sub-pixel in the voltages of the red, green and blue sub-pixels for many times, the Gamma correction process is simple, the time consumption is reduced, and meanwhile, the accurate value can be obtained due to the fact that the voltage of each color sub-pixel of each gray scale can be obtained, so that the precision is high.
Description
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and an apparatus for adjusting a gamma circuit.
Background
At present, the electro-optical characteristics of red, green and blue of a display screen are inconsistent, so that the color difference of each gray scale is large. And only after the colors of the gray scales are consistent, the color temperature can be adjusted to the required color temperature through the white balance adjustment of the bright and dark fields. It is therefore necessary to correct the color of each gray scale, and to clear the color error of each gray scale, so that the display can be adjusted by white balance. Clearing color errors for each gray level can be achieved by Gamma correction of the display.
At present, in the prior art, when Gamma correction is performed, the binding gray scale brightness and the color coordinate are adjusted to target values by adjusting the voltage of the red, green and blue sub-pixels of the binding point. In specific implementation, after the GAMMA adjustment is performed to calculate the gray-scale brightness of the binding points according to the brightness of the 255 gray-scale white light, the voltages of the red and green sub-pixels of 28 binding points are sequentially and repeatedly adjusted, so that the brightness and the color coordinates of the binding points are continuously close to a target value and finally reach the set target value, and the rest gray scales are obtained in an interpolation fitting manner.
Therefore, in the prior art, when Gamma correction is performed, because binding point voltage needs to be adjusted and tested repeatedly for multiple times, and in practical application, multiple Gamma curves need to be debugged for practical use each time of Gamma correction; in addition, if different color coordinates of white light are required for operation, Gamma correction is required for each color coordinate. Therefore, the Gamma correction process is tedious and takes a long time. The Gamma correction only adjusts and tests 28 binding points, and the rest gray scales are obtained by adopting an interpolation fitting mode, so the problem of low precision also exists.
In conclusion, the existing Gamma correction technology has the problems of complicated process, long time consumption and low precision.
Disclosure of Invention
The invention provides a Gamma circuit adjusting method and device, which are used for solving the problems of complicated Gamma correction process, long time consumption and low precision in the prior art.
The invention provides a method for adjusting a gamma circuit, which comprises the following steps:
determining the brightness of white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels;
aiming at any one color sub-pixel, determining the color coordinate of the color sub-pixel corresponding to the voltage value of the color sub-pixel which is different from the voltage value of the color sub-pixel;
determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness and color coordinate of the white light and the determined color coordinate of each color sub-pixel;
aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale;
and determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
The invention provides a gamma circuit adjusting device, comprising:
at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
determining the brightness of white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels; aiming at any one color sub-pixel, determining the color coordinate of the color sub-pixel corresponding to the voltage value of the color sub-pixel which is different from the voltage value of the color sub-pixel; determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness and color coordinate of the white light and the determined color coordinate of each color sub-pixel; aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale; and determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
The invention provides a gamma circuit adjusting device, comprising:
the debugging module is used for determining the brightness of the white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels; aiming at any one color sub-pixel, determining the color coordinate of the color sub-pixel corresponding to the voltage value of the color sub-pixel which is different from the voltage value of the color sub-pixel;
the conversion module is used for determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness of the white light, the determined color coordinate of the white light and the determined color coordinate of each color sub-pixel;
the calculation module is used for determining the brightness of each color sub-pixel in the white light corresponding to any gray scale according to the brightness of the white light corresponding to the gray scale;
and the adjusting module is used for determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
The Gamma correction is to firstly test and obtain the brightness of white light and the color coordinate of white light corresponding to the voltage value of each red, green and blue sub-pixel, and the color coordinate of each color sub-pixel corresponding to the voltage of the red, green and blue sub-pixels, then calculate the brightness of each color sub-pixel in the white light according to the brightness of the white light, the color coordinate of the white light and the color coordinate of each corresponding color sub-pixel, establish the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel, then calculate the brightness of the white light corresponding to each gray scale, further deduce the brightness of each color sub-pixel in the white light corresponding to the gray scale, and then find each color sub-pixel needing to be adjusted corresponding to the brightness of each color sub-pixel in the white light corresponding to the gray scale in the corresponding to the gray scale according to the calculated corresponding relation between the brightness of each color sub-pixel in the white light corresponding to the gray scale and the voltage value of each color sub-pixel in the white light previously established The voltage value of the pixel. Compared with the prior art that the binding point is adjusted so as to reach the target values of the brightness of the binding point gray scale and the color coordinate of the binding point gray scale, and the other gray scales except the binding point adopt an interpolation fitting method, the voltage value of each color sub-pixel needing to be adjusted, corresponding to the brightness of each color sub-pixel of white light corresponding to each gray scale, is calculated in advance in the embodiment of the invention and then is directly adjusted to the corresponding voltage, so that the target can be reached.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart illustrating a method for adjusting a gamma circuit according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a first method for representing a relationship between a determined luminance of each color sub-pixel and a corresponding voltage of each color sub-pixel in white light according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a second method for representing a relationship between a determined luminance of each color sub-pixel and a corresponding voltage of each color sub-pixel in white light according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a first gamma circuit adjustment apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a second gamma circuit adjustment apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides a method for adjusting a gamma circuit, the method comprising:
102, determining a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness and color coordinate of the white light and the determined color coordinate of each color sub-pixel;
103, aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale;
and 104, determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
The Gamma correction in the invention is that firstly the voltage value of each group of red, green and blue sub-pixels is tested to obtain the brightness of white light and the color coordinate of the white light corresponding to the voltage value of each color sub-pixel, then the brightness of each color sub-pixel in the white light is calculated according to the brightness of the white light, the color coordinate of the white light and the color coordinate of each corresponding color sub-pixel, the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is established, then the brightness of the white light corresponding to each gray scale is calculated, the brightness of each color sub-pixel in the white light corresponding to the gray scale is further deduced, then the corresponding relation between the brightness of each color sub-pixel in the white light corresponding to the gray scale and the voltage value of the corresponding color sub-pixel is established previously to find the brightness of each color sub-pixel in the white light corresponding to the gray scale and each color to be adjusted according to the brightness of each color sub-pixel in the white light corresponding to the gray scale A target value of the voltage value of the sub-pixel. Compared with the prior art that adjustment is carried out aiming at the binding point so as to reach the target values of the brightness of the binding point gray scale and the color coordinate of the binding point gray scale, the other gray scales except the binding point are obtained by adopting an interpolation fitting method, the Gamma correction in the invention calculates the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel of the white light corresponding to each gray scale in advance, and then the voltage value is directly adjusted to the voltage corresponding to each color sub-pixel, so that the target can be reached.
Each pixel of a typical liquid crystal panel is composed of three primary colors, red, green and blue (RGB), and each color of each pixel is referred to as a sub-pixel.
When Gamma correction is implemented, firstly, the brightness of white light and the color coordinate of the white light under the voltage values of different groups of red, green and blue sub-pixels are tested.
Optionally, the voltage values of the red, green and blue sub-pixels are adjusted for multiple times according to the set voltage range and step value of the red, green and blue sub-pixels to obtain voltage values of multiple groups of red, green and blue sub-pixels, wherein the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time; and after each adjustment, determining the brightness of the corresponding white light and the color coordinate of the white light by using the adjusted voltage values of the red, green and blue sub-pixels.
The voltage values of the red, green and blue sub-pixels are adjusted for multiple times, the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time, the voltage value of a group of red, green and blue sub-pixels is obtained after one-time adjustment, the brightness and the color coordinate of the white light under the voltage value of each current color sub-pixel tested after each adjustment are obtained according to the brightness and the color coordinate of the white light and the color coordinate of each color sub-pixel under the voltage value of the corresponding color sub-pixel, and the brightness of each color sub-pixel in the white light under the voltage value of the current color sub-pixel is obtained. So as to search the voltage value of the color sub-pixel corresponding to the brightness of each color sub-pixel in the white light corresponding to each gray scale.
The voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted every time the voltage of the red, green and blue sub-pixels is adjusted, and the voltage values of a plurality of groups of different red, green and blue sub-pixels are obtained.
For example, assuming that the voltage value of each color sub-pixel of the rgb sub-pixels is set to be 0-6V and the set step value is 1V, the voltage values of the rgb sub-pixels may have 7 × 7 — 343 groups during the test.
After the voltage values of the red, green and blue sub-pixels are adjusted each time, the brightness of the corresponding white light and the color coordinates of the white light under the current voltage value of each group of red, green and blue sub-pixels are tested. And the voltage value of each group of red, green and blue sub-pixels corresponds to the brightness of the corresponding white light and the color coordinate of the white light one by one. Then after the test, the brightness of 343 sets of corresponding white light and the color coordinates of the white light will also be obtained for subsequent calculation and search.
In specific implementation, when the luminance of each color sub-pixel in the synthesized white light is calculated through white light color matching, the color coordinate coefficients of the red, green and blue sub-pixels of the white light need to be synthesized, so that when the luminance of the white light and the color coordinate of the white light corresponding to the voltage value of the current red, green and blue sub-pixel are tested, the color coordinate of each color sub-pixel under the voltage value of the current red, green and blue sub-pixel also needs to be tested.
Optionally, for any color sub-pixel, the voltage value of the color sub-pixel is adjusted for multiple times according to the set voltage range and step value of the red, green and blue sub-pixels; and after each adjustment, determining the color coordinate corresponding to the color sub-pixel by using the adjusted voltage value of the color sub-pixel.
And testing to obtain the color coordinates of each color sub-pixel in the red, green and blue sub-pixels under the voltage values of different groups of red, green and blue sub-pixels, combining the brightness and the color coordinates of the white light, matching the colors of the white light to obtain the brightness of each color sub-pixel in the white light, and forming a corresponding relation with the tested brightness of the white light and the voltage value of the color sub-pixel corresponding to the white light color coordinates. After the brightness of each gray scale is calculated to obtain the brightness of each color sub-pixel in the white light corresponding to the gray scale, the voltage value of each corresponding color sub-pixel can be directly found from the corresponding relationship between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel, which is established according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
For example, assume that the voltages of the current red, green, and blue sub-pixels are: the voltage of the red sub-pixel is 1V, the voltage of the green sub-pixel is 2V, and the voltage of the blue sub-pixel is 1V, then the test to be tested is as follows: the brightness of the white light under the voltage value of the current red, green and blue sub-pixels, the color coordinate of the red light under the voltage value of the current red sub-pixel, the color coordinate of the green light under the voltage value of the current green sub-pixel and the color coordinate of the blue light under the voltage value of the current blue sub-pixel.
Optionally, after the voltage values of the red, green and blue sub-pixels are adjusted according to the set voltage range and step value of the red, green and blue sub-pixels each time, the luminance of the white light, the color coordinate of the white light and the color coordinate of each color sub-pixel can be tested to obtain a test value under the current voltage value of the red, green and blue sub-pixels, and then the voltage of the red, green and blue sub-pixels is adjusted according to the set voltage range and step value of the red, green and blue sub-pixels, wherein at least one voltage value of one color sub-pixel is adjusted each time.
After the brightness of the white light and the color coordinates of the white light under the voltage value of each group of red, green and blue sub-pixels and the color coordinates of each color sub-pixel are tested and the test values are obtained, the obtained test values are used for carrying out white light color matching calculation to determine the brightness of each color sub-pixel in the white light corresponding to the voltage value of each group of red, green and blue sub-pixels.
Optionally, when determining the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined luminance of the white light and the color coordinate of the white light, and the determined color coordinate of each color sub-pixel, the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel may be established according to the following steps.
The method comprises the following steps of firstly obtaining the brightness of each color sub-pixel in the white light through a white light color matching method, and mainly comprising the following three steps when the brightness of each color sub-pixel in the white light is solved through the white light color matching method:
step one, aiming at the voltage value of any group of red, green and blue sub-pixels, determining the tristimulus value of white light according to the brightness of the white light and the color coordinate of the white light determined under the voltage value of the group of red, green and blue sub-pixels, and forming a white light tristimulus value array matrix;
determining a color coordinate coefficient corresponding to each color sub-pixel according to the color coordinate of each color sub-pixel determined under the voltage value of the group of red, green and blue sub-pixels, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels;
and thirdly, performing matrix multiplication on the white light tristimulus value column matrix and the color coordinate coefficient matrix of the red, green and blue sub-pixels to determine the brightness of each color sub-pixel in the white light.
In an implementation, after determining the luminance of each color sub-pixel in the white light, when establishing the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel, the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel needs to be further established through step four.
And step four, aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
First, three steps of solving the brightness of each color sub-pixel in the white light by the white light matching method are described.
Step one, aiming at the voltage values of any group of red, green and blue sub-pixels, determining the tristimulus values of the white light according to the brightness of the white light and the color coordinates of the white light measured under the voltage values of the group of red, green and blue sub-pixels, and forming a white light tristimulus value array matrix.
In specific implementation, aiming at the voltage value of any group of red, green and blue sub-pixels, the brightness of white light and the color coordinate of the white light measured under the voltage value of the group of red, green and blue sub-pixels are measured, wherein the brightness of the white light is LwAnd W represents white light with color coordinates (x, y). Then in calculating the white light tristimulus values, the white light tri-stimulus matrix is
Wherein X is the red stimulus value in white light; y is the green stimulus value in white light; and Z is the blue stimulus value in white light.
For example, assuming that the white light brightness is 350nits and the color coordinates are (0.3, 0.32) in the specific implementation, the white light tristimulus values are:
After the white light tristimulus values are obtained, the color coordinate coefficients of the red, green and blue sub-pixels are determined according to the measured color coordinates of the red, green and blue sub-pixels.
And step two, determining a color coordinate coefficient according to the color coordinate of any one color sub-pixel, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels.
Wherein, the color coordinate coefficient matrix of the red, green and blue sub-pixels can be expressed as
Wherein R isXIs the color coordinate coefficient, R, of the red sub-pixel in the red stimulus valueYIs the color coordinate coefficient of the red sub-pixel in the green stimulus value, RZThe color coordinate coefficient of the red sub-pixel in the blue stimulus value is obtained;
GXis the color coordinate coefficient of the green sub-pixel in the red stimulus value, GYIs the color coordinate coefficient of the green sub-pixel in the green stimulus value, GZThe color coordinate coefficient of the green sub-pixel in the blue stimulation value is obtained;
BXis the color coordinate coefficient of the blue sub-pixel in the red stimulus value, BYIs the color coordinate coefficient of the blue sub-pixel in the green stimulus value, BZIs the color coordinate coefficient of the blue sub-pixel in the blue stimulus value.
In the following, an example will be given of how the color coordinate coefficient is calculated from the color coordinates of any one of the color sub-pixels.
Assuming that the color coordinates of the red sub-pixel are (Rx, Ry), the color coordinates of the green sub-pixel are (Gx, Gy), and the color coordinates of the blue sub-pixel are (Bx, By), then
for example: the color coordinates of the red sub-pixel are (0.6701, 0.3291), and the color coordinate coefficient of the red sub-pixel is calculated as:
the color coordinate of the green sub-pixel is (0.2339,0.7106), and the color coordinate coefficient of the green sub-pixel is calculated as:
the color coordinate of the blue sub-pixel is (0.1378,0.0502), and the color coordinate coefficient of the blue sub-pixel is calculated as:
after a tristimulus value column matrix corresponding to the white light and a color coordinate coefficient matrix of the red, green and blue sub-pixels are obtained, matrix multiplication transformation of white light color matching is carried out, and the brightness of each color sub-pixel in the white light is obtained.
And thirdly, performing matrix multiplication on the white light tristimulus value column matrix and the red, green and blue sub-pixel color coordinate coefficient matrix to determine the brightness of each color sub-pixel in the white light.
wherein,for each color sub-pixel in white light, LRIs the brightness of the red sub-pixel in white light, LGIs the brightness of the green sub-pixel in white light, LBIs the luminance of the blue sub-pixel in white light;
How to obtain the brightness of each color sub-pixel in white light will be illustrated below:
for example: suppose that the white light has a brightness of 350nits, the white light has color coordinates of (0.3, 0.32), the red sub-pixel has color coordinates of (0.6701,0.3297), the green sub-pixel has color coordinates of (0.2339,0.7106), and the blue sub-pixel has color coordinates of (0.1378, 0.0502).
A white light tristimulus value matrix is first determined based on the luminance of white light, which is 350nits, and the color coordinates of white light, which are (0.3, 0.32).
Further, it is necessary to determine the color coordinate coefficients of the red sub-pixel, the green sub-pixel, and the blue sub-pixel according to the color coordinates of the red sub-pixel, the green sub-pixel, and the blue sub-pixel, and determine the color coordinate coefficient matrix of the red, green, and blue sub-pixels.
Wherein, the color coordinate of the red sub-pixel is (0.6701,0.3297), and the color coordinate coefficient of the red sub-pixel is
The color coordinates of the green sub-pixel are (0.2339,0.7106), and the color coordinate coefficient of the green sub-pixel is:
the color coordinates of the blue sub-pixel are (0.1378,0.0502), and the coefficients of the color coordinates of the blue sub-pixel are:
and finally, substituting the obtained white light tristimulus values into a white light tristimulus value matrix, substituting the obtained color coordinate coefficients of the red sub-pixels, the green sub-pixels and the blue sub-pixels into the corresponding color coordinate matrix of the red, green and blue sub-pixels, and obtaining the brightness of each color sub-pixel in the white light through matrix multiplication transformation.
The calculated brightness of the red sub-pixel in the white lightComprises the following steps: l isR=90.2nits;
The brightness of the green sub-pixel in white light is: l isG=235.3nits;
The brightness of the blue sub-pixel in white light is LB=24.6nits。
The above calculation process is to determine the brightness of each color sub-pixel in the white light by the white light matching method. After the brightness of each color sub-pixel in the white light under the voltage value of each group of red, green and blue sub-pixels is determined, the corresponding relationship between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is further determined through the step four.
And step four, aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
Aiming at any color sub-pixel, after the brightness of the color sub-pixel in the white light is obtained through matrix multiplication transformation, the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is established according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels. After the brightness of the color sub-pixel in the white light corresponding to any gray scale is obtained, the voltage value of the corresponding color sub-pixel corresponding to the brightness of the color sub-pixel in the white light corresponding to the gray scale can be found in the corresponding relation. Because the brightness of the color sub-pixel in the white light and the voltage of the corresponding color sub-pixel form a one-to-one corresponding relation, the voltage value of each color sub-pixel in the red, green and blue sub-pixels can be quickly and accurately found when Gamma correction is carried out.
The correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is exemplified below.
For example: assuming that the voltages of the red, green and blue sub-pixels in the voltage value group of the current red, green and blue sub-pixels are respectively: the voltage of the red sub-pixel is 4V, the voltage of the green sub-pixel is 3.9V, and the voltage of the blue sub-pixel is 5.1V;
the brightness of each color sub-pixel in the white light tested under the voltage of the current red, green and blue sub-pixels is respectively as follows: the luminance of the red sub-pixel in white light is 100nits, the luminance of the green sub-pixel in white light is 220nits, and the luminance of the blue sub-pixel in white light is 30 nits.
The correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is:
when the brightness of the red sub-pixel in the white light is 100nits, the voltage of the corresponding red sub-pixel is 4V;
when the brightness of the green sub-pixel in the white light is 220nits, the voltage of the corresponding green sub-pixel is 3.9V;
when the brightness of the blue sub-pixel in the white light is 30nits, the voltage of the corresponding blue sub-pixel is 5.1V.
After the luminance of the color sub-pixels in the white light is obtained through matrix conversion for any color sub-pixel, the corresponding relation between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is established according to the luminance of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels. There are various expression methods for the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel, such as tabular expression, graph and curve expression, and the like.
For example: as shown in FIG. 2, the voltages of the red (R), green (G) and blue (B) sub-pixels are plotted on the abscissa to obtain the corresponding luminance L of the red sub-pixelRBrightness L of green sub-pixelGBrightness L of blue sub-pixelBAnd forming three rectangular coordinate graphs by drawing the ordinate to show the corresponding relation between the brightness of each color sub-pixel in the white light and the corresponding voltage value of the color sub-pixel.
As shown in fig. 3, the luminance of each color sub-pixel in the white light and the corresponding voltage value of the color sub-pixel are combined into a list, and the corresponding relationship between the luminance of each color sub-pixel in the white light and the corresponding voltage value of the color sub-pixel is represented in the form of a list.
After finding the corresponding relationship between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel, Gamma correction is carried out on each gray scale by using the found corresponding relationship.
At this time, firstly, the brightness of the white light corresponding to any gray scale needs to be determined through Gamma calculation.
Specifically, for any gray scale, the brightness of the white light corresponding to the gray scale is determined according to the brightness of the white light of the gray scale, the highest gray scale and a set Gamma value.
In implementation, for any gray scale, the brightness of the white light corresponding to the current gray scale is calculated according to the current gray scale, the set Gamma value and the brightness of the white light of the highest gray scale. Therefore, the gray scale brightness can be converted into the brightness of the white light, the matrix multiplication transformation is carried out on the color coordinate coefficient matrix of each color sub-pixel corresponding to the current gray scale to obtain the brightness of each color sub-pixel in the white light corresponding to the current gray scale, and then the voltage value of each color sub-pixel required by the brightness of the current gray scale can be found according to the corresponding relation between the brightness of each color sub-pixel in the white light obtained above and the voltage value of the corresponding color sub-pixel, so that accurate Gamma correction can be carried out.
In the following, a simple example will be given to how to calculate the brightness of the white light corresponding to the current gray scale from the current gray scale, the set Gamma value and the brightness of the white light of the highest gray scale for any gray scale.
For example: the Gamma value is set to be 2.2, and the white light brightness corresponding to the 255 gray scale is 350nits, then the white light brightness corresponding to the gray scale is calculated according to the following formula:
wherein L isgrayIs the brightness of the current Gray level, Gray is the level of the current Gray level, L255A 255 gray level corresponds to the brightness of white light.
Assuming that the current gray scale is calculated as 200 gray scales, the brightness of the white light corresponding to the current gray scale is:
assuming that the current gray scale is 150 gray scales, the brightness of the white light corresponding to the current gray scale is:
through the Gamma calculation, the brightness of the white light corresponding to any gray scale can be accurately solved. Therefore, after the subsequent multiplication transformation of the white light color matching matrix, the brightness of each color sub-pixel in the white light corresponding to any gray scale can be determined, and further the brightness of each color sub-pixel in the white light corresponding to any gray scale can be accurately obtained, and the voltage value of the corresponding color sub-pixel can be found. Thus, the Gamma correction can be more accurate.
After the brightness of the white light corresponding to the obtained gray scale is obtained, white light color matching calculation needs to be performed on the brightness of the white light corresponding to the obtained gray scale, and the brightness of each color sub-pixel in the white light corresponding to the gray scale is obtained, so that the target value of the voltage of each color sub-pixel, which needs to be adjusted when the Gamma correction is performed on the gray scale of the current Gamma correction, is determined according to the relationship between the brightness of each color sub-pixel in the white light obtained previously and the voltage value of the corresponding color sub-pixel.
Optionally, the luminance of each color sub-pixel in the white light corresponding to the gray scale is determined through matrix multiplication according to the luminance of the white light corresponding to the gray scale, a preset color coordinate of the gray scale, and a determined color coordinate coefficient of each color sub-pixel corresponding to the gray scale.
At this time, the brightness of the white light corresponding to the calculated gray scale is LgrayGray represents the current Gray level, which corresponds to white coordinates (x1, y 1). Then the calculated gray scale corresponds to the white light tristimulus value:Y1=Lgray;the gray scale corresponds to the white light tri-stimulus matrix as
Wherein, X1 is the red stimulus value in the white light corresponding to the gray scale; y1 is the green stimulus value in the white light corresponding to the gray scale; z1 is the gray level corresponding to the blue stimulus value in white light.
For example: when the calculated gray-scale corresponding white light brightness is 200nits and the color coordinate is (0.3, 0.32), the gray-scale corresponding white light tristimulus value is:
The preset color coordinates of the gray scale are color coordinates of the white light corresponding to the gray scale.
After the white light tristimulus values corresponding to the gray scales are obtained, the color coordinate coefficient of each color sub-pixel corresponding to the gray scales is determined according to the color coordinate of each color sub-pixel corresponding to the gray scales.
The color coordinate coefficient matrix of the red, green and blue sub-pixels corresponding to the gray scale can be expressed as:
wherein R isXThe color coordinate coefficient of the red sub-pixel in the red stimulus value of the white light corresponding to the gray scale, RYGreen stimulus for gray scale corresponding to white lightColor coordinate coefficient of red sub-pixel in value, RZThe color coordinate coefficient of the red sub-pixel in the blue stimulus value of the white light corresponding to the gray scale;
GXthe color coordinate coefficient of the green sub-pixel in the red stimulus value of the white light corresponding to the gray scale, GYThe color coordinate coefficient of the green sub-pixel in the green stimulus value of the white light corresponding to the gray scale, GZThe color coordinate coefficient of the green sub-pixel in the blue stimulus value of the white light corresponding to the gray scale;
BXthe color coordinate coefficient of the blue sub-pixel in the red stimulus value of the white light corresponding to the gray scale, BYThe color coordinate coefficient of the blue sub-pixel in the green stimulus value of the white light corresponding to the gray scale, BZThe gray scale corresponds to the color coordinate coefficient of the blue sub-pixel in the blue stimulus value of the white light.
After a white light tristimulus value matrix corresponding to the gray scale and a color coordinate coefficient matrix of red, green and blue sub-pixels corresponding to the gray scale are obtained, matrix multiplication transformation of white light color matching is carried out, and the brightness of each color sub-pixel in the white light corresponding to the gray scale is obtained.
wherein,for gray scale to correspond to the luminance matrix of each color sub-pixel in white light, LR1The gray scale corresponds to the brightness of the red sub-pixel in the white light, LG1The gray scale corresponds to the brightness of the green sub-pixel in the white light, LB1The gray scale corresponds to the brightness of a blue sub-pixel in the white light;
a color coordinate coefficient matrix of red, green and blue sub-pixels corresponding to the gray scale;
When the brightness of each color sub-pixel in the white light corresponding to the current gray scale is obtained, the brightness of each color sub-pixel in the white light corresponding to the current gray scale is obtained by adopting a white light color matching method, and the calculation process is the same as the calculation process for obtaining the brightness of each color sub-pixel in the white light.
In the following, white light matching calculation is performed by taking white light with a gray level corresponding to white color of 200nits and color coordinates of (0.3, 0.32) as an example, and the color coordinates of red sub-pixels are (0.6701,0.3297), the color coordinates of green sub-pixels are (0.2339,0.7106), and the color coordinates of blue sub-pixels are (0.1378, 0.0502).
Firstly, determining a white light tristimulus value matrix according to the brightness of white light corresponding to the current gray scale and the color coordinate of the white light, wherein the white brightness is 350nits, and the color coordinate is (0.3, 0.32).
Further, the color coordinate coefficients of the red sub-pixel, the green sub-pixel and the blue sub-pixel are obtained according to the color coordinates of the red sub-pixel, the green sub-pixel and the blue sub-pixel, and the color coordinate coefficient matrix of the red sub-pixel, the green sub-pixel and the blue sub-pixel corresponding to the current gray scale is determined.
Wherein, the color coordinate of the red sub-pixel is (0.6701,0.3297), and the color coordinate coefficient of the red sub-pixel is:
the color coordinates of the green sub-pixel are (0.2339,0.7106), and the color coordinate coefficient of the green sub-pixel is:
the color coordinates of the blue sub-pixel are (0.1378,0.0502), and the coefficients of the color coordinates of the blue sub-pixel are:
and finally, substituting the obtained white light tristimulus values corresponding to the current gray scale into a white light tristimulus value matrix corresponding to the current gray scale, substituting the obtained color coordinate coefficients of the red sub-pixel, the green sub-pixel and the blue sub-pixel corresponding to the current gray scale into the corresponding color coordinate matrix of the red sub-pixel, the green sub-pixel and the blue sub-pixel corresponding to the current gray scale, and calculating the brightness of each color sub-pixel in the white light by a white light color matching method.
Substituting the values of the parameters into the formula:
then the brightness of the red sub-pixel in the white light corresponding to the current gray scale is obtained after calculation as follows: l isR1=51.5nits;
The brightness of the green sub-pixel in the white light corresponding to the current gray scale is: l isG1=134.4nits;
The brightness of the blue sub-pixel in the white light corresponding to the current gray scale is as follows: l isB1=14nits。
When the method is implemented specifically, the calculation of white light color matching and the like can be completed manually, and can also be quickly calculated by an integrated chip containing a corresponding algorithm. The integrated chip completes the calculation task, so that the calculation time can be effectively shortened, and the Gamma correction efficiency is improved.
Thus, according to the above algorithm, the luminance of the white light corresponding to all the gray scales can be obtained, and further the luminance of each color sub-pixel in the white light corresponding to all the gray scales can be obtained, so that the target value of the voltage of each color sub-pixel, which needs to be adjusted when performing Gamma correction on each gray scale, can be found from the correspondence between the luminance of each color sub-pixel in the white light obtained above and the voltage value of the corresponding color sub-pixel.
After the voltage value of each color sub-pixel corresponding to each gray scale is found, the voltage of each color sub-pixel of each gray scale is adjusted according to the obtained voltage value of each color sub-pixel, and after the voltages of each color sub-pixel corresponding to all gray scales are adjusted to the target value, the Gamma correction is completed.
According to the embodiment of the invention, the voltage value of each color sub-pixel which needs to be adjusted when any gray scale is subjected to Gamma adjustment is found through multi-step calculation, and the voltage values of the red and green color sub-pixels of each binding point gray scale do not need to be adjusted for multiple times, so that the color coordinates of the binding point gray scale and the brightness of the binding point gray scale are continuously close to the target value, but are directly adjusted to the voltage target value of each color sub-pixel according to the accurate value obtained through calculation and search, the adjustment step is simplified, and meanwhile, the precision of Gamma correction is also improved.
Based on the same inventive concept, the embodiment of the present invention further provides a gamma circuit adjustment apparatus, and as the principle of the apparatus according to the embodiment of the present invention for solving the problem is similar to the method according to the embodiment of the present invention, reference may be made to the implementation of the apparatus according to the embodiment of the present invention for implementation of the apparatus according to the embodiment of the present invention, and repeated details are not described herein.
As shown in fig. 4, an embodiment of the present invention provides a gamma circuit adjusting apparatus, including:
at least one processing unit 400 and at least one memory unit 401, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following:
determining the brightness of white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels; aiming at any one color sub-pixel, determining the color coordinate of the color sub-pixel corresponding to the voltage value of the color sub-pixel which is different from the voltage value of the color sub-pixel; determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness and color coordinate of the white light and the determined color coordinate of each color sub-pixel; aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale; and determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
Optionally, the processing unit 400 is specifically configured to:
when the voltage value of each group of red, green and blue sub-pixels is determined to correspond to the brightness of the white light and the color coordinate of the white light, the voltage values of the red, green and blue sub-pixels are adjusted for multiple times according to the set voltage range and step value of the red, green and blue sub-pixels to obtain the voltage values of the multiple groups of red, green and blue sub-pixels, wherein the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time; after each adjustment, determining the brightness of the corresponding white light and the color coordinate of the white light by using the adjusted voltage values of the red, green and blue sub-pixels; aiming at any color sub-pixel, when the different voltage values of the color sub-pixel are determined to correspond to the color coordinates of the color sub-pixel, the voltage values of the color sub-pixel are adjusted for multiple times according to the set voltage range and the set step value of the red, green and blue sub-pixels; and after each adjustment, determining the color coordinate corresponding to the color sub-pixel by using the adjusted voltage value of the color sub-pixel.
Optionally, the processing unit 400 is specifically configured to:
when the corresponding relation between the brightness of each color sub-pixel and the voltage value of the corresponding color sub-pixel is determined according to the determined brightness of the white light, the color coordinate of the white light and the determined color coordinate of each color sub-pixel, aiming at the voltage value of any group of red, green and blue sub-pixels, the tristimulus value of the white light is determined according to the brightness of the white light and the color coordinate of the white light which are determined under the voltage value of the group of red, green and blue sub-pixels, and a white light tristimulus value column matrix is formed; determining a color coordinate coefficient corresponding to each color sub-pixel according to the color coordinate of each color sub-pixel determined under the voltage value of the group of red, green and blue sub-pixels, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels; performing matrix multiplication on the white light tristimulus value column matrix and the color coordinate coefficient matrix of the red, green and blue sub-pixels to determine the brightness of each color sub-pixel in the white light; aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the corresponding color sub-pixel voltage value according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
Optionally, the processing unit 400 is specifically configured to:
aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale when determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale; and determining the brightness of each color sub-pixel in the white light corresponding to the gray scale through matrix multiplication according to the brightness of the white light corresponding to the gray scale, the preset color coordinate of the gray scale and the determined color coordinate coefficient of each color sub-pixel corresponding to the gray scale.
Optionally, the processing unit 400 is specifically configured to:
determining the brightness of the white light corresponding to the gray scale according to the following modes: and aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale according to the brightness of the white light of the gray scale, the highest gray scale and a set Gamma value.
As shown in fig. 5, an embodiment of the present invention provides a gamma circuit adjusting apparatus, including:
the debugging module 500 is used for determining the brightness of the white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels; aiming at any one color sub-pixel, determining the color coordinate of the primary color corresponding to the voltage value of the color sub-pixel which is different;
a transformation module 501, configured to determine, according to the determined luminance of the white light, the color coordinate of the white light, and the determined color coordinate of each color sub-pixel, a corresponding relationship between the luminance of each color sub-pixel in the white light and a voltage value of the corresponding color sub-pixel;
the calculating module 502 is used for determining the brightness of each color sub-pixel in the white light corresponding to any gray scale according to the brightness of the white light corresponding to the gray scale;
the adjusting module 503 is configured to determine, according to the correspondence between the luminance of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel, the voltage value of each color sub-pixel, which is required to be adjusted, corresponding to the luminance of each color sub-pixel in the white light corresponding to the gray scale.
Optionally, the test module 500 is specifically configured to:
when the voltage value of each group of red, green and blue sub-pixels is determined to correspond to the brightness of the white light and the color coordinate of the white light, the voltage values of the red, green and blue sub-pixels are adjusted for multiple times according to the set voltage range and the step value of the red, green and blue sub-pixels to obtain the voltage values of the multiple groups of red, green and blue sub-pixels, wherein the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time; after each adjustment, determining the brightness of the corresponding white light and the color coordinate of the white light by using the adjusted voltage values of the red, green and blue sub-pixels; aiming at any color sub-pixel, when the different voltage values of the color sub-pixel are determined to correspond to the color coordinates of the color sub-pixel, the voltage values of the color sub-pixel are adjusted for multiple times according to the set voltage range and the set step value of the red, green and blue sub-pixels; and after each adjustment, determining the color coordinate corresponding to the color sub-pixel by using the adjusted voltage value of the color sub-pixel.
Optionally, the transformation module 501 is specifically configured to:
when the corresponding relation between the brightness of each color sub-pixel and the voltage value of the corresponding color sub-pixel is determined according to the determined brightness of the white light, the color coordinate of the white light and the determined color coordinate of each color sub-pixel, aiming at the voltage value of any group of red, green and blue sub-pixels, the tristimulus value of the white light is determined according to the brightness of the white light and the color coordinate of the white light which are determined under the voltage value of the group of red, green and blue sub-pixels, and a white light tristimulus value column matrix is formed; determining a color coordinate coefficient corresponding to each color sub-pixel according to the color coordinate of each color sub-pixel determined under the voltage value of the group of red, green and blue sub-pixels, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels; performing matrix multiplication on the white light tristimulus value column matrix and the color coordinate coefficient matrix of the red, green and blue sub-pixels to determine the brightness of each color sub-pixel in the white light; aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
Optionally, the calculating module 502 is specifically configured to:
aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale when determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale;
the transformation module 501 is specifically configured to:
and determining the brightness of each color sub-pixel in the white light corresponding to the gray scale through matrix multiplication according to the brightness of the white light corresponding to the gray scale, the preset color coordinate of the gray scale and the determined color coordinate coefficient of each color sub-pixel corresponding to the gray scale.
Optionally, the calculating module 502 is specifically configured to:
determining the brightness of the white light corresponding to the gray scale according to the following modes:
and aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale according to the brightness of the white light of the gray scale, the highest gray scale and a set Gamma value.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, 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, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
1. A method of gamma circuit adjustment, the method comprising:
according to the set voltage range and step value of the red, green and blue sub-pixels, the voltage values of the red, green and blue sub-pixels are adjusted for multiple times to obtain the voltage values of multiple groups of red, green and blue sub-pixels, wherein the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time;
after each adjustment, determining the brightness of the corresponding white light and the color coordinate of the white light by using the adjusted voltage values of the red, green and blue sub-pixels;
aiming at any one color sub-pixel, adjusting the voltage value of the color sub-pixel for multiple times according to the set voltage range and step value of the red, green and blue sub-pixel;
after each adjustment, determining the color coordinates corresponding to the color sub-pixels by using the adjusted voltage values of the color sub-pixels;
determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness and color coordinate of the white light and the determined color coordinate of each color sub-pixel;
aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale;
and determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
2. The method of claim 1, wherein determining the correspondence between the luminance of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel based on the determined luminance of the white light and the color coordinate of the white light, and the determined color coordinate of each color sub-pixel, comprises:
aiming at the voltage values of any group of red, green and blue sub-pixels, determining the tristimulus values of the white light according to the brightness of the white light and the color coordinates of the white light determined under the voltage values of the group of red, green and blue sub-pixels, and forming a white light tristimulus value column matrix;
determining a color coordinate coefficient corresponding to each color sub-pixel according to the color coordinate of each color sub-pixel determined under the voltage value of the group of red, green and blue sub-pixels, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels;
performing matrix multiplication on the white light tristimulus value column matrix and the color coordinate coefficient matrix of the red, green and blue sub-pixels to determine the brightness of each color sub-pixel in the white light;
aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
3. The method of claim 1, wherein determining the brightness of each color sub-pixel in the white light corresponding to any gray scale according to the brightness of the white light corresponding to the gray scale comprises:
determining the brightness of the white light corresponding to any gray scale;
and determining the brightness of each color sub-pixel in the white light corresponding to the gray scale through matrix multiplication according to the brightness of the white light corresponding to the gray scale, the preset color coordinate of the gray scale and the determined color coordinate coefficient of each color sub-pixel corresponding to the gray scale.
4. The method of claim 1, wherein the brightness of the gray-scale corresponding white light is determined according to the following:
and aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale according to the brightness of the white light of the gray scale, the highest gray scale and a set Gamma value.
5. An apparatus for adjusting a gamma circuit, the apparatus comprising:
at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
when the voltage value of each group of red, green and blue sub-pixels is determined to correspond to the brightness of the white light and the color coordinate of the white light, the voltage values of the red, green and blue sub-pixels are adjusted for multiple times according to the set voltage range and the step value of the red, green and blue sub-pixels to obtain the voltage values of the multiple groups of red, green and blue sub-pixels, wherein the voltage value of at least one color sub-pixel in the red, green and blue sub-pixels is adjusted each time; after each adjustment, determining the brightness of the corresponding white light and the color coordinate of the white light by using the adjusted voltage values of the red, green and blue sub-pixels; aiming at any color sub-pixel, when the different voltage values of the color sub-pixel are determined to correspond to the color coordinates of the color sub-pixel, the voltage values of the color sub-pixel are adjusted for multiple times according to the set voltage range and the set step value of the red, green and blue sub-pixels; after each adjustment, determining the color coordinates corresponding to the color sub-pixels by using the adjusted voltage values of the color sub-pixels; aiming at any gray scale, determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale; and establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
6. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
when the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel is determined according to the determined brightness of the white light and the color coordinate of the white light and the determined color coordinate of each color sub-pixel, determining tristimulus values of the white light according to the brightness of the white light and the color coordinate of the white light determined under the voltage values of the red, green and blue sub-pixels and aiming at the voltage values of any group of red, green and blue sub-pixels, and forming a white light tristimulus value column matrix; determining a color coordinate coefficient according to the color coordinate corresponding to each color sub-pixel of each color sub-pixel determined under the voltage value of the group of red, green and blue sub-pixels, and forming a color coordinate coefficient matrix of the red, green and blue sub-pixels; performing matrix multiplication on the white light tristimulus value column matrix and the color coordinate coefficient matrix of the red, green and blue sub-pixels to determine the brightness of each color sub-pixel in the white light; aiming at any color sub-pixel, establishing a corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the brightness of each color sub-pixel in the white light determined under the voltage value of each group of red, green and blue sub-pixels.
7. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale when determining the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the brightness of the white light corresponding to the gray scale; and determining the brightness of each color sub-pixel in the white light corresponding to the gray scale through matrix multiplication according to the brightness of the white light corresponding to the gray scale, the preset color coordinate of the gray scale and the determined color coordinate coefficient of each color sub-pixel corresponding to the gray scale.
8. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
determining the brightness of the white light corresponding to the gray scale according to the following modes: and aiming at any gray scale, determining the brightness of the white light corresponding to the gray scale according to the brightness of the white light of the gray scale, the highest gray scale and a set Gamma value.
9. An apparatus for adjusting a gamma circuit, the apparatus comprising:
the debugging module is used for determining the brightness of the white light and the color coordinate of the white light corresponding to the voltage value of each group of red, green and blue sub-pixels; aiming at any one color sub-pixel, determining the color coordinate of the color sub-pixel corresponding to the voltage value of the color sub-pixel which is different from the voltage value of the color sub-pixel;
the transformation module is used for determining the corresponding relation between the brightness of each color sub-pixel in the white light and the voltage value of the corresponding color sub-pixel according to the determined brightness of the white light, the determined color coordinate of the white light and the determined color coordinate of each color sub-pixel;
the calculation module is used for determining the brightness of each color sub-pixel in the white light corresponding to any gray scale according to the brightness of the white light corresponding to the gray scale;
and the adjusting module is used for determining the voltage value of each color sub-pixel which is required to be adjusted and corresponds to the brightness of each color sub-pixel in the white light corresponding to the gray scale according to the corresponding relation between the brightness of each color sub-pixel in the determined white light and the voltage value of the corresponding color sub-pixel.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277373.3A CN108039143B (en) | 2017-12-06 | 2017-12-06 | Gamma circuit adjusting method and device |
US16/101,671 US10706794B2 (en) | 2017-12-06 | 2018-08-13 | Adjustment method and device for gamma circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277373.3A CN108039143B (en) | 2017-12-06 | 2017-12-06 | Gamma circuit adjusting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108039143A CN108039143A (en) | 2018-05-15 |
CN108039143B true CN108039143B (en) | 2021-02-02 |
Family
ID=62095539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711277373.3A Active CN108039143B (en) | 2017-12-06 | 2017-12-06 | Gamma circuit adjusting method and device |
Country Status (2)
Country | Link |
---|---|
US (1) | US10706794B2 (en) |
CN (1) | CN108039143B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102447889B1 (en) * | 2017-12-20 | 2022-09-27 | 삼성전자주식회사 | A display controlling an operation of a gamma block based on displaying a content and an electronic device comprising the display |
CN108898987B (en) * | 2018-07-31 | 2021-04-27 | 京东方科技集团股份有限公司 | Gray scale conversion method, gray scale conversion device and display device |
CN109147702B (en) * | 2018-09-25 | 2020-09-29 | 合肥京东方光电科技有限公司 | Chromaticity adjusting method and device of display panel |
CN110428777B (en) * | 2019-08-14 | 2021-01-22 | 京东方科技集团股份有限公司 | Display correction method and device of display module |
CN110767164A (en) * | 2019-11-18 | 2020-02-07 | 安徽熙泰智能科技有限公司 | Gamma correction method for cubic spline curve fitting |
CN111681603B (en) * | 2020-06-15 | 2022-02-11 | 昆山国显光电有限公司 | Driving method of display panel |
CN112365858B (en) * | 2020-12-10 | 2022-03-08 | 深圳市华星光电半导体显示技术有限公司 | Target color point capturing method in gamma correction and gamma correction system |
CN112908260B (en) * | 2021-03-30 | 2022-06-10 | 合肥维信诺科技有限公司 | Compensation method, compensation device and compensation system of display panel |
CN113270062A (en) * | 2021-05-21 | 2021-08-17 | 武汉华星光电半导体显示技术有限公司 | Compensation method of display panel |
CN115550629A (en) * | 2021-06-29 | 2022-12-30 | 广州视琨电子科技有限公司 | Image quality adjusting method and device, storage medium and electronic equipment |
CN114203093B (en) * | 2021-12-23 | 2022-10-11 | 长沙惠科光电有限公司 | Display panel color cast compensation method, display module and electronic equipment |
US20230282153A1 (en) * | 2022-03-07 | 2023-09-07 | Stereyo Bv | Methods and systems for non-linear compensation in display applications |
US12100363B2 (en) | 2022-12-19 | 2024-09-24 | Stereyo Bv | Configurations, methods, and devices for improved visual performance of a light-emitting element display and/or a camera recording an image from the display |
US12080224B2 (en) | 2022-12-19 | 2024-09-03 | Stereyo Bv | Configurations, methods, and devices for improved visual performance of a light-emitting element display and/or a camera recording an image from the display |
US12112695B2 (en) | 2022-12-19 | 2024-10-08 | Stereyo Bv | Display systems and methods with multiple and/or adaptive primary colors |
US12119330B2 (en) | 2022-12-19 | 2024-10-15 | Stereyo Bv | Configurations, methods, and devices for improved visual performance of a light-emitting element display and/or a camera recording an image from the display |
CN118571161B (en) * | 2024-07-31 | 2024-10-01 | 深圳市瑞桔电子有限公司 | Display control method, device and equipment of LED display screen and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713256A (en) * | 2004-06-25 | 2005-12-28 | 三洋电机株式会社 | Signal processing circuit and method for self-luminous type display |
CN102542962A (en) * | 2012-02-07 | 2012-07-04 | 深圳市华星光电技术有限公司 | White balance adjustment method |
CN104299568A (en) * | 2014-10-23 | 2015-01-21 | 京东方科技集团股份有限公司 | Image display control method and device of WOLED display device and display device |
CN107369408A (en) * | 2016-05-13 | 2017-11-21 | 辛纳普蒂克斯日本合同会社 | Shading process, ager, display driver and display system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050285828A1 (en) * | 2004-06-25 | 2005-12-29 | Sanyo Electric Co., Ltd. | Signal processing circuit and method for self-luminous type display |
KR102281900B1 (en) * | 2013-12-31 | 2021-07-28 | 삼성디스플레이 주식회사 | Display apparatus and method of driving the same |
KR102324865B1 (en) * | 2014-12-29 | 2021-11-12 | 엘지디스플레이 주식회사 | Organic Light Emitting Display And Luminance Control Method Of The Same |
CN107221272B (en) * | 2017-07-04 | 2021-09-17 | 华显光电技术(惠州)有限公司 | Display screen parameter setting method |
-
2017
- 2017-12-06 CN CN201711277373.3A patent/CN108039143B/en active Active
-
2018
- 2018-08-13 US US16/101,671 patent/US10706794B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713256A (en) * | 2004-06-25 | 2005-12-28 | 三洋电机株式会社 | Signal processing circuit and method for self-luminous type display |
CN102542962A (en) * | 2012-02-07 | 2012-07-04 | 深圳市华星光电技术有限公司 | White balance adjustment method |
CN104299568A (en) * | 2014-10-23 | 2015-01-21 | 京东方科技集团股份有限公司 | Image display control method and device of WOLED display device and display device |
CN107369408A (en) * | 2016-05-13 | 2017-11-21 | 辛纳普蒂克斯日本合同会社 | Shading process, ager, display driver and display system |
Also Published As
Publication number | Publication date |
---|---|
US20190172404A1 (en) | 2019-06-06 |
CN108039143A (en) | 2018-05-15 |
US10706794B2 (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108039143B (en) | Gamma circuit adjusting method and device | |
CN106782303B (en) | A kind of display bearing calibration of display panel, apparatus and system | |
CN110164371B (en) | Gamma correction method and device for display module | |
CN107682682B (en) | Method for automatically correcting color coordinate and brightness of display screen and related equipment | |
CN107799081B (en) | Gamma corrects system and its bearing calibration | |
US20080180375A1 (en) | Method for establishing gamma correction table for liquid crystal display | |
WO2020093495A1 (en) | Method and device for adjusting gamma value of display panel | |
WO2019061677A1 (en) | 3gamma correction method and system for an oled display module | |
CN108399901B (en) | Color correction method and device for liquid crystal display screen and electronic equipment | |
CN105427788A (en) | Method and system for automatically adjusting brightness and chromaticity of display device | |
CN110910847B (en) | Gamma correction method and device for display module | |
CN109637441B (en) | Module Gamma correction method based on Kalman filtering | |
WO2017035849A1 (en) | White balancing method for four-color pixel system | |
US20080079746A1 (en) | Method and device of obtaining a color temperature point | |
TWI413101B (en) | Control method for improving the luminous uniformity and related luminosity calibrating controller and display device | |
CN104091578A (en) | RGB signal to RGBW signal image conversion method and device | |
CN111091785B (en) | Color cast compensation method and device | |
CN107507562B (en) | OLED grayscale gamma method of adjustment based on fast search algorithm | |
KR101336977B1 (en) | Liquid crystal display and driving method thereof | |
CN105280098A (en) | Display device for correcting display non-uniformity | |
US20200154003A1 (en) | Gamma Value Tuning Method and Device of Display Panel | |
CN109215553B (en) | Display panel, method for establishing overdrive lookup table of display panel and readable storage medium | |
CN112071264B (en) | Gamma correction method and device | |
CN109191386A (en) | A kind of quick Gamma bearing calibration and device based on BPNN | |
CN113160090B (en) | Image correction method and device |
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 |