Preferably, when the input image is an interlaced image, while the code-blocks are generated, each code-block is set to be smaller than that of a progressive image.
Each subband generated by filtering is decomposed into a plurality of rectangular areas using the characteristics of the input image.