| CPC H04N 19/186 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/1887 (2014.11); H04N 19/70 (2014.11); H04N 19/96 (2014.11); H04N 19/117 (2014.11)] | 3 Claims |

|
1. An image decoding method performed by a decoding apparatus, the image decoding method comprising:
obtaining image information including luma mapping with chroma scaling (LMCS) related information, prediction related information, and residual information from a bitstream;
deriving LMCS codewords based on the LMCS related information;
determining an inter prediction mode as a prediction mode of a current block in a current picture based on the prediction related information;
generating prediction chroma samples for the current block based on the prediction mode;
deriving transform coefficients for the current block based on the residual information;
generating residual chroma samples for the current block based on the transform coefficients;
deriving a chroma residual scaling factor for luma dependent chroma residual scaling based on the LMCS codewords and luma samples; and
generating reconstructed chroma samples for the current block based on the chroma residual scaling factor,
wherein the LMCS related information includes information on bins and information on the LMCS codewords,
wherein a minimum bin index and a maximum bin index are derived based on the information on the bins,
wherein the LMCS codewords are derived based on the information on the LMCS codewords,
wherein the image information includes information on an absolute value of a chroma residual scaling delta value and information on a sign of the chroma residual scaling delta value, and
wherein the chroma residual scaling factor is derived based on the LMCS codewords, the information on the absolute value of the chroma residual scaling delta value and the information on the sign of the chroma residual scaling delta value.
|