| CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/44 (2014.11); H04N 19/96 (2014.11)] | 11 Claims |

|
6. A encoding method which uses intra prediction performed in a encoding apparatus, the encoding method comprising the steps of:
generating a prediction block of a current block to be encoded;
obtaining a residual block of the current block by using an original block of the current block and the prediction block;
encoding the residual block of the current block into a bitstream
wherein encoding information generated based on the prediction block is encoded into the bitstream,
wherein generating the prediction block comprises:
predicting a pixel of a first region belonging to the current block, by using a neighboring block adjacent to the current block; and
predicting a pixel of a second region belonging to the current block, by using the predicted pixel of the first region and a restored pixel of the neighboring block,
wherein the first region includes only at least one pixel of even-numbered pixel lines within the current block,
wherein the second region includes at least one pixel of odd-numbered pixel lines within the current block,
wherein the pixel of the second region is predicted using a weighted sum of the predicted pixel of the first region and the restored pixel of the neighboring block, and
wherein the neighboring block includes a left block adjacent to a left of the current block and a top block adjacent to a top of the current block.
|