PURPOSE: A method for classifying and encoding a block for compressing optimum conversion video data adapted for classification is provided to perform easily an optimum conversion encoding process for a recovery image quality by improving a block classification method. CONSTITUTION: Input block data are stored in a buffer and a KL converter performs a KL conversion process to classify kinds of block data(302). A conversion coefficient outputted from the KL converter is analyzed and a class is decided according to an order of a maximum coefficient(303). A selective converter code of the optimum KL converter is outputted according to the classified result(304). The selective converter code is decoded(305). The stored block data are outputted from the buffer(306). The selected KL converter converts the stored block data(307). A conversion coefficient of the block data is quantized(308). A coded data stream is outputted by multiplexing the selective converter code and the quantized coefficient(309).
展开▼