CPC H04N 19/137 (2014.11) [G06T 9/004 (2013.01); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/189 (2014.11); H04N 19/46 (2014.11); H04N 19/507 (2014.11)] | 5 Claims |
1. An image decoding method performing inter prediction, the method comprising:
constructing a merge candidate list of a target block including a statistical merge candidate from a statistical merge candidate group and a spatial merge candidate from a neighboring block of the target block;
determining a motion vector from a selected merge candidate in the merge candidate list based on a candidate index; and
determining a prediction block for the target block based on the determined motion vector,
wherein the statistical merge candidate group includes one or more statistical merge candidates and a number of statistical merge candidates in the statistical merge candidate group cannot be larger than a predetermined maximum number of the statistical merge candidates,
the statistical merge candidate indicates inter-prediction information of a block that is decoded prior to the target block and the merge candidate list includes one or more statistical merge candidates in the statistical merge candidate group that are not immediately adjacent to the target block,
the statistical merge candidate group is updated after completion of decoding the target block by the following method:
when the inter-prediction information of the target block is not overlapped with any of the statistical merge candidates in the statistical merge candidate group, the statistical merge candidate group is updated by adding inter-prediction information of the target block as the first statistical merge candidate of the statistical merge candidate group and removing the last statistical merge candidate from the statistical merge candidate group and modifying the orders of the remained statistical merge candidates,
when the inter-prediction information of the target block is overlapped with any of the statistical merge candidates in the statistical merge candidate group, the statistical merge candidate group is updated by adding inter-prediction information of the target block as the first statistical merge candidate of the statistical merge candidate group and removing the overlapped statistical merge candidate from the statistical merge candidate group and modifying the orders of the remained statistical merge candidates,
the statistical merge candidate group is initialized when the target block is the first block of a predetermined data unit,
in the merge candidate list, the statistical merge candidate is included after the spatial merge candidate in order.
|