摘要 |
The present invention discloses a method and an apparatus for encoding an image, and a method and an apparatus for decoding a message. The method for decoding the image comprises the steps of: entropy-decoding a bit stream that is received, to recover a residual value by reverse-quantizing and reverse-converting the residual value; performing inter prediction with respect to a prediction unit that is divided into at least two units by applying an asymmetric partition division method, wherein the prediction unit that is divided comprises a first divided prediction unit and a second divided prediction unit; and recovering the image by adding the residual value to a final prediction unit, wherein the step of generating the final prediction unit can comprise a step of interpolating by using a filter tap, which has a variable length in a horizontal or perpendicular direction depending on the length of the first divided prediction unit, so that pixels that belong to the second divided prediction unit is not included in the interpolation. |