Patent ID: 11876966
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. An image decoding method performed by a decoding apparatus, comprising:
receiving a bitstream comprising residual information;
deriving transform coefficients for a target block based on the residual information;
deriving modified transform coefficients based on an inverse non-separable transform of the transform coefficients;
deriving residual samples for the target block based on an inverse primary transform of the modified transform coefficients; and
generating a reconstructed picture based on the residual samples for the target block,
wherein the inverse non-separable transform is performed based on a transform index indicating a predetermined transform kernel matrix,
wherein the inverse primary transform is performed based on a multiple transform selection (MTS) index indicating an MTS of a horizontal transform kernel and a vertical transform kernel, and
wherein a syntax element for the transform index is context-decoded based on a context increment,
wherein based on a tree type of a partition structure of the target block being not a single tree type, a first bin among a bin string of the syntax element for the transform index is derived based on a first context increment, and
wherein based on the tree type being the single tree type, the first bin is derived based on a second context increment.