Display compensation method and device and display panel

文档序号:193277 发布日期:2021-11-02 浏览:19次 中文

阅读说明:本技术 显示补偿方法及装置、显示面板 (Display compensation method and device and display panel ) 是由 张永雷 于 2021-07-19 设计创作,主要内容包括:本申请提供一种显示补偿方法及装置、显示面板;该显示补偿方法包括:根据中心像素单元的位置沿预设方向确定中心像素列、第一像素列、第二像素列、第三像素列和第四像素列,根据各像素列中所包含的像素单元的灰阶值确定目标像素区,将目标像素区内的各个像素单元的灰阶值调整为等于待显示画面的真实灰阶值。本申请根据中心像素单元确定多个像素列,并根据各个像素列中的像素单元的灰阶值确定目标像素区,进而对目标像素区内的像素单元的灰阶值进行调整;该像素补偿方法可以准确确定显示面板中的彩色斜线的位置,并针对彩色斜线对应的像素单元的灰阶进行调整,以缓解显示画面中出现彩色斜线的问题。(The application provides a display compensation method and device and a display panel; the display compensation method comprises the following steps: determining a central pixel column, a first pixel column, a second pixel column, a third pixel column and a fourth pixel column along a preset direction according to the position of the central pixel unit, determining a target pixel area according to the gray-scale value of the pixel unit contained in each pixel column, and adjusting the gray-scale value of each pixel unit in the target pixel area to be equal to the real gray-scale value of the picture to be displayed. Determining a plurality of pixel columns according to a central pixel unit, determining a target pixel area according to the gray-scale values of the pixel units in the pixel columns, and adjusting the gray-scale values of the pixel units in the target pixel area; the pixel compensation method can accurately determine the position of the color oblique line in the display panel and adjust the gray scale of the pixel unit corresponding to the color oblique line so as to relieve the problem of the color oblique line in the display picture.)

1. A display compensation method is applied to a display panel, the display panel comprises a plurality of pixel units, and the display compensation method comprises the following steps:

selecting a pixel area in the display panel, wherein the pixel area comprises a plurality of pixel units;

determining a central pixel unit located at the central position of the pixel area;

determining a central pixel column comprising the central pixel unit, a first pixel column and a second pixel column which are positioned at two opposite sides of the central pixel column, a third pixel column positioned at one side of the first pixel column far away from the central pixel column, and a fourth pixel column positioned at one side of the second pixel column far away from the central pixel column along a preset direction;

determining a target pixel area according to the gray-scale values of pixel units contained in the central pixel column, the first pixel column, the second pixel column, the third pixel column and the fourth pixel column;

and adjusting the gray-scale value of each pixel unit in the target pixel area to enable the gray-scale value of each pixel unit in the target pixel area to be equal to the real gray-scale value of the picture to be displayed.

2. The method according to claim 1, wherein the step of determining the target pixel area according to the gray-scale values of the pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column comprises:

acquiring the current gray-scale value of each pixel unit in the central pixel column;

acquiring the current gray-scale value of each pixel unit in the first pixel row;

acquiring the current gray-scale value of each pixel unit in the second pixel row;

acquiring the current gray-scale value of each pixel unit in the third pixel row;

and acquiring the current gray-scale value of each pixel unit in the fourth pixel column.

3. The display compensation method according to claim 2, wherein the step of determining a target pixel region according to the gray-scale values of the pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further comprises:

judging whether the current gray-scale values of all the pixel units in the central pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the first pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the second pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the third pixel row are equal or not;

and judging whether the current gray-scale values of all the pixel units in the fourth pixel row are equal or not.

4. The display compensation method according to claim 3, wherein the step of determining a target pixel region according to the gray-scale values of the pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further comprises:

the current gray-scale values of all the pixel units in the central pixel row are equal, the current gray-scale values of all the pixel units in the first pixel row are equal, the current gray-scale values of all the pixel units in the second pixel row are equal, the current gray-scale values of all the pixel units in the third pixel row are equal, and the current gray-scale values of all the pixel units in the fourth pixel row are equal;

comparing the magnitude relation between the current gray-scale value of any pixel unit in the first pixel column and the current gray-scale value of any pixel unit in the fourth pixel column;

and comparing the magnitude relation between the current gray-scale value of any pixel unit in the second pixel row and the current gray-scale value of any pixel unit in the third pixel row.

5. The display compensation method according to claim 4, wherein the step of determining a target pixel region according to the gray-scale values of the pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further comprises:

the current gray-scale values of all the pixel units in the central pixel row are equal, the current gray-scale values of all the pixel units in the first pixel row are equal, the current gray-scale values of all the pixel units in the second pixel row are equal, the current gray-scale values of all the pixel units in the third pixel row are equal, and the current gray-scale values of all the pixel units in the fourth pixel row are equal;

the current gray-scale value of any pixel unit in the first pixel row is not equal to the current gray-scale value of any pixel unit in the fourth pixel row;

the current gray-scale value of any pixel unit in the second pixel row is not equal to the current gray-scale value of any pixel unit in the third pixel row;

determining the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column as the target pixel region.

