The invention discloses a
video encoding and decoding method based on surface transmission transformation, including the following steps: performing
vanishing point detection on an image to be encoded; forming a normal vector of a plane according to parallel lines corresponding to vanishing points, and calculating a
perspective transformation matrix Hm of the plane; at an encoding end, searching for an
optimal matching block in a reconstructed image region, setting a
motion vector that identifies a candidate position, and performing surface transmission transformation; obtaining coordinates ofpredicted pixels; at a decoding end, inputting a code
stream to be decoded, and
parsing the
perspective transformation matrix;
parsing the
motion vector from the code
stream, and performing surface transmission transformation; and obtaining the coordinates of the predicted pixels. According to the
video encoding / decoding method based on surface transmission transformation disclosed by the invention, by performing surface transmission transformation on the
motion vector, the predicted pixel coordinates can be obtained, the correlation between similar image contents represented as the deformation can be eliminated, the encoding / decoding efficiency can be greatly improved, and the scheme of the invention can be applied to H.264 / H.265 / H.266 and other encoding methods.