Image decoding method and device therefor
An image decoding method performed by a decoding device, according to the present document, comprises the steps of: obtaining image information through a bitstream; and generating a reconstructed picture on the basis of the image information.
1. An image decoding method performed by a decoding apparatus, the method comprising:
obtaining image information through a bitstream; and
generating a reconstructed picture based on the image information,
wherein obtaining the image information comprises:
obtaining a flag for whether one chroma quantization parameter (QP) mapping table is signaled and applied for chroma components, wherein the chroma components include a Cb component, a Cr component, and a joint CbCr component; and
obtaining chroma quantization parameter data of at least one chroma QP mapping table for the chroma components based on the flag,
wherein the chroma quantization parameter data includes a syntax element for the number of points in the chroma QP mapping table, a syntax element for a delta value used to derive an input coordinate of a target point of the chroma QP mapping table, and a syntax element for a delta value used to derive an output coordinate of the target point of the chroma QP mapping table,
wherein, based on a value of the flag being equal to 1, the one chroma QP mapping table is signaled and applied for the Cb component, the Cr component, and the joint CbCr component, and wherein chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on the one chroma QP mapping table, and
wherein, based on the value of the flag being equal to 0, a plurality of chroma QP mapping tables including each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component are signaled, and wherein the chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component.
2. An image encoding method performed by an encoding apparatus, the method comprising:
encoding image information; and
generating a bitstream including the image information,
wherein encoding the image information comprises:
generating a flag for whether one chroma quantization parameter (QP) mapping table is signaled and applied for chroma components, wherein the chroma components include a Cb component, a Cr component, and a joint CbCr component; and
generating chroma quantization parameter data of at least one chroma QP mapping table for the chroma components based on the flag,
wherein the chroma quantization parameter data includes a syntax element for the number of points in the chroma QP mapping table, a syntax element for a delta value used to derive an input coordinate of a target point of the chroma QP mapping table, and a syntax element for a delta value used to derive an output coordinate of the target point of the chroma QP mapping table,
wherein, based on a value of the flag being equal to 1, the one chroma QP mapping table is signaled and applied for the Cb component, the Cr component, and the joint CbCr component, and wherein chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on the one chroma QP mapping table, and
wherein, based on the value of the flag being equal to 0, a plurality of chroma QP mapping tables including each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component are signaled, and wherein the chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on each chroma QP mapping table for each of the Cb component, the Cr component and the joint CbCr component.
3. A non-transitory computer-readable storage medium storing a bitstream generated by a method, the method comprising:
encoding image information; and
generating the bitstream including the image information,
wherein encoding the image information comprises:
generating a flag for whether one chroma quantization parameter (QP) mapping table is signaled and applied for chroma components, wherein the chroma components include a Cb component, a Cr component, and a joint CbCr component; and
generating chroma quantization parameter data of at least one chroma QP mapping table for the chroma components based on the flag,
wherein the chroma quantization parameter data includes a syntax element for the number of points in the chroma QP mapping table, a syntax element for a delta value used to derive an input coordinate of a target point of the chroma QP mapping table, and a syntax element for a delta value used to derive an output coordinate of the target point of the chroma QP mapping table,
wherein, based on a value of the flag being equal to 1, the one chroma QP mapping table is signaled and applied for the Cb component, the Cr component, and the joint CbCr component, and wherein chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on the one chroma QP mapping table,
wherein, based on the value of the flag being equal to 0, a plurality of chroma QP mapping tables including each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component are signaled, and wherein the chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component.
4. A transmission method of data for image, the method comprising:
obtaining a bitstream of image information, wherein the bitstream is generated based on generating a flag for whether one chroma quantization parameter (QP) mapping table is signaled and applied for chroma components, wherein the chroma components include a Cb component, a Cr component, and a joint CbCr component; generating chroma quantization parameter data of at least one chroma QP mapping table for the chroma components based on the flag; and encoding image information including the flag and the chroma quantization parameter data; and
transmitting the data including the bitstream of the image information,
wherein the chroma quantization parameter data includes a syntax element for the number of points in the chroma QP mapping table, a syntax element for a delta value used to derive an input coordinate of a target point of the chroma QP mapping table, and a syntax element for a delta value used to derive an output coordinate of the target point of the chroma QP mapping table,
wherein, based on a value of the flag being equal to 1, the one chroma QP mapping table is signaled and applied for the Cb component, the Cr component, and the joint CbCr component, and wherein chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on the one chroma QP mapping table, and
wherein, based on the value of the flag being equal to 0, a plurality of chroma QP mapping tables including each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component are signaled, and wherein the chroma quantization parameters for the Cb component, the Cr component, and the joint CbCr component are derived based on each chroma QP mapping table for each of the Cb component, the Cr component, and the joint CbCr component.