6. The display compensation method of claim 3, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the central pixel column are equal comprises the following steps:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the central pixel row;

comparing the current gray-scale values of the second sub-pixels contained in each pixel unit in the central pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the central pixel column;

when the current gray-scale values of the first sub-pixels contained in the pixel units in the central pixel row are equal, the current gray-scale values of the second sub-pixels contained in the pixel units in the central pixel row are equal, and the current gray-scale values of the third sub-pixels contained in the pixel units in the central pixel row are equal, the current gray-scale values of the pixel units in the central pixel row are determined to be equal.

7. The display compensation method of claim 3, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the first pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the first pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the first pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the first pixel row;

when the current gray-scale values of the first sub-pixels contained in the pixel units in the first pixel row are equal, the current gray-scale values of the second sub-pixels contained in the pixel units in the first pixel row are equal, and the current gray-scale values of the third sub-pixels contained in the pixel units in the first pixel row are equal, it is determined that the current gray-scale values of the pixel units in the first pixel row are equal.

8. The display compensation method of claim 3, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the second pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the second pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the second pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the second pixel row;

when the current gray-scale values of the first sub-pixels included in each pixel unit in the second pixel row are equal, the current gray-scale values of the second sub-pixels included in each pixel unit in the second pixel row are equal, and the current gray-scale values of the third sub-pixels included in each pixel unit in the second pixel row are equal, it is determined that the current gray-scale values of the pixel units in the second pixel row are equal.

9. The display compensation method of claim 3, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the third pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the third pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the third pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the third pixel row;

when the current gray-scale values of the first sub-pixels included in the pixel units in the third pixel row are equal, the current gray-scale values of the second sub-pixels included in the pixel units in the third pixel row are equal, and the current gray-scale values of the third sub-pixels included in the pixel units in the third pixel row are equal, it is determined that the current gray-scale values of the pixel units in the third pixel row are equal.

10. The display compensation method of claim 3, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the fourth pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the fourth pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the fourth pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the fourth pixel row;

when the current gray-scale values of the first sub-pixels included in each pixel unit in the fourth pixel row are equal, the current gray-scale values of the second sub-pixels included in each pixel unit in the fourth pixel row are equal, and the current gray-scale values of the third sub-pixels included in each pixel unit in the fourth pixel row are equal, it is determined that the current gray-scale values of the pixel units in the fourth pixel row are equal.

11. The display compensation method of claim 4, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of comparing the magnitude relationship between the current gray-scale value of any pixel unit in the first pixel row and the current gray-scale value of any pixel unit in the fourth pixel row comprises:

comparing the current gray-scale value of the first sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the first sub-pixel contained in any pixel unit in the fourth pixel row;

comparing the current gray-scale value of the second sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the second sub-pixel contained in any pixel unit in the fourth pixel row;

comparing the current gray-scale value of the third sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the third sub-pixel contained in any pixel unit in the fourth pixel row;

when the current gray-scale value of the first sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the first sub-pixel included in the pixel unit in the fourth pixel column, the current gray-scale value of the second sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the second sub-pixel included in the pixel unit in the fourth pixel column, and the current gray-scale value of the third sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the third sub-pixel included in the pixel unit in the fourth pixel column, it is determined that the current gray-scale value of any pixel unit in the first pixel column is not equal to the current gray-scale value of any pixel unit in the fourth pixel column.

12. The display compensation method of claim 4, wherein each of the pixel units comprises a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of comparing the magnitude relationship between the current gray-scale value of any pixel unit in the second pixel row and the current gray-scale value of any pixel unit in the third pixel row comprises:

comparing the current gray-scale value of the first sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the first sub-pixel contained in any pixel unit in the third pixel row;

comparing the current gray-scale value of the second sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the second sub-pixel contained in any pixel unit in the third pixel row;

comparing the current gray-scale value of the third sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the third sub-pixel contained in any pixel unit in the third pixel row;

when the current gray-scale value of the first sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the first sub-pixel included in the pixel unit in the third pixel row, the current gray-scale value of the second sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the second sub-pixel included in the pixel unit in the third pixel row, and the current gray-scale value of the third sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the third sub-pixel included in the pixel unit in the third pixel row, it is determined that the current gray-scale value of any pixel unit in the second pixel row is not equal to the current gray-scale value of any pixel unit in the third pixel row.

13. A display compensation device applied to a display panel, the display panel comprising a plurality of pixel units, the display compensation device comprising:

a selecting module, configured to select a pixel region in the display panel, where the pixel region includes a plurality of pixel units;

a first determining module, configured to determine a central pixel unit located at a central position of the pixel region;

the second determining module is used for determining a central pixel column comprising the central pixel unit, a first pixel column and a second pixel column which are positioned at two opposite sides of the central pixel column, a third pixel column positioned at one side of the first pixel column far away from the central pixel column and a fourth pixel column positioned at one side of the second pixel column far away from the central pixel column along a preset direction;

a third determining module, configured to determine a target pixel area according to gray-scale values of pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column;

and the adjusting module is used for adjusting the gray-scale value of each pixel unit in the target pixel area, so that the gray-scale value of each pixel unit in the target pixel area is equal to the real gray-scale value of the picture to be displayed.

