摘要 |
Disclosed are an image encoding/decoding method for rate-distortion optimization and an apparatus for performing the same. A macro block to be encoded is provided, any one of inter-frame prediction and intra-frame prediction is executed to generate a predictive macro block, a residual prediction block is generated on the basis of the generated predictive macro block and the provided macro block, and then the generated residual prediction block is transformed by applying a transform matrix having the highest encoding efficiency among a plurality of predetermined transform matrixes to the generated residual prediction block. Accordingly, it is possible to optimize the rate-distortion, and thus to enhance the quality of an image.
|