摘要 |
An image encoding apparatus includes an input unit, a prediction unit, a prediction error calculating unit, and an encoder. The input unit receives, as an input, image data. The prediction unit calculates a predicted pixel value of a pixel of interest serving as a target to be processed in the image data. The prediction error calculating unit calculates a prediction error value by using an actual pixel value and the predicted pixel value of the pixel of interest. The encoder encodes the prediction error value with information including a number of bits and an error value. The encoder encodes, as the error value, only one or more most significant bits corresponding to a number of effective bits when the number of bits exceeds the number of effective bits.
|