Abstract:
The image coding method is used to code images to generate a coded stream. The image coding method includes: writing, into a sequence parameter set in the coded stream to be generated, a first parameter representing a first bit-depth that is a bit-depth of a reconstructed sample in the images; and writing, into the sequence parameter set, a second parameter which is different from the first parameter and represents a second bit-depth that is a bit-depth of an Intra Pulse Code Modulation (IPCM) sample in the images.
Abstract:
An image coding method includes: deriving a candidate for a motion vector predictor from a neighboring motion vector; adding the candidate to a list; selecting a motion vector predictor from the list; coding a current block; and coding a current motion vector. In the deriving, the candidate is derived according to a first derivation scheme when each of a current reference picture and a neighboring reference picture is determined to be a long-term reference picture, and the candidate is derived according to a second derivation scheme when each of a current reference picture and a neighboring reference picture is determined to be a short-term reference picture.
Abstract:
A spatial prediction method capable of reducing the complexity of spatial prediction includes: detecting an edge (E) overlapping the current block by obtaining a horizontal gradient (Gy) and a vertical gradient (Gx) between pixels within a block adjacent to the current block; calculating an integer slope of the edge; determining, for each pixel position within the current block, a sub-pel position being an intersection between (i) a line that has the integer slope and passes through the pixel position and (ii) a boundary of the adjacent block; and predicting, for each pixel position, a pixel value at the pixel position based on a pixel value interpolated in the sub-pel position, wherein the boundary of the adjacent block is a row or a column that is the closest to the current block, among rows or columns of pixels included in the adjacent block.
Abstract:
A spatial prediction method capable of reducing the complexity of spatial prediction includes: detecting an edge (E) overlapping the current block by obtaining a horizontal gradient (Gy) and a vertical gradient (Gx) between pixels within a block adjacent to the current block; calculating an integer slope of the edge; determining, for each pixel position within the current block, a sub-pel position being an intersection between (i) a line that has the integer slope and passes through the pixel position and (ii) a boundary of the adjacent block; and predicting, for each pixel position, a pixel value at the pixel position based on a pixel value interpolated in the sub-pel position, wherein the boundary of the adjacent block is a row or a column that is the closest to the current block, among rows or columns of pixels included in the adjacent block.
Abstract:
An image coding method using arithmetic coding. The method includes: performing arithmetic coding on a first flag that indicates whether or not an absolute value of a target coefficient in a target coefficient block is greater than 1; and performing arithmetic coding on a second flag that indicates whether or not the absolute value is greater than 2. In the arithmetic coding on the first flag and the arithmetic coding on the second flag, it is determined whether or not an immediately-prior coefficient block that has been coded immediately prior to the target coefficient block includes a coefficient having an absolute value greater than a threshold value. Based on a result of the determination, respective contexts to be used in the arithmetic coding on the first and second flags are selected.
Abstract:
A data conversion system includes an encoding device configured to encode, into a bitstream, pieces of binary data indicating first intra prediction modes for encoding a first image, and a decoding device configured to decode second intra prediction modes for decoding a second image. A data conversion method includes encoding, into a bitstream, pieces of binary data indicating first intra prediction modes for encoding a first image, and decoding second intra prediction modes for decoding a second image.
Abstract:
An image decoding method for decoding, on a block-by-block basis, image data included in a coded bitstream includes: obtaining a fixed number of merging candidates each of which is a candidate set of a prediction direction, a motion vector, and a reference picture index which are to be referenced in decoding of a current block (S303); and obtaining, from the coded bitstream, an index for identifying a merging candidate for the current block (S304), wherein the fixed number of merging candidates include: one or more first candidates each derived based on a prediction direction, a motion vector, and a reference picture index which have been used for decoding a neighboring block spatially or temporally neighboring the current block; and one or more second candidates having a predetermined fixed. The fixed number is greater than or equal to two.
Abstract:
An image coding method of coding an image on a per coding unit basis, the method comprising: applying a frequency transform to luminance data and chrominance data of transform units in the coding unit including predetermined blocks each corresponding to one or more of the transform units; and coding the luminance data and the chrominance data to which the frequency transform has been applied to generate a bitstream in which the luminance data and the chrominance data are grouped on a per predetermined block basis.
Abstract:
An image coding method includes: deriving a candidate for a motion vector predictor from a co-located motion vector; adding the candidate to a list; selecting the motion vector predictor from the list; and coding a current block and coding a current motion vector, wherein the deriving includes: deriving the candidate by a first derivation scheme in the case of determining that each of a current reference picture and a co-located reference picture is a long-term reference picture; and deriving the candidate by a second derivation scheme in the case of determining that each of the current reference picture and the co-located reference picture is a short-term reference picture.
Abstract:
An image coding method for coding a current block derives a first candidate having a first motion vector that has been used to code a first block. It is determined whether a total number of one or more candidates having the first candidate is less than a maximum candidate number, and a second candidate is derived when the total number of the one or more candidates is less than the maximum candidate number. The second candidate has a second motion vector and is different from the first candidate. A candidate for coding the current block is selected from the candidates having the first candidate and the second candidate.