CPC H04N 19/176 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/593 (2014.11); H04N 19/70 (2014.11)] | 4 Claims |
1. An image decoding method, performed by a decoding apparatus, comprising:
obtaining image information including Block-based Delta Pulse Code Modulation (BDPCM) related information for a current block;
deriving prediction samples for a first sample and a second sample of the current block based on the BDPCM related information and a neighboring sample of the current block; and
deriving reconstructed samples for the first sample and the second sample based on the prediction samples,
wherein an intra prediction mode of a prediction direction of the current block is derived based on a BDPCM direction flag as an intra prediction mode of the current block,
wherein the BDPCM related information includes the BDPCM direction flag representing the prediction direction,
wherein based on the prediction direction being a horizontal direction, a horizontal intra prediction mode is derived as an intra prediction mode of the current block,
wherein based on the prediction direction being a vertical direction, a vertical intra prediction mode is derived as the intra prediction mode of the current block,
wherein the first sample is a sample in the current block adjacent to the neighboring sample, and the second sample is a sample in the current block adjacent to the first sample in the prediction direction,
wherein the intra prediction mode derived as the intra prediction mode of the current block is used for prediction for a block coded after the current block, and
wherein the block coded after the current block is a block within a current Coding Tree Unit (CTU) or a neighboring CTU in a current picture or a reference picture.
|