Patent ID: 11863798
Assignee: KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. An image decoding method, comprising:
decoding transform kernel information for a current block and at least one coefficient of the current block from a bitstream;
determining a transform kernel of the current block based on the transform kernel information; and
performing a transform on the at least one coefficient of the current block based on the determined transform kernel to generate residual samples,
wherein prediction for the current block using a prediction mode for the current block is performed,
wherein the transform comprises a primary transform and a secondary transform,
wherein the residual samples are generated by performing the primary transform using the transform kernel on a result of the secondary transform on the at least one coefficient,
wherein the transform kernel information is an index indicating one of predefined transform kernel sets as the transform kernel of the current block,
wherein each of the predefined transform kernel sets comprises a predefined horizontal transform kernel and a predefined vertical transform kernel,
wherein the transform kernel of the current block comprises a horizontal transform kernel and a vertical transform kernel, and
wherein the horizontal transform kernel and the vertical transform kernel of the transform kernel of the current block are determined based on a partition form specifying how many sub-blocks the current block is partitioned into, a size of the current block, whether inter prediction is used for the prediction for the current block or not and whether intra prediction is used for the prediction for the current block or not.