CA2320580C

Encoding apparatus, decoding apparatus, encoding method, decoding method

Abstract

An encoding apparatus, comprising: a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element; a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element; a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element; a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element; and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator.

CA2320580C, drawing sheet 1
Sheet 1 of 4

Term

Term ended

Expired 12 March 2017, 9.5 years ago.

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

90 claims: 28 independent, 62 dependent

  1. 1
    CLAIMS :1. An encoding apparatus, comprising: a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and CA 02320580 2000-10-10 131 an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator.
  2. 4
    An encoding apparatus, comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for CA 02320580 2000-10-10 133 outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator, and wherein said first encoding section comprises: CA 02320580 2000-10-10 134 a first predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a first prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said first predictor as a prediction error;a determinator for determining whether the prediction error calculated by said first prediction error calculator is a specific value, and for outputting a result of the determination;a first encoder for receiving and encoding the result of the determination output from said determinator, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode;and a second encoder for encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the specific value for the encoding picture element to be encoded in the selected specific encoding mode, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second encoding section comprises: CA 02320580 2000-10-10 135 a second predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a second prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said second predictor as a prediction error;and a third encoder for encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, wherein said first encoder comprises a first probability estimator for receiving the result of the determination output from said determinator as a sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a first codeword allotter for encoding the sequence of binary symbols, wherein said second encoder comprises a first error-to-symbol converter for receiving the prediction error and converting the prediction error into a CA 02320580 2000-10-10 136 sequence of binary symbols, a second probability estimator for receiving the sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a second codeword allotter for encoding the sequence of binary symbols, wherein said third encoder comprises a second error-to-symbol converter for receiving the prediction error and converting the prediction error into a sequence of binary symbols, a third probability estimator for receiving the sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a third codeword allotter for encoding the sequence of binary symbols, and wherein said encoding controller has a codeword transmission order controller for changing an order for outputting codewords when a codeword has been determined by at least one of said first encoder, said second encoder, and said third encoder and when a codeword has not been determined by the other encoders.
  3. 5
    An encoding apparatus, comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adj acent to the encoding picture element as the value CA 02320580 2000-10-10 137 of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator, and wherein said first encoding section comprises: a first predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 138 a first prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said first predictor as a prediction error;a determinator for determining whether the prediction error calculated by said first prediction encoding picture element to be encoded in the selected specific encoding mode;and a second encoder for encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the specific value for the encoding picture element to be encoded in the selected specific encoding mode, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second encoding section comprises: a second predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 139 a second prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said second predictor as a prediction error;and a third encoder for encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, wherein said first encoder comprises a first probability estimator for receiving the result of the determination output from said determinator as a sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a first codeword allotter for encoding the sequence of binary symbols, wherein said second encoder comprises a first error-to-symbol converter for receiving the prediction error and converting the prediction error into a sequence of binary symbols, a second probability estimator for receiving the sequence of binary symbols and estimating an occurrence probability of one of the CA 02320580 2000-10-10 140 binary symbols, and a second codeword allotter for encoding the sequence of binary symbols, wherein said third encoder comprises a second error-to-symbol converter for receiving the prediction error and converting the prediction error into a sequence of binary symbols, a third probability estimator for receiving the sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a third codeword allotter for encoding the sequence of binary symbols, and wherein at least one of said first codeword allotter said second codeword allotter, and said third codeword allotter changes interpretation as to which one of the binary symbols is a more probable symbol, based on a change in probability estimation for one of the binary symbols respectively implemented by said first probability estimator for said first codeword allotter, said second probability estimator for said second codeword allotter, and said third probability estimator for said third codeword allotter.
  4. 6
    An encoding apparatus, comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element CA 02320580 2000-10-10 141 adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator, and wherein said first encoding section comprises: CA 02320580 2000-10-10 142 a first predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a first prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said first predictor as a prediction error;a determinator for determining whether the prediction error calculated by said first prediction determinator, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode;and a second encoder for encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the specific value for the encoding picture element to be encoded in the selected specific encoding mode, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second encoding section comprises: CA 02320580 2000-10-10 143 a second predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a second prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated bysaid second predictor as a prediction error;and a third encoder for encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, wherein said first predictor of said first encoding section and said second predictor of said second encoding section are combined into a predictor.
  5. 7
    An encoding apparatus, comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;CA 02320580 2000-10-10 144 a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;a second encoding section for predicting the value of the encoding picture element encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator, and wherein said first encoding section comprises: a first predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 145 a first prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated bysaid first predictor as a prediction error;a determinator for determining whether the prediction error calculated by said first prediction encoding picture element to be encoded in the selected specific encoding mode;and a second encoder for encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the specific value for the encoding picture element to be encoded in the selected specific encoding mode, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second encoding section comprises: a second predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 146 a second prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said second predictor as a prediction error;and a third encoder for encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, wherein at least two encoders of said first encoder, said second encoder, and said third encoder are combined into an encoder.
  6. 8
    A decoding apparatus, comprising:a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture CA 02320580 2000-10-10 147 element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, decoding the codeword;and a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator.
  7. 11
    A decoding apparatus, comprising:a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, and decoding the codeword;and CA 02320580 2000-10-10 150 a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator, and wherein said first decoding section comprises: a first predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is predetermined value ;a second decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;and a first decoding picture element calculator for calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder, and wherein said second decoding section comprises: CA 02320580 2000-10-10 151 a second predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a third decoder for decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into the prediction error regardless of whether the prediction error is the predetermined value;a second decoding picture element calculator for calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value of the decoding picture element calculated bysaid second predictor and the prediction error obtained by said third decoder, wherein said first decoder has a first symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary symbols and a first probability estimator for estimating an occurrence probability of one of the binary symbols, and wherein said first decoder outputs one of the binary symbols as a result of determination, wherein said second decoder has a second symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary CA 02320580 2000-10-10 152 symbols, a second probability estimator for receiving the binary symbols and estimating an occurrence probability of one of the binary symbols, and a first symbol-to-error converter for receiving the sequence of binary symbols and converting the sequence of binary symbols into the prediction error, wherein said third decoder has a third symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary symbols, a third probability estimator for receiving the binary symbols and estimating an occurrence probability of one of the binary symbols, and a second symbol-to-error converter for receiving the sequence of binary symbols and converting the sequence of binary symbols into the prediction error, and wherein said decoding controller has a binarysymbol sequence using order controller for changing an order of using decoded binary symbols in a case where, before all sequences of binary symbols decoded by at least one of said first decoder, said second decoder, and said third decoder are used up, a sequence of binary symbols is output from the other one of said first decoder, said second decoder, and said third decoder. CA 02320580 2000-10-10 153
  8. 12
    A decoding apparatus, comprising:a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the element based on the value of the decoding picture reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, and decoding the codeword;and a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator, and CA 02320580 2000-10-10 154 wherein said first decoding section comprises: a first predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is predetermined value;a second decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;and a first decoding picture element calculator for calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder, and wherein said second decoding section comprises: a second predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 155 a third decoder for decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into the prediction error regardless of whether the prediction error is the predetermined value;a second decoding picture element calculator for calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value of the decoding picture element calculated by said second predictor and the prediction error obtained by said third decoder, wherein said first decoder has a first symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary symbols and a first probability estimator for estimating an occurrence probability of one of the binary symbols, and wherein said first decoder outputs one of the binary symbols as a result of determination, wherein said second decoder has a second symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary symbols, a second probability estimator for receiving the binary symbols and estimating an occurrence probability of one of the binary symbols, and a first CA 02320580 2000-10-10 156 symbol-to-error converter for receiving the sequence of binary symbols and converting the sequence of binary symbols into the prediction error, wherein said third decoder has a third symbol restoring device for receiving the codeword and decoding the codeword into a sequence of binary symbols, a third probability estimator for receiving the binary symbols and estimating an occurrence probability of one of the binary symbols, and a second symbol-to-error converter for receiving the sequence of binary symbols and converting the sequence of binary symbols into the prediction error, and wherein at least one of said first symbol restoring device, said second symbol restoring device, and said third symbol restoring device changes interpretation as to which one of the binary symbols is a more probable symbol based on a change in probability estimation for the binary symbols respectively implemented by said first probability estimator for said first symbol restoring device, said second probability estimator for said second symbol restoring device and said third probability estimator for said third symbol restoring device. CA 02320580 2000-10-10 157
  9. 13
    A decoding apparatus, comprising:a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, and decoding the codeword;and a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator, and CA 02320580 2000-10-10 158 wherein said first decoding section comprises: a first predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is predetermined value ;a second decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;and a first decoding picture element calculator for calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder, and wherein said second decoding section comprises: a second predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;CA 02320580 2000-10-10 159 a third decoder for decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into the prediction error regardless of whether the prediction error is the predetermined value;a second decoding picture element calculator for calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value of the decoding picture element calculated bysaid second predictor and the prediction error obtained by said third decoder;wherein said first predictor of said first decoding section and said second predictor of said second decoding section are combined into a predictor.
  10. 14
    A decoding apparatus, comprising:a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture CA 02320580 2000-10-10 160 element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, and decoding the codeword;and a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator, and wherein said first decoding section comprises: a first predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is predetermined value ;CA 02320580 2000-10-10 161 a second decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;and a first decoding picture element calculator for calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder, and wherein said second decoding section comprises : a second predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a third decoder for decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into the prediction error regardless of whether the prediction error is the predetermined value;and a second decoding picture element calculator for calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value of the decoding picture element calculated by CA 02320580 2000-10-10 162 said second predictor and the prediction error obtained by said third decoder, wherein at least two decoders of said first decoder, said second decoder, and said third decoder are combined into a decoder.
  11. 15
    An encoding method comprising:an outputting step of receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode deciding step of selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first main encoding step of predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of determination, and outputting a codeword for the encoding picture element;CA 02320580 2000-10-10 163 a second main encoding step of predicting the value of the encoding picture element, encoding the value of the encoding picture element, and outputting a codeword for the encoding picture element;and an encoding controlling step of selectivelyoperating said first main encoding step and said second main encoding step based on a selected result of said mode deciding step.
  12. 18
    An encoding method, comprising:an outputting step of receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode deciding step of selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first main encoding step of predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of determination, and outputting a codeword for the encoding picture element;a second main encoding step of predicting the value of the encoding picture element, encoding the value of the encoding picture element, and outputting a codeword for the encoding picture element;and CA 02320580 2000-10-10 166 an encoding controlling step of selectively operating said first main encoding step and said second main encoding step based on a selected result of said mode deciding step, and wherein said first main encoding step comprises: a first predicting step of calculating a prediction value of the encoding picture element based on the value of the reference picture element;a first prediction error calculating step of calculating an error between the value of the encoding picture element and the prediction value calculated by said first predicting step as a prediction error;a determination step of determining whether the prediction error calculated by said first prediction error calculating step is a predetermined value, and outputting a result of the determination;a first encoding step of receiving and encoding the result of the determination output by said determination step and outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode;and a second encoding step of encoding the prediction error calculated by said first prediction error calculating step when the prediction error is other than the predetermined value for the encoding picture CA 02320580 2000-10-10 167 element to be encoded in the selected specific encoding mode, and outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second main encoding step comprises: a second predicting step of calculating a prediction value of the encoding picture element based on the value of the reference picture element;a second prediction error calculating step of calculating an error between the value of the encoding picture element and the prediction value calculated by said second predicting step as a prediction error;and a third encoding step of encoding the prediction error calculated by said second prediction error calculating step for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the predetermined value, and outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, wherein said first encoding step comprises a first probability estimating step of receiving the result of the determination output by said determination step as a sequence of binary symbols and estimating an CA 02320580 2000-10-10 168 occurrence probability of one of the binary symbols and a first codeword allotting step of encoding the sequence of binary symbols, wherein said second encoding step comprises a first error-to-symbol converting step of receiving the prediction error and converting the prediction error into a sequence of binary symbols, a second probability estimating step of receiving the sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a second codeword allotting step of encoding the sequence of binary symbols, and wherein said third encoding step comprises a second error-to-symbol converting step of receiving the prediction error and converting the prediction error into a sequence of binary symbols, a third probability estimating step of receiving the sequence of binary symbols and estimating an occurrence probability of one of the binary symbols, and a third codeword allotting step of encoding the sequence of binary symbols, wherein at least one of said first codeword allotting step, said second codeword allotting step, and said third codeword allotting step includes a step of changing interpretation as to which one of the binary symbols is a more probable symbol based on a change in probability estimation for the binary symbols CA 02320580 2000-10-10 169 respectively implemented by said first probability estimating step for said first codeword allotting step, said second probability estimating step for said second codeword allotting step, and said third probability estimating step for said third codeword allotting step.
  13. 19
    A decoding method, comprising:an outputting step of storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;a mode deciding step of selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first main decoding step of receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and decoding the codeword into the value decoding picture element based on a result of the of the determination;CA 02320580 2000-10-10 170 a second main decoding step of receiving a codeword, predicting the value of the decoding picture element, and decoding the codeword into the value of the decoding picture element;and a decoding controlling step of selectively operating said first main decoding step and said second main decoding step based on a selected result of said mode deciding step.
  14. 22
    A decoding method, comprising:an outputting step of storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;a mode deciding step of selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first main decoding step of receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and decoding the codeword into the value of the decoding picture element based on a result of the déterminât ion;a second main decoding step of receiving a codeword, predicting the value of the decoding picture element, and decoding the codeword into the value of the decoding picture element;and a decoding controlling step of selectively operating said first main decoding step and said second main decoding step based on a selected result of said CA 02320580 2000-10-10 173 mode deciding step, and wherein said first main decoding step comprises: a first predicting step of calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoding step of decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is a predetermined value;a second decoding step of decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;and a first decoding picture element calculating step of calculating the value of the decoding picture element based on the prediction value for the decoding picture element calculated by said first predicting step, the result of the determination, and the prediction error other than the predetermined value obtained by said second decoding step, and wherein said second main decoding step comprises: CA 02320580 2000-10-10 174 a second predicting step of calculating a prediction value of the decoding picture element based on the value of the reference picture element;a third decoding step of decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into a prediction error regardless of whether the prediction error is the predetermined value;and a second decoding picture element calculating step of calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value calculated by said second predicting step and the prediction error calculated by said third decoding step, wherein said first decoding step comprises a first symbol restoring step for receiving the codeword and decoding the codeword into a sequence of binary symbols and a first probability estimating step of estimating an occurrence probability of one of the binary symbols, and a step of outputting one of the binary symbols as a result of the determination, wherein said second decoding step comprises a second symbol restoring step of receiving the codeword and decoding the codeword into a sequence of binary CA 02320580 2000-10-10 175 symbols, a second probability estimating step of estimating an occurrence probability of one of the binary symbols, and a first symbol-to-error converting step of receiving the sequence of binary symbols and converting the sequence of binary symbols into the prediction error, wherein said third decoding step comprises a third symbol restoring step of receiving the codeword and decoding the codeword into a sequence of binary symbols, a third probability estimating step of receiving the binary symbols and estimating an occurrence probability of one of the binary symbols, and a second symbol-to-error converting step of receiving the sequence of binary symbols and converting the sequence of binary symbols into the error, and wherein at least one of said first symbol restoring step, said second symbol restoring step, and said third symbol restoring step includes a step of changing interpretation as to which one of the binary symbols is a more probable symbol based on a change in probability estimation for the binary symbols respectively implemented by said first probability estimating step for said first symbol restoring step, said second probability estimating step for said second CA 02320580 2000-10-10 176 symbol restoring step, and said third probability estimating step for said third symbol restoring step. wherein the encoding apparatus is provided in a circuit board.
  15. 23
    25. A picture processing apparatus for receiving picture signals representing picture elements, encoding the picture elements represented by the picture signals into codes by using an encoding apparatus therein, and for outputting the codes to a subsequent processing apparatus, the encoding apparatus comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture CA 02320580 2000-10-10 177 element ;a first encoding section for predicting the value of the encoding picture element, determining whether encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator.
  16. 29
    33. A picture processing apparatus for receiving a picture signal representing a code for a picture element, decoding the code into the value of the picture element by a decoding apparatus therein, and for outputting the picture element to a subsequent processing apparatus, the decoding apparatus comprising :a picture element memory for storing decoded picture elements having values within a predetermined range and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;CA 02320580 2000-10-10 179 a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword, predicting the value of the decoding picture element, and for decoding the codeword into the value of the decoding picture element;and a decoding controller for selectively operating the first decoding section and the second decoding section based on a selected result of said mode determinator.
  17. 36
    40. An encoding apparatus, comprising:a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;an encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;and CA 02320580 2000-10-10 181 an encoding controller for controlling a codeword interpretation performed by said encoding section based on the result of the prediction made by said encoding section.
  18. 37
    41. The encoding apparatus as claimed in claim 40, wherein the encoding section comprises:a predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said predictor as a prediction error;a determinator for determining whether the prediction error calculated by said prediction error calculator is a predetermined value and for outputting a result of determination;a first encoder for receiving the result of determination output from said determinator, encoding the result of determination, and for outputting the codeword;and a second encoder for encoding the prediction error calculated by said prediction error calculator when the prediction error is other than the predetermined value for the encoding picture element to be encoded and for CA 02320580 2000-10-10 182 outputting the codeword for the encoding picture element to be encoded.
  19. 38
    42. A decoding apparatus comprising:a picture element memory for storing decoded picture elements having values within a predetermined range and for outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;a decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;and a decoding controller for controlling a codeword interpretation performed by said decoding section based on the result of the determination made by said decoding section.
  20. 40
    44. An encoding method, comprising:an outputting step of receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;an encoding step of predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;and CA 02320580 2000-10-10 184 an encoding controlling step of controlling a codeword interpretation performed by said encoding step based on the result of the prediction made by said encoding step.
  21. 42
    46. A decoding method, comprising:an outputting step of storing decoded picture elements having values within a predetermined range and of outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;a decoding step of receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and of decoding the codeword into the value of the decoding picture element based on a result of the determination;and a decoding controlling step of controlling a codeword interpretation performed by said decoding step based on the result of the determination made by said decoding step.
  22. 44
    48. A picture processing apparatus comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the picked-up picture;and a memory for storing the compressed picture, wherein said picture compression circuit includes an encoding apparatus comprising: a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element CA 02320580 2000-10-10 187 adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator .
  23. 47
    51. A picture processing apparatus comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the picked-up picture ;and a memory for storing the compressed picture, CA 02320580 2000-10-10 190 wherein said picture compression circuit includes an encoding apparatus comprising : a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;a mode determinator for selecting one of a specific encoding mode and an encoding mode other than the specific encoding mode from a plurality of predefined encoding modes for the encoding picture element based on the value of the reference picture element ;a first encoding section for predicting the value of the encoding picture element, determining whether encoding picture element;a second encoding section for predicting the value of the encoding picture element, encoding the value of the encoding picture element, and for outputting a codeword for the encoding picture element;and CA 02320580 2000-10-10 191 an encoding controller for selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator, and wherein said first encoding section comprises: a first predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a first prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated by said, first predictor as a prediction error;a determinator for determining whether the prediction error calculated by said first prediction encoding picture element to be encoded in the selected specific encoding mode;and a second encoder for encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the specific value for the encoding picture element to be encoded in CA 02320580 2000-10-10 192 the selected specific encoding mode, and for outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode, and wherein said second encoding section comprises: a second predictor for calculating a prediction value of the encoding picture element based on the value of the reference picture element;a second prediction error calculator for calculating an error between the value of the encoding picture element and the prediction value calculated bysaid second predictor as a prediction error;and a third encoder for encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the prediction error is the specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode.
  24. 52
    56. A picture processing apparatus, comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the picked-up picture;a memory for storing the compressed picture;and a picture expansion circuit for expanding the stored picture, wherein said picture expansion circuit includes a decoding apparatus comprising: a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for CA 02320580 2000-10-10 196 decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, and decoding the codeword into the value of the decoding picture element;and a decoding controller for selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator.
  25. 55
    59. A picture processing apparatus, comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the pick-up picture;a memory for storing the compressed picture;and a picture expansion circuit for expanding the stored picture, wherein said picture expansion circuit includes a decoding apparatus comprising: a picture element memory for storing decoded picture elements having values within a predetermined range, and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator for selecting one of a specific decoding mode and a decoding mode other than the specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element ;a first decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for CA 02320580 2000-10-10 199 decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section for receiving a codeword for the decoding picture element, predicting the value of the decoding picture element, decoding the codeword into the value of the decoding picture element;and a decoding controller for selectively operating said first decoding section and said second decoding section based on one of the specific decoding mode and the decoding mode other than the specific decoding mode selected by said mode determinator, and wherein the first decoding section comprises: a first predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a first decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is predetermined value ;a second decoder for decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;CA 02320580 2000-10-10 200 a first decoding picture element calculator for calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder, and wherein said second decoding section comprises: a second predictor for calculating a prediction value of the decoding picture element based on the value of the reference picture element;a third decoder for decoding the codeword for the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode into the prediction error regardless of whether the prediction error is the predetermined value;a second decoding picture element calculator for calculating the value of the decoding picture element to be decoded in the selected decoding mode other than the specific decoding mode based on the prediction value of the decoding picture element calculated by said second predictor and the prediction error obtained by said third decoder.
  26. 68
    72. A picture processing apparatus comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the picked-up picture;and a memory for storing the compressed picture, wherein said picture compression circuit includes an encoding apparatus comprising: CA 02320580 2000-10-10 205 a picture element memory for receiving and storing a picture element having a value within a predetermined range as an encoding picture element, and for outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element;an encoding section for predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and for outputting a codeword for the encoding picture element;and an encoding controller for controlling a codeword interpretation performed by said encoding section based on the result of the prediction made by said encoding section.
  27. 70
    74. A picture processing apparatus, comprising:a picture pick-up device for picking up a picture composed of a plurality of picture elements;a picture compression circuit for compressing the picked-up picture;a memory for storing the compressed picture;and a picture expansion circuit for expanding the stored picture, wherein said picture expansion circuit includes a decoding apparatus comprising: CA 02320580 2000-10-10 207 a picture element memory for storing decoded picture elements having values within a predetermined range and for outputting the value of one of the decoded picture elements adjacent to a decoding picture element as the value of a reference picture element;a decoding section for receiving a codeword, predicting a value of the decoding picture element, determining whether the prediction is correct, and for decoding the codeword into the value of the decoding picture element based on a result of the determination;and a decoding controller for controlling a codeword interpretation performed by said decoding section based on the result of the determination made by said decoding section.
  28. 72
    76. An encoding apparatus, comprising:a picture element memory operatively connected to an input port that receives a picture element having a value within a predetermined range as an encoding picture element, said picture element memory storing the picture element and outputting a value of an encoded picture element adjacent to the encoding picture element as the value of a reference picture element ;a mode determinator operatively connected so said CA 02320580 2000-10-10 209 a first encoding section operatively connected to said picture element memory and said mode determinator, said first encoding section predicting the value of the encoding picture element, determining whether the prediction is correct, encoding the value of the encoding picture element based on a result of the determination, and outputting a codeword for the encoding picture element;a second encoding section operatively connected to said picture element memory, said second encoding section predicting the value of the encoding picture element, encoding the value of the encoding picture element, and outputting a codeword for the encoding picture element;and an encoding controller operatively connected to said first and second encoding sections and to said mode determinator, said encoding controller selectively operating said first encoding section and said second encoding section based on a selected result of said mode determinator.
  29. 73
    77. The encoding apparatus as claimed in claim 76, wherein said first encoding section comprises:a first predictor operatively connected to said picture element memory, said first predictor calculating a prediction value of the encoding picture CA 02320580 2000-10-10 210 element based on the value of the reference picture element ;a first prediction error calculator operatively connected to said first predictor and said picture element memory, said first prediction error calculator calculating an error between the value of the encoding picture element and the prediction value calculated by said first predictor as a prediction error;a determinator operatively connected to said first prediction error calculator, said determinator determining whether the prediction error calculated by said first prediction error calculator is a specific value, and for outputting a result of the déterminât ion;a first encoder operatively connected to said determinator and said encoding controller, said first encoder encoding the result of the determination output from said determinator and outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode;and a second encoder operatively connected to said first prediction error calculator and said encoding controller, said second encoder encoding the prediction error calculated by said first prediction error calculator when the prediction error is other than the CA 02320580 2000-10-10 211 specific value for the encoding picture element to be encoded in the selected specific encoding mode, and outputting the codeword for the encoding picture element to be encoded in the selected specific encoding mode .
  30. 74
    78. The encoding apparatus as claimed in claim 77, wherein said second encoding section comprises:a second predictor operatively connected to said picture element memory, said second predictor calculating a prediction value of the encoding picture element based on the value of the reference picture element ;second prediction error calculator operatively connected to said second predictor, said second prediction error calculator calculating an error between the value of the encoding picture element and the prediction value calculated by said second predictor as a prediction error;and a third encoder operatively connected to said second prediction error calculator and said encoding controller, said third encoder encoding the prediction error calculated by said second prediction error calculator for the encoding picture element to be encoded in the selected encoding mode other than the specific encoding mode, regardless of whether the CA 02320580 2000-10-10 error is the prediction 212 specific value, and for outputting the codeword for the encoding picture element to be encoded in the selected encoding mode other than the encoding mode.
  31. 75
    79. The encoding apparatus as claimed in claim 76, wherein the encoding apparatus is provided in a semiconductor chip.
  32. 76
    80. The encoding apparatus as claimed in claim 76, wherein the encoding apparatus is provided in a circuit board.
  33. 81
    88. A decoding apparatus, comprising:a picture element memory operatively connected to an input port receiving decoded picture elements having values within a predetermined range, said picture element memory storing the decoded picture element and outputting the value of one of the decoded picture elements adjacent to a decoding picture element as a value of a reference picture element;a mode determinator operatively connected to said picture element memory for selecting one of a specific decoding mode and a decoding mode other than the CA 02320580 2000-10-10 214 specific decoding mode from a plurality of predefined decoding modes for the decoding picture element based on the value of the reference picture element;a first decoding section operatively connected to a code buffer receiving a codeword for the decoding picture element, said first decoding section predicting a value of the decoding picture element, determining whether the prediction is correct, and decoding the codeword into the value of the decoding picture element based on a result of the determination;a second decoding section operatively connected to the code buffer, said second decoding section predicting the value of the decoding picture element and decoding the codeword;and a decoding controller operatively connected to said first decoding section, said second decoding section, and said mode determinator, said decoding controller selectively operating said first decoding section and said second decoding section based on a selected result of said mode determinator.
  34. 82
    89. The decoding apparatus as claimed in claim 88, wherein said first decoding section comprises:a first predictor operatively connected to said picture element memory, said first predictor calculating a prediction value of the decoding picture CA 02320580 2000-10-10 215 element based on the value of the reference picture element ;a first decoder operatively connected to said mode determinator, said decoding controller and the code buffer, said first decoder decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode into a result of determination indicating whether a prediction error is a predetermined value;a second decoder operatively connected to said decoding controller and to the code buffer, said second decoder decoding the codeword for the decoding picture element to be decoded in the selected specific decoding mode and having the prediction error other than the predetermined value into the prediction error other than the predetermined value;a first decoding picture element calculator operatively connected to said second decoder and to said first predictor, said first decoding picture element calculator calculating the value of the decoding picture element based on the prediction value of the decoding picture element calculated by said first predictor, the result of the determination, and the prediction error obtained by said second decoder. CA 02320580 2000-10-10 216
Independent claims34