[go: up one dir, main page]

WO2019066175A1 - 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치 - Google Patents

영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치 Download PDF

Info

Publication number
WO2019066175A1
WO2019066175A1 PCT/KR2018/003919 KR2018003919W WO2019066175A1 WO 2019066175 A1 WO2019066175 A1 WO 2019066175A1 KR 2018003919 W KR2018003919 W KR 2018003919W WO 2019066175 A1 WO2019066175 A1 WO 2019066175A1
Authority
WO
WIPO (PCT)
Prior art keywords
mpt
sub
block
information
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/KR2018/003919
Other languages
English (en)
French (fr)
Inventor
남정학
김승환
장형문
임재현
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics Inc
Original Assignee
LG Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to CA3061701A priority Critical patent/CA3061701A1/en
Priority to BR122021003525-3A priority patent/BR122021003525B1/pt
Priority to KR1020217028999A priority patent/KR102419436B1/ko
Priority to BR112019022971-0A priority patent/BR112019022971B1/pt
Priority to KR1020237038262A priority patent/KR102857614B1/ko
Priority to AU2018341190A priority patent/AU2018341190B2/en
Priority to CN202310492888.4A priority patent/CN116489353B/zh
Priority to RU2019134938A priority patent/RU2744906C1/ru
Priority to CN202310492895.4A priority patent/CN116489354B/zh
Priority to KR1020257029598A priority patent/KR20250134726A/ko
Priority to US16/605,447 priority patent/US10979738B2/en
Priority to JP2019560273A priority patent/JP7303751B2/ja
Priority to CN201880029236.4A priority patent/CN110603810B/zh
Priority to CN202310497841.7A priority patent/CN116489356A/zh
Priority to EP18861897.9A priority patent/EP3598750A4/en
Application filed by LG Electronics Inc filed Critical LG Electronics Inc
Priority to KR1020227023146A priority patent/KR102601105B1/ko
Priority to BR122021003526-1A priority patent/BR122021003526B1/pt
Priority to MX2019012358A priority patent/MX2019012358A/es
Priority to CN202310493962.4A priority patent/CN116489355A/zh
Priority to KR1020197031010A priority patent/KR102302495B1/ko
Publication of WO2019066175A1 publication Critical patent/WO2019066175A1/ko
Anticipated expiration legal-status Critical
Priority to US17/183,009 priority patent/US11356703B2/en
Priority to AU2021203017A priority patent/AU2021203017B2/en
Priority to US17/740,284 priority patent/US12088845B2/en
Priority to AU2022209312A priority patent/AU2022209312B2/en
Priority to AU2023204576A priority patent/AU2023204576B2/en
Priority to US18/789,948 priority patent/US20240388735A1/en
Priority to AU2024266741A priority patent/AU2024266741A1/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/64Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
    • H04N19/647Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission using significance based coding, e.g. Embedded Zerotrees of Wavelets [EZW] or Set Partitioning in Hierarchical Trees [SPIHT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/64Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • the present invention relates to an image coding technique, and more particularly, to a method and an apparatus for decoding an image according to a block division structure in an image coding system.
  • HD high definition
  • UHD ultra high definition
  • the present invention provides a method and apparatus for enhancing video coding efficiency.
  • Another aspect of the present invention is to provide an image decoding method and apparatus for dividing a picture through a multiple partitioning tree (MPT) structure.
  • MPT partitioning tree
  • Another aspect of the present invention is to provide a method and apparatus for dividing a picture into non-square blocks through a multiple partitioning tree (MPT) structure and decoding the blocks based on the non-square blocks.
  • MPT partitioning tree
  • an image decoding method performed by a decoding apparatus includes acquiring first split information for a first object block, and when the first partition information indicates that the first object block is partitioned, dividing the first object block into the first sub- , Acquiring multiple partitioning tree (MPT) partitioning information for a second object block that is one of the first sub-blocks of the first object block, Dividing a block into second subblocks, and decoding the second subblocks, wherein the second subblocks are non-square blocks.
  • MPT multiple partitioning tree
  • a decoding apparatus for performing image decoding.
  • the decoding apparatus acquires first split information for a first object block through a bitstream and acquires MPT division information for a second object block that is one of first subblocks of the first object block Blocks, the first target block is divided into the first sub-blocks, and the MPT division information is divided into the first sub-blocks if the first partition information for the first target block indicates that the first target block is divided And a predictor for decoding the second subblocks, wherein the second subblocks are non-square blocks.
  • the second subblocks are divided into first subblocks, second subblocks, and second subblocks.
  • a video encoding method performed by an encoding apparatus.
  • the method includes dividing a first object block into first subblocks, dividing a second object block that is one of the first subblocks into second subblocks, decoding the second subblocks And generating and encoding the first division information for the first target block and the MPT division information for the second target block, and outputting the encoded information, wherein the second subblocks are non-square blocks .
  • a video encoding apparatus includes a picture dividing unit that divides a first object block into first subblocks and a second object block that is one of the first subblocks into second subblocks, And an entropy encoding unit for generating, encoding, and outputting first decomposition information for the first target block and MPT decomposition information for the second target block, and the second sub-blocks are non- Blocks.
  • a picture can be divided into various types of blocks through a multiple partitioning tree (MPT) structure, thereby improving prediction efficiency and improving overall coding efficiency.
  • MPT partitioning tree
  • a picture can be divided into various types of blocks through a multiple partitioning tree (MPT) structure, thereby improving the transform efficiency and improving the overall coding efficiency.
  • MPT partitioning tree
  • FIG. 1 is a view for schematically explaining a configuration of a video encoding apparatus to which the present invention can be applied.
  • FIG. 2 is a schematic view illustrating a configuration of a video decoding apparatus to which the present invention can be applied.
  • FIG. 3 exemplarily shows a CU divided by a QTBT (Quad Tree Binary Tree) structure and a syntax of the QTBT structure.
  • QTBT Quad Tree Binary Tree
  • FIG. 4 shows an example in which the syntax of the QTBT structure for a target CU is transmitted.
  • FIG. 5 exemplarily shows a target CU divided through the QTMPT structure.
  • FIG. 6 shows an example in which the syntaxes of the QTMPT structure for the target CU are transmitted.
  • FIG. 7 shows an example in which the syntaxes of the QTMPT structure for a target CU are transmitted.
  • FIG. 8 schematically shows a video encoding method by an encoding apparatus according to the present invention.
  • FIG. 9 schematically shows a video decoding method by a decoding apparatus according to the present invention.
  • a picture generally refers to a unit that represents one image in a specific time zone
  • a slice is a unit that constitutes a part of a picture in coding.
  • One picture may be composed of a plurality of slices, and pictures and slices may be used in combination if necessary.
  • a pixel or a pel may mean a minimum unit of a picture (or image). Also, a 'sample' may be used as a term corresponding to a pixel.
  • a sample may generally represent a pixel or pixel value and may only represent a pixel / pixel value of a luma component or only a pixel / pixel value of a chroma component.
  • a unit represents a basic unit of image processing.
  • a unit may include at least one of a specific area of a picture and information related to the area.
  • the unit may be used in combination with terms such as a block or an area in some cases.
  • an MxN block may represent a set of samples or transform coefficients consisting of M columns and N rows.
  • FIG. 1 is a view for schematically explaining a configuration of a video encoding apparatus to which the present invention can be applied.
  • the video encoding apparatus 100 includes a picture dividing unit 105, a predicting unit 110, a residual processing unit 120, an entropy encoding unit 130, an adding unit 140, a filter unit 150 And a memory 160.
  • the residual processing unit 120 may include a subtracting unit 121, a transforming unit 122, a quantizing unit 123, a reordering unit 124, an inverse quantizing unit 125 and an inverse transforming unit 126.
  • the picture dividing unit 105 may divide the inputted picture into at least one processing unit.
  • the processing unit may be referred to as a coding unit (CU).
  • the coding unit may be recursively partitioned according to a quad-tree binary-tree (QTBT) structure from the largest coding unit (LCU).
  • QTBT quad-tree binary-tree
  • LCU largest coding unit
  • one coding unit may be divided into a plurality of coding units of deeper depth based on a quadtree structure and / or a binary tree structure.
  • the quadtree structure is applied first and the binary tree structure can be applied later.
  • a binary tree structure may be applied first.
  • the coding procedure according to the present invention can be performed based on the final coding unit which is not further divided.
  • the maximum coding unit may be directly used as the final coding unit based on the coding efficiency or the like depending on the image characteristics, or the coding unit may be recursively divided into lower-depth coding units Lt; / RTI > may be used as the final coding unit.
  • the coding procedure may include a procedure such as prediction, conversion, and restoration, which will be described later.
  • the processing unit may include a coding unit (CU) prediction unit (PU) or a transform unit (TU).
  • the coding unit may be split from the largest coding unit (LCU) into coding units of deeper depth along the quad tree structure.
  • LCU largest coding unit
  • the maximum coding unit may be directly used as the final coding unit based on the coding efficiency or the like depending on the image characteristics, or the coding unit may be recursively divided into lower-depth coding units Lt; / RTI > may be used as the final coding unit.
  • SCU smallest coding unit
  • the coding unit can not be divided into smaller coding units than the minimum coding unit.
  • the term " final coding unit " means a coding unit on which the prediction unit or the conversion unit is partitioned or divided.
  • a prediction unit is a unit that is partitioned from a coding unit, and may be a unit of sample prediction. At this time, the prediction unit may be divided into sub-blocks.
  • the conversion unit may be divided along the quad-tree structure from the coding unit, and may be a unit for deriving a conversion coefficient and / or a unit for deriving a residual signal from the conversion factor.
  • the coding unit may be referred to as a coding block (CB)
  • the prediction unit may be referred to as a prediction block (PB)
  • the conversion unit may be referred to as a transform block (TB).
  • the prediction block or prediction unit may refer to a specific area in the form of a block in a picture and may include an array of prediction samples.
  • a transform block or transform unit may refer to a specific region in the form of a block within a picture, and may include an array of transform coefficients or residual samples.
  • the prediction unit 110 may perform a prediction on a current block to be processed (hereinafter, referred to as a current block), and may generate a predicted block including prediction samples for the current block.
  • the unit of prediction performed in the prediction unit 110 may be a coding block, a transform block, or a prediction block.
  • the prediction unit 110 may determine whether intra prediction or inter prediction is applied to the current block. For example, the prediction unit 110 may determine whether intra prediction or inter prediction is applied in units of CU.
  • the prediction unit 110 may derive a prediction sample for a current block based on a reference sample outside the current block in a picture to which the current block belongs (hereinafter referred to as a current picture). At this time, the prediction unit 110 may derive a prediction sample based on (i) an average or interpolation of neighboring reference samples of the current block, (ii) The prediction sample may be derived based on a reference sample existing in a specific (prediction) direction with respect to the prediction sample among the samples. (i) may be referred to as a non-directional mode or a non-angle mode, and (ii) may be referred to as a directional mode or an angular mode.
  • the prediction mode may have, for example, 33 directional prediction modes and at least two non-directional modes.
  • the non-directional mode may include a DC prediction mode and a planar mode (Planar mode).
  • the prediction unit 110 may determine a prediction mode applied to a current block using a prediction mode applied to a neighboring block.
  • the prediction unit 110 may derive a prediction sample for a current block based on a sample specified by a motion vector on a reference picture.
  • the prediction unit 110 may derive a prediction sample for a current block by applying one of a skip mode, a merge mode, and a motion vector prediction (MVP) mode.
  • the prediction unit 110 can use motion information of a neighboring block as motion information of a current block.
  • difference residual between the predicted sample and the original sample is not transmitted unlike the merge mode.
  • MVP mode a motion vector of a current block can be derived by using a motion vector of a neighboring block as a motion vector predictor to use as a motion vector predictor of a current block.
  • a neighboring block may include a spatial neighboring block existing in a current picture and a temporal neighboring block existing in a reference picture.
  • the reference picture including the temporal neighboring block may be referred to as a collocated picture (colPic).
  • the motion information may include a motion vector and a reference picture index.
  • Information such as prediction mode information and motion information may be (entropy) encoded and output in the form of a bit stream.
  • the highest picture on the reference picture list may be used as a reference picture.
  • the reference pictures included in the picture order count can be sorted on the basis of the picture order count (POC) difference between the current picture and the corresponding reference picture.
  • POC picture order count
  • the POC corresponds to the display order of the pictures and can be distinguished from the coding order.
  • the subtraction unit 121 generates residual samples that are the difference between the original sample and the predicted sample. When the skip mode is applied, a residual sample may not be generated as described above.
  • the transforming unit 122 transforms the residual samples on a transform block basis to generate a transform coefficient.
  • the transforming unit 122 can perform the transform according to the size of the transform block and a prediction mode applied to the coding block or the prediction block spatially overlapping the transform block. For example, if intraprediction is applied to the coding block or the prediction block that overlaps the transform block and the transform block is a 4 ⁇ 4 residue array, the residual sample is transformed into a discrete sine transform (DST) In other cases, the residual samples can be converted using a DCT (Discrete Cosine Transform) conversion kernel.
  • DST discrete sine transform
  • the quantization unit 123 may quantize the transform coefficients to generate quantized transform coefficients.
  • the reordering unit 124 rearranges the quantized transform coefficients.
  • the reordering unit 124 may rearrange the block-shaped quantized transform coefficients into a one-dimensional vector form through a scanning method of coefficients.
  • the reordering unit 124 may be a part of the quantization unit 123, although the reordering unit 124 is described as an alternative configuration.
  • the entropy encoding unit 130 may perform entropy encoding on the quantized transform coefficients.
  • Entropy encoding may include, for example, an encoding method such as exponential Golomb, context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC)
  • CAVLC context-adaptive variable length coding
  • CABAC context-adaptive binary arithmetic coding
  • the entropy encoding unit 130 may encode the information necessary for video restoration (such as the value of a syntax element) together with the quantized transform coefficient or separately.
  • the entropy encoded information may be transmitted or stored in units of NAL (network abstraction layer) units in the form of a bit stream.
  • NAL network abstraction layer
  • the inverse quantization unit 125 inversely quantizes the quantized values (quantized transform coefficients) in the quantization unit 123 and the inverse transformation unit 126 inversely quantizes the inversely quantized values in the inverse quantization unit 125, .
  • the adder 140 combines the residual sample and the predicted sample to reconstruct the picture.
  • the residual samples and the prediction samples are added in units of blocks so that a reconstruction block can be generated.
  • the adding unit 140 may be a part of the predicting unit 110, Meanwhile, the addition unit 140 may be referred to as a restoration unit or a restoration block generation unit.
  • the filter unit 150 may apply a deblocking filter and / or a sample adaptive offset. Through deblocking filtering and / or sample adaptive offsets, artifacts in the block boundary in the reconstructed picture or distortion in the quantization process can be corrected.
  • the sample adaptive offset can be applied on a sample-by-sample basis and can be applied after the process of deblocking filtering is complete.
  • the filter unit 150 may apply an ALF (Adaptive Loop Filter) to the restored picture.
  • the ALF may be applied to the reconstructed picture after the deblocking filter and / or sample adaptive offset is applied.
  • the memory 160 may store restored pictures (decoded pictures) or information necessary for encoding / decoding.
  • the reconstructed picture may be a reconstructed picture whose filtering procedure has been completed by the filter unit 150.
  • the stored restored picture may be used as a reference picture for (inter) prediction of another picture.
  • the memory 160 may store (reference) pictures used for inter prediction. At this time, the pictures used for inter prediction can be designated by a reference picture set or a reference picture list.
  • FIG. 2 is a schematic view illustrating a configuration of a video decoding apparatus to which the present invention can be applied.
  • the video decoding apparatus 200 includes an entropy decoding unit 210, a residual processing unit 220, a predicting unit 230, an adding unit 240, a filter unit 250, and a memory 260 .
  • the residual processing unit 220 may include a rearrangement unit 221, an inverse quantization unit 222, and an inverse transformation unit 223.
  • the video decoding apparatus 200 can restore video in response to a process in which video information is processed in the video encoding apparatus.
  • the video decoding apparatus 200 can perform video decoding using a processing unit applied in the video encoding apparatus.
  • the processing unit block of video decoding may be, for example, a coding unit and, in another example, a coding unit, a prediction unit or a conversion unit.
  • the coding unit may be partitioned along the quad tree structure and / or the binary tree structure from the maximum coding unit.
  • a prediction unit and a conversion unit may be further used as the case may be, in which case the prediction block is a block derived or partitioned from the coding unit and may be a unit of sample prediction. At this time, the prediction unit may be divided into sub-blocks.
  • the conversion unit may be divided along the quad tree structure from the coding unit and may be a unit that derives the conversion factor or a unit that derives the residual signal from the conversion factor.
  • the entropy decoding unit 210 may parse the bitstream and output information necessary for video restoration or picture restoration. For example, the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and calculates a value of a syntax element necessary for video restoration, a quantized value Lt; / RTI >
  • a coding method such as exponential Golomb coding, CAVLC, or CABAC
  • the CABAC entropy decoding method includes receiving a bean corresponding to each syntax element in a bitstream, decoding decoding target information of the decoding target syntax element, decoding information of a surrounding and decoding target block, or information of a symbol / A context model is determined and an occurrence probability of a bin is predicted according to the determined context model to perform arithmetic decoding of the bean to generate a symbol corresponding to the value of each syntax element have.
  • the CABAC entropy decoding method can update the context model using the information of the decoded symbol / bin for the context model of the next symbol / bean after determining the context model.
  • the residual value i.e., the quantized transform coefficient, which is entropy-decoded in the entropy decoding unit 210, 221).
  • the reordering unit 221 may rearrange the quantized transform coefficients into a two-dimensional block form.
  • the reordering unit 221 may perform reordering in response to the coefficient scanning performed in the encoding apparatus.
  • the rearrangement unit 221 may be a part of the inverse quantization unit 222, although the rearrangement unit 221 has been described as an alternative configuration.
  • the inverse quantization unit 222 may dequantize the quantized transform coefficients based on the (inverse) quantization parameters, and output the transform coefficients. At this time, the information for deriving the quantization parameter may be signaled from the encoding device.
  • the inverse transform unit 223 may invert the transform coefficients to derive the residual samples.
  • the prediction unit 230 may predict a current block and may generate a predicted block including prediction samples of the current block.
  • the unit of prediction performed in the prediction unit 230 may be a coding block, a transform block, or a prediction block.
  • the prediction unit 230 may determine whether intra prediction or inter prediction is to be applied based on the prediction information.
  • a unit for determining whether to apply intra prediction or inter prediction may differ from a unit for generating a prediction sample.
  • units for generating prediction samples in inter prediction and intra prediction may also be different.
  • whether inter prediction or intra prediction is to be applied can be determined in units of CU.
  • the prediction mode may be determined in units of PU to generate prediction samples.
  • a prediction mode may be determined in units of PU, and prediction samples may be generated in units of TU.
  • the prediction unit 230 may derive a prediction sample for the current block based on the surrounding reference samples in the current picture.
  • the prediction unit 230 may apply a directional mode or a non-directional mode based on the neighbor reference samples of the current block to derive a prediction sample for the current block.
  • a prediction mode to be applied to the current block may be determined using the intra prediction mode of the neighboring block.
  • the prediction unit 230 may derive a prediction sample for a current block based on a sample specified on a reference picture by a motion vector on a reference picture.
  • the prediction unit 230 may derive a prediction sample for a current block by applying a skip mode, a merge mode, or an MVP mode.
  • motion information necessary for inter-prediction of a current block provided in the video encoding apparatus for example, information on a motion vector, a reference picture index, and the like may be acquired or derived based on the prediction information
  • motion information of a neighboring block can be used as motion information of the current block.
  • the neighboring block may include a spatial neighboring block and a temporal neighboring block.
  • the prediction unit 230 may construct a merge candidate list using the motion information of the available neighboring blocks and use the information indicated by the merge index on the merge candidate list as the motion vector of the current block.
  • the merge index may be signaled from the encoding device.
  • the motion information may include a motion vector and a reference picture. When the motion information of temporal neighboring blocks is used in the skip mode and the merge mode, the highest picture on the reference picture list can be used as a reference picture.
  • the difference between the predicted sample and the original sample is not transmitted.
  • a motion vector of a current block can be derived using a motion vector of a neighboring block as a motion vector predictor.
  • the neighboring block may include a spatial neighboring block and a temporal neighboring block.
  • a merge candidate list may be generated using a motion vector of the reconstructed spatial neighboring block and / or a motion vector corresponding to a Col block that is a temporally neighboring block.
  • the motion vector of the candidate block selected in the merge candidate list is used as the motion vector of the current block.
  • the prediction information may include a merge index indicating a candidate block having an optimal motion vector selected from the candidate blocks included in the merge candidate list.
  • the predicting unit 230 can derive the motion vector of the current block using the merge index.
  • a motion vector predictor candidate list is generated by using a motion vector of the reconstructed spatial neighboring block and / or a motion vector corresponding to a Col block which is a temporally neighboring block . That is, the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the neighboring block Col may be used as a motion vector candidate.
  • the information on the prediction may include a predicted motion vector index indicating an optimal motion vector selected from the motion vector candidates included in the list.
  • the predicting unit 230 can use the motion vector index to select a predictive motion vector of the current block from the motion vector candidates included in the motion vector candidate list.
  • the predicting unit of the encoding apparatus can obtain the motion vector difference (MVD) between the motion vector of the current block and the motion vector predictor, and can output it as a bit stream. That is, MVD can be obtained by subtracting the motion vector predictor from the motion vector of the current block.
  • the predicting unit 230 may obtain the motion vector difference included in the information on the prediction, and derive the motion vector of the current block through addition of the motion vector difference and the motion vector predictor.
  • the prediction unit may also acquire or derive a reference picture index or the like indicating the reference picture from the information on the prediction.
  • the adder 240 may add a residual sample and a prediction sample to reconstruct a current block or a current picture.
  • the adder 240 may add the residual samples and the prediction samples on a block-by-block basis to reconstruct the current picture.
  • the adder 240 has been described as an alternative configuration, but the adder 240 may be a part of the predictor 230.
  • the addition unit 240 may be referred to as a restoration unit or a restoration block generation unit.
  • the filter unit 250 may apply deblocking filtered sample adaptive offsets, and / or ALFs, to the reconstructed pictures.
  • the sample adaptive offset may be applied on a sample-by-sample basis and may be applied after deblocking filtering.
  • the ALF may be applied after deblocking filtering and / or sample adaptive offsets.
  • the memory 260 may store restored pictures (decoded pictures) or information necessary for decoding.
  • the reconstructed picture may be a reconstructed picture whose filtering procedure has been completed by the filter unit 250.
  • the memory 260 may store pictures used for inter prediction.
  • the pictures used for inter prediction may be designated by a reference picture set or a reference picture list.
  • the reconstructed picture can be used as a reference picture for another picture.
  • the memory 260 may output the restored picture according to the output order.
  • the processing unit may be represented as a coding unit (CU).
  • CU coding unit
  • the conversion efficiency can be improved and the overall coding efficiency can be improved.
  • the prediction accuracy can be improved, and the overall coding efficiency can be improved.
  • QT quad tree
  • the present invention proposes a method of dividing an inputted picture into a square CU and a non-square CU by applying another division structure together with the quadtree structure. Accordingly, the picture can be divided into various types of CUs according to the intra-picture information, and coding can be performed more efficiently.
  • FIG. 3 exemplarily shows a CU divided by a QTBT (Quad Tree Binary Tree) structure and a syntax of the QTBT structure.
  • QTBT Quad Tree Binary Tree
  • the QTBT structure may represent a structure in which a CU (or CTU) is divided through a QT structure and divided through a binary tree (BT) structure. That is, the QTBT may represent a divided structure configured by combining the QT structure and the BT structure.
  • the CTU may be divided through the QT structure.
  • the leaf node may be further divided through the BT structure.
  • the leaf node may represent a CU that is no longer divided in the QT structure, and the leaf node may be called a leaf node.
  • the QT structure may represent a structure in which a CU (or CTU) of 2Nx2N size is divided into four sub-CUs of NxN size, and the BT structure may be a sub-CU of 2Nx2N size, , And sub CUs of two 2NxN sizes.
  • the CU may be divided into square CUs of a lower depth through a QT structure.
  • a specific CU among the square CUs may be divided into non-square CUs of lower depths Lt; / RTI >
  • FIG. 3 (b) illustrates an example in which the syntax of the QTBT structure is transmitted.
  • a solid line shown in FIG. 3 (b) can represent a QT structure, and a dotted line can represent a BT structure.
  • the syntax for the CU of the lower depth can be represented at the upper depth.
  • the syntax for the upper left side, the upper right side, the lower left side, and the lower right side CU in the left-to-right direction can be represented.
  • the uppermost number may represent the syntax for a CU of n depths, where the numbers at the second position are CUs of n + 1 depth, the numbers at the third position are CUs of n + 2 depth, Numbers of locations may represent the syntax for CUs of n + 3 depth. Also, numbers in bold can represent values of the syntaxes for the QT structure, and numbers not represented in the boldface can represent values of the syntaxes for the BT structure.
  • a QT fragment flag indicating whether the CU is divided through the QT structure can be transmitted. That is, a flag indicating whether the 2Nx2N size CU is divided into 4 NxN size sub CUs can be transmitted.
  • the QT_split_flag may indicate a syntax element for the QT split flag. For example, when the value of the QT division flag for the CU is 1, the CU may be divided into 4 sub CUs. If the value of the QT division flag for the CU is 0, May not be divided.
  • information on the maximum CU size, the minimum CU size, and the maximum depth in the QT structure can be transmitted to adjust the QT structure for the input image.
  • the information on the QT structure described above may be transmitted for each of the slice types, or may be transmitted for each of the image components (luminance component, saturation component, etc.).
  • the information about the BT structure can be transmitted to the end node which is not further divided in the QT structure. That is, information on the BT structure for the CU corresponding to the end node in the QT structure can be transmitted.
  • the information including information on the BT structure may be referred to as MPT division information.
  • a BT fragment flag indicating whether the CU is divided through the BT structure, i.e., whether the BT structure for the CU is applied, may be transmitted.
  • BT_split_flag may indicate a syntax element for the BT division flag.
  • the CU when the value of the BT division flag is 1, the CU may be divided into two sub CUs, and when the value of the BT division flag is 0, the CU may not be divided.
  • information on the maximum CU size, the minimum CU size, and the maximum depth in the BT structure can be transmitted to adjust the BT structure for the input image.
  • the information about the BT structure described above may be transmitted for each of the slice types, or may be transmitted for each of the image components.
  • the CU When the CU is divided through the BT structure, the CU may be divided in the horizontal or vertical direction.
  • the CU of 2Nx2N size can be divided into 2NxN size sub CUs, or the 2Nx2N size CU can be divided into Nx2N size sub CUs.
  • the BT split mode index indicating the direction in which the CU is divided, that is, the split type of the CU, may be transmitted.
  • BT_split_mode may represent a syntax element for the BT split mode index. For example, when the value of the BT division mode index is 1, the CU may be divided into sub-CUs of a size of Nx2N in the vertical direction, and when the value of the BT division mode index is 0, The CU may be divided into sub-CUs in the horizontal direction, i.e., 2NxN size.
  • FIG. 4 shows an example in which the syntax of the QTBT structure for a target CU is transmitted.
  • a QT_split_flag for a target CU can be transmitted.
  • the QT_split_flag may indicate whether the target CU is divided through the QT structure as described above. That is, the QT_split_flag may indicate whether the target CU is divided into sub CUs having a half-height and a half-width size of the target CU.
  • the target CU may be divided into the sub CUs.
  • the QT_split_flag for the sub CUs may be transmitted. That is, the target CU can be derived by recursively dividing the CUs of lower depth into CUs of the end nodes that are not further divided.
  • a BT_split_flag for the target CU may be transmitted.
  • the BT_split_flag may indicate whether the target CU is divided through the BT structure as described above. That is, the BT_split_flag may indicate whether the target CU of 2Nx2N size is divided into Nx2N size or 2NxN size sub CUs, for example.
  • the shape of the CUs divided from the target CU may be determined according to the BT_split_flag and BT_split_mode values.
  • the target CU may be divided into sub-CUs of size Nx2N or 2NxN, and if the value of BT_split_flag is 0, the target CU may not be divided . If the BT_split_flag indicates that the target CU is divided through the BT structure, a BT_split_mode for the target CU may be transmitted.
  • the BT_split_mode may indicate a direction in which the target CU is divided, that is, a division type of the target CU.
  • the CU when the value of BT_split_mode is 1, the CU may be divided into sub-CUs of a size of Nx2N in the vertical direction, and when the value of BT_split_mode is 0, the CU may be divided into 2NxN Size sub CUs.
  • syntax of the QTBT structure can be represented as the following table.
  • QT_split_flag may represent a syntax element of the above-described QT division flag
  • BT_split_flag may represent a syntax element of the BT division flag described above
  • BT_split_mode may represent a syntax element of the BT division mode index described above.
  • leaf nodes of the QT structure can be further divided through the MPT structure.
  • a target CU of 2Nx2N size which is a leaf node of the QT structure, is divided into two Nx2N size sub CUs or two 2NxN size sub CUs through the BT structure .
  • the target CU which is a leaf node of the QT structure through the QTMPT structure, may be divided into two, three, or four different types of sub- CUs. ≪ / RTI > That is, the MPT structure may represent a structure in which the CU is divided into various types of non-square sub CUs.
  • the target CU may be divided into two sub CUs in the vertical direction or the horizontal direction through the MPT structure. That is, through the MPT structure, the target CU of 2Nx2N size can be divided into two Nx2N size sub CUs or two 2NxN size sub CUs.
  • the target CU may be divided into three sub CUs in the vertical direction or the horizontal direction through the MPT structure.
  • the target CU When the target CU is divided into three sub CUs, it can be divided into one large-sized sub-CU and two small-sized sub-CUs, or three sub-CUs can be divided equally into three sub- And may be divided into sub CUs of the same size.
  • the way in which the target CU is divided into one large sub-CU and two small-sized sub-CUs may be variously divided depending on the position of the large-sized sub-CUs.
  • the target CU of 2Nx2N size is divided into sub-CUs of N / 2x2N size, sub-CU of Nx2N size, and sub-CU of N / 2x2N size through the MPT structure . That is, as shown in FIG. 5C, the target CU of 2Nx2N size is divided into N / 2x2N sub CU, Nx2N size sub CU, and N / 2x2N size sub- CU. ≪ / RTI >
  • a target CU of 2Nx2N size is divided into sub CUs of N / 2x2N size, sub CU of N / 2x2N size, and sub CU of Nx2N size Can be divided. That is, as shown in FIG. 5 (d), the target CU of 2Nx2N size is divided into N / 2x2N sub CU, N / 2x2N size sub CU, and Nx2N size sub- CU. ≪ / RTI >
  • a target CU of 2Nx2N size is divided into sub-CUs of Nx2N size, sub CU of N / 2x2N size, and sub CU of N / 2x2N size through the MPT structure Can be divided. That is, as shown in FIG. 5E, the target CU of 2Nx2N size is divided into sub-CUs of Nx2N size, sub CU of N / 2x2N size, N / 2x2N size in order from left to right through the MPT structure CU. ≪ / RTI >
  • the target CU of 2Nx2N size is divided into 2NxN / 2 size sub CU, 2NxN size sub CU, 2NxN / 2 size sub CU Can be divided.
  • the target CU of the 2Nx2N size is divided into 2NxN / 2 size sub CUs, 2NxN size sub CUs, 2NxN / 2 size sub- CU. ≪ / RTI >
  • the target CU of 2Nx2N size is divided into 2NxN / 2 size sub CU, 2NxN / 2 size sub CU, 2NxN size sub CU Lt; / RTI > That is, as shown in FIG. 5 (g), the target CU of 2Nx2N size is divided into 2NxN / 2 size sub CU, 2NxN / 2 size sub CU, 2NxN size CU. ≪ / RTI >
  • the target CU of 2Nx2N size is divided into 2NxN size sub CU, 2NxN / 2 size sub CU, 2NxN / 2 size sub CU Lt; / RTI > 5 (h), the target CU of 2Nx2N size is divided into sub-CUs of 2NxN size, sub-CU of 2NxN / 2 size, sub-CU of 2NxN / 2 size CU. ≪ / RTI >
  • information on the maximum CU size, minimum CU size, maximum depth, and the like in the MPT structure can be transmitted to adjust the MPT structure for the input image.
  • the information about the MPT structure described above may be transmitted for each of the slice types, or may be transmitted for each of the image components (luminance component, saturation component, etc.).
  • the information on the MPT structure may be transmitted through a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or the like.
  • FIG. 6 shows an example in which the syntaxes of the QTMPT structure for the target CU are transmitted.
  • a QT_split_flag for a target CU may be transmitted.
  • the QT_split_flag may indicate whether the target CU is divided through the QT structure as described above. That is, the QT_split_flag may indicate whether the target CU is divided into sub CUs having a half-height and a half-width size of the target CU.
  • the target CU may be divided into the sub CUs.
  • the QT_split_flag for the sub CUs may be transmitted. That is, the target CU can be derived by recursively dividing the CUs of lower depth into CUs of the end nodes that are not further divided.
  • the MPT division information may include MPT division type information for the target CU. Specifically, when the value of QT_split_flag for the target CU of the end node is 0, MPT_split_type for the target CU can be transmitted.
  • the MPT_split_type may indicate a syntax for the MPT division type information.
  • the MPT_split_type may indicate whether or not the target CU of 2Nx2N size is divided into various types of non-square sub CUs, for example.
  • the non-square sub CUs may include a sub CU of N / 2x2N size, a sub CU of Nx2N size, a sub CU of 2NxN / 2 size, and / or a sub CU of 2NxN size.
  • the target CU may not be divided. If the value of the MPT_split_type of the target CU is not 0, the shapes of sub CUs divided from the target CU may be determined based on MPT_split_type and MPT_split_mode. That is, the MPT division information may include MPT division type information and MPT division direction information for the target CU, wherein the MPT_split_type may represent a syntax for the MPT division type information, and the MPT_split_mode may include an MPT division It can represent a syntax for direction information.
  • the target CU may be divided into two sub CUs.
  • the target CU may be divided into two Nx2N size sub CUs as shown in FIG. 5 (a) . If the value of MPT_split_type is 1 and the value of MPT_split_mode is 0, the target CU may be divided into two 2NxN size sub CUs as shown in FIG. 5B.
  • the target CU when the value of the MPT_split_type is 2, the target CU may be divided into three sub CUs. Also, when the value of MPT_split_type is 2 and the value of MPT_split_mode is 1, the target CU may be divided into 3 sub CUs in the vertical direction. Also, when the value of MPT_split_type is 2 and the value of MPT_split_mode is 0, the target CU may be divided into 3 sub CUs in the horizontal direction.
  • MPT_sub_split_type for the target CU can be transmitted, and MPT_sub_split_type can represent detailed division information of the target CU.
  • the MPT division information may include MPT detailed division type information for the target CU, and the MPT_sub_split_type may represent a syntax for the MPT detailed division type information.
  • the target CU has a size of N / 2x2N as shown in FIG.
  • the target CU is allocated to the left side of N / 2x2N size as shown in (d) The sub CU, the central sub CU of N / 2x2N size, and the right sub CU of Nx2N size. If the value of MPT_split_type is 2, the value of MPT_split_mode is 1, and the value of MPT_sub_split_type is 2, the target CU is allocated to the left sub CU of Nx2N size as shown in FIG.
  • the target CU is located on the upper side of 2NxN / 2 size as shown in FIG. 5 (g) A sub-CU, a central sub-CU of 2NxN / 2 size, and a lower sub-CU of 2NxN size.
  • the value of MPT_split_type is 2
  • the value of MPT_split_mode is 0, and the value of MPT_sub_split_type is 2
  • the target CU is allocated to the upper sub CU of 2NxN size as shown in FIG. 5 (h) , A central sub CU of 2NxN / 2 size, and a lower sub CU of 2NxN / 2 size.
  • the target CU may be divided into 4 sub CUs. Specifically, when the value of MPT_split_type is 3 and the value of MPT_split_mode is 1, the target CU is divided into 4 sub-CUs of N / 2x2N size as shown in FIG. 5 (i) . If the value of MPT_split_type is 3 and the value of MPT_split_mode is 0, the target CU can be divided into 4 sub-CUs of 2NxN / 2 size as shown in FIG. 5 (j) have.
  • syntaxes of the QTMPT structure may be transmitted as described above, another example of the syntax transfer of the QTMPT structure may be proposed as described later.
  • FIG. 7 shows an example in which the syntaxes of the QTMPT structure for a target CU are transmitted. As shown in FIG. 6, if the value of MPT_split_type is not 0, the MPT_split_mode may be transmitted in common. However, referring to FIG. 7, the MPT_split_mode may be parsed prior to the MPT_split_type.
  • a QT_split_flag for a target CU can be transmitted.
  • the QT_split_flag may indicate whether the target CU is divided through the QT structure as described above. That is, the QT_split_flag may indicate whether the target CU is divided into sub CUs having a half-height and a half-width size of the target CU.
  • the target CU may be divided into the sub CUs.
  • the QT_split_flag for the sub CUs may be transmitted. That is, the target CU can be derived by recursively dividing the CUs of lower depth into CUs of the end nodes that are not further divided.
  • the MPT division information may include an MPT division flag for the target CU. Specifically, when the value of QT_split_flag for the target CU of the end node is 0, the MPT_split_flag for the target CU can be transmitted.
  • the MPT_split_flag may indicate a syntax for the MPT division flag.
  • the MPT_split_flag may indicate whether the target CU is divided through the MPT structure.
  • the MPT_split_flag may indicate whether the target CU of 2Nx2N size is divided into various types of non-square sub CUs, for example.
  • the non-square sub CUs may include a sub CU of N / 2x2N size, a sub CU of Nx2N size, a sub CU of 2NxN / 2 size, and / or a sub CU of 2NxN size. If the value of MPT_split_flag is 0, the target CU may not be divided.
  • the target CU may be divided through the MPT structure, and MPT_split_mode and MPT_split_type may be transmitted.
  • the value of the MPT_split_flag of the target CU is 1, that is, when the target CU is divided through the MPT structure, the shapes of sub CUs divided from the target CU may be determined based on the MPT_split_mode and the MPT_split_type .
  • the dividing direction of the target CU may be derived based on the MPT_split_mode. For example, when the value of MPT_split_mode is 1, the target CU may be divided in the vertical direction, and when the value of MPT_split_mode is 0, the target CU may be divided in the horizontal direction.
  • the division type of the target CU may be derived based on the MPT_split_type. For example, when the value of MPT_split_type is 0, the target CU may be divided into two sub CUs. Specifically, when the value of the MPT_split_mode is 1 and the value of the MPT_split_type is 0, the target CU may be divided into two Nx2N size sub CUs as shown in FIG. 5 (a) . If the value of MPT_split_mode is 0 and the value of MPT_split_type is 0, the target CU may be divided into two 2NxN size sub CUs as shown in FIG. 5B.
  • the target CU when the value of MPT_split_type is 1, the target CU may be divided into 3 sub CUs. If the value of MPT_split_type is 1, that is, if the target CU is divided into 3 sub CUs, MPT_sub_split_type for the target CU can be transmitted, and MPT_sub_split_type can indicate detailed division information of the target CU have. That is, when the target CU is divided into three sub CUs, detailed partition information of the target CU may be derived based on the MPT_sub_split_type.
  • the target CU has a size of N / 2x2N as shown in FIG. 5 (c)
  • the target CU is allocated to the left side of N / 2x2N size as shown in FIG.
  • the target CU is located on the upper side of 2NxN / 2 size as shown in FIG. 5 (f) A sub-CU, a central sub-CU of 2NxN size, and a lower sub-CU of 2NxN / 2 size. If the value of MPT_split_mode is 0, the value of MPT_split_type is 1, and the value of MPT_sub_split_type is 1, the target CU is located on the upper side of 2NxN / 2 size as shown in FIG.
  • the target CU when the value of MPT_split_type is 2, the target CU may be divided into 4 sub CUs. Specifically, when the value of MPT_split_mode is 1 and the value of MPT_split_type is 2, the target CU is divided into 4 N / 2x2N size sub CUs as shown in FIG. 5 (i) . If the value of MPT_split_mode is 0 and the value of MPT_split_type is 2, the target CU may be divided into 4 2NxN / 2 size sub CUs as shown in FIG. 5 (j) have.
  • the number of sub CUs derived by dividing the target CU may be derived based on the MPT_split_type as described above.
  • the number of blocks to be divided according to the input image that is, the case where the division type of the block occurs, may not be the same. That is, the ratio of the block division type may be different according to the input image. For example, the ratio of the division type in which the block is divided into two portions may be high, or the ratio of the division type in which the block is divided into three portions may be high, or the ratio of the division type in which the block is divided into four portions may be high have.
  • coding efficiency can be improved through a binarization method of assigning a binarization string having a small number of bits to a syntax for a high-ratio division type.
  • binarization strings of MPT_slice_type and MPT_sub_slice_type for the division types shown in FIGS. 5A through 5J derived on the basis of various binarization methods can be derived as shown in the following table.
  • MPT-2 type 0 represents the division type in which the block is divided into two sub-blocks as shown in FIGS. 5 (a) and 5 (b)
  • MPT-3 type 1 is a subtype of a sub-block in which a block is divided into three sub-blocks, and the central sub-block is a sub-block having a large size as shown in (f)
  • the MPT-3 type 2 represents the subtype as a sub-block having a large size, and the right or the lower sub-block is divided into three sub-blocks as shown in (e) and (h) , The left or upper sub-block is divided into three sub-blocks as shown in Fig. 5 (a) and 5 (b), and MPT- A block type is divided into four sub-blocks as shown in FIG.
  • binarization method 1 can determine whether MPT-2 is first determined. That is, if the first value of the syntax of the information about the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-2.
  • the second value of the syntax of the information on the MPT structure of the target block MPT-3 and MPT-4 can be distinguished. That is, when the second value of the syntax of the information about the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-3, and the second of the syntax of the information about the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 0, the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 10, the partition type of the target block is MPT-3 And if the MPT_split_type is 11, the partition type of the target block may be derived as MPT-4.
  • MPT_sub_split_type for the target block may be additionally transmitted. 3 type 0, MPT-3 type 1 or MPT-3 type 2 based on the MPT_sub_split_type.
  • the binarization method 1 when the MPT_sub_split_type is 0, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_sub_split_type is 10, the partition type of the target block is MPT-3 type 1 And if the MPT_sub_split_type is 11, the division type of the target block may be derived as MPT-3 type2.
  • the partition type of the target block can be determined as MPT-2 or MPT-4, and the MPT structure of the acquired target block If the first value of the syntax of the information about the target block is not 0, the partition type of the target block can be determined as MPT-3.
  • MPT-2 and MPT-4 can be distinguished based on the second value of the syntax of the information.
  • the partition type of the target block can be determined as MPT-2, and the second of the syntax of the information about the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 1, the partition type of the target block is MPT-3 And if the MPT_split_type is 01, the partition type of the target block may be derived as MPT-4.
  • MPT_sub_split_type for the target block may be additionally transmitted. 3 type 0, MPT-3 type 1 or MPT-3 type 2 based on the MPT_sub_split_type.
  • the binarization method 2 when the MPT_sub_split_type is 0, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_sub_split_type is 10, the partition type of the target block is MPT-3 type 1 And if the MPT_sub_split_type is 11, the division type of the target block may be derived as MPT-3 type2.
  • the division type of the target block is MPT-2 or not. For example, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block can be determined as MPT-2.
  • the second value of the syntax of the information on the MPT structure of the target block It can be determined whether or not the segmentation type of the target block is MPT-3 type 0. For example, if the second value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block may be determined as MPT-3 type 0.
  • the partition type of the target block is not MPT-3 type 0, that is, if the second value of the syntax of information on the MPT structure of the target block is not 0, the third of the syntax of the information on the MPT structure of the target block It may be determined whether the division type of the target block is MPT-4 or not. For example, if the third value of the syntax of the information on the MPT structure of the acquired target block is 0, the partition type of the target block may be determined as MPT-4.
  • the partition type of the target block is not MPT-4, that is, if the third value of the syntax of the information on the MPT structure of the target block is not 0, the partition type of the target block It can be determined whether MPT-3 type 1 or MPT-3 type 2 is present. For example, if the remaining values of the syntax of the information about the MPT structure of the acquired target block are 10, the partition type of the target block can be determined as MPT-3 type 1, and the MPT- If the remaining values of the information syntax are 11, the segmentation type of the target block may be determined as MPT-3 type 2.
  • the binarization method 3 can be used when the segmentation type in the input image is higher than the blocks having the MPT-4 and the blocks having the MPT-3 type 0, thereby improving the coding efficiency.
  • the binarization method of the information indicating the division type according to the MPT structure of the target block may be adaptively selected in a unit of SPS (Sequence Parameter Set), PPS (Picture Parameter Set), slice or block, , The PPS, the slice, the block, or the like.
  • a method of binarizing information indicating a partition type according to the MPT structure of the target block may be adaptively derived in slice or block units.
  • whether or not the target block is divided by the MPT can be determined first.
  • the binary string representing the MPT partitioning information can be derived as shown in the following table.
  • MPT-2 type 0 represents the division type in which the block is divided into two sub-blocks as shown in FIGS. 5 (a) and 5 (b)
  • MPT-3 type 1 is a subtype of a sub-block in which a block is divided into three sub-blocks, and the central sub-block is a sub-block having a large size as shown in (f)
  • the MPT-3 type 2 represents the subtype as a sub-block having a large size, and the right or the lower sub-block is divided into three sub-blocks as shown in (e) and (h) , The left or upper sub-block is divided into three sub-blocks as shown in Fig. 5 (a) and 5 (b), and MPT- A block type is divided into four sub-blocks as shown in FIG.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block MPT-2 can be judged. That is, if the second value of the syntax of the information about the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-2.
  • the partition type of the target block is not MPT-2, that is, if the second value of the syntax of the information on the MPT structure of the target block is not 0, the third value of the syntax of the information on the MPT structure of the target block MPT-3 and MPT-4 can be distinguished. That is, when the third value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-3, and the third of the syntax of the information on the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 10, the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 110, the partition type of the target block is MPT-3 And if the MPT_split_type is 111, the partition type of the target block may be derived as MPT-4.
  • MPT_sub_split_type for the target block may be additionally transmitted. 3 type 0, MPT-3 type 1 or MPT-3 type 2 based on the MPT_sub_split_type.
  • the binarization method 1 when the MPT_sub_split_type is 0, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_sub_split_type is 10, the partition type of the target block is MPT-3 type 1 And if the MPT_sub_split_type is 11, the division type of the target block may be derived as MPT-3 type2.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block MPT-2 or MPT-4 can be determined first. That is, if the second value of the syntax of the information on the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-2 or MPT-4, and the MPT structure of the acquired target block If the second value of the syntax of the information about the target block is not 0, the partition type of the target block may be determined as MPT-3.
  • MPT-2 and MPT-4 can be distinguished based on the third value of the syntax of the information. That is, when the third value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-2, and the third of the syntax of the information on the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 11, the partition type of the target block is MPT-3 And if the MPT_split_type is 101, the division type of the target block may be derived as MPT-4.
  • MPT_sub_split_type for the target block may be additionally transmitted. 3 type 0, MPT-3 type 1 or MPT-3 type 2 based on the MPT_sub_split_type.
  • the binarization method 2 when the MPT_sub_split_type is 0, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_sub_split_type is 10, the partition type of the target block is MPT-3 type 1 And if the MPT_sub_split_type is 11, the division type of the target block may be derived as MPT-3 type2.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block It can be determined first whether MPT-2 is present or not. For example, if the second value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block may be determined as MPT-2.
  • the partition type of the target block is not MPT-2, that is, if the second value of the syntax of the information on the MPT structure of the target block is not 0, the third value of the syntax of the information on the MPT structure of the target block It can be determined whether or not the segmentation type of the target block is MPT-3 type 0. For example, if the third value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block may be determined as MPT-3 type 0.
  • the partition type of the target block is not MPT-3 type 0, that is, if the third value of the syntax of the information on the MPT structure of the target block is not 0, the fourth of the syntax of information on the MPT structure of the target block It may be determined whether the division type of the target block is MPT-4 or not. For example, if the fourth value of the syntax of the information on the MPT structure of the acquired target block is 0, the partition type of the target block may be determined as MPT-4.
  • the division type of the target block is determined based on the remaining values of the syntax, It can be determined whether MPT-3 type 1 or MPT-3 type 2 is present. For example, if the remaining values of the syntax of the information about the MPT structure of the acquired target block are 10, the partition type of the target block can be determined as MPT-3 type 1, and the MPT- If the remaining values of the information syntax are 11, the segmentation type of the target block may be determined as MPT-3 type 2.
  • the binarization method 3 can be used when the segmentation type in the input image is higher than the blocks having the MPT-4 and the blocks having the MPT-3 type 0, thereby improving the coding efficiency.
  • the binarization method of the information indicating the division type according to the MPT structure of the target block may be adaptively selected in a unit of SPS (Sequence Parameter Set), PPS (Picture Parameter Set), slice or block, , The PPS, the slice, the block, or the like.
  • a method of binarizing information indicating a partition type according to the MPT structure of the target block may be adaptively derived in slice or block units.
  • MPT_slice_type and MPT_sub_slice_type for the split types can be derived as shown in the following table.
  • MPT-2 type 0 represents the division type in which the block is divided into two sub-blocks as shown in FIGS. 5 (a) and 5 (b)
  • MPT-4 represents the subtype of a sub-block having a large size as shown in (i) and (j) of FIG. 5, the block is divided into three sub- The block is divided into four sub-blocks as shown in FIG.
  • the partition type of the target block can be determined as MPT-2.
  • the second value of the syntax of the information on the MPT structure of the target block MPT-3 type 0 and MPT-4 can be distinguished. That is, if the second value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-3 type 0, and the syntax of the information about the MPT structure of the target block If the second value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 0, the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 10, the partition type of the target block is MPT-3 type0 , And if the MPT_split_type is 11, the partition type of the target block may be derived as MPT-4.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-2, thereby improving the coding efficiency.
  • the binarization method 5 of Table 4 it can be determined whether the division type of the target block is MPT-3 type 0 or not. That is, if the first value of the syntax of the information about the MPT structure of the acquired target block is 0, the segmentation type of the target block can be determined as MPT-3 type0.
  • the division type of the target block is not MPT-3 type 0, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, the second of the syntax of the information on the MPT structure of the target block Based on the value, MPT-2 and MPT-4 can be distinguished. That is, if the second value of the syntax of the information about the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-2, and the second of the syntax of the information about the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 0, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_split_type is 10, the partition type of the target block is MPT- , And if the MPT_split_type is 11, the partition type of the target block may be derived as MPT-4.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-3 type 0, thereby improving the coding efficiency.
  • the binarization method 6 of Table 4 it can be determined whether the division type of the target block is MPT-4. That is, if the first value of the syntax of information on the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-4.
  • the first block of the target block is not MPT-4, that is, when the first value of the syntax of the information on the MPT structure of the target block is not 0, the second value of the syntax of the information on the MPT structure of the target block
  • the MPT-2 and the MPT-3 type 0 can be distinguished. That is, if the second value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-2, and the second of the syntax of the information on the MPT structure of the target block If the value is 1, the segmentation type of the target block can be determined as MPT-3 type 0.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 0, the partition type of the target block can be derived as MPT-4, and when the MPT_split_type is 10, the partition type of the target block is MPT- If the MPT_split_type is 11, the division type of the target block may be derived as MPT-3 type 0.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-4, thereby improving the coding efficiency.
  • the binarization method of the information indicating the division type according to the MPT structure of the target block may be adaptively selected in a unit of SPS (Sequence Parameter Set), PPS (Picture Parameter Set), slice or block, , The PPS, the slice, the block, or the like.
  • a method of binarizing information indicating a partition type according to the MPT structure of the target block may be adaptively derived in slice or block units.
  • the binary strings of MPT_slice_type and MPT_sub_slice_type for partition types can be derived as shown in the following table.
  • MPT-2 type 0 represents the division type in which the block is divided into two sub-blocks as shown in FIGS. 5 (a) and 5 (b)
  • MPT-4 represents the subtype of a sub-block having a large size as shown in (i) and (j) of FIG. 5, the block is divided into three sub- The block is divided into four sub-blocks as shown in FIG.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block Whether MPT-2 can be determined first. That is, if the second value of the syntax of the information about the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-2.
  • the partition type of the target block is not MPT-2, that is, if the second value of the syntax of the information on the MPT structure of the target block is not 0, the third value of the syntax of the information on the MPT structure of the target block MPT-3 type 0 and MPT-4 can be distinguished. That is, if the third value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-3 type 0, and the syntax of the information about the MPT structure of the target block If the third value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 10, the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 110, the partition type of the target block is MPT-3 type0 , And if the MPT_split_type is 111, the partition type of the target block may be derived as MPT-4.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-2, thereby improving the coding efficiency.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block MPT-3 type 0 can be determined first. That is, if the second value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block can be determined as MPT-3 type0.
  • the partition type of the target block is not MPT-3 type 0, that is, if the second value of the syntax of information on the MPT structure of the target block is not 0, the third of the syntax of the information on the MPT structure of the target block Based on the value, MPT-2 and MPT-4 can be distinguished. That is, when the third value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-2, and the third of the syntax of the information on the MPT structure of the target block If the value is 1, the partition type of the target block may be determined as MPT-4.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 10, the partition type of the target block can be derived as MPT-3 type 0, and when the MPT_split_type is 110, the partition type of the target block is MPT- , And if the MPT_split_type is 111, the partition type of the target block may be derived as MPT-4.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-3 type 0, thereby improving the coding efficiency.
  • the efficiency can be improved.
  • whether or not the target block is divided by the MPT can be determined first. That is, if the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the target block may not be divided by the MPT.
  • the target block is divided by the MPT, that is, if the first value of the syntax of the information on the MPT structure of the target block is not 0, based on the second value of the information on the MPT structure of the target block It can be determined first whether MPT-4 is present or not. That is, if the second value of the syntax of the information on the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-4.
  • the partition type of the target block is not MPT-4, that is, if the second value of the syntax of the information on the MPT structure of the target block is not 0, the third value of the syntax of the information on the MPT structure of the target block
  • the MPT-2 and the MPT-3 type 0 can be distinguished. That is, when the third value of the syntax of the information on the MPT structure of the target block is 0, the partition type of the target block can be determined as MPT-2, and the third of the syntax of the information on the MPT structure of the target block If the value is 1, the segmentation type of the target block can be determined as MPT-3 type 0.
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block when the MPT_split_type is 10, the partition type of the target block can be derived as MPT-4, and when the MPT_split_type is 110, the partition type of the target block is MPT- And if the MPT_split_type is 111, the division type of the target block may be derived as MPT-3 type0.
  • the binarization method 4 can be used when the segmentation type in the input image is high for the blocks having the MPT-4, thereby improving the coding efficiency.
  • the binarization method of the information indicating the division type according to the MPT structure of the target block may be adaptively selected in a unit of SPS (Sequence Parameter Set), PPS (Picture Parameter Set), slice or block, , The PPS, the slice, the block, or the like.
  • a method of binarizing information indicating a partition type according to the MPT structure of the target block may be adaptively derived in slice or block units.
  • MPT_slice_type for the split types can be derived as shown in the following table.
  • MPT-2 type 0 represents the division type in which the block is divided into two sub-blocks as shown in FIGS. 5 (a) and 5 (b) And (f), the block is divided into three sub-blocks, and the central sub-block is a sub-block having a large size.
  • whether or not the target block is divided by the MPT can be determined first. That is, when the first value of the syntax of the information on the MPT structure of the acquired target block is 0, the segmentation type of the target block indicates that MPT is not segmented.
  • the second value of the syntax of the information on the MPT structure of the target block is set to It can be determined whether MPT-2 or MPT-3 type 0 is based. That is, if the second value of the syntax of the information about the MPT structure of the acquired target block is 0, the partition type of the target block can be determined as MPT-2.
  • the partition type of the target block is not MPT-2, that is, if the second value of the syntax of information on the MPT structure of the target block is not 0, the partition type of the target block is determined to be MPT-3 type 0 .
  • the syntax may represent the above-described MPT_split_type.
  • the partition type of the target block can be derived as MPT-2, and when the MPT_split_type is 11, -3 type0. ≪ / RTI >
  • FIG. 8 schematically shows a video encoding method by an encoding apparatus according to the present invention.
  • the method disclosed in FIG. 8 can be performed by the encoding apparatus disclosed in FIG. Specifically, for example, S800 to S810 in FIG. 8 may be performed by a picture divider of the encoding apparatus, S820 may be performed by a predicting unit of the encoding apparatus, and S830 is an entropy encoding And the like.
  • the encoding apparatus divides the first object block into first sub-blocks (S800).
  • the encoding apparatus may divide the first object block into the first sub-blocks through a QT (Quad Tree) structure.
  • the encoding apparatus may divide the first object block into four first sub-blocks.
  • the first subblocks may have half-height and half-width sizes of the target block.
  • the encoding apparatus can generate a QT (Quad Tree) split flag for the first object block.
  • the QT segmentation flag may indicate whether the block is divided into subblocks of a size of a half height and a half width of the block.
  • the encoding apparatus divides the second target block, which is one of the first sub-blocks, into second sub-blocks (S810).
  • the second object block may not be divided through the QT structure.
  • the encoding apparatus may divide the second object block into second subblocks when the second object block is not divided through the QT structure.
  • the second subblocks may be non-square blocks.
  • the second object block may be divided into the second sub-blocks through a multiple partitioning tree (MPT) structure.
  • MPT multiple partitioning tree
  • the second object block may be divided into the second sub-blocks, which are various types of non-square blocks.
  • the second object block may be divided vertically or horizontally.
  • the second object block may be divided into two, three or four second sub-blocks in the vertical or horizontal direction through the MPT partition structure.
  • the second object block may include second Nx2N size second subblocks, two 2NxN size second subblocks, one Nx2N size second Block and two N / 2x2N size second subblocks, one 2NxN second subblock and two 2NxN / 2 second subblocks, four N / 2x2N second subblocks, , Or 4 second 2NxN / 2 size second subblocks.
  • the second object block when the second object block is divided into a second sub-block of one Nx2N size and second sub-blocks of a size of N / 2x2N, the second sub-block of the Nx2N size is divided into left second sub- The center second sub-block or the right second sub-block.
  • the second sub-block of 2NxN size is divided into upper second sub- The central second sub-block or the lower second sub-block.
  • the encoding apparatus may generate MPT division information indicating the MPT division type of the second target block.
  • the number of bits of the binarization string representing the MPT partitioning information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information indicating the division type most commonly applied to the blocks in the input image (or the target picture) among the division types is the smallest bit number among the bit numbers of the binary strings representing the division types Can be derived.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 2 or Table 3 above.
  • the binarization string of the MPT division information may be set to 0 when the second object block is divided into two second subblocks in the vertical direction or the horizontal direction, Block 100 is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 100,
  • a case where the second sub-block of the Nx2N size or the 2NxN size is divided into three second sub-blocks in the horizontal direction is the central second sub-block 1010, and the second object block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • a case where the second sub-block of Nx2N size or 2NxN size is divided into the second sub-block is the right or lower second sub-block 1011, And may be 11 when divided into four sub-blocks in the vertical direction or the horizontal direction.
  • the binarization string of the MPT division information may include a binarization string of 00 if the second object block is divided into two second subblocks in the vertical direction or the horizontal direction, Or a second sub-block of Nx2N size or 2NxN size divided into three second sub-blocks in the horizontal direction is the left or upper second sub-block 10, the second target block is divided into the vertical direction or the horizontal direction Blocks, the second sub-block having Nx2N size or 2NxN size is divided into three second sub-blocks, and the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction, A second sub-block of Nx2N size or 2NxN size is divided into sub-blocks, 111 is the right or lower second sub-block, 111 is the second sub- 4 of the S-direction or in the horizontal direction is possible if 01 days are split into two sub-blocks.
  • the binarization string of the MPT division information may be set to 0 when the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Or a second sub-block of Nx2N size or 2NxN size divided into three second sub-blocks in the horizontal direction is the left or upper second sub-block 10, the second target block is divided into the vertical direction or the horizontal direction A second sub-block of Nx2N size or 2NxN size is divided into three sub-blocks, and the second sub-block is divided into three sub-blocks, A second sub-block of Nx2N size or 2NxN size is divided into sub-blocks 1111 if the second sub-block is the right or lower second sub-block, And may be 110 when divided into four sub-blocks in the vertical direction or in the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction Block 1020, the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 1100, If the second object block is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the central second sub-block 11010, A second sub-block of Nx2N size or 2NxN size divided into three sub-blocks in the vertical direction or in the horizontal direction, If the two sub-blocks 11 011, the first can 111 be if the second current block is divided into four second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 110
  • the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the central second sub-block 1110
  • a second sub-block of Nx2N size or 2NxN size which is divided into three second sub-blocks in the vertical direction or the horizontal direction, Block when the second target block is divided into the second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • a second target block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction, and a second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 110
  • the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the central second sub-block 11110
  • a second sub-block of Nx2N size or 2NxN size which is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • Block 11111 in the case of 2 sub-blocks, and 1110 in the case where the second object block is divided into the second sub-blocks in the vertical direction or in the horizontal direction.
  • the second object block may be divided into two, three or four second sub-blocks in the vertical or horizontal direction through the MPT partition structure.
  • the second object block may include second Nx2N size second subblocks, two 2NxN size second subblocks, one Nx2N size second Block and two N / 2x2N size second subblocks, one 2NxN second subblock and two 2NxN / 2 second subblocks, four N / 2x2N second subblocks, , Or 4 second 2NxN / 2 size second subblocks.
  • the second object block when the second object block is divided into a second sub-block of one Nx2N size and second sub-blocks of a size of N / 2x2N, the second sub-block of the Nx2N size is divided into a central second sub- Can be derived.
  • the second target block is divided into a second sub-block of 2NxN size and second sub-blocks of 2NxN / 2 size, the second sub-block of 2NxN size is divided into a center second sub-block Can be derived.
  • the encoding apparatus may generate MPT division information indicating the MPT division type of the second target block.
  • the number of bits of the binarization string representing the MPT partitioning information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 4 or Table 5 above.
  • the binarization string of the MPT division information is set to 0 when the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block is divided into three sub-blocks in the vertical direction or in the horizontal direction, and 10 when the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction, .
  • the binary string of the MPT division information may include a binary string of 10 if the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block when the second target block is divided into three second sub-blocks in the vertical direction or the third sub-block in the horizontal direction.
  • the binary string of the MPT division information may include a binary string of 10 if the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block when the second object block is divided into three second sub-blocks in the horizontal direction, and 11 when the second object block is divided into three second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 111 when divided into the second sub-block.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 111 when divided into the second sub-block.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or in the horizontal direction
  • 111 the second object block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 10 when divided into the second sub-block.
  • the second object block may be divided into two or three second sub-blocks in the vertical or horizontal direction through the MPT partition structure.
  • the second object block may be divided into two or three second sub-blocks in a vertical direction or a horizontal direction based on the MPT division information, and the size of the second object block is 2Nx2N If the second object block is divided into two second sub-blocks in the vertical direction, the second object block may be divided into second sub-blocks of Nx2N size, and the second object block
  • the second object block When the size of the second object block is 2Nx2N and the second object block is divided into two second subblocks in the horizontal direction, the second object block may be divided into second subblocks of 2NxN size, Block size of 2Nx2N and the second object block is divided into three second sub-blocks in the vertical direction, a left second sub-block of size N / 2x2N, a center second sub-block of size Nx2N The And the right second sub-block of size N / 2x2
  • the encoding apparatus may generate MPT division information indicating the MPT division type of the second target block.
  • the number of bits of the binarization string representing the MPT partitioning information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 6 above.
  • the binarization string of the MPT division information may be 10
  • the target block is divided into three second subblocks in the vertical direction or the horizontal direction
  • the binary string of the MPT division information may be 11.
  • the binary string of the MPT division information may be zero.
  • the encoding apparatus decodes the second subblocks (S820).
  • the encoding apparatus may perform transformed intra / inter prediction for the second sub-block, generate reconstruction samples for the second sub-block, A restored picture can be generated.
  • the encoding apparatus generates, encodes, and outputs the first division information for the first object block and the MPT division information for the second object block (S830).
  • the encoding apparatus may encode the first division information and the MPT division information for the second object block and output the same through a bit stream, and the bit stream is stored in a non-transitory computer readable medium .
  • the encoding apparatus may generate the first division information for the first object block.
  • the first segmentation information may include a Quad Tree (QT) segmentation flag for the first object block.
  • the QT segmentation flag may indicate whether the block is divided into subblocks of a size of a half height and a half width of the block.
  • the encoding apparatus may generate the second division information for the second object block, and the second division information may include a QT division flag for the second object block.
  • the encoding apparatus may generate the MPT division information for the second target block.
  • the MPT division information may be generated when the second target block is not divided based on the QT division flag for the second target block. That is, it can be generated when the second object block is not divided through the QT structure.
  • the MPT segmentation information may include MPT (Multiple Partitioning Tree) segmentation type information and MPT segmentation direction information for the second target block.
  • MPT Multiple Partitioning Tree
  • the MPT division type information may indicate the number of the second subblocks in which the second object block is divided
  • the MPT division direction information may indicate a dividing direction of the second object block. Specifically, if the value of the MPT split type information is 0, the MPT split type information may indicate that the second target block is not divided.
  • the type information may indicate that the number of the second subblocks is 2, and when the value of the MPT division type information is 2, the MPT division type information may indicate that the number of the second subblocks is 3 , And when the value of the MPT division type information is 3, the MPT division type information may indicate that the number of the second sub-blocks is four.
  • the value of the MPT division direction information is 0, it can indicate that the division direction of the second object block is horizontal, and when the value of the MPT division direction information is 1, Can be represented as a vertical direction.
  • MPT sub-partition type information for the block.
  • the MPT sub-type information indicates that the number of the second sub-blocks is three, and when the dividing direction of the second object block indicated by the MPT dividing direction information is vertical, Type 1 or Type 2 can be indicated. Specifically, when the value of the MPT sub-type information is 0, the MPT sub-type information may indicate a type 0. If the value of the MPT sub-type information is 1, the MPT sub- Type 1, and if the value of the MPT detailed division type information is 2, the MPT detailed division type information may indicate the type 2.
  • the second left subblock among the second subblocks can be derived as the second subblock of the Nx2N size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as the second sub-block of the Nx2N size, and when the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the Nx2N size.
  • the MPT division information is the second object MPT sub-partition type information for the block.
  • the division type of the second object block is Type 0, Type 1 or Type 2 can be indicated.
  • the MPT sub-type information may indicate a type 0.
  • the MPT detailed division type information may indicate the type 2.
  • the second upper subblock among the second subblocks can be derived as the second subblock of the 2NxN size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as a second sub-block of the 2NxN size, and if the MPT sub-block type information indicates Type 2, And the lower second sub-block may be derived as the second sub-block of the 2NxN size.
  • the MPT partition information may include a multiple partitioning tree (MPT) partition flag for the second object block.
  • the MPT division flag may indicate whether the second object block is divided into the second subblocks that are non-square blocks. Specifically, when the value of the MPT division flag is 0, the MPT division flag may indicate that the second object block is not divided, and when the value of the MPT division flag is 1, And the second target block may be divided into the second sub-blocks through the MPT structure. That is, when the value of the MPT division flag is 1, the MPT division flag may be divided into the second sub-blocks which are non-square blocks.
  • MPT multiple partitioning tree
  • the MPT division information may include MPT division direction information and MPT division type information for the second object block.
  • the MPT division direction information may indicate the dividing direction of the second object block
  • the MPT division type information may indicate the number of the second sub-blocks in which the second object block is divided.
  • the MPT division direction information when the value of the MPT division direction information is 0, it can indicate that the division direction of the second object block is a horizontal direction, and when the value of the MPT division direction information is 1, Direction can be represented as a vertical direction.
  • the MPT division type information may indicate that the number of the second sub-blocks is 2.
  • the type information may indicate that the number of the second subblocks is 3.
  • the MPT division type information may indicate that the number of the second subblocks is four .
  • MPT sub-partition type information indicates that the number of the second sub-blocks is three, and when the dividing direction of the second object block indicated by the MPT dividing direction information is vertical, Type 1 or Type 2 can be indicated. Specifically, for example, if the value of the MPT sub-type information is 0, the MPT sub-type information may indicate Type 0, and if the value of the MPT sub-type information is 1, The division type information may indicate Type 1, and when the value of the MPT detailed division type information is 2, the MPT detailed division type information may indicate Type 2.
  • the second left subblock among the second subblocks can be derived as the second subblock of the Nx2N size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as the second sub-block of the Nx2N size, and when the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the Nx2N size.
  • the MPT division information is the second object MPT sub-partition type information for the block.
  • the division type of the second object block is Type 0, Type 1 or Type 2 can be indicated.
  • the MPT sub-type information may indicate Type 0 and if the value of the MPT sub-type information is 1, The division type information may indicate Type 1, and when the value of the MPT detailed division type information is 2, the MPT detailed division type information may indicate Type 2.
  • the second upper subblock among the second subblocks can be derived as the second subblock of the 2NxN size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as a second sub-block of the 2NxN size, and if the MPT sub-block type information indicates Type 2, And the lower second sub-block may be derived as the second sub-block of the 2NxN size.
  • the MPT segmentation information may be signaled through a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or the like.
  • SPS sequence parameter set
  • PPS picture parameter set
  • slice segment header or the like.
  • the number of bits of the binarization string representing the MPT division information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information indicating the division type most commonly applied to the blocks in the input image (or the target picture) among the division types is the smallest bit number among the bit numbers of the binary strings representing the division types Can be derived.
  • the binary string derived based on the division type can be derived as shown in Table 2, Table 3, Table 4, Table 5, or Table 6 described above.
  • the bit stream including the MPT division information may be transmitted to a decoding apparatus through a network or (digital) storage medium.
  • the network may include a broadcasting network and / or a communication network
  • the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.
  • FIG. 9 schematically shows a video decoding method by a decoding apparatus according to the present invention.
  • the method disclosed in Fig. 9 can be performed by the decoding apparatus disclosed in Fig.
  • S900 and S920 of FIG. 9 may be performed by the entropy decoding unit of the decoding apparatus
  • S910 and S930 may be performed by the picture division unit of the decoding apparatus
  • S940 may be performed by the decoding apparatus As shown in FIG.
  • the decoding apparatus obtains the first division information for the first object block through the bit stream (S900).
  • the decoding apparatus may obtain the first division information for the first object block through a bitstream.
  • the first information may include a QT (Quad Tree) division flag for the first object block.
  • the QT segmentation flag may indicate whether the block is divided into subblocks of a size of a half height and a half width of the block.
  • the decoding apparatus divides the first object block into the first sub-blocks (S910).
  • the decoding apparatus may divide the first object block into the first subblocks.
  • the first object block may be divided into four first sub-blocks, and the first sub-block may have a half height and a half width of the first object block. Size sub-blocks.
  • the decoding apparatus obtains the MPT division information for the second target block, which is one of the first sub-blocks of the first target block, through the bitstream (S920).
  • the decoding apparatus may obtain the MPT division information for the second object block through a bitstream.
  • the MPT segmentation information may be signaled through a sequence parameter set (SPS), a picture parameter set (PPS), a slice segment header, or the like.
  • the decoding apparatus divides the second target block into second subblocks based on the MPT division information (S930).
  • the decoding apparatus may divide the second object block into second subblocks through a multiple partitioning tree (MPT) partition type derived based on the MPT partition information. If the second partition information for the second object block can be obtained through the bitstream and the second object block is not divided based on the second partition information for the second object block, The second object block may be divided into the second sub-blocks based on the MPT division information.
  • the second segmentation information may include a QT segmentation flag for the second object block.
  • the MPT division information is obtained by dividing the QT division flag for the second object block into subblocks of a size of a half height and a half width of the second object block, ≪ / RTI > That is, the MPT partition information may be obtained when the second target block is not divided based on the QT partition flag for the second target block.
  • the second object block may be divided into two, three or four second sub-blocks in the vertical or horizontal direction based on the MPT division information.
  • the second object block may include second Nx2N size second subblocks, two 2NxN size second subblocks, one Nx2N size second Block and two N / 2x2N size second subblocks, one 2NxN second subblock and two 2NxN / 2 second subblocks, four N / 2x2N second subblocks, , Or 4 second 2NxN / 2 size second subblocks.
  • the second sub-block of the Nx2N size is divided into left second sub- The center second sub-block or the right second sub-block.
  • the second sub-block of 2NxN size is divided into upper second sub- The central second sub-block or the lower second sub-block.
  • the number of bits of the binarization string indicating the MPT division information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information indicating the division type most commonly applied to the blocks in the input image (or the target picture) among the division types is the smallest bit number among the bit numbers of the binary strings representing the division types Can be derived.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 2 or Table 3 above.
  • the binarization string of the MPT division information may be set to 0 when the second object block is divided into two second subblocks in the vertical direction or the horizontal direction, Block 100 is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 100,
  • a case where the second sub-block of the Nx2N size or the 2NxN size is divided into three second sub-blocks in the horizontal direction is the central second sub-block 1010, and the second object block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • a case where the second sub-block of Nx2N size or 2NxN size is divided into the second sub-block is the right or lower second sub-block 1011, And may be 11 when divided into four sub-blocks in the vertical direction or the horizontal direction.
  • the binarization string of the MPT division information may include a binarization string of 00 if the second object block is divided into two second subblocks in the vertical direction or the horizontal direction, Or a second sub-block of Nx2N size or 2NxN size divided into three second sub-blocks in the horizontal direction is the left or upper second sub-block 10, the second target block is divided into the vertical direction or the horizontal direction Blocks, the second sub-block having Nx2N size or 2NxN size is divided into three second sub-blocks, and the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction, A second sub-block of Nx2N size or 2NxN size is divided into sub-blocks, 111 is the right or lower second sub-block, 111 is the second sub- 4 of the S-direction or in the horizontal direction is possible if 01 days are split into two sub-blocks.
  • the binarization string of the MPT division information may be set to 0 when the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Or a second sub-block of Nx2N size or 2NxN size divided into three second sub-blocks in the horizontal direction is the left or upper second sub-block 10, the second target block is divided into the vertical direction or the horizontal direction A second sub-block of Nx2N size or 2NxN size is divided into three sub-blocks, and the second sub-block is divided into three sub-blocks, A second sub-block of Nx2N size or 2NxN size is divided into sub-blocks 1111 if the second sub-block is the right or lower second sub-block, And may be 110 when divided into four sub-blocks in the vertical direction or in the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction Block 1020, the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 1100, If the second object block is divided into three second sub-blocks in the vertical direction or the horizontal direction, and the second sub-block of size Nx2N or 2NxN is the central second sub-block 11010, A second sub-block of Nx2N size or 2NxN size divided into three sub-blocks in the vertical direction or in the horizontal direction, If the two sub-blocks 11 011, the first can 111 be if the second current block is divided into four second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 110
  • the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the central second sub-block 1110
  • a second sub-block of Nx2N size or 2NxN size which is divided into three second sub-blocks in the vertical direction or the horizontal direction, Block when the second target block is divided into the second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • a second target block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction, and a second sub-block of size Nx2N or 2NxN is the left or upper second sub-block 110
  • the second target block is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second sub-block of size Nx2N or 2NxN is the central second sub-block 11110
  • a second sub-block of Nx2N size or 2NxN size which is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • Block 11111 in the case of 2 sub-blocks, and 1110 in the case where the second object block is divided into the second sub-blocks in the vertical direction or in the horizontal direction.
  • the second target block may be divided into two, three or four second sub-blocks in the vertical or horizontal direction based on the MPT division information.
  • the second object block may include second Nx2N size second subblocks, two 2NxN size second subblocks, one Nx2N size second Block and two N / 2x2N size second subblocks, one 2NxN second subblock and two 2NxN / 2 second subblocks, four N / 2x2N second subblocks, , Or 4 second 2NxN / 2 size second subblocks.
  • the second sub-block of the Nx2N size is divided into a central second sub- Can be derived.
  • the second target block is divided into a second sub-block of 2NxN size and second sub-blocks of 2NxN / 2 size
  • the second sub-block of 2NxN size is divided into a center second sub-block Can be derived.
  • the number of bits of the binarization string indicating the MPT division information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 4 or Table 5 above.
  • the binarization string of the MPT division information is set to 0 when the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block is divided into three sub-blocks in the vertical direction or in the horizontal direction, and 10 when the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction, .
  • the binary string of the MPT division information may include a binary string of 10 if the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block when the second target block is divided into three second sub-blocks in the vertical direction or the third sub-block in the horizontal direction.
  • the binary string of the MPT division information may include a binary string of 10 if the second object block is divided into two second sub-blocks in the vertical direction or the horizontal direction, Block when the second object block is divided into three second sub-blocks in the horizontal direction, and 11 when the second object block is divided into three second sub-blocks in the vertical direction or the horizontal direction.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or the horizontal direction
  • the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 111 when divided into the second sub-block.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • the second target block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 111 when divided into the second sub-block.
  • the binary string of the MPT division information may be set to 0 when the second object block is not divided by the MPT, to 0 when the second object block is divided into two second sub-blocks in the vertical direction or in the horizontal direction
  • Block 110 is divided into three second sub-blocks in the vertical direction or in the horizontal direction
  • 111 the second object block is divided into three sub-blocks in the vertical direction or in the horizontal direction
  • And may be 10 when divided into the second sub-block.
  • the second target block may be divided into two or three second sub-blocks in the vertical direction or the horizontal direction based on the MPT division information.
  • the second object block may be divided into two or three second sub-blocks in a vertical direction or a horizontal direction based on the MPT division information, and the size of the second object block is 2Nx2N If the second object block is divided into two second sub-blocks in the vertical direction, the second object block may be divided into second sub-blocks of Nx2N size, and the second object block When the size of the second object block is 2Nx2N and the second object block is divided into two second subblocks in the horizontal direction, the second object block may be divided into second subblocks of 2NxN size, Block size of 2Nx2N and the second object block is divided into three second sub-blocks in the vertical direction, a left second sub-block of size N / 2x2N, a center second sub-block of size Nx2N The And the right second sub-block of size N / 2x
  • the number of bits of the binarization string indicating the MPT division information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information derived based on the division type can be derived as shown in Table 6 above.
  • the binarization string of the MPT division information may be 10
  • the target block is divided into three second subblocks in the vertical direction or the horizontal direction
  • the binary string of the MPT division information may be 11.
  • the binary string of the MPT division information may be zero.
  • the MPT division information may include the following information.
  • the MPT segmentation information may include MPT (Multiple Partitioning Tree) segmentation type information and MPT segmentation direction information for the second target block.
  • MPT Multiple Partitioning Tree
  • the MPT division type information may indicate the number of the second subblocks in which the second object block is divided
  • the MPT division direction information may indicate a dividing direction of the second object block. Specifically, if the value of the MPT split type information is 0, the MPT split type information may indicate that the second target block is not divided.
  • the type information may indicate that the number of the second subblocks is 2, and when the value of the MPT division type information is 2, the MPT division type information may indicate that the number of the second subblocks is 3 , And when the value of the MPT division type information is 3, the MPT division type information may indicate that the number of the second sub-blocks is four.
  • the value of the MPT division direction information is 0, it can indicate that the division direction of the second object block is horizontal, and when the value of the MPT division direction information is 1, Can be represented as a vertical direction.
  • the second object block may be divided into the second sub-blocks based on the MPT division information.
  • the second object block may be divided into the second sub-blocks of size Nx2N, the size of the second object block is 2Nx2N, the number of the second sub-blocks represented by the MPT division type information
  • the second object block indicated by the MPT division direction information is a horizontal direction, the second object block may be divided into the second sub-blocks of 2NxN size.
  • the second target block may be divided into a second sub-block of Nx2N size and second sub-blocks of N / 2x2N size, the size of the second target block is 2Nx2N, the MPT division type
  • the second object block is divided into a second subblock of 2NxN size and a 2NxN / 2 < / RTI > sized sub-blocks.
  • the central second sub-block of the second sub-block is divided into the second sub-block of the Nx2N size
  • the center second sub-block of the second sub-blocks is derived as the second sub-block of the 2NxN size .
  • the MPT division information may include MPT sub-division type information. If the value of the MPT sub-division type information is 0, the MPT sub-division type information may indicate type 0, and if the value of the MPT sub-type information is 1, the MPT sub- And if the value of the MPT detailed partition type information is 2, the MPT detailed partition type information may indicate the type 2.
  • the second left subblock among the second subblocks can be derived as the second subblock of the Nx2N size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as the second sub-block of the Nx2N size, and when the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the Nx2N size. If the size of the second target block is 2Nx2N, the number of the second subblocks indicated by the MPT division type information is 3, and the dividing direction of the second target block indicated by the MPT dividing direction information is a horizontal direction In this case, the MPT division information may include MPT sub-division type information.
  • the MPT sub-division type information may indicate type 0, and if the value of the MPT sub-type information is 1, the MPT sub- And if the value of the MPT detailed partition type information is 2, the MPT detailed partition type information may indicate the type 2.
  • the second upper subblock among the second subblocks can be derived as the second subblock of the 2NxN size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as a second sub-block of the 2NxN size, and if the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the 2NxN size.
  • the second target block may be divided into the second sub-blocks of size N / 2x2N, the size of the second target block is 2Nx2N, and the second target block, which is represented by the MPT division type information, If the number of blocks is 4 and the dividing direction of the second object block indicated by the MPT dividing direction information is a horizontal direction, the second object block may be divided into the second sub-blocks of 2NxN / 2 size .
  • the MPT division information may include a MPT division information
  • the MPT division information may include a multiple partitioning tree (MPT) division flag for the second object block.
  • the MPT division flag may indicate whether the second object block is divided into the second subblocks that are non-square blocks. Specifically, when the value of the MPT division flag is 0, the MPT division flag may indicate that the second object block is not divided, and when the value of the MPT division flag is 1, And the second target block may be divided into the second sub-blocks through the MPT structure. That is, when the value of the MPT division flag is 1, the MPT division flag may be divided into the second sub-blocks which are non-square blocks.
  • the MPT division information may include MPT division direction information and MPT division type information for the second object block.
  • the MPT division direction information may indicate the dividing direction of the second object block
  • the MPT division type information may indicate the number of the second sub-blocks in which the second object block is divided. Specifically, when the value of the MPT division direction information is 0, it can indicate that the division direction of the second object block is a horizontal direction, and when the value of the MPT division direction information is 1, Direction can be represented as a vertical direction. In addition, when the value of the MPT division type information is 0, the MPT division type information may indicate that the number of the second sub-blocks is 2.
  • the type information may indicate that the number of the second subblocks is 3. If the value of the MPT division type information is 2, the MPT division type information may indicate that the number of the second subblocks is four .
  • the second object block may be divided into the second sub-blocks based on the MPT division information.
  • the second object block may be divided into the second sub-blocks of size Nx2N, the size of the second object block is 2Nx2N, the number of the second sub-blocks represented by the MPT division type information
  • the second object block indicated by the MPT division direction information is a horizontal direction, the second object block may be divided into the second sub-blocks of 2NxN size.
  • the second target block may be divided into a second sub-block of Nx2N size and second sub-blocks of N / 2x2N size, the size of the second target block is 2Nx2N, the MPT division type
  • the second object block is divided into a second subblock of 2NxN size and a 2NxN / 2 < / RTI > sized sub-blocks.
  • the central second sub-block of the second sub-block is divided into the second sub-block of the Nx2N size
  • the center second sub-block of the second sub-blocks is derived as the second sub-block of the 2NxN size .
  • the MPT division information may include MPT sub-division type information. If the value of the MPT sub-division type information is 0, the MPT sub-division type information may indicate type 0, and if the value of the MPT sub-type information is 1, the MPT sub- And if the value of the MPT detailed partition type information is 2, the MPT detailed partition type information may indicate the type 2.
  • the second left subblock among the second subblocks can be derived as the second subblock of the Nx2N size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as the second sub-block of the Nx2N size, and when the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the Nx2N size. If the size of the second target block is 2Nx2N, the number of the second subblocks indicated by the MPT division type information is 3, and the dividing direction of the second target block indicated by the MPT dividing direction information is a horizontal direction In this case, the MPT division information may include MPT sub-division type information.
  • the MPT sub-division type information may indicate type 0, and if the value of the MPT sub-type information is 1, the MPT sub- And if the value of the MPT detailed partition type information is 2, the MPT detailed partition type information may indicate the type 2.
  • the second upper subblock among the second subblocks can be derived as the second subblock of the 2NxN size, and when the MPT detailed division type information indicates Type 1, Blocks, the center second sub-block of the second sub-blocks may be derived as a second sub-block of the 2NxN size, and if the MPT sub-block type information indicates Type 2, And the right second sub-block may be derived as the second sub-block of the 2NxN size.
  • the second target block may be divided into the second sub-blocks of size N / 2x2N, the size of the second target block is 2Nx2N, and the second target block, which is represented by the MPT division type information, If the number of blocks is 4 and the dividing direction of the second object block indicated by the MPT dividing direction information is a horizontal direction, the second object block may be divided into the second sub-blocks of 2NxN / 2 size .
  • the number of bits of the binarization string indicating the MPT division information may be variable based on the partition type of the second object block.
  • the binary string of the MPT division information indicating the division type most commonly applied to the blocks in the input image (or the target picture) among the division types is the smallest bit number among the bit numbers of the binary strings representing the division types Can be derived.
  • the binary string derived based on the division type can be derived as shown in Table 2, Table 3, Table 4, Table 5, or Table 6 described above.
  • the decoding apparatus decodes the second sub-blocks (S940).
  • the decoding apparatus may decode the second subblocks. Specifically, the decoding apparatus may generate intra prediction or inter prediction for the second sub-block to generate prediction samples of the second sub-block, and based on the prediction samples, A reconstruction sample for a block can be generated, and a reconstructed picture can be generated based on the reconstruction sample.
  • the decoding apparatus may use the predicted sample as a reconstructed sample immediately according to a prediction mode, or add a residual sample to the predicted sample to generate a reconstructed sample.
  • the decoding apparatus can receive information about the residual for the target block, and the information about the residual can be included in the information about the pace.
  • the information on the residual may include a transform coefficient relating to the residual sample.
  • the decoding apparatus may derive the residual samples (or residual sample arrays) for the target block based on the residual information.
  • the decoding apparatus may generate a reconstructed sample based on the prediction sample and the residual sample, and may derive a reconstructed block or a reconstructed picture based on the reconstructed sample.
  • an in-loop filtering procedure such as deblocking filtering and / or SAO procedure to the restored picture in order to improve subjective / objective picture quality as necessary.
  • the picture can be divided into various types of blocks through a multiple partitioning tree (MPT) structure, thereby improving the prediction efficiency and improving the overall coding efficiency.
  • MPT multiple partitioning tree
  • a picture can be divided into various types of blocks through a multiple partitioning tree (MPT) structure, thereby improving the transform efficiency and improving the overall coding efficiency.
  • MPT partitioning tree
  • the above-described method according to the present invention can be implemented in software, and the encoding apparatus and / or decoding apparatus according to the present invention can perform image processing of, for example, a TV, a computer, a smart phone, a set- Device.
  • the above-described method may be implemented by a module (a process, a function, and the like) that performs the above-described functions.
  • the module is stored in memory and can be executed by the processor.
  • the memory may be internal or external to the processor and may be coupled to the processor by any of a variety of well known means.
  • the processor may comprise an application-specific integrated circuit (ASIC), other chipset, logic circuitry and / or a data processing device.
  • the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory cards, storage media, and / or other storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명에 따른 디코딩 장치에 의하여 수행되는 영상 디코딩 방법은 제1 대상 블록에 대한 제1 분할(split) 정보를 획득하는 단계, 상기 제1 분할 정보가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할하는 단계, 상기 제1 대상 블록의 상기 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT 분할 정보를 획득하는 단계, 상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할하는 단계, 및 상기 제2 서브 블록들을 디코딩하는 단계를 포함함을 특징으로 하되, 상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 한다.

