KR101348544B1 - Methods of intra prediction on sdip and apparatuses for using the same - Google Patents

Methods of intra prediction on sdip and apparatuses for using the same Download PDF

Info

Publication number
KR101348544B1
KR101348544B1 KR1020120083673A KR20120083673A KR101348544B1 KR 101348544 B1 KR101348544 B1 KR 101348544B1 KR 1020120083673 A KR1020120083673 A KR 1020120083673A KR 20120083673 A KR20120083673 A KR 20120083673A KR 101348544 B1 KR101348544 B1 KR 101348544B1
Authority
KR
South Korea
Prior art keywords
prediction
reference pixel
mode
pixel
block
Prior art date
Application number
KR1020120083673A
Other languages
Korean (ko)
Other versions
KR20130020562A (en
Inventor
권재철
이배근
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Publication of KR20130020562A publication Critical patent/KR20130020562A/en
Application granted granted Critical
Publication of KR101348544B1 publication Critical patent/KR101348544B1/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/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]

Landscapes

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

Abstract

SDIP 모드에서 화면 내 예측 방법 및 이러한 방법을 사용하는 장치가 개시되어 있다. 화면 내 예측 방법은 예측 블록의 크기 정보와 화면 내 예측 모드 정보를 복호화하는 단계 및 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 예측 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계를 포함할 수 있다. 따라서, DC 모드를 사용한 화면 내 예측을 수행시 주변 참조 픽셀의 일부를 선택적으로 사용함으로서 화면 내 예측을 수행함에 있어서 복잡도를 낮추고 예측의 정확도를 높일 수 있다.Disclosed are an intra prediction method in the SDIP mode and an apparatus using the method. The intra prediction method includes decoding the size information of the prediction block and the intra prediction mode information, and the prediction block is a block for performing short distance intra prediction (SDIP), which is a prediction block for performing intra prediction using DC mode. In this case, the method may include calculating a prediction value calculated based on at least one reference pixel among the first reference pixel and the second reference pixel as a prediction value in the DC mode screen of the prediction block. Therefore, when performing intra prediction using the DC mode, by selectively using a part of the peripheral reference pixels, the complexity may be lowered and the accuracy of prediction may be improved when performing intra prediction.

Description

단거리 화면 내 예측 모드에서 화면 내 예측 방법 및 이러한 방법을 사용하는 장치{METHODS OF INTRA PREDICTION ON SDIP AND APPARATUSES FOR USING THE SAME}METHODS OF INTRA PREDICTION ON SDIP AND APPARATUSES FOR USING THE SAME}

본 발명은 영상 부호화 및 복호화 방법에 관한 것으로서, 보다 상세하게는 SDIP 모드에서 화면 내 예측 방법 및 이러한 방법을 사용하는 장치에 관한 것이다.The present invention relates to an image encoding and decoding method, and more particularly, to an intra prediction method and an apparatus using the method in the SDIP mode.

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

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

본 발명의 목적은 SDIP(shot distance intra prediction)에서 DC 모드 예측 방법을 제공하는 것이다. It is an object of the present invention to provide a DC mode prediction method in shot distance intra prediction (SDIP).

본 발명의 또 다른 목적은 SDIP에서 DC 모드 예측 방법을 수행하는 장치를 제공하는 것이다. It is still another object of the present invention to provide an apparatus for performing a DC mode prediction method in SDIP.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 화면 내 예측 방법은 예측 블록의 크기 정보와 화면 내 예측 모드 정보를 복호화하는 단계, 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 예측 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계를 포함하되, 상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀일 수 있다. 상기 예측 블록이 SDIP를 수행하는 블록이고 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위의 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 제1 참조 픽셀 및 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계는, 아래의 수학식을 기초로 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. In the intra prediction method according to an aspect of the present invention for achieving the above object of the present invention, decoding the size information of the prediction block and the intra prediction mode information, the prediction block is a short distance intra prediction (SDIP) In the case of a prediction block that performs intra prediction using a DC mode as a block to perform, a prediction value calculated based on at least one reference pixel among a first reference pixel and a second reference pixel may be used as a prediction value in the DC mode screen of the prediction block. Wherein the first reference pixel is m reference pixels adjacent to the left side of the prediction block, and the second reference pixel is calculated when the prediction block is a block of nxm size (n and m are natural numbers). N reference pixels adjacent to the top of the prediction block. When the prediction block is a block that performs SDIP and performs intra prediction using the DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into the prediction value in the DC mode screen. The calculating may include calculating a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to shorter sides of the prediction unit among the first reference pixel and the second reference pixel. Computing the DC mode prediction pixel value of the prediction unit by using only the reference pixel adjacent to the short length side in the prediction unit among the first reference pixel and the second reference pixel, the DC mode prediction pixel based on the following equation: It may be a step of calculating a value.

<수학식>&Lt; Equation &

Figure 112012061177919-pat00001
Figure 112012061177919-pat00001

상기 예측 블록이 SDIP를 수행하는 블록이고 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 제1 참조 픽셀 및 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계는, When the prediction block is a block that performs SDIP and performs intra prediction using the DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into the prediction value in the DC mode screen. The calculating may include calculating a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to a long length side in the prediction unit among the first reference pixel and the second reference pixel. Computing the DC mode prediction pixel value of the prediction unit using only the reference pixel adjacent to the long length side in the prediction unit among the first reference pixel and the second reference pixel,

아래의 수학식을 기초로 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다.The DC mode prediction pixel value may be calculated based on the following equation.

<수학식>&Lt; Equation &

Figure 112012061177919-pat00002
Figure 112012061177919-pat00002

상기 예측 블록이 SDIP를 수행하는 블록이고 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 단계는 아래의 수학식을 기초로 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. When the prediction block is a block that performs SDIP and performs intra prediction using the DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into the prediction value in the DC mode screen. The calculating may be performed based on an average value of the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel. It may be a step of calculating a pixel value. The DC mode prediction pixel value of the prediction block is calculated based on an average value of the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel. The step may be a step of calculating the DC mode prediction pixel value based on the following equation.

<수학식>&Lt; Equation &

Figure 112012061177919-pat00003
Figure 112012061177919-pat00003

상기 예측 블록이 SDIP를 수행하는 블록이고 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계이되, 상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택할 수 있다. 상기 제1 참조 픽셀 및 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계는, 아래의 수학식을 기초로 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다.When the prediction block is a block that performs SDIP and performs intra prediction using the DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into the prediction value in the DC mode screen. The calculating may include a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel, and a side adjacent to a side of a long length in a prediction unit among the first reference pixel and the second reference pixel. Calculating a DC mode prediction pixel value of a prediction unit by using a reference pixel of some of the reference pixels, wherein a value obtained by adding a reference pixel adjacent to a short length side and a reference pixel adjacent to the long length side in the prediction unit The number of reference pixels adjacent to the long length side may be selected to be an exponential power of two. A reference pixel adjacent to a side of a short length in a prediction unit of the first reference pixel and a second reference pixel and a reference pixel of a portion of the reference pixel to a side of a long length in a prediction unit of the first reference pixel and the second reference pixel The calculating of the DC mode prediction pixel value of the prediction unit by using may be calculating the DC mode prediction pixel value based on the following equation.

Figure 112012061177919-pat00004
Figure 112012061177919-pat00004

상술한 본 발명의 제2 목적을 달성하기 위한 본 발명의 일 측면에 따른 화면 내 예측 방법은 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계와 상기 예측 블록의 크기 정보와 화면 내 예측 모드 정보인 DC 모드 화면 내 예측 모드를 부호화하는 단계를 포함하되, 상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀일 수 있다. 상기 예측 블록이 SDIP를 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 예측 블록이 SDIP를 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계일 수 있다. 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계이되 상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택할 수 있다. In the intra prediction method according to an aspect of the present invention for achieving the above-described second object of the present invention, a block in which a prediction block performs short distance intra prediction (SDIP) and performs intra prediction using DC mode In the step of calculating a prediction value calculated based on at least one reference pixel of the first reference pixel and the second reference pixel as the prediction value in the DC mode screen of the prediction block, the size information of the prediction block and the intra prediction mode. And encoding the prediction mode in the DC mode picture, which is information, wherein the first reference pixel is m references adjacent to the left side of the prediction block when the prediction block is a block of size nxm (n and m are natural numbers). The pixel and the second reference pixel may be n reference pixels adjacent to the top of the prediction block. When the prediction block is a block that performs SDIP and performs intra prediction using a DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into a DC of the prediction block. The calculating of the prediction value in the mode screen may include calculating a DC mode prediction pixel value of the prediction unit by using only reference pixels adjacent to short sides of the prediction unit among the first reference pixel and the second reference pixel. . When the prediction block is a block that performs SDIP and performs intra prediction using a DC mode, the prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is converted into a DC of the prediction block. The calculating of the prediction value within the mode screen may include calculating a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to a long length side in the prediction unit among the first reference pixel and the second reference pixel. have. When the prediction block is a block that performs short distance intra prediction (SDIP) and performs intra prediction using a DC mode, a prediction value calculated based on at least one of a first reference pixel and a second reference pixel Calculating a predicted value in the DC mode screen of the prediction block comprises: a first DC mode predicted pixel value calculated based on the first reference pixel and a second DC mode predicted pixel value calculated based on the second reference pixel; The DC mode prediction pixel value of the prediction unit may be calculated by using an average value of. When the prediction block is a block that performs short distance intra prediction (SDIP) and performs intra prediction using a DC mode, a prediction value calculated based on at least one of a first reference pixel and a second reference pixel Calculating a predicted value in the DC mode screen of the prediction block comprises: a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel, the first reference pixel and the second reference pixel; Calculating a DC mode prediction pixel value of the prediction unit by using a reference pixel of some of the reference pixels adjacent to the long side in the prediction unit, wherein the reference pixel and the long length adjacent to the short side in the prediction unit are calculated. The number of reference pixels adjacent to the long length side may be selected such that the reference pixel adjacent to the side plus exponential power of 2.

상술한 본 발명의 제3 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 복호화 장치는 예측 블록의 크기 정보와 화면 내 예측 모드 정보를 복호화하는 엔트로피 복호화부와 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 화면 내 예측부를 포함하되, 상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀일 수 있다. 상기 화면 내 예측부는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하거나 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 화면 내 예측부일 수 있다. 상기 화면 내 예측부는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값을 사용하여 DC 모드 예측 픽셀값을 산출하거나 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하되 상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택할 수 있다. According to an aspect of the present invention, there is provided an apparatus for decoding an image according to an aspect of the present invention. An entropy decoding unit for decoding the size information of the prediction block and the intra prediction mode information, and the prediction block include a short distance intra In the case of a block that performs intra prediction using a DC mode as a block for performing prediction, a prediction value calculated based on at least one pixel of a first reference pixel and a second reference pixel is included in the DC mode screen of the prediction block. And an intra prediction unit configured to calculate a prediction value, wherein the first reference pixel includes m reference pixels adjacent to the left side of the prediction block when the prediction block is a block of nxm size (n and m are natural numbers). The reference pixel may be n reference pixels adjacent to the top of the prediction block. The intra prediction unit calculates a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to short sides of the prediction unit among the first reference pixel and the second reference pixel, or the first reference pixel and the It may be an intra prediction unit that calculates a DC mode prediction pixel value of the prediction unit by using only reference pixels adjacent to a long length side of the second reference pixel. The intra prediction unit calculates a DC mode prediction pixel value by using a first DC mode prediction pixel value calculated based on the first reference pixel and a second DC mode prediction pixel value calculated based on the second reference pixel. Or a reference pixel adjacent to a side of a short length in a prediction unit of the first reference pixel and the second reference pixel and a reference pixel adjacent to a side of a long length in a prediction unit of the first reference pixel and the second reference pixel. A DC mode prediction pixel value of a prediction unit is calculated using a reference pixel of, and the longest exponential power of 2 is obtained by adding a reference pixel adjacent to a short side and a reference pixel adjacent to the long side in the prediction unit. The number of reference pixels adjacent to the side of the length can be selected.

