Method and apparatus for video encoding and decoding using bidirectional optical flow adapted to weighted prediction

By adapting bidirectional optical flow processing to incorporate generalized bidirectional prediction weighting, the method addresses inefficiencies in HEVC and VVC, enhancing compression efficiency and simplifying the decoding process.

JP7548908B2Active Publication Date: 2024-09-10INTERDIGITAL VC HOLDINGS INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021536079
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-03-07
Filing Date
2020-01-10
Publication Date
2024-09-10
Estimated Expiration
2040-01-10

AI Technical Summary

Technical Problem

Existing video compression systems, such as HEVC and VVC, face challenges in improving bidirectional prediction efficiency, particularly in handling unequal weights and asymmetric scenarios, leading to suboptimal compression performance.

Method used

Adapting bidirectional optical flow (BIO) processing to incorporate generalized bidirectional prediction (GBI) weighting, allowing for bit-depth shifting and quantification of weights to maintain accuracy while reducing computational complexity.

Benefits of technology

Enhances compression efficiency by improving the precision and accuracy of bidirectional predictions, reducing computational overhead, and simplifying the decoding pipeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548908000030
    Figure 0007548908000030
  • Figure 0007548908000035
    Figure 0007548908000035
  • Figure 0007548908000031
    Figure 0007548908000031
Patent Text Reader

Abstract

[0006] Different implementations, particularly video encoding and decoding implementations, are presented. According to one implementation, in a method for encoding or decoding a portion of an image, at least a bidirectional optical flow equation is modified for unequal weights in a weighted prediction of the portion of the image. According to a non-limiting example, modifying the bidirectional optical flow equation includes bit-depth shifting unequal weights used in the weighted prediction, quantifying unequal weights used in the weighted prediction, or deriving modified weights to apply to the prediction of the portion of the image from the unequal weights used in the weighted prediction.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Technical Field At least one of the present embodiments relates generally to a method or apparatus for encoding or decoding, for example, a portion of an image, and more specifically to a method or apparatus that includes modifying bidirectional optical flow in inter prediction for weighted prediction. [Background technology]

[0002] background The technical field of one or more implementations relates generally to video compression. At least some embodiments relate to improving compression efficiency compared to existing video compression systems such as HEVC (HEVC stands for High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2, described in "ITU-T H.265 Telecommunication standardization sector of ITU (10 / 2014), series H: audiovisual and multimedia systems, infrastructure of audiovisual services - coding of moving video, High efficiency video coding, Recommendation ITU-T H.265") or compared to developing video compression systems such as VVC (Versatile Video Coding, a new standard being developed by JVET (Joint Video Experts Team)).

[0003] To achieve high compression efficiency, image and video coding methods usually employ image partitioning, prediction including motion vector prediction, and transformation to exploit spatial and temporal redundancy in video content. In general, intra- or inter-prediction is used to exploit intra- or inter-frame correlation, and then the difference between the original image and the predicted image (often called prediction error or prediction residual) is transformed into frequency domain coefficients, which are quantized and entropy coded. To reconstruct the image, the compressed data is decoded by inverse processes corresponding to entropy decoding, inverse quantization, inverse transformation, and prediction.

[0004] Figure 1 shows an example flow chart of inter-prediction processing in a codec such as VVC. For example, the Joint Search Model (JEM) developed by the JVET (Joint Visual Experts Team) group and the VVC reference software describe some of the tools involved at each stage of the inter-prediction processing pipeline of Figure 1. In the VVC codec, some extensions of HEVC's bi-prediction have been proposed. At least some embodiments are further related to inter-prediction, among which the following two specific tools are related to bi-prediction: - Generalized Bi-directional Prediction (GBI) or Bi-directional Prediction with CU-level Weights (BCW), where the weighting during the mixing of the two predictions uses unequal weights. - BIO: Bidirectional Optical Flow (also known as BDOF).

[0005] It is desirable to improve the bidirectional prediction syntax and processing in inter-coded blocks compared to existing video compression systems such as HEVC or VVC. Summary of the Invention

[0006] overview It is an object of the present invention to overcome at least one of the drawbacks of the prior art. To this end, according to a general aspect of at least one embodiment, a method for encoding a portion of an image is presented, comprising a sample-wise refinement using bidirectional optical flow, where at least the equations of the bidirectional optical flow are modified for unequal weights in a weighted prediction of the portion of the image.

[0007] According to another general aspect of at least one embodiment, a method for decoding a portion of an image is presented, the method including sample-wise refinement using bidirectional optical flow, where at least the bidirectional optical flow equation is modified for unequal weights in a weighted prediction of the portion of the image.

[0008] According to another general aspect of at least one embodiment, an apparatus for video encoding is presented, the apparatus including means for performing any one of the embodiments of the encoding method.

[0009] According to another general aspect of at least one embodiment, an apparatus for video decoding is presented, the apparatus including means for performing any one of the embodiments of the decoding method.

[0010] According to another general aspect of at least one embodiment, there is provided an apparatus for video encoding, the apparatus including one or more processors and at least one memory, the one or more processors configured to perform any one of the embodiments of the encoding method.

[0011] According to another general aspect of at least one embodiment, there is provided an apparatus for video decoding, the apparatus including one or more processors and at least one memory, the one or more processors configured to perform any one of the embodiments of the decoding method.

[0012] According to another general aspect of at least one embodiment, the weighted prediction is one of generalized bidirectional prediction, bidirectional prediction with coding unit level weights, weighted prediction with image level weights, and weighted bidirectional prediction based on image distance.

[0013] According to another general aspect of at least one embodiment, modifying the at least one bidirectional optical flow equation includes bit-depth shifting unequal weights used in the weighted prediction.

[0014] According to another general aspect of at least one embodiment, modifying the at least one bidirectional optical flow equation includes quantifying unequal weights used in the weighted prediction.

[0015] According to another general aspect of at least one embodiment, modifying the at least one bidirectional optical flow equation includes deriving modified weights to apply to a prediction of a portion of the image from unequal weights used in the weighted prediction.

[0016] According to another general aspect of at least one embodiment, a non-transitory computer-readable medium is presented that includes data content generated by any of the methods or apparatus described above.

[0017] According to another general aspect of at least one embodiment there is provided a signal or bitstream including video data generated by a method or apparatus according to any of the preceding descriptions.

