摘要 |
<p>Disclosed are an image processing method and an image processing apparatus capable of controlling the quantity of coded data to a target data quantity. Quantized coefficients are coded by a Huffman coder 14, and the coded data and the code lengths are stored in a buffer memory 15. The code lengths are also supplied to a code length accumulator 17, and the accumulation result is compared with values of a threshold value table 19 by a comparator 18. On the basis of the index (comparison result) from the comparator 18, a reference value from a reference value calculator 16, and the code length accumulated value from the buffer memory 15, a stage determining unit 20 determines a stage to which the coded data and the code lengths in the buffer memory 15 are allocated, and outputs the stage as a stage number. <IMAGE></p> |