# US 2021/0174725 A1 · Sub-pixel rendering method and display device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174725 A1
- Document ID: US20210174725A1
- Status: Published application
- Kind: A1
- Application number: 16/706,777
- Filed: 2019-12-08
- Published: 2021-06-10
- Earliest claimed: 2019-12-08
- Assignees: Himax Technologies Limited
- Applicants: Himax Technologies Limited
- Inventors: Chi-Feng CHUANG
- Web page: https://patentgrep.com/patent/US20210174725A1

## CPC

- G09G 3/2003: {Display of colours (specific for liquid crystal displays G09G3/3607)}
- G09G 3/3607: {for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels (display of colours in flat matrix panels other than liquid crystal displays G09G3/2003; grey scales specific for television H04N3/127)}
- G09G 2310/027: Details of drivers for data electrodes, the drivers handling digital grey scale data, e.g. use of D/A converters
- G09G 2320/066: for control of contrast
- G09G 2340/0457: Improvement of perceived resolution by subpixel rendering
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

A sub-pixel rendering method includes: obtaining a digital image, in which the number of grey levels in the digital image is greater than a number of sub-pixel structures of a display panel; determining if each grey level is in a dark-on-bright texture; transforming the grey levels into sub-pixel luminances; performing a filter operation on the sub-pixel luminances according to a rendering mask to calculate rendered sub-pixel luminances, in which a weight of the rendering mask is increased if the corresponding sub-pixel luminance is in the dark-on-bright texture; transforming the rendered sub-pixel luminances into rendered grey levels, and driving the display panel according to the rendered grey levels.

## Claims

### Claim 1

A sub-pixel rendering method for a display panel comprising a plurality of sub-pixel structures, wherein the sub-pixel rendering method comprises:
obtaining a digital image comprising a plurality of pixels, wherein each of the pixels comprises a plurality of grey levels, and each of the pixels corresponds to only two of the sub-pixel structures;
obtaining a plurality of first grey levels from the grey levels that have same colors according to a texture mask;
determining a number of the first grey levels that are smaller than a first threshold; and
determining that a center grey level of the first grey levels in a texture mask is in a dark-on-bright texture if the number of the first grey levels that are smaller than the first threshold is less than a second threshold;
transforming the grey levels into a plurality of sub-pixel luminances;
performing a filter operation on the sub-pixel luminances according to a rendering mask to calculate a plurality of rendered sub-pixel luminances, wherein the rendering mask comprises a plurality of weights, each of the weights corresponds to one of the sub-pixel luminances, and one of the weights is increased if the corresponding sub-pixel luminance is in the dark-on-bright texture;
transforming the rendered sub-pixel luminances into a plurality of rendered grey levels, wherein a number of the rendered grey levels is equal to the number of the sub-pixel structures; and
driving the display panel according to the rendered grey levels.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The sub-pixel rendering method of claim 1, further comprising:
calculating a mean and a variance of the first grey levels; and
subtracting N times of the variance from the mean as the first threshold, wherein N is a positive real number.

### Claim 4 (depends on 1)

The sub-pixel rendering method of claim 1, wherein the step of transforming the grey levels into the sub-pixel luminances comprises:
performing a gamma transformation to each of the grey levels to obtain a corresponding one of the sub-pixel luminances.

### Claim 5 (depends on 1)

The sub-pixel rendering method of claim 1, wherein after the one of the weights is increased, the sub-pixel rendering method further comprises:
normalizing the weights of the rendering mask such that a sum of the weights is equal to 1.

### Claim 6 (depends on 5)

The sub-pixel rendering method of claim 5, wherein the sub-pixel luminances corresponding to the rendering mask have same colors.

### Claim 7

A display device comprising:
a display panel comprising a plurality of sub-pixel structures; and
a computation circuit configured to obtain a digital image comprising a plurality of pixels, wherein each of the pixels comprises a plurality of grey levels, and each of the pixels corresponds to only two of the sub-pixel structures,
wherein the computation circuit is further configured to:
obtain a plurality of first grey levels from the grey levels that have same colors according to a texture mask;
determine a number of the first grey levels that are smaller than a first threshold; and
determine that a center grey level of the first grey levels in a texture mask is in a dark-on-bright texture if the number of the first grey levels that are smaller than the first threshold is less than a second threshold;
transform the grey levels into a plurality of sub-pixel luminances;
perform a filter operation on the sub-pixel luminances according to a rendering mask to calculate a plurality of rendered sub-pixel luminances, wherein the rendering mask comprises a plurality of weights, each of the weights corresponds to one of the sub-pixel luminances, and one of the weights is increased if the corresponding sub-pixel luminance is in the dark-on-bright texture;
transform the rendered sub-pixel luminances into a plurality of rendered grey levels, wherein a number of the rendered grey levels is equal to the number of the sub-pixel structures; and
drive the display panel according to the rendered grey levels.

### Claim 8

(canceled)

### Claim 9 (depends on 7)

The display device of claim 7, wherein the computation circuit is further configured to:
calculate a mean and a variance of the first grey levels; and
subtract N times of the variance from the mean as the first threshold, wherein N is a positive real number.

### Claim 10 (depends on 7)

The display device of claim 7, wherein the computation circuit is further configured to:
perform a gamma transformation to each of the grey levels to obtain a corresponding one of the sub-pixel luminances.

### Claim 11 (depends on 7)

The display device of claim 7, wherein the computation circuit is further configured to:
normalize the weights of the rendering mask such that a sum of the weights is equal to 1.

### Claim 12 (depends on 11)

The display device of claim 11, wherein the sub-pixel luminances corresponding to the rendering mask have same colors.
