摘要 |
Disclosed is an arrangement for easily and quickly performing variable length coding for a multi-valued image, while estimating coding efficiency. To achieve the above objective, an encoding apparatus, which encodes a plurality of sets of multi-valued image data to produce code having variable lengths based on the multi-valued image data and a parameter k, comprises a bit shift unit for performing bit shifts for each of the multi-valued image data sets a different number of times in accordance with the parameter k and for outputting P sets of data, P accumulation adders for accumulating the P sets of data in correlation with the parameter k, for each of the multi-valued data sets, and comparators for comparing the results obtained by the accumulation adders to determine an optimal parameter k for each of the multi-valued image data sets.
|