KR20200139116A - Encoding And Decoding Methods For Video Information - Google Patents

Encoding And Decoding Methods For Video Information Download PDF

Info

Publication number
KR20200139116A
KR20200139116A KR1020200164755A KR20200164755A KR20200139116A KR 20200139116 A KR20200139116 A KR 20200139116A KR 1020200164755 A KR1020200164755 A KR 1020200164755A KR 20200164755 A KR20200164755 A KR 20200164755A KR 20200139116 A KR20200139116 A KR 20200139116A
Authority
KR
South Korea
Prior art keywords
prediction
block
sub
intra prediction
region
Prior art date
Application number
KR1020200164755A
Other languages
Korean (ko)
Other versions
KR102333153B1 (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
Priority claimed from KR1020120071616A external-priority patent/KR102187246B1/en
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Publication of KR20200139116A publication Critical patent/KR20200139116A/en
Priority to KR1020210164674A priority Critical patent/KR102438021B1/en
Application granted granted Critical
Publication of KR102333153B1 publication Critical patent/KR102333153B1/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/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
    • 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/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/15Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Abstract

The present invention relates to an image information encoding method and decoding method and to a device using the same. According to one aspect of the present invention, the decoding method of image information comprises the steps of: dividing a prediction region into a first prediction region and a second prediction region according to an intra prediction mode; performing intra prediction and restoration on the first prediction region; and performing prediction and restoration on the second prediction region. In the step of predicting and restoring the second prediction region, intra prediction on the second prediction region can be performed by referring to a reference sample for the first prediction region or a predetermined sample in the first prediction region.

Description

영상 정보 부호화 방법 및 복호화 방법{Encoding And Decoding Methods For Video Information}Video information encoding method and decoding method {Encoding And Decoding Methods For Video Information}

본 발명은 영상 정보 압축 기술에 관한 것으로서, 더 구체적으로는 인트라 예측 모드에 종속적인 영상 영역 분할 방법 및 장치에 관한 것이다.The present invention relates to video information compression technology, and more particularly, to a video region segmentation method and apparatus dependent on an intra prediction mode.

최근 HD(High Definition) 해상도를 가지는 방송 서비스가 국내뿐만 아니라 세계적으로 확대되면서, 많은 사용자들이 고해상도, 고화질의 영상에 익숙해지고 있으며 이에 따라 많은 기관들이 차세대 영상기기에 대한 개발에 박차를 가하고 있다. 또한 HDTV와 더불어 HDTV의 4배 이상의 해상도를 갖는 UHD(Ultra High Definition)에 대한 관심이 증대되면서 보다 높은 해상도, 고화질의 영상에 대한 압축기술이 요구되고 있다.Recently, as broadcasting services having high definition (HD) resolution are expanded not only domestically but also globally, many users are getting accustomed to high-definition and high-definition images, and accordingly, many organizations are spurring the development of next-generation imaging devices. In addition, as interest in UHD (Ultra High Definition) having a resolution of 4 or more times higher than that of HDTV in addition to HDTV is increasing, a compression technology for higher resolution and high quality images is required.

영상 압축 기술에는 시간적으로 이전 및/또는 이후의 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 인터(inter) 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 인트라(intra) 예측 기술, 조명 변화 등에 의한 화질의 열화를 방지하기 위한 가중치 예측 기술, 출현 빈도가 높은 심볼(symbol)에 짧은 부호를 할당하고 출현 빈도가 낮은 심볼에 긴 부호를 할당하는 엔트로피 부호화 기술 등이 있다. 특히, 생략 모드(skip mode)에서 현재 블록에 대한 예측이 수행되는 경우, 이전 부호화된 영역으로부터 예측된 값만을 이용하여 예측 블록이 생성되고 별도의 움직임 정보(motion information)나 레지듀얼(residual) 신호가 부호화기로부터 복호화기로 전송되지 않는다. 이러한 영상 압축 기술들에 의해 영상 데이터가 효율적으로 압축될 수 있다.Image compression technology includes inter prediction technology that temporally predicts pixel values included in the current picture from previous and/or subsequent pictures, and intra prediction technology that predicts pixel values included in the current picture using pixel information in the current picture. (intra) prediction technology, weight prediction technology to prevent deterioration of image quality due to changes in lighting, entropy coding technology that assigns short codes to symbols with high frequency of appearance and long codes to symbols with low frequency of appearance, etc. There is this. In particular, when prediction is performed on the current block in the skip mode, a prediction block is generated using only the predicted value from the previously encoded region, and separate motion information or residual signal Is not transmitted from the encoder to the decoder. Image data can be efficiently compressed by these image compression techniques.

한편, 영상 정보의 압축 기술 중 인트라 예측에는 다양한 인트라 예측 모드가 사용된다. 예측 모드에 따라서, 서로 다른 참조 샘플을 이용하여 현재 블록의 화소값이 예측될 수 있다. 따라서, 서로 다른 예측 모드, 즉 서로 다른 참조 샘플에 따라서 예측 방법을 적응적으로 변경하여 최적의 압축 효율을 얻는 방법을 고려할 수 있다.On the other hand, among video information compression techniques, various intra prediction modes are used for intra prediction. Depending on the prediction mode, a pixel value of the current block may be predicted using different reference samples. Therefore, it is possible to consider a method of obtaining optimal compression efficiency by adaptively changing a prediction method according to different prediction modes, that is, different reference samples.

본 발명에 따른 기술적 과제는 인트라 부호화의 효율을 높이고 영상 정보 처리 과정의 복잡도를 낮추는 방법을 제공하는 것이다. The technical problem according to the present invention is to provide a method of increasing the efficiency of intra encoding and reducing the complexity of an image information processing process.

본 발명에 따른 다른 기술적 과제는 인트라 예측 모드에 따라서 예측 영역(Prediction Unit: PU) 및 변환 영역(Transform Unit: TU)를 달리 분할하는 방법을 제공하는 것이다. Another technical problem according to the present invention is to provide a method of dividing a prediction unit (PU) and a transform unit (TU) differently according to an intra prediction mode.

본 발명에 따른 또 다른 기술적 과제는 예측 모드와 상관없이 예측 영역과 변환 영역이 분할됨으로써 발생하던 복잡도의 문제를 해결하는 방법을 제공하는 것이다. Another technical problem according to the present invention is to provide a method for solving the problem of complexity caused by dividing a prediction region and a transform region regardless of a prediction mode.

본 발명에 따른 또 다른 기술적 과제는 예측 모드에 따라서 분할된 각 예측 영역에 대한 예측 모드의 결정 방법을 제공하는 것이다. Another technical problem according to the present invention is to provide a method of determining a prediction mode for each prediction region divided according to the prediction mode.

본 발명에 따른 또 다른 기술적 과제는 인트라 예측의 성능 향상을 도모함과 동시에 최적의 예측 영역 분할 구조 및 최적의 변환 영역 분할 구조를 판단하는데 필요한 복잡도를 줄이기 위한 예측 영역 및 변환 영역 분할 방법을 제공하는 것이다.Another technical problem according to the present invention is to provide a prediction region and a transform region partitioning method for improving the performance of intra prediction and reducing the complexity required to determine an optimal prediction region partition structure and an optimal transform region partition structure. .

(1) 본 발명이 일 실시형태는 영상 정보의 복호화 방법으로서, 인트라 예측 모드에 따라서, 예측 영역을 제1 예측 영역과 제2 예측 영역으로 분할하는 단계, 상기 제1 예측 영역에 대한 인트라 예측 및 복원을 수행하는 단계 및 상기 제2 예측 영역에 대한 예측 및 복원을 수행하는 단계를 포함하며, 상기 제2 예측 영역에 대한 예측 및 복원 단계에서는, 상기 제1 예측 영역에 대한 참조 샘플 또는 상기 복원된 제1 예측 영역 내 소정의 샘플을 참조하여 상기 제2 예측 영역에 대한 인트라 예측을 수행할 수 있다. (1) According to an embodiment of the present invention, a method of decoding image information is provided, comprising: dividing a prediction region into a first prediction region and a second prediction region according to an intra prediction mode, intra prediction of the first prediction region, and And performing a restoration and prediction and restoration for the second prediction area, and in the prediction and restoration step for the second prediction area, a reference sample for the first prediction area or the restored Intra prediction on the second prediction area may be performed by referring to a predetermined sample in the first prediction area.

(2) (1)에서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신될 수 있으며, 상기 예측 영역 분할 단계에서는, 상기 인트라 예측 모드를 사용하는 경우에 기준치 이상의 레지듀얼 신호가 존재하는 영역을 상기 제2 예측 영역으로 설정할 수 있다.(2) In (1), information on the intra prediction mode may be received from an encoder, and in the prediction region division step, a region in which a residual signal equal to or greater than a reference value exists when the intra prediction mode is used is determined. It can be set as a second prediction area.

(3) (1)에서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신될 수 있으며, 상기 제2 예측 영역은 상기 인트라 예측 모드의 참조 샘플로부터 현재 블록 내에서 가장 먼 위치의 영역일 수 있다.(3) In (1), information on the intra prediction mode may be received from an encoder, and the second prediction region may be a region at a position farthest from the reference sample of the intra prediction mode in the current block.

(4) (1)에서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신될 수 있으며, 상기 제1 예측 영역 및 제2 예측 영역은 인트라 예측 모드별로 미리 설정될 수 있다.(4) In (1), information on the intra prediction mode may be received from an encoder, and the first prediction region and the second prediction region may be preset for each intra prediction mode.

(5) (1)에서, 상기 제2 예측 영역에 대한 인트라 예측 및 복원 단계에서는, 상기 제2 예측 영역에 대응하는 변환 영역의 변환 계수를 기반으로 레지듀얼 신호를 생성하고, 상기 제2 예측 영역에 대한 예측 결과를 상기 생성된 레지듀얼 신호와 결합하여 복원 신호를 생성할 수 있다.(5) In (1), in the intra prediction and reconstruction step of the second prediction area, a residual signal is generated based on a transform coefficient of a transform area corresponding to the second prediction area, and the second prediction area A reconstructed signal may be generated by combining the prediction result of is with the generated residual signal.

(6) (1)에서, 상기 제2 예측 영역은 복수의 예측 영역으로 더 분할될 수 있으며, 상기 제2 예측 영역으로부터 분할된 예측 영역에 대해서는 상기 제1 예측 영역에 대한 참조 샘플 또는 복원된 다른 예측 영역 내 소정의 샘플을 참조하여 인트라 예측을 수행할 수 있다. (6) In (1), the second prediction region may be further divided into a plurality of prediction regions, and for a prediction region divided from the second prediction region, a reference sample for the first prediction region or another reconstructed Intra prediction may be performed by referring to a predetermined sample in the prediction region.

(7) (1)에서, 상기 제2 예측 영역에 적용되는 예측 모드는 상기 제1 예측 영역에 적용되는 예측 모드 및 상기 제1 예측 영역에 적용되는 예측 모드와 유사한 각도의 예측 모드 중에서 선택될 수 있다.(7) In (1), the prediction mode applied to the second prediction area may be selected from a prediction mode applied to the first prediction area and a prediction mode having an angle similar to that of the prediction mode applied to the first prediction area. have.

(8) (7)에서, 상기 제2 예측 영역에 대한 인트라 예측은 상기 복원된 제1 영역 내 샘플을 참조하여 수행될 수 있다.(8) In (7), the intra prediction for the second prediction region may be performed by referring to the reconstructed sample in the first region.

(9) (1)에서, 상기 제2 예측 영역에 적용되는 예측 모드는 상기 제1 예측 영역에 대한 후보 예측 모드 중에서 선택될 수 있다.(9) In (1), the prediction mode applied to the second prediction area may be selected from candidate prediction modes for the first prediction area.

(10) (1)에서, 상기 제2 예측 영역에 적용되는 예측 모드는 상기 제2 예측 영역에 인접한 블록에 적용된 예측 모드 및 상기 제2 예측 영역에 인접한 블록에 적용된 예측 모드와 유사한 각도의 예측 모드 중에서 선택될 수 있다.(10) In (1), the prediction mode applied to the second prediction area is a prediction mode applied to a block adjacent to the second prediction area and a prediction mode having a similar angle to a prediction mode applied to a block adjacent to the second prediction area Can be selected from.

(11) 본 발명의 다른 실시형태는 영상 정보의 부호화 방법으로서, 인트라 예측 모드에 따라서, 예측 영역을 제1 예측 영역과 제2 예측 영역으로 분할하는 단계, 상기 제1 예측 영역에 대한 인트라 예측 및 복원을 수행하는 단계, 상기 제2 예측 영역에 대한 예측 및 복원을 수행하는 단계 및 현재 블록의 예측 모드에 관한 정보를 전송하는 단계를 포함하며, 상기 제2 예측 영역에 대한 예측 및 복원 단계에서는, 상기 제1 예측 영역에 대한 참조 샘플 또는 상기 복원된 제1 예측 영역 내 소정의 샘플을 참조하여 상기 제2 예측 영역에 대한 인트라 예측을 수행할 수 있다. (11) Another embodiment of the present invention is a method of encoding video information, comprising dividing a prediction region into a first prediction region and a second prediction region according to an intra prediction mode, intra prediction of the first prediction region, and Performing restoration, performing prediction and restoration on the second prediction region, and transmitting information on a prediction mode of a current block, and in the prediction and restoration step on the second prediction region, Intra prediction on the second prediction area may be performed by referring to a reference sample for the first prediction area or a predetermined sample in the reconstructed first prediction area.

(12) (11)에서, 상기 예측 영역 분할 단계에서는, 상기 인트라 예측 모드를 사용하는 경우에 기준치 이상의 레지듀얼 신호가 존재하는 영역을 상기 제2 예측 영역으로 설정할 수 있다.(12) In (11), in the step of dividing the prediction region, a region in which a residual signal equal to or greater than a reference value exists when the intra prediction mode is used may be set as the second prediction region.

(13) (11)에서, 상기 제2 예측 영역은 상기 인트라 예측 모드의 참조 샘플로부터 현재 블록 내에서 가장 먼 위치의 영역일 수 있다.(13) In (11), the second prediction region may be a region at a position farthest from the reference sample of the intra prediction mode in the current block.

(14) (11)에서, 상기 제2 예측 영역에 대한 인트라 예측 및 복원 단계에서는, 상기 제2 예측 영역에 대응하는 변환 영역의 변환 계수를 기반으로 레지듀얼 신호를 생성하고, 상기 제2 예측 영역에 대한 예측 결과를 상기 생성된 레지듀얼 신호와 결합하여 복원 신호를 생성할 수 있다. (14) In (11), in the intra prediction and restoration step of the second prediction area, a residual signal is generated based on a transform coefficient of a transform area corresponding to the second prediction area, and the second prediction area A reconstructed signal may be generated by combining the prediction result of is with the generated residual signal.

(15) (14)에서, 상기 변환 영역은 상기 제1 예측 영역 및 제2 예측 영역과 동일한 크기의 영역이거나 상기 제1 예측 영역 또는 제2 예측 영역이 정방형 또는 비정방형으로 분할된 영역일 수 있다.(15) In (14), the transform region may be an area having the same size as the first prediction area and the second prediction area, or an area in which the first prediction area or the second prediction area is divided into a square or amorphous shape. .

(16) (11)에서, 상기 제1 예측 영역 및 제2 예측 영역의 분할 단계에서는, 상기 제2 예측 영역을 복수의 예측 영역으로 더 분할하며, 상기 제2 예측 영역으로부터 분할된 예측 영역에 대해서는 상기 제1 예측 영역에 대한 참조 샘플 또는 복원된 다른 예측 영역 내 소정의 샘플을 참조하여 인트라 예측을 수행할 수 있다.(16) In (11), in the step of dividing the first prediction region and the second prediction region, the second prediction region is further divided into a plurality of prediction regions, and the prediction region divided from the second prediction region is Intra prediction may be performed by referring to a reference sample for the first prediction area or a predetermined sample in another reconstructed prediction area.

(17) (11)에서, 상기 제2 예측 영역에 적용되는 예측 모드를 상기 제1 예측 영역에 적용되는 예측 모드 및 상기 제1 예측 영역에 적용되는 예측 모드와 유사한 각도의 예측 모드 중에서 선택할 수 있다. (17) In (11), a prediction mode applied to the second prediction area may be selected from a prediction mode applied to the first prediction area and a prediction mode having an angle similar to the prediction mode applied to the first prediction area. .

(18) (11)에서, 상기 제2 예측 영역에 적용되는 예측 모드를 상기 제2 예측 영역에 인접하는 블록의 예측 모드 및 상기 제2 예측 영역에 인접하는 블록의 예측 모드와 유사한 각도의 예측 모드 중에서 선택할 수 있다.(18) In (11), the prediction mode applied to the second prediction area is a prediction mode of a block adjacent to the second prediction area and a prediction mode having an angle similar to that of a block adjacent to the second prediction area. You can choose from.

본 발명에 의하면, 인트라 부호화의 효율을 높이고 영상 정보 처리 과정의 복잡도를 낮출 수 있다.According to the present invention, it is possible to increase the efficiency of intra coding and reduce the complexity of a process of processing image information.

본 발명에 의하면, 예측 모드와 상관없이 예측 영역과 변환 영역이 분할됨으로써 발생하던 복잡도의 문제를 해결할 수 있다. According to the present invention, it is possible to solve the problem of complexity caused by partitioning the prediction region and the transform region regardless of the prediction mode.

본 발명에 의하면, 인트라 예측 모드에 따라서 예측 영역 및 변환 영역을 달리 분할함으로써, 최적의 예측 영역 분할 구조 및 최적의 변환 영역 분할 구조를 기반으로 예측 및 변환을 수행할 수 있다. According to the present invention, by dividing the prediction region and the transform region differently according to the intra prediction mode, prediction and transformation can be performed based on the optimal prediction region partition structure and the optimal transformation region partition structure.

본 발명에 의하면, 인트라 예측 모드에 따라서 분할된 예측 영역 및 변환 영역에 최적의 예측 모드를 적용함으로써 인트라 예측의 성능을 향상시킬 수 있다.According to the present invention, performance of intra prediction can be improved by applying an optimal prediction mode to a prediction region and a transform region divided according to the intra prediction mode.

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다.
도 3은 인트라 예측의 각 모드를 설명하는 도면이다.
도 4는 인트라 예측 모드에서 현재 블록이 참조할 수 있는 샘플을 개략적으로 도시한 것이다.
도 5는 방향성 예측에 따른 레지듀얼 신호의 분포를 개략적으로 설명하는 도면이다.
도 6은 본 발명이 적용되는 시스템에서 인트라 예측 모드에 따라 미리 정해진 제1 예측 영역과 제2 예측 영역의 예를 개략적으로 도시한 것이다.
도 7은 본 발명이 적용되는 시스템에서 인트라 예측의 일 예를 개략적으로 설명하는 순서도이다.
도 8은 본 발명이 적용되는 시스템에서 상술한 인트라 예측의 방법을 수행하는 부호화기의 동작을 개략적으로 설명하는 순서도이다.
도 9는 본 발명이 적용되는 시스템에서 상술한 인트라 예측의 방법을 수행하는 복호화기의 동작을 개략적으로 설명하는 순서도이다.
도 10은 부호화 영역(CU), 예측 영역(PU), 변환 영역(TU)의 분할 구조에 관한 일 예를 개략적으로 설명한 것이다.
도 11은 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 예측 모드에 따라서 두 개의 예측 영역으로 분할하는 일 예를 개략적으로 도시한 것이다.
도 12는 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 예측 모드에 따라서 두 개의 예측 영역으로 분할하는 다른 예를 개략적으로 도시한 것이다.
도 13은 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 인트라 예측 모드에 따라서 3개의 예측 영역으로 분할하는 예들을 개략적으로 도시한 것이다.
도 14는 본 발명이 적용되는 시스템에서, 비정방형 변환 영역의 변환에 관한 예들을 개략적으로 나타낸 것이다.
도 15는 본 발명이 적용되는 시스템에서, 현재 블록 내 선순위 예측 영역과 후순위 예측 영역 사이의 상관성에 기반해서, 선순위 예측 영역의 복원된 샘플을 이용하여 후순위 예측 영역에 대한 예측을 수행하는 예들을 개략적으로 도시한 것이다.
도 16은 본 발명이 적용되는 시스템에서 현재 예측 영역의 예측 모드를 결정하는 예들을 개략적으로 도시한 것이다.
1 is a block diagram illustrating a configuration of an image encoding apparatus according to an embodiment.
2 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment.
3 is a diagram for explaining each mode of intra prediction.
4 schematically shows samples that can be referenced by a current block in an intra prediction mode.
5 is a diagram schematically illustrating a distribution of a residual signal according to directional prediction.
6 schematically shows examples of a first prediction area and a second prediction area that are predetermined according to an intra prediction mode in a system to which the present invention is applied.
7 is a flowchart schematically illustrating an example of intra prediction in a system to which the present invention is applied.
8 is a flowchart schematically illustrating an operation of an encoder that performs the above-described intra prediction method in a system to which the present invention is applied.
9 is a flowchart schematically illustrating an operation of a decoder performing the above-described intra prediction method in a system to which the present invention is applied.
10 schematically illustrates an example of a split structure of a coding region CU, a prediction region PU, and a transform region TU.
11 schematically shows an example of dividing a current block (a block to be encoded) into two prediction regions according to prediction modes in a system to which the present invention is applied.
12 schematically shows another example of dividing a current block (a block to be encoded) into two prediction regions according to prediction modes in a system to which the present invention is applied.
13 schematically illustrates examples of dividing a current block (a block to be encoded) into three prediction regions according to an intra prediction mode in a system to which the present invention is applied.
14 schematically shows examples of transformation of an amorphous transformation region in a system to which the present invention is applied.
FIG. 15 is a schematic diagram illustrating examples of performing prediction on a lower order prediction region using a reconstructed sample of the priority prediction region based on a correlation between a priority prediction region and a lower priority prediction region within a current block in a system to which the present invention is applied It is shown as.
16 schematically illustrates examples of determining a prediction mode of a current prediction region in a system to which the present invention is applied.

이하, 도면을 참조하여 본 발명의 실시 형태에 대하여 구체적으로 설명한다. 본 명세서의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 명세서의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In describing the embodiments of the present specification, if it is determined that a detailed description of a related known configuration or function may obscure the subject matter of the present specification, a detailed description thereof will be omitted.

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

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

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

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

도 1은 영상 부호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 1 is a block diagram showing a configuration of an image encoding apparatus according to an embodiment.

도 1을 참조하면, 상기 영상 부호화 장치(100)는 움직임 예측부(110), 움직임 보상부(115), 인트라 예측부(120), 감산기(125), 변환부(130), 양자화부(135), 엔트로피 부호화부(140), 역양자화부(145), 역변환부(150), 가산기(155), 필터부(160) 및 참조영상 버퍼(165)를 포함한다.Referring to FIG. 1, the image encoding apparatus 100 includes a motion prediction unit 110, a motion compensation unit 115, an intra prediction unit 120, a subtractor 125, a transform unit 130, and a quantization unit 135. ), an entropy encoding unit 140, an inverse quantization unit 145, an inverse transform unit 150, an adder 155, a filter unit 160, and a reference image buffer 165.

