KR20120137305A - Methods of spliting block and apparatuses for using the same - Google Patents

Methods of spliting block and apparatuses for using the same Download PDF

Info

Publication number
KR20120137305A
KR20120137305A KR1020120061902A KR20120061902A KR20120137305A KR 20120137305 A KR20120137305 A KR 20120137305A KR 1020120061902 A KR1020120061902 A KR 1020120061902A KR 20120061902 A KR20120061902 A KR 20120061902A KR 20120137305 A KR20120137305 A KR 20120137305A
Authority
KR
South Korea
Prior art keywords
information
split
coding unit
lcu
target coding
Prior art date
Application number
KR1020120061902A
Other languages
Korean (ko)
Other versions
KR102063285B1 (en
Inventor
김휘용
박광훈
이한수
김경용
김태룡
임성창
이진호
최진수
김진웅
Original Assignee
경희대학교 산학협력단
한국전자통신연구원
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
Application filed by 경희대학교 산학협력단, 한국전자통신연구원 filed Critical 경희대학교 산학협력단
Publication of KR20120137305A publication Critical patent/KR20120137305A/en
Application granted granted Critical
Publication of KR102063285B1 publication Critical patent/KR102063285B1/en

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/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/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction

Landscapes

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

Abstract

PURPOSE: A block division method and an apparatus using the method are provided to increase the efficiency of encoding by encoding a division structure. CONSTITUTION: An apparatus induces an information about determination of division structure candidate in a reference block(S1800). The apparatus determines whether a division target encoding unit satisfies a predetermined condition based on the induced segmentation structure candidate determining information(S1810). The apparatus transmits the division information through bit stream(S1820). [Reference numerals] (AA) Start; (BB) End; (S1800) Inducing division structure candidate determination information in reference block; (S1810) Determining whether division target encoding unit satisfies predetermined condition based on division structure candidate determination information; (S1820) Storing and transmitting division information in bit stream by encoding same

Description

블록 분할 방법 및 이러한 방법을 사용하는 장치{METHODS OF SPLITING BLOCK AND APPARATUSES FOR USING THE SAME}METHODS OF SPLITING BLOCK AND APPARATUSES FOR USING THE SAME}

본 발명은 블록 분할 방법 및 이러한 방법을 사용하는 장치에 관한 것으로 더욱 상세하게는 영상 부호화/복호화 방법 및 영상 부호화/복호화 장치에 관한 것이다.The present invention relates to a block division method and an apparatus using the method, and more particularly, to an image encoding / decoding method and an image encoding / decoding device.

최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.Recently, the demand for high resolution and high quality images such as high definition (HD) image and ultra high definition (UHD) image is increasing in various applications. As the video data becomes higher resolution and higher quality, the amount of data increases relative to the existing video data. Therefore, when the video data is transmitted or stored using a medium such as a conventional wired / wireless broadband line, The storage cost will increase. High-efficiency image compression techniques can be utilized to solve such problems as image data becomes high-resolution and high-quality.

영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.An inter picture prediction technique for predicting a pixel value included in a current picture from a previous or a subsequent picture of a current picture using an image compression technique, an intra picture prediction technique for predicting a pixel value included in a current picture using pixel information in the current picture, There are various techniques such as an entropy encoding technique in which a short code is assigned to a value having a high appearance frequency and a long code is assigned to a value having a low appearance frequency. Image data can be effectively compressed and transmitted or stored using such an image compression technique.

본 발명의 목적은 영상 부호화 효율을 증가시키기 위한 블록 분할 방법을 제공하는 것이다.An object of the present invention is to provide a block partitioning method for increasing image encoding efficiency.

또한, 본 발명의 또 다른 목적은 영상 부호화 효율을 증가시키기 위한 블록 분할 방법을 수행하는 장치를 제공하는 것이다.In addition, another object of the present invention is to provide an apparatus for performing a block partitioning method for increasing image encoding efficiency.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 부호화 방법은 참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계와 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함할 수 있다. 상기 소정의 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. 상기 소정의 조건은 분할 대상 부호화 단위의 분할 깊이가 0인지 여부, 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부, 콜 LCU에 포함된 부호화 단위의 움직임 벡터의 x, y 성분 중 10보다 큰 값이 존재하는지 여부, 콜 LCU에 포함된 부호화 단위의 움직임 벡터 차이(Motion Vector Difference)의 x, y 성분 중 10보다 큰 값이 존재하는지 여부 중 적어도 하나의 조건일 수 있다. 상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계는 상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보가 제1 조건을 만족하는지 여부를 판단하는 단계와 상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보가 제2 조건을 만족하는지 여부를 판단하는 단계를 포함하되 상기 제1 조건 및 상기 제2 조건은 분할 대상 부호화 단위의 분할 깊이 정보 및 참조 블록에서 유도된 분할 구조 후보 결정 정보를 기초로 생성된 조건일 수 있다. According to an aspect of the present invention, there is provided a method of encoding a partition structure candidate decision information from a reference block, the derived partition structure candidate decision information, and information derived from a split target coding unit. The method may include determining whether to use the split target coding unit as an LCU partition structure candidate using a predetermined condition calculated on the basis of. The predetermined condition includes a split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU. It may be a condition for determining whether to use the split target coding unit as an LCU partition structure candidate using at least one information. The predetermined condition is whether a split depth of a coding target to be split is 0, whether a coding unit having the largest split depth exists in a call LCU, and 10 of x and y components of a motion vector of a coding unit included in a call LCU. It may be at least one condition of whether a larger value exists or whether a value larger than 10 among x and y components of a motion vector difference of a coding unit included in a call LCU exists. Determining whether to use the split target coding unit as the LCU split structure candidate using the predetermined condition calculated based on the derived split structure candidate determination information and the information derived from the split target coding unit may be performed. Determining whether the split structure candidate determination information and the information derived from the split target coding unit satisfy a first condition and the derived split structure candidate determination information and the information derived from the split target coding unit satisfy a second condition And determining whether the first condition and the second condition are generated based on the partition depth information of the split target coding unit and the partition structure candidate determination information derived from the reference block.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 부호화 방법은 인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계와 상기 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함할 수 있다. 상기 소정의 조건은 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. According to an aspect of the present invention, there is provided a method of encoding a partition structure candidate decision information from an adjacent block, and extracting the partition structure candidate decision information and the information derived from the split target coding unit. The method may include determining whether to use the split target coding unit as an LCU partition structure candidate using a predetermined condition calculated as a basis. The predetermined condition is LCU partitioning the split target coding unit using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. It may be a condition for determining whether to use as a structure candidate.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 부호화 방법은 참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계, 상기 참조 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제1 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계, 인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계 및 상기 인접 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제2 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함할 수 있다. 상기 제1 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. 상기 제2 조건은 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. In accordance with an aspect of the present invention, there is provided a method of encoding an image, the method comprising: deriving partition structure candidate determination information from a reference block, partition structure candidate determination information derived from the reference block, and a target to be split Determining whether to use the split target coding unit as an LCU partition structure candidate using a first condition calculated based on information derived from the step of deriving partition structure candidate determination information from a neighboring block and the neighboring block; And determining whether to use the split target coding unit as the LCU split structure candidate using the second condition calculated based on the split structure candidate determination information derived from and the information derived from the split target coding unit. have. The first condition includes a split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU. It may be a condition for determining whether to use the split target coding unit as an LCU partition structure candidate using at least one information. The second condition is LCU partitioning the split target coding unit using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. It may be a condition for determining whether to use as a structure candidate.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 복호화 방법은 참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계와 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정하는 단계를 포함할 수 있다. 상기 소정의 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. According to an aspect of the present invention, there is provided a method of decoding a partition structure candidate decision information from a reference block, the derived partition structure candidate decision information, and information derived from a split target coding unit. The method may include determining whether to decode the split information of the split target coding unit using a predetermined condition calculated based on. The predetermined condition includes a split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU. It may be a condition for determining whether to use the split target coding unit as an LCU partition structure candidate using at least one information.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 복호화 방법은 인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계와 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정하는 단계를 포함할 수 있다. 상기 소정의 조건은 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. According to an aspect of the present invention, there is provided a decoding method for deriving partition structure candidate determination information from an adjacent block, derived partition structure candidate determination information, and information derived from a splitting target coding unit. The method may include determining whether to decode the split information of the split target coding unit by using a predetermined condition calculated as a basis. The predetermined condition is LCU partitioning the split target coding unit using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. It may be a condition for determining whether to use as a structure candidate.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 복호화 방법은 참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계 상기 참조 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제1 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 단계, 인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계와 상기 인접 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제2 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 단계를 포함할 수 있다. 상기 제1 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. 상기 제2 조건은 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건일 수 있다. A decoding method according to an aspect of the present invention for achieving the above object of the present invention comprises deriving the partition structure candidate determination information from the reference block derived from the partition structure candidate determination information and the split target coding unit derived from the reference block Determining whether to decode the split information of the split target coding unit using a first condition calculated based on the obtained information, deriving split structure candidate determination information from an adjacent block, and splitting derived from the adjacent block. The method may include determining whether to decode the split information of the split target coding unit using a second condition calculated based on the structure candidate determination information and the information derived from the split target coding unit. The first condition includes a split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU. It may be a condition for determining whether to use the split target coding unit as an LCU partition structure candidate using at least one information. The second condition is LCU partitioning the split target coding unit using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. It may be a condition for determining whether to use as a structure candidate.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 부호화 장치는 참조 블록 또는 인접 블록으로부터 분할 구조 후보 결정 정보를 입력받고 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 판단부와 상기 판단부에서 판단된 결과를 기초로 LCU 분할 구조 후보를 결정하는 LCU 분할 구조 후보 결정부를 포함할 수 있다. 상기 소정의 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 또는 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보 중 적어도 하나의 조건일 수 있다. According to an aspect of the present invention, an encoding apparatus according to an aspect of the present invention receives partition structure candidate determination information received from a reference block or an adjacent block and derives the partition structure candidate determination information and information derived from a splitting target coding unit. A determination unit that determines whether to use the split target coding unit as an LCU partition structure candidate using a predetermined condition calculated based on the LCU division, and an LCU partition that determines an LCU partition structure candidate based on a result determined by the determination unit It may include a structure candidate determiner. The predetermined condition may include a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, transform coefficient information of coding units in a call LCU, or At least one of the depth information of the neighboring block, the motion information of the neighboring block, the reference index (Reference Index) information of the neighboring block, the transform coefficient information of the neighboring block may be at least one condition.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 복호화 장치는 참조 블록 또는 인접 블록으로부터 분할 구조 후보 결정 정보를 입력받고 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 판단부와 상기 판단부에서 판단된 결과를 기초로 LCU 분할 구조를 복호화하는 CU 분할 정보 복호화부를 포함할 수 있다. 상기 소정의 조건은 콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 또는 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보 중 적어도 하나의 조건일 수 있다. In accordance with an aspect of the present invention, a decoding apparatus according to an aspect of the present invention receives partition structure candidate decision information from a reference block or an adjacent block and derives the partition structure candidate decision information and information derived from a splitting target coding unit. A determination unit that determines whether to decode the split information of the split target coding unit using a predetermined condition calculated based on the C; and a CU partition information decoder that decodes the LCU partition structure based on the result determined by the determination unit. It may include. The predetermined condition may include a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, transform coefficient information of coding units in a call LCU, or At least one of the depth information of the neighboring block, the motion information of the neighboring block, the reference index (Reference Index) information of the neighboring block, the transform coefficient information of the neighboring block may be at least one condition.

상술한 바와 같이 본 발명의 실시예에 블록 분할 방법 및 이러한 방법을 사용하는 장치에 따르면, 블록을 분할함에 있어 최적의 분할 구조로 선택될 가능성이 있는 분할 구조에 대해서만 부호화를 수행함으로서 부호화 효율을 높일 수 있다.As described above, according to the block division method and the apparatus using the method in the embodiment of the present invention, encoding efficiency is increased by performing encoding only on a partition structure that may be selected as an optimal partition structure in partitioning a block. Can be.

