# US 2021/0084290 A1 · Image encoding and decoding method and device using prediction network

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

- Number: US 2021/0084290 A1
- Document ID: US20210084290A1
- Status: Published application
- Kind: A1
- Application number: 16/772,443
- Filed: 2018-12-13
- Published: 2021-03-18
- Earliest claimed: 2017-12-14
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Seung-Hyun CHO; Joo-Young LEE; Youn-Hee KIM; Jin-Wuk SEOK; Woong LIM; Jong-Ho KIM; Dae-Yeol LEE; Se-Yoon JEONG; Hui-Yong KIM; Jin-Soo CHOI
- Web page: https://patentgrep.com/patent/US20210084290A1

## 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/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- 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/593: involving spatial prediction techniques
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed herein are a method and apparatus for video decoding and a method and apparatus for video encoding. A prediction block for a target block is generated by predicting the target block using a prediction network, and a reconstructed block for the target block is generated based on the prediction block and a reconstructed residual block. The prediction network includes an intra-prediction network and an inter-prediction network and uses a spatial reference block and/or a temporal reference block when it performs prediction. For learning in the prediction network, a loss function is defined, and learning in the prediction network is performed based on the loss function.

## Claims

### Claim 1

A decoding method, comprising:
performing prediction for a target block using a prediction network, thereby generating a prediction block for the target block; and
generating a reconstructed block for the target block based on the prediction block.

### Claim 2 (depends on 1)

The decoding method of claim 1, wherein the prediction network is an intra-prediction network that performs prediction for the target block using a spatial reference block.

### Claim 3 (depends on 1)

The decoding method of claim 1, wherein the prediction network is an inter-prediction network that performs prediction for the target block using a temporal reference block.

### Claim 4 (depends on 3)

The decoding method of claim 3, wherein the inter-prediction network performs prediction for the target block using a spatial reference block.

### Claim 5 (depends on 1)

The decoding method of claim 1, wherein:
the prediction network comprises multiple prediction networks, and
the multiple prediction networks are used respectively for multiple color channels, multiple block sizes, or multiple quantization parameters.

### Claim 6 (depends on 1)

The decoding method of claim 1, wherein:
the prediction network generates the prediction block by performing prediction for the target block using a reference block;
preprocessing is performed for a sample of the reference block before the sample of the reference block is input to the prediction network, and
postprocessing, which is a reverse process of the preprocessing, is performed for a sample of the prediction block when the sample of the prediction block is output from the prediction network.

### Claim 7 (depends on 6)

The decoding method of claim 6, wherein the preprocessing is mean subtraction, normalization, principal component analysis (PCA), or whitening.

### Claim 8 (depends on 1)

The decoding method of claim 1, wherein learning in the prediction network is performed for a single image.

### Claim 9 (depends on 1)

The decoding method of claim 1, wherein learning in the prediction network is performed for a batch.

### Claim 10 (depends on 1)

The decoding method of claim 1, wherein a batch normalization layer is inserted in an input end of a hidden layer of the prediction network.

### Claim 11 (depends on 1)

The decoding method of claim 1, wherein a loss function for learning in the prediction network is defined based on a prediction image and an original image.

### Claim 12 (depends on 11)

The decoding method of claim 11, wherein the loss function is defined based on a square of a difference between the prediction image and the original image.

### Claim 13 (depends on 11)

The decoding method of claim 11, wherein the loss function is defined based on an absolute value of a difference between the prediction image and the original image.

### Claim 14 (depends on 1)

The decoding method of claim 1, wherein a loss function for online update of the prediction network is determined based on a residual block.

### Claim 15 (depends on 1)

The decoding method of claim 1, wherein a loss function for online update of the prediction network is determined based on a reconstructed block.

### Claim 16 (depends on 1)

The decoding method of claim 1, wherein online update of a network parameter of the prediction network is continuously performed during decoding of video.

### Claim 17 (depends on 1)

The decoding method of claim 1, wherein a network parameter of the prediction network is initialized for a specified target.

### Claim 18 (depends on 17)

The decoding method of claim 17, wherein the specified target is a slice, a picture, or a picture having an identifier that is different from a temporal identifier of a previous picture.

### Claim 19

An encoding method, comprising:
performing prediction for a target block using a prediction network, thereby generating a prediction block for the target block; and
generating a reconstructed block for the target block based on the prediction block.

### Claim 20

A computer-readable recording medium in which a bitstream for decoding of an image is stored, the bitstream comprising:
information about a target block,
wherein:
a prediction block for the target block is generated by performing prediction for the target block using a prediction network, and
a reconstructed block for the target block is generated based on the information about the target block and the prediction block.
