Patent Document ID: 8902987
Application ID: 13966527
Patent Status: 1

Claim One:
1. A picture coding method for coding a moving picture, comprising: a neighboring block specification step of specifying a neighboring block which is located in the neighborhood of a current block and has already been coded; a judgment step of judging whether or not the neighboring block has been coded in spatial direct mode and motion-compensated using a motion vector calculated from a motion vector of another block, the other block being plural, located in the neighborhood of the neighboring block, and coded before the neighboring block; a determining step of determining a different motion vector of the neighboring block based on the result of the judgment step; a prediction step of deriving a predictive motion vector of the current block using a different motion vector; a motion vector coding step of coding a difference value between the motion vector of the current block and the predictive motion vector; a motion compensation step of generating a motion compensated picture using the motion vector of the current block and a reference picture corresponding to the motion vector of the current block; and a coding step of coding a prediction error between the current block and the motion compensated picture, wherein the current picture including the neighboring block and the other block is coded using two reference pictures comprising one forward reference picture and one backward reference picture, and when it is judged in the judgment step that the neighboring block has been coded in spatial direct mode and motion-compensated using a motion vector calculated from a motion vector of the other block, respective motion vectors calculated from the respective motion vectors of the other block are determined as two different motion vectors of the neighboring block in the determining step, two predictive motion vectors are derived in temporally forward direction and temporally backward direction separately in the prediction step, and two motion vectors of the current block are coded in temporally forward direction and temporally backward direction separately in the motion vector coding step, and when it is judged in the judgment step that the neighboring block has not been coded in spatial direct mode and not been motion-compensated using a motion vector calculated from a motion vector of the other block, two motion vectors, which are detected for the neighboring block and which are used in performing motion compensation on the neighboring block, are determined as two different motion vectors of the neighboring block in the determining step, two predictive motion vectors are derived in temporally forward direction and temporally backward direction separately in the prediction step, and two motion vectors of the current block are coded in temporally forward direction and temporally backward direction separately in the motion vector coding step.