영상 부호화 장치(100)는 입력 영상에 대해 인트라(intra) 모드 또는 인터(inter) 모드로 부호화를 수행하고 비트 스트림(bit stream)을 출력할 수 있다. 인트라 모드인 경우에는 인트라 예측부(120)에서 예측이 수행되고, 인터 모드의 경우에는 움직임 예측부(110), 움직임 보상부(115) 등을 통해서 예측이 수행될 수 있다. 영상 부호화 장치(100)는 입력 영상의 입력 블록에 대한 예측 블록을 생성한 후, 입력 블록과 예측 블록의 차분을 부호화할 수 있다.The image encoding apparatus 100 may encode an input image in an intra mode or an inter mode and output a bit stream. In the case of the intra mode, prediction may be performed by the intra prediction unit 120, and in the case of the inter mode, the prediction may be performed through the motion prediction unit 110, the motion compensation unit 115, or the like. The image encoding apparatus 100 may generate a prediction block for an input block of an input image and then encode a difference between the input block and the prediction block.

인트라 모드인 경우, 인트라 예측부(120)는 현재 블록 주변의 이미 부호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다.In the case of an intra mode, the intra prediction unit 120 may generate a prediction block by performing spatial prediction using pixel values of an already coded block around the current block.

인터 모드인 경우, 움직임 예측부(110)는, 움직임 예측 과정에서 참조 영상 버퍼(165)에 저장되어 있는 참조 영상에서 입력 블록과 가장 매치가 잘 되는 영역을 찾아 움직임 벡터를 구할 수 있다. 움직임 보상부(115)는 움직임 벡터와 참조 영상 버퍼(165)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the case of the inter mode, the motion prediction unit 110 may obtain a motion vector by finding a region that best matches the input block in the reference image stored in the reference image buffer 165 in the motion prediction process. The motion compensation unit 115 may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 165.

감산기(125)는 입력 블록과 생성된 예측 블록의 차분에 의해 레지듀얼 블록(residual block)을 생성할 수 있다. 변환부(130)는 레지듀얼 블록에 대해 변환(transform)을 수행하여 변환 계수(transform coefficient)를 출력할 수 있다. 레지듀얼 신호는 원신호와 예측 신호의 차이를 의미할 수 있고, 또한 원신호와 예측 신호의 차이가 변환(transform)된 형태의 신호 또는 원신호와 예측 신호의 차이가 변환되고 양자화된 형태의 신호를 의미할 수도 있다. 레지듀얼 신호를 블록 단위에서는 레지듀얼 블록이라 할 수 있다.The subtractor 125 may generate a residual block based on a difference between the input block and the generated prediction block. The transform unit 130 may transform the residual block and output a transform coefficient. The residual signal may mean the difference between the original signal and the predicted signal, and a signal in which the difference between the original signal and the predicted signal is transformed, or the difference between the original signal and the predicted signal is transformed and quantized. It can also mean. In block units, the residual signal may be referred to as a residual block.

양자화부(135)는 변환 계수를 양자화 파라미터에 따라 양자화한 양자화 계수(quantized coefficient)를 출력할 수 있다. The quantization unit 135 may output a quantized coefficient obtained by quantizing a transform coefficient according to a quantization parameter.

엔트로피 부호화부(140)는, 양자화부(135)에서 산출된 값들 또는 부호화 과정에서 산출된 부호화 파라미터 값 등에 대응하는 심볼(symbol)을 확률 분포에 따라 엔트로피 부호화하여 비트 스트림(bit stream)을 출력할 수 있다. The entropy encoding unit 140 entropy-encodes a symbol corresponding to values calculated by the quantization unit 135 or an encoding parameter value calculated in the encoding process according to a probability distribution, and outputs a bit stream. I can.

엔트로피 부호화가 적용되는 경우, 높은 발생 확률을 갖는 심볼에 적은 수의 비트가 할당되고 낮은 발생 확률을 갖는 심볼에 많은 수의 비트가 할당되도록 함으로써 영상 부호화의 압축 성능을 높일 수 있다. When entropy encoding is applied, a small number of bits is allocated to a symbol having a high probability of occurrence and a large number of bits is allocated to a symbol having a low probability of occurrence, thereby improving compression performance of image encoding.

엔트로피 부호화를 위해 CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding) 등과 같은 부호화 방법이 사용될 수 있다. 예를 들어, 엔트로피 부호화부(140)에는 가변 길이 부호화(VLC: Variable Lenghth Coding/Code) 테이블을 사용하여 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화부(140)는 대상 심볼의 이진화(binarization) 방법 및 대상 심볼/빈(bin)의 확률 모델(probability model)을 도출한 후, 도출된 이진화 방법 또는 확률 모델을 사용하여 엔트로피 부호화를 수행할 수도 있다.For entropy encoding, encoding methods such as Context-Adaptive Variable Length Coding (CAVLC) and Context-Adaptive Binary Arithmetic Coding (CABAC) may be used. For example, the entropy encoding unit 140 may perform entropy encoding using a variable length encoding (VLC) table. The entropy encoder 140 derives a binarization method of a target symbol and a probability model of a target symbol/bin, and then performs entropy encoding using the derived binarization method or a probability model. May be.

양자화된 계수는 역양자화부(145)에서 역양자화되고 역변환부(150)에서 역변환될 수 있다. 역양자화되고, 역변환된 계수는 복원된 레지듀얼 블록(reconstructed residual block)으로 생성 되며, 가산기(155)는 예측 블록과 복원된 레지듀얼 블록을 이용하여 복원 블록을 생성할 수 있다. The quantized coefficients may be inverse quantized in the inverse quantization unit 145 and inverse transformed in the inverse transform unit 150. The inverse quantized and inverse transformed coefficients are generated as a reconstructed residual block, and the adder 155 may generate a reconstructed block using the prediction block and the reconstructed residual block.

필터부(160)는 디블록킹 필터(deblocking filter), SAO(Sample Adaptive Offset), ALF(Adaptive Loop Filter) 중 적어도 하나 이상을 복원 블록 또는 복원 픽쳐에 적용할 수 있다. 필터부(160)를 거친 복원 블록은 참조 영상 버퍼(165)에 저장될 수 있다.The filter unit 160 may apply at least one of a deblocking filter, a sample adaptive offset (SAO), and an adaptive loop filter (ALF) to a reconstructed block or a reconstructed picture. The reconstructed block that has passed through the filter unit 160 may be stored in the reference image buffer 165.

도 2는 영상 복호화 장치의 일 실시예에 따른 구성을 나타내는 블록도이다. 2 is a block diagram showing a configuration of an image decoding apparatus according to an embodiment.

도 2를 참조하면, 상기 영상 복호화 장치(200)는 엔트로피 복호화부(210), 역양자화부(220), 역변환부(230), 인트라 예측부(240), 움직임 보상부(250), 필터부(260), 참조 영상 버퍼(270) 및 가산기(280)를 포함한다.Referring to FIG. 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, and a filter unit. 260, a reference image buffer 270, and an adder 280.

영상 복호화 장치(200)는 부호화기에서 출력된 비트 스트림을 입력 받아 인트라 모드 또는 인터 모드로 복호화를 수행하고 재구성된 영상, 즉 복원 영상을 출력할 수 있다. 인트라 모드인 경우에는 인트라 예측부(240)에서 예측이 수행되고, 인터 모드인 경우에는 움직임 보상부(250)를 통해서 예측이 수행될 수 있다. 영상 복호화 장치(200)는 입력 받은 비트스트림으로부터 복원된 레지듀얼 블록(residual block)을 얻고 예측 블록을 생성한 후 복원된 레지듀얼 블록과 예측 블록을 더하여 재구성된 블록, 즉 복원 블록을 생성할 수 있다.The image decoding apparatus 200 may receive a bit stream output from an encoder, perform decoding in an intra mode or an inter mode, and output a reconstructed image, that is, a reconstructed image. In the case of the intra mode, prediction may be performed by the intra prediction unit 240, and in the case of the inter mode, the prediction may be performed through the motion compensation unit 250. The image decoding apparatus 200 may generate a reconstructed block, that is, a reconstructed block, by obtaining a reconstructed residual block from an input bitstream, generating a prediction block, and adding the reconstructed residual block and the prediction block. have.

엔트로피 복호화부(210)는, 입력된 비트 스트림을 확률 분포에 따라 엔트로피 복호화하여 양자화된 계수(quantized coefficient) 형태의 심볼들을 생성할 수 있다. 엔트로피 복호화 방법은 상술한 엔트로피 부호화 방법에 대응하여 수행될 수 있다. The entropy decoding unit 210 may entropy-decode the input bit stream according to a probability distribution to generate symbols in the form of quantized coefficients. The entropy decoding method may be performed corresponding to the entropy encoding method described above.

양자화된 계수는 역양자화부(220)에서 역양자화되고 역변환부(230)에서 역변환되며, 양자화된 계수가 역양자화/역변환 된 결과 복원된 레지듀얼 블록(residual block)이 생성될 수 있다. The quantized coefficients are inverse quantized by the inverse quantization unit 220 and inversely transformed by the inverse transform unit 230, and a residual block reconstructed as a result of inverse quantization/inverse transformation of the quantized coefficients may be generated.

인트라 모드인 경우, 인트라 예측부(240)는 현재 블록 주변의 이미 복호화된 블록의 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성할 수 있다. 인터 모드인 경우, 움직임 보상부(250)는 움직임 벡터 및 참조 영상 버퍼(270)에 저장되어 있는 참조 영상을 이용하여 움직임 보상을 수행함으로써 예측 블록을 생성할 수 있다. In the case of the intra mode, the intra prediction unit 240 may generate a prediction block by performing spatial prediction using pixel values of an already decoded block around the current block. In the case of the inter mode, the motion compensation unit 250 may generate a prediction block by performing motion compensation using a motion vector and a reference image stored in the reference image buffer 270.

가산기(280)는 복원된 레지듀얼 블록과 예측 블록을 기반으로 복원 블록을 생성할수 있다. 필터부(260)는 디블록킹 필터, SAO, ALF 중 적어도 하나 이상을 복원 블록에 적용할 수 있다. 필터부(260)는 재구성된 영상, 즉 복원 영상을 출력한다. 복원 영상은 참조 영상 버퍼(270)에 저장되어 화면 간 예측에 사용될 수 있다.The adder 280 may generate a reconstructed block based on the reconstructed residual block and the prediction block. The filter unit 260 may apply at least one of a deblocking filter, SAO, and ALF to the reconstructed block. The filter unit 260 outputs a reconstructed image, that is, a reconstructed image. The reconstructed image may be stored in the reference image buffer 270 and used for inter prediction.

상술한 인트라 예측 모드에서는 하나 이상의 복원된 참조 샘플을 이용하여 방향성 예측 또는 비방향성 예측을 수행한다. In the aforementioned intra prediction mode, directional prediction or non-directional prediction is performed using one or more reconstructed reference samples.

도 3은 인트라 예측의 각 모드를 설명하는 도면이다. 도 3을 참조하면, DC 모드(Intra_DC), 플래너 모드(Intra_Planar), 루마 모드를 크로마에 적용하는 모드(Intra_FromLuma)를 제외하고, 0, 1, 3~33의 모드가 방향에 따라서 정의되어 있는 것을 확인할 수 있다. 3 is a diagram for explaining each mode of intra prediction. Referring to FIG. 3, except for a DC mode (Intra_DC), a planar mode (Intra_Planar), and a mode applying a luma mode to chroma (Intra_FromLuma), the modes 0, 1, 3 to 33 are defined according to directions. I can confirm.

도 3에 도시된 각 예측 모드 중에서 현재 블록의 예측에 사용될 수 있는 모드의 개수는 현재 블록의 크기에 따라 정해질 수 있다. The number of modes that can be used for prediction of the current block among the prediction modes shown in FIG. 3 may be determined according to the size of the current block.

표 1은 현재 블록의 크기에 따라 사용 가능한 예측 모드의 개수에 관한 일 예를 나타낸 것이다.Table 1 shows an example of the number of prediction modes usable according to the size of the current block.

<표 1><Table 1>

Figure pat00001
Figure pat00001

이때, 예측 대상 블록, 즉 현재 블록의 크기는 표 1에 예시된 2x2, 4x4,8x8, 16x16, 32x32, 64x64 등의 정사각형뿐만 아니라, 2x8, 4x8, 2x16, 4x16, 8x16 등의 직사각형 블록이 될 수도 있다. At this time, the size of the prediction target block, that is, the current block, may be a rectangular block such as 2x8, 4x8, 2x16, 4x16, 8x16, as well as squares such as 2x2, 4x4, 8x8, 16x16, 32x32, and 64x64 illustrated in Table 1. have.

