# US 2021/0289202 A1 · Intra prediction method and apparatus for performing adaptive filtering on reference pixel

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

- Number: US 2021/0289202 A1
- Document ID: US20210289202A1
- Status: Published application
- Kind: A1
- Application number: 17/333,132
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2017-01-02
- Assignees: Industry-University Cooperation Foundation Hanyang University
- Applicants: Industry-University Cooperation Foundation Hanyang University
- Inventors: Je Chang JEONG; Ki Baek KIM; Jung Hyun LEE
- Web page: https://patentgrep.com/patent/US20210289202A1

## 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/136: Incoming video signal characteristics or properties
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed is a method for encoding and decoding an image by applying different filtering strength to reference pixels based on a size relationship between a current block and each reference block such that a prediction block for the current block is constructed using reference pixels which are filtered adaptively according to their properties.

## Claims

### Claim 1

A method of decoding an image, with a decoding apparatus, comprising:
obtaining a flag from a bitstream;
determining, based on the flag, one filter among a plurality of filters pre-defined in the decoding apparatus, the flag indicating the one filter among the plurality of filters;
filtering, based on the determined filter, a reference sample used for prediction of a current block; and
generating a prediction block of the current block based on the filtered reference sample,
wherein the plurality of the filters includes a first filter and a second filter,
wherein a number of taps of the first filter and a number of taps of the second filter are different from each other, and
wherein the first filter is a 5-tap filter.

### Claim 2 (depends on 1)

The method of the claim 1,
wherein when a value of the flag is 1, the first filter is determined, and
wherein when a value of the flag is 0, the second filter is determined.

### Claim 3 (depends on 1)

The method of the claim 1,
wherein the filtering of the reference sample is performed using neighboring samples adjacent to the reference sample.

### Claim 4 (depends on 3)

The method of the claim 3,
wherein the neighboring samples includes at least one of top, bottom, left or right sample of the reference sample.

### Claim 5 (depends on 3)

The method of the claim 3,
wherein the filtering of the reference sample is performed by applying weights to the reference sample and the neighboring samples.

### Claim 6 (depends on 5)

The method of the claim 5,
wherein when the first filter is determined, a first weight applied to the reference sample is greater than second weights applied to the neighboring samples,
wherein the first weight applied to the reference sample is greater than three.

### Claim 7 (depends on 6)

The method of the claim 6,
wherein when the second filter is determined, a first weight applied to the reference sample is two while a second weight applied to at least one of the neighboring samples is one.

### Claim 8

A method of encoding an image, with an encoding apparatus, comprising:
filtering, based on one filter of a plurality of filters pre-defined in the encoding apparatus, a reference sample used for prediction of a current block;
generating a prediction block of the current block based on the filtered reference sample; and
generating a bitstream by encoding the current block based on the prediction block,
wherein a flag is encoded to indicate the one filter among the plurality of the filters,
wherein the plurality of the filters includes a first filter and a second filter,
wherein a number of taps of the first filter and a number of taps of the second filter are different from each other, and
wherein the first filter is a 5-tap filter.

### Claim 9

A non-transitory computer readable medium having stored thereon instructions that when executed by a processor perform a decoding method comprising:
obtaining a flag from a bitstream;
determining, based on the flag, one filter among a plurality of filters pre-defined in the processor, the flag indicating the one filter among the plurality of filters;
filtering, based on the determined filter, a reference sample used for prediction of a current block; and
generating a prediction block of the current block based on the filtered reference sample,
wherein the plurality of the filters includes a first filter and a second filter,
wherein a number of taps of the first filter and a number of taps of the second filter are different from each other, and
wherein the first filter is a 5-tap filter.
