Video encoding/decoding method and apparatus, and recording medium in which bit stream is stored
An image encoding/decoding method and apparatus are provided. An image decoding method performed by an image decoding apparatus of the present invention may comprise decoding an indicator indicating whether or not partition information of a current block is derived from partition information of a corresponding block of the current block, obtaining the partition information of the current block based on the decoded indicator, and partitioning the current block based on the obtained partition information.
1. An image decoding method performed by an image decoding apparatus, the method comprising:
determining a partitioning method of a current block as one of a first partitioning method and a second partitioning method based on slice information of a slice to which the current block belongs and information on partitioning of the current block;
obtaining a coding block by partitioning the current block using the partitioning method; and
reconstructing the obtained coding block, and
wherein, when the partitioning method of the current block is determined to the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, when the partitioning method of the current block is determined to the second partitioning method, and a size of the current block is larger than a predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a same partitioning structure, and
wherein, when the partitioning method of the current block is determined to the second partitioning method, and the size of the current block is less than or equal to the predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a different partitioning structure from each other.
2. The image decoding method of claim 1 ,
wherein the slice information is a slice type of the slice to which the current block belongs.
3. The image decoding method of claim 2 ,
wherein the determining the partitioning method of the current block comprises determining whether a slice type of the slice to which the current block belongs is I slice or not.
4. The image decoding method of claim 1 ,
wherein the information on partitioning of the current block is signaled in a sequence parameter set (SPS).
5. The image decoding method of claim 1 ,
wherein the information on partitioning of the current block is a flag information.
6. The image decoding method of claim 1 , wherein the predetermined threshold value is 64.
7. The image decoding method of claim 1 ,
wherein, when the luma block and the chroma block corresponding to the current block is partitioned by the different method, whether the chroma block is partitioned or not is derived based on at least a size of a luma block corresponding to the chroma block and information on partitioning of the luma block corresponding to the chroma block.
8. An image encoding method performed by an image encoding apparatus, the method comprising:
determining a partitioning method of a current block as one of a first partitioning method and a second partitioning method based on slice information of a slice to which the current block belongs and information on partitioning of the current block;
obtaining a coding block by partitioning the current block using the partitioning method; and
encoding the obtained coding block, and
wherein, when the partitioning method of the current block is determined to the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, when the partitioning method of the current block is determined to the second partitioning method, and a size of the current block is larger than a predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a same partitioning structure, and
wherein, when the partitioning method of the current block is determined to the second partitioning method, and the size of the current block is less than or equal to the predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a different partitioning structure from each other.
9. The image encoding method of claim 8 ,
wherein the slice information is a slice type of the slice to which the current block belongs.
10. The image encoding method of claim 9 ,
wherein the determining the partitioning method of the current block comprises determining whether a slice type of the slice to which the current block belongs is I slice or not.
11. The image encoding method of claim 8 ,
wherein the information on partitioning of the current block is signaled in a sequence parameter set (SPS).
12. The image encoding method of claim 8 ,
wherein the information on partitioning of the current block is a flag information d.
13. The image encoding method of claim 8 ,
wherein the predetermined threshold value is 64.
14. A non-transitory recording medium storing a bitstream formed by a method for encoding a video signal, the method comprising:
determining a partitioning method of a current block as one of a first partitioning method and a second partitioning method based on slice information of a slice to which the current block belongs and information on partitioning of the current block;
obtaining a coding block by partitioning the current block using the partitioning method; and
encoding the obtained coding block, and
wherein, when the partitioning method of the current block is determined to the first partitioning method, a luma block and a chroma block corresponding to the current block are partitioned by a same partitioning structure,
wherein, when the partitioning method of the current block is determined to the second partitioning method, and a size of the current block is larger than a predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a same partitioning structure, and
wherein, when the partitioning method of the current block is determined to the second partitioning method, and the size of the current block is less than or equal to the predetermined threshold value, the luma block and the chroma block corresponding to the current block are partitioned by a different partitioning structure from each other.