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 for coding an image on a block-by-block basis, includes: selecting, for each of a plurality of sub-blocks included in a coding-target block and each including a plurality of coefficients, a context for performing arithmetic coding on a parameter indicating a coding-target coefficient included in the sub-block from a context set corresponding to the sub-block, based on at least one reference coefficient located around the coding-target coefficient, the coding-target block being a transform unit; and performing arithmetic coding on the parameter indicating the coding-target coefficient using probability information about the selected context, wherein, in the selecting, the context is selected from the context set, the context set corresponding to a sum of (i) a value indicating a position in a horizontal direction of the sub-block in the coding-target block and (ii) a value indicating a position in a vertical direction of the sub-block in the coding-target block.
Abstract:
An image coding method includes: adding, to a candidate list, a first adjacent motion vector as a candidate for a predicted motion vector to be used for coding the current motion vector; selecting the predicted motion vector from the candidate list; and coding the current motion vector, wherein in the adding, the first adjacent motion vector indicating a position in a first reference picture included in a first reference picture list is added to the candidate list for the current motion vector indicating a position in a second reference picture included in a second reference picture list.
Abstract:
A moving picture coding method includes: coding, using a motion vector, a current block to be coded; generating a plurality of predictive motion vectors; and coding the motion vector using one of the predictive motion vectors, and when a co-located block included in a coded picture and co-located with the current block has two reference motion vectors and reference directions of the two reference motion vectors are the same, a first prediction vector is generated using a first reference motion vector and a second prediction vector is generated using a second reference motion vector in the generating of a plurality of predictive motion vectors.
Abstract:
The image decoding method includes: determining a context for use in a current block to be processed, from among a plurality of contexts; and performing arithmetic decoding on a bit sequence corresponding to the current block, using the determined context, 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 “inter_pred_flag”.
Abstract:
An image coding method includes: writing, into a sequence parameter set, buffer description defining information for defining a plurality of buffer descriptions; selecting one of the buffer descriptions for each processing unit that is a picture or a slice, and writing buffer description selecting information for specifying the selected buffer description, into a first header of the processing unit which is included in the coded bitstream; and coding the processing unit using the selected buffer description, and the buffer description defining information includes long-term information for identifying, among a plurality of reference pictures indicated in the buffer descriptions, a reference picture to be assigned as a long-term reference picture.
Abstract:
An encoding and decoding apparatus is provided for performing arithmetic encoding and arithmetic decoding. The encoding apparatus encodes in a first bitstream first last position information, indicating a horizontal position and a vertical position of a last non-zero coefficient in a predetermined order from among a plurality of coefficients within a first current block to be encoded in a first picture. The decoding apparatus decodes second last position information, indicating a horizontal position and a vertical position of a last non-zero coefficient in a predetermined order from among a plurality of coefficients within a second current block to be decoded in a second picture.
Abstract:
A decoding method of decoding encoded data per unit from among units included in a picture is provided. The decoding method decodes a first flag which indicates whether a removal time of the encoded data from a buffer is set per unit. The buffer is for storing the encoded data. The image decoding method further decodes a second flag indicating whether an interval between removal times of the units is constant when the removal time is set per unit. The image decoding method removes the encoded data from the buffer per unit and at an interval according to the second flag, and decodes the removed encoded data.
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:
A moving picture coding apparatus includes an intra-inter prediction unit which calculates a second motion vector by performing a scaling process on a first motion vector of a temporally neighboring corresponding block, when selectively adding, to a list, a motion vector of each of one or more corresponding blocks each of which is either a block included in a current picture to be coded and spatially neighboring a current block to be coded or a block included in a picture other than the current picture and temporally neighboring the current block, determines whether the second motion vector has a magnitude that is within a predetermined magnitude or not within the predetermined magnitude, and adds the second motion vector to the list when the intra-inter prediction unit determines that the second motion vector has a magnitude that is within the predetermined magnitude range.