Abstract:
The image coding method includes: determining a context for a current block to be processed, from among a plurality of contexts; and performing arithmetic coding on the control parameter for the current block to generate a bitstream corresponding to the current block, wherein in the determining: the context is determined under a condition that control parameters of neighboring blocks of the current block are used, when the signal type is a first type, the neighboring blocks being a left block and an upper block of the current block; and the context is determined under a condition that the control parameter of the upper block is not used, when the signal type is a second type, and the second type is one of “mvd_l0” and “mvd_l1”.
Abstract:
An image coding method includes: generating a predicted block; calculating a residual block; calculating quantized coefficients by performing transform and quantization on the residual block; calculating a coded residual block by performing inverse quantization and inverse transform on the quantized coefficients; generating a temporary coded block; determining whether or not an offset process is required, to generate first flag information indicating a result of the determination; executing the offset process on the temporary coded block when it is determined that the offset process is required; and performing variable-length coding on the quantized coefficients and the first flag information.
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.
Abstract:
An image coding method includes: coding (i) coefficient information, (ii) a first flag indicating whether to quantize one or more blocks using quantization, (iii) a second flag indicating whether the plurality of quantization matrices are included in a sequence parameter set, and (iv) a third flag indicating whether the plurality of quantization matrices are included in a picture parameter set; and quantizing the plurality of coefficients, wherein when the one or more blocks are quantized using a plurality of default matrices, the following are coded in the coding: (i) the first flag indicating that the one or more blocks are quantized using the plurality of quantization matrices, (ii) the second flag indicating that the plurality of quantization matrices are not included in the sequence parameter set, and (iii) the third flag indicating that the plurality of quantization matrices are not included in the picture parameter set.