# US 2025/0097430 A1 · Image encoding/decoding method and recording medium therefor

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

- Number: US 2025/0097430 A1
- Document ID: US20250097430A1
- Status: Published application
- Kind: A1
- Application number: 18/968,618
- Filed: 2024-12-04
- Published: 2025-03-20
- Earliest claimed: 2016-07-12
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Sung Chang LIM; Jung Won KANG; Hyun Suk KO; Jin Ho LEE; Ha Hyun LEE; Dong San JUN; Seung Hyun CHO; Hui Yong KIM; Jin Soo CHOI
- Web page: https://patentgrep.com/patent/US20250097430A1

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- 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/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/513: Processing of motion vectors
- H04N 19/517: by encoding
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present invention relates to a video encoding and decoding method. A video decoding method for the same may include: obtaining granularity information; determining a sharing region based on the granularity information; and generating a prediction block of a current block by using motion information of the sharing region when the current block corresponds to the sharing region.

## Claims

### Claim 1

A video decoding method, comprising:
determining a prediction mode of a current block, the prediction mode being determined as one of intra prediction and inter prediction;
in response to the prediction mode of the current block being the inter prediction, determining which of a merge mode and a motion vector prediction mode is applied to the current block;
in response to the motion vector prediction mode being applied to the current block, decoding from a bitstream, an inter prediction indicator for the current block, the inter prediction indicator indicating whether a uni-directional or bi-directional inter prediction is applied to the current block;
in response to the bi-directional inter prediction being applied to the current block, obtaining an L0 motion vector and an L1 motion vector of the current block;
wherein the L0 motion vector is derived by adding an L0 motion vector difference to an L0 motion vector candidate,
wherein the L0 motion vector candidate is specified by an L0 motion vector candidate index specifying the L0 motion vector candidate from an L0 motion vector candidate list,
wherein the L1 motion vector is derived by adding an L1 motion vector difference to an L1 motion vector candidate,
wherein the L1 motion vector candidate is specified by an L1 motion vector candidate index specifying the L1 motion vector candidate from an L1 motion vector candidate list, and
obtaining an L0 inter prediction block of the current block from an L0 reference picture based on the L0 motion vector;
obtaining an L1 inter prediction block of the current block from an L1 reference picture based on the L1 motion vector;
generating a final inter prediction block of the current block based on a weighted sum of the L0 inter prediction block and the L1 inter prediction block; and
reconstructing the current block based on the final inter prediction block,
wherein the weighted sum is performed by applying a first weighting factor to the L0 inter prediction block and applying a second weighting factor to the L1 inter prediction block,
wherein the first weighting factor and the second weighting factor are determined based on index information for the current block,
wherein the index information is explicitly signaled via the bitstream only when the inter prediction indicator of the current block indicates that the bi-directional inter prediction is applied to the current block,
wherein motion vector difference information is explicitly signaled only for the L0 motion vector difference but is not explicitly signaled for the L1 motion vector difference,
wherein a plurality of pre-defined weighting factor set candidates comprise a candidate in which at least one of the first weighting factor and the second weighting factor is a negative value, and
wherein a pair of the first weighting factor and the second weighting factor is determined as one, specified by the index information, of the pre-defined weighting factor set candidates.

### Claim 2 (depends on 1)

The method of claim 1, wherein the weight information of the current block is binarized with a truncated rice binarization method.

### Claim 3