[0018] One or more of the embodiments also provide a computer readable storage medium having instructions stored thereon for performing bidirectional optical flow and encoding or decoding video data according to any of the above methods. The embodiments also provide a computer readable storage medium having a bitstream generated according to the above methods stored thereon. The embodiments also provide a method and apparatus for transmitting a bitstream generated according to the above methods. The embodiments also provide a computer program product including instructions for performing any of the described methods. [Brief description of the drawings]

[0019] BRIEF DESCRIPTION OF THE DRAWINGS [Figure 1] 1 shows an exemplary flowchart of an inter-prediction process in an encoder architecture. [Diagram 2] 1 illustrates an exemplary embodiment of bi-prediction processing in HEVC. [Diagram 3] 1 illustrates an example extended CU region used in BDOF in accordance with certain embodiments. [Figure 4] 1 illustrates an exemplary flowchart for determining a prediction mode compatibility tree in accordance with certain embodiments. [Diagram 5] 4 illustrates an example of an optical flow trajectory in accordance with certain embodiments. [Figure 6] 1 shows a block diagram of an embodiment of a video encoder in which various aspects of the embodiments may be implemented; [Figure 7] 1 shows a block diagram of an embodiment of a video decoder in which various aspects of the embodiments may be implemented. [Figure 8] 1 illustrates a block diagram of an example device in which various aspects of the embodiments may be implemented. [Figure 9] 1 illustrates an example flowchart of bidirectional optical flow processing in inter prediction for weighted prediction in accordance with certain embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] Detailed Description It should be understood that the figures and descriptions have been simplified to show elements important for a clear understanding of the present principles, while omitting for clarity many other elements found in a typical decoding and / or encoding device. Although the terms "first" and "second" may be used herein to describe various elements, it is understood that these elements should not be limited by these terms.

[0021] These terms are only used to distinguish one element from another.

[0022] Various embodiments are described with respect to encoding / decoding an image. The various embodiments may be applied to encode / decode a portion of an image (such as a slice or tile), a group of tiles, or an entire sequence of images.

[0023] Various methods have been described above, each of which includes one or more steps or acts for achieving the described method. Unless a specific order of steps or acts is necessary for the proper operation of the method, the order and / or use of specific steps and / or acts may be modified or combined.

[0024] At least some embodiments relate to introducing weighting into inter-prediction methods, and more specifically, into bidirectional optical flow (BIO).

[0025] In the following, several limitations regarding generalized bidirectional prediction (GBI or BCW) and bidirectional optical flow (BIO or BDOF) are disclosed, generalized embodiments for modified BIO processing are disclosed, several embodiments of modified BIO processing incorporating GBI weighting are disclosed, several embodiments of unified weighting for both GBI and asymmetric bidirectional prediction are disclosed, and additional information and generalized embodiments are disclosed.

[0026] Generalized Bidirectional Prediction (GBI) In HEVC, the averaging of two unidirectional prediction signals for bi-prediction is performed with a precision higher than either the input bit depth or the internal bit depth. Figure 2 shows an exemplary embodiment of bi-prediction processing in HEVC. The bi-prediction formula is shown in Equation 1 below, where offset and shift are parameters used to normalize the final predictor to the input bit depth. P bidir =(P L0 +P L1 +Offset)>>Shift Equation 1 P L0 and P L1 are prediction samples constructed by motion compensation (MC) processing of reference samples of list L0 and list L1 in bi-predictive mode. In addition, to increase the accuracy of sample-based calculations, the sample values ​​are stored with the accuracy of the increased bit depth.

[0027] Typically, the predicted sample P L0 and P L1 is modified by an internal offset: OFFSETINTERNAL and expressed using BITDEPTHINTERNAL. The offset is inferred as follows: OFFSETINTERNAL==(1<<(BITDEPTHINTERNAL-1)) Typically, BITDEPTHINTERNAL=14.

[0028] The final prediction P' expressed in bits of bit depth L0 It is meant to have the following relationship: P' L0 =(P L0 +OFFSETINTERNAL)>>(BITDEPTHINTERNAL-bit depth)

[0029] This gives the following closing prices: shift = (BITDEPTHINTERNAL + 1 - bit depth) and offset=(1<<(shift-1))+OFFSETINTERNAL

[0030] Since there is no rounding in the intermediate stages, the HEVC interpolation filters allow for several implementation optimizations.

[0031] In VVC, multiple weights are used to average two unidirectional predictors (GBI) to obtain bi-prediction. Typically, the weights used are {-1 / 4, 5 / 4}, {3 / 8, 5 / 8} or {1 / 2, 1 / 2} (where {1 / 2, 1 / 2} are the weights used in HEVC), and the bi-prediction formula is modified as shown in Equation 2. Only one weight is used for every block. P bidir =((1-w1)*P L0 +w1*P L1 +Offset)>>Shift Equation 2

[0032] Then the new value is shift = BITDEPTHINTERNAL - bit depth + GbiBd offset=(1<<(shift-1))+OFFSETINTERNAL< <GbiBd where GbiBd is the bit depth of the GBI weights, typically GbiBd=3 as depicted in the example in Table 1. Note that the sum of the Gbi weights (w0+w1) is 1.

[0033] [Table 1]

[0034] Bidirectional Optical Flow The latest developments in VVC (test model VTM-3) include a bidirectional optical flow (BDOF) tool. BDOF (previously referred to as BIO) is a simpler version of BIO that requires much less computation, especially in terms of the number of multiplications and the size of the multipliers, compared to older versions of BIO.

[0035] BDOF is used to refine the bidirectional prediction signal of a CU at the 4×4 sub-block level. BDOF is applied to a CU if the following conditions are satisfied: 1) The height of a CU is not 4, and a CU is not 4x8 in size. 2) the CU is not coded using affine mode or ATMVP merge mode; 3) The CU is coded using a “true” bidirectional predictive mode, i.e., one of the two reference pictures is before the current picture in display order, and the other reference picture is after the current picture in display order.

[0036] BDOF applies only to the luminance component.

[0037] As the name suggests, the BDOF mode is based on the optical flow concept and assumes that the motion of an object is smooth and its intensity is constant along the considered time interval. For each 4×4 sub-block, motion refinement (v x , v y ) is calculated by minimizing the difference between the L0 predicted samples and the L1 predicted samples. Then, motion refinement is used to adjust the bidirectional predicted sample values ​​in the 4x4 sub-block. The following steps are applied in the BDOF processing:

[0038] First, the horizontal and vertical gradients of the two prediction signals

number

number

number

[0039] Next, the gradient auto- and cross-correlations S1, S2, S3, S5 and S6 are calculated as follows:

number

number

number

number

number

