Multiple predictor candidates for motion compensation

By expanding the set of predictor candidates for affine merger modes in video encoding and decoding, the method addresses inefficiencies in existing technologies, achieving better compression efficiency and reduced complexity through optimal motion vector prediction.

JP2024125322AActive Publication Date: 2024-09-18INTERDIGITAL VC HOLDINGS INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024095548
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-03-30
Filing Date
2024-06-13
Publication Date
2024-09-18
Estimated Expiration
2038-06-25

AI Technical Summary

Technical Problem

Existing video encoding and decoding technologies, such as those in HEVC and JEM, face inefficiencies in affine motion compensation due to limited selection of predictor candidates for affine merger modes, which can result in suboptimal motion vector prediction.

Method used

An improved method and apparatus for video encoding and decoding that expands the set of predictor candidates for affine merger modes by considering multiple spatial and temporal candidates, using a motion model to determine control point motion vectors and encode/decode based on the best predictor candidate selected from this expanded set.

Benefits of technology

This approach enhances the rate-distortion performance of video encoding and decoding by selecting the optimal predictor candidate, leading to improved compression efficiency and reduced computational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024125322000001
    Figure 2024125322000001
Patent Text Reader

Abstract

To provide a device and method that selects a predictor candidate from a set of a plurality of predictor candidates for motion compensation on a picture block based upon various packaging, especially, a motion model.SOLUTION: A motion model may be an affine model in a consolidation mode for a video content encoder or decoder. A predictor candidate is selected from a set based upon motion models related to respective multiple predictor candidates, and may be based upon a standard of a rate distortion cost etc. A corresponding motion field is determined based upon one or more corresponding control point motion vectors related to, for example, a block to be encoded or decoded. The corresponding motion field identifies a motion vector used to predict a sub-block of the block to be encoded or decoded.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [1] At least one embodiment of the present invention relates generally to a method or apparatus, e.g., for video encoding or decoding, and more specifically to a method or apparatus for selecting a predictor candidate from a set of multiple predictor candidates for motion compensation based on a motion model, e.g., an affine model, for a video encoder or video decoder. [Background technology]

[0002] [2] To achieve high compression efficiency, image and video coding schemes generally use prediction, including motion vector prediction, and transforms to exploit spatial and temporal redundancy in the video content. Typically, intra- or inter-prediction is used to exploit intra- or inter-frame correlation, and the difference between the original and predicted image, often denoted as prediction error or prediction residual, is transformed, quantized, and entropy coded. To reconstruct the video, the compressed data is decoded by an inverse process corresponding to entropy coding, quantization, transformation, and prediction.

[0003] [3] A recent addition to high compression techniques is the use of motion models based on affine modeling. In particular, affine modeling is used in motion compensation for the encoding and decoding of video pictures. In general, affine modeling is a model that uses at least two parameters, e.g. two control point motion vectors (CPMVs) representing the motion at each corner of a block of a picture, that allow to derive a motion field for an entire block of a picture, e.g. to simulate rotations and homothetic ratios (zooms). Summary of the Invention [Means for solving the problem]

[0004] According to a general aspect of at least one embodiment, a method for video encoding is presented, comprising: determining, for a block to be encoded in a picture, a set of predictor candidates having a plurality of predictor candidates; selecting a predictor candidate from the set of predictor candidates; determining, for a predictor candidate selected from the set of predictor candidates, one or more corresponding control point motion vectors for the block; determining, for the selected predictor candidate, a corresponding motion field based on a motion model for the selected predictor candidate based on the one or more corresponding control point motion vectors, wherein the corresponding motion field identifies a motion vector used for prediction of a sub-block of the block to be encoded; encoding the block based on the corresponding motion field for the predictor candidate selected from the set of predictor candidates; and encoding an index for the predictor candidate selected from the set of predictor candidates.

[0005] [5] According to another general aspect of at least one embodiment, a method for video decoding is presented, comprising: receiving, for a block to be decoded in a picture, an index corresponding to a particular predictor candidate; determining, for the particular predictor candidate, one or more corresponding control point motion vectors for the block to be decoded; determining, for the particular predictor candidate, a corresponding motion field based on a motion model that identifies motion vectors used for prediction of sub-blocks of the block to be decoded based on the one or more corresponding control point motion vectors; and decoding the block based on the corresponding motion field.

[0006] [6] According to another general aspect of at least one embodiment, an apparatus for video encoding is presented, the apparatus comprising: means for determining, for a block to be encoded in a picture, a set of predictor candidates having a plurality of predictor candidates; means for selecting a predictor candidate from the set of predictor candidates; means for determining, for the selected predictor candidate, based on one or more corresponding control point motion vectors, a corresponding motion field based on a motion model for the selected predictor candidate, the corresponding motion field identifying a motion vector used for prediction of a sub-block of the block to be encoded; means for encoding the block based on the corresponding motion field for the predictor candidate selected from the set of predictor candidates; and means for encoding an index for the predictor candidate selected from the set of predictor candidates.

[0007] [7] According to another general aspect of at least one embodiment, an apparatus for video decoding is presented, the apparatus comprising: means for receiving, for a block to be decoded in a picture, an index corresponding to a particular predictor candidate; means for determining, for the particular predictor candidate, one or more corresponding control point motion vectors for the block to be decoded; means for determining, for the particular predictor candidate, a corresponding motion field based on a motion model that identifies motion vectors used for prediction of sub-blocks of the block to be decoded based on the one or more corresponding control point motion vectors; and means for decoding the block based on the corresponding motion field.

[0008] [8] According to another general aspect of at least one embodiment, an apparatus for video encoding is provided, comprising one or more processors and at least one memory. The one or more processors are configured to determine, for a block to be encoded in a picture, a set of predictor candidates having a plurality of predictor candidates, select a predictor candidate from the set of predictor candidates, for a predictor candidate selected from the set of predictor candidates, determine one or more corresponding control point motion vectors for the block, for the selected predictor candidate, based on the one or more corresponding control point motion vectors, a corresponding motion field based on a motion model for the selected predictor candidate, the corresponding motion field identifying a motion vector used for prediction of a subblock of the block to be encoded, encode the block based on the corresponding motion field for the predictor candidate selected from the set of predictor candidates, and encode an index for the predictor candidate selected from the set of predictor candidates. The at least one memory is configured to at least temporarily store the encoded block and / or the encoded index.

[0009] [9] According to another general aspect of at least one embodiment, an apparatus for video decoding is provided, comprising one or more processors and at least one memory. The one or more processors are configured to receive, for a block to be decoded in a picture, an index corresponding to a particular predictor candidate, for the particular predictor candidate, determine one or more corresponding control point motion vectors for the block to be decoded, for the particular predictor candidate, identify a motion vector used for prediction of a sub-block of the block to be decoded based on the one or more corresponding control point motion vectors, for the particular predictor candidate, determine a corresponding motion field based on a motion model, and decode the block based on the corresponding motion field. The at least one memory is configured to at least temporarily store the decoded block.

[0010] According to another general aspect of at least one embodiment, a method for video encoding is presented that includes determining, for a block to be encoded in a picture, a set of predictor candidates; for each of a plurality of predictor candidates in the set of predictor candidates, determining one or more corresponding control point motion vectors for the block; for each of the plurality of predictor candidates, determining a corresponding motion field based on a motion model for each of the plurality of predictor candidates in the set of predictor candidates based on the one or more corresponding control point motion vectors; evaluating the plurality of predictor candidates according to one or more criteria and based on the corresponding motion field; selecting a predictor candidate from the plurality of predictor candidates based on the evaluation; and encoding the block based on the predictor candidate selected from the set of predictor candidates.

[0011]

