What is claimed is:1. A video decoding method, comprising:obtaining a flag from a bitstream, the flag indicating whether an intra prediction mode of a current block is derived from a first candidate group;determining a candidate group for the intra prediction mode of the current block among a plurality of candidate groups based on the flag;deriving the intra prediction mode of the current block based on the determined candidate group; andperforming intra prediction for the current block based on the derived intra prediction mode and a reference region,wherein the plurality of the candidate groups includes the first candidate group, a second candidate group and a third candidate group,wherein the first candidate group is configured with only one default mode,wherein the second candidate group is configured by using an intra prediction mode of a neighboring block adjacent to the current block,wherein the third candidate group is configured with remaining modes except for candidate modes of the first candidate group and the second candidate group among intra prediction modes available for the current block,wherein the default mode is representative of one of a DC mode or a Planar mode,wherein the default mode belonging to the first candidate group is not included in the second candidate group,wherein in response to a mode value of the derived intra prediction mode being less than a mode value of the DC mode, one reference line of the reference region is available for the intra prediction of the current block, andwherein in response to a mode value of the derived intra prediction mode being greater than a mode value of the DC mode, three reference lines of the reference region are available for the intra prediction of the current block.2. The method of claim 1, wherein at least one candidate mode belonging to the second candidate group is derived by adding or subtracting a value of N to or from the intra prediction mode of the neighboring block, andwherein the value of N is a natural number greater than or equal to 2.3. The method of claim 2, wherein a number of candidate modes belonging to the second candidate group is 5.4. A video encoding method, comprising:determining an intra prediction mode of a current block; andperforming intra prediction for the current block based on the intra prediction mode of the current block and a reference region,wherein the intra prediction mode of the current block belongs to a candidate group among a plurality of candidate groups,wherein the plurality of the candidate groups includes a first candidate group, a second candidate group and a third candidate group,wherein a flag indicating whether the intra prediction mode of the current block is derived from the first candidate group is encoded into a bitstream,wherein the first candidate group is configured with only one default mode,wherein the second candidate group is configured by using an intra prediction mode of a neighboring block adjacent to the current block,wherein the third candidate group is configured with remaining modes except for candidate modes of the first candidate group and the second candidate group among intra prediction modes available for the current block,wherein the default mode is representative of one of a DC mode or a Planar mode,wherein the default mode belonging to the first candidate group is not included in the second candidate group,wherein in response to a mode value of the intra prediction m(de being less than a mode value of the DC mode, one reference line of the reference region is available for the intra prediction of the current block, andwherein in response to mode value of the inta prediction mode being greater than a mode value of the DC mode, three reference lines of the reference region are available for the intra prediction of the current block.5. The method of claim 4, wherein at least one candidate mode belonging to the second candidate group is derived by adding or subtracting a value of N to or from the intra prediction mode of the neighboring block, andwherein the value of N is a natural number greater than or equal to 2.6. The method of claim 5, wherein a number of candidate modes belonging to the second candidate group is 5.7. A non-transitory computer-readable recording medium storing bitstream generated by an encoding method, the method comprising:determining an intra prediction mode of a current block; andperforming intra prediction for the current block based on the intra prediction mode of the current block and a reference region,wherein the intra prediction mode of the current block belongs to a candidate group among a plurality of candidate groups,wherein the plurality of the candidate groups includes a first candidate group, a second candidate group and a third candidate group,wherein a flag indicating whether the intra prediction mode of the current block is derived from the first candidate group is encoded into the bitstream,wherein the first candidate group is configured with only one default mode,wherein the second candidate group is configured by using an intra prediction mode of a neighboring block adjacent to the current block,wherein the third candidate group is configure with remaining modes except for candidate modes of the first candidate group and the second candidate group among intra prediction modes available for the current block,wherein the default mode is representative of one of a DC mode or a Planar mode,wherein the default mode belonging to the first candidate group is not included in the second candidate group,wherein in response to a mode value of the intra prediction mode being less than a mode value of the DC mode, one reference line of the reference region is available for the intra prediction of the current block, andwherein in response to a mode value of the intra prediction mode being greater than a mode value of the DC mode, three reference lines of the reference region are available for the intra prediction of the current block.8. The non-transitory computer-readable recording medium of claim 7, wherein at least one candidate mode belonging to the second candidate group is derived by adding or subtracting a value of N to or from the intra prediction mode of the neighboring block, andwherein the value of N is a natural number greater than or equal to 2.9. The non-transitory computer-readable recording medium of claim 8, wherein a number of candidate modes belonging to the second candidate group is 5.10. The method of claim 1, wherein the third candidate group includes first remaining modes to which an index in a range of 0 to 2 is assigned and second remaining modes to which an index in a range other than 0 to 2 is assigned,wherein a number of bits allocated to remaining mode information for the first remaining modes is 5, andwherein a cumber of bits allocated to remaining mode information for the second remaining modes is 6.