[0040] Based on the motion refinement and gradients, the following adjustments are calculated for each sample in the 4x4 sub-block:

number

[0041] Finally, the BDOF samples of the CU are calculated by adjusting the bi-prediction samples as follows: pred BDOF (x,y)=(I (0) (x,y)+I (1) (x,y)+b(x,y)+ο offset )>>Shift formula 3-6

[0042] In the above, n a, n b and

number

[0043] To derive the gradient value, we select some predicted samples I in list k (k=0,1) outside the current CU boundary. (k) (i,j) need to be generated. As depicted in Figure 3, BDOF in VTM-3.0 uses one extended row / column around the boundary of the CU. To control the computational complexity of generating out-of-bounds predicted samples, a bilinear filter is used to generate predicted samples in the extended area (white positions), and a normal 8-tap motion compensation interpolation filter is used to generate predicted samples within the CU (gray positions). These extended sample values ​​are used only in gradient calculation. For the remaining steps in the BDOF process, if any sample values ​​and gradient values ​​outside the CU boundary are needed, they are guessed (i.e., repeated) from the nearest neighbors. Figure 3 shows an example extended CU region used in BDOF.

[0044] Bidirectional Optical Flow (BIO) involves sample-by-sample motion refinement performed on block-wise motion compensation for bidirectional prediction. Sample-level motion refinement does not use signaling. For bidirectional prediction, the goal of BIO is to assume a linear displacement between two reference pictures and refine the motion of each sample based on Hermite interpolation of the optical flow.

[0045] Some limitations of BDOF and GBI In the latest development of VVC (test model VTM-3), three modes (GBI, BDOF and asymmetric bidirectional prediction) are currently exclusive and therefore not always available in all possible coding modes. Figure 4 shows an exemplary flowchart of determining a prediction mode compatibility tree according to the latest development of VVC. In Figure 4, the dashed line indicates when the mode is off, and the solid line indicates when the mode is activated.

[0046] Advantageously, the prediction mode compatibility tree makes coding simpler (reducing mode selection combinations to be explored and reducing the decoding pipeline). In the latest version of VVC, BDOF and GBI are mutually exclusive, and BDOF is only activated for symmetric bidirectional prediction (i.e., when the reference picture is within a frame past and future of the current frame).

[0047] In previous prior art approaches (previous test model versions of VVC), the test model software included weighting of gradient images depending on the POCs of the reference and current pictures to handle the case where the current POC is not centered between POC0 and POC1 (asymmetric bi-prediction as depicted in Figure 5). However, the weighting was not done completely within the BDOF processing, i.e., only spatial gradients were weighted by temporal distance (Equation 3-1).

[0048] Previous prior art approaches have disclosed methods that comply with adaptive weighting for asymmetric bi-prediction, particularly as used in the LDB (Low Delay Bi-Prediction Profile). Therefore, adaptation of BDOF processing to implement asymmetric bi-prediction weighting is desirable. In addition, the test model software of previous prior art approaches included potential GBI and BDOF unification by simply considering the GBI weighting in the final BDOF equations 3-6. Improved GBI and BDOF unification methods are also desirable.

[0049] At least one embodiment of a method for adapting BDOF processing to weighted prediction To address the limitations presented above, at least one embodiment is disclosed that: - Incorporating GBI weighting into BDOF processing taking into account bit-depth constraints. - To unify the weighting of constraints for both GBI constraints and asymmetric bidirectional prediction constraints.

[0050] Thus, at least one embodiment of a method for adapting BDOF to GBI weighting comprises: - Improving BIO+GBI weighting performance due to disclosed offsets / shifts; - Including prediction weighting within the BIO processing without losing the accuracy of the unweighted predictions; - Including prediction weighting in BIO processing instead of predictive sample weighting to maintain maximum accuracy; - Approximating weighting during BIO processing to keep storage bit depth low (via quantization as described in the following embodiments) This makes it possible.

[0051] FIG. 9 shows an exemplary flow chart of bidirectional optical flow processing in inter prediction for weighted prediction according to a particular embodiment. Advantageously, the bidirectional optical flow processing is applied to any inter prediction of the encoding method, the decoding method, the encoder or the decoder. As explained before, the bidirectional optical flow processing includes a sample-wise refinement of the inter prediction, where a correction term b is used to adjust the bidirectional prediction sample value. According to the present principles, the bidirectional optical flow is adapted to weighted prediction, and at least the equation of the bidirectional optical flow is modified for unequal weights in the weighted prediction of the part of the image. According to a non-limiting example, the weighted prediction is one of generalized bidirectional prediction, bidirectional prediction with coding unit level weights, weighted prediction with image level weights, and weighted bidirectional prediction based on image distance. As will be described in detail later, modifying the bidirectional optical flow equation according to various characteristics includes bit-depth shifting the weights used in the weighted prediction, quantifying the weights used in the weighted prediction, or deriving modified weights to apply to the prediction of the part of the image from the weights used in the weighted prediction.

[0052] As shown in FIG. 9 and explained by BDOF Equations 4-x and 5-x, the bidirectional optical flow is a first prediction I (0) and the second prediction I (1) a preliminary step S110 of accessing the weights of the weighted prediction, another preliminary step S120 of accessing the weights of the weighted prediction, and BDOF First prediction I to get (x,y) (0) , Second Prediction I (1) and applying a modified bidirectional optical flow using the weights ω0, ω1 as input.

[0053] At least one first embodiment of the method for adapting BDOF processing to GBi weighting According to a particular variant of the first embodiment, the GBI weighting is simplified: in this variant of the first embodiment, we consider a weighting for the image that comes from an arbitrary weighting of the image, and the GBI weights are normally applied to the image.

[0054] According to a particular variant of the first embodiment, instead of applying weights to the input predictions for the entire BIO processing, only the final equations 3-6 are modified. pred BDOF (x,y)=(2(ω0I (0) (x,y)+ω1I (1) (x,y)) / (ω0+w1)+b(x,y)+ο offset )>>Shift where ω0 and ω1 are GBI weights, typically 3-bit weights.

[0055] Advantageously, to increase accuracy, the equation is rewritten as follows, where ω0, ω1 are the numerators of the GBI (see Table 1): pred BDOF (x,y)=((ω0I (0) (x,y)+ω1I (1) (x,y))+(b(x,y)<<shift2)+ο offset )>>Shift Here, the new value is shift = BITDEPTHINTERNAL - bit depth + GbiBd Shift 2=GbiBd ο offset =((1<<(SHIFT-1))+OFFSETINTERNAL< <GbiBd)+(1<<(シフト2-1)) It is.