도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타내는 블록도이다.
도 2는 본 발명의 실시예에 따른 영상 복호화 장치의 구성을 나타내는 블록도이다.
도 3은 본 발명의 실시예에 따른 부호화 단위의 분할 방법을 나타낸 개념도이다.
도 4 및 도 5는 본 발명의 실시예에 따른 64x64 크기의 부호화 단위가 분할되는 것을 나타낸 개념도이다.
도 6은 본 발명의 실시예에 따른 LCU 분할 구조를 나타낸 개념도이다.
도 7은 본 발명의 실시예에 따른 참조 소프트웨어를 이용해서 테스트 조건으로 Random access와 Low delay를 사용하여 부호화를 수행한 결과이다.
도 8 내지 도 11은 부호화 단위의 정보들(화면내 예측 방향 정보(IntraDir), 분할정보(split flag), 스킵 정보(skip), 움직임 병합 정보(merge), 부호화 모드 정보(Predic), 블록 분할 정보(Part size), 움직임 예측 정보(AMVP), 움직임 차분 정보(MVD), 예측 방향 정보(Dir))의 양자화 파라미터별 분포를 나타낸 그래프이다.
도 12는 본 발명의 실시예에 따른 참조 블록을 나타낸 개념도이다.
도 13은 본 발명의 실시예에 따른 참조 블록 정보를 기초로 LCU 분할 구조 정보를 생성하는 방법을 나타내는 순서도이다.
도 14는 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법에서 분할 구조 후보 결정 정보를 유도하는 인접 부호화 단위를 나타낸 개념도이다.
도 15는 본 발명의 실시예에 따른 참조 블록 정보를 기초로 LCU 분할 구조 정보를 생성하는 방법을 나타낸 순서도이다.
도 16은 본 발명의 실시예에 따른 참조 블록과 인접 블록을 나타내는 개념도이다.
도 17은 본 발명의 실시예에 따른 참조 블록 정보를 기초로 LCU 분할 구조 정보를 생성하는 방법을 나타낸 순서도이다.
도 18은 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다.
도 19는 본 발명의 실시예에 따른 분할 정보를 복호화하는 방법을 나타낸 순서도이다.
도 20은 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다.
도 21은 본 발명의 실시예에 따른 분할 정보 복호화 방법을 나타낸 순서도이다.
도 22는 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다.
도 23은 본 발명의 실시예에 따른 분할 정보 복호화 방법을 나타낸 순서도이다.
도 24는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 25는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 26은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 27은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 28은 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.
도 29는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 30는 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.
도 31은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.
도 32는 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.
도 33은 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다.
도 34은 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다.
도 35는 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다.
도 36은 본 발명의 실시예에 따른 LCU 분할 구조 후보를 결정하는 방법을 나타낸 순서도이다.
도 37은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 38은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 39는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 40은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 41은 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다.
도 42는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 43은 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다.
도 44는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다.
도 45는 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다.
1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a configuration of an image decoding apparatus according to an embodiment of the present invention.
3 is a conceptual diagram illustrating a splitting method of coding units according to an embodiment of the present invention.
4 and 5 are conceptual views illustrating splitting of a 64x64 coding unit according to an embodiment of the present invention.
6 is a conceptual diagram illustrating an LCU partitioning structure according to an embodiment of the present invention.
7 is a result of encoding using random access and low delay as a test condition using reference software according to an embodiment of the present invention.
8 to 11 illustrate information of coding units (intra prediction direction information (IntraDir), split information, skip information, skip, motion merge information (merge), coding mode information (Predic), and block division. A graph showing distribution of quantization parameters of information (Part size), motion prediction information (AMVP), motion difference information (MVD), and prediction direction information (Dir).
12 is a conceptual diagram illustrating a reference block according to an embodiment of the present invention.
13 is a flowchart illustrating a method of generating LCU partition structure information based on reference block information according to an embodiment of the present invention.
14 is a conceptual diagram illustrating adjacent coding units for deriving partition structure candidate determination information in an LCU partition structure candidate determination method according to an embodiment of the present invention.
15 is a flowchart illustrating a method of generating LCU partition structure information based on reference block information according to an embodiment of the present invention.
16 is a conceptual diagram illustrating a reference block and an adjacent block according to an embodiment of the present invention.
17 is a flowchart illustrating a method of generating LCU partition structure information based on reference block information according to an embodiment of the present invention.
18 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.
19 is a flowchart illustrating a method of decoding split information according to an embodiment of the present invention.
20 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.
21 is a flowchart illustrating a method of decoding partition information according to an embodiment of the present invention.
22 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.
23 is a flowchart illustrating a method of decoding partition information according to an embodiment of the present invention.
24 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
25 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
26 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
27 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
28 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.
29 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
30 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.
31 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.
32 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.
33 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.
34 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.
35 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.
36 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.
37 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
38 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
39 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
40 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
41 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.
42 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
43 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.
44 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.
45 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 실시 형태에 대하여 구체적으로 설명한다. 본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following description of the embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present disclosure rather unclear.

어떤 구성 요소가 다른 구성 요소에 “연결되어” 있다거나 “접속되어” 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있으나, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 아울러, 본 발명에서 특정 구성을 “포함”한다고 기술하는 내용은 해당 구성 이외의 구성을 배제하는 것이 아니며, 추가적인 구성이 본 발명의 실시 또는 본 발명의 기술적 사상의 범위에 포함될 수 있음을 의미한다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . In addition, the description of "including" a specific configuration in the present invention does not exclude a configuration other than the configuration, and means that additional configurations can be included in the practice of the present invention or the technical scope of the present invention.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

또한 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.In addition, the components shown in the embodiments of the present invention are shown independently to represent different characteristic functions, which does not mean that each component is composed of separate hardware or software constituent units. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and separate embodiments of the components are also included within the scope of the present invention, unless they depart from the essence of the present invention.

또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.
In addition, some of the components are not essential components to perform essential functions in the present invention, but may be optional components only to improve performance. The present invention can be implemented only with components essential for realizing the essence of the present invention, except for the components used for the performance improvement, and can be implemented by only including the essential components except the optional components used for performance improvement Are also included in the scope of the present invention.

도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타내는 블록도이다.1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.

도 1을 참조하면, 상기 영상 부호화 장치(100)는 움직임 예측부(111), 움직임 보상부(112), 인트라 예측부(120), 스위치(115), 감산기(125), 변환부(130), 양자화부(140), 엔트로피 부호화부(150), 역양자화부(160), 역변환부(170), 가산기(175), 필터부(180) 및 참조영상 버퍼(190)를 포함한다.Referring to FIG. 1, the image encoding apparatus 100 may include a motion predictor 111, a motion compensator 112, an intra predictor 120, a switch 115, a subtractor 125, and a converter 130. And a quantization unit 140, an entropy encoding unit 150, an inverse quantization unit 160, an inverse transform unit 170, an adder 175, a filter unit 180, and a reference image buffer 190.

영상 부호화 장치(100)는 입력 영상에 대해 인트라(intra) 모드 또는 인터(inter) 모드로 부호화를 수행하고 비트스트림을 출력한다. 이하 본 발명의 실시예에서는 인트라 예측은 화면 내 예측, 인터 예측은 화면 간 예측과 동일한 의미로 사용될 수 있다. 예측 단위에 대한 최적의 예측 방법을 결정하기 위해 예측 단위에 대해 화면 내 예측 방법 및 화면 간 예측 방법이 선택적으로 사용될 수 있다. 영상 부호화 장치(100)는 입력 영상의 원본 블록에 대한 예측 블록을 생성한 후, 원본 블록과 예측 블록의 차분을 부호화한다.The image encoding apparatus 100 performs encoding in an intra mode or an inter mode with respect to an input image and outputs a bit stream. In the embodiment of the present invention, intra prediction can be used in the same way as inter prediction, and inter prediction can be used in the same meaning as inter prediction. In order to determine an optimal prediction method for the prediction unit, an intra prediction method and an inter prediction method may be selectively used for the prediction unit. The image encoding apparatus 100 generates a prediction block for the original block of the input image, and then encodes the difference between the original block and the prediction block.

화면 내 예측 모드인 경우, 인트라 예측부(120)(또는 화면 내 예측부도 동일한 의미를 가지는 용어로 사용될 수 있다.)는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성한다. In the intra prediction mode, the intra prediction unit 120 (or the intra prediction unit may be used as a term having the same meaning) may perform spatial prediction using pixel values of an already encoded block around the current block. Generate a predictive block.

화면 간 예측 모드인 경우, 움직임 예측부(111)는, 움직임 예측 과정에서 참조 영상 버퍼(190)에 저장되어 있는 참조 영상에서 입력 블록과 가장 매치가 잘 되는 영역을 찾아 움직임 벡터를 구한다. 움직임 보상부(112)는 움직임 벡터를 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성한다. In the inter prediction mode, the motion predictor 111 finds a motion vector in the reference image stored in the reference image buffer 190 that best matches the input block in the motion prediction process. The motion compensation unit 112 generates a prediction block by performing motion compensation using a motion vector.

감산기(125)는 입력 블록과 생성된 예측 블록의 차분에 의해 잔여 블록(residual block)을 생성한다. 변환부(130)는 잔여 블록에 대해 변환(transform)을 수행하여 변환 계수(transform coefficient)를 출력한다. 그리고 양자화부(140)는 입력된 변환 계수를 양자화 파라미터에 따라 양자화하여 양자화된 계수(quantized coefficient)를 출력한다. 엔트로피 부호화부(150)는 입력된 양자화된 계수를 확률 분포에 따라 엔트로피 부호화하여 비트스트림(bit stream)을 출력한다.The subtracter 125 generates a residual block by a difference between the input block and the generated prediction block. The transforming unit 130 performs a transform on the residual block to output a transform coefficient. The quantization unit 140 quantizes the input transform coefficient according to the quantization parameter and outputs a quantized coefficient. The entropy encoding unit 150 entropy-codes the input quantized coefficients according to a probability distribution to output a bit stream.

HEVC는 인터 예측 부호화, 즉 화면 간 예측 부호화를 수행하므로, 현재 부호화된 영상은 참조 영상으로 사용되기 위해 복호화되어 저장될 필요가 있다. 따라서 양자화된 계수는 역양자화부(160)에서 역양자화되고 역변환부(170)에서 역변환된다. 역양자화, 역변환된 계수는 가산기(175)를 통해 예측 블록과 더해지고 복원 블록이 생성된다. Since the HEVC performs inter prediction coding, i.e., inter prediction coding, the currently encoded image needs to be decoded and stored for use as a reference image. Accordingly, the quantized coefficients are inversely quantized in the inverse quantization unit 160 and inversely transformed in the inverse transformation unit 170. The inverse quantized and inverse transformed coefficients are added to the prediction block through the adder 175 and a reconstruction block is generated.

복원 블록은 필터부(180)를 거치고, 필터부(180)는 디블록킹 필터(deblocking filter), SAO(Sample Adaptive Offset), ALF(Adaptive Loop Filter) 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(180)는 적응적 인루프(in-loop) 필터로 불릴 수도 있다. 디블록킹 필터는 블록 간의 경계에 생긴 블록 왜곡을 제거할 수 있다. SAO는 코딩 에러를 보상하기 위해 화소값에 적정 오프셋(offset) 값을 더해줄 수 있다. ALF는 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있으며, 고효율이 적용되는 경우에만 수행될 수도 있다. 필터부(180)를 거친 복원 블록은 참조 영상 버퍼(190)에 저장된다.
The reconstruction block passes through the filter unit 180, and the filter unit 180 applies at least one or more of a deblocking filter, a sample adaptive offset (SAO), and an adaptive loop filter (ALF) to the reconstruction block or the reconstruction picture. can do. The filter unit 180 may be referred to as an adaptive in-loop filter. The deblocking filter can remove block distortion occurring at the boundary between the blocks. SAO may add an appropriate offset value to pixel values to compensate for coding errors. The ALF may perform filtering based on a value obtained by comparing the reconstructed image with the original image, and may be performed only when high efficiency is applied. The reconstructed block that has passed through the filter unit 180 is stored in the reference image buffer 190.

도 2는 본 발명의 또 다른 실시예에 따른 영상 복호화 장치의 구성을 나타내는 블록도이다.2 is a block diagram illustrating a configuration of an image decoding apparatus according to another embodiment of the present invention.

도 2를 참조하면, 상기 영상 복호화 장치(200)는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 인트라 예측부(240), 움직임 보상부(250), 가산기(255), 필터부(260) 및 참조 영상 버퍼(270)를 포함한다.2, the image decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an intra prediction unit 240, a motion compensation unit 250, an adder 255, a filter unit 260, and a reference image buffer 270.

영상 복호화 장치(200)는 부호화기에서 출력된 비트스트림을 입력 받아 인트라 모드 또는 인터 모드로 복호화를 수행하고 재구성된 영상, 즉 복원 영상을 출력한다. 인트라 모드인 경우 화면 내 예측 모드를 사용하여 예측 블록을 생성하고 인터 모드인 경우 화면 간 예측 방법을 사용하여 예측 블록을 생성한다. 영상 복호화 장치(200)는 입력 받은 비트스트림으로부터 잔여 블록(residual block)을 얻고 예측 블록을 생성한 후 잔여 블록과 예측 블록을 더하여 재구성된 블록, 즉 복원 블록을 생성한다.The video decoding apparatus 200 receives the bit stream output from the encoder and decodes the video stream into an intra mode or an inter mode, and outputs a reconstructed video, i.e., a reconstructed video. In the intra mode, the prediction block is generated using the intra prediction mode, and in the inter mode, the prediction block is generated using the inter prediction method. The image decoding apparatus 200 obtains a residual block from the input bitstream, generates a prediction block, adds the residual block and the prediction block, and generates a reconstructed block, that is, a reconstruction block.

엔트로피 복호화부(210)는 입력된 비트스트림을 확률 분포에 따라 엔트로피 복호화하여 양자화된 계수(quantized coefficient)를 출력한다. 양자화된 계수는 역양자화부(220)에서 역양자화되고 역변환부(230)에서 역변환되며, 양자화된 계수가 역양자화/역변환 된 결과, 잔여 블록(residual block)이 생성된다. The entropy decoding unit 210 entropy-decodes the input bitstream according to a probability distribution and outputs a quantized coefficient. The quantized coefficients are inversely quantized in the inverse quantization unit 220 and inversely transformed in the inverse transformation unit 230. As a result of inverse quantization / inverse transformation of the quantized coefficients, a residual block is generated.

화면 내 예측 모드인 경우, 인트라 예측부(240)(또는 화면 내 예측부)는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성한다. In the intra prediction mode, the intra prediction unit 240 (or the intra prediction unit) generates a prediction block by performing spatial prediction using pixel values of blocks that are already encoded around the current block.

화면 간 예측 모드인 경우, 움직임 보상부(250)는 움직임 벡터 및 참조 영상 버퍼(270)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성한다. In the inter prediction mode, the motion compensator 250 generates a predictive block by performing motion compensation using the motion vector and the reference image stored in the reference image buffer 270.

잔여 블록과 예측 블록은 가산기(255)를 통해 더해지고, 더해진 블록은 필터부(260)를 거친다. 필터부(260)는 디블록킹 필터, SAO, ALF 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(260)는 재구성된 영상, 즉 복원 영상을 출력한다. 복원 영상은 참조 영상 버퍼(270)에 저장되어 화면 간 예측에 사용될 수 있다.The residual block and the prediction block are added through the adder 255, and the added block is passed through the filter unit 260. [ The filter unit 260 may apply at least one or more of the deblocking filter, SAO, and ALF to the reconstructed block or the reconstructed picture. The filter unit 260 outputs a reconstructed image, that is, a reconstructed image. The reconstructed picture may be stored in the reference picture buffer 270 to be used for inter prediction.

부호화/복호화 장치의 예측 성능을 향상시키기 위한 방법에는 보간(interpolation) 영상의 정확도를 높이는 방법과 차신호를 예측하는 방법이 있다. 여기서 차신호란 원본 영상과 예측 영상과의 차이를 나타내는 신호이다. 본 발명에서 “차신호”는 문맥에 따라 “차분 신호”, “잔여 블록” 또는 “차분 블록”으로 대체되어 사용될 수 있으며, 해당 기술분야에서 통상의 지식을 가진 자는 발명의 사상, 본질에 영향을 주지 않는 범위 내에서 이를 구분할 수 있을 것이다.Methods for improving the prediction performance of the encoding / decoding apparatus include a method of increasing the accuracy of the interpolation image and a method of predicting the difference signal. Here, the difference signal is a signal indicating the difference between the original image and the predicted image. In the present invention, the term " difference signal " may be replaced by a " difference signal ", " residual block ", or " difference block " depending on the context. Those skilled in the art may influence the idea You will be able to distinguish this within the scope of not giving.

전술한 바와 같이 이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다. As described above, in the embodiment of the present invention, a coding unit (coding unit) is used as a coding unit for convenience of explanation, but it may be a unit for performing not only coding but also decoding.

본 발명의 실시예에서 후술할 영상 부호화 방법 및 영상 복호화 방법은 도 1 및 도 2에서 전술한 영상 부호화기 및 영상 복호화기에 포함된 각 구성부에서 수행될 수 있다. 구성부의 의미는 하드웨어적인 의미뿐만 아니라 알고리즘을 통해 수행될 수 있는 소프트웨어적인 처리 단위도 포함할 수 있다.
In the exemplary embodiment of the present invention, the image encoding method and the image decoding method to be described later may be performed by each component included in the image encoder and the image decoder described above with reference to FIGS. 1 and 2. The meaning of the constituent part may include not only a hardware meaning but also a software processing unit which can be performed through an algorithm.

도 3은 본 발명의 실시예에 따른 부호화 단위의 분할 방법을 나타낸 개념도이다.3 is a conceptual diagram illustrating a splitting method of coding units according to an embodiment of the present invention.

도 3을 참조하면, 영상을 부호화 하기 위해 영상을 미리 정의된 부호화 단위로 분할한 후, 미리 정의된 단위로 분할된 부호화 단위를 기준으로 더 작은 크기의 부호화 단위로 분할하면서 부호화를 수행한다. 분할을 위해 미리 정의된 부호화 단위를 LCU(Largest Coding Unit)이라고 한다. LCU를 시작으로 분할이 한번 수행될 때 마다. 부호화 단위의 가로 길이 및 세로 길이가 절반씩 감소한 4개의 부호화 단위가 생성될 수 있다. LCU를 기준으로 한번의 분할이 수행되는 경우 4개의 부호화 단위가 생성되고, 생성된 4개의 부호화 단위 중 추가적으로 분할을 수행하는 블록은 LCU를 기준으로 1/4의 가로 길이 및 세로 길이를 가진 블록으로 분할될 수 있다. Referring to FIG. 3, in order to encode an image, the image is divided into predefined coding units, and then encoding is performed by dividing the image into smaller coding units based on the coding unit split into the predefined units. A predefined coding unit for splitting is called a large gesture coding unit (LCU). Every time a split is performed, starting with the LCU. Four coding units in which the horizontal length and the vertical length of the coding unit are reduced by half may be generated. When one division is performed based on the LCU, four coding units are generated, and a block that performs additional division among the four coding units generated is a block having a horizontal length and a vertical length of 1/4 based on the LCU. Can be divided.

분할 깊이는 LCU를 기준으로 분할이 수행된 횟수로서 LCU를 기준으로 한번 분할이 수행될 때마다 분할 깊이값은 1 씩 증가할 수 있다. 예를 들어, LCU를 기준으로 한번 분할이 된 경우 분할 깊이는 1이 되고 추가적으로 한번 더 분할이 된 경우, 분할 깊이는 2가 된다. 즉, 분할이 추가적으로 수행될수록 분할 깊이는 증가될 수 있다.The split depth is the number of times the split is performed based on the LCU, and the split depth value may be increased by 1 each time the split is performed once based on the LCU. For example, if the partition is divided once based on the LCU, the partition depth is 1, and if the partition is further divided, the partition depth is 2. That is, as the division is additionally performed, the division depth may increase.

부호화 단위가 얼마의 깊이로 분할되는지 여부는 영상의 특성에 따라 달라질 수 있다. 예를 들어, 복잡한 영상은 LCU 내에서 변화가 많이 존재하므로 복잡하지 않은 영상보다 상대적으로 더 큰 깊이를 가진 부호화 단위로 분할될 수 있다. How deep the coding unit is divided may vary depending on the characteristics of the image. For example, a complex image may be divided into coding units having a relatively larger depth than that of an uncomplicated image since there are many changes in the LCU.

얼마나 분할을 수행할지 여부는 압축 효율과 화질 측면에서 가장 이상적인 분할이 어떠한 분할 깊이인지에 따라 결정된다. 예를 들어, 최적의 분할보다 더 큰 분할 깊이로 분할되는 경우, 화질 측면에서는 더 나아질 수 있으나, 부호화에 사용되는 비트가 증가할 수 있기 때문에 부호화 효율은 떨어질 수 있다. 반대로 최적의 분할보다 더 작은 분할 깊이로 분할되는 경우, 화질에 있어서는 더 큰 깊이로 분할되는 경우보다 떨어질 수 있으나 상대적으로 부호화 효율은 커질 수 있다. 따라서, 영상의 특성에 따라 압축 효율과 화질 측면에서 적절한 분할 깊이를 결정하는 것이 영상 부호화에 있어서 중요하다. How much division is performed depends on which division depth is the most ideal division in terms of compression efficiency and image quality. For example, when the partition is partitioned to a larger depth than the optimal partition, it may be better in terms of image quality, but encoding efficiency may be degraded because bits used for encoding may increase. On the contrary, in case of dividing with a smaller depth of division than the optimal division, the image quality may be lower than that of dividing into a larger depth, but the coding efficiency may be relatively increased. Therefore, it is important to determine the appropriate segmentation depth in terms of compression efficiency and image quality according to the characteristics of the image.

부호화 단위를 분할할지 여부에 대한 정보는 분할 정보(Split Flag)를 통해 표현될 수 있다. 이 분할 정보는 더 이상 분할할 수 없는 가장 작은 단위의 부호화 단위(가장 큰 분할 깊이를 가진 부호화 단위)를 제외한 나머지 부호화 단위에 존재할 수 있다. 예를 들어, 부호화 단위의 분할 정보가 0인 경우, 해당 부호화 단위를 분할하지 않고 부호화 단위의 분할 정보가 1일 경우 가로와 세로로 절반씩 작은 부호화 단위 4개로 계층적인 분할을 수행할 수 있다. 전술한 바와 같이 부호화 단위에 대한 분할이 일어날 때 마다 분할 깊이가 증가하게 되고, 분할 깊이가 같은 부호화 단위의 가로 길이 및 세로 길이는 동일하다. Information on whether to split the coding unit may be expressed through split information. This splitting information may be present in the remaining coding units except for the coding unit of the smallest unit (coding unit having the largest division depth) that can no longer be split. For example, when split information of a coding unit is 0, hierarchical splitting may be performed by four coding units that are smaller in half horizontally and vertically when split information of a coding unit is 1 without splitting the coding unit. As described above, whenever the splitting of the coding unit occurs, the splitting depth is increased, and the horizontal length and the vertical length of the coding unit having the same splitting depth are the same.

분할 깊이가 가질 수 있는 분할 깊이의 최대값과 최소값은 미리 정의될 수 있고, 최소값부터 시작해서 부호화 단위를 분할하여 분할 깊이의 최대값 이상으로 부호화 단위를 분할할 수는 없다. 도 3과 같은 경우는 LCU의 크기가 128x128이고 분할 깊이는 최소 깊이인 0부터 최대 깊이가 4인 경우까지를 나타낸다.The maximum value and the minimum value of the division depth that the division depth may have may be defined in advance, and the coding unit may not be divided beyond the maximum value of the division depth by dividing the coding unit starting from the minimum value. In the case of FIG. 3, the LCU has a size of 128 × 128 and the splitting depth is from the minimum depth of 0 to the maximum depth of 4.

도 3의 상단을 참조하면 가장 상단에 위치한 경우는 N=64이고 분할 깊이가 0인 경우를 나타낸 것으로서 왼쪽은 분할 정보(Split Flag)가 0인 경우로서 128x128의 크기를 가진 부호화 단위, 오른쪽은 분할 정보(Spilt Flag)가 1인 경우로서 64x64 크기의 4개의 부호화 단위로 분할된 경우를 나타낸다. 즉 분할된 각각의 부호화 단위는 분할 깊이값으로 1을 가지게 된다. Referring to the upper part of FIG. 3, the uppermost case is N = 64 and the split depth is 0. On the left side, a split flag is 0, and a coding unit having a size of 128x128 and the right side are split. The case in which the information (Spilt Flag) is 1 is divided into four coding units having a 64x64 size. That is, each of the divided coding units has a split depth value of 1.

도 3의 중단은 분할 깊이값이 1인 N=32인 64x64 크기의 분할 단위를 나타낸 것으로서 도 3의 상단의 분할된 부호화 단위와 동일한 크기를 가진다. 도 3의 중단 좌측의 부호화 단위는 분할 정보(Split Flag)가 0인 경우를 나타낸 것으로 분할 깊이 1에서 더 이상 추가적인 분할이 일어나지 않고, 중단 우측의 부호화 단위는 분할 정보(Split Flag)가 1인 경우를 나타낸 것으로 분할 깊이 1에서 추가적인 분할이 일어나 분할 깊이 2를 가진 부호화 단위가 될 수 있다. 3 shows a 64x64 partition unit having a partition depth value of N = 32 and has the same size as the partitioned coding unit at the top of FIG. 3. The coding unit on the left side of FIG. 3 represents a case where split information is 0, and no further splitting occurs at a split depth 1, and the coding unit on the right side of the break corresponds to split information. In this case, additional splitting occurs at split depth 1 to form a coding unit having split depth 2.

도 3의 하단은 분할 깊이값이 4인 N=4인 8x8 크기의 분할 단위를 나타낸 것으로서 도 3의 중단의 분할된 부호화 단위에서 추가적으로 3번의 분할이 더 이루어 진 경우를 나타낸다. 분할 깊이의 최대값이 4로 미리 정의된 경우 분할 깊이가 4가 되어 부호화 단위의 크기가 8x8 크기가 되는 경우 추가적으로 분할 여부를 판단하는 플래그 정보(Spilt Flag)를 사용하지 않고 부호화를 수행할 수 있다.
The lower part of FIG. 3 shows an 8x8 sized division unit having N = 4 having a division depth value of 4, and shows an additional three divisions in the divided coding units of FIG. 3. When the maximum value of the split depth is predefined as 4, when the split depth becomes 4 and the size of the coding unit becomes 8x8, encoding may be performed without using additional flag information for determining whether to split additionally. .

도 4 및 도 5는 본 발명의 실시예에 따른 64x64 크기의 부호화 단위가 분할되는 것을 나타낸 개념도이다. 4 and 5 are conceptual views illustrating splitting of a 64x64 coding unit according to an embodiment of the present invention.

도 4 및 도 5를 참조하면, 64x64 크기의 부호화 단위가 분할되고 부호화 단위가 분할되는 정보는 트리 구조를 통해 나타낼 수 있다. 64x64 크기의 부호화 단위일 경우 분할 깊이를 0이라고 한다면 예를 들어, 64x64 크기의 부호화 단위가 4개의 32x32 크기의 부호화 단위 분할되므로 64x64 크기의 부호화 단위에서 분할 정보는 1이 될 수 있다. z 스캔 순서로 분할된 부호화 단위를 제1 부호화 단위, 제2 부호화 단위, 제3 부호화 단위, 제4 부호화 단위라고 한다면, 제1, 3, 4 부호화 단위는 분할되지 않지만, 제2 부호화 단위(400)는 추가적으로 한 단계 더 높은 분할 깊이로 분할된다. 트리 구조에서는 분할 깊이 1에서의 분할 정보를 0100과 같이 나타내어 부호화 단위의 분할 여부 정보를 표시할 수 있다. 예를 들어 최대 분할 깊이가 2인 경우 제2 부호화 단위(400)에서 추가적으로 분할되는지 여부에 대한 정보는 부호화되지 않아도 되므로 분할 정보를 포함하지 않고 부호화 될 수 있다. 하지만 최대 분할 깊이가 2보다 큰 경우, 제2 부호화 단위(400)는 추가적으로 분할되지 않고 제2 부호화 단위의 분할 깊이 2에서의 분할 정보는 0000과 같이 나타낼 수 있다. 4 and 5, information in which a 64x64 coding unit is divided and the coding unit is divided may be represented through a tree structure. In the case of a 64x64 coding unit, if the split depth is 0, for example, since the 64x64 coding unit is divided into four 32x32 coding units, the split information may be 1 in the 64x64 coding unit. If the coding unit divided in the z scan order is a first coding unit, a second coding unit, a third coding unit, or a fourth coding unit, the first, third, and fourth coding units are not divided, but the second coding unit 400 is used. ) Is further divided to one more division depth. In the tree structure, split information at split depth 1 may be represented as 0100 to indicate split information on coding units. For example, when the maximum split depth is 2, since information on whether to be additionally split in the second coding unit 400 does not need to be encoded, it may be encoded without including split information. However, when the maximum split depth is greater than 2, the second coding unit 400 may not be split further, and the split information at split depth 2 of the second coding unit may be expressed as 0000.

이처럼 부호화 단위를 부호화할 때는 LCU 단위를 기준으로 계층적인 분할을 수행한다. LCU 크기와 최대 깊이값은 영상을 압축하는데 부호화 단위 내에 분할 정보를 저장하는 횟수와 부호화 단위의 크기를 결정하는데 중요한 정보가 될 수 있다.
As described above, when encoding the coding unit, hierarchical division is performed based on the LCU unit. The LCU size and the maximum depth value may be important information for determining the number of times of storing segmentation information and the size of a coding unit in compressing an image.

도 6은 본 발명의 실시예에 따른 LCU 분할 구조를 나타낸 개념도이다. 6 is a conceptual diagram illustrating an LCU partitioning structure according to an embodiment of the present invention.

도 6을 참조하면, LCU내의 최소 깊이가 0인 64x64 크기의 부호화 단위로부터 최대 깊이 3인 8x8 크기의 부호화 단위까지 부호화를 수행하는 것을 가정한다. LCU 분할 구조는 LCU 내에 깊이별로 존재하는 부호화 단위가 분할되는지에 따라서 결정되는 LCU의 구조적인 특성인데 도 6과 같이 각 깊이의 부호화 단위가 분할되는지에 따라 LCU 단위로 다양한 모양의 LCU 분할 구조가 존재할 수 있다. LCU 분할 구조는 부호화 단위의 분할 정보이다. 위와 같이 다양한 LCU 분할 구조를 생성하여 LCU 분할 구조 후보에 저장한 뒤, 최적의 LCU 분할 구조를 결정하는 단계에서 LCU 단위로 LCU 분할 구조 후보 중 하나의 분할 구조를 최적의 LCU 분할 구조로서 선택하게 된다. 이러한 방법을 사용함으로서 LCU 단위로 영상의 특성에 맞게 적응적인 LCU 분할 구조를 기초로 부호화를 수행함으로서 부호화 효율 및 화질 측면에서 효율적인 부호화를 수행할 수 있다는 장점이 있다.Referring to FIG. 6, it is assumed that encoding is performed from a 64x64 sized coding unit having a minimum depth of 0 to a coding unit having a maximum depth of 8x8 size. The LCU splitting structure is a structural characteristic of the LCU determined according to whether coding units existing for each depth in the LCU are divided. As shown in FIG. 6, LCU splitting structures having various shapes may exist in LCU units depending on whether coding units of each depth are split. Can be. The LCU splitting structure is split information of a coding unit. After generating various LCU partition structures and storing them in the LCU partition structure candidate as described above, one of the LCU partition structure candidates is selected as the optimal LCU partition structure in LCU units in the step of determining an optimal LCU partition structure. . By using such a method, encoding is performed based on an LCU partitioning structure that is adaptive to the characteristics of an image in units of LCUs, and thus, encoding may be efficiently performed in terms of encoding efficiency and image quality.

HEVC의 인코더에서는 영상의 특성에 따라 LCU 내의 부호화 단위의 분할 방법을 다르게 결정할 수 있다. 즉, 최적의 LCU 분할 구조를 결정하기 위해 다양한 경우의 분할 구조를 부호화할 수 있는데 최적의 LCU 분할 구조를 결정하기 위한 방법으로 각각의 분할 깊이마다 모든 부호화 단위의 예측 모드(Intra, Inter 모드 등)를 사용하여 부호화를 수행한 뒤, 부호화되는 비트량과 화질에 따라 해당 부호화 단위의 예측 모드를 결정하는 방법을 사용할 수 있다. 예를 들어 도 6에서처럼, 깊이 0인 64x64 부호화 단위로 Intra 모드와 Inter 모드 등으로 각각 부호화를 수행한 뒤 최적의 모드를 저장해두고, 64x64 크기의 부호화 단위를 4개로 분할하여 각각의 32x32 크기의 부호화 단위로 Intra 모드와 Inter 모드 등으로 각각 부호화를 재귀적으로 수행할 수 있다. 이 때 분할된 4개의 32x32 크기의 부호화 단위는 각각 독립적으로 예측 모드가 선택될 수 있다. 또한 32x32 크기의 부호화 단위 내에서도 16x16 크기의 부호화 단위 4개로 분할하여 부호화를 수행한다. 이렇게 재귀적인 방식으로 해당 부호화 단위를 분할하여 부호화를 수행한 뒤, 비트량과 화질 측면에서 가장 효율적인 부호화 단위의 분할 구조를 결정한다. 예를 들어, 부호화한 4개의 32x32 크기의 부호화 단위의 비트량과 화질이 64x64 크기의 부호화 단위로 부호화를 한 경우보다 효율적일 경우, 해당 부호화 단위는 32x32 크기의 부호화 단위 4개로 분할된다고 결정한다. 인코더(영상 부호화기)에서 영상을 부호화할 때 LCU가 분할될 수 있는 모든 경우의 수에 대하여 최적의 부호화 단위 분포를 찾게 되는데, 이는 인코더의 계산 복잡도를 높이는 요인으로 작용한다. 효율적인 압축 성능을 위해 많은 경우의 수에 대해 부호화 효율을 판단할 수록 계산 복잡도가 증가하는 현상이 발생한다.
In the encoder of HEVC, a splitting method of coding units in an LCU may be determined differently according to characteristics of an image. That is, in order to determine the optimal LCU partitioning structure, the partitioning structure in various cases can be encoded. As a method for determining the optimal LCU partitioning structure, the prediction mode (Intra, Inter mode, etc.) of all coding units at each partitioning depth. After encoding using, a method of determining a prediction mode of a corresponding coding unit may be used according to the amount of bits to be encoded and the image quality. For example, as shown in FIG. 6, after encoding each of the 64x64 coding units having a depth of 0 in the Intra mode and the Inter mode, the optimal mode is stored, and each 64x64 size coding unit is divided into 4 pieces to encode each 32x32 size. In units of Intra mode and Inter mode, encoding may be performed recursively. In this case, each of the four coding units having a size of 32x32 may be independently selected as a prediction mode. In addition, even within a 32x32 coding unit, encoding is performed by dividing into four 16x16 coding units. After coding is performed by dividing the coding unit in a recursive manner, the partition structure of the coding unit that is most efficient in terms of bit quantity and quality is determined. For example, when the bit amount and the image quality of four encoded 32x32 coding units are more efficient than those encoded by 64x64 coding units, it is determined that the coding units are divided into four 32x32 coding units. When encoding an image in an encoder (image encoder), an optimal coding unit distribution is found for all cases in which the LCU can be divided, which increases the computational complexity of the encoder. For efficient compression performance, the computational complexity increases as the coding efficiency is determined for a large number of cases.

도 7은 본 발명의 실시예에 따른 참조 소프트웨어를 이용해서 테스트 조건으로 Random access와 Low delay를 사용하여 부호화를 수행한 결과이다.7 is a result of encoding using random access and low delay as a test condition using reference software according to an embodiment of the present invention.

기준이 되는 실험 조건으로 가장 큰 부호화 단위를 128x128로 정하였고, 비교 대상은 가장 큰 부호화 단위를 64x64로 정하여 부호화를 수행하였다. 가장 큰 부호화 단위의 크기를 128x128로 정하였을 경우, 128x128 크기의 부호화 단위부터 8x8 크기의 부호화 단위까지 모두 부호화를 수행하였고, 비교 대상은 64x64 크기의 부호화 단위부터 8x8 크기의 부호화 단위까지 모두 부호화를 수행하였다. 표에서 알 수 있다시피 64x64 크기의 부호화 단위를 가장 큰 부호화 단위로 두었을 경우 부호화 효율 (BD-Rate)가 나빠졌지만 인코더의 복잡도가 60% 정도로 낮아진 것을 알 수 있다. 이 계산 복잡도의 차이는 128x128 크기의 부호화 단위를 부호화를 수행하는데 필요한 복잡도이다. 따라서 128x128 크기의 부호화 단위로 부호화를 수행할 경우, 부호화 효율이 좋아졌지만 계산 복잡도가 높아지는 결과를 초래하였다고 할 수 있다. 위와 같이 부호화 효율을 높이기 위해서 일반적으로 계산 복잡도가 증가하는 현상이 발생한다. 하지만 부호화 효율이 증가하는 비율에 비해서 계산 복잡도가 많이 증가할 경우에는 이를 개선할 필요가 있다. 따라서 부호화 효율을 낮추지 않으면서 계산 복잡도를 감소시키는 방법이 필요하다.As an experimental condition, the largest coding unit was set to 128x128 and the comparison target was coded by setting the largest coding unit to 64x64. When the size of the largest coding unit is set to 128x128, encoding is performed from the 128x128 coding unit to the 8x8 coding unit, and the comparison target encodes everything from the 64x64 coding unit to the 8x8 coding unit. It was. As can be seen from the table, when the 64x64 coding unit is the largest coding unit, the coding efficiency (BD-Rate) is deteriorated, but the complexity of the encoder is reduced to about 60%. The difference in computational complexity is the complexity required to encode a 128x128 coding unit. Therefore, when encoding is performed using a 128x128 coding unit, the coding efficiency is improved, but the computational complexity is increased. As described above, in order to increase coding efficiency, a computational complexity generally increases. However, when the computational complexity increases a lot compared to the rate at which the coding efficiency increases, this needs to be improved. Therefore, there is a need for a method of reducing computational complexity without lowering coding efficiency.

위와 같이 부호화 단위로 부호화를 수행할 때 특정 부호화 단위를 부호화할 것인지를 결정하는 것은 계산 복잡도와 비트량에 영향을 미치는 것을 알 수 있다. 또한 부호화 단위로 부호화를 할 경우, 인코더에서는 부호화 단위를 분할하여 부호화를 수행할지를 결정하여 디코더(영상 복호화기)에 전송하는데 이를 분할 정보를 통해서 전송한다. 이 정보는 부호화 단위의 분할되는 정보와 밀접한 연관을 가지고 있으며, 비트스트림의 비트량을 결정짓는 중요한 요소이다. 다음은 비트스트림에서 부호화 단위 내에 있는 정보들의 분포를 양자화 파라미터(QP)별로 나타낸 그림이다.
As described above, it is understood that determining whether to encode a specific coding unit when encoding is performed in the coding unit affects computation complexity and bit amount. When encoding is performed in coding units, the encoder determines whether to perform encoding by dividing the coding unit and transmits the encoding to a decoder (video decoder), which is transmitted through the split information. This information is closely related to the divided information of the coding unit and is an important factor in determining the bit amount of the bitstream. The following figure shows the distribution of information in a coding unit in a bitstream for each quantization parameter (QP).

도 8 내지 도 11은 부호화 단위의 정보들(화면내 예측 방향 정보(IntraDir), 분할정보(split flag), 스킵 정보(skip), 움직임 병합 정보(merge), 부호화 모드 정보(Predic), 블록 분할 정보(Part size), 움직임 예측 정보(AMVP), 움직임 차분 정보(MVD), 예측 방향 정보(Dir))의 양자화 파라미터별 분포를 나타낸 그래프이다. 특히 부호화 단위 정보를 부호화할 경우, 부호화 단위를 분할하는데 필요한 정보인 분할 정보는 비트스트림 내에 많은 비중을 차지하고 있는 것을 알 수 있다. 또한 양자화 파라미터의 크기가 커질수록 변환 계수(Transform Coefficient)를 부호화하는 비중이 작아지므로 상대적으로 분할 정보의 비중이 커지는 것을 알 수 있다. 따라서 계산 복잡도를 낮추기 위해서 분할을 제한하는 경우 분할 정보에 영향을 미쳐서 비트량이 증가하거나 감소할 수 있다. 8 to 11 illustrate information of coding units (intra prediction direction information (IntraDir), split information, skip information, skip, motion merge information (merge), coding mode information (Predic), and block division. A graph showing distribution of quantization parameters of information (Part size), motion prediction information (AMVP), motion difference information (MVD), and prediction direction information (Dir). In particular, in the case of encoding the coding unit information, it can be seen that the split information, which is information necessary for splitting the coding unit, occupies a large portion in the bitstream. In addition, as the size of the quantization parameter increases, the weight of encoding transform coefficients decreases, so that the weight of split information increases. Therefore, when partitioning is limited to reduce computational complexity, the bit amount may increase or decrease by affecting partitioning information.

영상 부호화 방법에서는 부호화 단위로 부호화 및 복호화를 수행하는데, 부호화 단위를 부호화하려고 할 때 부호화 단위의 크기로 부호화를 수행할지 아니면 더 작은 단위의 부호화 단위의 크기로 부호화를 할지를 인코더에서 결정할 수 있다. 인코더에서는 예를 들어, 모든 분할 깊이에 존재하는 부호화 단위에서 모든 모드를 부호화한 뒤 가장 부호화 효율 및 화질 측면에서 효율적인 부호화 단위의 크기와 모드를 결정한다. 부호화 단위의 크기를 결정하는데, 부호화 단위를 분할할지에 대한 정보를 분할 정보에 저장하고, 이 정보를 비트스트림을 통해 디코더로 전송한다. 디코더에서는 해당 정보를 통해 해당 부호화 단위의 분할 정보를 통해 해당 부호화 단위의 분할 구조를 결정한다. 하지만 전술한 바와 같이 모든 깊이의 부호화 단위를 부호화해보는 방법은 계산 복잡도가 증가할 수 있다.In the image encoding method, encoding and decoding are performed in coding units. When an encoding unit is to be encoded, the encoder may determine whether to perform encoding by the size of the coding unit or to encode the size of the coding unit in a smaller unit. In the encoder, for example, all modes are encoded in coding units existing at all division depths, and then the sizes and modes of coding units that are most efficient in terms of coding efficiency and quality are determined. In determining the size of the coding unit, information about whether to split the coding unit is stored in the split information, and the information is transmitted to the decoder through the bitstream. The decoder determines the split structure of the coding unit through the split information of the coding unit through the corresponding information. However, as described above, a method of encoding coding units of all depths may increase computational complexity.

본 발명의 실시예에 따르면 분할 구조를 결정함에 있어 계산 복잡도가 증가하는 문제점을 해결하기 위해 부호화 단위에 대하여 LCU 분할 구조를 생성함에 있어 동일한 프레임 내에 부호화 단위와 인접한 부호화 단위의 정보, 참조 프레임 내의 존재하는 부호화 단위의 정보 또는 프레임 단위의 예측 구조를 통해 해당 부호화 단위의 특성을 예측하여 LCU 분할 구조 후보를 생성시 최종 LCU 분할 구조로 결정될 확률이 작은 부호화 단위는 LCU 분할 구조 후보에 포함시키지 않을 수 있다. 이러한 방법을 사용함으로서 인코더에서는 부호화 단위가 특정한 조건을 만족하는 경우 부호화를 수행하지 않음으로서 계산 복잡도를 줄일 수 있고, 특정 경우에 분할 정보를 보내지 않음으로서 압축 효율을 개선시킬 수 있다. Inter prediction을 수행하는 블록뿐만 아니라 Intra prediction 만을 수행하는 블록인 경우에도 콜 LCU 및 콜 CU의 분할 정보를 참조하여 분할 여부를 예측할 수 있다.According to an embodiment of the present invention, in order to solve the problem of increasing computational complexity in determining a partitioning structure, in generating an LCU partitioning structure for a coding unit, information of a coding unit and coding units adjacent to each other within a same frame and a reference frame exist. A coding unit having a low probability of being determined as the final LCU split structure when generating an LCU split structure candidate by predicting characteristics of the coding unit through information of a coding unit or a prediction structure of a frame unit may not be included in the LCU split structure candidate. . By using this method, the encoder can reduce computational complexity by not performing encoding when a coding unit satisfies a specific condition, and improve compression efficiency by not sending segmentation information in a specific case. In the case of not only a block for performing inter prediction but also a block for performing only intra prediction, whether to split may be predicted with reference to the call LCU and the split information of the call CU.

이하, 본 발명의 실시예에서는 분할 여부를 결정할 대상이 되는 부호화 단위를 분할 대상 부호화 단위, 참조 프레임에 존재하는 콜 LCU 또는 콜 CU를 참조 블록, 분할 대상 부호화 단위와 동일한 프레임에 존재하면서 인접한 부호화 단위를 인접 부호화 단위라는 용어로 정의하여 사용한다.
Hereinafter, according to an exemplary embodiment of the present invention, a coding unit that is to be determined whether to split is a coding unit to be split, a call LCU existing in a reference frame or a call CU to a neighboring coding unit while being in the same frame as the reference block and the splitting coding unit. Is defined as the term of adjacent coding units.

본 발명에서는 고효율 비디오 부호화시 부호화 단위의 정보를 부호화하는데, In the present invention, the information of the coding unit is encoded at the time of high efficiency video encoding.

(1) 참조 프레임에서 현재 부호화 단위에 대응되는 부호화 단위 정보(참조 블록 정보) 또는 같은 프레임 내에 인접한 부호화 단위 정보(인접 블록 정보)를 통해 부호화 대상 부호화 단위를 LCU 분할 구조 후보에 포함시킬지 여부를 결정하는 방법과 (1) It is determined whether a coding target coding unit is included in the LCU partition structure candidate through coding unit information (reference block information) corresponding to the current coding unit in the reference frame or coding unit information (adjacent block information) adjacent in the same frame. How to

(2) 참조 프레임에서 부호화 대상 부호화 단위에 대응되는 부호화 단위 정보(참조 블록 정보) 혹은 같은 프레임 내에 인접한 부호화 단위 정보(인접 블록 정보)를 통해 부호화 대상 부호화 단위를 LCU 분할 구조 후보에 포함시킬지 여부를 결정하고, 해당 부호화 단위의 분할 정보를 부호화 및 복호화할지 여부를 결정하는 방법에 대해 개시한다.
(2) Whether the encoding target coding unit is included in the LCU partition structure candidate through the coding unit information (reference block information) corresponding to the encoding target coding unit in the reference frame or the coding unit information (adjacent block information) adjacent to the same frame. Disclosed is a method for determining whether to encode and decode split information of a coding unit.

본 발명의 실시예에 따르면 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위 정보(참조 블록 정보) 또는 같은 프레임 내에 인접한 부호화 단위 정보(인접 블록 정보)를 통해 분할 대상 부호화 단위를 LCU 분할 구조 후보에 포함시킬지 여부를 결정하는 방법은 아래와 같이 수행될 수 있다. LCU 분할 구조 후보는 최적의 LCU 분할 구조로 결정될 수 있는 후보를 의미한다. 즉, 특정 LCU 분할 구조가 LCU 분할 구조에 해당하지 않는 경우, 그 LCU 분할 구조에 대해서는 부호화를 수행하지 않아도 되므로 모든 LCU 분할 구조에 대하여 부호화를 수행하는 경우보다 상대적으로 계산 복잡도가 줄어들 수 있다.According to an embodiment of the present invention, the splitting target coding unit is assigned to the LCU partition structure candidate through coding unit information (reference block information) corresponding to the splitting target coding unit in the reference frame or coding unit information (adjacent block information) adjacent to the same frame. The method of determining whether to include may be performed as follows. The LCU partition structure candidate refers to a candidate that can be determined as an optimal LCU partition structure. That is, when a specific LCU partition structure does not correspond to the LCU partition structure, since the coding does not need to be performed on the LCU partition structure, the computational complexity may be relatively lower than that when encoding is performed on all LCU partition structures.

본 발명의 실시예에 따른 블록 분할 방법에서는 인코더에서는 최적의 LCU 분할 구조를 찾기 위해 모든 분할 깊이에 대해 부호화를 수행하지 않고 최적의 LCU 분할 구조를 결정할 수 있다. 예를 들어, 참조 프레임에서 분할 대상 부호화 단위와 대응되는 부호화 단위의 정보를 통해 분할 대상 부호화 단위의 분할 특성을 예측함으로서 인코더에서 분할 대상 부호화 단위를 LCU 분할 구조 후보에 저장할지 여부를 결정할 수 있다. 여기에서 참조 프레임은 현재 프레임보다 이전에 이미 부호화가 수행된 프레임으로서 현재 프레임에 포함된 블록의 화면 간 예측에 사용되는 프레임을 의미한다. 참조 프레임에서 현재 부호화 단위에 대응되는 부호화 단위는 도 12와 같을 수 있다. 분할 대상 부호화 단위가 LCU 분할 구조 후보에 포함될지 여부를 결정하기 위한 참조 프레임에 존재하는 블록은 분할 대상 부호화 단위의 위치를 기준으로 참조 프레임 상에서 동일한 위치에 존재하는 collocated LCU(이하, 콜 LCU라고 함) 또는 Collocated Block(콜 블록)과 같은 단위가 될 수 있고 이러한 블록을 이하, 본 발명의 실시예에서는 참조 블록이라는 용어로 정의하여 사용한다.In the block partitioning method according to the embodiment of the present invention, the encoder may determine the optimal LCU partitioning structure without performing encoding for all the partition depths in order to find the optimal LCU partitioning structure. For example, the encoder may determine whether to store the split target coding unit in the LCU split structure candidate by predicting a split characteristic of the split target coding unit based on the information of the coding unit corresponding to the split target coding unit in the reference frame. Here, the reference frame is a frame that has been coded before the current frame and is a frame used for inter prediction of a block included in the current frame. The coding unit corresponding to the current coding unit in the reference frame may be as shown in FIG. 12. A block present in the reference frame for determining whether the split target coding unit is included in the LCU split structure candidate is a collocated LCU (hereinafter referred to as a call LCU) that exists at the same position on the reference frame based on the position of the split target coding unit. ) Or a collocated block (call block), and such a block will be defined and used as a reference block in the following embodiments of the present invention.

콜 LCU는 부호화 대상 부호화 단위의 좌측 상단 또는 중앙에 위치한 점을 (xP, yP)라고 가정하는 경우, 참조 픽쳐에서 (xP, yP) 위치에 존재하는 픽셀을 포함하는 LCU, 콜 블록은 부호화 대상 부호화 단위의 좌측 상단에 위치한 점을 (xP, yP)라고 가정하는 경우, 참조 픽쳐에서 (xP, yP) 위치에 존재하는 픽셀을 포함하는 부호화 단위를 가리킬 수 있다.When the call LCU assumes that the point located at the upper left or the center of the encoding target coding unit is (xP, yP), the LCU including the pixel existing at the position (xP, yP) in the reference picture, the call block is the encoding target encoding When a point located on the upper left of the unit is assumed to be (xP, yP), it may indicate a coding unit including a pixel existing at a position (xP, yP) in the reference picture.

일반적으로 인코더에서는 모든 분할 깊이에 대하여 부호화 단위를 부호화하기 위해서는 가장 작은 크기의 분할 깊이를 가진 부호화 단위를 부호화한 뒤 LCU 분할 구조 후보로서 저장하고 부호화 단위는 다시 분할 깊이가 1이 증가한 가로 세로 절반의 부호화 단위 4개로 분할 될 수 있는데 깊이가 1이 증가되고, 4개로 분할된 각각의 부호화 단위에 대해서도 또한 부호화를 수행한 뒤 LCU 분할 구조 후보에 저장할 수 있다. 즉, 이러한 과정이 재귀적으로 수행되어 최대 분할 깊이에 도달할 때까지 반복적으로 수행되어 분할된 부호화 단위들은 LCU 분할 구조 후보에 저장될 수 있다. 위와 같은 과정을 반복하여 저장된 LCU 분할 구조 후보 중에 부호화 효율 및 화질 측면에서 가장 효율적인 LCU 분할 구조 후보를 선택할 수 있다. 하지만 본 발명의 실시예에 따른 블록 분할 방법에서는 모든 분할 깊이에 대하여 부호화를 수행하지 않고 소정의 조건을 만족하는 블록 분할 구조 중 일부만을 LCU 분할 구조 후보로 선택함으로서 부호화를 수행하는데 발생하는 계산 복잡도를 감소시킬 수 있다.In general, the encoder encodes a coding unit having the smallest division depth in order to encode a coding unit for all division depths, and stores the encoding unit as an LCU partition structure candidate. The coding unit may be divided into four coding units, the depth of which is increased by 1, and each coding unit divided into four units may also be encoded and stored in the LCU partition structure candidate. That is, these processes may be recursively performed until the maximum division depth is reached, and the coding units split and performed may be stored in the LCU partition structure candidate. By repeating the above process, among the stored LCU partition structure candidates, the most efficient LCU partition structure candidate may be selected in terms of encoding efficiency and quality. However, in the block partitioning method according to an embodiment of the present invention, only a part of a block partitioning structure that satisfies a predetermined condition is selected as an LCU partitioning structure candidate without performing encoding for all partitioning depths, thereby calculating the computational complexity that occurs in encoding. Can be reduced.

전술한 블록 분할 방법은 Inter prediction을 수행하는 블록뿐만 아니라 Intra prediction 만을 수행하는 블록인 경우에도 콜 LCU 및 콜 CU의 분할 정보를 참조하여 분할 여부를 예측할 수 있다.
In the above-described block partitioning method, even in the case of not only a block for performing inter prediction but also a block for performing only intra prediction, it is possible to predict whether to split by referring to the split information of the call LCU and the call CU.

도 13은 본 발명의 실시예에 따른 참조 블록 정보를 기초로 LCU 분할 구조 정보를 생성하는 방법을 나타내는 순서도이다. 13 is a flowchart illustrating a method of generating LCU partition structure information based on reference block information according to an embodiment of the present invention.

참조 프레임의 참조 블록 중 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는 경우, 참조 블록 내에 포함된 부호화 단위의 움직임 정보의 차이가 크거나 움직임 정보가 큰 경우, 분할 대상 부호화 단위의 분할 깊이값이 참조 블록에 가장 큰 분할 깊이값보다 작은 경우와 같이 소정의 조건을 설정하여 조건이 만족되는 경우 분할 대상 부호화 단위에 대하여 부호화를 수행하여 LCU 분할 구조 후보에 포함시키는 과정을 수행하지 않을 수 있다.
If there is a coding unit having the largest split depth among the reference blocks of the reference frame, if the difference in the motion information of the coding unit included in the reference block is large or the motion information is large, the split depth value of the split target coding unit is referenced. When a condition is satisfied by setting a predetermined condition such as a case where the block is smaller than the largest division depth value, the encoding may be performed on the split target coding unit to be included in the LCU partition structure candidate.

예를 들어, 참조 프레임의 참조 블록에 최대 분할 깊이값을 가진 부호화 단위가 존재하는 경우 분할 대상 부호화 단위의 최적 부호화 단위도 분할 깊이값이 큰 부호화 단위가 될 확률이 높다. 따라서, 상대적으로 발생할 확률이 적은 작은 분할 깊이의 부호화 단위는 LCU 분할 구조 후보에 포함시키지 않음으로서 인코더에서 부호화에 필요한 불필요한 계산 과정을 줄일 수 있어 계산 복잡도를 감소시키는 효과가 있다.For example, when a coding unit having a maximum split depth value exists in a reference block of a reference frame, an optimal coding unit of a split target coding unit may also be a coding unit having a large split depth value. Therefore, since coding units having a relatively small split depth which are relatively unlikely to occur are not included in the LCU partition structure candidate, unnecessary calculation processes required for encoding may be reduced in the encoder, thereby reducing computation complexity.

도 13을 참조하면, 참조 블록 정보를 유도한다(단계 S1300).Referring to FIG. 13, reference block information is derived (step S1300).

전술한 바와 같이 본 발명의 실시예에 따른 LCU 분할 구조 결정 방법은 참조 블록(예를 들어, 콜 LCU 또는 콜 블록)의 정보를 기초로 분할 대상 부호화 단위에 대하여 부호화를 수행한 분할 구조를 LCU 분할 구조 후보로 사용할지 여부를 결정할 수 있다. 분할 대상 부호화 단위가 분할 구조 후보로 사용될지 여부를 결정하기 위한 정보를 분할 구조 후보 결정 정보라는 용어로 정의하여 사용한다.As described above, the method for determining the LCU partitioning structure according to the embodiment of the present invention may divide the partitioning structure in which the encoding is performed on the encoding target coding unit based on the information of the reference block (for example, the call LCU or the call block). You can decide whether to use it as a rescue candidate. Information for determining whether a split target coding unit is used as a partition structure candidate is defined and used as a term of partition structure candidate determination information.

즉, 본 발명의 실시예에서는 콜 LCU 정보 또는 콜 블록과 같은 참조 블록에서 유도된 분할 구조 후보 결정 정보를 사용해 분할 대상 부호화 단위 중 LCU 분할 구조 후보로서 사용될 부호화 단위를 결정할 수 있다.That is, in an embodiment of the present invention, the coding unit to be used as the LCU partition structure candidate among the split target coding units may be determined using the split structure candidate determination information derived from the call LCU information or the reference block such as the call block.

참조 프레임의 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단한다(단계 S1310).It is determined whether the partition structure candidate determination information of the reference frame satisfies a predetermined condition (step S1310).

참조 프레임의 참조 블록 정보로부터 유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단하여 분할 대상 부호화 단위에 대하여 부호화를 수행하여 LCU 분할 구조 후보로 사용하고 추가로 부호화 대상 부호화 단위를 하나 큰 분할 깊이로 분할할지 아니면, 부호화 대상 부호화 단위에 대하여 부호화를 수행하여 LCU 분할 구조 후보로 사용하지 않고 추가로 부호화 대상 부호화 단위를 하나 큰 분할 깊이로 분할할지 여부를 결정할 수 있다.On the basis of the partition structure candidate determination information derived from the reference block information of the reference frame, it is determined whether the split target coding unit satisfies a predetermined condition, and the encoding is performed on the split target coding unit to be used as an LCU partition structure candidate. Whether to split the encoding target coding unit into one larger segmentation depth or to split the encoding target coding unit into one larger segmentation depth without performing encoding on the encoding target coding unit to be used as an LCU segmentation structure candidate. Can be.

위의 소정의 조건은 예를 들어, 참조 블록이 콜 LCU라고 가정하는 경우 아래와 같은 조건이 될 수 있다.The above predetermined condition may be, for example, the following condition when a reference block is a call LCU.

1) 콜 LCU 내에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부1) Whether the coding unit having the largest division depth exists in the call LCU

2) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보의 차이가 일정한 기준보다 큰지 여부(예를 들어, 콜 LCU 내의 CU 또는 PU 간의 움직임 정보의 차이가 큰 경우)2) whether the difference in the motion information in the prediction unit included in the call LCU is greater than a predetermined criterion (for example, when the difference in the motion information between CUs or PUs in the call LCU is large).

3) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보가 일정한 기준보다 큰지 여부(예를 들어, 움직임 벡터(x, y)의 성분이 큰 경우).3) Whether the motion information is greater than a certain criterion in the prediction unit included in the call LCU (eg, when the component of the motion vector (x, y) is large).

4) 참조 프레임의 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index)가 서로 다른 경우.4) The reference indexes of the coding units in the call LCU of the reference frame are different.

5) 참조 프레임의 콜 LCU 내의 부호화 단위들의 변환 계수 정보들이 있는 경우.5) When there is transform coefficient information of coding units in a call LCU of a reference frame.

등이 될 수 있고 이 외에도 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위의 정보를 얻는 방법은 다양하게 사용될 수 있다. 위의 조건들 중 하나의 조건을 기초로 분할 구조 후보 결정 정보를 얻거나 복수의 조건을 기초로 분할 구조 후보 결정 정보를 얻을 수 있다. In addition, a method of obtaining information of a coding unit corresponding to a split target coding unit in a reference frame may be variously used. Partition structure candidate determination information may be obtained based on one of the above conditions, or partition structure candidate determination information may be obtained based on a plurality of conditions.

