EP4216552B1

Image encoding method, image encoding device, image decoding method, image decoding device, and image encoding/decoding device

Abstract

This record has no abstract on file.

EP4216552B1, drawing sheet 1
Sheet 1 of 57

Term

5.7 yearsleft in the term

Expires 29 May 2032.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

12 claims: 4 independent, 8 dependent

  1. 1
    An image coding method for coding an image using inter-prediction, on a block-by-block basis to generate a bitstream, the method comprising:determining (S601), on a slice-by-slice basis, a predetermined number as a maximum number of merging block candidates each of which has a combination of a prediction direction, a motion vector, and a reference picture index for use in coding of a current block, wherein the maximum number is an integer greater than two;deriving (S101, S601, S602) a plurality of merging block candidates based on motion vectors and reference picture indexes used in coding of blocks each of which is a spatially neighboring block or a co-located block of the current block, the derived plurality of merging block candidates including at least a first merging block candidate and a second merging block candidate, the first merging block candidate having at least a first motion vector and a first reference picture index value to identify a first reference picture corresponding to the first motion vector, and the second merging block candidate having at least a second motion vector, and a second reference picture index value to identify a second reference picture corresponding to the second motion vector;determining (S131, S604) that a total number of the derived merging block candidates is smaller than the maximum number;deriving (S114) at least one combined merging block candidate;selecting (S203, S606) a merging block candidate to be used for the coding of the current block from the derived plurality of merging block candidates and the derived combined merging block candidate;and coding (S105, S505, S607), using the determined maximum number, an index for identifying the selected merging block candidate, and attaching the coded index to the bitstream, characterized in that the method is an image coding method using inter prediction with two reference picture lists, list 0 and list 1, wherein each reference list corresponds to a prediction direction in a bi-directional prediction, the first motion vector and the first reference picture index correspond to a reference picture list 0 used to code a first block, the second motion vector and the second reference picture index correspond to a reference picture list 1 used to code a second block, the derived at least one combined merging block candidate is a merging block candidate for bi-directional prediction by assigning the first motion vector and the first reference picture index for the reference picture list 0 of the combined merging block candidate and by assigning the second motion vector and the second reference picture index for the reference picture list 1 of the combined merging block candidate in response to determining that the total number of the derived merging block candidates is smaller than the maximum number, and the first motion vector and the first reference picture index corresponding to the reference picture list 0 from the first block and the second motion vector and the second reference picture index corresponding to the reference picture list 1 from the second block, thereby a combination is selected from the derived plurality of merging block candidates.
  2. 4
    An image coding apparatus which codes an image using inter-prediction, on a block-by-block basis to generate a bitstream, the apparatus comprising:a first determination unit (611) configured to determine, on a slice-by-slice basis, a predetermined number as a maximum number of merging block candidates each of which has a combination of a prediction direction, a motion vector, and a reference picture index for use in coding of a current block, wherein the maximum number is an integer greater than two;a first derivation unit (612) configured to derive a plurality of merging block candidates based on motion vectors and reference picture indexes used in coding of blocks each of which is a spatially neighboring block or a co-located block of the current block, the derived plurality of merging block candidates including at least a first merging block candidate and a second merging block candidate, the first merging block candidate having at least a first motion vector and a first reference picture index value to identify a first reference picture corresponding to the first motion vector, and the second merging block candidate having at least a second motion vector, and a second reference picture index value to identify a second reference picture corresponding to the second motion vector;a second determination unit (614) configured to determine that a total number of the derived merging block candidates is smaller than the maximum number;a second derivation unit (615) configured to derive at least one combined merging block candidate;a prediction control unit (620) configured to select a merging block candidate to be used for the coding of the current block from the derived plurality of merging block candidates and the derived second merging block candidate;and a coding unit (630) configured to code, using the determined maximum number, an index for identifying the selected merging block candidate, and attach the coded index to the bitstream, characterized in that the apparatus codes the image using inter prediction with two reference picture lists, list 0 and list 1, wherein each reference list corresponds to a prediction direction in a bi-directional prediction, the first motion vector and the first reference picture index correspond to a reference picture list 0 used to code a first block, the second motion vector and the second reference picture index correspond to a reference picture list 1 used to code a second block, and the at least one combined merging block candidate derived by the second derivation unit (615) is a merging block candidate for bi-directional prediction by assigning the first motion vector and the first reference picture index for the reference picture list 0 of the combined merging block candidate and by assigning the second motion vector and the second reference picture index for the reference picture list 1 of the combined merging block candidate in response to determining that the total number of the derived merging block candidates is smaller than the maximum number, wherein the first motion vector and the first reference picture index corresponding to the reference picture list 0 from the first block and the second motion vector and the second reference picture index corresponding to the reference picture list 1 from the second block, thereby a combination is selected from the derived plurality of merging block candidates.
  3. 7
    An image decoding method for decoding an image using inter-prediction, from a bitstream on a block-by-block basis, the method comprising:determining (S601), on a slice-by-slice basis, a predetermined number as a maximum number of merging block candidates each of which has a combination of a prediction direction, a motion vector, and a reference picture index for use in decoding of a current block, wherein the maximum number is an integer greater than two;deriving (S101, S601, S602) a plurality of merging block candidates based on motion vectors and reference picture indexes used in decoding blocks each of which is a spatially neighboring block or a co-located block of the current block, the derived plurality of merging block candidates including at least a first merging block candidate and a second merging block candidate, the first merging block candidate having at least a first motion vector and a first reference picture index value to identify a first reference picture corresponding to the first motion vector, and the second merging block candidate having at least a second motion vector, and a second reference picture index value to identify a second reference picture corresponding to the second motion vector;determining (S131, S604) that a total number of the derived merging block candidates is smaller than the maximum number;deriving (S114) at least one combined merging block candidate;decoding (S105, S505, S704), from the bitstream, using the determined maximum number, an index for identifying a merging block candidate;and selecting (S203, S705), based on the decoded index, a merging block candidate to be used for the decoding of the current block from the derived plurality of merging block candidates and the derived combined merging block candidate, characterized in that the method is an image decoding method using inter prediction with two reference picture lists, list 0 and list 1, wherein each reference list corresponds to a prediction direction in a bi-directional prediction, the first motion vector and the first reference picture index correspond to a reference picture list 0 used to decode a first block, the second motion vector and the second reference picture index correspond to a reference picture list 1 used to decode a second block, the derived at least one combined merging block candidate is a merging block candidate for bi-directional prediction by assigning the first motion vector and the first reference picture index for the reference picture list 0 of the combined merging block candidate and by assigning the second motion vector and the second reference picture index for the reference picture list 1 of the combined merging block candidate in response to determining that the total number of the derived merging block candidates is smaller than the maximum number, and the first motion vector and the first reference picture index corresponding to the reference picture list 0 from the first block and the second motion vector and the second reference picture index corresponding to the reference picture list 1 from the second block, thereby a combination is selected from the derived plurality of merging block candidates.
  4. 10
    An image decoding apparatus which decodes an image using inter-prediction, from a bitstream on a block-by-block basis, the apparatus comprising:a first determination unit (811) configured to determine, on a slice-by-slice basis, a predetermined number as a maximum number of merging block candidates each of which has a combination of a prediction direction, a motion vector, and a reference picture index for use in decoding of a current block, wherein the maximum number is an integer greater than two;a first derivation unit (812) configured to derive a plurality of merging block candidates based on motion vectors and reference picture indexes used in decoding of blocks each of which is a spatially neighboring block or a co-located block of the current block, the derived plurality of merging block candidates including at least a first merging block candidate and a second merging block candidate, the first merging block candidate having at least a first motion vector and a first reference picture index value to identify a first reference picture corresponding to the first motion vector, and the second merging block candidate having at least a second motion vector, and a second reference picture index value to identify a second reference picture corresponding to the second motion vector;a second determination unit (814) configured to determine that a total number of the derived merging block candidates is smaller than the maximum number;a second derivation unit (815) configured to derive at least one combined merging block candidate;a decoding unit (820) configured to decode, from the bitstream, using the determined maximum number, an index for identifying a merging block candidate;and a prediction control unit (830) configured to select, based on the decoded index, a merging block candidate to be used for the decoding of the current block from the derived plurality of merging block candidates and the derived second merging block candidate, characterized in that the apparatus decodes the image using inter prediction with two reference picture lists, list 0 and list 1, wherein each reference list corresponds to a prediction direction in a bi-directional prediction, the first motion vector and the first reference picture index correspond to a reference picture list 0 used to decode a first block, the second motion vector and the second reference picture index correspond to a reference picture list 1 used to decode a second block, and the at least one combined merging block candidate derived by the second derivation unit (815) is a merging block candidate for bi-directional prediction by assigning the first motion vector and the first reference picture index for the reference picture list 0 of the combined merging block candidate and by assigning the second motion vector and the second reference picture index for the reference picture list 1 of the combined merging block candidate in response to determining that the total number of the derived merging block candidates is smaller than the maximum number, wherein the first motion vector and the first reference picture index corresponding to the reference picture list 0 from the first block and the second motion vector and the second reference picture index corresponding to the reference picture list 1 from the second block, thereby a combination is selected from the derived plurality of merging block candidates.