KR20070005848A - Method and apparatus for intra prediction mode decision - Google Patents

Method and apparatus for intra prediction mode decision Download PDF

Info

Publication number
KR20070005848A
KR20070005848A KR1020050060886A KR20050060886A KR20070005848A KR 20070005848 A KR20070005848 A KR 20070005848A KR 1020050060886 A KR1020050060886 A KR 1020050060886A KR 20050060886 A KR20050060886 A KR 20050060886A KR 20070005848 A KR20070005848 A KR 20070005848A
Authority
KR
South Korea
Prior art keywords
mode
intra prediction
block
block unit
unit
Prior art date
Application number
KR1020050060886A
Other languages
Korean (ko)
Other versions
KR100739714B1 (en
Inventor
박준성
송효정
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020050060886A priority Critical patent/KR100739714B1/en
Publication of KR20070005848A publication Critical patent/KR20070005848A/en
Application granted granted Critical
Publication of KR100739714B1 publication Critical patent/KR100739714B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/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/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/15Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Abstract

A method and an apparatus for determining an intra prediction mode are provided to more quickly determine the intra prediction mode for the intra prediction coding of images. An intra prediction performing unit(210) selects a candidate group having directionality similar to an intra prediction mode of the first block unit among intra prediction modes of the second block unit of a certain size by using the determination result of the intra prediction mode of the first block unit with a certain size. The intra prediction performing unit(210) performs the second block unit intra prediction for only the second block unit intra prediction modes which belong to the candidate group, and determines the second block unit intra prediction mode. A prediction mode determining unit(220) compares the cost of the first block unit intra prediction mode determined in the intra prediction performing unit(210) with the cost of the determined second block unit intra prediction mode, and determines the last prediction mode for predicting the intra prediction of an input block.

Description

인트라 예측 모드 결정 방법 및 장치{Method and apparatus for intra prediction mode decision}Method and apparatus for determining intra prediction mode

도 1은 H.264 표준안에 따른 16×16 인트라 예측 모드를 나타낸 도면.1 shows a 16x16 intra prediction mode according to the H.264 standard.

도 2는 H.264 표준안에 따른 4×4 인트라 예측 모드를 나타낸 도면.2 shows a 4x4 intra prediction mode according to the H.264 standard.

도 3은 본 발명에 따른 인트라 예측 장치가 적용되는 영상 부호화 장치의 구성을 나타낸 블록도.3 is a block diagram illustrating a configuration of an image encoding apparatus to which an intra prediction apparatus according to the present invention is applied.

도 4는 본 발명에 따른 인트라 예측 장치의 구성을 나타낸 블록도.4 is a block diagram showing the configuration of an intra prediction apparatus according to the present invention;

도 5는 상기 도 4의 인트라 예측 수행부의 상세 블록도.FIG. 5 is a detailed block diagram of the intra prediction performing unit of FIG. 4. FIG.

도 6은 본 발명에 따른 인트라 예측 장치에서 이용되는 4×4 인트라 예측 모드를 나타낸 도면.6 is a diagram illustrating a 4x4 intra prediction mode used in an intra prediction apparatus according to the present invention.

도 7은 본 발명에 따라서 현재 블록의 인트라 예측 모드 결정에 이용되는 주변 블록을 나타낸 도면.7 illustrates a neighboring block used for intra prediction mode determination of a current block according to the present invention;

도 8은 본 발명에 따라서 부호화된 비트스트림을 복호화하는 영상 복호화 장치의 블록도.8 is a block diagram of an image decoding apparatus for decoding a bitstream encoded according to the present invention.

도 9은 본 발명에 따른 인트라 예측 모드 결정 방법을 나타낸 플로우 차트.9 is a flowchart illustrating a method of determining an intra prediction mode according to the present invention.

본 발명은 영상 데이터의 부호화에 관한 것으로서, 구체적으로는 영상 데이터를 부호화할 때 인트라 예측에 소요되는 시간을 단축시킬 수 있는 인트라 예측 모드 결정 방법 및 그 장치에 관한 것이다.The present invention relates to encoding of image data, and more particularly, to an intra prediction mode determination method and apparatus for reducing the time required for intra prediction when encoding image data.

동영상의 압축에 관한 H.264/MPEG-4 AVC(Advanced Video Coding)에 따르면, 동영상을 부호화하기 위해서 하나의 픽처를 매크로 블록으로 나눈다. 그리고, 인터 예측(inter prediction) 및 인트라 예측(intra prediction)에서 이용가능한 모든 부호화 모드에서 각각의 매크로 블록을 부호화한 다음, 매크로 블록의 부호화에 소요되는 비트율과 원 매크로 블록과 복호화된 매크로 블록과의 왜곡 정도에 따라 부호화 모드를 하나 정해 매크로 블록을 부호화한다.According to H.264 / MPEG-4 Advanced Video Coding (AVC) regarding video compression, one picture is divided into macro blocks to encode a video. Then, after encoding each macroblock in all encoding modes available for inter prediction and intra prediction, the bit rate required for encoding the macroblock and the original macroblock and the decoded macroblock are encoded. The macroblock is encoded by setting one encoding mode according to the degree of distortion.

인트라 예측은 현재 픽처의 매크로 블록을 부호화하기 위해서 참조 픽처를 참조하는 것이 아니라, 부호화하고자 하는 매크로 블록과 공간적으로 인접한 화소값을 이용하여 부호화하고자 하는 매크로 블록에 대한 예측값을 계산한 후, 이 예측값과 화소값의 차를 부호화한다. 여기서, 인트라 예측에서 사용되는 모드는 크게 4×4 인트라 예측 모드, 8×8 인트라 예측 모드(high profile의 경우), 16×16 인트라 예측 모드로 나뉜다. Intra prediction does not refer to a reference picture in order to encode a macroblock of a current picture, but calculates a prediction value for a macroblock to be encoded using a pixel value spatially adjacent to the macroblock to be encoded, and then calculates the prediction value. Encode the difference of pixel values. Here, the modes used for intra prediction are largely divided into 4x4 intra prediction mode, 8x8 intra prediction mode (for high profile), and 16x16 intra prediction mode.

도 1은 H.264 표준안에 따른 16×16 인트라 예측 모드를 나타낸 도면이고, 도 2는 H.264 표준안에 따른 4×4 인트라 예측 모드를 나타낸 도면이다.1 is a diagram illustrating a 16 × 16 intra prediction mode according to the H.264 standard, and FIG. 2 is a diagram showing a 4 × 4 intra prediction mode according to the H.264 standard.

도 1을 참조하면, 16×16 인트라 예측 모드에는 수직(Vertical) 모드, 수평(Horizontal) 모드, DC(Direct Current) 모드, 플레인(plane) 모드의 총 4개의 모 드가 존재한다. 또한, 도 2를 참조하면, 4×4 인트라 예측 모드에는 수직(Vertical) 모드, 수평(Horizontal) 모드, DC(Direct Current) 모드, 대각선 왼쪽(Diagonal Down-left) 모드, 대각선 오른쪽(Diagonal Down-right) 모드, 수직 오른쪽(Vertical right) 모드, 수직 왼쪽(Vertical left) 모드, 수평 위쪽(Horizontal-up) 모드 및 수평 아래쪽(Horizontal-down) 모드의 총 9개의 모드가 존재한다.Referring to FIG. 1, a total of four modes exist in a 16 × 16 intra prediction mode, that is, a vertical mode, a horizontal mode, a direct current mode, and a plane mode. In addition, referring to FIG. 2, the 4 × 4 intra prediction mode includes a vertical mode, a horizontal mode, a direct current mode, a diagonal down-left mode, and a diagonal down- mode. There are a total of nine modes: right mode, vertical right mode, vertical left mode, horizontal-up mode, and horizontal-down mode.

예를 들어, 도 2의 모드 0, 즉 수직 모드에 따라, 4×4 크기의 현재 블록을 예측 부호화하는 동작을 설명한다. 먼저 4×4 크기의 현재 블록의 위쪽에 인접한 픽셀 A 내지 D의 픽셀값을 4×4 현재 블록의 픽셀값으로 예측한다. 즉, 픽셀 A의 값을 4×4 현재 블록의 첫 번째 열에 포함된 4개의 픽셀값으로, 픽셀 B의 값을 4×4 현재 블록의 두 번째 열에 포함된 4개의 픽셀값으로, 픽셀 C의 값을 4×4 현재 블록의 세 번째 열에 포함된 4개의 픽셀값으로, 픽셀 D의 값을 4×4 현재 블록의 네 번째 열에 포함된 4개의 픽셀값으로 예측한다. 다음, 상기 픽셀 A 내지 D를 이용하여 예측된 4×4 현재 블록과 원래의 4×4 현재 블록에 포함된 픽셀의 실제값을 감산하여 차이값을 구한 후 그 차이값을 부호화한다.For example, an operation of predictively encoding a 4 × 4 current block according to mode 0 of FIG. 2, that is, a vertical mode will be described. First, the pixel values of the pixels A to D adjacent to the top of the 4x4 current block are predicted as the pixel values of the 4x4 current block. That is, the value of pixel A is the four pixel values contained in the first column of the 4x4 current block, the value of pixel B is the four pixel values contained in the second column of the 4x4 current block, and the value of the pixel C is Is predicted as four pixel values included in the third column of the 4x4 current block, and the value of pixel D is predicted as four pixel values included in the fourth column of the 4x4 current block. Next, the difference value is obtained by subtracting the actual values of the predicted 4x4 current block and the pixels included in the original 4x4 current block using the pixels A to D, and then encoding the difference value.

H.264 표준안에 따른 영상의 부호화시에, 상기 4×4 인트라 예측 모드 및 16×16 인트라 예측 모드의 총 13가지 모드로 현재 매크로 블록을 부호화해 본 다음, 그 중 가장 코스트(cost)가 작은 모드로 인트라 부호화를 수행한다. 구체적으로는, 현재 매크로 블록에 대해서 4가지의 16×16 인트라 예측 모드를 수행하여 코스트가 가장 작은 16×16 인트라 예측 모드를 선택하고, 4×4 서브 블록에 대해서 차 례대로 9가지의 4×4 인트라 예측 모드를 수행하여 각각의 서브 블록 별로 코스트가 가장 작은 모드를 선택한다. 그리고, 상기 선택된 16×16 인트라 예측 모드의 코스트와, 각각의 서브 블록들의 코스트를 합한 4×4 인트라 예측 모드의 코스트를 비교하여 최종적으로 코스트가 가장 작은 모드를 선택한다.When encoding an image according to the H.264 standard, the current macroblock is encoded in a total of 13 modes of the 4x4 intra prediction mode and the 16x16 intra prediction mode, and the lowest cost among them is then encoded. Perform intra coding in mode. Specifically, four 16x16 intra prediction modes are performed on the current macroblock to select the 16x16 intra prediction mode having the lowest cost, and nine 4x in sequence for the 4x4 subblock. Four intra prediction modes are performed to select a mode with the lowest cost for each subblock. Then, the cost of the selected 16 × 16 intra prediction mode is compared with the cost of the 4 × 4 intra prediction mode, which is the sum of the costs of the respective subblocks, and finally the mode having the smallest cost is selected.

H.264는 기존의 MPEG-4 part2에 비해 20~50%, 디지털 지상파 방송에 적용한 MPEG-2보다 최고 18배까지 압축효율이 높다. 그러나, H.264에서는 4×4 서브 블록의 도입과 인트라 예측 모드 수의 증가로 인해서, 부호화에 필요한 연산량이 매우 증가하였다. 또한, 연산량의 증가로 인해 제한된 자원의 휴대기기에서 H.264에 따른 실시간 동영상 부호화기를 구현하기 어렵다는 문제점이 있다. 또한, 종래 기술에 의하면, 인트라 예측을 위한 모드 결정시에 주변 블록의 정보를 이용하지 못하고, 인트라 부호화되는 모든 매크로 블록에 대해 9가지의 4×4 인트라 예측 모드와 4가지의 16×16 인트라 예측 모드의 총 13가지 모드로 부호화를 수행하게 되므로 연산량 측면에서 비효율적이다. H.264 has 20-50% higher compression efficiency than MPEG-4 part2 and up to 18 times higher compression efficiency than MPEG-2 applied to digital terrestrial broadcasting. However, in H.264, due to the introduction of 4x4 subblocks and the increase in the number of intra prediction modes, the amount of computation required for encoding is greatly increased. In addition, there is a problem that it is difficult to implement a real-time video encoder according to H.264 in a mobile device of limited resources due to the increase in the amount of computation. In addition, according to the related art, the information of the neighboring blocks cannot be used when determining the mode for intra prediction, and 9 4 × 4 intra prediction modes and 4 16 × 16 intra prediction modes for all macro blocks to be intra coded. Since coding is performed in 13 modes, the inefficiency in terms of calculation amount is achieved.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 영상의 인트라 예측 부호화를 위한 인트라 예측 모드를 보다 빠르게 결정할 수 있는 인트라 예측 모드 결정 방법 및 장치를 제공하는 데에 목적이 있다.Accordingly, an object of the present invention is to provide an intra prediction mode determination method and apparatus for quickly determining an intra prediction mode for intra prediction encoding of an image.

또한, 본 발명은 실시간 부호화기에 적용할 수 있도록 인트라 예측시의 연산의 복잡도를 감소시킬 수 있는 인트라 예측 모드 결정 방법 및 장치를 제공하는 데에 목적이 있다.Another object of the present invention is to provide an intra prediction mode determination method and apparatus capable of reducing the complexity of computation during intra prediction, so that the present invention can be applied to a real time encoder.

또한, 본 발명은 화질의 큰 열화없이 부호화에 소요되는 시간을 단축시킬 수 있는 인트라 예측 모드 결정 방법 및 장치를 제공하는 데에 목적이 있다.Another object of the present invention is to provide an intra prediction mode determination method and apparatus capable of shortening the time required for encoding without significant deterioration of image quality.

상기와 같은 기술적 과제를 해결하기 위하여 본 발명인 인트라 예측 모드 결정 방법은, 입력 블록을 소정 크기의 제 1 블록 단위로 복수 개의 제 1 블록 단위 인트라 예측 모드들에 대해 인트라 예측을 수행하여, 제 1 인트라 예측 모드를 결정하는 단계; 상기 결정된 제 1 인트라 예측 모드의 방향성에 기초해서 상기 제 1 블록 단위보다 더 작은 크기를 갖는 복수 개의 제 2 블록 단위 인트라 예측 모드들 중에서 소정 개수의 제 2 블록 단위 인트라 예측 모드들로 이루어진 인트라 예측 모드 후보 그룹을 결정하는 단계; 상기 결정된 인트라 예측 모드 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하여, 제 2 인트라 예측 모드를 결정하는 단계; 및 상기 제 1 인트라 예측 모드의 코스트와 상기 제 2 인트라 예측 모드의 코스트를 비교하고, 그 결과에 기초하여 상기 입력 블록의 인트라 모드를 결정하는 단계를 포함하는 것을 특징으로 한다.In order to solve the above technical problem, an intra prediction mode determining method according to the present invention performs the first prediction by performing intra prediction on a plurality of first block unit intra prediction modes of an input block in units of first blocks having a predetermined size. Determining a prediction mode; An intra prediction mode including a predetermined number of second block unit intra prediction modes among a plurality of second block unit intra prediction modes having a smaller size than the first block unit based on the determined direction of the first intra prediction mode. Determining a candidate group; Determining a second intra prediction mode by performing intra prediction on the input block in a second block unit according to second block unit intra prediction modes belonging to the determined intra prediction mode candidate group; And comparing the cost of the first intra prediction mode with the cost of the second intra prediction mode and determining an intra mode of the input block based on the result.

본 발명에 따른 영상의 인트라 예측 장치는, 소정 크기의 제 1 블록 단위 인트라 예측 모드 결정 결과를 이용하여, 소정 크기의 제 2 블록 단위의 인트라 예측 모드들 중에서 상기 결정된 제 1 블록 단위의 인트라 예측 모드와 유사한 방향성을 갖는 후보 그룹을 선택하고, 상기 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 대해서만 제 2 블록 단위 인트라 예측을 수행하여 제 2 블록 단위 인트라 예측 모드를 결정하는 인트라 예측 수행부; 및 상기 인트라 예측 수행부에서 결정된 제 1 블록 단위 인트라 예측 모드의 코스트와 상기 결정된 제 2 블록 단위 인트라 예측 모드의 코스트를 비교하여 상기 입력 블록의 인트라 예측을 위한 최종적인 예측 모드를 결정하는 예측 모드 결정부를 포함하는 것을 특징으로 한다.The intra prediction apparatus of an image according to the present invention uses an intra prediction mode of a first block unit of a predetermined size to determine an intra prediction mode of the determined first block unit among intra prediction modes of a second block unit of a predetermined size. An intra prediction performing unit selecting a candidate group having a similar directionality to and performing a second block unit intra prediction on only second block unit intra prediction modes belonging to the candidate group to determine a second block unit intra prediction mode; And determining a prediction mode for determining a final prediction mode for intra prediction of the input block by comparing the cost of the first block unit intra prediction mode determined by the intra prediction execution unit with the cost of the determined second block unit intra prediction mode. It is characterized by including a wealth.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 인트라 예측 장치가 적용되는 영상 부호화 장치의 구성을 나타낸 블록도이다.3 is a block diagram illustrating a configuration of an image encoding apparatus to which an intra prediction apparatus according to the present invention is applied.

도 3을 참조하면, 영상 부호화 장치(100)는 움직임 추정부(102), 움직임 보상부(104), 인트라 예측부(106), 변환부(108), 양자화부(110), 재정렬부(112), 엔트로피 코딩부(114), 역양자화부(116), 역변환부(118), 필터(120) 및 프레임 메모리(122)를 구비한다.Referring to FIG. 3, the image encoding apparatus 100 may include a motion estimator 102, a motion compensator 104, an intra predictor 106, a transformer 108, a quantization unit 110, and a reordering unit 112. ), An entropy coding unit 114, an inverse quantization unit 116, an inverse transform unit 118, a filter 120, and a frame memory 122.

