7 116 829

7,116,829 Title:

Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs

Abstract:

In an image coding method of the present invention, after a process such as DCT is performed to digital image data, quantization process is performed, and then, to resultant quantized transform coefficients, variable length coding process is performed with reference to a variable length code table showing how variable length codes are allocated, and in a comparison process between an event derived from the quantized transform coefficients and a reference event included in the variable length code table, transformation process is performed to increase a possibility of performing variable length coding with satisfactory coding efficiency.

Claims:

The invention claimed is:

1. An image decoding method for extracting a variable length code from a compression coded data, obtaining an event corresponding to said variable length code by usinga variable length code table wherein a reference event consisting of Last, Run, Level, is assigned to each reference variable length code, and deriving an output transform coefficient from said event, the method comprising: obtaining an eventcorresponding to said variable length code by using a variable length code table when said variable length code does not include a control code, obtaining an event corresponding to said variable length code by using said variable length code table andthen obtaining a transformed event by transforming the Level value corresponding to said variable length code using a predetermined function when said variable length code includes said control code which is a second control code, and obtaining an eventby subjecting said variable length code to fixed length decoding when said variable length code includes said control code that is a first control code.

2. The image decoding method according to claim 1, wherein the predetermined function for transforming the Level value is defined as: the transformed Level=sign (the resultant Level value).times.[abs (the resultant Level value)+a predeterminedOffset value].

3. An image decoding method for extracting a variable length code from compression coded data, obtaining an event corresponding to said variable length code by using a variable length code table wherein a reference event comprising Run andLevel, is assigned to each reference variable length code, and deriving a transform coefficient corresponding to said event, the method comprising; obtaining an event corresponding to said variable length code by using said variable length code tablewhen said variable length code does not include a control code, obtaining an event corresponding to said variable length code by using said variable length code table and then obtaining a transformed event by transforming the Level value of said eventcorresponding to said variable length code using a predetermined function when said variable length code includes said control code which is a second control code, and obtaining an event by subjecting said variable length code to fixed length decodingwhen said variable length code includes said control code which is a first control code.

4. The image decoding method according to claim 3, wherein the predetermined function for transforming the Level value is defined as: the transformed Level value=sign (the resultant Level value).times.[abs (the resultant Level value)+apredetermined Offset value].