분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 LCU 분할 구조 후보로 사용되어 부호화를 수행할지 여부를 결정할 수 있다.Based on the split structure candidate determination information, the split target coding unit may be used as the LCU split structure candidate to determine whether to perform encoding.

위의 소정의 조건 중 몇 가지에 대해서 예를 들면, 분할 대상 부호화 단위의 현재 분할 깊이가 0이고 참조 프레임의 콜 LCU에 가장 큰 분할 깊이인 4를 가진 부호화 단위가 존재하는 경우, 분할 대상 부호화 단위는 추가적으로 분할될 가능성이 크다. 따라서 분할 대상 부호화 단위는 추가적으로 분할될 가능성이 크다고 판단하여 분할 대상 부호화 단위의 분할 깊이인 0일 때에 해당하는 LCU 분할 구조는 LCU 분할 구조 후보로 사용하지 않을 수 있고 분할 깊이 1인 부호화 단위에 대한 부호화도 수행되지 않을 수 있다. For some of the above predetermined conditions, for example, when the current division depth of the division target coding unit is 0 and a coding unit having 4, the largest division depth, exists in the call LCU of the reference frame, the division target coding unit Is likely to be further divided. Therefore, since the splitting target coding unit is determined to be additionally divided, the LCU splitting structure corresponding to the splitting depth of the coding target splitting unit 0 may not be used as a candidate for the LCU splitting structure. May not be performed.

또 다른 예로 콜 LCU 내에 포함된 예측 단위에서 움직임 정보의 차이가 일정한 기준보다 크거나 콜 LCU 내에 포함된 예측 단위에서 움직임 정보가 일정한 기준보다 큰 경우도 마찬가지로 분할 대상 부호화 단위가 추가적으로 분할될 가능성이 크므로 분할 대상 부호화 단위는 LCU 분할 구조 후보로 사용되지 않을 수 있고 분할 대상 부호화 단위에 대한 부호화도 수행되지 않을 수 있다.As another example, when the difference of the motion information in the prediction unit included in the call LCU is larger than a predetermined criterion or the motion information in the prediction unit included in the call LCU is larger than the predetermined criterion, the likelihood of splitting coding units is further increased. The split target coding unit may not be used as an LCU split structure candidate, and coding for the split target coding unit may not be performed.

소정의 조건을 만족하지 못하는 경우 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킨다(단계 S1320).If the predetermined condition is not satisfied, the division target coding unit is encoded and included in the LCU partition structure candidate (step S1320).

단계 S1310에서 전술한 조건을 만족하지 못하는 경우, 부호화 대상 부호화 단위의 분할 깊이를 LCU 분할 구조 후보에 포함시킬 수 있다. 즉, 분할 대상 부호화 단위의 분할 깊이도 최적의 LCU 분할 구조가 될 수 있는 가능성이 있으므로 소정의 조건을 만족하지 못하는 경우 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킬 수 있다.If the above-described conditions are not satisfied in operation S1310, the split depth of the encoding target coding unit may be included in the LCU split structure candidate. That is, since the split depth of the split target coding unit may also be an optimal LCU split structure, when the predetermined condition is not satisfied, the split target coding unit may be encoded and included in the LCU split structure candidate.

분할 대상 부호화 단위의 현재 분할 깊이가 최대 분할 깊이인지 여부를 판단한다(단계 S1330).It is determined whether the current split depth of the split target coding unit is the maximum split depth (step S1330).

분할 대상 부호화 단위에 대하여 LCU 분할 구조 후보를 생성하기 위해서는 가장 큰 분할 깊이까지 부호화 단위를 분할하여야 하므로 분할 대상 부호화 단위가 가장 큰 분할 깊이에 해당하는지 여부를 판단한다.In order to generate the LCU split structure candidate for the split target coding unit, the coding unit needs to be split up to the largest split depth, so it is determined whether the split target coding unit corresponds to the largest split depth.

분할 대상 부호화 단위의 현재 분할 깊이가 최대 분할 깊이가 아닌 경우 분할 대상 부호화 단위를 분할한다(단계 S1340).If the current split depth of the split target coding unit is not the maximum split depth, the split target coding unit is split (step S1340).

분할 대상 부호화 단위의 현재 분할 깊이가 최대 분할 깊이가 아닌 경우 분할 대상 부호화 단위를 추가적으로 분할할 수 있다. When the current split depth of the split target coding unit is not the maximum split depth, the split target coding unit may be further split.

추가적으로 분할된 분할 대상 부호화 단위는 다시 단계 S1300으로 돌아가 분할된 분할 대상 부호화 단위에 해당하는 참조 블록을 유도하고 유도된 참조 블록을 기초로 분할 구조 후보 결정 정보를 유도하여 소정의 조건을 만족하지 못하는 경우 참조 프레임의 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단하는 단계 S1310의 판단을 다시 수행할 수 있다.In addition, when the split target coding unit returns to step S1300 again, derives a reference block corresponding to the split target coding unit and derives partition structure candidate determination information based on the derived reference block, and fails to satisfy a predetermined condition. The determination of step S1310 for determining whether the partition structure candidate determination information of the reference frame satisfies a predetermined condition may be performed again.

하지만, 만약, 참조 블록이 콜 LCU 정보인 경우와 같이 분할 대상 블록이 분할되어도 참조 블록이 변하지 않아 분할 구조 후보 결정 정보가 동일한 경우, 단계 S1300 및 S1310의 판단은 다시 수행되지 않을 수도 있다. 즉, 도 13의 순서도는 본 발명을 구현하기 위한 하나의 실시예로서 본 발명의 본질에서 벋어나지 않는 한 다른 구현 방법도 사용될 수 있다. However, if the reference block is not changed even when the split target block is divided as in the case where the reference block is the call LCU information, and the split structure candidate determination information is the same, the determination of steps S1300 and S1310 may not be performed again. That is, the flowchart of FIG. 13 may be used as one embodiment for implementing the present invention as long as it does not depart from the essence of the present invention.

예를 들어, 단계 S1310에서의 판단을 수행하는 소정의 조건이 콜 LCU 내에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부인 경우 단계 S1300 및 단계 S1310은 추가적으로 판단되지 않아도 된다. 이러한 경우, 단계 S1340만을 통해 분할 대상 부호화 단위가 계속 분할이 수행되어 가장 큰 분할 깊이를 가지는 LCU 분할 구조만이 LCU 분할 구조 후보로서 저장될 수 있다.
For example, when the predetermined condition for performing the determination in step S1310 is whether a coding unit having the largest division depth exists in the call LCU, steps S1300 and S1310 need not be additionally determined. In this case, only the LCU partitioning structure having the largest partitioning depth may be stored as the LCU partitioning structure candidate because the splitting target coding unit is continuously partitioned through only step S1340.

본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법에서는 참조 블록이 아닌 동일한 프레임에 존재하는 인접한 부호화 단위 정보로부터 분할 구조 후보 결정 정보를 유도할 수 있다. In the LCU partition structure candidate determination method according to an embodiment of the present invention, partition structure candidate determination information may be derived from adjacent coding unit information existing in the same frame instead of a reference block.

이하, 본 발명의 실시예에서는 이러한 인접 부호화 단위를 인접 블록이라는 용어로 정의하여 사용할 수 있다.Hereinafter, in an embodiment of the present invention, such a neighboring coding unit may be defined and used as a term of a neighboring block.

도 14는 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법에서 분할 구조 후보 결정 정보를 유도하는 인접 부호화 단위를 나타낸 개념도이다. 14 is a conceptual diagram illustrating adjacent coding units for deriving partition structure candidate determination information in an LCU partition structure candidate determination method according to an embodiment of the present invention.

도 14에서 개시한 인접 부호화 단위는 하나의 예시로서 다른 인접 부호화 단위도 사용될 수 있다. The neighboring coding unit disclosed in FIG. 14 may be used as another neighboring coding unit as one example.

인접 부호화 단위는 분할 대상 부호화 단위 전에 부호화가 수행된 부호화 단위로서 분할 대상 부호화 단위에서 분할 구조 후보 결정 정보를 유도하기 위한 부호화 단위로서 사용될 수 있다. The neighboring coding unit is a coding unit in which encoding is performed before the splitting target coding unit, and may be used as a coding unit for deriving split structure candidate determination information in the splitting target coding unit.

예를 들어 인접 부호화 단위는 도 14에서와 같이 부호화 대상 부호화 단위의 주변에 존재하는 부호화 단위 중 미리 부호화가 수행된 블록 중 적어도 하나의 블록을 지칭할 수 있다.
For example, the neighboring coding unit may refer to at least one block among blocks in which encoding is performed in advance among coding units existing around the encoding target coding unit as illustrated in FIG. 14.

도 15는 본 발명의 실시예에 따른 LCU 분할 구조 후보를 유도하는 방법을 나타낸 순서도이다. 15 is a flowchart illustrating a method of deriving an LCU partition structure candidate according to an embodiment of the present invention.

도 15를 참조하면, 인접 블록에서 LCU 분할 구조 후보 결정 정보를 유도한다(단계 S1500).Referring to FIG. 15, LCU partition structure candidate determination information is derived from an adjacent block (step S1500).

인접한 부호화 단위에서 유도될 수 있는 분할 구조 후보 결정 정보는 인접한 부호화 단위의 깊이 정보, 인접한 부호화 단위의 움직임 정보, 인접한 부호화 단위의 참조 인덱스 정보, 인접한 부호화 단위의 변환 계수 정보가 될 수 있다.The partition structure candidate determination information that may be derived from the neighboring coding units may be depth information of the neighboring coding unit, motion information of the neighboring coding unit, reference index information of the neighboring coding unit, and transform coefficient information of the neighboring coding unit.

인접 블록에서 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단한다(단계 S1510).It is determined whether the partition structure candidate determination information derived from the adjacent block satisfies a predetermined condition (step S1510).

단계 S1510에서 소정의 조건은 아래와 같은 조건이 될 수 있다. The predetermined condition in step S1510 may be the following condition.

(1) 인접한 부호화 단위의 깊이 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(1) A method for determining whether a split target coding unit is determined as an LCU partition structure candidate based on depth information of an adjacent coding unit.

(2) 인접한 부호화 단위의 움직임 정보 차이를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법. (2) A method of determining whether a split target coding unit is determined as an LCU partition structure candidate based on a motion information difference of adjacent coding units.

(3) 인접한 부호화 단위의 움직임 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(3) A method for determining whether a split target coding unit is determined as an LCU partition structure candidate based on motion information of an adjacent coding unit.

(4) 인접한 부호화 단위 정보 중, 참조 인덱스(Reference Index) 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(4) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on reference index information among adjacent coding unit information.

(5) 인접한 부호화 단위 정보 중, 부호화 단위의 변환 계수 정보들을 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(5) A method of determining whether to determine a split target coding unit as an LCU partition structure candidate based on transform coefficient information of a coding unit among adjacent coding unit information.

예를 들어, 인접한 부호화 단위의 분할 깊이 정보가 3이라고 가정하면 인접한 부호화 단위보다 작은 분할 깊이 정보를 가지는 부호화 단위가 발생할 확률은 적기 때문에 인접한 부호화 단위의 분할 깊이보다 더 작은 분할 깊이 정보를 가지는 부호화 단위는 LCU 분할 구조 후보로 사용하지 않을 수 있다. 즉, 인접 부호화 단위의 분할 깊이가 3인 경우 분할 대상 블록의 분할 깊이도 3에 인접한 갚이 될 가능성이 크므로 LCU 분할 구조 후보로 분할 깊이 1이나 2를 가진 블록을 사용하지 않을 수 있다.For example, assuming that split depth information of an adjacent coding unit is 3, a coding unit having split depth information smaller than a split depth of an adjacent coding unit is less likely because a coding unit having split depth information smaller than a neighboring coding unit is less likely to occur. May not be used as an LCU partition structure candidate. That is, when the split depth of the neighboring coding unit is 3, since the split depth of the split target block is also likely to be close to 3, the block having the split depth 1 or 2 may not be used as the LCU split structure candidate.

또 다른 예로 인접한 부호화 단위의 움직임 관련 정보와 분할 대상 부호화 단위의 움직임 관련 정보의 차이가 큰 경우 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용하지 않을 수 있다.As another example, when the difference between the motion related information of the adjacent coding unit and the motion related information of the split target coding unit is large, the split target coding unit may not be used as the LCU partition structure candidate.

전술한 단계 S1510에서 사용되는 판단 방법에서 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하기 위해 하나 또는 복수개의 조건이 사용될 수 있다. 또한, 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하기 위한 조건은 전술한 실시예뿐만 아니라 다양한 방법을 사용할 수 있다.In the above-described determination method used in step S1510, one or more conditions may be used to determine whether to determine the split target coding unit as the LCU partition structure candidate. In addition, the condition for determining whether to determine the split target coding unit as the LCU partition structure candidate may use various methods as well as the above-described embodiment.

단계 S1510의 조건을 만족하지 못하는 경우, 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 저장한다(단계 S1520). If the condition of step S1510 is not satisfied, the division target coding unit is encoded and stored in the LCU partition structure candidate (step S1520).

단계 S1510의 조건을 만족하지 못하는 경우, 분할 대상 부호화 단위는 LCU 분할 구조 후보로서 저장될 수 있다. If the condition of step S1510 is not satisfied, the split target coding unit may be stored as an LCU partition structure candidate.

가장 큰 깊이의 부호화 단위인지 여부를 판단한다(단계 S1530).It is determined whether the coding unit has the largest depth (step S1530).

단계 S1510의 조건을 만족하는 경우, 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가지는 부호화 단위인지 여부를 판단하여 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가지는 부호화 단위인 경우, 분할 절차를 종료하고, 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가지는 부호화 단위가 아닌 경우, 분할 부호화 단위를 추가적으로 분할하여(단계 S1540) 단계 S1500을 통해 다시 인접한 부호화 단위로부터 분할 구조 후보 결정 정보를 유도할 수 있다.
When the condition of step S1510 is satisfied, it is determined whether the split target coding unit is a coding unit having the largest splitting depth, and when the splitting target coding unit is a coding unit having the largest splitting depth, the splitting procedure is terminated. If the target coding unit is not the coding unit having the largest division depth, the split coding unit may be additionally divided (step S1540) to derive the split structure candidate determination information from the adjacent coding unit through step S1500.

본 발명의 실시예에 따르면 분할 구조를 결정함에 있어서 도 13에서 전술한 바와 같이 참조 블록 정보와 인접 블록 정보를 기초로 분할 대상 부호화 단위의 특성을 예측 함으로서 부호화기에서 현재 깊이의 부호화 단위 정보를 부호화하여 LCU 분할 구조 후보에 저장할지 여부를 결정할 수 있다.According to an embodiment of the present invention, in determining the division structure, as described above with reference to FIG. 13, the encoder encodes the coding unit information of the current depth by predicting the characteristics of the encoding target coding unit based on the reference block information and the adjacent block information. It may be determined whether to store the LCU partition structure candidate.

도 16은 본 발명의 실시예에 따른 참조 블록과 인접 블록을 나타내는 개념도이다. 16 is a conceptual diagram illustrating a reference block and an adjacent block according to an embodiment of the present invention.

도 16을 참조하면, 분할 대상 부호화 단위의 분할 구조 후보 결정 정보를 유도하기 위해서 참조 블록 및 인접 블록을 사용할 수 있다.
Referring to FIG. 16, a reference block and an adjacent block may be used to derive split structure candidate determination information of a split target coding unit.

도 17은 본 발명의 실시예에 따른 LCU 분할 구조 후보를 결정하는 방법을 나타낸 순서도이다.17 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.

본 발명의 실시예에 따르면 참조 블록과 인접 블록에서 유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 결정할 수 있다.According to an embodiment of the present invention, it is possible to determine whether to use a split target coding unit as an LCU partition structure candidate based on split structure candidate determination information derived from a reference block and an adjacent block.

도 17을 참조하면, 참조 블록 정보를 유도한다(단계 S1700). Referring to FIG. 17, reference block information is derived (step S1700).

참조 블록(콜 부호화 단위, 콜 LCU)에서 LCU 분할 구조 후보를 결정하기 위한 분할 구조 후보 결정 정보를 유도할 수 있다.Partition structure candidate determination information for determining an LCU partition structure candidate may be derived from a reference block (call coding unit, call LCU).