[11] According to another general aspect of at least one embodiment, a method for video decoding is presented, comprising obtaining an index corresponding to a selected predictor candidate for a block to be decoded in a picture. The selected predictor candidate is selected by: determining, in an encoder, a set of predictor candidates for a block to be coded in the picture; determining, for each of a plurality of predictor candidates in the set of predictor candidates, one or more corresponding control point motion vectors for the block to be coded; determining, for each of the plurality of predictor candidates, a corresponding motion field based on a motion model for each of the plurality of predictor candidates in the set of predictor candidates based on the one or more corresponding control point motion vectors; evaluating the plurality of predictor candidates according to one or more criteria and based on the corresponding motion field; selecting a predictor candidate from the plurality of predictor candidates based on the evaluation; and encoding an index for the selected predictor candidate from the set of predictor candidates. The method further comprises decoding the block based on the index corresponding to the selected predictor candidate.

[0012]

[12] According to another general aspect of at least one embodiment, the method may further include evaluating the plurality of predictor candidates according to one or more criteria and based on a corresponding motion field for each of the plurality of predictor candidates, and selecting a predictor candidate from the plurality of predictor candidates based on the evaluation.

[0013]

[13] According to another general aspect of at least one embodiment, the apparatus may further include means for evaluating the plurality of predictor candidates according to one or more criteria and based on a corresponding motion field for each of the plurality of predictor candidates, and means for selecting a predictor candidate from the plurality of predictor candidates based on the evaluation.

[0014]

[14] According to another general aspect of at least one embodiment, the one or more criteria are based on a rate-distortion decision corresponding to one or more of a plurality of predictor candidates in a set of predictor candidates.

[0015]

[15] According to another general aspect of at least one embodiment, decoding or encoding a block based on a corresponding motion field comprises decoding or encoding, respectively, a predictor indicated by the motion vector based on a predictor for the subblock.

[0016]

[16] According to another general aspect of at least one embodiment, the set of predictor candidates comprises spatial and / or temporal candidates for a block to be encoded or decoded.

[0017]

[17] According to another general aspect of at least one embodiment, the motion model is an affine model.

[0018] According to another general aspect of at least one embodiment, for each position (x,y) in a block being encoded or decoded, a corresponding motion field is

number

[0019]

[19] According to another general aspect of at least one embodiment, the number of spatial candidates is five or more.

[0020]

[20] According to another general aspect of at least one embodiment, one or more additional control point motion vectors are added to determine a corresponding motion field based on a function of the determined one or more corresponding control point motion vectors.

[0021]

[21] According to another general aspect of at least one embodiment, the function includes one or more of: 1) an average, 2) a weighted average, 3) a unique average, 4) an average, 5) a median, or 6) a unidirectional portion of one of 1) to 6) above, of the determined one or more corresponding control point motion vectors.

[0022]

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

[0023]

[23] According to another general aspect of at least one embodiment there is provided a signal comprising video data generated in accordance with any method or apparatus described above.

[0024]

[24] One or more of the embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the methods described above. Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a bitstream generated according to the methods described above. Embodiments of the present disclosure also provide methods and apparatus for transmitting a bitstream generated according to the methods described above. Embodiments of the present disclosure also provide a computer program product including instructions for performing any of the methods described above. [Brief description of the drawings]

[0025] [Figure 1]

[25] shows a block diagram of an embodiment of a HEVC (High Efficiency Video Coding) video encoder. [Figure 2A]

[26] is an example image showing HEVC reference sample generation. [Figure 2B]

[27] is an example image showing intra prediction direction in HEVC. [Diagram 3]

[28] shows a block diagram of an embodiment of an HEVC video decoder. [Figure 4]

[29] gives an example of the coding tree unit (CTU) and coding tree (CT) concepts for representing compressed HEVC pictures. [Diagram 5]

[30] gives an example of splitting a coding tree unit (CTU) into coding units (CUs), prediction units (PUs), and transform units (TUs). [Figure 6]

[31] gives an example of an affine model as a motion model used in the Joint Exploration Model (JEM). [Figure 7]

[32] gives an example of a 4x4 sub-CU-based affine motion vector field used in the Joint Evolution Model (JEM). [Figure 8A]

[33] shows examples of motion vector prediction candidates for affine inter-CU. [Figure 8B]

[34] shows examples of motion vector prediction candidates in affine merging mode. [Figure 9]

[35] give an example of the spatial derivation of affine control point motion vectors in the case of the affine merged mode motion model. [Figure 10]

[36] An example method according to a general aspect of at least one embodiment is provided. [Figure 11]

[37] Another example method according to a general aspect of at least one embodiment is provided. [Figure 12]

[38] Another example method according to a general aspect of at least one embodiment is provided. [Figure 13]

[39] Another example method according to a general aspect of at least one embodiment is provided. [Figure 14]

[40] present an example of a known process for evaluating inter-CU affine merging modes in JEM. [Figure 15]

[41] present an example of the process for selecting predictor candidates in the affine merging mode in JEM. [Figure 16]

[42] shows an example of an affine motion field propagated by an affine merging prediction candidate located to the left of the current block being encoded or decoded. [Figure 17]

[43] shows an example of an affine motion field propagated by affine merger predictor candidates located above and to the right of the current block being encoded or decoded. [Figure 18]

[44] illustrates an example of a predictor candidate selection process according to a general aspect of at least one embodiment. [Figure 19]

[45] illustrates an example process for constructing a set of multiple predictor candidates according to a general aspect of at least one embodiment. [Figure 20]

[46] shows an example of a process for deriving the top left and top right corner CPMVs for each predictor candidate, according to a general aspect of at least one embodiment. [Figure 21]

[47] illustrates an example of an expanded set of spatial predictor candidates in accordance with a general aspect of at least one embodiment. [Figure 22]

[48] ​​Figure 13 illustrates another example of a process for constructing a set of multiple predictor candidates according to a general aspect of at least one embodiment. [Figure 23]

[49] illustrates another example of a process for constructing a set of multiple predictor candidates in accordance with a general aspect of at least one embodiment. [Figure 24]

[50] An example of how temporary candidates may be used for predictor candidates according to a general aspect of at least one embodiment is shown. [Diagram 25]

[51] illustrates an example process for adding an average CPMV motion vector calculated from stored CPMV candidates to a final CPMV candidate set, according to a general aspect of at least one embodiment. [Figure 26]

[52] FIG. 1 shows a block diagram of an example device in which various aspects of the embodiments may be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0026]

[53] Figure 1 shows an exemplary High Efficiency Video Coding (HEVC) encoder 100. HEVC is a compression standard developed by the Joint Coordination Team on Video Coding (JCT-VC) (see, for example, “ITU-T H.265 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (10 / 2014), SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS, Infrastructure of audiovisual services-Coding of moving video, High efficiency video coding, Recommendation ITU-T H.265”).

[0027]

[54] In HEVC, to encode a video sequence having one or more pictures, the pictures are partitioned into one or more slices, and each slice may contain one or more slice segments. The slice segments are organized into coding units, prediction units, and transform units.

[0028]

[55] In this application, the terms "reconstructed" and "decoded" are used interchangeably, the terms "encoded" and "coded" are used interchangeably, and the terms "picture" and "frame" may be used interchangeably. Often, but not always, the term "reconstructed" is used on the encoder side and "decoded" is used on the decoder side.

[0029]

[56] The HEVC specification distinguishes between "blocks" and "units", where a "block" refers to a specific area within the sample array (e.g., luma, Y) and a "unit" includes all coded juxtaposed blocks of color components (Y, Cb, Cr, or monochrome), syntax elements, and prediction data associated with the block (e.g., motion vectors).

[0030]