14. A display panel, wherein the display panel performs display by using the display compensation method according to any one of claims 1 to 12; or

The display panel comprising the display compensation apparatus of claim 13.

Technical Field

The present application relates to the field of display technologies, and in particular, to a display compensation method and apparatus, and a display panel.

Background

With the development of Display technology, Liquid Crystal Displays (LCDs) have become larger and larger in size, and viewing angle parameters of large-sized LCDs are particularly important. Currently, it has become an important means to realize a large viewing Angle by compensating the viewing Angle of the liquid crystal display screen by using a VAC (View Angle Compensation) technology in the liquid crystal display screen. The key of the VAC technology is that the combination of high-gray-scale pixels and low-gray-scale pixels is adopted to realize the picture display of the intermediate gray scale, and the method has obvious advantages in the aspect of improving the display visual angle.

However, the VAC technology causes the single pixel to be over green or over violet, and the picture displayed by the lcd as a whole has a diagonal color phenomenon, that is, the picture displayed by the lcd has a color diagonal extending along a specific angle (for example, 45 degrees or 135 degrees), which affects the display effect.

Therefore, the liquid crystal display screen adopting the VAC technology has the technical problem of color oblique lines.

Disclosure of Invention

The application provides a display compensation method and device and a display panel, which are used for relieving the technical problem of color oblique lines existing in the conventional liquid crystal display device.

The application provides a display compensation method, which is applied to a display panel, wherein the display panel comprises a plurality of pixel units, and the display compensation method comprises the following steps:

selecting a pixel area in the display panel, wherein the pixel area comprises a plurality of pixel units;

determining a central pixel unit located at the central position of the pixel area;

determining a central pixel column comprising the central pixel unit, a first pixel column and a second pixel column which are positioned at two opposite sides of the central pixel column, a third pixel column positioned at one side of the first pixel column far away from the central pixel column, and a fourth pixel column positioned at one side of the second pixel column far away from the central pixel column along a preset direction;

determining a target pixel area according to the gray-scale values of pixel units contained in the central pixel column, the first pixel column, the second pixel column, the third pixel column and the fourth pixel column;

and adjusting the gray-scale value of each pixel unit in the target pixel area to enable the gray-scale value of each pixel unit in the target pixel area to be equal to the real gray-scale value of the picture to be displayed.

In the display compensation method of the present application, the step of determining a target pixel region according to gray-scale values of pixel units included in the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column includes:

acquiring the current gray-scale value of each pixel unit in the central pixel column;

acquiring the current gray-scale value of each pixel unit in the first pixel row;

acquiring the current gray-scale value of each pixel unit in the second pixel row;

acquiring the current gray-scale value of each pixel unit in the third pixel row;

and acquiring the current gray-scale value of each pixel unit in the fourth pixel column.

In the display compensation method of the present application, the step of determining a target pixel region according to gray-scale values of pixel units included in the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further includes:

judging whether the current gray-scale values of all the pixel units in the central pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the first pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the second pixel row are equal or not;

judging whether the current gray-scale values of all the pixel units in the third pixel row are equal or not;

and judging whether the current gray-scale values of all the pixel units in the fourth pixel row are equal or not.

In the display compensation method of the present application, the step of determining a target pixel region according to gray-scale values of pixel units included in the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further includes:

the current gray-scale values of all the pixel units in the central pixel row are equal, the current gray-scale values of all the pixel units in the first pixel row are equal, the current gray-scale values of all the pixel units in the second pixel row are equal, the current gray-scale values of all the pixel units in the third pixel row are equal, and the current gray-scale values of all the pixel units in the fourth pixel row are equal;

comparing the magnitude relation between the current gray-scale value of any pixel unit in the first pixel column and the current gray-scale value of any pixel unit in the fourth pixel column;

and comparing the magnitude relation between the current gray-scale value of any pixel unit in the second pixel row and the current gray-scale value of any pixel unit in the third pixel row.

In the display compensation method of the present application, the step of determining a target pixel region according to gray-scale values of pixel units included in the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column further includes:

the current gray-scale values of all the pixel units in the central pixel row are equal, the current gray-scale values of all the pixel units in the first pixel row are equal, the current gray-scale values of all the pixel units in the second pixel row are equal, the current gray-scale values of all the pixel units in the third pixel row are equal, and the current gray-scale values of all the pixel units in the fourth pixel row are equal;

the current gray-scale value of any pixel unit in the first pixel row is not equal to the current gray-scale value of any pixel unit in the fourth pixel row;

the current gray-scale value of any pixel unit in the second pixel row is not equal to the current gray-scale value of any pixel unit in the third pixel row;

determining the center pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column as the target pixel region.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the central pixel column are equal comprises the following steps:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the central pixel row;

comparing the current gray-scale values of the second sub-pixels contained in each pixel unit in the central pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the central pixel column;

when the current gray-scale values of the first sub-pixels contained in the pixel units in the central pixel row are equal, the current gray-scale values of the second sub-pixels contained in the pixel units in the central pixel row are equal, and the current gray-scale values of the third sub-pixels contained in the pixel units in the central pixel row are equal, the current gray-scale values of the pixel units in the central pixel row are determined to be equal.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the first pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the first pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the first pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the first pixel row;

