IMAGE ENCODING METHOD/DEVICE, IMAGE DECODING METHOD/DEVICE, AND RECORDING MEDIUM IN WHICH BITSTREAM IS STORED
The present invention provides an image encoding method and an image decoding method. The image decoding method of the present invention may comprise: obtaining intra-frame prediction information of a current block from a bitstream; inducing an intra-frame prediction mode of the current block on the basis of the intra-frame prediction information; determining a reference region for intra-frame prediction of the current block; and performing intra-frame prediction of the current block on the basis of the intra-frame prediction mode and the reference region.
1 . A method of decoding an image, comprising:
deriving an intra prediction mode of a current coding block; and
performing intra prediction on the current coding block based on the intra prediction mode of the current coding block,
wherein the current coding block is split into a plurality of sub-blocks based on information signaled from a bitstream,
wherein the intra prediction is sequentially performed on each of the plurality of sub-blocks in a predetermined coding order, and
wherein a number of the plurality of sub-blocks is variably determined based on a width and a height of the current coding block.
2 . The method of claim 1 , wherein, in response to a case where one of the width or the height of the current coding block is equal to 4 and the other one of the width or the height of the current coding block is equal to 8, the number of the plurality of sub-blocks is determined as N,
wherein, in response to a case where both the width and the height of the current coding block are greater than or equal to 8, the number of the plurality of the sub-blocks is determined as M, and
wherein N is an integer less than M.
3 . The method of claim 1 , wherein deriving the intra prediction mode comprises:
generating a most probable mode (MPM) list of the current coding block based on intra prediction modes of neighboring blocks of the current coding block; and
determining the intra prediction mode of the current coding block from the MPM list,
wherein the neighboring blocks include a left neighboring block and a top neighboring block, and
wherein a position of the left neighboring block is determined based on the height of the current coding block and a position of the top neighboring block is determined based on the width of the current coding block.
4 . The method of claim 3 , wherein the MPM list includes 5 MPMs.
5 . The method of claim 3 , wherein when there are a plurality of left blocks adjacent to the current coding block, a bottom-most block among the plurality of left blocks is determined as the left neighboring block, and
wherein when there is a plurality of top blocks adjacent to the current coding block, a right-most block among the plurality of top blocks is determined as the top neighboring block.
6 . A method of encoding an image, comprising:
deriving an intra prediction mode of a current coding block; and
performing intra prediction on the current coding block based on the intra prediction mode of the current coding block,
wherein the current coding block is split into sub-blocks,
wherein the intra prediction is sequentially performed on each of the sub-blocks in a predetermined coding order,
wherein a number of the sub-blocks is variably determined based on a width and a height of the current coding block, and
wherein information for indicating that the current coding block is split into the sub-blocks is encoded into a bitstream.
7 . A non-transitory computer-readable medium for storing a bitstream generated by an image encoding method, the image encoding method comprising:
deriving an intra prediction mode of a current coding block; and
performing intra prediction on the current coding block based on the intra prediction mode of the current coding block,
wherein the current coding block is split into sub-blocks,
wherein the intra prediction is sequentially performed on each of the sub-blocks in a predetermined coding order,
wherein a number of the sub-blocks is variably determined based on a width and a height of the current coding block, and
wherein information for indicating that the current coding block is split into the sub-blocks is encoded into the bitstream.