CN115762437A - Method for correcting RGB GAMMA curve of reinforced display - Google Patents
Method for correcting RGB GAMMA curve of reinforced display Download PDFInfo
- Publication number
- CN115762437A CN115762437A CN202211501664.7A CN202211501664A CN115762437A CN 115762437 A CN115762437 A CN 115762437A CN 202211501664 A CN202211501664 A CN 202211501664A CN 115762437 A CN115762437 A CN 115762437A
- Authority
- CN
- China
- Prior art keywords
- gamma
- tristimulus values
- rxs
- recorded
- recording
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004364 calculation method Methods 0.000 claims description 13
- 230000003014 reinforcing effect Effects 0.000 claims description 4
- 230000002787 reinforcement Effects 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Images
Landscapes
- Processing Of Color Television Signals (AREA)
Abstract
The invention belongs to the technical field of reinforced displays, and particularly relates to a method for correcting RGB GAMMA curves of a reinforced display, which comprises the following steps: respectively obtaining 256 levels of tristimulus values under red, green and blue pure-color pictures; the 256-level tristimulus values measured by the three pure-color pictures are recorded as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, taking RX 0-255, GY0-255, BZ0-255 out; calculating the required RX, GY and BZ according to the required gamma, and recording the RX, GY and BZ as RXS 0-255, GYS0-255 and BZS0-255; looking up tables according to RXS 0-255, GYS0-255 and BZS 0-255 to obtain the grade numbers of the original test data in which the needed gamma is calculated, and then recording the grade numbers as RI 0-255, GI0-255 and BI0-255. The method tests the RX, GY and BZ values of the target reinforcement display, accurately calculates the table look-up value of each line of RGB according to the required GAMMA, writes the table look-up value into the memory, completes the correction of the GAMMA curve under each color picture of red, green and blue, ensures the consistency and the accuracy of GAMMA of each color picture, and greatly improves the accuracy compared with the traditional correction scheme.
Description
Technical Field
The invention relates to the technical field of reinforced displays, in particular to a method for correcting RGB GAMMA curves of a reinforced display.
Background
The display has different requirements on display technical parameters in application of different industries, the reinforced display industry belongs to the special display industry, if the display technical parameters of the common display industry are directly used for inputting the display effect of the display technical parameters, the viewing requirement of the reinforced display in a specific environment cannot be met, a plurality of important information details cannot be observed, and particularly, the display details cannot be clearly seen in the specific environment. Therefore, the reinforced display needs to be corrected by using a specially adjusted GAMMA curve to achieve the required viewing and displaying effect under a specific environment.
Conventional GAMMA correction methods include manual correction and multi-point polylines. The manual correction needs to test the gray value of each GAMMA gray scale, compare the gray value with the target gray value and debug the gray value, the error caused by human and environmental factors is large, and the tested gray scale brightness value cannot ensure the consistency of GAMMA of each picture of red, green and blue; the multi-point polygonal line has complex calculation and large error for GAMMA values which are not the reference points. To solve the above problem, we propose a method for enhancing RGB GAMMA curve correction of a display.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a method for strengthening the RGB GAMMA curve correction of a display.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for reinforcing RGB GAMMA curve correction of a display comprises the following steps:
s1, respectively obtaining 256 levels of tristimulus values under red, green and blue pure-color pictures;
s2, recording 256 levels of tristimulus values measured by three pure color pictures as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, RX 0-255, GY0-255 and BZ0-255 are taken out;
s3, calculating the required RX, GY and BZ according to the required gamma, and recording the RX, GY and BZ as RXS 0-255, GYS0-255 and BZS 0-255;
s4, looking up a table according to RXS 0-255, GYS0-255 and BZS 0-255 to obtain the grade numbers of the original test data after the needed gamma calculation, wherein the grade numbers are RI 0-255, GI0-255 and BI0-255;
s5, accurately calculating the specific position of the lookup table and recording the position as RJ 0-255, GJ0-255 and BJ0-255;
s6, writing RJ 0-255, GJ0-255 and BJ0-255 into a memory.
In the method for correcting the RGB GAMMA curve of the reinforced display, in S2, 256 levels of tristimulus values measured by three pure color pictures are recorded as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, taking RX 0-255, GY0-255 and BZ0-255 out.
In the method for correcting the RGB GAMMA curve of the reinforced display, 256 levels of tristimulus values tested under the red picture are recorded as RX 0-255, RY0-255 and RZ0-255; 256 levels of tristimulus values tested under a green picture are recorded as GX 0-255, GY0-255 and GZ0-255; the 256-level tristimulus values tested under the blue picture are recorded as BX 0-255, BY0-255 and BZ0-255.
In the method for correcting the RGB GAMMA curve of the reinforced display, in the S3, the required RX, GY and BZ are calculated according to the required GAMMA and are recorded as RXS 0-255, GYS0-255 and BZS0-255;
RXSn=(N/255)^γ*(RX255-RX0)+RX0;
GYSn=(N/255)^γ*(GY255-GY0)+GY0;
BZSn=(N/255)^γ*(BZ255-BZ0)+BZ0。
in the method for correcting the RGB GAMMA curve of the reinforced display, in S4, the required grade number in the original test data after GAMMA calculation is obtained by looking up tables according to RXS 0-255, GYS0-255 and BZS 0-255 is recorded as RI 0-255, GI0-255 and BI0-255.
In the method for correcting the RGB GAMMA curve of the reinforced display, in S5, the specific position where the table is looked up is accurately calculated and recorded as RJ 0-255, GJ0-255 and BJ0-255.
Compared with the prior art, the method for correcting the RGB GAMMA curve of the reinforced display has the advantages that: the method tests the RX, GY and BZ values of the target reinforcement display, accurately calculates the table look-up value of each RGB line according to the required GAMMA, writes the table look-up value into the memory, completes the correction of the GAMMA curve under each color picture of red, green and blue, ensures the consistency and accuracy of the GAMMA of each color picture, and greatly improves the accuracy compared with the traditional correction scheme; in addition, the GAMMA curves of the red, green and blue images are corrected, so that the consistency and the accuracy of the GAMMA of each color image are ensured; the minimum values RX0, GY0, BZ0 of each color picture test are substituted into a formula, so that the problem that deviation occurs only by taking the maximum brightness as a reference in the traditional calculation method is avoided, the numerical value cannot be 0 when the actual displayed picture is darkest, namely, the numerical values RX0, GY0, BZ0 still have numerical values when the number of stages is 0.
Drawings
Fig. 1 is a block diagram of a method for reinforcing RGB GAMMA curve correction of a display according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1, a method for reinforcing RGB GAMMA curve correction of a display includes the steps of:
s1, respectively obtaining 256 levels of tristimulus values under red, green and blue pure-color pictures;
s2, recording 256 levels of tristimulus values measured by three pure color pictures as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, RX 0-255, GY0-255 and BZ0-255 are taken out;
s3, calculating the required RX, GY and BZ according to the required gamma, and recording the RX, GY and BZ as RXS 0-255, GYS0-255 and BZS 0-255;
s4, looking up a table according to RXS 0-255, GYS0-255 and BZS 0-255 to obtain the grade numbers of the original test data after the needed gamma calculation, wherein the grade numbers are RI 0-255, GI0-255 and BI0-255;
s5, accurately calculating the specific position of the lookup table and recording the position as RJ 0-255, GJ0-255 and BJ0-255;
s6, writing RJ 0-255, GJ0-255 and BJ0-255 into a memory.
In S2, 256 levels of tristimulus values measured by three pure color pictures are recorded as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, taking RX 0-255, GY0-255, BZ0-255 out; the 256-level tristimulus values tested under the red picture are recorded as RX 0-255, RY0-255 and RZ0-255; the 256-level tristimulus values tested under the green picture are marked as GX 0-255, GY0-255 and GZ0-255; the 256-level tristimulus values tested under the blue picture are recorded as BX 0-255, BY0-255 and BZ0-255.
Furthermore, for the parameters of X, Y and Z of red, green and blue under the three-color picture of XYZ tri-stimulus value, red, green and blue, which can best reflect the parameters under the current picture, RX 0-255, GY0-255 and BZ0-255 are taken as the original test parameters. The parameters tested are reported in table 1 below:
number of stages N | R | G | B |
0 | RX0 | GY0 | BZ0 |
1 | RX1 | GY1 | BZ1 |
2 | RX2 | GY2 | BZ2 |
3 | RX3 | GY3 | BZ3 |
… | … | … | … |
n | RXn | GYn | BZn |
… | … | … | … |
255 | RX255 | GY255 | BZ255 |
In S3, the required RX, GY and BZ are calculated according to the required gamma and are recorded as RXS 0-255, GYS0-255 and BZS0-255;
RXSn=(N/255)^γ*(RX255-RX0)+RX0;
GYSn=(N/255)^γ*(GY255-GY0)+GY0;
BZSn=(N/255)^γ*(BZ255-BZ0)+BZ0;
specifically, the method comprises the following steps:
the GAMMA curve of each color picture of red, green and blue is corrected, so that the consistency and accuracy of the GAMMA of each color picture are ensured
The minimum values RX0, GY0, BZ0 of each color picture test are substituted into a formula, so that the problem that deviation occurs only by taking the maximum brightness as a reference in the traditional calculation method is avoided, the numerical value cannot be 0 when the actual displayed picture is darkest, namely, the numerical values RX0, GY0, BZ0 still have numerical values when the number of stages is 0.
The calculated parameter records are as follows in table 2:
in S4, looking up a table according to RXS 0-255, GYS0-255 and BZS 0-255 to obtain the grade numbers of the original test data in which the needed gamma is calculated, wherein the grade numbers are RI 0-255, GI0-255 and BI0-255;
further, look-up table 1 is performed according to data RXSn calculated in table 2, the look-up table is based on that RXSn in table 2 is greater than and closest to RXn in table 1, and the stage number corresponding to RXn in table 1 is recorded as RIn, and GYSn and BZSn are respectively recorded as GIn and BIn as above. The series parameters are reported in table 3 below:
R | G | B |
RI0 | GI0 | BI0 |
RI1 | GI1 | BI1 |
RI2 | GI2 | BI2 |
RI3 | GI3 | BI3 |
… | … | … |
RIn | GIn | BIn |
… | … | … |
RI255 | GI255 | BI255 |
in S5, the specific position where the lookup table is accurately calculated is recorded as RJ 0-255, GJ0-255 and BJ0-255;
specifically, the method comprises the following steps: table 3 actually records the rough table lookup stage number in table 1 of the data in table 2, which is needed after the γ change calculation, the table lookup data is relatively rough, and a specific numerical value needs to be calculated more accurately, and the specific numerical value calculation method is set forth below:
the specific precise calculation method taking the RJ1 as an example is as follows:
in table 3, RI1 is a rough table look-up stage number of RXS1 in table 1 after γ change calculation, DATA of R corresponding to the stage number of RI1 in table 1 is counted as DATA (RI 1), and DATA corresponding to the stage number of RI1+1 in the subsequent stage of RI1 in table 1 is counted as DATA (RI 1+ 1);
RJ1= (RXS 1-DATA (RI 1))/(DATA (RI 1+ 1) -DATA (RI 1)) + RI1, other DATA calculation methods are as above, and the results are recorded as table 4:
R | G | B |
RJ0 | GJ0 | BJ0 |
RJ1 | GJ1 | BJ1 |
RJ2 | GJ2 | BJ2 |
RJ3 | GJ3 | BJ3 |
… | … | … |
RJn | GJn | BJn |
… | … | … |
RJ255 | GJ255 | BJ255 |
the method corrects the GAMMA curve under each color picture of red, green and blue, and ensures the consistency and the accuracy of the GAMMA of each color picture. The minimum values RX0, GY0 and BZ0 of each color picture test are substituted into a formula, so that the problem that the deviation occurs only by taking the maximum brightness as a reference in the traditional calculation method is avoided, and the actual darkest numerical value of a displayed picture cannot be 0, namely the numerical values RX0, GY0 and BZ0 still have numerical values when the numerical value is 0; in addition, the invention accurately calculates the specific position of the lookup table.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered as the technical solutions and the inventive concepts of the present invention within the technical scope of the present invention.
Claims (6)
1. A method for reinforcing RGB GAMMA curve correction for a display, comprising the steps of:
s1, respectively obtaining 256 levels of tristimulus values under red, green and blue pure-color pictures;
s2, recording 256 levels of tristimulus values measured by three pure color pictures as RX 0-255, RY0-255 and RZ0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, taking RX 0-255, GY0-255, BZ0-255 out;
s3, calculating the required RX, GY and BZ according to the required gamma, and recording the RX, GY and BZ as RXS 0-255, GYS0-255 and BZS 0-255;
s4, looking up a table according to RXS 0-255, GYS0-255 and BZS 0-255 to obtain the grade numbers in the original test data after the needed gamma calculation, and recording the grade numbers as RI 0-255, GI0-255 and BI0-255;
s5, accurately calculating the specific position of the lookup table and recording the position as RJ 0-255, GJ0-255 and BJ0-255;
s6, writing RJ 0-255, GJ0-255 and BJ0-255 into a memory.
2. The method as claimed in claim 1, wherein the measured 256 tristimulus values of three pure color frames in S2 are denoted as RX 0-255, ry0-255, rz0-255; GX 0-255, GY0-255, GZ0-255; BX 0-255, BY0-255, BZ0-255, RX 0-255, GY0-255 and BZ0-255.
3. The method as claimed in claim 2, wherein the 256 tristimulus values measured under red screen are recorded as RX 0-255, ry0-255, rz0-255; 256 levels of tristimulus values tested under a green picture are recorded as GX 0-255, GY0-255 and GZ0-255; the 256-level tristimulus values tested under the blue picture are recorded as BX 0-255, BY0-255 and BZ0-255.
4. The method as claimed in claim 2, wherein in S3, the RX, GY, BZ required is calculated as RXs 0-255, GYs 0-255, BZs 0-255;
RXSn=(N/255)^γ*(RX255-RX0)+RX0;
GYSn=(N/255)^γ*(GY255-GY0)+GY0;
BZSn=(N/255)^γ*(BZ255-BZ0)+BZ0。
5. the method as claimed in claim 1, wherein in S4, the original test data with the calculated γ is represented by RI 0-255, gi0-255 and bi0-255 according to RXS 0-255, gys0-255 and bzs0-255.
6. The method as claimed in claim 1, wherein the specific locations where the look-up table is accurately calculated in S5 are recorded as RJ 0-255, gj0-255, bj 0-255.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211501664.7A CN115762437B (en) | 2022-11-28 | 2022-11-28 | Method for correcting RGB GAMMA curve of reinforced display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211501664.7A CN115762437B (en) | 2022-11-28 | 2022-11-28 | Method for correcting RGB GAMMA curve of reinforced display |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115762437A true CN115762437A (en) | 2023-03-07 |
CN115762437B CN115762437B (en) | 2024-03-08 |
Family
ID=85339300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211501664.7A Active CN115762437B (en) | 2022-11-28 | 2022-11-28 | Method for correcting RGB GAMMA curve of reinforced display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115762437B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200530990A (en) * | 2004-03-12 | 2005-09-16 | Chi Mei Optoelectronics Corp | Liquid crystal display and the driving method thereof |
TW201337901A (en) * | 2012-03-01 | 2013-09-16 | Marketech Int Corp | Method to improve the gray white balance adjustment accuracy by introducing display panel white luminance parameter and basing on the display panel original RGB and white optical properties to calculate gray white balance gain value |
KR20160011300A (en) * | 2014-07-21 | 2016-02-01 | 삼성디스플레이 주식회사 | Method of displaying an image, display apparatus performing the same, method of calculating a correction value applied to the same and method of correcting gray data |
CN106887219A (en) * | 2017-03-30 | 2017-06-23 | 深圳市华星光电技术有限公司 | Display picture generation method and system |
CN107610642A (en) * | 2017-09-28 | 2018-01-19 | 武汉华星光电半导体显示技术有限公司 | A kind of 3Gamma bearing calibrations of OLED display modules and system |
-
2022
- 2022-11-28 CN CN202211501664.7A patent/CN115762437B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200530990A (en) * | 2004-03-12 | 2005-09-16 | Chi Mei Optoelectronics Corp | Liquid crystal display and the driving method thereof |
TW201337901A (en) * | 2012-03-01 | 2013-09-16 | Marketech Int Corp | Method to improve the gray white balance adjustment accuracy by introducing display panel white luminance parameter and basing on the display panel original RGB and white optical properties to calculate gray white balance gain value |
KR20160011300A (en) * | 2014-07-21 | 2016-02-01 | 삼성디스플레이 주식회사 | Method of displaying an image, display apparatus performing the same, method of calculating a correction value applied to the same and method of correcting gray data |
CN106887219A (en) * | 2017-03-30 | 2017-06-23 | 深圳市华星光电技术有限公司 | Display picture generation method and system |
WO2018176530A1 (en) * | 2017-03-30 | 2018-10-04 | 深圳市华星光电技术有限公司 | Display picture generation method and system |
CN107610642A (en) * | 2017-09-28 | 2018-01-19 | 武汉华星光电半导体显示技术有限公司 | A kind of 3Gamma bearing calibrations of OLED display modules and system |
Also Published As
Publication number | Publication date |
---|---|
CN115762437B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI829836B (en) | Mura correction system | |
TWI825252B (en) | Mura correction system | |
JP6775326B2 (en) | Color adjustment method, color adjustment device and display system | |
US20190333439A1 (en) | Oled display system and method | |
JP5922160B2 (en) | Display calibration system, program, recording medium | |
TWI459820B (en) | Color and geometry distortion correction system and method | |
CN109036233B (en) | Production line multipoint automatic Gamma curve debugging method and system | |
WO2023000631A1 (en) | Method and apparatus for determining correction coefficient of display screen light point, and computer device | |
CN110660352B (en) | Point-to-point correction method, device and system for LED display screen and storage medium | |
WO2017035849A1 (en) | White balancing method for four-color pixel system | |
TWI827774B (en) | Mura correction driver | |
CN109584792B (en) | Method for quickly adjusting gray scale gamma of O L ED screen | |
CN112992059B (en) | Method and related device for adjusting Gamma of OLED display screen | |
CN105336307A (en) | Method and system for correcting gamma curve of display based on color temperature | |
CN103383830B (en) | Method for viewing virtual display outputs | |
CN115762437B (en) | Method for correcting RGB GAMMA curve of reinforced display | |
TWI476754B (en) | Correcting system and correcting method for display device | |
CN109410889B (en) | White balance adjusting method and device and electronic equipment | |
CN109119046B (en) | Adjusting system and adjusting method for gray scale brightness and memory | |
CN114170960B (en) | Custom Gamma correction method for silicon-based OLED micro-display screen | |
JP6976150B2 (en) | Correction data generation device, display device, correction data generation method and program | |
JP2005196156A (en) | Color image display apparatus, color converter, color-simulating apparatus, and methods for them | |
CN116309886A (en) | Display control method, display control device, electronic equipment and storage medium | |
US20130113840A1 (en) | Method for Panel Color Calibration and Associated Color Calibration System | |
WO2022178992A1 (en) | Display panel driving method, display device, and driving 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 |