[0056] Note that the new offset now incorporates a correction factor for rounding to take into account the BIO correction term final shift.

[0057] Advantageously, to avoid the shift due to shift 2 in the modified equation 3-6, pred BDOF (x,y)=((ω0I(0) (x,y)+ω1I (1) (x,y))+(b(x,y)<<shift2)+ο offset )>>Shift It is.

[0058] This process is further simplified by modifying the calculation of the b correction factor: in fact, the b coefficient is shifted by a shift of 2 (usually shift 2=3).

[0059] From Equation 3-5,

number

number

[0060] Next, v x Coefficients and v y The coefficients are shifted further by (shift 2-1) (because the elimination of the division in equation 3-5 already removed one bit.) Then, the shift operation in equation 3-4 is further adapted as follows:

number

[0061] Therefore, th' BIO can be compared to the original threshold and adapted.

[0062] This embodiment advantageously avoids the division (or shift) in equations 3-5 and reduces the coefficient v x , v y Overall, the complexity is reduced compared to the full GBI and BIO combination and the performance is improved compared to just the simple combination of GBI and BIO at the last step of BIO.

[0063] At least one second embodiment of a method for adapting BIO processing to an asymmetric bidirectional prediction In this at least one second embodiment, the inventors believe that the weighting for an image typically derives from the (asymmetric) temporal distance between images.

[0064] In the original BIO formula, considering the weights for each predicted image leads to the following changes in Equation (3 - x), and the other equations remain the same as those disclosed in "Bi - directional optical flow for future codec" by A. Alshin, E. Alshina in DCC 2016.

[0065] Spatial gradient:

Number

[0066] BIO correction:

Number

[0067] Final weighting by Hermite interpolation:

Number

[0068] In a variant of the at least one second embodiment, a fixed bit depth is maintained with respect to BIO weighting. The BIO processing is adapted by maintaining the same bit depth for internal storage (corresponding to the gradient in Equation 4 - 1). The inventors show the processing of one non - limiting example having a weighting for 1 bit (the weights can take the following two values: 1 or 2).

[0069] In this example, the inventors assume that the weights can only take the values 1 or 2 (optionally with a polarity). The inventors define M=(1<<n)=2.

[0070] Spatial gradient: The formula is modified as follows:

number

[0071] The value of m is calculated as follows: p=min(|ω0|,|ω1|)

number

number

[0072] In the first case (a), the BIO treatment is unchanged compared to the normal treatment.

[0073] In the second case, the spatial gradients are weighted such that the spatial gradient with the minimum weight is half the original spatial gradient, and the spatial gradient with the maximum weight is left unchanged.

[0074] Example: n=1,(M=2),ω0=2,ω1=6

number

[0075] Variations for Weight Calculation The scale factor between the maximum and minimum weights may be quantized. For example, the maximum weight ω c and with a quantization of 2 of the scale factor we get:

number

[0076] For example, for n=1,(M=2),ω0=2,ω1=4 without scale factor quantization, the result is:

number

[0077] With a scale factor of 2, the result is:

number

[0078] Bio correction The biocorrection term is modified as follows:

number

[0079] Since the weights are coded with n=1 bits,

number

[0080] Term (ω0'+ω1) 2 can be any of the following: - If the weight is equal to 4, the division is done using bit shifts, or - 9 (for weights equal to 1 and others equal to 2). In this case, the division is approximated by division by 8 (using bit shifts) and the maximum weight is approximated by a square by 3 (instead of 4).

[0081] example:

number

[0082] Final weighting:

number

[0083] In the final weighting, the weights are modified to use bit-shifting operations instead of division. For equal weights, this process is invariant. We have described the process for one case (the other case is symmetric).

[0084] example:

number

[0085] Additional Embodiments and Information This application describes various aspects, including tools, features, embodiments, models, techniques, and the like. Many of these aspects are described with specificity, but often in a manner that may seem limiting, at least to illustrate individual features. However, this is for clarity in the description and thus does not limit the application or scope of these aspects. Indeed, all of the various aspects may be combined or substituted to provide further aspects. Additionally, aspects may be combined or substituted with aspects described in previous applications.

[0086] The aspects described and contemplated in this application may be implemented in many different forms. Figures 6, 7, and 8 below provide some embodiments, but other embodiments are contemplated, and thus the discussion of Figures 6, 7, and 8 does not limit the scope of implementations. At least one of the aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to transmitting a bitstream that is generated or encoded. These and other aspects may be implemented as a method, an apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having stored thereon a bitstream generated by any of the described methods.

[0087] In this application, the terms "reconstructed" and "decoded" may be used interchangeably, the terms "pixel" and "sample" may be used interchangeably, and the terms "image", "picture" and "frame" may be used interchangeably. Typically, but not necessarily, the term "reconstructed" is used on the encoder side, while "decoded" is used on the decoder side. Various methods are described herein, each of which includes one or more steps or acts for achieving the described method. Insofar as a particular order of steps or acts is not necessary for the proper operation of the method, the order and / or use of specific steps and / or acts may be modified or combined.

[0088] Various methods and other aspects described in the present application may be used to modify modules, such as the motion compensation module (170) and the motion estimation module (175, 275) of the video encoder 100 and decoder 200 as shown in FIGS. 6 and 7. Furthermore, the aspects are not limited to VVC or HEVC and thus may be applied, for example, to other standards and recommendations (whether existing or developed in the future) and extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise indicated or technically precluded, the aspects described in the present application may be used individually or in combination.

[0089] Various numerical values ​​are used in this application: the specific values ​​are for illustrative purposes, and therefore the described aspects are not limited to these specific values.

[0090] 6 illustrates an encoder 100. Although variations of this encoder 100 are contemplated, encoder 100 is described below for clarity without describing all anticipated variations.

[0091] Before being encoded, the video sequence may go through a pre-encoding process (101), such as applying a color transformation (e.g., from RGB 4:4:4 to YCbCr 4:2:0) to the input color picture, or remapping the input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and attached to the bitstream.

[0092] In the encoder 100, a picture is coded by the encoder elements as described below. The picture to be coded is divided (102) and processed, for example, in units of CUs. Each unit is coded, for example, using either intra mode or inter mode. If a unit is coded in intra mode, the encoder 100 performs intra prediction (160). In inter mode, motion estimation (175) and motion compensation (170) are performed. The encoder (105) decides whether to use intra mode or inter mode to code the unit, and indicates the intra / inter decision, for example, by a prediction mode flag. A prediction residual is calculated, for example, by subtracting (110) the prediction block from the source image block.

[0093] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients as well as the motion vectors and other syntax elements are entropy coded (145) to output a bitstream. The encoder may skip this transform and apply quantization directly to the untransformed residual signal. The encoder may bypass both the transform and quantization, i.e., the residual is coded directly without applying a transform or quantization process.

[0094] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (140) and inverse transformed (150) to decode the prediction residual. An image block is reconstructed by combining (155) the decoded prediction residual with the predicted block. An in-loop filter (165) is applied to the reconstructed image, for example to perform deblocking / sample adaptive offset (SAO) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).