when the current gray-scale values of the first sub-pixels contained in the pixel units in the first pixel row are equal, the current gray-scale values of the second sub-pixels contained in the pixel units in the first pixel row are equal, and the current gray-scale values of the third sub-pixels contained in the pixel units in the first pixel row are equal, it is determined that the current gray-scale values of the pixel units in the first pixel row are equal.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the second pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the second pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the second pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the second pixel row;

when the current gray-scale values of the first sub-pixels included in each pixel unit in the second pixel row are equal, the current gray-scale values of the second sub-pixels included in each pixel unit in the second pixel row are equal, and the current gray-scale values of the third sub-pixels included in each pixel unit in the second pixel row are equal, it is determined that the current gray-scale values of the pixel units in the second pixel row are equal.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the third pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the third pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the third pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the third pixel row;

when the current gray-scale values of the first sub-pixels included in the pixel units in the third pixel row are equal, the current gray-scale values of the second sub-pixels included in the pixel units in the third pixel row are equal, and the current gray-scale values of the third sub-pixels included in the pixel units in the third pixel row are equal, it is determined that the current gray-scale values of the pixel units in the third pixel row are equal.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of judging whether the current gray-scale values of the pixel units in the fourth pixel row are equal to each other includes:

comparing the current gray-scale value of the first sub-pixel contained in each pixel unit in the fourth pixel row;

comparing the current gray-scale value of the second sub-pixel contained in each pixel unit in the fourth pixel row;

comparing the current gray-scale value of a third sub-pixel contained in each pixel unit in the fourth pixel row;

when the current gray-scale values of the first sub-pixels included in each pixel unit in the fourth pixel row are equal, the current gray-scale values of the second sub-pixels included in each pixel unit in the fourth pixel row are equal, and the current gray-scale values of the third sub-pixels included in each pixel unit in the fourth pixel row are equal, it is determined that the current gray-scale values of the pixel units in the fourth pixel row are equal.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of comparing the magnitude relationship between the current gray-scale value of any pixel unit in the first pixel row and the current gray-scale value of any pixel unit in the fourth pixel row comprises:

comparing the current gray-scale value of the first sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the first sub-pixel contained in any pixel unit in the fourth pixel row;

comparing the current gray-scale value of the second sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the second sub-pixel contained in any pixel unit in the fourth pixel row;

comparing the current gray-scale value of the third sub-pixel contained in any pixel unit in the first pixel row with the current gray-scale value of the third sub-pixel contained in any pixel unit in the fourth pixel row;

when the current gray-scale value of the first sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the first sub-pixel included in the pixel unit in the fourth pixel column, the current gray-scale value of the second sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the second sub-pixel included in the pixel unit in the fourth pixel column, and the current gray-scale value of the third sub-pixel included in the pixel unit in the first pixel column is not equal to the current gray-scale value of the third sub-pixel included in the pixel unit in the fourth pixel column, it is determined that the current gray-scale value of any pixel unit in the first pixel column is not equal to the current gray-scale value of any pixel unit in the fourth pixel column.

In the display compensation method of the present application, each of the pixel units includes a first sub-pixel, a second sub-pixel, and a third sub-pixel;

the step of comparing the magnitude relationship between the current gray-scale value of any pixel unit in the second pixel row and the current gray-scale value of any pixel unit in the third pixel row comprises:

comparing the current gray-scale value of the first sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the first sub-pixel contained in any pixel unit in the third pixel row;

comparing the current gray-scale value of the second sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the second sub-pixel contained in any pixel unit in the third pixel row;

comparing the current gray-scale value of the third sub-pixel contained in any pixel unit in the second pixel row with the current gray-scale value of the third sub-pixel contained in any pixel unit in the third pixel row;

when the current gray-scale value of the first sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the first sub-pixel included in the pixel unit in the third pixel row, the current gray-scale value of the second sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the second sub-pixel included in the pixel unit in the third pixel row, and the current gray-scale value of the third sub-pixel included in the pixel unit in the second pixel row is not equal to the current gray-scale value of the third sub-pixel included in the pixel unit in the third pixel row, it is determined that the current gray-scale value of any pixel unit in the second pixel row is not equal to the current gray-scale value of any pixel unit in the third pixel row.

The present application further provides a display compensation device applied to a display panel, the display panel includes a plurality of pixel units, the display compensation device includes:

a selecting module, configured to select a pixel region in the display panel, where the pixel region includes a plurality of pixel units;

a first determining module, configured to determine a central pixel unit located at a central position of the pixel region;

the second determining module is used for determining a central pixel column comprising the central pixel unit, a first pixel column and a second pixel column which are positioned at two opposite sides of the central pixel column, a third pixel column positioned at one side of the first pixel column far away from the central pixel column and a fourth pixel column positioned at one side of the second pixel column far away from the central pixel column along a preset direction;

a third determining module, configured to determine a target pixel area according to gray-scale values of pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column;

