摘要 |
The present invention relates to a method and apparatus for encoding images and to method and apparatus for decoding images, wherein motion vector prediction is applied to a three-dimensional (3D) image, to an in-loop filtering method for a multi-view image, and to a method for synthesizing a medium-depth view. The method for encoding a current predicted unit in a 3D image includes: selecting the motion vector of a neighboring block as the predicted motion vector candidate of the current predicted unit, wherein the motion vector of the neighboring block belongs to the same group and has the same depth as the current predicted unit, from among the motion vectors of already encoded neighboring blocks of the current predicted block; and performing inter-prediction on the basis of the predicted motion vector candidate in order to predict the motion vector of the current predicted unit, and transmitting the predicted motion vector to a decoder. Accordingly, candidate selection for a predicted motion vector is efficiently performed for a 3D image having identical group and depth information. Also, the complexity of a deblocking process can be reduced. The amount of transmitted depth view data can also be reduced. |