인터 예측을 위해 현재 픽처의 매크로 블록의 예측값을 참조 픽처에서 찾는 것은 움직임 추정부(102)에서 수행된다. 그리고, 움직임 보상부(104)는 1/2 화소 또는 1/4 화소 단위로 참조 블록이 찾아진 경우에는 이들 중간 화소값을 계산하여 참조 블록 데이터 값을 정한다. 이와 같이, 인터 예측은 움직임 추정부(102)와 움직임 보상부(104)에서 수행된다.The motion estimation unit 102 performs the search for the predicted value of the macro block of the current picture in the reference picture for inter prediction. When the reference block is found in units of 1/2 or 1/4 pixels, the motion compensator 104 calculates these intermediate pixel values to determine the reference block data value. As such, inter prediction is performed by the motion estimator 102 and the motion compensator 104.

인트라 예측부(106)는 현재 픽처의 매크로 블록의 예측치를 현재 픽처내에서 찾는 인트라 예측을 수행한다. 특히, 상기 인트라 예측부(106)는 본 발명에 따른 인트라 예측 모드 결정 방법에 따라서 복수 개의 인트라 예측 모드들 중에서 현재 매크로 블록의 인트라 예측에 적합한 모드를 결정하여 인트라 예측을 수행한다.The intra predictor 106 performs intra prediction to find the predicted value of the macro block of the current picture in the current picture. In particular, the intra prediction unit 106 performs intra prediction by determining a mode suitable for intra prediction of the current macroblock among a plurality of intra prediction modes according to the intra prediction mode determination method according to the present invention.

인터 예측 또는 인트라 예측이 수행되어 현재 프레임의 매크로 블록이 참조할 예측 데이터가 찾아졌다면, 이를 현재 픽처의 매크로 블록에서 빼서 변환부(108)에서 변환을 수행한 후에 양자화부(110)에서 양자화를 수행한다. 현재 프레임의 매크로 블록에서 움직임 추정된 참조 블록을 뺀 것을 잔차(residual)라고 하는데 부호화시의 데이터량을 줄이기 위해서 잔차값을 부호화하는 것이다. 양자화된 잔차값은 엔트로피 코딩부(114)에서 인코딩하기 위하여 재정렬부(112)를 거친다.If inter prediction or intra prediction is performed to find prediction data to be referred to by the macro block of the current frame, the quantization unit 110 performs quantization after subtracting it from the macro block of the current picture and performing transformation on the transform unit 108. do. Subtraction of the motion estimation reference block from the macroblock of the current frame is called residual. The residual value is encoded to reduce the amount of data during encoding. The quantized residual value passes through the reordering unit 112 for encoding in the entropy coding unit 114.

한편, 인터 예측에 사용될 참조 픽처를 얻기 위하여 양자화된 픽처를 역양자화부(116)와 역변환부(118)를 거쳐 현재 픽처를 복원한다. 이렇게 복원된 현재 픽처는 프레임 메모리에 저장되었다가 다음 픽처에 대하여 인터 예측을 수행하는데 사용된다.Meanwhile, in order to obtain a reference picture to be used for inter prediction, the current picture is reconstructed through the inverse quantizer 116 and the inverse transform unit 118. The reconstructed current picture is stored in the frame memory and used to perform inter prediction on the next picture.

