WO2019090794A1 - Gamma校正系统及其校正方法 - Google Patents
Gamma校正系统及其校正方法 Download PDFInfo
- Publication number
- WO2019090794A1 WO2019090794A1 PCT/CN2017/110905 CN2017110905W WO2019090794A1 WO 2019090794 A1 WO2019090794 A1 WO 2019090794A1 CN 2017110905 W CN2017110905 W CN 2017110905W WO 2019090794 A1 WO2019090794 A1 WO 2019090794A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sub
- pixel
- values
- brightness
- value
- 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.)
- Ceased
Links
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
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- 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/0626—Adjustment of display parameters for control of overall brightness
-
- 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
Definitions
- the present invention relates to the field of liquid crystal display technology, and in particular, to a gamma correction system and a calibration method thereof.
- the Gamma correction is to edit the display gamma curve, and the gamma curve is the relationship between the grayscale voltage and the corresponding brightness.
- the display brightness is nonlinearly edited.
- the general gamma value of the display is 2.2, and the gamma value in the case of picture distortion is deviated from 2.2, so the gamma correction of the display is essential for accurate display color.
- the present invention provides a gamma correction system and a calibration method thereof, which requires a shorter correction time, does not need to store grayscale values, and saves hardware resources.
- the specific technical solution proposed by the present invention is to provide a calibration method of a gamma correction system, and the calibration method includes the following steps:
- the fitting curve corresponding to the sub-pixels is stored in the memory.
- n gray scale values corresponding to each of the R sub-pixel, the G sub-pixel, and the B sub-pixel according to the color coordinates and the brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel include:
- the method before the step of calculating the tristimulus value of the W sub-pixel according to the color coordinates and the brightness value of the W sub-pixel, the method further includes:
- the method used for the fitting is a least squares method.
- n is not less than 4.
- n is equal to 4, and the values of the four grayscale values are 0 to 64, 65 to 128, 129 to 192, and 193 to 255, respectively.
- the calculation formula of the total deviation of the n second brightness values of the sub-pixels and the corresponding n first brightness values is:
- x i represents the i-th gray scale value
- ⁇ (x i ) represents the second luma value corresponding to the i-th gray scale value x i
- Y(x i ) represents the corresponding i-th gray scale value x i A brightness value.
- the threshold is 5-10.
- the invention also provides a gamma correction system, the gamma correction system comprising:
- An obtaining unit configured to acquire color coordinates and brightness values of R sub-pixels, G sub-pixels, and B sub-pixels in one pixel unit;
- a fitting point generating unit configured to select n gray scale values, and calculate the R sub-pixel, the G sub-pixel, and the B sub-pixel according to color coordinates and brightness values of the R sub-pixel, the G sub-pixel, and the B sub-pixel n first luminance values corresponding to n gray scale values of each sub-pixel, each of which is formed by n gray scale values of each sub-pixel as abscissa and corresponding n first luminance values as vertical coordinates n fit points of the pixel;
- a fitting curve generating unit configured to fit n fitting points of each sub-pixel to obtain a fitting curve of each sub-pixel
- a determining unit configured to respectively calculate n second brightness values corresponding to the n gray level values according to the fitting curve of each sub-pixel, and determine n first brightness values and n first brightness values corresponding to the sub-pixels Whether the total deviation is less than the threshold;
- a memory configured to store a fitting curve corresponding to the sub-pixel when a total deviation of the n second brightness values of the sub-pixels and the corresponding n first brightness values is less than the threshold.
- the correction method of the gamma correction system proposed by the invention calculates n first brightness values corresponding to n gray scale values for each sub-pixel by selecting n gray scale values, and then uses n gray scale values as abscissas, Corresponding n first brightness values form ordinates forming n fitting points, fitting n fitting points to obtain a fitting curve of each sub-pixel; finally, n second brightness values and the sub-pixels A fitting curve of the corresponding total deviation of the n first brightness values is less than a threshold value as a fitting curve of the sub-pixels and stored in a memory, according to which a given gray scale value of each sub-pixel can be obtained. Corresponding brightness does not require storage of grayscale values, which saves hardware resources, and the entire calibration process only needs to fit n fitting points, which greatly shortens the correction time.
- 1 is a flow chart of a calibration method of a gamma correction system
- Figure 2 is a block diagram of a Gamma correction system.
- the calibration method of the gamma correction system includes the following steps:
- S2 selecting n gray scale values, and calculating n gray scale values of each of the R sub-pixel, the G sub-pixel, and the B sub-pixel according to the color coordinates and the brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel.
- Corresponding n first brightness values respectively forming n fitting points of each sub-pixel with n gray scale values of each sub-pixel as abscissa and corresponding n first brightness values as vertical coordinates;
- the fitting curve corresponding to the sub-pixel is stored in the memory.
- the calibration method of the gamma correction system is applied to the AMOLED as an example.
- the correction method in this embodiment will be specifically described below.
- step S1 the Gamma voltage of the test is input, and the color coordinates and the brightness values of the R sub-pixel, the G sub-pixel, and the B sub-pixel are obtained, wherein the color coordinates and the brightness of the R sub-pixel are expressed as (x r , y r , Y r ), x r , y r represents the color coordinates of the R sub-pixel, Y r represents the brightness of the R sub-pixel; the color coordinates and brightness of the G sub-pixel are expressed as (x g , y g , Y g ), x g , y g represents the color coordinate of the G sub-pixel, Y g represents the luminance of the G sub-pixel; the color coordinates and brightness of the B sub-pixel are expressed as (x b , y b , Y b ), and x b , y b represents the color of the B sub-pixel Coordinates, Y b represents the brightness of the B sub
- n first luminance values Y(x i ) corresponding to n gray scale values of each sub-pixel that is, first calculating R sub-pixels according to color coordinates and luminance values of R sub-pixels, G sub-pixels, and B sub-pixels n first luminance values Y R (x i ) corresponding to n gray scale values
- Y R (x i ) represents a first luminance value corresponding to the R sub-pixels
- Y G (x i ) represents a first luminance value corresponding to the R sub-pixels
- Y G (x i ) represents the first brightness value corresponding to the R sub-pixel
- the n first luminance values Y B (x i ) corresponding to the n gray scale values of the B sub-pixels are calculated according to the color coordinates and the luminance values of the R sub-pixel
- the n fitting points of each sub-pixel are formed by n gray scale values of each sub-pixel and the corresponding n first luminance values are vertical coordinates, that is, n fitting points corresponding to the R sub-pixels For (x 1 , Y R (x 1 )), (x 2 , Y R (x 2 )), ..., (x n , Y R (x n )), the n fitting points corresponding to the G sub-pixels For (x 1 , Y G (x 1 )), (x 2 , Y G (x 2 )), ..., (x n , Y G (x n )), the n fitting points corresponding to the B sub-pixels Is (x 1 , Y B (x 1 )), (x 2 , Y B (x 2 )), ..., (x n , Y B (x n )).
- n is not less than 3.
- n is another value, and so on.
- step S2 includes:
- the four fitting points corresponding to the R sub-pixels are (x 1 , Y R (x 1 )), (x 2 , Y R (x 2 )), (x) 3 , Y R (x 3 )), (x 4 , Y R (x 4 ));
- the four fitting points corresponding to the G sub-pixels are (x 1 , Y G (x 1 )), (x 2 , Y G (x 2 )), (x 3 , Y G (x 3 )), (x 4 , Y G (x 4 ));
- the four fitting points corresponding to the B sub-pixel are (x 1 , Y B (x 1 )), (x 2 , Y B (x 2 )), (x 3 , Y B (x 3 )), (x 4 , Y B (x 4 )).
- the method further includes:
- S212 Determine a maximum brightness value of the W sub-pixel according to a maximum brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel, wherein a maximum brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel is performed according to a register of the driving IC. It is set that the luminance of the W sub-pixel is synthesized by the luminances of the R sub-pixel, the G sub-pixel, and the B sub-pixel. Therefore, the maximum luminance value of the W sub-pixel is equal to the maximum luminance value of the R sub-pixel, the G sub-pixel, and the B sub-pixel.
- the reliability of the obtained data can be ensured by steps S211 to S213, thereby ensuring the reliability of the entire fitting process and improving the stability of the entire calibration system.
- step S3 the fitting points of each sub-pixel are fitted to obtain a fitting curve of each sub-pixel.
- the method used for fitting is a least square method, and the function used is fitted.
- ⁇ (x) ax b , a>0, b>0, ⁇ (x) represents the second luminance value corresponding to the grayscale value x.
- the fitting function in this embodiment may also select a fitting function in other functional forms, for example, a polynomial function, which is not limited herein.
- the four fitting points corresponding to the R sub-pixels are (x 1 , Y R (x 1 )), (x 2 , Y R (x 2 )), (x 3 , Y R (x 3 )), (x) 4 , Y R (x 4 ))
- the least squares equations used for fitting are:
- the fitting curve of the R sub-pixel can be obtained by solving the above-mentioned least squares equations.
- the four fitting points corresponding to the G sub-pixels are (x 1 , Y G (x 1 )), (x 2 , Y G (x 2 )), (x 3 , Y G (x 3 )), (x) 4 , Y G (x 4 ))
- the least squares equations used for fitting are:
- the fitting curve of the G sub-pixel can be obtained by solving the above-mentioned least squares equations.
- the four fitting points corresponding to the B sub-pixels are (x 1 , Y B (x 1 )), (x 2 , Y B (x 2 )), (x 3 , Y B (x 3 )).
- the least squares equations used for fitting (x 4 , Y B (x 4 )) are:
- the fitting curve of the G sub-pixel can be obtained by solving the above-mentioned least squares equations.
- step S4 the n second brightness values corresponding to the n gray level values are respectively calculated according to the fitting curve of each sub-pixel, and the n second brightness values and the n first brightness values corresponding to the sub-pixel are determined. Whether the total deviation is less than the threshold ⁇ 0 .
- the formula for calculating the total deviation ⁇ of the n second luminance values of each sub-pixel and the corresponding n first luminance values is:
- x i represents the i-th gray scale value
- ⁇ (x i ) represents the second luma value corresponding to the i-th gray scale value x i
- Y(x i ) represents the corresponding i-th gray scale value x i A brightness value.
- the four second luminance values corresponding to the four grayscale values of the R sub-pixel are (x 1 , ⁇ R (x 1 )), (x 2 , ⁇ R (x 2 )), (x 3 , ⁇ R (x 3 ) )), (x 4 , ⁇ R (x 4 )), then the total deviation of the R sub-pixels is:
- the four second luminance values corresponding to the four grayscale values of the G sub-pixel are (x 1 , ⁇ G (x 1 )), (x 2 , ⁇ G (x 2 )), (x 3 , ⁇ G (x 3 ) )), (x 4 , ⁇ G (x 4 )), then the total deviation of the R sub-pixels is:
- the four second brightness values corresponding to the four gray scale values of the B sub-pixel are (x 1 , ⁇ B (x 1 )), (x 2 , ⁇ B (x 2 )), (x 3 , ⁇ B (x 3 ) )), (x 4 , ⁇ B (x 4 )), then the total deviation of the R sub-pixels is:
- step S5 if the total deviation ⁇ of the n second luminance values of the sub-pixels and the corresponding n first luminance values is less than the threshold ⁇ 0 , that is, ⁇ ⁇ 0 , the corresponding fitting of the sub-pixels is performed.
- the embodiment according to the fitting curve, the brightness corresponding to the gray scale value of each sub-pixel can be obtained, the gray scale value is not stored, the hardware resources are saved, and only n fitting points are needed for the entire calibration process.
- the fitting is done, which greatly shortens the calibration time.
- the embodiment also considers the influence of the W sub-pixel when generating the fitting curve. Therefore, the correction method of the embodiment also corrects the white balance while correcting the gamma, and similarly, the white balance correction is greatly saved. time.
- the embodiment further provides a gamma correction system, which includes an acquisition unit 1, a fitting point generation unit 2, a fitting curve generation unit 3, a determination unit 4, and a memory 5.
- the obtaining unit 1 is configured to acquire color coordinates and brightness values of the R sub-pixel, the G sub-pixel, and the B sub-pixel in one pixel unit.
- the fitting point generating unit 2 is configured to select n gray scale values, and calculate each of the R sub-pixel, the G sub-pixel, and the B sub-pixel according to the color coordinates and the brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel.
- the fitting curve generating unit 3 is configured to fit the n fitting points of each sub-pixel to obtain a fitting curve of each sub-pixel.
- the determining unit 4 is configured to respectively calculate n second brightness values corresponding to the n gray level values according to the fitting curve of each sub-pixel, and determine n second brightness values and n first brightness values corresponding to the sub-pixels. Whether the total deviation is less than the threshold.
- the memory 5 is configured to store a fitting curve corresponding to the sub-pixel when the total deviation of the n second brightness values of the sub-pixels and the corresponding n first brightness values is less than a threshold.
- the fitting point generating unit 2 is further configured to calculate color coordinates and luminance values (x w , y w , Y w ) of the W sub-pixels according to color coordinates and luminance values of the R sub-pixel, the G sub-pixel, and the B sub-pixel, respectively.
- the fitting point generating unit 2 is further configured to acquire a maximum brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel, and determine the W sub-pixel according to the maximum brightness value of the R sub-pixel, the G sub-pixel, and the B sub-pixel. The maximum brightness value and whether the maximum brightness value of the W sub-pixel is greater than the brightness value of the W sub-pixel.
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)
- Processing Of Color Television Signals (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
一种Gamma校正系统及其校正方法,通过获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值(S1);选取n个灰阶值,对每一个子像素计算n个灰阶值对应的n个第一亮度值,再以n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成n个拟合点(S2);对n个拟合点进行拟合获得每一个子像素的拟合曲线(S3);最后将n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差小于阈值的拟合曲线作为所述子像素的拟合曲线并存储至存储器中(S5),根据该拟合曲线便可以获得每一个子像素给定灰阶值所对应的亮度,不需要对灰阶值进行存储,节省了硬件资源,而且整个校正过程只需要对n个拟合点进行拟合,大大缩短了校正时间。
Description
本发明涉及液晶显示技术领域,尤其涉及一种Gamma校正系统及其校正方法。
Gamma校正是对显示屏Gamma曲线进行编辑,而Gamma曲线为灰阶电压与对应亮度的关系曲线,通过对灰阶电压的调节,来对显示屏亮度进行非线性编辑的方法。目前显示屏通用的Gamma值标准为2.2,图片失真情况下的Gamma值是偏离2.2的,所以显示屏的Gamma校正对准确的显示色彩来说必不可少。
传统的Gamma校正方法有手动校正、查找表。手动校正需要对每一个Gamma灰阶寄存器进行灰度值测试、与目标灰度值比对、灰度值调试、固化,校正时间长;查找表需要将灰度值和对应地址存放到存储器里,将输入地址进行查表,输出灰度值,校正正确度高,但是存放数据量大,占用硬件存储资源大。
发明内容
为了解决现有技术的不足,本发明提供一种Gamma校正系统及其校正方法,需要的校正时间比较短,不需要存储灰阶值,节省硬件资源。
本发明提出的具体技术方案为:提供一种Gamma校正系统的校正方法,所述校正方法包括步骤:
获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值;
选取n个灰阶值,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个
第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点;
对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线;
根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差是否小于阈值;
若所述子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于所述阈值,则将所述子像素对应的拟合曲线存储至存储器中。
可选地,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值包括:
根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算W子像素的色坐标和亮度值;
根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值;
根据所述W子像素的三刺激值计算所述R子像素、G子像素、B子像素的目标亮度值;
根据所述R子像素、G子像素、B子像素中每一个子像素的目标亮度值计算出所述子像素的n个灰阶值对应的n个第一亮度值。
可选地,在根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值步骤之前,所述方法还包括:
获取所述R子像素、G子像素、B子像素的最大亮度值;
根据所述R子像素、G子像素、B子像素的最大亮度值计算所述W子像素的最大亮度值;
判断所述最大亮度值是否大于所述W子像素的亮度值,若所述最大亮度值大于所述W子像素的亮度值,则根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值。
可选地,拟合所采用的方法为最小二乘法。
可选地,拟合所采用的函数为Φ(x)=axb,其中,a>0,b>0,Φ(x)表示灰阶值x对应的第二亮度值。
可选地,n不小于4。
可选地,n等于4,4个灰阶值的取值范围分别为0~64、65~128、129~192、193~255。
可选地,所述子像素的n个第二亮度值与对应的n个第一亮度值的总偏差的计算公式为:
其中,xi表示第i个灰阶值,Φ(xi)表示第i个灰阶值xi对应的第二亮度值,Y(xi)表示第i个灰阶值xi对应的第一亮度值。
可选地,所述阈值为5~10。
本发明还提供了一种Gamma校正系统,所述Gamma校正系统包括:
获取单元,用于获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值;
拟合点生成单元,用于选取n个灰阶值,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点;
拟合曲线生成单元,用于对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线;
判断单元,用于根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差是否小于阈值;
存储器,用于在所述子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于所述阈值时存储所述子像素对应的拟合曲线。
本发明提出的Gamma校正系统的校正方法,通过选取n个灰阶值,对每一个子像素计算n个灰阶值对应的n个第一亮度值,再以n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成n个拟合点,对n个拟合点进行拟合获得每一个子像素的拟合曲线;最后将n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差小于阈值的拟合曲线作为所述子像素的拟合曲线并存储至存储器中,根据该拟合曲线便可以获得每一个子像素给定灰阶值所对应的亮度,不需要对灰阶值进行存储,节省了硬件资源,而且整个校正过程只需要对n个拟合点进行拟合,大大缩短了校正时间。
图1为Gamma校正系统的校正方法的流程图;
图2为Gamma校正系统的结构图。
以下,将参照附图来详细描述本发明的实施例。然而,可以以许多不同的形式来实施本发明,并且本发明不应该被解释为限制于这里阐述的具体实施例。相反,提供这些实施例是为了解释本发明的原理及其实际应用,从而使本领域的其他技术人员能够理解本发明的各种实施例和适合于特定预期应用的各种修改。在附图中,相同的标号将始终被用于表示相同的元件。
参照图1,本实施例提供的Gamma校正系统的校正方法包括步骤:
S1、获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值,其中,一个像素单元包括三个子像素,这三个子像素分别为R子像素、G子像素、B子像素;
S2、选取n个灰阶值,根据R子像素、G子像素、B子像素的色坐标和亮度值计算R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点;
S3、对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线;
S4、根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与该子像素对应的n个第一亮度值的总偏差是否小于阈值;
S5、若该子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于该阈值,则将该子像素对应的拟合曲线存储至存储器中。
以Gamma校正系统的校正方法应用于AMOLED中为例,下面具体的对本实施例中的校正方法进行描述。
在步骤S1中,输入测试的Gamma电压,获取R子像素、G子像素、B子像素的色坐标和亮度值,其中,R子像素的色坐标和亮度表示为(xr,yr,Yr),xr,yr表示R子像素的色坐标,Yr表示R子像素的亮度;G子像素的色坐标和亮度表示为(xg,yg,Yg),xg,yg表示G子像素的色坐标,Yg表示G子像素的亮度;B子像素的色坐标和亮度表示为(xb,yb,Yb),xb,yb表示B子像素的色坐标,Yb表示B子像素的亮度;W子像素的色坐标和亮度表示为(xw,yw,Yw),xw,yw表示W子像素的色坐标,Yw表示W子像素的亮度。
在步骤S2中,选取n个灰阶值xi,i=1~n,根据R子像素、G子像素、B子像素的色坐标和亮度值计算R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值Y(xi),即先根据R子像素、G子像素、B子像素的色坐标和亮度值计算R子像素的n个灰阶值对应的n个第一亮度值YR(xi),YR(xi)表示与R子像素对应的第一亮度值,再根据R子像素、G子像素、B子像素的色坐标和亮度值计算G子像素的n个灰阶值对应的n个第一亮度值YG(xi),YG(xi)表示与R子像素对应的第一亮度值,最后根据R子像素、G子像素、B子像素的色坐标和亮度值计算B子像素的n个灰阶值对应的n个第一亮度值YB(xi),YB(xi)表示与R子像素对应的第一亮度值。
分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点,即R子像素对应的n个拟合点为(x1,YR(x1))、(x2,YR(x2))、……、(xn,YR(xn)),G子像素对应的n个拟合点为(x1,YG(x1))、(x2,YG(x2))、……、(xn,YG(xn)),B
子像素对应的n个拟合点为(x1,YB(x1))、(x2,YB(x2))、……、(xn,YB(xn))。
拟合点的数量越多,拟合得到的曲线精确度就越高,拟合点越多需要的计算量就越大,因此,在拟合过程中可以根据实际需要来确定n值的大小,本实施例中n不小于3。确定拟合点的数量后,将整个灰阶值范围0~255均分为几个长度相等的灰度区间,然后在每个区间中选取一个拟合点,例如,n=3,则灰度区间为0~85,86~171,172~255;n=4,灰度区间为0~64、65~128、129~192、193~255,4个灰阶值可以为64、128、192、255,n为其他值时,以此类推。较佳地,n=4,下面将以n=4为例来对本实施例的校正方法进行描述。
具体地,步骤S2包括:
S21、根据R子像素、G子像素、B子像素的色坐标和亮度值计算W子像素的色坐标和亮度值(xw,yw,Yw),其中,W子像素是由R子像素、G子像素、B子像素合成,计算公式如下:
S22、根据W子像素的色坐标和亮度值(xw,yw,Yw)计算W子像素的三刺激值(XW,YW,ZW),计算公式如下:
S23、根据W子像素的三刺激值(XW,YW,ZW)计算R子像素、G子像素、B子像素的目标亮度值YR,YG,YB,计算公式如下:
S24、根据R子像素、G子像素、B子像素中每一个子像素的目标亮度值计算出子像素的n个灰阶值对应的n个第一亮度值Y(xi),计算公式如下:
YR(xi)=YR╳(xi/255)^gamma
YG(xi)=YG╳(xi/255)^gamma
YB(xi)=YB╳(xi/255)^gamma
其中,gamma=2.2,i=1~4,则R子像素对应的4个拟合点为(x1,YR(x1))、(x2,YR(x2))、(x3,YR(x3))、(x4,YR(x4));G子像素对应的4个拟合点为(x1,YG(x1))、(x2,YG(x2))、(x3,YG(x3))、(x4,YG(x4));B子像素对应的4个拟合点为(x1,YB(x1))、(x2,YB(x2))、(x3,YB(x3))、(x4,YB(x4))。
本实施例在步骤S22之前,所述方法还包括:
S211、获取R子像素、G子像素、B子像素的最大亮度值;
S212、根据R子像素、G子像素、B子像素的最大亮度值确定W子像素的最大亮度值,其中,R子像素、G子像素、B子像素的最大亮度值根据驱动IC的寄存器进行设定,W子像素的亮度是由R子像素、G子像素、B子像素的亮度合成,因此,W子像素的最大亮度值等于R子像素、G子像素、B子像素的最大亮度值中的最大值;
S213、判断W子像素的最大亮度值是否大于W子像素的亮度值,若W子像素的最大亮度值大于W子像素的亮度值,则进入步骤S22。
通过步骤S211~S213可以保证获得的数据的可靠性,从而保证整个拟合过程的可靠性,提升整个校正系统的稳定性。
在步骤S3中、对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线,本实施例中拟合所采用的方法为最小二乘法,拟合所采用的函数为Φ(x)=axb,a>0,b>0,Φ(x)表示灰阶值x对应的第二亮度值。当然,本实施例中的拟合函数也可以选择其他函数形式的拟合函数,例如,多项式函数,这里不做限定。
对R子像素对应的4个拟合点为(x1,YR(x1))、(x2,YR(x2))、(x3,YR(x3))、(x4,YR(x4))进行拟合所采用的最小二乘法方程组为:
对G子像素对应的4个拟合点为(x1,YG(x1))、(x2,YG(x2))、(x3,YG(x3))、(x4,YG(x4))进行拟合所采用的最小二乘法方程组为:
同理,对B子像素对应的4个拟合点为(x1,YB(x1))、(x2,YB(x2))、(x3,YB(x3))、(x4,YB(x4))进行拟合所采用的最小二乘法方程组为:
在步骤S4中,根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与该子像素对应的n个第一亮度值的总偏差是否小于阈值ε0。本实施例中,每一个子像素的n个第二亮度值与对应的n个第一亮度值的总偏差ε的计算公式为:
其中,xi表示第i个灰阶值,Φ(xi)表示第i个灰阶值xi对应的第二亮度值,Y(xi)表示第i个灰阶值xi对应的第一亮度值。
R子像素4个灰阶值对应的4个第二亮度值为(x1,ΦR(x1))、(x2,ΦR(x2))、(x3,ΦR(x3))、(x4,ΦR(x4)),则R子像素对应的总偏差为:
G子像素4个灰阶值对应的4个第二亮度值为(x1,ΦG(x1))、(x2,ΦG(x2))、(x3,ΦG(x3))、(x4,ΦG(x4)),则R子像素对应的总偏差为:
B子像素4个灰阶值对应的4个第二亮度值为(x1,ΦB(x1))、(x2,ΦB(x2))、(x3,ΦB(x3))、(x4,ΦB(x4)),则R子像素对应的总偏差为:
在步骤S5中,若该子像素的n个第二亮度值与对应的n个第一亮度值的总偏差ε小于该阈值ε0,即ε<ε0,则将该子像素对应的拟合曲线Φ(x)=axb存储至存储器中,本实施例中5≤ε0≤10,在实际校正过程中,可以根据需要调整ε0的范围。
本实施例根据拟合曲线便可以获得每一个子像素给定灰阶值所对应的亮度,不需要对灰阶值进行存储,节省了硬件资源,而且整个校正过程只需要对n个拟合点进行拟合,大大缩短了校正时间。此外,本实施例在生成拟合曲线时还考虑了W子像素的影响,因此,本实施例的校正方法在对Gamma校正的同时对白平衡也进行校正,同样的,大大节省了白平衡的校正时间。
本实施例还提供了一种Gamma校正系统,所述Gamma校正系统包括获取单元1、拟合点生成单元2、拟合曲线生成单元3、判断单元4、存储器5。获取单元1用于获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值。
拟合点生成单元2用于选取n个灰阶值,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点。
拟合曲线生成单元3用于对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线。判断单元4用于根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与该子像素对应的n个第一亮度值的总偏差是否小于阈值。存储器5用于在该子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于阈值时存储该子像素对应的拟合曲线。
拟合点生成单元2还被分别用于根据R子像素、G子像素、B子像素的色坐标和亮度值计算W子像素的色坐标和亮度值(xw,yw,Yw)、根据W子像素的色坐标和亮度值(xw,yw,Yw)计算W子像素的三刺激值(XW,YW,ZW)、根据W子像素的三刺激值(XW,YW,ZW)计算R子像素、G子像素、B子像素的目标亮度值YR,YG,YB以及根据R子像素、G子像素、B子像素中每一个子像素的目标亮度值计算出子像素的n个灰阶值对应的n个第一亮度值Y(xi)。
此外,拟合点生成单元2还被用于获取R子像素、G子像素、B子像素的最大亮度值、根据R子像素、G子像素、B子像素的最大亮度值确定W子像素的最大亮度值以及判断W子像素的最大亮度值是否大于W子像素的亮度值。
以上所述仅是本申请的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
Claims (10)
- 一种Gamma校正系统的校正方法,其中,包括步骤:获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值;选取n个灰阶值,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点;对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线;根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差是否小于阈值;若所述子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于所述阈值,则将所述子像素对应的拟合曲线存储至存储器中。
- 根据权利要求1所述的校正方法,其中,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素的n个灰阶值对应的n个第一亮度值包括:根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算W子像素的色坐标和亮度值;根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值;根据所述W子像素的三刺激值计算所述R子像素、G子像素、B子像素的目标亮度值;根据所述R子像素、G子像素、B子像素中每一个子像素的目标亮度值计算出所述子像素的n个灰阶值对应的n个第一亮度值。
- 根据权利要求2所述的校正方法,其中,在根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值步骤之前,所述方法还包括:获取所述R子像素、G子像素、B子像素的最大亮度值;根据所述R子像素、G子像素、B子像素的最大亮度值计算所述W子像素的最大亮度值;判断所述最大亮度值是否大于所述W子像素的亮度值,若所述最大亮度值大于所述W子像素的亮度值,则根据所述W子像素的色坐标和亮度值计算所述W子像素的三刺激值。
- 根据权利要求1所述的校正方法,其中,拟合所采用的方法为最小二乘法。
- 根据权利要求4所述的校正方法,其中,拟合所采用的函数为Φ(x)=axb,其中,a>0,b>0,Φ(x)表示灰阶值x对应的第二亮度值。
- 根据权利要求5所述的Gamma校正方法,其中,n不小于3。
- 根据权利要求6所述的Gamma校正方法,其中,n等于4,4个灰阶值的取值范围分别为0~64、65~128、129~192、193~255。
- 根据权利要求1所述的校正方法,其中,所述阈值为5~10。
- 一种Gamma校正系统,其中,包括:获取单元,用于获取一个像素单元中R子像素、G子像素、B子像素的色坐标和亮度值;拟合点生成单元,用于选取n个灰阶值,根据所述R子像素、G子像素、B子像素的色坐标和亮度值计算所述R子像素、G子像素、B子像素中每一个子像素 的n个灰阶值对应的n个第一亮度值,分别以每一个子像素的n个灰阶值为横坐标、对应的n个第一亮度值为纵坐标形成每一个子像素的n个拟合点;拟合曲线生成单元,用于对每一个子像素的n个拟合点进行拟合获得每一个子像素的拟合曲线;判断单元,用于根据每一个子像素的拟合曲线分别计算n个灰阶值对应的n个第二亮度值,判断n个第二亮度值与所述子像素对应的n个第一亮度值的总偏差是否小于阈值;存储器,用于在所述子像素的n个第二亮度值与对应的n个第一亮度值的总偏差小于所述阈值时存储所述子像素对应的拟合曲线。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711091852.6A CN107799081B (zh) | 2017-11-08 | 2017-11-08 | Gamma校正系统及其校正方法 |
| CN201711091852.6 | 2017-11-08 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019090794A1 true WO2019090794A1 (zh) | 2019-05-16 |
Family
ID=61549294
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/110905 Ceased WO2019090794A1 (zh) | 2017-11-08 | 2017-11-14 | Gamma校正系统及其校正方法 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107799081B (zh) |
| WO (1) | WO2019090794A1 (zh) |
Families Citing this family (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109036333B (zh) * | 2018-09-17 | 2020-06-02 | 广州视源电子科技股份有限公司 | 显示器的显示参数校正方法、装置、终端设备及存储介质 |
| CN109215614A (zh) * | 2018-09-25 | 2019-01-15 | 深圳暴风统帅科技有限公司 | 一种画面质量调节方法、调节装置及终端设备 |
| CN109448644B (zh) * | 2018-10-11 | 2021-07-16 | 广州视源电子科技股份有限公司 | 一种用于校正显示设备的灰阶显示曲线的方法、电子设备及计算机可读存储介质 |
| CN111326099B (zh) * | 2018-12-14 | 2021-10-01 | 西安诺瓦星云科技股份有限公司 | 显示校正方法、装置及系统、存储介质以及显示系统 |
| CN110428777B (zh) | 2019-08-14 | 2021-01-22 | 京东方科技集团股份有限公司 | 一种显示模组的显示校正方法和装置 |
| CN110660352B (zh) * | 2019-11-05 | 2021-03-02 | 深圳市奥拓电子股份有限公司 | 一种led显示屏逐点校正方法、装置、系统及存储介质 |
| CN110796979B (zh) * | 2019-11-14 | 2020-07-31 | 华兴源创(成都)科技有限公司 | 一种显示面板的驱动方法和驱动装置 |
| CN110767164A (zh) * | 2019-11-18 | 2020-02-07 | 安徽熙泰智能科技有限公司 | 一种三次样条曲线拟合的Gamma校正方法 |
| CN111968590B (zh) * | 2020-08-12 | 2021-10-08 | Tcl华星光电技术有限公司 | 一种画面显示调节方法、装置、存储介质及显示设备 |
| US11114051B1 (en) | 2020-08-12 | 2021-09-07 | Tcl China Star Optoelectronics Technology Co., Ltd. | Method, storage medium and display device for adjusting a displayed image |
| CN112201192B (zh) * | 2020-10-15 | 2023-08-04 | 深圳市汇顶科技股份有限公司 | 一种显示器的伽马值的确定方法、装置、设备及其介质 |
| CN112735342B (zh) * | 2020-12-30 | 2022-05-03 | 深圳Tcl新技术有限公司 | 背光光型的处理方法、装置及计算机可读存储介质 |
| CN115880182B (zh) * | 2022-12-26 | 2026-04-03 | 深圳市巨烽显示科技有限公司 | 图像校正方法、装置、计算机设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101105916A (zh) * | 2007-08-10 | 2008-01-16 | 东莞黄江达裕科技电子厂 | 一种gamma曲线的调整方法及装置 |
| US20100225663A1 (en) * | 2009-03-06 | 2010-09-09 | Yu-Chung Lee | Method for creating gamma look-up table and display device |
| CN105096827A (zh) * | 2015-08-14 | 2015-11-25 | 京东方科技集团股份有限公司 | 伽马曲线调节方法及装置 |
| CN107221272A (zh) * | 2017-07-04 | 2017-09-29 | 华显光电技术(惠州)有限公司 | 显示屏参数设置方法 |
| CN107248389A (zh) * | 2017-07-24 | 2017-10-13 | 上海天马有机发光显示技术有限公司 | 显示面板的色域补偿方法和装置 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7375854B2 (en) * | 2004-03-12 | 2008-05-20 | Vastview Technology, Inc. | Method for color correction |
| CN103854629B (zh) * | 2012-12-04 | 2016-09-14 | 深圳市巨烽显示科技有限公司 | 一种显示终端的亮度校正方法 |
| CN104008736B (zh) * | 2013-02-26 | 2017-07-07 | 合肥京东方光电科技有限公司 | 自动调节液晶显示器伽马曲线的装置、光学调试装置 |
| CN105529002B (zh) * | 2014-09-30 | 2019-05-21 | 青岛海信电器股份有限公司 | 一种确定亮度补偿系数的方法及装置 |
| CN105427788B (zh) * | 2015-12-31 | 2018-03-27 | 武汉天马微电子有限公司 | 自动校调显示装置亮度和色度的方法及系统 |
-
2017
- 2017-11-08 CN CN201711091852.6A patent/CN107799081B/zh active Active
- 2017-11-14 WO PCT/CN2017/110905 patent/WO2019090794A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101105916A (zh) * | 2007-08-10 | 2008-01-16 | 东莞黄江达裕科技电子厂 | 一种gamma曲线的调整方法及装置 |
| US20100225663A1 (en) * | 2009-03-06 | 2010-09-09 | Yu-Chung Lee | Method for creating gamma look-up table and display device |
| CN105096827A (zh) * | 2015-08-14 | 2015-11-25 | 京东方科技集团股份有限公司 | 伽马曲线调节方法及装置 |
| CN107221272A (zh) * | 2017-07-04 | 2017-09-29 | 华显光电技术(惠州)有限公司 | 显示屏参数设置方法 |
| CN107248389A (zh) * | 2017-07-24 | 2017-10-13 | 上海天马有机发光显示技术有限公司 | 显示面板的色域补偿方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107799081A (zh) | 2018-03-13 |
| CN107799081B (zh) | 2019-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019090794A1 (zh) | Gamma校正系统及其校正方法 | |
| CN108182914B (zh) | Gamma校正系统及Gamma校正方法 | |
| CN108039143B (zh) | 一种伽马电路调整的方法及装置 | |
| CN112562576B (zh) | 显示屏光学外部补偿方法、装置及存储介质 | |
| CN107610649B (zh) | 一种显示面板的光学补偿方法及装置 | |
| CN107665684B (zh) | 一种色彩Mura补偿方法 | |
| CN110310601B (zh) | 提高显示亮度均一性的方法、装置、计算机和介质 | |
| CN106782303B (zh) | 一种显示面板的显示校正方法、装置及系统 | |
| CN104992657B (zh) | mura补偿模块和方法、显示装置和方法 | |
| US9741282B2 (en) | OLED display system and method | |
| WO2019100418A1 (zh) | 亮度补偿的装置及方法、存储器 | |
| CN109036277B (zh) | 补偿方法及补偿装置、显示装置、显示方法及存储介质 | |
| CN108962179B (zh) | 显示面板的亮度调整方法及组件、显示装置 | |
| CN109949744B (zh) | 伽马电压校正方法及装置 | |
| US8334884B2 (en) | Method of calculating correction value and display device | |
| KR20120092982A (ko) | 보상 테이블 생성 시스템, 휘도 보상 테이블을 갖는 표시 장치 및 보상 테이블 생성방법 | |
| WO2020140787A1 (zh) | 像素补偿方法及装置、存储介质、显示屏 | |
| WO2017140003A1 (zh) | 校准oled显示面板亮度不均的方法 | |
| TW202303579A (zh) | 補償查找表的配置方法、顯示面板的補償方法、補償查找表的配置裝置 | |
| CN112992059B (zh) | 一种OLED显示屏Gamma调节的方法及相关装置 | |
| JP2020518849A (ja) | 表示パネルのムラ現象補償方法および表示パネル | |
| KR20130142748A (ko) | 영상 처리 장치 및 방법 | |
| US20150091949A1 (en) | Display device and method for correcting gamma deviation | |
| CN106297728B (zh) | 图像处理设备和图像处理方法 | |
| KR20150080204A (ko) | 표시장치 및 그 구동 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17931698 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17931698 Country of ref document: EP Kind code of ref document: A1 |











