CN110444157B - Gray scale compensation relation, method for acquiring compensation value and display device - Google Patents

Gray scale compensation relation, method for acquiring compensation value and display device Download PDF

Info

Publication number
CN110444157B
CN110444157B CN201910755148.9A CN201910755148A CN110444157B CN 110444157 B CN110444157 B CN 110444157B CN 201910755148 A CN201910755148 A CN 201910755148A CN 110444157 B CN110444157 B CN 110444157B
Authority
CN
China
Prior art keywords
compensation
picture
gray scale
value
partition
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
Application number
CN201910755148.9A
Other languages
Chinese (zh)
Other versions
CN110444157A (en
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Chengdu BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Chengdu BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Chengdu BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201910755148.9A priority Critical patent/CN110444157B/en
Publication of CN110444157A publication Critical patent/CN110444157A/en
Application granted granted Critical
Publication of CN110444157B publication Critical patent/CN110444157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention provides a gray scale compensation relation, a compensation value obtaining method and a display device, relates to the technical field of display, and can compensate white point defects. A method for obtaining a gray scale compensation relationship comprises the following steps: acquiring at least three first sampling pictures; acquiring a plurality of compensation areas in the first sampling picture; the compensation areas in all the first sampling pictures correspond to one another; acquiring a plurality of compensation values corresponding to each compensation area; the compensation values and the relative distances form a one-to-one corresponding relation; and fitting to obtain a gray scale compensation relation corresponding to each pixel belonging to the relative distance group according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures.

Description

Gray scale compensation relation, method for acquiring compensation value and display device
Technical Field
The invention relates to the technical field of display, in particular to a gray scale compensation relation, a compensation value obtaining method and a display device.
Background
With the development of Organic Light Emitting Diode (OLED) display panels towards High resolution, when the resolution reaches uhd (ultra High definition) level or even higher, higher requirements are put forward on the process fineness and stability in order to ensure the display effect of the display panel, and the existing OLED production process cannot meet the requirements, so that a white point defect phenomenon is generated.
The proportion of the white point defect is about 1% -5%, the display effect of the display panel is seriously influenced, and the existing Demura technology compensation is utilized to compensate the white point defect phenomenon on the display panel, so that the effect is poor, and complete compensation cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a gray scale compensation relation, a compensation value obtaining method and a display device, which can compensate white point defects.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in one aspect, a gray scale compensation relationship is providedThe obtaining method comprises the following steps: acquiring at least three first sampling pictures; the first sampling pictures are display pictures of a display panel shot by a camera, wherein the gray scales of the display pictures corresponding to different first sampling pictures are different; the gray scale range is 0-2β-1, β is a positive integer; acquiring a plurality of compensation areas in the first sampling picture; the compensation areas in all the first sampling pictures correspond to one another; the compensation area corresponds to an area with white point defects in the display panel; acquiring a plurality of compensation values corresponding to each compensation area; the compensation values and the relative distances form a one-to-one corresponding relation; the relative distance group comprises a plurality of relative distances, and the relative distances are distances between pixels; and fitting to obtain a gray scale compensation relation corresponding to each pixel belonging to the relative distance group according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures.
Optionally, acquiring a plurality of compensation regions in the first sample picture includes: dividing the first sampled picture into a plurality of first partitions; each first partition comprises f × f pixels, wherein f is a positive integer; traversing the first sampling picture, judging whether the gray scale values of all pixels are the same as the gray scale of the display picture or not for each first partition, and if so, not compensating; if not, taking the first partition as a first compensation partition, and acquiring the maximum gray-scale value of the pixels in the first compensation partition; acquiring coordinates of a pixel corresponding to the maximum gray-scale value in each first compensation partition by using a Laplace operator, wherein the coordinates are used as coordinates of a white point; centering on each white point, connecting the white point with (2k +1) around the white point2A square area formed by 1 pixel is used as a compensation area corresponding to the white point; k is a positive integer of 1 or more.
Optionally, acquiring a plurality of compensation values corresponding to each compensation area includes: aiming at each first compensation subarea, acquiring a highest-frequency gray level value, and calculating the difference between the highest-frequency gray level value and the highest-frequency gray level value; the highest frequencyThe gray scale value is the gray scale value with the most occurrence times; for the corresponding gray level L1The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000021
m is a variable coefficient, i is a positive integer; duG is the difference between the maximum gray scale value and the highest frequency gray scale value in the first compensation subarea where the white point is located; when i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000022
For the corresponding gray level L2The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000023
n is a variable coefficient; when i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000024
For the corresponding gray level L3The first sampling picture takes each white point as a center, and in the compensation area corresponding to the white point, the compensation values corresponding to all pixels are g; wherein, L is more than or equal to 01<L2<L3≤2β-1。
Optionally, after acquiring at least three first sample pictures and before acquiring the plurality of compensation regions in the first sample picture, the method for acquiring a gray scale compensation relationship further includes: preprocessing the first sampling picture; and the preprocessing comprises at least one of shearing, brightness adjustment and high-pass filtering.
Optionally, after the preprocessing the first sample picture and before the acquiring the plurality of compensation regions in the first sample picture, the method for acquiring a gray scale compensation relationship further includes: acquiring a plurality of initial compensation relations; the initial compensation relation is a one-to-one corresponding relation between the gray-scale value and the initial compensation value; dividing the first sampled picture into a plurality of second partitions; each second partition includes p × p pixels; p is a positive integer; traversing the first sampling picture, judging whether the gray-scale values of all pixels are the same as the gray scale of the display picture or not for each second partition, and if so, not compensating; if not, taking the second partition as a second compensation partition, and acquiring the maximum gray-scale value of the pixels in the second compensation partition; obtaining an initial compensation value according to the maximum gray-scale value and the initial compensation relation corresponding to the second compensation subarea; performing initial compensation on the display panel according to the initial compensation value; at least three first sampling pictures are obtained again; and the gray scale of the display picture corresponding to each first sampling picture is the same as the corresponding gray scale obtained last time.
Optionally, obtaining a plurality of initial compensation relationships comprises: acquiring at least three second sampling pictures; the second sampling pictures are display pictures of the display panel shot by a camera, wherein the gray scales of the display pictures corresponding to different second sampling pictures are different; dividing the second sampled picture into a plurality of the second partitions; traversing the second sampling picture, judging whether the gray-scale values of all pixels are the same as the gray scale of the display picture or not for each second partition, and if so, not compensating; if not, the second partition is taken as a second compensation partition; establishing an initial compensation relation of y-rx2+ (s-1) x + t; r is a first compensation coefficient, s is a second compensation coefficient, and t is a third compensation coefficient; acquiring a gray-scale value of each pixel in the second compensation subarea; establishing an initial compensation relation equation set by utilizing the initial compensation relation according to the gray scale value of each pixel in each second compensation partition of the second sampling picture and the gray scale corresponding to the second sampling picture; according to the initial compensation relation equation set, each pixel in the second compensation subarea is obtained through calculationThe first compensation coefficient, the second compensation coefficient, and the third compensation coefficient; calculating the average value of the first compensation coefficients corresponding to all pixels in each second compensation partition as the first compensation coefficient of the second compensation partition; calculating the average value of the second compensation coefficients corresponding to all pixels in the second compensation subarea to be used as the second compensation coefficient of the second compensation subarea; the average value of the third compensation coefficients corresponding to all the pixels is used as the third compensation coefficient of the second compensation subarea; and obtaining a corresponding initial compensation relation according to the first compensation coefficient, the second compensation coefficient and the third compensation coefficient of each second compensation subarea.
In another aspect, a method for obtaining a compensation value is provided, including: acquiring a picture to be compensated; the picture to be compensated is a display picture of a display panel shot by a camera; the gray scale range of the display picture is 0-2β-1, β is a positive integer; acquiring a plurality of compensation areas in the picture to be compensated; the compensation area corresponds to an area with white point defects in the display panel; and calculating to obtain a compensation value corresponding to each pixel belonging to the same relative distance group in each compensation region according to the gray scale corresponding to the picture to be compensated and the gray scale compensation relationship obtained by the method for obtaining the gray scale compensation relationship.
Optionally, after the picture to be compensated is acquired and before the plurality of compensation regions in the picture to be compensated are acquired, the method for acquiring the compensation value further includes: preprocessing the picture to be compensated; and the preprocessing comprises at least one of shearing, brightness adjustment and high-pass filtering.
In another aspect, a computer device is also provided, which includes a storage unit and a processing unit; the storage unit stores therein a computer program executable on the processing unit; the processing unit implements the method for acquiring the gray-scale compensation relationship or the method for acquiring the compensation value as described above when executing the computer program.
In still another aspect, a computer readable medium is provided, which stores a computer program, wherein the computer program is executed by a processor to implement the method for acquiring a gray scale compensation relationship or the method for acquiring a compensation value as described above.
In still another aspect, there is also provided a display device including: a display panel, and a memory and a processor; the memory stores a computer program executable on the processor and stores results; the processor implements the method of acquiring the gray-scale compensation relationship or the method of acquiring the compensation value as described above when executing the computer program.
The invention provides a method for acquiring a gray scale compensation relation and a compensation value and a display device, wherein a plurality of first sampling pictures are obtained by shooting display pictures of a display panel under different gray scales; then obtaining a plurality of compensation regions in the first sampling picture, further obtaining a plurality of compensation values corresponding to each compensation region, and forming a one-to-one correspondence relationship between the compensation values and the relative distances; and fitting to obtain a gray scale compensation relation corresponding to each pixel in the relative distance group according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures. The gray scale compensation relation obtaining method is high in calculation precision, small in data volume and easy to achieve, and multiple gray scale compensation relations are obtained for each compensation area, so that compensation values can be obtained according to different gray scale compensation relations during subsequent compensation, and the compensation effect on white point defects is better.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for obtaining gray-scale compensation relationship according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another gray scale compensation relationship obtaining method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for obtaining a gray scale compensation relationship according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for obtaining gray scale compensation relationship according to another embodiment of the present invention;
fig. 5 is a schematic diagram of a second sampling picture according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for obtaining gray scale compensation relationship according to another embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for obtaining gray scale compensation relationship according to another embodiment of the present invention;
FIG. 8a is a schematic diagram of a first sampled picture corresponding to gray scale 31 according to an embodiment of the present invention;
FIG. 8b is a schematic diagram of a first compensation partition in a first sampled picture corresponding to a gray level 31 according to an embodiment of the present invention;
FIG. 9a is a schematic diagram of a first sampled picture corresponding to a gray level 128 according to an embodiment of the present invention;
FIG. 9b is a schematic diagram of a first compensation partition in a first sampled picture corresponding to a gray level 128 according to an embodiment of the present invention;
FIG. 10a is a schematic diagram of a first sampled picture corresponding to a gray level 225 according to an embodiment of the present invention;
FIG. 10b is a schematic diagram of a first compensation partition in a first sampled picture corresponding to a gray level 225 according to an embodiment of the present invention;
fig. 11 is a flowchart of a method for obtaining a compensation value according to an embodiment of the present invention;
FIG. 12 is a flowchart of another method for obtaining compensation values according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a display device according to an embodiment of the present invention.
Reference numerals:
1-a first sample picture; 11-a first partition; 12-a first compensation zone; 13-compensation zone; 2-a second sampled picture; 21-a second partition; 22-a second compensation zone; 100-a display device; 200-a display panel; 300-a memory; 400-processor.
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. 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.
For the conventional Mura phenomenon on a display panel, that is, the phenomenon of uneven brightness with large area and small gray scale difference (for example, gray scale difference less than 7) from a normal pixel, the existing Demura technology can shoot a plurality of gray scale pictures by adopting a high-resolution and high-precision CCD (Charge Coupled Device) camera, further analyze the gray scale value of the pixel in the display panel according to the data collected by the camera, identify Mura according to a related algorithm, generate Demura data, that is, Mura compensation data according to the Mura data and a corresponding Demura compensation algorithm, and burn the Demura data into Flash for compensation by using the same when the pictures are displayed.
However, the white point defect is generally small in area and largely different from a normal pixel gray scale with respect to the conventional Mura phenomenon, and when the display panel is set at a different gray scale, the luminance, shape, and area size of the white point defect are changed.
The existing Demura compensation technology is limited by Flash and RAM memories, and has a plurality of requirements such as production line Tack Time (compensation Time), and the compensation value must be compressed, that is, one compensation value is selected to compensate a plurality of pixels on a display panel. Therefore, for the white point defect, since the area of the white point defect is usually small, if the conventional Demura technique is used for compensation, the white point defect and the pixels around the white point defect are compensated by the same compensation value.
For example, the white point defect area is 2 × 2 pixels, while the existing Demura technology usually sets 4 × 4 pixels to compensate for one compensation value, and at this time, 4 pixels of the white point defect and 12 pixels around the white point defect are compensated by the same compensation value.
The white point defect region does not match the compensation region, resulting in ineffective or excessive compensation, thereby affecting the quality of the produced display panel.
Based on the above, an embodiment of the present invention provides a method for obtaining a gray-scale compensation relationship, as shown in fig. 1, including:
and S10, acquiring at least three first sampling pictures.
The first sampling pictures are display pictures of a display panel shot by a camera, wherein the gray scales of the display pictures corresponding to different first sampling pictures are different. The gray scale range is 0-2β-1, β is a positive integer.
It should be noted that the gray scale range depends on the number of bits of data transmission in the display panel. If the number of bits of the data transmission is 6, k is 6, and M is 26-1-63, the gray scale range is 0-63; if the number of bits of the data transmission is 8, k is 8, and M is 28-1-255, the gray scale range is 0-255; if the number of bits of the data transmission is 10, k is 10, and M is 2101023, the gray scale range is 0 ~ 1023.
And S20, acquiring a plurality of compensation areas in the first sampling picture. The compensation areas in all the first sampling pictures correspond to one another; the compensation area corresponds to an area in the display panel where white point defects exist.
It can be understood that, when a display screen corresponds to different gray scales for a white point defect existing on a display panel of the same model, even if the brightness, shape and area of the white point defect are changed, the position center of the white point defect is not changed. Therefore, all compensation regions corresponding to white point defects in the first sampled picture will correspond one to one.
And S30, acquiring a plurality of compensation values corresponding to each compensation area, wherein the compensation values and the relative distances form a one-to-one correspondence relationship. The relative distance group comprises a plurality of relative distances, and the relative distances are distances between pixels.
It can be understood that, in order to form a better visual effect and avoid the situation of ineffective compensation or excessive compensation, the pixels of each compensation region are correspondingly divided into a plurality of relative distance groups according to the distance between the pixels and the center of the compensation region, the pixels belonging to different relative distance groups correspond to different compensation values, and the pixels belonging to the same relative distance group but different relative distances correspond to the same compensation value.
S40, obtaining a gray scale compensation relation corresponding to the pixels belonging to the relative distance group through fitting according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures.
For example, if the gray scale range is 0 to 255, the camera takes pictures when the gray scale of the display frame is 31, 128, 225 respectively, and three first sampling pictures are obtained. Since the pixel with coordinates of (100 ) on the display panel is a white point defect, three first sampling pictures correspond to the same compensation area at the position.
If the first sampling picture corresponding to the gray scale 31 corresponds to the pixel in the compensation region, the relative distance from the center to the pixel belongs to the relative distance group of more than or equal to 1 and less than 2, and the corresponding compensation value is 10; if the first sampling picture corresponding to the gray scale 128 is in the compensation region, the pixel whose relative distance from the center belongs to the relative distance group of more than or equal to 1 and less than 2 has a corresponding compensation value of 12; if the first sampled picture corresponding to the gray level 225 corresponds to the pixel in the compensation region whose relative distance from the center belongs to the relative distance group greater than or equal to 1 and less than 2, the corresponding compensation value is 8.
Therefore, according to the gray scales 31, 128 and 255 and the compensation values 10, 12 and 8 corresponding to the pixels belonging to the relative distance group which is greater than or equal to 1 and less than 2 in the compensation area corresponding to the three first sampling pictures, the gray scale compensation relation between the gray scale range of 0 to 255 of each pixel belonging to the relative distance group which is greater than or equal to 1 and less than 2 in the compensation area is obtained through fitting.
The embodiment of the invention provides a method for acquiring a gray scale compensation relation, which comprises the steps of shooting display pictures of a display panel under different gray scales to obtain a plurality of first sampling pictures; then obtaining a plurality of compensation regions in the first sampling picture, further obtaining a plurality of compensation values corresponding to each compensation region, and forming a one-to-one correspondence relationship between the compensation values and the relative distances; and fitting to obtain a gray scale compensation relation corresponding to each pixel in the relative distance group according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures. The gray scale compensation relation obtaining method is high in calculation precision, small in data volume and easy to achieve, and multiple gray scale compensation relations are obtained for each compensation area, so that compensation values can be obtained according to different gray scale compensation relations during subsequent compensation, and the compensation effect on white point defects is better.
Optionally, after the above S10 and before S20, as shown in fig. 2, the method for obtaining gray scale compensation relationship further includes:
and S11, preprocessing the first sampling picture. The preprocessing includes at least one of clipping, adjusting brightness, and high-pass filtering.
The cutting is to select the part of the display picture on the display panel and remove the shot irrelevant picture; the brightness and the high-pass filtering are adjusted to correct the interference generated by the shooting equipment and the like, and the difference between the white point defect and the normal pixel is restored.
Optionally, after S11 and before S20, as shown in fig. 3, the method for obtaining gray scale compensation relationship further includes:
and S12, acquiring a plurality of initial compensation relations. The initial compensation relationship is a one-to-one correspondence relationship between the gray-scale value and the initial compensation value.
And S13, dividing the first sampling picture into a plurality of second partitions. Each second partition includes p × p pixels; p is a positive integer.
And S14, traversing the first sampling picture, and judging whether the gray-scale values of all the pixels are the same as the gray scale of the display picture or not for each second partition.
And S15, if yes, no compensation is performed.
If the gray scale values of all the pixels in the second partition are the same as the gray scale of the display picture, the Mura phenomenon does not occur.
And S16, if not, taking the second partition as a second compensation partition, and acquiring the maximum gray-scale value of the pixel in the second compensation partition.
And S17, obtaining an initial compensation value according to the maximum gray-scale value and the initial compensation relation corresponding to the second compensation subarea.
And S18, performing initial compensation on the display panel according to the initial compensation value.
It should be noted that, according to the initial compensation value, the initial compensation is performed on the display panel, which mainly compensates for the Mura with a large area and a small gray scale difference from the normal pixel, so that the compensation effect is better.
And S19, acquiring at least three first sampling pictures again. The gray scale of the display picture corresponding to each first sampling picture is the same as the corresponding gray scale obtained last time.
Optionally, in the above S12, obtaining a plurality of initial compensation relationships, as shown in fig. 4, includes:
and S121, acquiring at least three second sampling pictures.
The second sampling pictures are display pictures of the display panel shot by the camera, wherein the gray scales of the display pictures corresponding to different second sampling pictures are different.
And S122, dividing the second sampling picture into a plurality of second partitions.
And S123, traversing the second sampling picture, and judging whether the gray scale values of all the pixels are the same as the gray scale of the display picture or not for each second partition.
And S124, if yes, no compensation is carried out.
And S125, if not, taking the second partition as a second compensation partition.
It should be noted that, when the display frames of the same model display panel are photographed, since the Mura positions are not changed, the second compensation partition obtained from the second sampling picture corresponds to the second compensation partition obtained from the first sampling picture in S16.
S126, establishing an initial compensation relation of y-rx2+(s-1)x+t。
r is a first compensation coefficient, s is a second compensation coefficient, and t is a third compensation coefficient.
And S127, acquiring the gray-scale value of each pixel in the second compensation partition.
S128, establishing an initial compensation relation equation set by utilizing the initial compensation relation according to the gray scale value of each pixel in each second compensation partition of the second sampling picture and the gray scale corresponding to the second sampling picture.
And S129, calculating to obtain a first compensation coefficient, a second compensation coefficient and a third compensation coefficient of each pixel in the second compensation partition according to the initial compensation equation set.
S130, calculating the average value of the first compensation coefficients corresponding to all pixels in each second compensation partition as the first compensation coefficient of the second compensation partition; calculating the average value of the second compensation coefficients corresponding to all pixels in the second compensation subarea to be used as the second compensation coefficient of the second compensation subarea; and calculating the average value of the third compensation coefficients corresponding to all the pixels in the second compensation partition as the third compensation coefficient of the second compensation partition.
S131, obtaining a corresponding initial compensation relation according to the first compensation coefficient, the second compensation coefficient and the third compensation coefficient of each second compensation partition.
By way of example, a number of steps are provided below to clearly illustrate the process of obtaining the initial compensation relationship.
The first step is as follows: the gray scales corresponding to the display picture of the display panel are respectively 20, 100 and 180, and the display picture under different gray scales is shot by a camera to obtain three second sampling pictures.
The second step is that: as shown in fig. 5, the second sampled picture 2 is divided into 10 × 8 second partitions 21, each second partition 21 including 4 × 4 pixels.
The third step: traversing the second sampling picture 2, and for each second partition 21, determining whether the gray-scale values of all pixels are the same as the gray scale of the display picture, if so, not compensating. If not, the second partition 21 is used as the second compensation partition 22.
For example, the second partition 21 of the seventh row and the third column is the second compensation partition 22.
The fourth step: establishing an initial compensation relation of y-rx2+ (s-1) x + t. r is a first compensation coefficient, s is a second compensation coefficient, and t is a third compensation coefficient.
The fifth step: according to the gray scale values of 16 pixels in the second compensation partition 22 of the seventh row and the third column in the second sampling picture 2 corresponding to the gray scale 20; the gray scale values of 16 pixels in the second compensation partition 22 corresponding to the third row and the third column of the seventh row in the second sampling picture 2 with the gray scale of 100; in the second sampling picture 2 corresponding to 180, the gray scale values of 16 pixels in the second compensation partition 22 of the seventh row and the third column, and the gray scales 20, 100, and 180, establish the initial compensation equation set.
For example, in the second sampled picture 2 with a corresponding gray scale of 20, the gray scale value corresponding to the pixel in the first row and the first column in the second compensation partition 22 is 60; in the second sampling picture 2 with a corresponding gray scale of 100, the gray scale value corresponding to the pixel in the first row and the first column in the second compensation partition 22 is 140; in the second sampling picture 2 with a corresponding gray scale of 180, the gray scale values corresponding to the pixels in the first row and the first column in the second compensation partition 22 are respectively 200.
In the second compensation partition 22 for the seventh row and the third column, the initial compensation equation set for the pixels in the first row and the first column is:
Figure GDA0002642372980000111
the calculation yields r-0.002, s-0.44 and t-39.2.
Similarly, for the other 15 pixels in the second compensation partition of the seventh row and the third column, 15 sets of the first compensation coefficient r, the second compensation coefficient s, and the third compensation coefficient t may be calculated.
And a sixth step: calculating an average value of the 16 first compensation coefficients as r ' 0.003, an average value of the 16 second compensation coefficients as s ' 1.15, and an average value of the 16 third compensation coefficients as t ' 30, the initial compensation relation corresponding to the second compensation partition 22 is y 0.003x2-1.15x+30。
Similarly, for each second compensation partition 22, an initial compensation relationship corresponding to the second compensation partition 22 may be calculated.
The seventh step: for the first sampling picture corresponding to 31 gray levels, the first sampling picture is divided into 10 × 8 second partitions 21, the second partition 21 in the seventh row and the third column is the second compensation partition 22, the maximum gray level value in the second compensation partition 22 is 40, and the initial compensation relationship y corresponding to the second compensation partition 22 is substituted into 0.003 × 402-1.15 × 40+30 ═ 11.2, and the corresponding initial offset value was calculated to be-11.2. And performing initial compensation on the display panel according to the initial compensation value.
Similarly, the initial compensation values corresponding to the second partitions 21 in the seventh row and the third column of the first sample picture with gray scales of 128 and 255 can be obtained, and the initial compensation is performed on the display panel according to the initial compensation values.
Eighth step: shooting the display picture of the display panel which is subjected to the initial compensation again, acquiring at least three first sampling pictures, wherein the gray scale of the display picture corresponding to each first sampling picture is the same as the gray scale corresponding to the display picture without the initial compensation.
Optionally, in the above S20, acquiring a plurality of compensation regions in the first sampled picture, as shown in fig. 6, includes:
and S21, dividing the first sampling picture into a plurality of first partitions. Each first partition includes f × f pixels, and f is a positive integer.
And S22, traversing the first sampling picture, and judging whether the gray scale values of all the pixels are the same as the gray scale of the display picture or not for each first partition.
And S23, if yes, no compensation is performed.
And S24, if not, taking the first partition as a first compensation partition, and acquiring the maximum gray-scale value of the pixels in the first compensation partition.
And S25, acquiring the coordinates of the pixel corresponding to the maximum gray-scale value in each first compensation partition as the coordinates of the white point by using the Laplace operator.
The Laplace operator is a second-order differential operator, and can enhance the gray level mutation area in the first sampling picture and weaken the gray level slow change area. Therefore, the coordinates of the pixel corresponding to the maximum gray-scale value can be obtained more accurately by processing the first sampling picture by using the laplacian operator.
And if the maximum gray-scale value corresponds to the coordinates of a plurality of pixels, all the pixels are used as the coordinates of the white point.
S26, centering on each white point, connecting the white point with (2k +1) around the white point2A square area of 1 pixel as the compensation area for the white point.
Wherein k is a positive integer of 1 or more.
It will be appreciated that (2k +1) around each white point is centered on that white point 21 pixel, forming a square area with a side length of 2k +1, the square area (including the white point) being the compensation area corresponding to the white point.
It should be noted that, if the compensation area is the same as the area of the white point defect, after compensation, a display effect that the white point defect is not completely compensated appears; if the compensation region is much larger than the area of the white dot defect, a display effect of a halo-like black shadow appears in the vicinity of the white dot defect, and therefore, the size of the compensation region (i.e., the size of k) needs to be set within a reasonable range.
Optionally, in the above S30, obtaining a plurality of compensation values corresponding to each compensation region, as shown in fig. 7, includes:
and S31, acquiring the highest-frequency gray scale value aiming at each first compensation partition, and calculating the difference between the highest-frequency gray scale value and the highest-frequency gray scale value.
The highest frequency gray scale value is the gray scale value with the largest occurrence number.
S32, aiming at the corresponding gray scale L1The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000131
m is a variable coefficient, i is a positive integer; duG is the difference between the maximum gray scale value and the highest frequency gray scale value in the first compensation subarea where the white point is located; when i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000132
Wherein the relative distance refers to the square root of the horizontal and vertical relative distances between the pixel and the white point.
S33, aiming at the corresponding gray scale L2The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000141
n is a variable coefficient. When i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure GDA0002642372980000142
S34, aiming at the corresponding gray scale L3The first sampling picture takes each white point as a center, and in the compensation area corresponding to the white point, the compensation values corresponding to all pixels are g.
Wherein, L is more than or equal to 01<L2<L3≤2β-1。
Here, L3Can be greater than or equal to 180. In this case, since the luminance of the entire display screen is high and the defect of white dots is relatively insignificant in the visual effect, in order to reduce the amount of calculation and the amount of data, the difference between the maximum gray scale value and the highest frequency gray scale value in the first compensation division where the white dots are located may be used to directly compensate.
When the maximum gray-scale value in the first compensation division corresponds to the coordinates of a plurality of pixels, the coordinates of the plurality of pixels are all used as the coordinates of a white point. In this case, when the compensation regions corresponding to the plurality of white dots overlap, the compensation values in which the pixels in the overlapping region are located in different compensation regions are averaged, and the average value is used as the compensation value corresponding to the pixel.
Illustratively, a number of steps are provided below to clearly illustrate the gray level compensation relationship acquisition process.
In the eighth step, after the initial compensation is performed on the display panel, the gray levels corresponding to the display frame are 31, 128 and 225, and the first sampling pictures corresponding to different gray levels are obtained again.
The ninth step: as shown in fig. 8a and 8b, the first sampled picture 1 is divided into 5 × 4 first partitions 11, and each first partition 11 includes 20 × 20 pixels.
The tenth step: traversing the first sampling picture 1, and for each first partition 11, determining whether the gray scale values of all pixels are the same as the gray scale of the display screen. If yes, no compensation is performed. If not, the first partition 11 is used as the first compensation partition 12.
For example, in the three first sampling pictures, the first partition 11 in the third row and the second column is the first compensation partition 12. And establishing a rectangular coordinate system by taking the upper left vertex angle of the first sampling picture as an origin, wherein the horizontal axis is the X direction, and the longitudinal axis is the Y direction. Here, k is set to 5.
As shown in fig. 8a, in the first sampled picture 1 corresponding to the gray scale 31, when the maximum gray scale value of the first compensation partition 12 is 47 and the maximum gray scale value obtained by using the laplacian operator is 47, the coordinates corresponding to the pixel are (32,52), which are the coordinates of the white point a'.
As shown in fig. 8b, a square area of 11 × 11 pixels including the white point a ' is the compensation area 13 corresponding to the white point a ', centering on the white point a '.
In addition, for the first compensation division 12, the highest frequency gray scale value is 31, and the difference between the highest frequency gray scale value and the highest frequency gray scale value is 16.
Thus, in the compensation region 13 corresponding to the white point a', it is possible to obtain:
when i is 0, 0 is not more than du< 1, in this case, belonging to the same relativeThe pixels of the distance group have only a white point a ', and the compensation value corresponding to the white point a' is-16 m.
When i is 1, 1 is less than or equal to du< 2, at this time, the pixels belonging to the relative distance group are the pixels of the first circle around the white point A '(the pixels in the area indicated by a' in FIG. 8 b), and the corresponding compensation values of the 8 pixels are
Figure GDA0002642372980000151
When i is 2, 2 is less than or equal to du< 3, in this case, the pixel belonging to the relative distance group is the second circle of pixels around the white point A '(the pixel in the area indicated by b' in FIG. 8 b), and the corresponding compensation value of the 16 pixels is
Figure GDA0002642372980000152
When i is 3, d is not less than 3u< 4, at this time, the pixel belonging to the relative distance group is the third pixel (the pixel in the area indicated by c 'in fig. 8 b) around the white point a', and the corresponding compensation value of the 24 pixels is
Figure GDA0002642372980000153
When i is 4, 4 is less than or equal to du< 5, at this time, the pixel belonging to the relative distance group is the pixel of the fourth turn around the white point A '(the pixel in the area indicated by d' in FIG. 8 b), and the corresponding compensation value of the 32 pixels is
Figure GDA0002642372980000154
When i is 5, d is not less than 5u< 6, when the pixel belonging to the relative distance group is the fifth pixel (the pixel in the area indicated by e 'in FIG. 8 b) around the white point A', the corresponding compensation value of the 40 pixels is
Figure GDA0002642372980000161
Thereby, compensation of all pixels in the compensation region 13 corresponding to the white point A' is obtainedThe value is obtained.
As shown in fig. 9a, in the first sample picture 1 corresponding to the gray scale 128, when the maximum gray scale value of the first compensation partition 12 is 148 and the maximum gray scale value is obtained by using the laplacian operator, the coordinates corresponding to the pixel are (32,52), which are the coordinates of the white point B'.
As shown in fig. 9B, a square area of 11 × 11 pixels including the white point B ' is the compensation area 13 corresponding to the white point B ', centering on the white point B '.
In addition, for the first compensation partition 12, the highest frequency gray scale value is 136, and the difference between the highest frequency gray scale value and the highest frequency gray scale value is 12.
Thus, in the compensation region 13 corresponding to the white point B', it is possible to obtain:
when i is 0, 0 is not more than du< 1, and at this time, the pixel belonging to the relative distance group has only a white point B ', and the compensation value corresponding to the white point B' is-n × 12.
When i is 1, 1 is less than or equal to du< 2, at this time, the pixels belonging to the relative distance group in the first circle around the white point B '(pixels in the area indicated by d' in FIG. 9B), then the corresponding compensation values of the 8 pixels are
Figure GDA0002642372980000162
When i is 2, 2 is less than or equal to du< 3, in this case, the pixel of the second circle around the white point B '(the pixel in the area indicated by B' in FIG. 9B) belongs to the relative distance group, and the corresponding compensation value of the 16 pixels is
Figure GDA0002642372980000163
When i is 3, d is not less than 3u< 4, at this time, the pixel in the third circle around the white point B '(the pixel in the area indicated by c' in FIG. 9B) belongs to the relative distance group, and the corresponding compensation value of the 24 pixels is
Figure GDA0002642372980000164
When i is 4, 4 is less than or equal to du< 5, at this time, the pixel meeting the condition is the fourth pixel (pixel in the area indicated by d 'in FIG. 9B) around the white point B', and the corresponding compensation value of the 32 pixels is
Figure GDA0002642372980000171
When i is 5, d is not less than 5u< 6, when the pixel meeting the condition is the fifth pixel (the pixel in the area indicated by e 'in FIG. 9B) around the white point B', the corresponding compensation value of the 40 pixels is
Figure GDA0002642372980000172
Thereby, the compensation values of all the pixels in the compensation region 13 corresponding to the white point B' are obtained.
As shown in fig. 10a, in the first sampled picture 1 corresponding to the gray scale 225, when the maximum gray scale value of the first compensation partition 12 is 240 and the maximum gray scale value obtained by using the laplacian operator is 240, the coordinates corresponding to the pixel are (32,52), which are the coordinates of the white point C'.
As shown in fig. 10b, a square area of 11 × 11 pixels including the white point C ' is the compensation area 13 corresponding to the white point C ' with the white point C ' as the center.
In addition, for the first compensation division 12, the highest frequency gray scale value is 234, and the difference between the highest frequency gray scale value and the highest frequency gray scale value is 6.
This makes it possible to obtain compensation values of 6 for all pixels in the compensation region 13 corresponding to the white point C'.
It will be appreciated that the coordinates of the white points a ', B ' and C ' are the same, corresponding to white point defects at the same location on the display panel, and the corresponding compensation regions 13 are also the same.
The eleventh step: according to the example in the tenth step, the gray levels corresponding to the first sampling pictures are 31, 128 and 225 respectively, and in the compensation region 13 corresponding to the white point with the coordinates of (32,52), the first sampling pictures with the gray levels of 31 and 128 are equivalent to dividing 6 corresponding distance groups, so that there are 6 compensation values; similarly, the first sampled picture with a gray level of 225 may also be divided into 6 relative distance groups, and all the compensation values are the same.
The gray scales corresponding to the three first sampling pictures are respectively 31, 128 and 225, and the compensation values corresponding to the white points are respectively-mx 16, -nx12 and 6, so that the gray scale compensation relationship corresponding to the white points is obtained through fitting. And by analogy, fitting to obtain 5 gray scale compensation relations according to compensation values corresponding to the first circle of pixels, the second circle of pixels and the fifth circle of pixels around the white point.
An embodiment of the present invention further provides a method for obtaining a compensation value, as shown in fig. 11, including:
and S1010, obtaining a picture to be compensated. The picture to be compensated is a display picture of the display panel taken by the camera. The gray scale range of the display picture is 0-2β-1, β is a positive integer.
S1020, a plurality of compensation areas in the picture to be compensated are obtained, wherein the compensation areas correspond to areas with white spot defects in the display panel.
It should be noted that, when shooting is performed on a display panel of the same model, the white point defect position in the display panel is not changed, and therefore, in the method for acquiring the relationship between the compensation regions in the picture to be compensated and the gray scale compensation, the compensation regions of the first sampling picture correspond to one another.
S1030, calculating to obtain compensation values corresponding to pixels belonging to the same relative distance group in each compensation area according to the gray scale corresponding to the picture to be compensated and the gray scale compensation relation obtained by the gray scale compensation relation obtaining method.
Illustratively, the gray scales corresponding to the first sampling picture are 31, 128 and 225 respectively, and the gray scale compensation relationship obtained by fitting the pixels of the first circle around the white point in the compensation area corresponding to the white point with the coordinates of (32,52) is F.
If the gray scale corresponding to the picture to be compensated is 150, in the picture to be compensated, in the compensation area corresponding to the white point with the coordinates of (32,52), the compensation value of the first circle of pixels surrounding the white point is obtained by substituting 150 into the gray scale compensation relation F.
Optionally, after S1010 and before S1020, as shown in fig. 12, the method for obtaining the compensation value further includes:
and S1011, preprocessing the picture to be compensated. And preprocessing, including at least one of shearing, brightness adjustment and high-pass filtering.
The embodiment of the invention also provides computer equipment, which comprises a storage unit and a processing unit; a storage unit in which a computer program executable on the processing unit is stored; the processing unit implements the method of acquiring the gray-scale compensation relationship or the method of acquiring the compensation value as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable medium storing a computer program which, when executed by a processor, implements the method for acquiring a gray-scale compensation relationship as described above or the method for acquiring a compensation value as described above.
An embodiment of the present invention also provides a display device 100, as shown in fig. 13, including: a display panel 200, and a memory 300 and a processor 400.
The memory 300 stores computer programs that may be run on the processor 400 and stores results. The processor 400, when executing the computer program, implements the method for acquiring the gray-scale compensation relationship or the method for acquiring the compensation value as described above.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (11)

1. A method for obtaining gray scale compensation relationship is characterized by comprising the following steps:
acquiring at least three first sampling pictures; the first sampling pictures are display pictures of a display panel shot by a camera, wherein the gray scales of the display pictures corresponding to different first sampling picturesDifferent; the gray scale range is 0-2β-1, β is a positive integer;
acquiring a plurality of compensation areas in the first sampling picture; the compensation areas in all the first sampling pictures correspond to one another; the compensation area corresponds to an area with white point defects in the display panel;
acquiring a plurality of compensation values corresponding to each compensation area; the compensation values and the relative distances form a one-to-one corresponding relation; the relative distance group comprises a plurality of relative distances, and the relative distances are square roots of horizontal relative distances and vertical relative distances between the pixels and the white point;
and fitting to obtain a gray scale compensation relation corresponding to each pixel belonging to the relative distance group according to the gray scale corresponding to each first sampling picture and the compensation values corresponding to the pixels belonging to the same relative distance group in each compensation area corresponding to all the first sampling pictures.
2. The method of claim 1, wherein obtaining the compensation regions in the first sample picture comprises:
dividing the first sampled picture into a plurality of first partitions; each first partition comprises f × f pixels, wherein f is a positive integer;
traversing the first sampling picture, judging whether the gray scale values of all pixels are the same as the gray scale of the display picture or not for each first partition, and if so, not compensating;
if not, taking the first partition as a first compensation partition, and acquiring the maximum gray-scale value of the pixels in the first compensation partition;
acquiring coordinates of a pixel corresponding to the maximum gray-scale value in each first compensation partition by using a Laplace operator, wherein the coordinates are used as coordinates of a white point;
centering on each white point, connecting the white point with (2k +1) around the white point2A square area formed by 1 pixel is used as a compensation area corresponding to the white point; k is a positive integer of 1 or more.
3. The method for obtaining gray scale compensation relationship according to claim 2, wherein obtaining a plurality of compensation values corresponding to each compensation region comprises:
aiming at each first compensation subarea, acquiring a highest-frequency gray level value, and calculating the difference between the highest-frequency gray level value and the highest-frequency gray level value; the highest frequency gray scale value is the gray scale value with the largest occurrence frequency;
for the corresponding gray level L1The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure FDA0002642372970000021
m is a variable coefficient, i is a positive integer; duG is the difference between the maximum gray scale value and the highest frequency gray scale value in the first compensation subarea where the white point is located;
when i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure FDA0002642372970000022
For the corresponding gray level L2The first sampling picture takes each white point as a center, and in a compensation area corresponding to the white point, when i is more than or equal to 0 and less than or equal to k-1, and i is more than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure FDA0002642372970000023
n is a variable coefficient;
when i is equal to k and i is less than or equal to duIf < i +1, the compensation value corresponding to the pixel belonging to the relative distance group is
Figure FDA0002642372970000024
For the corresponding gray level L3First sampled picture ofTaking each white point as a center, and in the compensation area corresponding to the white point, the compensation values corresponding to all pixels are g;
wherein, L is more than or equal to 01<L2<L3≤2β-1。
4. The method for obtaining gray scale compensation relationship of claim 1, wherein after obtaining at least three first sample pictures and before obtaining the plurality of compensation regions in the first sample picture, the method further comprises:
preprocessing the first sampling picture;
and the preprocessing comprises at least one of shearing, brightness adjustment and high-pass filtering.
5. The method of claim 4, wherein after the preprocessing the first sampled picture and before the obtaining the plurality of compensation regions in the first sampled picture, the method further comprises:
acquiring a plurality of initial compensation relations; the initial compensation relation is a one-to-one corresponding relation between the gray-scale value and the initial compensation value;
dividing the first sampled picture into a plurality of second partitions; each second partition includes p × p pixels; p is a positive integer;
traversing the first sampling picture, judging whether the gray-scale values of all pixels are the same as the gray scale of the display picture or not for each second partition, and if so, not compensating;
if not, taking the second partition as a second compensation partition, and acquiring the maximum gray-scale value of the pixels in the second compensation partition;
obtaining an initial compensation value according to the maximum gray-scale value and the initial compensation relation corresponding to the second compensation subarea;
performing initial compensation on the display panel according to the initial compensation value;
at least three first sampling pictures are obtained again; and the gray scale of the display picture corresponding to each first sampling picture is the same as the corresponding gray scale obtained last time.
6. The method for obtaining gray scale compensation relationship of claim 5, wherein obtaining a plurality of initial compensation relationships comprises:
acquiring at least three second sampling pictures; the second sampling pictures are display pictures of the display panel shot by a camera, wherein the gray scales of the display pictures corresponding to different second sampling pictures are different;
dividing the second sampled picture into a plurality of the second partitions;
traversing the second sampling picture, judging whether the gray-scale values of all pixels are the same as the gray scale of the display picture or not for each second partition, and if so, not compensating;
if not, the second partition is taken as a second compensation partition;
establishing an initial compensation relation of y-rx2+ (s-1) x + t; r is a first compensation coefficient, s is a second compensation coefficient, and t is a third compensation coefficient;
acquiring a gray-scale value of each pixel in the second compensation subarea;
establishing an initial compensation relation equation set by utilizing the initial compensation relation according to the gray scale value of each pixel in each second compensation partition of the second sampling picture and the gray scale corresponding to the second sampling picture;
calculating the first compensation coefficient, the second compensation coefficient and the third compensation coefficient of each pixel in a second compensation partition according to the initial compensation relation equation set;
calculating the average value of the first compensation coefficients corresponding to all pixels in each second compensation partition as the first compensation coefficient of the second compensation partition; calculating the average value of the second compensation coefficients corresponding to all pixels in the second compensation subarea to be used as the second compensation coefficient of the second compensation subarea; the average value of the third compensation coefficients corresponding to all the pixels is used as the third compensation coefficient of the second compensation subarea;
and obtaining a corresponding initial compensation relation according to the first compensation coefficient, the second compensation coefficient and the third compensation coefficient of each second compensation subarea.
7. A method for obtaining a compensation value, comprising:
acquiring a picture to be compensated; the picture to be compensated is a display picture of a display panel shot by a camera; the gray scale range of the display picture is 0-2β-1, β is a positive integer;
acquiring a plurality of compensation areas in the picture to be compensated; the compensation area corresponds to an area with white point defects in the display panel;
according to the gray scale corresponding to the picture to be compensated, calculating the compensation value corresponding to each pixel belonging to the same relative distance group in each compensation region by utilizing the gray scale compensation relationship obtained by the gray scale compensation relationship obtaining method according to any one of claims 1 to 6.
8. The method according to claim 7, wherein after the picture to be compensated is obtained and before the plurality of compensation regions in the picture to be compensated are obtained, the method further comprises:
preprocessing the picture to be compensated;
and the preprocessing comprises at least one of shearing, brightness adjustment and high-pass filtering.
9. A computer device, comprising a storage unit and a processing unit; the storage unit stores therein a computer program executable on the processing unit; the processing unit implements the method for acquiring a gray scale compensation relationship according to any one of claims 1 to 6 or the method for acquiring a compensation value according to any one of claims 7 to 8 when executing the computer program.
10. A computer-readable medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for acquiring a gray scale compensation relationship according to any one of claims 1 to 6 or the method for acquiring a compensation value according to any one of claims 7 to 8.
11. A display device, comprising: a display panel, and a memory and a processor;
the memory stores a computer program executable on the processor and stores results;
the processor implements the method for acquiring a gray scale compensation relationship according to any one of claims 1 to 6 or the method for acquiring a compensation value according to any one of claims 7 to 8 when executing the computer program.
CN201910755148.9A 2019-08-15 2019-08-15 Gray scale compensation relation, method for acquiring compensation value and display device Active CN110444157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910755148.9A CN110444157B (en) 2019-08-15 2019-08-15 Gray scale compensation relation, method for acquiring compensation value and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755148.9A CN110444157B (en) 2019-08-15 2019-08-15 Gray scale compensation relation, method for acquiring compensation value and display device

Publications (2)

Publication Number Publication Date
CN110444157A CN110444157A (en) 2019-11-12
CN110444157B true CN110444157B (en) 2020-12-08

Family

ID=68435792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755148.9A Active CN110444157B (en) 2019-08-15 2019-08-15 Gray scale compensation relation, method for acquiring compensation value and display device

Country Status (1)

Country Link
CN (1) CN110444157B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110660369B (en) * 2019-09-06 2022-05-20 北京集创北方科技股份有限公司 Display driving method, source electrode driving circuit, driving chip and display device
CN110992887B (en) * 2019-12-26 2021-03-30 昆山国显光电有限公司 Mura compensation data acquisition method and device and display device
CN112188178B (en) * 2020-09-30 2022-02-22 Tcl华星光电技术有限公司 Image display method and image display device
CN112530346B (en) * 2020-12-11 2022-09-27 昆山工研院新型平板显示技术中心有限公司 Method, device and equipment for determining compensation gray scale
CN113284458B (en) * 2021-05-31 2022-08-23 昆山工研院新型平板显示技术中心有限公司 Gray scale compensation method of display panel
CN115802056B (en) * 2023-01-31 2023-05-05 南通凯沃智能装备有限公司 User data compression storage method for mobile terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599915A (en) * 2001-12-04 2005-03-23 Pony工业株式会社 Image processing method and image processor
JP2008257186A (en) * 2007-04-02 2008-10-23 Lg Display Co Ltd Method and apparatus for compensating for display defect of flat panel display
CN103676236A (en) * 2013-12-18 2014-03-26 合肥京东方光电科技有限公司 Method and system for repairing defective pixel and display panel
CN104992657A (en) * 2015-07-27 2015-10-21 京东方科技集团股份有限公司 Mura compensation module and method, display device and method
CN106910483A (en) * 2017-05-03 2017-06-30 深圳市华星光电技术有限公司 A kind of mura phenomenons compensation method of display panel and display panel
CN107507571A (en) * 2017-08-28 2017-12-22 哈尔滨工业大学深圳研究生院 A kind of method and device that external optical compensation is carried out to AMOLED
CN107680526A (en) * 2017-10-13 2018-02-09 深圳吉迪思电子科技有限公司 A kind of brightness Mura compensation methodes
CN107731194A (en) * 2017-11-21 2018-02-23 深圳市华星光电半导体显示技术有限公司 A kind of mura compensation methodes and device
CN108538264A (en) * 2018-04-04 2018-09-14 深圳市华星光电技术有限公司 The mura compensation methodes of display panel and device
CN110120195A (en) * 2019-05-31 2019-08-13 昆山国显光电有限公司 Compensation data method and intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104409066B (en) * 2014-12-10 2017-04-19 深圳市华星光电技术有限公司 Method for acquiring gray-scale compensation value of pixel
US9436977B2 (en) * 2014-12-29 2016-09-06 Shenzhen China Star Optoelectronics Technology Co., Ltd Grayscale compensation method and system for defect on display panel

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599915A (en) * 2001-12-04 2005-03-23 Pony工业株式会社 Image processing method and image processor
JP2008257186A (en) * 2007-04-02 2008-10-23 Lg Display Co Ltd Method and apparatus for compensating for display defect of flat panel display
CN103676236A (en) * 2013-12-18 2014-03-26 合肥京东方光电科技有限公司 Method and system for repairing defective pixel and display panel
CN104992657A (en) * 2015-07-27 2015-10-21 京东方科技集团股份有限公司 Mura compensation module and method, display device and method
CN106910483A (en) * 2017-05-03 2017-06-30 深圳市华星光电技术有限公司 A kind of mura phenomenons compensation method of display panel and display panel
CN107507571A (en) * 2017-08-28 2017-12-22 哈尔滨工业大学深圳研究生院 A kind of method and device that external optical compensation is carried out to AMOLED
CN107680526A (en) * 2017-10-13 2018-02-09 深圳吉迪思电子科技有限公司 A kind of brightness Mura compensation methodes
CN107731194A (en) * 2017-11-21 2018-02-23 深圳市华星光电半导体显示技术有限公司 A kind of mura compensation methodes and device
CN108538264A (en) * 2018-04-04 2018-09-14 深圳市华星光电技术有限公司 The mura compensation methodes of display panel and device
CN110120195A (en) * 2019-05-31 2019-08-13 昆山国显光电有限公司 Compensation data method and intelligent terminal

Also Published As

Publication number Publication date
CN110444157A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110444157B (en) Gray scale compensation relation, method for acquiring compensation value and display device
CN110085166B (en) Bright spot compensation method and device for curved screen
CN106339196B (en) Data compression, decompression method and the Mura compensation method of DeMura table
CN110310237B (en) Method and system for removing image moire, measuring brightness of display panel sub-pixel point and repairing Mura defect
CN108760767B (en) Large-size liquid crystal display defect detection method based on machine vision
CN110689841B (en) Point-to-point correction method for LED display screen
KR102022812B1 (en) Image Contrast Reinforcement
CN109903717B (en) Identification method, compensation method and device for bright spot area of display panel
CN101140365A (en) Unevenness inspection method, method for manufacturing display panel, and unevenness inspection apparatus
CN110517304B (en) Method and device for generating depth map, electronic equipment and storage medium
CN109685794B (en) Camera self-adaptive step length DPC algorithm and device for mobile phone screen defect detection
CN112581904A (en) Moire compensation method for brightness gray scale image of OLED (organic light emitting diode) screen
CN107305695B (en) Automatic image dead pixel correction device and method
CN113658538A (en) Brightness compensation data generation method, brightness compensation device and computer equipment
CN109493426B (en) Monocular imaging-based three-dimensional reconstruction method and system for blast furnace charge level
DE112016001871T5 (en) Image processing apparatus, image processing method and program
CN109658320B (en) Special-shaped display screen sub-pixel luminance acquisition method
CN110033461A (en) A kind of mobile phone stabilization function evaluating method based on the estimation of displacement of targets amount
CN110853105A (en) Checkerboard image, method and device for RGB sub-pixel simultaneous positioning and application
CN102236790A (en) Image processing method and device
CN113411510B (en) Camera automatic exposure algorithm based on image quality evaluation and red hot forging
CN117670886B (en) Display screen defect detection method, device, equipment and storage medium
CN109949252B (en) Infrared image light spot removing method based on compensation coefficient fitting
CN107705244B (en) Edge connection correction method suitable for large-area multi-remote sensing image
KR102153567B1 (en) Apparatus and method for compensating of brightness deviation

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