# US 2022/0295087 A1 · Method and device for processing video signal by using affine motion prediction

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

- Number: US 2022/0295087 A1
- Document ID: US20220295087A1
- Status: Published application
- Kind: A1
- Application number: 17/831,119
- Filed: 2022-06-02
- Published: 2022-09-15
- Earliest claimed: 2018-06-04
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc
- Inventors: Jaeho LEE
- Web page: https://patentgrep.com/patent/US20220295087A1

## CPC

- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/52: by predictive encoding
- 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/54: using feature points or meshes
- 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 a method for processing a video signal by using an affine motion prediction and an apparatus thereof. A method for processing a video signal according to the present disclosure may include: adding, to an affine candidate list, an affine coded block coded in an affine prediction mode among neighbor blocks of a current block; obtaining a syntax element indicating a candidate used for the affine motion prediction of the current block in the affine candidate list; deriving a control point motion vector predictor of the current block based on an affine motion model of the candidate indicated by the syntax element; deriving a control point motion vector of the current block by adding a control point motion vector difference to the control point motion vector predictor; and generating a prediction block of the current block by using the control point motion vector of the current block.

## Claims

### Claim at position 1

1-12. (canceled)

### Claim 13

A method for decoding a video signal, comprising:
determining a block coded in an affine prediction mode among neighbor blocks of a current block as an affine candidate based on that the block having a same reference picture as a reference picture of the current block;
obtaining a syntax element related to an affine candidate used for the affine motion prediction of the current block among affine candidates;
deriving a control point motion vector predictor of the current block based on the affine candidate related to the syntax element;
deriving a control point motion vector of the current block based on a control point motion vector difference and the control point motion vector predictor;
generating prediction samples of the current block based on the control point motion vector of the current block; and
generating reconstructed samples of the current block based on the prediction samples of the current block,
wherein the determining of the block further includes:
grouping the neighbor blocks of the current block into a left group and a right group; and
searching the block coded in the affine prediction mode based on a predefined order in each of the left group and the right group.

### Claim 14 (depends on 13)

The method of claim 13, wherein the determining of the block determines a predefined maximum number of blocks coded in the affine prediction mode as the affine candidates, and
wherein the predefined maximum number is two.

### Claim 15 (depends on 13)

The method of claim 13, wherein the determining of the block comprises:
searching a valid affine coded block among the blocks having the same reference picture as the reference picture of the current block in the left group according to a predefined order, and
searching a valid affine coded block among the blocks having the same reference picture as the reference picture of the current block in the top group according to a predefined order.

### Claim 16 (depends on 13)

The method of claim 13, wherein the determining of the block further includes: determining an affine candidate scaled based on a picture order count between reference pictures when there is no affine coded block among the neighbor blocks of the current block.

### Claim 17 (depends on 13)

The method of claim 13, wherein the determining of the block further includes:
determining 0 or 1 block coded in the affine prediction mode in each group as the affine candidate.

### Claim 18

A method for encoding a video signal, comprising:
determining a block coded in an affine prediction mode among neighbor blocks of a current block as an affine candidate based on that the block having a same reference picture as a reference picture of the current block;
selecting an affine candidate used for the affine motion prediction of the current block among affine candidates;
deriving a control point motion vector predictor of the current block based on the selected affine candidate;
deriving a control point motion vector of the current block based on a control point motion vector difference and the control point motion vector predictor;
generating prediction samples of the current block based on the control point motion vector of the current block;
generating residual samples of the current block based on the prediction samples; and
generating a syntax element related to the selected affine candidate among the affine candidates,
wherein the determining of the block further includes:
grouping the neighbor blocks of the current block into a left group and a right group; and
searching the block coded in the affine prediction mode based on a predefined order in each of the left group and the right group.

### Claim 19 (depends on 18)

The method of claim 18, wherein the determining of the block determines a predefined maximum number of blocks coded in the affine prediction mode as the affine candidates, and
wherein the predefined maximum number is two.

### Claim 20 (depends on 18)

The method of claim 18, wherein the determining of the block comprises:
searching a valid affine coded block among the blocks having the same reference picture as the reference picture of the current block in the left group according to a predefined order, and
searching a valid affine coded block among the blocks having the same reference picture as the reference picture of the current block in the top group according to a predefined order.

### Claim 21 (depends on 18)

The method of claim 18, wherein the determining of the block further includes:
determining 0 or 1 block coded in the affine prediction mode in each group as the affine candidate.

### Claim 22

A non-transitory decoder-readable storage medium storing encoded picture information generated by performing the steps of:
determining a block coded in an affine prediction mode among neighbor blocks of a current block as an affine candidate based on that the block having a same reference picture as a reference picture of the current block;
selecting an affine candidate used for the affine motion prediction of the current block among affine candidates;
deriving a control point motion vector predictor of the current block based on the selected affine candidate;
deriving a control point motion vector of the current block based on a control point motion vector difference and the control point motion vector predictor;
generating prediction samples of the current block based on the control point motion vector of the current block;
generating residual samples of the current block based on the prediction samples; and
generating a syntax element related to the selected affine candidate among the affine candidates,
wherein the determining of the block further includes:
grouping the neighbor blocks of the current block into a left group and a right group; and
searching the block coded in the affine prediction mode based on a predefined order in each of the left group and the right group.
