Method and apparatus for video encoding and decoding using bi-prediction
Abstract
Different implementations are described, particularly implementations for video encoding and decoding using motion compensation with bi-prediction are presented. The encoding method comprises for a picture, obtaining a first predictor for a block of the picture using a first reference picture; obtaining a second predictor for said block of the picture using a second reference picture; using the first predictor and the second predictor for forming a third predictor for the block in bi-prediction inter prediction, wherein the third predictor is obtained as a weighted average of the first predictor and the second predictor; and wherein a weight used in the weighed prediction depend on the position of the sample in the block. Ohers embodiments are presented for implementing block triangle partition prediction, for implementing block partition prediction using multiple patterns and for corresponding motion compensation in decoding method.
Claims
exact text as granted — not AI-modified1 . A method, comprising:
obtaining a first information indicating a splitting of a block of a picture with a geometric partition; obtaining a second information indicating a direction of an edge with the geometric partition; obtaining a third information indicating a position of an edge with the geometric partition; obtaining, from uni-prediction, a first predictor for the block of the picture using a first reference picture; obtaining, from uni-prediction, a second predictor for the block of the picture using a second reference picture; obtaining a weighted average of the first predictor and the second predictor; wherein a sample of the weighted average is obtained by applying a first weight to a sample of the first predictor and by applying a second weight to a co-located sample of the second predictor, wherein the first weight and the second weight are responsive to the first information, second information, the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; and decoding the block of the picture using the third predictor generated by a geometric partition mode.
2 . The method of claim 1 , wherein the first predictor is obtained for at least a first part of the block; and the second predictor is obtained for at least a second part of the block.
3 . The method of claim 1 , the second information indicating a direction of an edge with the geometric partition is an index coding at least 3 different angles for the edge.
4 . The method of claim 1 , the third information indicating a position of an edge with the geometric partition is an index coding at least 3 different distances from the edge to a reference sample of the block.
5 . The method of claim 1 , wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric partition of the block, wherein a position of the edge is derived from the first information and the second information.
6 . The method of claim 5 , wherein the block of the picture comprises a luma component and two chroma components and wherein the first weight and the second weight further depend on the luma component or chroma component.
7 . An apparatus, comprising:
one or more processors, wherein the one or more processors are configured to:
obtain a first information indicating a splitting of a block of a picture with a geometric partition;
obtain a second information indicating a direction of an edge with the geometric partition;
obtain a third information indicating a position of an edge with the geometric partition;
obtain, from uni-prediction, a first predictor for the block of the picture using a first reference picture;
obtain, from uni-prediction, a second predictor for the block of the picture using a second reference picture;
obtain a weighted average of the first predictor and the second predictor;
wherein a sample of the weighted average is obtained by applying a first weight to a sample of the first predictor and by applying a second weight to a co-located sample of the second predictor, wherein the first weight and the second weight are responsive to the first information, second information, the third information and to a position of the sample in the block;
obtain a third predictor for the block by shifting and clipping the weighted average; and
decode the block of the picture using the third predictor generated by a geometric partition mode.
8 . The apparatus of claim 7 , wherein the first predictor is obtained for at least a first part of the block; and the second predictor is obtained for at least a second part of the block.
9 . The apparatus of claim 7 , the second information indicating a direction of an edge with the geometric partition is an index coding at least 3 different angles for the edge.
10 . The apparatus of claim 7 , the third information indicating a position of an edge with the geometric partition is an index coding at least 3 different distances from the edge to a reference sample of the block.
11 . The apparatus of claim 7 , wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric partition of the block, wherein a position of the edge is derived from the first information and the second information.
12 . The apparatus of claim 11 , wherein the block of the picture comprises a luma component and two chroma components and wherein the first weight and the second weight further depend on the luma component or chroma component.
13 . A method, comprising:
obtaining a first information indicating a splitting of a block of a picture with a geometric partition; obtaining a second information indicating a direction of an edge with the geometric partition; obtaining a third information indicating a position of an edge with the geometric partition; obtaining, from uni-prediction, a first predictor for the block of the picture using a first reference picture; obtaining, from uni-prediction, a second predictor for the block of the picture using a second reference picture; obtaining a weighted average of the first predictor and the second predictor; wherein a sample of the weighted average is obtained by applying a first weight to a sample of the first predictor and by applying a second weight to a co-located sample of the second predictor, wherein the first weight and the second weight are responsive to the first information, second information, the third information and to a position of the sample in the block; obtaining a third predictor for the block by shifting and clipping the weighted average; and encoding the block of the picture using the third predictor generated by a geometric partition mode.
14 . The method of claim 13 , wherein the first predictor is obtained for at least a first part of the block; and the second predictor is obtained for at least a second part of the block.
15 . The method of claim 13 , the second information indicating a direction of an edge with the geometric partition is an index coding at least 3 different angles for the edge.
16 . The method of claim 13 , the third information indicating a position of an edge with the geometric partition is an index coding at least 3 different distances from the edge to a reference sample of the block.
17 . The method of claim 13 , wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric partition of the block, wherein a position of the edge is derived from the first information and the second information.
18 . The method of claim 17 , wherein the block of the picture comprises a luma component and two chroma components and wherein the first weight and the second weight further depend on the luma component or chroma component.
19 . An apparatus, comprising:
one or more processors, wherein the one or more processors are configured to:
obtain a first information indicating a splitting of a block of a picture with a geometric partition;
obtain a second information indicating a direction of an edge with the geometric partition;
obtain a third information indicating a position of an edge with the geometric partition;
obtain, from uni-prediction, a first predictor for the block of the picture using a first reference picture;
obtain, from uni-prediction, a second predictor for the block of the picture using a second reference picture;
obtain a weighted average of the first predictor and the second predictor;
wherein a sample of the weighted average is obtained by applying a first weight to a sample of the first predictor and by applying a second weight to a co-located sample of the second predictor, wherein the first weight and the second weight are responsive to the first information, second information, the third information and to a position of the sample in the block;
obtain a third predictor for the block by shifting and clipping the weighted average; and
encode the block of the picture using the third predictor generated by a geometric partition mode.
20 . The apparatus of claim 19 , wherein the first predictor is obtained for at least a first part of the block; and the second predictor is obtained for at least a second part of the block.
21 . The apparatus of claim 19 , the second information indicating a direction of an edge with the geometric partition is an index coding at least 3 different angles for the edge.
22 . The apparatus of claim 19 , the third information indicating a position of an edge with the geometric partition is an index coding at least 3 different distances from the edge to a reference sample of the block.
23 . The apparatus of claim 19 , wherein the first weight and the second weight depend on a distance between the sample and an edge of the geometric partition of the block, wherein a position of the edge is derived from the first information and the second information.
24 . The apparatus of claim 23 , wherein the block of the picture comprises a luma component and two chroma components and wherein the first weight and the second weight further depend on the luma component or chroma component.Join the waitlist — get patent alerts
Track US2023362405A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.