摘要 |
Provided is an image coding method for performing intra prediction achieving higher coding efficiency. The method for coding image data on a block-by-block basis includes; generating a predicted block by predicting a current block; computing a difference between the current block and the predicted block; coding the difference computed in the computing; decoding the difference coded in the coding; and adding the difference decoded in the decoding to the predicted block to generate a decoded block, wherein the generating includes: detecting an edge in a previously decoded block corresponding to a block adjacent to the current block; and extrapolating or interpolating previously decoded image data corresponding to a pixel included in the block adjacent to the current block, along a direction of the edge detected in the detecting to generate the predicted block.
|