[57] For encoding, a picture is partitioned into square coding tree blocks (CTBs) with configurable size, and a contiguous set of coding tree blocks is grouped into a slice. A coding tree unit (CTU) includes the CTB of a coded color component. The CTB is the root of a quadtree that divides into coding blocks (CBs), which may be partitioned into one or more prediction blocks (PBs), forming the root of a quadtree that divides into transform blocks (TBs). Corresponding to the coding blocks, prediction blocks, and transform blocks, a coding unit (CU) includes a prediction unit (PU) and a set of tree-structured transform units (TUs), where the PUs include prediction information for all color components, and the TUs include residual coding syntax structures for each color component. The sizes of the CBs, PBs, and TBs of the luma component are in accordance with the corresponding CUs, PUs, and TUs. In this application, the term "block" may be used to refer to any of the CTUs, CUs, PUs, TUs, CBs, PBs, and TBs, for example. In addition, "block" may be used to refer to macroblocks and partitions specified in H.264 / AVC or other video encoding standards, and more generally to data arrays of various sizes.

[0031]

[58] In a typical encoder 100, a picture is coded by the following encoder elements: A picture to be coded is processed in units of CUs. Each CU is coded using either intra or inter mode. If the CU is coded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) whether to use intra or inter mode to code the CU, and indicates the intra / inter decision by a prediction mode flag. A prediction residual is calculated by subtracting (110) the predicted block from the original image block.

[0032]

[59] CUs in intra modes are predicted from reconstructed neighboring samples in the same slice. A set of 35 intra prediction modes is available in HEVC, including DC prediction mode, planar prediction mode, and 33 angular prediction modes. The intra prediction reference is reconstructed from rows and columns adjacent to the current block. The reference spans twice the block size horizontally and vertically, using samples available from previously reconstructed blocks. When an angular prediction mode is used for intra prediction, the reference samples may be copied along the direction indicated by the angular prediction mode.

[0033]

[60] The available luma intra-prediction modes for the current block may be coded using two different options: If the applicable mode is included in the three most probable modes (MPMs), the mode is signaled by an index in the MPM list; otherwise, the mode is signaled by a fixed-length binarization of the mode index. The three most probable modes are derived from the intra-prediction modes of the upper and left neighboring blocks.

[0034]

[61] For an inter CU, the corresponding coding block is further partitioned into one or more prediction blocks. Inter prediction is performed at the PB level, and the corresponding PU contains information about how the inter prediction was performed. Motion information (i.e., motion vectors and reference picture indexes) can be signaled in two ways: "merged mode" and "advanced motion vector prediction (AMVP)".

[0035]

[62] In merged mode, a video encoder or decoder collects a candidate list based on already coded blocks, and the video encoder signals an index for one of the candidates in the candidate list. At the decoder side, motion vectors (MVs) and reference picture indexes are reconstructed based on the signals of the candidates.

[0036]

[63] The set of possible candidates in merge mode consists of spatially adjacent candidates, temporal candidates, and generated candidates. Figure 2A shows the locations of five spatial candidates {a1, b1, b0, a0, b2} with respect to a current block 210, where a0 and a1 are to the left of the current block, and b1, b0, b2 are above the current block. For each candidate location, the availability is checked according to the order a1, b1, b0, a0, b2, and then redundancies within the candidates are removed.

[0037]

[64] The motion vectors of the collocated reference pictures can be used to derive the temporal candidates. The available reference pictures are selected on a slice basis and indicated in the slice header, and the reference index for the temporal candidates is i ref = 0. If the POC distance (td) between the picture of the co-located PU and the reference picture from which the co-located PU is predicted is the same as the distance (tb) between the current picture and the reference picture that contains the co-located PU, then the co-located motion vector mv col can be used directly as a temporal candidate. Otherwise, the scaled motion vector tb / td * mv col are used as time candidates. Depending on where the current PU is located, the collocated PU is determined by the sample location at the bottom right or center of the current PU.

[0038]

[65] The maximum number of merge candidates N is specified in the slice header. If the number of merge candidates is greater than N, only the first N-1 spatial and temporal candidates are used. Otherwise, if the number of merge candidates is less than N, the set of candidates is filled up to the maximum number N by candidates generated as a combination of already existing candidates or null candidates. Candidates used in the merge mode may be referred to as "merged candidates" in this application.

[0039]

[66] If a CU indicates skip mode, the available indices for merging candidates are indicated only if the list of merging candidates is greater than one, and no further information is coded for the CU. In skip mode, motion vectors are applied without residual updates.

[0040]

[67] In AMVP, a video encoder or decoder collects a candidate list based on motion vectors determined from already coded blocks. The video encoder then signals an index in the candidate list to identify a motion vector predictor (MVP) and a motion vector differential (MVD). At the decoder side, the motion vector (MV) is reconstructed as MVP+MVD. The available reference picture indexes are also explicitly coded in the PU syntax for AMVP.

[0041]

[68] In AMVP only two spatial motion candidates are selected. The first spatial motion candidate is selected from the left position {a0, a1} and the second candidate is selected from the top position {b0, b1, b2}, while maintaining the search order shown in the two sets. If the number of motion vector candidates is not equal to two, a temporal MV candidate may be included. If the set of candidates is still not completely filled, a zero motion vector is used.

[0042]

[69] If the reference picture index of the spatial candidate corresponds to the reference picture index for the current PU (i.e., use the same reference picture index or both use long-term reference pictures regardless of the reference picture list), the spatial candidate motion vector is used directly. Otherwise, if the reference picture is short-term, the candidate motion vector is scaled according to the distance between the current picture and the reference picture of the current PU (tb) and the distance between the current picture and the reference picture of the spatial candidate (td). Candidates used in AMVP mode may be referred to as "AMVP candidates" in this application.

[0043]

[70] For ease of description, a block tested in "Merged" mode at the encoder side or decoded in "Merged" mode at the decoder side is referred to as a "Merged" block, and a block tested in AMVP mode at the encoder side or decoded in AMVP mode at the decoder side is referred to as an "AMVP" block.

[0044]

[71] Figure 2B shows a typical motion vector representation using AMVP. For a current block 240 to be coded, motion estimation determines a motion vector (MV current ) from the left block 230. left ) and the motion vector (MV above ) and MV left and M.V. above The motion vector predictor is the MVP. current Then, the MVD current =MV current -MVP current The motion vector difference can be calculated as:

[0045]

[72] Motion compensated prediction may be performed using one or two reference pictures for prediction. In P slices, only a single prediction reference may be used for inter prediction, allowing uni-prediction for the predictive block. In B slices, two reference picture lists are available, and uni- or bi-prediction may be used. In bi-prediction, one reference picture from each of the reference picture lists is used.

[0046]

[73] In HEVC, the precision of the motion information for motion compensation is one-quarter sample (also called quarter-pel or 1 / 4-pel) for the luma component and one-eighth sample (also called 1 / 8-pel) for the chroma components for a 4:2:0 configuration. A 7-tap or 8-tap interpolation filter is used for the interpolation of fractional sample positions, i.e., 1 / 4, 1 / 2, and 3 / 4 of a full sample position in both the horizontal and vertical directions can be processed for luma.

[0047]

[74] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, as well as motion vectors and other syntax elements, are entropy coded (145) to output a bitstream. The encoder may skip the transform and apply quantization directly to the untransformed residual signal on a 4x4 TU basis. The encoder may also omit both the transform and quantization, i.e., the residual is directly coded without application of a transform or quantization process. In direct PCM coding, no prediction is applied and the coding unit samples are coded directly into the bitstream.

[0048]

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

[0049]

[76] Figure 3 shows a block diagram of an exemplary HEVC video decoder 300. In the exemplary decoder 300, the bitstream is decoded by decoder elements as described below. The video decoder 300 generally performs a decoding pass reciprocal to the encoding pass shown in Figure 1, which performs video decoding as part of the encoding of the video data.

[0050]