상술한 본 발명의 제4 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 부호화 장치는 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 화면 내 예측부, 상기 예측 블록의 크기 정보와 화면 내 예측 모드 정보인 DC 모드 화면 내 예측 모드를 부호화하는 엔트로피 부호화부를 포함하되, 상기 제1 참조 픽셀은 예측 블록의 좌측에 존재하는 참조 픽셀, 상기 제2 참조 픽셀은 예측 블록의 상단에 존재하는 참조 픽셀일 수 있다. 상기 화면 내 예측부는 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하거나, 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 화면 내 예측부일 수 있다. 상기 화면 내 예측부는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값을 사용하여 DC 모드 예측 픽셀값을 산출하거나 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하되 상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택하는 화면 내 예측부일 수 있다.According to an aspect of the present invention, there is provided a video encoding apparatus according to an aspect of the present invention, wherein a prediction block is a block for performing short distance intra prediction (SDIP), and is a block for performing intra prediction using a DC mode. In this case, an intra prediction unit configured to calculate a prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel as the prediction value in the DC mode screen of the prediction block, the size information of the prediction block and the intra prediction. An entropy encoder for encoding the prediction mode in the DC mode picture, which is mode information, wherein the first reference pixel is a reference pixel existing on the left side of the prediction block, and the second reference pixel is a reference pixel existing on the upper side of the prediction block. Can be. The intra prediction unit may calculate a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to short sides of the prediction unit among the first reference pixel and the second reference pixel, or the first reference pixel and An intra prediction unit may be configured to calculate a DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to a long length side of the second reference pixel. The intra prediction unit calculates a DC mode prediction pixel value by using a first DC mode prediction pixel value calculated based on the first reference pixel and a second DC mode prediction pixel value calculated based on the second reference pixel. Or a reference pixel adjacent to a side of a short length in a prediction unit of the first reference pixel and the second reference pixel and a reference pixel adjacent to a side of a long length in a prediction unit of the first reference pixel and the second reference pixel. A DC mode prediction pixel value of a prediction unit is calculated using a reference pixel of, and the longest exponential power of 2 is obtained by adding a reference pixel adjacent to a short side and a reference pixel adjacent to the long side in the prediction unit. It may be an intra prediction unit selecting the number of reference pixels adjacent to the side of the length.

상술한 바와 같이 본 발명의 실시예에 따른 SDIP 모드에서 화면 내 예측 방법 및 이러한 방법을 사용하는 장치에 따르면 DC 모드를 사용한 화면 내 예측을 수행시 주변 참조 픽셀의 일부를 선택적으로 사용함으로서 화면 내 예측을 수행함에 있어서 복잡도를 낮추고 예측의 정확도를 높일 수 있다.As described above, according to the intra-prediction method in the SDIP mode and the apparatus using the method, the intra-prediction is performed by selectively using a part of the peripheral reference pixels when performing the intra-prediction using the DC mode. The complexity can be reduced and the accuracy of the prediction can be increased.

도 1은 본 발명의 실시예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 2는 본 발명의 다른 실시예에 따른 영상 복호화기를 나타낸 블록도이다.
도 3은 본 발명의 실시예에 따른 화면 내 예측에 사용되는 SDIP(short distance intra prediction) 방법을 설명하기 위한 개념도이다.
도 4는 본 발명의 실시예에 따른 SDIP가 적용되는 예측 단위에 대하여 DC 모드 예측 방법을 나타낸 개념도이다.
도 5는 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.
도 6은 본 발명의 실시예에 따른 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.
도 7은 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 DC 모드 예측 픽셀값과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 DC 모드 예측 픽셀값을 모두 사용하여 예측 단위의 평균 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.
도 8은 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.
도 9는 본 발명의 실시예에 따른 SDIP 사용한 방향성 화면 내 예측 모드를 나타낸 개념도이다.
도 10은 본 발명의 실시예에 따른 SDIP를 이용한 DC 모드 화면 내 예측 방법을 나타낸 개념도이다.
도 11은 본 발명의 실시예에 따른 SDIP에서 DC 모드 화면 내 예측 방법을 나타낸 순서도이다.
1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
2 is a block diagram of an image decoder according to another embodiment of the present invention.
3 is a conceptual diagram illustrating a short distance intra prediction (SDIP) method used for intra prediction according to an embodiment of the present invention.
4 is a conceptual diagram illustrating a DC mode prediction method for a prediction unit to which SDIP is applied according to an embodiment of the present invention.
FIG. 5 is a conceptual diagram illustrating a method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to shorter sides in a prediction unit according to an embodiment of the present invention.
FIG. 6 is a conceptual diagram illustrating a method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to a long length side in the prediction unit according to an embodiment of the present invention.
FIG. 7 is calculated using only a DC mode prediction pixel value of a prediction unit calculated using only reference pixels adjacent to a short length side in a prediction unit and a reference pixel adjacent to a long length side in a prediction unit according to an embodiment of the present invention. A conceptual diagram illustrating a method of calculating an average prediction pixel value of a prediction unit using all of the DC mode prediction pixel values of the predicted unit.
FIG. 8 is used to calculate a DC mode prediction pixel value of a prediction unit using only some pixels of a reference pixel adjacent to a short side of a prediction unit and a reference pixel adjacent to a long side of a prediction unit according to an embodiment of the present invention Conceptual diagram showing how to do this.
9 is a conceptual diagram illustrating an intra prediction mode using an SDIP according to an embodiment of the present invention.
10 is a conceptual diagram illustrating a prediction method in a DC mode screen using SDIP according to an embodiment of the present invention.
11 is a flowchart illustrating a prediction method in a DC mode screen in SDIP according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or &lt; / RTI &gt; includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Hereinafter, the same reference numerals will be used for the same constituent elements in the drawings, and redundant explanations for the same constituent elements will be omitted.

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

도 1을 참조하면, 영상 부호화 장치(100)는 픽쳐 분할부(110), 인터 예측부(120), 인트라 예측부(125), 변환부(130), 양자화부(135), 재정렬부(160), 엔트로피 부호화부(165), 역양자화부(140), 역변환부(145), 필터부(150) 및 메모리(155)를 포함할 수 있다.Referring to FIG. 1, the image encoding apparatus 100 may include a picture splitter 110, an inter predictor 120, an intra predictor 125, a transformer 130, a quantizer 135, and a rearranger 160. ), An entropy encoder 165, an inverse quantizer 140, an inverse transformer 145, a filter 150, and a memory 155.

도 1에 나타난 각 구성부들은 영상 부호화 장치에서 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시한 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성 단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벋어나지 않는 한 본 발명의 권리범위에 포함된다.Each of the components shown in FIG. 1 is independently shown to represent different characteristic functions in the image encoding apparatus, and does not mean that each of the components is made of separate hardware or one software component unit. That is, each constituent unit is included in each constituent unit for convenience of explanation, and at least two constituent units of the constituent units may be combined to form one constituent unit, or one constituent unit may be divided into a plurality of constituent units to perform a function. The integrated embodiments and the separate embodiments of the components are also included in the scope of the present invention unless otherwise departing from the spirit 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.

픽쳐분할부(110)는 입력된 픽쳐를 적어도 하나의 처리 단위로 분할 할수있다. 이때, 처리 단위는 예측 단위(Prediction Unit: PU)일 수도 있고, 변환 단위(Transform Unit: TU)일 수도 있으며, 부호화단위(Coding Unit: CU)일 수도 있다. 픽쳐 분할부(105)에서는 하나의 픽쳐에 대해 복수의 부호화 단위, 예측 단위 및 변환 단위의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 하나의 부호화 단위, 예측 단위 및 변환 단위 조합을 선택하여 픽쳐를 부호화 할 수 있다. The picture division unit 110 may divide the input picture into at least one processing unit. At this time, the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU). The picture dividing unit 105 divides one picture into a plurality of coding units, a prediction unit, and a combination of conversion units, and generates a coding unit, a prediction unit, and a conversion unit combination So that the picture can be encoded.

예를 들어, 하나의 픽쳐는 복수개의 부호화 단위로 분할될 수 있다. 픽쳐에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(Quad Tree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있는데 하나의 영상 또는 최대 크기 부호화 단위를 루트로 하여 다른 부호화 단위로 분할되는 부호화 단위은 분할된 부호화 단위의 개수만큼의 자식 노드를 가지고 분할될 수 있다. 일정한 제한에 따라 더이상 분할되지 않는 부호화 단위는 리프 노드가 된다. 즉, 하나의 부호화 단위에 대하여 정방형 분할만이 가능하다고 가정하는 경우, 하나의 부호화 단위는 최대 4개의 다른 부호화 단위로 분할될 수 있다.For example, one picture may be divided into a plurality of coding units. In order to split a coding unit in a picture, a recursive tree structure such as a quad tree structure may be used. A coding unit that is divided into another coding unit using a root of one image or a maximum size coding unit is a split coding unit. Can be split with as many child nodes as An encoding unit that is no longer divided according to certain restrictions becomes a leaf node. That is, if it is assumed that only square division is possible for one coding unit, one coding unit may be split into at most four other coding units.

이하, 본 발명의 실시예에서는 부호화 단위의 의미를 부호화를 하는 단위라는 의미 뿐만 아니라 복호화를 하는 단위의 의미로 사용할 수 있다.Hereinafter, in the embodiment of the present invention, the meaning of a coding unit may be used not only as a coding unit but also as a decoding unit.

예측 단위는 하나의 부호화 단위 내에서 동일한 크기의 적어도 하나의 정사각형 또는 직사각형 등의 형태를 가지고 분할될 수 있다.The prediction unit may be split in the form of at least one square or rectangle having the same size in one coding unit.

부호화 단위를 기초로 화면 내 예측을 수행하는 예측 단위를 생성시 최소 부호화 단위가 아닌 경우, NxN 단위의 복수의 예측 단위으로 분할하지 않고 화면 내 예측을 수행할 수 있다.When generating the prediction unit that performs the intra prediction based on the coding unit when the prediction unit is not the minimum coding unit, the intra prediction may be performed without splitting the prediction unit into NxN units.

예측부는 화면 간 예측을 수행하는 인터 예측부(120)와 화면 내 예측을 수행하는 인트라 예측부(125)를 포함할 수 있다. 예측 단위에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 화면 내 예측 모드, 움직임 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보등은 잔차값과 함께 엔트로피 부호화부(135)에서 부호화되어 복호화기에 전달될 수 있다. 특정한 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다The predictor may include an inter predictor 120 that performs inter prediction and an intra predictor 125 that performs intra prediction. It is possible to determine whether to use intra-picture prediction or intra-picture prediction for a prediction unit, and to determine concrete information (for example, intra-picture prediction mode, motion vector, reference picture, etc.) according to each prediction method. At this time, the processing unit in which the prediction is performed may be different from the processing unit in which the prediction method and the concrete contents are determined. For example, the method of prediction, the prediction mode and the like are determined as a prediction unit, and the execution of the prediction may be performed in a conversion unit. The residual value (residual block) between the generated prediction block and the original block may be input to the transformer 130. In addition, prediction mode information and motion vector information used for prediction may be encoded by the entropy encoder 135 together with the residual value and transmitted to the decoder. When a specific encoding mode is used, the original block may be encoded as it is and transmitted to the decoder without generating the prediction block through the prediction units 120 and 125.

화면 간 예측부는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수 있다. 화면 간 예측부는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함할 수 있다. The inter picture prediction unit may predict a prediction unit based on information of at least one picture of a previous picture or a following picture of the current picture. The inter picture prediction unit may include a reference picture interpolation unit, a motion prediction unit, and a motion compensation unit.

참조 픽쳐 보간부에서는 메모리(155)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.The reference picture interpolator may receive reference picture information from the memory 155 and generate pixel information of an integer pixel or less in the reference picture. In the case of a luminance pixel, a DCT-based 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 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.

움직임 예측부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터값을 가질 수 있다. 움직임 예측부에서는 움직임 예측 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 움직임 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction)방법 등 다양한 방법이 사용될 수 있다.The motion prediction unit can perform motion prediction based on the reference picture 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 motion prediction unit can predict the current prediction unit by differently performing the motion prediction method. As the motion prediction method, various methods such as a skip method, a merge method, and an AMVP (Advanced Motion Vector Prediction) method can be used.

