Patent attributes
An image decoding method according to the present document comprises a step of generating residual samples of a current block on the basis of residual information, wherein the residual information comprises a multiple transform selection (MTS) index and information regarding transform coefficients, the residual samples are generated from transform coefficients according to the information regarding the transform coefficients by using a transform kernel set, the transform kernel set is determined by the MTS index from among transform kernel set candidates, at least one of bins of a bin string of the MTS index is derived on the basis of context coding, the context coding is performed based on a value of a context index with respect to the MTS index.