# US 2020/0404314 A1 · Inter prediction mode-based image processing method and apparatus therefor

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

- Number: US 2020/0404314 A1
- Document ID: US20200404314A1
- Status: Published application
- Kind: A1
- Application number: 17/010,474
- Filed: 2020-09-02
- Published: 2020-12-24
- Earliest claimed: 2015-08-24
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jaehyun LIM; Naeri PARK; Jungdong SEO; Junghak NAM
- Web page: https://patentgrep.com/patent/US20200404314A1

## CPC

- H04N 19/51: Motion estimation or motion compensation
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/523: with sub-pixel accuracy
- H04N 19/53: Multi-resolution motion estimation; Hierarchical motion estimation
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed are an inter prediction mode-based image processing method and an apparatus therefor. Particularly, a method for processing an image on the basis of inter prediction may comprise the steps of: determining whether a motion vector scale adaptation is applied to a block; up-scaling a down-scaled MVD (Motion Vector Difference) when the motion vector scale adaptation is applied to the block; deriving a MV (Motion Vector) for the block, using the up-scaled MVD and a MVP (Motion Vector Predictor); and generating a predictive block of the block, using the derived MV.

## Claims

### Claim at position 1

-11. (canceled)

### Claim 12

A method of processing an image, comprising:
deriving a motion vector predictor (MVP) based on motion information of a neighbor block of a current block;
obtaining a motion vector difference (MVD) for the current block;
obtaining a flag including information about a resolution of the MVD;
rounding the MVP based on the flag;
modifying a scale of the MVD based on the flag;
deriving a motion vector (MV) for the current block based on the modified MVD and the rounded MVP; and
generating a prediction block of the current block based on the derived MV.

### Claim 13 (depends on 12)

The method of claim 12, wherein the MVD is obtained based on a plurality of syntax elements, comprising:
a first flag including information about whether an absolute value of the MVD is greater than 0;
a second flag including information about an absolute value of the MVD is greater than 1, the second flag being parsed when the MVD is greater than 0;
a value obtained by subtracting 2 from an absolute value of the MVD; and
a third flag including information about a sign of the MVD.

### Claim 14 (depends on 13)

The method of claim 13, wherein the second flag and the third flag are parsed when the MVD is greater than 0, and the value is parsed when the second flag is not equal to 0.

### Claim 15 (depends on 12)

The method of claim 12, wherein the modifying a scale of the MVD up-scales the MVD.

### Claim 16 (depends on 12)

The method of claim 12, wherein the flag is parsed when the obtained MVD is not 0.

### Claim 17 (depends on 12)

The method of claim 12, wherein the MVD is generated by applying at least one of round, floor, and ceiling operations to a value obtained by subtracting the MVP from the MV.

### Claim 18 (depends on 12)

The method of claim 12, wherein a round function is applied to the MVP and the MVD is multiplied by 4 based on that the flag is equal to a first value.

### Claim 19 (depends on 12)

The method of claim 12, wherein the MVD is grouped in units of intervals and binary-encoded.

### Claim 20 (depends on 19)

The method of claim 19, wherein the MVD is encoded as a start value of an interval to which the MVD belongs and indication information for indicating the MVD within the interval.

### Claim 21 (depends on 20)

The method of claim 20, wherein the start value is down-scaled at a ratio of a size of the interval and transmitted.

### Claim 22 (depends on 21)

The method of claim 21, wherein the size of the interval is predetermined or transmitted from an encoder.

### Claim 23 (depends on 19)

The method of claim 19, wherein the MVD is grouped in units of intervals and encoded only when the MVD is 2 or more.

### Claim 24 (depends on 19)

The method of claim 19, wherein a size of the interval is set to a square number of 2.

### Claim 25

An apparatus for processing an image, comprising:
a processor configured to:
derive a motion vector predictor (MVP) based on motion information of a neighbor block of a current block;
obtain a motion vector difference (MVD) for the current block;
obtain a flag including information about a resolution of the MVD;
round the MVP based on the flag;
modifying a scale of the MVD based on the flag;
derive a motion vector (MV) for the current block based on the modified MVD and the rounded MVP; and
generate a prediction block of the current block based on the derived MV.