분할 구조 후보 결정 정보는 참조 블록을 콜 LCU라고 가정하는 경우, 분할 구조 후보 결정 정보는 콜 LCU에 존재하는 부호화 단위의 분할 깊이 정보, 콜 LCU에 존재하는 부호화 단위의 움직임 정보, 콜 LCU에 존재하는 부호화 단위의 참조 픽쳐 인덱스, 콜 LCU에 존재하는 부호화 단위의 변환 계수 정보 등 다양한 값이 분할 구조 후보 결정 정보로서 사용될 수 있다.When the partition structure candidate determination information assumes that the reference block is a call LCU, the partition structure candidate determination information may include split depth information of a coding unit existing in the call LCU, motion information of a coding unit present in the call LCU, and the call LCU. Various values such as a reference picture index of the coding unit and transform coefficient information of the coding unit present in the call LCU may be used as the partition structure candidate determination information.

분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건(제1 조건)을 만족하는지 여부를 판단한다(단계 S1710). It is determined whether the division target coding unit satisfies a predetermined condition (first condition) based on the calculated partition structure candidate determination information (step S1710).

예를 들어, 아래와 같은 판단 방법을 사용하여 판단을 수행할 수 있다.For example, the determination may be performed using the following determination method.

1) 콜 LCU 내에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부1) Whether the coding unit having the largest division depth exists in the call LCU

2) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보의 차이가 일정한 기준보다 큰지 여부(예를 들어, 콜 LCU 내의 CU 또는 PU간의 움직임 정보의 차분이 큰 경우)2) whether the difference of the motion information in the prediction unit included in the call LCU is greater than a predetermined criterion (for example, when the difference in motion information between CUs or PUs in the call LCU is large).

3) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보가 일정한 기준보다 큰지 여부(예를 들어, 움직임 벡터(x, y)의 성분이 큰 경우) 3) whether the motion information is larger than a certain criterion in the prediction unit included in the call LCU (for example, when the component of the motion vector (x, y) is large).

4) 참조 프레임의 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index)가 서로 다른 경우.4) The reference indexes of the coding units in the call LCU of the reference frame are different.

5) 참조 프레임의 콜 LCU 내의 부호화 단위들의 변환 계수 정보들이 있는 경우.5) When there is transform coefficient information of coding units in a call LCU of a reference frame.

분할 대상 부호화 단위가 전술한 조건(분할 구조 후보 결정 정보를 기초로 한 소정의 조건)을 만족하는 경우 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인지 여부를 판단한다(단계 S1715).When the split target coding unit satisfies the above-described condition (a predetermined condition based on split structure candidate determination information), it is determined whether the split target coding unit is a coding unit having the largest split depth (step S1715).

분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하지 않는 경우 인접 블록으로부터 분할 구조 후보 결정 정보를 유도한다(단계 S1720).When the split target coding unit does not satisfy a predetermined condition based on the calculated split structure candidate determination information, the split structure candidate determination information is derived from the adjacent block (step S1720).

인접 블록으로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단한다(단계 S1730). It is determined whether the partition structure candidate determination information derived from the adjacent block satisfies a predetermined condition (step S1730).

단계 S1730에서 소정의 조건은 아래와 같은 방법으로 판단될 수 있다. In operation S1730, the predetermined condition may be determined by the following method.

(1) 인접 블록의 깊이 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(1) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on depth information of an adjacent block.

(2) 인접 블록의 움직임 정보 차이를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(2) A method of determining whether a split target coding unit is determined as an LCU partition structure candidate based on a difference of motion information of an adjacent block.

(3) 인접 블록의 움직임 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(3) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on motion information of an adjacent block.

(4) 인접 블록 중, 참조 인덱스(Reference Index) 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(4) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on reference index information among adjacent blocks.

(5) 인접 블록 정보 중, 부호화 단위의 변환 계수 정보들을 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법. (5) A method for determining whether to determine a split target coding unit as an LCU split structure candidate based on transform coefficient information of a coding unit among adjacent block information.

단계 S1730의 조건을 만족하지 않은 경우 분할 대상 부호화 단위를 LCU 분할 구조 후보로서 저장한다(단계 S1740).If the condition of step S1730 is not satisfied, the division target coding unit is stored as the LCU partition structure candidate (step S1740).

단계 S1730의 조건을 만족하는 경우 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인지 여부를 판단한다(단계 S1715).When the condition of step S1730 is satisfied, it is determined whether the split target coding unit is a coding unit having the largest division depth (step S1715).

분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인 경우 LCU 분할 구조 후보 생성 단계를 종료한다. If the splitting target coding unit is a coding unit having the largest division depth, the LCU split structure candidate generation step is terminated.

분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위가 아닌 경우 분할 대상 부호화 단위의 분할 깊이를 1 증가시킨다(단계 S1750). If the split target coding unit is not the coding unit having the largest split depth, the split depth of the split target coding unit is increased by one (step S1750).

증가된 분할 깊이를 가진 분할 대상 부호화 단위는 단계 S1700을 통해 전술한 절차를 다시 한번 수행할 수 있다.The splitting target coding unit having the increased splitting depth may perform the above-described procedure once again through step S1700.

도 17에 표현된 순서도는 하나의 실시예로서 단계 S1700 내지 단계 S1750을 통해 다시 판단을 수행할 필요가 없는 단계가 존재하는 경우 해당 단계는 생략되어 수행될 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.
17 is a flow chart shown in FIG. 17 as an embodiment, when there is a step that does not need to be performed again through steps S1700 to S1750, the step may be omitted and such an embodiment also includes the scope of the present invention. Included in

본 발명의 실시예에 따르면 분할 대상 부호화 단위에 대하여 분할을 수행하였는지 여부에 대한 정보를 참조 블록의 분할 구조 후보 결정 정보를 기초로 유추하는 방법을 사용함으로서 분할 여부를 표시하는 비트를 사용하지 않고 부호화 및 복호화를 수행할 수 있다.
According to an embodiment of the present invention, by using a method of inferring information on whether or not to perform splitting on a split target coding unit based on split structure candidate determination information of a reference block, encoding without using bits indicating whether to split is performed. And decryption.

도 18은 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다. 18 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.

도 18을 참조하면, 참조 블록에서 분할 구조 후보 결정 정보를 유도한다(단계 S1800). Referring to FIG. 18, partition structure candidate determination information is derived from a reference block (step S1800).

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단한다(단계 S1810). On the basis of the derived partition structure candidate determination information, it is determined whether the split target coding unit satisfies a predetermined condition (step S1810).

예를 들어, 전술한 바와 같이 아래의 조건들이 만족되는지 여부를 판단할 수 있다.For example, as described above, it may be determined whether the following conditions are satisfied.

1) 콜 LCU 내에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부1) Whether the coding unit having the largest division depth exists in the call LCU

2) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보의 차이가 일정한 기준보다 큰지 여부(예를 들어, 콜 LCU 내의 CU 또는 PU 간의 움직임 정보의 차분이 큰 경우)2) whether the difference of the motion information in the prediction unit included in the call LCU is larger than a predetermined criterion (for example, when the difference of the motion information between CUs or PUs in the call LCU is large).

3) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보가 일정한 기준보다 큰지 여부(예를 들어, 움직임 벡터(x, y)의 성분이 큰 경우) 3) whether the motion information is larger than a certain criterion in the prediction unit included in the call LCU (for example, when the component of the motion vector (x, y) is large).

4) 참조 프레임의 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index)가 서로 다른 경우.4) The reference indexes of the coding units in the call LCU of the reference frame are different.

5) 참조 프레임의 콜 LCU 내의 부호화 단위들의 변환 계수 정보들이 있는 경우.5) When there is transform coefficient information of coding units in a call LCU of a reference frame.

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하지 못하는 경우에 대하여만 분할 정보를 부호화하여 비트스트림에 저장 및 전송하는 과정을 수행한다(단계 S1820).On the basis of the derived partition structure candidate determination information, only the case where the split target coding unit does not satisfy a predetermined condition is performed, and the partition information is encoded and stored and transmitted in the bitstream (step S1820).

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 전술한 소정의 조건을 만족하지 못하는 경우, 분할 대상 부호화 단위의 분할 여부를 비트스트림 정보로서 표시하여 부호화를 수행할 수 있다. If the splitting target coding unit does not satisfy the above-described predetermined condition based on the derived split structure candidate determination information, encoding may be performed by indicating whether to split the splitting coding unit as bitstream information.

즉, 본 발명의 실시예에 따른 분할 정보 부호화 방법은 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단하여 분할 대상 부호화 단위의 분할 정보를 표시하는 비트를 선택적으로 사용함으로서 분할 정보를 표현하는데 사용되는 비트를 감소시킬 수 있다.
That is, the split information encoding method according to the embodiment of the present invention determines whether the split target coding unit satisfies a predetermined condition and selectively expresses split information by selectively using bits representing split information of the split target coding unit. The bit used can be reduced.

도 19는 본 발명의 실시예에 따른 분할 정보를 복호화하는 방법을 나타낸 순서도이다. 19 is a flowchart illustrating a method of decoding split information according to an embodiment of the present invention.

도 19를 참조하면, 참조 블록에서 분할 구조 후보 결정 정보를 유도한다(단계 S1900).Referring to FIG. 19, partition structure candidate determination information is derived from a reference block (step S1900).

복호화 단계에서는 분할 대상 부호화 단위의 분할 정보를 알기 위해 도 18의 부호화 단계와 동일한 방법을 사용하여 참조 블록에서 분할 구조 후보 결정 정보를 유도할 수 있다. In the decoding step, the partition structure candidate determination information may be derived from the reference block by using the same method as the encoding step of FIG. 18 in order to know the split information of the split target coding unit.

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단한다(단계 S1910).On the basis of the derived partition structure candidate determination information, it is determined whether the split target coding unit satisfies a predetermined condition (step S1910).

즉, 분할 대상 부호화 단위의 참조 블록의 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위의 분할 정보를 비트스트림으로부터 복호화할지 여부를 결정할 수 있다. That is, it is possible to determine whether to decode the split information of the split target coding unit from the bitstream based on the split structure candidate determination information of the reference block of the split target coding unit.

단계 S1910에서 판단한 결과 해당 조건을 만족하는 경우 복호화 대상 부호화 단위가 분할될 확률이 높기 때문에 해당 복호화 대상 부호화 단위의 분할 여부를 판단하지 않고 복호화 대상 부호화 단위의 분할을 수행할 수 있다. 즉, 본 발명의 실시예에 따른 블록 분할 방법에서는 복호화 대상 부호화 단위가 분할될 확률이 높을 경우에는 해당 분할 정보를 복호하지 않고 분할되었다고 유추하여 블록 분할 정보를 복호화할 수 있다. If the determination result in step S1910 is satisfied, the decoding target coding unit may have a high probability of being split, and thus the decoding target coding unit may be split without determining whether the decoding target coding unit is split. That is, in the block partitioning method according to the embodiment of the present invention, when the probability of splitting the decoding target coding unit is high, the block partitioning information may be decoded by inferring that the partitioning information is partitioned without decoding the partitioning information.

예를 들어, 콜 LCU에서 가장 큰 분할 깊이를 가진 부호화 단위가 존재하거나 콜 LCU 내의 부호화 단위의 움직임 정보의 차이가 크거나 움직임 정보가 큰 경우에는 분할 대상 부호화 단위가 분할되었다고 간주하고, 분할 대상 부호화 단위의 분할 정보를 비트스트림으로부터 복호화하지 않는다. For example, when there is a coding unit having the largest split depth in the call LCU, or when the difference in the motion information of the coding units in the call LCU is large or the motion information is large, the split target coding unit is considered to be split, and the split target coding is performed. The division information of the unit is not decoded from the bitstream.

단계 S1910에서 판단한 결과 해당 조건을 만족하지 못하는 경우 기존대로 현재 깊이의 부호화 단위에 대한 분할 정보를 비트스트림으로부터 복호한다(단계 S1920).
If it is determined in step S1910 that the corresponding condition is not satisfied, the split information for the coding unit of the current depth is decoded from the bitstream as before (step S1920).

도 20은 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다. 20 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.

도 20을 참조하면, 분할 대상 부호화 단위에 인접한 부호화 단위로부터 분할 구조 후보 결정 정보를 유도한다(단계 S2000).Referring to FIG. 20, split structure candidate determination information is derived from a coding unit adjacent to a split target coding unit (step S2000).

도 14에서 전술한 바와 같이 분할 대상 부호화 단위에 인접한 주변 부호화 단위부터 분할 구조 후보 결정 정보를 유도할 수 있다.As described above with reference to FIG. 14, the partition structure candidate determination information may be derived from a neighboring coding unit adjacent to the split target coding unit.

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단한다(단계 S2010). On the basis of the derived partition structure candidate determination information, it is determined whether the split target coding unit satisfies a predetermined condition (step S2010).

예를 들어, 전술한 바와 같이 아래의 조건들이 만족되는지 여부를 판단할 수 있다.For example, as described above, it may be determined whether the following conditions are satisfied.

(1) 인접한 부호화 단위의 깊이 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지 여부를 판단하는 방법.(1) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on depth information of an adjacent coding unit.

(2) 인접한 부호화 단위의 움직임 정보 차이를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(2) A method of determining whether a split target coding unit is determined as an LCU partition structure candidate based on a motion information difference of adjacent coding units.

(3) 인접한 부호화 단위의 움직임 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(3) A method for determining whether a split target coding unit is determined as an LCU partition structure candidate based on motion information of an adjacent coding unit.

(4) 인접한 부호화 단위 정보 중, 참조 인덱스(Reference Index) 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지 여부를 판단하는 방법.(4) A method for determining whether to determine a split target coding unit as an LCU split structure candidate based on reference index information among adjacent coding unit information.

(5) 인접한 부호화 단위 정보 중, 부호화 단위의 변환 계수 정보들을 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지 여부를 판단하는 방법.(5) A method of determining whether to determine a split target coding unit as an LCU split structure candidate based on transform coefficient information of a coding unit among adjacent coding unit information.

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하지 못하는 경우 분할 정보를 부호화하여 비트스트림에 저장 및 전송하는 과정을 수행한다(단계 S2020).If the splitting target coding unit does not satisfy a predetermined condition based on the derived split structure candidate determination information, the splitting information is encoded and stored and transmitted in the bitstream (step S2020).

예를 들어, 같은 프레임내에 분할 대상 부호화 단위의 인접한 부호화 단위의 깊이 정보가 분할 대상 부호화 단위의 깊이 정보보다 작거나 움직임 정보의 차이가 작거나 움직임 정보가 작을 경우에는 부호화 대상 부호화 단위가 분할되지 않았다고 간주하고 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송하는 과정을 수행하지 않는다. 이는 전술한 조건을 만족하는 경우 부호화 단위가 분할되지 않을 확률이 높은데, 부호화 단위 정보를 부호화할 때 해당 부호화 단위가 분할되지 않을 확률이 높을 경우에는 분할 정보를 보내지 않음으로서 비트량을 감소시키는 효과가 있다. 또한 전술한 조건을 만족하지 못하는 경우는 기존대로 현재 깊이의 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송할 수 있다.
For example, when the depth information of an adjacent coding unit of the split target coding unit is smaller than the depth information of the split target coding unit, the difference in the motion information is small, or the motion information is small in the same frame, the encoding target coding unit is not divided. In this case, the split information of the split target coding unit is encoded and stored and transmitted in the bitstream. This means that the coding unit is not likely to be split when the above conditions are met. However, when the coding unit information is encoded, when the coding unit is not likely to be split, the splitting information is not sent, thereby reducing the bit amount. have. If the above condition is not satisfied, the split information of the coding unit of the current depth may be encoded, stored, and transmitted in the bitstream.

도 21은 본 발명의 실시예에 따른 분할 정보 복호화 방법을 나타낸 순서도이다.21 is a flowchart illustrating a method of decoding partition information according to an embodiment of the present invention.

도 21을 참조하면, 인접 블록에서 분할 구조 후보 결정 정보를 유도한다(단계 S2100).Referring to FIG. 21, partition structure candidate determination information is derived from an adjacent block (step S2100).

복호화 단계에서는 부호화 블록의 분할 정보를 알기 위해 도 20의 부호화 단계와 동일한 방법을 사용하여 분할 대상 부호화 단위의 인접 블록에서 분할 구조 후보 결정 정보를 유도할 수 있다.In the decoding step, the partition structure candidate determination information may be derived from an adjacent block of the encoding target coding unit using the same method as the encoding step of FIG. 20 in order to know the split information of the coding block.

유도된 분할 구조 후보 결정 정보를 기초로 분할 대상 부호화 단위가 소정의 조건을 만족하는지 여부를 판단한다(단계 S2110).On the basis of the derived partition structure candidate determination information, it is determined whether the split target coding unit satisfies a predetermined condition (step S2110).

즉, 분할 대상 부호화 단위의 인접 블록을 통해 분할 대상 부호화 단위의 분할 정보를 비트스트림으로부터 복호화할지 여부를 결정할 수 있다. 있다. 예를 들어, 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위의 깊이 정보가 복호화 대상 부호화 단위의 깊이 정보보다 작거나 움직임 정보의 차이가 작거나 움직임 정보가 작을 경우에는 분할 대상 부호화 단위가 분할되지 않았다고 간주하고, 분할 대상 부호화 단위의 분할 정보를 비트스트림으로부터 복호하지 않는다. That is, it is possible to determine whether to decode the split information of the split target coding unit from the bitstream through an adjacent block of the split target coding unit. have. For example, when the depth information of the coding unit adjacent to the split target coding unit is smaller than the depth information of the decoding target coding unit, the difference in the motion information is small, or the motion information is small in the same frame, the split target coding unit is not divided. It is assumed that the split information of the split target coding unit is not decoded from the bitstream.

단계 S2110을 통한 판단 결과 소정의 조건을 만족하지 않으면 기존대로 분할 대상 부호화 단위의 분할 정보를 비트스트림으로부터 복호한다(단계 S2120).
If it is determined in step S2110 that the predetermined condition is not satisfied, the split information of the split target coding unit is decoded from the bitstream as before (step S2120).

도 22는 본 발명의 실시예에 따른 분할 정보 부호화 방법을 나타낸 순서도이다.22 is a flowchart illustrating a method of encoding split information according to an embodiment of the present invention.

도 22를 참조하면, 참조 블록 정보를 유도한다(단계 S2200).Referring to FIG. 22, reference block information is derived (step S2200).

참조 블록(콜 부호화 단위, 콜 LCU) 및 인접 블록에서 LCU 분할 구조 후보를 결정하기 위한 분할 구조 후보 결정 정보를 유도할 수 있다.Split structure candidate determination information for determining an LCU split structure candidate in a reference block (call coding unit, call LCU) and an adjacent block may be derived.

분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하는지 여부를 판단한다(단계 S2210). It is determined whether or not the division target coding unit satisfies a predetermined condition based on the calculated partition structure candidate determination information (step S2210).

예를 들어, 아래와 같은 판단 방법을 사용하여 판단을 수행할 수 있다.For example, the determination may be performed using the following determination method.

1) 콜 LCU 내에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부1) Whether the coding unit having the largest division depth exists in the call LCU

2) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보의 차이가 일정한 기준보다 큰지 여부(예를 들어, 콜 LCU 내의 CU 또는 PU간의 움직임 정보의 차분이 큰 경우)2) whether the difference of the motion information in the prediction unit included in the call LCU is greater than a predetermined criterion (for example, when the difference in motion information between CUs or PUs in the call LCU is large).

3) 콜 LCU 내에 포함된 예측 단위에서 움직임 정보가 일정한 기준보다 큰지 여부(예를 들어, 움직임 벡터(x, y)의 성분이 큰 경우) 3) whether the motion information is larger than a certain criterion in the prediction unit included in the call LCU (for example, when the component of the motion vector (x, y) is large).

4) 참조 프레임의 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index)가 서로 다른 경우.4) The reference indexes of the coding units in the call LCU of the reference frame are different.

5) 참조 프레임의 콜 LCU 내의 부호화 단위들의 변환 계수 정보들이 있는 경우.5) When there is transform coefficient information of coding units in a call LCU of a reference frame.

위의 조건을 만족하는 경우, 부호화 대상 부호화 단위가 추가로 분할될 가능성이 크므로 현재 분할 대상 부호화 단위의 분할 정보를 부호화하지 않는다. When the above conditions are satisfied, since the encoding target coding unit is more likely to be further split, split information of the current split target coding unit is not encoded.

분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하지 않는 경우, 분할 대상 부호화 단위의 인접 부호화 단위로부터 분할 구조 후보 결정 정보를 유도한다(단계 S2220).When the split target coding unit does not satisfy the predetermined condition based on the calculated split structure candidate determination information, the split structure candidate determination information is derived from the neighboring coding unit of the split target coding unit (step S2220).

분할 대상 부호화 단위의 인접 부호화 단위로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단한다(단계 S2230). It is determined whether the partition structure candidate determination information derived from the neighboring coding unit of the split target coding unit satisfies a predetermined condition (step S2230).

단계 S2230에서 소정의 조건은 아래와 같은 방법으로 판단될 수 있다. In operation S2230, the predetermined condition may be determined by the following method.

(1) 인접한 부호화 단위의 깊이 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(1) A method for determining whether a split target coding unit is determined as an LCU partition structure candidate based on depth information of an adjacent coding unit.

(2) 인접한 부호화 단위의 움직임 정보 차이를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법. (2) A method of determining whether a split target coding unit is determined as an LCU partition structure candidate based on a motion information difference of adjacent coding units.

(3) 인접한 부호화 단위의 움직임 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(3) A method for determining whether a split target coding unit is determined as an LCU partition structure candidate based on motion information of an adjacent coding unit.

(4) 인접한 부호화 단위 정보 중, 참조 인덱스(Reference Index) 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법.(4) A method for determining whether to determine a split target coding unit as an LCU partition structure candidate based on reference index information among adjacent coding unit information.

(5) 인접한 부호화 단위 정보 중, 부호화 단위의 변환 계수 정보들을 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 결정할지를 판단하는 방법. (5) A method of determining whether to determine a split target coding unit as an LCU partition structure candidate based on transform coefficient information of a coding unit among adjacent coding unit information.

단계 S2230의 조건을 만족하는 경우 분할 대상 부호화 단위는 추가로 분할되지 않을 가능성이 높으므로 분할 대상 부호화 단위의 분할 정보를 부호화하지 않는다.When the condition of step S2230 is satisfied, since the split target coding unit may not be further split, split information of the split target coding unit is not encoded.

단계 S2230의 조건을 만족하지 않는 경우 분할 대상 부호화 단위의 분할 정보를 부호화한다(단계 S2240).If the condition of step S2230 is not satisfied, split information of the split target coding unit is encoded (step S2240).

