Patent ID: 6754393
Filing Date: 2004-06-22
Classification: H04N

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; 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; 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 outputting the codeword for the encoding picture element to be encoded.