CN114822397A - Data processing method and device and display panel compensation method and device - Google Patents
Data processing method and device and display panel compensation method and device Download PDFInfo
- Publication number
- CN114822397A CN114822397A CN202210534471.5A CN202210534471A CN114822397A CN 114822397 A CN114822397 A CN 114822397A CN 202210534471 A CN202210534471 A CN 202210534471A CN 114822397 A CN114822397 A CN 114822397A
- Authority
- CN
- China
- Prior art keywords
- compensation
- value
- unit
- matrix
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000003672 processing method Methods 0.000 title abstract description 17
- 239000011159 matrix material Substances 0.000 claims abstract description 264
- 230000005484 gravity Effects 0.000 claims description 206
- 239000000126 substance Substances 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 17
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 239000002184 metal Substances 0.000 description 4
- 229910052751 metal Inorganic materials 0.000 description 4
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
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 application relates to a data processing method and device and a display panel compensation method and device. The method comprises the following steps: acquiring an original compensation value of each pixel in at least one compensation unit of a display panel, wherein the display panel comprises a plurality of compensation units, and the compensation units comprise a plurality of pixels; and determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit. The method can improve the demura effect.
Description
Technical Field
The present application relates to the field of display technologies, and in particular, to a data processing method and apparatus, and a display panel compensation method and apparatus.
Background
The brightness of OLEDs (Organic Light Emitting diodes) at different positions in a display panel is not uniform, and defects such as dark spots and bright spots (mura) recognizable to human eyes occur. The compensation data of each pixel is generated according to the brightness distribution of the display panel and is stored so as to be convenient for calling the compensation data to display, thereby improving the brightness uniformity of the display panel and realizing the elimination of the defect (demura).
If the compensation data of each pixel is stored, the storage capacity required for the compensation data of the entire display panel may reach several tens of megabytes or even hundreds of megabytes. To reduce the required storage capacity, the compensation data may be compressed before being stored. Typically, the entire display panel is divided into a plurality of cells (blocks), the compensation data for each pixel in each block is averaged, and the average is used to replace the compensation data for each pixel in the block.
This can compress the compensation data of each pixel in the block into the compensation data of this block, but when the compensation data of each pixel in the block is different greatly, the effect of demura is not good.
Disclosure of Invention
In view of the above, it is necessary to provide a data processing method and apparatus, and a display panel compensation method and apparatus capable of improving the demura effect.
In a first aspect, the present application provides a data processing method. The method comprises the following steps:
acquiring an original compensation value of each pixel in at least one compensation unit of a display panel, wherein the display panel comprises a plurality of compensation units, and the compensation units comprise a plurality of pixels;
and determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
In one embodiment, the elements in the compensation matrix correspond to the pixels in the compensation unit one by one, and the position of one element in the compensation matrix is the same as the position of the pixel corresponding to the element in the compensation unit.
In one embodiment, the determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit includes:
determining the gravity center position and the gravity center deviation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit;
and determining a compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit.
In one embodiment, a two-dimensional coordinate system is constructed according to each pixel position in a compensation unit, and the two-dimensional coordinate system takes the center of the compensation unit as a coordinate origin;
the determining the gravity center position and the gravity center deviation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit comprises:
determining a total compensation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit;
determining the gravity center position of the compensation unit according to the coordinate value and the original compensation value of each pixel in the same compensation unit and the compensation total value of the compensation unit;
and determining the gravity center deviation value of the compensation unit according to the coordinate origin, the gravity center position and the compensation total value of the same compensation unit.
In one embodiment, the compensation unit comprises a plurality of regions, wherein the regions comprise a first region where one pixel is located or a second region between two adjacent pixels;
the determining a compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit includes:
determining the area where the gravity center position of the compensation unit is located according to the gravity center position of the compensation unit;
and determining a compensation matrix of the compensation unit according to the region of the gravity center position of the same compensation unit and the gravity center deviation value.
In one embodiment, the determining a compensation matrix of the compensation unit according to the region where the center of gravity position of the same compensation unit is located and the center of gravity deviation value includes:
acquiring a plurality of candidate compensation matrixes according to the area of the gravity center position of the compensation unit, wherein the value of a first target element in the candidate compensation matrixes is logic 1 or the value of all elements is logic 0, and the first target element is an element corresponding to a pixel closest to the gravity center position of the compensation unit;
selecting a compensation matrix of the compensation unit from the candidate compensation matrices according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit;
preferably, when the region in which the center of gravity position of the compensation unit is located includes the first region, the deviation threshold includes a first deviation threshold and a second deviation threshold, wherein the second deviation threshold is smaller than the first deviation threshold;
the selecting a compensation matrix of the compensation unit from the plurality of candidate compensation matrices according to the magnitude relationship between the gravity center deviation value and the deviation threshold value of the compensation unit includes:
if the gravity center deviation value of the compensation unit is greater than or equal to a first deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a first preset condition, wherein the first preset condition comprises that the values of the first target element and the adjacent elements of the first target element are both logic 1, the value of a second target element is logic 0, and the second target element is an element corresponding to a pixel farthest from the gravity center position of the compensation unit;
if the barycentric deviation value of the compensation unit is smaller than the first deviation threshold value and the barycentric deviation value of the compensation unit is larger than or equal to a second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a second preset condition, wherein the second preset condition comprises that the first target element is logic 1, and the values of the second target element and the adjacent elements of the second target element are both logic 0;
if the gravity center deviation value of the compensation unit is smaller than the second deviation threshold, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0;
preferably, when the region in which the center of gravity position of the compensation unit is located includes the second region, the deviation threshold includes a third deviation threshold;
the selecting a compensation matrix of the compensation unit from the plurality of candidate compensation matrices according to the magnitude relationship between the gravity center deviation value and the deviation threshold value of the compensation unit includes:
if the gravity center deviation value of the compensation unit is greater than or equal to a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a fourth preset condition, wherein the fourth preset condition comprises that values of elements corresponding to pixels included in an area where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0;
and if the gravity center deviation value of the compensation unit is smaller than a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0.
In a second aspect, the present application further provides a display panel compensation method. The method comprises the following steps:
determining a unit to be compensated of a display panel, wherein the unit to be compensated comprises a plurality of pixels;
obtaining a compensation average value and a compensation matrix determined by the original compensation value of each pixel in the to-be-compensated unit according to the to-be-compensated unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit;
and determining the restoration compensation value of each pixel in the unit to be compensated according to the compensation average value and the compensation matrix of the unit to be compensated.
In one embodiment, the elements in the compensation matrix correspond to the pixels in the compensation unit one by one, and the position of one element in the compensation matrix is the same as the position of the pixel corresponding to the element in the compensation unit;
preferably, the determining the restoration compensation value of each pixel in the to-be-compensated unit according to the compensation average value and the compensation matrix of the to-be-compensated unit includes:
determining the number of first pixels and the number of second pixels in the unit to be compensated according to the compensation matrix of the unit to be compensated, wherein the value of the corresponding element of the first pixel is logic 1, and the value of the corresponding element of the second pixel is logic 0;
determining a restoration compensation value of the first pixel and a restoration compensation value of the second pixel in the unit to be compensated according to the compensation average value of the unit to be compensated, the number of the first pixels and the number of the second pixels in the unit to be compensated, and the compensation difference value of the first pixels and the second pixels;
determining a restoration compensation value of each pixel in the unit to be compensated according to the compensation matrix of the unit to be compensated, the restoration compensation value of the first pixel in the unit to be compensated and the restoration compensation value of the second pixel;
preferably, when the number of elements taking a value of logic 0 in the compensation matrix is smaller than the number of elements taking a value of logic 1 in the compensation matrix, the compensation difference value is a first difference value;
when the number of elements with a value of logic 0 in the compensation matrix is greater than or equal to the number of elements with a value of logic 1 in the compensation matrix, the compensation difference value is a second difference value; wherein the second difference value is less than the first difference value;
when the values of the elements in the compensation matrix are all logic 0, the compensation difference value is 0;
preferably, the unit to be compensated includes four pixels arranged in two rows and two columns, and the compensation matrix of the unit to be compensated includes four elements arranged in two rows and two columns; wherein the content of the first and second substances,
when the number of elements with a value of logic 0 in the compensation matrix is one, and/or the number of elements with a value of logic 1 in the compensation matrix is three, the compensation difference value is a first difference value;
when the number of elements with a value of logic 0 in the compensation matrix is three, and/or the number of elements with a value of logic 1 in the compensation matrix is one, or when the number of elements with a value of logic 0 in the compensation matrix is two, and/or the number of elements with a value of logic 1 in the compensation matrix is two, the compensation difference value is a second difference value, and the second difference value is smaller than the first difference value;
and when the number of the elements with the value of logic 0 in the compensation matrix is four, the compensation difference value is 0.
In a third aspect, the present application further provides a data processing apparatus. The device comprises:
a compensation value obtaining module, configured to obtain an original compensation value of each pixel in at least one compensation unit of a display panel, where the display panel includes a plurality of the compensation units, and the compensation units include a plurality of the pixels;
and the data determining module is used for determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
In a fourth aspect, the present application further provides a display panel compensation apparatus. The device comprises:
the device comprises a to-be-compensated unit determining module, a compensation module and a compensation module, wherein the to-be-compensated unit determining module is used for determining a to-be-compensated unit of a display panel, and the to-be-compensated unit comprises a plurality of pixels;
the compensation data acquisition module is used for acquiring a compensation average value and a compensation matrix determined by the original compensation value of each pixel in the to-be-compensated unit according to the to-be-compensated unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit;
and the compensation value determining module is used for determining the restoration compensation value of each pixel in the unit to be compensated according to the compensation average value and the compensation matrix of the unit to be compensated.
The data processing method and device and the display panel compensation method and device acquire an original compensation value of each pixel in at least one compensation unit of the display panel, the display panel comprises a plurality of compensation units, each compensation unit comprises a plurality of pixels, a compensation average value and a compensation matrix of each compensation unit are determined according to the original compensation value of each pixel in the same compensation unit, each compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and each compensation matrix is used for representing the distribution characteristic of the original compensation value of each pixel in each compensation unit. Therefore, the data volume needing to be stored is changed into a compensation average value and a compensation matrix of the same compensation unit from the original compensation value of each pixel in one compensation unit, the compensation matrix is composed of a plurality of elements with the value of logic 0 and/or logic 1, and the data volume is far smaller than the original compensation value, so that the data volume needing to be stored is greatly compressed, the required storage space can be reduced, and the hardware implementation cost is reduced. The compensation matrix can represent the distribution characteristics of the original compensation values of all pixels in the compensation unit, the restoration compensation values of all pixels determined by combining the compensation average value have the distribution characteristics of the original compensation values of all pixels, the difference between the restoration compensation values and the original compensation values of all pixels is small, and the demura effect is good.
Drawings
FIG. 1 is a diagram of an application environment of a data processing method in one embodiment;
FIG. 2 is a flow diagram illustrating a data processing method according to one embodiment;
FIG. 3 is a flowchart illustrating step S204 according to an embodiment;
FIG. 4 is a diagram illustrating the division of the display panel into regions according to one embodiment;
FIG. 5 is a flowchart illustrating a compensation method for a display panel according to an embodiment;
FIG. 6 is a flowchart illustrating step S506 according to an embodiment;
FIG. 7 is a schematic flow chart diagram illustrating an embodiment of a data processing apparatus;
FIG. 8 is a block diagram of a display panel compensation apparatus according to an embodiment;
fig. 9 is an internal structural view of a display driver chip in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data processing method and the display panel compensation method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The display module includes a display panel 102 and a driving chip 104, the display panel 102 includes a plurality of pixels 103 distributed in an array, and the plurality of pixels 103 are located on the same side of the driving chip 104 and electrically connected to the driving chip 104 through a metal wire 105. The driving chip 104 supplies a driving voltage to the pixel 103 through a metal wire 105. In the metal trace 105 electrically connected between the pixel 103 and the driving chip 104, which are located at different distances from the driving chip 104, the IR Drop (current resistance Drop) caused by the resistance of the metal trace 105 itself is different. If the driving chip 104 provides the same driving voltage to each pixel 103, the driving voltage applied to each pixel 103 will be different in magnitude, resulting in different brightness of each pixel 103 and mura recognizable to human eyes.
In order to realize demura and improve the brightness uniformity of the display panel 102, an image of a display picture of the display panel 102 may be obtained by a shooting device, and feature extraction may be performed on the image to obtain brightness data of each pixel 103. And then, based on the brightness data of each pixel 103, calculating by adopting a set demura algorithm to obtain compensation data of each pixel 103. The driving chip 104 stores the compensation data of each pixel 103 in the memory, and when controlling each pixel 103 to display, calls the compensation data of each pixel 103 from the memory, and adjusts the driving voltage supplied to the pixel 103 based on the compensation data of each pixel 103 so that the driving voltages applied to the pixels 103 are the same, and further the luminance of each pixel 103 is the same, thereby improving the luminance uniformity of the entire display panel 102 and realizing demura.
In addition, before the driver chip 104 stores the compensation data of each pixel 103 in the memory, the compensation data of each pixel 103 may be compressed first, and then the compressed data is stored, so as to reduce the storage capacity required by the compensation data and reduce the hardware cost for implementation.
In the related art, block compression may be used for the compensation data. Specifically, the display panel is divided into a plurality of compensation units arranged in an array, each compensation unit includes a plurality of pixels, for example, each compensation unit includes 1 × 2 pixels, 2 × 4 pixels, 4 × 4 pixels, and the like. Wherein the front number represents the number of rows of pixels and the rear number represents the number of columns of pixels; alternatively, the front number represents the number of columns of pixels and the rear number represents the number of rows of pixels. Then, based on the original compensation data of each pixel in the same compensation unit, the compressed compensation data of the compensation unit is obtained, for example, the average value of the original compensation data of each pixel in the compensation unit is used as the compressed compensation data of the compensation unit. In this way, the original compensation data of a plurality of pixels in a compensation unit is reduced to the compressed compensation data of a compensation unit, and taking a compensation unit comprising 2 × 2 pixels as an example, the original compensation data of four pixels in the compensation unit is reduced to a compressed compensation data, and the compensation data is compressed.
However, when the driving voltage is supplied to each pixel in the compensation unit, the driving voltage of each pixel in the compensation unit is adjusted based on the compressed compensation data of the compensation unit. When the compressed compensation data of a compensation unit is the average value of the original compensation data of each pixel in the compensation unit, the driving voltage of each pixel in the compensation unit is adjusted according to the average value. If the difference between the original compensation data of each pixel in the compensation unit is large, the difference between the compressed compensation data of the compensation unit and the original compensation data of at least part of the pixels in the compensation unit is large, the driving voltages of the pixels are originally adjusted according to the respective original compensation data, and now the driving voltages are adjusted according to the compressed compensation data of the compensation unit, so that the voltage drop compensation effect is obviously poor, the demura effect is not good, and the overall brightness uniformity of the display panel cannot be effectively improved.
In order to solve the above problems, embodiments of the present application provide a data processing method and apparatus, and a display panel compensation method and apparatus, in which a compensation matrix characterizing distribution characteristics of original compensation values of each pixel is added to compressed compensation data of a compensation unit, and a restored compensation value of each pixel determined by combining the compensation matrix and a compensation average value has distribution characteristics of the original compensation values of each pixel, so that a difference between the restored compensation value and the original compensation value of each pixel can be reduced, thereby improving a voltage drop compensation effect of a driving voltage of each pixel, and improving a demura effect. And the compensation matrix is composed of a plurality of elements with the value of logic 0 or logic 1, the data volume is very small, the occupied storage space can be ignored, and the compression effect of the original compensation data can not be influenced.
Specifically, when data is compressed, an original compensation value of each pixel in at least one compensation unit of a display panel is obtained, the display panel comprises a plurality of compensation units, and the compensation units comprise a plurality of pixels; and determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit. Thus, the original compensation value of each pixel in one compensation unit is changed into the compensation average value and the compensation matrix of the compensation unit, and the data amount is greatly reduced.
After the data is compressed, the compressed data is stored in the memory, and when the compressed data is used, the compressed data is obtained from the memory and decompressed for use. Because the compressed data is stored, the required storage space is less, and the hardware implementation cost can be reduced.
When data is decompressed, a to-be-compensated unit of the display panel is determined, wherein the to-be-compensated unit comprises a plurality of pixels; obtaining a compensation average value and a compensation matrix determined by the original compensation value of each pixel in the unit to be compensated according to the unit to be compensated, wherein the compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit; and finally, determining the restoration compensation value of each pixel in the compensation unit according to the compensation average value and the compensation matrix of the unit to be compensated. On the basis of the compensation average value of the compensation unit, a compensation matrix for representing the distribution characteristics of the original compensation values of the pixels in the compensation unit is added, the distribution condition of the original compensation values of the pixels in the compensation unit can be obtained by using the compensation matrix, and the restoration compensation values of the pixels in the compensation unit are determined by combining the compensation average value, so that the obtained restoration compensation values of the pixels have the distribution characteristics of the original compensation values of the pixels. If the original compensation values of the pixels in one compensation unit have larger difference, the restored compensation values of the pixels in the compensation unit also have larger difference, and the restored compensation values can better reflect the characteristics of the original compensation values.
And after data decompression, performing brightness compensation on the pixels by using the restoration compensation value of each pixel. Because the restoration compensation value can better reflect the characteristics of the original compensation value, the effect of brightness compensation on the pixel by adopting the restoration compensation value of each pixel is closer to the effect of brightness compensation on the pixel by adopting the original compensation value of each pixel, and the effect of demura is better.
The data processing method and apparatus, and the Display panel compensation method and apparatus provided in the embodiments of the present application may be applied to a driving chip of a Display panel such as an OLED (Organic Light-Emitting Diode) or an LCD (Liquid Crystal Display), may also be applied to a Display module having the Display panel and the driving chip, and may also be applied to an electronic device such as a mobile phone or a tablet computer having the Display module.
For better understanding, before proceeding with the detailed description, some aspects are described:
a display panel: the display device comprises a plurality of pixel units (hereinafter referred to as pixels) which are arranged in an array, and a driving chip provides voltage to drive the plurality of pixels to display a picture.
Compensation data: the driving chips are in one-to-one correspondence with the pixels in the display panel, and adjust the voltage supplied to the corresponding pixels based on the compensation data, so that the overall brightness uniformity of the display panel is improved.
In one embodiment, as shown in fig. 2, a data processing method is provided, which is exemplified by the application of the method to the driver chip in fig. 1, and includes the following steps:
in step S202, an original compensation value of each pixel in at least one compensation unit of the display panel is obtained.
The display panel comprises a plurality of compensation units, and each compensation unit comprises a plurality of pixels. The original compensation value is the original compensation value of the pixel, and the original compensation value is compressed and decompressed to obtain a restored compensation value which is usually different from the original compensation value.
In practical applications, the display panel includes a plurality of pixels arranged in an array, the display panel is divided into a plurality of compensation units, the plurality of compensation units may also be arranged in an array, and each compensation unit includes a plurality of pixels. For example, each compensation cell comprises 1 × 2 pixels, 2 × 4 pixels, 4 × 4 pixels, etc., the preceding number representing the number of rows of pixels and the following number representing the number of columns of pixels; alternatively, the front number represents the number of columns of pixels and the rear number represents the number of rows of pixels. For example, a compensation unit includes 1 × 2 pixels, and the pixels in the compensation unit may be arranged in two rows and two columns, or in two rows and one column.
Specifically, the compensation device first obtains an image of a display screen of the display panel, obtains brightness data of each pixel in the display panel based on the image, and then calculates the brightness data of each pixel by adopting a demura algorithm to obtain compensation data of each pixel, namely an original compensation value of the pixel. The driving chip obtains the original compensation value of each pixel in the display panel from the compensation equipment, and the original compensation value of each pixel in the same compensation unit can be obtained according to the corresponding relation between the pixel and the compensation unit.
And step S204, determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit.
The compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
In the data processing method, an original compensation value of each pixel in at least one compensation unit of a display panel is obtained, the display panel comprises a plurality of compensation units, each compensation unit comprises a plurality of pixels, a compensation average value and a compensation matrix of each compensation unit are determined according to the original compensation value of each pixel in the same compensation unit, each compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and each compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in each compensation unit. Therefore, the data volume needing to be stored is changed into a compensation average value and a compensation matrix of the same compensation unit from the original compensation value of each pixel in one compensation unit, the compensation matrix is composed of a plurality of elements with the value of logic 0 and/or logic 1, and the data volume is far smaller than the original compensation value, so that the data volume needing to be stored is greatly compressed, the required storage space can be reduced, and the hardware implementation cost is reduced. The compensation matrix can represent the distribution characteristics of the original compensation values of all pixels in the compensation unit, the restoration compensation values of all pixels determined by combining the compensation average value have the distribution characteristics of the original compensation values of all pixels, the difference between the restoration compensation values and the original compensation values of all pixels is small, and the demura effect is good.
In one embodiment, the elements in the compensation matrix correspond to the pixels in the compensation unit in a one-to-one manner, and the position of an element in the compensation matrix is the same as the position of the pixel corresponding to the element in the compensation unit.
For example, if the compensation unit includes four pixels arranged in two rows and two columns, the compensation matrix includes four elements arranged in two rows and two columns, the pixels in the first row and the first column in the compensation unit correspond to the elements in the first row and the first column in the compensation matrix, the pixels in the first row and the second column in the compensation unit correspond to the elements in the first row and the second column in the compensation matrix, the pixels in the second row and the first column in the compensation unit correspond to the elements in the second row and the first column in the compensation matrix, and the pixels in the second row and the second column in the compensation unit correspond to the elements in the second row and the second column in the compensation matrix.
In this embodiment, the elements in the compensation matrix correspond to the pixels in the compensation unit one to one, and a position of an element in the compensation matrix is the same as a position of a pixel corresponding to the element in the compensation unit, so that the distribution characteristics of the original compensation values of the pixels in the compensation unit can be well represented through the distribution conditions of the elements in the compensation matrix, which is beneficial to acquiring the distribution conditions of the original compensation values of the pixels in the compensation unit from the compensation matrix, so that the restored compensation values of the pixels determined according to the compensation data of the compensation unit have the distribution characteristics of the original compensation values of the pixels, thereby reducing the difference between the restored compensation values and the original compensation values of the pixels, and improving the demura effect.
The value of the element is logic 0 or logic 1, taking the example that the compensation unit includes pixels arranged in two rows and two columns, the compensation matrix includes elements arranged in two rows and two columns, and the following elements can be specifically provided:
in this embodiment, the value of an element is only logic 0 and logic 1, the storage space occupied by one element is only 1bit, the storage space occupied by the whole compensation matrix is only 4 bits, the required storage space is small, and the hardware implementation cost can be effectively reduced.
In one embodiment, as shown in fig. 3, determining the compensation average value and the compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit includes:
step S302, according to the original compensation value of each pixel in the same compensation unit, determining the compensation average value, the gravity center position and the gravity center deviation value of the compensation unit.
Wherein, the compensation average value is the average value of the original compensation values of all the pixels in the compensation unit. The gravity center position is the position of the distribution gravity center of the original compensation value of each pixel in the compensation unit. If the original compensation value of a certain pixel in the compensation unit is larger than that of other pixels, the position of the center of gravity is biased to the position of the pixel. The gravity center deviation value is a deviation amount of the gravity center position of the compensation unit from the center position. If the original compensation value of a certain pixel in the compensation unit is much larger than that of other pixels, the gravity center deviation value is large; if the original compensation value of a certain pixel in the compensation unit is only a little larger than the original compensation values of other pixels, the gravity center deviation value decreases.
Illustratively, the compensation unit comprises four pixels arranged in two rows and two columns, and a two-dimensional coordinate system is constructed according to the positions of the pixels in the compensation unit, wherein the two-dimensional coordinate system takes the center of the compensation unit as a coordinate origin.
Determining a compensation average value, a gravity center position and a gravity center deviation value of a compensation unit according to an original compensation value of each pixel in the same compensation unit, wherein the method comprises the following steps: determining a compensation average value and a compensation total value of a compensation unit according to an original compensation value of each pixel in the same compensation unit; determining the gravity center position of the compensation unit according to the coordinate value and the original compensation value of each pixel in the same compensation unit and the total compensation value of the compensation unit; and determining the gravity center deviation value of the compensation unit according to the coordinate origin, the gravity center position and the total compensation value of the same compensation unit.
Specifically, the compensation total value of the compensation unit is determined using equation (1):
wherein M is the total compensation value of the compensation unit, M i N is the number of pixels in the compensation unit.
Determining a compensation average value of the compensation unit by using the formula (2):
wherein the content of the first and second substances,the compensation average value of the compensation unit, M is the compensation total value of the compensation unit, and N is the number of pixels in the compensation unit.
Determining the gravity center position of the compensation unit by using formula (3) and formula (4):
wherein (X, Y) is the barycentric coordinate of the compensation unit, (X) i ,y i ) To compensate for the coordinates of a pixel in the cell, m i The original compensation value of one pixel in the compensation unit, M is the total compensation value of the compensation unit, and N is the number of pixels in the compensation unit.
Determining a gravity center deviation value of the compensation unit using equation (5):
wherein op is the gravity center deviation value of the compensation unit, (X, Y) is the gravity center coordinate of the compensation unit, (X) 0 ,y 0 ) M is the compensation total value of the compensation unit.
In this embodiment, by using the characteristics of the barycentric position and the barycentric offset value, the barycentric position of the compensation unit is determined according to the original compensation value of each pixel and the coordinate position of each element in the same compensation unit, and then the barycentric offset value of the compensation unit is determined according to the barycentric position of the compensation unit and the coordinate position of each element, so as to determine the barycentric position and the barycentric offset value.
And step S304, determining a compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit.
In this embodiment, the original compensation value of each pixel in the same compensation unit and the compensation matrix of the compensation unit are associated by using the barycentric position and the barycentric deviation value as an intermediary, so as to determine the compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit.
Illustratively, the compensation unit includes a plurality of regions including a first region in which one pixel is located or a second region between two adjacent pixels.
As shown in fig. 4, when the compensation unit includes four pixels arranged in two rows and two columns, the compensation unit includes eight regions B1, B2, B3, B4, b5, B6, B7, B8, region B1 including a first region where a first row and a first column of pixels are located, region B2 including a second region between the first row and the first column of pixels and the first row and the second column of pixels, region B3 including a first region where the first row and the second column of pixels are located, region B4 including a second region between the first row and the second column of pixels, region B5 including a first region where the second row and the second column of pixels are located, region B6 including a second region between the second row and the second column of pixels and the second row and the first column of pixels, region B7 including a first region where the second row and the first column of pixels are located, and region B8 including a second region between the second row and the first column of pixels and the first row and the first column of pixels.
Specifically, the boundary line of the region B8 and the region B1, the boundary line of the region B3 and the region B4, the boundary line of the region B4 and the region B5, and the boundary line of the region B7 and the region B8 make an angle of 22.5 ° with the X axis and 67.5 ° with the Y axis; the boundary line between the region B1 and the region B2, the boundary line between the region B2 and the region B3, the boundary line between the region B5 and the region B6, and the boundary line between the region B6 and the region B7 make an angle of 67.5 ° with the X axis and 22.5 ° with the Y axis.
The range of the tangent value of the Y-axis coordinate to the X-axis coordinate in the region B8 and the region B4 is (-0.4142, 0.4142), the range of the tangent value of the Y-axis coordinate to the X-axis coordinate in the region B1 and the region B5 is (-2.4142, -0.4142), the range of the tangent value of the Y-axis coordinate to the X-axis coordinate in the region B2 and the region B6 is (∞, -2.4142) ("cooh 2.4142, + ∞), and the range of the tangent value of the Y-axis coordinate to the X-axis coordinate in the region B3 and the region B7 is (0.4142, 2.4142).
Correspondingly, according to the gravity center position and the gravity center deviation value of the same compensation unit, a compensation matrix of the compensation unit is determined, and the compensation matrix comprises the following components: determining the area of the gravity center position of the compensation unit according to the gravity center position of the compensation unit; and determining a compensation matrix of the compensation unit according to the region of the gravity center position of the same compensation unit and the gravity center deviation value.
In this embodiment, the compensation unit includes a plurality of regions, each of the regions includes a first region where one pixel is located or a second region between two adjacent pixels, and the compensation matrices of the compensation units having the gravity center positions in the same region have common characteristics with respect to characteristics of the respective regions. Firstly, determining a region where the gravity center position of the compensation unit is located according to the gravity center position of the compensation unit, then determining a compensation matrix of the compensation unit according to the region where the gravity center position of the same compensation unit is located and the gravity center deviation value, and associating the gravity center position of the compensation unit with the compensation matrix through the region where the gravity center is located. On one hand, a compensation matrix is set according to the characteristics of the region, so that the distribution characteristics of the original compensation values of the pixels of the gravity center position in the compensation unit of the region can be better embodied, on the other hand, the compensation unit is divided into regions, the conditions of all positions of the same region are similar, and the corresponding same compensation matrix is favorable for improving the processing speed.
Illustratively, determining a compensation matrix of the compensation unit according to the region of the center of gravity of the same compensation unit and the center of gravity deviation value includes: acquiring a plurality of candidate compensation matrixes according to the area of the gravity center position of the compensation unit, wherein the value of a first target element in the candidate compensation matrixes is logic 1 or the value of all elements is logic 0, and the first target element is an element corresponding to a pixel closest to the gravity center position of the compensation unit; and selecting the compensation matrix of the compensation unit from the candidate compensation matrixes according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit.
In this embodiment, each region corresponds to multiple candidate compensation matrices, and in the multiple candidate compensation matrices corresponding to the same region, values of elements in a specific position are the same, the set compensation matrices are preliminarily screened according to a region where a center of gravity of a compensation unit is located, so as to obtain multiple candidate compensation matrices, and then, further screening is performed from the multiple candidate compensation matrices according to a size relationship between a center of gravity deviation value of the compensation unit and a deviation threshold value, so as to select a candidate compensation matrix which can most represent a distribution characteristic of an original compensation value of each pixel as a compensation matrix of the compensation unit, so that the compensation matrix of the compensation unit is determined according to the region where the center of gravity of the same compensation unit is located and the center of gravity deviation value.
In practical application, a corresponding relation between the area and the compensation matrix is established in advance, and when the area where the gravity center position of the compensation unit is located is determined, the compensation matrix corresponding to the area is directly obtained to serve as a candidate compensation matrix.
Taking the original compensation value of the pixel corresponding to the element with the value of logic 1 larger than the original compensation value of the pixel corresponding to the element with the value of logic 0 as an example, the compensation matrix corresponding to each area includes the following conditions:
when the compensation unit comprises four pixels arranged in two rows and two columns, the compensation unit comprises a first area where first-row first-column pixels are located, a second area between the first-row first-column pixels and the first-row second-column pixels, a first area where first-row second-column pixels are located, a second area between the first-row second-column pixels and the second-row second-column pixels, a first area where second-row second-column pixels are located, a second area between the second-row second-column pixels and the second-row first-column pixels, a first area where second-row first-column pixels are located, and a second area between the second-row first-column pixels and the first-row first-column pixels.
If the gravity center position of the compensation unit is in the first area of the first row and the first column of pixels, the corresponding compensation matrix includes the following three compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is a first row and first column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is a second row and second column element. In the first two compensation matrixes, the value of an element (namely a first target element) corresponding to a pixel closest to the gravity center position of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the region where the barycentric position of the compensation unit is located is a second region between the first row and the first column of pixels and the second row and the second column of pixels, the corresponding compensation matrix comprises the following two compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is a first row and first column element or a first row and second column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is a second row and first column element or a second row and second column element. In the previous compensation matrix, the value of an element (i.e., a first target element) corresponding to a pixel closest to the center of gravity of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the gravity center position of the compensation unit is in the first area where the first row and the second column of pixels are, the corresponding compensation matrix comprises the following three compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is the first row and second column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is the second row and first column element. In the first two compensation matrixes, the value of an element (namely a first target element) corresponding to a pixel closest to the gravity center position of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the gravity center position of the compensation unit is located in a second area between the first row and the second column of pixels and the second row and the second column of pixels, the corresponding compensation matrix comprises the following two compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is a first row second column element or a second row second column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is a first row first column element or a second row first column element. In the previous compensation matrix, the value of an element (i.e., a first target element) corresponding to a pixel closest to the center of gravity of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the gravity center position of the compensation unit is located in a first area where the second row and the second column of pixels are located, the corresponding compensation matrix includes the following three compensation matrices:
the pixel closest to the gravity center position of the compensation unit corresponds to the second row and the second column of elements, and the pixel farthest from the gravity center position of the compensation unit corresponds to the first row and the first column of elements. In the first two compensation matrixes, the value of an element (namely a first target element) corresponding to a pixel closest to the gravity center position of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the region of the barycentric position of the compensation unit is a second region between the second row and the second column of pixels and the second row and the first column of pixels, the corresponding compensation matrix comprises the following two compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is a first row and first column element or a second row and second column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is a first row and first column element or a first row and second column element. In the previous compensation matrix, the value of an element (i.e., a first target element) corresponding to a pixel closest to the center of gravity of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the gravity center position of the compensation unit is located in a first area where the second row and the first column of pixels are located, the corresponding compensation matrix includes the following three compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is the second row and first column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is the first row and second column element. In the first two compensation matrixes, the value of an element (namely a first target element) corresponding to a pixel closest to the gravity center position of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
If the gravity center position of the compensation unit is located in a second area between the second row and the first column of pixels and the first row and the first column of pixels, the corresponding compensation matrix comprises the following two compensation matrices:
the element corresponding to the pixel closest to the gravity center position of the compensation unit is a first row and first column element or a second row and first column element, and the element corresponding to the pixel farthest from the gravity center position of the compensation unit is a first row and second column element or a second row and second column element. In the previous compensation matrix, the value of an element (i.e., a first target element) corresponding to a pixel closest to the center of gravity of the compensation unit is logic 1; in the latter compensation matrix, all elements take the value of logic 0.
In one implementation, when the region in which the center of gravity position of the compensation unit is located includes a first region, the deviation threshold includes a first deviation threshold and a second deviation threshold, where the second deviation threshold is smaller than the first deviation threshold.
The method for selecting the compensation matrix of the compensation unit from a plurality of candidate compensation matrices according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit comprises the following steps: if the gravity center deviation value of the compensation unit is greater than or equal to a first deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a first preset condition, wherein the first preset condition comprises that the values of the first target element and the adjacent elements of the first target element are both logic 1, and the value of the second target element is logic 0; if the gravity center deviation value of the compensation unit is smaller than the first deviation threshold value and the gravity center deviation value of the compensation unit is larger than or equal to the second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a second preset condition, wherein the second preset condition comprises that the value of the first target element is logic 1, and the values of the second target element and the adjacent element of the second target element are both logic 0; and if the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0.
The first target element is an element corresponding to a pixel closest to the gravity center position of the compensation unit, and the second target element is an element corresponding to a pixel farthest from the gravity center position of the compensation unit.
Taking the example that the compensation unit comprises two pixels arranged in two rows and two columns as an example, the compensation unit comprises a first area where a first row and a first column of pixels are located, a first area where a first row and a second column of pixels are located, a first area where a second row and a second column of pixels are located, and a first area where a second row and a first column of pixels are located.
When the gravity center position of the compensation unit is in a first area where the first row and the first column of pixels are located, the first target element is a first row and first column element, and the adjacent elements of the first target element are a first row and second column element and a second row and first column element; the second target element is a second row and a second column element, and the adjacent elements of the second target element are a first row and a second column element and a second row and a first column element.
If the gravity center deviation value of the compensation unit is larger than or equal to the first deviation threshold value, the compensation matrix of the compensation unit isAt this time, the values of the first target element and the adjacent element of the first target element are both logic 1, and the value of the second target element is logic 0.
If the gravity center deviation value of the compensation unit is smaller than the first deviation threshold value and larger than or equal to the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, the value of the first target element is logic 1, and the values of the second target element and the adjacent element of the second target element are both logic 0.
If the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the gravity center position of the compensation unit is in a first area where the first row and the second column of pixels are located, the first target element is a first row and a second column of elements, and the adjacent elements of the first target element are a first row and a first column of elements and a second row and a second column of elements; the second target element is a second row and a first column element, and the adjacent elements of the second target element are a first row and a first column element and a second row and a second column element.
If the gravity center deviation value of the compensation unit is larger than or equal to the first deviation threshold value, the compensation matrix of the compensation unit isAt this time, the values of the first target element and the adjacent element of the first target element are both logic 1, and the value of the second target element is logic 0.
If the gravity center deviation value of the compensation unit is smaller than the first deviation threshold value and larger than or equal to the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, the value of the first target element is logic 1, and the values of the second target element and the adjacent element of the second target element are both logic 0.
If the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the gravity center position of the compensation unit is in a first area where second rows and second columns of pixels are located, the first target element is a second row and second column element, and adjacent elements of the first target element are a first row and second column element and a second row and first column element; the second target element is a first row and a first column element, and the adjacent elements of the second target element are a first row and a second column element and a second row and a first column element.
If the gravity center deviation value of the compensation unit is larger than or equal to the first deviation threshold value, the compensation matrix of the compensation unit isAt this time, the values of the first target element and the adjacent element of the first target element are both logic 1, and the value of the second target element is logic 0.
If the gravity center deviation value of the compensation unit is smaller than the first deviation threshold value and larger than or equal to the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, the value of the first target element is logic 1, and the values of the second target element and the adjacent element of the second target element are both logic 0.
If the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the gravity center position of the compensation unit is in a first area where the second row and the first column of pixels are located, the first target element is a second row and first column of elements, and the adjacent elements of the first target element are a first row and first column of elements and a second row and second column of elements; the second target element is a first row and a second column element, and the adjacent elements of the second target element are a first row and a first column element and a second row and a second column element.
If the gravity center deviation value of the compensation unit is larger than or equal to the first deviation threshold value, the compensation matrix of the compensation unit isAt this time, the values of the first target element and the adjacent element of the first target element are both logic 1, and the values of the second target element are different from logic 0.
If the gravity center deviation value of the compensation unit is less than the first deviation threshold value and greater than or equal to the second deviation threshold value, the compensation matrix of the compensation unit isAt this time, the value of the first target element is logic 1, and the values of the second target element and the adjacent element of the second target element are both logic 0.
If the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, compensatingThe compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
In another implementation, the deviation threshold includes a third deviation threshold when the region in which the center of gravity of the compensation unit is located includes the second region.
The method for selecting the compensation matrix of the compensation unit from a plurality of candidate compensation matrices according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit comprises the following steps: if the gravity center deviation value of the compensation unit is greater than or equal to the third deviation threshold, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a fourth preset condition, wherein the fourth preset condition comprises that the values of elements corresponding to pixels included in the area where the gravity center of the compensation unit is located are all logic 1, and the values of elements corresponding to other pixels are logic 0; and if the gravity center deviation value of the compensation unit is smaller than a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the values of all elements of the third preset condition are logic 0.
Taking the example that the compensation unit comprises two pixels arranged in two rows and two columns as an example, the compensation unit comprises a second area between a first row and a first column of pixels and a first row and a second column of pixels, a second area between the first row and the second column of pixels and a second row and a second column of pixels, a second area between a second row and a second column of pixels and a second row and a first column of pixels, and a second area between the second row and the first column of pixels and the first row and the first column of pixels.
When the area where the gravity center position of the compensation unit is located is a second area between the first row and the first column of pixels and the first row and the second column of pixels, elements corresponding to the pixels included in the area where the gravity center position of the compensation unit is located are the first row and the first column of pixels and the first row and the second column of pixels, and other elements are the second row and the first column of elements and the second row and the second column of elements.
If the gravity center deviation value of the compensation unit is greater than or equal to the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, values of elements corresponding to pixels included in the region where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0.
If the gravity center deviation value of the compensation unit is smaller than the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the area where the gravity center position of the compensation unit is located is a second area between the first row and second column of pixels and the second row and second column of pixels, elements corresponding to the pixels included in the area where the gravity center position of the compensation unit is located are the first row and second column of pixels and the second row and second column of pixels, and other elements are the first row and first column of elements and the second row and first column of elements.
If the gravity center deviation value of the compensation unit is greater than or equal to the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, values of elements corresponding to pixels included in the region where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0.
If the gravity center deviation value of the compensation unit is smaller than the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the area where the gravity center position of the compensation unit is located is a second area between the second row and the second column of pixels and the second row and the first column of pixels, elements corresponding to the pixels included in the area where the gravity center position of the compensation unit is located are the second row and the second column of pixels and the second row and the first column of pixels, and other elements are the first row and the first column of elements and the first row and the second column of elements.
If the center of gravity deviation value of the compensation unit is greater than or equal toAt the third deviation threshold, the compensation matrix of the compensation unit isAt this time, values of elements corresponding to pixels included in the region where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0.
If the gravity center deviation value of the compensation unit is smaller than the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, all the elements take the value of logic 0.
When the area where the gravity center position of the compensation unit is located is a second area between the second row and the first column of pixels and the first row and the first column of pixels, elements corresponding to the pixels included in the area where the gravity center position of the compensation unit is located are the second row and the first column of pixels and the first row and the first column of pixels, and other elements are the first row and the second column of elements and the second row and the second column of elements.
If the gravity center deviation value of the compensation unit is greater than or equal to the third deviation threshold value, the compensation matrix of the compensation unit isAt this time, the values of the elements corresponding to the pixels included in the region of the gravity center position of the compensation unit are all logic 1, and the values of the elements corresponding to other pixels are all logic 0.
If the gravity center deviation value of the compensation unit is smaller than the third deviation threshold value, the compensation matrix of the compensation unit isOrAt this time, all the elements take the value of logic 0.
Illustratively, the first deviation threshold is a gray level of 1.5, the second deviation threshold is a gray level of 0.5, and the third deviation threshold is a gray level of 1.5.
The following is described with reference to a specific example:
assuming that the compensation unit comprises four pixels arranged in two rows and two columns, the coordinates of the first row and the first column of pixels are (-1, +1), and the original compensation value is + 1; the coordinates of the pixels of the first row and the second column are (+1 and +1), and the original compensation value is + 1.5; the coordinates of the second row and the first column are (-1, -1), and the original compensation value is + 0.5; the coordinates of the second row and second column pixels are (+1, -1) and the original offset value is + 2.
The total compensation value of the compensation unit is calculated to be 5 by adopting the formula (1), the average compensation value of the compensation unit is calculated to be 1.25 by adopting the formula (2), the gravity center positions of the compensation unit are calculated to be (0.4, 0) by adopting the formula (3) and the formula (4), and the gravity center deviation value of the compensation unit is calculated to be 2 by adopting the formula (5).
Since the region where the barycentric position of the compensation unit is located is the second region between the first row and second column pixels and the second row and second column pixels, the acquired candidate compensation matrices include the following two compensation matrices:since the gravity center deviation value of the compensation unit is larger than the first deviation threshold value, the compensation matrix of the compensation unit is
In one embodiment, as shown in fig. 5, a compensation method for a display panel is correspondingly provided, which is described by taking the method as an example for being applied to the driving chip in fig. 1, and includes the following steps:
step S502, determining a unit to be compensated of the display panel.
The unit to be compensated comprises a plurality of pixels.
Step S504, a compensation average value and a compensation matrix determined according to the original compensation value of each pixel in the unit to be compensated are obtained by the unit to be compensated.
The compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
Step S506, according to the compensation average value and the compensation matrix of the unit to be compensated, the restoration compensation value of each pixel in the unit to be compensated is determined.
In this embodiment, in addition to the compensation average value, there is a compensation matrix that characterizes the distribution of the original compensation values of each pixel in the compensation unit, and the compensation matrix can be used to obtain the distribution of the original compensation values of each pixel in the compensation unit, so that the restored compensation values of each pixel determined by combining the compensation average values of the compensation unit have the distribution characteristics of the original compensation values of each pixel, thereby reducing the difference between the restored compensation values and the original compensation values of each pixel, and improving the demura effect.
In one embodiment, as shown in fig. 6, determining the restored compensation value of each pixel in the to-be-compensated cell according to the compensated average value and the compensation matrix of the to-be-compensated cell includes:
step S602, determining the number of first pixels and the number of second pixels in the to-be-compensated unit according to the compensation matrix of the to-be-compensated unit.
And the values of corresponding elements of the first pixel and the second pixel are different. For example, the first pixel is an element taking a logic 1 value, and the second pixel is an element taking a logic 0 value.
Step S604, determining a restoration compensation value of the first pixel and a restoration compensation value of the second pixel in the to-be-compensated unit according to the compensation average value of the to-be-compensated unit, the number of the first pixels and the number of the second pixels in the to-be-compensated unit, and the compensation difference value between the first pixels and the second pixels.
Specifically, the restoration compensation value of the first pixel in the compensation unit is determined using formula (6), and the restoration compensation value of the second pixel in the compensation unit is determined using formula (7):
wherein r1 is the restored compensation value of the first pixel in the compensation unit, r2 is the restored compensation value of the second pixel in the compensation unit,for the compensation average value of the compensation unit, N1 is the number of first pixels in the compensation unit, N2 is the number of second pixels in the compensation unit, and c is the compensation difference value between the first pixels and the second pixels.
Step S606, determining a restoration compensation value of each pixel in the to-be-compensated unit according to the compensation matrix of the to-be-compensated unit, the restoration compensation value of the first pixel in the to-be-compensated unit, and the restoration compensation value of the second pixel.
In an optional embodiment, when the number of elements taking a value of logic 0 in the compensation matrix is smaller than the number of elements taking a value of logic 1 in the compensation matrix, the compensation difference value is a first difference value; when the number of the elements with the value of logic 0 in the compensation matrix is greater than or equal to the number of the elements with the value of logic 1 in the compensation matrix, the compensation difference value is a second difference value; wherein the second difference value is smaller than the first difference value; when the values of the elements in the compensation matrix are all logic 0, the compensation difference value is 0.
Optionally, the to-be-compensated unit includes four pixels arranged in two rows and two columns, and the compensation matrix of the to-be-compensated unit includes four elements arranged in two rows and two columns; wherein the content of the first and second substances,
when the number of elements with the value of logic 0 in the compensation matrix is one, and/or the number of elements with the value of logic 1 in the compensation matrix is three, the compensation difference value is a first difference value;
when the number of the elements with the value of logic 0 in the compensation matrix is three, and/or the number of the elements with the value of logic 1 in the compensation matrix is one, or when the number of the elements with the value of logic 0 in the compensation matrix is two, and/or the number of the elements with the value of logic 1 in the compensation matrix is two, the compensation difference value is a second difference value, and the second difference value is smaller than the first difference value; when the number of elements taking the value of logic 0 in the compensation matrix is four, the compensation difference value is 0.
Illustratively, the first difference value is a gray level of 2, and the second difference value is a gray level of 1.
The following description is continued with reference to a specific example above:
the unit to be compensated comprises four pixels arranged in two rows and two columns, and the original compensation value of each pixel is expressed as matrix
After compression, the compensation average value of the unit to be compensated is 1.25, and the compensation matrix of the unit to be compensated is
And obtaining the number of the first pixels in the unit to be compensated to be 2 and the number of the second pixels to be 2 based on the compensation matrix of the unit to be compensated. And calculating the restoration compensation value of the first pixel in the unit to be compensated to be 1.75 by adopting a formula (6), and calculating the restoration compensation value of the second pixel in the unit to be compensated to be 0.75 by adopting a formula (7). Based on the compensation matrix of the unit to be compensated, the restoration compensation value of the first pixel and the restoration compensation value of the second pixel in the unit to be compensated, the restoration compensation value of each pixel in the unit to be compensated is obtained and expressed as a matrix
In the embodiment of the present application, the standard deviation between the restored compensation value and the original compensation value of each pixel is 0.5.
If the prior art is adopted, the restoration compensation value of each pixel in the unit to be compensated is the compensation average value of the unit to be compensated, namelyThe standard deviation of the restored compensation value from the original compensation value for each pixel is 1.118.
The compensation average value and the compensation matrix of the embodiment of the application and the compensation average value of the prior art are respectively adopted to obtain the recovery compensation values obtained by compressing and decompressing the original compensation values of the pixels with different colors, the deviation values of the recovery compensation values and the original compensation values are calculated, and the proportion of the deviation values with various sizes is counted.
Statistics shows that by adopting the restoration compensation value obtained by compressing and decompressing the original compensation value of the red pixel in the prior art, the ratio of the restoration compensation value to the original compensation value being equal to 1 gray scale is 24.82%, the ratio of the restoration compensation value to the original compensation value being equal to 2 gray scale is 2.43%, and the ratio of the restoration compensation value to the original compensation value being greater than or equal to 3 gray scale is 0.31%.
The original compensation value of the green pixel is compressed and decompressed to obtain a restored compensation value by adopting the prior art, the deviation value of the restored compensation value and the original compensation value is equal to 32.72 percent of the proportion occupied by 1 gray scale, the deviation value of the restored compensation value and the original compensation value is equal to 9.67 percent of the proportion occupied by 2 gray scale, and the deviation value of the restored compensation value and the original compensation value is greater than or equal to 3 gray scale, and the proportion occupied by 2.73 percent of the gray scale.
The original compensation value of the blue pixel is compressed and decompressed to obtain a restored compensation value by adopting the prior art, the ratio of the restored compensation value to the original compensation value which is equal to 1 gray scale to 29.94%, the ratio of the restored compensation value to the original compensation value which is equal to 2 gray scale to 5.01%, and the ratio of the restored compensation value to the original compensation value which is greater than or equal to 3 gray scale to 0.62%.
By adopting the restoration compensation value obtained by compressing and decompressing the original compensation value of the red pixel, the ratio of the deviation value of the restoration compensation value and the original compensation value to 1 gray scale is 11.11%, the ratio of the deviation value of the restoration compensation value and the original compensation value to 2 gray scale is 0.28%, and the ratio of the deviation value of the restoration compensation value and the original compensation value to 3 gray scale is 0.06%.
By adopting the restoration compensation value obtained by compressing and decompressing the original compensation value of the green pixel in the embodiment of the application, the ratio of the restoration compensation value to the original compensation value being equal to 1 gray scale is 22.72%, the ratio of the restoration compensation value to the original compensation value being equal to 2 gray scale is 2.56%, and the ratio of the restoration compensation value to the original compensation value being greater than or equal to 3 gray scale is 0.37%.
By adopting the restoration compensation value obtained by compressing and decompressing the original compensation value of the blue pixel, the ratio of the restoration compensation value to the original compensation value is 18.40% when the deviation value is equal to 1 gray scale, the ratio of the restoration compensation value to the original compensation value is 0.81% when the deviation value is equal to 2 gray scale, and the ratio of the restoration compensation value to the original compensation value when the deviation value is greater than or equal to 3 gray scale is 0.10%.
Therefore, the method and the device can effectively reduce the deviation between the restoration compensation value and the original compensation value of each pixel, improve the voltage drop compensation effect of the driving voltage of each pixel, and have a good demura effect.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a data processing apparatus for implementing the data processing method, and a display panel compensation apparatus for implementing the display panel compensation method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more embodiments of the data processing device provided below may refer to the limitations in the data processing method above, and the specific limitations in one or more embodiments of the display panel compensation device may refer to the limitations in the display panel compensation method above, which are not described herein again.
In one embodiment, as shown in fig. 7, there is provided a data processing apparatus 700 comprising: a compensation value obtaining module 701 and a data determining module 702, wherein:
the compensation value obtaining module 701 is configured to obtain an original compensation value of each pixel in at least one compensation unit of a display panel, where the display panel includes a plurality of compensation units, and the compensation unit includes a plurality of pixels.
The data determining module 702 is configured to determine a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, where the compensation matrix includes multiple elements, a value of each element is logic 0 or logic 1, and the compensation matrix is used to represent a distribution characteristic of the original compensation value of each pixel in the compensation unit.
In one embodiment, the elements in the compensation matrix correspond to the pixels in the compensation unit in a one-to-one manner, and the position of an element in the compensation matrix is the same as the position of the pixel corresponding to the element in the compensation unit.
In one embodiment, the data determination module 702 includes: a numerical value determining unit and a matrix determining unit, wherein:
and the numerical value determining unit is used for determining the gravity center position and the gravity center deviation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit.
And the matrix determining unit is used for determining the compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit.
In one embodiment, a two-dimensional coordinate system is constructed from the respective pixel locations in the compensation unit, the two-dimensional coordinate system having the center of the compensation unit as the origin of coordinates.
The numerical value determining unit is specifically used for determining a total compensation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit; determining the gravity center position of the compensation unit according to the coordinate value and the original compensation value of each pixel in the same compensation unit and the compensation total value of the compensation unit; and determining the gravity center deviation value of the compensation unit according to the coordinate origin, the gravity center position and the total compensation value of the same compensation unit.
In one embodiment, the compensation unit includes a plurality of regions including a first region in which one pixel is located or a second region between two adjacent pixels.
The matrix determining unit is specifically used for determining the area where the gravity center position of the compensating unit is located according to the gravity center position of the compensating unit; and determining a compensation matrix of the compensation unit according to the region of the gravity center position of the same compensation unit and the gravity center deviation value.
In an embodiment, the matrix determining unit is specifically configured to obtain a plurality of candidate compensation matrices according to an area where a barycentric position of the compensation unit is located, where a value of a first target element in the candidate compensation matrices is logic 1 or values of all elements are logic 0, and the first target element is an element corresponding to a pixel closest to the barycentric position of the compensation unit; and selecting a compensation matrix of the compensation unit from the candidate compensation matrixes according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit.
In one embodiment, when the region in which the center of gravity position of the compensation unit is located includes the first region, the deviation threshold includes a first deviation threshold and a second deviation threshold, wherein the second deviation threshold is smaller than the first deviation threshold.
The matrix determination unit is specifically configured to select a compensation matrix of the compensation unit from the multiple candidate compensation matrices according to a first preset condition if the barycentric deviation value of the compensation unit is greater than or equal to a first deviation threshold, where the first preset condition includes that values of a first target element and adjacent elements of the first target element are both logical 1, a value of a second target element is logical 0, and the second target element is an element corresponding to a pixel farthest from the barycentric position of the compensation unit; if the gravity center deviation value of the compensation unit is smaller than the first deviation threshold value and the gravity center deviation value of the compensation unit is larger than or equal to the second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a second preset condition, wherein the second preset condition comprises that the first target element is logic 1, and the values of the second target element and the adjacent elements of the second target element are logic 0; and if the gravity center deviation value of the compensation unit is smaller than the second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0.
In one embodiment, when the region in which the center of gravity position of the compensation unit is located includes the second region, the deviation threshold includes a third deviation threshold.
The matrix determination unit is specifically configured to select a compensation matrix of the compensation unit from the multiple candidate compensation matrices according to a fourth preset condition if the gravity center deviation value of the compensation unit is greater than or equal to the third deviation threshold, where the fourth preset condition includes that values of elements corresponding to pixels included in an area where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0; and if the gravity center deviation value of the compensation unit is smaller than a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0.
In one embodiment, as shown in fig. 8, there is provided a display panel compensation apparatus 800 including: a unit to be compensated determining module 801, a compensation data obtaining module 802, and a compensation value determining module 803, wherein:
a to-be-compensated unit determining module 801, configured to determine a to-be-compensated unit of a display panel, where the to-be-compensated unit includes a plurality of pixels.
The compensation data obtaining module 802 is configured to obtain a compensation average value and a compensation matrix, which are determined according to an original compensation value of each pixel in the to-be-compensated unit, where the compensation matrix includes a plurality of elements, a value of each element is logic 0 or logic 1, and the compensation matrix is used to represent a distribution characteristic of the original compensation value of each pixel in the compensation unit.
And the compensation value determining module 803 is configured to determine a restoration compensation value of each pixel in the to-be-compensated unit according to the compensation average value and the compensation matrix of the to-be-compensated unit.
In an embodiment, the compensation value determining module 803 is specifically configured to determine, according to a compensation matrix of a unit to be compensated, the number of first pixels and the number of second pixels in the unit to be compensated, where a value of an element corresponding to the first pixel is logic 1, and a value of an element corresponding to the second pixel is logic 0; determining a restoration compensation value of the first pixel and a restoration compensation value of the second pixel in the unit to be compensated according to the compensation average value of the unit to be compensated, the number of the first pixels and the number of the second pixels in the unit to be compensated, and the compensation difference value of the first pixels and the second pixels; and determining the restoration compensation value of each pixel in the unit to be compensated according to the compensation matrix of the unit to be compensated, the restoration compensation value of the first pixel in the unit to be compensated and the restoration compensation value of the second pixel.
In one embodiment, the display panel compensation apparatus 800 further includes: a difference value determination module, wherein:
the difference value determining module is used for determining that the compensation difference value is a first difference value when the number of the elements with the value of logic 0 in the compensation matrix is smaller than the number of the elements with the value of logic 1 in the compensation matrix; when the number of the elements with the value of logic 0 in the compensation matrix is greater than or equal to the number of the elements with the value of logic 1 in the compensation matrix, the compensation difference value is a second difference value; wherein the second difference value is smaller than the first difference value; when the values of the elements in the compensation matrix are all logic 0, the compensation difference value is 0.
The modules in the data processing device and the display panel compensation device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a display driver chip is provided, and an internal structural diagram thereof may be as shown in fig. 9. The display driving chip comprises a processor, a memory and a network interface which are connected through a system bus. Wherein, the processor of the display driving chip is used for providing calculation and control capability. The memory of the display driving chip includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method or a display panel compensation method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a display driver chip is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of the embodiments described above.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (10)
1. A method of data processing, the method comprising:
acquiring an original compensation value of each pixel in at least one compensation unit of a display panel, wherein the display panel comprises a plurality of compensation units, and the compensation units comprise a plurality of pixels;
and determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
2. The method of claim 1, wherein the elements in the compensation matrix correspond to the pixels in the compensation unit one to one, and a position of one of the elements in the compensation matrix is the same as a position of the pixel corresponding to the element in the compensation unit.
3. The method according to claim 2, wherein the determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit comprises:
determining the gravity center position and the gravity center deviation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit;
and determining a compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit.
4. The method of claim 3, wherein a two-dimensional coordinate system is constructed according to each pixel position in a compensation unit, and the two-dimensional coordinate system takes the center of the compensation unit as a coordinate origin;
the determining the gravity center position and the gravity center deviation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit comprises:
determining a total compensation value of the compensation unit according to the original compensation value of each pixel in the same compensation unit;
determining the gravity center position of the compensation unit according to the coordinate value and the original compensation value of each pixel in the same compensation unit and the compensation total value of the compensation unit;
and determining the gravity center deviation value of the compensation unit according to the coordinate origin, the gravity center position and the compensation total value of the same compensation unit.
5. The method according to claim 4, wherein the compensation unit comprises a plurality of regions, the regions comprising a first region where one of the pixels is located or a second region between two adjacent pixels;
the determining a compensation matrix of the compensation unit according to the gravity center position and the gravity center deviation value of the same compensation unit includes:
determining the area where the gravity center position of the compensation unit is located according to the gravity center position of the compensation unit;
and determining a compensation matrix of the compensation unit according to the region of the gravity center position of the same compensation unit and the gravity center deviation value.
6. The method according to claim 5, wherein determining the compensation matrix of the compensation unit according to the region of the center of gravity position and the center of gravity deviation value of the same compensation unit comprises:
acquiring a plurality of candidate compensation matrixes according to the area of the gravity center position of the compensation unit, wherein the value of a first target element in the candidate compensation matrixes is logic 1 or the value of all elements is logic 0, and the first target element is an element corresponding to a pixel closest to the gravity center position of the compensation unit;
selecting a compensation matrix of the compensation unit from the candidate compensation matrices according to the magnitude relation between the gravity center deviation value and the deviation threshold value of the compensation unit;
preferably, when the region in which the center of gravity position of the compensation unit is located includes the first region, the deviation threshold includes a first deviation threshold and a second deviation threshold, wherein the second deviation threshold is smaller than the first deviation threshold;
the selecting a compensation matrix of the compensation unit from the plurality of candidate compensation matrices according to the magnitude relationship between the gravity center deviation value and the deviation threshold value of the compensation unit includes:
if the gravity center deviation value of the compensation unit is greater than or equal to a first deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a first preset condition, wherein the first preset condition comprises that the values of the first target element and the adjacent elements of the first target element are both logic 1, the value of a second target element is logic 0, and the second target element is an element corresponding to a pixel farthest from the gravity center position of the compensation unit;
if the barycentric deviation value of the compensation unit is smaller than the first deviation threshold value and the barycentric deviation value of the compensation unit is larger than or equal to a second deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a second preset condition, wherein the second preset condition comprises that the first target element is logic 1, and the values of the second target element and the adjacent elements of the second target element are both logic 0;
if the gravity center deviation value of the compensation unit is smaller than the second deviation threshold, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0;
preferably, when the region in which the center of gravity position of the compensation unit is located includes the second region, the deviation threshold includes a third deviation threshold;
the selecting a compensation matrix of the compensation unit from the plurality of candidate compensation matrices according to the magnitude relationship between the gravity center deviation value and the deviation threshold value of the compensation unit includes:
if the gravity center deviation value of the compensation unit is greater than or equal to a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a fourth preset condition, wherein the fourth preset condition comprises that values of elements corresponding to pixels included in an area where the gravity center position of the compensation unit is located are all logic 1, and values of elements corresponding to other pixels are all logic 0;
and if the gravity center deviation value of the compensation unit is smaller than a third deviation threshold value, selecting the compensation matrix of the compensation unit from the candidate compensation matrices according to a third preset condition, wherein the third preset condition comprises that the values of all elements are logic 0.
7. A method for compensating a display panel, the method comprising:
determining a unit to be compensated of a display panel, wherein the unit to be compensated comprises a plurality of pixels;
obtaining a compensation average value and a compensation matrix determined by the original compensation value of each pixel in the to-be-compensated unit according to the to-be-compensated unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit;
and determining the restoration compensation value of each pixel in the unit to be compensated according to the compensation average value and the compensation matrix of the unit to be compensated.
8. The method according to claim 7, wherein the elements in the compensation matrix correspond to the pixels in the compensation unit one by one, and the position of one element in the compensation matrix is the same as the position of the pixel corresponding to the element in the compensation unit;
preferably, the determining the restoration compensation value of each pixel in the to-be-compensated unit according to the compensation average value and the compensation matrix of the to-be-compensated unit includes:
determining the number of first pixels and the number of second pixels in the unit to be compensated according to the compensation matrix of the unit to be compensated, wherein the value of the corresponding element of the first pixel is logic 1, and the value of the corresponding element of the second pixel is logic 0;
determining a restoration compensation value of the first pixel and a restoration compensation value of the second pixel in the unit to be compensated according to the compensation average value of the unit to be compensated, the number of the first pixels and the number of the second pixels in the unit to be compensated, and the compensation difference value of the first pixels and the second pixels;
determining a restoration compensation value of each pixel in the unit to be compensated according to the compensation matrix of the unit to be compensated, the restoration compensation value of the first pixel in the unit to be compensated and the restoration compensation value of the second pixel;
preferably, when the number of elements taking a value of logic 0 in the compensation matrix is smaller than the number of elements taking a value of logic 1 in the compensation matrix, the compensation difference value is a first difference value;
when the number of elements with a value of logic 0 in the compensation matrix is greater than or equal to the number of elements with a value of logic 1 in the compensation matrix, the compensation difference value is a second difference value; wherein the second difference value is less than the first difference value;
when the values of the elements in the compensation matrix are all logic 0, the compensation difference value is 0;
preferably, the unit to be compensated includes four pixels arranged in two rows and two columns, and the compensation matrix of the unit to be compensated includes four elements arranged in two rows and two columns; wherein the content of the first and second substances,
when the number of elements with a value of logic 0 in the compensation matrix is one, and/or the number of elements with a value of logic 1 in the compensation matrix is three, the compensation difference value is a first difference value;
when the number of elements with a value of logic 0 in the compensation matrix is three, and/or the number of elements with a value of logic 1 in the compensation matrix is one, or when the number of elements with a value of logic 0 in the compensation matrix is two, and/or the number of elements with a value of logic 1 in the compensation matrix is two, the compensation difference value is a second difference value, and the second difference value is smaller than the first difference value;
and when the number of the elements with the value of logic 0 in the compensation matrix is four, the compensation difference value is 0.
9. A data processing apparatus, characterized in that the apparatus comprises:
a compensation value obtaining module, configured to obtain an original compensation value of each pixel in at least one compensation unit of a display panel, where the display panel includes a plurality of the compensation units, and the compensation units include a plurality of the pixels;
and the data determining module is used for determining a compensation average value and a compensation matrix of the compensation unit according to the original compensation value of each pixel in the same compensation unit, wherein the compensation matrix comprises a plurality of elements, the value of each element is logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit.
10. A display panel compensation apparatus, the apparatus comprising:
the device comprises a to-be-compensated unit determining module, a compensation module and a compensation module, wherein the to-be-compensated unit determining module is used for determining a to-be-compensated unit of a display panel, and the to-be-compensated unit comprises a plurality of pixels;
the compensation data acquisition module is used for acquiring a compensation average value and a compensation matrix determined by the original compensation value of each pixel in the to-be-compensated unit according to the to-be-compensated unit, wherein the compensation matrix comprises a plurality of elements, the values of the elements are logic 0 or logic 1, and the compensation matrix is used for representing the distribution characteristics of the original compensation value of each pixel in the compensation unit;
and the compensation value determining module is used for determining the restoration compensation value of each pixel in the unit to be compensated according to the compensation average value and the compensation matrix of the unit to be compensated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210534471.5A CN114822397B (en) | 2022-05-17 | 2022-05-17 | Data processing method and device, display panel compensation method and device |
PCT/CN2022/116118 WO2023221333A1 (en) | 2022-05-17 | 2022-08-31 | Data processing method and apparatus, and display panel compensation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210534471.5A CN114822397B (en) | 2022-05-17 | 2022-05-17 | Data processing method and device, display panel compensation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114822397A true CN114822397A (en) | 2022-07-29 |
CN114822397B CN114822397B (en) | 2023-11-17 |
Family
ID=82515823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210534471.5A Active CN114822397B (en) | 2022-05-17 | 2022-05-17 | Data processing method and device, display panel compensation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114822397B (en) |
WO (1) | WO2023221333A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023221333A1 (en) * | 2022-05-17 | 2023-11-23 | 昆山国显光电有限公司 | Data processing method and apparatus, and display panel compensation method and apparatus |
CN118098126A (en) * | 2024-04-26 | 2024-05-28 | 瑞旦微电子技术(上海)有限公司 | Demura data storage method and display device |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465092A (en) * | 2007-12-20 | 2009-06-24 | 统宝光电股份有限公司 | Image display system and method for eliminating moire defect |
CN101968947A (en) * | 2009-07-27 | 2011-02-09 | 友达光电股份有限公司 | Display device system and method for eliminating display device brightness uniformity |
CN102376292A (en) * | 2011-09-13 | 2012-03-14 | 广东威创视讯科技股份有限公司 | Display unit brightness correcting method |
WO2016090733A1 (en) * | 2014-12-10 | 2016-06-16 | 深圳市华星光电技术有限公司 | Pixel grey scale compensation value obtain method |
CN106782300A (en) * | 2016-11-11 | 2017-05-31 | 深圳市华星光电技术有限公司 | The offset data processing method of OLED display panel |
CN106847157A (en) * | 2017-03-24 | 2017-06-13 | 上海天马有机发光显示技术有限公司 | The luminance compensation method and device of a kind of display panel |
CN108231016A (en) * | 2017-12-21 | 2018-06-29 | 南京中电熊猫平板显示科技有限公司 | A kind of display panel pixel luminance compensation control method and device |
CN108766351A (en) * | 2018-07-25 | 2018-11-06 | 昆山国显光电有限公司 | Display panel and offset data transfer check method |
WO2019100553A1 (en) * | 2017-11-23 | 2019-05-31 | 深圳市华星光电半导体显示技术有限公司 | Mura phenomenon compensation method and apparatus thereof |
CN110176210A (en) * | 2018-07-27 | 2019-08-27 | 京东方科技集团股份有限公司 | Display driving, compression/decompression method and device, display device, storage medium |
CN111009207A (en) * | 2019-12-25 | 2020-04-14 | 武汉天马微电子有限公司 | Method and device for improving display unevenness of display screen |
KR20200066831A (en) * | 2018-12-03 | 2020-06-11 | (주)나이시스 | The non-uniforom compensation method of AMOLED display panel |
CN111276083A (en) * | 2020-01-16 | 2020-06-12 | 深圳市爱协生科技有限公司 | Demura Table data compression method and decompression method |
CN111312172A (en) * | 2020-03-13 | 2020-06-19 | 合肥鑫晟光电科技有限公司 | Image processing method |
CN111968563A (en) * | 2020-09-08 | 2020-11-20 | 京东方科技集团股份有限公司 | Brightness compensation method, device and system of display panel, display panel and medium |
CN112927640A (en) * | 2019-12-05 | 2021-06-08 | 敦泰电子股份有限公司 | Data compression method and storage device for locally compensating uneven brightness of display picture |
CN113504992A (en) * | 2021-07-21 | 2021-10-15 | 昆山国显光电有限公司 | Compensation data compression method, compensation device and compensation equipment of display panel |
CN113658536A (en) * | 2021-08-17 | 2021-11-16 | 苏州华兴源创科技股份有限公司 | Storage method of pixel point compensation data and pixel point compensation method |
CN114120915A (en) * | 2021-11-11 | 2022-03-01 | 合肥维信诺科技有限公司 | Data compression method and device and data decompression method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109672451B (en) * | 2018-12-24 | 2023-06-23 | 哈尔滨工业大学(深圳) | demura data compression method, and mura compensation method and device |
CN112216236A (en) * | 2019-07-09 | 2021-01-12 | 陕西坤同半导体科技有限公司 | Display panel compensation method, device and system |
CN114822397B (en) * | 2022-05-17 | 2023-11-17 | 昆山国显光电有限公司 | Data processing method and device, display panel compensation method and device |
-
2022
- 2022-05-17 CN CN202210534471.5A patent/CN114822397B/en active Active
- 2022-08-31 WO PCT/CN2022/116118 patent/WO2023221333A1/en unknown
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465092A (en) * | 2007-12-20 | 2009-06-24 | 统宝光电股份有限公司 | Image display system and method for eliminating moire defect |
CN101968947A (en) * | 2009-07-27 | 2011-02-09 | 友达光电股份有限公司 | Display device system and method for eliminating display device brightness uniformity |
CN102376292A (en) * | 2011-09-13 | 2012-03-14 | 广东威创视讯科技股份有限公司 | Display unit brightness correcting method |
WO2016090733A1 (en) * | 2014-12-10 | 2016-06-16 | 深圳市华星光电技术有限公司 | Pixel grey scale compensation value obtain method |
CN106782300A (en) * | 2016-11-11 | 2017-05-31 | 深圳市华星光电技术有限公司 | The offset data processing method of OLED display panel |
CN106847157A (en) * | 2017-03-24 | 2017-06-13 | 上海天马有机发光显示技术有限公司 | The luminance compensation method and device of a kind of display panel |
WO2019100553A1 (en) * | 2017-11-23 | 2019-05-31 | 深圳市华星光电半导体显示技术有限公司 | Mura phenomenon compensation method and apparatus thereof |
CN108231016A (en) * | 2017-12-21 | 2018-06-29 | 南京中电熊猫平板显示科技有限公司 | A kind of display panel pixel luminance compensation control method and device |
CN108766351A (en) * | 2018-07-25 | 2018-11-06 | 昆山国显光电有限公司 | Display panel and offset data transfer check method |
WO2020019902A1 (en) * | 2018-07-27 | 2020-01-30 | 京东方科技集团股份有限公司 | Display drive, compression/decompression method and device, display device, and storage medium |
CN110176210A (en) * | 2018-07-27 | 2019-08-27 | 京东方科技集团股份有限公司 | Display driving, compression/decompression method and device, display device, storage medium |
KR20200066831A (en) * | 2018-12-03 | 2020-06-11 | (주)나이시스 | The non-uniforom compensation method of AMOLED display panel |
CN112927640A (en) * | 2019-12-05 | 2021-06-08 | 敦泰电子股份有限公司 | Data compression method and storage device for locally compensating uneven brightness of display picture |
CN111009207A (en) * | 2019-12-25 | 2020-04-14 | 武汉天马微电子有限公司 | Method and device for improving display unevenness of display screen |
CN111276083A (en) * | 2020-01-16 | 2020-06-12 | 深圳市爱协生科技有限公司 | Demura Table data compression method and decompression method |
CN111312172A (en) * | 2020-03-13 | 2020-06-19 | 合肥鑫晟光电科技有限公司 | Image processing method |
CN111968563A (en) * | 2020-09-08 | 2020-11-20 | 京东方科技集团股份有限公司 | Brightness compensation method, device and system of display panel, display panel and medium |
CN113504992A (en) * | 2021-07-21 | 2021-10-15 | 昆山国显光电有限公司 | Compensation data compression method, compensation device and compensation equipment of display panel |
CN113658536A (en) * | 2021-08-17 | 2021-11-16 | 苏州华兴源创科技股份有限公司 | Storage method of pixel point compensation data and pixel point compensation method |
CN114120915A (en) * | 2021-11-11 | 2022-03-01 | 合肥维信诺科技有限公司 | Data compression method and device and data decompression method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023221333A1 (en) * | 2022-05-17 | 2023-11-23 | 昆山国显光电有限公司 | Data processing method and apparatus, and display panel compensation method and apparatus |
CN118098126A (en) * | 2024-04-26 | 2024-05-28 | 瑞旦微电子技术(上海)有限公司 | Demura data storage method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN114822397B (en) | 2023-11-17 |
WO2023221333A1 (en) | 2023-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108877740B (en) | Method and device for acquiring Mura compensation data, computer equipment and storage medium | |
CN114822397B (en) | Data processing method and device, display panel compensation method and device | |
US10984698B2 (en) | Method of performing an image-adaptive tone mapping and display device employing the same | |
CN110648627B (en) | Mura phenomenon compensation method, compensation device, display device and electronic equipment | |
WO2018223486A1 (en) | Compensation table storage method for oled display panel | |
CN111599307B (en) | Pixel compensation method of OLED display panel and information processing device | |
CN110033736B (en) | Method of driving display panel and organic light emitting display device using the same | |
CN110246470B (en) | Method for performing image adaptive tone mapping and display apparatus employing the same | |
CN112927640A (en) | Data compression method and storage device for locally compensating uneven brightness of display picture | |
CN110349537B (en) | Display compensation method, device, computer equipment and storage medium | |
CN110021271B (en) | Optical compensation method, optical compensation system, display method and display device | |
CN114138224B (en) | Rendering method and device for sub-pixels in image, computer equipment and storage medium | |
CN110767170A (en) | Picture display method and picture display device | |
CN114120915A (en) | Data compression method and device and data decompression method and device | |
TWI715334B (en) | Data compression method and storage device having compensation values generated by the same | |
CN116843566A (en) | Tone mapping method, tone mapping device, display device and storage medium | |
US12020666B2 (en) | System and method for variable area-based compensation of burn-in in display panels | |
CN114613329B (en) | Data processing method and device, and brightness compensation method and device | |
CN113963658B (en) | Brightness compensation method, brightness data determination method, device and chip | |
CN114420027A (en) | Method, device, equipment and medium for improving PPI display | |
TW202147292A (en) | Pixel compensation method of OLED display panel and information processing device using the same capable of instantly and dynamically adjusting the Demura pixel compensation table written into a flash memory at factory | |
CN118069085A (en) | Display screen Mura elimination method, device, equipment, medium and product | |
CN116129816A (en) | Pixel rendering method, device, computer equipment and storage medium | |
CN116645428A (en) | Image display method, device, computer equipment and storage medium | |
CN117037709A (en) | Display panel control method, device, computer equipment and storage medium |
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 |