화면 내 예측부는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀정보를 기초로 예측 단위를 생성할 수 있다. 현재 예측 단위의 주변 블록이 화면 간 예측을 수행한 블록이어서, 참조 픽셀이 화면 간 예측을 수행한 픽셀일 경우, 화면 간 예측을 수행한 블록에 포함되는 참조 픽셀을 주변의 화면 내 예측을 수행한 블록의 참조 픽셀 정보로 대체하여 사용할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.The intra prediction unit can generate a prediction unit based on the reference pixel information around the current block which is the pixel information in the current picture. In the case where the neighboring blocks of the current prediction unit are the blocks in which the inter-screen prediction is performed, and the reference pixels are the pixels performing the inter-screen prediction, the intra-picture prediction is performed on the reference pixels included in the block in which the inter- Block reference pixel information. That is, when the reference pixel is not available, the reference pixel information that is not available may be replaced by at least one reference pixel among the available reference pixels.

화면 내 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행시 방향성 정보을 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측한 화면 내 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.In the intra prediction, the prediction mode may have a directional prediction mode in which reference pixel information is used according to a prediction direction, and a non-directional mode in which direction information is not used in performing prediction. The mode for predicting the luminance information may be different from the mode for predicting the chrominance information, and intra prediction mode information or predicted luminance signal information in which luminance information is predicted can be used to predict the chrominance information.

화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 화면 내 예측을 수행하지만, 화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 NxN 분할을 사용하는 화면 내 예측을 사용할 수 있다.When intra prediction is performed, when the size of the prediction unit is the same as the size of the conversion unit, the intra prediction is performed based on pixels existing on the left side of the prediction unit, pixels existing on the upper left side, Prediction can be performed using the reference pixel based on the conversion unit when the size of the prediction unit and the size of the conversion unit are different when the intra prediction is performed. In addition, intra prediction using NxN division can be used only for the minimum coding unit.

화면 내 예측을 수행시 SDIP(short distance intra prediction) 방법을 사용할 수 있다. SDIP는 SDIP는 NxN 크기의 블록을 라인(line) 단위 또는 직사각형 형태의 예측 단위로 나누어서 나뉘어진 각각의 예측 단위에 대하여 각각 화면 내 예측을 수행하는 방법을 말한다. 이하, 본 발명의 실시예에서 화면 내 예측 부에서 SDIP를 수행하는 방법에 대해 상세히 기술한다.When performing intra prediction, a short distance intra prediction (SDIP) method may be used. SDIP refers to a method of performing intra prediction on each prediction unit divided by dividing an NxN size block into a line unit or a rectangular prediction unit. Hereinafter, a method of performing SDIP in the intra prediction unit according to an embodiment of the present invention will be described in detail.

화면 내 예측 방법은 예측 모드에 따라 참조 화소에 MDIS(Mode Dependent Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 화소에 적용되는 AIS 필터의 종류는 상이할 수 있다. 화면 내 예측 방법을 수행하기 위해 현재 예측 단위의 화면 내 예측 모드는 현재 예측 단위의 주변에 존재하는 예측 단위의 화면 내 예측 모드로부터 예측할 수 있다. 주변 예측 단위로부터 예측된 모드 정보를 이용하여 현재 예측 단위의 예측 모드를 예측하는 경우, 현재 예측 단위와 주변 예측 단위의 화면 내 예측 모드가 동일할 경우, 소정의 플래그 정보를 이용하여 현재 예측 단위와 주변 예측 단위의 예측 모드가 동일하다는 정보를 전송할 수 있고, 만약, 현재 예측 단위와 주변 예측 단위의 예측 모드가 상이할 경우, 엔트로피 부호화를 수행하여 현재 블록의 예측 모드 정보를 부호화할 수 있다. The intra prediction method may generate a prediction block after applying a mode dependent intra smoothing (MDIS) filter to a reference pixel according to a prediction mode. The type of the AIS filter applied to the reference pixel may be different. To perform the intra prediction method, the intra prediction mode of the current prediction unit can be predicted from the intra prediction mode of the prediction unit existing around the current prediction unit. When the prediction mode of the current prediction unit is predicted using the mode information predicted from the peripheral prediction unit and the intra prediction mode of the current prediction unit is the same as the intra prediction mode of the current prediction unit, Information indicating that the prediction mode of the neighbor prediction unit is the same can be transmitted. If the prediction mode of the current prediction unit differs from that of the neighbor prediction unit, the prediction mode information of the current block can be encoded by performing entropy encoding.

또한, 예측부(120, 125)에서 생성된 예측 단위를 기초로 예측을 수행한 예측 단위와 예측 단위의 원본 블록과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(130)로 입력될 수 있다. 변환부(130)에서는 원본 블록과 예측부(120, 125)를 통해 생성된 예측 단위의 잔차값(residual)정보를 포함한 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 단위의 화면 내 예측 모드 정보를 기초로 결정할 수 있다. Also, a residual block may include a prediction unit performing prediction based on the prediction units generated by the prediction units 120 and 125 and residual information including residual information that is a difference from an original block of the prediction unit. The generated residual block may be input to the transformer 130. The transform unit 130 transforms the residual block including residual information of the original block and the prediction unit generated by the prediction units 120 and 125 such as a discrete cosine transform (DCT) or a discrete sine transform (DST). Can be converted using the method. Whether to apply the DCT or the DST to transform the residual block can be determined based on the intra prediction mode information of the prediction unit used to generate the residual block.

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

재정렬부(160)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.The reordering unit 160 may reorder coefficient values with respect to the quantized residual value.

재정렬부(160)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(160)에서는 다이아고널 스캔(Diagonal Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 단위의 크기 및 화면 내 예측 모드에 따라 다이아고날 스캔(Diagonal Scan) 방법이 아닌 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔 방법, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔 방법이 사용될 수 있다. 즉, 변환 단위의 크기 및 화면 내 예측 모드에 따라 다이아고날 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.The reordering unit 160 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. For example, the reordering unit 160 may scan the DC coefficient to the coefficient of the high frequency region by using a Diagonal Scan method and change the form into a one-dimensional vector. Depending on the size of the transform unit and the intra prediction mode, the vertical scan method scans the two-dimensional block shape coefficients in the column direction instead of the diagonal scan method, and the horizontal scan scans the two-dimensional block shape coefficients in the row direction. Scanning methods can be used. That is, according to the size of the transformation unit and the intra prediction mode, it may be determined whether a scan method among a diagonal scan, a vertical scan, and a horizontal scan is used.

엔트로피 부호화부(165)는 재정렬부(160)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.The entropy encoder 165 may perform entropy encoding based on the values calculated by the reordering unit 160. Entropy coding may use various coding methods, such as Exponential Golomb and Context-Adaptive Binary Arithmetic Coding (CABAC).

엔트로피 부호화부(165)는 재정렬부(160) 및 예측부(120, 125)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 움직임 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보, LCU 크기 정보 등 다양한 정보를 부호화할 수 있다. The entropy encoder 165 receives residual value coefficient information, block type information, prediction mode information, partition unit information, prediction unit information, transmission unit information, and motion of the coding unit from the reordering unit 160 and the prediction units 120 and 125. Various information such as vector information, reference frame information, interpolation information of blocks, filtering information, and LCU size information can be encoded.

엔트로피 부호화부(165)에서는 재정렬부(160)에서 입력된 부호화 단위의 계수값을 CABAC과 같은 엔트로피 부호화 방법을 사용하여 엔트로피 부호화를 수행할 수 있다.The entropy encoder 165 may perform entropy encoding on the coefficient value of the coding unit input from the reordering unit 160 using an entropy encoding method such as CABAC.

역양자화부(140) 및 역변환부(145)에서는 양자화부(135)에서 양자화된 값들을 역양자화하고 변환부(130)에서 변환된 값들을 역변환한다. 역양자화부(140) 및 역변환부(145)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다. The inverse quantizer 140 and the inverse transformer 145 inverse quantize the quantized values in the quantizer 135 and inversely transform the transformed values in the transformer 130. The residual value generated by the inverse quantizer 140 and the inverse transformer 145 is reconstructed by combining the prediction units predicted by the motion estimator, the motion compensator, and the intra predictor included in the predictors 120 and 125. You can create a Reconstructed Block.

필터부(150)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다. The filter unit 150 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).

디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링을 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.The deblocking filter may remove block distortion caused by boundaries between 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, the horizontal filtering and the vertical filtering may be performed in parallel when the vertical filtering and the 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 number of areas, and then an area to be offset is determined and an offset is applied to the area. Alternatively, Can be used.

ALF (Adaptive Loop Filter)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF의 크기 및 계수는 달라질 수 있다. ALF는 다양한 형태를 가질 수 있으며, 필터에 그에 따라 포함되는 계수의 갯수도 달라질 수 있다. 이러한 ALF의 필터링 관련 정보(필터 계수 정보, ALF On/Off 정보, 필터 형태 정보)는 비트스트림에서 소정의 파라메터 셋에 포함되어 전송될 수 있다.The ALF (Adaptive Loop Filter) can perform filtering based on a value obtained by comparing the filtered restored image and the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and different filtering may be performed for each group. The information related to whether to apply the ALF may be transmitted for each coding unit (CU), and the size and the coefficient of the ALF to be applied may be changed according to each block. The ALF may have various forms, and the number of coefficients included in the filter may also vary. The filtering-related information (filter coefficient information, ALF On / Off information, filter type information) of the ALF can be transmitted in a predetermined parameter set in the bitstream.

메모리(155)는 필터부(150)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.
The memory 155 may store the reconstructed block or picture calculated by the filter unit 150, and the stored reconstructed block or picture may be provided to the predictors 120 and 125 when performing inter prediction.

도 2는 본 발명의 다른 실시예에 따른 영상 복호화기를 나타낸 블록도이다.2 is a block diagram of an image decoder according to another embodiment of the present invention.

도 2를 참조하면, 영상 복호화기는 엔트로피 복호화부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230, 235), 필터부(240), 메모리(245)가 포함될 수 있다.Referring to FIG. 2, the image decoder includes an entropy decoder 210, a rearranger 215, an inverse quantizer 220, an inverse transformer 225, a predictor 230, 235, a filter 240, and a memory. 245 may be included.

영상 부호화기에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 영상 부호화기와 반대의 절차로 복호화될 수 있다.When an image bitstream is input in the image encoder, the input bitstream may be decoded in a procedure opposite to that of the image encoder.

엔트로피 복호화부(210)는 영상 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화부(210)에서 복호화된 정보 중 LCU 크기 정보, 블록 크기 정보 등과 같은 예측 블록을 생성하기 위한 정보는 예측부(230, 235)로 제공되고 엔트로피 복호화부에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(215)로 입력될 수 있다. The entropy decoding unit 210 can perform entropy decoding in a procedure opposite to that in which entropy encoding is performed in the entropy encoding unit of the image encoder. Information for generating a prediction block, such as LCU size information, block size information, etc. among the information decoded by the entropy decoder 210 is provided to the predictors 230 and 235, and the residual value of the entropy decoder that performs entropy decoding is It may be input to the reordering unit 215.

엔트로피 복호화부(210)에서는 부호화기에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 전술한 바와 같이 영상 부호화기에서 화면 내 예측 및 화면 간 예측을 수행시 소정의 제약이 있는 경우, 이러한 제약을 기초로 한 엔트로피 복호화를 수행해 현재 블록에 대한 화면 내 예측 및 화면 간 예측에 관련된 정보를 제공받을 수 있다. The entropy decoding unit 210 can decode information related to intra-picture prediction and inter-picture prediction performed by the encoder. As described above, when there is a predetermined constraint in performing intra-frame prediction and inter-frame prediction in the image encoder, entropy decoding based on such constraints is performed to provide information related to intra-frame prediction and inter-frame prediction for the current block Can receive.