and the adjusting module is used for adjusting the gray-scale value of each pixel unit in the target pixel area, so that the gray-scale value of each pixel unit in the target pixel area is equal to the real gray-scale value of the picture to be displayed.

The application also provides a display panel, wherein the display panel adopts the display compensation method to perform display; or the display panel comprises a display compensation device as described above.

The beneficial effect of this application is: the application provides a display compensation method and device and a display panel, wherein the display compensation method is applied to the display panel and comprises the following steps: determining a central pixel unit in the pixel area, determining a central pixel column, a first pixel column, a second pixel column, a third pixel column and a fourth pixel column along a preset direction according to the position of the central pixel unit, determining a target pixel area according to the gray-scale values of the pixel units contained in the central pixel column, the first pixel column, the second pixel column, the third pixel column and the fourth pixel column, and adjusting the gray-scale value of each pixel unit in the target pixel area so that the gray-scale value of each pixel unit in the target pixel area is equal to the real gray-scale value of the picture to be displayed. Determining a plurality of pixel columns according to a central pixel unit, determining a target pixel area according to the gray-scale values of the pixel units in the pixel columns, and further adjusting the gray-scale values of the pixel units in the target pixel area to be equal to the real gray-scale value of a picture to be displayed; the pixel compensation method can accurately determine the position of the color oblique line in the display panel and adjust the gray scale of the pixel unit corresponding to the color oblique line so as to relieve the problem of the color oblique line in the display picture.

Drawings

The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.

Fig. 1 is a flowchart of a display compensation method according to an embodiment of the present disclosure.

Fig. 2 is a schematic structural diagram of a pixel unit in a display panel according to an embodiment of the present disclosure.

Fig. 3 is a first schematic diagram of a target pixel area determined in a display panel by using a display compensation method provided in an embodiment of the present application.

Fig. 4 is a second schematic diagram of a target pixel area determined in a display panel by using a display compensation method provided in an embodiment of the present application.

Fig. 5 is a schematic structural diagram of a display compensation apparatus according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The embodiment of the application provides a display compensation method, a display compensation device and a display panel, wherein the display compensation method is applied to the display panel and comprises the following steps: determining a central pixel unit in the pixel area, determining a central pixel column, a first pixel column, a second pixel column, a third pixel column and a fourth pixel column along a preset direction according to the position of the central pixel unit, determining a target pixel area according to the gray-scale values of the pixel units contained in the central pixel column, the first pixel column, the second pixel column, the third pixel column and the fourth pixel column, and adjusting the gray-scale value of each pixel unit in the target pixel area so that the gray-scale value of each pixel unit in the target pixel area is equal to the real gray-scale value of the picture to be displayed. The method comprises the steps that a plurality of pixel columns are determined according to a central pixel unit, a target pixel area is determined according to the gray-scale value of the pixel unit in each pixel column, and then the gray-scale value of the pixel unit in the target pixel area is adjusted to be equal to the real gray-scale value of a picture to be displayed; the pixel compensation method can accurately determine the position of the color oblique line in the display panel and adjust the gray scale of the pixel unit corresponding to the color oblique line so as to relieve the problem of the color oblique line in the display picture.

Referring to fig. 1 to 4, fig. 1 is a flowchart of a display compensation method according to an embodiment of the present disclosure, fig. 2 is a schematic structural diagram of a pixel unit in a display panel according to an embodiment of the present disclosure, fig. 3 is a first schematic diagram of a target pixel area determined in the display panel by using the display compensation method according to the embodiment of the present disclosure, and fig. 4 is a second schematic diagram of the target pixel area determined in the display panel by using the display compensation method according to the embodiment of the present disclosure.

The display compensation method provided by the embodiment of the application is applied to a display panel, and the display panel has the pixel unit structure and the arrangement structure of the pixel units shown in fig. 2 to 4. The display panel comprises a plurality of pixel units 10, wherein each pixel unit 10 comprises a first sub-pixel 101, a second sub-pixel 102 and a third sub-pixel 103. The first sub-pixel 101 is used for displaying a first color light, such as a red light; the second sub-pixel 102 is used for displaying a second color light, such as green light; the third sub-pixel 103 is used for displaying a third color light, such as blue light.

In step S101, a pixel area T including a plurality of pixel units 10 is selected in the display panel.

Specifically, the pixel region T is a pixel matrix region composed of n rows and m columns of pixel units 10, where n and m are integers greater than 2.

Considering the cost of the device, the pixel region T may be a pixel matrix region formed by 4 rows and 5 columns of pixel units 10, and the pixel region T contains 20 pixel units 10.

In step S102, the central pixel unit 10a located at the center of the pixel region T is determined.

Specifically, according to the number and the arrangement rule of the pixel units included in the pixel region T, the method for determining the central pixel unit 10a may include:

when n and m are both odd numbers, the central pixel unit 10a selects the pixel units 10 in the (n +1)/2 th row and the (m +1)/2 th column in the pixel region T;

when n is an odd number and m is an even number, the central pixel unit 10a selects the pixel units 10 in the (n +1)/2 th row and the (m +2)/2 nd column in the pixel region T;

