Text boundary processing method, display panel, and computer-readable storage medium
AssigneesBeihai Hkc Optoelectronics Technology Co., Ltd., Chongqing Hkc Optoelectronics Technology Co., Ltd.
InventorZhi Xiong
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.