| CPC H04N 19/136 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 23 Claims | 

| 
               1. An image decoding method performed by an image decoding apparatus, the image decoding method comprising: 
            obtaining first information indicating whether block-based differential pulse coded modulation (BDPCM) is applicable to a current image; 
                obtaining second information indicating whether to apply the BDPCM to a current block in the current image based on the first information; 
                obtaining third information indicating a prediction direction of the BDPCM based on the second information; and 
                applying the BDPCM to the current block based on the prediction direction of the BDPCM, 
                wherein the first information indicates whether BDPCM is enabled for both a luma component and a chroma component of the current block, and 
                wherein the second information for the chroma component and the third information for the chroma component are obtained from a bitstream based on a color format of the current image being a 4:2:0 color format or a 4:2:2 color format. 
               |