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;
deriving a prediction sample of the coding block;
deriving a residual sample of the coding block; and
reconstructing the coding block based on the prediction sample and the residual sample, 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. 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;
deriving a prediction sample of the coding block;
deriving a residual sample of the coding block; and
reconstructing the coding block based on the prediction sample and the residual sample, 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.
3. A recoding 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
deriving a prediction sample of the coding block;
deriving a residual sample of the coding block; and
reconstructing the coding block based on the prediction sample and the residual sample, 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.