재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. The reordering unit 215 can perform reordering based on a method in which the entropy decoding unit 210 rearranges 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.

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

역변환부(225)는 영상 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 DCT 및 DST에 대해 역 DCT 및 역 DST를 수행할 수 있다. 역변환은 영상 부호화기에서 결정된 전송 단위를 기초로 수행될 수 있다. 영상 부호화기의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 영상 복호화기의 역변환부(225)에서는 영상 부호화기의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다. The inverse transform unit 225 may perform inverse DCT and inverse DST on the DCT and DST performed by the transform unit on the quantization result performed by the image encoder. The inverse transform can be performed based on the transmission unit determined by the image encoder. In the transform unit of the image encoder, 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 an inverse transform unit 225 of the image decoder performs transform The inverse transform can be performed based on the transformed information.

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

예측부(230, 235)는 예측 단위 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부에서 입력되는 예측 단위 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. 화면 간 예측부는 영상 부호화기에서 제공된 현재 예측 단위의 화면 간 예측에 필요한 정보를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 화면 간 예측을 수행할 수 있다.The predictors 230 and 235 may include a prediction unit determiner, an inter prediction unit, and an intra 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 the prediction unit from the current coding unit. Screen prediction or intra-picture prediction can be discriminated. The inter-picture prediction unit may use information necessary for inter-picture prediction of the current prediction unit provided by the image encoder to predict the current prediction unit based on information included in at least one of the previous picture of the current picture or the following picture including the current prediction unit The inter-picture prediction can be performed.

화면 간 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다. In order to perform the inter-picture prediction, whether the motion prediction method of the prediction unit included in the coding unit is based on a skip mode, a merge mode, or an AMVP mode Can be determined.

화면 내 예측부는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 단위가 화면 내 예측을 수행한 예측 단위인 경우, 영상 부호화기에서 제공된 예측 단위의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부에는 MDIS 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. MDIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 영상 부호화기에서 제공된 예측 단위의 예측 모드 및 MDIS 필터 정보를 이용하여 현재 블록의 참조 화소에 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 필터링을 수행하지 않는 모드일 경우, MDIS 필터는 적용되지 않을 수 있다.The intra prediction unit can generate a prediction block based on the pixel information in the current picture. If the prediction unit is a prediction unit that performs intra prediction, the intra prediction can be performed based on the intra prediction mode information of the prediction unit provided by the image encoder. The intra prediction unit may include an MDIS filter, a reference pixel interpolator, and a DC filter. The MDIS filter is a part of filtering the reference pixel of the current block, and may determine and apply the filter according to the prediction mode of the current prediction unit. Filtering may be performed on the reference pixel of the current block by using the prediction mode of the prediction unit and the MDIS filter information provided by the image encoder. If the prediction mode of the current block is a mode that does not perform filtering, the MDIS filter may not be applied.

참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 화면 내 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다. The reference pixel interpolator may interpolate the reference pixels to generate reference pixels in units of pixels less than an integer value when the prediction mode of the prediction unit is a prediction unit that performs intra-frame prediction on the basis of the pixel value obtained by interpolating the reference pixels . The reference pixel may not be interpolated in the prediction mode in which the prediction mode of the current prediction unit generates the prediction block without interpolating the reference pixel. The DC filter can generate a prediction block through filtering when the prediction mode of the current block is the DC mode.

부호화부에서 화면 내 예측을 수행시 SDIP(short distance intra prediction) 방법을 사용한 경우, SDIP에 따른 화면 내 예측을 수행할 수 있다. 이러한 실시예에 대해서는 이하, 본 발명의 실시예에서 상술한다.When the encoder uses the short distance intra prediction (SDIP) method to perform the intra prediction, the intra prediction according to the SDIP may be performed. Such an embodiment is described in detail below in the embodiment of the present invention.

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

영상 부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화기의 디블록킹 필터에서는 영상 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. 영상 부호화기에서와 마찬가지로 우선 수직 디블록킹 필터링 및 수평 디블록킹 필터링을 수행하되, 겹치는 부분에 있어서는 수직 디블록킹 및 수평 디블록킹 중 적어도 하나를 수행할 수 있다. 수직 디블록킹 필터링 및 수평 디블록킹 필터링이 겹치는 부분에서 이전에 수행되지 못한 수직 디블록킹 필터링 또는 수평 디블록킹 필터링이 수행될 수 있다. 이러한 디블록킹 필터링 과정을 통해서 디블록킹 필터링의 병행 처리(Parallel Processing)이 가능하다. When information on whether a deblocking filter is applied to a corresponding block or picture from the image encoder or a deblocking filter is applied, information on whether a strong filter or a weak filter is applied can be provided. In the deblocking filter of the video decoder, the deblocking filter related information provided by the video encoder is provided, and the video decoder can perform deblocking filtering for the corresponding block. The vertical deblocking filtering and the horizontal deblocking filtering are performed in the same manner as in the image encoder, and at least one of the vertical deblocking and the horizontal deblocking can be performed in the overlapping portion. Vertical deblocking filtering or horizontal deblocking filtering that has not been performed previously can be performed at the overlapping portions of the vertical deblocking filtering and the horizontal deblocking filtering. Parallel processing of deblocking filtering is possible through the deblocking filtering process.

오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.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.

ALF는 필터링을 수행 후 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 ALF를 적용할 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.The ALF can perform filtering based on the comparison between the reconstructed image and the original image after filtering. The ALF can be applied to the encoding unit based on the ALF application information and the ALF coefficient information provided from the encoder. Such ALF information may be provided in a specific parameter set.

메모리(245)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다. The memory 245 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.

전술한 바와 같이 이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화 뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다. 이하, 본 발명의 실시예에 따른 도 3 내지 도 11에서 설명하는 영상 예측 방법은 도 1 및 도 2에 포함된 예측부와 같은 구성부에서 수행될 수 있다.
As described above, in the embodiment of the present invention, a coding unit (coding unit) is used as a coding unit for convenience of explanation, but it may be a unit for performing not only coding but also decoding. Hereinafter, the image prediction method described with reference to FIGS. 3 to 11 according to an embodiment of the present invention may be performed by a configuration unit such as the prediction unit included in FIGS. 1 and 2.

도 3은 본 발명의 실시예에 따른 화면 내 예측에 사용되는 SDIP(short distance intra prediction) 방법을 설명하기 위한 개념도이다.3 is a conceptual diagram illustrating a short distance intra prediction (SDIP) method used for intra prediction according to an embodiment of the present invention.

SDIP는 NxN 크기의 블록을 라인(line) 단위 또는 직사각형 형태의 예측 단위로 나누어서 나뉘어진 각각의 예측 단위에 대하여 각각 화면 내 예측을 수행하는 방법을 말한다. SDIP를 이용한 화면 내 예측을 수행하는 경우, 기존의 정사각형 형태의 예측 단위를 사용하여 화면 내 예측을 수행할 때보다 상대적으로 화면 내 예측을 수행시 참조되는 픽셀과 예측 대상 픽셀 사이의 거리를 줄일 수 있기 때문에 원래 픽셀과 예측 대상 픽셀 사이의 차이값인 잔차값이 줄어들게 되고 결과적으로 부호화 효율이 높아질 수 있다.SDIP refers to a method of performing intra prediction on each prediction unit divided by dividing an NxN size block into a line unit or a rectangular prediction unit. In case of performing intra prediction using SDIP, the distance between the pixel referred to and the predicted pixel when performing the intra prediction can be relatively reduced than the intra prediction using the conventional square type prediction unit. As a result, the residual value, which is the difference between the original pixel and the predicted pixel, is reduced, and as a result, the encoding efficiency can be increased.

도 3을 참조하면, SDIP는 32x32 크기의 블록에 포함된 다양한 크기의 블록의 화면 내 예측 방법으로 사용될 수 있다.Referring to FIG. 3, the SDIP may be used as an intra prediction method of blocks of various sizes included in 32 × 32 blocks.

예를 들어, 16x16 크기의 정사각형 형태의 블록에 SDIP를 적용한 화면 내 예측을 수행할 경우, 4개의 4x16 크기의 예측 단위(300, 303, 305, 307)로 분할 될 수 있다. 그 중 4x16 크기의 예측 단위(300)는 추가적으로 1x16 크기의 예측 단위(300-1, 300-2, 300-3, 300-4)로 분할될 수 있다.For example, when performing intra prediction with SDIP applied to a 16 × 16 square block, it may be divided into four 4 × 16 prediction units 300, 303, 305, and 307. The 4x16 size prediction unit 300 may be further divided into 1x16 size prediction units 300-1, 300-2, 300-3, and 300-4.

동일한 방법으로 8x8 크기의 블록(320)에 대하여 SDIP를 수행할 경우 2x8 크기의 예측 단위(320-1, 320-2, 320-3, 320-4)로 분할될 수 있고, 4x4 크기의 블록(340)에 대하여 SDIP를 수행할 경우 1x4 크기의 예측 단위(340-1, 340-2, 340-3, 340-4)로 분할할 수 있다. When the SDIP is performed on the 8x8 block 320 in the same manner, the block may be divided into 2x8 size prediction units 320-1, 320-2, 320-3, and 320-4, and the 4x4 size block ( When the SDIP is performed on the 340, it may be divided into prediction units 340-1, 340-2, 340-3, and 340-4 having a size of 1x4.

이하, 본 발명의 실시예에 따른 SDIP를 이용한 화면 내 예측 방법에서는 설명의 편의상, SDIP가 적용되는 블록을 아래와 같은 경우로 가정하여 설명한다. Hereinafter, in the intra prediction method using the SDIP according to an embodiment of the present invention, for convenience of description, it is assumed that the block to which the SDIP is applied is assumed as follows.

1) 64x64 크기의 블록이 4개의 16x64 또는 4개의 64x16으로 분할되는 경우.1) A 64x64 block is split into four 16x64 or four 64x16 blocks.

2) 32x32 크기의 블록이 4개의 8x32 또는 4개의 32x8로 분할되는 경우.2) A 32x32 block is split into four 8x32 or four 32x8 blocks.

3) 16x16 크기의 블록이 4개의 4x16 또는 4개의 16x4로 분할되는 경우.3) A block of 16x16 size is divided into four 4x16 or four 16x4.

4) 8x8 크기의 블록이 4개의 2x8 또는 4개의 8x2으로 분할되는 경우.4) A block of 8x8 size is divided into 4 2x8 or 4 8x2.

위와 같은 블록들은 non square 형태의 블록들로서 2NxhN 또는 hNx2N(h=1/2)로 표현될 수 있다. Such blocks are non-square blocks and may be represented by 2NxhN or hNx2N (h = 1/2).

하지만, 위와 같은 블록을 추가로 분할하여 더 작은 크기의 블록에 대해서도 SDIP가 수행될 수 있다. 예를 들어, 수행하기 위한 추가의 분할 블록(예를 들어, 4x64, 1x16, 8x1 등)으로 생성할 수 있고 이러한 블록들에 대하여도 이하, 본 발명의 실시예에서 설명할 화면 내 예측 방법이 적용될 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.
However, by dividing the above block further, the SDIP may be performed even for a smaller block size. For example, it may be generated as additional partition blocks (for example, 4x64, 1x16, 8x1, etc.) to be performed, and for these blocks, the intra prediction method described in the following embodiments of the present invention will be applied. And such embodiments are also included within the scope of the present invention.

도 4는 본 발명의 실시예에 따른 SDIP가 적용되는 예측 단위에 대하여 DC 모드 예측 방법을 나타낸 개념도이다. 4 is a conceptual diagram illustrating a DC mode prediction method for a prediction unit to which SDIP is applied according to an embodiment of the present invention.

DC 모드 예측 방법은 화면 내 예측 모드 중 하나로서 기본적으로 예측 단위와 인접한 좌측 및 상단에 존재하는 참조 픽셀들의 픽셀값 평균을 이용하여 현재 예측 단위의 픽셀값을 예측하는 방법을 말한다. 산출된 픽셀값의 평균은 예측 대상 블록에 포함되는 모든 픽셀의 예측 픽셀값으로 사용될 수 있다.The DC mode prediction method refers to a method of predicting pixel values of a current prediction unit by using an average of pixel values of reference pixels existing at left and top adjacent to the prediction unit as one of intra prediction modes. The average of the calculated pixel values may be used as the prediction pixel values of all pixels included in the prediction target block.