도 4는 본 발명에 따른 인트라 예측 장치의 구성을 나타낸 블록도이고, 도 5는 상기 도 4의 인트라 예측 수행부(210)의 상세 블록도이다. 여기서, 본 발명에 따른 인트라 예측 장치(200)는 상기 도 3에 도시된 인트라 예측부(106)에 대응한다.4 is a block diagram illustrating a configuration of an intra prediction apparatus according to the present invention, and FIG. 5 is a detailed block diagram of the intra prediction execution unit 210 of FIG. 4. Here, the intra prediction apparatus 200 according to the present invention corresponds to the intra prediction unit 106 illustrated in FIG. 3.

도 4를 참조하면, 본 발명에 따른 인트라 예측 장치(200)는 인트라 예측 수행부(210) 및 예측 모드 결정부(220)를 포함한다.Referring to FIG. 4, the intra prediction apparatus 200 according to the present invention includes an intra prediction performing unit 210 and a prediction mode determiner 220.

상기 인트라 예측 수행부(210)는 소정 크기의 제 1 블록 단위 인트라 예측 모드 결정 결과를 이용하여, 상기 제 1 블록 단위보다 작은 제 2 블록 단위의 인트라 예측 모드들 중에서 상기 결정된 제 1 블록 단위의 인트라 예측 모드와 유사한 방향성을 갖는 후보 그룹을 선택하고, 상기 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 대해서만 제 2 블록 단위 인트라 예측을 수행한다. 이는 영상에 특정한 패턴이 있는 경우 모드간의 유사성이 있다는 사실을 이용하는 것으로, 먼저 보다 적은 모드수를 갖는 제 1 블록 단위로 인트라 예측을 수행한 후, 결정된 제 1 블록 단위 인트라 예측 모드와 유사한 방향성을 갖는 제 2 블록 단위 인트라 예측 모드에 대해서만 제 2 블록 단위 인트라 예측을 수행하여 보다 많은 모드수를 갖는 제 2 블록 단위 인트라 예측에 소요되는 시간을 단축시킨다.The intra prediction performing unit 210 uses the first block unit intra prediction mode determination result of a predetermined size, and the intra unit of the first block unit determined from among the intra prediction modes of the second block unit smaller than the first block unit. A candidate group having a similar direction as that of the prediction mode is selected, and second block-by-block intra prediction is performed only on second block-by-block intra prediction modes belonging to the candidate group. This uses the fact that there is a similarity between modes when there is a specific pattern in an image. First, intra prediction is performed in a first block unit having a smaller number of modes, and then the directionality similar to the determined first block unit intra prediction mode is obtained. The second block unit intra prediction is performed only for the second block unit intra prediction mode to shorten the time required for the second block unit intra prediction having a larger number of modes.

특히, 본 발명은 4×4 블록의 9가지 인트라 예측 모드에 대해 복잡한 RDO(Rate Distortion Optimize) 연산을 줄이기 위해서, 먼저 16×16 블록의 인트라 예측 모드 결정 결과를 이용하여 4×4 블록의 9가지 인트라 예측 모드 중에서 가능성이 높은 후보 그룹을 선택하고, 상기 후보 그룹에 포함되는 4×4 블록의 인트라 예측 모드들에 대해서만 4×4 인트라 예측 모드를 수행함으로써 인트라 예측 과정에 소요되는 시간을 단축할 수 있다. 실제 인트라 예측 과정은 전체 영상 부호화 과정 시간 중 약 10%를 차지하고 있으며, 4×4 블록에 대한 인트라 예측에 소요되는 시간은 전체 인트라 예측 과정 중 약 90% 정도로서 전체 인트라 예측 과정의 대부분을 차지한다. 따라서, 4×4 블록에 대한 인트라 예측 모드를 보다 신속하게 결정할 수 있다면, 전체 인트라 예측 과정에 소요되는 시간을 크게 단축시킬 수 있다.In particular, in order to reduce complex Rate Distortion Optimize (RDO) operations for nine intra prediction modes of 4 × 4 blocks, the present invention first uses the intra prediction mode decision result of 16 × 16 blocks to determine nine types of 4 × 4 blocks. It is possible to shorten the time required for the intra prediction process by selecting a candidate group having a high probability from the intra prediction modes and performing the 4 × 4 intra prediction mode only on the intra prediction modes of the 4 × 4 block included in the candidate group. have. In fact, the intra prediction process takes about 10% of the total image encoding process time, and the time required for intra prediction for 4 × 4 blocks is about 90% of the total intra prediction process, which takes up most of the entire intra prediction process. Therefore, if the intra prediction mode for the 4x4 block can be determined more quickly, the time required for the entire intra prediction process can be greatly shortened.

도 5를 참조하면, 상기 인트라 예측 수행부(210)는 입력 블록을 소정 크기의 제 1 블록 단위로 인트라 예측을 수행하여 제 1 블록 단위 인트라 예측 모드를 결정하는 제 1 블록 단위 인트라 예측 수행부(211)와, 상기 제 1 블록 단위보다 더 작은 크기를 갖는 복수 개의 제 2 블록 단위 인트라 예측 모드들 중에서 상기 결정된 제 1 블록 단위 인트라 예측 모드와 유사한 방향성을 갖는 제 2 블록 단위 인트라 예측 모드 후보 그룹을 결정하는 후보 그룹 결정부(212) 및 상기 결정된 제 2 블록 단위 인트라 예측 모드 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하여 상기 입력 블록에 대응되는 제 2 블록 단위 인트라 예측 모드를 결정하는 제 2 블록 단위 인트라 예측 수행부(213)를 포함한다.Referring to FIG. 5, the intra prediction execution unit 210 performs an intra prediction on an input block in a unit of a first block having a predetermined size to determine a first block unit intra prediction mode. 211) a second block unit intra prediction mode candidate group having a direction similar to the determined first block unit intra prediction mode among a plurality of second block unit intra prediction modes having a smaller size than the first block unit. According to the candidate group determiner 212 to determine and the second block unit intra prediction modes belonging to the determined second block unit intra prediction mode candidate group, the input block is subjected to intra prediction on a second block basis to perform the intra prediction. And a second block unit intra prediction execution unit 213 for determining a second block unit intra prediction mode corresponding to the second block unit intra prediction mode.

상기 예측 모드 결정부(220)는 상기 인트라 예측 수행부(210)에서 결정된 제 1 블록 단위 인트라 예측 모드의 코스트와 상기 결정된 제 2 블록 단위 인트라 예측 모드의 코스트를 비교하여 상기 입력 블록의 인트라 예측을 위한 최종적인 예측 모드를 결정한다.The prediction mode determiner 220 compares the cost of the first block unit intra prediction mode determined by the intra prediction execution unit 210 with the cost of the determined second block unit intra prediction mode to perform intra prediction of the input block. Determine the final prediction mode for

상기와 같은 구성을 갖는 본 발명에 따른 인트라 예측 장치(200)의 동작에 관하여 설명한다. 이하에서는, 제 1 블록 단위로 16×16 크기의 블록, 제 2 블록 단위로 4×4 크기의 블록을 이용하는 경우를 예로 들어 설명한다.An operation of the intra prediction apparatus 200 according to the present invention having the above configuration will be described. Hereinafter, a case of using a 16 × 16 block in the first block unit and a 4 × 4 block in the second block unit will be described as an example.

도 6은 본 발명에 따른 인트라 예측 장치(200)에서 이용되는 4×4 인트라 예측 모드를 나타낸 도면이다. 미도시된 DC 모드(모드 2)는 상측 및 좌측 블록의 평균값을 이용하여 현재 입력 블록의 예측값을 형성하는 모드이다. 또한, 전술한 도 1을 통해 설명한 바와 같이, 16×16 인트라 예측 모드에서는 수직 모드(모드 0), 수평 모드(모드 1), DC 모드(모드 2) 및 평면 모드(모드 3)를 이용한다.6 is a diagram illustrating a 4x4 intra prediction mode used in the intra prediction apparatus 200 according to the present invention. Not shown DC mode (mode 2) is a mode for forming a prediction value of the current input block using the average value of the upper and left blocks. In addition, as described above with reference to FIG. 1, in the 16 × 16 intra prediction mode, a vertical mode (mode 0), a horizontal mode (mode 1), a DC mode (mode 2), and a planar mode (mode 3) are used.

상기 제 1 블록 단위 인트라 예측 수행부(211)는 예측 부호화할 현재 매크로 블록을 입력받아 상기 도 1의 4가지 16×16 인트라 예측 모드로 인트라 예측을 수행하여, 코스트가 가장 작은 16×16 인트라 예측 모드를 현재 매크로 블록의 부호화에 이용할 16×16 인트라 예측 모드로 결정한다.The first block unit intra prediction execution unit 211 receives a current macro block to be predictively coded, performs intra prediction in the four 16 × 16 intra prediction modes of FIG. 1, and has the lowest cost 16 × 16 intra prediction. The mode is determined as the 16x16 intra prediction mode to be used for encoding the current macroblock.

상기 후보 그룹 결정부(212)는 상기 도 6의 9가지 4×4 인트라 예측 모드들 중에서, 상기 제 1 블록 단위 인트라 예측 수행부(211)에서 결정된 16×16 인트라 예측 모드와 공간적으로 유사한 방향성을 갖는 4×4 인트라 예측 모드 후보 그룹을 결정한다. 상기 4×4 인트라 예측 모드 후보 그룹은 다음의 표 1과 같이, 16×16 인트라 예측 모드로 어떠한 모드가 결정되었는지에 따라 결정된다.The candidate group determiner 212 may have a spatial orientation similar to the 16 × 16 intra prediction mode determined by the first block unit intra prediction performer 211 among the nine 4 × 4 intra prediction modes of FIG. 6. Determine a 4x4 intra prediction mode candidate group having. The 4x4 intra prediction mode candidate group is determined according to which mode is determined as the 16x16 intra prediction mode, as shown in Table 1 below.

16×16 인트라 예측 모드16 × 16 intra prediction mode 4×4 인트라 예측 모드 후보 그룹4 × 4 intra prediction mode candidate group 모드 0(수직)Mode 0 (Vertical) 모드 7,0,5,2 (모드 A,B)Mode 7,0,5,2 (Mode A, B) 모드 1(수평)Mode 1 (Horizontal) 모드 8,1,6,2 (모드 A,B)Mode 8,1,6,2 (Mode A, B) 모드 2(DC)Mode 2 (DC) 모드 0,1,3,4,2 (모드 A,B)Mode 0,1,3,4,2 (Mode A, B) 모드 3(평면)Mode 3 (Plane) 모드 0,1,3,2 (모드 A,B)Mode 0,1,3,2 (Mode A, B)

