CPC H04N 19/593 (2014.11) [H04N 19/11 (2014.11); H04N 19/117 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/61 (2014.11); H04N 19/80 (2014.11); H04N 19/85 (2014.11); H04N 19/91 (2014.11)] | 9 Claims |
1. An image encoding method performed by an encoding apparatus, the method comprising:
deriving a prediction mode of a current block as an intra planar prediction mode;
deriving neighboring reference samples of the current block, wherein the reference samples include left reference samples and upper reference samples;
deriving a prediction sample of the current block based on the neighboring reference samples;
generating information on the prediction mode; and
encoding image information including the information on the prediction mode,
wherein the prediction sample is derived based on 4 reference samples among the neighboring reference samples,
wherein the 4 reference samples include a first reference sample located in the same row with the prediction sample, a second reference sample located in a lower side of the first reference sample, a third reference sample located in a same column with the prediction sample, and a fourth reference sample located in a right side of the third reference sample, and
wherein, the second reference sample is derived based on a sample located in a lower side of a lowest sample among the left reference samples adjacent to a left boundary of the current block, and the fourth reference sample is derived based on a sample located in a right side of a right-most sample among the upper reference samples adjacent to an upper boundary of the current block.
|