예측 대상 블록의 크기는 부호화 영역(Coding Unit: CU), 예측 영역(Prediction Unit: PU), 변환 영역(Transform Unit: TU) 중 적어도 하나의 크기가 될 수 있다.The size of the prediction target block may be the size of at least one of a coding region (CU), a prediction region (PU), and a transform region (TU).

인트라 예측에서는 도 3에 도시된 바와 같은 각 모드에 따라서, 참조 샘플의 정보를 이용할 수 있다. In intra prediction, information of a reference sample may be used according to each mode as shown in FIG. 3.

도 4는 인트라 예측 모드에서 현재 블록이 참조할 수 있는 샘플을 개략적으로 도시한 것이다. 도 4를 참조하면, 현재 블록(C, 410)에 인트라 예측이 적용되는 경우에, 현재 블록(410) 주변의 복원된 참조 샘플, 즉, 상좌측(above_left) 참조 샘플(420), 상측(above) 참조 샘플(430), 상우측(above_right) 참조 샘플(440), 좌측(left) 참조 샘플(450), 하좌측(below_left) 참조 샘플(460) 중에서 예측 모드에 따라 선택된 참조 샘플이 현재 블록(410)의 예측에 이용될 수 있다.4 schematically shows samples that can be referenced by a current block in an intra prediction mode. Referring to FIG. 4, when intra prediction is applied to the current blocks C and 410, reconstructed reference samples around the current block 410, that is, an upper left reference sample 420, and an upper ) The reference sample selected according to the prediction mode among the reference sample 430, the upper-right reference sample 440, the left reference sample 450, and the lower-left reference sample 460 is the current block ( 410) can be used for prediction.

예컨대, 현재 블록(410)의 예측 모드가 도 3에서 모드 0(mode=0)의 수직 방향 모드인 경우에, 현재 블록(410)의 상측(above) 참조 샘플(430)을 이용할 수 있다. 현재 블록(410)의 예측 모드가 모드 1(mode=1)의 수평 방향 모드인 경우에는, 현재 블록(410)의 좌측(left) 참조 샘플(450)을 사용할 수 있다. For example, when the prediction mode of the current block 410 is a vertical mode of mode 0 (mode=0) in FIG. 3, an upper reference sample 430 of the current block 410 may be used. When the prediction mode of the current block 410 is a horizontal direction mode of mode 1 (mode=1), a left reference sample 450 of the current block 410 may be used.

또한, 현재 블록(410)의 예측 모드가 모드 13(mode=13)인 경우에는 상측(above) 참조 샘플(430) 또는 상우측(above_right) 참조 샘플(440)을 이용할 수 있다. 마찬가지로, 현재 블록(410)의 예측 모드가 모드 7(mode=7)인 경우에는, 좌측(left) 참조 샘플(450) 또는 하좌측(below_left) 참조 샘플(460)을 이용할 수 있다.In addition, when the prediction mode of the current block 410 is mode 13 (mode=13), an upper (above) reference sample 430 or an upper right (above_right) reference sample 440 may be used. Similarly, when the prediction mode of the current block 410 is mode 7 (mode=7), a left reference sample 450 or a lower left reference sample 460 may be used.

상술한 바와 같이, 인트라 예측에 사용되는 방향성 예측(인트라 예측 모드, 0, 1, 3~33)에 있어서는 예측 방향에 따라, 즉 예측 모드에 따라 예측 기반 픽셀 값(참조 샘플 값)을 직접 예측 값으로 사용하거나 예측 기반 픽셀 값의 평균값을 예측 값으로 사용한다. 또한, 예측 영역의 분할과는 별개로 변환 영역을 분할해 본 후 변환 영역의 분할 구조를 시그널링 하는 RQT(Residual Quadtree) 방식을 이용할 수 있다. 하지만, 이 경우에는 인트라 예측 모드에 따라 레지듀얼 신호의 분포가 달라지는 특성을 이용하지 못한다. 따라서, 부호화 효율의 향상이 제한적이며, 최적 변환 영역 분할 구조를 판단하기 위해서는 부호화기의 복잡도가 증가하게 된다.As described above, in the directional prediction (intra prediction mode, 0, 1, 3 to 33) used for intra prediction, the prediction-based pixel value (reference sample value) is directly predicted according to the prediction direction, that is, according to the prediction mode. Or the average value of the prediction-based pixel values as the prediction value. In addition, it is possible to use a residential quadtree (RQT) method that signals a split structure of the transform region after splitting the transform region separately from the partitioning of the prediction region. However, in this case, the characteristic that the distribution of the residual signal is different according to the intra prediction mode cannot be used. Accordingly, the improvement in encoding efficiency is limited, and the complexity of the encoder increases in order to determine the optimal transform region division structure.

구체적으로, 영상 정보의 부호화/복호화에 사용되는 방향성 예측은 참조 샘플로부터의 거리가 멀어질수록 예측의 정확도가 떨어지게 된다.Specifically, in directional prediction used for encoding/decoding of image information, as the distance from the reference sample increases, the accuracy of prediction decreases.

도 5는 방향성 예측에 따른 레지듀얼 신호의 분포를 개략적으로 설명하는 도면이다. 5 is a diagram schematically illustrating a distribution of a residual signal according to directional prediction.

도 5(A)는 좌상측으로부터 우하측 방향으로의 대각 예측이 수행되는 경우의 레지듀얼 신호 분포를 개략적으로 도시한 것이다. 도 5(A)의 예에서는, 예측 대상 블록인 현재 블록(500)에 인트라 예측 모드가 적용되며, 참조 샘플(510, 520)을 이용하여 우하측 방향의 예측(530)이 수행되고 있다. 도시된 바와 같이, 레지듀얼 신호(540)는 참조 샘플로부터 먼 우하측 방향에 많이 분포한다. FIG. 5(A) schematically shows a residual signal distribution when diagonal prediction is performed from an upper left to a lower right. In the example of FIG. 5A, an intra prediction mode is applied to a current block 500 that is a prediction target block, and prediction 530 in the lower right direction is performed using reference samples 510 and 520. As shown, the residual signal 540 is largely distributed in the lower right direction far from the reference sample.

도 5(B)는 수직 방향으로 예측이 수행되는 경우의 레지듀얼 신호 분호를 개략적으로 도시한 것이다. 도 5(B)의 예에서는, 예측 대상 블록인 현재 블록(550)에 인트라 예측 모드가 적용되며, 참조 샘플(560, 570) 중 상측의 참조 샘플(560)을 이용하여 수직 방향의 예측(580)이 수행되고 있다. 도시된 바와 같이, 레지듀얼 신호(540)는 상측의 참조 샘플(560)로부터 먼 곳에 분포한다. FIG. 5(B) schematically shows a residual signal division when prediction is performed in a vertical direction. In the example of FIG. 5(B), the intra prediction mode is applied to the current block 550, which is a block to be predicted, and prediction 580 in the vertical direction using the upper reference sample 560 among the reference samples 560 and 570. ) Is being executed. As shown, the residual signal 540 is distributed far from the reference sample 560 on the upper side.

도 5(A) 및 도 5(B)에 도시된 바와 같이, 일반적으로 레지듀얼 신호의 크기는 참조 샘플로부터 멀어질수록 커지게 된다. 또한, 레지듀얼 신호의 분포는 예측 모드에 따라 달리 분포하게 된다.As shown in FIGS. 5A and 5B, in general, the magnitude of the residual signal increases as the distance from the reference sample increases. In addition, the distribution of the residual signal is different depending on the prediction mode.

상술한 바와 같이, 방향성 예측에 있어서, 예측의 정확도는 참조 샘플로부터 멀어질수록 떨어지게 된다. 따라서, 참조 샘플로부터 멀어질수록 레지듀얼 신호의 크기가 커지고 레지듀얼 신호가 많이 분포한다는 것을 고려할 때, 인트라 예측의 방향에 따라, 레지듀얼 신호가 많이 분포할 것으로 추정되는 영역에 대해서는 더 가까이에 있는 복원 샘플을 참조 샘플로 사용하도록 함으로써, 예측 효율을 더 높일 수 있다. As described above, in directional prediction, the accuracy of prediction decreases as the distance from the reference sample increases. Therefore, considering that the size of the residual signal increases as the distance from the reference sample increases and the residual signal is distributed more, depending on the direction of intra prediction, the area where the residual signal is estimated to be distributed more is closer to each other. By using the reconstructed sample as a reference sample, prediction efficiency can be further improved.

이때, 레지듀얼 신호가 많이 분포하는 영역을 인트라 예측 모드에 따라서 결정할 수 있다. 인트라 예측 모드에 따라 레지듀얼 신호의 분호 영역을 결정함으로써, 영역 분할의 정보를 별도로 부호화하는데 필요한 시그널링의 오버헤드를 줄일 수 있을 뿐만 아니라, 영역 분할의 구조를 판단하는데 필요한 복잡도를 최소화할 수 있다.In this case, a region in which a large number of residual signals are distributed may be determined according to the intra prediction mode. By determining the division region of the residual signal according to the intra prediction mode, it is possible to reduce the signaling overhead required to separately encode the region division information and minimize the complexity required to determine the structure of the region division.

본 명세서에서는 레지듀얼 신호가 많이 분포할 것으로 추정되는 영역을, 설명의 편의를 위해 ‘제2 예측 영역’이라 하고, 현재 블록에서 제2 예측 영역이 아닌 영역, 즉 레지듀얼 신호가 많이 분포하지 않는 것으로 추정되는 영역을 ‘제1 예측 영역’이라 한다. In this specification, an area in which a large number of residual signals are estimated to be distributed is referred to as a'second prediction area' for convenience of description, and a region other than the second prediction area in the current block, that is, a region in which a residual signal is not distributed much The estimated area is referred to as a'first prediction area'.

이때, 현재 블록 내에서 소정의 기준치 이상의 크기를 가지는 레지듀얼 신호가 분포하는 영역을 제2 예측 영역으로 설정할 수 있다. 또한, 각 예측 모드에 따라서 미리 정해진 소정의 영역이 제2 예측 영역으로 설정될 수도 있다. 예컨대, 각 예측 모드에서 참조하는 샘플로부터 현재 블록 내에서 가장 먼 곳에 위치하는 영역이 제2 예측 블록으로 설정될 수 있다. In this case, a region in which a residual signal having a size greater than or equal to a predetermined reference value is distributed in the current block may be set as the second prediction region. Also, a predetermined area determined in advance according to each prediction mode may be set as the second prediction area. For example, a region located farthest from the sample referenced in each prediction mode in the current block may be set as the second prediction block.

또한, 이때, 제2 예측 영역은 후술하는 도면들에 도시되는 바와 같이, 변환 영역과 동일한 크기를 갖도록 할 수도 있다.In addition, at this time, the second prediction region may have the same size as the transform region, as shown in the drawings to be described later.

*도 6은 본 발명이 적용되는 시스템에서 인트라 예측 모드에 따라 미리 정해진 제1 예측 영역과 제2 예측 영역의 예를 개략적으로 도시한 것이다. 도 6(A)와 도 6(B)의 예에서, 변환 블록은 예측 대상 블록(현재 블록)의 4분의 1 크기가 되도록 설정되어 있다. * FIG. 6 schematically illustrates an example of a first prediction region and a second prediction region predetermined according to an intra prediction mode in a system to which the present invention is applied. In the examples of Figs. 6A and 6B, the transform block is set to be a quarter size of the prediction target block (current block).

도 6(A)를 참조하면, 현재 블록(600)의 제1 예측 영역(610)에 대해서, 현재 블록(600) 주변의 복원된 참조 샘플(605)을 이용하여 인트라 예측을 수행한다. 도 6(A)의 예에서는, 현재 블록(600)의 제1 예측 영역(610)에는 우하측 방향의 예측 모드(615)가 적용되고 있다. Referring to FIG. 6A, intra prediction is performed on the first prediction region 610 of the current block 600 by using the reconstructed reference samples 605 around the current block 600. In the example of FIG. 6A, the prediction mode 615 in the lower right direction is applied to the first prediction region 610 of the current block 600.

도 6(A)에서는 제1 예측 영역(610)에 대한 예측 및 변환/복원을 수행한 후, 제2 예측 영역(620)의 예측에 대해서는 복원된 제1 예측 영역의 샘플(625)을 이용함으로써 잔여 신호가 많이 발생할 것으로 추정된 제2 예측 영역(620)의 부호화 효율을 높일 수 있다. 제2 예측 영역(620)에 대한 예측 모드(630)는 제1 예측 영역(610)에 대한 복원이 수행된 후에 결정될 수 있다.In FIG. 6(A), after prediction and transformation/reconstruction of the first prediction area 610 is performed, for prediction of the second prediction area 620, the reconstructed sample 625 of the first prediction area is used. It is possible to increase the encoding efficiency of the second prediction region 620 in which a large number of residual signals are estimated to be generated. The prediction mode 630 for the second prediction area 620 may be determined after restoration of the first prediction area 610 is performed.

도 6(B)를 참조하면, 현재 블록(640)의 제1 예측 영역(650)에 대해서, 현재 블록(640) 주변의 복원된 참조 샘플(645)을 이용하여 인트라 예측을 수행한다. 도 6(B)의 예에서는, 현재 블록(640)의 제1 예측 영역(640)에는 수직 방향의 예측 모드(655)가 적용되고 있다. Referring to FIG. 6B, intra prediction is performed on the first prediction region 650 of the current block 640 by using the reconstructed reference samples 645 around the current block 640. In the example of FIG. 6B, a prediction mode 655 in the vertical direction is applied to the first prediction region 640 of the current block 640.

도 6(B)에서는 제1 예측 영역(650)에 대한 예측 및 변환/복원을 수행한 후, 제2 예측 영역(660)의 예측에 대해서는 복원된 제1 예측 영역의 샘플(665)을 이용함으로써 잔여 신호가 많이 발생할 것으로 추정된 제2 예측 영역(660)의 부호화 효율을 높일 수 있다. 제2 예측 영역(660)에 대한 예측 모드(670)는 제1 예측 영역(650)에 대한 복원이 수행된 후에 결정될 수 있다.In FIG. 6(B), after prediction and transformation/reconstruction of the first prediction area 650 is performed, for prediction of the second prediction area 660, the reconstructed sample 665 of the first prediction area is used. It is possible to increase the encoding efficiency of the second prediction region 660 that is estimated to generate a large number of residual signals. The prediction mode 670 for the second prediction area 660 may be determined after restoration of the first prediction area 650 is performed.

예측 영역을 제1 예측 영역과 제2 예측 영역 외에 추가로 분할하는 경우에는, 상술한 바와 같이, 제1 예측 영역에 대한 예측/변환/복원 후에 제2 예측 영역에 대한 예측을 복원된 제1 예측 영역의 샘플을 이용하여 수행하는 가정을 순차적으로 반복할 수 있다. 예컨대, 제2 예측 영역을 분할한 제3 예측 영역의 경우 또는 제1 예측 영역을 제2 예측 영역과 제3 예측 영역으로 분할한 경우에, 제3 예측 영역에 대한 예측은 복원된 제2 예측 영역의 샘플을 이용하여 수행할 수 있다. When the prediction region is further divided in addition to the first prediction region and the second prediction region, as described above, the first prediction in which the prediction for the second prediction region is restored after prediction/transformation/restore for the first prediction region. It is possible to sequentially repeat the assumptions made using the samples of the region. For example, in the case of a third prediction area obtained by dividing the second prediction area or when the first prediction area is divided into a second prediction area and a third prediction area, the prediction for the third prediction area is a reconstructed second prediction area. This can be done using samples of.

본 명세서에서 ‘예측 영역’이라 함은, 다양한 인트라 예측 모드에 따라 화소값 예측이 수행되는 영역을 지칭한다. 또한, 본 명세서에서 ‘변환 영역’이라 함은 예측 영역의 일부 혹은 전부로 구성되고, 자기 자신을 포함하는 예측 영역과 동일한 예측 모드를 가지면서 변환 부호화를 통해 샘플값 복원이 수행되는 영역을 지칭한다. In this specification, the term “prediction region” refers to a region in which pixel value prediction is performed according to various intra prediction modes. In addition, in the present specification, the term'transformation region' refers to a region in which sample value restoration is performed through transcoding while being composed of part or all of the prediction region, and having the same prediction mode as the prediction region including itself. .

도 7은 본 발명이 적용되는 시스템에서 인트라 예측의 일 예를 개략적으로 설명하는 순서도이다. 도 7의 인트라 예측 방법은 부호화기에서 수행될 수도 있고, 복호화기에서 수행될 수도 있다.7 is a flowchart schematically illustrating an example of intra prediction in a system to which the present invention is applied. The intra prediction method of FIG. 7 may be performed by an encoder or a decoder.

도 7을 참조하면, 현재 블록에 대하여 인트라 예측 모드에 따라서, 예측 영역을 두 개 이상으로 분할한다(S710). Referring to FIG. 7, according to an intra prediction mode for a current block, a prediction region is divided into two or more (S710).

이어서, 인트라 예측 모드에 따라서, 변환 영역을 두 개 이상으로 분할한다(S720). Next, the transform region is divided into two or more according to the intra prediction mode (S720).

인트라 예측 모드에 따라서 예측 영역과 변환 영역의 처리 순서를 결정한다(S730).The processing order of the prediction region and the transform region is determined according to the intra prediction mode (S730).

이렇게 결정된 처리 순서에 따라서, 첫 번째 예측 영역(제1 예측 영역)에 대한 인트라 예측/복원을 수행한다(S740). In accordance with the determined processing order, intra prediction/reconstruction is performed on the first prediction area (the first prediction area) (S740).

첫 번째 예측 영역을 복원한 후에는, 처리 순서에 따라서 두 번째 예측 영역(제2 예측 영역)에 대한 인트라 예측/복원을 수행한다(S750).After restoring the first prediction area, intra prediction/reconstruction is performed on the second prediction area (the second prediction area) according to the processing order (S750).

