摘要 |
In an image processing apparatus according to an embodiment, a first prediction value calculating unit calculates a prediction value of the pixel value; a prediction error calculating unit calculates a prediction error between the prediction value and the pixel value of the target pixel; a second storage unit receives the prediction error sequentially from a first terminal and stores therein; a comparing unit compares the prediction error with each of the prediction errors already stored; a search unit, when the prediction error thus received is identical to each of the prediction errors, searches for a data array; a length information generating unit generates length information; an address information generating unit generates address information; a first code data generating unit generates first code data; and a second code data generating unit generates second code data by encoding the pixel value of the target pixel. |