[0095] Figure 7 shows a block diagram of a video decoder 200. In the decoder 200, the bitstream is decoded by decoder elements as described below. The video decoder 200 typically performs a reciprocal decoding pass to the encoding pass described in Figure 6. The encoder 100 typically also performs video decoding as part of the encoding of the video data.

[0096] In particular, the decoder input includes a video bitstream, which may be generated by video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors, and other coding information. Picture partition information indicates how the image is partitioned. Thus, the decoder may partition the picture according to the decoded picture partition information (235). The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. An image block is reconstructed by combining (255) the decoded prediction residual with a prediction block. The prediction block may be obtained from intra prediction (260) or motion compensated prediction (or inter prediction) (275) (270). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280). The decoded picture may further go through a post-decoding process (285) (e.g., an inverse color transformation (e.g., from YCbCr 4:2:0 to RGB 4:4:4) or an inverse remapping that reverses the remapping process performed in the pre-encoding process (101)). The post-decoding process may use metadata derived in the pre-encoding process and signaled in the bitstream.

[0097] FIG. 7 illustrates a block diagram of an example system in which various aspects and embodiments may be implemented. System 1000 may be embodied as a device including various components described below and configured to perform one or more of the aspects described herein. Examples of such devices include various electronic devices, such as, but not limited to, personal computers, laptop computers, smartphones, tablet computers, digital multimedia set-top boxes, digital TV receivers, personal video recording systems, Internet appliances, servers, etc. Elements of system 1000 (alone or in combination) may be embodied in a single integrated circuit (IC), multiple ICs, and / or discrete components. For example, in at least one embodiment, the processing elements and encoder / decoder elements of system 1000 are distributed across multiple ICs and / or discrete components. In various embodiments, system 1000 is communicatively coupled to one or more other systems or other electronic devices, for example, via a communication bus or via dedicated input and / or output ports. In various embodiments, system 1000 is configured to perform one or more of the aspects described herein.