도 4를 참조하면, SDIP에서 DC 모드를 이용한 화면 내 예측 방법을 수행하는 예측 단위(400)의 경우, 예측 단위(400)의 좌측에 존재하는 참조 픽셀(410-1, 410-2)과 상단에 존재하는 참조 픽셀(420-1, 420-2, 420-3, 420-4, 420-5, 420-6, 420-7, 420-8)의 개수가 서로 다를 수 있다.Referring to FIG. 4, in the case of the prediction unit 400 that performs the intra prediction method using the DC mode in the SDIP, the reference pixels 410-1 and 410-2 that exist on the left side of the prediction unit 400 and the top of the prediction unit 400. The number of reference pixels 420-1, 420-2, 420-3, 420-4, 420-5, 420-6, 420-7, and 420-8 may be different from each other.

본 발명의 실시예에 따르면 이러한 경우, 아래와 같은 방법 중 하나를 사용하여 SDIP에서 DC 화면 내 예측 모드(이하 DC 모드도 동일한 의미로 사용함)를 사용한 예측 단위의 예측 픽셀값을 생성할 수 있다.According to an embodiment of the present invention, one of the following methods may be used to generate a prediction pixel value of a prediction unit using a prediction mode (hereinafter, DC mode is also used) in a DC screen in SDIP.

1) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.1) A method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to short-length sides in the prediction unit.

2) 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.2) A method of calculating a DC mode prediction pixel value of a prediction unit by using only reference pixels adjacent to long length sides in the prediction unit.

3) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 예측 픽셀값과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 예측 픽셀값의 평균값을 기초로 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.3) the average value of the prediction pixel value of the prediction unit calculated using only reference pixels adjacent to the short side of the prediction unit and the prediction pixel value of the prediction unit calculated using only the reference pixel adjacent to the long side of the prediction unit. A method of calculating a DC mode prediction pixel value of a prediction unit based on the method.

4) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.4) A method of calculating a DC mode prediction pixel value of a prediction unit using only some pixels of a reference pixel adjacent to a short side of a prediction unit and a reference pixel adjacent to a long side of a prediction unit.

이하, 본 발명의 실시예에서는 SDIP를 사용하는 예측 단위 중 8x2 크기의 예측 단위를 사용하여 본 발명에서 사용되는 SDIP에서 DC 모드 예측 방법을 설명한다. 하지만, 다른 크기의 SDIP를 사용하는 예측 단위에도 본 발명이 적용될 수 있고 이러한 실시예 또한 본 발명의 권리 범위에 포함된다.
Hereinafter, an embodiment of the present invention describes a DC mode prediction method in SDIP used in the present invention by using a prediction unit having a size of 8 × 2 among prediction units using the SDIP. However, the present invention can be applied to prediction units using other sizes of SDIP, and such embodiments are also included in the scope of the present invention.

도 5는 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.FIG. 5 is a conceptual diagram illustrating a method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to shorter sides in a prediction unit according to an embodiment of the present invention.

도 5를 참조하면, 예를 들어, 8(width)x2(height) 크기의 예측 단위의 경우, 2에 해당하는 부분에 인접하는 참조 픽셀(500-1, 500-2)의 픽셀값을 기초로 8x2 크기의 예측 단위(500)에 대한 DC 모드 예측 픽셀 값을 산출할 수 있다.Referring to FIG. 5, for example, in the case of a prediction unit having a size of 8 (width) × 2 (height), based on pixel values of reference pixels 500-1 and 500-2 adjacent to a portion corresponding to 2 A DC mode prediction pixel value for the 8x2 prediction unit 500 may be calculated.

아래의 수학식 1은 예측 단위(500)에서 짧은 길이의 변에 인접한 참조 픽셀(500-1, 500-2)만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 것이다. Equation 1 below illustrates a method of calculating the DC mode prediction pixel value of the prediction unit using only the reference pixels 500-1 and 500-2 adjacent to shorter sides in the prediction unit 500.

<수학식 1>&Quot; (1) &quot;

Figure 112012061177919-pat00005
Figure 112012061177919-pat00005

수학식 1을 참조하면, 블록의 너비 정보(width)와 높이 정보(height)를 비교하여 둘 중 작은 크기를 가진 길이 정보를 DC 모드를 이용한 픽셀 예측값을 산출하는 파라메터로서 사용할 수 있다.Referring to Equation 1, the width information and the height information of the block may be compared and the length information having the smaller size may be used as a parameter for calculating a pixel prediction value using the DC mode.

즉, 도 5와 같이 width보다 height가 작은 경우, height를 입력값으로 하여 블록의 height에 존재하는 픽셀값들의 평균값을 산출할 수 있다. 산출된 평균값은 예측 단위의 DC 모드 예측 픽셀값으로서 예측 단위에 포함되는 모든 픽셀의 예측값이 될 수 있다.That is, when height is smaller than width as shown in FIG. 5, the average value of pixel values existing in the height of the block may be calculated using height as an input value. The calculated average value may be a prediction value of all pixels included in the prediction unit as the DC mode prediction pixel value of the prediction unit.

반대로 height보다 width가 작은 경우, width를 입력값으로 하여 블록의 width에 존재하는 픽셀값들의 평균값을 산출할 수 있다. 산출된 평균값은 예측 단위의 DC 모드 예측 픽셀값으로서 예측 단위에 포함되는 모든 픽셀의 예측값이 될 수 있다.
On the contrary, when the width is smaller than the height, the average value of the pixel values in the width of the block can be calculated using the width as an input value. The calculated average value may be a prediction value of all pixels included in the prediction unit as the DC mode prediction pixel value of the prediction unit.

도 6은 본 발명의 실시예에 따른 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.FIG. 6 is a conceptual diagram illustrating a method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to a long length side in the prediction unit according to an embodiment of the present invention.

도 6을 참조하면, 8x2 크기의 예측 단위(600)의 경우, 예측 단위(600)의 width에 인접한 width에 해당하는 부분에 인접하는 참조 픽셀(600-1, 600-2, 600-3, 600-4, 600-5, 600-6, 600-7, 600-8)의 픽셀값을 기초로 8x2 크기의 예측 단위에 대한 화면 내 예측을 수행할 수 있다.Referring to FIG. 6, in the case of an 8x2 prediction unit 600, reference pixels 600-1, 600-2, 600-3, and 600 adjacent to a portion corresponding to a width adjacent to the width of the prediction unit 600 are provided. Intra-prediction of a prediction unit having a size of 8 × 2 may be performed based on pixel values of −4, 600-5, 600-6, 600-7, and 600-8.

아래의 수학식 2은 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 것이다.Equation 2 below shows a method of calculating the DC mode prediction pixel value of the prediction unit using only reference pixels adjacent to the long length side in the prediction unit.

<수학식 2>&Quot; (2) &quot;

Figure 112012061177919-pat00006
Figure 112012061177919-pat00006

수학식 2를 참조하면, 블록의 너비 정보(width)와 높이 정보(height)를 비교하여 둘 중 큰 크기를 가진 길이 정보를 DC 모드를 이용한 화면 내 예측값을 산출하는 파라메터로서 사용할 수 있다.Referring to Equation 2, the width information of the block and the height information may be compared and the length information having the larger size may be used as a parameter for calculating an intra prediction value using the DC mode.

즉, 도 6과 같이 width보다 height가 큰 경우, height를 입력값으로 하여 블록의 height에 존재하는 픽셀값들의 평균값을 산출할 수 있다. 산출된 평균값은 예측 단위의 DC 모드 예측 픽셀값으로서 예측 단위에 포함되는 모든 픽셀의 예측값이 될 수 있다.That is, when the height is greater than the width as shown in FIG. 6, the average value of pixel values existing in the height of the block may be calculated using the height as an input value. The calculated average value may be a prediction value of all pixels included in the prediction unit as the DC mode prediction pixel value of the prediction unit.

반대로 height보다 width가 큰 경우, width를 입력값으로 하여 블록의 width에 존재하는 픽셀값들의 평균값을 산출할 수 있다. 산출된 평균값은 예측 단위의 DC 모드 예측 픽셀값으로서 예측 단위에 포함되는 모든 픽셀의 예측값이 될 수 있다.
On the contrary, if the width is larger than the height, the average value of the pixel values in the width of the block can be calculated using the width as an input value. The calculated average value may be a prediction value of all pixels included in the prediction unit as the DC mode prediction pixel value of the prediction unit.

도 7은 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 DC 모드 예측 픽셀값과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 DC 모드 예측 픽셀값을 모두 사용하여 예측 단위의 평균 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.FIG. 7 is calculated using only a DC mode prediction pixel value of a prediction unit calculated using only reference pixels adjacent to a short length side in a prediction unit and a reference pixel adjacent to a long length side in a prediction unit according to an embodiment of the present invention. A conceptual diagram illustrating a method of calculating an average prediction pixel value of a prediction unit using all of the DC mode prediction pixel values of the predicted unit.

도 7을 참조하면, 8(width)x2(Height) 크기의 예측 단위(750)의 경우, 8(width)에 해당하는 부분에 인접하는 참조 픽셀(700-1, 700-2, 700-3, 700-4, 700-5, 700-6, 700-7, 700-8)의 픽셀의 평균값(DCVal_Above)과 2에 해당하는 부분에 인접하는 참조 픽셀(710-1, 710-2)의 픽셀값의 평균값(DCVal_Left)의 평균값을 기초로 8x2 크기의 예측 단위(750)에 대한 화면 내 예측을 수행할 수 있다.Referring to FIG. 7, in the case of a prediction unit 750 having a size of 8 (width) × 2 (Height), reference pixels 700-1, 700-2, 700-3, which are adjacent to a portion corresponding to 8 (width), Pixel values of the average values DCVal_Above of the pixels 700-4, 700-5, 700-6, 700-7, and 700-8 and the reference pixels 710-1 and 710-2 adjacent to the portion corresponding to 2. Intra-prediction of the prediction unit 750 of size 8x2 may be performed based on the average value of the average value DCVal_Left.

아래의 수학식 3은 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀의 평균값과 짧은 길이의 변에 인접한 참조 픽셀값을 모두 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 것이다.Equation 3 below shows a method of calculating the DC mode prediction pixel value of the prediction unit by using both the average value of the reference pixel adjacent to the long length side and the reference pixel value adjacent to the short length side in the prediction unit.

<수학식 3>&Quot; (3) &quot;

Figure 112012061177919-pat00007
Figure 112012061177919-pat00007

수학식 3을 참조하면, 블록의 너비 정보(width)를 입력값으로 하여 예측 블록(750)의 너비 부분에 존재하는 참조 픽셀(700-1, 700-2, 700-3, 700-4, 700-5, 700-6, 700-7, 700-8)의 평균값을 산출하여 DCVal_Above를 산출할 수 있다. 또한, 블록의 높이 정보(height)를 입력값으로 하여 예측 블록(750)의 높이 부분에 존재하는 참조 픽셀(710-1, 710-2)의 평균값을 산출하여 DCVal_Left를 산출할 수 있다. 산출된 DCVal_Above와 DCVal_Left의 평균값을 산출한 값으로 DCVal을 산출할 수 있다.
Referring to Equation 3, reference pixels 700-1, 700-2, 700-3, 700-4, and 700 present in the width portion of the prediction block 750 using the width information of the block as an input value. DCVal_Above can be calculated by calculating the average value of -5, 700-6, 700-7, 700-8). In addition, DCVal_Left may be calculated by calculating an average value of the reference pixels 710-1 and 710-2 present in the height portion of the prediction block 750 using the height information height of the block as an input value. DCVal may be calculated by calculating the average value of the calculated DCVal_Above and DCVal_Left.