즉, 본 발명의 실시예에 따르면 LCU 분할 구조 후보로 사용될 수 있는 가능성이 있는 경우의 분할 정보에 대해서만 부호화를 수행함으로서 분할 정보를 전송함에 있어서, 더 작은 비트를 사용하여 분할 정보를 전송할 수 있다.
That is, according to the embodiment of the present invention, when the partition information is transmitted by performing encoding only on the partition information when there is a possibility that it may be used as the LCU partition structure candidate, the partition information may be transmitted using smaller bits.

도 23은 본 발명의 실시예에 따른 분할 정보 복호화 방법을 나타낸 순서도이다.23 is a flowchart illustrating a method of decoding partition information according to an embodiment of the present invention.

도 23을 참조하면, 참조 블록 정보를 유도한다(단계 S2300). Referring to FIG. 23, reference block information is derived (step S2300).

참조 블록(콜 부호화 단위, 콜 LCU) 및 인접 블록에서 LCU 분할 구조 후보를 결정하기 위한 분할 구조 후보 결정 정보를 유도할 수 있다.Split structure candidate determination information for determining an LCU split structure candidate in a reference block (call coding unit, call LCU) and an adjacent block may be derived.

분할 대상 부호화 단위가 참조 블록으로부터 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하는지 여부를 판단한다(단계 S2310). It is determined whether or not the division target coding unit satisfies a predetermined condition based on the partition structure candidate determination information calculated from the reference block (step S2310).

위의 조건은 부호화 단계에서 분할 정보 부호화를 수행하기 위해 판단을 수행하는 단계 S2210과 동일하다.The above condition is the same as the step S2210 of performing a determination to perform split information encoding in the encoding step.

단계 S2310에서의 판단 과정을 거쳐 분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하는 경우, 분할 대상 부호화 단위는 분할되지 않았다고 판단하고 분할 대상 부호화 단위의 분할 정보를 복호화하지 않는다.When the splitting target coding unit satisfies a predetermined condition based on the split structure candidate determination information calculated through the determination process in step S2310, it is determined that the splitting target coding unit is not split and the splitting information of the splitting target coding unit is determined. Do not decrypt.

단계 S2310에서의 판단 과정을 거쳐 분할 대상 부호화 단위가 산출된 분할 구조 후보 결정 정보를 기초로 한 소정의 조건을 만족하지 않는 경우, 분할 대상 부호화 단위의 인접 블록로부터 분할 구조 후보 결정 정보를 유도한다(단계 S2320). If the splitting target coding unit does not satisfy a predetermined condition based on the calculated split structure candidate determination information through the determination process in step S2310, splitting structure candidate determination information is derived from an adjacent block of the splitting target coding unit ( Step S2320).

분할 대상 부호화 단위의 인접 블록으로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단한다(단계 S2330). It is determined whether the partition structure candidate determination information derived from the neighboring block of the split target coding unit satisfies a predetermined condition (step S2330).

단계 S2330에서는 단계 S2230에서와 동일한 판단 방법을 사용하여 분할 대상 부호화 단위의 인접 블록으로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는지 여부를 판단할 수 있다.In operation S2330, it may be determined whether the partition structure candidate determination information derived from the neighboring block of the split target coding unit satisfies a predetermined condition using the same determination method as in operation S2230.

분할 대상 부호화 단위의 인접 부호화 단위로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는 경우 분할 대상 부호화 단위는 추가로 분할되지 않을 가능성이 크므로 분할 대상 부호화 단위의 분할 상태를 복호화하지 않는다. When the partition structure candidate determination information derived from the neighboring coding unit of the split target coding unit satisfies a predetermined condition, the split target coding unit may not be further split, and thus the split state of the split target coding unit is not decoded.

분할 대상 부호화 단위의 인접 부호화 단위로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는 경우 분할 대상 부호화 단위의 분할 정보를 복호화한다(단계 S2340).When the partition structure candidate determination information derived from the neighboring coding unit of the split target coding unit satisfies a predetermined condition, split information of the split target coding unit is decoded (step S2340).

분할 대상 부호화 단위의 인접 부호화 단위로부터 유도된 분할 구조 후보 결정 정보가 소정의 조건을 만족하는 경우 분할 대상 부호화 단위의 분할 여부에 대한 정보를 복호화하여 비트스트림에 저장 및 전송할 수 있다.
When the partition structure candidate determination information derived from the neighboring coding unit of the split target coding unit satisfies a predetermined condition, information on whether to split the split target coding unit may be decoded, and may be stored and transmitted in the bitstream.

이하, 본 발명의 실시예는 선술한 분할 정보 부호화 방법 및 복호화 방법이 장치에서 구현된 경우를 나타낸 개념도이다.
Hereinafter, an embodiment of the present invention is a conceptual diagram illustrating a case where the aforementioned split information encoding method and decoding method are implemented in an apparatus.

도 24는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다. 24 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 24를 참조하면, 영상 부호화 장치는 판단부(2400), CU 부호화 및 LCU 분할 구조 후보 등록부(2420), LCU 분할 구조 결정부(2440)를 포함할 수 있다.Referring to FIG. 24, the apparatus for encoding an image may include a determiner 2400, a CU encoding and LCU partition structure candidate registerer 2420, and an LCU partition structure determiner 2440.

판단부(2400)에서는 참조 블록 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킬지 여부를 결정한다. 판단부(2400)에서는 도 13에서 전술한 판단 과정을 거칠 수 있다.The determination unit 2400 receives the reference block information and the split target coding unit information as an input and determines whether to encode the split target coding unit to include in the LCU partition structure candidate. The determination unit 2400 may go through the determination process described above with reference to FIG. 13.

판단부(2400)에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2420)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킬 수 있다. 만일 판단부(2400)에서 부호화 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2420)를 거치지 않을 수 있다.If the determination unit 2400 determines to encode the split target coding unit, the split target coding unit may be encoded and included in the LCU split structure candidate through the CU encoding and the LCU split structure candidate register 2420. If the determination unit 2400 determines not to encode the encoding target coding unit, the determination unit 2400 may not pass through the CU encoding and the LCU partition structure candidate registration unit 2420.

부호화 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위가 아닌 경우 깊이가 1 씩 증가한 4개의 부호화 단위로 분할 대상 부호화 단위를 분할할 수 있고 다시 판단부(2400)는 분할된 부호화 단위가 LCU 분할 구조 후보에 포함될지 여부를 판단할 수 있다.If the coding target coding unit is not the coding unit having the largest splitting depth, the splitting coding unit may be divided into four coding units having a depth increased by one, and the determination unit 2400 may determine that the splitting coding unit is an LCU splitting structure. It may be determined whether to be included in the candidate.

LCU 분할 구조 결정부(2440)에서는 CU 부호화 및 LCU 분할 구조 후보 등록부(2420)에 의해 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택할 수 있다.
The LCU split structure determiner 2440 may select an optimal LCU split structure among the LCU split structure candidates registered by the CU encoding and the LCU split structure candidate register 2420.

도 25는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다. 25 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 25를 참조하면, 판단부(2500)에서는 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킬지 여부를 결정한다. 판단부(2500)에서는 도 15에서 전술한 판단 과정을 거칠 수 있다.Referring to FIG. 25, the determination unit 2500 receives input of coding unit information and split target coding unit information adjacent to a split target coding unit in the same frame, and determines whether to split the split target coding unit and include the split target coding unit in the LCU partition structure candidate. Decide The determination unit 2500 may go through the determination process described above with reference to FIG. 15.

만일 판단부(2500)에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2520)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함한다. 만일 판단부(2500)에서 분할 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2520)를 거치지 않는다. 이후 분할 대상 부호화 단위가 가장 큰 깊이가 아니면 분할 깊이가 1씩 증가한 4개의 부호화 단위로 분할하여 다시 위의 판단부(2500)에서 LCU 분할 구조 후보에 분할된 부호화 단위가 포함될지 여부를 판단할 수 있다. LCU 분할 구조 결정부(2540)에서는 CU 부호화 및 LCU 분할 구조 후보 등록부(2520)에 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택한다.
If the determination unit 2500 determines to encode the split target coding unit, the split target coding unit is encoded by the CU encoding and the LCU split structure candidate registration unit 2520 to be included in the LCU split structure candidate. If the determination unit 2500 determines not to encode the split target coding unit, the CU encoding and the LCU split structure candidate registration unit 2520 are not passed through. Thereafter, if the splitting target coding unit is not the largest depth, the splitting unit may be divided into four coding units having the increased depth by 1, and the determination unit 2500 may determine whether the split coding unit is included in the candidate LCU partitioning structure. have. The LCU partition structure determination unit 2540 selects an optimal LCU partition structure among the LCU partition structure candidates registered in the CU encoding and the LCU partition structure candidate registration unit 2520.

도 26은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.26 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 26을 참조하면, 판단부(2600)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위 정보인 참조 블록의 정보와 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정할 수 있다. 판단부(2600)에서는 도 17에서 전술한 판단 과정을 거칠 수 있다.Referring to FIG. 26, the determination unit 2600 receives, as input, information of a reference block that is coding unit information corresponding to a split target coding unit, coding unit information adjacent to a split target coding unit, and split target coding unit information in a reference frame. It may be determined whether the split target coding unit is encoded and included in the LCU partition structure candidate. The determination unit 2600 may go through the determination process described above with reference to FIG. 17.

판단부(2600)에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2620)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함한다. 만일 판단부(2600)에서 분할 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(2620)를 거치지 않는다.If the determination unit 2600 determines to encode the split target coding unit, the split target coding unit is encoded by the CU encoding and the LCU split structure candidate registration unit 2620 and included in the LCU split structure candidate. If the determination unit 2600 determines not to encode the split target coding unit, the CU encoding and the LCU split structure candidate registration unit 2620 are not passed through.

이후 분할 대상 부호화 단위가 가장 큰 분할 깊이가 아니면 분할 깊이가 1 씩 증가한 4 개의 부호화 단위로 분할 대상 부호화 단위를 분할하여 다시 위 과정을 거친다. LCU 분할 구조 결정부(2640)에서는 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택한다.
After that, if the splitting target coding unit is not the largest splitting depth, the splitting target coding unit is split into four coding units having the splitting depth increased by one, and the above process is performed again. The LCU partition structure determiner 2640 selects an optimal LCU partition structure among registered LCU partition structure candidates.

도 27은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.27 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 27을 참조하면, 판단부(2700)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위와 분할 대상 부호화 단위의 정보를 입력을 받아서 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정한다. 판단부(2700)에서는 도 18에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.Referring to FIG. 27, the determination unit 2700 determines whether to encode split information of a split target coding unit by receiving information about a coding unit corresponding to a split target coding unit and a split target coding unit in a reference frame. The determination unit 2700 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 18.

만일 판단부(2700)에서 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(2720)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송한다. 만일 판단부(2700)에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(2720)를 거치지 않고 분할 대상 부호화 단위의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 2700 determines to encode the split information of the split target coding unit, the CU split information encoder 2720 encodes the split information of the split target coding unit, and stores and transmits the split information in the bitstream. If the determination unit 2700 decides not to encode the split information of the split target coding unit, the split information of the split target coding unit is not stored and transmitted in the bitstream without passing through the CU split information encoder 2720.

도 28은 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.28 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.

도 28을 참조하면 영상 복호화 장치는 판단부(2800)와 CU 분할 정보 복호화부(2820)를 포함할 수 있다.Referring to FIG. 28, the image decoding apparatus may include a determiner 2800 and a CU partition information decoder 2820.

판단부(2800)는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 참조 블록의 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 결정한다. 판단부(2800)에서는 도 19에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 2800 receives input information of the reference block corresponding to the split target coding unit and split target coding unit information in the reference frame, and determines whether to decode the split information of the split target coding unit from the bitstream. The determination unit 2800 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 19.

만일 판단부(2800)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(2820)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(2800)에서 분할 대상 부호화 단위의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(2820)를 거치지 않을 수 있다. 생성된 분할 정보는 CU 정보에 저장될 수 있다.
If the determination unit 2800 decides to decode the split information of the split target coding unit, the CU split information decoder 2820 decodes the split information of the split target coding unit. If the determination unit 2800 decides not to decode the split information of the split target coding unit, the determination unit 2800 may not pass through the CU split information decoder 2820. The generated partition information may be stored in the CU information.

도 29는 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.29 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 29를 참조하면 영상 부호화 장치는 판단부(2900)와 CU 분할 정보 복호화부(2920)를 포함할 수 있다.Referring to FIG. 29, an apparatus for encoding an image may include a determiner 2900 and a CU partition information decoder 2920.

판단부(2900)에서는 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정한다.The determination unit 2900 determines whether to decode the split information of the split target coding unit by receiving the coding unit information adjacent to the split target coding unit and the split target coding unit information in the same frame.

판단부(2900)에서는 도 20에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determiner 2900 may determine whether to encode split information of the split target coding unit based on the above-described determination procedure of FIG. 20.

만일 판단부(2900)에서 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(2920)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송한다. 만일 판단부(2900)에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(2920)를 거치지 않고 해당 CU의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 2900 determines to encode the split information of the split target coding unit, the CU split information encoder 2920 encodes the split information of the split target coding unit, and stores and transmits the split information in the bitstream. If the determination unit 2900 determines not to encode the split information of the split target coding unit, the split information of the corresponding CU is not stored and transmitted in the bitstream without passing through the CU split information encoder 2920.

도 30는 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.30 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.

도 30을 참조하면 영상 복호화 장치는 판단부(3000)와 CU 분할 정보 복호화부(3020)를 포함할 수 있다.Referring to FIG. 30, the image decoding apparatus may include a determiner 3000 and a CU partition information decoder 3020.

판단부(3000)에서는 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 결정한다. The determination unit 3000 receives the coding unit information adjacent to the split target coding unit and the split target coding unit information in the same frame, and determines whether to decode the split information of the split target coding unit from the bitstream.

판단부(3000)에서는 도 21에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 3000 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 21.

만일 판단부(3000)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(3020)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(3000)에서 분할 대상 부호화 단위의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(3020)를 거치지 않는다. 이후 분할 정보는 CU 정보에 저장될 수 있다.
If the determination unit 3000 determines to decode the split information of the split target coding unit, the CU split information decoder 3020 decodes the split information of the split target coding unit. If the determination unit 3000 determines not to decode the split information of the split target coding unit, the CU split information decoder 3020 is not passed through. Thereafter, the partition information may be stored in the CU information.

도 31은 본 발명의 실시예에 따른 영상 부호화 장치의 일부를 나타낸 개념도이다.31 is a conceptual diagram illustrating a part of an image encoding apparatus according to an embodiment of the present invention.

도 31을 참조하면 영상 부호화 장치는 판단부(3100)와 CU 분할 정보 복호화부(3120)를 포함할 수 있다.Referring to FIG. 31, the apparatus for encoding an image may include a determiner 3100 and a CU partition information decoder 3120.

판단부(3100)에서는 참조 블록 정보와 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정한다. The determination unit 3100 receives input block information, coding unit information adjacent to the split target coding unit, and split target coding unit information as input, and determines whether to encode split information of the split target coding unit.

판단부(3100)에서는 도 22에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 3100 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 22.

만일 판단부(3100)에서 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(3120)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송한다. 만일 판단부(3100)에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(3120)를 거치지 않고 분할 대상 부호화 단위의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 3100 determines to encode the split information of the split target coding unit, the CU split information encoder 3120 encodes split information of the split target coding unit, and stores and transmits the split information in the bitstream. If the determination unit 3100 determines not to encode the split information of the split target coding unit, the split information of the split target coding unit is not stored and transmitted in the bitstream without passing through the CU split information encoder 3120.

도 32는 본 발명의 실시예에 따른 영상 복호화 장치의 일부를 나타낸 개념도이다.32 is a conceptual diagram illustrating a part of an image decoding apparatus according to an embodiment of the present invention.

도 32를 참조하면 영상 복호화 장치는 판단부(3100)와 CU 분할 정보 복호화부(3120)를 포함할 수 있다. Referring to FIG. 32, the image decoding apparatus may include a determination unit 3100 and a CU partitioning information decoding unit 3120.

판단부(3100)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 CU 정보와 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 복호화 대상 부호화 단위의 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 결정한다. The determination unit 3100 receives, as input, coding unit information adjacent to the split target coding unit and information of the decoding target coding unit in a frame such as CU information corresponding to the split target coding unit, from the bitstream. It is determined whether to decode the partition information.

판단부(3100)에서는 도 23에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 3100 may determine whether to encode split information of the split target coding unit based on the determination procedure described above with reference to FIG. 23.

만일 판단부(3100)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(3120)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(3100)에서 분할 대상 부호화 단위의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(3120)를 거치지 않는다. 이후 분할 정보는 CU 정보에 저장된다.
If the determination unit 3100 determines to decode the split information of the split target coding unit, the CU split information decoder 3120 decodes the split information of the split target coding unit. If the determination unit 3100 determines not to decode the split information of the split target coding unit, the CU split information decoder 3120 is not passed. Thereafter, the partition information is stored in the CU information.

이하, 본 발명의 실시예에서는 추가적인 LCU 분할 구조 후보 결정 방법에 대해 개시한다. Hereinafter, an embodiment of the present invention discloses a method for determining an additional LCU partition structure candidate.

도 33은 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다. 33 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.

도 33을 참조하면, 참조 블록으로부터 분할 구조 후보 결정 정보를 유도한다(단계 S3300). Referring to FIG. 33, partition structure candidate determination information is derived from a reference block (step S3300).

분할 구조 후보 결정 정보로 사용하기 위해 참조 블록 중 가장 큰 분할 깊이 정보를 가진 블록이 존재하는지 여부 및 참조 블록의 움직임 벡터의 x 성분 또는 y 성분 중 10보다 큰 값이 있는지 여부에 대한 정보를 유도할 수 있다.Information about whether there is a block having the largest partition depth information among the reference blocks and whether there is a value greater than 10 of the x component or the y component of the reference block for use as the partition structure candidate determination information may be derived. Can be.

분할 대상 부호화 단위 및 참조 블록으로부터 유도된 소정의 조건을 만족하는지 여부를 판단한다(단계 S3310).It is determined whether a predetermined condition derived from the division target coding unit and the reference block is satisfied (step S3310).

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 판단하기 위한 소정의 조건으로 아래와 같은 조건들이 사용될 수 있다. The following conditions may be used as predetermined conditions for determining whether to use a split target coding unit as an LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 0인지 여부1) Whether the split depth of the split target coding unit is 0

2) 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부2) whether the coding unit having the largest partition depth exists in the call LCU

3) 콜 LCU에 포함된 부호화 단위의 움직임 벡터의 x, y 성분 중 10보다 큰 값이 존재하는지 여부,3) whether there is a value greater than 10 among the x and y components of the motion vector of the coding unit included in the call LCU,

등을 사용하여 해당 조건을 만족하는지 여부를 판단할 수 있다.Etc. can be used to determine whether the condition is satisfied.

위의 조건들은 임의적인 것으로서 분할 대상 부호화 단위의 분할 깊이 정보 또는 분할 대상 부호화 단위의 움직임 벡터 성분들의 값에 대한 정보는 다른 값을 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다. As the above conditions are arbitrary, the split depth information of the split target coding unit or the information about the values of the motion vector components of the split target coding unit may use different values, and such an embodiment is also included in the scope of the present invention.

전술한 조건을 만족하는 경우, 분할 대상 부호화 단위가 가장 큰 분할 깊이인지 여부를 판단한다(단계 S3320).If the above-described condition is satisfied, it is determined whether the split target coding unit is the largest division depth (step S3320).

분할 대상 부호화 단위가 가장 큰 분할 깊이인 경우 추가적인 분할 과정을 수행하지 않고 LCU 분할 구조 후보 결정 절차를 종료한다. If the splitting target coding unit has the largest division depth, the LCU division structure candidate determination procedure is terminated without performing an additional division process.

분할 대상 부호화 단위가 가장 큰 분할 깊이가 아닌 경우 분할 대상 부호화 단위를 추가적으로 분할한다(단계 S3330).If the split target coding unit is not the largest split depth, the split target coding unit is further split (step S3330).

분할된 부호화 단위를 기초로 다시 단계 S3310을 통해 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 판단을 수행할 수 있다. On the basis of the split coding unit, a determination may be made on whether to use the split target coding unit as an LCU split structure candidate through step S3310.

전술한 조건을 만족하지 않는 경우, 분할 대상 부호화 단위를 부호화한 뒤 LCU 분할 구조 후보로서 저장한다(단계 S3340).If the above condition is not satisfied, the division target coding unit is encoded and stored as an LCU partition structure candidate (step S3340).

도 33은 LCU 분할 구조 후보를 생성하기 위한 하나의 실시예로서 불필요한추가적인 단계가 존재하는 경우 해당 단계는 제외하여 판단을 수행할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.
33 is an embodiment for generating an LCU partition structure candidate, and when there are unnecessary additional steps, the determination may be performed except for the corresponding steps, and such embodiments are also included in the scope of the present invention.

도 34은 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다. 34 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.

도 34를 참조하면, 참조 블록으로부터 분할 구조 후보 결정 정보를 유도한다(단계 S3400). Referring to FIG. 34, partition structure candidate determination information is derived from a reference block (step S3400).

분할 구조 후보 결정 정보로 사용하기 위해 참조 블록 중 가장 큰 분할 깊이 정보를 가진 블록이 존재하는지 여부 및 참조 블록의 움직임 벡터값 차이(Motion Vector Difference)의 x 성분 또는 y 성분 중 10보다 큰 값이 있는지 여부에 대한 정보를 유도할 수 있다.Whether there is a block having the largest partition depth information among the reference blocks for use as the partition structure candidate determination information, and whether there is a value greater than 10 of the x component or the y component of the motion vector difference of the reference block. Information on whether or not can be derived.

분할 대상 부호화 단위 및 참조 블록으로부터 유도된 소정의 조건을 만족하는지 여부를 판단한다(단계 S3410).It is determined whether a predetermined condition derived from the division target coding unit and the reference block is satisfied (step S3410).

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 판단하기 위한 소정의 조건으로 아래와 같은 조건들이 사용될 수 있다. The following conditions may be used as a predetermined condition for determining whether to use a split target coding unit as an LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 0인지 여부1) Whether the split depth of the split target coding unit is 0

2) 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부2) whether the coding unit having the largest partition depth exists in the call LCU

