METHOD FOR ENCODING VIDEO USING EFFECTIVE DIFFERENTIAL MOTION VECTOR TRANSMISSION METHOD IN OMNIDIRECTIONAL CAMERA, AND METHOD AND DEVICE
The present invention relates to an image encoding and decoding technique for a high-definition video compression method and device for an omnidirectional security camera, and more specifically, to a method and a device whereby a differential motion vector is effectively transmitted, and an actual motion vector is calculated using the transmitted differential motion vector, and thus motion compensation is performed.
1 . A video decoding method, the method comprising:
parsing information relating a camera and an image;
acquiring image information from the parsed information;
designing a virtual coordinate based on the acquired information;
setting a predictive motion vector candidate based on the virtual coordinate;
calculating a virtual motion vector based on the predictive motion vector and a transmitted differential motion vector;
converting a virtual motion vector into a motion vector of an actual reference image; and
determining a reference region of the reference image and performing motion compensation.
2 . The method of claim 1 , wherein the virtual coordinates includes one or a plurality of virtual coordinates depending on characteristics of an image, and
wherein the virtual coordinate is automatically set by mutual promise of an encoder and a decoder,
wherein when a plurality of virtual coordinates set, parsing the information relating the camera and the image comprises parsing an index of the virtual coordinate.
3 . The method of claim 2 , wherein motion compensation is performed by using an actual motion vector, and
wherein an index of the virtual coordinate is parsed, and the actual motion vector in the image is obtained using the parsed index and a mapping table between the virtual coordinate and an image coordinate.