when n is an even number and m is an odd number, the central pixel unit 10a selects the pixel units 10 in the (n +2)/2 th row and the (m +1)/2 th column in the pixel region T;

when n and m are both even numbers, the central pixel unit 10a selects the pixel units 10 in the (n +2)/2 th row and the (m +2)/2 nd column in the pixel region T.

For example, when the pixel region T is a pixel matrix area composed of 4 rows and 5 columns of pixel units 10, the central pixel unit 10a selects the 3 rd row and 3 rd column of pixel units 10 in the pixel region T.

Step S103, determining a central pixel column S0 including the central pixel cell 10a, a first pixel column S1 and a second pixel column S2 located at two opposite sides of the central pixel column S0, a third pixel column S3 located at a side of the first pixel column S1 away from the central pixel column S0, and a fourth pixel column S4 located at a side of the second pixel column S2 away from the central pixel column S0 along a predetermined direction.

Alternatively, the preset direction may be a direction forming an angle of 135 degrees with the row direction of the pixel unit 10 as shown in fig. 3, and may also be a direction forming an angle of 45 degrees with the row direction of the pixel unit 10 as shown in fig. 4.

In step S104, a target pixel area is determined according to the gray-scale values of the pixel units 10 included in the central pixel column S0, the first pixel column S1, the second pixel column S2, the third pixel column S3 and the fourth pixel column S4.

Specifically, the step S104 includes:

obtaining a current gray-scale value of each pixel unit 10 in the central pixel row S0, obtaining a current gray-scale value of each pixel unit 10 in the first pixel row S1, obtaining a current gray-scale value of each pixel unit 10 in the second pixel row S2, obtaining a current gray-scale value of each pixel unit 10 in the third pixel row S3, and obtaining a current gray-scale value of each pixel unit 10 in the fourth pixel row S4.

Judging whether the current gray-scale values of the pixel units 10 in the central pixel row S0 are equal, judging whether the current gray-scale values of the pixel units 10 in the first pixel row S1 are equal, judging whether the current gray-scale values of the pixel units 10 in the second pixel row S2 are equal, judging whether the current gray-scale values of the pixel units 10 in the third pixel row S3 are equal, and judging whether the current gray-scale values of the pixel units 10 in the fourth pixel row S4 are equal.

The current gray scale values of the pixel cells 10 in the central pixel row S0 are equal, the current gray scale values of the pixel cells 10 in the first pixel row S1 are equal, the current gray scale values of the pixel cells 10 in the second pixel row S2 are equal, the current gray scale values of the pixel cells 10 in the third pixel row S3 are equal, and the current gray scale values of the pixel cells 10 in the fourth pixel row S4 are equal; comparing the current gray-scale value of any pixel cell 10 in the first pixel column S1 with the current gray-scale value of any pixel cell 10 in the fourth pixel column S4; comparing the current gray-scale value of any pixel cell 10 in the second pixel column S2 with the current gray-scale value of any pixel cell 10 in the third pixel column S3.

The current gray scale values of the pixel cells 10 in the central pixel row S0 are equal, the current gray scale values of the pixel cells 10 in the first pixel row S1 are equal, the current gray scale values of the pixel cells 10 in the second pixel row S2 are equal, the current gray scale values of the pixel cells 10 in the third pixel row S3 are equal, and the current gray scale values of the pixel cells 10 in the fourth pixel row S4 are equal; and the current gray-scale value of any pixel cell 10 in the first pixel column S1 is not equal to the current gray-scale value of any pixel cell 10 in the fourth pixel column S4; and the current gray-scale value of any pixel cell 10 in the second pixel column S2 is not equal to the current gray-scale value of any pixel cell 10 in the third pixel column S3; determining the center pixel column S0, the first pixel column S1, the second pixel column S2, the third pixel column S3, and the fourth pixel column S4 as the target pixel region.

Optionally, the target pixel region may further include: the remaining pixel cells 10 on the display panel in the same column as the center pixel column S0 along the preset direction, the remaining pixel cells 10 on the display panel in the same column as the first pixel column S1 along the preset direction, the remaining pixel cells 10 on the display panel in the same column as the second pixel column S2 along the preset direction, the remaining pixel cells 10 on the display panel in the same column as the third pixel column S3 along the preset direction, and the remaining pixel cells 10 on the display panel in the same column as the fourth pixel column S4 along the preset direction.

Further, the step of determining whether the current gray-scale values of the pixel units 10 in the central pixel row S0 are equal to each other includes: comparing the current gray-scale values of the first sub-pixels 101 included in each pixel unit 10 in the central pixel row S0; comparing the current gray-scale values of the second sub-pixels 102 included in each pixel unit 10 in the central pixel row S0; comparing the current gray-scale values of the third sub-pixels 103 included in each pixel unit 10 in the central pixel row S0; when the current gray-scale values of the first sub-pixels 101 included in the pixel units 10 in the central pixel row S0 are equal, the current gray-scale values of the second sub-pixels 102 included in the pixel units 10 in the central pixel row S0 are equal, and the current gray-scale values of the third sub-pixels 103 included in the pixel units 10 in the central pixel row S0 are equal, it is determined that the current gray-scale values of the pixel units 10 in the central pixel row S0 are equal.

