Method and apparatus for encoding/decoding an image signal
View Patent ↗Disclosed are an image encoding/decoding method and apparatus. The image decoding method includes decoding coding mode information of a current coding block, dividing the current coding block into at least one prediction block, and generating prediction samples of the at least one prediction block on the basis of the decoded coding mode, in which the coding mode information is information indicating any one mode among intra mode, inter mode, and hybrid mode.
1. An image decoding method comprising:
determining whether a hybrid mode is applied to a current block as a prediction mode of the current block; and
generating, in response to the hybrid mode being applied to the current block, a first prediction sample of a first sub-block and a second prediction sample of a second sub-block,
wherein the current block is divided into two sub-blocks including the first sub-block and the second sub-block based on a division line, the division line connecting a right boundary of the current block and bottom boundary of the current block,
wherein the second sub-block is smaller than the first sub-block,
wherein whether the hybrid mode is applied to the current block is determined in a unit of the current block,
wherein first prediction information used to generate the first prediction sample includes index information specifying one candidate of a merge candidate list,
wherein the index information is obtained from a bitstream,
wherein second prediction information used to generate the second prediction sample is derived based on the first prediction information, and
wherein the merge candidate list is determined based on spatial neighboring blocks and a temporal collocated block of the current coding block.
2. An image encoding method comprising:
determining whether a hybrid mode is applied to a current block as a prediction mode of the current block; and
generating, in response to the hybrid mode being applied to the current block, a first prediction sample of a first sub-block and a second prediction sample of a second sub-block,
wherein the current block is divided into two sub-blocks including the first sub-block and the second sub-block based on a division line, the division line connecting a right boundary of the current block and bottom boundary of the current block,
wherein the second sub-block is smaller than the first sub-block,
wherein whether the hybrid mode is applied to the current block is determined in a unit of the current block,
wherein first prediction information used to generate the first prediction sample includes index information specifying one candidate of a merge candidate list,
wherein the index information is encoded into a bitstream,
wherein second prediction information used to generate the second prediction sample is derived based on the first prediction information, and
wherein the merge candidate list is determined based on spatial neighboring blocks and a temporal collocated block of the current coding block.
3. A non-transitory computer-readable recording medium storing a bitstream generated by an image encoding method, the method including:
determining whether a hybrid mode is applied to a current block as a prediction mode of the current block; and
generating, in response to the hybrid mode being applied to the current block, a first prediction sample of a first sub-block and a second prediction sample of a second sub-block,
wherein the current block is divided into two sub-blocks including the first sub-block and the second sub-block based on a division line, the division line connecting a right boundary of the current block and bottom boundary of the current block,
wherein the second sub-block is smaller than the first sub-block,
wherein whether the hybrid mode is applied to the current block is determined in a unit of the current block,
wherein first prediction information used to generate the first prediction sample includes index information specifying one candidate of a merge candidate list,
wherein the index information is encoded into the bitstream,
wherein second prediction information used to generate the second prediction sample is derived based on the first prediction information, and
wherein the merge candidate list is determined based on spatial neighboring blocks and a temporal collocated block of the current coding block.