3) 콜 LCU에 포함된 부호화 단위의 움직임 벡터 차이(Motion Vector Difference)의 x, y 성분 중 10보다 큰 값이 존재하는지 여부,3) whether there is a value greater than 10 among the x and y components of the motion vector difference of the coding unit included in the call LCU,

등을 사용하여 해당 조건을 만족하는지 여부를 판단할 수 있다.Etc. can be used to determine whether the condition is satisfied.

위의 조건들은 임의적인 것으로서 분할 대상 부호화 단위의 분할 깊이 정보 또는 분할 대상 부호화 단위의 움직임 벡터 성분들의 값에 대한 정보는 다른 값을 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다. As the above conditions are arbitrary, the split depth information of the split target coding unit or the information about the values of the motion vector components of the split target coding unit may use different values, and such an embodiment is also included in the scope of the present invention.

전술한 조건을 만족하는 경우, 분할 대상 부호화 단위가 가장 큰 분할 깊이인지 여부를 판단한다(단계 S3420).If the above condition is satisfied, it is determined whether the split target coding unit is the largest division depth (step S3420).

분할 대상 부호화 단위가 가장 큰 분할 깊이인 경우 추가적인 분할 과정을 수행하지 않고 LCU 분할 구조 후보 결정 절차를 종료한다. If the splitting target coding unit has the largest division depth, the LCU division structure candidate determination procedure is terminated without performing an additional division process.

분할 대상 부호화 단위가 가장 큰 분할 깊이가 아닌 경우 분할 대상 부호화 단위를 추가적으로 분할한다(단계 S3430).If the split target coding unit is not the largest split depth, the split target coding unit is further split (step S3430).

분할된 부호화 단위를 기초로 다시 단계 S3410을 통해 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 판단을 수행할 수 있다. On the basis of the split coding unit, a determination may be made on whether to use the split target coding unit as the LCU split structure candidate through step S3410.

전술한 조건을 만족하지 않는 경우, 분할 대상 부호화 단위를 부호화한 뒤 LCU 분할 구조 후보로서 저장한다(단계 S3440).If the above condition is not satisfied, the division target coding unit is encoded and stored as an LCU partition structure candidate (step S3440).

도 34는 LCU 분할 구조 후보를 생성하기 위한 하나의 실시예로서 불필요한 추가적인 단계가 존재하는 경우 해당 단계는 제외하여 판단을 수행할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.
FIG. 34 is an embodiment for generating an LCU partition structure candidate, and when there is an unnecessary additional step, the determination may be performed by excluding the corresponding step, and such an embodiment is also included in the scope of the present invention.

도 35는 본 발명의 실시예에 따른 LCU 분할 구조 후보 결정 방법을 나타내는 순서도이다. 35 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.

도 35를 참조하면, 참조 블록에서 분할 구조 후보 결정 정보를 유도한다(단계 S3500). Referring to FIG. 35, partition structure candidate determination information is derived from a reference block (step S3500).

참조 블록에서 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위의 분할 깊이 정보를 기초로 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단한다(단계 S3510).It is determined whether to use the split target coding unit as the LCU split structure candidate based on the split structure candidate determination information derived from the reference block and the split depth information of the split target coding unit (step S3510).

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위해 To determine whether to use a split target coding unit as an LCU partition structure candidate

1) 분할 대상 부호화 단위의 깊이 정보가 0인지 여부1) Whether the depth information of the split target coding unit is 0

2) 참조 블록 중 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부를 판단해야 한다. 2) It should be determined whether a coding unit having the largest division depth among the reference blocks exists.

LCU 분할 구조 후보를 결정하기 위해 위의 조건 중 분할 대상 부호화 단위의 깊이 정보는 0이 아닌 다른 값을 사용할 수 있고 참조 블록 중 소정의 분할 깊이값을 가진 부호화 단위가 존재하는지 여부를 판단하는 방법도 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다. Also, a method for determining whether a coding unit having a predetermined split depth value among the reference blocks may be used as the depth information of the split target coding unit among the above conditions to determine the LCU split structure candidate. May be used and such embodiments are also within the scope of the present invention.

단계 S3510을 통해 판단을 수행한 경우 해당 조건을 만족하지 않은 경우, 분할 대상 부호화 단위는 최적의 LCU 분할 구조가 될 가능성이 있으므로 해당 분할 대상 부호화 단위를 LCU 분할 단위 구조 후보에 저장할 수 있다(단계 S3520).If the determination is made in step S3510 and the corresponding condition is not satisfied, the split target coding unit may be an optimal LCU split structure, and thus the split target coding unit may be stored in the LCU split unit structure candidate (step S3520). ).

단계 S3510을 통해 판단을 수행한 경우 해당 조건을 만족하는 경우, 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인지 여부를 판단한다(단계 S3530).When the determination is made in step S3510, when the corresponding condition is satisfied, it is determined whether the split target coding unit is a coding unit having the largest division depth (step S3530).

단계 S3510을 통해 판단을 수행한 경우 해당 조건을 만족하는 경우, 분할 대상 부호화 단위는 추가로 분할될 가능성이 크므로 LCU 분할 구조 후보에 저장하지 않을 수 있다. When the determination is performed in step S3510, when the corresponding condition is satisfied, the split target coding unit may be further split, and thus may not be stored in the LCU partition structure candidate.

단계 S3530을 통한 판단 결과 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인 경우 LCU 분할 구조 후보 생성 절차를 종료하고 단계 S3530을 통한 판단 결과 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위가 아닌 경우 분할 대상 부호화 단위에 대하여 추가의 분할을 수행할 수 있다(단계 S3540).As a result of the determination in step S3530, if the splitting target coding unit is a coding unit having the largest splitting depth, the procedure for generating the LCU split structure candidate is terminated. If not, additional splitting may be performed on the split target coding unit (step S3540).

추가로 분할된 분할 대상 부호화 단위는 분할 대상 부호화 단위를 LCU 분할 구조에 포함시킬지 여부를 판단하기 위해 판단 절차를 수행할 수 있다.
In addition, the split target coding unit may perform a determination procedure to determine whether to include the split target coding unit in the LCU split structure.

도 36은 본 발명의 실시예에 따른 LCU 분할 구조 후보를 결정하는 방법을 나타낸 순서도이다. 36 is a flowchart illustrating a method of determining an LCU partition structure candidate according to an embodiment of the present invention.

도 36을 참조하면, 참조 블록에서 분할 구조 후보 결정 정보를 유도한다(단계 S3600). Referring to FIG. 36, partition structure candidate determination information is derived from a reference block (step S3600).

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 소정의 조건(제1 조건)을 만족하는지 여부를 판단한다(단계 S3610).It is determined whether a predetermined condition (first condition) is satisfied as to whether to use the division target coding unit as the LCU partition structure candidate (step S3610).

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 판단하기 위한 소정의 조건으로 아래와 같은 조건들이 사용될 수 있다. The following conditions may be used as a predetermined condition for determining whether to use a split target coding unit as an LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 0인지 여부1) Whether the split depth of the split target coding unit is 0

2) 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부2) whether the coding unit having the largest partition depth exists in the call LCU

3) 콜 LCU에 포함된 부호화 단위의 움직임 벡터의 x, y 성분 중 10보다 큰 값이 존재하는지 여부,3) whether there is a value greater than 10 among the x and y components of the motion vector of the coding unit included in the call LCU,

등을 사용하여 해당 조건을 만족하는지 여부를 판단할 수 있다.Etc. can be used to determine whether the condition is satisfied.

위의 조건들은 임의적인 것으로서 분할 대상 부호화 단위의 분할 깊이 정보 또는 분할 대상 부호화 단위의 움직임 벡터 성분들의 값에 대한 정보는 다른 값을 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다. As the above conditions are arbitrary, the split depth information of the split target coding unit or the information about the values of the motion vector components of the split target coding unit may use different values, and such an embodiment is also included in the scope of the present invention.

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 소정의 조건을 만족하지 않는 경우, 아래의 추가적인 조건을 분할 대상 부호화 단위와 참조 블록이 만족하는지 여부를 판단한다(단계 S3620).If the predetermined condition is not satisfied whether the split target coding unit is used as the LCU partition structure candidate, it is determined whether the split target coding unit and the reference block satisfy the following additional conditions (step S3620).

아래의 두 조건에서 사용된 판단값은 임의적인 값으로 변할 수 있다. 예를 들어, 분할 대상 부호화 단위의 분할 깊이가 최대 분할 깊이인지 여부를 판단하지 않고 최대 분할 깊이보다 작은 분할 깊이인지 여부를 판단하는 것도 가능하다.Judgment values used in the following two conditions may be changed to arbitrary values. For example, it is also possible to determine whether or not the split depth of the split target coding unit is a split depth smaller than the maximum split depth.

1) 분할 대상 부호화 단위의 분할 깊이가 최대 분할 깊이인지 여부, 1) whether the split depth of the split target coding unit is the maximum split depth;

2) 참조 블록의 분할 깊이가 2보다 작은지 여부2) whether the splitting depth of the reference block is less than 2

위의 두 개의 조건 중 적어도 하나의 조건을 만족하는 경우, 해당 분할 대상 부호화 단위는 최적의 LCU 분할 구조로 선택될 가능성이 적으므로 LCU 분할 구조 후보로 저장을 하지 않을 수 있다. When at least one of the above two conditions is satisfied, the split target coding unit is less likely to be selected as an optimal LCU partition structure, and thus may not be stored as an LCU partition structure candidate.

위의 두 개의 조건을 만족하지 않는 경우, 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 저장한다(단계 S3630).If the above two conditions are not satisfied, the division target coding unit is encoded and stored in the LCU partition structure candidate (step S3630).

위의 두 개의 조건을 만족하지 않는 경우, 해당 분할 대상 부호화 단위는 최적의 LCU 분할 구조로 선택될 가능성이 있으므로 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 저장한다.If the above two conditions are not satisfied, the split target coding unit may be selected as an optimal LCU split structure, and the split target coding unit is encoded and stored in the LCU split structure candidate.

분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부에 대해 소정의 조건을 만족하는 경우, 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인지 여부를 판단한다(단계 S3640).When a predetermined condition is satisfied as to whether to use the split target coding unit as the LCU split structure candidate, it is determined whether the split target coding unit is a coding unit having the largest split depth (step S3640).

단계 S3640을 통한 판단 결과 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위인 경우 LCU 분할 구조 후보 생성 절차를 종료하고 단계 S3640을 통한 판단 결과 분할 대상 부호화 단위가 가장 큰 분할 깊이를 가진 부호화 단위가 아닌 경우 분할 대상 부호화 단위에 대하여 추가의 분할을 수행할 수 있다(단계 S3650).
As a result of the determination in step S3640, when the splitting target coding unit is a coding unit having the largest splitting depth, the procedure for generating the LCU split structure candidate is ended, and in step S3640, the coding unit having the largest splitting depth is determined. If not, additional splitting may be performed on the split target coding unit (step S3650).

도 33 내지 36에서 개시한 LCU 분할 구조 후보를 분할하는 방법을 통해 결정된 분할 구조 후보에 대하여 부호화 및 복호화를 함에 있어서 LCU 분할 구조 후보를 저장할지 여부를 판단하기 위해 사용된 판단 조건을 사용할 수 있다. 전술한 도 18 내지 도 23과 같이 LCU 분할 구조 후보를 저장할지 여부를 판단하기 위해 사용된 판단 조건을 만족하는 경우 부호화 단계에서는 해당 LCU 분할 구조를 나타내는 부호화 비트를 사용하지 않을 수 있고 복호화 단계에서도 부호화 단계와 동일하게 비트스트림에서 해당 비트를 복호화하지 않을 수 있다.In encoding and decoding the partition structure candidates determined through the method of splitting the LCU partition structure candidates described with reference to FIGS. 33 to 36, a determination condition used to determine whether to store the LCU partition structure candidate may be used. As described above with reference to FIGS. 18 to 23, when the determination condition used to determine whether to store the LCU partition structure candidate is satisfied, the encoding step may not use the coding bit indicating the corresponding LCU partition structure, and may also be encoded in the decoding step. As in the step, the corresponding bit may not be decoded in the bitstream.

LCU 분할 구조 후보를 저장할지 여부를 판단하기 위해 사용된 판단 조건을 만족하지 않는 경우는 기존의 LCU 분할 구조 부호화 및 복호화 방법과 동일한 방법을 사용하여 부호화 및 복호화를 수행할 수 있다.
If the determination condition used to determine whether to store the LCU partition structure candidate is not satisfied, encoding and decoding may be performed using the same method as the existing LCU partition structure encoding and decoding method.

도 37은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 37 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 37을 참조하면, 영상 부호화기는 판단부(3700), CU 부호화 및 LCU 분할 구조 후보 등록부(3720), LCU 분할 구조 결정부(3740)를 포함할 수 있다.Referring to FIG. 37, the image encoder may include a determiner 3700, a CU encoding and LCU partition structure candidate registerer 3720, and an LCU partition structure determiner 3740.

판단부(3700)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 CU 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정한다. 판단부(3700)에서는 도 33에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다. 만일 판단부(3700)에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3720)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함한다. 만일 판단부(3700)에서 분할 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3720)를 거치지 않을 수 있다. 이후, 분할 대상 부호화 단위가 가장 큰 깊이가 아니면 깊이가 1씩 증가한 4개의 분할 대상 부호화 단위로 추가적으로 분할하여 다시 위 과정을 수행할 수 있다. LCU 분할 구조 결정부(3740)에서는 LCU 단위로 최소깊이부터 최대깊이까지의 부호화 단위를 부호화하여 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택할 수 있다.
The determination unit 3700 determines whether to include the CU information corresponding to the split target coding unit and the split target coding unit information in the reference frame as an input, to encode the split target coding unit, and to include the split target coding unit in the candidate LCU partition structure. The determination unit 3700 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 33. If the determination unit 3700 decides to encode the split target coding unit, the split target coding unit is encoded by the CU encoding and the LCU split structure candidate registration unit 3720 and included in the LCU split structure candidate. If the determination unit 3700 determines not to encode the splitting target coding unit, the determination unit 3700 may not pass through the CU encoding and the LCU split structure candidate register 3720. Subsequently, if the splitting target coding unit is not the largest depth, the above process may be performed again by further splitting the split target coding unit into four splitting target coding units having a depth increased by one. The LCU partition structure determiner 3740 may select an optimal LCU partition structure from among registered LCU partition structure candidates by encoding coding units having a minimum depth to a maximum depth in LCU units.

도 38은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 38 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 38을 참조하면, 영상 부호화기는 판단부(3800), CU 부호화 및 LCU 분할 구조 후보 등록부(3820), LCU 분할 구조 결정부(3840)를 포함할 수 있다.Referring to FIG. 38, an image encoder may include a determiner 3800, a CU encoding and LCU partition structure candidate register 3820, and an LCU partition structure determiner 3840.

판단부(3800)에서는 같은 프레임 내에 분할 대상 부호화 단위에 인접한 인접 블록와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정할 수 있다. 판단부(3800)에서는 도 34에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 3800 may receive the adjacent block adjacent to the split target coding unit and split target coding unit information in the same frame as an input, and determine whether to encode the split target coding unit and include the split target coding unit in an LCU partition structure candidate. The determination unit 3800 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 34.

만일 판단부(3800)에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3820)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함시킬 수 있다. 만일 판단부(3800)에서 분할 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3820)를 거치지 않는다. 이후 분할 대상 부호화 단위가 가장 큰 깊이가 아니면 깊이가 1씩 증가한 4개의 분할 대상 부호화 단위로 분할하여 다시 위 과정을 거친다. LCU 분할 구조 결정부(3840)에서는 LCU 단위로 최소깊이부터 최대깊이까지의 부호화 단위를 부호화하여 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택한다.
If the determination unit 3800 determines to encode the split target coding unit, the split target coding unit may be encoded and included in the LCU split structure candidate through the CU encoding and the LCU split structure candidate register 3820. If the determination unit 3800 decides not to encode the split target coding unit, the CU encoding and the LCU split structure candidate registration unit 3820 are not passed through. Thereafter, if the splitting target coding unit is not the largest depth, the splitting process is split into four splitting target coding units having a depth increased by one, and the above process is performed again. The LCU partition structure determination unit 3840 encodes coding units from the minimum depth to the maximum depth in LCU units to select an optimal LCU partition structure among registered LCU partition structure candidates.

도 39는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 39 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 39를 참조하면, 영상 부호화기는 판단부(3900), CU 부호화 및 LCU 분할 구조 후보 등록부(3920), LCU 분할 구조 결정부(3940)를 포함할 수 있다.Referring to FIG. 39, the image encoder may include a determiner 3900, a CU encoding and LCU partition structure candidate register 3920, and an LCU partition structure determiner 3940.

판단부(3900)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 CU 정보(참조 블록 정보)와 같은 프레임 내에 분할 대상 부호화 단위에 인접한 블록 정보(인접 블록 정보)와 분할 대상 부호화 단위의 정보를 입력으로 받아서 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정한다. The determination unit 3900 inputs block information (adjacent block information) adjacent to the split target coding unit and information of the split target coding unit in a frame, such as CU information (reference block information) corresponding to the split target coding unit, in the reference frame. The method determines whether to divide the encoding target coding unit to include in the LCU partition structure candidate.

판단부(3900)에서는 도 35에서 전술한 판단 절차를 기초로 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정할 수 있다.The determination unit 3900 may determine whether to encode the split information of the split target coding unit based on the determination procedure described above with reference to FIG. 35.

만일 판단부3900()에서 분할 대상 부호화 단위를 부호화하기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3920)를 통해 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함한다. 만일 판단부(3900)에서 분할 대상 부호화 단위를 부호화하지 않기로 결정하면 CU 부호화 및 LCU 분할 구조 후보 등록부(3920)를 거치지 않는다. 이후 분할 대상 부호화 단위가 가장 큰 깊이가 아니면 깊이가 1 씩 증가한 4개의 분할 대상 부호화 단위로 분할하여 다시 위 과정을 거친다. LCU 분할 구조 결정부(3940)에서는 LCU 단위로 최소깊이부터 최대깊이까지의 CU를 부호화하여 등록된 LCU 분할 구조 후보 중 최적의 LCU 분할 구조를 선택한다.
If the determination unit 3900 () decides to encode the split target coding unit, the split target coding unit is encoded by the CU encoding and the LCU split structure candidate register 3920 to be included in the LCU split structure candidate. If the determination unit 3900 determines not to encode the split target coding unit, the CU encoding and the LCU partition structure candidate registration unit 3920 are not passed through. After that, if the splitting target coding unit is not the largest depth, the splitting process is split into four splitting target coding units having a depth increased by one, and the above process is performed again. The LCU partition structure determiner 3940 selects an optimal LCU partition structure from among registered LCU partition structure candidates by encoding a CU from the minimum depth to the maximum depth in LCU units.

도 40은 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 40 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 40을 참조하면, 영상 부호화기는 판단부(4000), CU 분할 정보 부호화부(4020)를 포함할 수 있다.Referring to FIG. 40, the image encoder may include a determiner 4000 and a CU partition information encoder 4020.

판단부(4000)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위 정보인 참조 블록 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 현재 CU의 분할 정보를 부호화할지 결정한다.The determination unit 4000 receives reference block information which is coding unit information corresponding to the split target coding unit and split target coding unit information in the reference frame, and determines whether to encode the split information of the current CU.

판단부(4000)에서는 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정하기 위해 아래와 같은 조건들을 만족하는지 여부를 판단할 수 있다.The determination unit 4000 may determine whether the following conditions are satisfied in order to determine whether to encode the split target coding unit to include in the LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 0인지 여부1) Whether the split depth of the split target coding unit is 0

2) 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부2) whether the coding unit having the largest partition depth exists in the call LCU

3) 콜 LCU에 포함된 부호화 단위의 움직임 벡터의 x, y 성분 중 10보다 큰 값이 존재하는지 여부3) Whether there is a value greater than 10 among the x and y components of the motion vector of the coding unit included in the call LCU

위의 조건들은 임의적인 것으로서 분할 대상 부호화 단위의 분할 깊이 정보 또는 분할 대상 부호화 단위의 움직임 벡터 성분들의 값에 대한 정보는 다른 값을 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다. As the above conditions are arbitrary, the split depth information of the split target coding unit or the information about the values of the motion vector components of the split target coding unit may use different values, and such an embodiment is also included in the scope of the present invention.

만일 판단부(4000)에서 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(4020)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송한다. 만일 판단부(4000)에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(4020)를 거치지 않고 분할 대상 부호화 단위의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 4000 determines to encode the split information of the split target coding unit, the CU split information encoder 4020 encodes the split information of the split target coding unit, and stores and transmits the split information in the bitstream. If the determination unit 4000 determines not to encode the split information of the split target coding unit, the split information of the split target coding unit is not stored and transmitted in the bitstream without passing through the CU split information encoder 4020.

도 41은 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다. 41 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.

도 41을 참조하면, 영상 복호화기는 판단부(4100), CU 분할 정보 복호화부(4120)를 포함할 수 있다.Referring to FIG. 41, an image decoder may include a determiner 4100 and a CU partition information decoder 4120.

참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위 정보인 참조 블록 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정한다. 판단부(4100)에서는 도 40에서 부호화 여부를 결정하는 방법과 동일한 팡법으로 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정할 수 있다.It is determined whether to decode the split information of the split target coding unit from the bitstream by receiving the reference block information which is the coding unit information corresponding to the split target coding unit and the split target coding unit information in the reference frame. The determination unit 4100 may determine whether to decode the split information of the encoding target coding unit using the same method as the method of determining whether to encode in FIG. 40.

만일 판단부(4100)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(4120)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(4100)에서 분할 대상 부호화 단위의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(4120)를 거치지 않는다. 이후 분할 정보는 CU 정보에 저장될 수 있다.
If the determination unit 4100 determines to decode the split information of the split target coding unit, the CU split information decoder 4120 decodes the split information of the split target coding unit. If the determination unit 4100 determines not to decode the split information of the split target coding unit, the CU split information decoder 4120 is not passed. Thereafter, the partition information may be stored in the CU information.

도 42는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 42 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 42를 참조하면, 영상 부호화기는 판단부(4200), CU 분할 정보 부호화부(4220)를 포함할 수 있다.Referring to FIG. 42, the image encoder may include a determiner 4200 and a CU partition information encoder 4220.