도 8은 본 발명이 적용되는 시스템에서 상술한 인트라 예측의 방법을 수행하는 부호화기의 동작을 개략적으로 설명하는 순서도이다.8 is a flowchart schematically illustrating an operation of an encoder that performs the above-described intra prediction method in a system to which the present invention is applied.

도 8을 참조하면, 부호화기는 복수의 예측 영역에 대하여 최적 예측 모드를 결정한다(S810). 최적 예측 모드를 결정하는 방법을 현재 블록 내에서 예측 모드별로 미리 정해놓은 n 번째 예측 영역을 대상으로 설명하면, 예측 모드별로 미리 정해놓은 변환 영역의 구조 및 변환/복원의 순서에 따라 예측 및 변환/복원을 수행한다. 또한, n 번째 예측 영역에 대한 예측 오차 및/또는 예측 비트량을 계산하고, 이를 토대로 n 번째 예측 영역에 대한 최적의 인트라 예측 모드를 결정할 수 있다. Referring to FIG. 8, the encoder determines an optimal prediction mode for a plurality of prediction regions (S810). When the method of determining the optimal prediction mode is described for the n-th prediction region predetermined for each prediction mode within the current block, prediction and transformation/transformation/prediction according to the structure of the transformation region predetermined for each prediction mode and the order of transformation/restore Perform restoration. In addition, a prediction error and/or a prediction bit amount for the n-th prediction region may be calculated, and an optimal intra prediction mode for the n-th prediction region may be determined based on the calculation.

현재 블록에 대한 분할 구조 및 처리 순서를 결정한다(S820). S810에서 결정된 현재 블록의 첫 번째(n=1) 예측 영역에 대한 최적 인트라 예측 모드에 따라서 현재 블록에 대한 예측 영역과 변환 영역의 분할 구조, 예측 영역과 변환 영역의 처리 순서를 결정한다. 현재 블록에 대한 예측 영역과 변환 영역의 분할 구조와 함께 전체 예측 영역의 개수 N을 결정할 수 있다. The partition structure and processing order for the current block are determined (S820). According to the optimal intra prediction mode for the first (n=1) prediction region of the current block determined in S810, the partition structure of the prediction region and the transform region for the current block, and the processing order of the prediction region and the transform region are determined. It is possible to determine the number N of the total prediction regions together with the split structure of the prediction region and the transform region for the current block.

이어서, 예측 영역의 인트라 예측 모드를 시그널링 한다(S830). n번째 예측 영역의 최적 인트라 예측 모드를 시그널링 한다. 두 번째 이후(n>1)의 예측 영역의 예측에 사용 가능한 예측 모드들과, 두 번째 이후(n>1) 예측 영역의 복원된 영역 중 n 번째 예측 영역과 인접한 영역의 예측 모드들을 활용하여, n 번째 예측 영역의 예측을 위한 예측 모드 후보(들)을 결정할 수 있다.Subsequently, an intra prediction mode of the prediction region is signaled (S830). The optimal intra prediction mode of the n-th prediction region is signaled. Using the prediction modes available for prediction of the second and subsequent (n>1) prediction regions, and the prediction modes of a region adjacent to the n-th prediction region among the reconstructed regions of the second and subsequent (n>1) prediction regions, The prediction mode candidate(s) for prediction of the n-th prediction region may be determined.

예측 영역에 대한 변환 부호화를 수행한다(S840). n 번째 예측 영역에 속한 각 변환 영역(들)에 대하여, 상기 S820 단계에서 결정된 변환 영역의 분할 구조 및 처리 순서에 따라, n 번째 예측 영역의 최적 인트라 예측 모드에 따른 예측 오차 신호에 대해 각 변환 영역의 변환 계수를 부호화함으로써 n 번째 예측 영역에 대한 변환 부호화를 수행할 수 있다.Transcoding is performed on the prediction region (S840). For each transform region(s) belonging to the n-th prediction region, each transform region for the prediction error signal according to the optimal intra prediction mode of the n-th prediction region according to the partition structure and processing order of the transform region determined in step S820. Transcoding can be performed on the n-th prediction region by encoding the transform coefficient of.

전체 예측 영역(n==N)에 대하여 상술한 각 단계를 수행하였으면, 상기 각 단계의 수행을 종료한다. 아직 전체 예측 영역에 대하여 상기 단계들을 수행하지 않았으면(n<N), 다음 예측 영역(즉, n=n+1인 예측 영역)에 대하여 S810 단계부터 이하의 단계를 다시 수행할 수 있다. When each of the steps described above is performed for the entire prediction region (n==N), the execution of each step is terminated. If the above steps have not yet been performed for the entire prediction area (n<N), the following steps may be performed again from step S810 for the next prediction area (ie, a prediction area in which n=n+1).

따라서, 도 8의 전체 단계는 제1 예측 영역(첫 번째 예측 영역)에서부터 제2 예측 영역(두 번째 예측 영역), 이어서 제3 예측 영역(세 번째 예측 영역)의 순으로 진행될 수 있다. 이때, 첫 번째 예측 영역에 대한 단계인 S820 단계는 제2 예측 영역부터는 수행되지 않을 수 있다.Accordingly, the entire operation of FIG. 8 may proceed in the order of a first prediction region (a first prediction region), a second prediction region (a second prediction region), and then a third prediction region (a third prediction region). In this case, operation S820, which is an operation for the first prediction region, may not be performed from the second prediction region.

도 9는 본 발명이 적용되는 시스템에서 상술한 인트라 예측의 방법을 수행하는 복호화기의 동작을 개략적으로 설명하는 순서도이다.9 is a flowchart schematically illustrating an operation of a decoder performing the above-described intra prediction method in a system to which the present invention is applied.

도 9를 참조하면, 복호화기는 부호화기로부터 수신한 비트 스트림을 파싱하여, 첫 번째 예측 영역(제1 예측 영역)에 대한 예측 모드를 획득한다(S910). Referring to FIG. 9, the decoder parses a bit stream received from an encoder to obtain a prediction mode for a first prediction region (a first prediction region) (S910).

복호화기는 현재 블록에 대한 분할 구조 및 처리 순서를 결정한다(S920). 복호화기는 S910 단계에서 획득한 예측 모드에 따라서 현재 블록(복호 대상 블록)에 대한 예측 영역 및 변환 영역의 분할 구조 그리고 예측 영역 및 변환 영역의 처리 순서를 결정한다. 예측 영역 및 변환 영역의 분할 구조와 함께 전체 예측 영역의 개수 N을 결정할 수 있다. The decoder determines the partition structure and processing order for the current block (S920). The decoder determines a partition structure of a prediction region and a transform region for the current block (block to be decoded), and a processing order of the prediction region and the transform region according to the prediction mode obtained in step S910. It is possible to determine the number N of the total prediction regions together with the partition structure of the prediction region and the transform region.

예측 영역 내의 변환 영역별로 변환 계수를 복호화한다(S930). 예컨대, 현재 블록에 N 개의 예측 영역별로, 예측 영역에 속하는 각 변환 영역의 변환 계수를 비트 스트림으로부터 파싱하여 복호화할 수 있다. 제2 예측 영역(두 번째 예측 영역) 이후의 예측 영역에 대해서는, 제1 예측 영역(첫 번째 예측 영역)의 예측에 사용 가능한 예측 모드들과, 제1 예측 영역(첫 번째 예측 영역)을 제외하고 이미 복원된 예측 영역 중 n 번째 예측 영역과 인접한 영역의 예측 모드들을 활용하여, n 번째 예측 영역의 예측을 위한 예측 모드 후보(들)을 결정할 수 있다.Transform coefficients are decoded for each transform region in the prediction region (S930). For example, for each of the N prediction regions in the current block, transform coefficients of each transform region belonging to the prediction region may be parsed from a bit stream and decoded. For the prediction area after the second prediction area (the second prediction area), the prediction modes usable for prediction of the first prediction area (the first prediction area) and the first prediction area (the first prediction area) are excluded. Prediction mode candidate(s) for prediction of the n-th prediction area may be determined by using prediction modes of an area adjacent to the n-th prediction area among the already reconstructed prediction areas.

이후, 각 변환 영역에 대한 복원 신호를 생성한다(S940). n 번째 예측 영역에 대하여 살펴보면, n 번째 예측 영역에 속하는 각 변환 영역(들)에 대하여, 상기 S910 단계에서 결정된 변환 영역의 분할 구조 및 처리 순서에 따라서 각 변환 영역의 변환 계수를 역변환하여 레지듀얼 신호를 복원한다. 복원된 레지듀얼 신호와 n 번째 예측 영역에 대한 예측 모드에 따라서 수행된 예측 결과를 합산하여, 각 변환 영역에 대한 복원 신호를 생성함으로써 n 번째 예측 영역을 복원할 수 있다.Thereafter, a reconstructed signal for each transform region is generated (S940). Looking at the n-th prediction region, for each transform region(s) belonging to the n-th prediction region, the residual signal by inverse transforming the transform coefficients of each transform region according to the partition structure and processing order of the transform region determined in step S910. Restore. The n-th prediction region may be reconstructed by generating a reconstructed signal for each transform region by summing the reconstructed residual signal and a prediction result performed according to the prediction mode for the n-th prediction region.

전체 예측 영역(n==N)에 대하여 상술한 각 단계를 수행하였으면, 상기 각 단계의 수행을 종료한다. 아직 전체 예측 영역에 대하여 상기 단계들을 수행하지 않았으면(n<N), 다음 예측 영역(즉, n=n+1인 예측 영역)에 대하여 S910 단계부터 이하의 단계를 다시 수행할 수 있다. When each of the steps described above is performed for the entire prediction region (n==N), the execution of each step is terminated. If the above steps have not yet been performed for the entire prediction area (n<N), the following steps may be performed again from step S910 for the next prediction area (ie, a prediction area in which n=n+1).

따라서, 도 9의 전체 단계는 제1 예측 영역(첫 번째 예측 영역)에서부터 제2 예측 영역(두 번째 예측 영역), 이어서 제3 예측 영역(세 번째 예측 영역)의 순으로 진행될 수 있다. 이때, 첫 번째 예측 영역에 대한 단계인 S930 단계는 제2 예측 영역부터는 수행되지 않을 수 있다.Accordingly, the entire operation of FIG. 9 may proceed in the order of a first prediction area (first prediction area), a second prediction area (second prediction area), and then a third prediction area (third prediction area). In this case, step S930, which is an operation for the first prediction region, may not be performed from the second prediction region.

도 10은 부호화 영역(CU), 예측 영역(PU), 변환 영역(TU)의 분할 구조에 관한 일 예를 개략적으로 설명한 것이다.10 schematically illustrates an example of a split structure of a coding region CU, a prediction region PU, and a transform region TU.

도 10에서는, 가장 위쪽의 열부터 차례대로 64x64 사이즈의 부호화 영역(1010), 32x32 사이즈의 부호화 영역(1020), 16x16 사이즈의 부호화 영역(1030), 8x8 사이즈의 부호화 영역(1040)에 대한 분할 예를 개략적으로 도시하고 있다. In FIG. 10, an example of division of a 64x64-sized encoding region 1010, a 32x32-sized encoding region 1020, a 16x16-sized encoding region 1030, and an 8x8-sized encoding region 1040 in order from the uppermost column. Schematically shows.

도 10을 참조하면, 각 부호화 영역(CU)의 사이즈에 대한 예측 영역(PU)과 변환 영역(TU)의 분할 구조를 확인할 수 있다. Referring to FIG. 10, a split structure of a prediction region PU and a transform region TU with respect to the size of each coding region CU can be confirmed.

또한, 소정의 부호화 영역 사이즈에 대해서 SDIP(Short Distance Intra Prediction) 영역을 규정할 수 있다. SDIP는 종래의 분할 구조에 직사각형 및 라인(line) 분할 구조를 추가한 방식으로 SDIP의 경우에는 부호화 영역이 정방형의 예측 영역으로 나뉘지 않고 비정방형, 예컨대 높이(또는 폭)는 부호화 영역과 동일하고, 폭(또는 높이)은 부호화 영역의 1/2 또는 1/4인 직사각형 형태의 예측 영역으로 나뉠 수 있다. In addition, a short distance intraprediction (SDIP) region may be defined for a predetermined coding region size. SDIP is a method in which a rectangle and a line segmentation structure are added to the conventional segmentation structure.In the case of SDIP, the coding region is not divided into a square prediction region and is non-square, e.g., the height (or width) is the same as the coding region. , The width (or height) may be divided into a rectangular prediction area that is 1/2 or 1/4 of the encoding area.

또한, 도시된 바와 같이, MDIP(Mode Dependent Intra Prediction)에 의한 예측이 수행될 수 있다. MDIP에서는 상술한 바와 같이, 예측 모드에 따라서 분할 구조가 달라지게 된다. 도 10에서는 본 명세서에서 인트라 예측 모드에 따라서 분할 구조를 달리하거나 추가로 분할 영역을 구분하는 방법 중 상측 참조 샘플을 이용하는 경우와 좌측 참조 샘플을 이용하는 두 방법에 대하여 개략적으로 도시하고 있다. 도시된 바와 같이, 방향성 예측 외에도 DC 모드와 플래너(planar) 모드 등과 같이 비방향성 인트라 예측 모드를 사용하여 현재 블록에 대한 예측을 수행할 수도 있다. In addition, as shown, prediction by Mode Dependent Intra Prediction (MDIP) may be performed. In MDIP, as described above, the partition structure is changed according to the prediction mode. FIG. 10 schematically illustrates two methods of using an upper reference sample and a left reference sample among methods of differently dividing a division structure according to an intra prediction mode or additionally dividing a divided region in the present specification. As illustrated, in addition to directional prediction, prediction on a current block may be performed using a non-directional intra prediction mode such as a DC mode and a planar mode.

도 10을 참조하면, MDIP가 아닌 일반적인 인트라 예측의 경우 및 SDIP의 경우에는 현재 블록의 크기에 따라서 예측 영역과 변환 영역의 분할 방식이 달라질 수 있다. 반면에 MDIP를 적용하는 경우에는, 더 이상 분할이 불가능한 최소 예측 영역/최소 변환 영역의 크기(4x4)를 제외하고는 블록의 크기에 따라서 분할 구조가 달라지지 않는다. MDIP를 적용하는 경우에는, 예측 모드에 따라서 분할 구조가 달라질 수 있다.Referring to FIG. 10, in the case of general intra prediction other than MDIP and the case of SDIP, a method of dividing a prediction region and a transform region may vary according to the size of a current block. On the other hand, when MDIP is applied, the partition structure does not change according to the size of the block except for the size of the minimum prediction region/minimum transform region (4x4) that cannot be partitioned any more. In the case of applying MDIP, the split structure may vary depending on the prediction mode.

한편, 부호화 영역 내 예측 영역에 대하여, 쿼드 트리 구조를 기반으로 상당히 많은 변환 영역의 분할 구조가 제시될 수 있는데, 이렇게 다양한 분할 구조에 대해서 압축의 결과를 모두 비교해보고 최적의 변환 구조를 선택하게 되면 부호화에 따른 복잡도가 높게 된다. 또한, 변환 영역의 다양한 분할 구조를 시그널링 하기 위해 시그널링의 오버헤드가 증가하게 된다. On the other hand, for the prediction region in the coding region, a large number of partition structures of the transformation region can be presented based on a quad tree structure. If the optimal transformation structure is selected after comparing all the results of compression for such various partition structures, The complexity of the coding becomes high. In addition, signaling overhead increases in order to signal various split structures of the transform region.

이와 관련하여, 본 발명에서 제시하는 바와 같이 인트라 예측 모드에 따라서 현재 블록의 분할을 결정하게 되면, 예측 영역의 분할 구조와 변환 영역의 분할 구조가 예측 모드에 따라서 1 또는 2개로 고정되어 최적화되어 있으므로, 부호화 성능을 높이고 복잡도를 낮출 수 있다. 또한, 예측 모드별 분할 구조에 따라서 예측 모드의 후보 집합을 줄일 수 있어서, 부호화 복잡도를 더 낮출 수 있다.In this regard, if the partitioning of the current block is determined according to the intra prediction mode as presented in the present invention, the partition structure of the prediction region and the partition structure of the transform region are fixed to one or two according to the prediction mode and are optimized. , Encoding performance can be improved and complexity can be reduced. In addition, it is possible to reduce a candidate set of prediction modes according to a split structure for each prediction mode, thereby further reducing coding complexity.

이하, 본 발명에서 제시하는, 예측 모드에 따른 변환 영역의 분할에 대하여 도면을 참조하여 구체적으로 설명한다.Hereinafter, the division of a transform region according to a prediction mode proposed in the present invention will be described in detail with reference to the drawings.

도 11은 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 예측 모드에 따라서 두 개의 예측 영역으로 분할하는 일 예를 개략적으로 도시한 것이다. 도 11의 예에서는, 부호화 영역을 정방형의 예측 영역으로 분할하는 경우를 도시하고 있다. 11 schematically shows an example of dividing a current block (a block to be encoded) into two prediction regions according to prediction modes in a system to which the present invention is applied. In the example of Fig. 11, the case where the coding region is divided into square prediction regions is shown.

도 11(A), (B) 및 (C)에서 부호화 영역(1100, 1135, 1170) 내 분할된 제1 예측 영역(P1)은 주변의 복호화된 샘플(1115, 1150, 1185)을 기반으로 인트라 예측될 수 있다. 분할된 예측 영역에 대한 부호화는 제1 예측 영역(P1)에 대한 예측/복원을 수행한 후 제2 예측 영역(P2)에 대한 예측/복원을 수행하는 방식으로 진행될 수 있다. 따라서, 레지듀얼 신호가 많이 존재하는 제2 예측 영역(P2)에 대한 예측을 수행할 때, 복원된 제1 예측 영역(P1)의 샘플을 참조 샘플로 활용함으로써 예측 효율을 증가시킬 수 있다.In FIGS. 11(A), (B) and (C), the segmented first prediction region P1 in the coding regions 1100, 1135, and 1170 is intra-intra based on the decoded samples 1115, 1150, and 1185 around them. It can be predicted. The encoding of the divided prediction region may be performed in a manner of performing prediction/reconstruction on the first prediction region P1 and then performing prediction/reconstruction on the second prediction region P2. Accordingly, when prediction is performed on the second prediction area P2 in which a large number of residual signals exist, prediction efficiency can be increased by using the sample of the reconstructed first prediction area P1 as a reference sample.

