WO2020132883A1 - 一种显示补偿的方法、装置及终端 - Google Patents

一种显示补偿的方法、装置及终端 Download PDF

Info

Publication number
WO2020132883A1
WO2020132883A1 PCT/CN2018/123574 CN2018123574W WO2020132883A1 WO 2020132883 A1 WO2020132883 A1 WO 2020132883A1 CN 2018123574 W CN2018123574 W CN 2018123574W WO 2020132883 A1 WO2020132883 A1 WO 2020132883A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
picture
type
tested
defect
Prior art date
Application number
PCT/CN2018/123574
Other languages
English (en)
French (fr)
Inventor
郭星灵
Original Assignee
深圳市柔宇科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市柔宇科技有限公司 filed Critical 深圳市柔宇科技有限公司
Priority to PCT/CN2018/123574 priority Critical patent/WO2020132883A1/zh
Priority to CN201880095896.2A priority patent/CN112740667A/zh
Publication of WO2020132883A1 publication Critical patent/WO2020132883A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Definitions

  • Embodiments of the present application relate to the field of display technology, and in particular, to a display compensation method, device, and terminal.
  • the display panel is usually compensated by the following methods: the brightness data of the display panel is obtained through an image sensor (Charge Coupled Device, CCD), and the brightness data is compensated Processing, the generated compensation data is for hardware (such as a processor) to call.
  • image sensor Charge Coupled Device, CCD
  • Embodiments of the present application provide a display compensation method, device, and terminal, which can improve the accuracy of compensation data.
  • a method of displaying compensation includes:
  • a display compensation device including:
  • the original brightness acquisition module is used to obtain the original brightness value of each pixel in the picture to be tested under the test gray scale
  • a type determination module configured to determine the type of brightness defect of the picture to be tested according to the original brightness value
  • a target brightness calculation module used to calculate a target brightness value corresponding to the brightness defect type of the picture to be tested
  • the compensation module is used to compensate the picture to be tested according to the target brightness value.
  • a terminal including:
  • At least one processor and,
  • a memory communicatively connected to the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can perform the above-described display compensation method.
  • a non-volatile computer-readable storage medium storing computer-executable instructions for enabling a user terminal to perform the above-mentioned display compensation method.
  • the method for display compensation obtained in the embodiments of the present application obtains the original brightness value of each pixel in the picture to be tested under the test gray scale and classifies the test picture according to the original brightness value, thereby determining the picture to be tested The type of brightness defect and calculate the target brightness value corresponding to the type of brightness defect of the picture to be tested through different calculation methods. Compensating the picture to be tested according to the target brightness value can improve the accuracy of the compensation data and thereby improve the compensation effect.
  • FIG. 1 is a schematic structural diagram of a display panel provided by an embodiment of this application.
  • FIG. 2 is a schematic flowchart of a method for displaying compensation provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a type of brightness defect provided by an embodiment of the present application.
  • 5a-5c are schematic flowcharts of S230 in the method for displaying compensation provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of S240 in the method for displaying compensation provided by an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of an apparatus for displaying compensation provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for displaying compensation provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the display panel Before the display panel leaves the factory, the phenomenon of uneven brightness in the plane is often called Mura. In order to obtain a better display effect, the display panel needs to be compensated. This process of compensating Mura is called DeMura.
  • the display panel is usually compensated by the following methods: the brightness data of the display panel is acquired through an image sensor (Charge Coupled Device, CCD), and the brightness data is compensated, and the generated compensation data is called by a hardware (such as a processor).
  • CCD Charge Coupled Device
  • the process of calculating the compensation data usually includes: obtaining the brightness value of each pixel under the specified gray scale, statistically obtaining the target brightness value according to the statistical method, calculating the target gray scale value, and correcting according to the target gray scale value and the specified gray scale value Gray scale value, the corrected gray scale value is used as compensation data.
  • the compensation data obtained by this method of calculating compensation data is not accurate enough to cope with various Mura display panels of different qualities and types, and the compensation effect is not good.
  • embodiments of the present application provide a display compensation method, device, and terminal.
  • the accuracy of the compensation data can be improved, thereby improving the compensation effect.
  • a display panel 100 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 the scan line 102 to form a plurality of pixel units, each pixel 104 is provided in the corresponding pixel unit, the scan line 101 provides a scan signal for each pixel 104, and the data line 101 provides a data signal for each pixel 104.
  • the display panel 100 may further include a driving circuit 105, and the driving circuit 105 includes a data line driving circuit and a scanning line driving circuit, and the data line driving circuit and the scanning line driving circuit are electrically connected to the chip 103, respectively.
  • Each data line 101 may be electrically connected to the data line drive circuit, and each scan line 102 may be electrically connected to the scan line drive circuit.
  • the chip 103 may output a data signal to each pixel via a data line driving line and each data line 101 to drive each pixel 104 in the display panel 100 to display.
  • the display panel 100 may be a liquid crystal display panel or an organic light-emitting display panel.
  • the display panel 100 may be an 8-bit display panel or a 10-bit display panel, etc., and the full gray scale that the corresponding display panel can display may include different values.
  • the display panel 100 is an 8-bit display panel
  • the display panel The full gray level that 100 can display is 0-255 gray level.
  • the full gray level that the display panel 100 can display is 1-1023 gray level.
  • the method and apparatus for display compensation provided in the embodiments 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 for each pixel 104.
  • the display compensation method provided by the embodiment of the present application may also be implemented in the chip 103, or the display compensation device may also be provided in the chip 103.
  • the method for displaying compensation provided by an embodiment of the present application includes:
  • Each display is composed of several points, which are called pixels.
  • each pixel can present many different colors, it is composed of three sub-pixels of red, green and blue (RGB).
  • RGB red, green and blue
  • Each sub-pixel the light source behind it can show different brightness levels.
  • the gray scale represents the gradation level with different brightness from the darkest to the brightest. When there are more layers in the middle, the more delicate the picture can be presented.
  • an 8-bit display panel can express 2 to the 8th power, that is, 256 brightness levels, so it is called 256 gray scale.
  • Each pixel on the display panel is composed of red, green, and blue with different brightness levels to form different color points. That is to say, the change of each pixel of the display screen is caused by the gray-scale change of the three RGB sub-pixels constituting this pixel.
  • test gray scale refers to designating one or more gray scales as the test gray scale in the full gray scale of the display panel.
  • Picture to be tested refers to the current picture displayed by the display panel during testing.
  • original brightness value refers to the actual brightness value of each pixel when the test panel is input to the test gray scale. In some embodiments, it may be the brightness value of each group of sub-pixels or the average value of the brightness of each group of sub-pixels.
  • the original brightness value of each pixel in the picture to be tested under the test gray scale may be obtained by specifically inputting the test gray scale to the display panel through the data line driving circuit and the data line shown in FIG. 1, and Through the image sensor (Charge Coupled Device, CCD), the actual brightness value of each pixel of the display panel when the test gray scale is input is obtained, which is the original brightness value.
  • CCD Charge Coupled Device
  • the "brightness defect types" are several different types of uneven brightness display. Due to differences in the quality and structure of the display panel, the brightness of the displayed screen is affected.
  • the types of brightness defects can be divided into types of unevenly distributed brightness defects and types of integrated brightness defects.
  • the brightness defect is specifically manifested as uneven brightness.
  • the unevenly distributed brightness defect type means that the brightness defect is unevenly distributed in the display screen, usually manifested as black edges and uneven brightness in the center;
  • the integrated brightness defect type refers to the brightness defect condition in the display screen It is evenly distributed.
  • the comprehensive brightness defect types may include: a slight type uneven brightness type and a severe type uneven brightness type.
  • the slight type uneven brightness means that the brightness defects are evenly distributed in the display screen, and the brightness defects are relatively slight; the severe type uneven brightness types mean that the brightness defects are uniformly distributed in the display screen, and Brightness defects are more serious, for example, individual pixels deviate significantly from the average brightness.
  • the test image can be compensated in a targeted manner.
  • S220 may include:
  • S221. Determine, according to the original brightness value, whether the brightness of the picture to be tested meets the preset unevenly distributed brightness defect condition or the preset comprehensive brightness defect condition.
  • the type of brightness defects of the picture to be tested is the type of unevenly distributed brightness defects.
  • the type of brightness defect of the picture to be tested is the type of comprehensive brightness defect.
  • determining whether the brightness of the picture to be tested satisfies the preset unevenly distributed brightness defect condition includes:
  • S2212 Calculate the average brightness value of each pixel area and the distance of each adjacent pixel area;
  • the picture to be tested is divided into several pixel areas, which may be specifically: the picture to be tested is divided into several pixel areas according to a preset ratio, and each pixel area may include one pixel or multiple pixels.
  • the average brightness value of the pixel area is a value obtained by averaging the original brightness values of all pixels in the pixel area.
  • the distance between each adjacent pixel area is the distance between two adjacent pixel areas.
  • the distance between each adjacent pixel area is the distance between the centers of the two adjacent pixel areas. For example, assuming that it is divided into three pixel areas A, B, and C, and the average brightness values of these three pixel areas are respectively a, b, and c, the distance between the centers of A and B is m, and the distance between B and C is The distance between the centers is n.
  • the gradient value of the brightness between each adjacent two pixel areas is obtained, and the brightness gradient distribution map is constructed according to the gradient value.
  • the gradient value can be obtained in various ways. For example, suppose that the average brightness values of the pixel areas A, B, and C are respectively a, b, and c, the distance between the centers of A and B is m, and the distance between the centers of B and C is n, A, and The gradient between B is
  • the gradient value of the brightness between two adjacent pixel regions can also be calculated according to the following formula: Among them, (x, y) represents one of the pixel areas with the center position at x and the average brightness is y, (x+ ⁇ x, y+ ⁇ y) means that the center position is (x+ ⁇ x), the average brightness (y+ ⁇ y) ) Is another pixel area, f(x, y) is the gradient value (scalar) of one pixel area, and f(x+ ⁇ x, y+ ⁇ y) is the gradient value (scalar) of the other pixel area.
  • the gradient value of one pixel area After calculating the brightness gradient value between each adjacent two pixel areas, a brightness gradient distribution map is constructed according to the position of each pixel area.
  • the "luminance gradient distribution threshold” is a preset gradient distribution situation, which can be adjusted according to actual usage conditions such as requirements for display quality.
  • the maximum gradient value of the brightness gradient distribution map is compared with the corresponding brightness gradient distribution threshold to determine whether the brightness gradient distribution threshold falls within the brightness gradient distribution map. For example, assuming that the brightness gradient distribution of the pixel areas A, B, and C of the picture to be tested is [3] 6 and the brightness gradient distribution threshold is [3] 4], the brightness gradient distribution threshold falls within the brightness gradient distribution map, then The brightness of the picture to be tested satisfies the condition of preset unevenly distributed brightness defects. When it is determined that the brightness of the picture to be tested meets the preset unevenly distributed brightness defect condition, the brightness defect type of the picture to be tested is determined to be an unevenly distributed brightness defect type.
  • other methods may be used to determine whether the brightness of the picture to be tested satisfies the preset unevenly distributed brightness defect conditions, such as feature extraction or edge detection on the picture to be tested, as long as It is sufficient to be able to recognize the display screen with dark edges and uneven center brightness.
  • determining whether the brightness of the picture to be tested meets the preset comprehensive brightness defect condition includes:
  • the type of brightness defect of the picture to be tested is a slight uneven brightness type
  • the current corresponding brightness value can be obtained according to the test gray scale, which is the absolute brightness value. For example, if the corresponding relationship between the gray scale and the brightness is the gamma relationship, the current absolute brightness value corresponding to the picture to be tested is obtained according to the test gray scale and the gamma relationship.
  • the difference between the original brightness value and the absolute brightness value is compared with the 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, it is determined
  • the picture to be tested is of a slight brightness unevenness type; if the difference between the original brightness value and the absolute brightness value is greater than the preset range threshold, the picture to be tested is of a severe brightness unevenness type.
  • the absolute brightness value is 50
  • the original brightness value of a pixel is measured as 30, and the preset range threshold is set to ⁇ 15,
  • the difference between the original brightness value and the absolute brightness value of one of the pixels is greater than the preset range threshold, the picture to be tested is determined to be of a severe type of uneven brightness.
  • the target brightness value corresponding to the brightness defect type of the picture to be tested refers to the target brightness value calculated by the corresponding calculation method according to the brightness defect type after determining the brightness defect type of the picture to be tested .
  • S230 when it is determined that the type of brightness defect of the picture to be tested is an unevenly distributed type of brightness defect, S230 includes:
  • the representative area is selected in the picture to be tested.
  • the representative area may be the center area of the picture to be tested. For example, at the center of the picture to be tested according to the size of the preset window, the intercepted area is used as the representative area.
  • the original brightness values of the pixels in the representative area are averaged to obtain the average brightness value of the representative area, so as to obtain the corresponding target brightness value when the picture to be tested is of an unevenly distributed brightness defect type.
  • S230 when it is determined that the type of brightness defect of the picture to be tested is a slight type uneven brightness type, S230 includes:
  • S230 when it is determined that the type of brightness defect of the picture to be tested is a severe type of uneven brightness, S230 includes:
  • the filtering of the original luminance value may specifically include: excluding pixels whose difference between the original luminance value and the absolute luminance value is greater than the threshold value of the preset range, so as to obtain the original luminance value of each remaining pixel.
  • S240 includes:
  • S210-S230 are repeated, so as to obtain multiple target brightness values corresponding to multiple test gray levels.
  • the target gray scale brightness curve is fitted according to several multiple test gray levels and corresponding multiple target brightness values to obtain the target gray scale brightness relationship, or the target gray scale is obtained according to the preset gray scale brightness relationship Order brightness relationship.
  • the target brightness value corresponding to the test gray scale 64 is found to be 3.34
  • the target brightness value corresponding to the test gray scale 128 is 13.37
  • the original brightness value is substituted into the target gray scale brightness curve to obtain the target gray scale, and the gray scale correction value is calculated according to the target gray scale and the test gray scale.
  • the original brightness value of one pixel is 3
  • the target gray scale is 60.62
  • the grayscale correction value of each pixel is obtained respectively, so that each pixel is compensated separately according to the grayscale correction value of each pixel, thereby compensating the picture to be tested.
  • the brightness defect type of the picture to be tested is determined, and through different calculation methods Calculating the target brightness value corresponding to the brightness defect type of the picture to be tested, and compensating the picture to be tested according to the target brightness value can improve the accuracy of the compensation data, thereby improving the compensation effect.
  • a display device 300 provided by an embodiment of the present application 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 acquisition module 310 is connected to the type determination module 320, the type determination module 320 is connected to the target brightness calculation module 330, and the target brightness calculation module 330 is connected to the compensation module 340.
  • the original brightness obtaining module 310 is used to obtain the original brightness value of each pixel in the picture to be tested under the test gray scale.
  • the type determination module 320 is used to determine the type of brightness defect of the picture to be tested according to the original brightness value.
  • the target brightness calculation module 330 is used to calculate a target brightness value corresponding to the brightness defect type of the picture to be tested.
  • the compensation module 340 is used to compensate the picture to be tested according to the target brightness value.
  • the types of brightness defects include types of unevenly distributed brightness defects and types of integrated brightness defects.
  • the type determination module 320 includes a first judgment unit 321, an uneven distribution unit 322, and an integration unit 333.
  • the first judgment unit 321 is connected to the uneven distribution unit 322 and the integration unit 333, respectively.
  • the first determining unit 321 is used to determine whether the brightness of the picture to be tested satisfies the preset unevenly distributed brightness defect condition or the preset comprehensive brightness defect condition according to the original brightness value.
  • the uneven distribution unit 322 is configured to: if the preset unevenly distributed brightness defect condition is satisfied, the type of the brightness defect of the picture to be tested is the unevenly distributed brightness defect type.
  • the integration unit 333 is configured to, if the preset comprehensive brightness defect condition is satisfied, the brightness defect type of the picture to be tested is the integrated brightness defect type.
  • the first judgment unit 321 includes: a division subunit 3211, a gradient calculation subunit 3212, a gradient distribution construction subunit 3213, and a comparison subunit 3214.
  • the dividing subunit 3211 is used to divide the picture to be tested into several pixel areas.
  • the gradient calculation subunit 3212 is used to calculate the average brightness value of each pixel area and the distance of each adjacent pixel area.
  • the gradient distribution construction subunit 3213 is used to construct a brightness gradient distribution map according to the average brightness value of each pixel area and the distance of each adjacent pixel area.
  • the comparison subunit 3214 is configured to: if the brightness gradient distribution threshold falls within the range of the brightness gradient distribution map, the brightness of the picture to be tested satisfies a preset unevenly distributed brightness defect condition.
  • the first judgment unit 321 further includes: an absolute brightness calculation subunit 3215, a slight expression determination subunit 3216, and a severe expression determination subunit 3217.
  • the absolute brightness calculation subunit 3215 is used to obtain the absolute brightness value of the picture to be tested according to the test gray scale.
  • the minor determination sub-unit 3216 is configured to: if the difference between the original brightness value and the absolute brightness value is less than or equal to the preset range threshold, the brightness defect type of the picture to be tested is a minor brightness unevenness type.
  • the serious expression determination subunit 3217 is used for determining that the type of brightness defect of the picture to be tested is the severe brightness unevenness type if the difference between the original brightness value and the absolute brightness value is greater than the preset range threshold.
  • the target brightness calculation module 330 includes: an area selection unit 331, an area average calculation unit 332, and a first target brightness determination unit 333.
  • the area selection unit 331 is used to select a representative area on the screen to be tested.
  • the area average calculation unit 332 is used to calculate the average brightness of the representative area.
  • the first target brightness determination unit 333 is used to use the average brightness value as the target brightness value corresponding to the unevenly distributed brightness defect type of the picture to be tested.
  • the target brightness calculation module 330 includes: an average calculation unit 344 and a second target brightness determination unit 345.
  • the average value calculation unit 344 is used to calculate the average value of each original brightness value; the second target brightness determination unit 345 is used to use the average value as the target brightness value corresponding to the brightness defect type of the picture to be tested.
  • the target brightness calculation module 330 includes: a filtering unit 346, a remaining average calculation unit 347, and a third target brightness determination unit 348.
  • the filtering unit 346 is used for filtering the original luminance value to obtain the original luminance value of each remaining pixel.
  • the remaining average value calculation unit 347 is used to calculate the average value of the original luminance values of the respective remaining pixels.
  • the third target brightness determination unit 348 is configured to use the average value as the target brightness value corresponding to the brightness defect type of the picture to be tested.
  • the compensation module 340 includes: a target gray-scale brightness relationship determination unit 341, a gray-scale correction value calculation unit 342, and a compensation unit 343.
  • the target grayscale brightness relationship determination unit 341 determines the target grayscale brightness relationship according to the target brightness value and the test grayscale.
  • the gray scale correction value calculation unit 342 is used to calculate the gray scale correction value according to the target gray scale brightness relationship, the original brightness value and the test gray scale.
  • the compensation unit 343 is used to compensate the image to be tested according to the grayscale correction value.
  • the content of the device embodiment may refer to the method embodiment without the content conflicting with each other, which will not be repeated here.
  • the display device 300 obtains the original brightness value of each pixel in the picture to be tested in the test gray scale through the original brightness acquisition module 310, and the type determination module 320 classifies the test picture according to the original brightness value, thereby determining the to-be-tested The brightness defect type of the picture, and the target brightness calculation module 330 calculates the target brightness value corresponding to the brightness defect type of the picture to be tested through different calculation methods, so that the compensation module 340 compensates the picture to be tested according to the target brightness value, which can improve the compensation data Accuracy, which improves the compensation effect.
  • the terminal 400 provided by the embodiment of the present application includes:
  • One or more processors 410 and a memory 420, one processor 410 is taken as an example in FIG. 9.
  • the processor 410 and the memory 420 may be connected through a bus or in other ways. In FIG. 9, the connection through a bus is used as an example.
  • the processor 410 can be connected to the chip 103 of the display panel 100 shown in FIG. 1, so that the compensation result is input to the chip 103, so that the chip 103 can perform display compensation on each pixel 104.
  • the memory 420 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, such as programs corresponding to the instant message reminding method in the embodiments of the present invention. Instructions/modules (for example, the original brightness acquisition module 310, the type determination module 320, the target brightness calculation module 330, and the compensation module 340 shown in FIGS. 7 and 8).
  • the processor 410 executes various functional applications and data processing of the user terminal by running non-volatile software programs, instructions, and modules stored in the memory 420, that is, the display compensation method of the foregoing method embodiment.
  • the memory 420 may include a storage program area and a storage data area, where the storage program area may store an operating system and application programs required for at least one function; the storage data area may store data created according to the use of an instant message reminder device, and the like.
  • the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 420 may optionally include memories remotely set relative to the processor 410, and these remote memories may be connected to an instant message reminder device through a network. Examples of the aforementioned network include, but are not limited to, the Internet, intranet, local area network, mobile communication network, and combinations thereof.
  • One or more modules are stored in the memory 420, and when executed by one or more processors 410, perform the display compensation method in any of the above method embodiments, for example, performing the method steps 210 to 210 in FIG. 2 described above
  • Step 240 implements the functions of each module or unit in units 310-340 in FIG. 7.
  • An embodiment of the present invention also provides a non-volatile computer storage medium that stores computer-executable instructions that are executed by one or more processors, such as a processor 410 in FIG. 9 , May enable the one or more processors to execute the display compensation method in any of the above method embodiments, for example, to perform the display compensation method in any of the above method embodiments, for example, to perform the above-described method shown in FIG. 2 Various steps; the functions of each module or unit shown in FIGS. 7 and 8 can also be realized.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place Or, it can be distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
  • a person of ordinary skill in the art may understand that all or part of the processes in the method of the foregoing embodiments may be completed by a computer program instructing relevant hardware.
  • the program may be stored in a computer-readable storage medium. When the program is executed, The flow of the embodiments of the above methods may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random storage memory (Random Access Memory, RAM), etc.