[0098] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein to perform various aspects described herein, for example. The processor 1010 may include embedded memory, input / output interfaces, and various other circuitry known in the art. The system 1000 includes at least one memory 1020 (e.g., volatile and / or non-volatile memory devices). The system 1000 includes a storage device 1040, which may include non-volatile and / or volatile memory, including, but not limited to, Electrically Erasable Programmable Read Only Memory (EEPROM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Flash, magnetic disk devices, and / or optical disk drives. The storage device 1040 may include, by way of non-limiting example, an internal storage device, an attached storage device (including removable or non-removable storage devices), and / or a network-accessible storage device.

[0099] The system 1000 includes an encoder / decoder module 1030 configured to process data to provide, for example, encoded or decoded video. The encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a module that may be included in a device to perform encoding and / or decoding functions. As is known, a device may include one or both of an encoding module and a decoding module. Additionally, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated within the processor 1010 as a combination of hardware and software, as is known to those skilled in the art.

[0100] Program code to be loaded into the processor 1010 or the encoder / decoder 1030 to perform various aspects described herein may be stored in the storage device 1040 and then loaded into the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoder / decoder module 1030 may store one or more various items during execution of the processes described herein. Such stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.

[0101] In some embodiments, memory internal to the processor 1010 and / or the encoder / decoder module 1030 is used to store instructions and to provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device may be either the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be the memory 1020 and / or the storage device 1040 (e.g., dynamic volatile memory and / or non-volatile flash memory). In some embodiments, the external non-volatile flash memory is used to store the operating system of the television (for example). In at least one embodiment, a high-speed external dynamic volatile memory such as a RAM is used as working memory for video coding and decoding operations such as MPEG2 (MPEG refers to the Moving Image Experts Group, MPEG2 is also known as ISO / IEC 13818, 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2) or VVC (Generic Video Coding, a new standard being developed by JVET (Joint Video Experts Team)).

[0102] Inputs to the elements of system 1000 may be provided via various input devices as indicated in block 1130. Such input devices include, but are not limited to, (i) a radio frequency (RF) section that receives, for example, an RF signal transmitted wirelessly by a broadcaster, (ii) a component (COMP) input terminal (or a set of COMP input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high definition multimedia interface (HDMI) input terminal. Other examples not shown in FIG. 10 include a composite video signal.

[0103] In various embodiments, the input devices of block 1130 have associated respective input processing elements as known in the art. For example, the RF section may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal or band-limiting a signal to a frequency band), (ii) down-converting the selected signal, (iii) band-limiting again to a narrow band of frequencies to select (for example) a signal frequency band, which in certain embodiments may be referred to as a channel, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired stream of data packets. The RF section of various embodiments includes one or more elements (e.g., a frequency selector, a signal selector, a band-limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer) to perform these functions. The RF section may include, for example, a tuner to perform various of these functions, including down-converting the received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or to baseband. In one set-top box embodiment, the RF section and its associated input processing elements receive RF signals transmitted over a wired (e.g., cable) medium and perform frequency selection by filtering, downconverting, and filtering again to a desired frequency band. Various embodiments rearrange the order of the above (and other) elements, remove some of these elements, and / or add other elements that perform similar or different functions. Adding elements may include inserting elements between existing elements (e.g., inserting amplifiers and analog-to-digital converters, etc.). In various embodiments, the RF section includes an antenna.

[0104] In addition, the USB and / or HDMI terminals may include respective interface processors for connecting the system 1000 to other electronic devices over the USB and / or HDMI connections. It should be understood that various aspects of the input processing (e.g., Reed-Solomon error correction) may be implemented, for example, in a separate input processing IC or in the processor 1010, as desired. Similarly, aspects of the USB or HDMI interface processing may be implemented in a separate interface IC or in the processor 1010, as desired. The demodulated, error corrected, and demultiplexed stream is provided to various processing elements (including, for example, an encoder / decoder 1030 operating in combination with the processor 1010 and memory and storage elements) to process the data stream as desired for presentation on an output device.

[0105] The various elements of system 1000 may be provided within a unified housing, where the various elements may be interconnected and data may be transmitted therebetween using a suitable connection arrangement 1140 (e.g., internal buses known in the art, including Inter-IC (I2C) bus, wires, and printed circuit boards).

[0106] The system 1000 includes a communication interface 1050 that enables communication with other devices over a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to transmit and receive data over the communication channel 1060. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented within a wired and / or wireless medium, for example.

[0107] Data is streamed or otherwise provided to the system 1000 in various embodiments by using a wireless network such as a Wi-Fi network (e.g., IEEE 802.11: IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal in these embodiments is received over a communication channel 1060 and communication interface 1050 adapted for Wi-Fi communication. The communication channel 1060 in these embodiments is typically connected to an access point or router that provides access to external networks, including the Internet, that enable streaming applications and other over-the-top communications. Other embodiments provide stream data to the system 1000 by using a set-top box that delivers data over an HDMI connection of the input block 1130. Still other embodiments provide stream data to the system 1000 by using an RF connection of the input block 1130. As indicated above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use wireless networks other than Wi-Fi (e.g., cellular networks, Bluetooth networks).

[0108] The system 1000 may provide output signals to various output devices including a display 1100, a speaker 1110, and other peripheral devices 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 may be for a television, a tablet, a laptop, a mobile phone, or other device. The display 1100 may also be integrated with other components (e.g., components in a smartphone) or may be separate (e.g., an external monitor for a laptop). The other peripheral devices 1120, in various example embodiments, include one or more of a stand-alone digital video disc (or digital versatile disc) (both referred to as DVR), a disc player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functionality based on the output of the system 1000. For example, a disc player performs the function of playing the output of the system 1000.

[0109] In various embodiments, control signals are communicated between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 by using signaling such as AV.Link, Consumer Electronics Control (CEC), or other communication protocols that allow device-to-device control with or without user intervention. The output devices may be communicatively coupled to the system 1000 through dedicated connections via respective interfaces 1070, 1080, 1090. Alternatively, the output devices may be connected to the system 1000 by using a communication channel 1060 via the communication interface 1050. The display 1100 and speaker 1110 may be incorporated into a single unit with other components of the system 1000 in an electronic device such as, for example, a television. In various embodiments, the display interface 1070 includes a display driver, such as, for example, a timing controller (T Con) chip.

[0110] The display 1100 and speakers 1110 may alternatively be separate from one or more of the other components, for example if the RF portion of the input block 1130 is part of a separate set-top box. In various embodiments where the display 1100 and speakers 1110 are external components, the output signal may be provided via a dedicated output connection including, for example, an HDMI port, a USB port, or a COMP output.

[0111] The embodiments may be performed by the processor 1010 or computer software implemented by hardware or a combination of hardware and software. As a non-limiting example, the embodiments may be realized by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment and may be realized using any suitable data storage technology, such as, as non-limiting examples, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memories and removable memories. The processor 1010 may be of any type suitable for the technical environment and may include, as non-limiting examples, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0112] Various implementations involve decoding. As used herein, "decoding" may encompass all or a portion of the processing performed on a received encoded sequence to generate a final output suitable for display, for example. In various embodiments, such processing includes one or more of the processing typically performed by a decoder (e.g., entropy decoding, inverse quantization, inverse transform, and differential decoding). In various embodiments, such processing also or alternatively includes processing performed by decoders of various implementations described herein (e.g., determining inter prediction, including BIO processing and GBI weighting in asymmetric bi-directional prediction).

[0113] As another example, in one embodiment, "decoding" refers to entropy decoding only, in another embodiment, "decoding" refers to differential decoding only, and in another embodiment, "decoding" refers to a combination of entropy and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or to the broader decoding process in general will become clear in conjunction with the specific description and is therefore believed to be well understood by those skilled in the art.

[0114] Various implementations involve encoding. Similar to the above discussion of "decoding," "encoding" as used herein may encompass all or a portion of the processing performed, for example, on an input video sequence to generate an encoded bitstream. In various embodiments, such processing includes one or more of the processing typically performed by an encoder (e.g., partitioning, differential encoding, transforming, quantizing, and entropy encoding). In various embodiments, such processing also or alternatively includes processing performed by encoders of various implementations described herein (e.g., determining inter prediction, including BIO processing and GBI weighting in asymmetric bidirectional prediction).

[0115] As another example, in one embodiment, "encoding" refers to entropy encoding only, in another embodiment, "encoding" refers to differential encoding only, and in another embodiment, "encoding" refers to a combination of differential and entropy encoding. Whether the phrase "encoding process" is intended to refer to a subset of operations in particular or to the broader encoding process in general will become clear in conjunction with the specific description and is therefore believed to be well understood by one of ordinary skill in the art.

[0116] It should be noted that the syntax elements used herein are descriptive terms, and therefore do not preclude the use of other syntax element names.

[0117] Where a figure is presented as a flow diagram, it should be understood that the figure also provides a block diagram of the corresponding apparatus. Similarly, where a figure is presented as a block diagram, it should be understood that the figure also provides a flow diagram of the corresponding method / process.

[0118] Implementations and aspects described herein may be embodied in, for example, a method or process, an apparatus, a software program, a data stream, or a signal. Even if discussed in connection with only one type of implementation (e.g., discussed only as a method), the implementation of the discussed features may also be embodied in other forms (e.g., an apparatus or a program). An apparatus may be implemented in, for example, appropriate hardware, software, and firmware. The method may be implemented in, for example, a processor, which refers to, for example, a processing device in general (including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device). Processors also include, for example, communication devices such as computers, mobile phones, portable / personal digital assistants (PDAs), and other devices that facilitate the transfer of information between end users.

[0119] References to "one embodiment," or "embodiment," or "one implementation," or "implementation" and other variations mean that a particular feature, structure, or characteristic, etc. described in connection with an embodiment is included in at least one embodiment. Thus, appearances of the phrases "in one embodiment," or "in an embodiment," or "in one implementation," or "in an implementation" and any other variations appearing in various places throughout this application are not necessarily all referring to the same embodiment.

[0120] Additionally, the application may refer to "determining" various information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from memory.

[0121] Additionally, the application may refer to "accessing" various information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, replicating information, computing information, determining information, predicting information, or estimating information.

[0122] In addition, the application may refer to "receiving" various information. Receiving is intended to be broad, similar to "accessing." Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, "receiving" typically involves in some way an operation, such as, for example, storing information, processing information, transmitting information, moving information, replicating information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0123] For example, the use of any of " / ", "and / or" and "at least one" in the cases of "A / B", "A and / or B" and "at least one of A and B" should be understood to be intended to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of both alternatives (A and B). As another example, in the case of "A, B and / or C" and "at least one of A, B and C", such phrases are intended to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of only the third listed alternative (C), or the selection of only the first and second listed alternatives (A and B), or the selection of only the first and third listed alternatives (A and C), or the selection of only the second and third listed alternatives (B and C), or the selection of all three alternatives (A, and B, and C). This may be extended to as many items as are listed, as would be apparent to one of ordinary skill in this and related arts.

