# US 2021/0344926 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 2021/0344926 A1
- Document ID: US20210344926A1
- Status: Published application
- Kind: A1
- Application number: 17/377,160
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2018-09-28
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Jaehyun LIM; Naeri PARK
- Web page: https://patentgrep.com/patent/US20210344926A1

## CPC

- 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/176: the region being a block, e.g. a macroblock
- H04N 19/51: Motion estimation or motion compensation
- H04N 19/521: {for estimating the reliability of the determined motion vectors or motion vector field, e.g. for smoothing the motion vector field or for correcting motion vectors}
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

In the present invention, an inter-prediction mode based image processing method and an apparatus therefor are disclosed. Specifically, the inter-prediction based image processing method may comprise the steps of: deriving movement information of a control point for specifying a reference block of a current block; dividing the current block into sub-blocks; deriving movement information of the sub-blocks using the movement information of the control point; and generating a prediction block for each sub-block using the movement information of the sub-blocks.

## Claims

### Claim 1

A method of decoding an image based on inter prediction, comprising steps of:
deriving, by a processor, at least two motion vectors of at least two control points of a current block;
splitting, by the processor, the current block into sub-blocks;
deriving, by the processor, a motion vector of each of the sub-blocks based on the at least two motion vectors of the at least two control points of the current block;
generating, by the processor, a prediction block for each of the sub-blocks based on the motion vector of each of the sub-blocks; and
updating, by the processor, the prediction block for each of the sub-blocks pixel-by-pixel based on an optical flow,
wherein the at least two motion vectors of the at least two control points of the current block are derived based on a motion vector of a control point of a neighboring block,
wherein a motion vector of one among the at least two control points of the current block is derived based on modifying of the motion vector of the control point of the neighboring block based on a difference between a position of an upper left sample of the neighboring block and a position of an upper left sample of the current block, and a difference between two motion vectors of two control points of the neighboring block with respect to at least one of a horizontal direction or a vertical direction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the motion vector of the one among the at least two control points of the current block is derived based on modifying of the motion vector of the control point of the neighboring block or the reference block based on a difference between a size of the current block and, a size of the neighboring block or the reference block.

### Claim 3 (depends on 1)

The method of claim 1, wherein a size of the sub-block and/or a split type of the sub-block are determined based on the at least two motion vectors of the at least two control points of the current block.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
a width of the sub-block is determined based on a difference between a motion vector of an upper left control point of the current block and a motion vector of an upper right control point of the current block, and
a height of the sub-block is determined based on a difference between a motion vector of an upper left control point of the current block and a motion vector of a lower left control point of the current block.

### Claim 5 (depends on 1)

The method of claim 1, wherein a motion vector of a specific reference point in the sub-block is used as the motion vector of the sub-block.

### Claim 6 (depends on 5)

The method of claim 5, wherein in case of a sub-block comprising the control point or adjacent to the control point, a motion vector of the control point is used as the motion vector of the sub-block.

### Claim 7 (depends on 5)

The method of claim 5, wherein a motion vector of a plurality of reference points in the sub-block is used as the motion vector of the sub-block.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the prediction block is generated based on a motion vector of a single reference point, and
the generated prediction block is updated pixel-by-pixel based on the optical flow to a plurality of prediction blocks derived based on a motion vector of a plurality of reference points.

### Claim 9 (depends on 1)

The method of claim 1, wherein the optical flow is applied only for sub-blocks that do not include the control point or are not adjacent to the control point.

### Claim 10 (depends on 1)

The method of claim 1, wherein the neighboring block comprises a block adjacent to a bottom-left corner of the current block.

### Claim 11

A method of encoding an image based on inter prediction, comprising steps of:
deriving, by a processor, at least two motion vectors of at least two control points of a current block;
splitting, by the processor, the current block into sub-blocks;
deriving, by the processor, a motion vector of each of the sub-blocks based on the at least two motion vectors of the at least two control points of the current block;
generating, by the processor, a prediction block for each of the sub-blocks based on the motion vector of each of the sub-blocks; and
updating, by the processor, the prediction block for each of the sub-blocks pixel-by-pixel based on an optical flow,
wherein the at least two motion vectors of the at least two control points of the current block are derived based on a motion vector of a control point of a neighboring block, and
wherein a motion vector of one among the at least two control points of the current block is derived based on modifying of the motion vector of the control point of the neighboring block based on a difference between a position of an upper left sample of the neighboring block and a position of an upper left sample of the current block, and a difference between two motion vectors of two control points of the neighboring block with respect to at least one of a horizontal direction or a vertical direction.

### Claim 12

A non-transitory computer-readable recording medium storing a bitstream generated by a method, the method comprising:
deriving, by a processor, at least two motion vectors of at least two control points of a current block;
splitting, by the processor, the current block into sub-blocks;
deriving, by the processor, a motion vector of each of the sub-blocks based on the at least two motion vectors of the at least two control points of the current block;
generating, by the processor, a prediction block for each of the sub-blocks based on the motion vector of each of the sub-blocks; and
updating, by the processor, the prediction block for each of the sub-blocks pixel-by-pixel based on an optical flow,
wherein the at least two motion vectors of the at least two control points of the current block are derived based on a motion vector of a control point of a neighboring block, and
wherein a motion vector of one among the at least two control points of the current block is derived based on modifying of the motion vector of the control point of the neighboring block based on a difference between a position of an upper left sample of the neighboring block and a position of an upper left sample of the current block, and a difference between two motion vectors of two control points of the neighboring block with respect to at least one of a horizontal direction or a vertical direction.