[77] In particular, the decoder input includes a bitstream that may be generated by the video encoder 100. The bitstream is first entropy decoded (330) to obtain transform coefficients, motion vectors, and other coding information. The transform coefficients are inverse quantized (340) and inverse transformed (350) to decode the prediction residual. The decoded prediction residual is combined (355) with a predicted block to reconstruct an image block. The predicted block may result (370) from intra prediction (360) or motion compensated prediction (or inter prediction) (375). As described above, AMVP and merged mode techniques may be used to derive motion vectors for motion compensation, which may use an interpolation filter to compute interpolated values ​​for sub-integer samples of the reference block. An in-loop filter (365) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (380).

[0051]

[78] As mentioned above, in HEVC, motion compensated temporal prediction is used to exploit the redundancy that exists between successive pictures of a video. To that end, a motion vector is associated with each prediction unit (PU). As mentioned above, each CTU is represented in the compressed domain by a coding tree. This is a quadtree partition of the CTU, where each leaf is called a coding unit (CU), and is also shown in FIG. 4 for CTUs 410 and 420. Each CU is then endowed with some intra or inter prediction parameters as prediction information. To that end, a CU may be spatially partitioned into one or more prediction units (PUs), and each PU is assigned some prediction information. An intra or inter coding mode is assigned at the CU level. These concepts are further illustrated in FIG. 5 for an exemplary CTU 500 and CU 510.

[0052]

[79] In HEVC, each PU is assigned one motion vector. This motion vector is used for motion-compensated temporal prediction of the considered PU. Thus, in HEVC, the motion model linking a prediction block and its reference block simply consists of a transformation or calculation based on the reference block and the corresponding motion vector.

[0053]

[80] To improve HEVC, reference software and / or documentation JEM (Joint Exploration Model) is being developed by the Joint Video Exploration Team (JVET). In one of the JEM versions (e.g., “Algorithm Description of Joint Exploration Test Model 5”, document JVET-E1001_v2, Joint Video Exploration Team of ISO / IEC JTC1 / SC29 / WG11, 5th Meeting, 12-20 January 2017, Geneva, Switzerland), several additional motion models are supported to improve temporal prediction. To do so, a PU may be spatially partitioned into sub-PUs, and the model may be used to assign each sub-PU a dedicated motion vector.

[0054]

[81] In more recent versions of JEM (e.g., “Algorithm Description of Joint Exploration Test Model 2”, document JVET-B1001_v3, Joint Video Exploration Team of ISO / IEC JTC1 / SC29 / WG11, 2nd Meeting, 20-26 February 2016, San Diego, USA), it is not specified that CUs are split into PUs or TUs. Instead, more flexible CU sizes may be used, and some motion data is directly assigned to each CU. In this new codec design with newer JEM versions, CUs may be split into sub-CUs, and motion vectors may be calculated for each sub-CU of a split CU.

[0055]

[82] One of the new motion models introduced in JEM is the use of an affine-type model for motion vectors to represent the motion vectors in a CU. The motion model used is illustrated in Figure 6 and expressed by Equation 1 as shown below. The affine-type motion field comprises the following motion vector component values ​​for each location (x,y) in the considered block 600 of Figure 6:

number

[0056]

[83] To reduce complexity, motion vectors are calculated for each 4x4 subblock (sub-CU) of the considered CU 700, as shown in Figure 7. Affine-style motion vectors are calculated from the control point motion vectors for each central position of each subblock. The resulting MVs are expressed with an accuracy of 1 / 16 pel. As a result, the compensation of a coding unit in affine mode consists in the motion-compensated prediction of each subblock by its own motion vector. These motion vectors for the subblocks are respectively shown as arrows for each of the subblocks in Figure 7.

[0057]

[84] In JEM, the seeds are stored in the corresponding 4x4 sub-blocks, so the affine mode can only be used for CUs with width and height up to 4 (so as to have separate sub-blocks for each seed). For example, in a 64x4 CU, there is only one left sub-block for storing the top-left and bottom-left seeds, and in a 4x32 CU, there is only one upper sub-block for the top-left and top-right seeds, and it is not possible to properly store seeds in such thin CUs in JEM. According to our proposal, it is possible to handle such thin CUs with width or height equal to 4, since the seeds are stored separately.

[0058]

[85] Referring again to the example of Fig. 7, an affine CU is defined by an associated affine model consisting of three motion vectors, called affine model seeds, as motion vectors from the top-left, top-right and bottom-left corners of the CU (v0, v1 and v2 in Fig. 7). This affine model then allows to calculate the affine motion vector field in the CU (black motion vectors in Fig. 7), which is done on a 4x4 sub-block basis. In JEM, these seeds are attached to the top-left, top-right and bottom-left 4x4 sub-blocks of the considered CU. In the proposed solution, the affine model seeds are stored separately as motion information attached to the whole CU (e.g. IC flags). The motion model is thus decoupled from the motion vectors used for the actual motion compensation at the 4x4 block level. This new storage may allow to store the complete motion vector field at the 4x4 sub-block level. This also allows to use affine motion compensation for blocks of size 4 in width or height.

[0059]

[86] Affine motion compensation can be used in JEM in two ways: Affine Inter (AF_INTER) mode and Affine Merging mode, which are described in the following sections.

[0060]

[87] Affine Inter (AF_INTER) mode: In affine inter mode, a CU in AMVP mode of size larger than 8x8 can be predicted. This is signaled by a flag in the bitstream. The generation of an affine motion field for that inter CU involves determining a control point motion vector (CPMV) obtained by the decoder by adding a motion vector differential and a control point motion vector prediction (CPMVP). A CPMVP is a pair of motion vector candidates chosen from the sets (A, B, C) and (D, E) shown in FIG. 8A respectively for the current CU 800 being coded or decoded.

[0061]

[88] Affine Merge Mode: In affine merge mode, a CU-level flag indicates whether the merged CU uses affine motion compensation. If so, the first available neighboring CU coded in affine mode is selected among the ordered set of candidate positions A, B, C, D, E in FIG. 8B for the current CU 880 being coded or decoded. However, the ordered set of candidate positions in this JEM is the same as the spatially neighboring candidates in merge mode in HEVC as shown in FIG. 2A and described above.

[0062]

[89] Once the first neighboring CU in affine mode is obtained, three CPMVs from the top-left, top-right, and bottom-left corners of the neighboring affine CU are

number

number

number

number

[0063]

[90] Control point motion vector of current CU

number

number

[0064]

[91] Thus, a general aspect of at least one embodiment aims to improve the performance of the affine merging mode in JEM, so that the compensation performance of the considered video codec can be improved. Thus, in at least one embodiment, an extended and improved affine motion compensation apparatus and method is presented, e.g., for coding units coded in the affine merging mode. The proposed extended and improved affine mode includes evaluating multiple predictor candidates in the affine merging mode.

[0065]

[92] As mentioned above, in the current JEM, among the surrounding CUs, the first neighboring CU coded in affine merging mode is selected to predict the affine motion model related to the current CU to be coded or decoded. That is, the first neighboring CU candidate among the ordered set (A, B, C, D, E) in Fig. 8B coded in affine mode is selected to predict the affine motion model of the current CU.

[0066]

[93] Thus, at least one embodiment selects the affine merging prediction candidate that provides the best coding efficiency when encoding the current CU in affine merging mode, rather than using only the first one in the ordered set as described above. Thus, an improvement of this embodiment can be achieved at a general level by, for example, (with respect to the encoder / decoder) constructing a set of multiple affine merger predictor candidates that are likely to provide a good set of candidates for prediction of an affine motion model of a CU; Selecting one predictor for the control point motion vectors of the current CU from the configured set (with respect to the encoder / decoder); and / or (For encoder / decoder) Signal / decode the index of the control point motion vector predictor of the current CU Equipped with.