예를 들어, 수직 모드(모드 0)가 16×16 인트라 예측 모드로 결정된 경우, 상기 후보 그룹 결정부(212)는 상기 수직 모드와 유사한 방향성을 갖는 수직 왼쪽 모드(모드 7), 수직 모드(모드 0), 수직 오른쪽 모드(모드 5) 및 일반적으로 선택될 확률이 높은 DC 모드(모드 2)를 4×4 인트라 예측 모드 후보 그룹으로 결정한다.For example, when the vertical mode (mode 0) is determined to be a 16x16 intra prediction mode, the candidate group determiner 212 may have a vertical left mode (mode 7) and a vertical mode (mode) having a similar direction to the vertical mode. 0), the vertical right mode (mode 5) and the DC mode (mode 2) that are generally more likely to be selected are determined as the 4x4 intra prediction mode candidate group.

마찬가지로, 상기 16×16 인트라 예측 모드로 수평 모드(모드 1)가 결정된 경우, 상기 후보 그룹 결정부(212)는 상기 수평 모드와 유사한 방향성을 갖는 수평 위쪽 모드(모드 8), 수평 모드(모드 1), 수평 아래쪽 모드(모드 6) 및 DC 모드(모드 2)를 4×4 인트라 예측 모드 후보 그룹으로 결정한다.Similarly, when a horizontal mode (mode 1) is determined as the 16x16 intra prediction mode, the candidate group determiner 212 may have a horizontal upper mode (mode 8) and a horizontal mode (mode 1) having a similar direction to the horizontal mode. ), The horizontal down mode (mode 6) and the DC mode (mode 2) are determined as 4x4 intra prediction mode candidate groups.

또한, 상기 16×16 인트라 예측 모드로 DC 모드(모드 2)가 결정된 경우, 상기 후보 그룹 결정부(212)는 영상의 기본적인 방향을 나타내는 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3), 대각선 오른쪽 모드(모드 4) 및 DC 모드(모드 2)를 4×4 인트라 예측 모드 후보 그룹으로 결정한다.In addition, when the DC mode (mode 2) is determined as the 16 × 16 intra prediction mode, the candidate group determiner 212 may include a vertical mode (mode 0), a horizontal mode (mode 1), and a diagonal indicating a basic direction of an image. The left mode (mode 3), diagonal right mode (mode 4) and DC mode (mode 2) are determined as 4x4 intra prediction mode candidate groups.

또한, 상기 16×16 인트라 예측 모드로 평면 모드(모드 3)가 결정된 경우, 상기 후보 그룹 결정부(212)는 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3) 및 DC 모드(모드 2)를 4×4 인트라 예측 모드 후보 그룹으로 결정한다.In addition, when the planar mode (mode 3) is determined as the 16x16 intra prediction mode, the candidate group determiner 212 may include a vertical mode (mode 0), a horizontal mode (mode 1), and a diagonal left mode (mode 3). And determine the DC mode (mode 2) as a 4x4 intra prediction mode candidate group.

도 7은 본 발명에 따라서 현재 블록의 인트라 예측 모드 결정에 이용되는 주변 블록을 나타낸 도면이다.7 is a diagram illustrating neighboring blocks used to determine an intra prediction mode of a current block according to the present invention.

상기 후보 그룹 결정부(212)는 주변 블록과의 상관 관계를 고려하기 위하여, 현재 부호화할 입력 블록(C)의 상측 및 좌측 블록의 인트라 예측 모드(A,B)를 후보 그룹에 포함시킬 수 있다. 예를 들어, 도 7에서 상측 블록의 제 2 블록 단위 인트라 예측 모드로 모드 0, 좌측 블록의 제 2 블록 단위 인트라 예측 모드로 모드 1이 선택된 경우라면, 상기 후보 그룹 결정부(212)는 현재 부호화할 입력 블록(C)의 제 2 블록 단위 인트라 예측 모드 후보 그룹에 상기 모드 0 및 모드 1가 포함되도록 한다.The candidate group determiner 212 may include intra prediction modes A and B of the upper and left blocks of the input block C to be currently encoded in the candidate group in order to consider correlation with neighboring blocks. . For example, if mode 0 is selected as the second block unit intra prediction mode of the upper block in FIG. 7 and mode 1 is selected as the second block unit intra prediction mode of the left block, the candidate group determiner 212 may encode the current encoding. The mode 0 and the mode 1 are included in the intra prediction mode candidate group of the second block unit of the input block C.

전술한 바와 같이 4×4 인트라 예측 모드 후보 그룹이 결정되면, 상기 제 2 블록 단위 인트라 예측 수행부(213)는 상기 후보 그룹에 속하는 4×4 인트라 예측 모드들에 따라서 4×4 인트라 예측을 수행한다. 여기서, 전체 4×4 인트라 예측 모드 중에서 일부 예측 모드만을 이용하는 경우 영상의 에러율이 증가할 수 있으므로, 상기 제 2 블록 단위 인트라 예측 수행부(213)는 가장 가능성 높은 모드(Most Probable Mode)가 상기 결정된 4×4 인트라 예측 모드 후보 그룹에 속하는 경우에만, 상기 후보 그룹에 속하는 일부에 대해서 인트라 예측을 수행한다. 여기서, 상기 가장 가능성 높은 모드는 H.264 표준안에 설명된 바와 같이, 현재 부호화할 입력 블록의 상측 및 좌측 블록 중에서 더 작은 모드값을 갖는 모드를 나타낸다. As described above, when the 4x4 intra prediction mode candidate group is determined, the second block unit intra prediction execution unit 213 performs 4x4 intra prediction according to 4x4 intra prediction modes belonging to the candidate group. do. Here, since only an error rate of an image may increase when only a partial prediction mode is used among all 4 × 4 intra prediction modes, the second block unit intra prediction execution unit 213 may determine the most likely mode (Most Probable Mode). Only when belonging to the 4x4 intra prediction mode candidate group, intra prediction is performed on a part of the candidate group. Here, the most probable mode indicates a mode having a smaller mode value among upper and left blocks of an input block to be currently encoded, as described in the H.264 standard.

상기 제 2 블록 단위 인트라 예측 수행부(213)는 상기 가장 가능성 높은 모드가 후보 그룹에 포함되지 않는 경우에는 이용가능한 전체 인트라 예측 모드에 대해서 인트라 예측을 수행한다.If the most probable mode is not included in the candidate group, the second block unit intra prediction execution unit 213 performs intra prediction on all available intra prediction modes.

상기 가장 가능성 높은 모드는 모드 결정을 위한 것이 아니라 압축 효율을 높이기 위해 주변 블록의 모드 값을 참조하는 플래그 비트(flag bit)의 일종으로서, 먼저 부호화된 주변 블록의 정보를 그대로 이용하게 되므로 추가적인 연산이 필요하지 않다.The most probable mode is not a mode decision but a flag bit that refers to a mode value of a neighboring block in order to improve compression efficiency. Since the information of the encoded neighboring block is used as it is, an additional operation is performed. It is not necessary.

다시 도 4를 참조하면, 상기 예측 모드 결정부(220)는 상기 제 1 블록 단위 인트라 예측 수행부(211)에서 결정된 16×16 인트라 예측 모드의 코스트와 상기 제 2 블록 단위 인트라 예측 수행부(213)에서 결정된 4×4 인트라 예측 모드의 코스트를 비교하여 현재 입력 블록의 인트라 예측을 위한 최종적인 예측 모드를 결정하게 된다. 여기서, 상기 코스트 계산은 여러가지 방법에 의해서 수행될 수 있다. 사용되는 코스트 함수로는 SAD(Sum of Absolute Difference), SATD(Sum of Absolute Transformed Difference), SSD(Sum of Squared Difference), MAD(Mean of Absolute Difference) 및 라그랑지 함수(Lagrange function) 등이 있다. SAD는 각 4×4 블록 예측 오차(residue) 값의 절대치를 취하여 그 값들을 합한 값이다. SATD는 각 4×4 블록의 예측 오차값에 하다마드 변환(Hadamard transform)을 적용하여 생성된 계수들의 절대치를 취하여 더한 값이다. SSD는 각 4×4 블록 예측 샘플의 예측 오차값을 제곱하여 더한 값이고, MAD는 각 4×4 블록 예측 샘플의 예측 오차값에 절대치를 취하여 평균을 구한 값이다. 라그랑지 함수는 코스트 함수에 비트스트림의 길이 정보를 포함하여 만들어진 새로운 함수이다.Referring back to FIG. 4, the prediction mode determiner 220 determines the cost of the 16 × 16 intra prediction mode determined by the first block unit intra prediction execution unit 211 and the second block unit intra prediction execution unit 213. The final prediction mode for intra prediction of the current input block is determined by comparing the costs of the 4 × 4 intra prediction mode determined in the " In this case, the cost calculation may be performed by various methods. The cost functions used include sum of absolute difference (SAD), sum of absolute transformed difference (SATD), sum of squared difference (SSD), mean of absolute difference (MAD), and lagrange function (Lagrange function). SAD is a value obtained by taking the absolute value of each 4x4 block prediction error value and adding the values together. The SATD is obtained by adding an absolute value of coefficients generated by applying a Hadamard transform to a prediction error value of each 4 × 4 block. The SSD is a value obtained by squaring the prediction error values of each 4x4 block prediction sample, and the MAD is a value obtained by taking an absolute value of the prediction error value of each 4x4 block prediction sample and calculating the average. The Lagrange function is a new function created by including the bitstream length information in the cost function.

도 8은 본 발명에 따라서 부호화된 비트스트림을 복호화하는 영상 복호화 장치의 블록도이다.8 is a block diagram of an image decoding apparatus for decoding a bitstream encoded according to the present invention.

도 8을 참조하면 복호화 장치는 엔트로피 디코더(302), 재정렬부(304), 역양자화부(306), 역변환부(308), 움직임 보상부(310), 인트라 예측부(312) 및 필터(314)를 구비한다.Referring to FIG. 8, the decoding apparatus includes an entropy decoder 302, a reordering unit 304, an inverse quantization unit 306, an inverse transform unit 308, a motion compensator 310, an intra predictor 312, and a filter 314. ).