Further, the step of determining whether the current gray-scale values of the pixel units 10 in the first pixel column S1 are equal to each other includes: comparing the current gray-scale values of the first sub-pixels 101 included in each pixel unit 10 in the first pixel row S1; comparing the current gray-scale values of the second sub-pixels 102 included in each pixel unit 10 in the first pixel row S1; comparing the current gray-scale values of the third sub-pixels 103 included in each pixel unit 10 in the first pixel row S1; when the current gray-scale values of the first sub-pixels 101 included in the pixel units 10 in the first pixel row S1 are equal, the current gray-scale values of the second sub-pixels 102 included in the pixel units 10 in the first pixel row S1 are equal, and the current gray-scale values of the third sub-pixels 103 included in the pixel units 10 in the first pixel row S1 are equal, it is determined that the current gray-scale values of the pixel units 10 in the first pixel row S1 are equal.

Further, the step of determining whether the current gray-scale values of the pixel units 10 in the second pixel column S2 are equal to each other includes: comparing the current gray-scale values of the first sub-pixels 101 included in each pixel unit 10 in the second pixel row S2; comparing the current gray-scale values of the second sub-pixels 102 included in each pixel unit 10 in the second pixel row S2; comparing the current gray-scale values of the third sub-pixels 103 included in each pixel unit 10 in the second pixel row S2; when the current gray-scale values of the first sub-pixels 101 included in the pixel units 10 in the second pixel row S2 are equal, the current gray-scale values of the second sub-pixels 102 included in the pixel units 10 in the second pixel row S2 are equal, and the current gray-scale values of the third sub-pixels 103 included in the pixel units 10 in the second pixel row S2 are equal, it is determined that the current gray-scale values of the pixel units 10 in the second pixel row S2 are equal.

Further, the step of determining whether the current gray-scale values of the pixel units 10 in the third pixel column S3 are equal to each other includes: comparing the current gray-scale values of the first sub-pixels 101 included in each pixel unit 10 in the third pixel row S3; comparing the current gray-scale values of the second sub-pixels 102 included in each pixel unit 10 in the third pixel row S3; comparing the current gray-scale values of the third sub-pixels 103 included in each pixel unit 10 in the third pixel row S3; when the current gray-scale values of the first sub-pixels 101 included in the pixel units 10 in the third pixel row S3 are equal, the current gray-scale values of the second sub-pixels 102 included in the pixel units 10 in the third pixel row S3 are equal, and the current gray-scale values of the third sub-pixels 103 included in the pixel units 10 in the third pixel row S3 are equal, it is determined that the current gray-scale values of the pixel units 10 in the third pixel row S3 are equal.

Further, the step of determining whether the current gray-scale values of the pixel units 10 in the fourth pixel column S4 are equal to each other includes: comparing the current gray-scale values of the first sub-pixels 101 included in each pixel unit 10 in the fourth pixel row S4; comparing the current gray-scale values of the second sub-pixels 102 included in each pixel unit 10 in the fourth pixel row S4; comparing the current gray-scale values of the third sub-pixels 103 included in each pixel unit 10 in the fourth pixel row S4; when the current gray-scale values of the first sub-pixels 101 included in the pixel units 10 in the fourth pixel row S4 are equal, the current gray-scale values of the second sub-pixels 102 included in the pixel units 10 in the fourth pixel row S4 are equal, and the current gray-scale values of the third sub-pixels 103 included in the pixel units 10 in the fourth pixel row S4 are equal, it is determined that the current gray-scale values of the pixel units 10 in the fourth pixel row S4 are equal.

Further, the step of comparing the magnitude relationship between the current gray-scale value of any pixel cell 10 in the first pixel column S1 and the current gray-scale value of any pixel cell 10 in the fourth pixel column S4 includes: comparing the current gray-scale value of the first sub-pixel 101 included in any pixel unit 10 in the first pixel row S1 with the current gray-scale value of the first sub-pixel 101 included in any pixel unit 10 in the fourth pixel row S4; comparing the current gray level of the second sub-pixel 102 included in any pixel unit 10 of the first pixel row S1 with the current gray level of the second sub-pixel 102 included in any pixel unit 10 of the fourth pixel row S4; comparing the current gray-scale value of the third sub-pixel 103 included in any pixel unit 10 in the first pixel row S1 with the current gray-scale value of the third sub-pixel 103 included in any pixel unit 10 in the fourth pixel row S4; when the current gray-scale value of the first sub-pixel 101 included in the pixel unit 10 in the first pixel row S1 is not equal to the current gray-scale value of the first sub-pixel 101 included in the pixel unit 10 in the fourth pixel row S4, the current gray-scale value of the second sub-pixel 102 included in the pixel unit 10 in the first pixel row S1 is not equal to the current gray-scale value of the second sub-pixel 102 included in the pixel unit 10 in the fourth pixel row S4, and the current gray-scale value of the third sub-pixel 103 included in the pixel unit 10 in the first pixel row S1 is not equal to the current gray-scale value of the third sub-pixel 103 included in the pixel unit 10 in the fourth pixel row S4, the current gray-scale value of any pixel unit 10 in the first pixel row S1 is determined to be not equal to the current gray-scale value of any pixel unit 10 in the fourth pixel row S4.