[0124] Also, as used herein, the word "signal" refers to, among other things, instructing a corresponding decoder. For example, in a particular embodiment, an encoder signals a particular one of a plurality of parameters (e.g., the bit depth to be considered when shifting) to enable weighting in the inter-prediction process. In this way, in one embodiment, the same parameters are used at both the encoder side and the decoder side. Thus, for example, the encoder may transmit a particular parameter to the decoder so that the decoder may use the same parameter (explicit signaling). Conversely, if the decoder already has a particular parameter and also other parameters, signaling may be used to allow the decoder to easily know and select the particular parameter without transmitting it (implicit signaling). By avoiding transmitting any actual function, bit savings are realized in various embodiments. It should be recognized that signaling may be achieved in various ways. For example, one or more syntax elements, flags, etc. are used to signal information to a corresponding decoder in various embodiments. Although the above relates to the verb form of the word "signal," the word "signal" may also be used herein as a noun.

[0125] As will be apparent to one skilled in the art, implementations may generate a variety of signals formatted to carry information that may be, for example, stored or transmitted. The information may include, for example, instructions for performing a method or data generated by one of the described embodiments. For example, a signal may be formatted to carry a bit stream of the described embodiments. Such a signal may be formatted, for example, as an electromagnetic wave (e.g., using a high frequency portion of the spectrum) or as a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier wave with the encoded data stream. The information the signal carries may be, for example, analog or digital information. The signal may be transmitted over a variety of wired or wireless links, as is known. The signal may be stored on a processor-readable medium.

[0126] The inventors have described a number of embodiments. The features of these embodiments may be provided alone or in any combination across various claim categories and types. Furthermore, the embodiments may include one or more of the following features, devices or aspects alone or in any combination across various claim categories and types. Modifying the inter prediction process allowing weighting of parameters applied at the decoder and / or at the encoder. Modifying the bidirectional optical flow in the inter prediction process for adaptation to the generalized bidirectional prediction weights applied at the decoder and / or encoder. · Enabling bit depth shifting in modified bidirectional optical flow at the decoder and / or encoder. To be able to approximate / quantify the weightings in the modified bidirectional optical flow at the decoder and / or encoder. Using prediction weights instead of prediction sample weights in a modified bidirectional optical flow in the decoder and / or encoder. Modifying and / or unifying weightings for both GBI and asymmetric bidirectional prediction in the inter prediction process applied in the decoder and / or encoder. Inserting a signaling syntax element that allows the decoder to identify the weightings in the modified inter prediction method to be used. Selecting the modified inter prediction method to be applied at the decoder based on these syntax elements. A bitstream or signal comprising one or more of the described syntax elements or variations thereof. A bitstream or signal including syntax carrying information generated according to any of the described embodiments. Inserting signaling syntax elements that allow the decoder to modify the inter prediction method in a manner that corresponds to the one used by the encoder. · Generating, and / or transmitting, and / or receiving, and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variations thereof. · generating and / or transmitting and / or receiving and / or decoding according to any of the described embodiments. · A method, process, apparatus, medium for storing instructions, medium for storing data or signals according to any of the embodiments described. A television, set-top box, mobile phone, tablet or other electronic device performing the adaptation of the inter-prediction method according to any of the described embodiments. A television, set-top box, mobile phone, tablet or other electronic device that performs the adaptation of the inter-prediction method according to any of the described embodiments and displays the resulting images (e.g., using a monitor, screen or other type of display). A television, set-top box, mobile phone, tablet or other electronic device that selects a channel (e.g. by using a tuner) to receive a signal containing encoded images according to any of the described embodiments and that performs an adaptation of the inter prediction method. A television, set-top box, mobile phone, tablet or other electronic device receiving wirelessly (e.g. by using an antenna) a signal containing encoded images according to any of the described embodiments and performing an adaptation of the inter prediction method. [Appendix 1] 1. A method for encoding a portion of an image, comprising the steps of: Sample-wise refinement using bidirectional optical flow (S130) wherein at least the bidirectional optical flow equation is modified for unequal weights in weighted prediction of the portion of the image. [Appendix 2] 1. A method for decoding a portion of an image, comprising the steps of: Sample-wise refinement using bidirectional optical flow (S130) wherein at least the bidirectional optical flow equation is modified for unequal weights in weighted prediction of the portion of the image. [Appendix 3] 1. An apparatus for encoding a portion of an image, comprising: one or more processors configured to perform sample-wise refinement using bidirectional optical flow; wherein at least the bidirectional optical flow equations are modified for unequal weights in weighted prediction of the portion of the image. [Appendix 4] 1. An apparatus for decoding a portion of an image, comprising: one or more processors configured to perform sample-wise refinement using bidirectional optical flow; wherein at least the bidirectional optical flow equations are modified for unequal weights in weighted prediction of the portion of the image. [Appendix 5] 5. The method of claim 1 or 2 or the apparatus of claim 3 or 4, wherein the weighted prediction is one of generalized bidirectional prediction, bidirectional prediction with coding unit level weights, weighted prediction with image level weights, and weighted bidirectional prediction based on image distance. [Appendix 6] 6. The method of claim 1, 2 or 5 or the apparatus of claim 3, wherein modifying the at least one bidirectional optical flow equation comprises bit-depth shifting the unequal weights used in the weighted prediction. [Appendix 7] 7. The method of claim 1, 2, or 5 or 6, or the apparatus of claim 3, wherein modifying the at least one bidirectional optical flow equation comprises quantifying the unequal weights used in the weighted prediction. [Appendix 8] 8. The method of claim 1, 2 or 5-7 or the apparatus of claim 3-7, wherein modifying the at least one bidirectional optical flow equation comprises deriving modified weights to apply to predicting the portion of the image from the unequal weights used in weighted prediction. [Appendix 9] 9. A computer program product comprising computing instructions for performing a method according to any one of claims 1, 2 or 5-8, when executed by one or more processors. [Appendix 10] A non-transitory computer-readable medium having stored thereon instructions for, when executed by one or more processors, to perform a method according to any one of claims 1, 2 or 5-8. [Appendix 11] 1. A signal comprising an encoded portion of an image formed by sample-wise refinement using bidirectional optical flow, wherein at least the bidirectional optical flow equations are modified for unequal weights in a weighted prediction of the portion of the image. [Appendix 12] A non-transitory computer readable medium comprising data content generated by the apparatus of any one of Supplementary Notes 3-8 or the method of any one of Supplementary Notes 1, 2 or 4-8 for reproduction using a processor.