[0067]

[94] Accordingly, FIG. 10 illustrates an exemplary encoding method 1000 according to a general aspect of at least one embodiment. At 1010, the method 1000 determines, for a block to be encoded in a picture, a set of predictor candidates having a plurality of predictor candidates. At 1020, the method 1000 selects a predictor candidate from the set of predictor candidates. At 1030, the method 1000 determines, for a predictor candidate selected from the set of predictor candidates, one or more corresponding control point motion vectors for the block. At 1040, the method 1000 determines, for a selected predictor candidate, a corresponding motion field based on a motion model for the selected predictor candidate based on the one or more corresponding control point motion vectors, where the corresponding motion field identifies a motion vector used for prediction of a subblock of the block to be encoded. At 1050, the method 1000 encodes the block based on the corresponding motion field for the predictor candidate selected from the set of predictor candidates. At 1060, the method 1000 encodes an index for the selected predictor candidate from the set of predictor candidates.

[0068]

[95] Figure 11 illustrates another exemplary encoding method 1100 according to a general aspect of at least one embodiment. At 1110, the method 1100 determines a set of predictor candidates for a block to be encoded in a picture. At 1120, the method 1100 determines, for each of a plurality of predictor candidates in the set of predictor candidates, one or more corresponding control point motion vectors for the block. At 1130, the method 1100 determines, for each of the plurality of predictor candidates, a corresponding motion field based on a motion model for each of the plurality of predictor candidates in the set of predictor candidates based on the one or more corresponding control point motion vectors. At 1140, the method 1100 evaluates the plurality of predictor candidates according to one or more criteria and based on the corresponding motion field. At 1150, the method 1100 selects a predictor candidate from the plurality of predictor candidates based on the evaluation. At 1160, the method 1100 encodes an index for the selected predictor candidate from the set of predictor candidates.

[0069]

[96] Figure 12 illustrates an exemplary decoding method 1200 according to a general aspect of at least one embodiment. At 1210, the method 1200 receives an index corresponding to a particular predictor candidate for a block to be decoded in a picture. In various embodiments, the particular predictor candidate has been selected at an encoder, and the index allows one of the multiple predictor candidates to be selected. At 1220, the method 1200 determines one or more corresponding control point motion vectors for the block to be decoded for the particular predictor candidate. At 1230, the method 1200 determines a corresponding motion field based on the one or more corresponding control point motion vectors for the particular predictor candidate. In various embodiments, the motion field is based on a motion model, and the corresponding motion field identifies motion vectors used for prediction of sub-blocks of the block to be decoded. At 1240, the method 1200 decodes the block based on the corresponding motion field.

[0070]

[97] Figure 13 illustrates another exemplary decoding method 1300 according to a general aspect of at least one embodiment. At 1310, the method 1300 obtains an index corresponding to a selected predictor candidate for a block to be decoded in a picture. As also shown at 1310, the selected predictor candidate has been selected at an encoder by determining a set of predictor candidates for a block to be coded in the picture, determining, for each of the plurality of predictor candidates in the set of predictor candidates, one or more corresponding control point motion vectors for the block to be coded, determining, for each of the plurality of predictor candidates, a corresponding motion field based on a motion model for each of the plurality of predictor candidates in the set of predictor candidates based on the one or more corresponding control point motion vectors, evaluating the plurality of predictor candidates according to one or more criteria and based on the corresponding motion field, selecting a predictor candidate from the plurality of predictor candidates based on the evaluation, and encoding an index for the selected predictor candidate from the set of predictor candidates. At 1320, the method 1300 decodes the block based on the index corresponding to the selected predictor candidate.

[0071]

[98] Figure 14 shows details of an embodiment of a process 1400 used to predict an affine motion field of a current CU that is encoded or decoded in the existing affine merging mode in JEM. The input 1401 to this process 1400 is a current coding unit for which it is desired to generate an affine motion field of a sub-block as shown in Figure 7. At 1410, an affine merging CPMV for the current block is obtained using selected predictor candidates as described above with respect to Figures 6, 7, 8B, and 9. The derivation of the predictor candidates is also described in more detail below with respect to Figure 15.

[0072] As a result, at 1420, the top left and top right control point motion vectors

number

number

[0073]

[0100] In at least one implementation, a residual flag is used. At 1450, a flag indicating that encoding was done with residual data is activated (noResidual=0). At 1460, the current CU is fully encoded and reconstructed (with residual) and a corresponding RD cost is generated. Then, a flag indicating that encoding was done without residual data is deactivated (1480, 1485, noResidual=1) and the process returns to 1460 where the CU is encoded (without residual) and a corresponding RD cost is generated. The lowest RD cost between the past two (1470, 1475) indicates whether the residual needs to be encoded (normal or skip). The method 1400 ends at 1499. This best RD cost is then put into competition with other encoding modes. Rate-distortion determination is described in more detail below.

[0074]

[0101] Fig. 15 shows details of an embodiment of a process 1500 used to predict one or more control points of the affine motion field of a current CU. It consists in searching for CUs coded / decoded in affine mode among the spatial positions (A, B, C, D, E) of Fig. 8B (1510, 1520, 1530, 1540, 1550). If none of the searched spatial positions are coded in affine mode, a variable indicating the number of candidate positions, for example numValidMergeCand, is set to 0 (1560). Otherwise, a first position corresponding to a CU in affine mode is selected (1515, 1525, 1535, 1545, 1555). The process 1500 then consists in calculating a control point motion vector that is subsequently used to generate the affine motion field assigned to the current CU, and in setting numValidMergeCand to 1 (1580). This control point calculation proceeds as follows: The CU containing the selected position is determined. This is one of the neighboring CUs of the current CU, as described above. Next, three CPMVs from the top left, top right, and bottom left corners in the selected neighboring CU are calculated as described above with respect to FIG.

number

number

number

number

number

[0075]

[0102] The inventors have recognized that one aspect of the existing affine merging process described above is to systematically utilize one and only one motion vector predictor to propagate the affine motion field from surrounding informal (i.e. already coded or decoded) and neighboring CUs towards the current CU. In various circumstances, the inventors have further recognized that this aspect may be disadvantageous, for example, because it does not select the optimal motion vector predictor. Also, this predictor selection consists of only the first informal and neighboring CU coded in affine mode in the ordered set (A, B, C, D, E), as already described above. In various circumstances, the inventors have further recognized that this limited selection may be disadvantageous, for example, because a better predictor may be available. Thus, the existing process in the current JEM does not take into account that some possible informal and neighboring CUs around the current CU may also have used affine motion, and that CUs other than the first CU found to have used affine motion may be better predictors for the motion information of the current CU.

[0076]

[0103] Thus, the inventors have recognized potential advantages in several ways to improve the prediction of current CU affine motion vectors that are not utilized by existing JEM codecs. In accordance with a general aspect of at least one embodiment, such advantages are found provided in the inventive motion model, as described below, and illustrated in Figures 16 and 17.

[0077]

[0104] In both Figures 16 and 17, the current CU to be coded or decoded is the big one in the middle, 1610 in Figure 16 and 1710 in Figure 17, respectively. Two potential predictor candidates correspond to positions A and C in Figure 8B, and are shown as predictor candidates 1620 in Figure 16 and 1720 in Figure 17, respectively. In particular, Figure 16 shows the potential motion field of the current block to be coded or decoded 1610 when the selected predictor candidate is in the left position (position A in Figure 8B). Similarly, Figure 17 shows the potential motion field of the current block to be coded or decoded 1710 when the selected predictor candidate is in the top right position (i.e., position C in Figure 8B). As shown in the exemplary diagram, depending on which affine merge predictor is selected, various motion vector sets for sub-blocks may be generated for the current CU. Therefore, the inventor recognizes that a selection between these two candidates optimizing one or more criteria, such as rate-distortion (RD), can help improve the encoding / decoding performance of the current CU in the affine merging mode.

