US 11,997,284 B2
Method for deriving motion vector, and electronic device of current block in coding unit
Ronggang Wang, Guangdong (CN); Xi Xie, Guangdong (CN); Kui Fan, Guangdong (CN); and Wen Gao, Guangdong (CN)
Assigned to PEKING UNIVERSITY SHENZHEN GRADUATE SCHOOL, Guangdong (CN)
Filed by PEKING UNIVERSITY SHENZHEN GRADUATE SCHOOL, Guangdong (CN)
Filed on Dec. 22, 2021, as Appl. No. 17/645,698.
Application 17/645,698 is a continuation in part of application No. PCT/CN2019/102748, filed on Aug. 27, 2019.
Claims priority of application No. 201910766509.X (CN), filed on Aug. 19, 2019.
Prior Publication US 2022/0191503 A1, Jun. 16, 2022
Int. Cl. H04N 19/105 (2014.01); H04N 19/137 (2014.01); H04N 19/159 (2014.01); H04N 19/176 (2014.01); H04N 19/80 (2014.01)
CPC H04N 19/137 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/80 (2014.11)] 12 Claims
OG exemplary drawing
 
1. A method for deriving motion vector from a current block in a coding unit, implemented by an electronic device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the method comprising:
obtaining a space domain motion vector prediction and a time domain motion vector prediction of adjacent blocks of the coding unit in a predetermined direction;
filtering on the space domain motion vector and the time domain motion vector prediction to obtain the space domain motion vector prediction and the time domain motion vector prediction of the filtered adjacent blocks;
determining, according to a predetermined inter-frame prediction mode, reference motion vectors of the current block in four side directions by using the space domain motion vector prediction and the time domain motion vector prediction of the filtered adjacent blocks and a coordinate position of the current block in the coding unit; and
deriving motion vectors of the current block according to the reference motion vectors and the coordinate position of the current block in the coding unit, the deriving comprising:
deriving motion vectors of the current block according to the formula listed below:
Vh=((M−x)*vl+X*vr)/M
Vv=((N−y)*vt+y*vb)/N
V[x][y]=(Vh+Vv)/2
wherein
vl, vr, vt, and vb represent the reference motion vectors of the current block in the left direction, in the right direction, in the upper direction and in the lower direction, respectively,
x and y represent a coordinate of the current block in the coding unit in units of sub-block; M and N represent a width and a height of the coding unit in units of sub-block; Vh represents a horizontal motion vector of the current block,
Vv represents a vertical motion vector of the current block, and
V[x][y] represents motion vectors of the current block.