# US 2019/0098303 A1 · Method, device, and encoder for controlling filtering of intra-frame prediction reference pixel point

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

- Number: US 2019/0098303 A1
- Document ID: US20190098303A1
- Status: Published application
- Kind: A1
- Application number: 15/765,304
- Filed: 2016-06-16
- Published: 2019-03-28
- Earliest claimed: 2016-06-16
- Assignees: Peking University Shenzhen Graduate School
- Applicants: Peking University Shenzhen Graduate School
- Inventors: Ronggang Wang; Kui Fan; Zhenyu Wang; Wen Gao
- Web page: https://patentgrep.com/patent/US20190098303A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method, a device and an encoder for controlling filtering of intra-frame prediction reference pixel point are disclosed. The method includes: when various reference pixel points in a reference pixel group of an intra-frame block to be predicted are filtered, and the target reference pixel point to be filtered currently is not an edge reference pixel point in a reference pixel group (S202), acquiring a pixel difference value between the target reference pixel point and n adjacent reference pixel points thereof (S203); and selecting a filter with the filtering grade thereof corresponding to the pixel difference value to filter the target reference pixel point (S204). For various reference pixel points not located at an edge in a reference pixel group, according to the local difference characteristics of these reference pixel points, filters with corresponding filtering grades are flexibly configured, thus providing flexibility and adaptivity to the filtering, achieving better effect.

## Claims

### Claim 1

A method of controlling filtering intra-frame prediction reference pixel point, comprising:
in a reference pixel group of an intra-frame block to be predicted, acquiring a pixel difference value between a target reference pixel point and n adjacent reference pixel points thereof when the target reference pixel point to be filtered currently is not an edge reference pixel point in the reference pixel group, wherein n is greater than or equal to 1; and
selecting a filter with a filtering grade thereof corresponding to the pixel difference value to filter the target reference pixel point.

### Claim 2 (depends on 1)

The method of claim 1, wherein when the target reference pixel point is an end edge reference pixel points in the reference pixel group, no filtering processing is performed on the target reference pixel point.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of acquiring a pixel difference value comprises:
obtaining a sum h1 of pixel values of the n pixel points;
obtaining a product h2 of n and a pixel value of the target reference pixel point; and
taking absolute value Diffy of the difference between the h1 and h2 as the pixel difference value.

### Claim 4 (depends on 3)

The method of claim 3, wherein n is equal to 2.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of selecting a filter with a filtering grade comprises:
when the pixel difference value is less than a preset threshold of the weak step pixel difference value, or when the pixel difference value is greater than the preset threshold of the strong step pixel difference value, selecting the filter with a first filtering grade, wherein the filter with the first filtering grade has a length equal to 3; and
when the pixel difference value is greater than or equal to the preset threshold of the weak step pixel difference value and less than or equal to the preset threshold of the strong step pixel difference value, selecting the filter with a second filtering grade, wherein the filter with the second filtering grade has a length greater than or equal to 5.

### Claim 6 (depends on 5)

The method of claim 5, wherein the filter with the second filtering grade has a length equal to 5 and a filter coefficient of [ 2/16, 3/16, 6/16, 3/16, 2/16].

### Claim 7 (depends on 5)

The method of claim 5, wherein the filter with the first filtering grade is selected for filtering when the target reference pixel point is a secondary edge reference pixel point adjacent to an end edge reference pixel point in the reference pixel group.

### Claim 8

A device for controlling filtering intra-frame prediction reference pixel point, comprising:
a difference value acquiring module configured to acquire a pixel difference value between a target reference pixel point and n adjacent reference pixel points thereof in a reference pixel group of an intra-frame block to be predicted, when the target reference pixel point to be filtered currently is not an edge reference pixel point in a reference pixel group, wherein the n is greater than or equal to 1; and
a filtering control module configured to select a filter with a filtering grade thereof corresponding to the pixel difference value to filter the target reference pixel point.

### Claim 9 (depends on 8)

The device of claim 8, wherein the filtering control module is configured to select the filter with the first filtering grade when the pixel difference value is less than the preset threshold of the weak step pixel difference value, or when the pixel difference value is greater than the preset threshold of the strong step pixel difference value, wherein the filter with the first filtering grade has a length equal to 3,
wherein the filtering control module is configured to select the filter with the second filtering grade when the pixel difference value is greater than or equal to the preset threshold of the weak step pixel difference value and less than or equal to the preset threshold of the strong step pixel difference value, wherein the filter with the second filtering grade has a length greater than or equal to 5.

### Claim 10 (depends on 8)

An encoder comprising the device for controlling filtering of an intra-frame prediction reference pixel point according to claim 8.
