# US 2022/0279175 A1 · Method and device for encoding/decoding image

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

- Number: US 2022/0279175 A1
- Document ID: US20220279175A1
- Status: Published application
- Kind: A1
- Application number: 17/747,309
- Filed: 2022-05-18
- Published: 2022-09-01
- Earliest claimed: 2016-04-26
- Assignees: Intellectual Discovery Co., Ltd.
- Applicants: Intellectual Discovery Co., Ltd.
- Inventors: Dong Gyu SIM; Ho Chan RYU; Yong Jo AHN
- Web page: https://patentgrep.com/patent/US20220279175A1

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- 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/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- H04N 19/593: involving spatial prediction techniques
- H04N 19/615: using motion compensated temporal filtering [MCTF]
- H04N 19/635: characterised by filter definition or implementation details
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A device for encoding/decoding the image according to the present invention includes an intra prediction module configured to: determine an intra prediction mode of a current block; determine a scanning order of multiple sub blocks in the current block on the basis of the determined intra prediction mode; and perform intra prediction of the current block on the basis of the determined scanning order.

## Claims

### Claim 1

An image decoding method comprising:
determining an intra prediction mode of a current block;
determining whether to apply a first filter for neighboring samples of the current block based on the intra prediction mode of the current block and a size of the current block;
filtering the neighboring samples to generate filtered neighboring samples based on the determination that the first filter is applied to the neighboring samples;
applying a second filter for the filtered neighboring samples to generate reference samples;
generating a prediction block of the current block based on the reference samples;
generating a residual block of the current block by decoding a bitstream; and
reconstructing the current block based on the prediction block and the residual block,
wherein the second filter is an interpolation filter which uses four samples among the filtered neighboring samples.

### Claim 2 (depends on 7)

The image decoding method of claim 7,
wherein the second filter is selected based on information signaled at a block level.

### Claim 3 (depends on 1)

The image decoding method of claim 1,
wherein the second filter is selected based on the size of the current block.

### Claim 4 (depends on 3)

The image decoding method of claim 3,
wherein the size of the current block is a sum of values, each representing a width and a height of the current block in a log scale.

### Claim 5 (depends on 1)

The image decoding method of claim 1,
wherein the second filter is selected as one among a plurality of filters including a Gaussian interpolation filter.

### Claim 6

An image encoding method comprising:
determining an intra prediction mode of a current block;
determining whether to apply a first filter for neighboring samples of the current block based on the intra prediction mode of the current block and a size of the current block;
filtering the neighboring samples to generate filtered neighboring samples based on the determination that the first filter is applied to the neighboring samples;
applying a second filter for the filtered neighboring samples to generate reference samples;
generating a prediction block of the current block based on the reference samples;
generating a residual block of the current block based on the prediction block; and
encoding the residual block of the current block into a bitstream, and
wherein the second filter is an interpolation filter which uses four samples among the filtered neighboring samples.

### Claim 7

A non-transitory computer-readable recording medium storing a bitstream that is generated by an image encoding method with an encoding apparatus, wherein the image encoding method comprises:
determining an intra prediction mode of a current block;
determining whether to apply a first filter for neighboring samples of the current block based on the intra prediction mode of the current block and a size of the current block;
filtering the neighboring samples to generate filtered neighboring samples based on the determination that the first filter is applied to the neighboring samples;
applying a second filter for the filtered neighboring samples to generate reference samples;
generating a prediction block of the current block based on the reference samples;
generating a residual block of the current block based on the prediction block; and
encoding the residual block of the current block into a bitstream, and
wherein the second filter is an interpolation filter which uses four samples among the filtered neighboring samples.
