IP Library › Granted Patent US 11,538,393
Granted Patent B2
US 11,538,393 · App. 17/201,208 · Granted Dec 27, 2022

Text boundary processing method, display panel, and computer-readable storage medium

Inventor: Zhi Xiong (Beihai, CN)
Assignees: BEIHAI HKC OPTOELECTRONICS TECHNOLOGY CO., LTD.; CHONGQING HKC OPTOELECTRONICS TECHNOLOGY CO., LTD.
G09G3/2074G09G5/30G09G2320/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,538,393
App. No.
17/201,208
Granted
Dec 27, 2022
Kind
B2
Abstract

Disclosed are a text boundary processing method, a display panel and a computer-readable storage medium. The method includes: acquiring a grayscale value of each sub-pixel in a display panel; determining a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel; and interchanging grayscale values of a red sub-pixel and a blue sub-pixel in a sub-pixel group where the current sub-pixel is located, where, the sub-pixel group consists of the current sub-pixel and two sub-pixels adjacent to the current sub-pixel in a same row where the current sub-pixel is located.

Claims (48)

1. A text boundary processing method, comprising:

acquiring a grayscale value of each sub-pixel in a display panel;

determining a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel; and

interchanging grayscale values of a red sub-pixel and a blue sub-pixel in a sub-pixel group where the current sub-pixel is located, wherein, the sub-pixel group consists of the current sub-pixel and two sub-pixels adjacent to the current sub-pixel in a same row where the current sub-pixel is located.

2. The text boundary processing method of claim 1 , wherein, the operation of determining a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel comprises:

acquiring a grayscale value of a first sub-pixel adjacent to the current sub-pixel in a same row where the current sub-pixel is located;

acquiring a grayscale value of a second sub-pixel adjacent to the current sub-pixel in a same column where the current sub-pixel is located; and

comparing an absolute value of a difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel with a first preset threshold, and comparing the grayscale value of the second sub-pixel with a second preset threshold, wherein, in a determination that the absolute value of the difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel is greater than the first preset threshold, and the grayscale value of the second sub-pixel is less than the second preset threshold, determining that the current sub-pixel is a sub-pixel forming the text boundary.

3. The text boundary processing method of claim 2 , wherein there are two first sub-pixels, and grayscale values of the two first sub-pixels are the same value or different values.

4. The text boundary processing method of claim 2 , wherein there are two second sub-pixels, and grayscale values of the two second sub-pixels are the same value or different values.

5. The text boundary processing method of claim 2 , wherein, after the operation of comparing an absolute value of a difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel with a first preset threshold, and comparing the grayscale value of the second sub-pixel with a second preset threshold, the method further comprises:

in a determination that the absolute value of the difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel is less than or equal to the first preset threshold, and the grayscale value of the second sub-pixel is greater than or equal to the second preset threshold, determining that the current sub-pixel is a non-text boundary sub-pixel.

6. The text boundary processing method of claim 5 , wherein a value range of the first preset threshold is not less than 30 and not greater than 100.

7. The text boundary processing method of claim 5 , wherein a value range of the second preset threshold is not less than 30 and not greater than 100.

8. The text boundary processing method of claim 1 , wherein the operation of acquiring a grayscale value of each sub-pixel in a display panel comprises:

acquiring a value of each sub-pixel in the display panel; and

calculating the grayscale value of each sub-pixel by a first formula according to the value of each sub-pixel.

9. The text boundary processing method of claim 8 , wherein, when the acquired sub-pixel is a red sub-pixel, the first formula is Gray=R*e, wherein, R is a value of the red sub-pixel, and e is a constant associated with the red sub-pixel with a value of 0.299.

10. The text boundary processing method of claim 8 , wherein, when the acquired sub-pixel is a green sub-pixel, the first formula is Gray=G*f, wherein, G is a value of the green sub-pixel, and f is a constant associated with the green sub-pixel with a value of 0.587.

11. The text boundary processing method of claim 8 , wherein, when the acquired sub-pixel is a blue sub-pixel, the first formula is Gray=B*g, wherein, B is a value of the blue sub-pixel, and g is a constant associated with the blue sub-pixel with a value of 0.114.

12. The text boundary processing method of claim 1 , wherein the display panel comprises a control circuit board, and the operation of acquiring a grayscale value of each sub-pixel in a display panel comprises:

