CN112740667A - Display compensation method, device and terminal - Google Patents
Display compensation method, device and terminal Download PDFInfo
- Publication number
- CN112740667A CN112740667A CN201880095896.2A CN201880095896A CN112740667A CN 112740667 A CN112740667 A CN 112740667A CN 201880095896 A CN201880095896 A CN 201880095896A CN 112740667 A CN112740667 A CN 112740667A
- Authority
- CN
- China
- Prior art keywords
- brightness
- picture
- tested
- value
- type
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000007547 defect Effects 0.000 claims abstract description 138
- 238000012360 testing method Methods 0.000 claims abstract description 39
- 238000009826 distribution Methods 0.000 claims description 57
- 238000012937 correction Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 claims description 13
- 238000001914 filtration Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 10
- 238000009828 non-uniform distribution Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 241001270131 Agaricus moelleri Species 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 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
- 238000005192 partition Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses a method, a device and a terminal for display compensation, wherein the method for display compensation comprises the following steps: acquiring an original brightness value of each pixel in a picture to be tested under a test gray scale; determining the brightness defect type of the picture to be tested according to the original brightness value; calculating a target brightness value corresponding to the brightness defect type of the picture to be tested; and compensating the to-be-tested picture according to the target brightness value. The display pictures are classified, and the compensation data are calculated in different modes, so that the accuracy of the compensation data can be improved, and the compensation effect is improved.
Description
The embodiment of the application relates to the technical field of display, in particular to a method, a device and a terminal for display compensation.
With the development of display technology, people have higher and higher requirements on display effects. The current display panel often has the problem of uneven display, and in order to solve the problem, the following method is generally adopted to perform display compensation on the display panel: luminance data of the display panel is acquired by an image sensor (CCD), compensation processing is performed on the luminance data, and the generated compensation data is called by hardware (e.g., a processor).
However, the compensation data calculated by the traditional method is not accurate enough, and the compensation effect is not good.
Disclosure of Invention
The embodiment of the application provides a method, a device and a terminal for displaying compensation, which can improve the accuracy of compensation data.
The embodiment of the application solves the technical problem and provides the following technical scheme:
a method of display compensation, comprising:
acquiring an original brightness value of each pixel in a picture to be tested under a test gray scale;
determining the brightness defect type of the picture to be tested according to the original brightness value;
calculating a target brightness value corresponding to the brightness defect type of the picture to be tested;
and compensating the to-be-tested picture according to the target brightness value.
The embodiment of the application also provides the following technical scheme for solving the technical problems:
an apparatus for display compensation, comprising:
the original brightness acquisition module is used for acquiring the original brightness value of each pixel in the picture to be tested under the test gray scale;
the type determining module is used for determining the brightness defect type of the picture to be tested according to the original brightness value;
the target brightness calculation module is used for calculating a target brightness value corresponding to the brightness defect type of the picture to be tested;
and the compensation module is used for compensating the picture to be tested according to the target brightness value.
The embodiment of the application also provides the following technical scheme for solving the technical problems:
a terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of display compensation described above.
The embodiment of the application also provides the following technical scheme for solving the technical problems:
a non-transitory computer-readable storage medium having stored thereon computer-executable instructions for enabling a user terminal to perform the above-described method of display compensation.
Compared with the prior art, the display compensation method provided by the embodiment of the application determines the brightness defect type of the picture to be tested by acquiring the original brightness value of each pixel in the picture to be tested under the test gray scale and classifying the picture to be tested according to the original brightness value, calculates the target brightness value corresponding to the brightness defect type of the picture to be tested in different calculation modes, and compensates the picture to be tested according to the target brightness value, so that the accuracy of compensation data can be improved, and the compensation effect is improved.
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below. It is obvious that the drawings described below are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of a display panel according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a method for display compensation according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating brightness defect types provided by an embodiment of the present application;
fig. 4 is a schematic flowchart of S220 in the method for display compensation according to the embodiment of the present application;
5a-5c are schematic diagrams illustrating a flow of S230 in the method for display compensation according to the embodiment of the present application;
fig. 6 is a schematic flowchart of S240 in the method for display compensation according to the embodiment of the present application;
FIG. 7 is a schematic structural diagram of an apparatus for display compensation according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of an apparatus for display compensation according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
In order to facilitate an understanding of the present application, the present application is described in more detail below with reference to the accompanying drawings and specific embodiments. It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may be present. The terms "vertical", "horizontal", "left", "right", "inside", "outside" and the like used in the present specification are for illustrative purposes only and express only a substantial positional relationship, for example, with respect to "vertical", if a positional relationship is not strictly vertical for the purpose of achieving a certain object, but is substantially vertical, or utilizes the property of being vertical, it belongs to the category of "vertical" described in the present specification.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
In general, before shipping of a display panel, a phenomenon of in-plane luminance unevenness, which is called Mura, often occurs. In order to obtain a better display effect, the display panel needs to be compensated, and this process of compensating for Mura is called DeMura. Display compensation is typically performed on a display panel in the following manner: luminance data of the display panel is acquired by an image sensor (CCD), compensation processing is performed on the luminance data, and the generated compensation data is called by hardware (e.g., a processor). The process of calculating the compensation data generally includes: the method comprises the steps of obtaining the brightness value of each pixel under the appointed gray scale, obtaining a target brightness value according to statistics of a statistical method, calculating a target gray scale value, obtaining a correction gray scale value according to the target gray scale value and the appointed gray scale value, and using the correction gray scale value as compensation data. However, the compensation data obtained by the method for calculating the compensation data is not accurate enough, and cannot be applied to display panels of different qualities and different types of Mura, and the compensation effect is not good.
Based on this, the embodiments of the present application provide a method, an apparatus, and a terminal for display compensation, which can improve the accuracy of compensation data by classifying display frames and calculating the compensation data in a corresponding manner, thereby improving the compensation effect.
The embodiments of the present invention will be further explained with reference to the drawings.
It should be understood that the following examples are provided by way of illustration and are not intended to limit the invention in any way to the particular embodiment disclosed.
Referring to fig. 1, a display panel 100 according to an embodiment of the present disclosure may include: a number of data lines 101, a number of scan lines 102, a chip 103, and a number of pixels 104. Each data line 101 intersects with each scanning line 102 to form a plurality of pixel units, each pixel 104 is arranged in the corresponding pixel unit, the scanning lines 101 provide scanning signals for each pixel 104, and the data lines 101 provide data signals for each pixel 104.
Optionally, referring to fig. 1 again, the display panel 100 may further include a driving circuit 105, where the driving circuit 105 includes a data line driving circuit and a scan line driving circuit, and the data line driving circuit and the scan line driving circuit are electrically connected to the chip 103 respectively. Each data line 101 may be electrically connected to a data line driving circuit, and each scan line 102 may be electrically connected to a scan line driving circuit. The chip 103 may output a data signal to each pixel via the data line driving line and each data line 101 to drive each pixel 104 in the display panel 100 for display.
Alternatively, the display panel 100 may be a liquid crystal display panel or an organic light emitting display panel.
Alternatively, the display panel 100 may be an 8-bit display panel, a 10-bit display panel, or the like, and the full gray scale that the corresponding display panel can display may include different values, for example, when the display panel 100 is an 8-bit display panel, the full gray scale that the display panel 100 can display is a 0-255 gray scale, and when the display panel 100 is a 10-bit display panel, the full gray scale that the display panel 100 can display is a 1-1023 gray scale.
The method and the device for display compensation provided by the embodiment of the present application can be applied to an external terminal device, and the compensation result is input to the chip 103 of the display panel 100, so that the chip 103 can perform display compensation on each pixel 104. Of course, in some other embodiments, the method for display compensation provided in this embodiment of the present application may also be implemented in the chip 103, or alternatively, the device for display compensation may also be disposed in the chip 103.
Referring to fig. 2, a method for display compensation according to an embodiment of the present application includes:
s210, acquiring the original brightness value of each pixel in the picture to be tested under the test gray scale.
Each display is composed of a combination of dots, called pixels. Each pixel can typically represent many different colors, which are composed of three sub-pixels of red, green and blue (RGB). Each sub-pixel, the light source behind it, may exhibit a different brightness level. The gray levels represent gradation levels of different brightness from the darkest to the brightest. When the number of the intermediate levels is more, the picture effect which can be presented is more exquisite. For example, an 8-bit display panel can represent 2 to the power of 8, i.e., 256 levels of brightness, and is called 256 gray levels. Each pixel on the display panel is formed by combining red, green and blue with different brightness levels to form different color points. That is, the change of each pixel point of the display image is caused by the gray scale change of the three RGB sub-pixels constituting the pixel point.
In the present embodiment, the "test gray level" refers to designating one or more gray levels among the full gray levels of the display panel as the test gray level. The picture to be tested refers to a current picture displayed by the display panel during testing. The "original luminance value" refers to the actual luminance value of each pixel when the display panel inputs the test gray scale, and in some embodiments, may be the luminance value of each group of sub-pixels or the average luminance value of each group of sub-pixels.
In this embodiment, the obtaining of the original brightness value of each pixel in the frame to be tested under the test gray scale may specifically be: the test gray scale is input to the display panel through the data line driving circuit and the data line shown in fig. 1, and the actual brightness value of each pixel when the test gray scale is input to the display panel is obtained through the image sensor (CCD), which is the original brightness value.
S220, determining the brightness defect type of the picture to be tested according to the original brightness value.
In this embodiment, the "brightness defect type" is different types of uneven brightness display, and the brightness of the displayed screen is affected by differences in the quality, structure, and the like of the display panel.
Referring to fig. 3, the luminance defect types can be divided into an uneven distribution luminance defect type and a combined luminance defect type. In the present embodiment, the luminance defect condition is embodied as luminance unevenness. The non-uniform distribution brightness defect type refers to that the brightness defect condition is non-uniformly distributed in a display picture, and usually appears as edge blackening and central brightness unevenness; the comprehensive brightness defect type means that the brightness defect conditions are uniformly distributed in the display picture. Wherein the integrated luminance defect types may include: a slight type of brightness unevenness and a severe type of brightness unevenness. The slight brightness unevenness type means that the brightness defect condition is uniformly distributed in the display picture, and the brightness defect condition is slight; the severe uneven brightness type means that the brightness defect condition is uniformly distributed in the display screen, and the brightness defect condition is severe, for example, the individual pixels are seriously deviated from the average brightness.
In this embodiment, the to-be-tested picture is classified by determining the brightness defect type, so that the to-be-tested picture can be compensated in a targeted manner.
Referring to fig. 4, S220 may include:
s221, judging whether the brightness of the picture to be tested meets a preset uneven distribution brightness defect condition or a preset comprehensive brightness defect condition according to the original brightness value.
S222, if the preset uneven distribution brightness defect condition is met, the brightness defect type of the picture to be tested is an uneven distribution brightness defect type.
And S223, if the preset comprehensive brightness defect condition is met, determining that the brightness defect type of the picture to be tested is a comprehensive brightness defect type.
Wherein, judging whether the brightness of the picture to be tested meets the preset uneven distribution brightness defect condition or not comprises the following steps:
s2211, dividing the picture to be tested into a plurality of pixel areas;
s2212, calculating the average brightness value of each pixel area and the distance between each adjacent pixel area;
s2213, constructing a brightness gradient distribution diagram according to the brightness average value of each pixel area and the distance of each adjacent pixel area;
and S2214, if the brightness gradient distribution threshold value falls into the brightness gradient distribution map range, the brightness of the picture to be tested meets the preset uneven distribution brightness defect condition.
In S2211, the to-be-tested picture is divided into a plurality of pixel regions, which may specifically be: the picture to be tested is divided into a plurality of pixel areas according to a preset proportion, and each pixel area can comprise one pixel or a plurality of pixels.
In S2212, the average value of the luminance of the pixel area is a value obtained by averaging the original luminance values of all the pixels in the pixel area. The distance between each adjacent pixel region is a distance between two adjacent pixel regions, and when a pixel region includes a plurality of pixels, the distance between each adjacent pixel region is a distance between centers of two adjacent pixel regions. For example, it is assumed that the image is divided into 3 pixel regions A, B, C, average luminance values of the 3 pixel regions are obtained as a, B, and C, respectively, a distance between centers of a and B is m, and a distance between centers of B and C is n.
In S2213, a gradient value of the luminance between every two adjacent pixel regions is obtained according to the average value of the luminance of each pixel region and the distance between each adjacent pixel region, and a luminance gradient distribution map is constructed according to the gradient value. The gradient values can be determined in a number of ways. For example, it is assumed that the average values of the luminance of the pixel region A, B, C are a, B, and C, respectively, the distance between the centers of a and B is m, the distance between the centers of B and C is n, the gradient value between a and B is | B-a |/m, and the gradient value between B and C is | C-B |/n. Alternatively, the gradient value of the luminance between two adjacent pixel regions may also be calculated according to the following formula:wherein, (x, y) represents one pixel region with a center position of x and an average luminance value of y, (x + Δ x, y + Δ y) represents another pixel region with a center position of (x + Δ x) and an average luminance value of (y + Δ y), f (x, y) is a gradient value (scalar quantity) of one pixel region, and f (x + Δ x, y + Δ y) is a gradient value (scalar quantity) of the other pixel region. Wherein, the gradient value of one pixel region:and after the gradient value of the brightness between every two adjacent pixel regions is obtained through calculation, constructing a brightness gradient distribution diagram according to the position condition of each pixel region.
In S2214, the "brightness gradient distribution threshold" is a preset gradient distribution, which can be adjusted according to the actual use condition such as the requirement of display quality. And comparing the maximum gradient value of the brightness gradient distribution diagram with the corresponding brightness gradient distribution threshold value to judge whether the brightness gradient distribution threshold value falls into the brightness gradient distribution diagram. For example, if the brightness gradient distribution of the pixel region A, B, C of the picture to be tested is found to be [ 36 ], the brightness gradient distribution threshold is [ 34 ], and the brightness gradient distribution threshold falls within the brightness gradient distribution map, the brightness of the picture to be tested satisfies the preset uneven distribution brightness defect condition. And when the brightness of the picture to be tested meets the preset uneven distribution brightness defect condition, determining the brightness defect type of the picture to be tested as the uneven distribution brightness defect type.
Optionally, in some other embodiments, in S221, it may also be determined whether the brightness of the to-be-tested picture meets the preset uneven-distribution brightness defect condition by another method, for example, feature extraction, edge detection, or the like is performed on the to-be-tested picture, as long as the display picture with blackened edges and uneven center brightness can be identified.
The method for judging whether the brightness of the picture to be tested meets the preset comprehensive brightness defect condition comprises the following steps:
s2215, obtaining an absolute brightness value of the picture to be tested according to the test gray scale;
s2216, if the difference value between the original brightness value and the absolute brightness value is smaller than or equal to the preset range threshold, the brightness defect type of the picture to be tested is a slight brightness unevenness type;
and S2217, if the difference value between the original brightness value and the absolute brightness value is larger than the preset range threshold value, the brightness defect type of the picture to be tested is a serious brightness unevenness type.
In S2215, since the gray scale and the brightness have a corresponding relationship, when the test gray scale is known, the current corresponding brightness value, that is, the absolute brightness value, can be obtained according to the test gray scale. For example, if the corresponding relationship between the gray scale and the brightness is a gamma relationship, the current corresponding absolute brightness value of the picture to be tested is obtained according to the relationship between the gray scale and the gamma.
In S2216 and S2217, as shown in fig. 3, comparing the difference between the original brightness value and the absolute brightness value with a preset range threshold, and if the difference between the original brightness value and the absolute brightness value is less than or equal to the preset range threshold, determining that the picture to be tested is of a slight uneven brightness type; if the difference value between the original brightness value and the absolute brightness value is larger than the preset range threshold value, the picture to be tested is of a serious brightness unevenness type. For example, assuming that the absolute brightness value is 50, the original brightness value of one pixel is measured to be 30, the preset range threshold is set to be ± 15, |50-30| >15, and the to-be-tested picture is determined to be of the severe uneven brightness type. When a plurality of pixels exist, if the difference value between the original brightness value and the absolute brightness value of one pixel is larger than a preset range threshold value, the picture to be tested is determined to be of a serious uneven brightness type.
And S230, calculating a target brightness value corresponding to the brightness defect type of the picture to be tested.
In this embodiment, the "target brightness value corresponding to the brightness defect type of the picture to be tested" refers to a target brightness value calculated by using a corresponding calculation method according to the brightness defect type after the brightness defect type of the picture to be tested is determined.
Referring to fig. 5a, when it is determined that the brightness defect type of the frame to be tested is the non-uniform distribution brightness defect type, S230 includes:
s231, selecting a representative area on the picture to be tested;
s232, calculating the brightness average value of the representative area;
and S233, taking the brightness average value as a target brightness value corresponding to the uneven distribution brightness defect type of the picture to be tested.
In S231, since the case where the luminance distribution is uneven among the unevenly distributed luminance defect types is unevenly distributed, a representative area is selected on the screen to be tested. The representative region may be a central region of the to-be-tested frame, for example, a region is cut out from the center of the to-be-tested frame according to the size of a preset window to serve as the representative region. In S232, the original brightness values of the pixels in the representative region are averaged to obtain a brightness average value of the representative region, so as to obtain a target brightness value corresponding to the non-uniformly distributed brightness defect type of the to-be-tested picture.
Referring to fig. 5b, when the brightness defect type of the frame to be tested is determined to be a slight brightness unevenness type, S230 includes:
s234, calculating the average value of each original brightness value;
and S235, taking the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested. For example, assuming that the original luminance values are [ 5048494553 ], respectively, the average value of the original luminance values is (50+48+49+45+ 53)/5.
Referring to fig. 5c, when it is determined that the brightness defect type of the frame to be tested is a severe brightness unevenness type, S230 includes:
s236, filtering the original brightness value to obtain the original brightness value of each residual pixel;
s237, calculating the average value of the original brightness values of the residual pixels;
and S238, taking the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested. In this embodiment, the filtering processing on the original luminance value may specifically be: and eliminating the pixels of which the difference value between the original brightness value and the absolute brightness value is greater than a preset range threshold value, thereby obtaining the original brightness value of each residual pixel.
And S240, compensating the picture to be tested according to the target brightness value.
Referring to fig. 6, S240 includes:
s241, determining a target gray scale brightness relation according to the target brightness value and the test gray scale;
s242, calculating a gray scale correction value according to the target gray scale brightness relation, the original brightness value and the test gray scale;
and S243, compensating the picture to be tested according to the gray-scale correction value.
If a test gray scale is input in S210 and a target brightness value is obtained by calculation in S230, S210-S230 are repeated to obtain a plurality of target brightness values corresponding to the plurality of test gray scales. In S241, according to the followingAnd fitting a target gray scale brightness curve according to the plurality of test gray scales and the plurality of target brightness values corresponding to the test gray scales so as to obtain a target gray scale brightness relation, or obtaining the target gray scale brightness relation according to a preset gray scale brightness relation. For example, if the predetermined gray-scale luminance relationship is: g ═ aLbWherein G, L denotes gray scale and brightness, a and b denote coefficients, and if the target brightness value corresponding to the test gray scale 64 is 3.34 and the target brightness value corresponding to the test gray scale 128 is 13.37, the target gray scale brightness relationship G-35L is obtained by substituting (3.34,64) and (13.37, 128)0.5。
In S242, after the target gray scale luminance curve is obtained, the original luminance value is substituted into the target gray scale luminance curve to obtain a target gray scale, and a gray scale correction value is calculated according to the target gray scale and the test gray scale. For example, assume that the target gray-scale luminance relationship is obtained as G35L0.5When the test gray scale is 64, the original brightness value of one pixel is 3, the obtained target gray scale is 60.62, and the gray scale correction value of the pixel is 64-60.62-3.38. And respectively obtaining the gray-scale correction value of each pixel according to the original brightness value of each pixel, and respectively compensating each pixel according to the gray-scale correction value of each pixel, thereby compensating the picture to be tested.
In the embodiment of the application, the original brightness value of each pixel in the picture to be tested under the test gray scale is obtained, the picture to be tested is classified according to the original brightness value, so that the brightness defect type of the picture to be tested is determined, the target brightness value corresponding to the brightness defect type of the picture to be tested is calculated in different calculation modes, the picture to be tested is compensated according to the target brightness value, the accuracy of compensation data can be improved, and the compensation effect is improved.
Referring to fig. 7, a display device 300 according to an embodiment of the present disclosure includes: an original brightness acquisition module 310, a type determination module 320, a target brightness calculation module 330, and a compensation module 340.
The original brightness acquiring module 310 is connected to the type determining module 320, the type determining module 320 is connected to the target brightness calculating module 330, and the target brightness calculating module 330 is connected to the compensating module 340. The original brightness obtaining module 310 is configured to obtain an original brightness value of each pixel in the frame to be tested under the test gray scale. The type determining module 320 is configured to determine a brightness defect type of the picture to be tested according to the original brightness value. The target brightness calculating module 330 is configured to calculate a target brightness value corresponding to a brightness defect type of the frame to be tested. The compensation module 340 is used for compensating the picture to be tested according to the target brightness value.
Referring to fig. 8, the luminance defect types include an uneven distribution luminance defect type and a combined luminance defect type. The type determination module 320 includes: a first judgment unit 321, an uneven distribution unit 322 and an integration unit 333. The first determination unit 321 is connected to the uneven distribution unit 322 and the integration unit 333, respectively. The first determining unit 321 is configured to determine whether the brightness of the to-be-tested picture satisfies a preset non-uniform distribution brightness defect condition or a preset integrated brightness defect condition according to the original brightness value. The uneven distribution unit 322 is configured to determine the brightness defect type of the frame to be tested as an uneven distribution brightness defect type if a preset uneven distribution brightness defect condition is satisfied. The integrating unit 333 is configured to determine that the brightness defect type of the to-be-tested picture is the integrated brightness defect type if the preset integrated brightness defect condition is satisfied.
Wherein the first judging unit 321 includes: a partition subunit 3211, a gradiometer subunit 3212, a gradient distribution construction subunit 3213, and a comparison subunit 3214. The dividing subunit 3211 is configured to divide the picture to be tested into a plurality of pixel regions. The gradient operator unit 3212 is configured to calculate an average value of luminance of each pixel region and a distance of each neighboring pixel region. The gradient distribution constructing subunit 3213 is configured to construct a luminance gradient distribution map according to the luminance average value of each pixel region and the distance between each adjacent pixel regions. The comparing subunit 3214 is configured to, if the brightness gradient distribution threshold falls within the range of the brightness gradient distribution map, determine that the brightness of the to-be-tested picture meets a preset uneven distribution brightness defect condition.
Wherein the integrated brightness defect types include a slight brightness unevenness type and a severe brightness unevenness type. The first judgment unit 321 further includes: an absolute brightness operator unit 3215, a mild formula determination subunit 3216, and a severe formula determination subunit 3217. The absolute brightness operator unit 3215 is configured to obtain an absolute brightness value of the to-be-tested frame according to the test gray scale. The mild type determining subunit 3216 is configured to determine the brightness defect type of the picture to be tested is a mild type of brightness unevenness if the difference between the original brightness value and the absolute brightness value is smaller than or equal to the preset range threshold. The severe formula determining subunit 3217 is configured to determine the type of the brightness defect of the to-be-tested picture as a severe uneven brightness type if the difference between the original brightness value and the absolute brightness value is greater than the preset range threshold.
When the brightness defect type of the to-be-tested picture is the non-uniform distribution brightness defect type, the target brightness calculating module 330 includes: an area selection unit 331, an area average value calculation unit 332, and a first target luminance determination unit 333. The area selection unit 331 is used to select a representative area on the screen to be tested. The area average value calculating unit 332 is configured to calculate a luminance average value of the representative area. The first target luminance determining unit 333 is configured to take the luminance average value as a target luminance value corresponding to the unevenly distributed luminance defect type of the picture to be tested.
When the brightness defect type of the to-be-tested picture is a slight brightness unevenness type, the target brightness calculating module 330 includes: an average value calculation unit 344 and a second target brightness determination unit 345. The average value calculating unit 344 is configured to calculate an average value of each original luminance value; the second target brightness determining unit 345 serves to take the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested.
When the brightness defect type of the to-be-tested picture is a severe uneven brightness type, the target brightness calculating module 330 includes: a filtering unit 346, a residual average calculation unit 347, and a third target brightness determination unit 348. The filtering unit 346 is used for filtering the original luminance values to obtain original luminance values of the respective remaining pixels. The residual average value calculating unit 347 is configured to calculate an average value of the original luminance values of the respective residual pixels. The third target brightness determination unit 348 is configured to take the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested.
Wherein the compensation module 340 includes: a target gray-scale luminance relationship determining unit 341, a gray-scale correction value calculating unit 342, and a compensating unit 343. The target gray scale luminance relationship determination unit 341 determines the target gray scale luminance relationship according to the target luminance value and the test gray scale. The gray-scale correction value calculating unit 342 is configured to calculate a gray-scale correction value according to the target gray-scale luminance relationship, the original luminance value, and the test gray scale. The compensation unit 343 is configured to compensate the to-be-tested frame according to the gray-scale correction value.
Since the apparatus embodiment and the method embodiment are based on the same concept, the contents of the apparatus embodiment may refer to the method embodiment on the premise that the contents do not conflict with each other, and are not described herein again.
In this embodiment, the display device 300 obtains the original brightness value of each pixel in the to-be-tested picture under the test gray scale through the original brightness obtaining module 310, the type determining module 320 classifies the to-be-tested picture according to the original brightness value, so as to determine the brightness defect type of the to-be-tested picture, and the target brightness calculating module 330 calculates the target brightness value corresponding to the brightness defect type of the to-be-tested picture through different calculation methods, so that the compensating module 340 compensates the to-be-tested picture according to the target brightness value, and can improve the accuracy of the compensation data, thereby improving the compensation effect.
Referring to fig. 9, a terminal 400 according to an embodiment of the present application includes:
one or more processors 410 and a memory 420, with one processor 410 being an example in fig. 9.
The processor 410 and the memory 420 may be connected by a bus or other means, such as by a bus in FIG. 9. The processor 410 may be connected to the chip 103 of the display panel 100 shown in fig. 1, so as to input the compensated result to the chip 103, so that the chip 103 may perform display compensation on each pixel 104.
The memory 420, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the instant message reminding method in the embodiment of the present invention (for example, the original brightness acquiring module 310, the type determining module 320, the target brightness calculating module 330, and the compensating module 340 shown in fig. 7 and 8). The processor 410 executes various functional applications and data processing of the user terminal, i.e., a method of implementing display compensation of the above-described method embodiments, by executing nonvolatile software programs, instructions and modules stored in the memory 420.
The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the instant message alert device, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 420 may optionally include memory located remotely from the processor 410, which may be connected to the instant message reminder device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 420 and when executed by the one or more processors 410, perform the method of display compensation in any of the above-described method embodiments, e.g., performing the above-described method steps 210-240 of FIG. 2, to implement the functions of the various modules or units in the unit 310-340 of FIG. 7.
Embodiments of the present invention also provide a non-transitory computer storage medium storing computer-executable instructions, which are executed by one or more processors, such as the processor 410 in fig. 9, to enable the one or more processors to perform the method for display compensation in any of the above-mentioned method embodiments, such as the method for display compensation in any of the above-mentioned method embodiments, for example, the above-mentioned steps shown in fig. 2; the functions of the respective modules or units shown in fig. 7 and 8 can also be realized.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. 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 related to instructions of a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, it is also possible to combine technical features in the above embodiments or in different embodiments, the steps can be implemented in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (18)
- A method of display compensation, comprising:acquiring an original brightness value of each pixel in a picture to be tested under a test gray scale;determining the brightness defect type of the picture to be tested according to the original brightness value;calculating a target brightness value corresponding to the brightness defect type of the picture to be tested;and compensating the to-be-tested picture according to the target brightness value.
- The method of claim 1, wherein the brightness defect types comprise non-uniformly distributed brightness defect types and integrated brightness defect types;the determining the brightness defect type of the picture to be tested according to the original brightness value comprises the following steps:judging whether the brightness of the picture to be tested meets a preset uneven distribution brightness defect condition or a preset comprehensive brightness defect condition according to the original brightness value;if the preset uneven distribution brightness defect condition is met, the brightness defect type of the picture to be tested is the uneven distribution brightness defect type;and if the preset comprehensive brightness defect condition is met, the brightness defect type of the picture to be tested is the comprehensive brightness defect type.
- The method of claim 2, wherein the determining that the brightness of the frame to be tested satisfies a predetermined non-uniformly distributed brightness defect condition comprises:dividing the picture to be tested into a plurality of pixel areas;calculating the average value of the brightness of each pixel region and the distance between each adjacent pixel regions;constructing a brightness gradient distribution diagram according to the brightness average value of each pixel region and the distance between each adjacent pixel region;and if the brightness gradient distribution threshold value falls into the range of the brightness gradient distribution diagram, the brightness of the picture to be tested meets the preset uneven distribution brightness defect condition.
- The method of claim 3, wherein when the brightness defect type of the picture to be tested is the non-uniformly distributed brightness defect type, the calculating a target brightness value corresponding to the brightness defect type of the picture to be tested comprises:selecting a representative area on the picture to be tested;calculating a brightness average value of the representative region;and taking the brightness average value as a target brightness value corresponding to the uneven distribution brightness defect type of the picture to be tested.
- The method of claim 2, wherein the integrated luminance defect types include a slight luminance unevenness type and a severe luminance unevenness type;the judging that the brightness of the to-be-tested picture meets the preset comprehensive brightness defect condition comprises the following steps of:acquiring an absolute brightness value of the picture to be tested according to the test gray scale;if the difference value between the original brightness value and the absolute brightness value is smaller than or equal to a preset range threshold, the brightness defect type of the picture to be tested is the slight brightness unevenness type;if the difference value between the original brightness value and the absolute brightness value is larger than the preset range threshold, the brightness defect type of the picture to be tested is the serious brightness unevenness type.
- The method according to claim 5, wherein when the brightness defect type of the picture to be tested is the slight brightness unevenness type, the calculating a target brightness value corresponding to the brightness defect type of the picture to be tested comprises:calculating the average value of each original brightness value;and taking the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested.
- The method of claim 5, wherein when the brightness defect type of the picture to be tested is the severe brightness unevenness type, the calculating the target brightness value corresponding to the brightness defect type of the picture to be tested comprises:filtering the original brightness value to obtain an original brightness value of each residual pixel;calculating the average value of the original brightness values of the residual pixels;and taking the average value as the target brightness value corresponding to the brightness defect type of the picture to be tested.
- The method according to any one of claims 1-7, wherein said compensating said picture to be tested according to said target brightness value comprises:determining a target gray scale brightness relation according to the target brightness value and the test gray scale;calculating a gray scale correction value according to the target gray scale brightness relation, the original brightness value and the test gray scale;and compensating the picture to be tested according to the gray scale correction value.
- An apparatus for display compensation, comprising:the original brightness acquisition module is used for acquiring the original brightness value of each pixel in the picture to be tested under the test gray scale;the type determining module is used for determining the brightness defect type of the picture to be tested according to the original brightness value;the target brightness calculation module is used for calculating a target brightness value corresponding to the brightness defect type of the picture to be tested;and the compensation module is used for compensating the picture to be tested according to the target brightness value.
- The apparatus of claim 9, wherein the brightness defect types comprise an unevenly distributed brightness defect type and an integrated brightness defect type;the type determination module includes:the first judging unit is used for judging whether the brightness of the picture to be tested meets a preset uneven distribution brightness defect condition or a preset comprehensive brightness defect condition according to the original brightness value;the uneven distribution unit is used for determining the brightness defect type of the picture to be tested as the uneven distribution brightness defect type if a preset uneven distribution brightness defect condition is met;and the comprehensive unit is used for determining the brightness defect type of the picture to be tested as the comprehensive brightness defect type if a preset comprehensive brightness defect condition is met.
- The apparatus according to claim 10, wherein the first judging unit includes:the dividing subunit is used for dividing the picture to be tested into a plurality of pixel areas;the gradiometer unit is used for calculating the brightness average value of each pixel region and the distance between each adjacent pixel regions;the gradient distribution construction subunit is used for constructing a brightness gradient distribution map according to the brightness average value of each pixel region and the distance between each adjacent pixel region;and the comparison subunit is used for determining that the brightness of the picture to be tested meets the preset uneven distribution brightness defect condition if the brightness gradient distribution threshold value falls into the range of the brightness gradient distribution diagram.
- The apparatus of claim 11, wherein when the brightness defect type of the picture to be tested is the non-uniformly distributed brightness defect type, the target brightness calculating module comprises:the area selection unit is used for selecting a representative area on the picture to be tested;a region average value calculation unit for calculating a luminance average value of the representative region;and the first target brightness determining unit is used for taking the brightness average value as a target brightness value corresponding to the uneven distribution brightness defect type of the picture to be tested.
- The apparatus of claim 10, wherein the integrated luminance defect types comprise a slight luminance nonuniformity type and a severe luminance nonuniformity type;the first judgment unit further includes:the absolute brightness operator unit is used for acquiring the absolute brightness value of the picture to be tested according to the test gray scale;a slight type determining subunit, configured to determine that the brightness defect type of the picture to be tested is the slight type brightness unevenness type if a difference between the original brightness value and the absolute brightness value is smaller than or equal to a preset range threshold;and the serious formula determining subunit is used for determining the brightness defect type of the picture to be tested as the serious brightness unevenness type if the difference value between the original brightness value and the absolute brightness value is greater than the preset range threshold.
- The apparatus of claim 13, wherein when the brightness defect type of the picture to be tested is the slight brightness unevenness type, the target brightness calculating module comprises:an average value calculation unit for calculating an average value of each of the original luminance values;and the second target brightness determining unit is used for taking the average value as a target brightness value corresponding to the brightness defect type of the picture to be tested.
- The apparatus of claim 13, wherein when the brightness defect type of the picture to be tested is the severe brightness unevenness type, the target brightness calculating module comprises:the filtering unit is used for filtering the original brightness value to obtain the original brightness value of each residual pixel;a residual average value calculation unit for calculating an average value of original luminance values of the respective residual pixels;and the third target brightness determining unit is used for taking the average value as the target brightness value corresponding to the brightness defect type of the picture to be tested.
- The apparatus of any one of claims 9-15, wherein the compensation module comprises:the target gray scale brightness relation determining unit determines a target gray scale brightness relation according to the target brightness value and the test gray scale;the gray scale correction value calculation unit is used for calculating a gray scale correction value according to the target gray scale brightness relation, the original brightness value and the test gray scale;and the compensation unit is used for compensating the picture to be tested according to the gray-scale correction value.
- A terminal, comprising:at least one processor; and the number of the first and second groups,a memory communicatively coupled to the at least one processor; wherein,the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
- A non-transitory computer-readable storage medium having stored thereon computer-executable instructions for enabling a user terminal to perform the method of any one of claims 1-8.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/123574 WO2020132883A1 (en) | 2018-12-25 | 2018-12-25 | Display compensation method, apparatus, and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112740667A true CN112740667A (en) | 2021-04-30 |
Family
ID=71127312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880095896.2A Pending CN112740667A (en) | 2018-12-25 | 2018-12-25 | Display compensation method, device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112740667A (en) |
WO (1) | WO2020132883A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298739A (en) * | 2021-07-27 | 2021-08-24 | 华兴源创(成都)科技有限公司 | Display repair method, computer device, and computer-readable storage medium |
CN116631319A (en) * | 2023-05-29 | 2023-08-22 | 上海傲显科技有限公司 | Screen display compensation method, intelligent terminal and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113362781A (en) * | 2021-06-23 | 2021-09-07 | 合肥维信诺科技有限公司 | Brightness compensation method and brightness compensation system of display panel |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104021759A (en) * | 2014-05-30 | 2014-09-03 | 京东方科技集团股份有限公司 | Luminance supplementing method and device for display device, and display device |
CN107045863A (en) * | 2017-06-26 | 2017-08-15 | 惠科股份有限公司 | Gray scale adjusting method and device of display panel |
CN108877740A (en) * | 2018-07-25 | 2018-11-23 | 昆山国显光电有限公司 | Obtain method, apparatus, computer equipment and the storage medium of Mura offset data |
CN109036260A (en) * | 2018-08-31 | 2018-12-18 | 北京集创北方科技股份有限公司 | Data processing method, display driver chip and display equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI375198B (en) * | 2007-05-17 | 2012-10-21 | Tpo Displays Corp | A system for displaying images |
CN101315745B (en) * | 2007-05-28 | 2012-11-28 | 统宝光电股份有限公司 | Image display system and its moire defect elimination method |
KR102119881B1 (en) * | 2013-11-22 | 2020-06-08 | 삼성디스플레이 주식회사 | System and method for a luminance correction |
CN107657606B (en) * | 2017-09-18 | 2020-05-05 | 深圳市华星光电半导体显示技术有限公司 | Method and device for detecting brightness defect of display device |
-
2018
- 2018-12-25 CN CN201880095896.2A patent/CN112740667A/en active Pending
- 2018-12-25 WO PCT/CN2018/123574 patent/WO2020132883A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104021759A (en) * | 2014-05-30 | 2014-09-03 | 京东方科技集团股份有限公司 | Luminance supplementing method and device for display device, and display device |
CN107045863A (en) * | 2017-06-26 | 2017-08-15 | 惠科股份有限公司 | Gray scale adjusting method and device of display panel |
CN108877740A (en) * | 2018-07-25 | 2018-11-23 | 昆山国显光电有限公司 | Obtain method, apparatus, computer equipment and the storage medium of Mura offset data |
CN109036260A (en) * | 2018-08-31 | 2018-12-18 | 北京集创北方科技股份有限公司 | Data processing method, display driver chip and display equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113298739A (en) * | 2021-07-27 | 2021-08-24 | 华兴源创(成都)科技有限公司 | Display repair method, computer device, and computer-readable storage medium |
CN113298739B (en) * | 2021-07-27 | 2021-11-02 | 华兴源创(成都)科技有限公司 | Display repair method, computer device, and computer-readable storage medium |
CN116631319A (en) * | 2023-05-29 | 2023-08-22 | 上海傲显科技有限公司 | Screen display compensation method, intelligent terminal and storage medium |
CN116631319B (en) * | 2023-05-29 | 2024-05-14 | 上海傲显科技有限公司 | Screen display compensation method, intelligent terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020132883A1 (en) | 2020-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022048423A1 (en) | Display compensation information acquisition method and apparatus, and display compensation method and apparatus | |
US20200160801A1 (en) | Method and device for adjusting grayscale of display panel | |
EP1898354B1 (en) | Edge-based image enhancement | |
KR102197270B1 (en) | Method of compensating image of display panel, method of driving display panel including the same and display apparatus for performing the same | |
US9886882B2 (en) | Grayscale compensation method | |
US10008148B2 (en) | Image processing apparatus, image processing method, display device, computer program and computer-readable medium | |
CN108376532B (en) | Brightness compensation method and device of display device | |
CN105185314A (en) | Uniformity compensation method for LED display screen | |
CN107068037A (en) | Gray scale correction method and gray scale correction device of display panel | |
US9990892B2 (en) | Liquid crystal panel and driving method thereof | |
US9368055B2 (en) | Display device and driving method thereof for improving side visibility | |
CN112740667A (en) | Display compensation method, device and terminal | |
US10854153B2 (en) | Driving voltage compensation method, gray scale compensation method and display device | |
US11030971B2 (en) | Display device and image processing method for color correction based on image type | |
WO2022057495A1 (en) | Grayscale data determination method and apparatus, and device and screen drive board | |
CN109872668B (en) | Image display total current prediction method, display device and storage medium | |
CN107068042B (en) | Image processing method | |
CN115841794B (en) | OLED display screen detection method and device, display image processing method and device | |
CN105280157A (en) | Apparatus and method for image analysis and image display | |
KR20160011300A (en) | Method of displaying an image, display apparatus performing the same, method of calculating a correction value applied to the same and method of correcting gray data | |
US11145266B2 (en) | Method and circuit for viewing angle image compensation | |
CN116860143A (en) | Image display processing method and device | |
CN109308874B (en) | Display screen brightness adjusting method and device | |
CN115346464A (en) | Display compensation data setting method, display compensation method and driving chip | |
CN109326245A (en) | Detect the method and device of the image high frequency components of display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210430 |
|
WD01 | Invention patent application deemed withdrawn after publication |