CPC H04N 19/132 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11)] | 3 Claims |
1. An image decoding method performed by a decoding apparatus, the method comprising:
obtaining, from a bitstream, residual information and a low-frequency non-separable transform (LFNST) index;
deriving transform coefficients for a current block based on the residual information;
deriving residual samples for the current block by applying an inverse primary transform to the transform coefficients using transform kernels for vertical and horizontal; and
generating a reconstructed picture based on the residual samples,
wherein based on the current block being divided into sub-partition blocks as an intra sub-partitions (ISP) is applied and the LFNST index being equal to 0, the transform kernel for vertical is determined by checking a vertical length of a sub-partition block divided from the current block, and the transform kernel for horizontal is determined by checking a horizontal length of the sub-partition block, and
wherein based on the current block being divided into the sub-partition blocks as the ISP is applied and the LFNST index being greater than 0, the transform kernels for vertical and horizontal are respectively determined as DCT-2.
|