# US 2021/0092397 A1 · Image encoding/decoding method and device

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

- Number: US 2021/0092397 A1
- Document ID: US20210092397A1
- Status: Published application
- Kind: A1
- Application number: 17/115,852
- Filed: 2020-12-09
- Published: 2021-03-25
- Earliest claimed: 2018-09-07
- Assignees: B1 Institute of Image Technology, Inc.
- Inventors: Ki Baek KIM
- Web page: https://patentgrep.com/patent/US20210092397A1

## CPC

- 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/11: among a plurality of spatial predictive coding modes
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- 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/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Image encoding/decoding method and device according to the present invention enable deciding of an intra-screen prediction mode of a target block, generation of a prediction block of the target block on the basis of the intra-screen prediction mode, and correction of the generated prediction block.

## Claims

### Claim 1

A method for decoding a video signal with a decoding apparatus, comprising:
determining an intra prediction mode candidate group applied to an intra prediction for a current block in the video signal among a plurality of intra prediction mode candidate groups;
determining an intra prediction mode applied to the intra prediction for the current block within the determined intra prediction mode candidate group; and
generating a prediction sample of the current block based on the intra prediction mode,
wherein when the determined intra prediction mode candidate mode group is a first intra prediction mode candidate group, a number of intra prediction modes included in the first intra prediction mode candidate group is determined based on state information of the current block,
wherein the state information includes at least one of a size, a shape, a width, a height or a position of the current block, and
wherein when the determined intra prediction mode candidate mode group is a second intra prediction mode candidate group, a number of intra prediction modes included in the second intra prediction mode candidate group is a fixed number predefined in a decoding apparatus.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the prediction sample of the current block comprises obtaining a first prediction sample using a reference sample of the current block, when the determined intra prediction mode candidate mode group is the first intra prediction mode candidate group, and
wherein the first prediction sample indicates a sample in which decoding is not completed in the current block.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the prediction sample of the current block further comprises obtaining a second prediction sample using the first prediction sample and the reference sample of the current block.

### Claim 4 (depends on 3)

The method of claim 3, wherein the second prediction sample is obtained by interpolation with the first prediction sample and the reference sample.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first prediction sample is obtained by a weighted sum of predetermined reference samples of the current block.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
obtaining first information specifying the intra prediction mode candidate group applied to the intra prediction for the current block; and
obtaining second information specifying the intra prediction mode of the current block within the intra prediction mode candidate group.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
constructing a reference sample used for the intra prediction,
wherein the reference sample belongs to all or part of a plurality of reference pixel lines supported in a decoding apparatus.

### Claim 8

A method for encoding a video signal with an encoding apparatus, comprising:
determining an intra prediction mode candidate group applied to an intra prediction for a current block in the video signal among a plurality of intra prediction mode candidate groups;
determining an intra prediction mode applied to the intra prediction for the current block within the determined intra prediction mode candidate group; and
generating a residual sample using a prediction sample of the current block, the prediction sample being generated based on the intra prediction mode,
wherein when the determined intra prediction mode candidate mode group is a first intra prediction mode candidate group, a number of intra prediction modes included in the first intra prediction mode candidate group is determined based on state information of the current block,
wherein the state information includes at least one of a size, a shape, a width, a height or a position of the current block, and
wherein when the determined intra prediction mode candidate mode group is a second intra prediction mode candidate group, a number of intra prediction modes included in the second intra prediction mode candidate group is a fixed number predefined in the encoding apparatus.

### Claim 9

A non-transitory computer-readable storage medium having instructions stored thereon that, when executed, cause one or more processor to:
determining an intra prediction mode candidate group applied to an intra prediction for a current block in a video signal among a plurality of intra prediction mode candidate groups;
determining an intra prediction mode applied to the intra prediction for the current block within the determined intra prediction mode candidate group; and
generating a prediction sample of the current block based on the intra prediction mode,
wherein when the determined intra prediction mode candidate mode group is a first intra prediction mode candidate group, a number of intra prediction modes included in the first intra prediction mode candidate group is determined based on state information of the current block,
wherein the state information includes at least one of a size, a shape, a width, a height or a position of the current block, and
wherein when the determined intra prediction mode candidate mode group is a second intra prediction mode candidate group, a number of intra prediction modes included in the second intra prediction mode candidate group is a fixed number predefined in a decoding apparatus.