도 11(A)를 참조하면, 현재 블록(1100)의 제1 예측 영역(1105)은 뛰어난 압축 효율을 얻을 수 있는 참조 샘플을 기반으로 예측될 수 있다. 도 11(A)의 예에서 현재 블록의 상측(above)/상우측(above-right)의 샘플(1120)이 제1 예측 블록(1105)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1120)을 이용해서 제1 예측 영역(1105)에 대한 예측을 수행할 수 있다. 예컨대, 도 3에서, 예측 모드 {20, 11, 21, 0, 22, 12, 23, 5, 24, 13, 25, 6} 등이 참조 샘플(1120)이 될 수 있다. 제2 예측 영역(1110)에 대한 예측은 복원된 제1 예측 영역(1105)의 샘플을 이용하여 수행될 수 있다.Referring to FIG. 11A, a first prediction region 1105 of a current block 1100 may be predicted based on a reference sample capable of obtaining excellent compression efficiency. In the example of FIG. 11(A), it is assumed that the sample 1120 on the upper/above-right side of the current block is a reference sample that can obtain the best extrusion efficiency for the first prediction block 1105. Then, prediction on the first prediction region 1105 may be performed using the reference sample 1120. For example, in FIG. 3, a prediction mode {20, 11, 21, 0, 22, 12, 23, 5, 24, 13, 25, 6}, etc. may be the reference sample 1120. The prediction of the second prediction area 1110 may be performed using a sample of the reconstructed first prediction area 1105.

도 11(B)의 예에서도, 현재 블록(1135)의 제1 예측 영역(1135)은 뛰어난 압축 효율을 얻을 수 있는 참조 샘플을 기반으로 예측될 수 있다. 도 11(B)의 예에서 현재 블록의 좌측(left)/하좌측(below-left)의 샘플(1155)이 제1 예측 블록(1140)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1155)을 이용해서 제1 예측 영역(1140)에 대한 예측을 수행할 수 있다. 예컨대, 도 3에서, 예측 모드 {28, 15, 29, 1, 30, 16, 31, 8, 32, 17, 33, 9} 등이 참조 샘플(1155)이 될 수 있다. 제2 예측 영역(1145)에 대한 예측은 복원된 제1 예측 영역(1140)의 샘플을 이용하여 수행될 수 있다.Even in the example of FIG. 11B, the first prediction region 1135 of the current block 1135 may be predicted based on a reference sample capable of obtaining excellent compression efficiency. In the example of FIG. 11(B), it is assumed that the sample 1155 to the left/below-left of the current block is a reference sample that can obtain the best extrusion efficiency for the first prediction block 1140. Then, prediction on the first prediction region 1140 may be performed using the reference sample 1155. For example, in FIG. 3, a prediction mode {28, 15, 29, 1, 30, 16, 31, 8, 32, 17, 33, 9}, etc. may be the reference sample 1155. The prediction of the second prediction area 1145 may be performed using a sample of the reconstructed first prediction area 1140.

또한, 도 11(C)의 예에서도, 현재 블록(1170)의 제1 예측 영역(1175)은 뛰어난 압축 효율을 얻을 수 있는 참조 샘플을 기반으로 예측될 수 있다. 도 11(C)의 예에서는 도 11(A) 및 도 11(B)의 예와 달리, DC 모드와 플래너 모드 중 하나를 예측 모드로 사용하는 경우까지 예시하고 있다. 즉, 현재 블록의 상측(above)/상좌측(above-left)의 샘플(1190-1), 좌측(left)/상좌측(above-left)의 샘플(1190-2)이 제1 예측 블록(1175)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1190-1, 1190-2)을 이용해서 제1 예측 영역(1175)에 대한 예측을 수행할 수 있다. 예컨대, 도 3에서, 예측 모드 {2, 34, 4, 19, 10, 18, 3, 26, 14, 27, 7} 등이 참조 샘플(1190-1, 1190-2)이 될 수 있다. 제2 예측 영역(1180)에 대한 예측은 복원된 제1 예측 영역(1175)의 샘플을 이용하여 수행될 수 있다.Also in the example of FIG. 11C, the first prediction region 1175 of the current block 1170 may be predicted based on a reference sample capable of obtaining excellent compression efficiency. In the example of FIG. 11C, unlike the examples of FIGS. 11A and 11B, a case in which one of the DC mode and the planar mode is used as a prediction mode is illustrated. That is, the sample 1190-1 of the upper/above-left and the sample 1190-2 of the left/above-left of the current block is the first prediction block ( Assuming that 1175 is a reference sample capable of obtaining the best extrusion efficiency, prediction for the first prediction region 1175 may be performed using the reference samples 11190-1 and 1190-2. For example, in FIG. 3, prediction modes {2, 34, 4, 19, 10, 18, 3, 26, 14, 27, 7}, etc. may be reference samples 11190-1 and 1190-2. The prediction of the second prediction area 1180 may be performed using a sample of the reconstructed first prediction area 1175.

한편, 도 11(A), (B), (C)의 현재 블록에 대응하는 영역(1125, 1160, 1195)에서 T1, T2, T3, T4는 각각의 변환 영역을 나타내며, 변환/복원을 수행하는 순서는 예측 순서에 따라서, T1→T2→T3→T4가 되거나 T1→T3→T2→T4가 될 수 있다. 따라서, 제2 예측 영역에 대응하는 변환 영역(T4)이 가장 나중에 처리되도록 할 수 있다. 도 11의 예에서는 변환 영역의 분할 구조(1125, 1160, 1195)에서 볼 수 있듯이, 각 변환 영역(T1~T4)가 정방향으로 분할되는 예를 설명하였다. Meanwhile, in the regions 1125, 1160, and 1195 corresponding to the current blocks in FIGS. 11(A), (B), and (C), T1, T2, T3, and T4 represent respective transform regions, and transform/restore is performed. The order of doing so may be T1→T2→T3→T4 or T1→T3→T2→T4, depending on the prediction order. Accordingly, the transform region T4 corresponding to the second prediction region can be processed last. In the example of FIG. 11, an example in which each of the transform regions T1 to T4 is divided in the forward direction as can be seen in the divided structures 1125, 1160, and 1195 of the transform region has been described.

도 11(A), (B) 및 (C)에서는 도시된 바와 같은 참조 샘플이 가장 효과적인 참조 샘플이라고 가정하였으나, 이는 설명의 편의를 위한 가정일 뿐이며, 가장 뛰어난 효과를 얻을 수 있는 참조 샘플은 예측 블록에 따라서 달라질 수 있다.11(A), (B) and (C) assume that the reference sample as shown is the most effective reference sample, but this is only an assumption for convenience of explanation, and the reference sample that can obtain the best effect is predicted. May vary depending on the block.

도 12는 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 예측 모드에 따라서 두 개의 예측 영역으로 분할하는 다른 예를 개략적으로 도시한 것이다. 도 12의 예에서는, 부호화 영역을 비정방형의 예측 영역으로 분할하는 경우를 도시하고 있다.12 schematically shows another example of dividing a current block (a block to be encoded) into two prediction regions according to prediction modes in a system to which the present invention is applied. In the example of Fig. 12, the case where the coding region is divided into non-square prediction regions is shown.

도 12(A), (B) 및 (C)에서 부호화 영역(1120, 1230, 1260) 내 분할된 제 1예측 영역(P1)은 주변의 복호화된 샘플(1209, 1239, 1269)을 기반으로 인트라 예측될 수 있다. 분할된 예측 영역에 대한 부호화는 제1 예측 영역(P1)에 대한 예측/복원을 수행한 후 제2 예측 영역(P2)에 대한 예측/복원을 수행하는 방식으로 진행될 수 있다. 따라서, 레지듀얼 신호가 많이 존재하는 제2 예측 영역(P2)에 대한 예측을 수행할 때, 복원된 제1 예측 영역(P1)의 샘플을 참조 샘플로 활용함으로써 예측 효율을 증가시킬 수 있다.In Figs. 12(A), (B) and (C), the divided first prediction area P1 in the coding areas 1120, 1230, and 1260 is based on the decoded samples 1209, 1239, and 1269 around the intra It can be predicted. The encoding of the divided prediction region may be performed in a manner of performing prediction/reconstruction on the first prediction region P1 and then performing prediction/reconstruction on the second prediction region P2. Accordingly, when prediction is performed on the second prediction area P2 in which a large number of residual signals exist, prediction efficiency can be increased by using the sample of the reconstructed first prediction area P1 as a reference sample.

도 12(A)의 예에서 현재 블록(1200)의 상측(above)/상좌측(above-left) 또는 좌측(left)/상좌측(above-left)의 샘플(1210-1, 1210-2)이 제1 예측 영역(1203)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1210-1, 1210-2)을 이용하는 예측 모드(1213)을 통해서 제1 예측 영역(1203)에 대한 예측을 수행할 수 있다. 참조 샘플(1210-1, 1210-2)를 이용하는 경우는 DC 모드와 플래너 모드 중 어느 하나를 예측 모드로 사용하는 경우를 포함한다. 또한, 현재 블록의 상측(above)/상우측(above-right)의 샘플(1216)이 제1 예측 영역(1203)에 대하여 가장 뛰어난 압축 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1216)을 이용하는 예측 모드(1219)를 통해서 제1 예측 영역(1203)에 대한 예측을 수행할 수 있다. 제2 예측 영역(1206)에 대한 예측은 복원된 제1 예측 영역(1103)의 샘플을 이용하여 수행될 수 있다.In the example of FIG. 12(A), samples 1210-1 and 1210-2 of the top/top-left or left/above-left of the current block 1200 Assuming that the first prediction region 1203 is a reference sample capable of obtaining the best extrusion efficiency, the first prediction region 1203 is performed through the prediction mode 1213 using the reference samples 1210-1 and 1210-2. ) Can be predicted. The case of using the reference samples 1210-1 and 1210-2 includes a case of using one of a DC mode and a planar mode as a prediction mode. In addition, assuming that the sample 1216 above/above-right of the current block is a reference sample capable of obtaining the best compression efficiency for the first prediction region 1203, the reference sample 1216 Prediction on the first prediction region 1203 may be performed through the prediction mode 1219 using ). The prediction of the second prediction area 1206 may be performed using a sample of the reconstructed first prediction area 1103.

도 12(B)의 예에서 현재 블록(1230)의 상측(above)/상좌측(above-left) 또는 좌측(left)/상좌측(above-left)의 샘플(1240-1, 1240-2)이 제1 예측 영역(1233)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1240-1, 1240-2)을 이용하는 예측 모드(1243)을 통해서 제1 예측 영역(1233)에 대한 예측을 수행할 수 있다. 참조 샘플(1240-1, 1240-2)를 이용하는 경우는 DC 모드와 플래너 모드 중 어느 하나를 예측 모드로 사용하는 경우를 포함한다. 또한, 현재 블록의 좌측(left)/하좌측(below-left)의 샘플(1246)이 제1 예측 영역(1233)에 대하여 가장 뛰어난 압축 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1246)을 이용하는 예측 모드(1249)를 통해서 제1 예측 영역(1233)에 대한 예측을 수행할 수 있다. 제2 예측 영역(1236)에 대한 예측은 복원된 제1 예측 영역(1233)의 샘플을 이용하여 수행될 수 있다.In the example of FIG. 12(B), samples 1241-1 and 1240-2 of the top/top-left or left/above-left of the current block 1230 Assuming that the first prediction region 1233 is a reference sample capable of obtaining the highest extrusion efficiency, the first prediction region 1233 is performed through the prediction mode 1243 using the reference samples 1241-1 and 1240-2. ) Can be predicted. The case of using the reference samples 1241-1 and 1240-2 includes a case of using either a DC mode or a planar mode as a prediction mode. In addition, assuming that the left/low-left samples 1246 of the current block are reference samples capable of obtaining the best compression efficiency for the first prediction region 1233, the reference sample 1246 Prediction on the first prediction region 1233 may be performed through the prediction mode 1249 using ). The prediction of the second prediction area 1236 may be performed using a sample of the reconstructed first prediction area 1233.

한편, 상측/상좌측의 참조 샘플(1210-1, 1240-1, 1270-1) 그리고 좌측/상좌측의 참조 샘플(1210-2, 1240-2, 1270-2)을 이용하는 예측 모드(1213, 1243)은 도 12(A)와 도 12(B)의 경우에 모두 적용 가능하므로, 화면 내 예측 모드가 상기 예측 모드(1213, 1243)인 경우에는 도 12(A)와 도 12(B) 중 어떤 분할 구조를 가지는지를 지시자로 시그널링할 수도 있다. On the other hand, the prediction mode 1213, using the upper/upper-left reference samples (1210-1, 1240-1, 1270-1) and the left/upper-left reference samples (1210-2, 1240-2, 1270-2). 1243) is applicable to both the cases of Figs. 12(A) and 12(B). Therefore, when the prediction modes 1213 and 1243 in the screen are the prediction modes, among Figs. 12(A) and 12(B), It is also possible to signal which partition structure has an indicator.

도 12(C)의 예는, 상측/상좌측 혹은 좌측/상좌측의 참조 샘플을 이용하는 예측 모드들에 대해서 도 12(A) 및 도 12(B)의 예와는 다른 분할 구조를 이용하는 예를 나타낸 것이다. 도 12(C)의 예에서, 현재 블록(1260)의 상측(above)/상좌측(above-left)의 샘플(1270-1)이나 좌측(left)/상좌측(above-left)의 샘플(1270-2)이 제1 예측 블록(1263)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1270-1, 1270-2)을 이용하는 예측 모드(1273)을 통해서 제1 예측 영역(1263)에 대한 예측을 수행할 수 있다. 참조 샘플(1270-1, 1270-2)를 이용하는 경우는 DC 모드와 플래너 모드 중 어느 하나를 예측 모드로 사용하는 경우를 포함한다. 제2 예측 영역(1266)에 대한 예측은 복원된 제1 예측 영역(1263)의 샘플을 이용하여 수행될 수 있다.The example of FIG. 12(C) shows an example of using a partition structure different from the examples of FIGS. 12(A) and 12(B) for prediction modes using upper/top left or left/top left reference samples. Is shown. In the example of FIG. 12(C), the sample 1271-1 of the upper/above-left or the sample of the left/above-left of the current block 1260 ( Assuming that 1270-2) is a reference sample capable of obtaining the best extrusion efficiency for the first prediction block 1263, the first prediction mode 1273 using the reference samples 1271-1 and 1270-2 is used. The prediction area 1263 may be predicted. The case of using the reference samples 1271-1 and 1270-2 includes a case of using either a DC mode or a planar mode as a prediction mode. The prediction for the second prediction area 1266 may be performed using samples of the reconstructed first prediction area 1263.

한편, 도 12(A) 및 도 12(B)의 현재 블록(1200, 1230)에 대응하는 영역(1220, 1250)에서 T1, T2, T3, T4는 각각의 변환 영역을 나타내며, 변환/복원을 수행하는 순서는 T1→T2→T3→T4가 될 수 있다. 따라서, 제2 예측 영역에 대응하는 변환 영역(T4)이 가장 나중에 처리되도록 할 수 있다.On the other hand, in the regions 1220 and 1250 corresponding to the current blocks 1200 and 1230 of FIGS. 12A and 12B, T1, T2, T3, and T4 represent respective transformation regions, and transform/restore. The order of execution may be T1→T2→T3→T4. Accordingly, the transform region T4 corresponding to the second prediction region can be processed last.

도 12(C)에서 영역 (1270, 1280, 1290)은 현재 블록(1260)에 대응하는 영역으로서, 변환 영역의 다양한 분할 구조 및 변환 순서를 나타내는 예들이다. 영역(1270, 1280)의 T1~T16과 영역(1290)의 T1~T10은 각각의 변환 영역을 나타낸다. T1~T9는 항상 T10 이후의 변환 영역보다 먼저 변환/복원되도록 할 수 있다. 이때, 보다 가까운 복원 샘플을 참조 샘플로 이용하기 위해서는 대상 변환 영역보다 상측과 좌측에 인접해 있는 변한 영역이 먼저 복원되는 것이 바람직하다. In FIG. 12C, regions 1270, 1280, and 1290 are regions corresponding to the current block 1260, and are examples of various division structures and transformation orders of the transformation region. T1 to T16 of regions 1270 and 1280 and T1 to T10 of regions 1290 represent respective transform regions. T1 to T9 can always be transformed/restored before the transformed region after T10. In this case, in order to use a closer reconstructed sample as a reference sample, it is preferable that the changed area adjacent to the upper and left sides of the target transform area is restored first.

영역(1270)은 제1 예측 영역(P1)에 대응하는 변환 영역들(T1~T9)이 지그재그(zig-zag) 순서로 변환/복원되는 예이며, 영역(1280)은 제1 예측 영역(P1)에 대응하는 변환 영역들(T1~T9)이 좌-상(left-above) 모서리에서 우-하(right-below) 모서리의 순서로 변환/복원되는 예이다. 영역(1280)은 제1 예측 영역(P1)에 대응하는 변환 영역들(T1~T9)이 좌-상(left-above) 모서리에서 우-하(right-below) 모서리의 순서로 변환/복원되는 예일 수도 있다. 또한, 영역(1290)은 동일한 예측 영역에 속하는 복수의 변환 영역을 하나의 변환 영역으로 합쳐서 처리하는 예를 나타낸 것이다. 영역(1290)에서는 영역(1270, 1280)과 비교할 때, 영역(1270, 1280)의 좌상측 4개 변환 영역과 하측 4개 변환 영역이 각각 하나의 변환 영역으로서 처리되고 있다.The region 1270 is an example in which the transform regions T1 to T9 corresponding to the first prediction region P1 are transformed/restored in a zig-zag order, and the region 1280 is a first prediction region P1 This is an example in which the transformed regions T1 to T9 corresponding to) are transformed/restored in the order of a left-above corner to a right-below corner. In the region 1280, the transform regions T1 to T9 corresponding to the first prediction region P1 are transformed/restored in the order of a left-above corner to a right-below corner. Maybe yes. Further, the region 1290 shows an example in which a plurality of transform regions belonging to the same prediction region are combined into one transform region and processed. In the region 1290, compared with the regions 1270 and 1280, the four upper left and lower four transform regions of the regions 1270 and 1280 are each processed as one transform region.