상기 엔트로피 디코더(302) 및 재정렬부(304)는 압축된 비트스트림을 수신하여 엔트로피 디코딩을 수행하여 양자화된 계수 X를 생성한다. 상기 역양자화부(306) 및 역변환부(308)는 상기 양자화된 계수 X에 대한 역양자화 및 역변환을 수행하여 변환 부호화 계수들, 움직임 벡터 정보, 헤더 정보 등을 추출한다. 상기 움직임 보상부(310) 및 인트라 예측부(312)에서는 디코딩된 헤더 정보를 사용하여 인코딩된 픽처 타입에 따라서 예측 블록을 생성하며, 상기 예측 블록은 오차값을 나타내는 D'n에 더해져서 uF'n이 생성된다. 상기 uF'n는 필터(314)를 거쳐 복원된 픽처 F'n이 생성된다.The entropy decoder 302 and the reordering unit 304 receive the compressed bitstream to perform entropy decoding to generate quantized coefficients X. The inverse quantizer 306 and the inverse transformer 308 perform inverse quantization and inverse transformation on the quantized coefficient X to extract transform coded coefficients, motion vector information, header information, and the like. The motion compensator 310 and the intra predictor 312 generate a prediction block according to the encoded picture type by using the decoded header information, and the prediction block is added to D ' n representing an error value and thus uF'. n is generated. UF ' n generates a reconstructed picture F'n through the filter 314.

도 9은 본 발명에 따른 인트라 예측 모드 결정 방법을 나타낸 플로우 차트이다.9 is a flowchart illustrating a method of determining an intra prediction mode according to the present invention.

도 9를 참조하면, 단계 301에서 제 1 블록 단위 인트라 예측 모드를 결정한다. 전술한 바와 같이, 상기 제 1 블록 단위로는 16×16 크기의 블록이 이용될 수 있으며, 이 경우 4가지 예측 모드에 따라서 인트라 예측을 수행하여 코스트가 가장 적은 모드를 제 1 블록 단위 인트라 예측 모드로 결정한다.Referring to FIG. 9, in operation 301, a first block intra prediction mode is determined. As described above, a block having a size of 16 × 16 may be used as the first block unit, and in this case, the least cost mode is performed by performing intra prediction according to four prediction modes. Decide on

단계 303에서, 상기 제 1 블록 단위 인트라 예측 모드와 유사한 방향성을 갖는 제 2 블록 단위 인트라 예측 모드 후보 그룹을 결정한다. 제 1 블록 단위가 16×16 크기의 블록이고, 제 2 블록 단위가 4×4 크기의 블록인 경우 전술한 표 1를 이용하여 후보 그룹을 결정할 수 있다.In step 303, a second block unit intra prediction mode candidate group having a similar direction to the first block unit intra prediction mode is determined. When the first block unit is a block of size 16 × 16 and the second block unit is a block of size 4 × 4, the candidate group may be determined using Table 1 described above.

단계 305에서, 현재 입력 블록의 주변 블록으로부터 결정된 가장 가능성 높은 모드가 상기 결정된 제 2 블록 단위 인트라 예측 모드 후보 그룹에 포함되는지를 판단한다. 전술한 바와 같이, 상기 가장 가능성 높은 모드는 현재 입력 블록의 상측 및 좌측의 이미 부호화된 블록들이 갖는 제 2 블록 단위 인트라 예측 모드 중에서 더 작은 모드값을 갖는 모드를 나타낸다.In step 305, it is determined whether the most likely mode determined from the neighboring blocks of the current input block is included in the determined second block unit intra prediction mode candidate group. As described above, the most probable mode indicates a mode having a smaller mode value among second block unit intra prediction modes of already encoded blocks on the upper and left sides of the current input block.

단계 307에서 상기 가장 가능성 높은 모드가 상기 후보 그룹에 포함되는 경우에는 상기 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 대하여 제 2 블록 단위 인트라 예측을 수행한다. 단계 311에서, 상기 가장 가능성 높은 모드가 상기 후보 그룹에 포함되지 않는 경우에는 이용가능한 모든 제 2 블록 단위 인트라 예측 모드에 따라서 제 2 블록 단위 인트라 예측을 수행한다.In step 307, if the most probable mode is included in the candidate group, second block intra prediction is performed on second block intra prediction modes belonging to the candidate group. In step 311, if the most probable mode is not included in the candidate group, second block intra prediction is performed according to all available second block intra prediction modes.

단계 309에서 제 2 블록 단위 인트라 예측 모드 중에서 가장 작은 코스트를 갖는 모드를 제 2 블록 단위 인트라 예측 모드로 결정한다.In operation 309, the mode having the smallest cost among the second block intra prediction modes is determined as the second block intra prediction mode.

단계 313에서, 상기 단계 301에서 결정된 제 1 블록 단위 인트라 예측 모드와 상기 단계 309에서 결정된 제 2 블록 단위 인트라 예측 모드의 코스트를 비교하여 더 작은 코스트를 갖는 예측 모드를 현재 입력 블록의 인트라 예측을 위한 최종적인 인트라 예측 모드로 결정한다.In step 313, the prediction mode having the smaller cost is compared to the cost of the first block-by-block intra prediction mode determined in the step 301 and the second block-by-block intra prediction mode determined in the step 309. Determine the final intra prediction mode.

전술한 바와 같은 본 발명에 의하면, H.264 표준안에 따라 4×4 크기의 블록에 대한 9가지의 인트라 예측 모드를 모두 수행하는 것이 아니라, 후보 그룹에 속하는 일부 인트라 예측 모드만을 수행함으로써 연산 복잡도를 줄일 수 있다.According to the present invention as described above, rather than performing all nine intra prediction modes for a 4 × 4 block according to the H.264 standard, the computational complexity is improved by performing only some intra prediction modes belonging to the candidate group. Can be reduced.

본 발명을 설명함에 있어서, 상기 제 1 블록 단위로 16×16 크기의 블록, 제 2 블록 단위로 4×4 크기의 블록을 이용하는 경우를 중심으로 설명하였으나, 본 발명에 따른 사상은 제 1 블록 단위로 상기 제 1 블록 단위로 16×16 크기의 블록, 제 2 블록 단위로 8×8 크기의 블록을 이용하여 인트라 예측을 수행하거나, 또는 상기 제 1 블록 단위로 8×8 크기의 블록, 제 2 블록 단위로 4×4 크기의 블록을 이용하여 인트라 예측을 수행하는 경우에도 동일하게 적용될 수 있다.In the following description of the present invention, a case in which a 16 × 16 block is used as the first block unit and a 4 × 4 block is used as the second block unit has been described. Intra prediction is performed using a block of size 16 × 16 in units of the first block, and a block of size 8 × 8 in units of the second block, or a block of size 8 × 8 in the unit of the first block. The same applies to the case of performing intra prediction using blocks having a size of 4x4 in block units.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will understand that the present invention may be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

전술한 바와 같은 본 발명에 의하면, 영상의 인트라 예측 부호화를 위한 인트라 예측 모드를 보다 빠르게 결정할 수 있으며, 인트라 예측시의 연산의 복잡도를 감소시켜 실시간 영상 부호화기에 적용될 수 있다.According to the present invention as described above, it is possible to determine the intra prediction mode for the intra prediction encoding of the image faster, and to apply to the real-time image encoder by reducing the complexity of the operation during intra prediction.

또한, 본 발명은 화질의 큰 열화없이 부호화에 소요되는 시간을 단축시킬 수 있다.In addition, the present invention can shorten the time required for coding without significant deterioration in image quality.

Claims (30)