도 8은 본 발명의 실시예에 따른 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법을 나타낸 개념도이다.FIG. 8 is used to calculate a DC mode prediction pixel value of a prediction unit using only some pixels of a reference pixel adjacent to a short side of a prediction unit and a reference pixel adjacent to a long side of a prediction unit according to an embodiment of the present invention Conceptual diagram showing how to do this.

도 8을 참조하면, SDIP를 사용하는 예측 단위에 대해 DC 모드 예측값을 산출하기 위해 예를 들어, 아래의 두 가지 방법 중 하나의 방법을 사용할 수 있다.Referring to FIG. 8, for example, one of the following two methods may be used to calculate a DC mode prediction value for a prediction unit using SDIP.

방법 1) 예측 단위에 대하여 짧은 쪽 변에 존재하는 픽셀과 짧은 쪽 변에 존재하는 픽셀과 동일한 개수의 긴 쪽 변에 존재하는 픽셀을 이용하여 DC 모드 화면 내 예측을 수행하는 방법.Method 1) A method of performing prediction in DC mode using a pixel present on the short side and a pixel present on the same number of long sides as the pixels present on the short side with respect to the prediction unit.

방법 2) 예측 단위에 대하여 짧은 쪽 변에 존재하는 픽셀과 긴 쪽 변에 존재하는 픽셀의 평균값을 산출하는 것은 동일하다. 하지만, 짧은 쪽 변에 존재하는 참조 픽셀의 수와 예측 단위의 긴 쪽변에 존재하는 참조 픽셀을 합한 경우 2의 지수승에 해당하는 픽셀의 개수가 나오도록 긴쪽 변에 존재하는 참조 픽셀을 선택하여 사용할 수 있다. 이러한 방법을 사용함으로 쉬프트 연산을 수행시 복잡하지 않은 연산을 수행할 수 있다.Method 2) Computing an average value of pixels present on the short side and pixels present on the long side with respect to the prediction unit is the same. However, when the number of reference pixels on the short side and the reference pixels on the long side of the prediction unit are summed, the reference pixels on the long side are selected and used so that the number of pixels corresponding to the exponential power of 2 is obtained. Can be. By using this method, you can perform uncomplicated operations when performing shift operations.

아래의 표 1은 위의 1)과 2)의 방법을 사용할 경우 블록 사이즈에 따라 DC 모드 예측에서 사용되는 참조 픽셀의 개수를 나타낸 것이다. Table 1 below shows the number of reference pixels used in DC mode prediction according to the block size when using the above methods 1) and 2).

<표 1>TABLE 1

Figure 112012061177919-pat00008
Figure 112012061177919-pat00008

예를 들어, 4x16 크기의 블록의 경우, 방법 1은 예측 단위의 짧은 변의 길이가 4이므로 짧은 변에 존재하는 4개의 픽셀이 사용되고 긴변에 존재하는 픽셀 중 4개의 픽셀을 선택적으로 사용하여 8개의 픽셀의 평균값으로 DC 모드 화면 내 예측을 수행할 수 있다.For example, for a 4x16 block, Method 1 has 4 short sides of the prediction unit, so 4 pixels on the short side are used and 8 pixels on the long side, optionally using 4 pixels. The prediction in the DC mode screen may be performed using the average value of.

방법 2의 경우, 4x16 크기의 블록에서 예측 단위의 짧은 변의 길이가 4이므로 짧은 변에 존재하는 4개의 픽셀이 사용된다. 짧은 변에 존재하는 픽셀의 개수가 4이므로 긴 변에 존재하는 픽셀의 개수와 더한 픽셀의 값이 2의 지수가 되기 위해서는 예측 단위의 긴 변에서 12개의 참조 픽셀이 선택될 수 있다.In the case of Method 2, since the length of the short side of the prediction unit is 4 in a 4 × 16 block, four pixels on the short side are used. Since the number of pixels on the short side is 4, 12 reference pixels may be selected on the long side of the prediction unit so that the number of pixels on the long side and the pixel value plus 2 are exponents of 2.

도 8을 다시 참조하면, 상단의 두 개의 예측 단위(800, 820)는 방법 1을 사용하여 DC 모드 화면 내 예측을 수행하는 방법을 나타낸 개념도이고, 하단의 두 개의 예측 단위(840, 860)는 방법 2를 사용하여 DC 모드 화면 내 예측을 수행하는 방법을 나타내는 개념도이다.Referring back to FIG. 8, the two prediction units 800 and 820 at the top are conceptual views illustrating a method of performing the prediction in the DC mode screen using Method 1, and the two prediction units 840 and 860 at the bottom are A conceptual diagram illustrating a method of performing intra prediction on a DC mode screen using Method 2.

방법 1은 예측 단위에 대하여 짧은 변에 존재하는 픽셀과 짧은 변에 존재하는 픽셀과 동일한 개수의 긴 변에 존재하는 픽셀을 선택하여 DC 모드 예측을 수행하는 방법이다. 도 8에서는 방법 1의 한 가지 예시로서 긴 변에 존재하는 픽셀에서 주기적으로 픽셀들을 선택하여 짧은 변에 존재하는 픽셀과 동일한 개수의 픽셀을 선택하는 방법을 나타낸다. Method 1 is a method of performing DC mode prediction by selecting pixels existing on the short side and pixels present on the same number of long sides with respect to the prediction unit. FIG. 8 illustrates a method of selecting the same number of pixels as pixels existing on the short side by periodically selecting pixels from the pixels on the long side as one example of Method 1. FIG.

아래의 수학식 4는 긴 변에 존재하는 픽셀 중 주기적으로 픽셀들을 선택하여 짧은 변에 존재하는 픽셀과 동일한 개수의 픽셀을 선택하여 DC 모드 예측값을 산출하는 것이다. Equation 4 below calculates a DC mode prediction value by periodically selecting pixels among the pixels on the long side and selecting the same number of pixels as the pixels on the short side.

<수학식 4>&Quot; (4) &quot;

Figure 112012061177919-pat00009

Figure 112012061177919-pat00009

방법 2는 예측 단위에 대하여 짧은 변에 존재하는 픽셀과 짧은 변에 존재하는 픽셀과 더했을 때 2의 지수승이 되는 긴 변에 존재하는 픽셀을 선택하여 DC 모드 예측을 수행하는 방법이다.Method 2 is a method of performing DC mode prediction by selecting a pixel present on the short side and a pixel present on the short side with respect to the prediction unit by selecting a pixel present on the long side that is an exponential power of 2.

방법 2를 수행하는 방법에 대한 예시로서 1) 긴 변에 존재하는 픽셀 중 주기적으로 픽셀들을 선택하여 짧은 변에 존재하는 픽셀의 배수에 해당하는 개수의 픽셀을 선택하는 방법(840) 또는 2) 긴 변에 존재하는 픽셀을 연속적으로 선택하여 짧은 변에 존재하는 픽셀의 배수에 해당하는 개수의 픽셀을 선택하는 방법(860)을 사용할 수 있다.
As an example of how to perform Method 2, 1) a method 840 for selecting a number of pixels corresponding to a multiple of the pixels on the short side by periodically selecting pixels among the pixels on the long side 840 or 2) the long A method 860 of selecting a number of pixels corresponding to a multiple of pixels existing on a short side by continuously selecting pixels present on a side may be used.

도 9는 본 발명의 실시예에 따른 SDIP 사용한 방향성 화면 내 예측 모드를 나타낸 개념도이다. 9 is a conceptual diagram illustrating an intra prediction mode using an SDIP according to an embodiment of the present invention.

도 9를 참조하면, SDIP의 경우 적용되는 화면 내 예측 모드가 제한적으로 사용될 수 있다. Referring to FIG. 9, the intra prediction mode applied to the SDIP may be limitedly used.

예를 들어 도 9와 같은 경우, 8x8 크기의 블록이 4개의 2x8 크기의 블록으로 나뉘었다면, 8x8 크기의 블록에서 상단 참조 픽셀이 For example, as shown in FIG. 9, if an 8x8 size block is divided into four 2x8 size blocks, the top reference pixel is formed in the 8x8 size block.

상단 참조 픽셀(900-1, 900-2)에서 variation이 상대적으로 많이 일어나기 때문에 8x8 크기의 블록이 4개의 2x8 크기의 블록으로 분할되었음을 추정하고, 기존의 화면 내 예측 모드에 적용되는 인덱스를 변화시켜 많이 발생할 가능성이 큰 화면 내 예측 모드에 더 작은 bin string이 매핑될 수 있도록 변화시킬 수 있다. 예를 들어, 도 9와 같은 경우는 수직 방향에 존재하는 화면 내 예측 모드가 수평 방향으로 존재하는 화면 내 예측 모드보다 더 작은 bin string이 매핑되도록 화면 내 예측 모드 인덱스 매핑을 변화시켜 재정렬(reordering)할 수 있다.Since variation is relatively high in the upper reference pixels 900-1 and 900-2, the 8x8 size block is divided into 4 2x8 size blocks, and the index applied to the existing intra prediction mode is changed. It can be changed so that smaller bin strings can be mapped to intra prediction modes that are more likely to occur. For example, as shown in FIG. 9, the intra prediction mode index mapping may be reordered by changing the intra prediction mode index mapping so that a smaller bin string is mapped than the intra prediction mode in the vertical direction. can do.

또한, 본 발명의 실시예에 따르면 SDIP를 수행시 사용되는 화면 내 예측 모드를 제한적으로 사용할 수 있다. 예를 들어, 예측 단위의 width가 height보다 큰 경우 수평 방향 예측 모드에 주변에 위치한 화면 내 예측 모드만을 사용하고 예측 단위의 height가 width보다 큰 경우 수직 방향 예측 모드에 주변에 위치한 화면 내 예측 모드만을 사용할 수 있다. 즉 SDIP를 사용하는 예측 단위의 형태에 따라 일부의 화면 내 예측 모드만 선택적으로 사용할 수 있다.In addition, according to an embodiment of the present invention, the intra prediction mode used when performing SDIP may be limitedly used. For example, if the width of the prediction unit is greater than height, only the intra prediction mode is used in the horizontal prediction mode. If the height of the prediction unit is greater than the width, only the intra prediction mode is located in the vertical prediction mode. Can be used. That is, only some intra prediction modes may be selectively used depending on the type of prediction unit using the SDIP.

또한, 본 발명의 실시예에 따르면 SDIP를 사용하는 블록의 크기가 제한적일 수 있다. 예를 들어, 8x8 이상의 블록 크기에 대해서만 SDIP를 사용한 예측을 수행할 수 있고, 8x8 보다 작은 블록에 대해서는 SDIP를 사용하지 않고, NxN 크기의 블록을 이용한 화면 내 예측을 수행할 수 있다.
In addition, according to an embodiment of the present invention, the size of a block using the SDIP may be limited. For example, prediction using SDIP can be performed only for block sizes of 8x8 or more, and intra-picture prediction using blocks of NxN size can be performed without using SDIP for blocks smaller than 8x8.

도 10은 본 발명의 실시예에 따른 SDIP를 이용한 DC 모드 화면 내 예측 방법을 나타낸 개념도이다. 10 is a conceptual diagram illustrating a prediction method in a DC mode screen using SDIP according to an embodiment of the present invention.

도 10을 참조하면, SDIP를 수행하는 경우 AIS(Adaptive intra smoothing)을 사용하여 참조 픽셀과 산출된 예측 픽셀을 필터링할 수 있다. Referring to FIG. 10, when the SDIP is performed, the reference pixel and the calculated prediction pixel may be filtered using adaptive intra smoothing (AIS).

전술한 SDIP에서 DC 모드 화면 내 예측 방법을 통해 예측 단위(1000)에 대한 픽셀 예측값을 산출할 수 있다. 픽셀 예측값은 적어도 하나의 참조 픽셀들의 평균값이므로 DC 모드로 화면 내 예측을 수행하여 생성된 픽셀 예측값과 참조 픽셀값들은 서로 다른 값을 가질 가능성이 크고 픽셀값 사이의 차이가 클 수 있다.In the above-described SDIP, a pixel prediction value for the prediction unit 1000 may be calculated through a prediction method in a DC mode screen. Since the pixel prediction value is an average value of at least one reference pixel, the pixel prediction value and the reference pixel values generated by performing the intra prediction in the DC mode may have different values, and the difference between the pixel values may be large.

