Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorChoong Seng Boon
Life of this patent
Estimating the term…
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.
Claims3
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 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:
- judging whether said variable length code includes a control code, and if said variable length code is judged to include no control code, obtaining an event corresponding to said variable length code by using said variable length code table,
- and if said variable length code is judged to include said control code, further judging, whether said variable length code includes a third mode code, and if said variable length code is judged to include said third mode 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 Run value of said event corresponding to said variable length code using a predetermined function, wherein the control code is “0000011”, and the third mode code is “10”.
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 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:
- judging whether said variable length code includes a control code, and if said variable length code is judged to include no control code, obtaining an event corresponding to said variable length code by using said variable length code table,
- and if said variable length code is judged to include said control code, further judging, whether said variable length code includes a third mode code, and if said variable length code is judged to include said third mode 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 Run value of said event corresponding to said variable length code using a predetermined function;
- and
- judging whether said variable length code includes a first mode code, and if said variable length code is judged to include said first mode code, obtaining an event by subjecting said variable length code to fixed length decoding.
Dependencies are inferred from the claim text.