Patent attributes
The embodiments of the present disclosure provides a method and apparatus for video signal processing. A method for decoding an image signal according to an embodiment of the present disclosure may include determining an input length and an output length of a non-separable transform based on a height and a width of a current block; determining a non-separable transform matrix corresponding to the input length and the output length of a non-separable transform; and applying the non-separable transform matrix to coefficients by a number of the input length in the current block, wherein the height and the width of a current block is greater than or equal to 8, wherein, if each of the height and the width of a current block is equal to 8, the input length of the non-separable transform is determined as 8.