Patent ID: 7312730

Claim:
A method for coding quantized coefficients of a block image, the method comprising: scanning a two-dimensional array of quantized coefficients into scanned quantized coefficients, wherein said scanning is performed from a low frequency component toward a high frequency component; converting the scanned quantized coefficients into a run value and a level value, the run value indicating the number of continuous quantized coefficients, each having a zero value, and the level value indicating a value of a quantized coefficient having a non-zero value; reordering the run value and the level value from a high frequency component toward a low frequency component, respectively; coding the reordered run value in the order of the reordering, by using a code table selected in accordance with information that represents a total number of uncoded zero-value quantized coefficients which have not been coded; and coding the reordered level value in the order of the reordering.