# US 2020/0267383 A1 · Method and apparatus for image encoding/decoding

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

- Number: US 2020/0267383 A1
- Document ID: US20200267383A1
- Status: Published application
- Kind: A1
- Application number: 16/868,075
- Filed: 2020-05-06
- Published: 2020-08-20
- Earliest claimed: 2015-11-19
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Dong San JUN; Jung Won KANG; Sung Chang LIM; Hyun Suk KO; Jin Ho LEE; Hui Yong KIM; Jin Soo CHOI
- Web page: https://patentgrep.com/patent/US20200267383A1

## 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/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention provides a method and apparatus for encoding/decoding an image to enhance inter prediction. According to the present invention, the method includes: determining a first reference picture and a second reference picture of a current block; determining both a first reference block in the first reference picture and a second reference block in the second reference picture; partitioning the current block into a plurality of sub blocks; and obtaining a prediction block of each of the sub blocks on the basis of reference candidate block index information of each of the sub blocks.

## Claims

### Claim 1

A method for decoding an image, the method comprising:
determining both a first reference block and a second reference block;
deriving a prediction block of a current block based on a weighted sum of the first reference block and the second reference block; and
deriving a reconstruction block of a current block using the prediction block of the current block,
wherein the weighted sum of the first reference block and the second reference block is calculated by applying a first weight and a second weight to each of the first reference block and the second reference block,
wherein the second weight is determined by one of weight candidates belonging to a predefined weight candidate set,
wherein the method further comprises obtaining weight information of the current block from a bitstream,
wherein the weight information is index information for specifying the second weight in the weight candidate set,
wherein the weight information is obtained from the bitstream based on a truncated rice binarization method, and
wherein the predefined weight candidate set includes a weight candidate having a positive sign and a weight candidate having a negative sign.

### Claim 2

A method for encoding an image, the method comprising:
determining a first reference block and a second reference block;
deriving a prediction block of a current block based on a weighted sum of the first reference block and the second reference block; and
encoding an index for specifying the second weight in the weight candidate set as weight information,
wherein the weighted sum of the first reference block and the second reference block is calculated by applying a first weight and a second weight to each of the first reference block and the second reference block,
wherein the second weight is determined by one of weight candidates belonging to a predefined weight candidate set,
wherein the index is encoded based on a truncated rice binarization method, and
wherein the predefined weight candidate set includes a weight candidate having a positive sign and a weight candidate having a negative sign.

### Claim 3

A non-transitory computer readable recording medium comprising a bitstream,
the bitstream comprising:
information for deriving a first reference block and a second reference block; and
weight information for deriving a prediction block of a current block,
wherein the prediction block of the current block is derived based on a weighted sum calculated by applying a first weight value and a second weight value to the first reference block and the second reference block, respectively,
wherein the weight information is index information for specifying the second weight among weight candidates belonging to a predefined weight candidate set,
wherein the weight information is encoded based on a truncated rice binarization method, and
wherein the predefined weight candidate set includes a weight candidate having a positive sign and a weight candidate having a negative sign.
