Inter prediction method and apparatus for same
According to the present invention, an image encoding apparatus comprises: a motion prediction unit which derives motion information on a current block in the form of the motion information including L0 motion information and L1 motion information; a motion compensation unit which performs a motion compensation for the current block on the basis of at least one of the L0 motion information and L1 motion information so as to generate a prediction block corresponding to the current block; and a restoration block generating unit which generates a restoration block corresponding to the current block based on the prediction block. According to the present invention, image encoding efficiency can be improved.
1. A method for decoding a video signal with an image decoding apparatus, comprising:
determining a collocated block comprised in a collocated picture,
wherein the collocated picture is a reference picture having the collocated block among reference pictures included in a reference picture list, and
wherein the collocated block is determined to be either a first block adjacent to a right-bottom position of a current block or a second block comprising a center position of the current block;
obtaining a temporal merge candidate of the current block based on the collocated block,
wherein motion information of the temporal merge candidate comprises a motion vector and a reference picture index, and
wherein the motion vector of the temporal merge candidate is derived from a motion vector of the collocated block within the collocated picture, and
wherein the reference picture index of the temporal merge candidate is set to a predetermined fixed value regardless of a reference picture index of a neighboring block adjacent to the current block;
generating a merge candidate list comprising the temporal merge candidate;
determining a merge candidate for the current block based on the merge candidate list and a merge candidate index, the merge candidate index specifying one of the merge candidates in the merge candidate list;
deriving motion information of the current block from motion information of the determined merge candidate;
generating a prediction block corresponding to the current block based on the derived motion information;
obtaining a residual block corresponding to the current block; and
generating a reconstructed block corresponding to the current block based on the residual block and the prediction block.
2. The method for decoding a video signal of claim 1 , wherein the collocated block is determined by scanning the first block and the second block in a predetermined order.
3. The method for decoding a video signal of claim 2 , wherein the scanning is performed in sequence of the first block and the second block.
4. The method for decoding a video signal of claim 1 , wherein the predetermined fixed value is 0.
5. A method for encoding a video signal with an image encoding apparatus, comprising:
determining motion information of a current block;
generating a prediction block corresponding to the current block based on the motion information;
generating a residual block corresponding to the current block based on the prediction block;
determining a collocated block comprised in a collocated picture,
wherein the collocated picture is a reference picture having the collocated block among reference pictures included in a reference picture list, and
wherein the collocated block is determined to be either a first block adjacent to a right-bottom position of the current block or a second block comprising a center position of the current block;
obtaining a temporal merge candidate of the current block based on the collocated block,
wherein motion information of the temporal merge candidate comprises a motion vector and a reference picture index, and
wherein the motion vector of the temporal merge candidate is derived from a motion vector of the collocated block within the collocated picture, and
wherein the reference picture index of the temporal merge candidate is set to a predetermined fixed value regardless of a reference picture index of a neighboring block adjacent to the current block;
generating a merge candidate list comprising the temporal merge candidate; and
encoding motion information of the current block based on the generated merge candidate list.
6. The method for encoding a video signal of claim 5 , wherein the predetermined fixed value is 0.
7. A non-transitory computer-readable recording medium storing a bitstream, wherein the bitstream is generated by a method for encoding a video signal, the method comprising:
determining motion information of a current block;
generating a prediction block corresponding to the current block based on the motion information;
generating a residual block corresponding to the current block based on the prediction block;
determining a collocated block comprised in a collocated picture,
wherein the collocated picture is a reference picture having the collocated block among reference pictures included in a reference picture list, and
wherein the collocated block is determined to be either a first block adjacent to a right-bottom position of the current block or a second block comprising a center position of the current block;
obtaining a temporal merge candidate of the current block based on the collocated block,
wherein motion information of the temporal merge candidate comprises a motion vector and a reference picture index, and
wherein the motion vector of the temporal merge candidate is derived from a motion vector of the collocated block within the collocated picture, and
wherein the reference picture index of the temporal merge candidate is set to a predetermined fixed value regardless of a reference picture index of a neighboring block adjacent to the current block;
generating a merge candidate list comprising the temporal merge candidate; and
encoding motion information of the current block based on the generated merge candidate list.
8. The non-transitory computer-readable recording medium of claim 7 , wherein the predetermined fixed value is 0.