Abstract

本申请公开了一种显示补偿的方法、装置及终端,其中,显示补偿的方法包括:获取在测试灰阶下,待测试画面中各个像素的原始亮度值;根据原始亮度值,确定待测试画面的亮度缺陷类型;计算与待测试画面的亮度缺陷类型对应的目标亮度值;根据目标亮度值,补偿待测试画面。通过显示画面进行分类,以不同的方式计算补偿数据,能够提高补偿数据的精确度,从而提高补偿效果。

Description

一种显示补偿的方法、装置及终端 技术领域
本申请实施例涉及显示技术领域,尤其涉及一种显示补偿的方法、装置及终端。
背景技术
随着显示技术的发展,人们对显示效果的要求越来越高。目前的显示面板往往存在显示不均匀的问题,为了解决这个问题,通常采用以下方式对显示面板进行显示补偿:通过图像传感器(Charge Coupled Device,CCD)获取显示面板的亮度数据,对亮度数据进行补偿处理,生成的补偿数据供硬件(例如处理器)调用。
然而,传统方式计算出的补偿数据不够精确,补偿效果不好。
发明内容
本申请实施例提供一种显示补偿的方法、装置及终端,能够提高补偿数据的精确度。
本申请实施例解决其技术问题提供以下技术方案:
一种显示补偿的方法,包括:
获取在测试灰阶下,待测试画面中各个像素的原始亮度值;
根据所述原始亮度值,确定所述待测试画面的亮度缺陷类型;
计算与所述待测试画面的亮度缺陷类型对应的目标亮度值;
根据所述目标亮度值,补偿所述待测试画面。
本申请实施例解决其技术问题还提供以下技术方案:
一种显示补偿的装置,包括:
原始亮度获取模块,用于获取在测试灰阶下,待测试画面中各个像素的原始亮度值;
类型确定模块,用于根据所述原始亮度值,确定所述待测试画面的 亮度缺陷类型;
目标亮度计算模块,用于计算与所述待测试画面的亮度缺陷类型对应的目标亮度值;
补偿模块,用于根据所述目标亮度值,补偿所述待测试画面。
本申请实施例解决其技术问题还提供以下技术方案:
一种终端,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的显示补偿的方法。
本申请实施例解决其技术问题还提供以下技术方案:
一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使用户终端能够执行上述的显示补偿的方法。
与现有技术相比较,在本申请实施例提供的显示补偿的方法通过获取测试灰阶下待测试画面中各个像素的原始亮度值,根据原始亮度值对待测试画面进行分类,从而确定待测试画面的亮度缺陷类型,并通过不同的计算方式计算与待测试画面的亮度缺陷类型对应的目标亮度值,根据目标亮度值补偿待测试画面,能够提高补偿数据的精确度,从而提高补偿效果。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍。显而易见地,下面所描述的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的显示面板的结构示意图;
图2为本申请实施例提供的显示补偿的方法的流程示意图;
图3为本申请实施例提供的亮度缺陷类型的示意图;
图4为本申请实施例提供的显示补偿的方法中S220的流程示意图;
图5a-5c为本申请实施例提供的显示补偿的方法中S230的流程示意图;
图6为本申请实施例提供的显示补偿的方法中S240的流程示意图;
图7为本申请实施例提供的显示补偿的装置的结构示意图;
图8为本申请实施例提供的显示补偿的装置的结构示意图;
图9为本申请实施例提供的终端的结构示意图。
具体实施方式
为了便于理解本申请,下面结合附图和具体实施例,对本申请进行更详细的说明。需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“垂直的”、“水平的”、“左”、“右”、“内”、“外”以及类似的表述只是为了说明的目的,并且仅表达实质上的位置关系,例如对于“垂直的”,如果某位置关系因为了实现某目的的缘故并非严格垂直,但实质上是垂直的,或者利用了垂直的特性,则属于本说明书所述“垂直的”范畴。
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是用于限制本申请。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
此外,下面所描述的本申请不同实施例中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
一般地,显示面板在出厂前,经常会出现面内亮度不均匀的现象,称为Mura。为了获得较好的显示效果,需要对显示面板进行补偿,这种对Mura进行补偿的过程,称为DeMura。通常采用以下方式对显示面板进行显示补偿:通过图像传感器(Charge Coupled Device,CCD)获取显示面板的亮度数据,对亮度数据进行补偿处理,生成的补偿数据供硬件(例如处理器)调用。计算补偿数据的过程中,通常包括:在指定灰阶下获取各个像素的亮度值,根据统计学方法统计得到目标亮度值,计算目标灰阶值,根据目标灰阶值和指定灰阶值得到校正灰阶值,将校正灰阶值作为补偿数据。但是,这种计算补偿数据的方法得到的补偿数据不够精确,不能应对各种不同品质、不同类型Mura的显示面板,补偿效果不好。
基于此,本申请实施例提供一种显示补偿的方法、装置及终端,通过对显示画面进行分类,以对应的方式计算补偿数据,能够提高补偿数据的精确度,从而提高补偿效果。
下面结合附图,对本发明实施例作进一步阐述。
其中,应当理解的是,本发明提供的下述实施例之间,只要不冲突,均可相互结合以形成新的实施方式。
请参阅图1,本申请其中一实施例提供的显示面板100,可以包括:若干数据线101、若干扫描线102、芯片103和若干像素104。各数据线101与扫描线102交叉设置形成多个像素单元,各像素104设置在对应的像素单元内,扫描线101为各像素104提供扫描信号,数据线101为各像素104提供数据信号。
可选地,请再参阅图1,显示面板100还可以包括驱动电路105,驱动电路105包括数据线驱动电路和扫描线驱动电路,数据线驱动电路和扫描线驱动电路分别与芯片103电连接。各数据线101可以电连接到数据线驱动电路,各扫描线102可以电连接到扫描线驱动电路。芯片103可以经由数据线驱动线路和各数据线101向各像素输出数据信号,以驱动显示面板100中的各像素104进行显示。
可选地,显示面板100可以为液晶显示面板或有机发光显示面板。
可选地,显示面板100可以为8bit显示面板或10bit显示面板等等,对应的显示面板可以显示的全灰阶可以包括不同的值,例如,当显示面板100为8bit显示面板时,该显示面板100可以显示的全灰阶为0-255灰阶,当显示面板100为10bit显示面板时,该显示面板100可以显示的全灰阶为1-1023灰阶。
其中,本申请实施例提供的显示补偿的方法和装置可以应用于外部的终端设备,并将补偿的结果输入该显示面板100的芯片103,以使芯片103可以对各像素104进行显示补偿。当然,在一些其他实施例中,本申请实施例提供的显示补偿的方法也可以在芯片103中执行,或者,显示补偿的装置也可以设置在芯片103中。
请参阅图2,本申请实施例提供的显示补偿的方法,包括:
S210、获取在测试灰阶下,待测试画面中各个像素的原始亮度值。
每张显示画面是由若干点组合而成的,这些点称为像素。通常每一像素可以呈现许多不同的颜色,它是由红、绿、蓝(RGB)三个子像素组成的。每一子像素,其背后的光源都可以显现不同的亮度级别。灰阶代表了由最暗到最亮之间不同亮度的层次级别。当这中间的层级越多,所能够呈现的画面效果越细腻。例如,8bit显示面板,能表现2的8次方,即256个亮度层次,因而称之为256灰阶。显示面板上的每个像素,均由不同亮度层次的红、绿、蓝组合,形成不同的色彩点。也就是说,显示画面每一个像素点的变化,都是由构成这个像素点的三个RGB子像素的灰阶变化所带来的。
在本实施例中,“测试灰阶”是指在显示面板的全灰阶中指定一个或者多个灰阶作为测试灰阶。“待测试画面”是指显示面板在测试时显示的当前画面。“原始亮度值”是指在显示面板在输入测试灰阶时各像素的实际亮度值,在一些实施例中,可以为各组子像素的亮度值或各组子像素的亮度平均值。
在本实施例中,获取在测试灰阶下,待测试画面中各个像素的原始 亮度值,具体可以为:通过图1所示的数据线驱动电路和数据线向显示面板输入测试灰阶,并通过图像传感器(Charge Coupled Device,CCD)获取显示面板在输入该测试灰阶时各个像素的实际亮度值,即为原始亮度值。
S220、根据原始亮度值,确定待测试画面的亮度缺陷类型。
在本实施例中,“亮度缺陷类型”为亮度显示不均的几种不同的类型,由于显示面板的品质、结构等存在差别,进而影响显示的画面的亮度。
其中,请一并参阅图3,亮度缺陷类型可以分为不均匀分布亮度缺陷类型与综合亮度缺陷类型。在本实施例中,亮度缺陷情况具体表现为亮度不均。其中,不均匀分布亮度缺陷类型是指亮度缺陷情况在显示画面中的是不均匀分布的,通常表现为边缘发黑、中心亮度不均;综合亮度缺陷类型是指亮度缺陷情况在显示画面中的是均匀分布的。其中,综合亮度缺陷类型可以包括:轻微式亮度不均类型与严重式亮度不均类型。轻微式亮度不均类型是指亮度缺陷情况在显示画面中的是均匀分布的,并且亮度缺陷情况较为轻微;严重式亮度不均类型是指亮度缺陷情况在显示画面中的是均匀分布的,并且亮度缺陷情况较为严重,例如个别像素严重偏离平均亮度。
在本实施例中,通过确定亮度缺陷类型,对待测试画面进行分类,从而能够针对性地对待测试画面进行补偿。
其中,请参阅图4,S220可以包括:
S221、根据原始亮度值,判断待测试画面的亮度满足预设不均匀分布亮度缺陷条件还是满足预设综合亮度缺陷条件。
S222、若满足预设不均匀分布亮度缺陷条件,则待测试画面的亮度缺陷类型为不均匀分布亮度缺陷类型。
S223、若满足预设综合亮度缺陷条件,则待测试画面的亮度缺陷类型为综合亮度缺陷类型。
其中,判断待测试画面的亮度是否满足预设不均匀分布亮度缺陷条件,包括:
S2211、将待测试画面分成若干像素区域;
S2212、计算各个像素区域的亮度平均值和各个相邻像素区域的距离;
S2213、根据各个像素区域的亮度平均值和各个相邻像素区域的距离,构建亮度梯度分布图;
S2214、若亮度梯度分布阈值落入亮度梯度分布图范围内,则待测试画面的亮度满足预设不均匀分布亮度缺陷条件。
在S2211中,将待测试画面分成若干像素区域,具体可以为:将待测试画面按预设比例分成若干像素区域,每一像素区域可以包括一个像素或多个像素。
在S2212中,像素区域的亮度平均值为对在该像素区域内的所有像素的原始亮度值取平均数而得到的值。各个相邻像素区域的距离为相邻两个像素区域之间的距离,当像素区域包括多个像素时,各个相邻像素区域的距离为相邻两个像素区域的中心之间的距离。例如,假设分为3个像素区域A、B、C,求得这3个像素区域的亮度平均值分别为a、b、c,A与B的中心之间的距离为m,B与C的中心之间的距离为n。
在S2213中,根据各个像素区域的亮度平均值和各个相邻像素区域的距离,求每相邻两个像素区域之间亮度的梯度值,并根据梯度值构建亮度梯度分布图。其中,梯度值可以由多种方式求得。例如,假设求得像素区域A、B、C的亮度平均值分别为a、b、c,A与B的中心之间的距离为m,B与C的中心之间的距离为n,A和B之间的梯度值为|b-a|/m,B和C之间的梯度值为|c-b|/n。可选地,相邻两个像素区域之间亮度的梯度值还可以根据以下公式计算:
Figure PCTCN2018123574-appb-000001
其中,(x,y)表示中心位置为x、亮度平均值为y的其中一像素区域,(x+Δx,y+Δy)表示中心位置为(x+Δx)、亮度平均值(y+Δy)为的另一像素区域,f(x,y)为其中一像素区域的梯度值(标量),f(x+Δx,y+Δy)为另一像素区域的梯度值(标量)。其中,其中一像素区域的梯度值:
Figure PCTCN2018123574-appb-000002
在计算得到每相邻两个像素区域之间亮度的梯度值后,根据各个像素区域的位置情况,构建亮度梯度分布图。
在S2214中,“亮度梯度分布阈值”是预先设置的梯度分布情况,其可以根据对显示质量的要求等实际使用情况进行调整。将亮度梯度分布图的最大梯度值与对应的亮度梯度分布阈值进行比较,以判断亮度梯度分布阈值是否落入亮度梯度分布图内。例如,假设求得待测试画面的像素区域A、B、C的亮度梯度分布为[3 6],亮度梯度分布阈值为[3 4],则亮度梯度分布阈值落入亮度梯度分布图内,则待测试画面的亮度满足预设不均匀分布亮度缺陷条件。当判断待测试画面的亮度满足预设不均匀分布亮度缺陷条件时,则确定待测试画面的亮度缺陷类型为不均匀分布亮度缺陷类型。
可选地,在一些其他实施例中,S221中还可以通过其他方法判断待测试画面的亮度是否满足预设不均匀分布亮度缺陷条件,例如对待测试画面进行特征提取、或者边缘检测等等,只要能够识别出边缘发黑、中心亮度不均的显示画面即可。
其中,判断待测试画面的亮度是否满足预设综合亮度缺陷条件,包括:
S2215、根据测试灰阶,获取待测试画面的绝对亮度值;
S2216、若原始亮度值与绝对亮度值的差值小于或者等于预设范围阈值,则待测试画面的亮度缺陷类型为轻微式亮度不均类型;
S2217、若原始亮度值与绝对亮度值的差值大于预设范围阈值,则待测试画面的亮度缺陷类型为严重式亮度不均类型。
在S2215中,由于灰阶和亮度存在对应关系,当测试灰阶已知时,能够根据测试灰阶得到当前对应的亮度值,即为绝对亮度值。例如,若灰阶和亮度存在对应关系为伽玛关系,根据测试灰阶和伽玛关系,获取待测试画面当前对应的绝对亮度值。
在S2216和S2217中,如图3所示,比较原始亮度值与绝对亮度值的差值与预设范围阈值,若原始亮度值与绝对亮度值的差值小于或者等于预设范围阈值,则确定待测试画面为轻微式亮度不均类型;若原始亮度值与绝对亮度值的差值大于预设范围阈值,则待测试画面为严重式亮度不均类型。其中,例如,假设绝对亮度值为50,测得一个像素的原始 亮度值为30,设定预设范围阈值为±15,|50-30|>15,则确定待测试画面为严重式亮度不均类型。当存在多个像素时,存在其中一个像素的原始亮度值与绝对亮度值的差值大于预设范围阈值,则确定待测试画面为严重式亮度不均类型。
S230、计算与待测试画面的亮度缺陷类型对应的目标亮度值。
在本实施例中,“与待测试画面的亮度缺陷类型对应的目标亮度值”是指在确定待测试画面的亮度缺陷类型后,根据亮度缺陷类型,采用对应的计算方式计算得到的目标亮度值。
其中,请参阅图5a,当确定待测试画面的亮度缺陷类型为不均匀分布亮度缺陷类型时,S230包括:
S231、在待测试画面选择代表区域;
S232、计算代表区域的亮度平均值;
S233、将亮度平均值作为与待测试画面的不均匀分布亮度缺陷类型对应的目标亮度值。
在S231中,由于不均匀分布亮度缺陷类型中亮度分布不均的情况是不均匀分布的,因此在待测试画面选择代表区域。其中,代表区域可以为待测试画面的中心区域,例如,在待测试画面的中心按照预设窗口的大小,截取区域作为代表区域。在S232中,对代表区域各个像素的原始亮度值取平均数,得到代表区域的亮度平均值,从而求得待测试画面为不均匀分布亮度缺陷类型时对应的目标亮度值。
其中,请参阅图5b,当确定待测试画面的亮度缺陷类型为轻微式亮度不均类型时,S230包括:
S234、计算各个原始亮度值的平均值;
S235、将平均值作为与待测试画面的亮度缺陷类型对应的目标亮度值。例如,假设原始亮度值分别为[50 48 49 45 53],则原始亮度值的平均值为(50+48+49+45+53)/5。
其中,请参阅图5c,当确定待测试画面的亮度缺陷类型为严重式亮度不均类型时,S230包括:
S236、滤波处理原始亮度值,得到各个剩余像素的原始亮度值;
S237、计算各个剩余像素的原始亮度值的平均值;
S238、将平均值作为与待测试画面的亮度缺陷类型对应的目标亮度值。在本实施例中,滤波处理原始亮度值,具体可以为:将原始亮度值与绝对亮度值的差值大于预设范围阈值的像素进行剔除,从而得到各个剩余像素的原始亮度值。
S240、根据目标亮度值,补偿待测试画面。
其中,请并参阅图6,S240包括:
S241、根据目标亮度值、测试灰阶,确定目标灰阶亮度关系;
S242、根据目标灰阶亮度关系、原始亮度值和测试灰阶,计算灰阶校正值;
S243、根据灰阶校正值,补偿待测试画面。
其中,若S210中输入一个测试灰阶,并在S230计算得到一个目标亮度值,则继续重复S210-S230,从而得到多个测试灰阶下对应的多个目标亮度值。在S241中,根据若干多个测试灰阶及其对应的多个目标亮度值,拟合目标灰阶亮度曲线,从而得到目标灰阶亮度关系,或者,根据预设灰阶亮度关系式得到目标灰阶亮度关系。例如,若预设灰阶亮度关系式为:G=aL b,其中,G、L分别为灰阶和亮度,a、b为系数,若求得测试灰阶64对应的目标亮度值为3.34,测试灰阶128对应的目标亮度值为13.37,则将(3.34,64)和(13.37,128)代入,求得目标灰阶亮度关系为G=35L 0.5
在S242中,得到目标灰阶亮度曲线后,将原始亮度值代入目标灰阶亮度曲线,求得目标灰阶,根据目标灰阶和测试灰阶,计算得到灰阶校正值。例如,假设得到目标灰阶亮度关系为G=35L 0.5,测试灰阶为64时,其中一个像素的原始亮度值为3,求得目标灰阶为60.62,则这个像素的灰阶校正值为64-60.62=3.38。根据各个像素的原始亮度值,分别得到各个像素的灰阶校正值,从而根据各个像素的灰阶校正值,分别对各个像素进行补偿,从而补偿待测试画面。
在本申请实施例中,通过获取测试灰阶下待测试画面中各个像素的原始亮度值,根据原始亮度值对待测试画面进行分类,从而确定待测试 画面的亮度缺陷类型,并通过不同的计算方式计算与待测试画面的亮度缺陷类型对应的目标亮度值,根据目标亮度值补偿待测试画面,能够提高补偿数据的精确度,从而提高补偿效果。
请参阅图7,本申请实施例提供的显示装置300包括:原始亮度获取模块310、类型确定模块320、目标亮度计算模块330和补偿模块340。
原始亮度获取模块310与类型确定模块320连接,类型确定模块320与目标亮度计算模块330连接,目标亮度计算模块330与补偿模块340连接。原始亮度获取模块310用于获取在测试灰阶下,待测试画面中各个像素的原始亮度值。类型确定模块320用于根据原始亮度值,确定待测试画面的亮度缺陷类型。目标亮度计算模块330用于计算与待测试画面的亮度缺陷类型对应的目标亮度值。补偿模块340用于根据目标亮度值,补偿待测试画面。
其中,请一并参阅图8,亮度缺陷类型包括不均匀分布亮度缺陷类型与综合亮度缺陷类型。类型确定模块320包括:第一判断单元321、不均匀分布单元322和综合单元333。第一判断单元321分别与不均匀分布单元322、综合单元333连接。第一判断单元321用于根据原始亮度值,判断待测试画面的亮度满足预设不均匀分布亮度缺陷条件还是满足预设综合亮度缺陷条件。不均匀分布单元322用于若满足预设不均匀分布亮度缺陷条件,则待测试画面的亮度缺陷类型为不均匀分布亮度缺陷类型。综合单元333用于若满足预设综合亮度缺陷条件,则待测试画面的亮度缺陷类型为综合亮度缺陷类型。
其中,第一判断单元321包括:划分子单元3211、梯度计算子单元3212、梯度分布构建子单元3213和比较子单元3214。划分子单元3211用于将待测试画面分成若干像素区域。梯度计算子单元3212用于计算各个像素区域的亮度平均值和各个相邻像素区域的距离。梯度分布构建子单元3213用于根据各个像素区域的亮度平均值和各个相邻像素区域的距离,构建亮度梯度分布图。比较子单元3214用于若亮度梯度分布阈值落入所述亮度梯度分布图范围内,则待测试画面的亮度满足预设 不均匀分布亮度缺陷条件。
其中,综合亮度缺陷类型包括轻微式亮度不均类型与严重式亮度不均类型。第一判断单元321还包括:绝对亮度计算子单元3215、轻微式确定子单元3216和严重式确定子单元3217。绝对亮度计算子单元3215用于根据测试灰阶,获取待测试画面的绝对亮度值。轻微式确定子单元3216用于若原始亮度值与绝对亮度值的差值小于或者等于预设范围阈值,则待测试画面的亮度缺陷类型为轻微式亮度不均类型。严重式确定子单元3217用于若原始亮度值与绝对亮度值的差值大于预设范围阈值,则待测试画面的亮度缺陷类型为严重式亮度不均类型。
其中,当待测试画面的亮度缺陷类型为不均匀分布亮度缺陷类型时,目标亮度计算模块330包括:区域选择单元331、区域平均值计算单元332和第一目标亮度确定单元333。区域选择单元331用于在待测试画面选择代表区域。区域平均值计算单元332用于计算代表区域的亮度平均值。第一目标亮度确定单元333用于将亮度平均值作为与待测试画面的不均匀分布亮度缺陷类型对应的目标亮度值。
其中,当待测试画面的亮度缺陷类型为轻微式亮度不均类型时,目标亮度计算模块330包括:平均值计算单元344和第二目标亮度确定单元345。平均值计算单元344用于计算各个原始亮度值的平均值;第二目标亮度确定单元345用于将平均值作为与待测试画面的亮度缺陷类型对应的目标亮度值。
其中,当待测试画面的亮度缺陷类型为严重式亮度不均类型时,目标亮度计算模块330包括:滤波单元346、剩余平均值计算单元347和第三目标亮度确定单元348。滤波单元346用于滤波处理原始亮度值,得到各个剩余像素的原始亮度值。剩余平均值计算单元347用于计算各个剩余像素的原始亮度值的平均值。第三目标亮度确定单元348用于将平均值作为与待测试画面的亮度缺陷类型对应的目标亮度值。
其中,补偿模块340包括:目标灰阶亮度关系确定单元341、灰阶校正值计算单元342和补偿单元343。目标灰阶亮度关系确定单元341根据目标亮度值、测试灰阶,确定目标灰阶亮度关系。灰阶校正值计算 单元342用于根据目标灰阶亮度关系、原始亮度值和测试灰阶,计算灰阶校正值。补偿单元343用于根据灰阶校正值,补偿待测试画面。
由于装置实施例和方法实施例是基于同一构思,在内容不互相冲突的前提下,装置实施例的内容可以引用方法实施例的,在此不赘述。
在本申请实施例中,显示装置300通过原始亮度获取模块310获取测试灰阶下待测试画面中各个像素的原始亮度值,类型确定模块320根据原始亮度值对待测试画面进行分类,从而确定待测试画面的亮度缺陷类型,并使目标亮度计算模块330通过不同的计算方式计算与待测试画面的亮度缺陷类型对应的目标亮度值,从而补偿模块340根据目标亮度值补偿待测试画面,能够提高补偿数据的精确度,从而提高补偿效果。
请参阅图9,本申请实施例提供的终端400包括:
一个或多个处理器410以及存储器420,图9中以一个处理器410为例。
处理器410和存储器420可以通过总线或者其他方式连接,图9中以通过总线连接为例。其中,处理器410可以与图1所示的显示面板100的芯片103连接,从而将补偿的结果输入芯片103,以使芯片103可以对各像素104进行显示补偿。
存储器420作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的即时消息提醒方法对应的程序指令/模块(例如,附图7和图8所示的原始亮度获取模块310、类型确定模块320、目标亮度计算模块330和补偿模块340)。处理器410通过运行存储在存储器420中的非易失性软件程序、指令以及模块,从而执行该用户终端的各种功能应用以及数据处理,即实现上述方法实施例的显示补偿的方法。
存储器420可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据即时消息提醒装置的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个 磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至即时消息提醒装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
一个或者多个模块存储在存储器420中,当被一个或者多个处理器410执行时,执行上述任意方法实施例中的显示补偿的方法,例如,执行以上描述的图2中的方法步骤210至步骤240,实现图7中的单元310-340中的各个模块或单元的功能。
本发明实施例还提供了一种非易失性计算机存储介质,计算机存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图9中的一个处理器410,可使得上述一个或多个处理器可执行上述任意方法实施例中的显示补偿的方法,例如,执行上述任意方法实施例中的显示补偿的方法,例如,执行以上描述的图2所示的各个步骤;也可实现附图7和图8所示的各个模块或单元的功能。
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特 征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (18)

  1. 一种显示补偿的方法,其特征在于,包括:
    获取在测试灰阶下,待测试画面中各个像素的原始亮度值;
    根据所述原始亮度值,确定所述待测试画面的亮度缺陷类型;
    计算与所述待测试画面的亮度缺陷类型对应的目标亮度值;
    根据所述目标亮度值,补偿所述待测试画面。
  2. 根据权利要求1所述的方法,其特征在于,所述亮度缺陷类型包括不均匀分布亮度缺陷类型与综合亮度缺陷类型;
    所述根据所述原始亮度值,确定所述待测试画面的亮度缺陷类型,包括:
    根据所述原始亮度值,判断所述待测试画面的亮度满足预设不均匀分布亮度缺陷条件还是满足预设综合亮度缺陷条件;
    若满足预设不均匀分布亮度缺陷条件,则所述待测试画面的亮度缺陷类型为所述不均匀分布亮度缺陷类型;
    若满足预设综合亮度缺陷条件,则所述待测试画面的亮度缺陷类型为所述综合亮度缺陷类型。
  3. 根据权利要求2所述的方法,其特征在于,所述判断所述待测试画面的亮度满足预设不均匀分布亮度缺陷条件,包括:
    将所述待测试画面分成若干像素区域;
    计算各个所述像素区域的亮度平均值和各个相邻所述像素区域的距离;
    根据各个所述像素区域的亮度平均值和各个相邻所述像素区域的距离,构建亮度梯度分布图;
    若亮度梯度分布阈值落入所述亮度梯度分布图范围内,则所述待测试画面的亮度满足预设不均匀分布亮度缺陷条件。
  4. 根据权利要求3所述的方法,其特征在于,当所述待测试画面 的亮度缺陷类型为所述不均匀分布亮度缺陷类型时,所述计算与所述待测试画面的亮度缺陷类型对应的目标亮度值,包括:
    在所述待测试画面选择代表区域;
    计算所述代表区域的亮度平均值;
    将所述亮度平均值作为与所述待测试画面的不均匀分布亮度缺陷类型对应的目标亮度值。
  5. 根据权利要求2所述的方法,其特征在于,所述综合亮度缺陷类型包括轻微式亮度不均类型与严重式亮度不均类型;
    所述判断所述待测试画面的亮度满足预设综合亮度缺陷条件,包括:
    根据所述测试灰阶,获取所述待测试画面的绝对亮度值;
    若所述原始亮度值与所述绝对亮度值的差值小于或者等于预设范围阈值,则所述待测试画面的亮度缺陷类型为所述轻微式亮度不均类型;
    若所述原始亮度值与所述绝对亮度值的差值大于所述预设范围阈值,则所述待测试画面的亮度缺陷类型为所述严重式亮度不均类型。
  6. 根据权利要求5所述的方法,其特征在于,当所述待测试画面的亮度缺陷类型为所述轻微式亮度不均类型时,所述计算与所述待测试画面的亮度缺陷类别对应的目标亮度值,包括:
    计算各个所述原始亮度值的平均值;
    将所述平均值作为与所述待测试画面的亮度缺陷类型对应的目标亮度值。
  7. 根据权利要求5所述的方法,其特征在于,当所述待测试画面的亮度缺陷类型为所述严重式亮度不均类型时,所述计算与所述待测试画面的亮度缺陷类型对应的目标亮度值,包括:
    滤波处理所述原始亮度值,得到各个剩余像素的原始亮度值;
    计算所述各个剩余像素的原始亮度值的平均值;
    将所述平均值作为与所述待测试画面的亮度缺陷类型对应的所述目标亮度值。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述根据所述目标亮度值,补偿所述待测试画面,包括:
    根据所述目标亮度值、所述测试灰阶,确定目标灰阶亮度关系;
    根据所述目标灰阶亮度关系、所述原始亮度值和所述测试灰阶,计算灰阶校正值;
    根据所述灰阶校正值,补偿所述待测试画面。
  9. 一种显示补偿的装置,其特征在于,包括:
    原始亮度获取模块,用于获取在测试灰阶下,待测试画面中各个像素的原始亮度值;
    类型确定模块,用于根据所述原始亮度值,确定所述待测试画面的亮度缺陷类型;
    目标亮度计算模块,用于计算与所述待测试画面的亮度缺陷类型对应的目标亮度值;
    补偿模块,用于根据所述目标亮度值,补偿所述待测试画面。
  10. 根据权利要求9所述的装置,其特征在于,所述亮度缺陷类型包括不均匀分布亮度缺陷类型与综合亮度缺陷类型;
    所述类型确定模块包括:
    第一判断单元,用于根据所述原始亮度值,判断所述待测试画面的亮度满足预设不均匀分布亮度缺陷条件还是满足预设综合亮度缺陷条件;
    不均匀分布单元,用于若满足预设不均匀分布亮度缺陷条件,则所述待测试画面的亮度缺陷类型为所述不均匀分布亮度缺陷类型;
    综合单元,用于若满足预设综合亮度缺陷条件,则所述待测试画面的亮度缺陷类型为所述综合亮度缺陷类型。
  11. 根据权利要求10所述的装置,其特征在于,所述第一判断单元包括:
    划分子单元,用于将所述待测试画面分成若干像素区域;
    梯度计算子单元,用于计算各个所述像素区域的亮度平均值和各个相邻所述像素区域的距离;
    梯度分布构建子单元,用于根据各个所述像素区域的亮度平均值和各个相邻所述像素区域的距离,构建亮度梯度分布图;
    比较子单元,用于若亮度梯度分布阈值落入所述亮度梯度分布图范围内,则所述待测试画面的亮度满足预设不均匀分布亮度缺陷条件。
  12. 根据权利要求11所述的装置,其特征在于,当所述待测试画面的亮度缺陷类型为所述不均匀分布亮度缺陷类型时,所述目标亮度计算模块包括:
    区域选择单元,用于在所述待测试画面选择代表区域;
    区域平均值计算单元,用于计算所述代表区域的亮度平均值;
    第一目标亮度确定单元,用于将所述亮度平均值作为与所述待测试画面的不均匀分布亮度缺陷类型对应的目标亮度值。
  13. 根据权利要求10所述的装置,其特征在于,所述综合亮度缺陷类型包括轻微式亮度不均类型与严重式亮度不均类型;
    所述第一判断单元还包括:
    绝对亮度计算子单元,用于根据所述测试灰阶,获取所述待测试画面的绝对亮度值;
    轻微式确定子单元,用于若所述原始亮度值与所述绝对亮度值的差值小于或者等于预设范围阈值,则所述待测试画面的亮度缺陷类型为所述轻微式亮度不均类型;
    严重式确定子单元,用于若所述原始亮度值与所述绝对亮度值的差值大于所述预设范围阈值,则所述待测试画面的亮度缺陷类型为所述严重式亮度不均类型。
  14. 根据权利要求13所述的装置,其特征在于,当所述待测试画面的亮度缺陷类型为所述轻微式亮度不均类型时,所述目标亮度计算模 块包括:
    平均值计算单元,用于计算各个所述原始亮度值的平均值;
    第二目标亮度确定单元,用于将所述平均值作为与所述待测试画面的亮度缺陷类型对应的目标亮度值。
  15. 根据权利要求13所述的装置,其特征在于,当所述待测试画面的亮度缺陷类型为所述严重式亮度不均类型时,所述目标亮度计算模块包括:
    滤波单元,用于滤波处理所述原始亮度值,得到各个剩余像素的原始亮度值;
    剩余平均值计算单元,用于计算所述各个剩余像素的原始亮度值的平均值;
    第三目标亮度确定单元,用于将所述平均值作为与所述待测试画面的亮度缺陷类型对应的所述目标亮度值。
  16. 根据权利要求9-15任一项所述的装置,其特征在于,所述补偿模块包括:
    目标灰阶亮度关系确定单元,根据所述目标亮度值、所述测试灰阶,确定目标灰阶亮度关系;
    灰阶校正值计算单元,用于根据所述目标灰阶亮度关系、所述原始亮度值和所述测试灰阶,计算灰阶校正值;
    补偿单元,用于根据所述灰阶校正值,补偿所述待测试画面。
  17. 一种终端,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-8的任一项所述的方法。
  18. 一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使用户终端能够执行权利要求1-8的任一项所述的方法。
