KR101652072B1 - A method and an apparatus for searching motion information of a multi-layer video - Google Patents

A method and an apparatus for searching motion information of a multi-layer video Download PDF

Info

Publication number
KR101652072B1
KR101652072B1 KR1020140151192A KR20140151192A KR101652072B1 KR 101652072 B1 KR101652072 B1 KR 101652072B1 KR 1020140151192 A KR1020140151192 A KR 1020140151192A KR 20140151192 A KR20140151192 A KR 20140151192A KR 101652072 B1 KR101652072 B1 KR 101652072B1
Authority
KR
South Korea
Prior art keywords
motion vector
value
layer
current block
block
Prior art date
Application number
KR1020140151192A
Other languages
Korean (ko)
Other versions
KR20160051344A (en
Inventor
한종기
정연경
Original Assignee
세종대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 세종대학교산학협력단 filed Critical 세종대학교산학협력단
Priority to KR1020140151192A priority Critical patent/KR101652072B1/en
Publication of KR20160051344A publication Critical patent/KR20160051344A/en
Application granted granted Critical
Publication of KR101652072B1 publication Critical patent/KR101652072B1/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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/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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame 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/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/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability

Landscapes

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

Abstract

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법은 인핸스먼트 레이어의 현재 블록에 대응하는 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 베이스 레이어의 제1 특징값을 산출하고, 제1 특징값에 기초하여 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값을 획득하며, 현재 블록의 움직임 벡터 초기값에 기초하여 현재 블록의 움직임 벡터를 추정하는 것을 특징으로 한다.A method for searching motion information of a multi-layer video according to the present invention includes the steps of calculating a first feature value of a base layer using encoding information of a reference block of a base layer corresponding to a current block of an enhancement layer, Acquires a motion vector initial value of a current block of an enhancement layer, and estimates a motion vector of a current block based on a motion vector initial value of the current block.

Description

멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치 {A METHOD AND AN APPARATUS FOR SEARCHING MOTION INFORMATION OF A MULTI-LAYER VIDEO}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a method and apparatus for detecting motion information of a multi-

본 발명은 멀티 레이어 비디오의 움직임 정보 탐색에 관한 것이다.The present invention relates to motion information search of multi-layer video.

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

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

한편, 고해상도 영상에 대한 수요가 증가함과 함께, 새로운 영상 서비스로서 입체 영상 컨텐츠에 대한 수요도 함께 증가하고 있다. 고해상도 및 초고해상도의 입체 영상 콘텐츠를 효과적으로 제공하기 위한 비디오 압축 기술에 대하여 논의가 진행되고 있다.On the other hand, demand for high-resolution images is increasing, and demand for stereoscopic image content as a new image service is also increasing. Video compression techniques are being discussed to effectively provide high resolution and ultra-high resolution stereoscopic content.

본 발명은 인핸스먼트 레이어를 부호화함에 있어서, 복잡도를 줄이는 움직임 정보 탐색 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a motion information search method and apparatus for reducing the complexity in coding an enhancement layer.

본 발명은 인핸스먼트 레이어의 움직임 정보를 탐색함에 있어서, 베이스 레이어의 움직임 정보를 적응적으로 이용하는 방법 및 장치를 제공하는 것을 목적으로 한다.The present invention provides a method and apparatus for adaptively using motion information of a base layer in searching motion information of an enhancement layer.

본 발명은 움직임 정보를 탐색하는데 고려되는 움직임 벡터 해상도를 적응적으로 결정하는 방법 및 장치를 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and apparatus for adaptively determining motion vector resolution to be considered for motion information search.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치는, 인핸스먼트 레이어의 현재 블록에 대응하는 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 상기 베이스 레이어의 제1 특징값을 산출하고, 상기 제1 특징값에 기초하여 상기 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값을 획득하며, 상기 현재 블록의 움직임 벡터 초기값에 기초하여 상기 현재 블록의 움직임 벡터를 추정하는 것을 특징으로 한다.A method and apparatus for searching motion information of a multi-layer video according to the present invention includes the steps of calculating a first feature value of the base layer using encoding information of a reference block of a base layer corresponding to a current block of an enhancement layer, 1 feature value, and estimates a motion vector of the current block based on a motion vector initial value of the current block.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 참조 블록의 부호화 정보는 상기 참조 블록의 움직임 정보 또는 상기 참조 블록의 텍스쳐 정보 중 적어도 하나를 포함하고, 상기 움직임 정보는 움직임 벡터, 움직임 벡터 차분값 또는 움직임 벡터 예측값 중 적어도 하나를 포함하는 것을 특징으로 한다.The coding information of the reference block includes at least one of motion information of the reference block and texture information of the reference block. The motion information includes a motion vector , A motion vector difference value or a motion vector prediction value.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 제1 특징값은 상기 참조 블록의 움직임 벡터 차분값, 움직임 벡터들 간의 거리값(Euclidian Distance), 움직임 벡터 예측값의 크기 또는 화소값들의 분산값 중 어느 하나를 이용하여 산출되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, the first feature value may be a motion vector difference value of the reference block, a distance value between motion vectors, And the variance of the values.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 현재 블록의 움직임 벡터 초기값은 상기 제1 특징값과 제1 임계값 간의 비교 결과에 기초하여 획득되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, a motion vector initial value of the current block is obtained based on a result of comparison between the first feature value and the first threshold value.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 제1 특징값이 상기 제1 임계값보다 작거나 같은 경우, 상기 현재 블록의 움직임 벡터 초기값은 상기 현재 블록의 움직임 벡터 예측값으로 유도되고, 상기 제1 특징값이 상기 제1 임계값보다 큰 경우, 상기 현재 블록의 움직임 벡터 초기값은 상기 참조 블록의 움직임 벡터를 이용하여 유도되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, when the first feature value is less than or equal to the first threshold value, a motion vector initial value of the current block is calculated as a motion vector prediction value And if the first feature value is greater than the first threshold value, the motion vector initial value of the current block is derived using the motion vector of the reference block.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 현재 블록의 움직임 벡터 예측값은 상기 현재 블록에 대한 움직임 벡터 후보 리스트에 포함된 복수 개의 움직임 벡터 후보 중 어느 하나에 해당하는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, the motion vector prediction value of the current block corresponds to any one of a plurality of motion vector candidates included in the motion vector candidate list for the current block .

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 현재 블록의 움직임 벡터 초기값은 상기 참조 블록의 움직임 벡터를 상수값으로 스케일링하여 유도되고, 상기 상수값은 상기 인핸스먼트 레이어와 상기 베이스 레이어 간의 해상도 차이를 고려하여 가변적으로 결정되는 것을 특징으로 한다. The motion vector initial value of the current block is derived by scaling a motion vector of the reference block by a constant value, and the constant value is derived from the motion vector of the enhancement layer And is variably determined in consideration of a difference in resolution between the base layers.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치는, 상기 베이스 레이어의 제2 특징값에 기초하여 움직임 벡터 해상도를 결정하고, 상기 결정된 움직임 벡터 해상도에 따라 상기 현재 블록의 움직임 벡터 초기값을 재설정하는 것을 특징으로 한다.A method and apparatus for searching for motion information of a multi-layer video according to the present invention includes determining a motion vector resolution based on a second feature value of the base layer, and determining an initial motion vector value of the current block according to the determined motion vector resolution And resetting.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 현재 블록의 움직임 벡터는 상기 재설정된 움직임 벡터 초기값을 이용하여 상기 결정된 움직임 벡터 해상도의 단위로 추정되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, a motion vector of the current block is estimated in units of the determined motion vector resolution using the reset motion vector initial value.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 제2 특징값은 상기 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 산출되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, the second feature value is calculated using coding information of a reference block of the base layer.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 움직임 벡터 해상도는 상기 제2 특징값과 제2 쿼터 임계값 간의 비교 및/또는 상기 제2 특징값과 제2 하프 임계값 간의 비교 결과에 기초하여 결정되는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, the motion vector resolution may be determined by comparing the second feature value with a second quaternary threshold value and / or between the second feature value and a second half threshold value And is determined based on the comparison result.

본 발명에 따른 멀티 레이어 비디오의 움직임 정보 탐색 방법 및 장치에 있어서, 상기 움직임 벡터 해상도가 하프 펠 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 1만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하고, 상기 움직임 벡터 해상도가 정수 펠 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 2만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하는 것을 특징으로 한다.In the method and apparatus for searching motion information of a multi-layer video according to the present invention, when the motion vector resolution is a half-pel unit, a shift operation is applied to the motion vector initial value of the current block by 1, And initializing the motion vector initial value of the current block by performing a shift operation by 2 on the motion vector initial value of the current block if the motion vector resolution is a unit of integer pels.

본 발명에 의하면, 베이스 레이어의 부호화 정보를 이용하여 인핸스먼트 레이어에서 움직임 정보의 탐색 영역을 적응적으로 결정함으로써, 부호화 효율을 향상시킬 수 있다.According to the present invention, coding efficiency can be improved by adaptively determining a search region of motion information in an enhancement layer using coding information of a base layer.

본 발명에 의하면, 움직임 벡터 추정시 고려되는 움직임 벡터 해상도를 적응적으로 결정함으로써, 인핸스먼트 레이어의 부호화 복잡도를 줄일 수 있다.According to the present invention, the coding complexity of the enhancement layer can be reduced by adaptively determining the motion vector resolution to be considered in motion vector estimation.

도 1은 본 발명의 일실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.
도 2는 본 발명의 일실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.
도 3은 본 발명이 적용되는 일실시예로서, 베이스 레이어의 부호화 정보를 이용하여 인핸스먼트 레이어의 움직임 벡터를 추정하는 방법을 도시한 것이다.
도 4는 본 발명이 적용되는 일실시예로서, 현재 블록에 대한 움직임 벡터 후보 리스트를 생성하는 방법을 도시한 것이다.
도 5는 본 발명이 적용되는 일실시예로서, 움직임 벡터 후보 리스트에 포함되는 이웃 블록의 범위를 도시한 것이다.
도 6은 본 발명이 적용되는 일실시예로서, 베이스 레이어의 부호화 정보에 따라 움직임 벡터 해상도를 적응적으로 결정하여 인핸스먼트 레이어의 움직임 벡터를 추정하는 방법을 도시한 것이다.
1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.
FIG. 3 illustrates a method of estimating a motion vector of an enhancement layer using coding information of a base layer according to an embodiment of the present invention. Referring to FIG.
FIG. 4 illustrates a method of generating a motion vector candidate list for a current block according to an embodiment of the present invention. Referring to FIG.
FIG. 5 illustrates a range of neighboring blocks included in a motion vector candidate list according to an embodiment of the present invention. Referring to FIG.
FIG. 6 illustrates a method of adaptively determining a motion vector resolution according to encoding information of a base layer and estimating a motion vector of an enhancement layer according to an embodiment of the present invention. Referring to FIG.

이하 첨부된 도면을 참조로 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.  이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and the inventor should appropriately interpret the concepts of the terms appropriately It should be interpreted in accordance with the meaning and concept consistent with the technical idea of the present invention based on the principle that it can be defined. Therefore, the embodiments described in this specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention and do not represent all the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

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

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

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

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

비트스트림 내 복수의 레이어(multi-layer)를 지원하는 비디오의 부호화 및 복호화를 스케일러블 비디오 코딩(scalable video coding)이라고 한다. 복수의 레이어 간에는 강한 연관성(correlation)이 존재하기 때문에 이런 연관성을 이용하여 예측을 수행하면 데이터의 중복 요소를 제거할 수 있고, 영상의 부호화 성능을 향상시킬 수 있다. 다른 레이어의 정보를 이용하여 현재 레이어의 예측을 수행하는 것을 이하에서는 레이어 간 예측(inter-layer prediction) 혹은 인터 레이어 예측이라고 표현한다. The coding and decoding of video supporting a plurality of layers (multi-layers) in a bitstream is referred to as scalable video coding. Since there is a strong correlation between a plurality of layers, it is possible to remove redundant elements of data and improve the coding performance of an image by performing prediction using such a relation. Hereinafter, prediction of the current layer using information of another layer is referred to as inter-layer prediction or inter-layer prediction.

복수의 레이어들은 해상도가 상이할 수 있으며, 여기서 해상도는 공간 해상도, 시간 해상도, 이미지 퀄러티 중 적어도 하나를 의미할 수 있다. 인터 레이어 예측 시 해상도의 조절을 위하여 레이어의 업샘플링(up-sampling) 또는 다운샘플링(down sampling)과 같은 리샘플링(resampling)이 수행될 수 있다.The plurality of layers may have different resolutions, where the resolution may refer to at least one of spatial resolution, temporal resolution, and image quality. Resampling such as up-sampling or down-sampling of a layer may be performed to adjust the resolution in the inter-layer prediction.

또한, 복수의 레이어들은 제1 레이어와 제2 레이어를 포함하고, 여기서 제1 레이어는 인핸스먼트 레이어, 상위 레이어, 현재 레이어 또는 제2 레이어보다 해상도가 높은 레이어 등으로 표현될 수 있고, 제2 레이어는 베이스 레이어, 하위 레이어, 참조 레이어 또는 제1 레이어보다 해상도가 낮은 레이어 등으로 표현될 수 있다.
In addition, the plurality of layers include a first layer and a second layer, wherein the first layer can be expressed as an enhancement layer, an upper layer, a current layer, a layer having a higher resolution than the second layer, May be represented by a base layer, a lower layer, a reference layer, a layer having a lower resolution than the first layer, or the like.

도 1은 본 발명의 일 실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.

본 발명에 따른 부호화 장치(100)는 상위 레이어에 대한 부호화부(100a)와 하위 레이어에 대한 부호화부(100b)를 포함한다.The encoding apparatus 100 according to the present invention includes an encoding unit 100a for an upper layer and an encoding unit 100b for a lower layer.

상위 레이어는 현재 레이어 또는 인핸스먼트 레이어(enhancement layer)로 표현될 수 있으며, 하위 레이어는 상위 레이어보다 해상도가 낮은 인핸스먼트 레이어, 베이스 레이어(base layer) 또는 참조 레이어(reference layer)로 표현될 수 있다. 상위 레이어와 하위 레이어는 공간적 해상도, 프레임 레이트에 따른 시간적 해상도 및 컬러 포맷 또는 양자화 크기에 따른 이미지 퀄리티 중 적어도 하나가 서로 다를 수 있다. 레이어 간 예측을 수행하기 위하여 해상도 변경이 필요한 경우 레이어의 업샘플링 또는 다운샘플링이 수행될 수 있다.The upper layer may be represented by a current layer or an enhancement layer and the lower layer may be represented by an enhancement layer, a base layer, or a reference layer having a resolution lower than that of the upper layer . The upper layer and the lower layer may have different spatial resolution, temporal resolution according to the frame rate, and image quality depending on the color format or the quantization size. Upsampling or downsampling of a layer may be performed when a resolution change is required to perform inter-layer prediction.

상위 레이어의 부호화부(100a)는 분할부(110), 예측부(120), 변환부(130), 양자화부(140), 재정렬부(150), 엔트로피 부호화부(160), 역양자화부(170), 역변환부(180), 필터부(190) 및 메모리(195)를 포함할 수 있다.The encoding unit 100a of the upper layer includes a decomposing unit 110, a predicting unit 120, a transforming unit 130, a quantizing unit 140, a rearranging unit 150, an entropy encoding unit 160, 170, an inverse transform unit 180, a filter unit 190, and a memory 195.

하위 레이어의 부호화부(100b)는 분할부(111), 예측부(125), 변환부(131), 양자화부(141), 재정렬부(151), 엔트로피 부호화부(161), 역양자화부(171), 역변환부(181), 필터부(191) 및 메모리(196)를 포함할 수 있다.The lower layer encoding unit 100b includes a partitioning unit 111, a predicting unit 125, a transforming unit 131, a quantizing unit 141, a reordering unit 151, an entropy coding unit 161, an inverse quantization unit 171, an inverse transform unit 181, a filter unit 191, and a memory 196.

부호화부는 이하의 본 발명의 실시예에서 설명하는 영상 부호화 방법에 의해 구현될 수 있으나, 일부의 구성부에서의 동작은 부호화 장치의 복잡도를 낮추기 위해 또는 빠른 실시간 부호화를 위해 수행되지 않을 수 있다. 예를 들어, 예측부에서 화면 내 예측을 수행함에 있어서, 실시간으로 부호화를 수행하기 위해 모든 화면 내 예측 모드 방법을 사용하여 최적의 화면 내 부호화 방법을 선택하는 방법을 사용하지 않고 일부의 제한적인 개수의 화면 내 예측 모드를 사용하여 그 중에서 하나의 화면 내 예측 모드를 최종 화면 내 예측 모드로 선택하는 방법이 사용될 수 있다. 또 다른 예로 화면 내 예측 또는 화면 간 예측을 수행함에 있어 사용되는 예측 블록의 형태를 제한적으로 사용하도록 하는 것도 가능하다. The encoding unit may be implemented by the image encoding method described in the embodiments of the present invention, but operations in some components may not be performed for lowering the complexity of the encoding apparatus or for fast real-time encoding. For example, in performing intra-picture prediction in the prediction unit, it is not necessary to use a method of selecting an optimal intra-picture coding method using all the intra-picture prediction mode methods in order to perform coding in real time, The intra-picture prediction mode may be used as the final intra-picture prediction mode. As another example, it is also possible to restrictively use the type of the prediction block used in intra-picture prediction or inter-picture prediction.

부호화 장치에서 처리되는 블록의 단위는 부호화를 수행하는 부호화 단위, 예측을 수행하는 예측 단위, 변환을 수행하는 변환 단위가 될 수 있다. 부호화 단위는 CU(Coding Unit), 예측 단위는 PU(Prediction Unit), 변환 단위는 TU(Transform Unit)라는 용어로 표현될 수 있다.The unit of the block processed by the encoding apparatus may be a coding unit for performing encoding, a prediction unit for performing prediction, and a conversion unit for performing conversion. The coding unit can be expressed by CU (Coding Unit), the prediction unit by PU (Prediction Unit), and the conversion unit by TU (Transform Unit).

분할부(110, 111)에서는 레이어 영상을 복수의 부호화 블록, 예측 블록 및 변환 블록의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 그 중 하나의 부호화 블록, 예측 블록 및 변환 블록의 조합을 선택하여 레이어를 분할할 수 있다. 예를 들어, 레이어 영상에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(QuadTree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있다. 이하, 본 발명의 실시예에서는 부호화 블록의 의미를 부호화를 하는 블록이라는 의미뿐만 아니라 복호화를 수행하는 블록이라는 의미로도 사용할 수 있다.In the division units 110 and 111, the layer image is divided into a plurality of encoding blocks, a prediction block, and a conversion block, and is divided into a coding block, a prediction block, Can be selected to divide the layer. For example, a recursive tree structure such as a quad tree structure can be used to divide an encoding unit in a layer image. Hereinafter, in the embodiment of the present invention, the meaning of a coding block may be used not only for a coding block but also for a block to perform decoding.

예측 블록은 화면 내 예측 또는 화면 간 예측과 같은 예측을 수행하는 단위가 될 수 있다. 화면 내 예측을 수행하는 블록은 2Nx2N, NxN과 같은 정사각형 형태의 블록일 수 있다. 화면 간 예측을 수행하는 블록으로는 2Nx2N, NxN과 같은 정사각형의 형태 또는 2NxN, Nx2N과 같은 직사각형의 형태 또는 비대칭 형태인 AMP (Asymmetric Motion Partitioning)를 사용한 예측 블록 분할 방법이 있다. 예측 블록의 형태에 따라 변환부(115)에서는 변환을 수행하는 방법이 달라질 수 있다.The prediction block may be a unit for performing prediction such as intra-picture prediction or inter-picture prediction. The block for intra prediction may be a square block such as 2Nx2N, NxN. As a block for performing inter picture prediction, there is a prediction block dividing method using AMP (Asymmetric Motion Partitioning), which is a square shape such as 2Nx2N or NxN or a rectangular shape or an asymmetric shape such as 2NxN and Nx2N. The method of performing the transform in the transform unit 115 may vary depending on the type of the prediction block.

부호화부(100a, 100b)의 예측부(120, 125)는 화면 내 예측(intra prediction)을 수행하는 화면 내 예측부(121, 126)와 화면 간 예측(inter prediction)을 수행하는 화면 간 예측부(122, 127)를 포함할 수 있다. 상위 레이어 부호화부(100a)의 예측부(120)는 하위 레이어의 정보를 이용하여 상위 레이어에 대한 예측을 수행하는 레이어 간 예측부(123)를 더 포함할 수 있다. The prediction units 120 and 125 of the encoding units 100a and 100b include intra prediction units 121 and 126 for performing intra prediction and inter prediction units for performing inter prediction, (122, 127). The predicting unit 120 of the upper layer encoding unit 100a may further include an inter-layer predicting unit 123 that performs prediction on an upper layer using information of a lower layer.

예측부(120, 125)는 예측 블록에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정할 수 있다. 화면 내 예측을 수행함에 있어서 예측 블록 단위로 화면 내 예측 모드를 결정하고, 결정된 화면 내 예측 모드에 기초하여 화면 내 예측을 수행하는 과정은 변환 블록 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130, 131)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 정보 등은 잔차값과 함께 엔트로피 부호화부(130)에서 부호화되어 복호화 장치에 전달될 수 있다.The prediction units 120 and 125 can determine whether to use inter-picture prediction or intra-picture prediction for the prediction block. The process of determining an intra prediction mode in units of prediction blocks in performing intra prediction and performing intra prediction on the basis of the determined intra prediction mode may be performed on a conversion block basis. The residual value (residual block) between the generated prediction block and the original block can be input to the conversion units 130 and 131. In addition, the prediction mode information, motion information, and the like used for prediction can be encoded by the entropy encoding unit 130 and transmitted to the decoding apparatus together with the residual value.

PCM(Pulse Coded Modulation) 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측을 수행하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.When the PCM (Pulse Coded Modulation) coding mode is used, it is also possible to directly encode the original block and transmit it to the decoding unit without performing the prediction through the prediction units 120 and 125.

화면 내 예측부(121, 126)에서는 현재 블록(예측 대상이 되는 블록)의 주변에 존재하는 참조 픽셀을 기초로 화면 내 예측된 블록을 생성할 수 있다. 화면 내 예측 방법에서 화면 내 예측 모드는 참조 픽셀을 예측 방향에 따라 사용하는 방향성 예측 모드와 예측 방향을 고려하지 않는 비방향성 모드를 가질 수 있다. 루마 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드는 종류가 상이할 수 있다. 색차 정보를 예측하기 위해 루마 정보를 예측한 화면 내 예측 모드 또는 예측된 루마 정보를 활용할 수 있다. 만약, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀을 다른 픽셀로 대체하고, 이를사용하여 예측 블록을 생성할 수 있다.Intra prediction units 121 and 126 can generate a predicted block on the basis of reference pixels existing in the vicinity of the current block (block to be predicted). In the intra prediction method, the intra prediction mode may have a directional prediction mode using the reference pixel according to the prediction direction and a non-directional mode not considering the prediction direction. The mode for predicting luma information and the mode for predicting chrominance information may be different types. In order to predict the color difference information, an intra prediction mode in which luma information is predicted or predicted luma information can be utilized. If the reference pixel is not available, replace the unavailable reference pixel with another pixel and use it to create a prediction block.

예측 블록은 복수개의 변환 블록을 포함할 수 있는데, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 동일할 경우, 예측 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 블록에 대한 화면 내 예측을 수행할 수 있다. 하지만, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 상이하여 예측 블록의 내부에 복수의 변환 블록이 포함되는 경우, 변환 블록에 인접한 주변 픽셀을 참조 픽셀로 이용하여 화면 내 예측을 수행할 수 있다. 여기서, 변환 블록에 인접한 주변 픽셀은 예측 블록에 인접한 주변 픽셀과 예측 블록 내에 이미 복호화된 픽셀 중 적어도 하나를 포함할 수 있다.The prediction block may include a plurality of transform blocks. When intra prediction is performed, if the size of the prediction block and the size of the transform block are the same, a pixel existing on the left side of the prediction block, In-picture prediction for the prediction block based on the pixels existing in the prediction block. However, when intra prediction is performed, when the size of the prediction block is different from the size of the transform block, when a plurality of transform blocks are included in the prediction block, the intra-picture prediction is performed using the neighboring pixels adjacent to the transform block as reference pixels. Can be performed. Here, the neighboring pixels adjacent to the transform block may include at least one of neighboring pixels adjacent to the prediction block and pixels already decoded in the prediction block.

화면 내 예측 방법은 화면 내 예측 모드에 따라 참조 화소에 MDIS(Mode Dependent Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 픽셀에 적용되는 MDIS 필터의 종류는 상이할 수 있다. MDIS 필터는 화면 내 예측이 수행되어 화면 내 예측된 블록에 적용되는 추가의 필터로서 참조 픽셀과 예측을 수행 후 생성된 화면 내 예측된 블록에 존재하는 잔차를 줄이는데 사용될 수 있다. MDIS 필터링을 수행함에 있어 참조 픽셀과 화면 내 예측된 블록에 포함된 일부 열에 대한 필터링은 화면 내 예측 모드의 방향성에 따라 다른 필터링을 수행할 수 있다.The intra-picture prediction method can generate a prediction block after applying a mode dependent intra-smoothing (MDIS) filter to the reference picture according to the intra-picture prediction mode. The type of MDIS filter applied to the reference pixel may be different. The MDIS filter can be used to reduce residuals in intra-frame predicted blocks generated after performing intra-prediction and applied to reference pixels and prediction as additional filters applied to intra-frame predicted blocks. In performing MDIS filtering, the filtering of the reference pixel and some columns included in the intra prediction block can perform filtering according to the direction of the intra prediction mode.

화면 간 예측부(122, 127)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 블록의 정보를 참조하여 예측을 수행할 수 있다. 화면 간 예측부(122, 127)에는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함될 수 있다.The inter-picture prediction units 122 and 127 can perform prediction by referring to information of a block included in at least one of a previous picture of a current picture or a following picture. The inter-picture prediction units 122 and 127 may include a reference picture interpolating unit, a motion predicting unit, and a motion compensating unit.

참조 픽쳐 보간부에서는 메모리(195, 196)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 루마 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.In the reference picture interpolating unit, the reference picture information is supplied from the memories 195 and 196, and pixel information of an integer pixel or less can be generated in the reference picture. In the case of luma pixels, a DCT-based interpolation filter (DCT) based on a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of quarter pixels. In the case of a color difference signal, a DCT-based 4-tap interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of 1/8 pixel.

화면 간 예측부(122, 127)는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터 값을 가질 수 있다. 화면 간 예측부(122, 127)에서는 여러 가지 화면 간 예측 방법 중 하나의 화면 간 예측 방법을 적용하여 현재 블록에 대한 예측을 수행할 수 있다. The inter-picture prediction units 122 and 127 can perform motion prediction based on the reference pictures interpolated by the reference picture interpolating unit. Various methods such as Full Search-based Block Matching Algorithm (FBMA), Three Step Search (TSS), and New Three-Step Search Algorithm (NTS) can be used to calculate motion vectors. The motion vector may have a motion vector value of 1/2 or 1/4 pixel unit based on the interpolated pixel. The inter-picture prediction units 122 and 127 can perform prediction on the current block by applying one inter-picture prediction method among various inter-picture prediction methods.

화면 간 예측 방법으로는 예를 들어, 스킵(Skip) 방법, 머지(Merge) 방법, MVP(Motion Vector Predictor)를 이용하는 방법 등 다양한 방법이 사용될 수 있다. As the inter-picture prediction method, various methods such as a skip method, a merge method, and a method using a motion vector predictor (MVP) can be used.

화면 간 예측에 있어서 움직임 정보 즉, 참조 인덱스, 움직임 벡터, 레지듀얼 신호 등의 정보는 엔트로피 부호화되어 복호화부에 전달된다. 스킵 모드가 적용되는 경우에는 레지듀얼 신호가 생성되지 아니하므로, 레지듀얼 신호에 대한 변환 및 양자화 과정이 생략될 수 있다.In the inter-picture prediction, information such as motion information, such as reference indices, motion vectors, and residual signals, is entropy-encoded and transmitted to the decoding unit. When the skip mode is applied, a residual signal is not generated, so that the conversion and quantization process for the residual signal may be omitted.

레이어 간 예측부(123)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행한다. 레이어 간 예측부(123)는 하위 레이어의 텍스쳐 정보, 움직임 정보 등을 이용하여 레이어 간 예측(inter-layer prediction)을 수행할 수 있다. The inter-layer predicting unit 123 performs inter-layer prediction for predicting an upper layer using information of the lower layer. The inter-layer predicting unit 123 may perform inter-layer prediction using texture information and motion information of a lower layer.

레이어 간 예측은 하위 레이어의 픽쳐를 참조 픽쳐로 해서 하위 레이어(참조 레이어)의픽쳐에 대한 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. 레이어 간 예측에서 참조 픽쳐로 사용되는 참조 레이어의 픽쳐는 현재 레이어의 해상도에 맞게 샘플링된 픽쳐일 수 있다. 또한, 움직임 정보는 움직임 벡터 및 참조 인덱스를 포함할 수 있다. 이때, 참조 레이어의 픽쳐에 대한 움직임 벡터의 값은 (0,0)으로 설정될 수 있다.
Inter-layer prediction can predict a current block of an upper layer using motion information on a picture of a lower layer (reference layer) using a picture of a lower layer as a reference picture. A picture of a reference layer used as a reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer. In addition, the motion information may include a motion vector and a reference index. At this time, the value of the motion vector for the picture of the reference layer can be set to (0, 0).

레이어 간 예측의 예로서, 하위 레이어의 픽쳐를 참조 픽쳐로 이용하는 예측 방법을 설명하였으나, 본 발명은 이에 한정되지 않는다. 레이어 간 예측부(123)는 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측 등을 수행할 수도 있다.As an example of inter-layer prediction, a prediction method of using a picture of a lower layer as a reference picture has been described, but the present invention is not limited to this. The inter-layer predicting unit 123 may perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, inter-layer difference prediction, and the like.

레이어 간 텍스처 예측은 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 유도할 수 있다. 참조 레이어의 텍스처는 현재 레이어의 해상도에 맞춰 샘플링될 수 있으며, 레이어 간 예측부(123)는 샘플링된 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 예측할 수 있다. Inter-layer texture prediction can derive the texture of the current layer based on the texture of the reference layer. The texture of the reference layer can be sampled according to the resolution of the current layer, and the inter-layer predicting unit 123 can predict the texture of the current layer based on the texture of the sampled reference layer.

레이어 간 움직임 예측은 참조 레이어의 움직임 벡터를 기반으로 현재 레이어의 움직임 벡터를 유도할 수 있다. 이때, 참조 레이어의 움직임 벡터는 현재 레이어의 해상도에 맞게 스케일링될 수 있다. 레이어 간 신택스 예측에서는 참조 레이어의 신택스를 기반으로 현재 레이어의 신택스가 예측될 수 있다. 예컨대, 레이어 간 예측부(123)는 참조 레이어의 신택스를 현재 레이어의 신택스로 이용할 수도 있다. 또한, 레이어 간 차분 예측에서는 참조 레이어의 복원 영상과 현재 레이어의 복원 영상 사이의 차분을 이용하여 현재 레이어의 픽쳐를 복원할 수 있다.The inter-layer motion prediction can derive the motion vector of the current layer based on the motion vector of the reference layer. At this time, the motion vector of the reference layer can be scaled according to the resolution of the current layer. In the inter-layer syntax prediction, the syntax of the current layer can be predicted based on the syntax of the reference layer. For example, the inter-layer predicting unit 123 may use the syntax of the reference layer as the syntax of the current layer. In the inter-layer difference prediction, the picture of the current layer can be restored by using the difference between the restored image of the reference layer and the restored image of the current layer.

예측부(120, 125)에서 생성된 예측 블록과 예측 블록의 복원 블록과 차이 값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성되며, 잔차 블록은 변환부(130, 131)에 입력된다. A residual block including residue information which is a difference value between the prediction blocks generated by the prediction units 120 and 125 and the reconstruction blocks of the prediction blocks is generated and the residual blocks are input to the transform units 130 and 131. [

변환부(130, 131)에서는 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 블록의 화면 내 예측 모드 정보 및 예측 블록의 크기 정보를 기초로 결정할 수 있다. 즉, 변환부(130, 131)에서는 예측 블록의 크기 및 예측 방법에 따라 변환 방법을 다르게 적용할 수 있다.The transforming units 130 and 131 can transform the residual block using a transform method such as DCT (Discrete Cosine Transform) or DST (Discrete Sine Transform). Whether to apply the DCT or the DST to transform the residual block can be determined based on the intra prediction mode information and the prediction block size information of the prediction block used to generate the residual block. That is, the transforming units 130 and 131 can apply the transforming method differently according to the size of the prediction block and the prediction method.

양자화부(140, 141)는 변환부(130, 131)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(140, 141)에서 산출된 값은 역양자화부(170, 17)와 재정렬부(150, 151)에 제공될 수 있다.The quantization units 140 and 141 may quantize the values converted into the frequency domain by the transform units 130 and 131. [ The quantization factor may vary depending on the block or the importance of the image. The values calculated by the quantization units 140 and 141 may be provided to the dequantization units 170 and 17 and the reordering units 150 and 151, respectively.

재정렬부(150, 151)는 양자화된 잔차 값에 대해 계수 값의 재정렬을 수행할 수 있다. 재정렬부(150, 151)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(150, 151)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔 방법이 아닌 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔 방법, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔 방법이 사용될 수 있다. 즉, 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.The reordering units 150 and 151 can reorder the coefficient values with respect to the quantized residual values. The reordering units 150 and 151 may change the two-dimensional block type coefficient to a one-dimensional vector form through a coefficient scanning method. For example, the rearrangement units 150 and 151 may scan a DC coefficient to a coefficient of a high frequency region using a Zig-Zag scan method, and change the DC coefficient to a one-dimensional vector form. A vertical scanning method of scanning a two-dimensional block type coefficient in a column direction instead of a jig-jag scanning method according to a size of a conversion block and an intra-picture prediction mode, and a horizontal scanning method of scanning a two- Can be used. That is, it is possible to determine whether any scan method among the jig-jag scan, the vertical scan and the horizontal scan is used according to the size of the conversion block and the intra prediction mode.

엔트로피 부호화부(160, 161)는 재정렬부(150, 151)에 의해 산출된 값들을 기초로 엔트피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)와 같은 다양한 부호화 방법을 사용할 수 있다.The entropy encoding units 160 and 161 can perform entropy encoding based on the values calculated by the reordering units 150 and 151. [ For entropy encoding, various encoding methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be used.

엔트로피 부호화부(160, 161)는 재정렬부(150, 151) 및 예측부(120, 125)로부터 부호화 블록의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 블록 정보 및 전송 단위 정보, 움직임 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 제공받아 소정의 부호화 방법을 기초로 엔트로피 부호화를 수행할 수 있다. 또한, 엔트로피 부호화부(160, 161)에서는 재정렬부(150, 151)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다. The entropy encoding units 160 and 161 receive the residual value coefficient information, the block type information, the prediction mode information, the division unit information, the prediction block information, and the transmission information of the encoding block from the reordering units 150 and 151 and the prediction units 120 and 125, And various information such as unit information, motion information, reference frame information, block interpolation information, filtering information, and the like, and performs entropy encoding based on a predetermined encoding method. In addition, the entropy encoding units 160 and 161 can entropy-encode the coefficient values of the encoding units input from the reordering units 150 and 151.

엔트로피 부호화부(160, 161)에서는 화면 내 예측 모드 정보에 대한 이진화를 수행하여 현재 블록의 화면 내 예측 모드 정보를 부호화할 수 있다. 엔트로피 부호화부(160, 161)에는 이러한 이진화 동작을 수행하기 위한 코드워드 매핑부가 포함될 수 있고, 화면 내 예측을 수행하는 예측 블록의 크기에 따라 이진화를 다르게 수행할 수 있다. 코드워드 매핑부에서는 코드워드 매핑 테이블이 이진화 동작을 통해 적응적으로 생성되거나 미리 저장되어 있을 수 있다. 또 다른 실시예로 엔트로피 부호화부(160, 161)에서 코드넘 매핑을 수행하는 코드넘 매핑부와 코드워드 매핑을 수행하는 코드워드 매핑부를 이용하여 현재 화면 내 예측 모드 정보를 표현할 수 있다. 코드넘 매핑부와 코드워드 매핑부에서는 코드넘 매핑 테이블과 코드워드 매핑 테이블이 생성되거나 저장되어 있을 수 있다.The entropy encoding units 160 and 161 may encode the intra-picture prediction mode information of the current block by performing binarization on the intra-picture prediction mode information. The entropy encoding units 160 and 161 may include a codeword mapping unit for performing such a binarization operation, and binarization may be performed differently depending on the size of a prediction block for performing intra prediction. In the codeword mapping unit, a codeword mapping table may be adaptively generated or stored in advance through a binarization operation. In another embodiment, the entropy encoding units 160 and 161 may represent the current intra prediction mode information using a codeword mapping unit that performs codeword mapping and a codeword mapping unit that performs codeword mapping. In the codeword mapping unit and the codeword mapping unit, a codeword mapping table and a codeword mapping table may be generated or stored.

역양자화부(170, 171) 및 역변환부(180, 181)에서는 양자화부(140, 141)에서 양자화된 값들을 역양자화하고 변환부(130, 131)에서 변환된 값들을 역변환 한다. 역양자화부(170, 171) 및 역변환부(180, 181)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 화면 내 예측부를 통해서 예측된 예측 블록과 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.The inverse quantization units 170 and 171 and the inverse transform units 180 and 181 dequantize the quantized values in the quantization units 140 and 141 and invert the converted values in the transform units 130 and 131. The residual values generated by the inverse quantization units 170 and 171 and the inverse transform units 180 and 181 are predicted through a motion estimation unit, a motion compensation unit, and an intra prediction unit included in the prediction units 120 and 125, It can be combined with the prediction block to generate a reconstructed block.

필터부(190, 191)는 디블록킹 필터, 오프셋 보정부 중 적어도 하나를 포함할 수 있다. The filter units 190 and 191 may include at least one of a deblocking filter and an offset correcting unit.

디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한, 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링을 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행처리가 되도록 할 수 있다.The deblocking filter can remove block distortion caused by the boundary between the blocks in the reconstructed picture. It may be determined whether to apply a deblocking filter to the current block based on pixels included in a few columns or rows included in the block to determine whether to perform deblocking. When a deblocking filter is applied to a block, a strong filter or a weak filter may be applied according to the deblocking filtering strength required. In applying the deblocking filter, horizontal filtering and vertical filtering may be performed concurrently when vertical filtering and horizontal filtering are performed.

오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.The offset correction unit may correct the offset of the deblocked image with respect to the original image in units of pixels. In order to perform offset correction for a specific picture, pixels included in an image are divided into a predetermined area, and then an area to be offset is determined, and an offset is applied to the area, or an offset is applied considering edge information of each pixel Can be used.

필터부(190, 191)는 디블록킹 필터, 오프셋 보정을 모두 적용하지 않고 디블록킹 필터만 적용하거나 디블록킹 필터와 오프셋 보정을 둘 다 적용할 수도 있다.The filter units 190 and 191 may apply only the deblocking filter without applying both the deblocking filter and the offset correction, or both the deblocking filter and the offset correction.

메모리(195, 196)는 필터부(190, 191)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.The memories 195 and 196 may store restored blocks or pictures calculated through the filter units 190 and 191 and the stored restored blocks or pictures may be provided to the predicting units 120 and 125 have.

하위 레이어의 엔트로피 부호화부(100b)에서 출력되는 정보와 상위 레이어의 엔트로피 부호화부(100a)에서 출력되는 정보는 MUX(197)에서 멀티플렉싱되어 비트스트림으로 출력될 수 있다.The information output from the entropy encoding unit 100b of the lower layer and the information output from the entropy encoding unit 100a of the upper layer can be multiplexed by the MUX 197 and output as a bitstream.

MUX(197)는 상위 레이어의 부호화부(100a) 또는 하위 레이어의 부호화부(100b)에 포함될 수도 있고, 부호화부(100)와는 별도의 독립적인 장치 또는 모듈로 구현될 수도 있다.
The MUX 197 may be included in the encoding unit 100a of the upper layer or the encoding unit 100b of the lower layer or may be implemented as an independent device or module separate from the encoding unit 100. [

도 2는 본 발명의 일 실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 복호화 장치(200)는 상위 레이어의 복호화부(200a)와 하위 레이어의 복호화부(200b)를 포함한다.As shown in FIG. 2, the decoding apparatus 200 includes a decoding unit 200a of an upper layer and a decoding unit 200b of a lower layer.

상위 레이어의 복호화부(200a)는 엔트로피 복호화부(210), 재정렬부(220), 역양자화부(230), 역변환부(240), 예측부(250), 필터부(260), 메모리(270)를 포함할 수 있다.The decryption unit 200a of the upper layer includes an entropy decoding unit 210, a reordering unit 220, an inverse quantization unit 230, an inverse transformation unit 240, a prediction unit 250, a filter unit 260, a memory 270 ).

하위 레이어의 복호화부(200b)는 엔트로피 디코딩부(211), 재정렬부(221), 역양자화부(231), 역변환부(241), 예측부(251), 필터부(261), 메모리(271)를 포함할 수 있다.The lower layer decoding unit 200b includes an entropy decoding unit 211, a rearrangement unit 221, an inverse quantization unit 231, an inverse transformation unit 241, a prediction unit 251, a filter unit 261, a memory 271 ).

부호화 장치로부터 복수의 레이어를 포함하는 비트스트림이 전송되면, DEMUX(280)는 레이어 별로 정보를 디멀티플렉싱하여 각 레이어별 복호화부(200a, 200b)로 전달할 수 있다. 입력된 비트스트림은 부호화 장치와 반대의 절차로 복호화 될 수 있다.When a bitstream including a plurality of layers is transmitted from the encoding apparatus, the DEMUX 280 demultiplexes information for each layer and transmits the demultiplexed information to the decoding units 200a and 200b for the respective layers. The input bitstream can be decoded in a procedure opposite to that of the encoding apparatus.

엔트로피 복호화부(210, 211)는 부호화 장치의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화부(210, 211)에서 복호화된 정보 중 예측 블록을 생성하기 위한 정보는 예측부(250, 251)로 제공되고 엔트로피 복호화부(210, 211)에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(220, 221)로 입력될 수 있다.The entropy decoding units 210 and 211 may perform entropy decoding in a procedure opposite to that in which entropy encoding is performed in the entropy encoding unit of the encoding apparatus. The information for generating a prediction block from the information decoded by the entropy decoding units 210 and 211 is provided to the predictors 250 and 251 and the residual values obtained by performing entropy decoding in the entropy decoding units 210 and 211, (220, 221).

엔트로피 복호화부(210, 211)에서도 엔트로피 부호화부(160, 161)와 마찬가지로 CABAC 또는 CAVLC 중 적어도 하나의 방법을 사용할 수 있다.As with the entropy encoding units 160 and 161, the entropy decoding units 210 and 211 may use at least one of CABAC and CAVLC.

엔트로피 복호화부(210, 211)에서는 부호화 장치에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 엔트로피 복호화부(210, 211)에는 코드워드 매핑부가 포함되어 수신된 코드워드를 화면 내 예측 모드 번호로 생성하기 위한 코드워드 매핑 테이블을 포함될 수 있다. 코드워드 매핑 테이블은 미리 저장되어 있거나 적응적으로 생성될 수 있다. 코드넘 매핑 테이블을 사용할 경우, 코드넘 매핑을 수행하기 위한 코드넘 매핑부가 추가적으로 구비될 수 있다.The entropy decoding units 210 and 211 can decode information related to the intra-picture prediction and the inter-picture prediction performed by the coding apparatus. The entropy decoding units 210 and 211 may include a codeword mapping table for generating a codeword including the codeword mapping unit in the in-picture prediction mode number. The codeword mapping table may be pre-stored or adaptively generated. When using the code-mapped mapping table, a code-mapped mapping unit for performing code-mapped mapping may additionally be provided.

재정렬부(220, 221)는 엔트로피 복호화부(210, 211)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(220, 221)에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다. The reordering units 220 and 221 can perform reordering based on a method in which the entropy decoding units 210 and 211 rearrange the entropy-decoded bitstreams in the encoding unit. The coefficients represented by the one-dimensional vector form can be rearranged by restoring the coefficients of the two-dimensional block form again. The reordering units 220 and 221 can perform reordering by providing information related to the coefficient scanning performed by the encoding unit and performing a reverse scanning based on the scanning order performed by the encoding unit.

역양자화부(230, 231)는 부호화 장치에서 제공된 양자화 파라미터와 재정렬된 블록의 계수 값을 기초로 역양자화를 수행할 수 있다. The inverse quantization units 230 and 231 may perform inverse quantization based on the quantization parameters provided by the encoding apparatus and the coefficient values of the re-arranged blocks.

역변환부(240, 241)는 부호화 장치에서 수행한 양자화 결과에 대해 변환부(130, 131)에서 수행한 DCT 또는 DST에 대해 역 DCT 또는 역 DST를 수행할 수 있다. 역변환은 부호화 장치에서 결정된 전송 단위를 기초로 수행될 수 있다. 부호화 장치의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 복호화 장치의 역변환부(240, 241)에서는 부호화 장치의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다. 변환 수행 시 변환 블록이 아닌 부호화 블록을 기준으로 변환을 수행할 수 있다.The inverse transform units 240 and 241 may perform inverse DCT or inverse DST on the DCT or DST performed by the transform units 130 and 131 with respect to the quantization result performed by the encoding apparatus. The inverse transform can be performed based on the transmission unit determined by the encoding apparatus. In the transforming unit of the encoding apparatus, DCT and DST can be selectively performed according to a plurality of information such as a prediction method, a size and a prediction direction of a current block, and the inverse transforming units 240 and 241 of a decoding apparatus It is possible to perform an inverse conversion based on the performed conversion information. Conversion can be performed based on an encoding block rather than a conversion block.

예측부(250, 251)는 엔트로피 복호화부(210, 211)에서 제공된 예측 블록 생성 관련 정보와 메모리(270, 271)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다.The prediction units 250 and 251 can generate prediction blocks based on the prediction block generation related information provided by the entropy decoding units 210 and 211 and the previously decoded blocks or picture information provided in the memories 270 and 271 .

예측부(250, 251)는 예측 단위 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. The prediction units 250 and 251 may include a prediction unit determination unit, an inter-frame prediction unit, and an intra-frame prediction unit.

예측 단위 판별부는 엔트로피 복호화부에서 입력되는 예측 단위 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 블록에서 예측 블록을 구분하고, 예측 블록이 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. The prediction unit determination unit receives various information such as prediction unit information input from the entropy decoding unit, prediction mode information of the intra prediction method, motion prediction related information of the inter picture prediction method, and separates prediction blocks in the current coding block. It is possible to determine whether the inter-picture prediction is performed or the intra-picture prediction is performed.

화면 간 예측부는 부호화 장치에서 제공된 현재 예측 블록의 화면 간 예측에 필요한 정보를 이용해 현재 예측 블록이 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 블록에 대한 화면 간 예측을 수행할 수 있다. 화면 간 예측을 수행하기 위해 부호화 블록을 기준으로 해당 부호화 블록에 포함된 예측 블록의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), MVP(motion vector predictor)를 이용하는 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다.The inter-picture prediction unit uses the information necessary for the inter-picture prediction of the current prediction block provided by the coding apparatus to predict the current picture based on the information included in at least one of the previous picture of the current picture or the following picture The inter-picture prediction can be performed. In order to perform inter-picture prediction, a motion prediction method of a prediction block included in a coded block based on a coded block is classified into a skip mode, a merge mode, a mode using an MVP (motion vector predictor) Mode) can be determined.

화면 내 예측부는 현재 픽쳐 내의 복원된 픽셀 정보를 기초로 예측 블록을 생성할 수 있다. 예측 블록이 화면 내 예측을 수행한 예측 블록인 경우, 부호화 장치에서 제공된 예측 블록의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부는 현재 블록의 참조 픽셀에 필터링을 수행하는 MDIS 필터, 참조 픽셀을 보간하여 정수값 이하의 픽셀 단위의 참조 픽셀을 생성하는 참조 픽셀 보간부, 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성하는 DC 필터를 포함할 수 있다. The intra prediction unit can generate a prediction block based on the reconstructed pixel information in the current picture. If the prediction block is a prediction block in which intra prediction is performed, intra prediction can be performed based on intra prediction mode information of the prediction block provided by the encoder. The intra-picture prediction unit includes an MDIS filter that performs filtering on the reference pixels of the current block, a reference pixel interpolator that interpolates reference pixels to generate reference pixels of a pixel unit less than an integer value, Lt; RTI ID = 0.0 > DCF < / RTI >

상위 레이어 복호화부(200a)의 예측부(250)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행하는 레이어 간 예측부를 더 포함할 수 있다. The predicting unit 250 of the upper layer decoding unit 200a may further include an inter-layer predicting unit for performing inter-layer prediction for predicting an upper layer using information of a lower layer.

레이어 간 예측부는 화면 내 예측 모드 정보, 움직임 정보 등을 이용하여 인터 레이어 예측(inter-layer prediction) 을 수행할 수 있다. The inter-layer prediction unit may perform inter-layer prediction using intra-picture prediction mode information, motion information, and the like.

레이어 간 예측은 하위 레이어의 픽쳐를 참조 픽쳐로 해서 하위 레이어(참조 레이어) 픽쳐에 대한 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. Inter-layer prediction can predict a current block of an upper layer using motion information on a lower layer (reference layer) picture using a picture of a lower layer as a reference picture.

레이어 간 예측에서 참조 픽쳐로 사용되는 참조 레이어의 픽쳐는 현재 레이어의 해상도에 맞게 샘플링된 픽쳐일 수 있다. 또한, 움직임 정보는 움직임 벡터 및 참조 인덱스를 포함할 수 있다. 이때, 참조 레이어의 픽쳐에 대한 움직임 벡터의 값은 (0,0)으로 설정될 수 있다. A picture of a reference layer used as a reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer. In addition, the motion information may include a motion vector and a reference index. At this time, the value of the motion vector for the picture of the reference layer can be set to (0, 0).

레이어 간 예측의 예로서, 하위 레이어의 픽쳐를 참조 픽쳐로 이용하는 예측 방법을 설명하였으나, 본 발명은 이에 한정되지 않는다. 레이어 간 예측부(123)는 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측 등을 추가로 수행할 수도 있다.As an example of inter-layer prediction, a prediction method of using a picture of a lower layer as a reference picture has been described, but the present invention is not limited to this. The inter-layer predicting unit 123 may further perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction.

레이어 간 텍스처 예측은 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 유도할 수 있다. 참조 레이어의 텍스처는 현재 레이어의 해상도에 맞춰 샘플링될 수 있으며, 레이어 간 예측부는 샘플링된 텍스처를 기반으로 현재 레이어의 텍스처를 예측할 수 있다. 레이어 간 움직임 예측은 참조 레이어의 움직임 벡터를 기반으로 현재 레이어의 움직임 벡터를 유도할 수 있다. 이때, 참조 레이어의 움직임 벡터는 현재 레이어의 해상도에 맞게 스케일링될 수 있다. 레이어 간 신택스 예측에서는 참조 레이어의 신택스를 기반으로 현재 레이어의 신택스가 예측될 수 있다. 예컨대, 레이어 간 예측부(123)는 참조 레이어의 신택스를 현재 레이어의 신택스로 이용할 수도 있다. 또한, 레이어 간 차분 예측에서는 참조 레이어의 복원 영상과 현재 레이어의 복원 영상 사이의 차분을 이용하여 현재 레이어의 픽쳐를 복원할 수 있다.Inter-layer texture prediction can derive the texture of the current layer based on the texture of the reference layer. The texture of the reference layer can be sampled to the resolution of the current layer, and the inter-layer prediction unit can predict the texture of the current layer based on the sampled texture. The inter-layer motion prediction can derive the motion vector of the current layer based on the motion vector of the reference layer. At this time, the motion vector of the reference layer can be scaled according to the resolution of the current layer. In the inter-layer syntax prediction, the syntax of the current layer can be predicted based on the syntax of the reference layer. For example, the inter-layer predicting unit 123 may use the syntax of the reference layer as the syntax of the current layer. In the inter-layer difference prediction, the picture of the current layer can be restored by using the difference between the restored image of the reference layer and the restored image of the current layer.

복원된 블록 또는 픽쳐는 필터부(260, 261)로 제공될 수 있다. 필터부(260, 261)는 디블록킹 필터, 오프셋 보정부를 포함할 수 있다.The reconstructed block or picture may be provided to the filter units 260 and 261. The filter units 260 and 261 may include a deblocking filter and an offset correction unit.

부호화 장치로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 복호화 장치의 디블록킹 필터에서는 부호화 장치에서 제공된 디블록킹 필터 관련 정보를 제공받고 복호화 장치에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. Information on whether or not a deblocking filter has been applied to the block or picture from the encoding device and information on whether a strong filter or a weak filter is applied can be provided when the deblocking filter is applied. In the deblocking filter of the decoding apparatus, the deblocking filter related information provided by the encoding apparatus is provided, and the decoding apparatus can perform deblocking filtering on the corresponding block.

오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.The offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction applied to the image and the offset value information during encoding.

메모리(270, 271)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력할 수 있다. The memories 270 and 271 can store the reconstructed picture or block to be used as a reference picture or a reference block, and can also output the reconstructed picture.

부호화 장치 및 복호화 장치는 두 개의 레이어가 아닌 세 개 이상의 레이어에 대한 인코딩을 수행할 수 있으며, 이 경우 상위 레이어에 대한 부호화부 및 상위 레이어에 대한 복호화부는 상위 레이어의 개수에 대응하여 복수 개로 마련될 수 있다.The encoding apparatus and the decoding apparatus can perform encoding on three or more layers instead of two layers. In this case, the encoding unit for the upper layer and the decoding unit for the upper layer are provided in a plurality corresponding to the number of the upper layers .

멀티 레이어 구조를 지원하는 SVC(Scalable Video Coding) 에서는 레이어 간에 연관성이 존재한다. 이 연관성을 이용하여 예측을 수행하면 데이터의 중복 요소를 제거할 수 있고 영상의 부호화 성능을 향상시킬 수 있다. In SVC (Scalable Video Coding) which supports multi-layer structure, there is a relation between layers. By using this association, prediction can be performed to remove redundant elements of data and enhance the image coding performance.

따라서, 부호화/복호화 되는 현재 레이어(인핸스먼트 레이어)의 픽쳐(영상)를 예측할 경우, 현재 레이어의 정보를 이용한 인터 예측 혹은 인트라 예측뿐만 아니라, 다른 레이어의 정보를 이용한 인터 레이어 예측을 수행할 수 있다. Therefore, in the case of predicting a picture (video) of a current layer (enhancement layer) to be encoded / decoded, not only inter prediction or intra prediction using information of the current layer but also interlayer prediction using information of another layer can be performed .

인터 레이어 예측을 수행할 경우, 현재 레이어는 인터 레이어 예측을 위해 사용되는 참조 레이어(reference layer)의 디코딩된 픽쳐를 참조 픽쳐(reference picture)로 사용하여 현재 레이어의 예측 샘플을 생성할 수 있다. In performing inter-layer prediction, the current layer may generate a prediction sample of a current layer using a decoded picture of a reference layer used for inter-layer prediction as a reference picture.

이때, 현재 레이어와 참조 레이어는 공간 해상도, 시간 해상도, 이미지 퀄리티 중 적어도 하나가 서로 다를 수 있기 때문에(즉, 레이어 간 스케일러빌리티 차이 때문에), 디코딩된 참조 레이어의 픽쳐는 현재 레이어의 스케일러빌리티에 맞게 리샘플링(resampling)이 수행된 다음 현재 레이어의 인터 레이어 예측을 위한 참조 픽쳐로 사용될 수 있다. 리샘플링은 현재 레이어의 픽쳐 크기에 맞게 참조 레이어 픽쳐의 샘플들을 업샘플링(up-sampling) 또는 다운 샘플링(down sampling)하는 것을 의미한다. At this time, since at least one of the spatial resolution, the temporal resolution, and the image quality may be different between the current layer and the reference layer (i.e., due to the inter-layer scalability difference), the picture of the decoded reference layer, After resampling is performed, it can be used as a reference picture for interlayer prediction of the current layer. Resampling means up-sampling or down-sampling of the samples of the reference layer picture in accordance with the picture size of the current layer.

본 명세서에서, 현재 레이어는 현재 부호화 혹은 복호화가 수행되는 레이어를 말하며, 인핸스먼트 레이어 또는 상위 레이어일 수 있다. 참조 레이어는 현재 레이어가 인터 레이어 예측을 위해 참조하는 레이어를 말하며, 베이스 레이어 또는 하위 레이어일 수 있다. 현재 레이어의 레이어 간 예측을 위해 사용되는 참조 레이어의 픽쳐(즉, 참조 픽쳐)는 인터레이어 참조 픽쳐 또는 레이어 간 참조 픽쳐로 지칭될 수 있다.
In this specification, a current layer refers to a layer on which encoding or decoding is currently performed, and may be an enhancement layer or an upper layer. A reference layer is a layer that the current layer refers to for interlayer prediction, and can be a base layer or a lower layer. A picture of a reference layer (i.e., a reference picture) used for inter-layer prediction of the current layer may be referred to as an inter-layer reference picture or a inter-layer reference picture.

도 3은 본 발명이 적용되는 일실시예로서, 베이스 레이어의 부호화 정보를 이용하여 인핸스먼트 레이어의 움직임 벡터를 추정하는 방법을 도시한 것이다. FIG. 3 illustrates a method of estimating a motion vector of an enhancement layer using coding information of a base layer according to an embodiment of the present invention. Referring to FIG.

도 3을 참조하면, 인핸스먼트 레이어의 현재 블록에 대응하는 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 상기 베이스 레이어의 제1 특징값을 산출할 수 있다(S300).Referring to FIG. 3, the first feature value of the base layer can be calculated using the encoding information of the reference block of the base layer corresponding to the current block of the enhancement layer (S300).

참조 블록의 부호화 정보는 참조 블록의 움직임 정보 또는 참조 블록의 텍스쳐 정보를 의미할 수 있다. 예를 들어, 움직임 정보는 움직임 벡터, 움직임 벡터 차분값 또는 움직임 벡터 예측값 중 적어도 하나를 포함할 수 있다.The encoding information of the reference block may refer to motion information of the reference block or texture information of the reference block. For example, the motion information may include at least one of a motion vector, a motion vector difference value, or a motion vector prediction value.

구체적으로, 상기 제1 특징값은 베이스 레이어의 참조 블록의 움직임 벡터 차분값을 이용하여 산출될 수 있다. 또는, 상기 제1 특징값은 베이스 레이어의 참조 블록의 움직임 벡터들 간의 거리값(Euclidian Distance)으로 산출될 수도 있다. 또는, 상기 제1 특징값은 베이스 레이어의 참조 블록의 움직임 벡터 예측값의 크기로 산출될 수도 있다. 또는, 상기 제1 특징값은 베이스 레이어의 참조 블록의 텍스쳐 정보 즉, 화소값들의 분산값으로 산출될 수도 있다.Specifically, the first feature value may be calculated using a motion vector difference value of a reference block of the base layer. Alternatively, the first feature value may be calculated as a distance value (Euclidian Distance) between motion vectors of the reference block of the base layer. Alternatively, the first feature value may be calculated as a magnitude of a motion vector predicted value of a reference block of the base layer. Alternatively, the first feature value may be calculated as texture information of a reference block of the base layer, that is, a variance value of pixel values.

도 3을 참조하면, S300에서 산출된 제1 특징값에 기초하여 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값(MVinitial)을 획득할 수 있다(S310).Referring to FIG. 3, the motion vector initial value (MV initial ) of the current block of the enhancement layer may be obtained based on the first feature value calculated in S300 (S310).

구체적으로, 상기 제1 특징값과 제1 임계값 간의 비교 결과에 기초하여 상기 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값을 획득할 수 있다.Specifically, the motion vector initial value of the current block of the enhancement layer may be obtained based on the comparison result between the first feature value and the first threshold value.

만일, 상기 제1 특징값이 상기 제1 임계값보다 작거나 같은 경우, 상기 현재 블록의 움직임 벡터 초기값은 현재 블록의 움직임 벡터 예측값으로 유도될 수 있다. 여기서, 현재 블록의 움직임 벡터 예측값은 현재 블록에 대한 움직임 벡터 후보 리스트에 포함된 복수 개의 움직임 벡터 후보 중 어느 하나에 해당될 수 있다. 현재 블록에 대한 움직임 벡터 후보 리스트를 생성하는 방법에 대해서는 도 4 및 도 5를 참조하여 자세히 살펴 보기로 한다.If the first feature value is less than or equal to the first threshold value, the motion vector initial value of the current block may be derived as a motion vector predicted value of the current block. Here, the motion vector prediction value of the current block may correspond to any one of a plurality of motion vector candidates included in the motion vector candidate list for the current block. A method of generating a motion vector candidate list for a current block will be described in detail with reference to FIGS. 4 and 5. FIG.

반면, 상기 제1 특징값이 상기 제1 임계값보다 큰 경우, 상기 현재 블록의 움직임 벡터 초기값은 베이스 레이어의 참조 블록의 움직임 벡터를 이용하여 유도될 수 있다. 예를 들어, 상기 현재 블록의 움직임 벡터 초기값은 상기 베이스 레이어의 참조 블록의 움직임 벡터로 설정될 수 있다. 또는, 상기 현재 블록의 움직임 벡터 초기값은 상기 베이스 레이어의 참조 블록의 움직임 벡터를 임의의 상수값으로 스케일링하여 유도될 수도 있다. 여기서, 임의의 상수값은 인핸스먼트 레이어와 베이스 레이어 간의 해상도 차이를 고려하여 가변적으로 결정될 수 있다.On the other hand, if the first feature value is greater than the first threshold value, the motion vector initial value of the current block may be derived using the motion vector of the reference block of the base layer. For example, the motion vector initial value of the current block may be set as a motion vector of the reference block of the base layer. Alternatively, the motion vector initial value of the current block may be derived by scaling the motion vector of the reference block of the base layer into an arbitrary constant value. Herein, an arbitrary constant value can be variably determined in consideration of the resolution difference between the enhancement layer and the base layer.

도 3을 참조하면, S310에서 획득된 현재 블록의 움직임 벡터 초기값에 기초하여 현재 블록의 움직임 벡터를 추정할 수 있다(S320).Referring to FIG. 3, a motion vector of a current block may be estimated based on a motion vector initial value of the current block obtained in S310 (S320).

구체적으로, 상기 현재 블록의 움직임 벡터 초기값을 시작점으로 기-설정된 범위 내에 있는 정수 단위의 화소(이하, 정수 펠(integer pel)이라 함)들에 대해서 움직임 벡터를 탐색할 수 있다. 여기서, 기-정의된 범위라 함은 현재 블록이 포함된 현재 슬라이스 또는 현재 픽쳐의 전 영역을 의미할 수도 있고, 또는 제한적인 움직임 벡터 탐색을 위해 설정된 영역으로서, 현재 슬라이스 또는 현재 픽쳐의 일부 영역을 의미할 수 있다.Specifically, a motion vector may be searched for a pixel in an integer unit (hereinafter referred to as an integer pel) within a predetermined range based on a motion vector initial value of the current block. Here, the pre-defined range may refer to the current slice including the current block or the entire area of the current picture, or may be an area set for limited motion vector search, and may include a current slice or a part of the current picture It can mean.

이때, 각 탐색 위치에서의 비용값(mcost)을 산출하고, 산출된 비용값들 중 최소 비용값을 갖는 정수 펠의 위치를 결정할 수 있다.At this time, it is possible to calculate the cost value mcost at each search position, and to determine the position of the integer pell having the lowest cost value among the calculated cost values.

상기 결정된 정수 펠의 위치를 기준으로 기-설정된 범위 이내에 있는 주변 하프 단위의 화소(이하, 하프 펠(half pel)이라 함)들에 대해서 움직임 벡터를 탐색할 수 있다. 마찬가지로, 각 탐색 위치에서의 비용값을 산출하고, 산출된 비용값들 중 최소 비용값을 갖는 하프 펠을 결정할 수 있다.A motion vector may be searched for pixels in a peripheral half unit (hereinafter referred to as a half pel) within a predetermined range based on the determined integer pel position. Similarly, a cost value at each search position can be calculated, and a half pell having a minimum cost value among the calculated cost values can be determined.

상기 결정된 하프 펠을 기준으로 기-설정된 범위 이내에 있는 주변 쿼터 단위의 화소(이하, 쿼터 펠(quarter pel)이라 함)들에 대해서 움직임 벡터를 탐색할 수 있다. 이때, 각 탐색 위치에서의 비용값을 산출하고, 산출된 비용값 중 최소 비용값을 갖는 쿼터 펠을 결정할 수 있다.A motion vector can be searched for a pixel in a neighboring quarter (hereinafter referred to as a quarter pel) within a predetermined range based on the determined half pel. At this time, a cost value at each search position is calculated, and a quarter pel having a minimum cost value among the calculated cost values can be determined.

상기 결정된 쿼터 펠의 위치와 현재 블록의 위치 간의 차이로 움직임 벡터가 추정되며, 이를 현재 블록의 움직임 벡터로 추정할 수 있다.
A motion vector is estimated as a difference between the determined position of the quarter pel and the current block, and the motion vector can be estimated as a motion vector of the current block.

도 4는 본 발명이 적용되는 일실시예로서, 현재 블록에 대한 움직임 벡터 후보 리스트를 생성하는 방법을 도시한 것이고, 도 5는 본 발명이 적용되는 일실시예로서, 움직임 벡터 후보 리스트에 포함되는 이웃 블록의 범위를 도시한 것이다.FIG. 4 illustrates a method of generating a motion vector candidate list for a current block according to an embodiment of the present invention. FIG. 5 illustrates an example of a motion vector candidate list generated in a motion vector candidate list And the range of neighboring blocks.

도 4를 참조하면, 현재 블록의 공간적 이웃 블록으로부터 현재 블록의 공간적 움직임 벡터 후보를 획득할 수 있다(S400).Referring to FIG. 4, a spatial motion vector candidate of a current block can be obtained from a spatial neighboring block of the current block (S400).

상기 공간적 이웃 블록은 현재 블록에 공간적으로 인접한 이웃 블록을 의미한다. 도 5(a)를 참조하면, 상기 공간적 이웃 블록은 현재 블록의 좌측 이웃 블록(A0, A1), 또는 상단 이웃 블록(B0, B1, B2) 중 적어도 하나를 포함할 수 있다.The spatial neighbor block refers to a neighboring block spatially adjacent to the current block. 5A, the spatially neighboring block may include at least one of a left neighbor block A0, A1, or an upper neighbor block B0, B1, B2 of the current block.

구체적으로, 좌측 이웃 블록이 현재 블록과 동일한 참조 픽쳐를 사용하는지 여부를 판단할 수 있다. Specifically, it can be determined whether or not the left neighbor block uses the same reference picture as the current block.

동일한 참조 픽쳐를 사용하는지 여부는 현재 블록의 참조 픽쳐의 출력 순서 정보(POC)와 좌측 이웃 블록의 참조 픽쳐의 출력 순서 정보(POC)가 동일한지 여부에 기초하여 결정될 수 있다. 즉, 현재 블록의 참조 픽쳐의 출력 순서 정보와 좌측 이웃 블록의 참조 픽쳐의 출력 순서 정보가 동일한 경우, 상기 좌측 이웃 블록은 현재 블록과 동일한 참조 픽쳐를 사용하는 것으로 판단될 수 있다.Whether or not to use the same reference picture can be determined based on whether the output order information (POC) of the reference picture of the current block and the output order information (POC) of the reference picture of the left neighbor block are the same. That is, if the output order information of the reference picture of the current block and the output order information of the reference picture of the left neighboring block are the same, it can be determined that the left neighboring block uses the same reference picture as the current block.

상기 판단 결과, 좌측 이웃 블록이 현재 블록과 동일한 참조 픽쳐를 사용하는 경우, 상기 좌측 이웃 블록의 움직임 벡터를 현재 블록의 제1 공간적 움직임 벡터 후보로 설정할 수 있다.As a result of the determination, if the left neighbor block uses the same reference picture as the current block, the motion vector of the left neighbor block may be set as the first spatial motion vector candidate of the current block.

반면, 좌측 이웃 블록이 현재 블록과 동일한 참조 픽쳐를 사용하지 않는 경우, 상기 좌측 이웃 블록의 움직임 벡터를 스케일링하고, 스케일링된 움직임 벡터를 현재 블록의 제1 공간적 움직임 벡터 후보로 설정할 수도 있다. 여기서, 스케일링에 이용되는 스케일 팩터(scale factor)는 현재 블록을 포함한 현재 픽쳐와 현재 블록의 참조 픽쳐 간의 시간적 거리 및/또는 상기 현재 픽쳐와 좌측 이웃 블록의 참조 픽쳐 간의 시간적 거리에 기초하여 결정될 수 있다. 여기서, 시간적 거리는 각 픽쳐에 할당된 출력 순서 정보(POC)를 이용하여 결정될 수 있다.On the other hand, if the left neighbor block does not use the same reference picture as the current block, the motion vector of the left neighbor block may be scaled and the scaled motion vector may be set as the first spatial motion vector candidate of the current block. Here, the scale factor used for scaling can be determined based on the temporal distance between the current picture including the current block and the reference picture of the current block and / or the temporal distance between the current picture and the reference picture of the left neighboring block . Here, the temporal distance may be determined using the output order information (POC) assigned to each picture.

한편, 좌측 이웃 블록이 도 5(a)에 도시된 바와 같이 A0와 A1을 포함하는 경우, A0와 A1 간의 기-정의된 우선 순위에 따라 순차적으로 판단할 수 있다. 예를 들어, A0, A1의 순서로 현재 블록과의 참조 픽쳐 동일 여부를 판단할 수 있다. 이 경우, 선순위를 갖는 A0가 현재 블록과 동일한 참조 픽쳐를 사용하는 것으로 판단된 경우, 상기 A0의 움직임 벡터를 현재 블록의 제1 공간적 움직임 벡터 후보로 설정하고, 후순위를 갖는 A1에 대해서는 현재 블록과 동일한 참조 픽쳐를 사용하는지 여부를 판단하지 아니할 수 있다.On the other hand, when the left neighbor block includes A0 and A1 as shown in FIG. 5 (a), it can be determined sequentially according to the predefined priority between A0 and A1. For example, it is possible to determine whether or not the reference picture with the current block is the same in the order of A0 and A1. In this case, if it is determined that A0 having the priority uses the same reference picture as the current block, the motion vector of A0 is set as the first spatial motion vector candidate of the current block, and for A1 having the latter, It may not be determined whether or not the same reference picture is used.

A0가 현재 블록과 동일한 참조 픽쳐를 사용하지 아니하는 것으로 판단된 경우, A1이 현재 블록과 동일한 참조 픽쳐를 사용하는지 여부를 판단할 수 있다. 판단 결과, A1이 현재 블록과 동일한 참조 픽쳐를 사용하는 경우, 상기 좌측 이웃 블록의 움직임 벡터를 현재 블록의 제1 공간적 움직임 벡터 후보로 설정할 수 있다. 반면, A1이 현재 블록과 동일한 참조 픽쳐를 사용하지 않는 것으로 판단된 경우, 상술한 바와 같이 A0 또는 A1 중 어느 하나의 움직임 벡터를 스케일링하여 현재 블록의 제1 공간적 움직임 벡터 후보를 획득할 수 있다.If it is determined that A0 does not use the same reference picture as the current block, it can be determined whether A1 uses the same reference picture as the current block. As a result of the determination, if A1 uses the same reference picture as the current block, the motion vector of the left neighboring block can be set as the first spatial motion vector candidate of the current block. On the other hand, if it is determined that A1 does not use the same reference picture as the current block, the first spatial motion vector candidate of the current block can be obtained by scaling the motion vector of either A0 or A1 as described above.

한편, 상단 이웃 블록의 경우에도, 상술한 좌측 이웃 블록과 마찬가지로 현재 블록과의 동일한 참조 픽쳐 사용 여부를 고려하여 현재 블록의 제2 공간적 움직임 벡터 후보를 획득할 수 있으며, 여기서 자세한 설명은 생략하기로 한다.Also, in the case of the upper neighbor block, the second spatial motion vector candidate of the current block can be acquired in consideration of whether or not the same reference picture as the current block is used, as in the case of the left neighboring block described above. do.

도 4를 참조하면, 현재 블록의 시간적 이웃 블록으로부터 현재 블록의 시간적 움직임 벡터 후보를 획득할 수 있다(S410).Referring to FIG. 4, a temporal motion vector candidate of a current block may be obtained from a temporally neighboring block of the current block (S410).

시간적 이웃 블록은 현재 블록과 다른 시간대에 위치한 콜 픽쳐에 포함될 수 있다. 상기 시간적 이웃 블록은 콜 픽쳐 내에서 상기 현재 블록과 동일 위치의 블록을 의미할 수 있다. The temporal neighbor block may be included in the call picture located at a different time zone from the current block. The temporal neighbor block may refer to a block in the call picture that is co-located with the current block.

도 5(b)를 참조하면, 상기 시간적 이웃 블록은 현재 블록의 우측하단 화소의 위치를 포함하는 블록을 의미할 수 있고, 또는 현재 블록의 중앙 화소의 위치를 포함하는 블록을 의미할 수도 있다.Referring to FIG. 5B, the temporal neighbor block may denote a block including a position of a lower right pixel of the current block, or a block including a position of a center pixel of the current block.

상술한 바와 같이 시간적 이웃 블록은 특정되며, 특정된 시간적 이웃 블록의 움직임 벡터를 현재 블록의 시간적 움직임 벡터 후보로 설정할 수 있다. 다만, 상기 시간적 움직임 벡터 후보는 S400에서 획득되는 좌측 이웃 블록으로부터의 공간적 움직임 벡터 후보와 상단 이웃 블록으로부터의 공간적 움직임 벡터 후보가 동일한 경우에 한하여 획득되는 것으로 제한될 수도 있다.As described above, the temporal neighbor block is specified, and the motion vector of the specified temporal neighbor block can be set as the temporal motion vector candidate of the current block. However, the temporal motion vector candidate may be obtained only when the spatial motion vector candidate from the left neighboring block obtained in S400 is the same as the spatial motion vector candidate from the upper neighboring block.

S400에서 획득된 공간적 움직임 벡터 후보와 S410에서 획득된 시간적 움직임 벡터 후보를 이용하여 현재 블록에 대한 움직임 벡터 후보 리스트를 생성할 수 있다(S420).The motion vector candidate list for the current block may be generated using the spatial motion vector candidate obtained in S400 and the temporal motion vector candidate obtained in S410 (S420).

구체적으로, 상기 공간적 움직임 벡터 후보와 상기 시간적 움직임 벡터 후보는 기-정의된 우선 순위에 따라 상기 움직임 벡터 후보 리스트에 배열될 수 있다. 예를 들어, 제1 공간적 움직임 벡터 후보, 제2 공간적 움직임 벡터 후보, 시간적 움직임 벡터의 순서로 배열될 수 있다.In particular, the spatial motion vector candidate and the temporal motion vector candidate may be arranged in the motion vector candidate list according to a pre-defined priority order. For example, they may be arranged in the order of a first spatial motion vector candidate, a second spatial motion vector candidate, and a temporal motion vector.

S420에서 생성된 움직임 벡터 후보 리스트를 수정할 수 있다(S430).The motion vector candidate list generated in S420 may be modified (S430).

구체적으로, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보들 간의 중복성을 제거할 수 있다. 예를 들어, 상기 제1 공간적 움직임 벡터 후보와 제2 공간적 움직임 벡터 후보가 동일한 경우, 상기 제2 공간적 움직임 벡터 부호는 상기 움직임 벡터 후보 리스트에 제거될 수 있다. 또는, 공간적 움직임 벡터 후보와 시간적 움직임 벡터 후보가 동일한 경우, 상기 시간적 움직임 벡터 후보는 상기 움직임 벡터 후보 리스트에서 제거될 수 있다.Concretely, the redundancy between the motion vector candidates included in the motion vector candidate list can be eliminated. For example, if the first spatial motion vector candidate and the second spatial motion vector candidate are the same, the second spatial motion vector code may be removed from the motion vector candidate list. Alternatively, if the spatial motion vector candidate and the temporal motion vector candidate are the same, the temporal motion vector candidate may be removed from the motion vector candidate list.

한편, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보들의 개수가 상기 움직임 벡터 후보 리스트에 포함 가능한 움직임 벡터 후보의 최대 개수보다 적은 경우에는 제로(zero) 움직임 벡터 후보를 상기 움직임 벡터 후보 리스트에 추가할 수도 있다. 여기서, 상기 최대 개수는 기-결정된 값일 수도 있고, 부호화 효율을 고려하여 가변적으로 결정되는 값일 수도 있다.On the other hand, when the number of motion vector candidates included in the motion vector candidate list is smaller than the maximum number of motion vector candidates that can be included in the motion vector candidate list, a zero motion vector candidate may be added to the motion vector candidate list have. Here, the maximum number may be a pre-determined value or a value determined variably in consideration of the coding efficiency.

또한, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보들의 개수가 상기 움직임 벡터 후보 리스트에 포함 가능한 움직임 벡터 후보의 최대 개수를 초과하는 경우, 우선 순위가 낮은 순서대로 움직임 벡터 후보를 제거할 수도 있다.
In addition, if the number of motion vector candidates included in the motion vector candidate list exceeds the maximum number of motion vector candidates that can be included in the motion vector candidate list, the motion vector candidate may be removed in order of lower priority.

도 6은 본 발명이 적용되는 일실시예로서, 베이스 레이어의 부호화 정보에 따라 움직임 벡터 해상도를 적응적으로 결정하여 인핸스먼트 레이어의 움직임 벡터를 추정하는 방법을 도시한 것이다.FIG. 6 illustrates a method of adaptively determining a motion vector resolution according to encoding information of a base layer and estimating a motion vector of an enhancement layer according to an embodiment of the present invention. Referring to FIG.

도 6을 참조하면, 인핸스먼트 레이어의 현재 블록에 대응하는 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 상기 베이스 레이어의 제1 특징값을 산출할 수 있다(S600).Referring to FIG. 6, the first feature value of the base layer can be calculated using the encoding information of the reference block of the base layer corresponding to the current block of the enhancement layer (S600).

참조 블록의 부호화 정보는 참조 블록의 움직임 정보 또는 참조 블록의 텍스쳐 정보를 포함하고, 상기 움직임 정보는 움직임 벡터, 움직임 벡터 차분값 또는 움직임 벡터 예측값 중 적어도 하나를 포함할 수 있음은 도 3에서 살펴본 바와 같다.The encoding information of the reference block includes motion information of a reference block or texture information of a reference block, and the motion information may include at least one of a motion vector, a motion vector difference value, and a motion vector prediction value. same.

또한, 상기 제1 특징값은 베이스 레이어의 참조 블록의 움직임 벡터 차분값, 참조 블록의 움직임 벡터들 간의 거리값(Euclidian Distance), 참조 블록의 움직임 벡터 예측값의 크기, 또는 참조 블록의 화소값들의 분산값으로 산출될 수도 있다.The first feature value may be a motion vector difference value of a base layer reference block, a distance value between motion vectors of a reference block, a magnitude of a motion vector predicted value of a reference block, ≪ / RTI >

도 6을 참조하면, S600에서 산출된 제1 특징값에 기초하여 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값을 획득할 수 있다(S610).Referring to FIG. 6, the motion vector initial value of the current block of the enhancement layer may be obtained based on the first feature value calculated in S600 (S610).

구체적으로, 상기 제1 특징값과 제1 임계값 간의 비교 결과에 기초하여 상기 인핸스먼트 레이어의 현재 블록의 움직임 벡터 초기값을 획득할 수 있다.Specifically, the motion vector initial value of the current block of the enhancement layer may be obtained based on the comparison result between the first feature value and the first threshold value.

만일, 상기 제1 특징값이 상기 제1 임계값보다 작거나 같은 경우, 상기 현재 블록의 움직임 벡터 초기값은 현재 블록의 움직임 벡터 예측값으로 유도될 수 있다. 여기서, 현재 블록의 움직임 벡터 예측값은 현재 블록에 대한 움직임 벡터 후보 리스트에 포함된 복수 개의 움직임 벡터 후보 중 어느 하나에 해당될 수 있다.If the first feature value is less than or equal to the first threshold value, the motion vector initial value of the current block may be derived as a motion vector predicted value of the current block. Here, the motion vector prediction value of the current block may correspond to any one of a plurality of motion vector candidates included in the motion vector candidate list for the current block.

반면, 상기 제1 특징값이 상기 제1 임계값보다 큰 경우, 상기 현재 블록의 움직임 벡터 초기값은 베이스 레이어의 참조 블록의 움직임 벡터를 이용하여 유도될 수 있다. 예를 들어, 상기 현재 블록의 움직임 벡터 초기값은 상기 베이스 레이어의 참조 블록의 움직임 벡터로 설정될 수 있다. 또는, 상기 현재 블록의 움직임 벡터 초기값은 상기 베이스 레이어의 참조 블록의 움직임 벡터를 임의의 상수값으로 스케일링하여 유도될 수도 있다. 여기서, 임의의 상수값은 인핸스먼트 레이어와 베이스 레이어 간의 해상도 차이를 고려하여 가변적으로 결정될 수 있다.On the other hand, if the first feature value is greater than the first threshold value, the motion vector initial value of the current block may be derived using the motion vector of the reference block of the base layer. For example, the motion vector initial value of the current block may be set as a motion vector of the reference block of the base layer. Alternatively, the motion vector initial value of the current block may be derived by scaling the motion vector of the reference block of the base layer into an arbitrary constant value. Herein, an arbitrary constant value can be variably determined in consideration of the resolution difference between the enhancement layer and the base layer.

도 6을 참조하면, 베이스 레이어의 제2 특징값에 기초하여 움직임 벡터 해상도를 결정할 수 있다(S620).Referring to FIG. 6, the motion vector resolution may be determined based on the second feature value of the base layer (S620).

여기서, 베이스 레이어의 제2 특징값은 베이스 레이어의 참조 블록의 부호화 정보를 이용하여 산출될 수 있다. 예를 들어, 상기 제1 특징값은 베이스 레이어의 참조 블록의 움직임 벡터 차분값, 참조 블록의 움직임 벡터들 간의 거리값(Euclidian Distance), 참조 블록의 움직임 벡터 예측값의 크기, 또는 참조 블록의 화소값들의 분산값으로 산출될 수 있다. Here, the second feature value of the base layer can be calculated using the encoding information of the reference block of the base layer. For example, the first feature value may include a motion vector difference value of a reference block of a base layer, a distance value (Euclidian Distance) between motion vectors of a reference block, a size of a motion vector predicted value of a reference block, As shown in FIG.

구체적으로, 제2 특징값과 제2 쿼터 임계값 간의 비교 및/또는 제2 특징값과 제2 하프 임계값 간의 비교 결과에 기초하여 움직임 벡터 해상도를 결정할 수 있다.Specifically, the motion vector resolution can be determined based on a comparison between the second feature value and the second quaternary threshold value and / or a comparison result between the second feature value and the second half threshold value.

예를 들어, 제2 특징값이 제2 쿼터 임계값보다 작거나 같은 경우, 움직임 벡터 해상도는 쿼터 펠 단위로 결정될 수 있다. 한편, 제2 특징값이 제2 쿼터 임계값보다 크고, 제2 하프 임계값보다 작거나 같은 경우, 움직임 벡터 해상도는 하프 펠 단위로 결정될 수 있다. 한편, 제2 특징값이 제2 하프 임계값보다 큰 경우, 움직임 벡터 해상도는 정수 펠 단위로 결정될 수 있다.For example, if the second feature value is less than or equal to the second quota threshold, the motion vector resolution may be determined in units of quarter pels. On the other hand, when the second characteristic value is larger than the second quadrant threshold value and smaller than or equal to the second half threshold value, the motion vector resolution can be determined in units of half pels. On the other hand, when the second feature value is larger than the second half threshold value, the motion vector resolution can be determined in units of integer pels.

도 6을 참조하면, S620에서 결정된 움직임 벡터 해상도에 따라 현재 블록의 움직임 벡터 초기값을 재설정할 수 있다(S630).Referring to FIG. 6, the motion vector initial value of the current block may be reset according to the motion vector resolution determined in S620 (S630).

구체적으로, 움직임 벡터 해상도가 쿼터 펠 단위인 경우에는 상기 현재 블록의 움직임 벡터 초기값을 재설정된 움직임 벡터 초기값으로 이용할 수 있다. 반면, 움직임 벡터 해상도가 하프 펠 단위인 경우 또는 정수 펠 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값을 임의의 상수값으로 스케일링하여 재설정할 수 있다. 여기서, 스케일링은 쉬프트 연산을 이용하여 수행될 수 있다. 예를 들어, 움직임 벡터 초기값은 다음 수학식 1과 같이 재설정될 수 있다.Specifically, when the motion vector resolution is in units of quarter pels, the initial value of the motion vector of the current block can be used as the initial value of the reset motion vector. On the other hand, when the motion vector resolution is a half-pel unit or a constant pel unit, the motion vector initial value of the current block can be reset by scaling to an arbitrary constant value. Here, scaling can be performed using a shift operation. For example, the motion vector initial value can be reset as shown in the following equation (1).

Figure 112014105663482-pat00001
Figure 112014105663482-pat00001

도 6을 참조하면, S630에서 재설정된 움직임 벡터 초기값을 이용하여 상기 결정된 움직임 벡터 해상도 단위로 현재 블록의 움직임 벡터를 추정할 수 있다(S640).Referring to FIG. 6, in operation S640, a motion vector of a current block may be estimated on the basis of the determined motion vector resolution using the motion vector initial value reset in S630.

예를 들어, 움직임 벡터 해상도가 정수 펠 단위인 경우, 재설정된 움직임 벡터 초기값을 시작점으로 기-설정된 범위 내에 있는 정수 펠들에 대해서 움직임 벡터를 탐색할 수 있다. 여기서, 기-정의된 범위라 함은 현재 블록이 포함된 현재 슬라이스 또는 현재 픽쳐의 전 영역을 의미할 수도 있고, 또는 제한적인 움직임 벡터 탐색을 위해 설정된 영역으로서, 현재 슬라이스 또는 현재 픽쳐의 일부 영역을 의미할 수 있다.For example, if the motion vector resolution is in units of integer pels, the motion vector can be searched for integer paddles within a predetermined range from the initial value of the reset motion vector. Here, the pre-defined range may refer to the current slice including the current block or the entire area of the current picture, or may be an area set for limited motion vector search, and may include a current slice or a part of the current picture It can mean.

이때, 각 탐색 위치에서의 비용값(mcost)을 산출하고, 산출된 비용값들 중 최소 비용값을 갖는 정수 펠의 위치를 결정하여 현재 블록의 움직임 벡터를 추정할 수 있다.At this time, the cost value mcost at each search position may be calculated, and the motion vector of the current block may be estimated by determining the position of the integer pels having the minimum cost value among the calculated cost values.

마찬가지로, 움직임 벡터 해상도가 하프 펠 단위인 경우, 재설정된 움직임 벡터 초기값을 시작점으로 기-설정된 범위 내에 있는 주변 하프 펠들에 대해서 움직임 벡터를 탐색하고, 각 탐색 위치에서의 비용값 중 최소 비용값을 갖는 하프 펠을 결정하여 현재 블록의 움직임 벡터를 추정할 수 있다.Likewise, if the motion vector resolution is a half-pel unit, motion vectors are searched for peripheral half-pels within a predetermined range from the initial value of the reset motion vector, and the minimum cost value among the cost values at each search position The motion vector of the current block can be estimated.

이와 같이, 베이스 레이어의 부호화 정보를 이용하여 움직임 벡터 탐색을 위한 해상도 단위를 적응적으로 결정함으로써, 움직임 벡터 탐색의 복잡도를 줄일 수 있다.Thus, the complexity of motion vector search can be reduced by adaptively determining a resolution unit for motion vector search using the encoding information of the base layer.

Claims (24)

제1 레이어의 현재 블록에 대응하는 제2 레이어의 참조 블록의 부호화 정보를 이용하여 상기 제2 레이어의 제1 특징값을 산출하는 단계;
상기 제1 특징값에 기초하여 상기 제1 레이어의 현재 블록의 움직임 벡터 초기값을 획득하는 단계;
상기 제2 레이어의 제2 특징값에 기초하여 움직임 벡터 해상도를 결정하는 단계;
상기 결정된 움직임 벡터 해상도에 따라 상기 현재 블록의 움직임 벡터 초기값을 재설정하는 단계; 및
상기 재설정된 움직임 벡터 초기값에 기초하여, 상기 결정된 움직임 벡터 해상도의 단위로 상기 현재 블록의 움직임 벡터를 추정하는 단계를 포함하되,
상기 움직임 벡터 해상도가 하프 펠(half pel) 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 1만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하고,
상기 움직임 벡터 해상도가 정수 펠(integer pel) 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 2만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
Calculating a first feature value of the second layer using encoding information of a reference block of a second layer corresponding to a current block of the first layer;
Obtaining a motion vector initial value of a current block of the first layer based on the first feature value;
Determining a motion vector resolution based on a second feature value of the second layer;
Resetting a motion vector initial value of the current block according to the determined motion vector resolution; And
Estimating a motion vector of the current block in units of the determined motion vector resolution based on the reset motion vector initial value,
If the motion vector resolution is a half pel unit, a motion vector initial value of the current block is reset by applying a shift operation to the motion vector initial value of the current block by one,
Wherein when the motion vector resolution is an integer pel unit, a motion vector initial value of the current block is reset by applying a shift operation by 2 to the motion vector initial value of the current block, Way.
제1항에 있어서,
상기 참조 블록의 부호화 정보는 상기 참조 블록의 움직임 정보 또는 상기 참조 블록의 텍스쳐 정보 중 적어도 하나를 포함하고,
상기 움직임 정보는 움직임 벡터, 움직임 벡터 차분값 또는 움직임 벡터 예측값 중 적어도 하나를 포함하는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
The method according to claim 1,
Wherein the encoding information of the reference block includes at least one of motion information of the reference block or texture information of the reference block,
Wherein the motion information includes at least one of a motion vector, a motion vector difference value, and a motion vector prediction value.
제2항에 있어서,
상기 제1 특징값은 상기 참조 블록의 움직임 벡터 차분값, 움직임 벡터들 간의 거리값(Euclidian Distance), 움직임 벡터 예측값의 크기 또는 화소값들의 분산값 중 어느 하나를 이용하여 산출되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
3. The method of claim 2,
Wherein the first feature value is calculated using any one of a motion vector difference value of the reference block, an Euclidian distance between motion vectors, a magnitude of a motion vector predictive value, or a variance value of pixel values, A motion information search method.
제1항에 있어서,
상기 현재 블록의 움직임 벡터 초기값은 상기 제1 특징값과 제1 임계값 간의 비교 결과에 기초하여 획득되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
The method according to claim 1,
Wherein the motion vector initial value of the current block is obtained based on a result of comparison between the first feature value and the first threshold value.
제4항에 있어서,
상기 제1 특징값이 상기 제1 임계값보다 작거나 같은 경우, 상기 현재 블록의 움직임 벡터 초기값은 상기 현재 블록의 움직임 벡터 예측값으로 유도되고,
상기 제1 특징값이 상기 제1 임계값보다 큰 경우, 상기 현재 블록의 움직임 벡터 초기값은 상기 참조 블록의 움직임 벡터를 이용하여 유도되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
5. The method of claim 4,
Wherein if the first feature value is less than or equal to the first threshold value, a motion vector initial value of the current block is derived as a motion vector predictive value of the current block,
Wherein the motion vector initial value of the current block is derived using a motion vector of the reference block when the first feature value is greater than the first threshold value.
제5항에 있어서,
상기 현재 블록의 움직임 벡터 예측값은 상기 현재 블록에 대한 움직임 벡터 후보 리스트에 포함된 복수 개의 움직임 벡터 후보 중 어느 하나에 해당하는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
6. The method of claim 5,
Wherein the motion vector prediction value of the current block corresponds to one of a plurality of motion vector candidates included in the motion vector candidate list for the current block.
제5항에 있어서,
상기 현재 블록의 움직임 벡터 초기값은 상기 참조 블록의 움직임 벡터를 상수값으로 스케일링하여 유도되고,
상기 상수값은 상기 제1 레이어와 상기 제2 레이어 간의 해상도 차이를 고려하여 가변적으로 결정되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
6. The method of claim 5,
The motion vector initial value of the current block is derived by scaling a motion vector of the reference block by a constant value,
Wherein the constant value is variably determined in consideration of a difference in resolution between the first layer and the second layer.
삭제delete 제1항에 있어서,
상기 제2 특징값은 상기 제2 레이어의 참조 블록의 부호화 정보를 이용하여 산출되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
The method according to claim 1,
And the second feature value is calculated using encoding information of the reference block of the second layer.
제9항에 있어서,
상기 움직임 벡터 해상도는 상기 제2 특징값과 제2 쿼터 임계값 간의 비교 또는 상기 제2 특징값과 제2 하프 임계값 간의 비교 중 적어도 하나의 결과에 기초하여 결정되는, 멀티 레이어 비디오의 움직임 정보 탐색 방법.
10. The method of claim 9,
Wherein the motion vector resolution is determined based on at least one of a result of a comparison between the second feature value and a second quaternary threshold value or a comparison between the second feature value and a second half threshold value, Way.
삭제delete 제1항에 있어서, 상기 제1 레이어는 상기 제2 레이어보다 해상도가 높은 레이어인, 멀티 레이어 비디오의 움직임 정보 탐색 방법.The method of claim 1, wherein the first layer is a higher resolution layer than the second layer. 청구항 13은(는) 설정등록료 납부시 포기되었습니다.Claim 13 has been abandoned due to the set registration fee. 제1 레이어의 현재 블록에 대응하는 제2 레이어의 참조 블록의 부호화 정보를 이용하여 상기 제2 레이어의 제1 특징값을 산출하고, 상기 제1 특징값에 기초하여 상기 제1 레이어의 현재 블록의 움직임 벡터 초기값을 획득하며, 상기 제2 레이어의 제2 특징값에 기초하여 움직임 벡터 해상도를 결정하고, 상기 결정된 움직임 벡터 해상도에 따라 상기 현재 블록의 움직임 벡터 초기값을 재설정하며, 상기 재설정된 움직임 벡터 초기값에 기초하여, 상기 결정된 움직임 벡터 해상도의 단위로 상기 현재 블록의 움직임 벡터를 추정하는 인터 예측부를 포함하되,
상기 인터 예측부는,
상기 움직임 벡터 해상도가 하프 펠 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 1만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하고,
상기 움직임 벡터 해상도가 정수 펠 단위인 경우, 상기 현재 블록의 움직임 벡터 초기값에 2만큼 쉬프트 연산을 적용하여 상기 현재 블록의 움직임 벡터 초기값을 재설정하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
The first feature value of the second layer is calculated using the encoding information of the reference block of the second layer corresponding to the current block of the first layer and the first feature value of the current layer of the first layer is calculated based on the first feature value, Determining a motion vector resolution based on a second feature value of the second layer, resetting a motion vector initial value of the current block according to the determined motion vector resolution, And an inter-prediction unit for estimating a motion vector of the current block in units of the determined motion vector resolution based on a vector initial value,
The inter-
The motion vector initial value of the current block is reset by applying a shift operation by 1 to the motion vector initial value of the current block if the motion vector resolution is a halfpel unit,
Wherein the motion vector initial value of the current block is reset by applying a shift operation by 2 to the motion vector initial value of the current block when the motion vector resolution is a unit of integer pels.
청구항 14은(는) 설정등록료 납부시 포기되었습니다.Claim 14 has been abandoned due to the setting registration fee. 제13항에 있어서,
상기 참조 블록의 부호화 정보는 상기 참조 블록의 움직임 정보 또는 상기 참조 블록의 텍스쳐 정보 중 적어도 하나를 포함하고,
상기 움직임 정보는 움직임 벡터, 움직임 벡터 차분값 또는 움직임 벡터 예측값 중 적어도 하나를 포함하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
14. The method of claim 13,
Wherein the encoding information of the reference block includes at least one of motion information of the reference block or texture information of the reference block,
Wherein the motion information includes at least one of a motion vector, a motion vector difference value, and a motion vector prediction value.
청구항 15은(는) 설정등록료 납부시 포기되었습니다.Claim 15 is abandoned in the setting registration fee payment. 제14항에 있어서, 상기 인터 예측부는,
상기 참조 블록의 움직임 벡터 차분값, 움직임 벡터들 간의 거리값(Euclidian Distance), 움직임 벡터 예측값의 크기 또는 화소값들의 분산값 중 어느 하나를 이용하여 상기 제1 특징값을 산출하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
15. The apparatus of claim 14, wherein the inter-
Wherein the first feature value is calculated using any one of a motion vector difference value of the reference block, a distance value between motion vectors, a magnitude of a motion vector predictive value, or a variance value of pixel values. A motion information search device.
청구항 16은(는) 설정등록료 납부시 포기되었습니다.Claim 16 has been abandoned due to the setting registration fee. 제13항에 있어서, 상기 인터 예측부는,
상기 제1 특징값과 제1 임계값 간의 비교 결과에 기초하여 상기 현재 블록의 움직임 벡터 초기값을 획득하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
14. The apparatus of claim 13, wherein the inter-
And acquires a motion vector initial value of the current block based on a comparison result between the first feature value and the first threshold value.
청구항 17은(는) 설정등록료 납부시 포기되었습니다.Claim 17 has been abandoned due to the setting registration fee. 제16항에 있어서, 상기 인터 예측부는,
상기 제1 특징값이 상기 제1 임계값보다 작거나 같은 경우, 상기 현재 블록의 움직임 벡터 초기값을 상기 현재 블록의 움직임 벡터 예측값으로 유도하고,
상기 제1 특징값이 상기 제1 임계값보다 큰 경우, 상기 현재 블록의 움직임 벡터 초기값을 상기 참조 블록의 움직임 벡터를 이용하여 유도하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
The apparatus of claim 16, wherein the inter-
If the first feature value is less than or equal to the first threshold value, deriving a motion vector initial value of the current block as a motion vector predictive value of the current block,
And derives a motion vector initial value of the current block using a motion vector of the reference block if the first feature value is greater than the first threshold value.
청구항 18은(는) 설정등록료 납부시 포기되었습니다.Claim 18 has been abandoned due to the setting registration fee. 제17항에 있어서,
상기 현재 블록의 움직임 벡터 예측값은 상기 현재 블록에 대한 움직임 벡터 후보 리스트에 포함된 복수 개의 움직임 벡터 후보 중 어느 하나에 해당하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
18. The method of claim 17,
Wherein the motion vector prediction value of the current block corresponds to any one of a plurality of motion vector candidates included in the motion vector candidate list for the current block.
청구항 19은(는) 설정등록료 납부시 포기되었습니다.Claim 19 is abandoned in setting registration fee. 제17항에 있어서, 상기 인터 예측부는,
상기 참조 블록의 움직임 벡터를 상수값으로 스케일링하여 상기 현재 블록의 움직임 벡터 초기값을 유도하되,
상기 상수값은 상기 제1 레이어와 상기 제2 레이어 간의 해상도 차이를 고려하여 가변적으로 결정되는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
18. The apparatus of claim 17, wherein the inter-
A motion vector initial value of the current block is derived by scaling a motion vector of the reference block to a constant value,
Wherein the constant value is variably determined in consideration of a resolution difference between the first layer and the second layer.
삭제delete 청구항 21은(는) 설정등록료 납부시 포기되었습니다.Claim 21 has been abandoned due to the setting registration fee. 제13항에 있어서, 상기 인터 예측부는,
상기 제2 레이어의 참조 블록의 부호화 정보를 이용하여 상기 제2 특징값을 산출하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
14. The apparatus of claim 13, wherein the inter-
And calculates the second feature value using the encoding information of the reference block of the second layer.
청구항 22은(는) 설정등록료 납부시 포기되었습니다.Claim 22 is abandoned in setting registration fee. 제21항에 있어서, 상기 인터 예측부는,
상기 제2 특징값과 제2 쿼터 임계값 간의 비교 또는 상기 제2 특징값과 제2 하프 임계값 간의 비교 중 적어도 하나의 결과에 기초하여 상기 움직임 벡터 해상도를 결정하는, 멀티 레이어 비디오의 움직임 정보 탐색 장치.
22. The apparatus of claim 21, wherein the inter-
Determining a motion vector resolution based on at least one of a result of a comparison between the second feature value and a second quaternary threshold value or a comparison between the second feature value and a second half threshold value, Device.
삭제delete 청구항 24은(는) 설정등록료 납부시 포기되었습니다.Claim 24 is abandoned in setting registration fee. 제13항에 있어서, 상기 제1 레이어는 상기 제2 레이어보다 해상도가 높은 레이어인, 멀티 레이어 비디오의 움직임 정보 탐색 장치.14. The apparatus of claim 13, wherein the first layer is a higher resolution layer than the second layer.
KR1020140151192A 2014-11-03 2014-11-03 A method and an apparatus for searching motion information of a multi-layer video KR101652072B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140151192A KR101652072B1 (en) 2014-11-03 2014-11-03 A method and an apparatus for searching motion information of a multi-layer video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140151192A KR101652072B1 (en) 2014-11-03 2014-11-03 A method and an apparatus for searching motion information of a multi-layer video

Publications (2)

Publication Number Publication Date
KR20160051344A KR20160051344A (en) 2016-05-11
KR101652072B1 true KR101652072B1 (en) 2016-08-29

Family

ID=56026121

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140151192A KR101652072B1 (en) 2014-11-03 2014-11-03 A method and an apparatus for searching motion information of a multi-layer video

Country Status (1)

Country Link
KR (1) KR101652072B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019168347A1 (en) * 2018-02-28 2019-09-06 삼성전자 주식회사 Video decoding method and apparatus and video encoding method and apparatus
WO2023085704A1 (en) * 2021-11-09 2023-05-19 삼성전자 주식회사 Video decoding method, video decoding apparatus, video encoding method, and video encoding apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636302B (en) * 2019-09-27 2023-10-24 腾讯科技(深圳)有限公司 Video decoding and encoding methods and devices, storage medium, decoder and encoder
CN112040242A (en) * 2020-07-30 2020-12-04 浙江大华技术股份有限公司 Inter-frame prediction method, device and equipment based on advanced motion vector expression

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5830993B2 (en) * 2011-07-14 2015-12-09 ソニー株式会社 Image processing apparatus and image processing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019168347A1 (en) * 2018-02-28 2019-09-06 삼성전자 주식회사 Video decoding method and apparatus and video encoding method and apparatus
US11006144B2 (en) 2018-02-28 2021-05-11 Samsung Electronics Co., Ltd. Video decoding method and apparatus and video encoding method and apparatus
US11388435B2 (en) 2018-02-28 2022-07-12 Samsung Electronics Co., Ltd. Video decoding method and apparatus and video encoding method and apparatus
US11394998B2 (en) 2018-02-28 2022-07-19 Samsung Electronics Co., Ltd. Video decoding method and apparatus and video encoding method and apparatus
US11412251B2 (en) 2018-02-28 2022-08-09 Samsung Electronics Co., Ltd. Video decoding method and apparatus and video encoding method and apparatus
US11451822B2 (en) 2018-02-28 2022-09-20 Samsung Electronics Co., Ltd. Video decoding method and apparatus and video encoding method and apparatus
WO2023085704A1 (en) * 2021-11-09 2023-05-19 삼성전자 주식회사 Video decoding method, video decoding apparatus, video encoding method, and video encoding apparatus

Also Published As

Publication number Publication date
KR20160051344A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
US9769478B2 (en) Scalable video signal encoding/decoding method and apparatus
KR102286856B1 (en) A method and an apparatus for encoding/decoding a scalable video signal
KR20140138538A (en) Method and apparatus for multi-layer video coding
US20160330458A1 (en) Scalable video signal encoding/decoding method and apparatus
KR20150133682A (en) A method and an apparatus for encoding and decoding a scalable video signal
KR20150133683A (en) A method and an apparatus for encoding and decoding a scalable video signal
US10187641B2 (en) Method and apparatus for encoding/decoding multilayer video signal
KR101652072B1 (en) A method and an apparatus for searching motion information of a multi-layer video
US10250902B2 (en) Method for inducing motion information in multilayer structure and apparatus using same
KR20150110294A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150064677A (en) A method and an apparatus for encoding and decoding a multi-layer video signal
KR20150133684A (en) A method and an apparatus for encoding and decoding a scalable video signal
KR20140145559A (en) A method and an apparatus for encoding/decoding a scalable video signal
KR20150048077A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150009468A (en) A method and an apparatus for encoding/decoding a scalable video signal
KR20150043990A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
WO2014189345A1 (en) Method for inducing motion information in multilayer structure and apparatus using same
KR20150044394A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150075031A (en) A method and an apparatus for encoding and decoding a multi-layer video signal
KR20150071653A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150014872A (en) A method and an apparatus for encoding/decoding a scalable video signal
KR20150064675A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150037659A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150009470A (en) A method and an apparatus for encoding and decoding a scalable video signal
KR20150133685A (en) A method and an apparatus for encoding/decoding a multi-layer video signal

Legal Events

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

Payment date: 20190722

Year of fee payment: 4