| CPC H04N 23/698 (2023.01) [G06T 3/40 (2013.01); H04N 13/161 (2018.05); H04N 19/103 (2014.11); H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/119 (2014.11); H04N 19/124 (2014.11); H04N 19/129 (2014.11); H04N 19/13 (2014.11); H04N 19/134 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/597 (2014.11); H04N 19/625 (2014.11); H04N 19/70 (2014.11)] | 8 Claims |

|
1. A method of decoding a current image with a decoding apparatus, comprising:
obtaining coding information for the current image from a bitstream;
dividing a coding block in the current image to obtain one or more sub-blocks based on the coding information,
wherein the coding information includes at least one of a first flag indicating whether to divide the coding block to obtain one or more sub-blocks or a second flag indicating whether to divide the coding block asymmetrically, and
wherein, in case the coding block is divided asymmetrically, a first sub-block having a ¼ size of the coding block is obtained, the first sub-block belonging to the one or more sub-blocks;
obtaining inverse-quantized coefficients of the first sub-block by performing inverse-quantization on the first sub-block;
reconstructing a residual signal of the first sub-block by performing inverse-transform on the inverse-quantized coefficients; and
reconstructing the coding block based on the residual signal, and
wherein obtaining the inverse-quantized coefficients of the first sub-block comprises:
selecting one of a plurality of weight set candidates pre-defined in the decoding apparatus; and
performing the inverse-quantization on the first sub-block based on the selected weight set candidate.
|