PCT/CN2018/123574 2018-12-25 2018-12-25 一种显示补偿的方法、装置及终端 WO2020132883A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/123574 WO2020132883A1 (zh) 2018-12-25 2018-12-25 一种显示补偿的方法、装置及终端
CN201880095896.2A CN112740667A (zh) 2018-12-25 2018-12-25 一种显示补偿的方法、装置及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/123574 WO2020132883A1 (zh) 2018-12-25 2018-12-25 一种显示补偿的方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2020132883A1 true WO2020132883A1 (zh) 2020-07-02

Family

ID=71127312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123574 WO2020132883A1 (zh) 2018-12-25 2018-12-25 一种显示补偿的方法、装置及终端

Country Status (2)

Country Link
CN (1) CN112740667A (zh)
WO (1) WO2020132883A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362781A (zh) * 2021-06-23 2021-09-07 合肥维信诺科技有限公司 显示面板的亮度补偿方法及亮度补偿系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298739B (zh) * 2021-07-27 2021-11-02 华兴源创(成都)科技有限公司 显示修复方法、计算机设备和计算机可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080284794A1 (en) * 2007-05-17 2008-11-20 Top Team Int'l Patent & Trademark Office Image display system and method for eliminating mura defects
CN101315745A (zh) * 2007-05-28 2008-12-03 统宝光电股份有限公司 图像显示系统与其云纹缺陷消除方法
CN104021759A (zh) * 2014-05-30 2014-09-03 京东方科技集团股份有限公司 一种显示器件的亮度补偿方法、亮度补偿装置及显示器件
US20150146017A1 (en) * 2013-11-22 2015-05-28 Samsung Display Co., Ltd. Luminance correction system and method
CN107657606A (zh) * 2017-09-18 2018-02-02 深圳市华星光电半导体显示技术有限公司 一种显示装置的亮度缺陷检测方法与装置
CN109036260A (zh) * 2018-08-31 2018-12-18 北京集创北方科技股份有限公司 数据处理方法、显示驱动芯片和显示设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045863B (zh) * 2017-06-26 2018-02-16 惠科股份有限公司 一种显示面板的灰阶调整方法及装置
CN108877740B (zh) * 2018-07-25 2020-09-22 昆山国显光电有限公司 获取Mura补偿数据的方法、装置、计算机设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080284794A1 (en) * 2007-05-17 2008-11-20 Top Team Int'l Patent & Trademark Office Image display system and method for eliminating mura defects
CN101315745A (zh) * 2007-05-28 2008-12-03 统宝光电股份有限公司 图像显示系统与其云纹缺陷消除方法
US20150146017A1 (en) * 2013-11-22 2015-05-28 Samsung Display Co., Ltd. Luminance correction system and method
CN104021759A (zh) * 2014-05-30 2014-09-03 京东方科技集团股份有限公司 一种显示器件的亮度补偿方法、亮度补偿装置及显示器件
CN107657606A (zh) * 2017-09-18 2018-02-02 深圳市华星光电半导体显示技术有限公司 一种显示装置的亮度缺陷检测方法与装置
CN109036260A (zh) * 2018-08-31 2018-12-18 北京集创北方科技股份有限公司 数据处理方法、显示驱动芯片和显示设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362781A (zh) * 2021-06-23 2021-09-07 合肥维信诺科技有限公司 显示面板的亮度补偿方法及亮度补偿系统

