摘要 |
PROBLEM TO BE SOLVED: To perform moving image coding with which slice boundary is difficult to be visually confirmed on a sliced picture as an object to be coded.SOLUTION: When a block line in a second slice abutting on the boundary between first and second slices in a picture to be coded includes a block to be coded, a moving image encoding device calculates a region motion vector indicating the motion of a region including a block in the first slice. Next, the moving image encoding device calculates a motion vector of the block to be coded using the region motion vector as a first prediction vector, and calculates a second prediction vector from the motion vectors of already coded blocks around the block to be coded. Then, the moving image encoding device codes a difference vector between the motion vector of the block to be coded and the second prediction vector, and codes a difference between the pixel value of the block to be coded and the pixel value of a block in a reference picture indicated by the motion vector of the block to be coded, thereafter outputting the coded result. |