摘要 |
Disclosed is method of encoding a set of data values (205-245). Each data value corresponds to a pixel position (205,210, 220,225) within an image (100). The method operates on a current (230) said data value at a current pixel position. The method creates (605) a context set (215,225) for the data value (230), the context set including a data value at a pixel position (225) in the set immediately preceding the current pixel position in an encoding order, wherein the immediately preceding pixel position is not adjacent said current pixel position within said image. The method then encodes (500) the data value (230) using the created context set (215,225). A corresponding decoding method is also provided. |