Description

영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
본 발명은 영상 코딩 기술에 관한 것으로서 보다 상세하게는 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다.
이에 따라, 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고, 재생하기 위해 고효율의 영상 압축 기술이 요구된다.
본 발명의 기술적 과제는 영상 코딩 효율을 높이는 방법 및 장치를 제공함에 있다.
본 발명의 다른 기술적 과제는 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 분할하는 영상 디코딩 방법 및 장치를 제공함에 있다.
본 발명의 또 다른 기술적 과제는 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 비정방형 블록들로 분할하고, 각 비정방형 블록들을 기반으로 디코딩하는 방법 및 장치를 제공함에 있다.
본 발명의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은 제1 대상 블록에 대한 제1 분할(split) 정보를 획득하는 단계, 상기 제1 분할 정보가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할하는 단계, 상기 제1 대상 블록의 상기 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 정보를 획득하는 단계, 상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할하는 단계, 및 상기 제2 서브 블록들을 디코딩하는 단계를 포함함을 특징으로 하되, 상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 한다.
본 발명의 다른 일 실시예에 따르면, 영상 디코딩을 수행하는 디코딩 장치가 제공된다. 상기 디코딩 장치는 비트스트림을 통하여 제1 대상 블록에 대한 제1 분할(split) 정보를 획득하고, 상기 제1 대상 블록의 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT 분할 정보를 획득하는 엔트로피 디코딩부, 상기 제1 대상 블록에 대한 상기 제1 분할 정보가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할하고, 상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할하는 픽처 분할부, 및 상기 제2 서브 블록들을 디코딩하는 예측부를 포함하되, 상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 한다.
본 발명의 또 다른 일 실시예에 따르면, 인코딩 장치에 의하여 수행되는 비디오 인코딩 방법을 제공한다. 상기 방법은 제1 대상 블록을 제1 서브 블록들로 분할하는 단계, 상기 제1 서브 블록들 중 하나인 제2 대상 블록을 제2 서브 블록들로 분할하는 단계, 상기 제2 서브 블록들을 디코딩하는 단계, 및 상기 제1 대상 블록에 대한 제1 분할 정보, 및 상기 제2 대상 블록에 대한 MPT 분할 정보를 생성하고 인코딩하여 출력하는 단계를 포함하되, 상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 한다.
본 발명의 또 다른 일 실시예에 따르면, 비디오 인코딩 장치를 제공한다. 상기 인코딩 장치는 제1 대상 블록을 제1 서브 블록들로 분할하고, 상기 제1 서브 블록들 중 하나인 제2 대상 블록을 제2 서브 블록들로 분할하는 픽처 분할부, 상기 제2 서브 블록들을 디코딩하는 예측부, 및 상기 제1 대상 블록에 대한 제1 분할 정보, 및 상기 제2 대상 블록에 대한 MPT 분할 정보를 생성하고 인코딩하여 출력하는 엔트로피 인코딩부를 포함하되, 상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 한다.
본 발명에 따르면 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 다양한 형태의 블록들로 분할할 수 있고, 이를 통하여, 예측 효율을 향상시킬 수 있고 전반적인 코딩 효율을 향상시킬 수 있다.
본 발명에 따르면 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 다양한 형태의 블록들로 분할할 수 있고, 이를 통하여, 변환(transform) 효율을 향상시킬 수 있고 전반적인 코딩 효율을 향상시킬 수 있다.
도 1은 본 발명이 적용될 수 있는 비디오 인코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 2는 본 발명이 적용될 수 있는 비디오 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 3은 QTBT(Quad Tree Binary Tree) 구조를 통하여 분할된 CU 및 상기 QTBT 구조의 신텍스를 예시적으로 나타낸다.
도 4는 대상 CU에 대한 상기 QTBT 구조의 신텍스들이 전송되는 일 예를 나타낸다.
도 5는 상기 QTMPT 구조를 통하여 분할된 대상 CU를 예시적으로 나타낸다.
도 6은 대상 CU에 대한 상기 QTMPT 구조의 신텍스들이 전송되는 일 예를 나타낸다.
도 7은 대상 CU에 대한 상기 QTMPT 구조의 신텍스들이 전송되는 일 예를 나타낸다.
도 8은 본 발명에 따른 인코딩 장치에 의한 비디오 인코딩 방법을 개략적으로 나타낸다.
도 9는 본 발명에 따른 디코딩 장치에 의한 비디오 디코딩 방법을 개략적으로 나타낸다.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정 실시예에 한정하려고 하는 것이 아니다. 본 명세서에서 상용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 도는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
한편, 본 발명에서 설명되는 도면상의 각 구성들은 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성 요소에 대해서는 동일한 참조 부호를 사용하고 동일한 구성 요소에 대해서 중복된 설명은 생략한다.
본 명세서에서 픽처(picture)는 일반적으로 특정 시간대의 하나의 영상을 나타내는 단위를 의미하며, 슬라이스(slice)는 코딩에 있어서 픽처의 일부를 구성하는 단위이다. 하나의 픽처는 복수의 슬라이스로 구성될 수 있으며, 필요에 따라서 픽처 및 슬라이스는 서로 혼용되어 사용될 수 있다.
픽셀(pixel) 또는 펠(pel)은 하나의 픽처(또는 영상)을 구성하는 최소의 단위를 의미할 수 있다. 또한, 픽셀에 대응하는 용어로서 '샘플(sample)'이 사용될 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다.
유닛(unit)은 영상 처리의 기본 단위를 나타낸다. 유닛은 픽처의 특정 영역 및 해당 영역에 관련된 정보 중 적어도 하나를 포함할 수 있다. 유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다.
도 1은 본 발명이 적용될 수 있는 비디오 인코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 1을 참조하면, 비디오 인코딩 장치(100)는 픽처 분할부(105), 예측부(110), 레지듀얼 처리부(120), 엔트로피 인코딩부(130), 가산부(140), 필터부(150) 및 메모리(160)을 포함할 수 있다. 레지듀얼 처리부(120)는 감산부(121), 변환부(122), 양자화부(123), 재정렬부(124), 역양자화부(125) 및 역변환부(126)를 포함할 수 있다.
픽처 분할부(105)는 입력된 픽처를 적어도 하나의 처리 유닛(processing unit)으로 분할할 수 있다.
일 예로, 처리 유닛은 코딩 유닛(coding unit, CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBT (Quad-tree binary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조 및/또는 바이너리 트리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 발명에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다.
다른 예로, 처리 유닛은 코딩 유닛(coding unit, CU) 예측 유닛(prediction unit, PU) 또는 변환 유닛(transform unit, TU)을 포함할 수도 있다. 코딩 유닛은 최대 코딩 유닛(largest coding unit, LCU)으로부터 쿼드 트리 구조를 따라서 하위(deeper) 뎁스의 코딩 유닛들로 분할(split)될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 최소 코딩 유닛(smallest coding unit, SCU)이 설정된 경우 코딩 유닛은 최소 코딩 유닛보다 더 작은 코딩 유닛으로 분할될 수 없다. 여기서 최종 코딩 유닛이라 함은 예측 유닛 또는 변환 유닛으로 파티셔닝 또는 분할되는 기반이 되는 코딩 유닛을 의미한다. 예측 유닛은 코딩 유닛으로부터 파티셔닝(partitioning)되는 유닛으로서, 샘플 예측의 유닛일 수 있다. 이 때, 예측 유닛은 서브 블록(sub block)으로 나뉠 수도 있다. 변환 유닛은 코딩 유닛으로부터 쿼드 트리 구조를 따라서 분할 될 수 있으며, 변환 계수를 유도하는 유닛 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 유닛일 수 있다. 이하, 코딩 유닛은 코딩 블록(coding block, CB), 예측 유닛은 예측 블록(prediction block, PB), 변환 유닛은 변환 블록(transform block, TB) 으로 불릴 수 있다. 예측 블록 또는 예측 유닛은 픽처 내에서 블록 형태의 특정 영역을 의미할 수 있고, 예측 샘플의 어레이(array)를 포함할 수 있다. 또한, 변환 블록 또는 변환 유닛은 픽처 내에서 블록 형태의 특정 영역을 의미할 수 있고, 변환 계수 또는 레지듀얼 샘플의 어레이를 포함할 수 있다.
예측부(110)는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(110)에서 수행되는 예측의 단위는 코딩 블록일 수 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다.
예측부(110)는 현재 블록에 인트라 예측이 적용되는지 인터 예측이 적용되는지를 결정할 수 있다. 일 예로, 예측부(110)는 CU 단위로 인트라 예측 또는 인터 예측이 적용되는지를 결정할 수 있다.
인트라 예측의 경우에, 예측부(110)는 현재 블록이 속하는 픽처(이하, 현재 픽처) 내의 현재 블록 외부의 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 예측부(110)는 (i) 현재 블록의 주변(neighboring) 참조 샘플들의 평균(average) 혹은 인터폴레이션(interpolation)을 기반으로 예측 샘플을 유도할 수 있고, (ii) 현재 블록의 주변 참조 샘플들 중 예측 샘플에 대하여 특정 (예측) 방향에 존재하는 참조 샘플을 기반으로 상기 예측 샘플을 유도할 수도 있다. (i)의 경우는 비방향성 모드 또는 비각도 모드, (ii)의 경우는 방향성(directional) 모드 또는 각도(angular) 모드라고 불릴 수 있다. 인트라 예측에서 예측 모드는 예를 들어 33개의 방향성 예측 모드와 적어도 2개 이상의 비방향성 모드를 가질 수 있다. 비방향성 모드는 DC 예측 모드 및 플래너 모드(Planar 모드)를 포함할 수 있다. 예측부(110)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측의 경우에, 예측부(110)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 샘플을 기반으로, 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(110)는 스킵(skip) 모드, 머지(merge) 모드, 및 MVP(motion vector prediction) 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 스킵 모드와 머지 모드의 경우에, 예측부(110)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차(레지듀얼)가 전송되지 않는다. MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(Motion Vector Predictor)로 이용하여 현재 블록의 움직임 벡터 예측자로 이용하여 현재 블록의 움직임 벡터를 유도할 수 있다.
인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처(reference picture)에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 움직임 정보(motion information)는 움직임 벡터와 참조 픽처 인덱스를 포함할 수 있다. 예측 모드 정보와 움직임 정보 등의 정보는 (엔트로피) 인코딩되어 비트스트림 형태로 출력될 수 있다.
스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트(reference picture list) 상의 최상위 픽처가 참조 픽처로서 이용될 수도 있다. 참조 픽처 리스트(Picture Order Count)에 포함되는 참조 픽처들은 현재 픽처와 해당 참조 픽처 간의 POC(Picture order count) 차이 기반으로 정렬될 수 있다. POC는 픽처의 디스플레이 순서에 대응하며, 코딩 순서와 구분될 수 있다.
감산부(121)는 원본 샘플과 예측 샘플 간의 차이인 레지듀얼 샘플을 생성한다. 스킵 모드가 적용되는 경우에는, 상술한 바와 같이 레지듀얼 샘플을 생성하지 않을 수 있다.
변환부(122)는 변환 블록 단위로 레지듀얼 샘플을 변환하여 변환 계수(transform coefficient)를 생성한다. 변환부(122)는 해당 변환 블록의 사이즈와, 해당 변환 블록과 공간적으로 겹치는 코딩 블록 또는 예측 블록에 적용된 예측 모드에 따라서 변환을 수행할 수 있다. 예컨대, 상기 변환 블록과 겹치는 상기 코딩 블록 또는 상기 예측 블록에 인트라 예측이 적용되었고, 상기 변환 블록이 4×4의 레지듀얼 어레이(array)라면, 레지듀얼 샘플은 DST(Discrete Sine Transform) 변환 커널을 이용하여 변환되고, 그 외의 경우라면 레지듀얼 샘플은 DCT(Discrete Cosine Transform) 변환 커널을 이용하여 변환할 수 있다.
양자화부(123)는 변환 계수들을 양자화하여, 양자화된 변환 계수를 생성할 수 있다.
재정렬부(124)는 양자화된 변환 계수를 재정렬한다. 재정렬부(124)는 계수들 스캐닝(scanning) 방법을 통해 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있다. 여기서 재정렬부(124)는 별도의 구성으로 설명하였으나, 재정렬부(124)는 양자화부(123)의 일부일 수 있다.
엔트로피 인코딩부(130)는 양자화된 변환 계수들에 대한 엔트로피 인코딩을 수행할 수 있다. 엔트로피 인코딩은 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding) 등과 같은 인코딩 방법을 포함할 수 있다. 엔트로피 인코딩부(130)는 양자화된 변환 계수 외 비디오 복원에 필요한 정보들(예컨대 신택스 요소(syntax element)의 값 등)을 함께 또는 별도로 인코딩할 수도 있다. 엔트로피 인코딩된 정보들은 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다.
역양자화부(125)는 양자화부(123)에서 양자화된 값(양자화된 변환 계수)들을 역양자화하고, 역변환부(126)는 역양자화부(125)에서 역양자화된 값들을 역변환하여 레지듀얼 샘플을 생성한다.
가산부(140)는 레지듀얼 샘플과 예측 샘플을 합쳐서 픽처를 복원한다. 레지듀얼 샘플과 예측 샘플은 블록 단위로 더해져서 복원 블록이 생성될 수 있다. 여기서 가산부(140)는 별도의 구성으로 설명하였으나, 가산부(140)는 예측부(110)의 일부일 수 있다. 한편, 가산부(140)는 복원부 또는 복원 블록 생성부로 불릴 수도 있다.
복원된 픽처(reconstructed picture)에 대하여 필터부(150)는 디블록킹 필터 및/또는 샘플 적응적 오프셋(sample adaptive offset)을 적용할 수 있다. 디블록킹 필터링 및/또는 샘플 적응적 오프셋을 통해, 복원 픽처 내 블록 경계의 아티팩트나 양자화 과정에서의 왜곡이 보정될 수 있다. 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링의 과정이 완료된 후 적용될 수 있다. 필터부(150)는 ALF(Adaptive Loop Filter)를 복원된 픽처에 적용할 수도 있다. ALF는 디블록킹 필터 및/또는 샘플 적응적 오프셋이 적용된 후의 복원된 픽처에 대하여 적용될 수 있다.
메모리(160)는 복원 픽처(디코딩된 픽처) 또는 인코딩/디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(150)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 상기 저장된 복원 픽처는 다른 픽처의 (인터) 예측을 위한 참조 픽처로 활용될 수 있다. 예컨대, 메모리(160)는 인터 예측에 사용되는 (참조) 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트(reference picture set) 혹은 참조 픽처 리스트(reference picture list)에 의해 지정될 수 있다.
도 2는 본 발명이 적용될 수 있는 비디오 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 2를 참조하면, 비디오 디코딩 장치(200)는 엔트로피 디코딩부(210), 레지듀얼 처리부(220), 예측부(230), 가산부(240), 필터부(250) 및 메모리(260)을 포함할 수 있다. 여기서 레지듀얼 처리부(220)는 재정렬부(221), 역양자화부(222), 역변환부(223)을 포함할 수 있다.
비디오 정보를 포함하는 비트스트림이 입력되면, 비디오 디코딩 장치(200)는 비디오 인코딩 장치에서 비디오 정보가 처리된 프로세스에 대응하여 비디오를 복원할 수 있다.
예컨대, 비디오 디코딩 장치(200)는 비디오 인코딩 장치에서 적용된 처리 유닛을 이용하여 비디오 디코딩을 수행할 수 있다. 따라서 비디오 디코딩의 처리 유닛 블록은 일 예로 코딩 유닛일 수 있고, 다른 예로 코딩 유닛, 예측 유닛 또는 변환 유닛일 수 있다. 코딩 유닛은 최대 코딩 유닛으로부터 쿼드 트리 구조 및/또는 바이너리 트리 구조를 따라서 분할될 수 있다.
예측 유닛 및 변환 유닛이 경우에 따라 더 사용될 수 있으며, 이 경우 예측 블록은 코딩 유닛으로부터 도출 또는 파티셔닝되는 블록으로서, 샘플 예측의 유닛일 수 있다. 이 때, 예측 유닛은 서브 블록으로 나뉠 수도 있다. 변환 유닛은 코딩 유닛으로부터 쿼드 트리 구조를 따라서 분할 될 수 있으며, 변환 계수를 유도하는 유닛 또는 변환 계수로부터 레지듀얼 신호를 유도하는 유닛일 수 있다.
엔트로피 디코딩부(210)는 비트스트림을 파싱하여 비디오 복원 또는 픽처 복원에 필요한 정보를 출력할 수 있다. 예컨대, 엔트로피 디코딩부(210)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 비디오 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다.
보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다.
엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(230)로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수는 재정렬부(221)로 입력될 수 있다.
재정렬부(221)는 양자화되어 있는 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 재정렬부(221)는 인코딩 장치에서 수행된 계수 스캐닝에 대응하여 재정렬을 수행할 수 있다. 여기서 재정렬부(221)는 별도의 구성으로 설명하였으나, 재정렬부(221)는 역양자화부(222)의 일부일 수 있다.
역양자화부(222)는 양자화되어 있는 변환 계수들을 (역)양자화 파라미터를 기반으로 역양자화하여 변환 계수를 출력할 수 있다. 이 때, 양자화 파라미터를 유도하기 위한 정보는 인코딩 장치로부터 시그널링될 수 있다.
역변환부(223)는 변환 계수들을 역변환하여 레지듀얼 샘플들을 유도할 수 있다.
예측부(230)는 현재 블록에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(230)에서 수행되는 예측의 단위는 코딩 블록일 수도 있고, 변환 블록일 수도 있고, 예측 블록일 수도 있다.
예측부(230)는 상기 예측에 관한 정보를 기반으로 인트라 예측을 적용할 것인지 인터 예측을 적용할 것인지를 결정할 수 있다. 이 때, 인트라 예측과 인터 예측 중 어느 것을 적용할 것인지를 결정하는 단위와 예측 샘플을 생성하는 단위는 상이할 수 있다. 아울러, 인터 예측과 인트라 예측에 있어서 예측 샘플을 생성하는 단위 또한 상이할 수 있다. 예를 들어, 인터 예측과 인트라 예측 중 어느 것을 적용할 것인지는 CU 단위로 결정할 수 있다. 또한 예를 들어, 인터 예측에 있어서 PU 단위로 예측 모드를 결정하고 예측 샘플을 생성할 수 있고, 인트라 예측에 있어서 PU 단위로 예측 모드를 결정하고 TU 단위로 예측 샘플을 생성할 수도 있다.
인트라 예측의 경우에, 예측부(230)는 현재 픽처 내의 주변 참조 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 현재 블록의 주변 참조 샘플을 기반으로 방향성 모드 또는 비방향성 모드를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이 때, 주변 블록의 인트라 예측 모드를 이용하여 현재 블록에 적용할 예측 모드가 결정될 수도 있다.
인터 예측의 경우에, 예측부(230)는 참조 픽처 상에서 움직임 벡터에 의해 참조 픽처 상에서 특정되는 샘플을 기반으로 현재 블록에 대한 예측 샘플을 유도할 수 있다. 예측부(230)는 스킵(skip) 모드, 머지(merge) 모드 및 MVP 모드 중 어느 하나를 적용하여 현재 블록에 대한 예측 샘플을 유도할 수 있다. 이때, 비디오 인코딩 장치에서 제공된 현재 블록의 인터 예측에 필요한 움직임 정보, 예컨대 움직임 벡터, 참조 픽처 인덱스 등에 관한 정보는 상기 예측에 관한 정보를 기반으로 획득 또는 유도될 수 있다
스킵 모드와 머지 모드의 경우에, 주변 블록의 움직임 정보가 현재 블록의 움직임 정보로 이용될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.
예측부(230)는 가용한 주변 블록의 움직임 정보로 머지 후보 리스트를 구성하고, 머지 인덱스가 머지 후보 리스트 상에서 지시하는 정보를 현재 블록의 움직임 벡터로 사용할 수 있다. 머지 인덱스는 인코딩 장치로부터 시그널링될 수 있다. 움직임 정보는 움직임 벡터와 참조 픽처를 포함할 수 있다. 스킵 모드와 머지 모드에서 시간적 주변 블록의 움직임 정보가 이용되는 경우에, 참조 픽처 리스트 상의 최상위 픽처가 참조 픽처로서 이용될 수 있다.
스킵 모드의 경우, 머지 모드와 달리 예측 샘플과 원본 샘플 사이의 차이(레지듀얼)이 전송되지 않는다.
MVP 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하여 현재 블록의 움직임 벡터가 유도될 수 있다. 이 때, 주변 블록은 공간적 주변 블록과 시간적 주변 블록을 포함할 수 있다.
일 예로, 머지 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 머지 후보 리스트가 생성될 수 있다. 머지 모드에서는 머지 후보 리스트에서 선택된 후보 블록의 움직임 벡터가 현재 블록의 움직임 벡터로 사용된다. 상기 예측에 관한 정보는 상기 머지 후보 리스트에 포함된 후보 블록들 중에서 선택된 최적의 움직임 벡터를 갖는 후보 블록을 지시하는 머지 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 머지 인덱스를 이용하여, 현재 블록의 움직임 벡터를 도출할 수 있다.
다른 예로, MVP(Motion Vector Prediction) 모드가 적용되는 경우, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터를 이용하여, 움직임 벡터 예측자 후보 리스트가 생성될 수 있다. 즉, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록인 Col 블록에 대응하는 움직임 벡터는 움직임 벡터 후보로 사용될 수 있다. 상기 예측에 관한 정보는 상기 리스트에 포함된 움직임 벡터 후보 중에서 선택된 최적의 움직임 벡터를 지시하는 예측 움직임 벡터 인덱스를 포함할 수 있다. 이 때, 예측부(230)는 상기 움직임 벡터 인덱스를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보 중에서, 현재 블록의 예측 움직임 벡터를 선택할 수 있다. 인코딩 장치의 예측부는 현재 블록의 움직임 벡터와 움직임 벡터 예측자 간의 움직임 벡터 차분(MVD)을 구할 수 있고, 이를 인코딩하여 비트스트림 형태로 출력할 수 있다. 즉, MVD는 현재 블록의 움직임 벡터에서 상기 움직임 벡터 예측자를 뺀 값으로 구해질 수 있다. 이 때, 예측부(230)는 상기 예측에 관한 정보에 포함된 움직임 벡터 차분을 획득하고, 상기 움직임 벡터 차분과 상기 움직임 벡터 예측자의 가산을 통해 현재 블록의 상기 움직임 벡터를 도출할 수 있다. 예측부는 또한 참조 픽처를 지시하는 참조 픽처 인덱스 등을 상기 예측에 관한 정보로부터 획득 또는 유도할 수 있다.
가산부(240)는 레지듀얼 샘플과 예측 샘플을 더하여 현재 블록 혹은 현재 픽처를 복원할 수 있다. 가산부(240)는 레지듀얼 샘플과 예측 샘플을 블록 단위로 더하여 현재 픽처를 복원할 수도 있다. 스킵 모드가 적용된 경우에는 레지듀얼이 전송되지 않으므로, 예측 샘플이 복원 샘플이 될 수 있다. 여기서는 가산부(240)를 별도의 구성으로 설명하였으나, 가산부(240)는 예측부(230)의 일부일 수도 있다. 한편, 가산부(240)는 복원부 또는 복원 블록 생성부로 불릴 수도 있다.
필터부(250)는 복원된 픽처에 디블록킹 필터링 샘플 적응적 오프셋, 및/또는 ALF 등을 적용할 수 있다. 이 때, 샘플 적응적 오프셋은 샘플 단위로 적용될 수 있으며, 디블록킹 필터링 이후 적용될 수도 있다. ALF는 디블록킹 필터링 및/또는 샘플 적응적 오프셋 이후 적용될 수도 있다.
메모리(260)는 복원 픽처(디코딩된 픽처) 또는 디코딩에 필요한 정보를 저장할 수 있다. 여기서 복원 픽처는 상기 필터부(250)에 의하여 필터링 절차가 완료된 복원 픽처일 수 있다. 예컨대, 메모리(260)는 인터 예측에 사용되는 픽처들을 저장할 수 있다. 이 때, 인터 예측에 사용되는 픽처들은 참조 픽처 세트 혹은 참조 픽처 리스트에 의해 지정될 수도 있다. 복원된 픽처는 다른 픽처에 대한 참조 픽처로서 이용될 수 있다. 또한, 메모리(260)는 복원된 픽처를 출력 순서에 따라서 출력할 수도 있다.
상술한 내용과 같이 입력된 픽처에 대한 코딩이 수행되는 경우, 하나의 처리 유닛을 기반으로 상기 코딩이 수행될 수 있다. 상기 처리 유닛은 코딩 유닛(coding unit, CU)으로 나타낼 수 있다. 한편, 상기 픽처 내 유사한 정보를 포함하는 영역 단위로 코딩이 수행될수록 변환 효율이 향상될 수 있고, 이를 통하여 전반적인 코딩 효율이 향상될 수 있다. 또한, 상기 픽처 내 유사한 정보를 포함하는 영역 단위로 코딩이 수행될수록 예측 정확도가 향상될 수 있고, 이를 통하여 전반적인 코딩 효율이 향상될 수 있다. 하지만, 쿼드 트리(quad tree, QT) 구조만이 적용되어 상기 픽처가 정방형의 CU들로만 분할되는 경우, 상기 CU들이 정확하게 유사한 정보만을 포함하도록 분할하는 것은 한계가 있을 수 있다. 예를 들어, 상기 픽처 내 특정 객체를 나타내는 정보가 대각선 방향으로 넓게 위치할 수 있고, 이 경우, 하나의 CU로 상기 특정 객체를 나타내는 정보를 포함하면, 상기 특정 객체를 나타내는 정보 이외의 정보를 많이 포함하게 될 수 있고, 복수의 정방형 CU들로 상기 특정 객체를 나타내는 정보를 포함하면, 상기 복수의 CU들 각각에 대하여 코딩이 수행되어야 하는바, 코딩 효율이 저하될 수 있다. 이러한 경우, 상기 픽처를 상기 특정 객체를 나타내는 정보를 포함하는 비정방형 CU로 분할되도록 하는 것이 보다 코딩 효율을 향상시킬 수 있다. 이에, 본 발명은 상기 쿼드 트리 구조와 함께 다른 분할 구조를 적용하여 입력된 픽처를 정방형 CU 및 비정방형 CU로 분할하는 방법을 제안한다. 이를 통하여, 상기 픽처는 상기 픽처 내 정보들에 따라 다양한 형태의 CU들로 분할될 수 있으며, 보다 효율적으로 코딩이 수행될 수 있다.
도 3은 QTBT(Quad Tree Binary Tree) 구조를 통하여 분할된 CU 및 상기 QTBT 구조의 신텍스를 예시적으로 나타낸다.
상기 QTBT 구조는 CU(또는 CTU)가 QT 구조를 통하여 분할되고, 바이너리 트리(binary tree, BT) 구조를 통하여 분할되는 구조를 나타낼 수 있다. 즉, 상기 QTBT는 상기 QT 구조와 상기 BT 구조가 결합된 형태로 구성된 분할 구조를 나타낼 수 있고, 픽처가 CTU 단위로 코딩되는 경우, CTU는 상기 QT 구조를 통하여 분할될 수 있고, 상기 QT 구조의 리프 노드(leaf node)는 추가적으로 BT 구조를 통하여 분할될 수 있다. 여기서, 상기 리프 노드는 상기 QT 구조에서 더 이상 분할되지 않는 CU를 나타낼 수 있고, 상기 리프 노드는 말단 노드라고 불릴 수도 있다. 또한, 상기 QT 구조는 2Nx2N 사이즈의 CU(또는 CTU)가 4개의 NxN 사이즈의 서브 CU들로 분할되는 구조를 나타낼 수 있고, 상기 BT 구조는 2Nx2N 사이즈의 CU가 2개의 Nx2N 사이즈의 서브 CU들 또는, 2개의 2NxN 사이즈의 서브 CU들로 분할되는 구조를 나타낼 수 있다. 도 3의 (a)를 참조하면 CU는 QT 구조를 통하여 하위 뎁스(depth)의 정방형 CU들로 분할될 수 있고, 추가적으로 상기 정방형 CU들 중 특정 CU는 BT 구조를 통하여 하위 뎁스의 비정방형 CU들로 분할될 수 있다.
도 3의 (b)는 상기 QTBT 구조의 신텍스가 전송되는 일 예를 나타낼 수 있다. 도 3의 (b)에 도시된 실선은 QT 구조를 나타낼 수 있고, 점선은 BT 구조를 나타낼 수 있다. 또한, 위에서 아래로 갈수록 상위 뎁스(depth)에서 하위 뎁스의 CU에 대한 신텍스를 나타낼 수 있다. 또한, 좌에서 우로의 방향으로 좌상측, 우상측, 좌하측, 우하측 CU에 대한 신텍스를 나타낼 수 있다. 구체적으로, 가장 위의 숫자는 n 뎁스의 CU에 대한 신텍스를 나타낼 수 있고, 위에서 두번째 위치의 숫자들은 n+1 뎁스의 CU들, 위에서 세번째 위치의 숫자들은 n+2 뎁스의 CU들, 위에서 네번째 위치의 숫자들은 n+3 뎁스의 CU들에 대한 신텍스를 나타낼 수 있다. 또한, 볼드체로 표시된 숫자들은 QT 구조에 대한 신텍스들의 값들을 나타낼 수 있고, 볼드체로 표시되지 않은 숫자들은 BT 구조에 대한 신텍스들의 값들을 나타낼 수 있다.
도 3의 (b)를 참조하면 CU가 상기 QT 구조를 통하여 분할되는지 여부를 나타내는 QT 분할 플래그가 전송될 수 있다. 즉, 상기 2Nx2N 사이즈의 CU가 4개의 NxN 사이즈의 서브 CU들로 분할되는지 여부를 나타내는 플래그가 전송될 수 있다. QT_split_flag 는 상기 QT 분할 플래그에 대한 신텍스 요소를 나타낼 수 있다. 예를 들어, 상기 CU에 대한 상기 QT 분할 플래그의 값이 1인 경우, 상기 CU는 4개의 서브 CU들로 분할 될 수 있고, 상기 CU에 대한 상기 QT 분할 플래그의 값이 0인 경우, 상기 CU는 분할되지 않을 수 있다. 또한, 입력 영상에 대한 상기 QT 구조를 조절하기 위하여 상기 QT 구조에서의 최대 CU 사이즈, 최소 CU 사이즈, 최대 뎁스 등에 대한 정보가 전송될 수 있다. 상술한 QT 구조에 대한 정보들은 슬라이스 타입들 각각에 대하여 전송될 수 있고, 또는 영상 성분들(휘도 성분, 채도 성분 등) 각각에 대하여 전송될 수 있다.
도 3의 (b)를 참조하면 BT 구조에 대한 정보는 QT 구조에서 더 이상 분할되지 않는 말단 노드에 대하여 전송될 수 있다. 즉, 상기 QT 구조에서 말단 노드에 해당하는 CU에 대한 상기 BT 구조에 대한 정보가 전송될 수 있다. 여기서, 상기 BT 구조에 대한 정보를 포함하는 정보는 MPT 분할 정보라고 불릴 수 있다. 예를 들어, 상기 CU의 상기 BT 구조를 통한 분할 여부, 즉, 상기 CU에 대한 상기 BT 구조의 적용 여부를 나타내는 BT 분할 플래그가 전송될 수 있다. BT_split_flag 는 상기 BT 분할 플래그에 대한 신텍스 요소를 나타낼 수 있다. 구체적으로, 상기 BT 분할 플래그에 대한 값이 1인 경우, 상기 CU는 2개의 서브 CU들로 분할될 수 있고, 상기 BT 분할 플래그에 대한 값이 0인 경우, 상기 CU는 분할되지 않을 수 있다. 또한, 입력 영상에 대한 상기 BT 구조를 조절하기 위해서 BT 구조에서의 최대 CU 사이즈, 최소 CU 사이즈, 최대 뎁스 등에 대한 정보가 전송될 수 있다. 상술한 BT 구조에 대한 정보들은 슬라이스 타입들 각각에 대하여 전송될 수 있고, 또는 영상 성분들 각각에 대하여 전송될 수 있다. 상기 CU가 상기 BT 구조를 통하여 분할되는 경우, 상기 CU는 가로 또는 세로 방향으로 분할될 수 있다. 다시 말해, 2Nx2N 사이즈의 상기 CU는 2NxN 사이즈의 서브 CU들로 분할될 수 있고, 또는 상기 2Nx2N 사이즈의 상기 CU는 Nx2N 사이즈의 서브 CU들로 분할될 수 있다. 상기 CU가 어떤 방향으로 분할되는지, 즉, 상기 CU의 분할 타입을 나타내는 BT 분할 모드 인덱스가 전송될 수 있다. BT_split_mode 는 상기 BT 분할 모드 인덱스에 대한 신텍스 요소를 나타낼 수 있다. 구체적으로, 예를 들어, 상기 BT 분할 모드 인덱스의 값이 1인 경우, 상기 CU는 수직 방향, 즉, Nx2N 사이즈의 서브 CU들로 분할 될 수 있고, 상기 BT 분할 모드 인덱스의 값이 0 경우, 상기 CU는 수평 방향, 즉, 2NxN 사이즈의 서브 CU들로 분할 될 수 있다.
도 4는 대상 CU에 대한 상기 QTBT 구조의 신텍스들이 전송되는 일 예를 나타낸다.
도 4를 참조하면 대상 CU에 대한 QT_split_flag가 전송될 수 있다. 상기 QT_split_flag는 상술한 바와 같이 상기 대상 CU가 상기 QT 구조를 통하여 분할되는지 여부를 나타낼 수 있다. 즉, 상기 QT_split_flag는 상기 대상 CU가 상기 대상 CU의 절반 높이(height) 및 절반 폭(width)의 사이즈를 갖는 서브 CU들로 분할되는지 여부를 나타낼 수 있다.
구체적으로, 예를 들어, 상기 대상 CU의 상기 QT_split_flag의 값이 1인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할됨을 나타내는 경우, 상기 대상 CU는 상기 서브 CU들로 분할될 수 있다. 이 경우, 상기 서브 CU들에 대한 상기 QT_split_flag가 전송될 수 있다. 즉, 상기 대상 CU는 코딩 재귀적으로(recursively) 보다 하위 뎁스의 CU들로 분할되어 더 이상 분할되지 않는 말단 노드의 CU들이 도출될 수 있다.
한편, 상기 말단 노드의 대상 CU에 대한 QT_split_flag의 값은 0인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할되지 않음을 나타내는 경우, 상기 대상 CU에 대한 BT_split_flag 가 전송될 수 있다. 상기 BT_split_flag는 상술한 바와 같이 상기 대상 CU가 상기 BT 구조를 통하여 분할되는지 여부를 나타낼 수 있다. 즉, 상기 BT_split_flag는 예를 들어, 2Nx2N 사이즈의 상기 대상 CU가 Nx2N 사이즈 또는 2NxN 사이즈의 서브 CU들로 분할되는지 여부를 나타낼 수 있다. 상기 대상 CU에 상기 BT 구조가 적용되는 경우, 상기 BT_split_flag와 BT_split_mode 값에 따라서 상기 대상 CU로부터 분할된 CU들의 모양이 결정될 수 있다.
구체적으로, 상기 BT_split_flag의 값이 1인 경우, 상기 대상 CU는 상기 Nx2N 사이즈 또는 2NxN 사이즈의 서브 CU들로 분할될 수 있고, 상기 BT_split_flag의 값이 0인 경우, 상기 대상 CU는 분할되지 않을 수 있다. 상기 BT_split_flag가 상기 대상 CU가 상기 BT 구조를 통하여 분할됨을 나타내는 경우, 상기 대상 CU에 대한 BT_split_mode 가 전송될 수 있다. 상기 BT_split_mode는 상기 대상 CU가 어떤 방향으로 분할되는지, 즉, 상기 대상 CU의 분할 타입을 나타낼 수 있다. 예를 들어, 상기 BT_split_mode의 값이 1인 경우, 상기 CU는 수직 방향, 즉, Nx2N 사이즈의 서브 CU들로 분할 될 수 있고, 상기 BT_split_mode의 값이 0 경우, 상기 CU는 수평 방향, 즉, 2NxN 사이즈의 서브 CU들로 분할 될 수 있다.
또한, 상기 QTBT 구조의 신텍스들은 다음의 표와 같이 나타낼 수 있다.
Figure PCTKR2018003919-appb-T000001
Figure PCTKR2018003919-appb-I000001
여기서, QT_split_flag는 상술한 QT 분할 플래그의 신텍스 요소를 나타낼 수 있고, BT_split_flag는 상술한 BT 분할 플래그의 신텍스 요소를 나타낼 수 있고, BT_split_mode는 상술한 BT 분할 모드 인덱스의 신텍스 요소를 나타낼 수 있다.
분할될 수 있고, 상기 QT 구조의 리프 노드(leaf node)는 추가적으로 MPT 구조를 통하여 분할될 수 있다.
상술한 QTBT 구조에 따르면, 상기 BT 구조를 통하여 상기 QT 구조의 리프 노드(leaf node)인 2Nx2N 사이즈의 대상 CU가 2개의 Nx2N 사이즈의 서브 CU들 또는, 2개의 2NxN 사이즈의 서브 CU들로 분할될 수 있다. 하지만, 도 5의 (a) 내지 (j)에 도시된 것과 같이 상기 QTMPT 구조를 통하여 상기 QT 구조의 리프 노드(leaf node)인 상기 대상 CU는 2개, 3개, 또는 4개의 다양한 형태의 서브 CU들로 분할될 수 있다. 즉, 상기 MPT 구조는 상기 CU가 다양한 형태의 비정방형 서브 CU들로 분할되는 구조를 나타낼 수 있다.
구체적으로, 도 5의 (a) 및 (b)를 참조하면 상기 MPT 구조를 통하여 상기 대상 CU는 수직 방향 또는 수평 방향으로 2개의 서브 CU들로 분할될 수 있다. 즉, 상기 MPT 구조를 통하여 2Nx2N 사이즈의 대상 CU가 2개의 Nx2N 사이즈의 서브 CU들 또는, 2개의 2NxN 사이즈의 서브 CU들로 분할될 수 있다.
또한, 도 5의 (c) 내지 (h)를 참조하면 상기 MPT 구조를 통하여 상기 대상 CU는 수직 방향 또는 수평 방향으로 3개의 서브 CU들로 분할될 수 있다. 상기 대상 CU가 3개의 서브 CU들로 분할되는 경우, 하나의 큰 사이즈의 서브 CU와 두 개의 작은 사이즈의 서브 CU들로 분할될 수 있고, 또는, 3개의 서브 CU들이 균등하게, 즉, 3개의 동일한 사이즈의 서브 CU들로 분할될 수도 있다. 상기 대상 CU가 하나의 큰 사이즈의 서브 CU와 두 개의 작은 사이즈의 서브 CU들로 분할되는 방안은 상기 큰 사이즈의 서브 CU의 위치에 따라서 다양한 분할 방법들이 있을 수 있다.
예를 들어, 도 5의 (c)에 도시된 것과 같이 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU 및 N/2x2N 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (c)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 좌에서 우의 순서로 N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU 및 N/2x2N 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (d)에 도시된 것과 같이 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 N/2x2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (d)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 좌에서 우의 순서로 N/2x2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (e)에 도시된 것과 같이 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 Nx2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (e)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 좌에서 우의 순서로 Nx2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU, N/2x2N 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (f)에 도시된 것과 같이 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 2NxN/2 사이즈의 서브 CU, 2NxN 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (f)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 위에서 아래의 순서로 2NxN/2 사이즈의 서브 CU, 2NxN 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (g)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 2NxN/2 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU, 2NxN 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (g)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 위에서 아래의 순서로 2NxN/2 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU, 2NxN 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (h)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 2NxN 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU로 분할될 수 있다. 즉, 도 5의 (h)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 위에서 아래의 순서로 2NxN 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU로 분할될 수 있다.
또는, 예를 들어, 도 5의 (i) 및 (j)에 도시된 것과 같이 상기 2Nx2N 사이즈의 대상 CU는 상기 MPT 구조를 통하여 수직 방향 또는 수평 방향으로 4개의 서브 CU들로 분할될 수 있다. 즉, 상기 MPT 구조를 통하여 상기 2Nx2N 사이즈의 대상 CU가 4개의 N/2x2N 사이즈의 서브 CU들 또는, 4개의 2NxN/2 사이즈의 서브 CU들로 분할될 수 있다. 한편, 상기 대상 CU 및 상기 대상 CU의 서브 CU에 상기 BT 구조를 통한 분할이 반복적으로 적용되면 도 5의 (i) 또는 (j) 에 도시된 것과 같이 분할될 수 있으나, 상기 MPT 구조에서는 분할 과정의 반복 없이 한 번의 분할을 통하여 4개의 서브 CU들로 분할될 수 있다.
한편, 입력 영상에 대한 상기 MPT 구조를 조절하기 위하여 상기 MPT 구조에서의 최대 CU 사이즈, 최소 CU 사이즈, 최대 뎁스 등에 대한 정보가 전송될 수 있다. 상술한 MPT 구조에 대한 정보들은 슬라이스 타입들 각각에 대하여 전송될 수 있고, 또는 영상 성분들(휘도 성분, 채도 성분 등) 각각에 대하여 전송될 수 있다. 또는, 상술한 MPT 구조에 대한 정보들은 시퀀스 파라미터 세트(Sequence Parameter Set, SPS), 픽처 파라미터 세트(Picture Parameter Set, PPS), 또는 슬라이스 세그먼트 헤더(slice segment header) 등을 통하여 각각 전송될 수 있다.
도 6은 대상 CU에 대한 상기 QTMPT 구조의 신텍스들이 전송되는 일 예를 나타낸다.
도 6을 참조하면 대상 CU에 대한 QT_split_flag가 전송될 수 있다. 상기 QT_split_flag는 상술한 바와 같이 상기 대상 CU가 상기 QT 구조를 통하여 분할되는지 여부를 나타낼 수 있다. 즉, 상기 QT_split_flag는 상기 대상 CU가 상기 대상 CU의 절반 높이(height) 및 절반 폭(width)의 사이즈를 갖는 서브 CU들로 분할되는지 여부를 나타낼 수 있다.
구체적으로, 예를 들어, 상기 대상 CU의 상기 QT_split_flag의 값이 1인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할됨을 나타내는 경우, 상기 대상 CU는 상기 서브 CU들로 분할될 수 있다. 이 경우, 상기 서브 CU들에 대한 상기 QT_split_flag가 전송될 수 있다. 즉, 상기 대상 CU는 코딩 재귀적으로(recursively) 보다 하위 뎁스의 CU들로 분할되어 더 이상 분할되지 않는 말단 노드의 CU들이 도출될 수 있다.
한편, 상기 말단 노드의 대상 CU에 대한 QT_split_flag의 값은 0인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할되지 않음을 나타내는 경우, 상기 말단 노드의 대상 CU에 대한 MPT 구조에 대한 정보가 전송될 수 있다. 여기서, 상기 MPT 구조에 대한 정보를 포함하는 정보는 MPT 분할 정보라고 불릴 수 있다. 예를 들어, 상기 MPT 분할 정보는 상기 대상 CU에 대한 MPT 분할 타입 정보를 포함할 수 있다. 구체적으로, 상기 말단 노드의 대상 CU에 대한 QT_split_flag의 값은 0인 경우, 상기 대상 CU에 대한 MPT_split_type 이 전송될 수 있다. 상기 MPT_split_type 은 상기 MPT 분할 타입 정보에 대한 신텍스(syntax)를 나타낼 수 있다. 상기 MPT_split_type은 예를 들어, 2Nx2N 사이즈의 상기 대상 CU가 다양한 형태의 비정방형 서브 CU들로 분할되는지 여부를 나타낼 수 있다. 상기 비정방형 서브 CU들은 N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU 및/또는 2NxN 사이즈의 서브 CU를 포함할 수 있다.
구체적으로, 예를 들어, 상기 대상 CU의 상기 MPT_split_type의 값이 0인 경우, 상기 대상 CU는 분할되지 않을 수 있다. 또한, 상기 대상 CU의 상기 MPT_split_type의 값이 0이 아닌 경우, MPT_split_type과 MPT_split_mode를 기반으로 상기 대상 CU로부터 분할된 서브 CU들의 모양이 결정될 수 있다. 즉, 상기 MPT 분할 정보는 상기 대상 CU에 대한 MPT 분할 타입 정보와 MPT 분할 방향 정보를 포함할 수 있는바, 상기 MPT_split_type 은 상기 MPT 분할 타입 정보에 대한 신텍스를 나타낼 수 있고, 상기 MPT_split_mode 은 상기 MPT 분할 방향 정보에 대한 신텍스를 나타낼 수 있다.
예를 들어, 상기 MPT_split_type의 값이 1인 경우, 상기 대상 CU는 2개의 서브 CU들로 분할될 수 있다. 구체적으로, 상기 MPT_split_type의 값이 1이고, 상기 MPT_split_mode의 값이 1인 경우, 상기 대상 CU는 상술한 도 5의 (a)에 도시된 것과 같이 2개의 Nx2N 사이즈의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 1이고, 상기 MPT_split_mode의 값이 0인 경우, 상기 대상 CU는 상술한 도 5의 (b)에 도시된 것과 같이 2개의 2NxN 사이즈의 서브 CU들로 분할될 수 있다.
또한, 예를 들어, 상기 MPT_split_type의 값이 2인 경우, 상기 대상 CU는 3개의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 1인 경우, 상기 대상 CU는 수직 방향으로 3개의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 0인 경우, 상기 대상 CU는 수평 방향으로 3개의 서브 CU들로 분할될 수 있다. 상기 MPT_split_type 을 기반으로 상기 대상 CU의 분할 방향이 도출된 경우, 상기 대상 CU에 대한 MPT_sub_split_type 이 전송될 수 있고, 상기 MPT_sub_split_type 은 상기 대상 CU의 세부 분할 정보를 나타낼 수 있다. 상기 MPT 분할 정보는 상기 대상 CU에 대한 MPT 세부 분할 타입 정보를 포함할 수 있는바, 상기 MPT_sub_split_type 은 상기 MPT 세부 분할 타입 정보에 대한 신텍스를 나타낼 수 있다.
즉, 상기 대상 CU는 3개의 서브 CU들로 분할되는 경우, 상기 MPT_sub_split_type 을 기반으로 상기 대상 CU의 세부 분할 정보가 도출될 수 있다.
구체적으로, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_sub_split_type 의 값이 0 인 경우, 상기 대상 CU는 상술한 도 5의 (c)에 도시된 것과 같이 N/2x2N 사이즈의 좌측 서브 CU, Nx2N 사이즈의 중앙 서브 CU 및 N/2x2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_sub_split_type 의 값이 1 인 경우, 상기 대상 CU는 상술한 도 5의 (d)에 도시된 것과 같이 N/2x2N 사이즈의 좌측 서브 CU, N/2x2N 사이즈의 중앙 서브 CU 및 Nx2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_sub_split_type 의 값이 2 인 경우, 상기 대상 CU는 상술한 도 5의 (e)에 도시된 것과 같이 Nx2N 사이즈의 좌측 서브 CU, N/2x2N 사이즈의 중앙 서브 CU 및 N/2x2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_sub_split_type 의 값이 0 인 경우, 상기 대상 CU는 상술한 도 5의 (f)에 도시된 것과 같이 2NxN/2 사이즈의 상측 서브 CU, 2NxN 사이즈의 중앙 서브 CU 및 2NxN/2 사이즈의 하측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_sub_split_type 의 값이 1 인 경우, 상기 대상 CU는 상술한 도 5의 (g)에 도시된 것과 같이 2NxN/2 사이즈의 상측 서브 CU, 2NxN/2 사이즈의 중앙 서브 CU 및 2NxN 사이즈의 하측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 2이고, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_sub_split_type 의 값이 2 인 경우, 상기 대상 CU는 상술한 도 5의 (h)에 도시된 것과 같이 2NxN 사이즈의 상측 서브 CU, 2NxN/2 사이즈의 중앙 서브 CU 및 2NxN/2 사이즈의 하측 서브 CU로 분할될 수 있다.
또한, 예를 들어, 상기 MPT_split_type의 값이 3인 경우, 상기 대상 CU는 4개의 서브 CU들로 분할될 수 있다. 구체적으로, 상기 MPT_split_type의 값이 3이고, 상기 MPT_split_mode의 값이 1인 경우, 상기 대상 CU는 상술한 도 5의 (i)에 도시된 것과 같이 4개의 N/2x2N 사이즈의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_type의 값이 3이고, 상기 MPT_split_mode의 값이 0인 경우, 상기 대상 CU는 상술한 도 5의 (j)에 도시된 것과 같이 4개의 2NxN/2 사이즈의 서브 CU들로 분할될 수 있다.
한편, 상술한 내용과 같이 상기 QTMPT 구조의 신텍스들이 전송될 수도 있지만, 후술하는 내용과 같이 다른 상기 QTMPT 구조의 신텍스 전송 일 예가 제안될 수도 있다.
도 7은 대상 CU에 대한 상기 QTMPT 구조의 신텍스들이 전송되는 일 예를 나타낸다. 상술한 도 6과 같이 상기 MPT_split_type 의 값이 0이 아닌 경우에 상기 MPT_split_mode가 공통적으로 전송될 수 있으나, 도 7을 참조하면 상기 MPT_split_mode 가 상기 MPT_split_type 보다 먼저 파싱(parsing)될 수 있다.
도 7을 참조하면 대상 CU에 대한 QT_split_flag가 전송될 수 있다. 상기 QT_split_flag는 상술한 바와 같이 상기 대상 CU가 상기 QT 구조를 통하여 분할되는지 여부를 나타낼 수 있다. 즉, 상기 QT_split_flag는 상기 대상 CU가 상기 대상 CU의 절반 높이(height) 및 절반 폭(width)의 사이즈를 갖는 서브 CU들로 분할되는지 여부를 나타낼 수 있다.
구체적으로, 예를 들어, 상기 대상 CU의 상기 QT_split_flag의 값이 1인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할됨을 나타내는 경우, 상기 대상 CU는 상기 서브 CU들로 분할될 수 있다. 이 경우, 상기 서브 CU들에 대한 상기 QT_split_flag가 전송될 수 있다. 즉, 상기 대상 CU는 코딩 재귀적으로(recursively) 보다 하위 뎁스의 CU들로 분할되어 더 이상 분할되지 않는 말단 노드의 CU들이 도출될 수 있다.
한편, 상기 말단 노드의 대상 CU에 대한 QT_split_flag의 값은 0인 경우, 즉, 상기 QT_split_flag가 상기 대상 CU가 상기 대상 CU의 절반 높이 및 절반 폭의 사이즈를 갖는 서브 CU들로 분할되지 않음을 나타내는 경우, 상기 MPT 분할 정보는 상기 대상 CU에 대한 MPT 분할 플래그를 포함할 수 있다. 구체적으로, 상기 말단 노드의 대상 CU에 대한 QT_split_flag의 값은 0인 경우, 상기 대상 CU에 대한 MPT_split_flag 가 전송될 수 있다. 상기 MPT_split_flag 는 상기 MPT 분할 플래그에 대한 신텍스(syntax)를 나타낼 수 있다. 상기 MPT_split_flag는 상기 대상 CU가 상기 MPT 구조를 통하여 분할되는지 여부를 나타낼 수 있다. 즉, 상기 MPT_split_flag는 예를 들어, 2Nx2N 사이즈의 상기 대상 CU가 다양한 형태의 비정방형 서브 CU들로 분할되는지 여부를 나타낼 수 있다. 상기 비정방형 서브 CU들은 N/2x2N 사이즈의 서브 CU, Nx2N 사이즈의 서브 CU, 2NxN/2 사이즈의 서브 CU 및/또는 2NxN 사이즈의 서브 CU를 포함할 수 있다. 상기 MPT_split_flag 의 값이 0인 경우, 상기 대상 CU는 분할되지 않을 수 있다. 또한, 상기 대상 CU의 상기 MPT_split_flag의 값이 1인 경우, 상기 대상 CU 는 상기 MPT 구조를 통하여 분할될 수 있고, MPT_split_mode와 MPT_split_type 이 전송될 수 있다. 상기 대상 CU의 상기 MPT_split_flag의 값이 1인 경우, 즉, 상기 대상 CU 가 상기 MPT 구조를 통하여 분할되는 경우, 상기 MPT_split_mode와 상기 MPT_split_type 을 기반으로 상기 대상 CU로부터 분할된 서브 CU들의 모양이 결정될 수 있다.
구체적으로, 상기 대상 CU의 상기 MPT_split_flag의 값이 1인 경우, 즉, 상기 대상 CU 가 상기 MPT 구조를 통하여 분할되는 경우, 상기 MPT_split_mode 를 기반으로 상기 대상 CU의 분할 방향이 도출될 수 있다. 예를 들어, 상기 MPT_split_mode 의 값이 1인 경우, 상기 대상 CU는 수직 방향으로 분할될 수 있고, 상기 MPT_split_mode 의 값이 0인 경우, 상기 대상 CU는 수평 방향으로 분할될 수 있다.
다음으로, 상기 MPT_split_type 을 기반으로 상기 대상 CU의 분할 타입(type)이 도출될 수 있다. 예를 들어, 상기 MPT_split_type 의 값이 0 인 경우, 상기 대상 CU는 2개의 서브 CU들로 분할될 수 있다. 구체적으로, 상기 MPT_split_mode 의 값이 1이고, 상기 MPT_split_type 의 값이 0 인 경우, 상기 대상 CU는 상술한 도 5의 (a)에 도시된 것과 같이 2개의 Nx2N 사이즈의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_mode 의 값이 0이고, 상기 MPT_split_type의 값이 0인 경우, 상기 대상 CU는 상술한 도 5의 (b)에 도시된 것과 같이 2개의 2NxN 사이즈의 서브 CU들로 분할될 수 있다.
또한, 다른 예로, 상기 MPT_split_type 의 값이 1 인 경우, 상기 대상 CU는 3개의 서브 CU들로 분할될 수 있다. 상기 MPT_split_type 의 값이 1 인 경우, 즉, 상기 대상 CU가 3개의 서브 CU들로 분할되는 경우, 상기 대상 CU에 대한 MPT_sub_split_type 이 전송될 수 있고, 상기 MPT_sub_split_type 은 상기 대상 CU의 세부 분할 정보를 나타낼 수 있다. 즉, 상기 대상 CU는 3개의 서브 CU들로 분할되는 경우, 상기 MPT_sub_split_type 을 기반으로 상기 대상 CU의 세부 분할 정보가 도출될 수 있다.
구체적으로, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 0 인 경우, 상기 대상 CU는 상술한 도 5의 (c)에 도시된 것과 같이 N/2x2N 사이즈의 좌측 서브 CU, Nx2N 사이즈의 중앙 서브 CU 및 N/2x2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 1 인 경우, 상기 대상 CU는 상술한 도 5의 (d)에 도시된 것과 같이 N/2x2N 사이즈의 좌측 서브 CU, N/2x2N 사이즈의 중앙 서브 CU 및 Nx2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_mode의 값이 1이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 2 인 경우, 상기 대상 CU는 상술한 도 5의 (e)에 도시된 것과 같이 Nx2N 사이즈의 좌측 서브 CU, N/2x2N 사이즈의 중앙 서브 CU 및 N/2x2N 사이즈의 우측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 0 인 경우, 상기 대상 CU는 상술한 도 5의 (f)에 도시된 것과 같이 2NxN/2 사이즈의 상측 서브 CU, 2NxN 사이즈의 중앙 서브 CU 및 2NxN/2 사이즈의 하측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 1 인 경우, 상기 대상 CU는 상술한 도 5의 (g)에 도시된 것과 같이 2NxN/2 사이즈의 상측 서브 CU, 2NxN/2 사이즈의 중앙 서브 CU 및 2NxN 사이즈의 하측 서브 CU로 분할될 수 있다. 또한, 상기 MPT_split_mode의 값이 0이고, 상기 MPT_split_type의 값이 1이고, 상기 MPT_sub_split_type 의 값이 2 인 경우, 상기 대상 CU는 상술한 도 5의 (h)에 도시된 것과 같이 2NxN 사이즈의 상측 서브 CU, 2NxN/2 사이즈의 중앙 서브 CU 및 2NxN/2 사이즈의 하측 서브 CU로 분할될 수 있다.
또한, 다른 예로, 상기 MPT_split_type 의 값이 2 인 경우, 상기 대상 CU는 4개의 서브 CU들로 분할될 수 있다. 구체적으로, 상기 MPT_split_mode 의 값이 1이고, 상기 MPT_split_type 의 값이 2 인 경우, 상기 대상 CU는 상술한 도 5의 (i)에 도시된 것과 같이 4개의 N/2x2N 사이즈의 서브 CU들로 분할될 수 있다. 또한, 상기 MPT_split_mode 의 값이 0이고, 상기 MPT_split_type의 값이 2인 경우, 상기 대상 CU는 상술한 도 5의 (j)에 도시된 것과 같이 4개의 2NxN/2 사이즈의 서브 CU들로 분할될 수 있다.
상술한 내용과 같이 상기 MPT_split_type 을 기반으로 상기 대상 CU가 분할되어 도출된 서브 CU의 개수가 도출될 수 있다. 한편, 일반적으로 입력 영상에 따라서 블록이 분할되는 개수, 즉, 블록의 분할 타입이 발생하는 경우가 동일하지 않을 수 있다. 즉, 입력 영상에 따라서 블록 분할 타입의 비율이 다를 수 있다. 예를 들어, 블록이 2개로 분할되는 분할 타입의 비율이 높을 수 있고, 또는 블록이 3개로 분할되는 분할 타입의 비율이 높을 수 있고, 또는, 블록이 4개로 분할되는 분할 타입의 비율이 높을 수도 있다. 이에, 비율이 높은 분할 타입에 대한 신텍스에 작은 비트수를 갖는 이진화 스트링(binarization string)을 할당하는 이진화 방법을 통하여 코딩 효율을 향상시킬 수 있다.
이에, 다양한 이진화 방법들을 기반으로 도출된 상술한 도 5의 (a) 내지 (j)에 도시된 분할 타입들에 대한 MPT_slice_type 및 MPT_sub_slice_type 의 이진화 스트링은 다음의 표와 같이 도출될 수 있다.
Figure PCTKR2018003919-appb-T000002
여기서, MPT-2 는 상술한 도 5의 (a) 및 (b) 에 도시된 것과 같이 블록이 2개의 서브 블록으로 분할되는 분할 타입을 나타내고, MPT-3 type0 는 상술한 도 5의 (c) 및 (f) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 중앙 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-3 type1 는 상술한 도 5의 (d) 및 (g) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 우측 또는 하측 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-3 type2 는 상술한 도 5의 (e) 및 (h) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 좌측 또는 상측 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-4 는 상술한 도 5의 (i) 및 (j) 에 도시된 것과 같이 블록이 4개의 서브 블록으로 분할되는 분할 타입을 나타낸다.
표 2를 참조하면 이진화 방법 1은 MPT-2 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-3와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 1에 따르면, 상기 MPT_split_type가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다.
또한, 상기 대상 블록의 분할 타입이 MPT-3로 판단된 경우, 즉, 상기 MPT_split_type 가 10 인 경우, 상기 대상 블록에 대한 MPT_sub_split_type 가 추가적으로 전송될 수 있다. 상기 MPT_sub_split_type 를 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0, MPT-3 type1 또는 MPT-3 type2 인지 판단될 수 있다. 상기 이진화 방법 1에 따르면, 상기 MPT_sub_split_type 가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 도출될 수 있고, 상기 MPT_sub_split_type 가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 도출될 수 있고, 상기 MPT_sub_split_type 가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 도출될 수 있다. 따라서, 상기 이진화 방법 1에 따르면, 상기 대상 블록의 분할 타입이 MPT-3 type0 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 100으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type1 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 1010으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type2 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 1011으로 나타낼 수 있다. 상기 이진화 방법 1은 입력 영상 내 분할 타입이 MPT-2 인 블록들 및 MPT-4 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 2를 참조하면 이진화 방법 2는 대상 블록의 분할 타입이 MPT-2 또는 MPT-4 인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2 또는 MPT-4로 판단될 수 있고, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 분할 타입은 MPT-3으로 판단될 수 있다. 구체적으로, 상기 대상 블록의 분할 타입이 MPT-2 또는 MPT-4로 판단되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 2에 따르면, 상기 MPT_split_type가 00인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 1인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 도출될 수 있고, 상기 MPT_split_type가 01인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다.
또한, 상기 대상 블록의 분할 타입이 MPT-3으로 판단되는 경우, 즉, 상기 MPT_split_type 가 1 인 경우, 상기 대상 블록에 대한 MPT_sub_split_type 가 추가적으로 전송될 수 있다. 상기 MPT_sub_split_type 를 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0, MPT-3 type1 또는 MPT-3 type2 인지 판단될 수 있다. 상기 이진화 방법 2에 따르면, 상기 MPT_sub_split_type 가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 도출될 수 있고, 상기 MPT_sub_split_type 가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 도출될 수 있고, 상기 MPT_sub_split_type 가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 도출될 수 있다. 따라서, 상기 이진화 방법 2에 따르면, 상기 대상 블록의 분할 타입이 MPT-3 type0 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 10으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type1 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 110으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type2 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 111으로 나타낼 수 있다. 상기 이진화 방법 2는 입력 영상 내 분할 타입이 MPT-2 인 블록들보다 MPT-3 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 2를 참조하면 이진화 방법 3은 대상 블록의 분할 타입이 MPT-2 인지 여부가 먼저 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2 로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-3 type0 이 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 상기 대상 블록의 분할 타입이 MPT-4 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-4 로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-4 가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0이 아닌 경우, 상기 신텍스의 나머지 값들을 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type1 또는 MPT-3 type2 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 나머지 값들이 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 판단될 수 있고, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 나머지 값들이 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 판단될 수 있다. 상기 이진화 방법 3은 입력 영상 내 분할 타입이 MPT-4 인 블록들보다 및 MPT-3 type0 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
한편, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 또는 블록 등의 단위에서 적응적으로 선택될 수 있고, 상기 SPS, 상기 PPS, 상기 슬라이스 또는 상기 블록 등의 단위로 전송될 수 있다. 또는, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 슬라이스 또는 블록 단위에서 적응적으로 도출될 수 있다.
또는, 다른 예로, 대상 블록에 대한 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 이 경우, MPT 분할 정보를 나타내는 이진화 스트링은 다음의 표와 같이 도출될 수 있다.
Figure PCTKR2018003919-appb-T000003
여기서, MPT-2 는 상술한 도 5의 (a) 및 (b) 에 도시된 것과 같이 블록이 2개의 서브 블록으로 분할되는 분할 타입을 나타내고, MPT-3 type0 는 상술한 도 5의 (c) 및 (f) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 중앙 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-3 type1 는 상술한 도 5의 (d) 및 (g) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 우측 또는 하측 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-3 type2 는 상술한 도 5의 (e) 및 (h) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 좌측 또는 상측 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-4 는 상술한 도 5의 (i) 및 (j) 에 도시된 것과 같이 블록이 4개의 서브 블록으로 분할되는 분할 타입을 나타낸다.
표 3의 이진화 방법 1을 참조하면 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2 여부가 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 MPT-3와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 1에 따르면, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 110인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 도출될 수 있고, 상기 MPT_split_type가 111인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다.
또한, 상기 대상 블록의 분할 타입이 MPT-3로 판단된 경우, 즉, 상기 MPT_split_type 가 110 인 경우, 상기 대상 블록에 대한 MPT_sub_split_type 가 추가적으로 전송될 수 있다. 상기 MPT_sub_split_type 를 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0, MPT-3 type1 또는 MPT-3 type2 인지 판단될 수 있다. 상기 이진화 방법 1에 따르면, 상기 MPT_sub_split_type 가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 도출될 수 있고, 상기 MPT_sub_split_type 가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 도출될 수 있고, 상기 MPT_sub_split_type 가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 도출될 수 있다. 따라서, 상기 이진화 방법 1에 따르면, 상기 대상 블록의 분할 타입이 MPT-3 type0 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 1100으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type1 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 11010으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type2 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 11011으로 나타낼 수 있다. 상기 이진화 방법 1은 입력 영상 내 분할 타입이 MPT-2 인 블록들 및 MPT-4 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 3의 이진화 방법 2를 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2 또는 MPT-4 인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2 또는 MPT-4로 판단될 수 있고, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 분할 타입은 MPT-3으로 판단될 수 있다. 구체적으로, 상기 대상 블록의 분할 타입이 MPT-2 또는 MPT-4로 판단되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 MPT-2와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 2에 따르면, 상기 MPT_split_type가 100인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3로 도출될 수 있고, 상기 MPT_split_type가 101인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다.
또한, 상기 대상 블록의 분할 타입이 MPT-3으로 판단되는 경우, 즉, 상기 MPT_split_type 가 11 인 경우, 상기 대상 블록에 대한 MPT_sub_split_type 가 추가적으로 전송될 수 있다. 상기 MPT_sub_split_type 를 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0, MPT-3 type1 또는 MPT-3 type2 인지 판단될 수 있다. 상기 이진화 방법 2에 따르면, 상기 MPT_sub_split_type 가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 도출될 수 있고, 상기 MPT_sub_split_type 가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 도출될 수 있고, 상기 MPT_sub_split_type 가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 도출될 수 있다. 따라서, 상기 이진화 방법 2에 따르면, 상기 대상 블록의 분할 타입이 MPT-3 type0 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 110으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type1 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 1110으로 나타낼 수 있고, 상기 대상 블록의 분할 타입이 MPT-3 type2 인 경우, 상기 대상 블록의 상기 MPT 구조에 대한 신텍스를 나타내는 이진화 스트링은 1111으로 나타낼 수 있다. 상기 이진화 방법 2는 입력 영상 내 분할 타입이 MPT-2 인 블록들보다 MPT-3 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 3의 이진화 방법 3을 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2 인지 여부가 먼저 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2 로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type0 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0으로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-3 type0 이 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 네번째 값을 기반으로 상기 대상 블록의 분할 타입이 MPT-4 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 네번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-4 로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-4 가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 네번째 값이 0이 아닌 경우, 상기 신텍스의 나머지 값들을 기반으로 상기 대상 블록의 분할 타입이 MPT-3 type1 또는 MPT-3 type2 인지 여부가 판단될 수 있다. 예를 들어, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 나머지 값들이 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type1 로 판단될 수 있고, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 나머지 값들이 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type2 로 판단될 수 있다. 상기 이진화 방법 3은 입력 영상 내 분할 타입이 MPT-4 인 블록들보다 및 MPT-3 type0 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
한편, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 또는 블록 등의 단위에서 적응적으로 선택될 수 있고, 상기 SPS, 상기 PPS, 상기 슬라이스 또는 상기 블록 등의 단위로 전송될 수 있다. 또는, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 슬라이스 또는 블록 단위에서 적응적으로 도출될 수 있다.
또는, 상술한 분할 타입들 중 MPT-3 type1 및 MPT-3 type2를 제외한 MPT-2, MPT-3 type0 및 MPT-4 만이 사용되는 MPT 구조가 적용될 수 있다. 이 경우, 분할 타입들에 대한 MPT_slice_type 및 MPT_sub_slice_type 의 이진화 스트링은 다음의 표와 같이 도출될 수 있다.
Figure PCTKR2018003919-appb-T000004
여기서, MPT-2 는 상술한 도 5의 (a) 및 (b) 에 도시된 것과 같이 블록이 2개의 서브 블록으로 분할되는 분할 타입을 나타내고, MPT-3 type0 는 상술한 도 5의 (c) 및 (f) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 중앙 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-4 는 상술한 도 5의 (i) 및 (j) 에 도시된 것과 같이 블록이 4개의 서브 블록으로 분할되는 분할 타입을 나타낸다.
표 4의 이진화 방법 4를 참조하면 상기 대상 블록의 분할 타입이 MPT-2 인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-3 type0와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 4에 따르면, 상기 MPT_split_type가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-2 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 4의 이진화 방법 5를 참조하면 상기 대상 블록의 분할 타입이 MPT-3 type0인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-3 type0 이 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 5에 따르면, 상기 MPT_split_type가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있고, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-3 type0 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 4의 이진화 방법 6을 참조하면 상기 대상 블록의 분할 타입이 MPT-4인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-4 가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2와 MPT-3 type0 가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 6에 따르면, 상기 MPT_split_type가 0인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있고, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-4 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
한편, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 또는 블록 등의 단위에서 적응적으로 선택될 수 있고, 상기 SPS, 상기 PPS, 상기 슬라이스 또는 상기 블록 등의 단위로 전송될 수 있다. 또는, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 슬라이스 또는 블록 단위에서 적응적으로 도출될 수 있다.
또는, 다른 예로, 분할 타입들에 대한 MPT_slice_type 및 MPT_sub_slice_type 의 이진화 스트링은 다음의 표와 같이 도출될 수 있다.
Figure PCTKR2018003919-appb-T000005
여기서, MPT-2 는 상술한 도 5의 (a) 및 (b) 에 도시된 것과 같이 블록이 2개의 서브 블록으로 분할되는 분할 타입을 나타내고, MPT-3 type0 는 상술한 도 5의 (c) 및 (f) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 중앙 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타내고, MPT-4 는 상술한 도 5의 (i) 및 (j) 에 도시된 것과 같이 블록이 4개의 서브 블록으로 분할되는 분할 타입을 나타낸다.
표 5의 이진화 방법 4를 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 MPT-3 type0와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 4에 따르면, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 110인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있고, 상기 MPT_split_type가 111인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-2 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
또한, 표 5의 이진화 방법 5를 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-3 type0인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-3 type0 이 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 MPT-2와 MPT-4가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 5에 따르면, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있고, 상기 MPT_split_type가 110인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 111인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-3 type0 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
효율을 향상시킬 수 있다.
또한, 표 5의 이진화 방법 6을 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록은 MPT에 의하여 분할되지 않을 수 있다.
상기 대상 블록이 MPT에 의하여 분할되는 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-4인지 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-4 가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값을 기반으로 MPT-2와 MPT-3 type0 가 구분될 수 있다. 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있고, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 세번째 값이 1인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다. 즉, 상기 이진화 방법 6에 따르면, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-4로 도출될 수 있고, 상기 MPT_split_type가 110인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 111인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있다. 상기 이진화 방법 4는 입력 영상 내 분할 타입이 MPT-4 인 블록들에 대한 비중이 높은 경우에 사용될 수 있고, 이를 통하여 코딩 효율을 향상시킬 수 있다.
한편, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 SPS(Sequence Parameter Set), PPS(Picture Parameter Set), 슬라이스 또는 블록 등의 단위에서 적응적으로 선택될 수 있고, 상기 SPS, 상기 PPS, 상기 슬라이스 또는 상기 블록 등의 단위로 전송될 수 있다. 또는, 상기 대상 블록의 MPT 구조에 따른 분할 타입을 나타내는 정보의 이진화 방법은 슬라이스 또는 블록 단위에서 적응적으로 도출될 수 있다.
또는, 상술한 분할 타입들 중 MPT-2, MPT-3 type0 만이 사용되는 MPT 구조가 적용될 수 있다. 이 경우, 분할 타입들에 대한 MPT_slice_type의 이진화 스트링은 다음의 표와 같이 도출될 수 있다.
Figure PCTKR2018003919-appb-T000006
여기서, MPT-2 는 상술한 도 5의 (a) 및 (b) 에 도시된 것과 같이 블록이 2개의 서브 블록으로 분할되는 분할 타입을 나타내고, MPT-3 type0 는 상술한 도 5의 (c) 및 (f) 에 도시된 것과 같이 블록이 3개의 서브 블록으로 분할되되, 중앙 서브 블록이 사이즈가 큰 서브 블록인 분할 타입을 나타낸다.
표 6의 이진화 방법 7을 참조하면 상기 대상 블록의 MPT에 의한 분할 여부가 먼저 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT 분할되지 않는 것을 나타낸다.
상기 대상 블록의 분할 타입이 MPT 분할이 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 첫번째 값이 0이 아닌 경우, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값을 기반으로 MPT-2 또는 MPT-3 type0 인지 여부가 판단될 수 있다. 즉, 획득한 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 판단될 수 있다.
상기 대상 블록의 분할 타입이 MPT-2가 아닌 경우, 즉, 상기 대상 블록의 MPT 구조에 대한 정보의 신텍스의 두번째 값이 0이 아닌 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 판단될 수 있다. 한편, 상기 신텍스는 상술한 MPT_split_type 을 나타낼 수 있다.
즉, 상기 표 6의 이진화 방법 7에 따르면, 상기 MPT_split_type가 10인 경우, 상기 대상 블록의 분할 타입은 MPT-2로 도출될 수 있고, 상기 MPT_split_type가 11인 경우, 상기 대상 블록의 분할 타입은 MPT-3 type0로 도출될 수 있다.
도 8은 본 발명에 따른 인코딩 장치에 의한 비디오 인코딩 방법을 개략적으로 나타낸다. 도 8에서 개시된 방법은 도 1에서 개시된 인코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 8의 S800 내지 S810은 상기 인코딩 장치의 픽처 분할부에 의하여 수행될 수 있고, S820은 상기 인코딩 장치의 예측부에 의하여 수행될 수 있고, S830은 상기 인코딩 장치의 엔트로피 인코딩부에 의하여 수행될 수 있다.
인코딩 장치는 제1 대상 블록을 제1 서브 블록들로 분할한다(S800). 인코딩 장치는 상기 제1 대상 블록을 QT(Quad Tree) 구조를 통하여 상기 제1 서브 블록들로 분할할 수 있다. 구체적으로, 예를 들어, 인코딩 장치는 상기 제1 대상 블록을 4개의 상기 제1 서브 블록들로 분할할 수 있다. 상기 제1 서브 블록들은 상기 대상 블록의 절반 높이 및 절반 폭의 사이즈를 가질 수 있다. 한편, 인코딩 장치는 상기 제1 대상 블록에 대한 QT(Quad Tree) 분할(split) 플래그를 생성할 수 있다. 상기 QT 분할 플래그는 블록이 상기 블록의 절반 높이(half height) 및 절반 폭(half width)의 사이즈의 서브 블록들로 분할되는지 여부를 나타낼 수 있다.
인코딩 장치는 상기 제1 서브 블록들 중 하나인 제2 대상 블록을 제2 서브 블록들로 분할한다(S810). 상기 제2 대상 블록은 상기 QT 구조를 통하여 분할되지 않을 수 있다. 인코딩 장치는 상기 제2 대상 블록이 상기 QT 구조를 통하여 분할되지 않는 경우, 상기 제2 대상 블록을 제2 서브 블록들로 분할할 수 있다. 상기 제2 서브 블록들은 비정방형 블록들일 수 있다.
상기 제2 대상 블록은 MPT(Multiple Partitioning Tree) 구조를 통하여 상기 제2 서브 블록들로 분할될 수 있다. 이 경우, 상기 제2 대상 블록은 다양한 형태의 비정방형 블록들인 상기 제2 서브 블록들로 분할될 수 있다. 상기 제2 대상 블록은 수직 방향으로 분할될 수 있고, 또는 수평 방향으로 분할될 수도 있다.
예를 들어, 상기 제2 대상 블록은 상기 MPT 분할 구조를 통하여 수직 방향 또는 수평 방향으로 2개, 3개 또는 4개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록의 사이즈가 2Nx2N 인 경우, 상기 제2 대상 블록은 2개의 Nx2N 사이즈의 제2 서브 블록들, 2개의 2NxN 사이즈의 제2 서브 블록들, 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들, 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들, 4개의 N/2x2N 사이즈의 제2 서브 블록들, 또는 4개의 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 여기서, 상기 제2 대상 블록이 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 Nx2N 사이즈의 제2 서브 블록은 좌측 제2 서브 블록, 중앙 제2 서브 블록 또는 우측 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록이 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 2NxN 사이즈의 제2 서브 블록은 상측 제2 서브 블록, 중앙 제2 서브 블록 또는 하측 제2 서브 블록으로 도출될 수 있다. 한편, 인코딩 장치는 상기 제2 대상 블록의 MPT 분할 타입을 나타내는 MPT 분할 정보를 생성할 수 있다. 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 예를 들어, 분할 타입들 중 입력 영상(또는 대상 픽처) 내 블록들에 가장 많이 적용된 분할 타입을 나타내는 MPT 분할 정보의 이진화 스트링은 상기 분할 타입들을 나타내는 이진화 스트링들의 비트수들 중 가장 작은 비트수로 도출될 수 있다. 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 2 또는 표 3과 같이 도출될 수 있다. 예를 들어, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1010, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1011, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 00, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 01 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 110 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 1100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 11010, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 11011, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 101 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 11110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 11111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 1110 일 수 있다.
또는, 다른 예로, 상기 제2 대상 블록은 상기 MPT 분할 구조를 통하여 수직 방향 또는 수평 방향으로 2개, 3개 또는 4개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록의 사이즈가 2Nx2N 인 경우, 상기 제2 대상 블록은 2개의 Nx2N 사이즈의 제2 서브 블록들, 2개의 2NxN 사이즈의 제2 서브 블록들, 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들, 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들, 4개의 N/2x2N 사이즈의 제2 서브 블록들, 또는 4개의 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 여기서, 상기 제2 대상 블록이 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 Nx2N 사이즈의 제2 서브 블록은 중앙 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록이 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 2NxN 사이즈의 제2 서브 블록은 중앙 제2 서브 블록으로 도출될 수 있다. 한편, 인코딩 장치는 상기 제2 대상 블록의 MPT 분할 타입을 나타내는 MPT 분할 정보를 생성할 수 있다. 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 이 경우, 예를 들어, 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 4 또는 표 5와 같이 도출될 수 있다. 예를 들어, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 0 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10 일 수 있다.
또는, 다른 예로, 상기 제2 대상 블록은 상기 MPT 분할 구조를 통하여 수직 방향 또는 수평 방향으로 2개 또는 3개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개 또는 3개의 상기 제2 서브 블록들로 분할될 수 있는바, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, N/2x2N 사이즈의 좌측 제2 서브 블록, Nx2N 사이즈의 중앙 제2 서브 블록 및 N/2x2N 사이즈의 우측 제2 서브 블록으로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, 2NxN/2 사이즈의 상측 제2 서브 블록, 2NxN 사이즈의 중앙 제2 서브 블록 및 2NxN/2 사이즈의 하측 제2 서브 블록으로 분할될 수 있다. 한편, 인코딩 장치는 상기 제2 대상 블록의 MPT 분할 타입을 나타내는 MPT 분할 정보를 생성할 수 있다. 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 이 경우, 예를 들어, 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 6과 같이 도출될 수 있다. 예를 들어, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링(binarization string) 은 10 일 수 있고, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링 은 11일 수 있다. 또한, 상기 제2 대상 블록이 상기 MPT 에 의하여 분할되지 않는 경우, 상기 MPT 분할 정보의 이진화 스트링은 0 일 수 있다.
인코딩 장치는 상기 제2 서브 블록들을 디코딩한다(S820). 인코딩 장치는 상기 제2 서브 블록에 대한 변환(transform) 인트라(intra)/인터(inter) 예측, 등의 절차를 수행하고, 상기 제2 서브 블록에 대한 복원 샘플을 생성할 수 있고, 이를 기반으로 복원 픽처를 생성할 수 있다.
인코딩 장치는 상기 제1 대상 블록에 대한 제1 분할 정보, 및 상기 제2 대상 블록에 대한 MPT 분할 정보를 생성하고 인코딩하여 출력한다(S830). 인코딩 장치는 상기 제1 분할 정보, 및 상기 제2 대상 블록에 대한 상기 MPT 분할 정보를 인코딩하여 비트스트림을 통하여 출력할 수 있고, 상기 비트스트림은 기록 매체(A non-transitory computer readable medium)에 저장될 수 있다. 인코딩 장치는 상기 제1 대상 블록에 대한 상기 제1 분할 정보를 생성할 수 있다. 상기 제1 분할 정보는 상기 제1 대상 블록에 대한 QT(Quad Tree) 분할 플래그를 포함할 수 있다. 상기 QT 분할 플래그는 블록이 상기 블록의 절반 높이(half height) 및 절반 폭(half width)의 사이즈의 서브 블록들로 분할되는지 여부를 나타낼 수 있다. 또한, 인코딩 장치는 상기 제2 대상 블록에 대한 상기 제2 분할 정보를 생성할 수 있고, 상기 제2 분할 정보는 상기 제2 대상 블록에 대한 QT 분할 플래그를 포함할 수 있다.
또한, 인코딩 장치는 상기 제2 대상 블록에 대한 상기 MPT 분할 정보를 생성할 수 있다. 한편, 상기 MPT 분할 정보는 상기 제2 대상 블록이 상기 제2 대상 블록에 대한 상기 QT 분할 플래그를 기반으로 분할되지 않는 경우에 생성될 수 있다. 즉, 상기 제2 대상 블록이 상기 QT 구조를 통하여 분할되지 않는 경우에 생성될 수 있다.
일 예로, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 타입 정보 및 MPT 분할 방향 정보를 포함할 수 있다. 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타낼 수 있고, 상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타낼 수 있다. 구체적으로, 상기 MPT 분할 타입 정보의 값이 0인 경우, 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할되지 않음을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 1인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 2개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 2인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 3개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 3인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 4개임을 나타낼 수 있다. 또한, 상기 MPT 분할 방향 정보의 값이 0인 경우, 상기 제2 대상 블록의 분할 방향이 수평 방향임을 나타낼 수 있고, 상기 MPT 분할 방향 정보의 값이 1인 경우, 상기 제2 대상 블록의 분할 방향이 수직 방향임을 나타낼 수 있다.
또한, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보은 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우에 상기 제2 대상 블록의 분할 타입이 타입0, 타입1 또는 타입2 인지를 나타낼 수 있다. 구체적으로, 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있다.
또한, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보은 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우에 상기 제2 대상 블록의 분할 타입이 타입0, 타입1 또는 타입2 인지를 나타낼 수 있다. 구체적으로, 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 하측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다.
또한, 다른 일 예로, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 플래그를 포함할 수 있다. 상기 MPT 분할 플래그는 상기 제2 대상 블록이 비정방형 블록인 상기 제2 서브 블록들로 분할되는지 여부를 나타낼 수 있다. 구체적으로, 상기 MPT 분할 플래그의 값이 0인 경우, 상기 MPT 분할 플래그는 상기 제2 대상 블록이 분할되지 않음을 나타낼 수 있고, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 플래그는 상기 제2 대상 블록이 MPT 구조를 통하여 상기 제2 서브 블록들로 분할됨을 나타낼 수 있다. 즉, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 플래그는 비정방형 블록인 상기 제2 서브 블록들로 분할됨을 나타낼 수 있다.
또한, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 분할 방향 정보 및 MPT 분할 타입 정보를 포함할 수 있다. 상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타낼 수 있고, 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타낼 수 있다. 구체적으로, 상기 MPT 분할 방향 정보의 값이 0인 경우, 상기 제2 대상 블록의 분할 방향이 수평 방향임을 나타낼 수 있고, 상기 MPT 분할 방향 정보의 값이 1인 경우, 상기 제2 대상 블록의 분할 방향이 수직 방향임을 나타낼 수 있다. 또한, 상기 MPT 분할 타입 정보의 값이 0인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 2개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 1인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 3개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 2인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 4개임을 나타낼 수 있다.
또한, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보은 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우에 상기 제2 대상 블록의 분할 타입이 타입0, 타입1 또는 타입2 인지를 나타낼 수 있다. 구체적으로, 예를 들어, 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있다.
또한, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보은 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우에 상기 제2 대상 블록의 분할 타입이 타입0, 타입1 또는 타입2 인지를 나타낼 수 있다. 구체적으로, 예를 들어, 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 하측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다.
한편, 상기 MPT 분할 정보는 시퀀스 파라미터 세트(Sequence Parameter Set, SPS), 픽처 파라미터 세트(Picture Parameter Set, PPS), 또는 슬라이스 세그먼트 헤더(slice segment header) 등을 통하여 시그널링될 수 있다.
또한, 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 예를 들어, 분할 타입들 중 입력 영상(또는 대상 픽처) 내 블록들에 가장 많이 적용된 분할 타입을 나타내는 MPT 분할 정보의 이진화 스트링은 상기 분할 타입들을 나타내는 이진화 스트링들의 비트수들 중 가장 작은 비트수로 도출될 수 있다. 상기 분할 타입을 기반으로 도출되는 이진화 스트링은 상술한 표 2, 표 3, 표 4, 표 5 또는 표 6과 같이 도출될 수 있다. 한편, 상기 MPT 분할 정보을 포함하는 비트스트림은 네트워크 또는 (디지털) 저장매체를 통하여 디코딩 장치로 전송될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.
도 9는 본 발명에 따른 디코딩 장치에 의한 비디오 디코딩 방법을 개략적으로 나타낸다. 도 9에서 개시된 방법은 도 2에서 개시된 디코딩 장치에 의하여 수행될 수 있다. 구체적으로 예를 들어, 도 9의 S900 및 S920은 상기 디코딩 장치의 엔트로피 디코딩부에 의하여 수행될 수 있고, S910 및 S930은 상기 디코딩 장치의 픽처 분할부에 의하여 수행될 수 있고, S940은 상기 디코딩 장치의 예측부에 의하여 수행될 수 있다.
디코딩 장치는 비트스트림을 통하여 제1 대상 블록에 대한 제1 분할 정보를 획득한다(S900). 디코딩 장치는 비트스트림을 통하여 상기 제1 대상 블록에 대한 상기 제1 분할 정보를 획득할 수 있다. 상기 제1 정보는 상기 제1 대상 블록에 대한 QT(Quad Tree) 분할 플래그를 포함할 수 있다. 상기 QT 분할 플래그는 블록이 상기 블록의 절반 높이(half height) 및 절반 폭(half width)의 사이즈의 서브 블록들로 분할되는지 여부를 나타낼 수 있다.
디코딩 장치는 상기 제1 분할 정보가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할한다(S910). 상기 제1 분할 정보에 포함된 상기 QT 분할 플래그가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 디코딩 장치는 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할할 수 있다. 예를 들어, 상기 제1 대상 블록은 4개의 상기 제1 서브 블록들로 분할될 수 있고, 상기 제1 서브 블록은 상기 제1 대상 블록의 절반 높이(half height) 및 절반 폭(half width)의 사이즈의 서브 블록들일 수 있다.
디코딩 장치는 상기 비트스트림을 통하여 상기 제1 대상 블록의 상기 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT 분할 정보를 획득한다(S920). 디코딩 장치는 비트스트림을 통하여 상기 제2 대상 블록에 대한 상기 MPT 분할 정보를 획득할 수 있다. 또한, 상기 MPT 분할 정보는 시퀀스 파라미터 세트(Sequence Parameter Set, SPS), 픽처 파라미터 세트(Picture Parameter Set, PPS), 또는 슬라이스 세그먼트 헤더(slice segment header) 등을 통하여 시그널링될 수 있다.
디코딩 장치는 상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할한다(S930). 디코딩 장치는 상기 MPT 분할 정보를 기반으로 도출된 MPT(Multiple Partitioning Tree) 분할 타입을 통하여 상기 제2 대상 블록을 제2 서브 블록들로 분할할 수 있다. 한편, 상기 비트스트림을 통하여 상기 제2 대상 블록에 대한 제2 분할 정보가 획득될 수 있고, 상기 제2 대상 블록이 상기 제2 대상 블록에 대한 상기 제2 분할 정보를 기반으로 분할되지 않는 경우, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 분할 정보는 상기 제2 대상 블록에 대한 QT 분할 플래그를 포함할 수 있다. 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 상기 QT 분할 플래그가 상기 제2 대상 블록이 상기 제2 대상 블록의 절반 높이(half height) 및 절반 폭(half width)의 사이즈의 서브 블록들로 분할되지 않음을 나타내는 경우에 획득될 수 있다. 즉, 상기 MPT 분할 정보는 상기 제2 대상 블록이 상기 제2 대상 블록에 대한 상기 QT 분할 플래그를 기반으로 분할되지 않는 경우에 획득될 수 있다.
예를 들어, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개, 3개 또는 4개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록의 사이즈가 2Nx2N 인 경우, 상기 제2 대상 블록은 2개의 Nx2N 사이즈의 제2 서브 블록들, 2개의 2NxN 사이즈의 제2 서브 블록들, 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들, 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들, 4개의 N/2x2N 사이즈의 제2 서브 블록들, 또는 4개의 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 여기서, 상기 제2 대상 블록이 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 Nx2N 사이즈의 제2 서브 블록은 좌측 제2 서브 블록, 중앙 제2 서브 블록 또는 우측 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록이 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 2NxN 사이즈의 제2 서브 블록은 상측 제2 서브 블록, 중앙 제2 서브 블록 또는 하측 제2 서브 블록으로 도출될 수 있다. 한편, 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 예를 들어, 분할 타입들 중 입력 영상(또는 대상 픽처) 내 블록들에 가장 많이 적용된 분할 타입을 나타내는 MPT 분할 정보의 이진화 스트링은 상기 분할 타입들을 나타내는 이진화 스트링들의 비트수들 중 가장 작은 비트수로 도출될 수 있다. 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 2 또는 표 3과 같이 도출될 수 있다. 예를 들어, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1010, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1011, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 00, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 01 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 110 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 1100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 11010, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 11011, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 100, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 1110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 1111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 101 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 좌측 또는 상측 제2 서브 블록인 경우 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 중앙 제2 서브 블록인 경우 11110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되되 Nx2N 사이즈 또는 2NxN 사이즈의 제2 서브 블록이 우측 또는 하측 제2 서브 블록인 경우 11111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 4개의 상기 제2 서브 블록로 분할되는 경우에 1110 일 수 있다.
또는, 다른 예로, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개, 3개 또는 4개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록의 사이즈가 2Nx2N 인 경우, 상기 제2 대상 블록은 2개의 Nx2N 사이즈의 제2 서브 블록들, 2개의 2NxN 사이즈의 제2 서브 블록들, 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들, 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들, 4개의 N/2x2N 사이즈의 제2 서브 블록들, 또는 4개의 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 여기서, 상기 제2 대상 블록이 1개의 Nx2N 사이즈의 제2 서브 블록 및 2개의 N/2x2N 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 Nx2N 사이즈의 제2 서브 블록은 중앙 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록이 1개의 2NxN 사이즈의 제2 서브 블록 및 2개의 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 경우, 상기 2NxN 사이즈의 제2 서브 블록은 중앙 제2 서브 블록으로 도출될 수 있다. 한편, 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 이 경우, 예를 들어, 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 4 또는 표 5와 같이 도출될 수 있다. 예를 들어, 상기 MPT 분할 정보의 이진화 스트링(binarization string)은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 11, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 0 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111 일 수 있다. 또는, 상기 MPT 분할 정보의 이진화 스트링은 상기 제2 대상 블록이 상기 MPT에 의하여 분할되지 않는 경우에 0, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우에 110, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 111, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우에 10 일 수 있다.
또는, 다른 예로, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개 또는 3개의 상기 제2 서브 블록들로 분할될 수 있다. 구체적으로, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개 또는 3개의 상기 제2 서브 블록들로 분할될 수 있는바, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, N/2x2N 사이즈의 좌측 제2 서브 블록, Nx2N 사이즈의 중앙 제2 서브 블록 및 N/2x2N 사이즈의 우측 제2 서브 블록으로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, 2NxN/2 사이즈의 상측 제2 서브 블록, 2NxN 사이즈의 중앙 제2 서브 블록 및 2NxN/2 사이즈의 하측 제2 서브 블록으로 분할될 수 있다. 한편, 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 이 경우, 예를 들어, 상기 분할 타입을 기반으로 도출되는 상기 MPT 분할 정보의 이진화 스트링은 상술한 표 6과 같이 도출될 수 있다. 예를 들어, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링(binarization string) 은 10 일 수 있고, 상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링 은 11일 수 있다. 또한, 상기 제2 대상 블록이 상기 MPT 에 의하여 분할되지 않는 경우, 상기 MPT 분할 정보의 이진화 스트링은 0 일 수 있다.
한편, 상기 MPT 분할 정보는 다음과 같은 정보를 포함할 수 있다.
일 예로, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 타입 정보 및 MPT 분할 방향 정보를 포함할 수 있다. 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타낼 수 있고, 상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타낼 수 있다. 구체적으로, 상기 MPT 분할 타입 정보의 값이 0인 경우, 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할되지 않음을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 1인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 2개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 2인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 3개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 3인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 4개임을 나타낼 수 있다. 또한, 상기 MPT 분할 방향 정보의 값이 0인 경우, 상기 제2 대상 블록의 분할 방향이 수평 방향임을 나타낼 수 있고, 상기 MPT 분할 방향 정보의 값이 1인 경우, 상기 제2 대상 블록의 분할 방향이 수직 방향임을 나타낼 수 있다. 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 상기 제2 서브 블록들로 분할될 수 있다.
예를 들어, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 상기 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 상기 제2 서브 블록들로 분할될 수 있다.
또한, 다른 예로, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록 및 N/2x2N 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록 및 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 이 경우, 예를 들어, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다. 한편, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다.
또한, 다른 예로, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 N/2x2N 사이즈의 상기 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN/2 사이즈의 상기 제2 서브 블록들로 분할될 수 있다.
한편, 다른 일 예로, 상기 MPT 분할 정보는 상기 MPT 분할 정보는 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 플래그를 포함할 수 있다. 상기 MPT 분할 플래그는 상기 제2 대상 블록이 비정방형 블록인 상기 제2 서브 블록들로 분할되는지 여부를 나타낼 수 있다. 구체적으로, 상기 MPT 분할 플래그의 값이 0인 경우, 상기 MPT 분할 플래그는 상기 제2 대상 블록이 분할되지 않음을 나타낼 수 있고, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 플래그는 상기 제2 대상 블록이 MPT 구조를 통하여 상기 제2 서브 블록들로 분할됨을 나타낼 수 있다. 즉, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 플래그는 비정방형 블록인 상기 제2 서브 블록들로 분할됨을 나타낼 수 있다.
또한, 상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 분할 방향 정보 및 MPT 분할 타입 정보를 포함할 수 있다. 상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타낼 수 있고, 상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타낼 수 있다. 구체적으로, 상기 MPT 분할 방향 정보의 값이 0인 경우, 상기 제2 대상 블록의 분할 방향이 수평 방향임을 나타낼 수 있고, 상기 MPT 분할 방향 정보의 값이 1인 경우, 상기 제2 대상 블록의 분할 방향이 수직 방향임을 나타낼 수 있다. 또한, 상기 MPT 분할 타입 정보의 값이 0인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 2개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 1인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 3개임을 나타낼 수 있고, 상기 MPT 분할 타입 정보의 값이 2인 경우, 상기 MPT 분할 타입 정보는 상기 제2 서브 블록의 개수가 4개임을 나타낼 수 있다. 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 상기 제2 서브 블록들로 분할될 수 있다.
예를 들어, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 상기 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 상기 제2 서브 블록들로 분할될 수 있다.
또한, 다른 예로, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록 및 N/2x2N 사이즈의 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록 및 2NxN/2 사이즈의 제2 서브 블록들로 분할될 수 있다. 이 경우, 예를 들어, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다. 한편, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출될 수 있다. 또한, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함할 수 있다. 상기 MPT 세부 분할 타입 정보의 값이 0인 경우, 상기 MPT 세부 분할 타입 정보는 타입0을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 1인 경우, 상기 MPT 세부 분할 타입 정보는 타입1을 나타낼 수 있고, 상기 MPT 세부 분할 타입 정보의 값이 2인 경우, 상기 MPT 세부 분할 타입 정보는 타입2를 나타낼 수 있다. 상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있고, 상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출될 수 있다.
또한, 다른 예로, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 N/2x2N 사이즈의 상기 제2 서브 블록들로 분할될 수 있고, 상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN/2 사이즈의 상기 제2 서브 블록들로 분할될 수 있다.
한편, 상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)일 수 있다. 예를 들어, 분할 타입들 중 입력 영상(또는 대상 픽처) 내 블록들에 가장 많이 적용된 분할 타입을 나타내는 MPT 분할 정보의 이진화 스트링은 상기 분할 타입들을 나타내는 이진화 스트링들의 비트수들 중 가장 작은 비트수로 도출될 수 있다. 상기 분할 타입을 기반으로 도출되는 이진화 스트링은 상술한 표 2, 표 3, 표 4, 표 5 또는 표 6과 같이 도출될 수 있다.
디코딩 장치는 상기 제2 서브 블록들을 디코딩한다(S940). 디코딩 장치는 상기 제2 서브 블록들을 디코딩할 수 있다. 구체적으로, 디코딩 장치는 상기 제2 서브 블록에 인트라(intra) 또는 인터(inter) 예측 등을 수행하여 상기 제2 서브 블록의 예측 샘플을 생성할 수 있고, 상기 예측 샘플을 기반으로 상기 제2 서브 블록에 대한 복원 샘플을 생성할 수 있고, 이를 기반으로 복원 픽처를 생성할 수 있다.
한편, 비록 도면에서 도시되지는 않았으나 디코딩 장치는 예측 모드에 따라 상기 예측 샘플을 바로 복원 샘플로 이용할 수도 있고, 또는 상기 예측 샘플에 레지듀얼 샘플을 더하여 복원 샘플을 생성할 수도 있다. 디코딩 장치는 상기 대상 블록에 대한 레지듀얼 샘플이 존재하는 경우, 상기 대상 블록에 대한 레지듀얼에 관한 정보를 수신할 수 있고, 상기 레지듀얼에 관한 정보는 상기 페이스에 대한 정보에 포함될 수 있다. 상기 레지듀얼에 관한 정보는 상기 레지듀얼 샘플에 관한 변환 계수를 포함할 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 상기 대상 블록에 대한 상기 레지듀얼 샘플(또는 레지듀얼 샘플 어레이)을 도출할 수 있다. 디코딩 장치는 상기 예측 샘플과 상기 레지듀얼 샘플을 기반으로 복원 샘플을 생성할 수 있고, 상기 복원 샘플을 기반으로 복원 블록 또는 복원 픽처를 도출할 수 있다. 이후 디코딩 장치는 필요에 따라 주관적/객관적 화질을 향상시키기 위하여 디블록킹 필터링 및/또는 SAO 절차와 같은 인루프 필터링 절차를 상기 복원 픽처에 적용할 수 있음은 상술한 바와 같다.
상술한 본 발명에 따르면 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 다양한 형태의 블록들로 분할할 수 있고, 이를 통하여, 예측 효율을 향상시킬 수 있고 전반적인 코딩 효율을 향상시킬 수 있다.
또한, 본 발명에 따르면 픽처를 MPT(Multiple Partitioning Tree) 구조를 통하여 다양한 형태의 블록들로 분할할 수 있고, 이를 통하여, 변환(transform) 효율을 향상시킬 수 있고 전반적인 코딩 효율을 향상시킬 수 있다.
상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당업자라면 순서도에 나타내어진 단계들이 배타적이지 않고, 다른 단계가 포함되거나 순서도의 하나 또는 그 이상의 단계가 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.
상술한 본 발명에 따른 방법은 소프트웨어 형태로 구현될 수 있으며, 본 발명에 따른 인코딩 장치 및/또는 디코딩 장치는 예를 들어 TV, 컴퓨터, 스마트폰, 셋톱박스, 디스플레이 장치 등의 영상 처리를 수행하는 장치에 포함될 수 있다.
본 발명에서 실시예들이 소프트웨어로 구현될 때, 상술한 방법은 상술한 기능을 수행하는 모듈(과정, 기능 등)로 구현될 수 있다. 모듈은 메모리에 저장되고, 프로세서에 의해 실행될 수 있다. 메모리는 프로세서 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 프로세서와 연결될 수 있다. 프로세서는 ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로 및/또는 데이터 처리 장치를 포함할 수 있다. 메모리는 ROM(read-only memory), RAM(random access memory), 플래쉬 메모리, 메모리 카드, 저장 매체 및/또는 다른 저장 장치를 포함할 수 있다.

