EP1569459B1

Encoding method and decoding method of moving image

Abstract

This record has no abstract on file.

EP1569459B1, drawing sheet 1
Sheet 1 of 41

Term

Term ended

Expired 27 October 2023, 2.9 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

8 claims: 4 independent, 4 dependent

  1. 1
    A decoding method for decoding a block while switching between frame decoding and field decoding adaptively on a block-by-block basis, said method comprising:obtaining, from a bit stream, a sequence of commands for assigning each of frame-indices for frame decoding to respective reference frames;assigning each of frame-indices for frame decoding to respective reference frames using the sequence of commands, specifying two fields that make up each of the frames specified by each of the frame-indices, wherein a first value is assigned to one field having a parity same as a parity of a field including a current block to be decoded, out of the specified two fields, as each of the field-indices, the first value being obtained by doubling a value of said each of the frame-indices, and a second value is assigned to another field having a parity different from a parity of the field including the current block as said each of the field-indices, the second value being obtained by adding one to said first value, specifying a reference frame which is referred to when a block is decoded, using a reference index extracted from a coded block information area and a frame-index included in the assigned frame-indices, in the case where frame decoding is performed on the block;and specifying a reference field which is referred to when the block is decoded, using a reference index extracted from the coded block information area and a field-index for field decoding included in the assigned field-indices, in the case where field decoding is performed on the block.
  2. 2
    The decoding method according to Claim 1, further comprising:obtaining, from the bit stream, information indicating a maximum number of frame-indices;and determining a maximum number of field-indices to be double a value of the maximum number of frame-indices, wherein said specifying of the reference field includes extracting the reference index within a range of the determined maximum number of field-indices.
  3. 3
    A decoding apparatus which decodes a block while switching between frame decoding and field decoding adaptively on a block-by-block basis, said apparatus comprising:a command obtainment unit operable to obtain, from a bit stream, a sequence of commands for assigning each of frame-indices for frame decoding to respective reference frames and to assign each of frame-indices for frame decoding to respective frames using the sequence of commands, wherein the command obtainment unit is further adapted for specifying two fields that make up each of the frames specified by each of the frame-indices, wherein a first value is assigned to one field having a parity same as a parity of a field including a current block to be decoded, out of the specified two fields, as each of the field-indices, the first value being obtained by doubling a value of said each of the frame-indices, and a second value is assigned to another field having a parity different from a parity of the field including the current block as said each of the field-indices, the second value being obtained by adding one to said first value;and a reference frame/field specification unit operable to (i) specify a reference frame which is referred to when a block is decoded, using a reference index extracted from a coded block information area and a frame-index included in the assigned frame-indices, in the case where frame decoding is performed on the block, and (ii) specify a reference field which is referred to when the block is decoded, using a reference index extracted from the coded block information area and a field-index for field decoding included in the assigned field-indices, in the case where field decoding is performed on the block.
  4. 4
    A data storage medium on which a program for decoding a coded block signal is recorded, wherein the program causes a computer to execute the processing by the decoding method according to one of Claims 1 to 2.
  5. 5
    A coding method for coding a block while switching between frame coding and field coding adaptively on a block-by-block basis, said method comprising:generating a sequence of commands for assigning each of frame-indices for frame coding to respective reference frames;assigning each of frame-indices for frame coding to respective reference frames using the sequence of commands, specifying a reference frame which is referred to when a block is coded, using a frame-index for frame coding assigned by the sequence of commands, in the case where frame coding is performed on the block;specifying a reference field which is referred to when the block is coded, using a field-index for field coding which is generated using the frame-index, in the case where field coding is performed on the block;coding, as a reference index, the frame-index which is used for specifying the reference frame, in the case where frame coding is performed on the block;and coding, as a reference index, the field-index which is used for specifying the reference field, in the case where field coding is performed on the block, wherein said specifying of the reference field includes: specifying, as the field-index, a doubled value of a value of the frame-index which is assigned to a reference frame including the reference field, in the case where the reference field has a same parity as a parity of a field including the block to be coded;and specifying, as the field-index, a value obtained by adding one to the doubled value of the value of the frame-index which is assigned to the reference frame including the reference field, in the case where the reference field has a different parity from the parity of the field including the block to be coded.
  6. 6
    The coding method according to Claim 5, further comprising:coding information indicating a maximum number of frame-indices for frame coding;and determining a maximum number of field-indices for field coding to be double a value of the maximum number of frame-indices for frame coding, wherein said specifying of the reference field for field coding includes determining the field-index so that the number of specified reference fields is not greater than the determined maximum number of field-indices.
  7. 7
    A coding apparatus which codes a block while switching between frame coding and field coding adaptively on a block-by-block basis, said apparatus comprising:a command generation unit operable to generate a sequence of commands for assigning each of frame-indices for frame coding to respective reference frames and to assign each of frame-indices for frame coding to respective reference frames using the sequence of commands;a reference frame/field specification unit operable to (i) specify a reference frame which is referred to when a block is coded, using a frame-index for frame coding assigned by the sequence of commands, in the case where frame coding is performed on the block, and (ii) specify a reference field which is referred to when the block is coded, using a field-index for field coding which is generated using the frame-index, in the case where field coding is performed on the block wherein said specifying of the reference field includes: specifying, as the field-index, a doubled value of a value of the frame-index which is assigned to a reference frame including the reference field, in the case where the reference field has a same parity as a parity of a field including the block to be coded;and specifying, as the field-index, a value obtained by adding one to the doubled value of the value of the frame-index which is assigned to the reference frame including the reference field, in the case where the reference field has a different parity from the parity of the field including the block to be coded;and a reference index coding unit operable to (iii) code, as a reference index, the frame-index which is used for specifying the reference frame, in the case where frame coding is performed on the block, and (iv) code, as a reference index, the field-index which is used for specifying the reference field, in the case where field coding is performed on the block.
  8. 8
    A data storage medium on which a program for coding an image signal is recorded, wherein the program causes a computer to execute the coding by the coding method according to one of Claims 5 to 6.