| CPC H04N 19/55 (2014.11) [H04N 19/182 (2014.11); H04N 19/563 (2014.11)] | 3 Claims |

|
1. A method of decoding an image, comprising:
obtaining motion-constrained region information,
deriving motion information of a current block; and
performing inter prediction based on the motion-constrained region information and the motion information to generate a prediction block of the current block; and
generate a reconstruction block of the current block based on the prediction block,
when the motion-constrained region information indicates that motion-constrained region is applied, a configuration of motion-constrained region of a reference picture used for inter prediction is equal to a configuration of motion-constrained region of a current picture, and
when a reference sample value outside the motion-constrained region of the reference picture is required for the inter prediction, wherein the inter prediction is performed by using a sample value of a boundary of the motion-constrained region of the reference picture instead of the reference sample value outside the motion-constrained region of the reference picture.
|