Display compensation method, device and terminal

文档序号:690446 发布日期:2021-04-30 浏览:6次 中文

阅读说明:本技术 一种显示补偿的方法、装置及终端 (Display compensation method, device and terminal ) 是由 郭星灵 于 2018-12-25 设计创作,主要内容包括:本申请公开了一种显示补偿的方法、装置及终端,其中,显示补偿的方法包括:获取在测试灰阶下,待测试画面中各个像素的原始亮度值;根据原始亮度值,确定待测试画面的亮度缺陷类型;计算与待测试画面的亮度缺陷类型对应的目标亮度值;根据目标亮度值,补偿待测试画面。通过显示画面进行分类,以不同的方式计算补偿数据,能够提高补偿数据的精确度,从而提高补偿效果。(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.)

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 content of the first and second substances,

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.

36页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:译码方法、设备、系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!