Patent ID: 8374445

Claim:
A method for compressing data, comprising: coding a value of the data using a run-length coding; and compressing the data by coherently coding a bit sequence of a bit plane representing an item of partial information of the value, wherein the value to be coded is selected from the group consisting of: a grey value, a color value, and a contrast value, wherein the value to be coded is estimated using a predictor, wherein a prediction error is determined from a deviation between the estimate of the predictor and the value to be coded, wherein a prefix plane is designated based on the prediction error, wherein the prediction error is stored in a storage region, wherein the storage region comprises two separate storage regions, a normal storage region and an extended storage region, and wherein the prediction error is coded in one of the normal storage region and the extended storage region or in both of the normal storage region and the extended storage region based on a rule.