Systems, apparatus, and methods for inter-frame prediction refinement using optical flow.
By refining inter-frame prediction in video coding using an optical flow model, the problem of low efficiency in motion compensation prediction in existing technologies is solved, achieving more efficient video coding, especially under conditions of rapid changes in illumination.
Patent Information
- Application Number
- CN202210198830.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-15
- Filing Date
- 2020-02-04
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-02-04
AI Technical Summary
Existing block-based video coding techniques suffer from low efficiency in motion compensation prediction when handling inter-frame prediction, especially when illumination changes rapidly, making it difficult for existing techniques to effectively reduce temporal redundancy.
An inter-frame prediction refinement technique based on optical flow is adopted, which refines the motion vector of each sample through an optical flow model. Combined with generalized dual prediction and affine motion compensation prediction, the accuracy and efficiency of motion prediction are improved.
It improves the efficiency of video coding, reduces time redundancy, and enhances the accuracy of motion compensation prediction, especially in situations with rapid changes in illumination, while maintaining coding quality.
Smart Images

Figure CN114666582B_ABST
Abstract
Description
[0001] This application is a divisional application of the following application: Chinese Patent Application No. 202080012137.2, entitled “System, Device and Method for Inter-Frame Prediction Refinement Utilizing Optical Flow”, filed on February 4, 2020, the contents of which are incorporated herein by reference.
[0002] Cross-references
[0003] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 802,428 filed on February 7, 2019, U.S. Provisional Patent Application No. 62 / 814,611 filed on March 6, 2019, and U.S. Provisional Patent Application No. 62 / 883,999 filed on April 15, 2019, the contents of each of which are incorporated herein by reference. Technical Field
[0004] The present application relates to video coding, and in particular, to systems, apparatus and methods using inter-frame prediction refinement using optical flow.
[0005] Related fields
[0006] Video coding systems are widely used to compress digital video signals to reduce the storage and / or transmission bandwidth of such signals. Among various types of video coding systems, such as block-based systems, wavelet-based systems, and object-based systems, block-based hybrid video coding systems are the most widely used and deployed today. Examples of block-based video coding systems include a variety of international video coding standards, such as MPEG1 / 2 / 4 Part 2, H.264 / MPEG-4 Part 10 AVC, VC-1, and the latest video coding standard called High Efficiency Video Coding (HEVC), which was developed by ITU-T / SG16 / Q.6 / VCEG and JCT-VC (Joint Collaboration on Video Coding) of ISO / IEC / MPEG. Summary of the invention
[0007] In a representative embodiment, a decoding method includes: obtaining a sub-block-based motion prediction signal of a current block of a video; obtaining one or more spatial gradients or one or more motion vector differences of the sub-block-based motion prediction signal; obtaining a refinement signal of the current block based on the one or more obtained spatial gradients or the one or more obtained motion vector differences; obtaining a refined motion prediction signal of the current block based on the sub-block-based motion prediction signal and the refinement signal; and decoding the current block based on the refined motion prediction signal. Various other embodiments are also disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] A more detailed understanding can be obtained from the following detailed description given by way of example in conjunction with the accompanying drawings. The drawings in the specification are examples. Therefore, the drawings and detailed description should not be considered limiting, and other equivalent examples are feasible and possible. In addition, the same reference numerals in the drawings indicate the same elements, and among them:
[0009] Figure 1 is a block diagram illustrating a representative block-based video encoding system;
[0010] Figure 2 is a block diagram illustrating a representative block-based video decoder;
[0011] Figure 3 is a block diagram showing a representative block-based video encoder with generalized bi-prediction (GBi) support;
[0012] Figure 4 is a schematic diagram showing a representative GBi module for an encoder;
[0013] Figure 5 is a schematic diagram showing a representative block-based video decoder with GBi support;
[0014] Figure 6 is a schematic diagram showing a representative GBi module for a decoder;
[0015] Figure 7 is a schematic diagram showing a representative bidirectional optical flow;
[0016] Fig. 8A and 8B is a schematic diagram showing a representative four-parameter affine pattern;
[0017] Fig. 9 is a schematic diagram showing a representative six-parameter affine pattern;
[0018] Fig.10 is a schematic diagram showing a representative interleaved prediction process;
[0019] Fig.11 is a schematic diagram showing representative weight values (eg, associated with pixels) in a sub-block;
[0020] Fig.12 is a schematic diagram showing some areas in which interlaced prediction is applied and other areas in which the interlaced prediction is not applied;
[0021] Fig.13A and 13B is a schematic diagram showing the SbTMVP process;
[0022] Fig.14 is a schematic diagram showing adjacent motion blocks (eg, 4×4 motion blocks) that can be used for motion parameter derivation;
[0023] Fig.15 is a schematic diagram showing adjacent motion blocks that can be used for motion parameter derivation;
[0024] Fig.16 is a schematic diagram showing the difference Δv(,j) between the sub-block MV and the pixel-level MV after sub-block-based affine motion compensation prediction;
[0025] Fig.17A is a schematic diagram showing a representative process of determining the MV corresponding to the actual center of the sub-block;
[0026] Fig. 17B is a schematic diagram showing the positions of chroma samples in a 4:2:0 chroma format;
[0027] Fig. 17C is a schematic diagram showing an extended prediction sub-block;
[0028] Fig.18A is a flowchart illustrating a first representative encoding / decoding method;
[0029] Fig.18B is a flowchart illustrating a second representative encoding / decoding method;
[0030] Fig.19 is a flowchart illustrating a third representative encoding / decoding method;
[0031] Fig. 20 is a flowchart illustrating a fourth representative encoding / decoding method;
[0032] Fig.21 is a flowchart illustrating a fifth representative encoding / decoding method;
[0033] Fig. 22 is a flowchart illustrating a sixth representative encoding / decoding method;
[0034] Fig.23 is a flowchart illustrating a seventh representative encoding / decoding method;
[0035] Fig.24 is a flowchart illustrating an eighth representative encoding / decoding method;
[0036] Fig.25 is a flow chart showing a representative gradient calculation method;
[0037] Fig.26 is a flowchart illustrating a ninth representative encoding / decoding method;
[0038] Fig. 27 is a flowchart illustrating a tenth representative encoding / decoding method;
[0039] Fig.28 is a flowchart illustrating an eleventh representative encoding / decoding method;
[0040] Fig.29 is a flow chart illustrating a representative encoding method;
[0041] Fig.30 is a flowchart illustrating another representative encoding method;
[0042] Fig.31 is a flowchart illustrating a twelfth representative encoding / decoding method;
[0043] Fig.32 is a flowchart illustrating a thirteenth representative encoding / decoding method;
[0044] Fig.33 is a flowchart illustrating a fourteenth representative encoding / decoding method;
[0045] Fig.34A is a system diagram illustrating an exemplary communication system in which one or more disclosed embodiments may be implemented;
[0046] Fig.34B is a diagram showing that according to an embodiment, Fig.34A A system diagram of an exemplary wireless transmit / receive unit (WTRU) for use within a communication system is shown;
[0047] Fig.34C is a diagram showing that according to an embodiment, Fig.34A a system diagram of an exemplary radio access network (RAN) and an exemplary core network (CN) used within the communication system shown; and
[0048] Fig.34D is a diagram showing that according to an embodiment, Fig.34A A system diagram of another exemplary RAN and another exemplary CN used within the communication system shown. DETAILED DESCRIPTION
[0049] Block-based hybrid video coding process
[0050] Similar to HEVC, VVC is built on a block-based hybrid video coding framework.
[0051] Figure 1 is a block diagram illustrating a general block-based hybrid video coding system.
[0052] refer to Figure 1 , the encoder 100 may be provided with an input video signal 102 that is processed block by block (referred to as a coding unit (CU)), and may be used to efficiently compress high-resolution (1080p and above) video signals. In HEVC, a CU may be up to 64×64 pixels. A CU may be further partitioned into prediction units or PUs, to which a separate prediction process may be applied. For each input video block (MB and / or CU), spatial prediction 160 and / or temporal prediction 162 may be performed. Spatial prediction (or "intra-frame prediction") may use pixels from already encoded neighboring blocks in the same video picture / slice to predict the current video block.
[0053] Spatial prediction can reduce spatial redundancy inherent in video signals. Temporal prediction (also known as "inter-frame prediction" or "motion compensated prediction") uses pixels from an already encoded video picture to predict a current video block. Temporal prediction can reduce temporal redundancy inherent in video signals. The temporal prediction signal for a given video block can (e.g., typically can) be signaled by one or more motion vectors (MVs), which can indicate the amount and / or direction of motion between a current block (CU) and its reference blocks.
[0054] If multiple reference pictures are supported (as is the case for recent video coding standards such as H.264 / AVC or HEVC), for each video block, its reference picture index may be sent (e.g., may be sent in addition); and / or the reference index may be used to identify which reference picture in the reference picture store 164 the temporal prediction signal comes from. After spatial and / or temporal prediction, a mode decision block 180 in the encoder 100 may select the best prediction mode, for example based on a rate-distortion optimization method / process. A prediction block from spatial prediction 160 or temporal prediction 162 may be subtracted from the current video block 116; and / or the prediction residual may be decorrelated using a transform 104 and quantized 106 to achieve a target bitrate. The quantized residual coefficients may be inverse quantized 110 and inverse transformed 112 to form a reconstructed residual, which may be added back to the prediction block at 126 to form a reconstructed video block. In addition, in-loop filtering 166, such as a deblocking filter and an adaptive loop filter, may be applied to the reconstructed video block before it is placed in a reference picture store 164 and may be used to encode future video blocks. To form the output video bitstream 120, the coding mode (inter or intra), prediction mode information, motion information, and quantized residual coefficients may be sent (e.g., all) to the entropy coding unit 108 for further compression and / or packing to form the bitstream.
[0055] The encoder 100 can be implemented using a processor, memory, and transmitter that provide the various elements / modules / units described above. For example, those skilled in the art will appreciate that: (1) the transmitter can send the bitstream 120 to a decoder; and (2) the processor can be configured to execute software to enable receiving the input video 102 and performing the functions associated with the various blocks of the encoder 100.
[0056] Figure 2 is a block diagram illustrating a block-based video decoder.
[0057] refer to Figure 2 , the video decoder 200 may be provided with a video bitstream 202, which may be unpacked and entropy decoded at an entropy decoding unit 208. The coding mode and prediction information may be sent to an appropriate one of a spatial prediction unit 260 (for intra-coding mode) and / or a temporal prediction unit 262 (for inter-coding mode) to form a prediction block. The residual transform coefficients may be sent to an inverse quantization unit 210 and an inverse transform unit 212 to reconstruct the residual block. The reconstructed block may be further subjected to an in-loop filter 266 before being stored in a reference picture store 264. In addition to being stored in the reference picture store 264 for predicting future video blocks, the reconstructed video 220 may be sent out, for example, to drive a display device.
[0058] The decoder 200 can be implemented using a processor, a memory, and a receiver, which can provide various elements / modules / units disclosed above. For example, those skilled in the art understand that: (1) the receiver can be configured to receive a bitstream 202; and (2) the processor can be configured to execute software to enable receiving the bitstream 202 and outputting the reconstructed video 220 and performing functions associated with various blocks of the decoder 200.
[0059] Those skilled in the art will appreciate that many functions / operations / processes of a block-based encoder and a block-based decoder are the same.
[0060] In modern video codecs, bidirectional motion compensated prediction (MCP) can be used to efficiently remove temporal redundancy by exploiting temporal correlation between pictures. A bi-prediction signal can be formed by combining two uni-prediction signals using a weight value equal to 0.5, which may not be optimal for combining uni-prediction signals, especially under some conditions where the luminance changes rapidly from one reference picture to another. Certain prediction techniques / operations and / or processes can be implemented to compensate for luminance changes over time by applying some global / local weights and / or offset values to sample values in a reference picture (e.g., some or each of the sample values in a reference picture).
[0061] The use of bidirectional motion compensated prediction (MCP) in video codecs enables the removal of temporal redundancy by exploiting temporal correlations between pictures. A bi-prediction signal can be formed by combining two single prediction signals using a weight value (e.g., 0.5). In some videos, illumination characteristics can change rapidly from one reference picture to another. Therefore, prediction techniques can compensate for changes in illumination over time (e.g., fading transitions) by applying global or local weights and / or offset values to one or more sample values in a reference picture.
[0062] Generalized bi-prediction (GBi) can improve the MCP of bi-prediction mode. In bi-prediction mode, the prediction signal at sample x can be calculated as follows:
[0063] P[x]=w0*P0[x+v0]+w1*P1[x+v1] (1)
[0064] In the above equation, P[x] may represent the resulting prediction signal of sample x at position x of the picture. Pi[x+vi] may be a motion compensated prediction signal of x using motion vector (MV) vi of the i-th list (e.g., list 0, list 1, etc.). w0 and w1 may be two weight values shared between samples in a block (e.g., between all samples). Based on the equation, various prediction signals may be obtained by adjusting the weight values w0 and w1. Some configurations of w0 and w1 may mean the same prediction as single prediction and dual prediction. For example, (w0, w1) = (0, 1) may be used for single prediction using reference list L0. (w0, w1) = (0, 1) may be used for single prediction using reference list L1. (w0, w1) = (0.5, 0.5) may be used for dual prediction using two reference lists. The weight may be signaled for each CU. In order to reduce signaling overhead, a constraint may be applied, such as w0 + w1 = 1, so that one weight may be signaled. Therefore, Equation 1 can be further simplified as set forth in Equation 2 below:
[0065] P[x]=(1-w1)*P0[x+v0]+w1*P1[x+v1] (2)
[0066] To further reduce weight signaling overhead, w1 may be discretized (eg, -2 / 8, 2 / 8, 3 / 8, 4 / 8, 5 / 8, 6 / 8, 10 / 8, etc.) Each weight value may then be indicated by an index value within a (eg, small) limited range.
[0067] Figure 3 is a block diagram illustrating a representative block-based video encoder with GBi support.
[0068] The encoder 300 may include a mode decision module 304, a spatial prediction module 306, a motion prediction module 308, a transform module 310, a quantization module 312, an inverse quantization module 316, an inverse transform module 318, a loop filter 320, a reference picture repository 322, and an entropy coding module 314. Some or all of the modules or components of the encoder (e.g., the spatial prediction module 306) may be combined with Figure 1 The spatial prediction module 306 and the motion prediction module 308 may be the same or similar to those described above. In addition, the spatial prediction module 306 and the motion prediction module 308 may be pixel domain prediction modules. Therefore, the input video bitstream 302 may be processed in a similar manner to the input video bitstream 102, although the motion prediction module 308 may also include GBi support. Therefore, the motion prediction module 308 may combine two separate prediction signals in a weighted average manner. In addition, a selected weight index may be signaled in the output video bitstream 324.
[0069] The encoder 300 can be implemented using a processor, memory, and transmitter that provide the various elements / modules / units described above. For example, those skilled in the art will appreciate that: (1) the transmitter can send a bitstream 324 to a decoder; and (2) the processor can be configured to execute software to enable receiving an input video 302 and performing functions associated with the various blocks of the encoder 300.
[0070] Figure 4is a schematic diagram showing a representative GBi estimation module 400 that can be employed in a motion prediction module of an encoder, such as the motion prediction module 308. The GBi estimation module 400 may include a weight value estimation module 402 and a motion estimation module 404. In this way, the GBi estimation module 400 may utilize a process (e.g., a two-step operation / process) to generate an inter-frame prediction signal, such as a final inter-frame prediction signal. The motion estimation module 404 may use an input video block 401 and one or more reference pictures received from a reference picture repository 406 and perform motion estimation by searching for two best motion vectors (MVs) pointing to (e.g., two) reference blocks. The weight value estimation module 402 may receive: (1) the output of the motion estimation module 404 (e.g., motion vectors v0 and v1), one or more reference pictures from the reference picture repository 406, and weight information W, and may search for an optimal weight index to minimize a weighted bi-prediction error between a current video block and a bi-prediction. It is contemplated that the weight information W may describe a list of available weight values or a set of weights, such that the determined weight index and the weight information W may be used together to specify the weights w0 and w1 used in GBi. The prediction signal of the generalized bi-prediction may be calculated as a weighted average of the two prediction blocks. The output of the GBi estimation module 400 may include an inter-frame prediction signal, motion vectors v0 and v1, and / or a weight index weight_idx, etc.).
[0071] Figure 5 5 is a schematic diagram showing a representative block-based video decoder with GBi support, which can decode a GBi-supported bitstream 502 (e.g., a bitstream from an encoder), such as a bitstream generated by a combination of Figure 3 The encoder 300 described above generates a bit stream 324. Figure 5 As shown, the video decoder 500 may include an entropy decoder 504, a spatial prediction module 506, a motion prediction module 508, a reference picture repository 510, an inverse quantization module 512, an inverse transform module 514, and / or a loop filter module 518. Some or all of the modules of the decoder may be combined with Figure 2 The same or similar to those described above, although the motion prediction module 508 may also include GBi support. As such, the coding mode and prediction information are used to derive a prediction signal by using spatial prediction or MCP supported by GBi. For GBi, the block motion information and weight values (e.g., in the form of an index indicating the weight values) may be received and decoded to generate the prediction block.
[0072] The decoder 500 can be implemented using a processor, a memory, and a receiver, which can provide various elements / modules / units disclosed above. For example, those skilled in the art understand that: (1) the receiver can be configured to receive a bitstream 502; and (2) the processor can be configured to execute software to enable receiving the bitstream 502 and outputting a reconstructed video 520 and performing functions associated with various blocks of the decoder 500.
[0073] Figure 6 is a schematic diagram illustrating a representative GBi prediction module that may be employed in a motion prediction module (eg, motion prediction module 508) of a decoder.
[0074] Reference Figure 6 , the GBi prediction module may include a weighted average module 602 and a motion compensation module 604, which may receive one or more reference pictures from a reference picture repository 606. The weighted average module 602 may receive the output of the motion compensation module 604, weight information W, and a weight index (e.g., weight_idx). The output of the motion compensation module 604 may include motion information of a block that may correspond to the picture. The GBi prediction module 600 may use the block motion information and weight values to calculate a prediction signal (e.g., an inter-frame prediction signal 608) of GBi as a weighted average of (e.g., two) motion compensated prediction blocks.
[0075] Representative dual prediction based on optical flow model
[0076] Figure 7 is a schematic diagram showing a representative bidirectional optical flow.
[0077] refer to Figure 7 , the dual prediction can be based on an optical flow model. For example, the prediction associated with the current block (eg, current block 700) can be based on the prediction associated with the first prediction block I (0) 702 (eg, a temporally preceding prediction block, eg, temporally shifted by τ0) and a second prediction block I (1)704 (e.g., a temporally future block, such as shifted in time by τ1). Bi-prediction in video coding may be a combination of two temporal prediction blocks 702 and 704 obtained from a reconstructed reference picture. Due to the limitations of block-based motion compensation (MC), there may be residual small motions that can be observed between samples of the two prediction blocks, thus reducing the efficiency of motion compensated prediction. Bidirectional optical flow (BIO, or BDOF) may be applied to reduce the impact of such motion for each sample within a block. BIO may provide sample-by-sample motion refinement, which may be performed on top of block-based motion compensated prediction when bi-prediction is used. For BIO, a refined motion vector for each sample in a block may be derived based on a classical optical flow model. For example, in I (k) (x, y) is the sample value at coordinate (x, y) of the prediction block derived from reference picture list k (k=0, 1) and and Where is the horizontal gradient and vertical gradient of the sample, given the optical flow model, the motion refinement (v ) at (x, y) can be derived by the following equation 3 x ,v y ):
[0078]
[0079] exist Figure 7 , the (MV x0 ,MV y0 ) and (MV associated with the second prediction block 704 x1 ,MV y1 ) indicates that it can be used to generate two prediction blocks I (0) and I (1) The block-level motion vector can be obtained by minimizing the sample value after motion refinement compensation (e.g., Figure 7 The difference Δ between A and B in (x, y) is used to calculate the motion refinement (v) at the sample position (x, y). x ,v y ), as shown in Equation 4 below:
[0080]
[0081] For example, to ensure the regularity of the derived motion refinement, it can be assumed that the motion refinement is consistent for samples within a small unit (e.g., a 4×4 block or other small unit). In the benchmark set (BMS)-2.0, the value (v x ,v y ), as described in Equation 5 below:
[0082]
[0083] To solve the optimization specified in Equation 5, the BIO may use a progressive method / operation / process that may optimize the motion refinement in both the horizontal and vertical directions (e.g., then the vertical direction). This may result in the following equations / inequalities 6 and 7:
[0084]
[0085]
[0086] in can be a floor function that can output a maximum value less than or equal to the input, and th BIO can be a motion refinement threshold, e.g. to prevent error propagation due to coding noise and / or irregular local motion, which is equal to 2 18-BD The values of S1, S2, S3, S5 and S6 may be further calculated as set forth in equations 8-12 below:
[0087] S1=∑ (i,j)∈Ω ψ x (i,j)·ψ x (i,j), (8)
[0088] S3=∑ (i,j)∈Ω θ(i,j)·ψ x (i,j)·2 L (9)
[0089] S2=∑ (i,j)∈Ω ψ x (i,j)·ψ y (i,j) (10)
[0090] S5=∑ (i,j)∈Ω ψ y (i,j)·ψ y (i,j)·2 (11)
[0091] S6=∑ (i,j)∈Ω θ(i,j)·ψ y (i,j)·2 L+1 (12)
[0092] The various gradients can be described in the following equations 13-15:
[0093]
[0094]
[0095] θ(i,j)=I (1)(i,j)-I (0) (i,j) (15)
[0096] For example, in BMS-2.0, the BIO gradients in the horizontal and vertical directions in Equations 13-15 can be directly obtained by calculating the difference between two adjacent samples (e.g., horizontal or vertical, depending on the direction of the gradient being derived) at a sample position of each L0 / L1 prediction block, as described in Equations 16 and 17 below:
[0097]
[0098]
[0099] In equations 8-12, L can be the bit depth increase of the internal BIO process / program to maintain data accuracy, for example, it can be set to 5 in BMS-2.0. To avoid division by small values, the adjustment parameters r and m in equations 6 and 7 can be defined as follows in equations 18 and 19:
[0100] r=500·4 BD-8 (18)
[0101] m=700·4 BD-8 (19) where BD can be the bit depth of the input video. Based on the motion refinement derived from Equations 4 and 5, the final dual prediction signal of the current CU can be calculated by interpolating the L0 / L1 prediction samples along the motion trajectory based on the optical flow Equation 3, as specified in the following Equations 20 and 21:
[0102] pred BIO (x,y)=(I (0) (x,y)+I (1) (x,y)+b+o offset )>>shift (20)
[0103]
[0104] Among them, shift and o offeet may be a right shift and an offset applicable to combining L0 and L1 prediction signals for bi-prediction, for example, they may be set equal to 15-BD and 1<<(14-BD)+2·(1<<13), respectively. rnd(.) is a rounding function that may round an input value to the nearest integer value.
[0105] Representative affine patterns
[0106] In HEVC, a translational motion (only translational motion) model is applied to motion compensated prediction. In the real world, there are many kinds of motion (e.g., zooming in / out, rotation, perspective motion, and other irregular motions). In VVC Test Model (VTM)-2.0, affine motion compensated prediction can be applied. The affine motion model is either 4-parameter or 6-parameter. A first flag for each inter-coded CU is signaled to indicate whether a translational motion model or an affine motion model is applied for inter prediction. If the affine motion model is applied, a second flag is sent to indicate whether the model is a 4-parameter model or a 6-parameter model.
[0107] The 4-parameter affine motion model has the following parameters: two parameters for translation motion in the horizontal and vertical directions, one parameter for scaling motion in both directions, and one parameter for rotation motion in both directions. The horizontal scaling parameter is equal to the vertical scaling parameter. The horizontal rotation parameter is equal to the vertical rotation parameter. The four-parameter affine motion model is encoded in the VTM using two motion vectors at two control point locations defined at the upper left corner 810 and the upper right corner 820 of the current CU. Other control point locations are also possible, such as at other corners and / or edges of the current CU.
[0108] Although one affine motion model is described above, other affine models are equally possible and may be used in various embodiments herein.
[0109] Fig. 8A and 8B is a schematic diagram showing a representative four-parameter affine model and sub-block-level motion derivation for an affine block. Fig. 8A and 8B The affine motion field of the block is described by two control point motion vectors at the first control point 810 (at the upper left corner of the current block) and the second control point 820 (at the upper right corner of the current block). Based on the control point motion, the motion field (v x ,v y ) is described as set forth in Equations 22 and 23 below:
[0110]
[0111]
[0112] Where (v 0x ,v 0y ) may be the motion vector of the upper left corner control point 810, (v 1x ,v 1y ) may be the motion vector of the upper right corner control point 820, such as Fig. 8AAs shown, and w can be the width of the CU. For example, in VTM-2.0, the motion field of an affine-coded CU can be derived at the 4×4 block level; that is, (v x ,v y ) can be derived for each 4×4 block within the current CU and will be applied to the corresponding 4×4 blocks.
[0113] The four parameters of the 4-parameter affine model can be estimated iteratively. The MV pair in step k can be expressed as The original signal (e.g., luminance signal) can be represented as I(i,j), and the predicted signal (e.g., luminance signal) can be represented as I′ k (i,j). Spatial gradient g x (i,j) and g y (i, j) may be used, for example, to apply the prediction signal I' in the horizontal and / or vertical direction, respectively. k The derivative of Equation 3 can be expressed as set forth in Equations 24 and 25 below:
[0114]
[0115] Where (a, b) may be delta translation parameters, and (c, d) may be delta scaling and rotation parameters at step k. The delta MV at a control point may be derived using its coordinates, as described in equations 26-29 below. For example, (0, 0), (w, 0) may be the coordinates of the top left and top right control points 810 and 820, respectively.
[0116]
[0117]
[0118] Based on the optical flow equation, the relationship between the change in intensity (e.g., brightness) and the spatial gradient and temporal movement is equalized in Equation 30 as follows:
[0119]
[0120] By replacing Equations 24 and 25 and Equation 31 for the parameters (a, b, c, d) is obtained as follows:
[0121] I′ k (i,j)-I(i,j)=(g x (i,j)*i+g y (i,j)*j)*c+(-g x (i,j)*j+g y(i,j)*i)*d
[0122] +g x (i,j)*a+g y (i,j)*b (31)
[0123] Since the samples in the CU (e.g., all samples) satisfy Equation 31, the parameter set (e.g., a, b, c, d) can be solved using, for example, the least square error method. In step (k+1), the two control points Equations 26-29 can be used to solve, and they can be rounded to a specific precision (e.g., 1 / 4 pixel precision (pel) or other sub-pixel precision, etc.). By using iterations, the MV at the two control points can be refined, for example, until convergence (e.g., when the parameters (a, b, c, d) are all zero or the iteration time meets a predetermined limit).
[0124] Fig. 9 is a schematic diagram showing a representative six-parameter affine pattern, where, for example, V0, V1, and V2 are motion vectors at control points 910, 920, and 930, respectively, and (MV x ,MV y ) is the motion vector of the sub-block centered at position (x, y).
[0125] See also Fig. 9 , an affine motion model (e.g., having 6 parameters) may have any of the following parameters: (1) parameters for translational movement in the horizontal direction; (2) parameters for translational movement in the vertical direction; (3) parameters for scaling movement in the horizontal direction; (4) parameters for rotational movement in the horizontal direction; (5) parameters for scaling movement in the vertical direction; and / or (6) parameters for rotational movement in the vertical direction. The 6-parameter affine motion model may be encoded using three MVs at three control points 910, 920, and 930. Fig. 9 As shown, three control points 910, 920 and 930 of the 6-parameter affine-coded CU are defined at the upper left corner, upper right corner and lower left corner of the CU, respectively. The motion at the upper left control point 910 can be related to the translation motion, and the motion at the upper right control point 920 can be related to the rotation motion in the horizontal direction and / or the scaling motion in the horizontal direction, and the motion at the lower left control point 930 can be related to the rotation motion in the vertical direction and / or the scaling motion in the vertical direction. For the 6-parameter affine motion model, the rotation motion and / or scaling motion in the horizontal direction may be different from the same motion in the vertical direction. The motion vector (v x ,v y ) can be derived using three MVs at control points 910, 920, and 930, as set forth in equations 32 and 33 below:
[0126]
[0127]
[0128] Where (v 2x ,v 2y ) is the motion vector V2 of the lower left control point 930, (x, y) may be the center position of the sub-block, w may be the width of the CU, and h may be the height of the CU.
[0129] The six parameters of the 6-parameter affine model may be estimated in a similar manner. Equations 24 and 25 may be altered as described in equations 34 and 35 as follows.
[0130]
[0131] Wherein, in step k, (a, b) may be differential translation parameters, (c, d) may be differential scaling and rotation parameters in the horizontal direction, and (e, f) may be differential scaling and rotation parameters in the vertical direction. Equation 31 may be changed as described in Equation 36, as follows:
[0132] I′ k (i,j)-I(i,j)=(g x (i,j)*i)*c+(g x (i,j)*j)*d+(g y (i,j)*i)*e+(g y (i,j)*j)*f
[0133] +g x (i,j)*a+g y (i,j)*b (36)
[0134] The parameter set (a, b, c, d, e, f) can be solved by considering the samples (e.g., all samples) within the CU, for example, using a least squares method / process / operation. It can be calculated using equations 26-29. It can be calculated using equations 37 and 38 as described below. It can be calculated using equations 39 and 40 as described below.
[0135]
[0136]
[0137] Despite Fig. 8A , 8B9 show a 4-parameter affine model and a 6-parameter affine model, but the skilled person will appreciate that affine models with different numbers of parameters and / or different control points are also possible.
[0138] Although the affine model is described herein in conjunction with optical flow refinement, the skilled person will appreciate that other motion models combined with optical flow refinement are also possible.
[0139] Representative interlaced prediction for affine motion compensation
[0140] With affine motion compensation (AMC), such as in VTM, the coding block is divided into sub-blocks as small as 4×4, each of which can be assigned an individual motion vector (MV) derived from an affine model, such as Fig. 8A and 8B or Fig. 9 As shown. Using a 4-parameter or 6-parameter affine model, the MV can be derived from the MVs of two or three control points.
[0141] AMC may face a dilemma associated with the size of the sub-blocks. Using smaller sub-blocks, AMC may achieve better coding performance, but may suffer from a higher complexity burden.
[0142] Fig.10 is a schematic diagram showing a representative interleaved prediction process, which can achieve finer-grained MVs, for example, in exchange for a moderate increase in complexity.
[0143] exist Fig.10 In the embodiment of the present invention, the coding block 1010 can be divided into sub-blocks with two different division modes (e.g., first and second modes 0 and 1). The first division mode 0 (e.g., a first sub-block mode, such as a 4×4 sub-block mode) can be the same as in the VTM, and the second division mode 1 (e.g., an overlapping and / or interleaved second sub-block mode) can divide the coding block 1010 into 4×4 sub-blocks with a 2×2 offset from the first division mode 0, such as Fig.10 As shown. AMC can generate several auxiliary predictions (e.g., two auxiliary predictions P0 and P1) using the two partition modes (e.g., first and second partition modes 0 and 1). The MV of each subblock in each of the partition modes 0 and 1 can be derived from the control point motion vector (CPMV) through the affine model.
[0144] The final prediction P can be calculated as the weighted sum of the auxiliary predictions (e.g., two auxiliary predictions P0 and P1), which is equated as shown in Equations 41 and 42 as follows:
[0145]
[0146] Fig.11is a schematic diagram showing representative weight values (eg, associated with pixels) in a sub-block. Fig.11 , an auxiliary prediction sample located at the center (eg, center pixel) of the sub-block 1100 may be associated with a weight value of 3, and an auxiliary prediction sample located at a boundary of the sub-block 1100 may be associated with a weight value of 1.
[0147] Fig.12 is a schematic diagram showing a region in which interlaced prediction is applied and other regions in which interlaced prediction is not applied. Fig.12 , the region 1200 may include a first region 1210 (in which interlaced prediction is applied, for example, with 4×4 sub-blocks) Fig.12 ) and, for example, a second region 1220 in which interlaced prediction is not applied (shown as non-cross-hatched in Fig.12 In order to avoid small block motion compensation, for example, for both the first and second partition modes, the interlaced prediction may be applied only to regions where the size of the sub-block meets a threshold size (eg, which is 4×4).
[0148] In VTM-3.0, the size of the sub-block can be 4×4 for chroma components, and interlaced prediction can be applied to chroma components and / or luminance components. Since the area used for motion compensation (MC) of sub-blocks (e.g., all sub-blocks) can be extracted as a whole in AMC, interlaced prediction does not increase bandwidth. For flexibility, a flag can be signaled in the slice header to indicate whether interlaced prediction is used or not. For interlaced prediction, the flag can be signaled as a 1-bit flag (e.g., a first logic level that can always be signaled as 0 or 1).
[0149] Representative process for sub-block based temporal motion vector prediction (SbTMVP)
[0150] SbTMVP is supported by VTM. Similar to the temporal motion vector prediction (TMVP) in HEVC, SbTMVP can use the motion field in the collocated picture, for example, to improve the merge mode and motion vector prediction of the CU in the current picture. The same collocated picture used by TMVP can be used for SbTMVP. The differences between SbTMVP and TMVP are as follows: (1) TMVP can predict CU-level motion, while SbTMVP can predict sub-CU-level motion; and / or (2) TMVP can extract the temporal motion vector from the collocated block in the collocated picture (for example, the collocated block can be the lower right or center block relative to the current CU), while SbTMVP can apply motion shifting (for example, the motion shifting can be obtained from the motion vector of one of the spatial neighboring blocks of the current CU) before extracting the temporal motion information from the collocated picture, etc.
[0151] Fig.13A and 13B is a schematic diagram showing the SbTMVP process. Fig.13A shows the spatial neighboring blocks used by ATMVP, Fig. 13B It is shown that the sub-CU motion field is derived by applying the motion shift from the spatial neighbors and scaling the motion information from the corresponding co-located sub-CU.
[0152] See also Fig.13A and 13B , SbTMVP may predict the motion vector of the sub-CU within the current CU operation (e.g., in two operations). In the first operation, the spatial neighboring blocks A1, B1, B0, and A0 may be checked in the order of A1, B1, B0, and A0. Once a first spatial neighboring block having a motion vector that uses a co-located picture as its reference picture is identified and / or after a first spatial neighboring block having a motion vector that uses a co-located picture as its reference picture is identified, the motion vector may be selected as the motion shift to be applied. If no such motion is identified from the spatial neighboring blocks, the motion shift may be set to (0, 0). In the second operation, the motion shift identified in the first operation may be applied (e.g., added to the coordinates of the current block) to obtain sub-CU level motion information (e.g., motion vector and reference index) from the co-located picture, such as Fig. 13B as shown in . Fig. 13BThe example in shows motion shifting set to the motion of block A1. For each sub-CU, the motion information of its corresponding block (e.g., the minimum motion grid covering the center sample) in the co-located picture can be used to derive the motion information for the sub-CU. After identifying the motion information of the co-located sub-CU, the motion information can be converted into a motion vector and reference index for the current sub-CU in a manner similar to the TMVP process of HEVC. For example, temporal motion scaling can be applied to align the reference picture of the temporal motion vector with the reference picture of the current CU.
[0153] A combined sub-block based merge list may be used in VTM-3 and may contain or include both SbTMVP merge candidates and affine merge candidates, for example, for signaling a sub-block based merge mode. The SbTMVP mode may be enabled / disabled by a sequence parameter set (SPS) flag. If the SbTMVP mode is enabled, the SbTMVP predictor may be added as the first entry in the list of sub-block based merge candidates, followed by affine merge candidates. The size of the sub-block based merge list may be signaled in the SPS, and the maximum allowed size of the sub-block based merge list may be an integer, for example 5 in VTM3.
[0154] The sub-CU size used in SbTMVP may be fixed, eg, 8×8 or other sub-CU size, and performed for affine merge mode, the SbTMVP mode may be applicable to (eg, may only be applicable to) CUs whose width and height may both be greater than or equal to 8.
[0155] The encoding logic for the additional SbTMVP merge candidates may be the same as that for other merge candidates. For example, for each CU in a P or B slice, an additional rate-distortion (RD) check may be performed to decide whether to use the SbTMVP candidate.
[0156] Representative regression-based motion vector field
[0157] To provide fine granularity of intra-block motion vectors, a regression-based motion vector field (RMVF) tool (e.g., in JVET-M0302) can be implemented, which can attempt to model the motion vector of each block at a sub-block level based on spatially neighboring motion vectors.
[0158] Fig.141 is a schematic diagram showing neighboring motion blocks (e.g., 4×4 motion blocks) that can be used for motion parameter derivation. In the regression process, a row of adjacent motion vectors 1410 and a column of adjacent motion vectors 1420 based on 4×4 sub-blocks (and their center positions) from each side of the block can be used. For example, the adjacent motion vectors can be used for RMVF motion parameter derivation.
[0159] Fig.15 is a diagram showing a method for deriving motion parameters to reduce neighboring motion information (eg, to reduce relative Fig.14 Schematic diagram of neighboring motion blocks of the row 1410 and the column 1420 (the number of neighboring motion blocks used in the regression process). The reduced amount of neighboring motion information for RMVF parameter derivation of neighboring 4×4 motion blocks can be used for motion parameter derivation (e.g., about half, such as about every other neighboring motion block can be used for motion parameter derivation). Certain neighboring motion blocks of the row 1410 and the column 1420 can be selected, determined or predetermined to reduce neighboring motion information.
[0160] Although approximately half of the neighboring motion blocks of the row 1410 and the column 1420 are shown as being selected, other percentages (with other motion block positions) may be selected, for example, to reduce the number of neighboring motion blocks to be used in the regression process.
[0161] When collecting motion information for motion parameter derivation, five regions (e.g., bottom left, top left, top right) as shown in the figure may be used. The top right reference motion region and the bottom left reference motion region may be limited to half (e.g., only half) of the corresponding width or height of the current block.
[0162] In RMVF mode, the motion of the block can be defined by a 6-parameter motion model. These parameters are xx ,a xy ,a yx ,a yy ,b x and b y It can be calculated by solving a linear regression model in the sense of mean square error (MSE). The input of the regression model can be the center position (x, y) and / or motion vector (mv) of the available adjacent 4×4 sub-blocks defined above. x and mv y ), or may include the center position (x, y) and / or motion vector (mv) of the available adjacent 4×4 sub-blocks as defined above. x and mv y )).
[0163] The center is (X xubPU ,Y subPU ) is the motion vector (MV X_subPU ,MVY_subPU ) can be calculated as described in Equation 43 below:
[0164]
[0165] The motion vector may be calculated for an 8×8 sub-block relative to a center position of the sub-block (e.g., each sub-block). For example, in RMVF mode, motion compensation may be applied with 8×8 sub-block accuracy. In order to efficiently model the motion vector field, the RMVF tool is applied only when at least one motion vector from at least three candidate regions is available.
[0166] Affine motion model parameters can be used to derive motion vectors for certain pixels (e.g., each pixel) in a CU. Although the complexity of generating pixel-based affine motion compensation predictions may be high (e.g., very high), and also because the memory access bandwidth requirements of such sample-based MCs may be high, a sub-block-based affine motion compensation process / method (e.g., by VVC) may be implemented. For example, a CU may be divided into several sub-blocks (e.g., 4×4 sub-blocks, square sub-blocks, and / or non-square sub-blocks). Each sub-block may be assigned an MV that can be derived from the affine model parameters. The MV may be an MV at the center of the sub-block (or another position in the sub-block). The pixels in the sub-block (e.g., all pixels in the sub-block) may share the sub-block MV. Sub-block-based affine motion compensation may be a trade-off between coding efficiency and complexity. In order to achieve finer granularity of motion compensation, interlaced prediction for affine motion compensation may be implemented, and the interlaced prediction for affine motion compensation may be generated by weighted averaging two sub-block motion compensation predictions. Interleaved prediction may require and / or use two or more motion compensated predictions per sub-block, and thus may increase memory bandwidth and complexity.
[0167] In certain representative embodiments, methods, apparatus, processes and / or operations may be implemented to refine sub-block based affine motion compensation predictions using optical flow (e.g., using and / or based on optical flow). For example, after performing sub-block based affine motion compensation, pixel intensities may be refined by adding differences derived from the optical flow equation, which is referred to as prediction refinement using optical flow (PROF). PROF may achieve pixel-level granularity without significantly increasing complexity, and may maintain a worst-case memory access bandwidth comparable to sub-block based affine motion compensation. PROF may be applied to any situation where a pixel-level motion vector field may be obtained (e.g., computable) in addition to a prediction signal (e.g., an unrefined motion prediction signal and / or a sub-block based motion prediction signal). In addition to the affine mode, the prediction PROF process may also be used in other sub-block prediction modes. Application of PROF to sub-block modes, such as SbTMVP and / or RMVF, may be implemented. Application of PROF to dual prediction is described herein.
[0168] Representative PROF procedure for affine mode
[0169] In certain representative embodiments, methods, apparatus and / or processes may be implemented to improve the granularity of sub-block based affine motion compensated prediction, for example by applying changes in pixel intensities derived from optical flow (e.g., an optical flow equation), and may use and / or require one motion compensation operation for each sub-block (e.g., only one motion compensation operation for each sub-block), which is the same as existing affine motion compensation in, for example, VVC.
[0170] Fig.16 is a schematic diagram showing a sub-block MV and a pixel-level motion vector difference Δv(, j) (eg, which is sometimes also referred to as a refined MV of a pixel) after sub-block-based affine motion compensated prediction.
[0171] See also Fig.16 , CU 1600 may include sub-blocks 1610, 1620, 1630, and 1640. Each sub-block 1610, 1620, 1630, and 1640 may include a plurality of pixels (e.g., 16 pixels in sub-block 1610). The figure shows a sub-block MV 1650 (e.g., as a coarse or average sub-block MV) associated with each pixel 1660 (i, j) of sub-block 1610. For each corresponding pixel (i, j) in sub-block 1610, a refined MV 1670 (i, j) may be determined (which may indicate a difference between an actual MV of pixel 1660 (i, j) and sub-block MV 1650 (where (i, j) defines a pixel position in sub-block 1610)). In order Fig.16For clarity, only the refined MV 1670(1, 1) is labeled, although pixel-level motion of other individuals is shown. In some representative embodiments, the refined MV 1670(i, j) can be determined as a pixel-level motion vector difference Δv(i, j) (sometimes referred to as a motion vector difference).
[0172] In certain representative embodiments, methods, apparatus, processes, and / or operations may be implemented that include any of the following operations:
[0173] (1) In a first operation: sub-block based AMC may be performed as disclosed herein to generate a sub-block based motion prediction I(i, j);
[0174] (2) In the second operation: the spatial gradient g of the sub-block-based motion prediction I(i, j) at each sample position can be calculated x (i,j) and g y (i, j) (in one example, the spatial gradient can be generated using the same process as the gradient generation used in BDOF). For example, the horizontal gradient at the sample position can be calculated as the difference between its right neighboring sample and its left neighboring sample, and / or the vertical gradient at the sample position can be calculated as the difference between its bottom neighboring sample and its top neighboring sample. In another example, a Sobel filter can be used to generate the spatial gradient;
[0175] (3) In a third operation: the illumination intensity change of each pixel in the CU may be calculated using and / or by an optical flow equation, for example, as set forth in Equation 44 below:
[0176] ΔI(i,j)=g x (i,j)*Δv x (i,j)+g y (i,j)*Δv y (i,j) (44)
[0177] where the value of the motion vector difference Δv(i,j) is the difference 1670 between the pixel level MV calculated for the sample position (i,j) (denoted by v(i,j)) and the sub-block level MV 1650 of the sub-block covering the pixel 1660 (i,j), as Fig.16 The pixel-level MVv(i,j) can be derived from the control point MV by using equations 22 and 23 for a 4-parameter affine model or by using equations 32 and 33 for a 6-parameter affine model.
[0178] In certain representative embodiments, the motion vector difference Δv(i,j) may be derived from the affine model parameters by or using equations 24 and 25, where x and y may be offsets from the pixel position to the center of the sub-block. Since the affine model parameters and the pixel offsets do not change between sub-blocks, the motion vector difference Δv(i,j) may be calculated for the first sub-block and reused in other sub-blocks in the same CU. For example, the difference between the pixel-level MV and the sub-block-level MV may be calculated using equations 45 and 46 below, because the translation affine parameters (a, b) may be the same for the pixel-level MV and the sub-block MV. (c, d, e, f) may be four additional affine parameters (e.g., four affine parameters in addition to the translation affine parameters)
[0179]
[0180] where (i, j) can be the pixel position relative to the top left position of the sub-block, and (x sb ,y sb ) can be the center position of the sub-block relative to the upper left position of the sub-block.
[0181] Fig.17A is a diagram of a representative procedure for determining a motion vector corresponding to the actual center of a sub-block.
[0182] Please refer to Fig.17A , the two sub-blocks SB0 and SB1 shown in the figure are 4×4 sub-blocks. If the sub-block width is SW and the sub-block height is SH, the sub-block center position can be set to ((SW-1) / 2, (SH-1) / 2). In other examples, the sub-block center position can be estimated based on the position described as (SW / 2, SH / 2). The actual center point of the first sub-block SB0 is P0', and the actual center point of the second sub-block SB1 is P1', which uses ((SW-1) / 2, (SH-1) / 2). By using, for example, (SW / 2, SH / 2) (for example, in VVC), the estimated center point of the first sub-block SB0 is P0, and the estimated center point of the second sub-block SB1 is P1. In some representative embodiments, the MV of the sub-block can be more accurately based on the actual center position rather than the estimated center position (which is used in VVC).
[0183] Fig. 17B is a schematic diagram showing the locations of chroma samples in a 4:2:0 chroma format. Fig. 17B, the chroma sub-block MV may be derived from the MV of the luma sub-block. For example, in a 4:2:0 chroma format, a 4×4 chroma sub-block may correspond to an 8×8 luma region. Although representative embodiments are shown in conjunction with a 4:2:0 chroma format, the skilled person understands that other chroma formats, such as a 4:2:2 chroma format, may be equally used.
[0184] The chroma sub-block MV may be derived by averaging the upper left 4×4 luma sub-block MV and the lower right luma sub-block MV. For chroma sample position types 0, 2, and / or 3, the derived chroma sub-block MV may or may not be located at the center of the chroma sub-block. For chroma sample position types 0, 2, and 3, the chroma sub-block center position (x sb ,y sb ) may or may need to be adjusted by an offset. For example, for 4:2:0 chroma sample position types 0, 2, and 3, the adjustments may be applied as set forth in equations 47-49 below:
[0185]
[0186]
[0187]
[0188] The sub-block based motion prediction I(i,j) may be refined by adding intensity variations (eg, illumination intensity variations, eg, as provided in Equation 44). The final (ie, refined) prediction I'(i,j) may be generated by or using Equation 50 as follows.
[0189] I'(i,j)=I(i,j)+ΔI(i,j) (50)
[0190] When the refinement is applied, the sub-block based affine motion compensation may achieve pixel level granularity without increasing the worst case bandwidth and / or memory bandwidth.
[0191] In order to maintain the accuracy of prediction and / or gradient calculation, the bit depth in the operation-related performance of sub-block based AMC may be an intermediate bit depth, which may be higher than the encoding bit depth.
[0192] The above process can be used to refine the chroma intensity (e.g., in addition to or instead of refining the luma intensity). In one example, the intensity difference used in equation 50 can be multiplied by a weight factor w before being added to the prediction, as shown in equation 51 below:
[0193] I'(i,j)=I(i,j)+w·ΔI(i,j) (51)
[0194] Where w can be set to a value between 0 and 1, inclusive. w can be signaled at the CU level or the picture level. For example, w can be signaled via a weight index. For example, Index Table 1 can be used to signal w.
[0195] index 0 1 2 3 4 Weight 1 / 2 3 / 4 1 / 4 1 0
[0196] Index Table 1
[0197] The encoder algorithm can choose the value of w that results in the lowest rate-distortion cost.
[0198] For example, the gradient of the predicted sample can be calculated in different ways, such as g x and / or y In certain representative embodiments, the prediction sample g x and g y It can be calculated by applying a 2D Sobel filter. An example of a 3×3 Sobel filter for horizontal and vertical gradients is as follows:
[0199] Horizontal Sobel filter:
[0200] Vertical Sobel filter:
[0201] In other representative embodiments, the gradient may be calculated using a one-dimensional 3-tap filter. One example may include [-1 0 1], which is a simpler (eg, much simpler) filter than a Sobel filter.
[0202] Fig. 17C 17 is a schematic diagram showing extended sub-block prediction. Shaded circle 1710 is a padding sample around a 4×4 sub-block (e.g., non-shaded circle 1720). Using a Sobel filter as an example, the samples in box 1730 can be used to calculate the gradient of sample 1740 at the center. Although a Sobel filter can be used to calculate the gradient, other filters such as a 3-tap filter are also possible.
[0203] For the above example gradient filters, such as 3x3 Sobel filter and one-dimensional filter, extended sub-block prediction can be used and / or required for sub-block gradient calculation. For example, a row at the top and bottom boundaries of the sub-block and a column at the left and right boundaries can be filled to calculate the gradient of those samples at the sub-block boundaries.
[0204] There may be different methods / processes and / or operations to obtain the extended sub-block prediction. In a representative embodiment, given a sub-block size of N×M, (N+2)×(M+2) extended sub-block prediction may be obtained by performing (N+2)×(M+2) block motion compensation using the sub-block MV. With this embodiment, memory bandwidth may be increased. To avoid an increase in memory bandwidth, in certain representative embodiments, given a K-tap interpolation filter in both horizontal and vertical directions, (N+K-1)×(M+K-1) integer reference samples before interpolation may be extracted for interpolation of the N×M sub-blocks, and boundary samples of the (N+K-1)×(M+K-1) blocks may be copied from neighboring samples of the (N+K-1)×(M+K-1) sub-blocks so that an extended area may be (N+K-1+2×M+K-1+2. The extended area may be used for interpolation of the N+2×M+2 sub-blocks. If the sub-block MVs point to fractional positions, these representative embodiments may still use and / or require additional interpolation operations to generate (N+2)×(M+2) predictions.
[0205] For example, to reduce computational complexity, in other representative embodiments, the sub-block prediction may be obtained by using N×M block motion compensation of the sub-block MV. The boundaries of the (N+2)×(M+2) prediction may be obtained without interpolation by any of the following: (1) integer motion compensation, where the MV is the integer part of the sub-block MV; (2) integer motion compensation, where the MV is the nearest integer MV of the sub-block MV; and / or (3) copying from the nearest neighboring sample in the N×M sub-block prediction.
[0206] Pixel-level refinement MV (e.g., Δv x and Δv y ) may affect the accuracy of PROF. In some representative embodiments, a combination of a multi-bit fractional component and another multi-bit integer component may be implemented. For example, a 5-bit fractional component and an 11-bit integer component may be used. The combination of the 5-bit fractional component and the 11-bit integer component may use a total of 16 bits to represent a MV range from -1024 to 1023 with 1 / 32 pixel precision.
[0207] The gradient (e.g., g x and g y ) and the accuracy of the intensity variation ΔI may affect the performance of PROF. In certain representative embodiments, the prediction sample accuracy may be maintained or maintained at a predetermined number or a signaled number of bits (e.g., the internal sample accuracy defined in the current VVC draft, which is 14 bits). In certain representative embodiments, the gradient and / or intensity variation ΔI may be maintained at the same accuracy as the prediction sample.
[0208] The range of the intensity variation ΔI may affect the performance of PROF. The intensity variation ΔI may be clipped to a smaller range to avoid false values generated by an inaccurate affine model. In one example, the intensity variation ΔI may be clipped to predition_bitdepth-2.
[0209] Δv x and Δv y The combination of the number of bits for the fractional component of , the number of bits for the fractional component of the gradient, and the number of bits for the intensity change ΔI may together affect the complexity of certain hardware or software implementations. In a representative embodiment, 5 bits may be used to represent Δv x and Δv y , 2 bits can be used to represent the fractional component of the gradient, and 12 bits can be used to represent ΔI, however, they can be any number of bits.
[0210] To reduce computational complexity, PROF can be skipped in some cases. For example, if the magnitude of all pixel-based deltas (e.g., refinements) MV(Δv(i,j)) within a 4×4 sub-block is less than a threshold, PROF can be skipped for the entire affine CU. If the gradients of all samples within a 4×4 sub-block are less than a threshold, PROF can be skipped.
[0211] The PROF may be applied to chrominance components, such as Cb and / or Cr components. The differential MV of the Cb and / or Cr components of a sub-block may reuse the differential MV of the sub-block (eg, the differential MV calculated for different sub-blocks in the same CU may be reused).
[0212] Although the gradient process disclosed herein (eg, using replicated reference samples to extend sub-blocks for gradient calculation) is shown for use with a PROF operation, the gradient process may be used with other operations such as a BDOF operation and / or an affine motion estimation operation.
[0213] Representative PROF procedures for other sub-block modes
[0214] PROF can be applied to any scenario where a pixel-level motion vector field is available (e.g., can be calculated) in addition to a prediction signal (e.g., an unrefined prediction signal). For example, in addition to the affine mode, prediction refinement using optical flow can be used in other sub-block prediction modes, such as SbTMVP mode (e.g., ATMVP mode in VVC), or regression-based motion vector field (RMVF).
[0215] In certain representative embodiments, a method may be implemented to apply PROF to SbTMVP. For example, such a method may include any of the following:
[0216] (1) In the first operation, sub-block level MV and sub-block prediction may be generated based on the existing SbTMVP process described herein;
[0217] (2) In a second operation, the affine model parameters may be estimated through the block MV field using a linear regression method / process;
[0218] (3) In a third operation, a pixel-level MV may be derived from the affine model parameters obtained in the second operation, and an associated pixel-level motion refinement vector (Δv(i,j)) relative to the sub-block MV may be calculated; and / or
[0219] (4) In a fourth operation, a prediction refinement process using optical flow may be applied to generate a final prediction, etc.
[0220] In certain representative embodiments, a method may be implemented to apply PROF to RMVF. For example, such a method may include any of the following:
[0221] (1) In the first operation, the sub-block level MV field, sub-block prediction and / or affine model parameters a xx ,a xy ,a yx ,a yy ,b x and b x can be generated based on the RMVF process described herein;
[0222] (2) In the second operation, the pixel-level MV offset (Δv(i,j)) from the sub-block-level MV can be obtained by the affine model parameter a xx ,a xy ,a yx ,a yy ,b x and b x It is derived by the following equation 52:
[0223]
[0224] Where (i, j) is the pixel offset from the center of the sub-block. Since the affine parameters and / or the pixel offset from the center of the sub-block do not change between sub-blocks, the pixel MV offset may be calculated for the first sub-block (e.g., only the pixel MV offset for the first sub-block needs to be calculated), and the pixel MV offset may be reused for other sub-blocks in the CU; and / or
[0225] (3) In a third operation, the PROF process may be applied to generate a final prediction, for example by applying Equations 44 and 50.
[0226] Representative PROF methods for dual prediction
[0227] In addition to or in lieu of using PROF in uni-prediction as described herein, the PROF technique may be used for bi-prediction. When used in bi-prediction, the PROF may be used to generate an L0 prediction and / or an L1 prediction, e.g., before they are combined by weights. To reduce computational complexity, PROF may be applied (e.g., may be applied only) to one prediction, such as L0 or L1. In certain representative embodiments, PROF may be applied (e.g., may be applied only) to a list (e.g., a list associated with reference pictures that are close (e.g., within a threshold) and / or closest to the current picture).
[0228] Representative process for PROF enablement
[0229] PROF enablement may be signaled at or in a sequence parameter set SPS header, a picture parameter set PPS header, and / or a tile group header. In some embodiments, a flag may be signaled to indicate whether the PROF is enabled for affine mode. If the flag is set to a first logic level (e.g., "true"), PROF may be used for single prediction and dual prediction. In some embodiments, if the first flag is set to "true", a second flag may be used to indicate whether PROF is enabled or not for dual prediction affine mode. If the first flag is set to a second logic level (e.g., "false"), it may be inferred that the second flag is set to "false". If the first flag is set to "true", a flag may be used at or in an SPS header, a PPS header, and / or a tile group header to signal whether PROF is applied to chrominance components, so that the control of PROF on luminance components and chrominance components may be separated.
[0230] Representative methods of conditionally enabled PROF
[0231] For example, to reduce complexity, PROF may be applied when (e.g., only when) certain conditions are met. For example, for small CU sizes (e.g., below a threshold level), the affine motion may be relatively small, so that the benefit of applying PROF may be limited. In certain representative embodiments, when the CU size is small (e.g., for CU sizes not greater than 16x16, such as 8x8, 8x16, 16x8) or in such cases, PROF may be disabled in affine motion compensation to reduce complexity of both the encoder and / or decoder. In certain representative embodiments, when the CU size is small (below the same or different threshold level), PROF may be skipped in affine motion estimation (e.g., skipped only in affine motion estimation), for example, to reduce encoder complexity, and PROF may be performed at the decoder regardless of the CU size. For example, at the encoder side, after motion estimation for searching affine model parameters (e.g., control point MVs), a motion compensation (MC) process may be called and PROF may be performed. The MC process may also be called for each iteration during motion estimation. In MC in motion estimation, PROF may be skipped to save complexity, and there will be no prediction mismatch between the encoder and the decoder because the final MC in the encoder will run PROF. That is, when the encoder searches for affine model parameters (e.g., affine MV) for prediction of a CU, PROF refinement may not be applied, and once or after the encoder completes the search, the encoder may apply PROF to refine the prediction of the CU using the affine model parameters determined from the search.
[0232] In some representative embodiments, the difference between the CPMVs may be used as a criterion for determining whether to enable PROF. When the difference between the CPMVs is small (e.g., below a threshold level) such that the affine motion is small, the benefit of applying PROF may be limited, and PROF may be disabled for affine motion compensation and / or affine motion estimation. For example, for a 4-parameter affine mode, PROF may be disabled if the following conditions are met (e.g., all of the following conditions are met):
[0233]
[0234]
[0235] For the 6-parameter affine mode, in addition to or instead of the above conditions, PROF may be disabled if the following conditions are met (e.g., all of the following conditions are also met):
[0236]
[0237]
[0238] Wherein T is a predefined threshold, such as 4. The PROF skipping process based on CPMV or affine parameters may be applied at the encoder (eg, also only at the encoder), and the decoder may or may not skip PROF.
[0239] Representative process of PROF combined with or replacing the deblocking filter
[0240] Since PROF may be a pixel-by-pixel refinement that may compensate for block-based MC, motion differences between block boundaries may be reduced (e.g., may be greatly reduced). When PROF is applied, an encoder and / or decoder may skip application of a deblocking filter and / or may apply a weaker filter to sub-block boundaries. For a CU that is partitioned into multiple transform units (TUs), blocking effects may occur on transform block boundaries.
[0241] In certain representative embodiments, the encoder and / or decoder may skip application of a deblocking filter or may apply one or more weaker filters across a subblock boundary unless the subblock boundary coincides with a TU boundary.
[0242] When PROF is applied to luma (e.g., only to luma) or under the condition that PROF is applied to luma (e.g., only to luma), the encoder and / or decoder may skip the application of a deblocking filter and / or may apply one or more weaker filters for luma (e.g., only luma) on a sub-block boundary. For example, the boundary strength parameter Bs may be used to apply a weaker deblocking filter.
[0243] For example, when PROF is applied, the encoder and / or decoder may skip applying a deblocking filter to a subblock boundary unless the subblock boundary coincides with a TU boundary. In this case, a deblocking filter may be applied to reduce or remove blocking effects that may occur along the TU boundary.
[0244] As another example, unless the sub-block boundary coincides with a TU boundary, when PROF is applied, the encoder and / or decoder may apply a weaker deblocking filter to the sub-block boundary. It is contemplated that the "weaker" deblocking filter may be a weaker deblocking filter than the deblocking filter normally applied to the sub-block boundary when PROF is not applied. When the sub-block boundary coincides with a TU boundary, a stronger deblocking filter may be applied to reduce or remove blocking effects that are expected to be more visible along the sub-block boundary that coincides with the TU boundary.
[0245] In certain representative embodiments, when PROF is applied (e.g., only) to luma or under the condition that PROF is applied (e.g., only) to luma, an encoder and / or decoder may, for example, align the application of a deblocking filter for chroma to luma for design unification purposes despite the lack of application of PROF to chroma. For example, if PROF is applied only to luma, then the normal application of a deblocking filter for luma may be changed based on whether PROF is applied (and possibly based on whether there is a TU boundary at a sub-block boundary). In certain representative embodiments, a deblocking filter may be applied at sub-block boundaries for chroma to match (and / or mirror) the process of luma deblocking, rather than having separate / different logic for applying a deblocking filter to corresponding chroma pixels.
[0246] Fig.18A is a flowchart illustrating a first representative encoding and / or decoding method.
[0247] refer to Fig.18A , a representative method 1800 for encoding and / or decoding may include: at block 1805, the encoder 100 or 300 and / or the decoder 200 or 500 obtains a sub-block-based motion prediction signal for a current block of, for example, a video. At block 1810, the encoder 100 or 300 and / or the decoder 200 or 500 may obtain one or more spatial gradients of the sub-block-based motion prediction signal for the current block or one or more motion vector differences associated with the sub-blocks of the current block. At block 1815, the encoder 100 or 300 and / or the decoder 200 or 500 may obtain a refinement signal of the current block based on the one or more obtained spatial gradients or the one or more obtained motion vector differences associated with the sub-blocks of the current block. At block 1820, the encoder 100 or 300 and / or the decoder 200 or 500 may obtain a refined motion prediction signal of the current block based on the sub-block-based motion prediction signal and the refinement signal. In some embodiments, the encoder 100 or 300 may encode the current block based on the refined motion prediction signal, or the decoder 200 or 500 may decode the current block based on the refined motion prediction signal. The refined motion prediction signal may be a refined motion inter-frame prediction signal generated (e.g., by the GBi encoder 300 and / or the GBi decoder 500), and one or more PROF operations may be used.
[0248] In certain representative embodiments, such as representative embodiments related to other methods described herein including methods 1850 and 1900, obtaining the sub-block based motion prediction signal for the current block of the video may include generating the sub-block based motion prediction signal.
[0249] In certain representative embodiments, for example, with respect to other methods described herein, particularly including methods 1850 and 1900, obtaining one or more spatial gradients of the sub-block based motion prediction signal of the current block or one or more motion vector difference values associated with the sub-blocks of the current block may include: determining the one or more spatial gradients of the sub-block based motion prediction signal (e.g., associated with a gradient filter).
[0250] In certain representative embodiments, for example, representative embodiments of other methods described herein, particularly including methods 1850 and 1900, obtaining the one or more spatial gradients of the sub-block-based motion prediction signal of the current block or the one or more motion vector difference values associated with the sub-blocks of the current block may include: determining the one or more motion vector difference values associated with the sub-blocks of the current block.
[0251] In certain representative embodiments, for example, representative embodiments related to other methods described herein, particularly including methods 1850 and 1900, obtaining the refinement signal of the current block based on the one or more determined spatial gradients or the one or more determined motion vector differences may include: determining a motion prediction refinement signal of the current block as the refinement signal based on the determined spatial gradients.
[0252] In certain representative embodiments, for example, representative embodiments related to other methods described herein including methods 1850 and 1900, obtaining the refinement signal of the current block based on the one or more determined spatial gradients or the one or more determined motion vector differences may include: determining a motion prediction refinement signal of the current block as the refinement signal based on the determined motion vector difference.
[0253] The term "determine" or "determining" when referring to something such as information may generally include one or more of: estimating, calculating, predicting, obtaining and / or retrieving the information. For example, determining may refer to retrieving something from a memory or a bitstream, etc.
[0254] In certain representative embodiments, for example, representative embodiments related to other methods described herein including methods 1850 and 1900, obtaining the refined motion prediction signal of the current block based on the sub-block based motion prediction signal and the refinement signal may include: combining (e.g., adding or subtracting, etc.) the sub-block based motion prediction signal and the motion prediction refinement signal to generate the refined motion prediction signal of the current block.
[0255] In certain representative embodiments, for example, representative embodiments related to other methods described herein including methods 1850 and 1900, encoding and / or decoding the current block based on the refined motion prediction signal may include: encoding the video using the refined motion prediction signal as a prediction of the current block, and / or decoding the video using the refined motion prediction signal as a prediction of the current block.
[0256] Fig.18B is a flowchart illustrating a second representative encoding and / or decoding method.
[0257] refer to Fig.18B , a representative method 1850 for encoding and / or decoding a video may include: at block 1855, the encoder 100 or 300 and / or the decoder 200 or 500 generates a sub-block-based motion prediction signal. At block 1860, the encoder 100 or 300 and / or the decoder 200 or 500 may determine one or more spatial gradients (e.g., associated with a gradient filter) of the sub-block-based motion prediction signal. At block 1865, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a motion prediction refinement signal for the current block based on the determined spatial gradients. At block 1870, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block. At block 1875, the encoder 100 or 300 may encode the video using the refined motion prediction signal as a prediction for the current block, and / or the decoder 200 or 500 may decode the video using the refined motion prediction signal as a prediction for the current block. In some embodiments, the operations at blocks 1810, 1820, 1830, and 1840 may be performed for a current block, which generally refers to a block currently being encoded or decoded. The refined motion prediction signal may be a refined motion inter-frame prediction signal generated (e.g., by the GBi encoder 300 and / or GBi decoder 500), and one or more PROF operations may be used.
[0258] For example, the determination of the one or more spatial gradients of the sub-block-based motion prediction signal by the encoder 100 or 300 and / or the decoder 200 or 500 may include: determination of a first set of spatial gradients associated with a first reference picture and a second set of spatial gradients associated with a second reference picture. The determination of the motion prediction refinement signal of the current block by the encoder 100 or 300 and / or the decoder 200 or 500 may be based on the determined spatial gradients, and may include: determining a motion inter-frame prediction refinement signal (e.g., a bi-prediction signal) of the current block based on the first and second sets of spatial gradients, and may also be based on weighting information W (e.g., indicating or including one or more weighting values associated with one or more reference pictures).
[0259] In certain representative embodiments including at least the representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the encoder 100 or 300 may generate, use, and / or send weight information W to the decoder 200 or 500, and / or the decoder 200 or 500 may receive or obtain the weight information W. For example, the inter-motion prediction refinement signal of the current block may be based on: (1) a first gradient value derived from the first set of spatial gradients and weighted according to a first weight factor indicated by the weight information W, and / or (2) a second gradient value derived from the second set of spatial gradients and weighted according to a second weight factor indicated by the weight information W.
[0260] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, these methods may further include the encoder 100 or 300 and / or the decoder 200 or 500 determining affine motion model parameters of the current block of the video, so that the determined affine motion model parameters can be used to generate the sub-block based motion prediction signal.
[0261] In certain representative embodiments including representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, one or more spatial gradients of the sub-block based motion prediction signal, which may include calculating at least one gradient value for a corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position in at least one sub-block of the sub-block based motion prediction signal. For example, calculating the at least one gradient value for a corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position in at least one sub-block of the sub-block based motion prediction signal may include: applying a gradient filter to the corresponding sample position in the at least one sub-block of the sub-block based motion prediction signal for the corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position.
[0262] In certain representative embodiments including representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may further include the encoder 100 or 300 and / or the decoder 200 or 500 determining a set of motion vector difference values associated with sample positions of a first subblock of the current block of the subblock-based motion prediction signal. In some examples, the difference values may be determined for a subblock (e.g., a first subblock) and may be reused for some or all of the other subblocks in the current block. In some examples, the set of motion vector difference values may be determined by using an affine motion model or a different motion model (e.g., another subblock-based motion model, such as an SbTMVP model), and the subblock-based motion prediction signal may be generated. As an example, the set of motion vector difference values may be determined for a first subblock of the current block and may be used to determine the motion prediction refinement signal for one or more further subblocks of the current block.
[0263] In certain representative embodiments, including representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the one or more spatial gradients of the sub-block based motion prediction signal and the set of motion vector difference values may be used to determine the motion prediction refinement signal for the current block.
[0264] In certain representative embodiments, including representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the set of motion vector differences may be determined and the sub-block based motion prediction signal may be generated using an affine motion model of the current block.
[0265] In certain representative embodiments including representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, determining the one or more spatial gradients of the sub-block based motion prediction signal may include: for one or more corresponding sub-blocks of the current block: determining an extended sub-block using the sub-block based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding sub-block; and determining the spatial gradient of the corresponding sub-block using the determined extended sub-block to determine the motion prediction refinement signal.
[0266] Fig.19 is a flowchart illustrating a third representative encoding and / or decoding method.
[0267] Reference Fig.19 , a representative method 1900 for encoding and / or decoding a video may include: at block 1910, the encoder 100 or 300 and / or the decoder 200 or 500 generates a sub-block-based motion prediction signal. At block 1920, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a set of motion vector differences associated with the sub-blocks of the current block (e.g., the set of motion vector differences may be associated with, for example, all sub-blocks of the current block). At block 1930, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a motion prediction refinement signal for the current block based on the determined set of motion vector differences. At block 1940, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal and the motion prediction refinement signal to produce or generate a refined motion prediction signal for the current block. At block 1950, the encoder 100 or 300 may encode the video using the refined motion prediction signal as a prediction for the current block, and / or the decoder 200 or 500 may decode the video using the refined motion prediction signal as a prediction for the current block. In some embodiments, the operations at blocks 1910, 1920, 1930, and 1940 may be performed for a current block, which generally refers to a block currently being encoded or decoded. In some representative embodiments, the refined motion prediction signal may be a refined motion inter-frame prediction signal generated (e.g., by the GBi encoder 300 or the GBi decoder 500), and one or more PROF operations may be used.
[0268] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, these methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, motion model parameters (e.g., one or more affine motion model parameters) of the current block of the video, so that the sub-block-based motion prediction signal can be generated using the determined motion model parameters (e.g., affine motion model parameters).
[0269] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, one or more spatial gradients of the sub-block based motion prediction signal. For example, the determining of the one or more spatial gradients of the sub-block based motion prediction signal may include: calculating at least one gradient value for a corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position in at least one sub-block of the sub-block based motion prediction signal. For example, the calculating of at least one gradient value for a corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position in at least one sub-block of the sub-block based motion prediction signal may include: applying a gradient filter to the corresponding sample position in the at least one sub-block of the sub-block based motion prediction signal for one corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position.
[0270] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, the methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, the motion prediction refinement signal for the current block using a gradient value associated with a spatial gradient of a corresponding sample position, a portion of the corresponding sample positions, or each corresponding sample position of the current block and a set of motion vector difference values determined to be associated with the sample positions of a sub-block (e.g., any sub-block) of the current block of the sub-block motion prediction signal.
[0271] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the determination of the motion prediction refinement signal for the current block may use gradient values associated with spatial gradients of one or more corresponding sample positions or each sample position of one or more sub-blocks of the current block and a determined set of motion vector difference values.
[0272] Fig. 20is a flowchart illustrating a fourth representative encoding and / or decoding method.
[0273] refer to Fig. 20 , a representative method 2000 for encoding and / or decoding a video may include: at block 2010, the encoder 100 or 300 and / or the decoder 200 or 500 generates a sub-block-based motion prediction signal using at least a first motion vector for a first sub-block of the current block and a further motion vector for a second sub-block of the current block. At block 2020, the encoder 100 or 300 and / or the decoder 200 or 500 may calculate a first set of gradient values for a first sample position in the first sub-block of the sub-block-based motion prediction signal and a different second set of gradient values for a second sample position in the first sub-block of the sub-block-based motion prediction signal. At block 2030, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a first set of motion vector difference values for the first sample position and a different second set of motion vector difference values for the second sample position. For example, the first set of motion vector difference values for the first sample position may indicate a difference between a motion vector at the first sample position and a motion vector of the first sub-block, and the second set of motion vector difference values for the second sample position may indicate a difference between a motion vector at the second sample position and a motion vector of the first sub-block. At block 2040, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a prediction refinement signal using the first and second sets of gradient values and the first and second sets of motion vector difference values. At block 2050, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal with the prediction refinement signal to generate a refined motion prediction signal. At block 2060, the encoder 100 or 300 may encode a video using the refined motion prediction signal as a prediction for the current block, and / or the decoder 200 or 500 may decode a video using the refined motion prediction signal as a prediction for the current block. In some embodiments, the operations at blocks 2010 , 2020 , 2030 , 2040 , and 2050 may be performed for a current block including a plurality of sub-blocks.
[0274] Fig.21 is a flowchart illustrating a fifth representative encoding and / or decoding method.
[0275] refer to Fig.21, a representative method 2100 for encoding and / or decoding a video may include: at block 2110, the encoder 100 or 300 and / or the decoder 200 or 500 generates a sub-block-based motion prediction signal for a current block. At block 2120, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a prediction refinement signal using optical flow information indicating a refined motion of a plurality of sample positions in the current block of the sub-block-based motion prediction signal. At block 2130, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal with the prediction refinement signal to generate a refined motion prediction signal. At block 2140, the encoder 100 or 300 may use the refined motion prediction signal as a prediction for the current block to encode the video, and / or the decoder 200 or 500 may use the refined motion prediction signal as a prediction for the current block to decode the video. For example, the current block may include a plurality of subblocks, and the subblock-based motion prediction signal may be generated using at least a first motion vector of a first subblock of the current block and a further motion vector of a second subblock of the current block.
[0276] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, a prediction refinement signal that can use optical flow information. This determination may include calculating, by the encoder 100 or 300 and / or the decoder 200 or 500, a first set of gradient values for a first sample position in the first sub-block of the sub-block-based motion prediction signal and a different second set of gradient values for a second sample position in the first sub-block of the sub-block-based motion prediction signal. A first set of motion vector difference values for the first sample position and a different second set of motion vector difference values for the second sample position may be determined. For example, the first set of motion vector difference values for the first sample position may indicate a difference between a motion vector at the first sample position and a motion vector of the first sub-block, and the second set of motion vector difference values for the second sample position may indicate a difference between a motion vector at the second sample position and a motion vector of the first sub-block. The encoder 100 or 300 and / or the decoder 200 or 500 may use the first and second sets of gradient values and the first and second sets of motion vector difference values to determine the prediction refinement signal.
[0277] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include determining, by the encoder 100 or 300 and / or the decoder 200 or 500, the prediction refinement signal that may use optical flow information. This determination may include calculating a third set of gradient values for a first sample position in a second sub-block of the sub-block-based motion prediction signal and a fourth set of gradient values for a second sample position in the second sub-block of the sub-block-based motion prediction signal. The encoder 100 or 300 and / or the decoder 200 or 500 may use the third and fourth sets of gradient values and the first and second sets of motion vector difference values to determine the prediction refinement signal for the second sub-block.
[0278] Fig. 22 is a flowchart illustrating a sixth representative encoding and / or decoding method.
[0279] refer to Fig. 22, a representative method 2200 for encoding and / or decoding a video may include: at box 2210, the encoder 100 or 300 and / or the decoder 200 or 500 determines a motion model for a current block of a video. The current block may include multiple sub-blocks. For example, the motion model may generate separate (e.g., per-sample) motion vectors for multiple sample positions in the current block. At box 2220, the encoder 100 or 300 and / or the decoder 200 or 500 may use the determined motion model to generate a sub-block-based motion prediction signal for the current block. The generated sub-block-based motion prediction signal may use a motion vector for each sub-block of the current block. At box 2230, the encoder 100 or 300 and / or the decoder 200 or 500 may calculate a gradient value by applying a gradient filter to a portion of the multiple sample positions of the sub-block-based motion prediction signal. At block 2240, the encoder 100 or 300 and / or the decoder 200 or 500 may determine motion vector difference values for the portion of the sample positions, each of which may indicate a difference between a motion vector (e.g., an individual motion vector) generated for the corresponding sample position according to the motion model and the motion vector used to generate the sub-block-based motion prediction signal for the sub-block including the corresponding sample position. At block 2250, the encoder 100 or 300 and / or the decoder 200 or 500 may use the gradient value and the motion vector difference value to determine a prediction refinement signal. At block 2260, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal with the prediction refinement signal to generate a refined motion prediction signal for the current block. In block 2270 , the encoder 100 or 300 may encode the video using the refined motion prediction signal as a prediction for the current block, and / or the decoder 200 or 500 may decode the video using the refined motion prediction signal as a prediction for the current block.
[0280] Fig.23 is a flowchart illustrating a seventh representative encoding and / or decoding method.
[0281] refer to Fig.23, a representative method 2300 for encoding and / or decoding a video may include: at box 2310, the encoder 100 or 300 and / or the decoder 200 or 500 performs sub-block-based motion compensation to generate a sub-block-based motion prediction signal as a coarse motion prediction signal. At box 2320, the encoder 100 or 300 and / or the decoder 200 or 500 may calculate one or more spatial gradients of the sub-block-based motion prediction signal at multiple sample positions. At box 2330, the encoder 100 or 300 and / or the decoder 200 or 500 may calculate the intensity change of each pixel in the current block based on the calculated spatial gradient. At box 2340, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a per-pixel motion prediction signal based on the calculated per-pixel intensity change as a refined motion prediction signal. At block 2350, the encoder 100 or 300 and / or the decoder 200 or 500 may predict the current block using the coarse motion prediction signal for each sub-block of the current block and using the refined motion prediction signal for each pixel of the current block. In some embodiments, the operations at blocks 2310, 2320, 2330, 2340, and 2350 may be performed for at least one block (e.g., the current block) in a video. For example, calculating the intensity variation of each pixel in the current block may include determining the luminance intensity variation of each pixel in the current block according to an optical flow equation. The prediction of the current block may include predicting a motion vector for each corresponding pixel in the current block by combining a coarse motion prediction vector of a sub-block including the corresponding pixel with a refined motion prediction vector relative to the coarse motion prediction vector and associated with the corresponding pixel.
[0282] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300 and 2600, the one or more spatial gradients of the sub-block-based motion prediction signal may include any of the following: a horizontal gradient and / or a vertical gradient, and for example, the horizontal gradient may be calculated as a luminance difference or a chrominance difference between a right neighboring sample of a sample of the sub-block and a left neighboring sample of the sample of the sub-block, and / or the vertical gradient may be calculated as a luminance difference or a chrominance difference between a bottom neighboring sample of the sample of the sub-block and a top neighboring sample of the sample of the sub-block.
[0283] In certain representative embodiments, including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, the one or more spatial gradients of the sub-block prediction may be generated using a Sobel filter.
[0284] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, the coarse motion prediction signal may use one of: a 4-parameter affine model or a 6-parameter affine model. For example, the sub-block based motion compensation may be one of: (1) affine sub-block based motion compensation; or (2) another compensation (e.g., sub-block based temporal motion vector prediction (SbTMVP) mode motion compensation; and / or regression based motion vector field (RMVF) mode compensation). Under the condition that motion compensation based on the SbTMVP mode is performed, the method may include: estimating affine model parameters using the sub-block motion vector field through a linear regression operation; and deriving pixel-level motion vectors using the estimated affine model parameters. Under the condition that motion compensation based on the RMVF mode is performed, the method may include: estimating affine model parameters; and deriving pixel-level motion vector offsets from sub-block level motion vectors using the estimated affine model parameters. For example, the pixel motion vector offset may be relative to the center of the sub-block (eg, the actual center or the sample position closest to the actual center). For example, the coarse motion prediction vector of the sub-block may be based on the actual center position of the sub-block.
[0285] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, the methods may include: the encoder 100 or 300 or the decoder 200 or 500 selects one of the following as the center position associated with the coarse motion prediction vector (e.g., sub-block based motion prediction vector) of each sub-block: (1) the actual center of each sub-block; or (2) one of the pixel (e.g., sample) positions closest to the center of the sub-block. For example, predicting the current block using the coarse motion prediction signal (e.g., sub-block based motion prediction signal) of the current block and using the refined motion prediction signal of each pixel (e.g., sample) of the current block may be based on the selected center position of each sub-block. For example, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a center position associated with a chroma pixel of the sub-block; and may determine an offset to the center position of the chroma pixel of the sub-block based on a chroma position sample type associated with the chroma pixel. The coarse motion prediction signal for the sub-block (e.g., the sub-block-based motion prediction signal) may be based on an actual position of the sub-block corresponding to the determined center position of the chroma pixel adjusted by the offset.
[0286] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, the methods may include the encoder 100 or 300 generating or the decoder 200 or 500 receiving information indicating whether prediction refinement using optical flow (PROF) is enabled in one of the following: (1) a sequence parameter set SPS header, (2) a picture parameter set PPS header, or (3) a tile group header. For example, under the condition that PROF is enabled, a refined motion prediction operation may be performed so that the coarse motion prediction signal (e.g., a sub-block based motion prediction signal) and the refined motion prediction signal may be used to predict the current block. As another example, under the condition that PROF is not enabled, the refined motion prediction operation is not performed so that only the coarse motion prediction signal (e.g., a sub-block based motion prediction signal) may be used to predict the current block.
[0287] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300 and 2600, these methods may include the encoder 100 or 300 and / or the decoder 200 or 500 determining whether to perform a refined motion prediction operation on the current block or to perform a refined motion prediction operation in the affine motion estimation based on properties of the current block and / or properties of the affine motion estimation.
[0288] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, these methods may include encoder 100 or 300 and / or decoder 200 or 500 determining whether to perform a refined motion prediction operation on the current block or to perform a refined motion prediction operation in the affine motion estimation based on properties of the current block and / or properties of the affine motion estimation. For example, determining whether to perform a refined motion prediction operation on the current block based on the properties of the current block may include determining whether to perform a refined motion prediction operation on the current block based on any of the following: (1) a size of the current block exceeds a certain size; and / or (2) a control point motion vector (CPMV) difference exceeds a threshold.
[0289] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, and 2600, the methods may include the encoder 100 or 300 and / or the decoder 200 or 500 applying a first deblocking filter to one or more boundaries of a subblock of the current block that coincide with a transform unit boundary, and applying a second different deblocking filter to other boundaries of the subblock of the current block that do not coincide with any transform unit boundary. For example, the first deblocking filter may be a stronger deblocking filter than the second deblocking filter.
[0290] Fig.24 is a flowchart illustrating an eighth representative encoding and / or decoding method.
[0291] refer to Fig.24 , a representative method 2400 for encoding and / or decoding a video may include: at block 2410, the encoder 100 or 300 and / or the decoder 200 or 500 performs sub-block-based motion compensation to generate a sub-block-based motion prediction signal as a coarse motion prediction signal. At block 2420, the encoder 100 or 300 and / or the decoder 200 or 500 may determine, for each corresponding boundary sample of a sub-block of the current block, one or more reference samples corresponding to samples adjacent to the corresponding boundary sample and surrounding the sub-block as surrounding reference samples, and may use the surrounding reference samples and samples of the sub-block adjacent to the corresponding boundary sample to determine one or more spatial gradients associated with the corresponding boundary sample. At block 2430, the encoder 100 or 300 and / or the decoder 200 or 500 may use samples of the sub-block adjacent to the corresponding non-boundary sample to determine, for each corresponding non-boundary sample in the sub-block, one or more spatial gradients associated with the corresponding non-boundary sample. At block 2440, the encoder 100 or 300 and / or the decoder 200 or 500 may calculate the intensity change per pixel in the current block using the determined spatial gradient of the sub-block. At block 2450, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a per-pixel motion prediction signal based on the calculated per-pixel intensity change as a refined motion prediction signal. At block 2460, the encoder 100 or 300 and / or the decoder 200 or 500 may predict the current block using the coarse motion prediction signal associated with each sub-block of the current block and using the refined motion prediction signal associated with each pixel of the current block. In some embodiments, the operations at blocks 2410, 2420, 2430, 2440, 2450, and 2460 may be performed for at least one block in a video (e.g., the current block).
[0292] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, 2400 and 2600, the determination of the one or more spatial gradients of the boundary samples and the non-boundary samples may include: calculating the one or more spatial gradients using any of the following: (1) a vertical Sobel filter; (2) a horizontal Sobel filter; or (3) a 3-tap filter.
[0293] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, 2400 and 2600, the methods may include the encoder 100 or 300 and / or the decoder 200 or 500 copying surrounding reference samples from a reference repository without any further operation, and the determination of the one or more spatial gradients associated with the corresponding boundary samples may use the copied surrounding reference samples to determine the one or more spatial gradients associated with the corresponding boundary samples.
[0294] Fig.25 is a flowchart showing a representative gradient calculation method.
[0295] refer to Fig.25 A representative method 2500 for calculating the gradient of a sub-block using reference samples corresponding to samples adjacent to a boundary of the sub-block (e.g., used in encoding and / or decoding a video) may include: at block 2510, the encoder 100 or 300 and / or the decoder 200 or 500 determines, for each corresponding boundary sample of the sub-block of the current block, one or more reference samples corresponding to samples adjacent to the corresponding boundary sample and surrounding the sub-block as surrounding reference samples, and uses the surrounding reference samples and samples adjacent to the corresponding boundary sample of the sub-block to determine one or more spatial gradients associated with the corresponding boundary sample. At block 2520, the encoder 100 or 300 and / or the decoder 200 or 500 may determine, for each corresponding non-boundary sample in the sub-block, one or more spatial gradients associated with the corresponding non-boundary sample using samples of the sub-block adjacent to the corresponding non-boundary sample. In some embodiments, the operations at blocks 2510 and 2520 may be performed for at least one block in a video (e.g., the current block).
[0296] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, 2400, 2500, and 2600, the determined one or more spatial gradients may be used to predict the current block by any of: (1) a prediction refinement (PROF) operation utilizing optical flow; (2) a bidirectional optical flow operation; or (3) an affine motion estimation operation.
[0297] Fig.26 is a flowchart illustrating a ninth representative encoding and / or decoding method.
[0298] refer to Fig.26 , a representative method 2600 for encoding and / or decoding a video may include: at box 2610, the encoder 100 or 300 and / or the decoder 200 or 500 generates a sub-block-based motion prediction signal for a current block of a video. For example, the current block may include multiple sub-blocks. At box 2620, the encoder 100 or 300 and / or the decoder 200 or 500 may determine an extended sub-block for one or more or each corresponding sub-block of the current block using the sub-block-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding sub-block, and determine the spatial gradient of the corresponding sub-block using the determined extended sub-block. At box 2630, the encoder 100 or 300 and / or the decoder 200 or 500 may determine a motion prediction refinement signal for the current block based on the determined spatial gradient. At block 2640, the encoder 100 or 300 and / or the decoder 200 or 500 may combine (e.g., add or subtract, etc.) the sub-block-based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block. At block 2650, the encoder 100 or 300 may encode a video using the refined motion prediction signal as a prediction for the current block, and / or the decoder 200 or 500 may decode a video using the refined motion prediction signal as a prediction for the current block. In some embodiments, the operations at blocks 2610, 2620, 2630, 2640, and 2650 may be performed for at least one block in a video (e.g., the current block).
[0299] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include the encoder 100 or 300 and / or the decoder 200 or 500 copying the neighboring reference samples from a reference repository without any further manipulation. For example, the determination of the spatial gradient of the corresponding sub-block may use the copied neighboring reference samples to determine a gradient value associated with a sample position on a boundary of the corresponding sub-block. The neighboring reference samples of the extended block may be copied from the nearest integer position in a reference picture containing the current block. In some examples, the neighboring reference samples of the extended block have the nearest integer motion vector rounded from the original precision.
[0300] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, these methods may include the encoder 100 or 300 and / or the decoder 200 or 500 determining affine motion model parameters for the current block of the video so that the determined affine motion model parameters can be used to generate the sub-block based motion prediction signal.
[0301] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2300, 2500, and 2600, the determining of the spatial gradient of the corresponding sub-block may include: calculating at least one gradient value for each corresponding sample position in the corresponding sub-block. For example, the calculating of the at least one gradient value for each corresponding sample position in the corresponding sub-block may include: applying a gradient filter to the corresponding sample position in the corresponding sub-block for each corresponding sample position. As another example, the calculating of the at least one gradient value for each corresponding sample position in the corresponding sub-block may include: determining an intensity change of each corresponding sample position in the corresponding sub-block according to an optical flow equation.
[0302] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, these methods may include encoder 100 or 300 and / or decoder 200 or 500 determining a set of motion vector difference values associated with the sample positions of the respective sub-blocks. For example, by using an affine motion model of the current block, the sub-block-based motion prediction signal may be generated and the set of motion vector difference values may be determined.
[0303] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the set of motion vector difference values may be determined for the corresponding sub-block of the current block, and the set of motion vector difference values may be used to determine motion prediction refinement signals for other remaining sub-blocks of the current block.
[0304] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the determination of the spatial gradient of the corresponding sub-block may include: calculating the spatial gradient using any of: (1) a vertical Sobel filter; (2) a horizontal Sobel filter; and / or (3) a 3-tap filter.
[0305] In certain representative embodiments, including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, neighboring reference samples adjacent to and surrounding the respective sub-block may use integer motion compensation.
[0306] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the spatial gradient of the corresponding sub-block may include any of the following: a horizontal gradient or a vertical gradient. For example, the horizontal gradient may be calculated as a luminance difference or a chrominance difference between a right neighboring sample of the corresponding sample and a left neighboring sample of the corresponding sample; and / or the vertical gradient may be calculated as a luminance difference or a chrominance difference between a bottom neighboring sample of the corresponding sample and a top neighboring sample of the corresponding sample.
[0307] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the sub-block-based motion prediction signal may be generated using any of the following: (1) a 4-parameter affine model; (2) a 6-parameter affine model; (3) sub-block-based temporal motion vector prediction (SbTMVP) mode motion compensation; or (4) regression-based motion compensation. For example, under the condition that SbTMVP mode motion compensation is performed, the method may include: estimating affine model parameters using a sub-block motion vector field through a linear regression operation; and / or deriving pixel-level motion vectors using the estimated affine model parameters. As another example, under the condition that RMVF mode-based motion compensation is performed, the method may include: estimating affine model parameters; and / or deriving pixel-level motion vector offsets from sub-block-level motion vectors using the estimated affine model parameters. The pixel motion vector offsets may be relative to the center of the corresponding sub-block.
[0308] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the refined motion prediction signal for the respective sub-block may be based on an actual center position of the respective sub-block or may be based on a sample position closest to the actual center of the respective sub-block.
[0309] For example, the methods may include the encoder 100 or 300 and / or the decoder 200 or 500 selecting as the center position associated with the motion prediction vector for each respective subblock: (1) the actual center of each respective subblock, or (2) the sample position closest to the actual center of the respective subblock. The refined motion prediction signal may be based on the selected center position of each subblock.
[0310] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, and 2600, the methods may include encoder 100 or 300 and / or decoder 200 or 500 determining a center position associated with a chroma pixel of the corresponding sub-block; and determining an offset to the center position of the chroma pixel of the corresponding sub-block based on a chroma position sample type associated with the chroma pixel. The refined motion prediction signal for the corresponding sub-block may be based on an actual position of the sub-block corresponding to the determined center position of the chroma pixel adjusted by the offset.
[0311] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200 and 2600, the encoder 100 or 300 may generate and send information indicating whether prediction refinement (PROF) using optical flow is enabled in one of the following: (1) a sequence parameter set SPS header, (2) a picture parameter set PPS header, or (3) a tile group header, and / or the decoder 200 or 500 may receive information indicating whether PROF is enabled in one of the following: (1) the SPS header, (2) the PPS header, or (3) a tile group header.
[0312] Fig. 27 is a flowchart illustrating a tenth representative encoding and / or decoding method.
[0313] refer to Fig. 27, a representative method 2700 for encoding and / or decoding a video may include: at block 2710, the encoder 100 or 300 and / or the decoder 200 or 500 determines an actual center position of each corresponding sub-block of the current block. At block 2720, the encoder 100 or 300 and / or the decoder 200 or 500 may generate a sub-block-based motion prediction signal or a refined motion prediction signal using the actual center position of each corresponding sub-block of the current block. At block 2730, (1) the encoder 100 or 300 may use the sub-block-based motion prediction signal or the generated refined motion prediction signal as a prediction of the current block to encode the video, or (2) the decoder 200 or 500 may use the sub-block-based motion prediction signal or the generated refined motion prediction signal as a prediction of the current block to decode the video. In some embodiments, the operations at blocks 2710, 2720, and 2730 may be performed for at least one block in the video (e.g., the current block). For example, the determination of the actual center position of each corresponding sub-block of the current block may include: determining, based on the chroma position sample type of the chroma pixel, a chroma center position associated with the chroma pixel of the corresponding sub-block and an offset of the chroma center position relative to the center position of the corresponding sub-block. The sub-block-based motion prediction signal or the refined motion prediction signal for the corresponding sub-block may be based on the actual center position of the corresponding sub-block, which corresponds to the determined chroma center position adjusted by the offset. Although the actual center of each corresponding sub-block of the current block is described as being determined / used for various operations, it is contemplated that one, a portion, or all of the center positions of such sub-blocks may be determined / used.
[0314] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700, and 2800, the generation of the refined motion prediction signal may be performed using the sub-block-based motion prediction signal by: determining one or more spatial gradients of the sub-block-based motion prediction signal for each corresponding sub-block of the current block, determining a motion prediction refinement signal for the current block based on the determined spatial gradients, and / or combining the sub-block-based motion prediction signal with the motion prediction refinement signal to generate the refined motion prediction signal for the current block. For example, the determination of the one or more spatial gradients of the sub-block-based motion prediction signal may include: determining an extended sub-block using the sub-block-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding sub-block, and / or determining the one or more spatial gradients of the corresponding sub-block using the determined extended sub-block.
[0315] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700, and 2800, the determining of the spatial gradient of the corresponding sub-block may include: calculating at least one gradient value for each corresponding sample position in the corresponding sub-block. For example, the calculating of the at least one gradient value for each corresponding sample position in the corresponding sub-block may include: for each corresponding sample position, applying a gradient filter to the corresponding sample position in the corresponding sub-block.
[0316] As another example, calculating the at least one gradient value of each corresponding sample position in the corresponding sub-block may include: determining intensity changes of one or more corresponding sample positions in the corresponding sub-block according to an optical flow equation.
[0317] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700, and 2800, the methods may include encoder 100 or 300 and / or decoder 200 or 500 determining a set of motion vector difference values associated with the sample positions of the corresponding sub-block. The sub-block-based motion prediction signal may be generated using an affine motion model of the current block, and the set of motion vector difference values may be determined. In some examples, the set of motion vector difference values may be determined for the corresponding sub-block of the current block, and the set of motion vector difference values may be used (e.g., reused) to determine a motion prediction refinement signal for the sub-block and other remaining sub-blocks of the current block. For example, determining the spatial gradient of the corresponding sub-block may include calculating the spatial gradient using any of the following: (1) a vertical Sobel filter; (2) a horizontal Sobel filter; and / or (3) a 3-tap filter. Neighboring reference samples adjacent to and surrounding the corresponding sub-block may use integer motion compensation.
[0318] In some embodiments, the spatial gradient of the corresponding sub-block may include any of the following: a horizontal gradient or a vertical gradient. For example, the horizontal gradient may be calculated as a luminance difference or a chrominance difference between a right neighboring sample of the corresponding sample and a left neighboring sample of the corresponding sample. As another example, the vertical gradient may be calculated as a luminance difference or a chrominance difference between a bottom neighboring sample of the corresponding sample and a top neighboring sample of the corresponding sample.
[0319] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700, and 2800, the sub-block-based motion prediction signal may be generated using any of the following: (1) a 4-parameter affine model; (2) a 6-parameter affine model; (3) sub-block-based temporal motion vector prediction (SbTMVP) mode motion compensation; and / or (4) regression-based motion compensation. For example, under the condition that SbTMVP mode motion compensation is performed, the method may include: estimating affine model parameters using a sub-block motion vector field through a linear regression operation; and / or deriving pixel-level motion vectors using the estimated affine model parameters. As another example, under the condition that motion compensation based on regression motion vector field (RMVF) mode is performed, the method may include: estimating affine model parameters; and / or deriving pixel-level motion vector offsets from sub-block-level motion vectors using the estimated affine model parameters, wherein the pixel motion vector offsets are relative to the center of the corresponding sub-block.
[0320] In certain representative embodiments, including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700, and 2800, the refined motion prediction signal may be generated using a plurality of motion vectors associated with control points of the current block.
[0321] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, 2700 and 2800, the encoder 100 or 300 may generate, encode and send information in one of the following, and the decoder 200 or 500 may receive and decode the information in one of the following, the information indicating whether prediction refinement (PROF) using optical flow is enabled: (1) a sequence parameter set SPS header, (2) a picture parameter set PPS header, or (3) a tile group header.
[0322] Fig.28 is a flowchart illustrating an eleventh representative encoding and / or decoding method.
[0323] refer to Fig.28, a representative method 2800 for encoding and / or decoding video may include: at box 2810, the encoder 100 or 300 and / or the decoder 200 or 500 selects one of the following as the center position associated with the motion prediction vector of each corresponding sub-block: (1) the actual center of each corresponding sub-block, or (2) the sample position closest to the actual center of the corresponding sub-block. At box 2820, the encoder 100 or 300 and / or the decoder 200 or 500 may determine the selected center position of each corresponding sub-block of the current block. At box 2830, the encoder 100 or 300 and / or the decoder 200 or 500 may use the selected center position of each corresponding sub-block of the current block to generate a sub-block-based motion prediction signal or a refined motion prediction signal. At block 2840, (1) the encoder 100 or 300 may encode the video using the sub-block based motion prediction signal or the generated refined motion prediction signal as a prediction for the current block, or (2) the decoder 200 or 500 may decode the video using the sub-block based motion prediction signal or the generated refined motion prediction signal as a prediction for the current block. In some embodiments, the operations at blocks 2810, 2820, 2830, and 2840 may be performed for at least one block in the video (e.g., the current block). Although the selection of the center position is described with respect to each corresponding sub-block of the current block, it is contemplated that one, a portion, or all of the center positions of such sub-blocks may be selected / used in various operations.
[0324] Fig.29 is a flowchart illustrating a representative encoding method.
[0325] See also Fig.29 , a representative method 2900 for encoding a video may include: at block 2910, the encoder 100 or 300 performs motion estimation on a current block of the video, which includes determining affine motion model parameters of the current block using an iterative motion compensation operation, and generating a sub-block-based motion prediction signal for the current block using the determined affine motion model parameters. At block 2920, after performing motion estimation on the current block, the encoder 100 or 300 may perform a prediction refinement with optical flow (PROF) operation to generate a refined motion prediction signal. At block 2930, the encoder 100 or 300 may encode the video using the refined motion prediction signal as a prediction for the current block. For example, the PROF operation may include: determining one or more spatial gradients of the sub-block-based motion prediction signal; determining a motion prediction refinement signal for the current block based on the determined spatial gradients; and / or combining the sub-block-based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block.
[0326] In certain representative embodiments including at least representative methods 1800, 1850, 1900, 2000, 2100, 2200, 2600, and 2900, the PROF operation may be performed after (e.g., only after) an iterative motion compensation operation is completed. For example, the PROF operation is not performed during motion estimation of the current block.
[0327] Fig.30 is a flowchart illustrating another representative encoding method.
[0328] See also Fig.30 , a representative method 3000 for encoding a video may include: at box 3010, the encoder 100 or 300, during motion estimation of the current block, determines affine motion model parameters using an iterative motion compensation operation, and generates a sub-block based motion prediction signal using the determined affine motion model parameters. At box 3020, after the motion estimation of the current block, the encoder 100 or 300 may perform a prediction refinement (PROF) operation using optical flow to generate a refined motion prediction signal if the size of the current block meets or exceeds a threshold size. At box 3030, the encoder 100 or 300 may encode the video by: (1) using the refined motion prediction signal as a prediction for the current block if the current block meets or exceeds the threshold size, or (2) using the sub-block based motion prediction signal as a prediction for the current block if the current block does not meet the threshold size.
[0329] Fig.31 is a flowchart illustrating a twelfth representative encoding / decoding method.
[0330] refer to Fig.31, a representative method 3100 for encoding and / or decoding a video may include: at block 3110, the encoder 100 or 300 determines or obtains information indicating the size of a current block, or the decoder 200 or 500 receives information indicating the size of a current block. At block 3120, the encoder 100 or 300 or the decoder 200 or 500 may generate a sub-block-based motion prediction signal. At block 3130, under the condition that the size of the current block meets or exceeds a threshold size, the encoder 100 or 300 or the decoder 200 or 500 may perform a prediction refinement (PROF) operation using optical flow to generate a refined motion prediction signal. At box 3140, the encoder 100 or 300 can encode the video by: (1) using the refined motion prediction signal as a prediction for the current block when the current block meets or exceeds a threshold size, or (2) using the sub-block based motion prediction signal as a prediction for the current block when the current block does not meet the threshold size, or the decoder 200 or 500 can decode the video by: (1) using the refined motion prediction signal as a prediction for the current block when the current block meets or exceeds the threshold size, or (2) using the sub-block based motion prediction signal as a prediction for the current block when the current block does not meet the threshold size.
[0331] Fig.32 is a flowchart illustrating a thirteenth representative encoding / decoding method.
[0332] refer to Fig.32, a representative method 3200 for encoding and / or decoding a video may include: at box 3210, the encoder 100 or 300 determines whether to perform pixel-level motion compensation, or the decoder 200 or 500 receives a flag indicating whether to perform pixel-level motion compensation. At box 3220, the encoder 100 or 300 or the decoder 200 or 500 may generate a sub-block-based motion prediction signal. At box 3230, under the condition that the pixel-level motion compensation is to be performed, the encoder 100 or 300 or the decoder 200 or 500 may: determine one or more spatial gradients of the sub-block-based motion prediction signal, determine a motion prediction refinement signal of the current block based on the determined spatial gradients, and combine the sub-block-based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal of the current block. At block 3240, according to whether the pixel-level motion compensation is to be performed, the encoder 100 or 300 may use the sub-block-based motion prediction signal or the refined motion prediction signal as a prediction for the current block to encode the video, or the decoder 200 or 500 may use the sub-block-based motion prediction signal or the refined motion prediction signal as a prediction for the current block to decode the video according to the indication of the flag. In some embodiments, the operations at blocks 3220 and 3230 may be performed for a block in the video (e.g., the current block).
[0333] Fig.33 is a flowchart illustrating a fourteenth representative encoding / decoding method.
[0334] refer to Fig.33, a representative method 3300 for encoding and / or decoding a video may include: at block 3310, the encoder 100 or 300 determines or obtains or the decoder 200 or 500 receives information indicating inter-frame prediction weights, which indicates one or more weights associated with first and second reference pictures. At block 3320, the encoder 100 or 300 or the decoder 200 or 500 may generate a sub-block-based inter-frame prediction signal for a current block of the video, may determine a first set of spatial gradients associated with the first reference picture and a second set of spatial gradients associated with the second reference picture, may determine an inter-frame prediction refinement signal for the current block based on the first set of spatial gradients and the second set of spatial gradients and the inter-frame prediction weight information, and may combine the sub-block-based inter-frame prediction signal and the inter-frame prediction refinement signal to generate a refined inter-frame prediction signal for the current block. In block 3330, the encoder 100 or 300 may encode the video using the refined inter-motion prediction signal as a prediction for the current block, or the decoder 200 or 500 may decode the video using the refined inter-motion prediction signal as a prediction for the current block. For example, the inter-frame prediction weight information is any of the following: (1) an indicator indicating a first weighting factor to be applied to the first reference picture and / or a second weighting factor to be applied to the second reference picture; or (2) a weight index. In some embodiments, the inter-motion prediction refinement signal for the current block may be based on: (1) a first gradient value derived from the first set of spatial gradients and weighted according to a first weight factor indicated by the inter-frame prediction weight information, and (2) a second gradient value derived from the second set of spatial gradients and weighted according to a second weight factor indicated by the inter-frame prediction weight information.
[0335] Example network for implementation of embodiments
[0336] Fig.34A3400 is a schematic diagram showing an exemplary communication system 3400 in which one or more disclosed embodiments may be implemented. The communication system 3400 may be a multiple access system that provides content such as voice, data, video, messaging, broadcast, etc. to multiple wireless users. The communication system 3400 may enable multiple wireless users to access such content by sharing system resources including wireless bandwidth. For example, the communication system 3400 may use one or more channel access methods such as code division multiple access (CDMA), time division multiple access (TDMA), frequency division multiple access (FDMA), orthogonal FDMA (OFDMA), single carrier FDMA (SC-FDMA), zero tail unique word DFT-spread OFDM (ZT UW DTS-s OFDM), unique word OFDM (UW-OFDM), resource block filtered OFDM, and filter bank multi-carrier (FBMC), etc.
[0337] like Fig.34A As shown, the communication system 3400 may include wireless transmit / receive units (WTRUs) 3402a, 3402b, 3402c, 3402d, RAN 3404 / 3413, CN 3406 / 3415, public switched telephone network (PSTN) 3408, Internet 3410 and other networks 3412, however it should be appreciated that the disclosed embodiments contemplate any number of WTRUs, base stations, networks, and / or network components. Each of the WTRUs 3402a, 3402b, 3402c, 3402d may be any type of device configured to operate and / or communicate in a wireless environment. For example, any of the WTRUs 3402a, 3402b, 3402c, 3402d may be referred to as a “station” and / or “STA”, which may be configured to transmit and / or receive wireless signals, and may include a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a subscription-based unit, a pager, a cellular phone, a personal digital assistant (PDA), a smart phone, a laptop, a netbook, a personal computer, a wireless sensor, a hotspot or Mi-Fi device, an Internet of Things (IoT) device, a watch or other wearable device, a head-mounted display (HMD), a vehicle, a drone, medical devices and applications (e.g., remote surgery), industrial devices and applications (e.g., robots and / or other wireless devices working in an industrial and / or automated process chain environment), consumer electronic devices, and devices working on a commercial and / or industrial wireless network, etc. Any of the WTRUs 3402a, 3402b, 3402c, 3402d may be interchangeably referred to as a UE.
[0338] The communication system 3400 may also include a base station 3414a and / or a base station 3414b. Each of the base stations 3414a, 3414b may be any type of device configured to facilitate access to one or more communication networks (e.g., CN 3406 / 3415, Internet 3410, and / or other networks 3412) by wirelessly interfacing with at least one of the WTRUs 3402a, 3402b, 3402c, 3402d. For example, the base stations 3414a, 3414b may be base transceiver stations (BTS), node Bs, e-node Bs (terminals), home node Bs (HNBs), home e-node Bs (HeNBs), gNBs, NR node Bs, site controllers, access points (APs), wireless routers, and the like. Although each of the base stations 3414a, 3414b is described as a single component, it should be appreciated that the base stations 3414a, 3414b may include any number of interconnected base stations and / or network components.
[0339] Base station 3414a may be part of RAN 3404 / 3413, and the RAN may also include other base stations and / or network components (not shown), such as base station controllers (BSCs), radio network controllers (RNCs), relay nodes, and the like. Base station 3414a and / or base station 3414b may be configured to transmit and / or receive wireless signals on one or more carrier frequencies called cells (not shown). These frequencies may be in a licensed spectrum, an unlicensed spectrum, or a combination of licensed and unlicensed spectrum. A cell may provide wireless service coverage for a specific geographic area that is relatively fixed or may change over time. A cell may be further divided into cell sectors. For example, a cell associated with base station 3414a may be divided into three sectors. Thus, in one embodiment, base station 3414a may include three transceivers, that is, each transceiver corresponds to a sector of the cell. In an embodiment, base station 3414a may use multiple-input multiple-output (MIMO) technology, and may use multiple transceivers for each sector of the cell. For example, by using beamforming, signals may be transmitted and / or received in a desired spatial direction.
[0340] The base stations 3414a, 3414b may communicate with one or more of the WTRUs 3402a, 3402b, 3402c, 3402d over an air interface 3416, which may be any suitable wireless communication link (e.g., radio frequency (RF), microwave, centimeter wave, millimeter wave, infrared (IR), ultraviolet (UV), visible light, etc.). The air interface 3416 may be established using any suitable radio access technology (RAT).
[0341] More specifically, as described above, the communication system 3400 may be a multiple access system and may use one or more channel access schemes, such as CDMA, TDMA, FDMA, OFDMA, and SC-FDMA, among others. For example, the base station 3414a in the RAN 3404 / 3413 and the WTRUs 3402a, 3402b, 3402c may implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which may use Wideband CDMA (WCDMA) to establish an air interface 3415 / 3416 / 3417. WCDMA may include communication protocols such as High Speed Packet Access (HSPA) and / or Evolved HSPA (HSPA+). HSPA may include High Speed Downlink (DL) Packet Access (HSDPA) and / or High Speed UL Packet Access (HSUPA).
[0342] In an embodiment, the base station 3414a and the WTRUs 3402a, 3402b, 3402c may implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which may establish the air interface 3416 using Long Term Evolution (LTE) and / or Advanced LTE (LTE-A) and / or Advanced LTE Pro (LTE-APro).
[0343] In an embodiment, the base station 3414a and the WTRUs 3402a, 3402b, 3402c may implement a radio technology that may establish the air interface 3416 using New Radio (NR), such as NR radio access.
[0344] In an embodiment, the base station 3414a and the WTRUs 3402a, 3402b, 3402c may implement multiple radio access technologies. For example, the base station 3414a and the WTRUs 3402a, 3402b, 3402c may jointly implement LTE radio access and NR radio access (e.g., using dual connectivity (DC) principles). Thus, the air interface used by the WTRUs 3402a, 3402b, 3402c may be characterized by multiple types of radio access technologies and / or transmissions sent to / from multiple types of base stations (e.g., terminals and gNBs).
[0345] In other embodiments, the base station 3414a and the WTRUs 3402a, 3402b, 3402c may implement radio technologies such as IEEE 802.11 (i.e., Wireless Fidelity (WiFi)), IEEE 802.16 (Worldwide Interoperability for Microwave Access (WiMAX)), CDMA2000, CDMA2000 1X, CDMA2000 EV-DO, Interim Standard 2000 (IS-2000), Interim Standard 95 (IS-95), Interim Standard 856 (IS-856), Global System for Mobile Communications (GSM), Enhanced Data Rates for GSM Evolution (EDGE), and GSM EDGE (GERAN), among others.
[0346] Fig.34A The base station 3414b in can be, for example, a wireless router, a Home Node B, a Home eNode B, or an access point, and can use any appropriate RAT to facilitate wireless connectivity in a local area, such as a business place, a residence, a vehicle, a campus, an industrial facility, an air corridor (e.g., for use by drones), and a road, etc. In one embodiment, the base station 3414b and the WTRUs 3402c, 3402d can establish a wireless local area network (WLAN) by implementing a radio technology such as IEEE 802.11. In an embodiment, the base station 3414b and the WTRUs 3402c, 3402d can establish a wireless personal area network (WPAN) by implementing a radio technology such as IEEE 802.15. In another embodiment, the base station 3414b and the WTRUs 3402c, 3402d can establish a microcell or a femtocell by using a cellular-based RAT (e.g., WCDMA, CDMA2000, GSM, LTE, LTE-A, LTE-A Pro, NR, etc.). Fig.34A As shown, base station 3414b can be directly connected to Internet 3410. Therefore, base station 3414b does not need to access Internet 3410 via CN 3406 / 3415.
[0347] The RAN 3404 / 3413 may communicate with the CN 3406 / 3415, which may be any type of network configured to provide voice, data, applications and / or Voice over Internet Protocol (VoIP) services to one or more of the WTRUs 3402a, 3402b, 3402c, 3402d. The data may have different quality of service (QoS) requirements, such as different throughput requirements, latency requirements, fault tolerance requirements, reliability requirements, data throughput requirements, mobility requirements, etc. The CN 3406 / 3415 may provide call control, billing services, mobile location-based services, prepaid calls, Internet connectivity, video distribution, etc., and / or may perform advanced security functions such as user authentication. Although in Fig.34A It is not shown, but it should be understood that the RAN 1084 / 3413 and / or the CN 3406 / 3415 may communicate directly or indirectly with other RANs that employ the same RAT or different RATs as the RAN 3404 / 3413. For example, in addition to being connected to the RAN 3404 / 3413 employing NR radio technology, the CN 3406 / 3415 may also communicate with other RANs (not shown) employing GSM, UMTS, CDMA 2000, WiMAX, E-UTRA or WiFi radio technology.
[0348] The CN 3406 / 3415 may also act as a gateway for the WTRUs 3402a, 3402b, 3402c, 3402d to access the PSTN 3408, the Internet 3410, and / or other networks 3412. The PSTN 3408 may include a circuit-switched telephone network that provides plain old telephone service (POTS). The Internet 3410 may include a global system of interconnected computer network devices that use common communication protocols, such as TCP, User Datagram Protocol (UDP), and / or IP in the Transmission Control Protocol / Internet Protocol (TCP / IP) Internet Protocol Suite. The network 3412 may include a wired or wireless communication network owned and / or operated by other service providers. For example, the network 3412 may include another CN connected to one or more RANs, wherein the one or more RANs may use the same RAT or a different RAT as the RAN 3404 / 3413.
[0349] Some or all of the WTRUs 3402a, 3402b, 3402c, 3402d in the communication system 3400 may include multi-mode capabilities (e.g., the WTRUs 3402a, 3402b, 3402c, 3402d may include multiple transceivers for communicating with different wireless networks over different wireless links). Fig.34AThe WTRU 3402c shown may be configured to communicate with the base station 3414a, which may employ a cellular-based radio technology, and with the base station 3414b, which may employ an IEEE 802 radio technology.
[0350] Fig.34B is a system diagram showing an exemplary WTRU 3402. Fig.34B As shown, the WTRU 3402 may include a processor 3418, a transceiver 3420, a transmit / receive element 3422, a speaker / microphone 3424, a keyboard 3426, a display / touchpad 3428, non-removable memory 3430, removable memory 3432, a power source 3434, a global positioning system (GPS) chipset 3436, and / or peripherals 3438. It should be appreciated that the WTRU 3402 may include any sub-combination of the foregoing elements while remaining consistent with an embodiment.
[0351] The processor 3418 may be a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a plurality of microprocessors, one or more microprocessors associated with a DSP core, a controller, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) circuit, any other type of integrated circuit (IC), a state machine, and the like. The processor 3418 may perform signal coding, data processing, power control, input / output processing, and / or any other functionality that enables the WTRU 3402 to operate in a wireless environment. The processor 3418 may be coupled to the transceiver 3420, which may be coupled to the transmit / receive element 3422. Although Fig.34B The processor 3418 and the transceiver 3420 are depicted as separate components, however it should be appreciated that the processor 3418 and the transceiver 3420 may also be integrated together in an electronic component or chip. The processor 3418 may be configured to encode or decode video (eg, video frames).
[0352] The transmit / receive component 3422 may be configured to transmit or receive signals to or from a base station (e.g., base station 3414a) via the air interface 3416. For example, in one embodiment, the transmit / receive component 3422 may be an antenna configured to transmit and / or receive RF signals. As an example, in another embodiment, the transmit / receive component 3422 may be an emitter / detector configured to transmit and / or receive IR, UV, or visible light signals. In yet another embodiment, the transmit / receive component 3422 may be configured to transmit and / or receive RF and light signals. It should be appreciated that the transmit / receive component 3422 may be configured to transmit and / or receive any combination of wireless signals.
[0353] Although in Fig.34B 3402 as a single component, but the WTRU 3402 may include any number of transmit / receive components 3422. More specifically, the WTRU 3402 may employ MIMO technology. Thus, in one embodiment, the WTRU 3402 may include two or more transmit / receive components 3422 (e.g., multiple antennas) for transmitting and receiving wireless signals over the air interface 3416.
[0354] The transceiver 3420 may be configured to modulate signals to be transmitted by the transmit / receive component 3422 and to demodulate signals received by the transmit / receive component 3422. As described above, the WTRU 3402 may have multi-mode capabilities. Thus, the transceiver 3420 may include multiple transceivers that allow the WTRU 3402 to communicate via multiple RATs (e.g., NR and IEEE 802.11).
[0355] The processor 3418 of the WTRU 3402 may be coupled to a speaker / microphone 3424, a numeric keypad 3426, and / or a display / touchpad 3428 (e.g., a liquid crystal display (LCD) display unit or an organic light emitting diode (OLED) display unit), and may receive user input data from these components. The processor 3418 may also output user data to the speaker / microphone 3424, the keypad 3426, and / or the display / touchpad 3428. In addition, the processor 3418 may access information from and store information in any suitable memory such as a non-removable memory 3430 and / or a removable memory 3432. The non-removable memory 3430 may include a random access memory (RAM), a read-only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 3432 may include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, and the like. In other embodiments, the processor 3418 may access information from, and store data in, memory that is not physically located on the WTRU 3402, such as, for example, on a server or a home computer (not shown).
[0356] The processor 3418 may receive power from the power source 3434 and may be configured to distribute and / or control power for other components in the WTRU 3402. The power source 3434 may be any suitable device for powering the WTRU 3402. For example, the power source 3434 may include one or more dry cell batteries (e.g., nickel-cadmium (Ni-Cd), nickel-zinc (Ni-Zn), nickel-metal hydride (NiMH), lithium-ion (Li-ion), etc.), solar cells, fuel cells, and the like.
[0357] The processor 3418 may also be coupled to a GPS chipset 3436, which may be configured to provide location information (e.g., longitude and latitude) related to the current location of the WTRU 3402. In addition to or in lieu of the information from the GPS chipset 3436, the WTRU 3402 may receive location information from a base station (e.g., base stations 3414a, 3414b) via the air interface 3416 and / or determine its location based on the timing of signals received from two or more nearby base stations. It should be appreciated that the WTRU 3402 may acquire location information via any suitable positioning method while remaining consistent with an embodiment.
[0358] The processor 3418 may also be coupled to other peripheral devices 3438, wherein the peripheral devices may include one or more software and / or hardware modules that provide additional features, functions, and / or wired or wireless connectivity. For example, the peripheral devices 3438 may include an accelerometer, an electronic compass, a satellite transceiver, a digital camera (for photos and / or video), a universal serial bus (USB) port, a vibration device, a television transceiver, a hands-free headset, Modules, FM radio units, digital music players, media players, video game console modules, Internet browsers, virtual reality and / or augmented reality (VR / AR) devices, and activity trackers, etc. The peripherals 3438 may include one or more sensors, which may be one or more of the following: gyroscopes, accelerometers, Hall effect sensors, magnetometers, orientation sensors, proximity sensors, temperature sensors, time sensors, geographic location sensors, altimeters, light sensors, touch sensors, magnetometers, barometers, gesture sensors, biometric sensors, and / or humidity sensors, etc.
[0359] The processor 3418 of the WTRU 3402 may be operable to communicate with various peripheral devices 3438, including, for example, any of: the one or more accelerometers, the one or more gyroscopes, the USB port, other communication interfaces / ports, the display and / or other video / audio indicators, to implement representative embodiments disclosed herein.
[0360] The WTRU 3402 may include a full-duplex radio device, wherein the reception or transmission of some or all signals (e.g., associated with specific subframes used for UL (e.g., for transmission) and downlink (e.g., for reception)) may be concurrent and / or simultaneous for the radio device. The full-duplex radio device may include an interference management unit that reduces and / or substantially eliminates self-interference by means of hardware (e.g., choke coils) or by signal processing by a processor (e.g., a separate processor (not shown) or by means of processor 3418). In an embodiment, the WTRU 3402 may include a half-duplex radio device that transmits and receives some or all signals (e.g., associated with specific subframes used for UL (e.g., for transmission) or downlink (e.g., for reception)).
[0361] Fig.34C 3406 according to an embodiment. As described above, the RAN 3404 may communicate with the WTRUs 3402a, 3402b, 3402c using an E-UTRA radio technology over the air interface 3416. The RAN 3404 may also communicate with the CN 3406.
[0362] The RAN 3404 may include eNode-Bs 3460a, 3460b, 3460c, however it will be appreciated that the RAN 3404 may include any number of eNode-Bs while remaining consistent with an embodiment. The eNode-Bs 3460a, 3460b, 3460c may each include one or more transceivers for communicating with the WTRUs 3402a, 3402b, 3402c over the air interface 3416. In one embodiment, the eNode-Bs 3460a, 3460b, 3460c may implement MIMO technology. Thus, for example, the eNode-B 3460a may use multiple antennas to transmit wireless signals to, and / or receive wireless signals from, the WTRU 3402a.
[0363] Each of the eNodeBs 3460a, 3460b, 3460c may be associated with a particular cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, user scheduling in the UL and / or DL, etc. Fig.34C As shown, the eNode-Bs 3460a, 3460b, and 3460c may communicate with each other via an X2 interface.
[0364] Fig.34CThe illustrated CN 3406 may include a mobility management entity (MME) 3462, a serving gateway (SGW) 3464, and a packet data network (PDN) gateway (or PGW) 3466. Although each of the aforementioned components is described as being part of the CN 3406, it should be appreciated that any of these components may be owned and / or operated by an entity other than the CN operator.
[0365] The MME 3462 may be connected to each of the eNode-Bs 3460a, 3460b, 3460c in the RAN 3404 via an S1 interface and may act as a control node. For example, the MME 3462 may be responsible for authenticating users of the WTRUs 3402a, 3402b, 3402c, performing bearer activation / deactivation processing, selecting a particular serving gateway during an initial attach of the WTRUs 3402a, 3402b, 3402c, and the like. The MME 3462 may provide a control plane function for switching between the RAN 3404 and other RANs (not shown) that use other radio technologies, such as GSM and / or WCDMA.
[0366] The SGW 3464 may be connected to each of the eNode-Bs 3460a, 3460b, 3460c in the RAN 3404 via an S1 interface. The SGW 3464 may generally route and forward user data packets to / from the WTRUs 3402a, 3402b, 3402c. The SGW 3464 may also perform other functions, such as anchoring the user plane during inter-eNB handovers, triggering paging processing when DL data is available for the WTRUs 3402a, 3402b, 3402c, and managing and storing the contexts of the WTRUs 3402a, 3402b, 3402c, and the like.
[0367] The SGW 3464 may be connected to the PGW 146, which may provide the WTRUs 3402a, 3402b, 3402c with access to packet-switched networks, such as the Internet 3410, to facilitate communications between the WTRUs 3402a, 3402b, 3402c and IP-enabled devices.
[0368] The CN 3406 may facilitate communications with other networks. For example, the CN 3406 may provide the WTRUs 3402a, 3402b, 3402c with access to circuit-switched networks, such as the PSTN 3408, to facilitate communications between the WTRUs 3402a, 3402b, 3402c and traditional land-line communications devices. For example, the CN 3406 may include or communicate with an IP gateway, such as an IP Multimedia Subsystem (IMS) server, and the IP gateway may serve as an interface between the CN 3406 and the PSTN 3408. In addition, the CN 3406 may provide the WTRUs 3402a, 3402b, 3402c with access to other networks 3412, which may include other wired and / or wireless networks owned and / or operated by other service providers.
[0369] Although in Figures 34A-34D Although the WTRU is described as a wireless terminal, it should be appreciated that in certain representative embodiments, such a terminal may use a (eg, temporary or permanent) wired communication interface with a communication network.
[0370] In a representative embodiment, the other network 3412 may be a WLAN.
[0371] A WLAN using an infrastructure basic service set (BSS) mode may have an access point (AP) for the BSS and one or more stations (STAs) associated with the AP. The AP may access or be connected to a distributed system (DS) or other types of wired / wireless networks that send traffic into and / or out of the BSS. Traffic originating from outside the BSS and destined for the STA may arrive through the AP and be delivered to the STA. Traffic originating from the STA and destined for a destination outside the BSS may be sent to the AP for delivery to the corresponding destination. Traffic between STAs within the BSS may be sent through the AP, for example, when the source STA may send traffic to the AP and the AP may deliver traffic to the destination STA. Traffic between STAs within the BSS may be considered and / or referred to as point-to-point traffic. The point-to-point traffic may be sent using a direct link establishment (DLS) between the source and destination STAs (e.g., directly therebetween). In certain representative embodiments, the DLS may use 802.11e DLS or 802.11z channelized DLS (TDLS)). For example, a WLAN using an independent BSS (IBSS) mode does not have an AP, and STAs (eg, all STAs) within or using the IBSS can communicate directly with each other. Here, the IBSS communication mode may sometimes be referred to as an "ad-hoc" communication mode.
[0372] When using the 802.11ac infrastructure mode of operation or a similar mode of operation, the AP may transmit a beacon on a fixed channel (e.g., a primary channel). The primary channel may have a fixed width (e.g., a bandwidth of 20 MHz) or a width that is dynamically set via signaling. The primary channel may be a working channel of the BSS and may be used by STAs to establish a connection with the AP. In certain representative embodiments, carrier sense multiple access (CSMA / CA) with collision avoidance (e.g., in an 802.11 system) may be implemented. For CSMA / CA, STAs (e.g., each STA) including the AP may sense the primary channel. If a particular STA senses / detects and / or determines that the primary channel is busy, the particular STA may back off. In a specified BSS, there is one STA (e.g., only one station) transmitting at any given time.
[0373] A high throughput (HT) STA may communicate using a 40 MHz wide channel (eg, by combining a 20 MHz wide primary channel with a 20 MHz wide adjacent or non-adjacent channel to form a 40 MHz wide channel).
[0374] Very high throughput (VHT) STA can support channels with widths of 20MHz, 40MHz, 80MHz and / or 160MHz. 40MHz and / or 80MHz channels can be formed by combining continuous 20MHz channels. A 160MHz channel can be formed by combining 8 continuous 20MHz channels or by combining two discontinuous 80MHz channels (this combination can be referred to as an 80+80 configuration). For the 80+80 configuration, after channel coding, the data can be transmitted and passed through a segment parser, which can separate the data into two streams. Inverse Fast Fourier Transform (IFFT) processing and time domain processing can be performed separately on each stream. The stream can be mapped on two 80MHz channels, and the data can be transmitted by the STA performing the transmission. At the receiver of the STA performing the reception, the above operations for the 80+80 configuration can be reversed, and the combined data can be sent to the medium access control (MAC).
[0375] 802.11af and 802.11ah support working modes below 1 GHz. Compared with 802.11n and 802.11ac, the channel working bandwidth and carrier used in 802.11af and 802.11ah are reduced. 802.11af supports 5MHz, 10MHz and 20MHz bandwidths in the TV White Space (TVWS) spectrum, and 802.11ah supports 1MHz, 2MHz, 4MHz, 8MHz and 16MHz bandwidths using non-TVWS spectrum. According to a representative embodiment, 802.11ah can support meter type control / machine type communication (MTC) (e.g., MTC devices in macro coverage areas). MTC devices can have certain capabilities, such as limited capabilities including support (e.g., only support) certain and / or limited bandwidths. MTC devices can include a battery, and the battery life of the battery is higher than a threshold (e.g., for maintaining a very long battery life).
[0376] For WLAN systems that can support multiple channels and channel bandwidths (e.g., 802.11n, 802.11ac, 802.11af, and 802.11ah), these systems include channels that can be designated as primary channels. The bandwidth of the primary channel can be equal to the maximum common operating bandwidth supported by all STAs in the BSS. The bandwidth of the primary channel can be set and / or limited by a certain STA, where the STA originates from all STAs operating in the BSS that supports the minimum bandwidth operating mode. In the example of 802.11ah, even if the AP and other STAs in the BSS support 2MHz, 4MHz, 8MHz, 16MHz, and / or other channel bandwidth operating modes, for STAs (e.g., MTC-type devices) that support (e.g., only support) 1MHz mode, the width of the primary channel can be 1MHz. Carrier sensing and / or network allocation vector (NAV) settings can depend on the status of the primary channel. If the primary channel is busy (e.g., because a STA (which only supports the 1MHz operating mode) transmits to the AP), then even if most of the available frequency bands remain idle and available for use, the entire available frequency band can be considered busy.
[0377] In the United States, the available frequency band for 802.11ah is 902MHz to 928MHz. In South Korea, the available frequency band is 917.5MHz to 923.5MHz. In Japan, the available frequency band is 916.5MHz to 927.5MHz. Depending on the country code, the total bandwidth available for 802.11ah is 6MHz to 26MHz.
[0378] Fig.34D3415 according to an embodiment. As described above, the RAN 3413 may communicate with the WTRUs 3402a, 3402b, 3402c using NR radio technology over the air interface 3416. The RAN 3413 may also communicate with the CN 3415.
[0379] The RAN 3413 may include gNBs 3480a, 3480b, 3480c, but it should be appreciated that the RAN 3413 may include any number of gNBs while remaining consistent with the embodiments. The gNBs 3480a, 3480b, 3480c may each include one or more transceivers to communicate with the WTRUs 3402a, 3402b, 3402c over the air interface 3416. In one embodiment, the gNBs 3480a, 3480b, 3480c may implement MIMO technology. For example, the gNBs 3480a, 3480b may use beamforming processing to transmit and / or receive signals to and / or from the gNBs 3480a, 3480b, 3480c. Thus, for example, the gNB 3480a may use multiple antennas to transmit wireless signals to the WTRU 3402a and receive wireless signals from the WTRU 3402a. In an embodiment, gNB 3480a, 3480b, 3480c may implement carrier aggregation technology. For example, gNB 3480a may transmit multiple component carriers to WTRU 3402a (not shown). A subset of these component carriers may be on an unlicensed spectrum, while the remaining component carriers may be on a licensed spectrum. In an embodiment, gNB 3480a, 3480b, 3480c may implement coordinated multi-point (CoMP) technology. For example, WTRU 3402a may receive coordinated transmissions from gNB 3480a and gNB 3480b (and / or gNB3480c).
[0380] The WTRUs 3402a, 3402b, 3402c may communicate with the gNBs 3480a, 3480b, 3480c using transmissions associated with a scalable digital configuration. For example, the OFDM symbol spacing and / or OFDM subcarrier spacing may be different for different transmissions, different cells, and / or different portions of the radio transmission spectrum. The WTRUs 3402a, 3402b, 3402c may communicate with the gNBs 3480a, 3480b, 3480c using subframes or transmission time intervals (TTIs) of different or scalable lengths (e.g., containing different numbers of OFDM symbols and / or lasting different absolute time lengths).
[0381] The gNBs 3480a, 3480b, 3480c may be configured to communicate with the WTRUs 3402a, 3402b, 3402c in a standalone configuration and / or a non-standalone configuration. In a standalone configuration, the WTRUs 3402a, 3402b, 3402c may communicate with the gNBs 3480a, 3480b, 3480c without accessing other RANs (e.g., eNode-Bs 3460a, 3460b, 3460c). In a standalone configuration, the WTRUs 3402a, 3402b, 3402c may use one or more of the gNBs 3480a, 3480b, 3480c as mobility anchors. In a standalone configuration, the WTRU 3402a, 3402b, 3402c may communicate with the gNB 3480a, 3480b, 3480c using signals in the unlicensed band. In a non-standalone configuration, the WTRU 3402a, 3402b, 3402c may communicate / connect with the gNB 3480a, 3480b, 3480c while communicating / connecting with another RAN (e.g., an eNode-B 3460a, 3460b, 3460c). For example, the WTRU 3402a, 3402b, 3402c may communicate with one or more gNBs 3480a, 3480b, 3480c and one or more eNode-Bs 3460a, 3460b, 3460c in a substantially simultaneous manner by implementing the DC principle. In a non-standalone configuration, the eNodeB 3460a, 3460b, 3460c may act as a mobility anchor for the WTRU 3402a, 3402b, 3402c and the gNB 3480a, 3480b, 3480c may provide additional coverage and / or throughput to serve the WTRU 3402a, 3402b, 3402c.
[0382] Each of the gNBs 3480a, 3480b, 3480c may be associated with a specific cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, user scheduling in UL and / or DL, support network slicing, dual connectivity, implement interworking between NR and E-UTRA, route user plane data to user plane functions (UPFs) 3484a, 3484b, and route control plane information to access and mobility management functions (AMFs) 3482a, 3482b, etc. Fig.34D As shown, gNBs 3480a, 3480b, and 3480c can communicate with each other through the Xn interface.
[0383] Fig.34DThe CN 3415 shown may include at least one AMF 3482a, 3482b, at least one UPF 3484a, 3484b, at least one session management function (SMF) 3483a, 3483b, and may include a data network (DN) 3485a, 3485b. Although each of the aforementioned components is described as part of the CN 3415, it should be understood that any of these components may be owned and / or operated by an entity other than the CN operator.
[0384] The AMF 3482a, 3482b may be connected to one or more of the gNBs 3480a, 3480b, 3480c in the RAN 3413 via the N2 interface and may act as a control node. For example, the AMF 3482a, 3482b may be responsible for authenticating users of the WTRU 3402a, 3402b, 3402c, supporting network slicing (e.g., handling different protocol data unit (PDU) sessions with different requirements), selecting a specific SMF 3483a, 3483b, managing registration areas, terminating non-access stratum (NAS) signaling, and mobility management, etc. The AMF 3482a, 3482b may use network slicing processing to customize the CN support provided to the WTRU 3402a, 3402b, 3402c based on the type of service used by the WTRU 3402a, 3402b, 3402c. As an example, different network slices may be established for different use cases, such as services relying on ultra-reliable low latency communication (URLLC) access, services relying on enhanced mobile (e.g., massive mobile) broadband (eMBB) access, and / or services for machine type communication (MTC) access, etc. The AMF 3462 may provide a control plane function for switching between the RAN 3413 and other RANs (not shown) using other radio technologies (e.g., LTE, LTE-A, LTE-A Pro, and / or non-3GPP access technologies such as WiFi).
[0385] SMF 3483a, 3483b can be connected to AMF 3482a, 3482b in CN 3415 via N11 interface. SMF3483a, 3483b can also be connected to UPF 3484a, 3484b in CN 3415 via N4 interface. SMF 3483a, 3483b can select and control UPF 3484a, 3484b, and can configure traffic routing through UPF 3484a, 3484b. SMF3483a, 3483b can perform other functions, such as managing and allocating UE IP addresses, managing PDU sessions, controlling policy implementation and QoS, and providing downlink data notification, etc. The PDU session type can be IP-based, non-IP-based, Ethernet-based, etc.
[0386] UPF 3484a, 3484b can be connected to one or more gNBs 3480a, 3480b, 3480c in RAN 3413 via the N3 interface, which can provide WTRU 3402a, 3402b, 3402c with access to packet-switched networks (such as the Internet 3410) to facilitate communication between WTRU 3402a, 3402b, 3402c and IP-enabled devices. UPF 3484, 3484b can perform other functions such as routing and forwarding packets, implementing user plane policies, supporting multi-host PDU sessions, processing user plane QoS, buffering downlink packets, and providing mobility anchor processing, etc.
[0387] The CN 3415 may facilitate communications with other networks. For example, the CN 3415 may include or may communicate with an IP gateway (e.g., an IP Multimedia Subsystem (IMS) server) that acts as an interface between the CN 3415 and the PSTN 3408. In addition, the CN 3415 may provide the WTRUs 3402a, 3402b, 3402c with access to other networks 3412, which may include other wired and / or wireless networks owned and / or operated by other service providers. In one embodiment, the WTRUs 3402a, 3402b, 3402c may be connected to the local data networks (DNs) 3485a, 3485b via the N3 interface connected to the UPFs 3484a, 3484b and the N6 interface between the UPFs 3484a, 3484b and the DNs 3485a, 3485b and through the UPFs 3484a, 3484b.
[0388] In view of Figures 34A-34D and about Figures 34A-34D, one or more or all of the functions described herein in comparison with one or more of the following may be performed by one or more simulation devices (not shown): WTRU 3402a-d, base station 3414a-b, eNodeB 3460a-c, MME 3462, SGW 3464, PGW 3466, gNB 3480a-c, AMF 3482a-b, UPF 3484a-b, SMF 3483a-b, DN 3485a-b, and / or one or more other devices described herein. These simulation devices may be one or more devices configured to simulate one or more or all of the functions described herein. For example, these simulation devices may be used to test other devices and / or simulate network and / or WTRU functions.
[0389] The simulation device can be designed to implement one or more tests about other devices in a laboratory environment and / or an operator network environment. For example, the one or more simulation devices can perform one or more or all functions while being implemented and / or deployed as part of a wired and / or wireless communication network in whole or in part to test other devices inside the communication network. The one or more simulation devices can perform one or more or all functions while being temporarily implemented / deployed as part of a wired and / or wireless communication network. The simulation device can be directly coupled to other devices to perform the test, and / or can use over-the-air wireless communication to perform the test.
[0390] One or more simulation devices can perform one or more functions, including all functions, while not being implemented / deployed as part of a wired and / or wireless communication network. For example, the simulation device can be used in a test lab and / or a test scenario of a wired and / or wireless communication network that is not deployed (e.g., testing) to implement tests on one or more components. The one or more simulation devices can be test devices. The simulation device can transmit and / or receive data using direct RF coupling and / or wireless communication with the aid of RF circuits (e.g., which can include one or more antennas).
[0391] Compared to the previous generation video coding standard H.264 / MPEG AVC, the HEVC standard provides about 50% bit rate savings for equivalent perceptual quality. Although the HEVC standard provides significant coding improvements compared to its predecessor, additional coding efficiency improvements can be achieved with additional coding tools. The Joint Video Exploration Team (JVET) initiated a project to develop a new generation of video coding standards, called Versatile Video Coding (VVC), such as to provide such coding efficiency improvements, and a reference software code library called the VVC Test Model (VTM) was established to demonstrate a reference implementation of the VVC standard. In order to facilitate the evaluation of new coding tools, another reference software library called the Benchmark Set (BMS) was also generated. In the BMS code library, a list of additional coding tools that provide higher coding efficiency and medium implementation complexity is included on top of the VTM and is used as a benchmark when evaluating similar coding techniques during the VVC standardization process. In addition to the JEM coding tools integrated in BMS-2.0 (e.g., 4×4 Non-separable Secondary Transform (NSST), Generalized Bi-Prediction (GBi), Bidirectional Optical Flow (BIO), Decoder-side Motion Vector Refinement (DMVR), and Current Picture Reference (CPR)), it also includes a trellis coded quantization tool.
[0392] The system and method for processing data according to a representative embodiment may be executed by one or more processors executing a sequence of instructions contained in a storage device. These instructions may be read into the storage device from other computer-readable media such as auxiliary data storage devices (one or more). The execution of the sequence of instructions contained in the storage device causes the processor to operate, for example, as described above. In an alternative embodiment, hard-wired circuits may be used to replace software instructions or to implement one or more embodiments in combination with software instructions. Such software may be run on a processor that is remotely housed in a robot aid / device (RAA) and / or another mobile device. In the latter case, data may be transmitted between the RAA or other mobile devices containing sensors and a remote device containing the processor via a wired or wireless manner, and the processor runs software that performs the scale estimation and compensation as described above. According to other representative embodiments, some of the processing described above with respect to positioning may be performed in a device containing a sensor / camera, while the remaining processing may be performed in a second device after receiving partially processed data from the device containing the sensor / camera.
[0393] Although the features and elements are described above in specific combinations, it will be understood by those skilled in the art that each feature or element may be used alone or in any combination with other features and elements. In addition, the methods described herein may be implemented in a computer program, software, or firmware embedded in a computer-readable medium and executed by a computer or processor. Examples of non-transitory computer-readable media include, but are not limited to, read-only memory (ROM), random access memory (RAM), registers, buffer memory, semiconductor storage devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM discs and digital versatile discs (DVDs). A processor associated with the software may be used to implement a radio frequency transceiver used in a WTRU 3402, UE, terminal, base station, RNC, or any host computer.
[0394] In addition, in the above-mentioned embodiments, processing platforms, computing systems, controllers and other devices including processors are mentioned. These devices may include at least one central processing unit ("CPU") and memory. According to the practice of those skilled in the art of computer programming, references to symbolic descriptions of actions and operations or instructions may be performed by various CPUs and memories. These actions and operations or instructions may be referred to as "being executed", "computer execution" or "CPU execution".
[0395] Those skilled in the art will appreciate that the operations or instructions described by the actions and symbols include the manipulation of electrical signals by the CPU. The electrical system representation can identify data bits, which cause the electrical signals to be transformed or restored and the maintenance of the storage location of the data bits in the storage system to thereby reconfigure or otherwise change the operation of the CPU and other processing of the signal. The storage location of the data bits is maintained to have specific electrical, magnetic, optical or organic properties corresponding to or representing the data bits. It should be understood that the representative embodiments are not limited to the above-mentioned platforms or CPUs and other platforms and CPUs can support the provided methods.
[0396] The data bits may also be maintained on a computer-readable medium, including a magnetic disk, an optical disk, and any other volatile (e.g., random access memory ("RAM")) or non-volatile (e.g., read-only memory ("ROM")) CPU-readable mass storage system. The computer-readable medium may include cooperating or interconnected computer-readable media that reside exclusively on a processor system or distributed among multiple interconnected processing systems that may be local or remote to the processing system. It will be appreciated that the representative embodiments are not limited to the above-described memories and that other platforms and memories may support the described methods. It should be appreciated that the representative embodiments are not limited to the above-described platforms or CPUs and that other platforms and CPUs may also support the provided methods.
[0397] In the illustrated embodiment, any of the operations, processes, etc. described herein may be implemented as computer-readable instructions stored on a computer-readable medium. The computer-readable instructions may be executed by a processor of a mobile unit, a network element, and / or any other computing device.
[0398] There is a slight distinction between hardware and software implementations of systems. The use of hardware or software is generally (but not always, as the choice between hardware and software can be important in certain environments) a design choice that considers a trade-off between cost and efficiency. There can be various tools (e.g., hardware, software, and / or firmware) that affect the processes and / or systems and / or other technologies described herein, and the preferred tools can change with the context of the deployed processes and / or systems and / or other technologies. For example, if the implementer determines that speed and accuracy are most important, the implementer may choose to use primarily hardware and / or firmware tools. If flexibility is most important, the implementer may choose to use primarily software implementation. Alternatively, the implementer may choose some combination of hardware, software, and / or firmware.
[0399] The above detailed description has presented various embodiments of the device and / or process through the use of block diagrams, flow charts and / or examples. To the extent that these block diagrams, flow charts and / or examples include one or more functions and / or operations, those skilled in the art will understand that each function and / or operation within these block diagrams, flow charts or examples can be implemented separately and / or together by a wide range of hardware, software or firmware or substantially any combination thereof. Suitable processors include, for example, general-purpose processors, special-purpose processors, conventional processors, digital signal processors (DSPs), multiple microprocessors, one or more microprocessors associated with a DSP core, controllers, microcontrollers, application-specific integrated circuits (ASICs), application-specific standard products (ASSPs); field-programmable gate array (FPGA) circuits, any other type of integrated circuit (IC) and / or state machines.
[0400] Although features and elements are provided above in specific combinations, it will be appreciated by those skilled in the art that each feature or element may be used alone or in combination with other features and elements. The present disclosure is not limited to the specific embodiments described in the present application, which are intended to be examples of various aspects. Many modifications and variations may be made without departing from its essence and scope, which are known to any of the techniques in the art. The elements, actions or instructions used in the description of the present application should not be understood as being critical or necessary to the embodiments unless explicitly stated. In addition to the methods and devices listed herein, those skilled in the art may also know functionally equivalent methods and devices within the scope of the present disclosure based on the above description. These modifications and variations should also fall within the scope of the appended claims. The present disclosure is limited only by the appended claims, including the full scope of their equivalents. It should be understood that the present disclosure is not limited to a specific method or system.
[0401] It should also be understood that the terminology used herein is for the purpose of describing specific embodiments only and is not intended to be limiting. As used herein, when referring to the term "station" and its abbreviation "STA", "user equipment" and its abbreviation "UE" may mean: (i) a wireless transmit and / or receive unit (WTRU), such as described below; (ii) any of multiple embodiments of the WTRU, such as described below; (iii) a wireless and / or wired (e.g., wirelessly communicable) device configured with some or all of the structure and functionality of the WTRU, such as described below; (iii) a device with wireless capabilities and / or wired capabilities that is configured with less than all of the structure and functionality of the WTRU, such as described below; or (iv) the like. Reference is made below to Figures 34A-34D Details are provided for an example WTRU which may represent any of the UEs described herein.
[0402] In certain representative embodiments, some parts of the subject matter described herein may be implemented via application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), and / or other integrated formats. However, those skilled in the art will appreciate that some aspects of the embodiments disclosed herein, in whole or in part, may equally be implemented by integrated circuits, as one or more computer programs running on one or more computers (e.g., one or more programs running on one or more computer systems), one or more programs running on one or more processors (e.g., one or more programs running on one or more microprocessors), firmware, or substantially any combination of these, and that designing circuits and / or writing codes for the software and / or firmware according to the present disclosure is known to those skilled in the art. In addition, those skilled in the art will appreciate that the mechanisms of the subject matter described herein may be distributed as program products in various forms, and that the exemplary embodiments of the subject matter described herein are applicable, regardless of the specific type of signal-bearing medium used to actually perform the distribution. Examples of signal-bearing media include, but are not limited to, the following: recordable media, such as floppy disks, hard disks, CDs, DVDs, digital tapes, computer memories, etc., and transmission media, such as digital and / or analog communication media (e.g., optical cables, waveguides, wired communication links, wireless communication links, etc.).
[0403] The subject matter described here sometimes shows different components, which are contained in or connected to different other components. It can be understood that these depicted architectures are only examples, and many other architectures that implement the same function in practice can be implemented. Conceptually, any arrangement of components that implement the same function more effectively "associated" can implement the desired function. Therefore, any two components combined here to implement a specific function can be regarded as "associated" to each other to implement the desired function, regardless of the architecture or intermediate components. Similarly, any two components associated can also be regarded as "operationally connected" or "operationally coupled" to implement the desired function, and any two components that can be associated in this way can also be regarded as "operationally couplable" to each other to implement the desired function. Specific examples of operational coupling include but are not limited to physically pairable and / or physically interactive components and / or wirelessly interactive and / or wirelessly interactive components and / or logically interactive and / or logically interactive components.
[0404] With respect to the use of substantially any plural and / or singular terms herein, those skilled in the art may translate from the plural to the singular and / or from the singular to the plural as is appropriate to the context and / or application. For purposes of clarity, various singular / plural permutations may be explicitly set forth herein.
[0405] Those skilled in the art will appreciate that the terms used herein in general and in particular in the claims (e.g., the body of the claims) are generally "open" terms (e.g., the term "including" should be understood as "including but not limited to", the term "having" should be understood as "having at least", the term "including" should be understood as "including but not limited to", etc.). Those skilled in the art will also appreciate that if a claim is to describe a specific number, it will be explicitly described in the claim, and there is no such meaning in the absence of such description. For example, if only one item is to be indicated, the term "single" or similar language may be used. To aid understanding, the following claims and / or the description herein may include the use of the preposition phrases "at least one" or "one or more" to introduce a claim description. However, the use of these phrases should not be understood to imply that a claim description introduced by the indefinite article "a" will limit any particular claim containing such an introduced claim description to an embodiment containing only one such description, even if the same claim includes the preposition phrases "one or more" or "at least one" and an indefinite article (e.g., "a") (e.g., "a" should be understood to mean "at least one" or "one or more"). The same is true for the use of definite articles used to introduce claim descriptions. In addition, even if a specific number of claims described in the claims is explicitly described, it can be understood by those skilled in the art that such description should be understood to mean at least the number described (e.g., the description of "two descriptions" alone without other modifiers means at least two descriptions, or two or more descriptions). In addition, in these examples where a convention similar to "at least one of A, B, and C, etc." is used, generally speaking, such a convention is a convention understood by those skilled in the art (e.g., "the system has at least one of A, B, and C" can include but is not limited to the system having only A, only B, only C, A and B, A and C, B and C, and / or A, B and C, etc.). In these examples where a convention similar to "at least one of A, B, or C, etc." is used, generally speaking, such a convention is a convention understood by those skilled in the art (e.g., "the system has at least one of A, B, or C" can include but is not limited to the system having only A, only B, only C, A and B, A and C, B and C, and / or A, B and C, etc.). Those skilled in the art will also appreciate that substantially any separated word and / or phrase representing two or more alternatives, whether in the specification, claims or drawings, should be understood to include the possibility of including one of the two items, any one or both items. For example, the phrase "A or B" is understood to include the possibility of "A" or "B" or "A" and "B". In addition, the term "arbitrary" used herein followed by multiple items and / or multiple items listed is intended to include "arbitrary", "arbitrary combination", "arbitrary multiple" and / or "any combination of multiple" of the multiple items and / or multiple items, either alone or in combination with other items and / or other items.Furthermore, the terms "set" or "group" as used herein are intended to include any number of items, including zero. Furthermore, the term "number" as used herein is intended to include any number, including zero.
[0406] In addition, if features or aspects of the disclosure are described in terms of Markush groups, those skilled in the art will recognize that the disclosure is also described in terms of any individual member or subgroup of members of the Markush group.
[0407] Those skilled in the art will appreciate that, for any and all purposes, such as to provide a written description, all ranges disclosed herein also include any and all possible sub-ranges and combinations of sub-ranges thereof. Any listed range can be easily understood to be sufficient to describe and implement the same range that is divided into at least equal halves, three parts, four parts, five parts, ten parts, etc. As a non-limiting example, each range described here can be easily divided into the lower third, the middle third, and the upper third, etc. Those skilled in the art can also understand that all languages such as "up to", "at least", "greater than", "less than", etc. include the described numbers and can be divided into the above-mentioned sub-ranges accordingly. Finally, those skilled in the art can appreciate that the range includes each individual member. Therefore, for example, a group and / or set with 1-3 cells refers to a group / set with 1, 2, or 3 cells. Similarly, a group / set with 1-5 cells refers to a group / set with 1, 2, 3, 4, or 5 cells, etc.
[0408] Furthermore, the claims should not be read as limited to the order or elements provided unless described to that effect. Furthermore, the use of the term "means for..." in any claim is intended to invoke 35 U.S.C. § 112, 6 or means-plus-function claim format, any claim without the term “means for…” does not have such an intent.
[0409] A processor in association with software may be used to implement a radio frequency transceiver for use in a wireless transmit / receive unit (WTRU), user equipment (UE), terminal, base station, mobility management entity (MME) or evolved packet core (EPC), or any host computer. The WTRU may incorporate modules implemented in hardware and / or software, including software defined radio (SDR), and other components such as a camera, a video camera module, a video phone, an intercom phone, a vibration device, a speaker, a microphone, a television transceiver, a hands-free headset, a keyboard, module, a frequency modulation (FM) radio unit, a near field communication (NFC) module, a liquid crystal display (LCD) display unit, an organic light emitting diode (OLED) display unit, a digital music player, a media player, a video game console module, an Internet browser and / or any wireless local area network (WLAN) or ultra-wideband (UWB) module.
[0410] Throughout the disclosure, a skilled artisan will appreciate that certain representative embodiments may be used instead of or in combination with other representative embodiments.
[0411] Additionally, the methods described herein may be in a computer program, software, or firmware incorporated in a computer readable medium for execution by a computer or processor. Examples of non-transitory computer readable media include, but are not limited to, read-only memory (ROM), random access memory (RAM), registers, buffer memory, semiconductor storage devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM disks and digital versatile disks (DVDs). A processor associated with software may be used to implement a radio frequency transceiver for a WTRU, UE, terminal, base station, RNC, and any host computer.
Claims
1. A method for decoding a video, the method comprising: For a current chunk of the video containing multiple sub-chunks: generating a motion vector of a sub-block of the current block, generating a sub-block-based motion prediction signal by using the motion vector of the sub-block, determining a set of pixel-level motion vector difference values associated with the sub-block of the current block, wherein the pixel-level motion vector difference values indicate differences between pixel-level motion vectors obtained for sample positions in the sub-block and the motion vector of the sub-block, determining a spatial gradient of the sub-block based motion prediction signal at each sample position of the sub-block, determining a motion prediction refinement signal for the current block based on the determined set of pixel-level motion vector differences and the determined spatial gradient, and combining the sub-block based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block; as well as The video is decoded using the refined motion prediction signal as a prediction for the current block, wherein the motion vectors of the sub-blocks are generated using an affine motion model for the current block and the set of pixel-level motion vector differences are determined.
2. The method according to claim 1, wherein the determining the spatial gradient of the sub-block based motion prediction signal comprises: For one or more corresponding sub-blocks of the current block: Determine an extended subblock using the subblock-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding subblock; and The determined extended sub-block is used to determine a spatial gradient of the corresponding sub-block to determine the motion prediction refinement signal.
3. The method of claim 1, wherein the set of pixel-level motion vector difference values are determined for a sub-block of the current block and used to determine the motion prediction refinement signal for one or more other sub-blocks of the current block.
4. The method according to claim 1, further comprising: Affine motion model parameters of the current block of the video are determined so that the sub-block based motion prediction signal is generated by using the determined affine motion model parameters.
5. A method for encoding a video, the method comprising: For a current chunk of the video containing multiple sub-chunks: generating a motion vector of a sub-block of the current block; generating a sub-block-based motion prediction signal by using the motion vector of the sub-block, determining a set of pixel-level motion vector difference values associated with the sub-block of the current block, wherein the pixel-level motion vector difference values indicate differences between pixel-level motion vectors obtained for sample positions in the sub-block and the motion vector of the sub-block, determining a spatial gradient of the sub-block based motion prediction signal at each sample position of the sub-block, determining a motion prediction refinement signal for the current block based on the determined set of pixel-level motion vector differences and the determined spatial gradient, and combining the sub-block based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block; as well as encoding the video using the refined motion prediction signal as a prediction for the current block, Wherein by using an affine motion model for the current block, the motion vector of the sub-block is generated and the set of pixel-level motion vector differences are determined.
6. The method according to claim 5, Wherein the determining the spatial gradient of the sub-block based motion prediction signal comprises: For one or more corresponding sub-blocks of the current block: Determine an extended subblock using the subblock-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding subblock; and The determined extended sub-block is used to determine a spatial gradient of the corresponding sub-block to determine the motion prediction refinement signal.
7. The method of claim 5, wherein the set of pixel-level motion vector difference values are determined for a sub-block of the current block and used to determine the motion prediction refinement signal for one or more other sub-blocks of the current block.
8. The method according to claim 5, further comprising: Affine motion model parameters of the current block of the video are determined so that the sub-block based motion prediction signal is generated by using the determined affine motion model parameters.
9. A decoder configured to decode a video, comprising: A processor configured to: For a current chunk of the video containing multiple sub-chunks: generating a motion vector of a sub-block of the current block; generating a sub-block-based motion prediction signal by using the motion vector of the sub-block, determining a set of pixel-level motion vector difference values associated with a sub-block of the current block, wherein the pixel-level motion vector difference values indicate differences between a pixel-level motion vector obtained for a sample position in the sub-block and the motion vector of the sub-block, determining a spatial gradient of the sub-block based motion prediction signal at each sample position of the sub-block, determining a motion prediction refinement signal for the current block based on the set of pixel-level motion vector differences and the determined spatial gradient, and combining the sub-block based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block; as well as The video is decoded using the refined motion prediction signal as a prediction for the current block, wherein the processor is configured to generate the motion vectors for the sub-blocks using an affine motion model for the current block and determine the set of pixel-level motion vector differences.
10. The decoder of claim 9, wherein the processor is configured to: For one or more corresponding sub-blocks of the current block: Determine an extended sub-block using the sub-block-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding sub-block; and The determined extended sub-block is used to determine a spatial gradient of the corresponding sub-block to determine the motion prediction refinement signal.
11. The decoder of claim 9, wherein the processor is configured to determine the set of pixel-level motion vector difference values for the sub-block of the current block, which are used to determine the motion prediction refinement signal for one or more other sub-blocks of the current block.
12. The decoder of claim 9, wherein the processor is configured to determine affine motion model parameters of the current block of the video, such that the sub-block based motion prediction signal is generated by using the determined affine motion model parameters.
13. An encoder configured to encode a video, comprising: A processor configured to: For a current chunk of the video containing multiple sub-chunks: Generate motion vectors for sub-blocks; generating a sub-block-based motion prediction signal by using the motion vector of the sub-block, determining a set of pixel-level motion vector difference values associated with the sub-block of the current block, wherein the pixel-level motion vector difference values indicate differences between pixel-level motion vectors obtained for sample positions in the sub-block and the motion vector of the sub-block, determining a spatial gradient of the sub-block based motion prediction signal at each sample position of the sub-block, determining a motion prediction refinement signal for the current block based on the set of pixel-level motion vector differences and the determined spatial gradient, and combining the sub-block based motion prediction signal and the motion prediction refinement signal to generate a refined motion prediction signal for the current block; as well as The video is encoded using the refined motion prediction signal as a prediction for the current block, wherein the processor is configured to generate the motion vectors for the sub-blocks using an affine motion model for the current block and determine the set of pixel-level motion vector differences.
14. The encoder of claim 13, wherein the processor is configured to: For one or more corresponding sub-blocks of the current block: Determine an extended sub-block using the sub-block-based motion prediction signal and neighboring reference samples adjacent to and surrounding the corresponding sub-block; and The determined extended sub-block is used to determine a spatial gradient of the corresponding sub-block to determine the motion prediction refinement signal.
15. The encoder of claim 13, wherein the processor is configured to determine the set of pixel-level motion vector difference values for the sub-block of the current block, which are used to determine the motion prediction refinement signal for one or more other sub-blocks of the current block.
16. The encoder of claim 13, wherein the processor is configured to determine affine motion model parameters of the current block of the video, such that the sub-block based motion prediction signal is generated by using the determined affine motion model parameters.
Citation Information
Patent Citations
Method and apparatus of video coding with prediction offset
CN107079165A
Video signal decoding method
CN107820080A
