BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a block configuration diagram of an image processing apparatus according to a first embodiment.
FIG. 2 shows a table for quantizing the difference between neighboring pixels.
FIG. 3 shows the relative positional relation between a pixel x for encoding and neighboring pixels a, b and c.
FIG. 4 is a flowchart showing the flow of encoding according the first embodiment.
FIG. 5A is a table showing the relation between Golomb encoding parameters k and the code lengths of symbols.
FIG. 5B is a table showing the relation between Golomb encoding parameters k, the code lengths of symbols, and correction values.
FIG. 6 shows an example of k parameter transition in the image processing apparatus according to the first embodiment.
FIG. 7 shows a probability distribution f(n,1) at which the encoding probability is maximized when k=1.
FIGS. 8A and 8B show transition probabilities for the k parameter.
FIG. 9 shows the configuration of a code stream output from the image processing apparatus.
FIG. 10 is a block configuration diagram of an image processing apparatus according to second and third embodiments.
FIG. 11 is a flowchart showing the flow of processing by a k parameter updating unit 1002 in the second embodiment.
FIG. 12 shows the association between index values i and parameters k in the third embodiment.
FIG. 13 is a flowchart showing the flow of processing by a k parameter updating unit 1002 in the third embodiment.
FIG. 14 is a block configuration diagram of an information processing apparatus in the case where the first to third embodiments are realized by software.
FIG. 15 is a block configuration diagram of an image processing apparatus that performs decoding in the first embodiment.
FIG. 16 shows exemplary Golomb encodes.