acquiring an output level of the control circuit board; and

in a determination that the output level is a high level, acquiring the grayscale value of each sub-pixel in the display panel.

13. The text boundary processing method of claim 1 , wherein the display panel comprises a control circuit board, and the operation of acquiring a grayscale value of each sub-pixel in a display panel comprises:

acquiring an output level of the control circuit board; and

in a determination that the output level is a low level, controlling the display panel to output an original grayscale value of each sub-pixel to the display panel for display.

14. The text boundary processing method of claim 12 , wherein the operation of in a determination that the output level is a high level, acquiring the grayscale value of each sub-pixel in the display panel comprises:

in a determination that the output level is the high level, acquiring a grayscale value of any one of sub-pixels except sub-pixels located at an edge of the display panel.

15. A display panel, comprising: a memory, a control circuit board, and a text boundary processing program stored on the memory and operable on the control circuit board, and the following operations are implemented when the text boundary processing program is executed by the control circuit board:

acquiring a grayscale value of each sub-pixel in a display panel;

determining a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel; and

interchanging grayscale values of a red sub-pixel and a blue sub-pixel in a sub-pixel group where the current sub-pixel is located, wherein, the sub-pixel group consists of the current sub-pixel and two sub-pixels adjacent to the current sub-pixel in a same row where the current sub-pixel is located.

16. The display panel of claim 15 , wherein, the operation of determining whether a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel comprises:

acquiring a grayscale value of a first sub-pixel adjacent to the current sub-pixel in a same row where the current sub-pixel is located;

acquiring a grayscale value of a second sub-pixel adjacent to the current sub-pixel in a same column where the current sub-pixel is located; and

comparing whether an absolute value of a difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel with a first preset threshold, and comparing the grayscale value of the second sub-pixel with a second preset threshold, wherein, in a determination that the absolute value of the difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel is greater than the first preset threshold, and the grayscale value of the second sub-pixel is less than the second preset threshold, determining that the current sub-pixel is a sub-pixel forming the text boundary.

17. The display panel of claim 16 , wherein, after the operation of comparing an absolute value of a difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel with a first preset threshold, and comparing the grayscale value of the second sub-pixel with a second preset threshold, the following operations are further implemented:

in a determination that the absolute value of the difference between the grayscale value of the first sub-pixel and the grayscale value of the current sub-pixel is less than or equal to the first preset threshold, and the grayscale value of the second sub-pixel is greater than or equal to the second preset threshold, determining that the current sub-pixel is a non-text boundary sub-pixel.

18. The display panel of claim 15 , wherein the operation of acquiring a grayscale value of each sub-pixel in a display panel comprises:

acquiring a value of each sub-pixel in the display panel; and

calculating the grayscale value of each sub-pixel by a first formula according to the value of each sub-pixel.

19. The display panel of claim 15 , wherein the display panel comprises a control circuit board, and the operation of acquiring a grayscale value of each sub-pixel in a display panel comprises:

acquiring an output level of the control circuit board; and

in a determination that the output level is a high level, acquiring the grayscale value of each sub-pixel in the display panel.

20. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a text boundary processing program, the following operations are implemented when the text boundary processing program is executed by a control circuit board:

acquiring a grayscale value of each sub-pixel in a display panel;

determining a current sub-pixel is a text boundary according to a grayscale value of the current sub-pixel and grayscale values of sub-pixels adjacent to the current sub-pixel; and

interchanging grayscale values of a red sub-pixel and a blue sub-pixel in a sub-pixel group where the current sub-pixel is located, wherein, the sub-pixel group consists of the current sub-pixel and two sub-pixels adjacent to the current sub-pixel in a same row where the current sub-pixel is located.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 15, 2021
From: XIONG, ZHI
To: BEIHAI HKC OPTOELECTRONICS TECHNOLOGY CO., LTD.; CHONGQING HKC OPTOELECTRONICS TECHNOLOGY CO., LTD.
Reel/Frame 055658/0527 →
Priority Claims (1)
CN 201910508239.2 · Jun 12, 2019 · national
Continuity (2)
Continuation PCTCN2020093311 · May 29, 2020
Related Publication 20210201747A1 · Jul 1, 2021