Motion vector refinement of a motion vector pointing to a fractional sample position
AssigneeHuawei Technologies Co., Ltd.
InventorsSemih Esenlik, Zhijie Zhao, Han Gao, Anand Meher Kotra
Life of this patent
Estimating the term…
Abstract
A motion vector determination employs template matching. At first, an initial motion vector is obtained. If the initial motion vector points to a position that is fractional, and thus, requires interpolation from the integer sample positions, the initial motion vector is rounded to a closest integer sample position. The rounded position is then used to define the search space for the template matching to define a refinement of the initial motion vector.
Claims18
An apparatus, the apparatus comprising a processing circuitry configured to:
- obtain an initial motion vector and a template for a prediction block;
- based on a determination that the initial motion vector points to a fractional sample position in a reference picture, round the initial motion vector to a closest integer sample position of a plurality of integer sample positions to obtain a rounded position;
- determining a search space in the reference picture based on the rounded position;
- and
- refine the initial motion vector by template matching with the template in the search space,
- wherein the search space is located on a position comprising the rounded position and at least one integer sample position of the plurality of integer sample positions.
A method for determining a motion vector for a prediction block, the method comprising:
- obtaining an initial motion vector and a template for the prediction block;
- based on a determination that the initial motion vector points to a fractional sample position in a reference picture, round the initial motion vector to a closest integer sample position of a plurality of integer sample positions to obtain a rounded position;
- determining a search space in the reference picture based on the rounded position;
- and
- refine the initial motion vector by template matching with the template in the search space,
- wherein the search space is located on a position comprising the rounded position and at least one integer sample position of the plurality of integer sample positions.
Dependencies are inferred from the claim text.