A video encoding method, comprising:
obtaining an intra predicted block of a current block by performing intra prediction for the current block;
obtaining an inter predicted block of the current block by performing inter prediction for the current block;
obtaining a residual block of the current block; and
encoding information on a prediction mode of the current block, the prediction mode being determined as one of the intra prediction and the inter prediction,
wherein in response to the prediction mode of the current block being the inter prediction, the method further comprises:
determining which of a merge mode and a motion vector prediction mode is applied to the current block; and
in response to the motion vector prediction mode being applied to the current block, encoding, into a bitstream, an inter prediction indicator for the current block, the inter prediction indicator indicating whether a uni-directional or bi-directional inter prediction is applied to the current block,
wherein in response to the bi-directional inter prediction being applied to the current block, the inter predicted block is obtained based on a weighted sum of an L0 inter prediction block and an L1 inter prediction block, the L0 inter prediction block being obtained from an L0 reference picture based on an L0 motion vector of the current block, the L1 inter prediction block being obtained from an L1 reference picture based on an L1 motion vector of the current block,
wherein an L0 motion vector difference is derived by subtracting an L0 motion vector candidate from the L0 motion vector,
wherein an L0 motion vector candidate index specifying the L0 motion vector candidate from an L0 motion vector candidate list is encoded,
wherein an L1 motion vector difference is derived by subtracting an L1 motion vector candidate from the L1 motion vector,
wherein an L1 motion vector candidate index specifying the L1 motion vector candidate from an L1 motion vector candidate list is encoded,
wherein the weighted sum is performed by applying a first weighting factor to the L0 inter prediction block and applying a second weighting factor to the L1 inter prediction block,
wherein index information, which is used to determine the first weighting factor and the second weighting factor at a decoder side, are encoded into the bitstream,
wherein the index information is encoded into the bitstream only when the inter prediction indicator of the current block is encoded with a value indicating that the bi-directional inter prediction is applied to the current block,
wherein motion vector difference information is explicitly encoded only for the L0 motion vector difference but is not explicitly encoded for the L1 motion vector difference,
wherein the index information specifies a weighting factor set candidate which corresponds to a pair of the first weighting factor and the second weighting factor, and
wherein a plurality of pre-defined weighting factor set candidates comprise a candidate in which at least one of the first weighting factor and the second weighting factor is a negative value.

### Claim 4 (depends on 3)

The method of claim 3, wherein the weight information of the current block is entropy coded using a truncated Rice binarization method.

### Claim 5

A non-transitory recording medium storing a bit stream generated by a video encoding method, wherein the method includes:
obtaining an intra predicted block of a current block by performing intra prediction for the current block;
obtaining an inter predicted block of the current block by performing inter prediction for the current block;
obtaining a residual block of the current block; and
encoding information on a prediction mode of the current block, the prediction mode being determined as one of the intra prediction and the inter prediction,
wherein in response to the prediction mode of the current block being the inter prediction, the method further comprises:
determining which of a merge mode and a motion vector prediction mode is applied to the current block; and
in response to the motion vector prediction mode being applied to the current block, encoding, into a bitstream, an inter prediction indicator for the current block, the inter prediction indicator indicating whether a uni-directional or bi-directional inter prediction is applied to the current block,
wherein in response to the bi-directional inter prediction being applied to the current block, the inter predicted block is obtained based on a weighted sum of an L0 inter prediction block and an L1 inter prediction block, the L0 inter prediction block being obtained from an L0 reference picture based on an L0 motion vector of the current block, the L1 inter prediction block being obtained from an L1 reference picture based on an L1 motion vector of the current block,
wherein an L0 motion vector difference is derived by subtracting an L0 motion vector candidate from the L0 motion vector,
wherein an L0 motion vector candidate index specifying the L0 motion vector candidate from an L0 motion vector candidate list is encoded,
wherein an L1 motion vector difference is derived by subtracting an L1 motion vector candidate from the L1 motion vector,
wherein an L1 motion vector candidate index specifying the L1 motion vector candidate from an L1 motion vector candidate list is encoded,
wherein the weighted sum is performed by applying a first weighting factor to the L0 inter prediction block and applying a second weighting factor to the L1 inter prediction block,
wherein index information, which is used to determine the first weighting factor and the second weighting factor at a decoder side, are encoded into the bitstream,
wherein the index information is encoded into the bitstream only when the inter prediction indicator of the current block is encoded with a value indicating that the bi-directional inter prediction is applied to the current block,
wherein motion vector difference information is explicitly encoded only for the L0 motion vector difference but is not explicitly encoded for the L1 motion vector difference,
wherein the index information specifies a weighting factor set candidate which corresponds to a pair of the first weighting factor and the second weighting factor, and
wherein a plurality of pre-defined weighting factor set candidates comprise a candidate in which at least one of the first weighting factor and the second weighting factor is a negative value.