이러한 경계에 존재하는 픽셀값 사이의 차이값을 없애주기 위하여 여러 가지 필터를 사용하여 스무딩을 수행할 수 있다. 예를 들어, 도 10과 같이 복수개의 필터를 이용하거나 이중에서 하나의 필터를 사용하여 경계를 smoothing해줄 수 있다.Smoothing may be performed using various filters to remove the difference between pixel values existing at the boundary. For example, as shown in FIG. 10, a plurality of filters may be used or one of the filters may be used to smooth the boundary.

예를 들어, (2/8, 6/8)의 가중치를 적용하는 필터를 사용하여, 좌측 상단 픽셀(1010)을 제외한 나머지 픽셀에 대해 필터링을 수행할 수 있다. 이러한 필터를 사용할 경우, 참조 픽셀에 해당하는 픽셀값을 일정한 가중치로 반영하여 가지고 오기 때문에 별다른 예측 단위의 경계면에 생기는 단차를 줄일 수 있다. 좌측 상단 픽셀(1010)의 경우, (2/8, 4/8, 2/8) 필터를 적용하여 좌측 상단 픽셀(1010)의 상단에 위치한 참조 픽셀(1015)과 좌측 상단 픽셀(1020)의 좌측에 위치한 픽셀에는 2/8의 가중치를 적용하고 좌측 참조 픽셀에는 4/8의 가중치를 적용하여 필터링을 수행할 수 있다.
For example, filtering may be performed on the remaining pixels except for the upper left pixel 1010 using a filter applying a weight of 2/8 and 6/8. In the case of using such a filter, since the pixel value corresponding to the reference pixel is reflected at a constant weight, the step generated at the boundary of a different prediction unit can be reduced. For the upper left pixel 1010, the (2/8, 4/8, 2/8) filter is applied to the left of the upper left pixel 1020 and the reference pixel 1015 positioned at the top of the upper left pixel 1010. Filtering may be performed by applying a weight of 2/8 to a pixel positioned at and applying a weight of 4/8 to a left reference pixel.

전술한 방법으로 생성된 SDIP 예측 블록은 수평 방향의 너비와 수직 방향의 높이가 서로 다르므로 변환시 동일한 커널(kernal)을 사용할 수 없다. Since the SDIP prediction block generated by the above method is different from the horizontal width and the vertical height, the same kernel cannot be used for the conversion.

따라서, rectangular nxm 크기의 블록일 경우, 행과 열에 대하여 서로 다른 커널을 사용하여 변환할 수 있다. 아래의 수학식 5는 rectangular nxm 크기의 블록을 주파수 영역으로 변환하는 방법을 나타낸다. Therefore, in the case of rectangular nxm sized blocks, different kernels can be used for rows and columns. Equation 5 below shows a method of converting a rectangular nxm block into a frequency domain.

<수학식 5>&Quot; (5) &quot;

Figure 112012061177919-pat00010
Figure 112012061177919-pat00010

수학식 5를 참조하면, 서로 다른 수직 길이와 수평 길이를 가진 예측 대상 블록에 대하여 서로 다른 크기의 변환 커널을 사용하여 잔차값을 변환할 수 있다.
Referring to Equation 5, a residual value may be transformed using a transform kernel having a different size for prediction blocks having different vertical lengths and horizontal lengths.

도 11은 본 발명의 실시예에 따른 SDIP에서 DC 모드 화면 내 예측 방법을 나타낸 순서도이다.11 is a flowchart illustrating a prediction method in a DC mode screen in SDIP according to an embodiment of the present invention.

도 11을 참조하면, 예측 단위의 분할 정보를 복호화한다(단계 S1100).Referring to FIG. 11, split information of a prediction unit is decoded (step S1100).

예측 단위가 분할된 형태에 관한 정보인 분할 정보를 복호화하여 현재 복호화 대상 예측 단위가 SDIP를 이용한 화면 내 예측을 수행하였는지 여부를 판단할 수 있다.It is possible to determine whether the current decoding target prediction unit has performed intra prediction using the SDIP by decoding the split information which is information on the divided form of the prediction unit.

예측 단위의 화면 내 예측 모드 정보를 복호화한다(단계 S1110).Intra prediction mode information of the prediction unit is decoded (step S1110).

예측 단위가 SDIP를 사용한 화면 내 예측을 수행한 경우, 화면 내 예측에 사용되는 화면 내 예측 모드의 수가 제한적일 수 있다.When the prediction unit performs the intra prediction using the SDIP, the number of intra prediction modes used for the intra prediction may be limited.

전술한 바와 같이 SDIP를 사용한 경우 예측 단위의 형태에 따라 예를 들어,As described above, when SDIP is used, for example, depending on the type of prediction unit,

1) 수직 방향에 존재하는 화면 내 예측 모드가 수평 방향으로 존재하는 화면 내 예측 모드보다 더 작은 bin string이 매핑되도록 화면 내 예측 모드 인덱스 매핑을 변화시켜 재정렬(reordering)하거나, 1) reorder by changing the intra prediction mode index mapping such that the intra prediction mode in the vertical direction maps a smaller bin string than the intra prediction mode in the horizontal direction, or

2) 수평 방향에 존재하는 화면 내 예측 모드가 수직 방향으로 존재하는 화면 내 예측 모드보다 더 작은 bin string이 매핑되도록 화면 내 예측 모드 인덱스 매핑을 변화시켜 재정렬(reordering)할 수 있다, 2) The intra prediction mode index mapping may be reordered by changing the intra prediction mode mapping in the horizontal direction so that a smaller bin string is mapped than the intra prediction mode in the vertical direction.

위와 같이 화면 내 예측 모드가 재정렬 되는 경우, 재정렬한 인덱스값을 기초로 화면 내 예측 모드를 산출할 수 있다.When the intra prediction modes are rearranged as described above, the intra prediction modes may be calculated based on the rearranged index values.

또한, 전술한 바와 같이 SDIP를 수행시 사용되는 화면 내 예측 모드를 제한적으로 사용하는 경우, 사용되는 화면 내 예측 모드에 대해서만 화면 내 예측 모드 인덱스를 매핑할 수 있다. 이러한 경우, 예측 단위가 SDIP를 사용하는 경우 사용될 수 있는 화면 내 예측 모드에 대해서만 복호화를 수행할 수 있도록 인덱스 매핑을 수행할 수 있다.
In addition, when the intra prediction mode used when performing the SDIP is limited as described above, the intra prediction mode index may be mapped only to the intra prediction mode used. In this case, index mapping may be performed so that decoding can be performed only for an intra prediction mode that can be used when the prediction unit uses SDIP.

예측 단위의 화면 내 예측 모드가 DC 모드일 경우, 예측 단위의 참조 픽셀 정보를 기초로 예측 단위의 DC 모드 예측 픽셀을 생성한다(단계 S1120).When the intra prediction mode of the prediction unit is the DC mode, a DC mode prediction pixel of the prediction unit is generated based on the reference pixel information of the prediction unit (step S1120).

DC 모드 예측 픽셀값 생성 방법으로 아래의 4가지 방법 중 하나의 방법이 사용될 수 있다.As the DC mode prediction pixel value generation method, one of the following four methods may be used.

1) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.1) A method of calculating a DC mode prediction pixel value of a prediction unit using only reference pixels adjacent to short-length sides in the prediction unit.

2) 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.2) A method of calculating a DC mode prediction pixel value of a prediction unit by using only reference pixels adjacent to long length sides in the prediction unit.

3) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 예측 픽셀값과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀만을 사용하여 산출된 예측 단위의 예측 픽셀값의 평균값을 기초로 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.3) the average value of the prediction pixel value of the prediction unit calculated using only reference pixels adjacent to the short side of the prediction unit and the prediction pixel value of the prediction unit calculated using only the reference pixel adjacent to the long side of the prediction unit. A method of calculating a DC mode prediction pixel value of a prediction unit based on the method.

4) 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 픽셀만을 사용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 방법.
4) A method of calculating a DC mode prediction pixel value of a prediction unit using only some pixels of a reference pixel adjacent to a short side of a prediction unit and a reference pixel adjacent to a long side of a prediction unit.

부호화 단계에서는 복호화 단계의 역순으로 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 예측 블록의 좌측에 존재하는 참조 픽셀 또는 예측 블록의 상단에 존재하는 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출할 수 있다. In the encoding step, when the prediction block is a block that performs short distance intra prediction (SDIP) in the reverse order of the decoding step and the intra prediction is performed using the DC mode, the reference pixel or the prediction block existing on the left side of the prediction block A prediction value calculated based on at least one pixel among the reference pixels existing at the top may be calculated as a prediction value in the DC mode screen of the prediction block.

산출된 예측 블록의 크기 정보와 화면 내 예측 모드 정보인 DC 모드 화면 내 예측 모드를 부호화하여 복호화 장치에 전송할 수 있다.
The calculated size information of the prediction block and the prediction mode in the DC mode screen, which are intra prediction mode information, may be encoded and transmitted to the decoding apparatus.

이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. It will be possible.

Claims (20)

예측 블록의 크기 정보와 화면 내 예측 모드 정보를 복호화하는 단계; 및
상기 예측 블록이 DC 모드를 이용한 화면 내 예측을 수행한 예측 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계를 포함하되,
상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀이며,
상기 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계에서는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 화면 내 예측 방법.
Decoding the size information of the prediction block and the intra prediction mode information; And
When the prediction block is a prediction block that performs intra prediction using a DC mode, a prediction value calculated based on at least one reference pixel among a first reference pixel and a second reference pixel is used as a prediction value in the DC mode screen of the prediction block. Including the step of calculating,
When the prediction block is a block of size nxm (n and m are natural numbers), the first reference pixel is m reference pixels adjacent to the left side of the prediction block, and the second reference pixel is n adjacent to the top of the prediction block. Reference pixels,
In the calculating of a prediction value calculated based on at least one reference pixel among the first reference pixel and the second reference pixel as a prediction value in the DC mode screen of the prediction block, the first DC calculated based on the first reference pixel And calculating a DC mode prediction pixel value of the prediction block using an average value of a mode prediction pixel value and a second DC mode prediction pixel value calculated based on the second reference pixel.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 제1항에 있어서, 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 단계는,
아래의 수학식을 기초로 DC 모드 예측 픽셀값을 산출하는 단계인
<수학식>
Figure 112013102593806-pat00013

화면 내 예측 방법.
The DC mode of the prediction block according to claim 1, wherein an average value of the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel is determined. Calculating the predicted pixel value
The DC mode prediction pixel value is calculated based on the following equation.
&Lt; Equation &
Figure 112013102593806-pat00013