[0078]

[0105] Thus, one general aspect of at least one embodiment consists in selecting a better motion predictor candidate among a set of candidates for deriving a CPMV of a current CU to be encoded or decoded. At the encoder side, the candidate used to predict the current CPMV is selected according to a rate-distortion cost criterion according to one aspect of one exemplary embodiment. The index is then encoded in an output bitstream for a decoder according to another aspect of another exemplary embodiment.

[0079]

[0106] According to another aspect of another exemplary embodiment, in the decoder, a set of candidates may be constructed and a predictor may be selected from this set in the same way as on the encoder side. In such an embodiment, the index does not need to be coded in the output bitstream. Other embodiments of the decoder avoid constructing a set of candidates, or at least avoid selecting a predictor from the same set as the encoder, and simply decode the index corresponding to the selected candidate from the bitstream and derive the corresponding associated data.

[0080]

[0107] According to other aspects of other exemplary embodiments, the CPMV used herein is not limited to the two top-right and top-left positions of the current CU being encoded or decoded, as shown in Figure 6. Other embodiments comprise, for example, only one vector or more than two vectors, and the positions of these CPMVs are, for example, at other corner positions or at any positions inside or outside the current block, such as, for example, at the center of a corner 4x4 sub-block or at an interior corner position(s) of a corner 4x4 sub-block, as long as it is possible to derive a motion field.

[0081]

[0108] In an exemplary embodiment, the set of potential candidate predictors investigated is the same as the set of positions (A, B, C, D, E) used to obtain the CPMV predictor in the existing affine merging mode in JEM as shown in Fig. 8B. Fig. 18 details one exemplary selection process 1800 for selecting the best candidate to predict the affine motion model of the current CU according to a general aspect of this embodiment. However, other embodiments use a set of predictor positions different from A, B, C, D, E, which may include fewer or more elements in the set.

[0082]

[0109] As shown in 1801, the input to this exemplary embodiment 1800 is also the information of the current CU to be coded or decoded. In 1810, a set of multiple affine merge predictor candidates is constructed according to the algorithm 1500 of FIG. 15 described above. The algorithm 1500 of FIG. 15 includes collecting all the neighboring positions (A, B, C, D, E) shown in FIG. 8A that correspond to the informal CU coded in affine mode into a candidate set for prediction of the affine motion of the current CU. Thus, the process 1800 does not end when an informal affine CU is found, but stores all possible candidates for affine motion model propagation from the informal CU to the current CU for all of the multiple motion predictor candidates in the set.

[0083]

[0110] Upon completion of the process of Figure 15 as shown at 1810 in Figure 18, the process 1800 of Figure 18 calculates at 1820 the CPMVs of the predicted top-left and top-right corners from each candidate of the set provided at 1810. This process of 1820 is further detailed and shown in Figure 19.

[0084]

[0111] Figure 19 again shows details of 1820 in Figure 18, which includes a loop over each candidate found determined from the previous step (1810 in Figure 18). For each affine merge predictor candidate, a CU is determined that contains the spatial location of that candidate. Then, for each reference list L0 and L1 (at the base of the B slice), a control point motion vector that is useful for generating the motion field of the current CU is determined.

number

number

[0085]

[0112] Upon completion of the process of FIG. 19, the process returns to FIG. 18, where a loop 1830 over each affine merging predictor candidate is performed. This may, for example, select the CPMV candidate that results in the lowest rate-distortion cost. Within the loop 1830 over each candidate, another loop 1840, similar to the process as shown in FIG. 14, is used to encode the current CU using each CPMV candidate, as described above. The algorithm of FIG. 14 ends when all candidates have been evaluated, and its output may comprise an index of the best predictor. As described above, by way of example, the candidate with the smallest rate-distortion cost may be selected as the best predictor. Various embodiments use the best predictor to encode the current CU, and certain embodiments also encode an index for the best predictor.

[0086]

[0113] An example of determining the rate-distortion cost, as known to those skilled in the art, is RD cost =D+λ×R where D represents the distortion (typically the L2 distance) between the original block and the reconstructed block obtained by encoding and decoding the current CU with the considered candidate, R represents the rate cost, e.g., the number of bits generated by encoding the current block with the considered candidate, and λ represents the rate target when the video sequence is being encoded.

[0087]

[0114] Another exemplary embodiment is described below. This exemplary embodiment aims to further improve the coding performance of the affine merge mode by expanding the set of affine merge candidates compared to the existing JEM. This exemplary embodiment can be implemented at both the encoder side and the decoder side as well to expand the set of candidates. Thus, in one non-limiting aspect, some additional predictor candidates can be used to construct a set of affine merge candidates. The additional candidates can be taken from additional spatial locations, such as A' 2110 and B' 2120 surrounding the current CU 2100 as shown in FIG. 21. Other embodiments use even additional spatial locations along or adjacent to one of the edges of the current CU 2100.

[0088]

[0115] FIG. 22 illustrates an exemplary algorithm 2200 corresponding to an embodiment using additional spatial locations A' 2110 and B' 2120 as shown in FIG. 21 and described above. For example, the algorithm 2200 includes testing a new candidate location A' if location A is not a valid affine merge prediction candidate (e.g., not within a CU coded in affine mode) at 2210-2230 of FIG. 22. Similarly, for example, at 2240-2260 of FIG. 22, if location B does not provide any valid candidate (e.g., not within a CU coded in affine mode), location B' is also tested. Other aspects of the exemplary process 2200 for constructing a set of affine merge candidates remain essentially unchanged compared to FIG. 19 as shown and described above.

[0089]

[0116] In another exemplary embodiment, existing merge candidate positions are considered first before evaluating the newly added position. The added position is evaluated only if the set of candidates contains fewer candidates than a maximum number of merge candidates, for example 5 or 7. The maximum number may be predefined or may be variable. This exemplary embodiment is detailed by exemplary algorithm 2300 in FIG. 23.

[0090]

[0117] According to another exemplary embodiment, additional candidates, called temporary candidates, are added to the set of predictor candidates. These temporary candidates may be used, for example, when no spatial candidates are found as described above, or, in a variant, when the size of the set of affine merge candidates does not reach a maximum value, also as described above. Other embodiments use temporary candidates before adding spatial candidates to the set. For example, the temporary candidates for predicting the control point motion vector of the current CU may be obtained from one or more of the reference pictures available or used for the current picture. The primary candidate may be employed, for example, at a position corresponding to the lower right neighboring CU of the current CU in each of the reference pictures. This corresponds to the candidate position F2410 for the current CU 2400 to be coded or decoded as shown in FIG. 24.

[0091]

[0118] In an embodiment, for example, for each reference picture in each reference picture list, the affine flag associated with the block in the considered reference picture at position F2410 in Figure 24 is tested. If true, the corresponding CU included in that reference picture is added to the current set of affine merging candidates.

[0092]

[0119] In a further variation, the temporary candidate is taken from the reference picture at a spatial location corresponding to the top-left corner of the current CU 2400. This location corresponds to candidate location G 2420 in Figure 24.

[0093]

[0120] In a further variation, a temporary candidate is obtained from a reference picture at a position corresponding to the bottom-right neighboring CU. Then, if the set of candidates includes fewer candidates than a pre-fixed maximum number of merged candidates, e.g., 5 or 7, a temporary candidate corresponding to the top-left corner G2420 of the current CU is obtained. In other embodiments, temporary candidates are obtained from positions in one or more reference pictures that correspond to different (other than G2420) positions of the current CU2400 or that correspond to other (other than F2410) neighboring CUs of the current CU2400.

[0094]