영상의 인트라 예측 모드 결정 방법에 있어서,In the intra prediction mode determination method of the image, 입력 블록을 소정 크기의 제 1 블록 단위로 복수 개의 제 1 블록 단위 인트라 예측 모드들에 대해 인트라 예측을 수행하여, 제 1 인트라 예측 모드를 결정하는 단계;Determining the first intra prediction mode by performing intra prediction on the plurality of first block unit intra prediction modes in a unit of a first block having a predetermined size; 상기 결정된 제 1 인트라 예측 모드의 방향성에 기초해서 상기 제 1 블록 단위보다 더 작은 크기를 갖는 복수 개의 제 2 블록 단위 인트라 예측 모드들 중에서 소정 개수의 제 2 블록 단위 인트라 예측 모드들로 이루어진 인트라 예측 모드 후보 그룹을 결정하는 단계;An intra prediction mode including a predetermined number of second block unit intra prediction modes among a plurality of second block unit intra prediction modes having a smaller size than the first block unit based on the determined direction of the first intra prediction mode. Determining a candidate group; 상기 결정된 인트라 예측 모드 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하여, 제 2 인트라 예측 모드를 결정하는 단계; 및Determining a second intra prediction mode by performing intra prediction on the input block in a second block unit according to second block unit intra prediction modes belonging to the determined intra prediction mode candidate group; And 상기 제 1 인트라 예측 모드의 코스트와 상기 제 2 인트라 예측 모드의 코스트를 비교하고, 그 결과에 기초하여 상기 입력 블록의 인트라 모드를 결정하는 단계를 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.Comparing the cost of the first intra prediction mode with the cost of the second intra prediction mode and determining an intra mode of the input block based on the result. 제 1항에 있어서,The method of claim 1, 상기 결정된 인트라 예측 모드 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하는 단계는.Performing intra prediction on the input block in units of second blocks according to second prediction units in intra prediction modes belonging to the determined intra prediction mode candidate group. 현재 입력 블록의 주변 블록의 예측 모드와 연관하여 결정된 가장 가능성 높은 모드(most probable mode)가 상기 결정된 인트라 예측 모드 후보 그룹에 속하는 경우에 개시되는 것을 특징으로 하는 인트라 예측 모드 결정 방법.And wherein the most probable mode determined in association with the prediction mode of the neighboring block of the current input block belongs to the determined intra prediction mode candidate group. 제 2항에 있어서,The method of claim 2, 상기 주변 블록은, 현재 입력 블록의 상측 및 좌측에 위치한 블록인 것을 특징으로 하는 인트라 예측 모드 결정 방법.The neighboring block is a block located above and to the left of the current input block. 제 2항에 있어서,The method of claim 2, 상기 가장 가능성 높은 모드는 상기 상측 및 좌측에 위치한 블록들이 갖는 인트라 예측 모드 중 더 작은 모드값을 갖는 모드로 결정되는 것을 특징으로 하는 인트라 예측 모드 결정 방법.The most probable mode is determined as a mode having a smaller mode value among intra prediction modes of the upper and left blocks. 제 1항에 있어서,The method of claim 1, 현재 입력 블록의 주변 블록으로부터 결정된 가장 가능성 높은 모드(most probable mode)가 상기 인트라 예측 모드 후보 그룹에 속하지 않는 경우에는, 이용가능한 제 2 블록 단위 인트라 예측 모드 모두에 대해서 제 2 블록 단위 인트라 예측을 수행하여 상기 입력 블록에 대응되는 제 2 인트라 예측 모드를 결정하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.If the most probable mode determined from the neighboring blocks of the current input block does not belong to the intra prediction mode candidate group, the second block-by-block intra prediction mode is performed for all the available second block-by-block intra prediction modes. And determining a second intra prediction mode corresponding to the input block. 제 1항에 있어서,The method of claim 1, 상기 결정된 제 1 인트라 예측 모드가 수직 모드(모드 0)인 경우, 상기 인트라 예측 모드 후보 그룹은 수직 모드(모드 0), 수직 오른쪽 모드(모드 5), 수직 왼쪽 모드(모드 7) 및 DC 모드(모드 2)를 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.When the determined first intra prediction mode is a vertical mode (mode 0), the intra prediction mode candidate group includes a vertical mode (mode 0), a vertical right mode (mode 5), a vertical left mode (mode 7), and a DC mode ( Mode 2). 제 1항에 있어서,The method of claim 1, 상기 결정된 제 1 인트라 예측 모드가 수평 모드(모드 1)인 경우, 상기 인트라 예측 모드 후보 그룹은 수평 모드(모드 1), 수평 아래쪽 모드(모드 6), 수평 위쪽 모드(모드 8) 및 DC 모드(모드 2)를 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.When the determined first intra prediction mode is a horizontal mode (mode 1), the intra prediction mode candidate group includes a horizontal mode (mode 1), a horizontal down mode (mode 6), a horizontal up mode (mode 8), and a DC mode ( Mode 2). 제 1항에 있어서,The method of claim 1, 상기 결정된 제 1 인트라 예측 모드가 DC 모드(모드 2)인 경우, 상기 인트라 예측 모드 후보 그룹은 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3), 대각선 오른쪽 모드(모드 4) 및 DC 모드(모드 2)를 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.When the determined first intra prediction mode is a DC mode (mode 2), the intra prediction mode candidate group includes a vertical mode (mode 0), a horizontal mode (mode 1), a diagonal left mode (mode 3), and a diagonal right mode ( Mode 4) and a DC mode (mode 2). 제 1항에 있어서,The method of claim 1, 상기 결정된 제 1인트라 예측 모드가 평면 모드(모드 3)인 경우, 상기 인트라 예측 모드 후보 그룹은 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3) 및 DC 모드(모드 2)를 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.When the determined first intra prediction mode is a planar mode (mode 3), the intra prediction mode candidate group includes a vertical mode (mode 0), a horizontal mode (mode 1), a diagonal left mode (mode 3), and a DC mode (mode And 2) an intra prediction mode determination method. 제 6항 내지 제 9항 중 어느 한 항에 있어서,The method according to any one of claims 6 to 9, 상기 인트라 예측 모드 후보 그룹은, 현재 입력 블록의 상측 및 좌측에 위치한 블록들의 인트라 예측 모드를 더 포함하는 것을 특징으로 하는 인트라 예측 모드 결정 방법.The intra prediction mode candidate group further includes intra prediction modes of blocks located above and to the left of the current input block. 제 1항에 있어서,The method of claim 1, 상기 제 1 블록 단위는 16×16 크기를 갖는 블록이며, 상기 제 2 블록 단위는 4×4 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 모드 결정 방법.And wherein the first block unit is a block having a size of 16 × 16, and the second block unit is a block having a size of 4 × 4. 제 1항에 있어서,The method of claim 1, 상기 제 1 블록 단위는 16×16 크기를 갖는 블록이며, 상기 제 2 블록 단위는 8×8 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 모드 결정 방법.And wherein the first block unit is a block having a size of 16 × 16, and the second block unit is a block having a size of 8 × 8. 제 1항에 있어서,The method of claim 1, 상기 제 1 블록 단위는 8×8 크기를 갖는 블록이며, 상기 제 2 블록 단위는 4×4 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 모드 결정 방법.And wherein the first block unit is a block having a size of 8 × 8, and the second block unit is a block having a size of 4 × 4. 제 1항에 있어서,The method of claim 1, 상기 결정된 제 1 인트라 예측 모드의 코스트와 상기 결정된 제 2 인트라 예측 모드의 코스트는 SAD(Sum of Absolute Difference), SATD(Sum of Absolute Transformed Difference), SSD(Sum of Squared Difference), MAD(Mean of Absolute Difference) 및 라그랑지 함수(Lagrange function) 중 어느 하나를 이용하여 계산되는 것을 특징으로 하는 인트라 예측 모드 결정 방법.The determined cost of the first intra prediction mode and the determined cost of the second intra prediction mode are sum of absolute difference (SAD), sum of absolute transformed difference (SATD), sum of squared difference (SSD), mean of absolute (MAD). Method for determining the intra prediction mode, characterized in that it is calculated using any one of Difference and Lagrange function. 영상의 인트라 예측 장치에 있어서,In the intra prediction device of the image, 소정 크기의 제 1 블록 단위 인트라 예측 모드 결정 결과를 이용하여, 소정 크기의 제 2 블록 단위의 인트라 예측 모드들 중에서 상기 결정된 제 1 블록 단위의 인트라 예측 모드와 유사한 방향성을 갖는 후보 그룹을 선택하고, 상기 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 대해서만 제 2 블록 단위 인트라 예측을 수행하여 제 2 블록 단위 인트라 예측 모드를 결정하는 인트라 예측 수행부; 및Using a result of determining a first block unit intra prediction mode having a predetermined size, selecting a candidate group having similar directionality to that of the determined first block unit among intra prediction modes of a second block unit having a predetermined size, An intra prediction performing unit configured to determine a second block unit intra prediction mode by performing second block unit intra prediction only on second block unit intra prediction modes belonging to the candidate group; And 상기 인트라 예측 수행부에서 결정된 제 1 블록 단위 인트라 예측 모드의 코스트와 상기 결정된 제 2 블록 단위 인트라 예측 모드의 코스트를 비교하여 상기 입력 블록의 인트라 예측을 위한 최종적인 예측 모드를 결정하는 예측 모드 결정부를 포함하는 것을 특징으로 하는 인트라 예측 장치.A prediction mode determiner configured to determine a final prediction mode for intra prediction of the input block by comparing the cost of the first block unit intra prediction mode determined by the intra prediction execution unit with the cost of the determined second block unit intra prediction mode Intra prediction device comprising a. 제 15항에 있어서,The method of claim 15, 상기 인트라 예측 수행부는,The intra prediction performing unit, 입력 블록을 소정 크기의 제 1 블록 단위로 인트라 예측을 수행하여 제 1 블록 단위 인트라 예측 모드를 결정하는 제 1 블록 단위 인트라 예측 수행부;A first block unit intra prediction performer configured to determine the first block unit intra prediction mode by performing intra prediction on the input block in units of first blocks having a predetermined size; 상기 제 1 블록 단위보다 더 작은 크기를 갖는 복수 개의 제 2 블록 단위 인트라 예측 모드들 중에서 상기 결정된 제 1 블록 단위 인트라 예측 모드와 유사한 방향성을 갖는 제 2 블록 단위 인트라 예측 모드 후보 그룹을 결정하는 후보 그룹 결정부; 및 A candidate group for determining a second block unit intra prediction mode candidate group having a similar direction to the first block unit intra prediction mode among the plurality of second block unit intra prediction modes having a smaller size than the first block unit Decision unit; And 상기 결정된 제 2 블록 단위 인트라 예측 모드 후보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하여 상기 입력 블록에 대응되는 제 2 블록 단위 인트라 예측 모드를 결정하는 제 2 블록 단위 인트라 예측 수행부를 포함하는 것을 특징으로 하는 인트라 예측 장치.The second block unit intra prediction mode corresponding to the input block is performed by performing intra prediction on the input block in a second block unit according to the second block unit intra prediction modes belonging to the determined second block unit intra prediction mode candidate group. And an intra prediction performing unit for determining a second block unit. 제 16항에 있어서,The method of claim 16, 상기 제 2 블록 단위 인트라 예측 수행부는,The second block unit intra prediction execution unit, 현재 입력 블록의 주변 블록으로부터 결정된 가장 가능성 높은 모드(most probable mode)가 상기 후보 그룹 결정부에서 결정된 제 2 블록 단위 인트라 예측 모드 후보 그룹에 속하는 경우에 상기 결정된 제 2 블록 단위 인트라 예측 모드 후 보 그룹에 속하는 제 2 블록 단위 인트라 예측 모드들에 따라서 상기 입력 블록을 제 2 블록 단위로 인트라 예측을 수행하는 것을 특징으로 하는 인트라 예측 장치.The determined second block unit intra prediction mode candidate group when the most probable mode determined from the neighboring blocks of the current input block belongs to the second block unit intra prediction mode candidate group determined by the candidate group determiner. And performing intra prediction on the input block in units of second blocks according to second block unit intra prediction modes belonging to. 제 17항에 있어서,The method of claim 17, 상기 주변 블록은, 현재 입력 블록의 상측 및 좌측에 위치한 블록인 것을 특징으로 하는 인트라 예측 장치.The neighboring block is a block located above and to the left of the current input block. 제 17항에 있어서,The method of claim 17, 상기 가장 가능성 높은 모드는 상기 상측 및 좌측에 위치한 블록들이 갖는 인트라 예측 모드 중 더 작은 모드값을 갖는 모드로 결정되는 것을 특징으로 하는 인트라 예측 장치.And wherein the most probable mode is determined as a mode having a smaller mode value among intra prediction modes of the upper and left blocks. 제 16항에 있어서,The method of claim 16, 상기 제 2 블록 단위 인트라 예측 수행부는,The second block unit intra prediction execution unit, 현재 입력 블록의 주변 블록으로부터 결정된 가장 가능성 높은 모드(most probable mode)가 상기 결정된 제 2 블록 단위 인트라 예측 모드 후보 그룹에 속하지 않는 경우에는, 이용가능한 제 2 블록 단위 인트라 예측 모드 모두에 대해서 제 2 블록 단위 인트라 예측을 수행하여 상기 입력 블록에 대응되는 제 2 블록 단위 인트라 예측 모드를 결정하는 것을 특징으로 하는 인트라 예측 장치.If the most probable mode determined from the neighboring block of the current input block does not belong to the determined second block unit intra prediction mode candidate group, the second block for all available second block unit intra prediction modes. And performing a unit intra prediction to determine a second block unit intra prediction mode corresponding to the input block. 제 16항에 있어서,The method of claim 16, 상기 후보 그룹 결정부는,The candidate group determination unit, 상기 결정된 제 1 블록 단위 인트라 예측 모드가 수직 모드(모드 0)인 경우, 상기 제 2 블록 단위 인트라 예측 모드 후보 그룹을 수직 모드(모드 0), 수직 오른쪽 모드(모드 5), 수직 왼쪽 모드(모드 7) 및 DC 모드(모드 2)로 결정하는 것을 특징으로 하는 인트라 예측 장치.When the determined first block unit intra prediction mode is a vertical mode (mode 0), the second block unit intra prediction mode candidate group is selected as a vertical mode (mode 0), a vertical right mode (mode 5), and a vertical left mode (mode 7) and a DC mode (mode 2). 제 16항에 있어서,The method of claim 16, 상기 후보 그룹 결정부는,The candidate group determination unit, 상기 결정된 제 1 블록 단위 인트라 예측 모드가 수평 모드(모드 1)인 경우, 상기 제 2 블록 단위 인트라 예측 모드 후보 그룹을 수평 모드(모드 1), 수평 아래쪽 모드(모드 6), 수평 위쪽 모드(모드 8) 및 DC 모드(모드 2)로 결정하는 것을 특징으로 하는 인트라 예측 장치.When the determined first block unit intra prediction mode is a horizontal mode (mode 1), the second block unit intra prediction mode candidate group may be selected from a horizontal mode (mode 1), a horizontal down mode (mode 6), and a horizontal up mode (mode). 8) and a DC mode (mode 2). 제 16항에 있어서,The method of claim 16, 상기 후보 그룹 결정부는,The candidate group determination unit, 상기 결정된 제 1 블록 단위 인트라 예측 모드가 DC 모드(모드 2)인 경우, 상기 제 2 블록 단위 인트라 예측 모드 후보 그룹을 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3), 대각선 오른쪽 모드(모드 4) 및 DC 모드(모드 2)로 결정하는 것을 특징으로 하는 인트라 예측 장치.When the determined first block unit intra prediction mode is a DC mode (mode 2), the second block unit intra prediction mode candidate group is selected as a vertical mode (mode 0), a horizontal mode (mode 1), and a diagonal left mode (mode 3). ), Diagonal right mode (mode 4) and DC mode (mode 2). 제 16항에 있어서,The method of claim 16, 상기 후보 그룹 결정부는,The candidate group determination unit, 상기 결정된 제 1 블록 단위 인트라 예측 모드가 평면 모드(모드 3)인 경우, 상기 제 2 블록 단위 인트라 예측 모드 후보 그룹을 수직 모드(모드 0), 수평 모드(모드 1), 대각선 왼쪽 모드(모드 3) 및 DC 모드(모드 2)로 결정하는 것을 특징으로 하는 인트라 예측 장치.When the determined first block unit intra prediction mode is a planar mode (mode 3), the second block unit intra prediction mode candidate group is selected as a vertical mode (mode 0), a horizontal mode (mode 1), and a diagonal left mode (mode 3). And DC mode (mode 2). 제 21항 내지 제 24항 중 어느 한 항에 있어서,The method according to any one of claims 21 to 24, 상기 후보 그룹 결정부는,The candidate group determination unit, 제 2 블록 단위 인트라 예측 모드 후보 그룹으로 현재 입력 블록의 상측 및 좌측에 위치한 블록들의 인트라 예측 모드를 더 포함하도록 결정하는 것을 특징으로 하는 인트라 예측 장치.And an intra prediction mode of blocks located above and to the left of the current input block as the second block unit intra prediction mode candidate group. 제 15항에 있어서,The method of claim 15, 상기 제 1 블록 단위는 16×16 크기를 갖는 블록이며, 상기 제 2 블록 단위는 4×4 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 장치.Wherein the first block unit is a block having a size of 16 × 16, and the second block unit is a block having a size of 4 × 4. 제 15항에 있어서,The method of claim 15, 상기 제 1 블록 단위는 16×16 크기를 갖는 블록이며, 상기 제 2 블록 단위 는 8×8 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 장치.Wherein the first block unit is a block having a size of 16 × 16, and the second block unit is a block having a size of 8 × 8. 제 15항에 있어서,The method of claim 15, 상기 제 1 블록 단위는 8×8 크기를 갖는 블록이며, 상기 제 2 블록 단위는 4×4 크기를 갖는 블록인 것을 특징으로 하는 인트라 예측 장치.The first block unit is a block having an 8 × 8 size, and the second block unit is a block having a 4 × 4 size. 제 15항에 있어서,The method of claim 15, 상기 예측 모드 결정부는, The prediction mode determiner, SAD(Sum of Absolute Difference), SATD(Sum of Absolute Transformed Difference), SSD(Sum of Squared Difference), MAD(Mean of Absolute Difference) 및 라그랑지 함수(Lagrange function) 중 어느 하나를 이용하여 상기 결정된 제 1 블록 단위 인트라 예측 모드의 코스트와 상기 결정된 제 2 블록 단위 인트라 예측 모드의 코스트를 계산하는 것을 특징으로 하는 인트라 예측 장치.The first determined by using any one of Sum of Absolute Difference (SAD), Sum of Absolute Transformed Difference (SATD), Sum of Squared Difference (SSD), Mean of Absolute Difference (MAD), and Lagrange function (Lagrange function) And calculating the cost of the block unit intra prediction mode and the determined cost of the second block unit intra prediction mode. 제 1항 내지 제 14항 중 어느 한 항에 기재된 발명을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.A computer-readable recording medium having recorded thereon a program for executing the invention according to any one of claims 1 to 14 on a computer.
KR1020050060886A 2005-07-06 2005-07-06 Method and apparatus for intra prediction mode decision KR100739714B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050060886A KR100739714B1 (en) 2005-07-06 2005-07-06 Method and apparatus for intra prediction mode decision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050060886A KR100739714B1 (en) 2005-07-06 2005-07-06 Method and apparatus for intra prediction mode decision

