US 11,889,072 B2
Video encoding and decoding
Fangdong Chen, Hangzhou (CN)
Assigned to HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Hangzhou (CN)
Filed by HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD., Hangzhou (CN)
Filed on Jun. 25, 2021, as Appl. No. 17/358,368.
Application 17/358,368 is a continuation of application No. PCT/CN2019/124453, filed on Dec. 11, 2019.
Claims priority of application No. 201811628695.2 (CN), filed on Dec. 28, 2018.
Prior Publication US 2021/0321102 A1, Oct. 14, 2021
Int. Cl. H04N 19/119 (2014.01); H04N 19/105 (2014.01); H04N 19/139 (2014.01); H04N 19/174 (2014.01); H04N 19/176 (2014.01); H04N 19/52 (2014.01); H04N 19/147 (2014.01); H04N 19/184 (2014.01); H04N 19/186 (2014.01)
CPC H04N 19/119 (2014.11) [H04N 19/105 (2014.11); H04N 19/139 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11); H04N 19/147 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A decoding method, comprising:
determining whether a current block satisfies specific conditions for enabling a geometric partitioning mode with triangular partition; and
if the current block satisfies the specific conditions for enabling the geometric partitioning mode with triangular partition and the geometric partitioning mode with triangular partition is enabled, performing operations comprising:
obtaining first target motion information and second target motion information of the current block, wherein the first target motion information is different from the second target motion information; and
performing a decoding process on the current block based on the first target motion information and the second target motion information;
wherein determining whether the current block satisfies the specific conditions for enabling the geometric partitioning mode with triangular partition comprises: determining whether a type of a current slice where the current block is located, a motion information mode of the current block, and size information of the current block satisfy the specific conditions;
wherein performing the decoding process on the current block based on the first target motion information and the second target motion information comprises: performing motion compensation on the current block based on the first target motion information and the second target motion information to obtain a prediction value of the current block;
wherein the prediction value of the current block at least comprises a prediction value of a first sub-block area, a prediction value of a second sub-block area, and a prediction value of a third sub-block area;
wherein the prediction value of the first sub-block area is obtained by performing motion compensation on the first sub-block area based on the first target motion information, the prediction value of the second sub-block area is obtained by performing motion compensation on the second sub-block area based on the second target motion information, and the prediction value of the third sub-block area is obtained by performing weighted compensation on the third sub-block area based on the first target motion information and the second target motion information; and
wherein the prediction value of the third sub-block area comprises prediction values of all sub-blocks in the third sub-block area, and each sub-block in the third sub-block area is a 1*1 pixel block, and
wherein obtaining the prediction value of the third sub-block area by performing the weighted compensation on the third sub-block area based on the first target motion information and the second target motion information comprises:
for each sub-block in the third sub-block area,
determining a first prediction value of the sub-block based on the first target motion information;
determining a second prediction value of the sub-block based on the second target motion information; and
obtaining a weighted prediction value of the sub-block based on the first prediction value, a first weight coefficient corresponding to the first prediction value, the second prediction value, and a second weight coefficient corresponding to the second prediction value,
wherein the weighted prediction value of the sub-block is P1*a+P2*b when the first prediction value is P1, the second prediction value is P2, the first weight coefficient is a, and the second weight coefficient is b.