Template matching-based motion refinement in video coding
AssigneeAlibaba (China) Co., Ltd.
InventorsJie Chen, Ru-Ling Liao, Xinwei Li, Yan Ye
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses are provided for motion template-matching-based motion refinement. An exemplary method includes: dividing a target coding block into a plurality of subblocks; determining a first plurality of templates associated with the plurality of subblocks; determining a plurality of reference templates based on the first plurality of templates; performing motion compensation to the target coding block based on an affine merge candidate; and refining the motion compensation by matching the first plurality of templates and the plurality of reference templates.
Claims19
A method of encoding video content, the method comprising:
- dividing a target coding block into a plurality of subblocks;
- determining a plurality of sub-templates based on the plurality of subblocks;
- and
- refining motion vectors of the plurality of subblocks based on the plurality of sub-templates, wherein refining the motion vectors of the plurality of subblocks comprises:
- in response to the target coding block being a bi-predicted block, determining refined motion vectors of the plurality of subblocks associated with a first reference picture list, and determining, based on the determined refined motion vectors associated with the first reference picture list, motion vectors of the plurality of subblocks associated with a second reference picture list.
A method of decoding a bitstream associated with video content, the method comprising:
- decoding the bitstream to reconstruct a target coding block, wherein the target coding block is divided into a plurality of subblocks;
- determining a plurality of sub-templates based on the plurality of subblocks;
- and
- refining motion vectors of the plurality of subblocks based on the plurality of sub-templates, wherein refining the motion vectors of the plurality of subblocks comprises:
- in response to the target coding block being a bi-predicted block, determining refined motion vectors of the plurality of subblocks associated with a first reference picture list, and determining, based on the determined refined motion vectors associated with the first reference picture list, motion vectors of the plurality of subblocks associated with a second reference picture list.
A method of storing a bitstream associated with video content, the method comprising:
- dividing a target coding block into a plurality of subblocks;
- determining a plurality of sub-templates based on the plurality of subblocks;
- refining motion vectors of the plurality of subblocks based on the plurality of sub-templates, wherein refining the motion vectors of the plurality of subblocks comprises:
- in response to the target coding block being a bi-predicted block, determining refined motion vectors of the plurality of subblocks associated with a first reference picture list, and determining, based on the determined refined motion vectors associated with the first reference picture list, motion vectors of the plurality of subblocks associated with a second reference picture list;
- generating the bitstream based on the refined motion vectors;
- and
- storing the bitstream in a non-transitory computer-readable storage medium.
Dependencies are inferred from the claim text.