도 12의 예에서는 도 12(A) 및 도 12(B)에 도시된 변환 영역의 분할 구조(1220, 1250)에서 볼 수 있듯이, 각 변환 영역(T1~T4)가 비정방향으로 분할되는 예와 도 12(C)에 도시된 변환 영역의 분할 구조(1270, 1280, 1290)에서 볼 수 있듯이 각 변환 영역들(Ts)이 비정방형으로 분할될 수 있는 예를 설명하였다. In the example of FIG. 12, as can be seen in the divided structures 1220 and 1250 of the transformed regions shown in FIGS. 12A and 12B, each transformed region T1 to T4 is divided in an amorphous direction. As can be seen in the divided structures 1270, 1280, and 1290 of the transform region shown in FIG. 12C, an example in which each transform region Ts may be divided into an amorphous shape has been described.

한편, 도 12(A), (B) 및 (C)에서는 도시된 바와 같은 참조 샘플이 가장 효과적인 참조 샘플이라고 가정하였으나, 이는 설명의 편의를 위한 가정일 뿐이며, 가장 뛰어난 효과를 얻을 수 있는 참조 샘플은 예측 블록에 따라서 달라질 수 있다.On the other hand, in FIGS. 12(A), (B), and (C), it is assumed that the reference sample as shown is the most effective reference sample, but this is only an assumption for convenience of explanation, and a reference sample capable of obtaining the most excellent effect. May vary depending on the prediction block.

도 13은 본 발명이 적용되는 시스템에서, 현재 블록(부호화 대상 블록)을 인트라 예측 모드에 따라서 3개의 예측 영역으로 분할하는 예들을 개략적으로 도시한 것이다. 예컨대, 도 13에서는 현재 블록이 정방형 예측 영역과 비정방형 예측 영역으로 분할되는 경우를 예시하고 있다. 13 schematically illustrates examples of dividing a current block (a block to be encoded) into three prediction regions according to an intra prediction mode in a system to which the present invention is applied. For example, FIG. 13 illustrates a case where the current block is divided into a square prediction region and an amorphous prediction region.

도 13(A) 및 (B)에서 부호화 영역(1300, 1330) 내 분할된 제1 예측 영역(P1)은 주변의 복호화된 샘플(1310, 1340)을 기반으로 인트라 예측될 수 있다. 분할된 예측 영역에 대한 부호화는 제1 예측 영역(P1)에 대한 예측/복원을 수행한 후 제2 예측 영역(P2) 및 제3 예측 영역(P3)에 대한 예측/복원을 수행하는 방식으로 진행될 수 있다. 따라서, 레지듀얼 신호가 많이 존재하는 제2 예측 영역(P2) 및 제3 예측 영역(P3)에 대한 예측을 수행할 때, 복원된 제1 예측 영역(P1)의 샘플을 참조 샘플로 활용함으로써 예측 효율을 증가시킬 수 있다. 제2 예측 영역(P2)와 제3 예측 영역(P3) 간에는 제2 예측 영역(P2)가 먼저 처리될 수도 있고, 제3 예측 영역(P3)이 먼저 처리될 수도 있다.In FIGS. 13A and 13B, the divided first prediction region P1 within the encoding regions 1300 and 1330 may be intra predicted based on the decoded samples 1310 and 1340 around them. The encoding of the divided prediction region is performed in a manner of performing prediction/reconstruction for the first prediction region P1 and then predicting/recovering the second prediction region P2 and the third prediction region P3. I can. Therefore, when prediction is performed on the second prediction area P2 and the third prediction area P3 in which a large number of residual signals are present, prediction is performed by using the sample of the reconstructed first prediction area P1 as a reference sample. It can increase the efficiency. Between the second prediction area P2 and the third prediction area P3, the second prediction area P2 may be processed first, or the third prediction area P3 may be processed first.

도 13(A)의 예에서 현재 블록(1300)의 좌측(left)/상좌측(above-left) 또는 상측(above)/상좌측(above-left)의 샘플(1313-1, 1313-2)이 제1 예측 영역(1303)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1313-1, 1313-2)을 이용하는 예측 모드(1315)를 통해서 제1 예측 영역(1303)에 대한 예측을 수행할 수 있다. 참조 샘플(1313-1, 1313-2)를 이용하는 경우는 DC 모드와 플래너 모드 중 어느 하나를 예측 모드로 사용하는 경우를 포함한다. 또한, 현재 블록(1300)의 상측(above)/상우측(above-right)의 샘플(1317)이 제1 예측 영역(1303)에 대하여 가장 뛰어난 압축 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1317)을 이용하는 예측 모드(1320)를 통해서 제1 예측 영역(1303)에 대한 예측을 수행할 수 있다. 제2 예측 영역(1305) 및 제3 예측 영역(1307)에 대한 예측은 복원된 제1 예측 영역(1303)의 샘플을 이용하여 수행될 수 있다.In the example of FIG. 13A, samples 1313-1 and 1313-2 of left/above-left or above/above-left of the current block 1300 Assuming that the first prediction region 1303 is a reference sample capable of obtaining the highest extrusion efficiency, the first prediction region 1303 is performed through the prediction mode 1315 using the reference samples 1313-1 and 1313-2. ) Can be predicted. The case of using the reference samples 1313-1 and 1313-2 includes a case of using either a DC mode or a planar mode as a prediction mode. In addition, assuming that the sample 1317 above/above-right of the current block 1300 is a reference sample that can obtain the best compression efficiency for the first prediction region 1303, reference Prediction on the first prediction region 1303 may be performed through the prediction mode 1320 using the sample 1317. Prediction of the second prediction area 1305 and the third prediction area 1307 may be performed using samples of the reconstructed first prediction area 1303.

도 13(B)의 예에서 현재 블록(1330)의 좌측(left)/상좌측(above-left) 또는 상측(above)/상좌측(above-left)의 샘플(1343-1, 1343-2)이 제1 예측 영역(1333)에 대하여 가장 뛰어난 압출 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1343-1, 1343-2)을 이용하는 예측 모드(1345)를 통해서 제1 예측 영역(1333)에 대한 예측을 수행할 수 있다. 참조 샘플(1343-1, 1343-2)를 이용하는 경우는 DC 모드와 플래너 모드 중 어느 하나를 예측 모드로 사용하는 경우를 포함한다. 또한, 현재 블록(1330)의 좌측(left)/하좌측(below-left)의 샘플(1347)이 제1 예측 영역(1333)에 대하여 가장 뛰어난 압축 효율을 얻을 수 있는 참조 샘플이라고 가정하면, 참조 샘플(1347)을 이용하는 예측 모드(1350)를 통해서 제1 예측 영역(1333)에 대한 예측을 수행할 수 있다. 제2 예측 영역(1335) 및 제3 예측 영역(1337)에 대한 예측은 복원된 제1 예측 영역(1333)의 샘플을 이용하여 수행될 수 있다.In the example of FIG. 13(B), samples 1343-1 and 1343-2 on the left/above-left or above/above-left of the current block 1330 Assuming that the first prediction region 1333 is a reference sample capable of obtaining the best extrusion efficiency, the first prediction region 1333 is performed through the prediction mode 1345 using the reference samples 1343-1 and 1343-2. ) Can be predicted. The case of using the reference samples 1343-1 and 1343-2 includes a case of using one of a DC mode and a planar mode as a prediction mode. In addition, assuming that the left/below-left samples 1347 of the current block 1330 are reference samples that can obtain the best compression efficiency for the first prediction region 1333, reference Prediction on the first prediction region 1333 may be performed through the prediction mode 1350 using the sample 1347. Prediction of the second prediction area 1335 and the third prediction area 1335 may be performed using samples of the reconstructed first prediction area 1333.

한편, 도 13(A) 및 도 13(B)의 현재 블록(1300, 1330)에 대응하는 영역(1323, 1353)에서 T1, T2, T3, T4는 각각의 변환 영역을 나타내며, 변환/복원을 수행하는 순서는 T1→T2→T3→T4 또는 T1→T2→T4→T3가 될 수 있다. 따라서, 제2 예측 영역과 제3 예측 영역에 대응하는 변환 영역(T3, T4)이 가장 나중에 처리되도록 할 수 있다. 도 13(A) 및 도 13(B)의 예에 도시된 변환 영역의 분할 구조(1323, 1353)에서 볼 수 있듯이, 도 13에서는 변환 영역이 정방형 및 비정방형이 혼합된 형태로 분할되는 경우를 예로서 설명하였다.Meanwhile, in the regions 1323 and 1353 corresponding to the current blocks 1300 and 1330 of FIGS. 13A and 13B, T1, T2, T3, and T4 denote respective transformation regions, and transform/restore. The order of execution may be T1→T2→T3→T4 or T1→T2→T4→T3. Accordingly, the transform regions T3 and T4 corresponding to the second and third prediction regions can be processed last. As can be seen from the divided structures 1323 and 1353 of the transformed region shown in the examples of FIGS. 13A and 13B, in FIG. 13, a case in which the transformed region is divided into a mixed form of a square and amorphous is described. Explained as an example.

도 13(A) 및 (B)에서는 도시된 바와 같은 참조 샘플이 가장 효과적인 참조 샘플이라고 가정하였으나, 이는 설명의 편의를 위한 가정일 뿐이며, 가장 뛰어난 효과를 얻을 수 있는 참조 샘플은 예측 블록에 따라서 달라질 수 있다.In FIGS. 13A and 13B, it is assumed that the reference sample as shown is the most effective reference sample, but this is only an assumption for convenience of explanation, and the reference sample that can obtain the best effect varies according to the prediction block. I can.

상술한 도 11 내지 도 13의 실시예들은 각각 독립적으로 사용될 수도 있고, 각 실시예에 따른 처리 과정에서 일부만이 사용될 수도 있으며, 각 실시예의 일부 또는 전부가 다른 실시예의 일부 또는 전부와 결합하여 사용될 수도 있다. 예컨대, 도 13의 (A) 및 (B)와 도 12의 (C)를 조합하여 사용할 수 있다. 이때, 하나의 예측 모드가 여러 블록 분할 구조를 가질 수 있는 경우가 발생한다면, 별도의 지시자를 시그널링함으로써 해당 모드가 여러 블록 분할 구조 중 어느 구조에 대한 것인지를 지시하도록 할 수도 있다.The above-described embodiments of FIGS. 11 to 13 may each be used independently, only a part may be used in the processing process according to each embodiment, and some or all of each embodiment may be used in combination with some or all of other embodiments. have. For example, FIGS. 13A and 13B and FIG. 12C may be used in combination. In this case, if a case in which one prediction mode can have multiple block splitting structures occurs, a separate indicator may be signaled to indicate which of the multiple block splitting structures the corresponding mode is for.

비정방형 변환 영역에 대해서는 비정방형, 예컨대 직사각형(rectangular) 변환을 적용할 수도 있고, 신호 값 예컨대 레지듀얼 신호 등을 정방(square)형으로 재배치(reordering) 한 후 정방형 변환을 적용할 수도 있다. For the amorphous transform region, a non-square transform, for example, a rectangular transform may be applied, or a square transform may be applied after reordering a signal value, such as a residual signal, into a square shape.

도 14는 본 발명이 적용되는 시스템에서, 비정방형 변환 영역의 변환에 관한 예들을 개략적으로 나타낸 것이다. 도 14에서는 8x2 크기의 비정방형 변환 영역을 예로 들어 부호화기에서의 신호 값 재배치 과정을 설명하고 있다. 14 schematically shows examples of transformation of an amorphous transformation region in a system to which the present invention is applied. In FIG. 14, a signal value rearrangement process in the encoder is described by taking an 8x2 amorphous transform region as an example.

도 14(A)는 8x2 크기의 비정방형 변환 영역의 레지듀얼 신호 값을 수평 우선 스캔하는 예를 도시하고 있다. 도 14(B)는 8x2 크기의 비정방형 변환 영역의 레지듀얼 신호값을 수직 우선 스캔하는 예를 도시하고 있다. 또한, 도 14(C)는 8x2 크기의 비정방형 변환 영역의 레지듀얼 신호 값을 지그재그 스캔하는 예를 도시하고 있다. 14(A) shows an example in which the residual signal values of the amorphous transform region having a size of 8x2 are scanned horizontally first. 14(B) shows an example of vertically scanning the residual signal values of an amorphous transform region having a size of 8x2. In addition, FIG. 14C shows an example of zigzag scanning a residual signal value of an amorphous transform region having a size of 8x2.

도 14(A) 내지 도 14(C)와 같은 스캔 방식은 부호화 영역 내 첫 번째 예측 영역(제1 예측 영역)의 예측 모드에 따라서 미리 정해질 수도 있다. The scan method as shown in FIGS. 14A to 14C may be predetermined according to a prediction mode of the first prediction area (first prediction area) in the encoding area.

도 14(A) 내지 도 14(C)와 같이 스캔된 변환 영역의 신호값들은 정방형 변환 영역에 재배치될 수 있다. 예컨대, 도 14(D)와 같이 8x2 크기의 비정방형 변환 영역 내 신호값을 4x4 크기의 정방형 변환 영역에 재배치할 수 있다. 재배치된 신호값은 DCT(Discrete Cosine Transform) 및/또는 DST(Discrete Sine Transform) 등의 변환 방식에 의해 주파수 영역으로의 변환이 가능해진다. As shown in FIGS. 14A to 14C, signal values of the scanned transform region may be rearranged in the square transform region. For example, as shown in FIG. 14(D), the signal value in the 8x2 amorphous transform region may be rearranged in the 4x4 square transform region. The rearranged signal value can be transformed into the frequency domain by a transformation method such as Discrete Cosine Transform (DST) and/or Discrete Sine Transform (DST).

한편, 복호화기에서는 정방형 변환 영역에 배열되어 있는 변환 계수를 역변환한다. 역변환은 변환 계수를 생성할 때 적용한 변환 방식을 역으로 적용함으로써 수행될 수 있다. 예컨대, IDCT(Inverse Discrete Cosine Transform) 및/또는 IDST(Inverse Discrete Sine Transform)이 변환 계수에 적용될 수 있다. 복호화기는 역변환된 변환 계수를 도 14(D)의 역방향으로 스캔하고, 도 14(A) 내지 도 14(C)의 역방향으로 재배치함으로써, 역변환된 변환 계수를 8x2 크기의 비정방형 변환 영역에 재배치할 수 있다. Meanwhile, in the decoder, the transform coefficients arranged in the square transform region are inversely transformed. The inverse transform can be performed by inversely applying the transform method applied when generating the transform coefficient. For example, Inverse Discrete Cosine Transform (IDCT) and/or Inverse Discrete Sine Transform (IDST) may be applied to the transform coefficient. The decoder scans the inverse transform coefficient in the reverse direction of FIG. 14(D) and rearranges the inverse transform coefficient in the reverse direction of FIGS. 14(A) to 14(C), thereby relocating the inverse transform coefficient in the 8×2 amorphous transform region. I can.

부호화 대상 블록(현재 블록)이 두 개 이상의 예측 영역(PU)로 분할되는 경우, 예측 영역의 순서상 후순위 예측 영역의 예측 모드와 선순위 예측 영역의 예측 모드는 높은 상관성을 가질 수 있다. 따라서, 이런 특성을 이용하면, 예측 영역별 예측 모드의 부호화에 필요한 시그널링의 오버헤드를 줄이고 부호화 성능의 향상을 꾀할 수 있다. When the encoding target block (current block) is divided into two or more prediction regions PU, a prediction mode of a subsequent prediction region and a prediction mode of a prior prediction region may have a high correlation in the order of the prediction regions. Therefore, by using this characteristic, it is possible to reduce the signaling overhead required for encoding the prediction mode for each prediction region, and improve the encoding performance.

도 15는 본 발명이 적용되는 시스템에서, 현재 블록 내 선순위 예측 영역과 후순위 예측 영역 사이의 상관성에 기반해서, 선순위 예측 영역의 복원된 샘플을 이용하여 후순위 예측 영역에 대한 예측을 수행하는 예들을 개략적으로 도시한 것이다. 15 schematically illustrates examples of performing prediction on a lower order prediction region using a reconstructed sample of the priority prediction region, based on the correlation between a priority prediction region and a lower priority prediction region within a current block in a system to which the present invention is applied It is shown as.

도 15(A)의 예에서, 현재 블록(1500)의 제1 예측 영역(1503)에 대해서는 상측/상우측 참조 샘플(1507)을 이용하여 예측을 수행한다. 제2 예측 영역(1505)에 대해서는 좌측/하좌측 참조 샘플(1510) 및/또는 이미 복원된 제1 예측 영역(1503)의 일부 샘플(1513)을 이용하여 예측을 수행할 수 있다. 이때, 제2 예측 영역(1505)의 예측에 이용되는 제1 예측 영역(1503)의 일부 샘플(1513)은 제2 예측 영역(1505)에 인접한 제1 예측 영역(1503)의 샘플로서 제2 예측 영역(1505)에 대한 예측이 수행되기 전에 복원된 샘플이다. In the example of FIG. 15A, prediction is performed on the first prediction region 1503 of the current block 1500 by using the upper/right reference samples 1507. For the second prediction region 1505, prediction may be performed using the left/lower left reference samples 1510 and/or some samples 1513 of the previously reconstructed first prediction region 1503. In this case, a partial sample 1513 of the first prediction area 1503 used for prediction of the second prediction area 1505 is a sample of the first prediction area 1503 adjacent to the second prediction area 1505 and the second prediction This is a sample reconstructed before prediction for the region 1505 is performed.