[0121] In addition, a typical derivation process for control point motion vectors based on temporary candidates proceeds as follows: For each temporary candidate included in the constructed set, a block (tempCU) containing the temporary candidate in the reference picture is identified. Then, three CPMVs located at the top-left, top-right, and bottom-left corners of the identified temporary CU are deduced.

number

number

number

[0095]

[0122] Another exemplary embodiment includes adding an average control point motion vector pair calculated as a function of the control point motion vector derived from each candidate. An exemplary process is now detailed by an exemplary algorithm 2500 shown in Figure 25. A loop 2510 is performed for each affine merging predictor candidate in the set constructed for the reference picture list under consideration.

[0096]

[0123] Then, in 2520, for each reference picture list Lx that is successively equal to L0 and then to L1 (if in a B slice), if the current candidate has a valid CPMV for list Lx, Motion Vector Pair

number

number

number

number

number

number

number

number

number

number

number

[0097]

[0124] Using algorithm 2500 and / or other embodiments, the set of affine merging candidates is further enhanced to include average motion information calculated from the CPMV derived for each candidate inserted into the set of candidates according to the above embodiments as described in the preceding sections.

[0098]

[0125] Since several candidates can result in the same CPMV for the current CU, the above average candidate may result in a weighted average pair of CPMV motion vectors. In fact, the above process calculates the average of the CPMVs collected so far, regardless of their uniqueness in the complete set of CPMVs. Therefore, a variation of this embodiment consists in adding another candidate again to the set of CPMV prediction candidates. This consists in adding the average CPMV of the set of unique collected CPMVs (apart from the weighted average CPMV as above). This provides further candidate CPMVs to the set of predictor candidates for generating the affine motion field of the current CU.

[0099]

[0126] For example, consider the following situation where 5 spatial candidates (L, T, TR, BL, TL) are all available and affine, but the left 3 locations (L, BL, TL) are in the same neighboring CU. At each spatial location, a candidate CPMV can be obtained. Then, the first average is equal to the sum of these 5 CPMVs (some may be identical) divided by 5. In the second average, only the different CPMVs are considered, so only the left 3 (L, BL, TL) are considered once, and the second average is equal to the 3 different CPMVs (L, T, TR) divided by 3. In the first average, the extra CPMVs are added 3 times, and more weight is given to the extra CPMVs. Using the formula, it can be written as Average1=(L+T+TR+BL+TL) / 5, and L=BL=TL, so Average1=(3 * L+T+TL) / 5, and the average 2=(L+T+TL) / 3.

[0100]

[0127] The above two candidate averages are bidirectional as long as the candidate considered holds a motion vector with respect to a reference image in list 0 and another image in list 1. In another variant, a unidirectional average can be added. Four unidirectional candidates can be constructed by taking the motion vectors from list 0 and list 1 separately from the weighted average and the unique average.

[0101]

[0128] One advantage of the exemplary candidate set expansion method described in this application is an increase in diversity in the set of candidate control point motion vectors that can be used to construct an affine motion field associated with a given CU. Thus, the embodiments of the present disclosure provide a technical advance in computational techniques for encoding and decoding video content. For example, the embodiments of the present disclosure improve the rate-distortion performance provided by the affine merge coding mode in JEM. In this way, the overall rate-distortion performance of the considered video codec is improved.

[0102]

[0129] Further exemplary embodiments may be provided to modify the process of FIG. 18. This embodiment includes a quick evaluation of the performance of each CPMV candidate by the following approximate distortion and rate calculation. Thus, for each candidate in the CPMV set, the motion field of the current CU is calculated, and a 4×4 subblock-based temporal prediction of the current CU is performed. Then, the distortion is calculated as the SATD between the predicted CU and the original CU. The rate cost is obtained as the near-order of the bits tied to the signaling of the merge index of the considered candidate. A rough (approximate) RD cost is then obtained for each candidate. The final selection is based on the approximate RD cost in one embodiment. In another embodiment, a subset of the candidates is subjected to a full RD search, i.e., the candidate with the lowest approximate RD cost is then subjected to a full RD search. The advantage of these embodiments is that they limit the increase in encoder-side complexity caused by searching for the best affine merger predictor candidate.

[0103]

[0130] Also, according to another general aspect of at least one embodiment, the affine inter mode as described above may be improved with all of the current teachings presented in this disclosure by having an expanded list of affine predictor candidates. As described above with respect to FIG. 8A, the CPMVP(s) of an affine inter CU are derived from neighboring motion vectors regardless of their coding mode. Thus, similar to the affine merge mode as described above, it is possible to average the affine neighborhood with those affine models to construct the CPMVP(s) of the current affine inter CU. In this case, the affine candidates considered may be the same list as described above with respect to the affine merge mode (e.g., not limited to only spatial candidates).

[0104]

[0131] Thus, a set of multiple predictor candidates is provided to improve the compression / decompression provided by current HEVC and JEM by using better predictor candidates: the process becomes more efficient and coding gains are observed even in cases where a supplementary index may need to be transmitted.

[0105]

[0132] According to a general aspect of at least one embodiment, the set of affine merging candidates (which, like the merging mode, has at least seven candidates) can be, for example, · Spatial candidates from (A, B, C, D, E), - Time candidate in bottom right juxtaposition position if there are less than 5 candidates in the list, - Time candidates for juxtaposition, if there are less than 5 candidates in the list, ·Weighted average, ·Unique average, If the weighted average is bidirectional and there are less than 7 candidates in the list, then the unidirectional average from the weighted average, · One-way average from the unique average if the unique average is bidirectional and there are less than 7 candidates in the list It consists of:

[0106]

[0133] Also, in the case of AMVP, the predictor candidates are, e.g. · Spatial candidates from the set (A, B, C, D, E), · Complementary space candidates from (A', B'), Time candidate for bottom right juxtaposition may be adopted from

[0107]

[0134] Tables 1 and 2 below show the improvement over JEM4.0 (parallel) using some exemplary embodiments of the solution proposed in this disclosure. Each table shows the result of the amount of rate reduction for one of the exemplary embodiments as described above. In particular, Table 1 shows the improvement when the five spatial candidates (A, B, C, D, E) shown in FIG. 8B are used as a set of predictor candidates according to the exemplary embodiment described above. Table 2 shows the improvement for the exemplary embodiment when the following order of predictor candidates is used as described above: first the spatial candidates, if the number of candidates is still less than 5, then the temporal candidates, then the average, and finally the unidirectional average if the number of candidates is still less than 7. Thus, for example, Table 2 shows that for this embodiment, the rate reduction for Y, U, V samples is 0.22%, 0.26%, and 0.12% BD (Bjontegaard-Delta) rate reduction for class D, respectively, with little increase in encoding and decoding execution time (i.e., 100% and 101%, respectively). Thus, exemplary embodiments of the present disclosure improve compression / decompression efficiency while maintaining computational complexity cost over existing JEM implementations. [Table 1] [Table 2]

[0108]

[0135] FIG. 26 illustrates a block diagram of an exemplary system 2600 in which various aspects of the exemplary embodiment may be implemented. The system 2600 may be embodied as a device including various components described below and configured to perform the processes described above. Examples of such devices include, but are not limited to, personal computers, laptop computers, smartphones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected home appliances, and servers. The system 2600 may be communicatively coupled to other similar systems and displays via communication channels as shown in FIG. 26 to implement all or a portion of the exemplary video system described above, as known to those skilled in the art.

[0109]

