Image decoding method and apparatus therefor
An image decoding method performed by a decoding apparatus according to the present document is characterized by comprising the steps of: acquiring image information; 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; and
generating a reconstructed picture based on the image information, wherein the obtaining the image information comprises:
obtaining a sign data hiding enabled flag for whether sign data hiding is enabled for a current slice;
obtaining a Transform Skip Residual Coding (TSRC) disabled flag for whether TSRC is enabled for a transform skip block in the current slice,
wherein the TSRC disabled flag is obtained based on the sign data hiding enabled flag.
2 . An image encoding method performed by an encoding apparatus, the method comprising:
encoding image information for a current slice,
wherein the encoding image information comprises:
encoding a sign data hiding enabled flag for whether sign data hiding is enabled for the current slice; and
encoding a Transform Skip Residual Coding (TSRC) disabled flag indicating whether TSRC is enabled for a transform skip block in the current slice based on the sign data hiding enabled flag.
3 . A method for a bitstream for image information, the method comprising:
generating the bitstream for the image information for a current slice, wherein the bitstream is generated based on encoding a sign data hiding enabled flag for whether sign data hiding is enabled for the current slice and encoding a Transform Skip Residual Coding (TSRC) disabled flag indicating whether TSRC is enabled for a transform skip block in the current slice based on the sign data hiding enabled flag; and
transmitting data comprising the bitstream.