Also Published As

Publication number Publication date
CN112740667A (zh) 2021-04-30

Similar Documents

Publication Publication Date Title
CN106782307B (zh) 一种oled显示面板的灰阶补偿方法以及灰阶补偿系统
US11074882B2 (en) Method and device for adjusting grayscale of display panel
CN110085166B (zh) 曲面屏幕的亮斑补偿方法及装置
WO2020215179A1 (zh) 亮度补偿参数检测方法、亮度补偿方法、亮度补偿参数检测装置、亮度补偿装置、显示装置及存储介质
CN107408367B (zh) 一种校正显示屏不均匀的方法、装置及系统
US7983506B2 (en) Method, medium and system processing image signals
WO2020077900A1 (zh) 驱动电压补偿方法、灰阶补偿方法以及显示装置
US9886882B2 (en) Grayscale compensation method
WO2019100443A1 (zh) 一种mura补偿方法及装置
CN108376532B (zh) 一种显示装置的亮度补偿方法及装置
CN105702218A (zh) 显示装置、驱动该显示装置的方法及其视觉检查装置
WO2020034445A1 (zh) 曲面屏弯折区色偏修正的方法、装置、存储介质及终端
US9734773B2 (en) Display improvement method and apparatus for liquid crystal display panel
CN105185314A (zh) Led显示屏均匀性补偿方法
US9508281B2 (en) Apparatus and method for image analysis and image display
CN109471276B (zh) 一种液晶屏色偏缺陷检测方法及装置
US20200035194A1 (en) Display device and image processing method thereof
US10854153B2 (en) Driving voltage compensation method, gray scale compensation method and display device
WO2016070455A1 (zh) 液晶面板及其像素单元设定方法
CN105336307A (zh) 一种基于色温的显示器gamma曲线校正方法及系统
WO2020132883A1 (zh) 一种显示补偿的方法、装置及终端
WO2018113050A1 (zh) 一种显示面板的驱动方法及驱动装置
CN103489430B (zh) 获取背光亮度的方法及显示器
CN116524871B (zh) 驱动方法、驱动装置、显示装置和电子设备
CN111724754A (zh) 针对在线学习系统的护眼方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18944605

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18944605

Country of ref document: EP

Kind code of ref document: A1