[0136] Various embodiments of the system 2600 include at least one processor 2610 configured to execute loaded instructions to realize various processes as described above. The processor 2610 may include embedded memory, input / output interfaces, and various other circuits as known in the art. The system 2600 may also include at least one memory 2620 (e.g., volatile memory device, non-volatile memory device). The system 2600 may further include a storage device 2640, which may include non-volatile memory including, but not limited to, EEPROM, ROM, PROM, RAM, DRAM, SRAM, flash, magnetic disk drive, and / or optical disk drive. The storage device 2640 may comprise, as non-limiting examples, an internal storage device, an attached storage device, and / or a network-accessible storage device. The system 2600 may also include an encoder / decoder module 2630 configured to process data to provide encoded and / or decoded video, which may include its own processor and memory.

[0110]

[0137] The encoder / decoder module 2630 represents a module or modules that may be included in a device to perform encoding and / or decoding functions. As is known, such a device may include either or both encoding and decoding modules. In addition, the encoder / decoder module 2630 may be implemented as a separate element of the system 2600 or may be incorporated within one or more processors 2610 as a combination of hardware and software, as is known to those skilled in the art.

[0111]

[0138] Program code that is loaded into the one or more processors 2610 to perform the various processes described above may be stored in the storage device 2640 and then loaded into the memory 2620 for execution by the processor 2610. According to an exemplary embodiment, one or more of the processor(s) 2610, the memory 2620, the storage device 2640, and the encoder / decoder module 2630 may store one or more of various items during the performance of the processes described above, including, but not limited to, input video, decoded video, bitstreams, equations, formulas, metrics, variables, operations, and operating logic.

[0112]

[0139] The system 2600 may also include a communication interface 2650 that enables communication with other devices over a communication channel 2660. The communication interface 2650 may include, but is not limited to, a transceiver configured to transmit and receive data from the communication channel 2660. The communication interface 2650 may include, but is not limited to, a modem or a network card, and the communication channel 2650 may be implemented in a wired and / or wireless medium. The various components of the system 2600 may be connected or communicatively coupled to one another using various suitable connections, including but not limited to an internal bus, wires, and printed circuit boards (not shown in FIG. 26).

[0113]

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

[0114]

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

[0115]

[0142] Also, one skilled in the art can readily appreciate that the exemplary HEVC encoder 100 shown in Figure 1 and the exemplary HEVC decoder shown in Figure 3 can be modified in accordance with the above teachings of the present disclosure to implement the disclosed improvements to the existing HEVC standard to achieve better compression / decompression. For example, the entropy encoding 145, motion compensation 170, and motion estimation 175 in the exemplary encoder 100 of Figure 1, and the entropy decoding 330 and motion compensation 375 in the exemplary decoder of Figure 3 can be modified in accordance with the disclosed teachings to implement one or more exemplary aspects of the present disclosure, including providing advanced affine merging prediction to the existing JEM.

[0116]

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

[0117]

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

[0118]

[0145] Also, the application or claims may refer to "accessing" various information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0119]

[0146] Additionally, the application or claims may refer to "receiving" various information. Receiving, like "accessing," is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Also, "receiving" generally involves something during an operation, such as, for example, storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0120]

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

Claims

1. 1. A method for video encoding, comprising: accessing a set of predictor candidates for a block to be coded in a picture, the set of predictor candidates having a plurality of predictor candidates, the predictor candidates corresponding to coded spatial or temporal neighboring blocks; selecting a predictor candidate from the set of predictor candidates; obtaining a set of control point motion vectors for the block using a plurality of motion vectors associated with the selected predictor candidate from the set of predictor candidates; obtaining a motion field based on a motion model based on the set of control point motion vectors, the motion field identifying motion vectors used for prediction of sub-blocks of the block to be coded; encoding the block based on the motion field; encoding an index for the selected predictor candidate from the set of predictor candidates; A method for providing the above.

2. 1. A method for video decoding, comprising: accessing an index corresponding to a predictor candidate for a block being decoded in a picture, the predictor candidate corresponding to a decoded spatial or temporal neighboring block; obtaining a set of control point motion vectors for the decoded block using a plurality of motion vectors associated with the candidate predictors; obtaining a motion field based on a motion model based on the set of control point motion vectors, the motion field identifying motion vectors used for prediction of sub-blocks of the block to be decoded; decoding the block based on the motion field; A method for providing the above.

3. 1. An apparatus for video encoding, comprising: means for accessing a set of candidate predictors for a block to be coded in a picture, the set having a plurality of candidate predictors corresponding to coded spatial or temporal neighboring blocks; means for selecting a predictor candidate from the set of predictor candidates; means for obtaining a set of control point motion vectors for the block using a plurality of motion vectors associated with the selected predictor candidate from the set of predictor candidates; means for obtaining a motion field based on a motion model, the means identifying motion vectors used for prediction of sub-blocks of the block to be coded based on the set of control point motion vectors; means for encoding the block based on the motion field; means for encoding an index for the selected predictor candidate from the set of predictor candidates; An apparatus comprising:

4. 1. An apparatus for video decoding, comprising: means for accessing, for a block being decoded in a picture, an index corresponding to a predictor candidate corresponding to a decoded spatial or temporal neighboring block; means for obtaining a set of control point motion vectors for the block being decoded using a plurality of motion vectors associated with the candidate predictors; means for obtaining a motion field based on a motion model, the means identifying motion vectors used for prediction of sub-blocks of the block to be decoded based on the set of control point motion vectors; means for decoding the block based on the motion field; An apparatus comprising:

5. evaluating the plurality of predictor candidates according to one or more criteria and based on the motion field for each of the plurality of predictor candidates; selecting the predictor candidate from the plurality of predictor candidates based on the evaluation; The encoding method of claim 1 further comprising:

6. means for evaluating the plurality of predictor candidates according to one or more criteria and based on the motion field for each of the plurality of predictor candidates; means for selecting the predictor candidate from the plurality of predictor candidates based on the evaluation; The encoding device of claim 3 , further comprising:

7. The method or apparatus according to claim 5-6, wherein the one or more criteria are based on a rate-distortion decision corresponding to one or more of the predictor candidates in the set of predictor candidates.

8. 8. The method of claim 1, 2, or 5-7, wherein decoding or encoding the block based on the motion field comprises decoding or encoding, respectively, the predictor indicated by the motion vector based on a predictor for the sub-block.

9. The method of any one of claims 1, 2 and 5 to 8 or the apparatus of any one of claims 3 to 8, wherein the set of predictor candidates comprises spatial candidates and / or temporal candidates for the block to be encoded or decoded.

10. The method according to any one of claims 1, 2 and 5 to 9 or the apparatus according to any one of claims 3 to 9, wherein the motion model is an affine model.

11. The motion field for each position (x,y) in the block being encoded or decoded is [0010] In the formula, (v 0x , v 0y ) and (v 1x , v 1y ) are the control point motion vectors used to generate the motion field, and (v 0x , v 0y ) corresponds to the control point motion vector of the upper left corner of the block to be coded or decoded, and (v 1x , v 1y ) corresponds to the control point motion vector of the upper right corner of the block to be coded or decoded, and w is the width of the block to be coded or decoded.

12. The method according to any one of claims 1, 2 and 5 to 11 or the apparatus according to any one of claims 3 to 11, wherein one or more additional predictor candidates are selected, and a set of one or more additional control point motion vectors is obtained corresponding to the one or more additional predictor candidates, and the motion field is obtained further based on the set of one or more additional control point motion vectors.

13. A non-transitory computer readable medium containing data content generated according to the method of any one of claims 1, 2 and 5-12.

14. A signal comprising video data produced according to the method of any one of claims 1, 2 and 5 to 12.

15. A computer program product comprising instructions for performing the method according to any of claims 1, 2 and 5 to 12 when executed by one or more processors.

Citation Information

Patent Citations

  • Image prediction method and related device

    JP2018511997A

  • Prediction image generation device, moving image decoding device, and moving image encoding device

    WO2017130696A1

  • Image encoding / decoding method and device

    WO2017133243A1