CPC H04N 19/139 (2014.11) [H04N 19/117 (2014.11); H04N 19/124 (2014.11); H04N 19/51 (2014.11); H04N 19/52 (2014.11); H04N 19/91 (2014.11)] | 3 Claims |
1. A method of decoding an image, the method comprising:
deriving multiple motion vectors for a current block according to an inter-prediction direction of the current block;
determining multiple prediction blocks for the current block by using the multiple motion vectors; and
obtaining a final prediction block for the current block based on a weighted sum of the multiple prediction blocks,
wherein weight of the current block for the weighted sum is derived from weight index information of the current block specifying any one of weights included in a predefined weight set,
wherein the weight index information of the current block is derived based on weight index information of a neighboring block of the current block.
|