Method and device for automatically evaluating Demura effects
Technical Field
The invention discloses a method and a device for automatically evaluating Demura effects, and belongs to the field of image processing.
Background
AMOLED (Active Matrix Organic LIGHT EMITTING Diode) has been widely used in high performance displays, which has the advantages of high color gamut, high contrast, wide viewing angle, and fast response. In the display panel manufacturing process, TFTs at different positions have non-uniformity in electrical parameters such as threshold voltage, mobility, etc. due to process fluctuation and limitation of the impedance of a driving circuit, and the non-uniformity is converted into brightness difference, i.e., mura phenomenon. Besides designing different compensation circuits to reduce Mura, manufacturers generally adopt Demura to compensate brightness difference so as to make brightness of the whole display panel uniform. For the brightness uniformity degree of the display panel after Demura, different manufacturers have different evaluation standards and judgment grades. At present, manufacturers generally adopt quality staff to directly observe with naked eyes or observe by using filters with different light transmittance, and then judge Demura effect grades. The method of using Demura effects observed by personnel and giving the grade determination results is easily affected by the environment, and the grade results given by different personnel may be different, and the grade determination results are relatively subjective.
In the aspect of human eye visual characteristics and modulation transfer functions thereof, a great deal of research is carried out at home and abroad, wherein a Barten model with band-pass characteristics is very in line with the human eye visual transfer characteristics. The Barten model has simple parameters, convenient calculation and easy use, and can provide scientific basis for the brightness difference perceived by human eyes under different brightness.
Disclosure of Invention
The invention discloses a method for automatically evaluating Demura effects, which comprises the following steps:
firstly, photographing a display panel subjected to Demura processing under a certain gray level by using an industrial camera to obtain a real brightness dataset of the display panel, and carrying out mean value filtering on the real brightness dataset to obtain a denoised brightness dataset Lv_set;
Step two, calculating an average brightness value Lv_mean of the Lv_set, and calculating a brightness difference coefficient S of the Barten threshold curve according to the Lv_mean;
Setting a user acceptable coefficient R, and then identifying points (the points are called uneven brightness points) with absolute values of differences from Lv_mean larger than Lv_mean 'S' R in Lv_set, traversing the Lv_set according to the sequence from left to right and from top to bottom by utilizing a sliding window with fixed size, and respectively calculating the number of uneven brightness points in the sliding window and the density of uneven brightness point sets in the window;
Step four, setting judgment standards (comprising the quantity of uneven brightness points and the concentration of point sets) of different grades, and judging the grade of Demura effect of the display screen under the gray scale according to the standards;
and fifthly, sequentially judging the grade of Demura effects of the display screen under other gray scales according to the method, and finally comprehensively considering the grade results of Demura under different gray scales to output the final Demura overall effect grade.
Further, in the second step, the formula is used
And calculating an average brightness value Lv_mean of the Lv_set, wherein a point at the upper left of the display screen is taken as a coordinate origin O, the longitudinal direction is taken as an X direction, the transverse direction is taken as a Y direction, a certain point coordinate of the display screen is taken as (X, Y), X is the X-th row of the display screen, Y is the Y-th column, height is the height of the display screen, and width is the width of the display screen.
Further, in the second step, according to the formula
A luminance difference coefficient S is calculated, wherein,
k=3,T=0.1s,η=0.03,p=1.285×106,X0=13/u
Nmax=15cycles,u0=7cycles/deg,
F, where the maximum occurs, is calculated as a function of L and is plottedObtaining a minimum luminance difference function
Taking the Lv_mean obtained by calculation as L of a formula, and calculating to obtain a corresponding brightness difference coefficient S:
Further, the third step includes marking the uneven brightness points, denoted as flag (x, y),
Further, the third step includes calculating the number of uneven brightness points, setting the height h and the width w of the sliding window, and traversing lv_set sequentially from left to right and from top to bottom, wherein step of sliding the sliding window to the right is stepy, and step of sliding downwards is stepx. When the sliding window slides, the number of the uneven brightness points in the current window and the concentration of the uneven brightness point set in the window are calculated. If the sliding is performed m times in the x direction, the sliding distance is Δx, the sliding distance is Δy, and the number of uneven brightness points in the window is denoted as num (m, n):
Δx=m*stepx
Δy=n*stepy
the centroid position of the luminance unevenness point within the window is (x_center, y_center):
further, the third step comprises the concentration calculation of the point set distribution according to the formula
Smaller representative point sets are more densely distributed, whereas the representative point sets are sparser.
Further, the fourth step includes performing the gray level Demura level determination on the number num and the number num of the non-uniform brightness points in the sliding windowAnd setting different grade judgment standards so as to realize grade judgment on Demura effects. If the number num of the class A settings is equal toThe criteria of (c) are num _ a respectively,The criteria for class B are num B respectively,The criteria for class C are num C respectively,The criteria for level D are num _ D respectively,The number num threshold criteria setting is to follow num_a < num_b < num_c < num_d, whereasThe threshold criteria are set to be followedRecording Grade determination result as Grade (m, n)
The Grade judgment of Demura effects of the whole display screen can be finished by continuously sliding the sliding window, and the judgment result grade_panel is recorded:
Grade_panel=Max(Grade)°
further, the fifth step includes making an overall Demura level decision:
According to the method, the grade judgment is sequentially carried out on Demura effects of all gray scales gray1, gray2, grayn, and the comprehensive grade judgment result of Demura is recorded as a level_panel:
The invention also discloses a device for automatically evaluating Demura effects, which comprises a brightness data processing unit, a brightness non-uniform point identification unit and a grade judgment unit.
The brightness data calculation unit is used for carrying out mean value filtering on the input real brightness data to obtain denoised brightness data and calculating an average brightness value of the denoised brightness data and a brightness difference coefficient corresponding to the average brightness value;
the uneven brightness point identification unit is used for respectively identifying uneven brightness points of the display screen in the gray scale by utilizing the average brightness value, the brightness difference coefficient and the user acceptable coefficient;
The grade judging unit calculates the number of the uneven brightness points in the window and the density of the uneven brightness point set through the sliding window, judges the grade of Demura effect according to the set judging standard, and finally outputs Demura comprehensive grade results by comprehensively considering Demura grade judging results when different gray scales.
Drawings
FIG. 1 is a flow chart of the automatic evaluation Demura of the present invention;
FIG. 2 is a schematic diagram of a coordinate system of the present invention;
FIG. 3 is a schematic diagram of an apparatus for automatic evaluation Demura of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to FIGS. 1-3, a method and apparatus for automatically evaluating Demura effects. The method comprises the following steps:
firstly, photographing a display panel subjected to Demura processing under a certain gray level by using an industrial camera to obtain a real brightness dataset of the display panel, and carrying out mean value filtering on the real brightness dataset to obtain a denoised brightness dataset Lv_set;
Step two, calculating an average brightness value Lv_mean of the Lv_set, and calculating a brightness difference coefficient S according to the Lv_mean;
Setting a user acceptable coefficient R, and then identifying points (the points are called uneven brightness points) with absolute values of differences from Lv_mean larger than Lv_mean 'S' R in Lv_set, traversing the Lv_set according to the sequence from left to right and from top to bottom by utilizing a sliding window with fixed size, and respectively calculating the number of uneven brightness points in the sliding window and the density of uneven brightness point sets in the window;
Step four, setting judgment standards (comprising the quantity of uneven brightness points and the concentration of point sets) of different grades, and judging the grade of Demura effect of the display screen under the gray scale according to the standards;
and fifthly, sequentially judging the grade of Demura effects of the display screen under other gray scales according to the method, and finally comprehensively considering the grade results of Demura under different gray scales to output the final Demura overall effect grade.
In the second step, the formula is used
And calculating an average brightness value Lv_mean of the Lv_set, wherein a point at the upper left of the display screen is taken as a coordinate origin O, the longitudinal direction is taken as an X direction, the transverse direction is taken as a Y direction, a certain point coordinate of the display screen is taken as (X, Y), X is the X-th row of the display screen, Y is the Y-th column, height is the height of the display screen, and width is the width of the display screen.
Further, in the second step, a contrast sensitivity function formula according to the Barten model is provided
A luminance difference coefficient S is calculated, wherein,
k=3,T=0.1s,η=0.03,p=1.285×106,X0=13/u
Xmax=12,
Nmax=15cycles,u0=7cycles/deg,
F, where the maximum occurs, is calculated as a function of L and is plottedObtaining a minimum luminance difference function
Taking the Lv_mean obtained by calculation as L of a formula, and calculating to obtain a corresponding brightness difference coefficient S:
Further, the third step includes marking the uneven brightness points, denoted as flag (x, y),
Step three, calculating the number of uneven brightness points, setting the height h and the width w of a sliding window, and traversing Lv_gray_set sequentially from left to right and from top to bottom, wherein the step of sliding the sliding window to the right is stepy, and the step of sliding downwards is stepx. When the sliding window slides, the number of the uneven brightness points in the current window and the concentration of the uneven brightness point set in the window are calculated. If the sliding is performed m times in the x direction, the sliding distance is Δx, the sliding distance is Δy, and the number of uneven brightness points in the window is denoted as num (m, n):
Δx=m*stepx
Δy=n*stepy
the centroid position of the luminance unevenness point within the window is (x_center, y_center):
further, the third step comprises the concentration calculation of the point set distribution according to the formula
Smaller representative point sets are more densely distributed, whereas the representative point sets are sparser.
And step four, carrying out gray level Demura grade judgment, namely setting judgment standards of different grades for the number num and SSE of the uneven brightness points in the sliding window, so as to realize grade judgment on Demura effect. If the number num of the class A settings is equal toThe criteria of (c) are num _ threshold _ a,The criteria for class B are num _ threshold _ B,The criteria for class C are num _ threshold _ C respectively,The general number num threshold criteria setting is to follow num_threshold_a < num_threshold_b < num_threshold_c < num_threshold_dThe threshold criteria are set to be followedRecording Grade judging result as grade_grade (m, n)
The Grade judgment of Demura effects of the whole display screen can be completed by continuously sliding the sliding window, and the judgment result grade_grade_panel is recorded:
Grade_gray_panel=Max(Grade_gray)°
further, the fifth step includes making an overall Demura level decision:
According to the method, the Demura effects of other gray scales (such as grayl, gray2,..and grayn) are sequentially subjected to grade determination, and the comprehensive grade determination result of the Demura is recorded as a level_panel:
The device for realizing the effect of the scientific evaluation Demura comprises a brightness data processing unit, a brightness non-uniform point identification unit and a grade judgment unit.
The brightness data calculation unit is used for carrying out mean value filtering on the input real brightness data to obtain denoised brightness data and calculating an average brightness value of the denoised brightness data and a brightness difference coefficient corresponding to the average brightness value;
the uneven brightness point identification unit is used for respectively identifying uneven brightness points of the display screen in the gray scale by utilizing the average brightness value, the brightness difference coefficient and the user acceptable coefficient;
The grade judging unit calculates the number of the uneven brightness points in the window and the density of the uneven brightness point set through the sliding window, judges the grade of Demura effect according to the set judging standard, and finally outputs Demura comprehensive grade results by comprehensively considering Demura grade judging results when different gray scales.
By implementing the method and the device for automatically evaluating Demura effects, the brightness information of each pixel of the display screen subjected to Demura treatment under different gray scales can be accurately obtained, and the positions of the brightness non-uniform points and the distribution density of the brightness non-uniform points can be accurately found according to the brightness information, so that the effects of automatic objective evaluation Demura are realized, the grading of Demura effects is provided with data basis, and the grading is more standard.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.