Patent ID: 9654779
Date: 2017-05-16
CPC Classifications: G06T,H04N

Claim:
1. A decoding method comprising: obtaining a prediction mode by decoding a bitstream; obtaining a prediction direction of a luma component of a current block when the prediction mode is an intra prediction mode; obtaining a prediction direction of a chroma component in a current image corresponding to the prediction direction of the luma component according to one of predetermined modes, wherein the prediction direction of the chroma component is identical to the prediction direction of the luma component; obtaining a predicted block using a spatially adjacent pixel in the current image, wherein the spatially adjacent pixel is determined according to the prediction direction of the chroma component; obtaining a residue by decoding the bitstream; and obtaining a restored image using the obtained residue and the obtained predicted block, wherein the prediction direction of the luma component is decoded from the bitstream at a block level.