Publications (2)

Publication Number Publication Date
KR20070005848A true KR20070005848A (en) 2007-01-10
KR100739714B1 KR100739714B1 (en) 2007-07-13

Family

ID=37871227

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050060886A KR100739714B1 (en) 2005-07-06 2005-07-06 Method and apparatus for intra prediction mode decision

Country Status (1)

Country Link
KR (1) KR100739714B1 (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100871588B1 (en) * 2007-06-25 2008-12-02 한국산업기술대학교산학협력단 Intra-coding apparatus and method
WO2009061148A1 (en) * 2007-11-08 2009-05-14 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving data in a communication system using low density parity check code
KR100968096B1 (en) * 2006-03-10 2010-07-06 닛본 덴끼 가부시끼가이샤 Intra-forecast mode selecting method, moving picture coding method, and device and computer readable storage medium using the same
KR20100088034A (en) * 2009-01-29 2010-08-06 삼성전자주식회사 Method and apparatus for deciding intra prediction mode
WO2012087077A3 (en) * 2010-12-23 2012-09-07 삼성전자 주식회사 Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
WO2013002556A3 (en) * 2011-06-28 2013-04-04 삼성전자 주식회사 Method and apparatus for coding video and method and apparatus for decoding video, accompanied with intra prediction
WO2013048033A1 (en) * 2011-09-28 2013-04-04 한국전자통신연구원 Method and apparatus for encoding/decoding intra prediction mode
WO2013051794A1 (en) * 2011-10-06 2013-04-11 주식회사 팬택 Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidates, and apparatus using such a method
WO2013062196A1 (en) * 2011-10-24 2013-05-02 (주)인터앱 Image decoding apparatus
WO2013062197A1 (en) * 2011-10-24 2013-05-02 (주)인터앱 Image decoding apparatus
KR20130072154A (en) * 2011-12-21 2013-07-01 연세대학교 산학협력단 Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes
CN104602005A (en) * 2010-08-17 2015-05-06 M&K控股株式会社 Method for decoding intra-predictions
KR101525325B1 (en) * 2013-12-09 2015-06-03 중앙대학교 산학협력단 Intra prediction mode determination method and apparatus
US9182888B2 (en) 2013-02-26 2015-11-10 Sk Planet Co., Ltd. System, device and method for providing presence information using audio data
US9313502B2 (en) 2009-08-17 2016-04-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9432675B2 (en) 2011-09-28 2016-08-30 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
US9554154B2 (en) 2010-07-31 2017-01-24 M & K Holding Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9716886B2 (en) 2010-08-17 2017-07-25 M&K Holdings Inc. Method for restoring an intra prediction mode
US9854262B2 (en) 2011-10-24 2017-12-26 Infobridge Pte. Ltd. Method and apparatus for image encoding with intra prediction mode
US11284072B2 (en) 2010-08-17 2022-03-22 M&K Holdings Inc. Apparatus for decoding an image
KR20230041093A (en) * 2011-10-18 2023-03-23 엘지전자 주식회사 Method for intra prediction and device therefor

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MX2013013523A (en) 2011-06-17 2014-02-27 Mediatek Inc Method and apparatus for coding of intra prediction mode.
KR20180040319A (en) 2016-10-12 2018-04-20 가온미디어 주식회사 Method of processing video, video encoding and decoding thereof
WO2018080135A1 (en) * 2016-10-28 2018-05-03 한국전자통신연구원 Video encoding/decoding method and apparatus, and recording medium in which bit stream is stored

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040032286A (en) * 2002-10-08 2004-04-17 엘지전자 주식회사 Method for moving picture coding
KR100750110B1 (en) * 2003-04-22 2007-08-17 삼성전자주식회사 4x4 intra luma prediction mode determining method and apparatus
KR20040093253A (en) * 2003-04-22 2004-11-05 삼성전자주식회사 16x16 intra luma prediction mode determining method and apparatus
KR20040091939A (en) * 2003-04-23 2004-11-03 삼성전자주식회사 Intra luma prediction mode determining method and apparatus
JP4515886B2 (en) * 2003-10-28 2010-08-04 パナソニック株式会社 In-plane predictive coding method

Cited By (82)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100968096B1 (en) * 2006-03-10 2010-07-06 닛본 덴끼 가부시끼가이샤 Intra-forecast mode selecting method, moving picture coding method, and device and computer readable storage medium using the same
KR100871588B1 (en) * 2007-06-25 2008-12-02 한국산업기술대학교산학협력단 Intra-coding apparatus and method
WO2009061148A1 (en) * 2007-11-08 2009-05-14 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving data in a communication system using low density parity check code
KR20100088034A (en) * 2009-01-29 2010-08-06 삼성전자주식회사 Method and apparatus for deciding intra prediction mode
US9313502B2 (en) 2009-08-17 2016-04-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9392283B2 (en) 2009-08-17 2016-07-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9369715B2 (en) 2009-08-17 2016-06-14 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9319686B2 (en) 2009-08-17 2016-04-19 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9313503B2 (en) 2009-08-17 2016-04-12 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
US9609359B2 (en) 2010-07-31 2017-03-28 M&K Holdings Inc. Image decoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9584827B2 (en) 2010-07-31 2017-02-28 M&K Holdings Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9578349B2 (en) 2010-07-31 2017-02-21 M&K Holdings Inc. Image decoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9584828B2 (en) 2010-07-31 2017-02-28 M&K Holdings Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9554154B2 (en) 2010-07-31 2017-01-24 M & K Holding Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9584830B2 (en) 2010-07-31 2017-02-28 M&K Holdings Inc. Image decoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9584826B2 (en) 2010-07-31 2017-02-28 M&K Holdings Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
USRE48564E1 (en) 2010-07-31 2021-05-18 M&K Holdings Inc. Image decoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9584829B2 (en) 2010-07-31 2017-02-28 M&K Holdings Inc. Image encoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US9609360B2 (en) 2010-07-31 2017-03-28 M&K Holdings Inc. Image decoding apparatus adaptively determining a scan pattern according to an intra prediction mode
US10085019B2 (en) 2010-08-17 2018-09-25 M&K Holdings Inc. Method for restoring an intra prediction mode
US9924187B2 (en) 2010-08-17 2018-03-20 M&K Holdings Inc. Method for restoring an intra prediction mode
US10123009B2 (en) 2010-08-17 2018-11-06 M&K Holdings Inc. Apparatus for encoding an image
US10136130B2 (en) 2010-08-17 2018-11-20 M&K Holdings Inc. Apparatus for decoding an image
US10063854B2 (en) 2010-08-17 2018-08-28 M&K Holdings Inc. Apparatus for decoding an image
US10567760B2 (en) 2010-08-17 2020-02-18 M&K Holdings Inc. Apparatus for encoding an image
US10003795B2 (en) 2010-08-17 2018-06-19 M&K Holdings Inc. Method for encoding an intra prediction mode
US10123010B2 (en) 2010-08-17 2018-11-06 M&K Holding Inc. Apparatus for encoding an image
US9918086B2 (en) 2010-08-17 2018-03-13 M&K Holdings Inc. Method for encoding an intra prediction mode
US9924186B2 (en) 2010-08-17 2018-03-20 M&K Holdings Inc. Method for encoding an intra prediction mode
US9716886B2 (en) 2010-08-17 2017-07-25 M&K Holdings Inc. Method for restoring an intra prediction mode
US9491478B2 (en) 2010-08-17 2016-11-08 M&K Holdings Inc. Method for decoding in intra prediction mode
CN104602005A (en) * 2010-08-17 2015-05-06 M&K控股株式会社 Method for decoding intra-predictions
US11284072B2 (en) 2010-08-17 2022-03-22 M&K Holdings Inc. Apparatus for decoding an image
US9918087B2 (en) 2010-08-17 2018-03-13 M&K Holdings Inc. Method for encoding an intra prediction mode
US10021384B2 (en) 2010-12-23 2018-07-10 Samsung Electronics Co., Ltd. Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
WO2012087077A3 (en) * 2010-12-23 2012-09-07 삼성전자 주식회사 Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
US10630986B2 (en) 2010-12-23 2020-04-21 Samsung Electronics Co., Ltd. Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
US11070811B2 (en) 2010-12-23 2021-07-20 Samsung Electronics Co., Ltd. Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
US11509899B2 (en) 2010-12-23 2022-11-22 Samsung Electronics Co., Ltd. Method and device for encoding intra prediction mode for image prediction unit, and method and device for decoding intra prediction mode for image prediction unit
US9479783B2 (en) 2011-06-28 2016-10-25 Samsung Electronics Co., Ltd. Method and apparatus for coding video and method and apparatus for decoding video, using intra prediction
US9485510B2 (en) 2011-06-28 2016-11-01 Samsung Electronics Co., Ltd. Method and apparatus for coding video and method and apparatus for decoding video, using intra prediction
US9503727B2 (en) 2011-06-28 2016-11-22 Samsung Electronics Co., Ltd. Method and apparatus for coding video and method apparatus for decoding video, accompanied with intra prediction
US9473776B2 (en) 2011-06-28 2016-10-18 Samsung Electronics Co., Ltd. Method and apparatus for coding video and method and apparatus for decoding video, using intra prediction
US9451260B2 (en) 2011-06-28 2016-09-20 Samsung Electronics Co., Ltd. Method and apparatus for coding video and method and apparatus for decoding video, using intra prediction
WO2013002556A3 (en) * 2011-06-28 2013-04-04 삼성전자 주식회사 Method and apparatus for coding video and method and apparatus for decoding video, accompanied with intra prediction
US9432675B2 (en) 2011-09-28 2016-08-30 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
US11729380B2 (en) 2011-09-28 2023-08-15 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
US11252407B2 (en) 2011-09-28 2022-02-15 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
US10652533B2 (en) 2011-09-28 2020-05-12 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
US10091503B2 (en) 2011-09-28 2018-10-02 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding intra prediction mode
WO2013048033A1 (en) * 2011-09-28 2013-04-04 한국전자통신연구원 Method and apparatus for encoding/decoding intra prediction mode
US10284841B2 (en) 2011-10-06 2019-05-07 Intellectual Discovery Co., Ltd. Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidate, and apparatus using such a method
US10708579B2 (en) 2011-10-06 2020-07-07 Intellectual Discovery Co., Ltd. Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidate, and apparatus using such a method
WO2013051794A1 (en) * 2011-10-06 2013-04-11 주식회사 팬택 Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidates, and apparatus using such a method
US11516461B2 (en) 2011-10-06 2022-11-29 Dolby Laboratories Licensing Corporation Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidate, and apparatus using such a method
US9918083B2 (en) 2011-10-06 2018-03-13 Intellectual Discovery Co., Ltd. Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidate, and apparatus using such a method
US11032540B2 (en) 2011-10-06 2021-06-08 Intellectual Discovery Co., Ltd. Method for encoding/decoding an intra-picture prediction mode using two intra-prediction mode candidate, and apparatus using such a method
US11750838B2 (en) 2011-10-18 2023-09-05 Lg Electronics Inc. Method for intra prediction and device therefor
KR20230041093A (en) * 2011-10-18 2023-03-23 엘지전자 주식회사 Method for intra prediction and device therefor
US11700394B2 (en) 2011-10-18 2023-07-11 Lg Electronics Inc. Method for intra prediction and device therefor
US11206397B2 (en) 2011-10-24 2021-12-21 Infobridge Pte. Ltd. Reconstructed block creating method
US9912946B2 (en) 2011-10-24 2018-03-06 Infobridge Pte. Ltd. Image decoding method using intra prediction mode
US10375409B2 (en) 2011-10-24 2019-08-06 Infobridge Pte. Ltd. Method and apparatus for image encoding with intra prediction mode
US9148671B2 (en) 2011-10-24 2015-09-29 Infobridge Pte. Ltd. Method and apparatus for encoding intra prediction information
US9060179B2 (en) 2011-10-24 2015-06-16 Infobridge Pte. Ltd. Method and apparatus for encoding intra prediction information
US9854262B2 (en) 2011-10-24 2017-12-26 Infobridge Pte. Ltd. Method and apparatus for image encoding with intra prediction mode
US9025663B1 (en) 2011-10-24 2015-05-05 Infobridge Pte. Ltd. Method and apparatus for encoding intra prediction information
US10708584B2 (en) 2011-10-24 2020-07-07 Infobridge Pte. Ltd. Image decoding method using intra prediction mode
WO2013062192A1 (en) * 2011-10-24 2013-05-02 (주)인터앱 Method and apparatus for encoding intra prediction information
US9615105B2 (en) 2011-10-24 2017-04-04 Infobridge Pte. Ltd. Image decoding apparatus
WO2013062196A1 (en) * 2011-10-24 2013-05-02 (주)인터앱 Image decoding apparatus
US10341656B2 (en) 2011-10-24 2019-07-02 Infobridge Pte. Ltd. Image decoding method using intra prediction mode
WO2013062197A1 (en) * 2011-10-24 2013-05-02 (주)인터앱 Image decoding apparatus
US8953683B2 (en) 2011-10-24 2015-02-10 Intercode Pte. Ltd. Method and apparatus for encoding intra prediction information
US9769479B2 (en) 2011-10-24 2017-09-19 Infobridge Pte. Ltd. Image decoding apparatus
US9025662B2 (en) 2011-10-24 2015-05-05 Infobridge Pte. Ltd. Image decoding apparatus
KR20180121860A (en) * 2011-12-21 2018-11-09 주식회사 스카이미디어테크 Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes
KR20210095616A (en) * 2011-12-21 2021-08-02 주식회사 스카이미디어테크 Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes
KR20130072154A (en) * 2011-12-21 2013-07-01 연세대학교 산학협력단 Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes
KR20210018398A (en) * 2011-12-21 2021-02-17 주식회사 스카이미디어테크 Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes
US9182888B2 (en) 2013-02-26 2015-11-10 Sk Planet Co., Ltd. System, device and method for providing presence information using audio data
KR101525325B1 (en) * 2013-12-09 2015-06-03 중앙대학교 산학협력단 Intra prediction mode determination method and apparatus

Also Published As

Publication number Publication date
KR100739714B1 (en) 2007-07-13

Similar Documents

Publication Publication Date Title
KR100739714B1 (en) Method and apparatus for intra prediction mode decision
KR100667808B1 (en) Method and apparatus for intra prediction encoding and decoding for image
KR101211665B1 (en) Method and apparatus for intra prediction encoding and decoding of image
KR100727972B1 (en) Method and apparatus for intra prediction of video
KR100727969B1 (en) Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
KR101246294B1 (en) Method of and apparatus for video intraprediction encoding/decoding
KR101365570B1 (en) Method and apparatus for encoding and decoding based on intra prediction
JP5266342B2 (en) Video intra prediction method and apparatus
JP5401009B2 (en) Video intra prediction encoding and decoding method and apparatus
KR101431545B1 (en) Method and apparatus for Video encoding and decoding
KR100727970B1 (en) Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method
US20060159354A1 (en) Method and apparatus for predicting frequency transform coefficients in video codec, video encoder and decoder having the apparatus, and encoding and decoding method using the method
JP5400798B2 (en) Moving picture decoding method and apparatus, moving picture encoding method and apparatus
KR20090058954A (en) Video coding method and apparatus using side matching, and video decoding method and appartus thereof
KR20110018188A (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR20060105352A (en) Method and apparatus for intra prediction
WO2017122604A1 (en) Moving image encoding device, moving image encoding method, and recording medium for recording moving image encoding program
KR20080069069A (en) Method and apparatus for intra/inter prediction
KR20090087767A (en) Method for predictive intra coding for image data
KR20110073263A (en) Method and apparatus for encoding and decoding for intra prediction
US8228985B2 (en) Method and apparatus for encoding and decoding based on intra prediction
KR20060008523A (en) Method and apparatus for intra prediction of video data
JP4994877B2 (en) Method and system for selecting a macroblock coding mode in a video frame sequence
KR20070077609A (en) Method and apparatus for deciding intra prediction mode
KR100727991B1 (en) Method for intra predictive coding for image data and encoder thereof

Legal Events

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

Payment date: 20100629

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee