# US 2022/0286706 A1 · Method and device for obtaining motion vector of video image

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

- Number: US 2022/0286706 A1
- Document ID: US20220286706A1
- Status: Published application
- Kind: A1
- Application number: 17/664,642
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2018-04-02
- Assignees: Sz Dji Technology Co., Ltd.
- Applicants: Sz Dji Technology Co., Ltd.
- Inventors: Xiaozhen ZHENG; Suhong WANG; Shanshe WANG; Siwei MA; Weiran LI
- Web page: https://patentgrep.com/patent/US20220286706A1

## CPC

- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- 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/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/513: Processing of motion vectors
- H04N 19/517: by encoding
- H04N 19/52: by predictive encoding
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video processing method includes obtaining motion information of a neighboring block of a current image block, dividing the current image block into a plurality of sub-blocks in response to the neighboring block satisfying a preset condition, determining, in a time-domain reference image of the current image block, related blocks of the plurality of sub-blocks according to a motion vector of the neighboring block, and performing prediction on the current image block according to motion vectors of the related blocks.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A video processing method comprising:
obtaining motion information of a left neighboring block of a current image block, the current image block being divided into one or more sub-blocks each having a size of 8×8 pixels; and
in response to the left neighboring block satisfying a preset condition:
determining, in a collocated frame of the current image block, a related block of one sub-block of the one or more sub-blocks according to a motion vector of the left neighboring block, the preset condition including that a reference image of the left neighboring block is same as the collocated frame of the current image block; and
determining a motion vector of the one sub-block according to a motion vector of the related block of the one sub-block, to perform encoding/decoding on the one sub-block of the current image block.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
in response to the left neighboring block not satisfying the preset condition, encoding the one sub-block using a default block as a reference block of the one sub-block.

### Claim 23 (depends on 22)

The method of claim 22, wherein the default block is an image block pointed to by a motion vector (0, 0).

### Claim 24 (depends on 23)

The method of claim 23, wherein the default block is an image block pointed to by the motion vector (0, 0) in the collocated frame of the current image block.

### Claim 25 (depends on 21)

The method of claim 21, further comprising:
outputting a bitstream obtained by encoding the one sub-block of the current image block.

### Claim 26 (depends on 21)

The method of claim 21, further comprising:
in response to the current image block having a size larger than or equal to 8×8 pixels, dividing the current image block into the one or more sub-blocks each having the size of 8×8 pixels, and executing the process of determining the motion vector of the one sub-block according to the motion vector of the related block of the one sub-block.

### Claim 27 (depends on 21)

The method of claim 21, wherein determining the motion vector of the one sub-block according to the motion vector of the related block of the one sub-block, to perform encoding/decoding on the one sub-block of the current image block includes:
in response to reference images of the related block and the one sub-block being specific reference images, skipping a process of scaling the motion vector of the related block of the one sub-block.

### Claim 28 (depends on 21)

The method of claim 21, wherein determining the motion vector of the one sub-block according to the motion vector of the related block of the one sub-block, to perform encoding/decoding on the one sub-block of the current image block includes:
scaling the motion vector of the related block of the one sub-block to obtain the motion vector of the one sub-block.

### Claim 29 (depends on 28)

The method of claim 28, wherein scaling the motion vector of the related block of the one sub-block to obtain the motion vector of the one sub-block includes:
determining a scaling factor of the motion vector of the related block of the one sub-block according to:
a temporal distance between a reference image pointed to by the motion vector of the related block of the one sub-block and an image where the related block is located, and
a temporal distance between a reference image of the one sub-block and a current image containing the one sub-block;
scaling the motion vector of the related block of the one sub-block according to the scaling factor to obtain a scaled motion vector; and
determining the motion vector of the one sub-block according to the scaled motion vector.

### Claim 30

A video processing device comprising:
a processor; and
a memory storing instructions that, when executed by the processor, cause the processor to:
obtain motion information of a left neighboring block of a current image block, the current image block being divided into one or more sub-blocks each having a size of 8×8 pixels; and
in response to the left neighboring block satisfying a preset condition:
determine, in a collocated frame of the current image block, a related block of one sub-block of the one or more sub-blocks according to a motion vector of the left neighboring block, the preset condition including that a reference image of the left neighboring block is same as the collocated frame of the current image block; and
determine a motion vector of the one sub-block according to a motion vector of the related block of the one sub-block, to perform encoding/decoding on the one sub-block of the current image block.

### Claim 31 (depends on 30)

The device of claim 30, wherein the instructions further cause the processor to:
in response to the left neighboring block not satisfying the preset condition, encode the one sub-block using a default block as a reference block of the one sub-block.

### Claim 32 (depends on 31)

The device of claim 31, wherein the default block is an image block pointed to by a motion vector (0, 0).

### Claim 33 (depends on 32)

The device of claim 32, wherein the default block is an image block pointed to by the motion vector (0, 0) in the collocated frame of the current image block.

### Claim 34 (depends on 30)

The device of claim 30, wherein the instructions further cause the processor to:
output a bitstream obtained by encoding the one sub-block of the current image block.

### Claim 35 (depends on 30)

The device of claim 30, wherein the instructions further cause the processor to:
in response to the current image block having a size larger than or equal to 8×8 pixels, divide the current image block into the one or more sub-blocks each having the size of 8×8 pixels, and execute the process of determining the motion vector of the one sub-block according to the motion vector of the related block of the one sub-block.

### Claim 36 (depends on 30)

The device of claim 30, wherein the instructions further cause the processor to:
in response to reference images of the related block and the one sub-block being specific reference images, skip a process of scaling the motion vector of the related block of the one sub-block.

### Claim 37 (depends on 30)

The device of claim 30, wherein the instructions further cause the processor to:
scale the motion vector of the related block of the one sub-block to obtain the motion vector of the one sub-block.

### Claim 38 (depends on 37)

The device of claim 37, wherein the instructions further cause the processor to:
determine a scaling factor of the motion vector of the related block of the one sub-block according to:
a temporal distance between a reference image pointed to by the motion vector of the related block of the one sub-block and an image where the related block is located, and
a temporal distance between a reference image of the one sub-block and a current image containing the one sub-block;
scale the motion vector of the related block of the one sub-block according to the scaling factor to obtain a scaled motion vector; and
determine the motion vector of the one sub-block according to the scaled motion vector.

### Claim 39

A non-transitory computer-readable storage medium storing bit data obtained by an encoding method including:
obtaining motion information of a left neighboring block of a current image block, the current image block being divided into one or more sub-blocks each having a size of 8×8 pixels; and
in response to the left neighboring block satisfying a preset condition:
determining, in a collocated frame of the current image block, a related block of one sub-block of the one or more sub-blocks according to a motion vector of the left neighboring block, the preset condition including that a reference image of the left neighboring block is same as the collocated frame of the current image block; and
determining a motion vector of the one sub-block according to a motion vector of the related block of the one sub-block, to perform encoding on the one sub-block of the current image block.

### Claim 40 (depends on 39)

The storage medium of claim 39, wherein the method further includes:
in response to the left neighboring block not satisfying the preset condition, encoding the one sub-block using a default block as a reference block of the one sub-block.
