EP1565000B1

Method and apparatus for encoding and decoding data

Abstract

This record has no abstract on file.

EP1565000B1, drawing sheet 1
Sheet 1 of 79

Term

Term ended

Expired 27 November 2022, 3.8 years ago.

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

8 claims: 3 independent, 5 dependent

  1. 1
    An apparatus for encoding data, comprising:a quantizer (310) which is arranged to quantize data input thereinto into predetermined quantization bits;a quantization error minimizer (320) which is arranged to receive the input data and the quantized data, and to output maximum and minimum values for decoding the quantized data such that a quantization error of the quantized data is minimal;a DPCM operator (340) which is arranged to generate differential data by performing a DPCM operation on the quantized data;an entropy encoder (350) which is arranged to entropy-encode the differential data input from the DPCM operator and to output the entropy-encoded differential data into a bitstream;and a header encoder (370) which is arranged to encode the maximum and minimum values to be included in the bitstream;characterised in that the quantization error minimizer comprises: an initial value setting unit (321) which is arranged to receive the input data and the quantized data, to set up an initial value of a minimum error value e min by calculating the quantization error, to calculate the decimal digit number of the minimum value among the input data and to set up an adjusted minimum value min' and an initial value of a quantization error minimizing value min min ;an adjusted minimum value renewing unit (323) which is arranged to renew the adjusted minimum value min' by performing a predetermined operation on the adjusted minimum value min';a determining unit (325) which is arranged to determine whether the quantization error minimizing value min min is a minimum value to be used for inverse quantization depending on the value and decimal digit number of the renewed adjusted minimum value;and an error value renewing unit (327) which is arranged to calculate a quantization error value based on the renewed adjusted minimum value, to assign the adjusted minimum value to the quantization error minimizing value min min and the calculated quantization error value to the minimum error value e min if the calculated quantization error value is smaller than the minimum error value e min , and to output the minimum error value e min to the adjusted minimum value renewing unit.
  2. 4
    A method for encoding data, comprising:(a) quantizing input data with predetermined quantization bits;(b) generating differential data by performing a DPCM operation on the quantized data;(c) generating a bitstream by entropy-encoding the differential data generated in step (b);(d) outputting maximum and minimum values for decoding the quantized data such that a quantization error of the quantized data is minimal;and (e) encoding the maximum and minimum values to be included in the bitstream. characterised in that step (d) comprises: (d1) setting up (S404) an initial value of a minimum error value e min by calculating the quantization error using the input data and the quantized data, calculating the decimal digit number of the minimum value among the input data, and setting up (S406) an adjusted minimum value min' and an initial value of a data error minimizing value min min ;(d2) renewing (S408) the adjusted minimum value min' by performing a predetermined operation on the adjusted minimum value min';(d3) determining (S410) whether the quantization error minimizing value min min is a minimum value to be used for inverse quantization depending on the value and decimal digit number of the renewed adjusted minimum value;and (d4) calculating (S414) a quantization error value based on the renewed adjusted minimum value if the quantization error minimum value min min has not been determined as the minimum value to be used for inverse quantization in step (d3), assigning (S418) the adjusted minimum value to the quantization error minimizing value min min and assigning the calculated quantization error to the minimum error value if the calculated quantization error value is smaller than the minimum error value e min , and moving on to step (d2).
  3. 7
    A computer program comprising computer program code means for performing all of the steps of any of claims 4 to 6 when said program is run on a computer.