1. A method for encoding motion vectors used in an encoding of an image, the method comprising: grouping one or more image segments, each image segment having a motion vector, into a segment group; generating a group motion vector for the segment group from the motion vectors of one or more image segments; generating one or more local motion vectors specifying a change for the image segment relative to the group motion vector; and encoding the group motion vector and one or more local motion vectors.