도 15(B)의 예에서, 현재 블록(1515)의 제1 예측 영역(1517)에 대해서는 상측/상좌측 참조 샘플(1523-1) 또는 좌측/상좌측 참조 샘플(1523-2)을 이용하여 예측을 수행한다. 제2 예측 영역(1520)에 대해서는 이미 복원된 제1 예측 영역(1517)의 일부 샘플(1525)을 이용하여 예측을 수행할 수 있다. 이때, 제2 예측 영역(1520)의 예측에 이용되는 제1 예측 영역(1517)의 일부 샘플(1525)은 제2 예측 영역(1520)에 인접한 제1 예측 영역(1517)의 샘플로서 제2 예측 영역(1520)에 대한 예측이 수행되기 전에 복원된 샘플이다.In the example of FIG. 15B, for the first prediction region 1517 of the current block 1515, an upper/upper left reference sample 1523-1 or a left/upper left reference sample 1523-2 is used. Make predictions. For the second prediction area 1520, prediction may be performed using some samples 1525 of the first prediction area 1517 that have already been reconstructed. In this case, a partial sample 1525 of the first prediction area 1517 used for prediction of the second prediction area 1520 is a sample of the first prediction area 1517 adjacent to the second prediction area 1520 and the second prediction This is a sample reconstructed before prediction of the region 1520 is performed.

도 15(C)의 예에서, 현재 블록(1530)의 제1 예측 영역(1533)에 대해서는 상측/상좌측 참조 샘플(1537-1) 또는 좌측/상좌측 참조 샘플(1537-2)을 이용하여 예측을 수행할 수 있다. 또한, 상측/우상측 참조 샘플(1540)을 이용하여 제1 예측 영역(1533)에 대한 예측을 수행할 수도 있다. 제2 예측 영역(1535)에 대해서는 좌측/하좌측 참조 샘플(1543) 및/또는 이미 복원된 제1 예측 영역(1533)의 일부 샘플(1545)을 이용하여 예측을 수행할 수 있다. 이때, 제2 예측 영역(1535)의 예측에 이용되는 제1 예측 영역(1533)의 일부 샘플(1545)은 제2 예측 영역(1535)에 인접한 제1 예측 영역(1533)의 샘플로서 제2 예측 영역(1535)에 대한 예측이 수행되기 전에 복원된 샘플이다.In the example of FIG. 15C, for the first prediction region 1533 of the current block 1530, an upper/upper left reference sample 1537-1 or a left/upper left reference sample 1537-2 is used. You can make predictions. In addition, prediction on the first prediction region 1533 may be performed using the upper/right upper reference samples 1540. For the second prediction region 1535, prediction may be performed by using the left/lower left reference samples 1543 and/or some samples 1545 of the previously reconstructed first prediction region 1533. In this case, a partial sample 1545 of the first prediction area 1533 used for prediction of the second prediction area 1535 is a sample of the first prediction area 1533 adjacent to the second prediction area 1535 and the second prediction This is a sample reconstructed before prediction for the region 1535 is performed.

도 15(D)의 예에서, 현재 블록(1550)의 제1 예측 영역(1553)에 대해서는 상측/상좌측 참조 샘플(1557-1) 또는 좌측/상좌측 참조 샘플(1557-2)을 이용하여 예측을 수행할 수 있다. 제2 예측 영역(1555)에 대해서는 상측/상우측 참조 샘플(1560-1), 좌측/하좌측 참조 샘플(1560-2) 및/또는 이미 복원된 제1 예측 영역(1553)의 일부 샘플(1563)을 이용하여 예측을 수행할 수 있다. 이때, 제2 예측 영역(1555)의 예측에 이용되는 제1 예측 영역(1553)의 일부 샘플(1563)은 제2 예측 영역(1555)에 인접한 제1 예측 영역(1553)의 샘플로서 제2 예측 영역(1555)에 대한 예측이 수행되기 전에 복원된 샘플이다. In the example of FIG. 15(D), for the first prediction region 1553 of the current block 1550, an upper/top left reference sample 1557-1 or a left/top left reference sample 1557-2 is used. You can make predictions. For the second prediction region 1555, an upper/right side reference sample 1563-1, a left/lower left reference sample 1560-2, and/or a partial sample 1563 of the previously reconstructed first prediction region 1553 ) Can be used to perform prediction. In this case, a partial sample 1563 of the first prediction area 1553 used for prediction of the second prediction area 1555 is a sample of the first prediction area 1553 adjacent to the second prediction area 1555, and the second prediction This is a sample reconstructed before prediction for the region 1555 is performed.

도 15(E)의 예에서, 현재 블록(1565)의 제1 예측 영역(1567)에 대해서는 상측/상좌측 참조 샘플(1575-1) 또는 좌측/상좌측 참조 샘플(1575-2)을 이용하여 예측을 수행할 수 있다. 또한, 상측/우상측 참조 샘플(1577)을 이용하여 제1 예측 영역(1567)에 대한 예측을 수행할 수도 있다. 제2 예측 영역(1570)에 대해서는 좌측/하좌측 및 상측/상좌측 참조 샘플(1580) 및/또는 이미 복원된 제1 예측 영역(1567)의 일부 샘플(1583)을 이용하여 예측을 수행할 수 있다. 또한, 제3 예측 영역(1573)에 대해서는 상측/상우측 참조 샘플(1589) 및/또는 이미 복원된 제1 예측 영역(1567)의 일부 샘플(1587)을 이용하여 예측을 수행할 수 있다. 이때, 제2 예측 영역(1570)과 제3 예측 영역(1573)의 예측에 이용되는 제1 예측 영역(1567)의 일부 샘플(1583, 1587)은 각각 제2 예측 영역(1570)과 제3 예측 영역(1573)에 인접한 제1 예측 영역(1567)의 샘플로서 제2 예측 영역(1570)과 제3 예측 영역(1573)에 대한 예측이 수행되기 전에 복원된 샘플이다.In the example of FIG. 15(E), for the first prediction region 1567 of the current block 1565, an upper/top left reference sample 1575-1 or a left/top left reference sample 1575-2 is used. You can make predictions. In addition, prediction on the first prediction region 1567 may be performed using the upper/right upper reference samples 1577. For the second prediction region 1570, prediction may be performed using the left/lower left and upper/upper left reference samples 1580 and/or some samples 1583 of the previously restored first prediction region 1567. have. Also, for the third prediction area 1573, prediction may be performed using the upper/right side reference samples 1589 and/or some samples 1587 of the previously reconstructed first prediction area 1567. In this case, some samples 1583 and 1587 of the first prediction area 1567 used for prediction of the second prediction area 1570 and the third prediction area 1567 are respectively the second prediction area 1570 and the third prediction area. As a sample of the first prediction area 1567 adjacent to the area 1573, this is a sample reconstructed before prediction of the second prediction area 1570 and the third prediction area 1573 is performed.

도 15를 참조하면, 도 15(A) 내지 도 15(D)에서의 제2 예측 영역(P2)과 도 15(E)에서의 제2 예측 영역(P2)와 제3 예측 영역(P3)은 다른 복원 샘플보다 제1 예측 영역(P1)과 많이 인접해 있으므로, 이런 경우에는 제2 예측 영역(P2) 및 제3 예측 영역(P3)의 예측 모드 후보를 제1 예측 영역(P1)의 예측에 이용가능 했던 예측 모드들(참조 샘플(1507, 1523-1, 1523-2, 1537-1, 1537-2, 1540, 1557-1, 1557-2, 1575-1, 1575-2, 1577 등)을 이용하는 예측 모드)로 제한할 수 있다. Referring to FIG. 15, a second prediction area P2 in FIGS. 15A to 15D and a second prediction area P2 and a third prediction area P3 in FIG. 15E are Since it is more adjacent to the first prediction area P1 than other reconstructed samples, in this case, prediction mode candidates of the second prediction area P2 and the third prediction area P3 are used for prediction of the first prediction area P1. The prediction modes that were available (reference samples (1507, 1523-1, 1523-2, 1537-1, 1537-2, 1540, 1557-1, 1557-2, 1575-1, 1575-2, 1577, etc.) It can be limited to the prediction mode used).

혹은, 도 15(A) 내지 도 15(E)의 제2 예측 영역(P2) 및 제3 예측 영역(P3)과 인접한 영역의 예측에 이용된 예측 모드들만으로 제2 예측 영역(P2) 및 제3 예측 영역(P3)에 대한 예측 모드 후보를 구성할 수도 있다.Alternatively, only the prediction modes used for prediction of the area adjacent to the second prediction area P2 and the third prediction area P3 of FIGS. 15A to 15E are used for the second prediction area P2 and the third prediction area. A prediction mode candidate may be configured for the prediction region P3.

또한, 상기 두 예를 조합하여, 제1 예측 영역(P1)의 예측에 이용가능 했던 예측 모드들(참조 샘플(1507, 1523-1, 1523-2, 1537-1, 1537-2, 1540, 1557-1, 1557-2, 1575-1, 1575-2, 1577 등)을 이용하는 예측 모드)과, 제1 예측 영역(P1)을 제외한 나머지 영역 중 제2 예측 영역(P2) 혹은 제3 예측 영역(P3)과 인접한 영역의 예측 모드들로 제2 예측 영역(P2) 혹은 제3 예측 영역(P3)의 예측 모드 후보를 구성할 수 있다. In addition, by combining the above two examples, prediction modes that were available for prediction of the first prediction region P1 (reference samples 1507, 1523-1, 1523-2, 1537-1, 1537-2, 1540, 1557 -1, 1557-2, 1575-1, 1575-2, 1577, etc.) and the second prediction area P2 or the third prediction area (out of the remaining areas excluding the first prediction area P1) ( Prediction mode candidates of the second prediction area P2 or the third prediction area P3 may be formed by prediction modes of a region adjacent to P3).

한편, 도 15에서 예시한 바와 같이, 예측 영역의 모양과 위치에 따라서 예측 영역에 대한 예측에 사용 가능한 샘플의 모양과 범위가 달라지게 된다. 도 15(A)와 도 15(E)의 제2 예측 영역(P2)의 경우와 같이, 참조 샘플들이 예측 영역을 상당 부분 둘러싸는 경우에는, 양방향 예측 예컨대, 양쪽 예측 값의 가중합으로 해당 예측 영역에 대한 예측을 수행하는 것이 더 좋은 예측 효율을 가져올 수도 있다.Meanwhile, as illustrated in FIG. 15, the shape and range of samples that can be used for prediction for the prediction area vary according to the shape and position of the prediction area. As in the case of the second prediction area P2 of FIGS. 15A and 15E, when the reference samples substantially surround the prediction area, bidirectional prediction, for example, the weighted sum of both prediction values Performing prediction on the region may result in better prediction efficiency.

도 15에서 설명한 방법에 따라서, 각 예측 영역에 대한 후보 예측 모드를 설정할 수 있으며, 부호화기는 이중 하나의 예측 모드를 선택하여 예측 영역에 대한 예측을 수행할 수 있다. 예측 모드의 선택은 RDO(Rate Distortion Optimization) 등과 같은 압축 효율을 고려하여 결정될 수 있다. 부호화기는 선택된 예측 모드에 관한 정보를 복호화기에 전송할 수도 있다. According to the method described with reference to FIG. 15, a candidate prediction mode for each prediction region may be set, and the encoder may perform prediction on the prediction region by selecting one of the prediction modes. The selection of the prediction mode may be determined in consideration of compression efficiency such as Rate Distortion Optimization (RDO). The encoder may transmit information on the selected prediction mode to the decoder.

또한, 복호화기에서는 부호화기와 동일한 방법에 의하여 후보 예측 모드를 설정한 후, 현재 예측 영역에 적용할 예측 모드를 선택할 수도 있고, 부호화기로부터 전송된 정보가 지시하는 예측 모드를 현재 예측 블록에 적용할 수도 있다. In addition, the decoder may select a prediction mode to be applied to the current prediction region after setting the candidate prediction mode by the same method as the encoder, or may apply a prediction mode indicated by information transmitted from the encoder to the current prediction block. have.

도 15에서는 도시된 바와 같이 예측 영역들에 대한 참조 샘플(예측 모드)을 선택하였으나, 이는 설명의 편의를 위한 예들에 불과하며, 각 예측 영역에 대한 참조 샘플(예측 모드)은 예측 영역의 특성에 따라 다양하게 선택될 수 있다. In FIG. 15, reference samples (prediction modes) for prediction regions are selected as shown, but these are only examples for convenience of explanation, and reference samples (prediction modes) for each prediction region are based on the characteristics of the prediction regions. It can be selected in a variety of ways.

도 16은 본 발명이 적용되는 시스템에서 현재 예측 영역의 예측 모드를 결정하는 예들을 개략적으로 도시한 것이다. 16 schematically illustrates examples of determining a prediction mode of a current prediction region in a system to which the present invention is applied.

도 16(A)는 현재 블록(1600) 내 제1 예측 영역(P1)과 제2 예측 영역(P2)에 대하여, 제1 예측 영역(P1)의 예측 모드(1610)를 제2 예측 영역(P2)의 예측 모드(1620)로 사용하는 예를 개략적으로 나타내고 있다. 이 경우, 제1 예측 영역(P1)의 예측 모드(1610)를 그대로 제2 예측 영역(P2)의 예측 모드로 사용하는 대신에, 제1 예측 영역(P1)의 예측 모드(1610)과 유사한 각도를 가지는 예측 모드를 제2 예측 영역(1620)의 예측 모드로 사용할 수도 있다. 또한, 제1 예측 영역(P1)의 예측 모드가 DC 모드이거나 플래너(planar) 모드인 경우에는, 제2 예측 영역(P2)의 예측 모드로 DC 모드 또는 플래너 모드를 사용할 수도 있다. 16(A) shows the prediction mode 1610 of the first prediction area P1 and the second prediction area P2 for the first prediction area P1 and the second prediction area P2 in the current block 1600. ) Schematically shows an example of use in the prediction mode 1620. In this case, instead of using the prediction mode 1610 of the first prediction area P1 as the prediction mode of the second prediction area P2 as it is, an angle similar to the prediction mode 1610 of the first prediction area P1 A prediction mode having a may be used as a prediction mode of the second prediction region 1620. In addition, when the prediction mode of the first prediction area P1 is a DC mode or a planar mode, a DC mode or a planar mode may be used as the prediction mode of the second prediction area P2.

도 16(B)는 현재 블록(1630) 내 제1 예측 영역(P1)과 제2 예측 영역(P2)에 대하여, 제2 예측 영역(P2)와 인접한 블록의 예측 모드를 제2 예측 영역(P2)의 예측 모드(1660)로 사용하는 예를 개략적으로 나타내고 있다. 예컨대, 제2 예측 영역(P2)의 좌측 영역의 예측 모드(1650) 또는 제2 예측 영역(P2)과 접하는 제1 예측 영역(P1)의 예측 모드(1640) 중에서 제2 예측 영역(P2)의 예측 모드(1660)를 결정할 수 있다. 16(B) shows a prediction mode of a block adjacent to the second prediction area P2 with respect to the first prediction area P1 and the second prediction area P2 in the current block 1630 as a second prediction area P2. ) Schematically shows an example of using the prediction mode 1660. For example, of the prediction mode 1650 of the left area of the second prediction area P2 or the prediction mode 1640 of the first prediction area P1 in contact with the second prediction area P2. A prediction mode 1660 may be determined.

도 16(C)는 도 16(A)와 도 16(B)를 조합한 예를 도시하고 있다. 도 16(C)에서는 제2 예측 영역(P2)과 인접한 블록의 예측 모드(1680, 1690) 및 인접한 블록의 예측 모드(1680, 1690)와 유사한 예측 모드 중에서 제2 예측 영역(P2)의 예측 모드(1699)를 결정할 수 있다. Fig. 16(C) shows an example in which Figs. 16(A) and 16(B) are combined. In FIG. 16C, a prediction mode of the second prediction region P2 among prediction modes 1680 and 1690 of a block adjacent to the second prediction region P2 and prediction modes 1680 and 1690 of the adjacent block. (1699) can be determined.

도 16의 예에서 설명한 바와 같이, 부호화기는 현재 예측 영역에 적용될 예측 모드를 선택할 수 있다. 주변 블록(제1 예측 영역 포함)의 예측 모드와 유사한 각도를 가지는 예측 모드를 포함하는 후보군에서 예측 모드를 선택하는 경우에는, RDO(Rate Distortion Optimization) 등과 같은 압축 효율을 고려하여 결정될 수 있다. 부호화기는 선택된 예측 모드에 관한 정보를 복호화기에 전송할 수도 있다. As described in the example of FIG. 16, the encoder may select a prediction mode to be applied to the current prediction region. When a prediction mode is selected from a candidate group including a prediction mode having a similar angle to a prediction mode of a neighboring block (including the first prediction region), it may be determined in consideration of compression efficiency such as Rate Distortion Optimization (RDO). The encoder may transmit information on the selected prediction mode to the decoder.

또한, 복호화기에서는 부호화기와 동일한 방법에 의하여 후보 예측 모드를 설정한 후, 현재 예측 영역에 적용할 예측 모드를 선택할 수 있다. 따라서, 두 번째 예측 영역(제2 예측 영역) 이후의 예측 영역(제3 예측 영역, 제4 예측 영역, …)에 어떤 예측 모드를 선택할 것인지는, 제1 예측 영역에 대한 예측 모드 및/또는 예측 영역의 분할 구조 등에 따라서 부호화기와 복호화기 사이에 미리 설정되어 있을 수도 있다. 또한, 복호화기는 부호화기로부터 전송된 정보가 지시하는 예측 모드를 현재 예측 블록에 적용할 수도 있다.In addition, the decoder may select a prediction mode to be applied to the current prediction region after setting the candidate prediction mode by the same method as the encoder. Therefore, the prediction mode to be selected for the prediction area (the third prediction area, the fourth prediction area, ...) after the second prediction area (the second prediction area) is determined by the prediction mode and/or the prediction area for the first prediction area. It may be set in advance between the encoder and the decoder according to the split structure of Also, the decoder may apply the prediction mode indicated by information transmitted from the encoder to the current prediction block.

