CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/154 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/197 (2014.11); H04N 19/593 (2014.11); H04N 19/184 (2014.11)] | 9 Claims |
1. An image decoding method, which is performed by an image decoding apparatus, the method comprising:
dividing a current block into two regions including a first region and a second region, a current pixel belonging to the first region;
performing intra prediction on the first region of the current block; and
performing intra prediction on the second region of the current block based on the first region in which the intra prediction on the first region is completed,
wherein performing the intra prediction on the first region of the current block comprises:
obtaining a first neighboring pixel of the first region belonging to the same horizontal line as the current pixel belonging to the first region;
obtaining a second neighboring pixel of the first region belonging to the same vertical line as the current pixel belonging to the first region; and
generating a prediction value of the current pixel by applying weights to the first neighboring pixel and the second neighboring pixel, and
wherein the prediction value of the current pixel is generated by using a pixel T belonging to a block adjacent to an upper right corner of the first region and a pixel L belonging to a block adjacent to a lower left corner of the first region.
|