# US 2025/0030886 A1 · Method for refining a motion vector derived under a merge mode using a difference vector

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

- Number: US 2025/0030886 A1
- Document ID: US20250030886A1
- Status: Published application
- Kind: A1
- Application number: 18/904,983
- Filed: 2024-10-02
- Published: 2025-01-23
- Earliest claimed: 2017-08-29
- Assignees: Kt Corporation
- Applicants: Kt Corporation
- Inventors: Bae Keun LEE
- Web page: https://patentgrep.com/patent/US20250030886A1

## CPC

- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/103: Selection of coding mode or of prediction mode
- 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/52: by predictive encoding
- H04N 19/533: Motion estimation using multistep search, e.g. two-dimensional [2D]-log search or one-at-a-time search [OTS]
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/583: Motion compensation with overlapping blocks
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image decoding method according to the present invention comprises: a step of acquiring an initial motion vector of a current block; a step of deriving a refined motion vector for each of a plurality of search points on the basis of the initial motion vector; and a step of acquiring a motion vector of the current block on the basis of the refined motion vector of any one of the plurality of search points.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

A method of decoding a video, the method comprising:
obtaining a motion vector of a current block based on one of a plurality of inter modes pre-defined in a decoding apparatus, the inter modes including a motion vector prediction mode and a merge mode; and
obtaining a prediction block of the current block based on the motion vector of the current block; and
reconstructing the current block based on the prediction block of the current block,
wherein, under the motion vector prediction mode, the motion vector of the current block is obtained by adding a motion vector difference to one of a plurality of motion vector predictors,
wherein, under the merge mode, obtaining the motion vector of the current block comprises:
obtaining an initial motion vector of the current block based on a merge candidate selected from a plurality of merge candidates;
determining whether to refine the initial motion vector of the current block or not;
when it is determined to refine the initial motion vector, obtaining a difference vector for refining the initial motion vector of the current block; and
obtaining a refined motion vector of the current block by adding the difference vector to the initial motion vector,
wherein the merge candidate is selected from the plurality of merge candidates based on first index information parsed from a bitstream, the first index information indicating an index of the merge candidate,
wherein the difference vector is determined based on a difference value candidate selected from a plurality of difference value candidates,
wherein the difference value candidate is selected, from the plurality of difference value candidates, based on second index information parsed from the bitstream, the second index information indicating an index of the difference value candidate,
wherein the plurality of difference value candidates are pre-defined in the decoding apparatus, and
wherein refining the initial motion vector based on the difference value candidate is allowed only for the merge mode, but is not allowed for the motion vector prediction mode.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the method further comprises:
decoding candidate set information from the bitstream,
wherein, based on the candidate set information, one of a first candidate set or a second candidate set is selected, and
wherein the difference value candidate is selected from the plurality of difference vector candidates included in the selected one of the first candidate set or the second candidate set.

### Claim 18

A method of encoding a video, the method comprising:
obtaining a motion vector of a current block based on one of a plurality of inter modes pre-defined in an encoding apparatus, the inter modes including a motion vector prediction mode and a merge mode;
obtaining a prediction block of the current block based on the motion vector; and
obtaining a residual block of the current block by subtracting the prediction block from an original block,
wherein, under the motion vector prediction mode, a motion vector difference representing a difference between the motion vector and a motion vector predictor is encoded into a bitstream,
wherein, under the merge mode, obtaining the motion vector of the current block comprises:
obtaining an initial motion vector of the current block;
obtaining a difference vector for refining the initial motion vector of the current block; and
obtaining a refined motion vector of the current block by adding a difference vector to the initial motion vector,
wherein first index information is encoded, into the bitstream, to indicate an index of one of a plurality of merge candidates, the initial motion vector of the current block being determined based on the one of the plurality of merge candidates,
wherein second index information is encoded, into the bitstream, to indicate an index of one of a plurality of difference value candidates for determining the difference vector,
wherein the plurality of difference vector candidates are pre-defined in the encoding apparatus, and
wherein refining the initial motion vector based on the difference value candidate is allowed only for the merge mode, but is not allowed for the motion vector prediction mode.

### Claim 19 (depends on 18)

The method according to claim 18,
wherein the plurality of difference value candidates are included in one of a first candidate set or a second candidate set, and
wherein candidate set information, indicating one of the first candidate set or the second candidate set, is encoded into the bitstream.

### Claim 20

A device storing compressed video data which being generated with instructions, when the instructions being executed, a processor included in the device being configured to:
obtaining a motion vector of a current block based on one of a plurality of inter modes pre-defined in an encoding apparatus, the inter modes including a motion vector prediction mode and a merge mode;
obtaining a prediction block of the current block based on the motion vector; and
obtaining a residual block of the current block by subtracting the prediction block from an original block,
wherein, under the motion vector prediction mode, a motion vector difference representing a difference between the motion vector and a motion vector predictor is encoded into a bitstream,
wherein, under the merge mode, obtaining the motion vector of the current block comprises:
obtaining an initial motion vector of the current block;
obtaining a difference vector for refining the initial motion vector of the current block; and
obtaining a refined motion vector of the current block by adding a difference vector to the initial motion vector,
wherein first index information is encoded, into the bitstream, to indicate an index of one of a plurality of merge candidates, the initial motion vector of the current block being determined based on the one of the plurality of merge candidates,
wherein second index information is encoded, into the bitstream, to indicate an index of one of a plurality of difference value candidates for determining the difference vector,
wherein the plurality of difference vector candidates are pre-defined in the encoding apparatus, and
wherein refining the initial motion vector based on the difference value candidate is allowed only for the merge mode, but is not allowed for the motion vector prediction mode.