Claims (15)

  1. 디코딩 장치에 의하여 수행되는 비디오 디코딩 방법에 있어서,
    비트스트림을 통하여 제1 대상 블록에 대한 제1 분할(split) 정보를 획득하는 단계;
    상기 제1 분할 플래그가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할하는 단계;
    상기 비트스트림을 통하여 상기 제1 대상 블록의 상기 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 정보를 획득하는 단계;
    상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할하는 단계; 및
    상기 제2 서브 블록들을 디코딩하는 단계를 포함함을 특징으로 하되,
    상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 하는 영상 디코딩 방법.
  2. 제1항에 있어서,
    상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 분할 타입 정보 및 MPT 분할 방향 정보를 포함하되,
    상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타내고,
    상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타내는 것을 특징으로 하는 것을 특징으로 하는 영상 디코딩 방법.
  3. 제2항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 상기 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 상기 제2 서브 블록들로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  4. 제2항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록 및 N/2x2N 사이즈의 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록 및 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  5. 제4항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함하고,
    상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  6. 제4항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함하고,
    상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  7. 제2항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 N/2x2N 사이즈의 상기 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 4개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN/2 사이즈의 상기 제2 서브 블록들로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  8. 제1항에 있어서,
    상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 플래그를 포함하되,
    상기 MPT 분할 플래그는 상기 제2 대상 블록이 비정방형 블록인 상기 제2 서브 블록들로 분할되는지 여부를 나타내고,
    상기 MPT 분할 플래그의 값이 1인 경우, 상기 MPT 분할 정보는 상기 제2 대상 블록에 대한 MPT 분할 방향 정보 및 MPT 분할 타입 정보를 포함하되,
    상기 MPT 분할 방향 정보는 상기 제2 대상 블록의 분할 방향을 나타내고,
    상기 MPT 분할 타입 정보는 상기 제2 대상 블록이 분할된 상기 제2 서브 블록의 개수를 나타내고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 상기 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 2개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 상기 제2 서브 블록들로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  9. 제8항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록 및 N/2x2N 사이즈의 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록 및 2NxN/2 사이즈의 제2 서브 블록들로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  10. 제9항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수직 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함하고,
    상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 좌측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 Nx2N 사이즈의 제2 서브 블록으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  11. 제9항에 있어서,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 MPT 분할 타입 정보가 나타내는 상기 제2 서브 블록의 개수가 3개이고, 상기 MPT 분할 방향 정보가 나타내는 상기 제2 대상 블록의 분할 방향이 수평 방향인 경우, 상기 MPT 분할 정보는 MPT 세부 분할 타입 정보를 포함하고,
    상기 MPT 세부 분할 타입 정보가 타입0을 나타내는 경우, 상기 제2 서브 블록들 중 상측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입1을 나타내는 경우, 상기 제2 서브 블록들 중 중앙 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되고,
    상기 MPT 세부 분할 타입 정보가 타입2를 나타내는 경우, 상기 제2 서브 블록들 중 우측 제2 서브 블록이 상기 2NxN 사이즈의 제2 서브 블록으로 도출되는 것을 특징으로 하는 영상 디코딩 방법.
  12. 제2항에 있어서,
    상기 비트스트림을 통하여 상기 제2 대상 블록에 대한 제2 분할 정보를 획득하고, 상기 제2 대상 블록이 상기 제2 대상 블록에 대한 상기 제2 분할 정보를 기반으로 분할되지 않는 경우, 상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 상기 제2 서브 블록들로 분할되고,
    상기 MPT 분할 정보를 나타내는 이진화 스트링(binarization string)의 비트수는 상기 제2 대상 블록의 분할 타입을 기반으로 가변적(variable)인 것을 특징으로 하는 영상 디코딩 방법.
  13. 제1항에 있어서,
    상기 제2 대상 블록은 상기 MPT 분할 정보를 기반으로 수직 방향 또는 수평 방향으로 2개 또는 3개의 상기 제2 서브 블록들로 분할되되,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 Nx2N 사이즈의 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 2개의 상기 제2 서브 블록들로 분할되는 경우, 상기 제2 대상 블록은 2NxN 사이즈의 제2 서브 블록들로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수직 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, N/2x2N 사이즈의 좌측 제2 서브 블록, Nx2N 사이즈의 중앙 제2 서브 블록 및 N/2x2N 사이즈의 우측 제2 서브 블록으로 분할되고,
    상기 제2 대상 블록의 사이즈가 2Nx2N 이고, 상기 제2 대상 블록이 상기 수평 방향으로 3개의 상기 제2 서브 블록들로 분할되는 경우, 2NxN/2 사이즈의 상측 제2 서브 블록, 2NxN 사이즈의 중앙 제2 서브 블록 및 2NxN/2 사이즈의 하측 제2 서브 블록으로 분할되는 것을 특징으로 하는 영상 디코딩 방법.
  14. 제13항에 있어서,
    상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 2개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링(binarization string) 은 10이고,
    상기 제2 대상 블록이 상기 수직 방향 또는 상기 수평 방향으로 3개의 상기 제2 서브 블록로 분할되는 경우, 상기 MPT 분할 정보의 이진화 스트링은 11인 것을 특징으로 하는 영상 디코딩 방법.
  15. 영상 디코딩을 수행하는 디코딩 장치에 있어서,
    비트스트림을 통하여 제1 대상 블록에 대한 제1 분할(split) 정보를 획득하고, 상기 제1 대상 블록의 제1 서브 블록들 중 하나인 제2 대상 블록에 대한 MPT(Multiple Partitioning Tree) 분할 정보를 획득하는 엔트로피 디코딩부;
    상기 제1 대상 블록에 대한 상기 제1 분할 정보가 상기 제1 대상 블록이 분할됨을 나타내는 경우, 상기 제1 대상 블록을 상기 제1 서브 블록들로 분할하고, 상기 MPT 분할 정보를 기반으로 상기 제2 대상 블록을 제2 서브 블록들로 분할하는 픽처 분할부; 및
    상기 제2 서브 블록들을 디코딩하는 예측부를 포함하되,
    상기 제2 서브 블록들은 비정방형 블록들인 것을 특징으로 하는 디코딩 장치.