Claims

1. performing sample-wise motion refinement using bidirectional optical flow of block-wise motion compensated prediction of at least a part of an image, the block-wise motion compensated prediction being bidirectional; the bidirectional optical flow including bit-depth shifting unequal weights used in the bidirectional prediction of the at least part of the image; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The method includes:

2. The method of claim 1 , wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

3. The method of claim 1 or 2, wherein the bidirectional optical flow comprises quantifying the unequal weights used in the bidirectional prediction.

4. 4. The method of claim 1, wherein the bidirectional optical flow comprises deriving modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

5. 1. An apparatus including a memory and one or more processors, the one or more processors comprising: performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including bit-depth shifting unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The apparatus is configured to:

6. 6. The apparatus of claim 5, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

7. The apparatus of claim 5 or 6, wherein the bidirectional optical flow comprises a quantification of the unequal weights used in the bidirectional prediction.

8. 8. The apparatus of claim 5, wherein the bidirectional optical flow comprises derivation of modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

9. A non-transitory computer-readable medium that, when executed by one or more processors, performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including bit-depth shifting unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; A non-transitory computer-readable medium having stored thereon instructions to perform the steps of:

10. 10. The non-transitory computer-readable medium of claim 9, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with image level weights, and bi-prediction with weights based on image distance.

11. 11. The non-transitory computer-readable medium of claim 9 or 10, wherein the bidirectional optical flow includes a quantification of the unequal weights used in the bidirectional prediction.

12. 12. The non-transitory computer-readable medium of claim 9, wherein the bidirectional optical flow includes derivation of modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

13. performing sample-wise motion refinement using bidirectional optical flow of block-wise motion compensated prediction of at least a part of an image, the block-wise motion compensated prediction being bidirectional; the bidirectional optical flow including a quantification of unequal weights used in bidirectional prediction of the block-based motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The method includes:

14. 14. The method of claim 13, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

15. The method of claim 13 or 14, wherein the bi-directional optical flow comprises bit-depth shifting the unequal weights used in the bi-directional prediction.

16. 16. The method of claim 13, wherein the bidirectional optical flow comprises deriving modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

17. 1. An apparatus including a memory and one or more processors, the one or more processors comprising: performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including a quantification of unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The apparatus is configured to:

18. 20. The apparatus of claim 17, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

19. 19. The apparatus of claim 17 or 18, wherein the bi-directional optical flow comprises the unequal weighted bit depth shift used in the bi-directional prediction.

20. 20. The apparatus of claim 17, wherein the bidirectional optical flow comprises derivation of modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

21. A non-transitory computer-readable medium that, when executed by one or more processors, performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including a quantification of unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; A non-transitory computer-readable medium having stored thereon instructions to perform the steps of:

22. 22. The non-transitory computer-readable medium of claim 21, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

23. 23. The non-transitory computer-readable medium of claim 21 or 22, wherein the bi-directional optical flow includes the unequal weighted bit depth shift used in the bi-directional prediction.

24. 24. The non-transitory computer-readable medium of claim 21, wherein the bidirectional optical flow includes derivation of modified weights to apply to the block-wise motion compensated prediction of the portion of the image from the unequal weights used in the bidirectional prediction.

25. performing sample-wise motion refinement using bidirectional optical flow of block-wise motion compensated prediction of at least a part of an image, the block-wise motion compensated prediction being bidirectional; the bidirectional optical flow includes deriving modified weights to apply to the block-wise motion compensated prediction of the portion of the image from unequal weights used in the bidirectional prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The method includes:

26. 26. The method of claim 25, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

27. 27. The method of claim 25 or 26, wherein the bi-directional optical flow comprises bit-depth shifting the unequal weights used in the bi-directional prediction.

28. The method of any one of claims 25 to 27, wherein the bidirectional optical flow comprises quantifying the unequal weights used in the bidirectional prediction.

29. 1. An apparatus including a memory and one or more processors, the one or more processors comprising: performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including deriving modified weights to apply to the block-wise motion compensated prediction of the portion of the image from unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; The apparatus is configured to:

30. 30. The apparatus of claim 29, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

31. 31. The apparatus of claim 29 or 30, wherein the bi-directional optical flow comprises the unequal weighted bit depth shift used in the bi-directional prediction.

32. An apparatus according to any one of claims 29 to 31, wherein the bidirectional optical flow comprises a quantification of the unequal weights used in the bidirectional prediction.

33. A non-transitory computer-readable medium that, when executed by one or more processors, performing sample-wise motion refinement using bidirectional optical flow of a block-wise motion compensated prediction of at least a portion of an image, the bidirectional optical flow including deriving modified weights to apply to the block-wise motion compensated prediction of the portion of the image from unequal weights used in bidirectional prediction of the block-wise motion compensated prediction; encoding or decoding at least a portion of the image using sample-wise motion refinement prediction; A non-transitory computer-readable medium having stored thereon instructions to perform the steps of:

34. 34. The non-transitory computer-readable medium of claim 33, wherein the bi-prediction using unequal weights is one of generalized bi-prediction, bi-prediction with coding unit level weights, bi-prediction with picture level weights, and bi-prediction with weights based on picture distance.

35. 35. The non-transitory computer-readable medium of claim 33 or 34, wherein the bi-directional optical flow includes the unequal weighted bit depth shift used in the bi-directional prediction.

36. The non-transitory computer-readable medium of any one of claims 33 to 35, wherein the bidirectional optical flow includes a quantification of the unequal weights used in the bidirectional prediction.

Citation Information

Patent Citations

  • Moving image decoding device, moving image encoding device, and prediction image generation device

    WO2017134957A1

  • Systems and methods for generalized multi-hypothesis prediction for video coding

    WO2017197146A1

  • Bi-prediction for video coding

    WO2020069076A1

  • Interpolation for inter prediction with refinement

    WO2020094000A1