Intra prediction method.
제1항에 있어서, 상기 예측 블록이 SDIP를 수행하는 블록이고 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 DC 모드 화면 내 예측값으로 산출하는 단계는,
상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계이되,
상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택하는 화면 내 예측 방법.
The prediction value of claim 1, wherein the prediction block is a block that performs SDIP and is a block that performs intra prediction using a DC mode, the prediction value calculated based on at least one of a first reference pixel and a second reference pixel To calculate the prediction value in the DC mode screen,
A portion of a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel and a portion of a reference pixel adjacent to a side of a long length in a prediction unit among the first reference pixel and the second reference pixel Computing the DC mode prediction pixel value of the prediction unit by using the reference pixel,
And selecting the number of reference pixels adjacent to the long length side so that a value obtained by adding a reference pixel adjacent to a short side and a reference pixel adjacent to the long length in the prediction unit is an exponential power of 2.
삭제delete 예측 블록이 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계; 및
상기 예측 블록의 크기 정보와 화면 내 예측 모드 정보인 DC 모드 화면 내 예측 모드를 부호화하는 단계를 포함하되,
상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀이며,
상기 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 참조 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계에서는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 화면 내 예측 방법.
When the prediction block is a block in which intra prediction is performed using the DC mode, a prediction value calculated based on at least one reference pixel of the first reference pixel and the second reference pixel is calculated as a prediction value in the DC mode screen of the prediction block. Making; And
Encoding the prediction mode in the DC mode screen, the size information of the prediction block and the intra prediction mode information,
When the prediction block is a block of size nxm (n and m are natural numbers), the first reference pixel is m reference pixels adjacent to the left side of the prediction block, and the second reference pixel is n adjacent to the top of the prediction block. Reference pixels,
In the calculating of a prediction value calculated based on at least one reference pixel among the first reference pixel and the second reference pixel as a prediction value in the DC mode screen of the prediction block, the first DC calculated based on the first reference pixel And calculating a DC mode prediction pixel value of the prediction block using an average value of a mode prediction pixel value and a second DC mode prediction pixel value calculated based on the second reference pixel.
삭제delete 삭제delete 삭제delete 제10항에 있어서, 상기 예측 블록이 SDIP(short distance intra prediction)을 수행하는 블록으로서 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 단계는,
상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 상기 예측 단위의 DC 모드 예측 픽셀값을 산출하는 단계이되,
상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택하는 화면 내 예측 방법.
The at least one pixel of the first reference pixel and the second reference pixel when the prediction block is a block for performing short distance intra prediction (SDIP) and performing intra-picture prediction using a DC mode. Computing the prediction value calculated based on the prediction value in the DC mode screen of the prediction block,
A portion of a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel and a portion of a reference pixel adjacent to a side of a long length in a prediction unit among the first reference pixel and the second reference pixel Computing the DC mode prediction pixel value of the prediction unit by using a reference pixel,
And selecting the number of reference pixels adjacent to the long length side such that the reference pixel adjacent to the short length side and the reference pixel adjacent to the long length side are the exponential power of two in the prediction unit.
예측 블록의 크기 정보와 화면 내 예측 모드 정보를 복호화하는 엔트로피 복호화부; 및
상기 예측 블록이 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 화면 내 예측부를 포함하되,
상기 예측 블록이 nxm 크기(n과 m은 자연수)의 블록인 경우, 상기 제1 참조 픽셀은 상기 예측 블록의 좌측에 인접한 m개의 참조 픽셀, 상기 제2 참조 픽셀은 상기 예측 블록의 상단에 인접한 n개의 참조 픽셀이며,
상기 예측부는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 영상 복호화 장치.
An entropy decoder which decodes the size information of the prediction block and the intra prediction mode information; And
When the prediction block is a block in which intra prediction is performed using the DC mode, a prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is calculated as a prediction value in the DC mode screen of the prediction block. Including a prediction unit on the screen,
When the prediction block is a block of size nxm (n and m are natural numbers), the first reference pixel is m reference pixels adjacent to the left side of the prediction block, and the second reference pixel is n adjacent to the top of the prediction block. Reference pixels,
The prediction unit is a DC mode prediction pixel value of the prediction block as an average value of the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel. Image decoding apparatus for calculating the.
삭제delete 제15항에 있어서, 상기 화면 내 예측부는,
상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값을 사용하여 DC 모드 예측 픽셀값을 산출하거나,
상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하되,
상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택하는 화면 내 예측부인 영상 복호화 장치.
The method of claim 15, wherein the intra prediction unit,
The DC mode prediction pixel value is calculated using the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel.
A portion of a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel and a portion of a reference pixel adjacent to a side of a long length in a prediction unit among the first reference pixel and the second reference pixel The DC pixel prediction pixel value of the prediction unit is calculated using the reference pixel,
An image that is an intra prediction unit that selects the number of reference pixels adjacent to the long length side such that the reference pixel adjacent to the short side and the reference pixel adjacent to the long side are the exponential powers of 2 in the prediction unit. Decryption device.
예측 블록이 DC 모드를 이용한 화면 내 예측을 수행한 블록인 경우, 제1 참조 픽셀 및 제2 참조 픽셀 중 적어도 하나의 픽셀을 기초로 산출된 예측값을 상기 예측 블록의 DC 모드 화면 내 예측값으로 산출하는 화면 내 예측부; 및
상기 예측 블록의 크기 정보와 화면 내 예측 모드 정보인 DC 모드 화면 내 예측 모드를 부호화하는 엔트로피 부호화부를 포함하되,
상기 제1 참조 픽셀은 예측 블록의 좌측에 존재하는 참조 픽셀, 상기 제2 참조 픽셀은 예측 블록의 상단에 존재하는 참조 픽셀이며,
상기 예측부는 상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값의 평균값으로 상기 예측 블록의 DC 모드 예측 픽셀값을 산출하는 영상 부호화 장치.
When the prediction block is a block in which intra prediction is performed using the DC mode, a prediction value calculated based on at least one pixel of the first reference pixel and the second reference pixel is calculated as the prediction value in the DC mode image of the prediction block. Intra prediction unit; And
An entropy encoder for encoding the prediction mode in the DC mode screen, the size information of the prediction block and the intra prediction mode information,
The first reference pixel is a reference pixel present on the left side of the prediction block, the second reference pixel is a reference pixel present on the top of the prediction block,
The prediction unit is a DC mode prediction pixel value of the prediction block as an average value of the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel. An image encoding device for calculating the.
삭제delete 제18항에 있어서, 상기 화면 내 예측부는,
상기 제1 참조 픽셀을 기초로 산출된 제1 DC 모드 예측 픽셀값과 상기 제2 참조 픽셀을 기초로 산출된 제2 DC 모드 예측 픽셀값을 사용하여 DC 모드 예측 픽셀값을 산출하거나,
상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 제1 참조 픽셀 및 상기 제2 참조 픽셀 중 예측 단위에서 긴 길이의 변에 인접한 참조 픽셀 중 일부의 참조 픽셀을 이용하여 예측 단위의 DC 모드 예측 픽셀값을 산출하되,
상기 예측 단위에서 짧은 길이의 변에 인접한 참조 픽셀과 상기 긴 길이의 변에 인접한 참조 픽셀을 더한 값이 2의 지수승이 되도록 상기 긴 길이의 변에 인접한 참조 픽셀의 개수를 선택하는 화면 내 예측부인 영상 부호화 장치.
The method of claim 18, wherein the intra prediction unit,
The DC mode prediction pixel value is calculated using the first DC mode prediction pixel value calculated based on the first reference pixel and the second DC mode prediction pixel value calculated based on the second reference pixel.
A portion of a reference pixel adjacent to a side of a short length in a prediction unit among the first reference pixel and the second reference pixel and a portion of a reference pixel adjacent to a side of a long length in a prediction unit among the first reference pixel and the second reference pixel The DC pixel prediction pixel value of the prediction unit is calculated using the reference pixel,
An image that is an intra prediction unit that selects the number of reference pixels adjacent to the long length side such that the reference pixel adjacent to the short side and the reference pixel adjacent to the long side are the exponential powers of 2 in the prediction unit. Encoding device.
KR1020120083673A 2011-08-17 2012-07-31 Methods of intra prediction on sdip and apparatuses for using the same KR101348544B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20110081878 2011-08-17
KR1020110081878 2011-08-17

Publications (2)

Publication Number Publication Date
KR20130020562A KR20130020562A (en) 2013-02-27
KR101348544B1 true KR101348544B1 (en) 2014-01-10

Family

ID=47898468

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120083673A KR101348544B1 (en) 2011-08-17 2012-07-31 Methods of intra prediction on sdip and apparatuses for using the same

Country Status (1)

Country Link
KR (1) KR101348544B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019221472A1 (en) * 2018-05-12 2019-11-21 주식회사 윌러스표준기술연구소 Video signal processing method and device using reference sample
WO2020181503A1 (en) * 2019-03-12 2020-09-17 Oppo广东移动通信有限公司 Intra-frame prediction method and apparatus, and computer-readable storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997107A (en) * 2014-05-29 2014-08-20 国家电网公司 Portable direct-current power source
KR20170082528A (en) 2014-11-05 2017-07-14 삼성전자주식회사 An image encoding method and apparatus or image decoding method and apparatus for performing intra prediction based on at least one sample value and at least one pattern determined in association with a block
ES2800551B2 (en) 2016-06-24 2023-02-09 Kt Corp Method and apparatus for processing a video signal
CN117201809A (en) * 2016-08-01 2023-12-08 韩国电子通信研究院 Image encoding/decoding method and apparatus, and recording medium storing bit stream
CN109804625A (en) * 2016-10-04 2019-05-24 韩国电子通信研究院 The recording medium of method and apparatus and stored bits stream to encoding/decoding image
CN117041568A (en) * 2016-11-29 2023-11-10 韩国电子通信研究院 Image encoding/decoding method and recording medium for storing bit stream
CN116916012A (en) 2017-09-08 2023-10-20 株式会社Kt Video signal processing method and device
WO2020013655A1 (en) * 2018-07-12 2020-01-16 엘지전자 주식회사 Method and apparatus for performing intra-prediction using dc mode among intra-prediction modes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304102A (en) * 2005-04-22 2006-11-02 Renesas Technology Corp Image coding unit and image coding method
KR20090132680A (en) * 2008-06-23 2009-12-31 에스케이 텔레콤주식회사 Image encoding/decoding method and apparatus using block transformation
KR20110028734A (en) * 2009-09-14 2011-03-22 에스케이 텔레콤주식회사 High definition video encoding/decoding method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304102A (en) * 2005-04-22 2006-11-02 Renesas Technology Corp Image coding unit and image coding method
KR20090132680A (en) * 2008-06-23 2009-12-31 에스케이 텔레콤주식회사 Image encoding/decoding method and apparatus using block transformation
KR20110028734A (en) * 2009-09-14 2011-03-22 에스케이 텔레콤주식회사 High definition video encoding/decoding method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019221472A1 (en) * 2018-05-12 2019-11-21 주식회사 윌러스표준기술연구소 Video signal processing method and device using reference sample
CN112106364A (en) * 2018-05-12 2020-12-18 韦勒斯标准与技术协会公司 Video signal processing method and apparatus using reference samples
US11044470B2 (en) 2018-05-12 2021-06-22 Wilus Institute Of Standards And Technology Inc. Video signal processing method and device using reference sample
WO2020181503A1 (en) * 2019-03-12 2020-09-17 Oppo广东移动通信有限公司 Intra-frame prediction method and apparatus, and computer-readable storage medium
US11350088B2 (en) 2019-03-12 2022-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and apparatus, and computer-readable storage medium
US11843724B2 (en) 2019-03-12 2023-12-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and apparatus, and computer-readable storage medium

Also Published As

Publication number Publication date
KR20130020562A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
KR101348544B1 (en) Methods of intra prediction on sdip and apparatuses for using the same
KR101579356B1 (en) Intra prediction method and apparatus using the method
KR102164752B1 (en) Intra prediction apparatus
KR101859079B1 (en) Adaptive transform method based on in-screen rediction and apparatus using the method
KR102061201B1 (en) Methods of transformation based on block information and appratuses using the same
KR20170108367A (en) Method and apparatus for processing a video signal based on intra prediction
KR101974952B1 (en) Methods of coding intra prediction mode using two candidate intra prediction modes and apparatuses using the same
KR20180041578A (en) Image encoding method/apparatus, image decoding method/apparatus and and recording medium for storing bitstream
KR20130045807A (en) Method for predicting quantization parameter based on intra prediction mode and apparatus using the same
KR102378803B1 (en) A method of decoding a video signal and an apparatus having the same
KR101802375B1 (en) Methods of derivation of temporal motion vector predictor and appratuses using the same
KR101743665B1 (en) Method and apparatus for processing a video signal based on intra prediction
KR20130100662A (en) Methods of deciding most probable mode and appratuses using the same
KR20220040451A (en) A method of decoding a video signal and an apparatus having the same
KR101938389B1 (en) Intra prediction method and apparatus using the method
KR20170124076A (en) Method and apparatus for encoding and decoding a video signal group

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
LAPS Lapse due to unpaid annual fee