In a video signal encoding method and device according to the present disclosure, the number of candidate modes belonging to the second candidate group may be m and m may be a natural number such as 1, 2, 3, 4, 5, 6, or more.
In a video signal encoding method and device according to the present disclosure, the second candidate group may not include a default mode included in the first candidate group.
A computer-readable recording medium according to the present disclosure may include a data stream including encoding information encoded by intra prediction of a current block, but the encoding information may include a flag indicating a candidate group used to derive an intra prediction mode of the current block and a candidate group on an intra prediction mode of the current block may be determined as any one of a first candidate group or a second candidate group according to the flag.
In a computer-readable recording medium according to the present disclosure, the first candidate group may be configured with a default mode and the second candidate group may be configured by using an intra prediction mode of a neighboring block adjacent to the current block.
In a computer-readable recording medium according to the present disclosure, the default mode may include at least one of a DC mode or a Planar mode.
In a computer-readable recording medium according to the present disclosure, at least one candidate mode belonging to the second candidate group may be derived by adding or subtracting a value of n to or from an intra prediction mode of the neighboring block and n may be a natural number greater than or equal to 2.