A method for decoding an image according to the present invention comprises the steps of: deriving an intra prediction mode of a current block; and changing the intra prediction mode to a wide angle intra prediction mode when the intra prediction mode is less than or equal to a threshold value and the current block is a non-square having a width greater than a height.