| CPC H04N 19/105 (2014.11) [H04N 19/117 (2014.11); H04N 19/157 (2014.11); H04N 19/176 (2014.11); H04N 19/59 (2014.11); H04N 19/593 (2014.11)] | 6 Claims |

|
1. A method for decoding an image, comprising:
determining a partition type of a current block;
obtaining motion information of the current block in the image;
obtaining prediction samples of the current block based on the motion information of the current block; and
modifying the prediction samples of the current block,
wherein, in a first sub-region in the current block, modified prediction samples are derived to the same as prediction samples prior to applying a modification, the first sub-region adjoining a boundary of the current block,
wherein a location of the first sub-region is varied according to the partition type of the current block,
wherein the partition type of the current block is determined based on a first index and a second index, and
wherein the first index specifies one of partition type categories, and the second index specifies one of partition type candidates included in a partition type category specified by the first index.
|