摘要 |
PROBLEM TO BE SOLVED: To provide a technology for improving encoding efficiency by decreasing a prediction error without increasing the code amount of additional information regarding a block pattern of motion compensation prediction.SOLUTION: A temporary region dividing section 101 divides an encoding object block into a plurality of temporary regions on a predetermined temporary boundary. A motion vector detecting section 102 detects a motion vector for each temporary region. A main region dividing/motion compensating section 103 uses the motion vector of each temporary region to generate a plurality of prediction blocks corresponding to the encoding object block from a reference image, determines a main boundary on the basis of activities of the plurality of prediction blocks, and couples regions which are obtained by dividing each prediction block on the main boundary, between the prediction blocks, thereby generating a combination prediction block. A variable length encoding section 105 encodes a prediction differential block which is obtained by subtracting the combination prediction block from the encoding object block, and the motion vector of each temporary region. |