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: 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:
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 one of “ref_idx_l0” and “ref_idx_l1”.
Abstract:
The image coding method includes: determining a context in a current block in the image, 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 (i) “merge_flag”, (ii) “ref_idx_l0” or “ref_idx_l1”, (iii) “inter_pred_flag”, (iv) “mvd_l0” or “mvd_l1”, (v) “no_residual_data_flag”, (vi) “intra_chroma_pred_mode”, (vii) “cbf_luma”, and (viii) “cbf_cb” or “cbf_cr”.
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.
Abstract:
A moving picture coding apparatus includes: an inter prediction control unit which determines to code a motion vector using, among candidate predicted motion vectors, a candidate predicted motion vector having the least error with relative to a motion vector derived by motion estimation; a picture type determination unit which generates picture type information; a temporal direction vector calculation unit which derives a candidate predicted motion vector in temporal direct; and a co-located reference direction determination unit which generates, for each picture, a co-located reference direction flag.
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 in which a chroma component and a luma component of an input image including one or more transform blocks are transformed to code the input image. The luma component has the same size as the current transform block. The chroma component is smaller than the current transform block. In the method, when the current transform block has a first minimum size, the chroma component is transformed on a basis of a block resulting from binding a plurality of the chroma blocks to has the same size as the luma block, and when the current transform block has a size other than the first minimum size, a CBF flag indicating whether or not coefficients of the chroma component include a non-zero coefficient is not coded.
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:
An image decoding method includes: restoring a selected prediction mode used in prediction at a time of coding; and decoding a current block included in coded image data to generate a decoded block, according to the prediction based on the selected prediction mode. The restoring includes: determining a first estimated prediction mode; determining a second estimated prediction mode different from the first estimated prediction mode; and restoring the selected prediction mode based on the mode information, the first estimated prediction mode, and the second estimated prediction mode.