IMAGE PREDICTION METHOD AND RELATED DEVICE
First Claim
1. An image prediction method, wherein a current image block comprises at least one first pixel sample and at least one second pixel sample, and the method comprises:
- parsing first bitstream information, wherein the first bitstream information indicates motion information units respectively corresponding to each first pixel sample and each second pixel sample;
obtaining motion information of each first pixel sample and predicted motion information of each second pixel sample based on the parsed first bitstream information, wherein the predicted motion information is predicted information of motion information;
parsing second bitstream information, wherein the second bitstream information is used to represent differential motion information of each second pixel sample, and the differential motion information is a difference between motion information and predicted motion information;
obtaining motion information of each second pixel sample based on the parsed second bitstream information and the corresponding predicted motion information of each second pixel sample; and
obtaining a predictor of the current image block based on a motion model of the current image block, the motion information of each first pixel sample, and the motion information of each second pixel sample.
1 Assignment
0 Petitions
Accused Products
Abstract
An image prediction method and a related apparatus are disclosed. The method includes: parsing first bitstream information, used for indicating a motion information unit, to obtain motion information of each first pixel sample and predicted motion information of each second pixel sample; parsing second bitstream information, used for representing differential motion information of each second pixel sample, to obtain motion information of each second pixel sample; and obtaining a predictor of a current image block based on a motion model of the current image block, the motion information of the first pixel sample, and the motion information of the second pixel sample.
9 Citations
30 Claims
-
1. An image prediction method, wherein a current image block comprises at least one first pixel sample and at least one second pixel sample, and the method comprises:
-
parsing first bitstream information, wherein the first bitstream information indicates motion information units respectively corresponding to each first pixel sample and each second pixel sample; obtaining motion information of each first pixel sample and predicted motion information of each second pixel sample based on the parsed first bitstream information, wherein the predicted motion information is predicted information of motion information; parsing second bitstream information, wherein the second bitstream information is used to represent differential motion information of each second pixel sample, and the differential motion information is a difference between motion information and predicted motion information; obtaining motion information of each second pixel sample based on the parsed second bitstream information and the corresponding predicted motion information of each second pixel sample; and obtaining a predictor of the current image block based on a motion model of the current image block, the motion information of each first pixel sample, and the motion information of each second pixel sample. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An image prediction method, wherein a current image block comprises at least one first pixel sample and at least one second pixel sample, and the method comprises:
-
determining candidate motion information unit sets respectively corresponding to each first pixel sample and each second pixel sample, wherein any candidate motion information unit set comprises at least one motion information unit; determining a combined motion information unit set of the current image block, wherein each motion information unit in the combined motion information unit set is selected from at least some motion information units in the candidate motion information unit sets respectively corresponding to each first pixel sample and each second pixel sample, and motion information of the motion information unit comprises a motion vector with a forward prediction direction and/or a motion vector with a backward prediction direction; determining, from the combined motion information unit set, motion information units respectively corresponding to each first pixel sample and each second pixel sample; encoding first bitstream information, wherein the first bitstream information is used to represent the motion information units that respectively correspond to each first pixel sample and each second pixel sample and that are determined from the combined motion information unit set; using motion information of the motion information unit corresponding to the first pixel sample as motion information of the first pixel sample; using motion information of the motion information unit corresponding to the second pixel sample as predicted motion information of the second pixel sample; calculating differential motion information of the second pixel sample, wherein the differential motion information is a difference between the motion information and the predicted motion information; encoding second bitstream information, wherein the second bitstream information is used to represent differential motion information of each second pixel sample; and obtaining a predictor of the current image block based on a motion model of the current image block, the motion information of each first pixel sample, and the motion information of each second pixel sample.
-
-
16. An image prediction apparatus, wherein a current image block comprises at least one first pixel sample and at least one second pixel sample, and the apparatus comprises:
- a processor and a memory coupled to the processor;
the memory is configured to store code or an instruction; and the processor is configured to invoke the code or the instruction to perform the following operations; parsing first bitstream information, wherein the first bitstream information is used to indicate motion information units respectively corresponding to each first pixel sample and each second pixel sample;
obtaining motion information of each first pixel sample and predicted motion information of each second pixel sample based on the parsed first bitstream information, wherein the predicted motion information is predicted information of motion information;
parsing second bitstream information, wherein the second bitstream information is used to represent differential motion information of each second pixel sample, and the differential motion information is a difference between motion information and predicted motion information;
obtaining motion information of each second pixel sample based on the parsed second bitstream information and the corresponding predicted motion information of each second pixel sample; and
obtaining a predictor of the current image block based on a motion model of the current image block, the motion information of each first pixel sample, and the motion information of each second pixel sample. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
- a processor and a memory coupled to the processor;
-
30. An image prediction apparatus, wherein a current image block comprises at least one first pixel sample and at least one second pixel sample, and the apparatus comprises:
- a processor and a memory coupled to the processor;
the memory is configured to store code or an instruction; and the processor is configured to invoke the code or the instruction to perform the following operations; determining candidate motion information unit sets respectively corresponding to each first pixel sample and each second pixel sample, wherein any candidate motion information unit set comprises at least one motion information unit;
determining a combined motion information unit set of the current image block, wherein each motion information unit in the combined motion information unit set is selected from at least some motion information units in the candidate motion information unit sets respectively corresponding to each first pixel sample and each second pixel sample, and motion information of the motion information unit comprises a motion vector with a forward prediction direction and/or a motion vector with a backward prediction direction;
determining, from the combined motion information unit set, motion information units respectively corresponding to each first pixel sample and each second pixel sample;
encoding first bitstream information, wherein the first bitstream information is used to represent the motion information units that respectively correspond to each first pixel sample and each second pixel sample and that are determined from the combined motion information unit set;
using motion information of the motion information unit corresponding to the first pixel sample as motion information of the first pixel sample;
using motion information of the motion information unit corresponding to the second pixel sample as predicted motion information of the second pixel sample;
calculating differential motion information of the second pixel sample, wherein the differential motion information is a difference between the motion information and the predicted motion information;
encoding second bitstream information, wherein the second bitstream information is used to represent differential motion information of each second pixel sample; and
obtaining a predictor of the current image block based on a motion model of the current image block, the motion information of each first pixel sample, and the motion information of each second pixel sample.
- a processor and a memory coupled to the processor;
Specification