Further, the step of comparing the magnitude relationship between the current gray-scale value of any pixel cell 10 in the second pixel column S2 and the current gray-scale value of any pixel cell 10 in the third pixel column S3 includes: comparing the current gray-scale value of the first sub-pixel 101 included in any pixel unit 10 in the second pixel row S2 with the current gray-scale value of the first sub-pixel 101 included in any pixel unit 10 in the third pixel row S3; comparing the current gray level of the second sub-pixel 102 included in any pixel unit 10 of the second pixel row S2 with the current gray level of the second sub-pixel 102 included in any pixel unit 10 of the third pixel row S3; comparing the current gray-scale value of the third sub-pixel 103 included in any pixel unit 10 in the second pixel row S2 with the current gray-scale value of the third sub-pixel 103 included in any pixel unit 10 in the third pixel row S3; the current gray-scale value of the first sub-pixel 101 included in the pixel unit 10 in the second pixel row S2 is not equal to the current gray-scale value of the first sub-pixel 101 included in the pixel unit 10 in the third pixel row S3, the current gray-scale value of the second sub-pixel 102 included in the pixel unit 10 in the second pixel row S2 is not equal to the current gray-scale value of the second sub-pixel 102 included in the pixel unit 10 in the third pixel row S3, and the current gray-scale value of the third sub-pixel 103 included in the pixel unit 10 in the second pixel row S2 is not equal to the current gray-scale value of the third sub-pixel 103 included in the pixel unit 10 in the third pixel row S3, and the current gray-scale value of any pixel unit 10 in the second pixel row S2 is determined to be not equal to the current gray-scale value of any pixel unit 10 in the third pixel row S3.

For example, when the pixel region T is a pixel matrix region formed by pixel units 10 in 4 rows and 5 columns, and the preset direction is a direction forming an angle of 135 degrees with the row direction of the pixel unit 10 as shown in fig. 3, the current gray-scale values of the pixel units 10 included in the first pixel column S1, the second pixel column S2, the third pixel column S3, and the fourth pixel column S4 are respectively equal, the current gray-scale value of the pixel unit 10 in the 2 nd column of the 3 rd row is not equal to the current gray-scale value of the pixel unit 10 in the 4 th column of the 2 nd row, and the current gray-scale value of the pixel unit 10 in the 2 nd column of the 4 th row is not equal to the current gray-scale value of the pixel unit 10 in the 4 th column of the 3 rd row; at this time, the regions of the layer set by the first pixel column S1, the second pixel column S2, the third pixel column S3, and the fourth pixel column S4, and the extension regions of the respective pixel columns in the preset direction may be determined as target pixel regions.

Step S105, adjusting the gray scale value of each pixel unit 10 in the target pixel area, so that the gray scale value of each pixel unit 10 in the target pixel area is equal to the real gray scale value of the to-be-displayed picture.

Specifically, for each sub-pixel included in each pixel unit 10 in the target pixel area, the gray scale value of each sub-pixel is adjusted to the real gray scale value of the picture to be displayed, that is, the target pixel area is not subjected to gray scale adjustment by using a VAC (View Angle Compensation) technique, so that the defect of color oblique lines appearing on the display panel is eliminated or alleviated, and the display quality of the display panel is improved.

Referring to fig. 5, an embodiment of the present invention further provides a display compensation apparatus, which is applied to a display panel and is used for completing the display compensation method provided by the embodiment of the present invention, the display panel includes a plurality of pixel units, and the display compensation apparatus includes a selecting module 201, a first determining module 202, a second determining module 203, a third determining module 204, and an adjusting module 205.

The selecting module 201 is configured to select a pixel area in the display panel, where the pixel area includes a plurality of pixel units.

The first determining module 202 is configured to determine a central pixel unit located at a central position of the pixel region.

The second determining module 203 is configured to determine, along a preset direction, a central pixel column including the central pixel unit, a first pixel column and a second pixel column located on two opposite sides of the central pixel column, a third pixel column located on a side of the first pixel column far from the central pixel column, and a fourth pixel column located on a side of the second pixel column far from the central pixel column.

The third determining module 204 is configured to determine a target pixel area according to the gray-scale values of the pixel units included in the central pixel column, the first pixel column, the second pixel column, the third pixel column, and the fourth pixel column.

The adjusting module 205 is configured to adjust the gray scale value of each pixel unit in the target pixel area, so that the gray scale value of each pixel unit in the target pixel area is equal to the real gray scale value of the to-be-displayed picture.

The embodiment of the application also provides a display panel, wherein the display panel adopts the display compensation method provided by the embodiment of the application to display; or the display panel comprises the display compensation device provided by the embodiment of the application. The display panel may be a liquid crystal display panel.

It should be noted that, although the present application has been described with reference to specific examples, the above-mentioned examples are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be limited by the appended claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:校准方法、装置和电子设备

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类