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 an inter-hybrid mode is applied to a current block, wherein the current block includes more than one sub-block and is predicted by a merge mode based on the inter-hybrid mode applied to the current block;
decoding sub-block information indicating shapes of a first sub-block and a second sub-block, when the inter-hybrid mode is applied to the current block;
determining a first prediction sample corresponding to the first sub-block by the merge mode;
determining a second prediction sample corresponding to the second sub-block by the merge mode; and
generating a final prediction sample for the current block based on a combination of the first prediction sample and the second prediction sample,
wherein a merge candidate list in the merge mode is determined based on spatial neighboring blocks and a temporal collocated block of the current block, and motion information of the current block is selected from the merge candidate list.
2. The method of claim 1 , wherein the first prediction sample is determined by first motion information from the merge candidate list, and
the second prediction sample is determined by the second motion information from the merge candidate list.
3. The method of claim 1 , wherein first motion information for generating the first prediction sample is determined from the merge candidate list, and
second motion information for generating the second prediction sample is determined based on the first motion information.
4. The method of claim 1 , wherein the sub-block information comprises at least one of a divisional angle and a divisional location for dividing the first sub-block from the second sub-block.
5. An image encoding method comprising:
determining whether an inter-hybrid mode is applied to a current block, wherein, the current block includes more than one sub-block and is predicted by a merge mode based on the inter-hybrid mode applied to the current block;
encoding sub-block information indicating shapes of a first sub-block and a second sub-block, when the inter-hybrid mode is applied to the current block;
determining a first prediction sample corresponding to the first sub-block by the merge mode;
determining a second prediction sample corresponding to the second sub-block by the merge mode; and
generating a final prediction sample for the current block based on a combination of the first prediction sample and the second prediction sample,
wherein a merge candidate list for the merge mode is determined based on a neighboring block of the current block, and motion information of the current block is selected from the merge candidate list.
6. The method of claim 5 , wherein the first prediction sample is determined by first motion information from the merge candidate list, and
the second prediction sample is determined by the second motion information from the merge candidate list.
7. The method of claim 5 , wherein first motion information for generating the first prediction sample is determined from the merge candidate list, and
second motion information for generating the second prediction sample is determined based on the first motion information.
8. The method of claim 5 , wherein the sub-block information comprises at least one of a divisional angle and a divisional location for dividing the first sub-block from the second sub-block.
9. A non-transitory computer readable recording medium storing a bitstream, wherein the bitstream is generated by an image encoding method, the method including:
determining whether an inter-hybrid mode is applied to a current block, wherein, the current block includes more than one sub-block and is predicted by a merge mode based on the inter-hybrid mode applied to the current block;
encoding sub-block information indicating shapes of a first sub-block and a second sub-block, when the inter-hybrid mode is applied to the current block;
determining a first prediction sample corresponding to the first sub-block by the merge mode;
determining a second prediction sample corresponding to the second sub-block by the merge mode; and
generating a final prediction sample for the current block based on a combination of the first prediction sample and the second prediction sample,
wherein a merge candidate list for the merge mode is determined based on a neighboring block of the current block, and motion information of the current block is selected from the merge candidate list.