Patent ID: 7574061

Claim:
An encoding device that represents image data in the form of a plurality of bit planes for each of a plurality of sub bands and encodes said image data for each bit plane, comprising: a plurality of tables with respective sets of table data, wherein each set of table data is associated with a corresponding compression rate and amount of data to be encoded and specifies a corresponding subset of either the bit plane(s) to be discarded or the bit plane(s) to be encoded for each sub band; and an encoding part configured to encode a predetermined amount of data in an amount X of time and select a set of table data, corresponding to one of said plurality of tables, based on a maximum required processing time Y, wherein said maximum required processing time is an amount of time within which processing by said encoding device of said image data is required to be completed, wherein said encoding part selects the set of table data corresponding to the table that is associated with the largest amount of data to be encoded amongst tables associated with amounts of data to be encoded that do not exceed a ratio Y/X.