판단부(4200)에서는 같은 프레임 내에 부호화 대상 부호화 단위에 인접한 부호화 단위 정보인 인접 블록 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정한다.The determination unit 4200 determines whether to encode the split information of the split target coding unit by receiving adjacent block information and split target coding unit information, which are coding unit information adjacent to the coding target coding unit, in the same frame.

판단부(4200)에서는 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정하기 위해 아래와 같은 조건들을 만족하는지 여부를 판단할 수 있다.The determination unit 4200 may determine whether the following conditions are satisfied in order to determine whether to encode the split target coding unit to include in the LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 0인지 여부1) Whether the split depth of the split target coding unit is 0

2) 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부2) whether the coding unit having the largest partition depth exists in the call LCU

3) 콜 LCU에 포함된 부호화 단위의 움직임 벡터 차이(Motion Vector Difference)의 x, y 성분 중 10보다 큰 값이 존재하는지 여부,
3) whether there is a value greater than 10 among the x and y components of the motion vector difference of the coding unit included in the call LCU,

만일 판단부(4200)에서 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(4220)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송할 수 있다. 만일 판단부에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(4220)를 거치지 않고 분할 대상 부호화 단위의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 4200 determines to encode the split information of the split target coding unit, the CU split information encoder 4220 may encode split information of the split target coding unit, and store and transmit the split information in the bitstream. If the determination unit decides not to encode the split information of the split target coding unit, the split information of the split target coding unit is not stored and transmitted in the bitstream without passing through the CU split information encoder 4220.

도 43은 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다. 43 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.

도 43을 참조하면, 영상 복호화기는 판단부(4300), CU 분할 정보 부호화부(4320)를 포함할 수 있다.Referring to FIG. 43, an image decoder may include a determiner 4300 and a CU partition information encoder 4320.

판단부(4300)서는 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정한다. The determination unit 4300 determines whether to decode the split information of the split target coding unit from the bitstream by receiving the coding unit information adjacent to the split target coding unit and the split target coding unit information in the same frame.

판단부(4300)에서는 도 42에서 부호화 여부를 결정하는 방법과 동일한 팡법으로 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정할 수 있다. 만일 판단부(4300)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(4320)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(4300)에서 현재 CU의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(4320)를 거치지 않는다. 이후 분할 정보는 CU 정보에 저장될 수 있다.
The determination unit 4300 may determine whether to decode the split information of the encoding target coding unit using the same method as the method of determining whether to encode in FIG. 42. If the determination unit 4300 determines to decode the split information of the split target coding unit, the CU split information decoder 4320 decodes the split information of the split target coding unit. If the determination unit 4300 decides not to decode the partition information of the current CU, the CU partition information decoder 4320 is not passed through. Thereafter, the partition information may be stored in the CU information.

도 44는 본 발명의 실시예에 따른 영상 부호화기를 나타낸 개념도이다. 44 is a conceptual diagram illustrating an image encoder according to an embodiment of the present invention.

도 44를 참조하면, 영상 부호화기는 판단부(4400), CU 분할 정보 부호화부(4420)를 포함할 수 있다.Referring to FIG. 44, an image encoder may include a determiner 4400 and a CU partition information encoder 4420.

판단부(4400)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화 단위 정보(참조 블록 정보)와 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보(인접 블록 정보)와 분할 대상 부호화 단위 정보를 입력으로 받아서 분할 대상 부호화 단위의 분할 정보를 부호화할지 결정한다. The determination unit 4400 inputs coding unit information (adjacent block information) adjacent to the split target coding unit and split target coding unit information in a frame such as coding unit information (reference block information) corresponding to the split target coding unit in the reference frame. It determines whether to encode the split information of the split target coding unit.

판단부(4400)에서는 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정하기 위해 아래와 같은 조건들을 만족하는지 여부를 판단할 수 있다.The determination unit 4400 may determine whether the following conditions are satisfied in order to determine whether to encode the split target coding unit to include in the LCU partition structure candidate.

1) 분할 대상 부호화 단위의 깊이 정보가 0인지 여부1) Whether the depth information of the split target coding unit is 0

2) 참조 블록 중 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부LCU 분할 구조 후보를 결정하기 위해 위의 조건 중 분할 대상 부호화 단위의 깊이 정보는 0이 아닌 다른 값을 사용할 수 있고 참조 블록 중 소정의 분할 깊이값을 가진 부호화 단위가 존재하는지 여부를 판단하는 방법도 사용할 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.2) Whether there is a coding unit having the largest division depth among the reference blocks, to determine a candidate candidate for the LCU segmentation structure, depth information of the coding target coding unit among the above conditions may use a value other than 0 and a predetermined value among the reference blocks may be used. A method of determining whether a coding unit having a split depth value of may exist may also be used, and such an embodiment is also included in the scope of the present invention.

또한, 판단부(4400)에서는 분할 대상 부호화 단위를 부호화하여 LCU 분할 구조 후보에 포함할지 여부를 결정하기 위해 아래와 같은 조건들을 만족하는지 여부를 판단할 수 있다.In addition, the determination unit 4400 may determine whether the following conditions are satisfied in order to determine whether to encode a split target coding unit to include in the LCU partition structure candidate.

1) 분할 대상 부호화 단위의 분할 깊이가 최대 분할 깊이인지 여부, 1) whether the split depth of the split target coding unit is the maximum split depth;

2) 참조 블록의 분할 깊이가 1보다 작은지 여부2) whether the splitting depth of the reference block is less than 1

위의 두 개의 조건을 만족하는 경우, 해당 분할 대상 부호화 단위는 최적의 LCU 분할 구조로 선택될 가능성이 적으므로 LCU 분할 구조 후보로 저장을 하지 않을 수 있다. When the above two conditions are satisfied, the corresponding split target coding unit is less likely to be selected as an optimal LCU partition structure, and thus may not be stored as an LCU partition structure candidate.

만일 판단부(4400)에서는 분할 대상 부호화 단위의 분할 정보를 부호화하기로 결정하면 CU 분할 정보 부호화부(4420)를 통해 분할 대상 부호화 단위의 분할 정보를 부호화하여 비트스트림에 저장 및 전송한다. 만일 판단부(4400)에서 분할 대상 부호화 단위의 분할 정보를 부호화하지 않기로 결정하면 CU 분할 정보 부호화부(4420)를 거치지 않고 분할 대상 부호화 단위의 분할 정보는 비트스트림에 저장 및 전송되지 않는다.
If the determination unit 4400 determines to encode the split information of the split target coding unit, the CU split information encoder 4420 encodes the split information of the split target coding unit, and stores and transmits the split information in the bitstream. If the determination unit 4400 decides not to encode the split information of the split target coding unit, the split information of the split target coding unit is not stored and transmitted in the bitstream without passing through the CU split information encoder 4420.

도 45는 본 발명의 실시예에 따른 영상 복호화기를 나타낸 개념도이다. 45 is a conceptual diagram illustrating an image decoder according to an embodiment of the present invention.

도 45를 참조하면, 영상 복호화기는 판단부(4500), CU 분할 정보 부호화부(4520)를 포함할 수 있다.Referring to FIG. 45, the image decoder may include a determiner 4500 and a CU partition information encoder 4520.

판단부(4500)에서는 참조 프레임에서 분할 대상 부호화 단위에 대응되는 부호화단위 정보(참조 블록 정보)와 같은 프레임 내에 분할 대상 부호화 단위에 인접한 부호화 단위 정보와 분할 대상 부호화 단위 정보를 입력으로 받아서 비트스트림으로부터 분할 대상 부호화 단위의 분할 정보를 복호화할지 결정한다. 판단부()에서는 도 44에서 부호화 여부를 결정하는 방법과 동일한 팡법으로 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정할 수 있다.The determination unit 4500 receives from the bitstream the coding unit information adjacent to the splitting target coding unit and the splitting target coding unit information in a frame such as the coding unit information (reference block information) corresponding to the splitting coding unit in the reference frame. It is determined whether to decode the split information of the split target coding unit. The determination unit () may determine whether to decode the split information of the split target coding unit using the same method as the method of determining whether to encode in FIG. 44.

만일 판단부(4500)에서 분할 대상 부호화 단위의 분할 정보를 복호화하기로 결정하면 CU 분할 정보 복호화부(4520)를 통해 분할 대상 부호화 단위의 분할 정보를 복호화한다. 만일 판단부(4500)에서 분할 대상 부호화 단위의 분할 정보를 복호화하지 않기로 결정하면 CU 분할 정보 복호화부(4520)를 거치지 않는다. 이후 분할 정보는 CU 정보에 저장된다.
If the determination unit 4500 determines to decode the split information of the split target coding unit, the CU split information decoder 4520 decodes the split information of the split target coding unit. If the determination unit 4500 determines not to decode the split information of the split target coding unit, the CU split information decoder 4520 is not passed through. Thereafter, the partition information is stored in the CU information.

이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although described with reference to the embodiments above, those skilled in the art will understand that the present invention can be variously modified and changed without departing from the spirit and scope of the invention as set forth in the claims below. Could be.

Claims (20)

참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함하는 영상 부호화 방법.
Deriving partition structure candidate determination information from a reference block; And
And determining whether to use the split target coding unit as the LCU split structure candidate using predetermined conditions calculated based on the derived split structure candidate determination information and the information derived from the split target coding unit. Way.
제1항에 있어서, 상기 소정의 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 부호화 방법.
The method according to claim 1, wherein the predetermined condition is
Information on at least one of a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU And a condition for determining whether to use the split target coding unit as an LCU partition structure candidate.
제1항에 있어서, 상기 소정의 조건은,
분할 대상 부호화 단위의 분할 깊이가 0인지 여부, 콜 LCU에 가장 큰 분할 깊이를 가진 부호화 단위가 존재하는지 여부, 콜 LCU에 포함된 부호화 단위의 움직임 벡터의 x, y 성분 중 10보다 큰 값이 존재하는지 여부, 콜 LCU에 포함된 부호화 단위의 움직임 벡터 차이(Motion Vector Difference)의 x, y 성분 중 10보다 큰 값이 존재하는지 여부 중 적어도 하나의 조건인 영상 부호화 방법.
The method according to claim 1, wherein the predetermined condition is
Whether the splitting depth of the coding target to be split is 0, whether a coding unit having the largest splitting depth exists in the call LCU, or a value larger than 10 among the x and y components of the motion vector of the coding unit included in the call LCU And at least one condition of whether there is a value greater than 10 among x and y components of a motion vector difference of a coding unit included in a call LCU.
제1항에 있어서, 상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계는,
상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보가 제1 조건을 만족하는지 여부를 판단하는 단계; 및
상기 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보가 제2 조건을 만족하는지 여부를 판단하는 단계를 포함하되,
상기 제1 조건 및 상기 제2 조건은 분할 대상 부호화 단위의 분할 깊이 정보 및 참조 블록에서 유도된 분할 구조 후보 결정 정보를 기초로 유도된 조건인 영상 부호화 방법.
The method of claim 1, wherein whether to use the split target coding unit as an LCU split structure candidate is determined using a predetermined condition calculated based on the derived split structure candidate determination information and information derived from the split target coding unit. The steps are
Determining whether the derived partition structure candidate determination information and information derived from the division target coding unit satisfy a first condition; And
Determining whether the derived partition structure candidate determination information and information derived from the split target coding unit satisfy a second condition,
And the first condition and the second condition are conditions derived based on split depth information of a split target coding unit and split structure candidate determination information derived from a reference block.
인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
상기 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함하는 영상 부호화 방법.
Deriving partition structure candidate determination information from an adjacent block; And
And determining whether to use the split target coding unit as an LCU split structure candidate using a predetermined condition calculated based on the split structure candidate determination information and the information derived from the split target coding unit. .
제5항에 있어서, 상기 소정의 조건은,
인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 부호화 방법.
The method according to claim 5, wherein the predetermined condition is
Whether to use the split target coding unit as an LCU partition structure candidate using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. An image encoding method which is a condition for determining whether or not.
참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계;
상기 참조 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제1 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계;
인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
상기 인접 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제2 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 단계를 포함하는 영상 부호화 방법.
Deriving partition structure candidate determination information from a reference block;
Determining whether to use the split target coding unit as an LCU split structure candidate using a first condition calculated based on split structure candidate determination information derived from the reference block and information derived from split target coding units;
Deriving partition structure candidate determination information from an adjacent block; And
Determining whether to use the split target coding unit as an LCU split structure candidate using a second condition calculated based on split structure candidate determination information derived from the neighboring block and information derived from split target coding units; Image coding method comprising.
제7항에 있어서, 상기 제1 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 부호화 방법.
The method of claim 7, wherein the first condition,
Information on at least one of a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU And a condition for determining whether to use the split target coding unit as an LCU partition structure candidate.
제7항에 있어서, 상기 제2 조건은,
인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 부호화 방법.
The method of claim 7, wherein the second condition,
Whether to use the split target coding unit as an LCU partition structure candidate using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. An image encoding method which is a condition for determining whether or not.
참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정하는 단계를 포함하는 영상 복호화 방법.
Deriving partition structure candidate determination information from a reference block; And
And determining whether to decode the split information of the split target coding unit using a predetermined condition calculated based on the derived split structure candidate determination information and the information derived from the split target coding unit.
제10항에 있어서, 상기 소정의 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 복호화 방법.
The method of claim 10, wherein the predetermined condition,
Information on at least one of a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU And a condition for determining whether to use the split target coding unit as an LCU partition structure candidate.
인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 결정하는 단계를 포함하는 영상 복호화 방법.
Deriving partition structure candidate determination information from an adjacent block; And
And determining whether to decode the split information of the split target coding unit using a predetermined condition calculated based on the derived split structure candidate determination information and the information derived from the split target coding unit.
제12항에 있어서, 상기 소정의 조건은,
인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 복호화 방법.
The method of claim 12, wherein the predetermined condition is
Whether to use the split target coding unit as an LCU partition structure candidate using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. Image decoding method that is a condition for determining whether or not.
참조 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계;
상기 참조 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제1 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 단계;
인접 블록으로부터 분할 구조 후보 결정 정보를 유도하는 단계; 및
상기 인접 블록으로부터 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 제2 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 단계를 포함하는 영상 복호화 방법.
Deriving partition structure candidate determination information from a reference block;
Determining whether to decode the split information of the split target coding unit using the first condition calculated based on the split structure candidate determination information derived from the reference block and the information derived from the split target coding unit;
Deriving partition structure candidate determination information from an adjacent block; And
Determining whether to decode the split information of the split target coding unit by using the second condition calculated based on the split structure candidate determination information derived from the neighboring block and the information derived from the split target coding unit. Image Decoding Method.
제14항에 있어서, 상기 제1 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 복호화 방법.
The method of claim 14, wherein the first condition,
Information on at least one of a partition depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, and transform coefficient information of coding units in a call LCU And a condition for determining whether to use the split target coding unit as an LCU partition structure candidate.
제14항에 있어서, 상기 제2 조건은,
인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보를 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하기 위한 조건인 영상 복호화 방법.
The method of claim 14, wherein the second condition,
Whether to use the split target coding unit as an LCU partition structure candidate using at least one of depth information of an adjacent block, motion information of an adjacent block, reference index information of an adjacent block, and transform coefficient information of an adjacent block. Image decoding method that is a condition for determining whether or not.
참조 블록 또는 인접 블록으로부터 분할 구조 후보 결정 정보를 입력받고 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위를 LCU 분할 구조 후보로 사용할지 여부를 판단하는 판단부; 및
상기 판단부에서 판단된 결과를 기초로 LCU 분할 구조 후보를 결정하는 LCU 분할 구조 후보 결정부를 포함하는 영상 부호화 장치.
The LCU partitioning structure is obtained by receiving the partition structure candidate determination information from a reference block or an adjacent block and using the predetermined condition calculated based on the partition structure candidate determination information derived and information derived from the splitting target coding unit. A determination unit determining whether to use as a candidate; And
And an LCU partition structure candidate determiner that determines an LCU partition structure candidate based on a result determined by the determination unit.
제17항에 있어서, 상기 소정의 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 또는 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보 중 적어도 하나의 조건인 영상 부호화 장치.
The method of claim 17, wherein the predetermined condition is
Split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, transform coefficient information of coding units in a call LCU, or depth information of an adjacent block And at least one condition among at least one of motion information of adjacent blocks, reference index information of adjacent blocks, and transform coefficient information of adjacent blocks.
참조 블록 또는 인접 블록으로부터 분할 구조 후보 결정 정보를 입력받고 유도된 분할 구조 후보 결정 정보 및 분할 대상 부호화 단위로부터 유도된 정보를 기초로 산출된 소정의 조건을 사용하여 상기 분할 대상 부호화 단위의 분할 정보를 복호화할지 여부를 판단하는 판단부; 및
상기 판단부에서 판단된 결과를 기초로 LCU 분할 구조를 복호화하는 CU 분할 정보 복호화부를 포함하는 영상 복호화 장치.
The split information of the split target coding unit is obtained by receiving split structure candidate determination information from a reference block or an adjacent block and using predetermined conditions calculated based on the split structure candidate determination information derived and information derived from the split target coding unit. A determination unit determining whether to decode; And
And a CU partitioning information decoder for decoding the LCU partitioning structure based on the result determined by the determination unit.
제19항에 있어서, 상기 소정의 조건은,
콜 LCU 내에 포함된 블록의 분할 깊이, 콜 LCU 내에 포함된 예측 단위의 움직임 정보, 콜 LCU 내의 부호화 단위들의 참조 인덱스(Reference Index) 정보, 콜 LCU 내의 부호화 단위들의 변환 계수 정보 또는 인접 블록의 깊이 정보, 인접 블록의 움직임 정보, 인접한 블록의 참조 인덱스(Reference Index) 정보, 인접 블록의 변환 계수 정보 중 적어도 하나의 정보 중 적어도 하나의 조건인 영상 복호화 장치.
The method of claim 19, wherein the predetermined condition is
Split depth of a block included in a call LCU, motion information of a prediction unit included in a call LCU, reference index information of coding units in a call LCU, transform coefficient information of coding units in a call LCU, or depth information of an adjacent block And at least one condition among at least one of motion information of a neighboring block, reference index information of a neighboring block, and transform coefficient information of the neighboring block.
KR1020120061902A 2011-06-10 2012-06-11 Methods of spliting block and apparatuses for using the same KR102063285B1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20110056181 2011-06-10
KR1020110056181 2011-06-10
KR1020110061195 2011-06-23
KR20110061195 2011-06-23

Publications (2)

Publication Number Publication Date
KR20120137305A true KR20120137305A (en) 2012-12-20
KR102063285B1 KR102063285B1 (en) 2020-01-08

Family

ID=47904453

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120061902A KR102063285B1 (en) 2011-06-10 2012-06-11 Methods of spliting block and apparatuses for using the same

Country Status (1)

Country Link
KR (1) KR102063285B1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140120396A (en) * 2013-03-29 2014-10-14 한국전자통신연구원 Fast Video coding method
WO2015147514A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Apparatus for encoding video using depth information and method therfor
WO2015147507A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Method and apparatus for encoding video using depth information
WO2015147508A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Method and apparatus for encoding video using depth information
KR20150114356A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of video using depth image
KR20150114355A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of video using depth image
KR20150114357A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of 2demensional video using depth image

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023075568A1 (en) * 2021-11-01 2023-05-04 엘지전자 주식회사 Feature encoding/decoding method and device based on inter-channel reference of encoding structure, recording medium in which bitstream is stored, and bitstream transmission method
WO2023085600A1 (en) * 2021-11-10 2023-05-19 현대자동차주식회사 Method and device for video encoding using implicit arbitrary block division and predictions arising therefrom

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080088039A (en) * 2007-03-28 2008-10-02 삼성전자주식회사 Method and apparatus for video encoding and decoding
KR20080107965A (en) * 2007-06-08 2008-12-11 삼성전자주식회사 Method and apparatus for encoding and decoding image using object boundary based partition

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080088039A (en) * 2007-03-28 2008-10-02 삼성전자주식회사 Method and apparatus for video encoding and decoding
KR20080107965A (en) * 2007-06-08 2008-12-11 삼성전자주식회사 Method and apparatus for encoding and decoding image using object boundary based partition

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140120396A (en) * 2013-03-29 2014-10-14 한국전자통신연구원 Fast Video coding method
WO2015147514A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Apparatus for encoding video using depth information and method therfor
WO2015147507A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Method and apparatus for encoding video using depth information
WO2015147508A1 (en) * 2014-03-28 2015-10-01 경희대학교산학협력단 Method and apparatus for encoding video using depth information
KR20150114356A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of video using depth image
KR20150114355A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of video using depth image
KR20150114357A (en) 2014-03-28 2015-10-12 경희대학교 산학협력단 Method and apparatus for encoding of 2demensional video using depth image
KR20160030146A (en) 2014-03-28 2016-03-16 경희대학교 산학협력단 Method and apparatus for encoding of video using depth image
KR20160030147A (en) 2014-03-28 2016-03-16 경희대학교 산학협력단 Method and apparatus for encoding of 2demensional video using depth image
US9769498B2 (en) 2014-03-28 2017-09-19 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information
US9769481B2 (en) 2014-03-28 2017-09-19 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information
US9955187B2 (en) 2014-03-28 2018-04-24 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information
US10021391B2 (en) 2014-03-28 2018-07-10 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information
US10051287B2 (en) 2014-03-28 2018-08-14 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information
US10674179B2 (en) 2014-03-28 2020-06-02 University-Industry Cooperation Group Of Kyung Hee University Method and apparatus for encoding of video using depth information

Also Published As

Publication number Publication date
KR102063285B1 (en) 2020-01-08

Similar Documents

Publication Publication Date Title
KR101962183B1 (en) Method for encoding/decoding an intra prediction mode and apparatus for the same
US20240098302A1 (en) Method for inducing prediction motion vector and apparatuses using same
KR101920353B1 (en) Method and apparatus for encoding and decoding video information
KR102063285B1 (en) Methods of spliting block and apparatuses for using the same
KR101922564B1 (en) Method and apparatus for determination of reference unit
US9906790B2 (en) Deblock filtering using pixel distance
EP3849182B1 (en) Restriction of prediction units in b slices to uni-directional inter prediction
KR20200027487A (en) Method for inter prediction and apparatus thereof
KR20130084287A (en) Video coding/decoding method using motion vector and apparatus thereof
KR101924088B1 (en) Apparatus and method for video encoding and decoding using adaptive prediction block filtering
KR102419589B1 (en) Method and apparatus for deciding boundary filtering strength of deblocking filtering

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant