EP2201779B1

Joint amplitude and position coding of coefficients for video compression

Abstract

A coding method, apparatus, and medium with software encoded thereon to implement a coding method. The coding method includes jointly encoding joint events that each are defined by a cluster of consecutive non-zero-valued coefficients, each joint event defined by three parameters: the number of zero-valued coefficients preceding the cluster, the number of non-zero-valued coefficients in the cluster, and an indication of which trailing coefficients up to a maximum number of M trailing coefficients have amplitude greater than 1, with the coding using a 3-dimensional joint VLC table. The method further includes encoding the amplitude of the non-zero-valued trailing coefficients that have amplitude greater than 1 encoding the amplitude of any remaining non-zero-valued coefficients in the clusters that have more than M non-zero-valued coefficients.

EP2201779B1, drawing sheet 1
Sheet 1 of 8

Term

2 yearsleft in the term

Expires 1 October 2028.

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

15 claims: 5 independent, 10 dependent

  1. 1
    A method comprising:for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, jointly encoding joint position and amplitude events that each are defined by a cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, each joint event defined by three parameters: the number of coefficients having the most likely-to-occur amplitude preceding the cluster, the number of coefficients having amplitude other than the most likely-to-occur amplitude in the cluster, and an indication of which trailing coefficients within the cluster up to a pre-defined maximum number denoted M of trailing coefficients have amplitude other than the next-to-most likely-to-occur amplitude, with the coding using a 3-dimensional joint encoding mapping (211) which maps the three parameters to a variable-length codeword such that on average, events that are more likely to occur are encoded by respective codewords that are shorter than the respective codewords for events that are less likely to occur;encoding the amplitude of the trailing coefficients that have amplitude other than the next-to-most likely-to-occur amplitude, the encoding using a first amplitude code mapping;and encoding the amplitude of any remaining coefficients that have amplitude other than the most likely-to-occur amplitude in any clusters that have more than M coefficients, the remaining coefficient encoding using a second amplitude code mapping.
  2. 6
    An apparatus (200) comprising:a first region event encoder (203) operative to jointly encode, in a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly being the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, joint position and amplitude events that each are defined by a cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, each joint event defined by three parameters: the number of coefficients having the most likely-to- occur amplitude preceding the cluster, the number of coefficients having amplitude other than the most likely-to-occur amplitude in the cluster, and an indication of which trailing coefficients within the cluster up to a pre-defined maximum number denoted M of trailing coefficients have amplitude other than the next-to-most likely-to-occur amplitude, with the coding using a 3-dimensional joint encoding mapping (211) which maps the three parameters to a variable-length codeword such that on average, events that are more likely to occur are encoded by respective codewords that are shorter than the respective codewords for events that are less likely to occur;a first amplitude encoder (203) operative to encode the amplitude of the trailing coefficients that have amplitude other than the next-to-most likely-to-occur amplitude, the encoding conforming to a first amplitude code mapping (211);and a second amplitude encoder (203) operative to encode the amplitude of any remaining coefficients that have amplitude other than the most likely-to-occur amplitude in any clusters that have more than M coefficients, the remaining coefficient encoding using a second amplitude code mapping (211).
  3. 10
    A decoding method comprising:recognizing codewords in a set of concatenated codewords, the codewords formed by a coding method comprising: for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly being the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, jointly encoding joint position and amplitude events that each are defined by a cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, each joint event defined by three parameters: the number of coefficients having the most likely-to- occur amplitude preceding the cluster, the number of coefficients having amplitude other than the most likely-to-occur amplitude in the cluster, and an indication of which trailing coefficients within the cluster up to a pre-defined maximum number denoted M of trailing coefficients have amplitude other than the next-to-most likely-to-occur amplitude, with the coding using a 3-dimensional joint encoding mapping (211) which maps the three parameters to a variable-length codeword such that on average, events that are more likely to occur are encoded by respective codewords that are shorter than the respective codewords for events that are less likely to occur;encoding the amplitude of the trailing coefficients that have amplitude other than the next-to-most likely-to-occur amplitude, the encoding using a first amplitude code mapping;and encoding the amplitude of any remaining coefficients that have amplitude other than the most likely-to-occur amplitude in any clusters that have more than M coefficients, the remaining coefficient encoding using a second amplitude code mapping;and decoding the recognized codewords using a plurality of code mappings (305).
  4. 13
    A computer-readable medium encoded with computer-executable instructions that when executed by one or more processors of a processing system implement a decoding method according to any of claims 10 to 12.
  5. 14
    An apparatus (400) for decoding comprising:a codeword recognizer (303) operative to recognize codewords in a set of concatenated codewords, the codewords formed by a coding method comprising: for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly being the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, jointly encoding joint position and amplitude events that each are defined by a cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, each joint event defined by three parameters: the number of coefficients having the most likely-to- occur amplitude preceding the cluster, the number of coefficients having amplitude other than the most likely-to-occur amplitude in the cluster, and an indication of which trailing coefficients within the cluster up to a pre-defined maximum number denoted M of trailing coefficients have amplitude other than the next-to-most likely-to-occur amplitude, with the coding using a 3-dimensional joint encoding mapping (211) which maps the three parameters to a variable-length codeword such that on average, events that are more likely to occur are encoded by respective codewords that are shorter than the respective codewords for events that are less likely to occur;encoding the amplitude of the trailing coefficients that have amplitude other than the next-to-most likely-to-occur amplitude, the encoding using a first amplitude code mapping;and encoding the amplitude of any remaining coefficients that have amplitude other than the most likely-to-occur amplitude in any clusters that have more than M coefficients, the remaining coefficient encoding using a second amplitude code mapping;and a codeword decoder (305) operative to decode the recognized codewords, the codeword decoder using a set of code mappings.