상술한 예시적인 시스템에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 상술한 실시예들은 다양한 양태의 예시들을 포함한다. 따라서, 본 발명은 이하의 특허청구범위 내에 속하는 모든 다른 교체, 수정 및 변경을 포함한다고 할 것이다.In the exemplary system described above, the methods are described on the basis of a flowchart as a series of steps or blocks, but the present invention is not limited to the order of the steps, and certain steps may occur in a different order or concurrently with the steps described above. I can. In addition, the above-described embodiments include examples of various aspects. Accordingly, the present invention will be said to cover all other replacements, modifications and changes falling within the scope of the following claims.

지금까지 본 발명에 관한 설명에서 일 구성 요소가 타 구성 요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 상기 일 다른 구성 요소가 상기 타 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 상기 두 구성 요소 사이에 다른 구성 요소가 존재할 수도 있다고 이해되어야 한다. 반면에, 일 구성 요소가 타 구성 요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 두 구성 요소 사이에 다른 구성요소가 존재하지 않는 것으로 이해되어야 한다.Until now, in the description of the present invention, when one component is referred to as being "connected" or "connected" to another component, the other component is directly connected or connected to the other component. Although there may be, it should be understood that other components may exist between the two components. On the other hand, when it is mentioned that one component is "directly connected" or "directly connected" to another component, it should be understood that no other component exists between the two components.

Claims (13)

현재 블록에 대한 예측 모드를 인트라 예측 모드로 결정하는 단계;
상기 현재 블록을 제1 하위 블록과 제2 하위 블록을 포함하는 적어도 2 이상의 하위 블록들로 분할하는 단계;
상기 제1 하위 블록에 대한 인트라 예측을 수행하는 단계;
상기 제2 하위 블록에 대한 인트라 예측을 수행하는 단계; 및
상기 제 1 하위 블록 및 상기 제 2 하위 블록에 대한 인트라 예측 결과를 이용하여 상기 현재 블록에 대한 예측 블록을 획득하는 단계를 포함하며,
상기 제2 하위 블록에 대한 인트라 예측 단계에서는,
상기 제1 하위 블록에 대한 참조 샘플 또는 상기 복원된 제1 하위 블록 내 소정의 샘플을 참조하여 상기 제2 하위 블록에 대한 인트라 예측을 수행하고,
상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제1 하위 블록에 적용되는 인트라 예측 모드 및 상기 제1 하위 블록에 적용되는 인트라 예측 모드와 유사한 각도의 인트라 예측 모드 중 하나이고,
상기 적어도 2 이상의 하위 블록들은 상기 현재 블록을 가로 방향으로만 분할하여 획득된 블록들인 것을 특징으로 하는 영상 정보 복호화 방법.
Determining a prediction mode for the current block as an intra prediction mode;
Dividing the current block into at least two sub-blocks including a first sub-block and a second sub-block;
Performing intra prediction on the first sub-block;
Performing intra prediction on the second sub-block; And
And obtaining a prediction block for the current block by using intra prediction results for the first sub-block and the second sub-block,
In the intra prediction step for the second sub-block,
Intra prediction for the second sub-block is performed with reference to a reference sample for the first sub-block or a predetermined sample in the reconstructed first sub-block,
An intra prediction mode applied to the second sub-block is one of an intra prediction mode applied to the first sub-block and an intra prediction mode having a similar angle to the intra prediction mode applied to the first sub-block,
The at least two sub-blocks are blocks obtained by dividing the current block only in a horizontal direction.
제1항에 있어서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신되며,
상기 현재 블록 분할 단계에서는, 상기 인트라 예측 모드를 사용하는 경우에 기준치 이상의 레지듀얼 신호가 존재하는 영역을 상기 제2 하위 블록으로 설정하는 것을 특징으로 하는 영상 정보 복호화 방법.
The method of claim 1, wherein information on the intra prediction mode is received from an encoder,
In the current block division step, when the intra prediction mode is used, a region in which a residual signal equal to or greater than a reference value exists is set as the second sub-block.
제1항에 있어서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신되며,
상기 제2 하위 블록은 상기 인트라 예측 모드의 참조 샘플로부터 현재 블록 내에서 가장 먼 위치의 영역인 것을 특징으로 하는 영상 정보 복호화 방법.
The method of claim 1, wherein information on the intra prediction mode is received from an encoder,
And the second sub-block is a region at a position farthest from the reference sample of the intra prediction mode in the current block.
제1항에 있어서, 상기 인트라 예측 모드에 관한 정보는 부호화기로부터 수신되며,
상기 제1 하위 블록 및 제2 하위 블록은 인트라 예측 모드별로 미리 설정되는 것을 특징으로 하는 영상 정보 복호화 방법.
The method of claim 1, wherein information on the intra prediction mode is received from an encoder,
The first sub-block and the second sub-block are preset for each intra prediction mode.
제1항에 있어서, 상기 제2 하위 블록에 대한 인트라 예측은 상기 제1 하위 블록 내 샘플을 참조하여 수행되는 것을 특징으로 하는 영상 정보 복호화 방법.The method of claim 1, wherein intra prediction for the second sub-block is performed by referring to samples within the first sub-block. 제1항에 있어서, 상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제1 하위 블록에 대한 후보 인트라 예측 모드 중에서 선택되는 것을 특징으로 하는 영상 정보 복호화 방법.The method of claim 1, wherein an intra prediction mode applied to the second sub-block is selected from among candidate intra prediction modes for the first sub-block. 제1항에 있어서, 상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제2 하위 블록에 인접한 블록에 적용된 인트라 예측 모드 및 상기 제2 하위 블록에 인접한 블록에 적용된 인트라 예측 모드와 유사한 각도의 인트라 예측 모드 중 하나인 것을 특징으로 하는 영상 정보 복호화 방법.The intra prediction mode of claim 1, wherein the intra prediction mode applied to the second sub-block is an intra prediction mode applied to a block adjacent to the second sub-block and an intra prediction mode applied to a block adjacent to the second sub-block. Video information decoding method, characterized in that one of the prediction modes. 현재 블록의 예측 모드를 인트라 예측 모드로 결정하는 단계;
상기 현재 블록을 제1 하위 블록과 제2 하위 블록을 포함하는 적어도 2 이상의 하위 블록들로 분할하는 단계;
상기 제1 하위 블록에 대한 인트라 예측을 수행하는 단계;
상기 제2 하위 블록에 대한 인트라 예측을 수행하는 단계; 및
상기 현재 블록의 상기 인트라 예측 모드에 관한 정보를 전송하는 단계를 포함하며,
상기 제2 하위 블록에 대한 인트라 예측 단계에서는,
상기 제1 하위 블록에 대한 참조 샘플 또는 상기 복원된 제1 하위 블록 내 소정의 샘플을 참조하여 상기 제2 하위 블록에 대한 인트라 예측을 수행하고,
상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제1 하위 블록에 적용되는 인트라 예측 모드 및 상기 제1 하위 블록에 적용되는 인트라 예측 모드와 유사한 각도의 인트라 예측 모드 중 하나이고,
상기 적어도 2 이상의 하위 블록들은 상기 현재 블록을 가로 방향으로만 분할하여 획득된 블록들인 것을 특징으로 하는 영상 정보 부호화 방법.
Determining a prediction mode of the current block as an intra prediction mode;
Dividing the current block into at least two sub-blocks including a first sub-block and a second sub-block;
Performing intra prediction on the first sub-block;
Performing intra prediction on the second sub-block; And
And transmitting information on the intra prediction mode of the current block,
In the intra prediction step for the second sub-block,
Intra prediction for the second sub-block is performed with reference to a reference sample for the first sub-block or a predetermined sample in the reconstructed first sub-block,
An intra prediction mode applied to the second sub-block is one of an intra prediction mode applied to the first sub-block and an intra prediction mode having a similar angle to the intra prediction mode applied to the first sub-block,
The at least two sub-blocks are blocks obtained by dividing the current block only in a horizontal direction.
제8항에 있어서, 상기 현재 블록 분할 단계에서는, 상기 인트라 예측 모드를 사용하는 경우에 기준치 이상의 레지듀얼 신호가 존재하는 영역을 상기 제2 하위 블록으로 설정하는 것을 특징으로 하는 영상 정보 부호화 방법.The method of claim 8, wherein in the current block division step, when the intra prediction mode is used, a region in which a residual signal equal to or greater than a reference value exists is set as the second sub-block. 제8항에 있어서, 상기 제2 하위 블록은 상기 인트라 예측 모드의 참조 샘플로부터 현재 블록 내에서 가장 먼 위치의 영역인 것을 특징으로 하는 영상 정보 부호화 방법.9. The method of claim 8, wherein the second sub-block is a region at a position farthest from the reference sample of the intra prediction mode in the current block. 제10항에 있어서, 상기 변환 영역은 상기 제1 하위 블록 및 제2 하위 블록과 동일한 크기의 영역이거나 상기 제1 하위 블록 또는 제2 하위 블록이 정방형 또는 비정방형으로 분할된 영역인 것을 특징으로 하는 영상 정보 부호화 방법.The method of claim 10, wherein the transform region is a region having the same size as the first sub-block and the second sub-block, or a region in which the first sub-block or the second sub-block is divided into a square or amorphous shape. Video information encoding method. 제10항에 있어서, 상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제2 하위 블록에 인접하는 블록의 인트라 예측 모드 및 상기 제2 하위 블록에 인접하는 블록의 인트라 예측 모드와 유사한 각도의 인트라 예측 모드 중 하나인 것을 특징으로 하는 영상 정보 부호화 방법.The method of claim 10, wherein the intra prediction mode applied to the second sub-block is an intra prediction mode of a block adjacent to the second sub-block and an intra prediction mode of a block adjacent to the second sub-block. Image information encoding method, characterized in that one of the prediction modes. 비트스트림을 저장하는 비일시적 컴퓨터 판독가능한 기록매체에 있어서,
현재 블록의 예측 모드를 인트라 예측 모드로 결정하는 단계;
상기 현재 블록을 제1 하위 블록과 제2 하위 블록을 포함하는 적어도 2 이상의 하위 블록들로 분할하는 단계;
상기 제1 하위 블록에 대한 인트라 예측을 수행하는 단계;
상기 제2 하위 블록에 대한 인트라 예측을 수행하는 단계; 및
상기 현재 블록의 상기 인트라 예측 모드에 관한 정보를 전송하는 단계를 포함하며,
상기 제2 하위 블록에 대한 인트라 예측 단계에서는,
상기 제1 하위 블록에 대한 참조 샘플 또는 상기 복원된 제1 하위 블록 내 소정의 샘플을 참조하여 상기 제2 하위 블록에 대한 인트라 예측을 수행하고,
상기 제2 하위 블록에 적용되는 인트라 예측 모드는 상기 제1 하위 블록에 적용되는 인트라 예측 모드 및 상기 제1 하위 블록에 적용되는 인트라 예측 모드와 유사한 각도의 인트라 예측 모드 중 하나이고,
상기 적어도 2 이상의 하위 블록들은 상기 현재 블록을 가로 방향으로만 분할하여 획득된 블록들인 것을 특징으로 하는 영상 정보 부호화 방법에 의해 생성된 비트스트림을 저장하는 비일시적 컴퓨터 판독가능한 기록매체.
In the non-transitory computer readable recording medium storing a bitstream,
Determining a prediction mode of the current block as an intra prediction mode;
Dividing the current block into at least two sub-blocks including a first sub-block and a second sub-block;
Performing intra prediction on the first sub-block;
Performing intra prediction on the second sub-block; And
And transmitting information on the intra prediction mode of the current block,
In the intra prediction step for the second sub-block,
Intra prediction for the second sub-block is performed with reference to a reference sample for the first sub-block or a predetermined sample in the reconstructed first sub-block,
An intra prediction mode applied to the second sub-block is one of an intra prediction mode applied to the first sub-block and an intra prediction mode having a similar angle to the intra prediction mode applied to the first sub-block,
The at least two or more sub-blocks are blocks obtained by dividing the current block only in a horizontal direction. A non-transitory computer-readable recording medium for storing a bitstream generated by the image information encoding method.
KR1020200164755A 2011-07-05 2020-11-30 Encoding And Decoding Methods For Video Information KR102333153B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210164674A KR102438021B1 (en) 2011-07-05 2021-11-25 Encoding And Decoding Methods For Video Information

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR20110066402 2011-07-05
KR1020110066402 2011-07-05
KR1020120071616A KR102187246B1 (en) 2011-07-05 2012-07-02 Encoding And Decoding Methods For Video Information

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020120071616A Division KR102187246B1 (en) 2011-07-05 2012-07-02 Encoding And Decoding Methods For Video Information

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020210164674A Division KR102438021B1 (en) 2011-07-05 2021-11-25 Encoding And Decoding Methods For Video Information

Publications (2)

Publication Number Publication Date
KR20200139116A true KR20200139116A (en) 2020-12-11
KR102333153B1 KR102333153B1 (en) 2021-12-01

Family

ID=47437546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200164755A KR102333153B1 (en) 2011-07-05 2020-11-30 Encoding And Decoding Methods For Video Information

Country Status (2)

Country Link
KR (1) KR102333153B1 (en)
WO (1) WO2013005967A2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140133559A1 (en) * 2011-07-05 2014-05-15 Electronics And Telecommunications Research Institute Method for encoding image information and method for decoding same
KR102145439B1 (en) * 2015-03-23 2020-08-18 엘지전자 주식회사 Intra prediction mode based image processing method and apparatus therefor
CN115442614A (en) * 2016-01-27 2022-12-06 韩国电子通信研究院 Method and apparatus for encoding and decoding video by using prediction
CN109565591B (en) * 2016-08-03 2023-07-18 株式会社Kt Method and apparatus for encoding and decoding video
KR102528387B1 (en) * 2017-01-09 2023-05-03 에스케이텔레콤 주식회사 Apparatus and Method for Video Encoding or Decoding
CN117294840A (en) * 2017-05-17 2023-12-26 株式会社Kt Method for decoding video and method for encoding video
WO2019245340A1 (en) 2018-06-21 2019-12-26 주식회사 케이티 Method and apparatus for processing video signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070027236A (en) * 2005-09-06 2007-03-09 삼성전자주식회사 Method and apparatus for intra prediction of video
KR20070027237A (en) * 2005-09-06 2007-03-09 삼성전자주식회사 Method and apparatus for intra prediction of video
WO2010113227A1 (en) * 2009-03-31 2010-10-07 パナソニック株式会社 Image decoding device
KR20130109963A (en) * 2010-05-17 2013-10-08 엘지전자 주식회사 New intra prediction modes
KR102187246B1 (en) * 2011-07-05 2020-12-04 한국전자통신연구원 Encoding And Decoding Methods For Video Information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002209213A (en) * 2000-12-28 2002-07-26 Sony Corp Motion vector detection method and device, and image coder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070027236A (en) * 2005-09-06 2007-03-09 삼성전자주식회사 Method and apparatus for intra prediction of video
KR20070027237A (en) * 2005-09-06 2007-03-09 삼성전자주식회사 Method and apparatus for intra prediction of video
WO2010113227A1 (en) * 2009-03-31 2010-10-07 パナソニック株式会社 Image decoding device
KR20130109963A (en) * 2010-05-17 2013-10-08 엘지전자 주식회사 New intra prediction modes
KR102187246B1 (en) * 2011-07-05 2020-12-04 한국전자통신연구원 Encoding And Decoding Methods For Video Information

Also Published As

Publication number Publication date
KR102333153B1 (en) 2021-12-01
WO2013005967A2 (en) 2013-01-10
WO2013005967A3 (en) 2013-03-14

Similar Documents

Publication Publication Date Title
KR102438021B1 (en) Encoding And Decoding Methods For Video Information
RU2765234C1 (en) Method for internal prediction and the encoder and decoder using it
KR102442270B1 (en) Method for intra prediction and apparatus thereof
KR102409443B1 (en) Method and apparatus for encoding/decoding image and recording medium for storing bitstream
KR102333153B1 (en) Encoding And Decoding Methods For Video Information
JP6164660B2 (en) Divided block encoding method in video encoding, divided block decoding method in video decoding, and recording medium for realizing the same
KR20220151140A (en) Method for image encoding and computer readable redording meduim thereof
US20200051288A1 (en) Image processing method, and image decoding and encoding method using same
KR102061201B1 (en) Methods of transformation based on block information and appratuses using the same
KR102358871B1 (en) Method for intra prediction and apparatus thereof
KR20170058838A (en) Method and apparatus for encoding/decoding of improved inter prediction
US11070831B2 (en) Method and device for processing video signal
KR20180005119A (en) Method and apparatus for processing a video signal
KR102315455B1 (en) Transformation-based video coding method and apparatus
KR20180058224A (en) Modeling-based image decoding method and apparatus in video coding system
KR102416804B1 (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
JP7387925B2 (en) Transformations in intra-prediction-based video coding
JP2024038412A (en) Video signal encoding/decoding method and equipment
KR20210008105A (en) Video encoding/decoding method and apparatus
KR20130045807A (en) Method for predicting quantization parameter based on intra prediction mode and apparatus using the same
KR20220098114A (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
KR102639255B1 (en) Methods of coding intra prediction mode using two candidate intra prediction modes and apparatuses using the same
KR102069784B1 (en) Methods of coding intra prediction mode using two candidate intra prediction modes and apparatuses using the same
KR20240049540A (en) Method and apparatus for encoding/decoding image and recording medium for storing bitstream
KR20240049541A (en) Method and apparatus for encoding/decoding image and recording medium for storing bitstream

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right