PCT/KR2018/003919 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치 Ceased WO2019066175A1 (ko)

Priority Applications (27)

Application Number Priority Date Filing Date Title
EP18861897.9A EP3598750A4 (en) 2017-09-28 2018-04-03 Image decoding method and device in accordance with block split structure in image coding system
KR1020217028999A KR102419436B1 (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
BR112019022971-0A BR112019022971B1 (pt) 2017-09-28 2018-04-03 Método de decodificação de vídeo realizado por um dispositivo de decodificação, método de codificação de vídeo realizado por um dispositivo de codificação e mídia de armazenamento legível por computador
KR1020237038262A KR102857614B1 (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
AU2018341190A AU2018341190B2 (en) 2017-09-28 2018-04-03 Image decoding method and device in accordance with block split structure in image coding system
CN202310492888.4A CN116489353B (zh) 2017-09-28 2018-04-03 图像编码系统中根据块分离结构的图像解码方法和设备
RU2019134938A RU2744906C1 (ru) 2017-09-28 2018-04-03 Способ и устройство декодирования изображений в соответствии со структурой блочного разбиения в системе кодирования изображений
CN202310492895.4A CN116489354B (zh) 2017-09-28 2018-04-03 图像编译系统中根据块分离结构的图像解码方法和设备
KR1020257029598A KR20250134726A (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
US16/605,447 US10979738B2 (en) 2017-09-28 2018-04-03 Image decoding method and device in accordance with block split structure in image coding system
JP2019560273A JP7303751B2 (ja) 2017-09-28 2018-04-03 映像コーディングシステムにおけるブロック分割構造による映像デコーディング方法及び装置
CN201880029236.4A CN110603810B (zh) 2017-09-28 2018-04-03 图像编译系统中根据块分离结构的图像解码方法和设备
CN202310497841.7A CN116489356A (zh) 2017-09-28 2018-04-03 图像编译系统中根据块分离结构的图像解码方法和设备
CA3061701A CA3061701A1 (en) 2017-09-28 2018-04-03 Image decoding method and device in accordance with block split structure in image coding system
MX2019012358A MX2019012358A (es) 2017-09-28 2018-04-03 Metodo y dispositivo de decodificacion de imagenes de acuerdo con la estructura de division de bloques en el sistema de codificacion de imagenes.
BR122021003525-3A BR122021003525B1 (pt) 2017-09-28 2018-04-03 Método de decodificação de vídeo realizado por um dispositivo de decodificação, método de codificação de vídeo realizado por um dispositivo de codificação e mídiade armazenamento legível por computador
BR122021003526-1A BR122021003526B1 (pt) 2017-09-28 2018-04-03 Método de decodificação de vídeo realizado por um dispositivo de decodificação, método de codificação de vídeo realizado por um dispositivo de codificação e mídia de armazenamento legível por computador
KR1020227023146A KR102601105B1 (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
CN202310493962.4A CN116489355A (zh) 2017-09-28 2018-04-03 图像编译系统中根据块分离结构的图像解码方法和设备
KR1020197031010A KR102302495B1 (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치
US17/183,009 US11356703B2 (en) 2017-09-28 2021-02-23 Image decoding method and device in accordance with block split structure in image coding system
AU2021203017A AU2021203017B2 (en) 2017-09-28 2021-05-12 Image decoding method and device in accordance with block split structure in image coding system
US17/740,284 US12088845B2 (en) 2017-09-28 2022-05-09 Image decoding method and device in accordance with block split structure in image coding system
AU2022209312A AU2022209312B2 (en) 2017-09-28 2022-07-28 Image decoding method and device in accordance with block split structure in image coding system
AU2023204576A AU2023204576B2 (en) 2017-09-28 2023-07-11 Image decoding method and device in accordance with block split structure in image coding system
US18/789,948 US20240388735A1 (en) 2017-09-28 2024-07-31 Image decoding method and device in accordance with block split structure in image coding system
AU2024266741A AU2024266741A1 (en) 2017-09-28 2024-11-20 Image decoding method and device in accordance with block split structure in image coding system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762565061P 2017-09-28 2017-09-28
US62/565,061 2017-09-28

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/605,447 A-371-Of-International US10979738B2 (en) 2017-09-28 2018-04-03 Image decoding method and device in accordance with block split structure in image coding system
US17/183,009 Continuation US11356703B2 (en) 2017-09-28 2021-02-23 Image decoding method and device in accordance with block split structure in image coding system

Publications (1)

Publication Number Publication Date
WO2019066175A1 true WO2019066175A1 (ko) 2019-04-04

Family

ID=65903542

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/003919 Ceased WO2019066175A1 (ko) 2017-09-28 2018-04-03 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치

Country Status (11)

Country Link
US (4) US10979738B2 (ko)
EP (1) EP3598750A4 (ko)
JP (1) JP7303751B2 (ko)
KR (5) KR102601105B1 (ko)
CN (5) CN116489353B (ko)
AU (5) AU2018341190B2 (ko)
BR (3) BR122021003526B1 (ko)
CA (1) CA3061701A1 (ko)
MX (2) MX2019012358A (ko)
RU (2) RU2744906C1 (ko)
WO (1) WO2019066175A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024177311A (ja) * 2019-06-14 2024-12-19 エルジー エレクトロニクス インコーポレイティド インター予測に基づく画像コーディング方法及び装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119743595A (zh) * 2018-09-07 2025-04-01 有限公司B1影像技术研究所 图像编码/解码方法和装置
CN114982231B (zh) * 2019-11-27 2024-12-13 Lg电子株式会社 图像解码方法及用于其的装置
CN115152214B (zh) * 2019-12-23 2025-04-15 Lg电子株式会社 基于画面划分的图像编码装置和方法
WO2023075120A1 (ko) * 2021-10-25 2023-05-04 현대자동차주식회사 다양한 블록 분할 구조를 이용하는 비디오 코딩방법 및 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140123978A (ko) * 2012-01-30 2014-10-23 퀄컴 인코포레이티드 비디오 코딩을 위한 잔여 쿼드 트리 (rqt) 코딩
KR20170000399A (ko) * 2010-04-13 2017-01-02 지이 비디오 컴프레션, 엘엘씨 샘플 배열 멀티트리 세부분할에서 계승
KR20170077203A (ko) * 2014-12-10 2017-07-05 미디어텍 싱가폴 피티이. 엘티디. 2진 트리 블록 분할을 사용한 비디오 코딩 방법
US20170208336A1 (en) * 2016-01-15 2017-07-20 Qualcomm Incorporated Multi-type-tree framework for video coding
WO2017165375A1 (en) * 2016-03-21 2017-09-28 Qualcomm Incorporated Decoding video data using a two-level multi-type-tree framework

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100526548B1 (ko) * 2003-06-11 2005-11-04 삼성전자주식회사 Mpeg2 spts 분리형 가입자 분배 장치 및 방법
CN105120287B (zh) * 2010-04-13 2019-05-17 Ge 视频压缩有限责任公司 解码器、编码器以及用于解码和编码的方法
US9247247B2 (en) 2010-04-13 2016-01-26 Samsung Electronics Co., Ltd. Video-encoding method and video-encoding apparatus using prediction units based on encoding units determined in accordance with a tree structure, and video-decoding method and video-decoding apparatus using prediction units based on encoding units determined in accordance with a tree structure
KR20120035096A (ko) * 2010-10-04 2012-04-13 한국전자통신연구원 쿼드 트리 변환 구조에서 부가 정보의 시그널링 방법 및 장치
WO2013022296A2 (ko) 2011-08-09 2013-02-14 삼성전자 주식회사 다시점 비디오 데이터의 부호화 방법 및 장치, 복호화 방법 및 장치
EP2763415B1 (en) * 2011-09-29 2020-04-15 Sharp Kabushiki Kaisha Image decoding apparatus for decoding partition information, image decoding method and image encoding apparatus
CN104737542B (zh) * 2013-01-30 2018-09-25 英特尔公司 用于下一代视频的内容自适应熵编码
US10244258B2 (en) * 2014-06-23 2019-03-26 Mediatek Singapore Pte. Ltd. Method of segmental prediction for depth and texture data in 3D and multi-view coding systems
CN112954368B (zh) * 2015-03-13 2024-05-24 Lg电子株式会社 处理视频信号的方法及其设备
US10694187B2 (en) * 2016-03-18 2020-06-23 Lg Electronics Inc. Method and device for deriving block structure in video coding system
US10863186B2 (en) * 2016-08-26 2020-12-08 Sharp Kabushiki Kaisha Image decoding apparatus and image coding apparatus
CN116567236A (zh) 2016-12-16 2023-08-08 夏普株式会社 图像解码方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170000399A (ko) * 2010-04-13 2017-01-02 지이 비디오 컴프레션, 엘엘씨 샘플 배열 멀티트리 세부분할에서 계승
KR20140123978A (ko) * 2012-01-30 2014-10-23 퀄컴 인코포레이티드 비디오 코딩을 위한 잔여 쿼드 트리 (rqt) 코딩
KR20170077203A (ko) * 2014-12-10 2017-07-05 미디어텍 싱가폴 피티이. 엘티디. 2진 트리 블록 분할을 사용한 비디오 코딩 방법
US20170208336A1 (en) * 2016-01-15 2017-07-20 Qualcomm Incorporated Multi-type-tree framework for video coding
WO2017165375A1 (en) * 2016-03-21 2017-09-28 Qualcomm Incorporated Decoding video data using a two-level multi-type-tree framework

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024177311A (ja) * 2019-06-14 2024-12-19 エルジー エレクトロニクス インコーポレイティド インター予測に基づく画像コーディング方法及び装置
JP7719271B2 (ja) 2019-06-14 2025-08-05 エルジー エレクトロニクス インコーポレイティド インター予測に基づく画像コーディング方法及び装置

Also Published As

Publication number Publication date
KR20220101752A (ko) 2022-07-19
KR102601105B1 (ko) 2023-11-10
AU2023204576A1 (en) 2023-08-03
JP2020519159A (ja) 2020-06-25
AU2023204576B2 (en) 2024-08-22
KR102857614B1 (ko) 2025-09-09
KR20190125497A (ko) 2019-11-06
CN116489353B (zh) 2025-09-23
CN110603810A (zh) 2019-12-20
US20210176499A1 (en) 2021-06-10
AU2018341190B2 (en) 2021-02-18
AU2021203017A1 (en) 2021-06-10
CN110603810B (zh) 2023-05-23
RU2021106185A (ru) 2021-03-18
RU2021106185A3 (ko) 2021-07-27
CN116489354B (zh) 2025-09-23
AU2021203017B2 (en) 2022-04-28
EP3598750A1 (en) 2020-01-22
BR112019022971A2 (pt) 2020-05-26
KR20230158632A (ko) 2023-11-20
MX2019012358A (es) 2020-01-20
AU2022209312B2 (en) 2023-04-13
BR122021003525B1 (pt) 2022-07-19
CA3061701A1 (en) 2019-10-28
JP7303751B2 (ja) 2023-07-05
RU2744906C1 (ru) 2021-03-17
KR102419436B1 (ko) 2022-07-11
EP3598750A4 (en) 2020-06-10
US20240388735A1 (en) 2024-11-21
KR102302495B1 (ko) 2021-09-15
CN116489354A (zh) 2023-07-25
AU2022209312A1 (en) 2022-08-25
US20220272385A1 (en) 2022-08-25
BR122021003526B1 (pt) 2022-02-15
AU2024266741A1 (en) 2024-12-12
US12088845B2 (en) 2024-09-10
KR20210113450A (ko) 2021-09-15
AU2018341190A1 (en) 2019-11-07
BR112019022971B1 (pt) 2022-02-15
US11356703B2 (en) 2022-06-07
MX2023004305A (es) 2023-05-04
KR20250134726A (ko) 2025-09-11
CN116489356A (zh) 2023-07-25
CN116489355A (zh) 2023-07-25
US10979738B2 (en) 2021-04-13
RU2756846C2 (ru) 2021-10-06
US20200128275A1 (en) 2020-04-23
CN116489353A (zh) 2023-07-25

Similar Documents

Publication Publication Date Title
WO2018212578A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018080135A1 (ko) 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체
WO2018008904A2 (ko) 비디오 신호 처리 방법 및 장치
WO2019177429A1 (ko) 인트라 예측 기반 영상/비디오 코딩 방법 및 그 장치
WO2019117634A1 (ko) 2차 변환에 기반한 영상 코딩 방법 및 그 장치
WO2018044088A1 (ko) 비디오 신호 처리 방법 및 장치
WO2017039256A1 (ko) 비디오 신호 처리 방법 및 장치
WO2019117639A1 (ko) 변환에 기반한 영상 코딩 방법 및 그 장치
WO2017052081A1 (ko) 영상 코딩 시스템에서 인터 예측 방법 및 장치
WO2017209328A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2017034331A1 (ko) 영상 코딩 시스템에서 크로마 샘플 인트라 예측 방법 및 장치
WO2018008905A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018021585A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2017052009A1 (ko) 영상 코딩 시스템에서 amvr 기반한 영상 코딩 방법 및 장치
WO2017014412A1 (ko) 비디오 코딩 시스템에서 인트라 예측 방법 및 장치
WO2019125035A1 (ko) 선택적 변환에 기반한 영상 코딩 방법 및 그 장치
WO2017188565A1 (ko) 영상 코딩 시스템에서 영상 디코딩 방법 및 장치
WO2017159901A1 (ko) 비디오 코딩 시스템에서 블록 구조 도출 방법 및 장치
WO2017061671A1 (ko) 영상 코딩 시스템에서 적응적 변환에 기반한 영상 코딩 방법 및 장치
WO2018044089A1 (ko) 비디오 신호 처리 방법 및 장치
WO2016114583A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018216862A1 (ko) 영상 코딩 시스템에서 인트라 예측에 따른 영상 디코딩 방법 및 장치
WO2018164504A1 (ko) 비디오 신호 처리 방법 및 장치
WO2018128222A1 (ko) 영상 코딩 시스템에서 영상 디코딩 방법 및 장치
WO2019066175A1 (ko) 영상 코딩 시스템에서 블록 분할 구조에 따른 영상 디코딩 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18861897

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20197031010

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018861897

Country of ref document: EP

Effective date: 20191018

WWE Wipo information: entry into national phase

Ref document number: 122021003526

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2019560273

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018341190

Country of ref document: AU

Date of ref document: 20180403

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112019022971

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112019022971

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20191031