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. A decoding apparatus for image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain image information including luma mapping with chroma scaling (LMCS) related information, prediction related information, and residual information from a bitstream;
derive LMCS codewords based on the LMCS related information;
generate prediction chroma samples based on the prediction related information;
generate residual chroma samples based on the residual information;
derive a chroma residual scaling factor for luma dependent chroma residual scaling based on the LMCS codewords and luma samples; and
generate reconstructed chroma samples 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.
|