Picture Prediction Method and Apparatus, and Corresponding Encoder and Decoder
OwnerHuanbang Chen, Haitao Yang +1inventors
InventorsHuanbang Chen, Haitao Yang, Jianle Chen
Life of this patent
Estimating the term…
Abstract
Embodiments of this application disclose a picture prediction method and apparatus, and a corresponding encoder and decoder. A prediction direction of a current picture block is considered when a size of a subblock in the current picture block is determined. For example, if a prediction mode of the current picture block is unidirectional prediction, the size of the subblock is 4×4; or if a prediction mode of the current picture block is bidirectional prediction, the size of the subblock is 8×8.
Claims24
A picture prediction method, comprising:
- obtaining motion vectors of control points of an affine coding block;
- obtaining a motion vector of each subblock in the affine coding block based on the motion vectors of the control points of the affine coding block by using an affine transform model, wherein a size of the subblock is determined based on a prediction direction of the affine coding block;
- performing motion compensation based on the motion vector of each subblock in the affine coding block, to obtain a predicted pixel value of said each subblock;
- and
- generating a predicted pixel value of the affine coding block based on the predicted pixel value of said each subblock of the affine coding block.
A picture prediction apparatus, comprising:
- a memory containing instructions;
- and
- a processor in communication with the memory and upon execution of the instructions, is configured to:
- obtain motion vectors of control points of a affine coding block;
- obtain a motion vector of each subblock in the affine coding block based on the motion vectors of the control points of the affine coding block by using an affine transform model, wherein a size of the subblock is determined based on a prediction direction of the affine coding block;
- and perform motion compensation based on the motion vector of each subblock in the affine coding block, to obtain a predicted pixel value of each subblock;
- and
- generate a predicted pixel value of the affine coding block based on the predicted pixel value of said each subblock of the affine coding block.
Dependencies are inferred from the claim text.