KR20110050914A - Method and apparatus for directional intra-prediction - Google Patents
Method and apparatus for directional intra-prediction Download PDFInfo
- Publication number
- KR20110050914A KR20110050914A KR1020090107501A KR20090107501A KR20110050914A KR 20110050914 A KR20110050914 A KR 20110050914A KR 1020090107501 A KR1020090107501 A KR 1020090107501A KR 20090107501 A KR20090107501 A KR 20090107501A KR 20110050914 A KR20110050914 A KR 20110050914A
- Authority
- KR
- South Korea
- Prior art keywords
- prediction
- pixel
- block
- matrix
- sum
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
본 발명의 실시예는 방향적 인트라 예측 장치 및 그 예측 방법에 관한 것이다. 더욱 상세하게는, 실행되는 모드가 예측 모드 0 또는 예측 모드 1인 경우에 부호화하고자 하는 블록의 인접 픽셀들을 이용하여 예측 블록을 결정함으로써, H.264 표준과 비교하여 비트스트림 생성시의 오버헤드를 크게 증가시키지 않으면서 비디오 부호화에서 인트라 예측의 정확성 및 효율성을 높일 수 있는 방향적 인트라 예측 장치 및 그 예측 방법에 관한 것이다.An embodiment of the present invention relates to a directional intra prediction device and a prediction method thereof. More specifically, when the mode to be executed is
인터넷을 포함한 정보통신 기술이 발달함에 따라 문자, 음성뿐만 아니라 화상통신이 증가하고 있다. 기존의 문자 위주의 통신 방식으로는 소비자의 다양한 욕구를 충족시키기에는 부족하며, 이에 따라 문자, 영상, 음악 등 다양한 형태의 정보를 수용할 수 있는 멀티미디어 서비스가 증가하고 있다. 멀티미디어 데이터는 그 양이 방대하여 대용량의 저장매체를 필요로 하며 전송 시에 넓은 대역폭을 필요로 한다. 따라서 문자, 영상, 오디오를 포함한 멀티미디어 데이터를 전송하기 위해서는 압축코딩기법을 사용하는 것이 필수적이다.As information and communication technology including the Internet is developed, not only text and voice but also video communication are increasing. Conventional text-based communication methods are not enough to satisfy various needs of consumers, and accordingly, multimedia services that can accommodate various types of information such as text, video, and music are increasing. The multimedia data has a huge amount and requires a large storage medium and a wide bandwidth in transmission. Therefore, in order to transmit multimedia data including text, video, and audio, it is essential to use a compression coding technique.
데이터를 압축하는 기본적인 원리는 데이터의 중복(redundancy) 요소를 제거하는 과정이다. 이미지에서 동일한 색이나 객체가 반복되는 것과 같은 공간적 중복이나, 동영상 프레임에서 인접 프레임이 거의 변화가 없는 경우나 오디오에서 같은 음이 계속 반복되는 것과 같은 시간적 중복, 또는 인간의 시각 및 지각 능력이 높은 주파수에 둔감한 것을 고려한 심리시각 중복을 제거함으로써 데이터를 압축할 수 있다.The basic principle of compressing data is to eliminate redundancy in the data. Spatial overlap, such as the same color or object repeating in an image, temporal overlap, such as when there is almost no change in adjacent frames in a movie frame, or the same note over and over in audio, or high frequency of human vision and perception Data can be compressed by removing the psychological duplication taking into account the insensitive to.
이러한 동영상 압축 방법으로서, 최근에 MPEG-4(Moving Picture Experts Group-4)에 비해 압축 효율을 한층 향상시킨 H.264/AVC에 대한 관심이 높아지고 있다. As such a video compression method, interest in H.264 / AVC, which has further improved compression efficiency compared to MPEG-4 (Moving Picture Experts Group-4), has recently increased.
H.264는 매우 높은 데이터 압축률을 가지는 디지털 비디오 코덱 표준으로 MPEG-4 파트 10 또는 AVC(Advanced Video Coding)라고 부르기도 한다. 이 표준은 ITU-T(International Telecommunication Union Telecommunication Standardization Sector: 국제전기통신연합 전기통신 표준화 부문)의 VCEG(Video Coding Experts Group: 비디오 코딩 전문가 그룹)와 ISO/IEC(International Standardization Organization/International Electrotechnical Commission)의 MPEG가 공동으로 합동 비디오 팀(Joint Video Team)을 구성하고 표준화를 진행하여 나온 결과물이다.H.264 is a digital video codec standard with a very high data compression ratio, also called MPEG-4 Part 10 or Advanced Video Coding (AVC). This standard is based on the Video Coding Experts Group (VCEG) of the International Telecommunication Union Telecommunication Standardization Sector (ITU-T) and the International Standardization Organization / International Electrotechnical Commission (ISO / IEC). This is the result of MPEG jointly forming and standardizing a Joint Video Team.
압축 부호화 시의 압축 효율을 향상시키기 위하여 여러 가지 방법이 제안되고 있는데, 대표적인 것으로 시간적 예측(temporal prediction)을 이용하는 방법과 공간적 예측(spatial prediction)을 이용하는 방법이 있다. Various methods have been proposed to improve compression efficiency in compression encoding, and typical methods include a method using temporal prediction and a method using spatial prediction.
시간적 예측은 도 1에 도시한 바와 같이, 현재 프레임(110)의 현재 블 록(112)을 예측할 때 시간적으로 인접하는 다른 프레임(120)의 참조 블록(reference block)(122)을 참조하여 예측하는 방식이다. 즉, 현재 프레임(110)의 현재 블록(112)을 인터 예측함에 있어서, 시간적으로 인접하는 참조 프레임(120)을 검색하고, 참조 프레임(120) 내에서 현재 블록(112)과 가장 유사한 참조 블록(122)을 검색한다. 여기서, 참조 블록(122)은 현재 블록(112)을 가장 잘 예측할 수 있는 블록으로서, 현재 블록(112)과의 SAD(Sum of Absolute Difference)가 가장 작은 블록이 참조 블록(122)이 될 수 있다. 참조 블록(122)은 현재 블록(112)의 예측 블록이 되며, 현재 블록(112)에서 참조 블록(122)을 감산하여 잔차 블록(residual block)을 생성한다. 생성된 잔차 블록이 부호화되어 비트스트림에 삽입된다. 이때, 현재 프레임(110)에서 현재 블록(112)의 위치와 참조 프레임(120)에서 참조 블록(122)의 위치 사이의 상대적인 차이는 움직임 벡터(130)라 하며, 움직임 벡터(130)도 잔차 블록과 같이 부호화된다. 시간적 예측은 인터 예측(inter prediction) 또는 화면간 예측이라고도 한다.As shown in FIG. 1, the temporal prediction is performed by referring to a
공간적 예측은 하나의 프레임 내에서 대상 블록에 인접한 참조 블록의 재구성 픽셀 값을 이용하여 대상 블록의 예측 픽셀 값을 구하는 것으로서, 방향적 인트라 예측(directional intra-prediction)(이하에서는 단순히 인트라 예측이라고 한다) 또는 화면내 예측이라고도 한다. H.264는 인트라 예측을 이용한 부호화/복호화를 규정하고 있다.Spatial prediction is to obtain the prediction pixel value of the target block by using the reconstructed pixel value of the reference block adjacent to the target block in one frame, and directional intra-prediction (hereinafter referred to simply as intra prediction) It is also called intra prediction. H.264 specifies encoding / decoding using intra prediction.
인트라 예측은 하나의 서브 블록(sub-block)에 대해 상방향, 좌방향의 인접 픽셀들을 이용하여 정해진 방향으로 복사함으로써 현재 서브 블록의 값들을 예측하 고, 그 차분만을 부호화하는 방법이다. H.264 표준에 따른 인트라 예측 기법에 있어서, 현재 블록에 대한 예측 블록은 앞선 코딩 순서를 갖는 다른 블록을 기반으로 생성된다. 그리고, 현재 블록과 예측 블록을 뺀 값이 코딩된다. H.264에 따른 비디오 인코더는 각각의 블록에 대하여, 예측 모드들 중에서 현재 블록과 예측 블록과의 차이가 최소가 되는 예측 모드를 선택한다.Intra prediction is a method of predicting values of a current subblock by copying in a predetermined direction by using adjacent pixels in up and left directions for one sub-block, and encoding only the difference. In the intra prediction technique according to the H.264 standard, the prediction block for the current block is generated based on another block having the previous coding order. A value obtained by subtracting the current block and the prediction block is coded. The video encoder according to H.264 selects, for each block, a prediction mode in which the difference between the current block and the prediction block is minimal among the prediction modes.
H.264 표준에 따른 인트라 예측은, 4 x 4 휘도 블록 및 8 x 8 휘도 블록의 예측 픽셀 값을 생성하는 데 이용되는 인접 픽셀(adjacent pixels)의 위치 및 예측의 방향성을 고려하여 도 2에 도시한 바와 같은 9가지 예측 모드를 규정한다. 9가지 예측 모드는 그 예측 방향에 따라 Vertical 예측 모드(예측 모드 0), Horizontal 예측 모드(예측 모드 1), DC 예측 모드(예측 모드 2), Diagonal_Down_Left 예측 모드(예측 모드 3), Diagontal_Down_Right 예측 모드(예측 모드 4), Vertical_Right 예측 모드(예측 모드 5), Horizontal_Down 예측 모드(예측 모드 6), Vertical_Left 예측 모드(예측 모드 7) 및 Horizontal_Up 예측 모드(예측 모드 8)로 구분된다. 여기서, DC 예측 모드는 인접 8개의 픽셀의 평균 값을 사용한다.Intra prediction according to the H.264 standard is illustrated in FIG. 2 in consideration of the position of adjacent pixels and the direction of the prediction used to generate predicted pixel values of 4 x 4 luma blocks and 8 x 8 luma blocks. Nine prediction modes as defined. The nine prediction modes are vertical prediction mode (prediction mode 0), horizontal prediction mode (prediction mode 1), DC prediction mode (prediction mode 2), Diagonal_Down_Left prediction mode (prediction mode 3), Diagontal_Down_Right prediction mode (depending on the prediction direction). Prediction mode 4), Vertical_Right prediction mode (prediction mode 5), Horizontal_Down prediction mode (prediction mode 6), Vertical_Left prediction mode (prediction mode 7), and Horizontal_Up prediction mode (prediction mode 8). Here, the DC prediction mode uses an average value of eight adjacent pixels.
그리고 16 x 16 휘도 블록에 대한 인트라 예측 처리에는 4가지 예측 모드가 사용되는데, Vertical 예측 모드(예측 모드 0), Horizontal 예측 모드(예측 모드 1), DC 예측 모드(예측 모드 2) 및 Plane 예측 모드(예측 모드 3)이 그것이다. 그리고 8 x 8 색도 블록에 대한 인트라 예측 처리에도 이와 동일한 4가지 예측 모드가 사용된다.In addition, four prediction modes are used for intra prediction processing for a 16 × 16 luma block, a vertical prediction mode (prediction mode 0), a horizontal prediction mode (prediction mode 1), a DC prediction mode (prediction mode 2), and a plane prediction mode. (Prediction mode 3) is that. The same four prediction modes are also used for intra prediction processing on 8 x 8 chroma blocks.
도 3은 도 2의 9가지 예측 모드를 설명하기 위한 라벨링의 예를 나타낸 것이다. 이 경우, 미리 디코딩되는 샘플들(A 내지 M)을 이용하여 현재 블록에 대한 예측 블록(a 내지 p를 포함하는 영역)을 생성한다. 만약, 여기서 E, F, G, H가 미리 디코딩될 수 없는 경우라면 그들의 위치에 D를 복사함으로써 E, F, G, H를 가상으로 생성할 수 있다.FIG. 3 shows an example of labeling for explaining the nine prediction modes of FIG. 2. In this case, a prediction block (region including a to p) for the current block is generated using the samples A to M that are decoded in advance. If E, F, G, and H cannot be decoded in advance, E, F, G, and H can be virtually generated by copying D to their positions.
도 4는 도 3을 이용하여 도 2의 9가지 예측 모드를 설명하기 위한 도면이다. 도면을 참조하면, 예측 모드 0인 경우에 예측 블록은 수직 라인 별로 동일한 픽셀 값으로 픽셀 값을 예측한다. 즉, 예측 블록의 픽셀들은 예측 블록의 위쪽에 위치한 참조 블록의 가장 인접한 픽셀들로부터 픽셀 값을 예측하는데, 인접 픽셀 A의 재구성 픽셀 값을 예측 블록의 제1열 픽셀 a, 픽셀 e, 픽셀 i 및 픽셀 m에 대한 예측 픽셀 값으로 설정한다. 또한, 동일한 방법으로 제2열 픽셀 b, 픽셀 f, 픽셀 j 및 픽셀 n은 인접 픽셀 B의 재구성 픽셀 값으로부터 예측하고, 제3열 픽셀 c, 픽셀 g, 픽셀 k 및 픽셀 o는 인접 픽셀 C의 재구성 픽셀 값으로부터 예측하며, 제4열 픽셀 d, 픽셀 h, 픽셀 l 및 픽셀 p는 인접 픽셀 D의 재구성 픽셀 값으로부터 예측한다. 그 결과, 도 5의 (a)에 도시한 바와 같이 각 열의 예측 픽셀 값이 픽셀 A, 픽셀 B, 픽셀 C 및 픽셀 D의 각 픽셀 값으로 이루어진 예측 블록이 생성된다.FIG. 4 is a diagram for describing nine prediction modes of FIG. 2 using FIG. 3. Referring to the figure, in the
또한, 예측 모드 1인 경우에 예측 블록은 수평 라인 별로 동일한 픽셀 값으로 픽셀 값을 예측한다. 즉, 예측 블록의 픽셀들은 예측 블록의 왼쪽에 위치한 참조 블록의 가장 인접한 픽셀들로부터 픽셀 값을 예측하는데, 인접 픽셀 I의 재구성 픽셀 값을 예측 블록의 제1행 픽셀 a, 픽셀 b, 픽셀 c 및 픽셀 d에 대한 예측 픽셀 값으로 설정한다. 또한, 동일한 방법으로 제2행 픽셀 e, 픽셀 f, 픽셀 g 및 픽셀 h는 인접 픽셀 J의 재구성 픽셀 값으로부터 예측하고, 제3행 픽셀 i, 픽셀 j, 픽셀 k 및 픽셀 l은 인접 픽셀 K의 재구성 픽셀 값으로부터 예측하며, 제4행 픽셀 m, 픽셀 n, 픽셀 o 및 픽셀 p는 인접 픽셀 D의 재구성 픽셀 값으로부터 예측한다. 그 결과, 도 5의 (b)에 도시한 바와 같이 각 행의 예측 픽셀 값이 픽셀 I, 픽셀 J, 픽셀 K 및 픽셀 L의 각 픽셀 값으로 이루어진 예측 블록이 생성된다.In addition, in the
또한, 예측 모드 2인 경우에 예측 블록의 픽셀들은 상위 픽셀들 A, B, C 및 D와 좌측 픽셀들 I, J, K 및 L의 픽셀 값의 평균으로 동일하게 대치된다.Also, in
한편, 예측 모드 3인 경우의 예측 블록의 픽셀들은 좌하(lower-left) 및 우상(upper-right) 사이에서 45°각도의 왼쪽 아래방향으로 내삽추정(interpolation)되고, 예측 모드 4인 경우의 예측 블록의 픽셀들은 45°각도의 오른쪽 아래방향으로 외삽추정된다. 또한, 예측 모드 5인 경우의 예측 블록의 픽셀들은 수직에서 약 26.6°각도(너비/높이 = 1/2)의 오른쪽 아래방향으로 외삽추정된다. 또한, 예측 모드 6인 경우의 예측 블록의 픽셀들은 수평에서 약 26.6°각도의 오른쪽 아래쪽 방향으로 외삽추정되고, 예측 모드 7인 경우의 예측 블록의 픽셀들은 수직에서 약 26.6°각도의 왼쪽 아래방향으로 외삽추정되며, 예측 모드 8인 경우의 예측 블록의 픽셀들은 수평에서 약 26.6°각도의 위쪽방향으로 내삽추정된다.On the other hand, the pixels of the prediction block in the
예측 모드 3 내지 예측 모드 8에서 예측 블록의 픽셀들은 미리 디코딩 되는 참조 블록의 픽셀들 A 내지 M의 가중 평균으로부터 생성될 수 있다. 예를 들어, 예측 모드 4의 경우, 예측 블록의 우 상단에 위치한 픽셀 d는 수학식 1과 같이 추정 될 수 있다. 여기서, round() 함수는 정수 자리로 반올림하는 함수이다.In
한편, 휘도 성분에 대한 16 × 16 예측 모델에는 전술한 바와 같이 예측 모드 0, 예측 모드 1, 예측 모드 2 및 예측 모드 3의 네 가지 모드가 있다. Meanwhile, as described above, the 16 × 16 prediction model for the luminance component includes four modes of
예측 모드 0의 경우, 예측 블록의 픽셀들은 상위 픽셀들로부터 외삽추정되고, 예측 모드 1의 경우에는 좌측 픽셀들로부터 외삽추정된다. 또한, 예측 모드 2의 경우에는, 예측 블록의 픽셀들은 상위 픽셀들 및 좌측 픽셀들의 평균으로 계산된다. 마지막으로, 예측 모드 3의 경우에는, 상위 픽셀들 및 좌측 픽셀들에 맞는 선형 "plane" 함수를 이용한다. 이 모드는 휘도가 부드럽게 변하는 영역에 보다 적합하다.In
이와 같이, H.264 표준에서는 DC 모드를 제외한 각각의 예측 모드의 경우, 현재 부호화 하고자 하는 예측 블록의 인접 픽셀들에 기초하여 각 모드에 해당하는 방향에 따라 예측 블록의 픽셀 값을 생성하고 있다. As described above, in the H.264 standard, in each prediction mode except for the DC mode, the pixel value of the prediction block is generated according to the direction corresponding to each mode based on the adjacent pixels of the prediction block to be currently encoded.
그런데, 대부분의 경우에 있어서는 현재의 방향성 모드만으로도 충분할 수 있지만, 영상에 따라서는 각각의 예측 모드의 방향에 한계가 있기 때문에 부호화의 효율이 떨어져 예측 블록의 픽셀 값을 정확하게 예측할 수 없는 경우가 발생할 수 있다. 이러한 경우, 부정확한 인트라 예측으로 인하여 엔트로피 부호화의 이득을 제대로 볼 수 없게 되며, 이로 인해 비트율이 불필요하게 증가되는 문제점이 있다.However, in most cases, the current directional mode may be sufficient. However, since the direction of each prediction mode is limited depending on the image, it may be difficult to accurately predict the pixel value of the prediction block due to poor coding efficiency. have. In this case, the gain of entropy coding cannot be properly seen due to incorrect intra prediction, which causes a problem that the bit rate is unnecessarily increased.
본 발명의 일 실시예는 전술한 문제점을 해결하기 위한 것으로서, 비디오 부호화에서 인트라 예측의 정확성 및 효율성을 높이면서도 오버헤드의 증가를 최소화할 수 있는 방향적 인트라 예측장치 및 그 예측방법을 제공하는 것을 목적으로 한다.One embodiment of the present invention is to solve the above-described problems, to provide a directional intra prediction device and a prediction method that can minimize the increase of overhead while increasing the accuracy and efficiency of intra prediction in video encoding The purpose.
전술한 목적을 달성하기 위해 본 발명의 일 실시예에 따른 방향적 인트라 예측 장치는, 부호화하고자 하는 N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 N개 열의 픽셀 값 합을 예측하고 N x 1 행렬을 생성하는 픽셀열값 생성부; N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 N개 행의 픽셀 값 합을 예측하고 N x 1 행렬을 생성하는 픽셀행값 생성부; N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 전체 픽셀 값의 합을 예측하는 전체 픽셀값 예측부; 픽셀열값 생성부 및 픽셀행값 생성부에 의해 생성된 각각의 행렬, 및 전체 픽셀값 예측부에 의해 생성된 값을 이용하여 [(2N + 1) x 1]의 기준행렬 Q를 생성하는 기준 행렬 생성부; 및 기준 행렬 생성부에 의해 생성된 기준행렬 Q 및 기 설정된 변환행렬 P를 이용하여 N x N 예측 블록의 각각의 픽셀 값을 예측하는 픽셀 값 예측부를 포함하는 것을 특징으로 한다.In order to achieve the above object, the directional intra prediction apparatus according to an embodiment of the present invention uses the sum of pixel values of N columns using
여기서, 픽셀열값 생성부는, 예측 모드 0을 이용하여 N x N 블록의 상측에 인접하는 N개의 인접 픽셀들로부터 N개 열의 픽셀 값 합을 나타내는 N x 1 행렬을 생성하는 것이 바람직하다.Here, it is preferable that the pixel column value generator generates an N × 1 matrix representing the sum of pixel values of N columns from N adjacent pixels adjacent to the upper side of the N × N block using
또한, 픽셀행값 생성부는, 예측 모드 1을 이용하여 N x N 블록의 좌측에 인접하는 N개의 인접 픽셀들로부터 N개 행의 픽셀 값 합을 나타내는 N x 1 행렬을 생성하는 것이 바람직하다.In addition, the pixel row value generator may generate an N × 1 matrix representing the sum of pixel values of N rows from N adjacent pixels adjacent to the left side of the N × N block using
전술한 목적을 달성하기 위한 본 발명의 실시예에 따른 방향적 인트라 예측 방법은, 부호화하고자 하는 4 x 4 블록의 상측에 인접하는 픽셀들로부터 4개 열의 픽셀 값의 합을 나타내는 행렬 Csum을 예측하고, 4 x 4 블록의 좌측에 인접하는 픽셀들로부터 4개 행의 픽셀 값의 합을 나타내는 행렬 Rsum을 예측하며, 예측 블록 내의 전체 픽셀 값의 합 Bsum을 예측하는 단계; 예측 단계에 의해 예측된 각각의 값을 이용하여 9 x 1의 기준행렬 Q를 생성하는 단계; 및 기준행렬 Q 및 기 설정된 9 x 16의 변환행렬 P를 이용하여 예측 블록의 각각의 픽셀 값을 예측하는 단계를 포함하는 것을 특징으로 한다.Directional intra prediction method according to an embodiment of the present invention for achieving the above object, predicts a matrix C sum representing the sum of pixel values of four columns from the pixels adjacent to the upper side of the 4 x 4 block to be encoded Predicting a matrix R sum representing a sum of pixel values of four rows from pixels adjacent to the left of the 4 × 4 block, and predicting a sum B sum of all pixel values in the prediction block; Generating a reference matrix Q of 9 × 1 using each value predicted by the prediction step; And predicting each pixel value of the prediction block using the reference matrix Q and the preset transformation matrix P of 9 × 16.
바람직하게는, 방향적 인트라 예측 방법은, 실행되는 모드가 예측 모드 0 또는 예측 모드 1인지를 판단하는 단계를 더 포함한다. 이 경우, 예측 단계는 판단 단계에 의해 실행되는 예측 모드가 예측 모드 0 또는 예측 모드 1로 판단된 경우에 수행하는 것이 바람직하다.Preferably, the directional intra prediction method further comprises determining whether the mode to be executed is
또한, 방향적 인트라 예측 방법은, 4 x 4 블록에 인접한 픽셀들의 분산과 설정된 문턱값을 비교하는 단계를 더 포함할 수 있다. 이 경우, 예측 단계는 비교단계에 의해 4 x 4 블록에 인접한 픽셀들의 분산이 설정된 문턱값보다 큰 경우에 수 행하는 것이 바람직하다. In addition, the directional intra prediction method may further include comparing a set threshold with a variance of pixels adjacent to the 4 × 4 block. In this case, the prediction step is preferably performed when the variance of pixels adjacent to the 4x4 block is larger than the set threshold by the comparison step.
여기서, 행렬 Csum는 다음과 같이 예측될 수 있다.Here, the matrix C sum may be predicted as follows.
이때, A, B, C 및 D는 4 x 4 블록의 상측에 인접하는 픽셀들을 나타낸다. 또한, 행렬 Rsum은 다음과 같이 예측될 수 있다.In this case, A, B, C, and D represent pixels adjacent to the upper side of the 4 × 4 block. In addition, the matrix R sum can be predicted as follows.
이때, I, J, K 및 L는 4 x 4 블록의 좌측에 인접하는 픽셀들을 나타낸다. 또한, 전체 픽셀 값의 합 Bsum은 다음과 같이 예측될 수 있다.In this case, I, J, K, and L represent pixels adjacent to the left side of the 4 × 4 block. In addition, the sum B sum of the total pixel values can be predicted as follows.
바람직하게는, 기준행렬 Q는 변환행렬 P와 다음과 같은 관계를 갖는 것으로 가정한다.Preferably, it is assumed that the reference matrix Q has the following relationship with the transformation matrix P.
Q = PIQ = PI
여기서, here,
이며, Is,
I는 4 x 4의 상기 예측 블록을 16 x 1 행렬로 나타낸 것이다.I represents the 4 x 4 prediction block in a 16 x 1 matrix.
이상에서 설명한 바와 같이 본 발명의 실시예에 의하면, H.264 표준과 비교하여 비트스트림 생성서의 오버헤드를 크게 증가시키지 않고서도 비트율을 감소시키면서 인트라 예측의 정확성을 높일 수 있게 된다.As described above, according to the embodiment of the present invention, compared to the H.264 standard, it is possible to increase the accuracy of intra prediction while reducing the bit rate without significantly increasing the overhead of the bitstream generator.
이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are assigned to the same components as much as possible even though they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.
또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the component of this invention, terms, such as 1st, 2nd, A, B, (a), (b), can be used. These terms are only for distinguishing the components from other components, and the nature, order or order of the components are not limited by the terms. If a component is described as being "connected", "coupled" or "connected" to another component, that component may be directly connected or connected to that other component, but between components It will be understood that may be "connected", "coupled" or "connected".
도 6은 본 발명의 일 실시예에 따른 방향적 인트라 예측 장치를 개략적으로 도시한 도면이다. 도면을 참조하면, 방향적 인트라 예측 장치(600)는 픽셀열값 생성부(610), 픽셀행값 생성부(620), 전체 픽셀값 예측부(630), 기준행렬 생성부(640) 및 예측블록 픽셀값 예측부(650)를 구비한다.6 is a diagram schematically illustrating an apparatus for directional intra prediction according to an embodiment of the present invention. Referring to the drawings, the directional
픽셀열값 생성부(610)는 부호화하고자 하는 N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 N개 열의 픽셀 값 합을 예측하고 N x 1 행렬을 생성한다.The pixel
예를 들어, 부호화하고자 하는 블록이 도 3에 도시한 바와 같이 4 x 4 블록인 경우, 픽셀열값 생성부(610)는 4 x 4 블록에 인접하는 픽셀들 A, B, C, D, E, F, G, H, I, J, K, L 및 M로부터 예측 모드 0 또는 예측 모드 1을 이용하여 4개 열의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성한다. 여기서, 픽셀열값 생성부(610)는 4 x 4 블록의 상측에 인접하는 픽셀들 A, B, C 및 D로부터 예측 모드 0을 이용하여 4개 열의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성하는 것이 바람직하다. 이 경우, 픽셀열값 생성부(610)에 의해 생성된 N x 1 행렬을 Csum이라고 하면, Csum은 수학식 2와 같이 표현될 수 있다.For example, when the block to be encoded is a 4 × 4 block as shown in FIG. 3, the pixel
픽셀행값 생성부(620)는 부호화하고자 하는 N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 N개 행의 픽셀 값 합을 예측하고 N x 1 행렬을 생성한다.The pixel
예를 들어, 부호화하고자 하는 블록이 도 3에 도시한 바와 같이 4 x 4 블록인 경우, 픽셀행값 생성부(620)는 4 x 4 블록에 인접하는 픽셀들 A, B, C, D, E, F, G, H, I, J, K, L 및 M로부터 예측 모드 0 또는 예측 모드 1을 이용하여 4개 행의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성한다. 여기서, 픽셀행값 생성부(620)는 4 x 4 블록의 좌측에 인접하는 픽셀들 I, J, K 및 L로부터 예측 모드 1을 이용하여 4개 행의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성하는 것이 바람직하다. 이 경우, 픽셀행값 생성부(620)에 의해 생성된 N x 1 행렬을 Rsum이라고 하면, Rsum은 수학식 3과 같이 표현될 수 있다.For example, when the block to be encoded is a 4 × 4 block as shown in FIG. 3, the pixel
전체 픽셀값 예측부(630)는 N x N 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 전체 픽셀 값의 합을 예측한다. 이때, 전체 픽셀값 예측부(630)에 의해 예측되는 전체 픽셀 값의 합은 실행되는 모드가 예측 모드 0인지 또는 예측 모드 1인지에 따라 그 값이 달라질 수 있다. 전체 픽셀값 예측부(630)에 의해 예측되는 전체 픽셀 값의 합을 Bsum이라고 하면, Bsum은 수학식 4와 같이 표현될 수 있다.The overall
기준행렬 생성부(640)는 픽셀열값 생성부(610)에 의해 생성된 N x 1 행렬 Csum , 셀행값 생성부(620)에 의해 생성된 N x 1 행렬 Rsum 및 전체 픽셀값 예측부(630)에 의해 예측된 전체 픽셀 값 합 Bsum을 이용하여 기준행렬 Q를 생성한다. 이때, 기준행렬 Q는 수학식 2 내지 수학식 4를 통해 얻어진 값에 기초하여 수학식 5와 같이 표현될 수 있다.The
여기서, 행렬 Csum 및 행렬 Rsum은 각각 N x 1 벡터이므로, 기준행렬 Q는 전체 픽셀값 예측부(630)에 의해 예측된 전체 픽셀 값 합 Bsum과 함께 [(2N + 1) x 1] 벡터로 표시될 수 있다. 예를 들어, 부호화하고자 하는 블록이 도 3에 도시한 바와 같이 4 x 4 블록인 경우, 픽셀열값 생성부(610)에 의해 4 x 1 행렬이 생성되며 픽셀행값 생성부(620)에 의해 4 x 1 행렬이 생성되므로, 기준행렬 생성부(640)는 전체 픽셀값 예측부(630)에 의해 예측된 전체 픽셀 값 합과 함께 9 x 1 벡터로 표시될 수 있다.Since the matrix C sum and the matrix R sum are each N x 1 vectors, the reference matrix Q is [(2N + 1) x 1] together with the total pixel value sum B sum predicted by the total
한편, 기준행렬 Q는 변환행렬 P에 대하여 Q = PI의 관계를 갖는 것으로 가정한다. 여기서, I는 N x N 블록 내의 각 픽셀들을 N2 x 1 행렬로 표현한 것으로서, 부호화하고자 하는 예측 블록의 각각의 픽셀 값을 나타낸다. 예를 들어, 부호화하고자 하는 블록이 4 x 4인 경우, 예측 블록 내의 각각의 픽셀 값은 16 x 1 벡터의 행렬 I로 표현될 수 있다. 이 경우, Q = PI를 만족시키기 위하여, 변환행렬 P는 9 x 16 벡터로서 수학식 6과 같이 정의될 수 있다.On the other hand, it is assumed that the reference matrix Q has a relationship of Q = PI with respect to the transformation matrix P. Here, I represents each pixel in the N × N block as an N 2 × 1 matrix, and represents each pixel value of the prediction block to be encoded. For example, when the block to be encoded is 4 × 4, each pixel value in the prediction block may be represented by a matrix I of 16 × 1 vectors. In this case, in order to satisfy Q = PI, the transformation matrix P may be defined as
여기서, 변환행렬 P는 정방행렬이 아니고 열의 수가 행의 수보다 많기 때문에, 무한한 해를 갖는 비결정(underdetermined) 시스템으로 간주할 수 있다. 따라서, 가장 작은 에러를 갖는 해를 찾아야 한다. 이를 위하여 수학식 7과 같이,Here, the transformation matrix P is not a square matrix, but because the number of columns is larger than the number of rows, it can be regarded as an underdetermined system having an infinite solution. Therefore, we must find the solution with the smallest error. To this end, as in
I 에 대해서 미분을 하고 그 결과를 0으로 놓으면, 수학식 8과 같이 된다.Differentiate with respect to I and set the result to 0.
이때, P를 양변에 곱해주면 수학식 9와 같이 된다.At this time, multiplying P by both sides gives Equation (9).
그리고 Q=PI를 대입하면 수학식 10과 같이 된다.Substituting Q = PI yields the following equation (10).
그러므로, 수학식 10으로부터 수학식 11을 도출할 수 있다.Therefore, equation (11) can be derived from equation (10).
수학식 11로부터, 수학식 12와 같이 예측 블록 I를 구할 수 있다.From Equation 11, the prediction block I can be obtained as shown in Equation 12.
이와 같이, 수학식 12를 통해 4 x 4 블록을 예측할 수 있다. 여기서, P T (PP T )-1는 pseudo-inverse라고 부른다. 실제 실험에서는 계산량을 줄이기 위해서 도 7과 같은 고정된 pseudo-inverse 행렬을 사용하였다.As such, the 4 × 4 block may be predicted through Equation 12. Here, P T ( PP T ) −1 is called pseudo-inverse. In the actual experiment, a fixed pseudo-inverse matrix as shown in FIG. 7 was used to reduce the amount of computation.
도 8은 도 6의 방향적 인트라 예측 장치에 의한 방향적 인트라 예측 방법을 나타낸 흐름도이다. FIG. 8 is a flowchart illustrating a directional intra prediction method by the directional intra prediction apparatus of FIG. 6.
도면을 참조하면, 본 발명의 실시예에 따른 방향적 인트라 예측 방법은, 부호화하고자 하는 블록에 인접한 픽셀들을 이용하여 예측 블록을 결정하기 때문에, 보다 정확한 인트라 예측을 위해 예측 모드가 모드 0(Vertical 예측 모드) 또는 모 드 1(Horizontal 예측 모드)일 때, 적용되는 것이 바람직하다. 즉, 실행되는 예측 모드가 Vertical 예측 모드 또는 Horizontal 예측 모드인지를 판단하고(S801), 예측 모드가 Vertical 예측 모드 또는 Horizontal 예측 모드인 경우에 본 발명의 실시예에 따른 방향적 인트라 예측 방법을 적용하며, 그렇지 않은 경우에는 일반적인 H.264 표준에 따라 인트라 예측을 실행하는 것이 바람직하다(S803). Referring to the drawings, since the directional intra prediction method determines a prediction block using pixels adjacent to a block to be encoded, the prediction mode is mode 0 (Vertical prediction) for more accurate intra prediction. Mode) or mode 1 (Horizontal prediction mode), it is preferably applied. That is, it is determined whether the prediction mode to be executed is the vertical prediction mode or the horizontal prediction mode (S801), and when the prediction mode is the vertical prediction mode or the horizontal prediction mode, the directional intra prediction method according to the embodiment of the present invention is applied. Otherwise, it is preferable to perform intra prediction according to the general H.264 standard (S803).
또한, 본 발명의 실시예에 따른 방향적 인트라 예측 방법은, 부호화하고자 하는 블록에 인접한 픽셀들을 이용하기 때문에, 그 인접한 픽셀들의 분산(σ)이 최소한의 문턱값(th)보다 클 경우에만 적용하며(S805), 그렇지 않은 경우에는 원하는 결과를 얻지 못하므로 일반적인 H.264 표준에 따라 인트라 예측을 실행하는 것이 바람직하다(S803). 여기서, 인접한 픽셀들의 분산에 대한 비교값 즉, 문턱값은 기 설정된 값을 따른다. In addition, since the directional intra prediction method according to the embodiment of the present invention uses pixels adjacent to the block to be encoded, it is applied only when the variance σ of the adjacent pixels is larger than the minimum threshold th. (S805) Otherwise, since the desired result is not obtained, it is preferable to perform intra prediction according to the general H.264 standard (S803). Here, a comparison value of the variance of adjacent pixels, that is, a threshold value, follows a preset value.
이하에서는 설명을 용이하게 하기 위하여 부호화하고자 하는 블록이 4 x 4인 경우를 예로서 설명한다. 그러나, 이것이 본 발명이 4 x 4의 예측 블록을 결정하는 것에 한정되는 것을 의미하는 것은 아니다.In the following description, a case where a block to be encoded is 4 x 4 will be described as an example to facilitate explanation. However, this does not mean that the present invention is limited to determining 4 × 4 prediction blocks.
예측 모드가 Vertical 예측 모드 또는 Horizontal 예측 모드이고, 부호화하고자 하는 블록에 인접한 픽셀들의 분산이 기 설정된 문턱값보다 큰 경우, 픽셀열값 생성부(610)는 부호화하고자 하는 4 x 4 블록의 상측 인접 픽셀들 A, B, C 및 D로부터 예측 모드 0을 이용하여 4개 열의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성한다. 이 경우, 픽셀열값 생성부(610)에 의해 생성된 4 x 1 행렬 Csum은 수학식 2 와 같이 표현될 수 있다.If the prediction mode is the vertical prediction mode or the horizontal prediction mode, and the variance of the pixels adjacent to the block to be encoded is greater than a preset threshold, the pixel
또한, 픽셀행값 생성부(620)는 부호화하고자 하는 4 x 4 블록의 좌측에 인접하는 픽셀들 I, J, K 및 L로부터 예측 모드 1을 이용하여 4개 행의 픽셀 값 합을 예측하고 4 x 1 행렬을 생성한다. 이 경우, 픽셀행값 생성부(620)에 의해 생성된 4 x 1 행렬 Rsum은 수학식 3과 같이 표현될 수 있다.In addition, the pixel
전술한 바와 같이 본 발명의 실시예에서는 예측 모드가 Vertical 예측 모드 또는 Horizontal 예측 모드인 경우, 일반적인 Vertical 예측 모드 또는 Horizontal 예측 모드와는 달리 부호화하고자 하는 4 x 4 블록의 상측 인접 픽셀들 및 좌측 인접 픽셀들을 동시에 고려한다.As described above, in the embodiment of the present invention, when the prediction mode is the vertical prediction mode or the horizontal prediction mode, the upper neighboring pixels and the left neighboring pixels of the 4 × 4 block to be encoded are different from the general vertical prediction mode or the horizontal prediction mode. Consider them at the same time.
또한, 전체 픽셀값 예측부(630)는 부호화하고자 하는 4 x 4 블록의 인접 픽셀들로부터 예측 모드 0 또는 예측 모드 1을 이용하여 전체 픽셀 값의 합을 예측한다(S707). 이때, 전체 픽셀값 예측부(630)에 의해 예측되는 전체 픽셀 값의 합은 실행되는 모드가 예측 모드 0인지 또는 예측 모드 1인지에 따라 그 값은 수학식 4에 표시한 바와 같이 달라질 수 있다. In addition, the overall
기준행렬 생성부(640)는 픽셀열값 생성부(610)에 의해 생성된 4 x 1 행렬 Csum , 셀행값 생성부(620)에 의해 생성된 4 x 1 행렬 Rsum 및 전체 픽셀값 예측부(630)에 의해 예측된 전체 픽셀 값 합 Bsum을 이용하여 기준행렬 Q를 생성한다(S709). 이때, 기준행렬 Q는 수학식 5와 같이 표현될 수 있다. 이 경우, Q는 9 x 1 행렬임을 나타낸다.The
한편, 기준행렬 Q는 변환행렬 P에 대하여 Q = PI의 관계를 갖는 것으로 가정한다. 여기서, I는 16 x 1 행렬로서 4 x 4 예측 블록의 각각의 픽셀 값들로 이루어진다. 이 경우, Q = PI를 만족시키기 위하여, 변환행렬 P는 9 x 16 벡터로서 수학식 6과 같이 정의될 수 있다.On the other hand, it is assumed that the reference matrix Q has a relationship of Q = PI with respect to the transformation matrix P. Here, I is a 16 x 1 matrix consisting of the pixel values of each of the 4 x 4 prediction blocks. In this case, in order to satisfy Q = PI, the transformation matrix P may be defined as
4 x 4 예측 블록을 나타내는 I에 대한 해를 찾기 위하여, 수학식 7 내지 수학식 11과 같이 계산하면, 결국 I는 수학식 12와 같이 된다. In order to find a solution for I representing a 4 x 4 prediction block, the calculation is performed as in
이와 같은 방법에 의해 모드가 예측 모드 0 또는 예측 모드 1인 경우에는 일반적인 H.264에 의한 예측보다 정확한 예측 블록을 예측할 수 있게 된다.In this manner, when the mode is the
이상에서, 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합하거나 결합하여 동작하는 것으로 설명되었다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 발명의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. In other words, within the scope of the present invention, all of the components may be selectively operated in combination with one or more. In addition, although all of the components may be implemented in one independent hardware, each or all of the components may be selectively combined to perform some or all functions combined in one or a plurality of hardware. It may be implemented as a computer program having a. Codes and code segments constituting the computer program may be easily inferred by those skilled in the art. Such a computer program may be stored in a computer readable storage medium and read and executed by a computer, thereby implementing embodiments of the present invention. The storage medium of the computer program may include a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like.
또한, 이상에서 기재된 "포함하다", "구성하다" 또는 "가지다" 등의 용어는, 특별히 반대되는 기재가 없는 한, 해당 구성 요소가 내재할 수 있음을 의미하는 것이므로, 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것으로 해석되어야 한다. 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미가 있다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, the terms "comprise", "comprise" or "having" described above mean that the corresponding component may be inherent unless specifically stated otherwise, and thus excludes other components. It should be construed that it may further include other components instead. All terms, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. Terms used generally, such as terms defined in a dictionary, should be interpreted to coincide with the contextual meaning of the related art, and shall not be interpreted in an ideal or excessively formal sense unless explicitly defined in the present invention.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.
이상에서 설명한 바와 같이 본 발명의 실시예는 영상 부호화 및 복호화 분야 에 적용되어, H.264 표준과 비교하여 비트스트림 생성서의 오버헤드를 크게 증가시키지 않고서도 비트율을 감소시키면서 인트라 예측의 정확성을 높일 수 있는 효과를 발생시키는 매우 유용한 발명이다.As described above, the embodiment of the present invention is applied to the field of video encoding and decoding, and improves the accuracy of intra prediction while reducing the bit rate without significantly increasing the overhead of the bitstream generator compared to the H.264 standard. It is a very useful invention that produces a possible effect.
도 1은 일반적인 인터 예측을 설명하기 위해 도시한 도면이다.1 is a diagram illustrating a general inter prediction.
도 2는 인트라 예측 모드의 방향성을 설명하기 위해 도시한 도면이다.2 is a diagram illustrating directionality of the intra prediction mode.
도 3은 도 2의 인트라 예측 모드를 설명하기 위한 라벨링의 예를 나타낸 도면이다.FIG. 3 is a diagram illustrating an example of labeling for explaining an intra prediction mode of FIG. 2.
도 4는 도 2의 인트라 예측 모드의 각각을 설명하기 위해 도시한 도면이다.FIG. 4 is a diagram illustrating each of the intra prediction modes of FIG. 2.
도 5의 (a)는 도 2의 인트라 예측 모드 중 예측 모드 0을 설명하기 위해 도시한 도면이며, 도 5의 (b)는 도 2의 인트라 예측 모드 중 예측 모드 1을 설명하기 위해 도시한 도면이다.FIG. 5A is a diagram illustrating the
도 6은 본 발명의 일 실시예에 따른 방향적 인트라 예측 장치를 개략적으로 도시한 도면이다.6 is a diagram schematically illustrating an apparatus for directional intra prediction according to an embodiment of the present invention.
도 7은 실험에 사용된 pseudo-inverse 행렬의 예를 나타낸 도면이다.7 is a diagram illustrating an example of a pseudo-inverse matrix used in an experiment.
도 8은 도 6의 방향적 인트라 예측 장치에 의한 방향적 인트라 예측 방법을 나타낸 흐름도이다.FIG. 8 is a flowchart illustrating a directional intra prediction method by the directional intra prediction apparatus of FIG. 6.
< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>
600: 방향적 인트라 예측 장치 610: 픽셀열값 생성부600: directional intra prediction device 610: pixel column value generator
620: 픽셀행값 생성부 630: 전체 픽셀값 예측부620: pixel row value generator 630: total pixel value predictor
640: 기준행렬 생성부 650: 예측블록 픽셀값 예측부640: reference matrix generator 650: prediction block pixel value predictor
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090107501A KR101601856B1 (en) | 2009-11-09 | 2009-11-09 | Method and Apparatus for Directional Intra-prediction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090107501A KR101601856B1 (en) | 2009-11-09 | 2009-11-09 | Method and Apparatus for Directional Intra-prediction |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110050914A true KR20110050914A (en) | 2011-05-17 |
KR101601856B1 KR101601856B1 (en) | 2016-03-10 |
Family
ID=44361373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090107501A KR101601856B1 (en) | 2009-11-09 | 2009-11-09 | Method and Apparatus for Directional Intra-prediction |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101601856B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102506243B1 (en) | 2022-10-06 | 2023-03-06 | 주식회사 보령다이캐스팅 | high pressure die casting equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070012168A (en) * | 2005-07-21 | 2007-01-25 | 삼성전자주식회사 | Method and apparatus for video signal encoding and decoding with extending directional intra prediction |
KR20090028378A (en) * | 2007-09-13 | 2009-03-18 | 세종대학교산학협력단 | Apparatus and method for encoding image data and for decoding image data |
KR20090037578A (en) * | 2007-10-12 | 2009-04-16 | 세종대학교산학협력단 | Apparatus and method for encoding image data and for decoding image data |
-
2009
- 2009-11-09 KR KR1020090107501A patent/KR101601856B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070012168A (en) * | 2005-07-21 | 2007-01-25 | 삼성전자주식회사 | Method and apparatus for video signal encoding and decoding with extending directional intra prediction |
KR20090028378A (en) * | 2007-09-13 | 2009-03-18 | 세종대학교산학협력단 | Apparatus and method for encoding image data and for decoding image data |
KR20090037578A (en) * | 2007-10-12 | 2009-04-16 | 세종대학교산학협력단 | Apparatus and method for encoding image data and for decoding image data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102506243B1 (en) | 2022-10-06 | 2023-03-06 | 주식회사 보령다이캐스팅 | high pressure die casting equipment |
Also Published As
Publication number | Publication date |
---|---|
KR101601856B1 (en) | 2016-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10110902B2 (en) | Method and apparatus for encoding/decoding motion vector | |
US9749653B2 (en) | Motion vector encoding/decoding method and device and image encoding/decoding method and device using same | |
KR101623124B1 (en) | Apparatus and method for encoding video, apparatus and method for decoding video and directional intra-prediction method therefor | |
KR101444675B1 (en) | Method and Apparatus for Encoding and Decoding Video | |
US11736707B2 (en) | Method and apparatus for processing video signal using affine prediction | |
KR20140092874A (en) | Method for video coding and an apparatus | |
KR20080088039A (en) | Method and apparatus for video encoding and decoding | |
KR20080088040A (en) | Method and apparatus for video encoding and decoding | |
KR20140029383A (en) | Image coding device and image decoding device | |
KR20070027981A (en) | Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method | |
US9036918B2 (en) | Image processing apparatus and image processing method | |
CN103190150B (en) | The characteristic utilizing reference pixel omits intraframe predictive coding/decoding device and the method for the transmission of prediction mode information | |
KR101441879B1 (en) | Video encoding apparatus and method, transform encoding apparatus and method, basis transform generating apparatus and method, and video decoding apparatus and method | |
KR20110062748A (en) | Spatial prediction apparatus and method, video encoding apparatus and method, and video decoding apparatus and method | |
KR101601856B1 (en) | Method and Apparatus for Directional Intra-prediction | |
KR100667815B1 (en) | Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method | |
KR101422058B1 (en) | Motion Vector Coding Method and Apparatus | |
KR20140098042A (en) | Motion Vector Coding Method and Apparatus | |
KR20140098041A (en) | Motion Vector Coding Method and Apparatus | |
KR101316710B1 (en) | Motion Vector Encoding/Decoding Method and Apparatus and Video Encoding/Decoding Method and Apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20190304 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20191216 Year of fee payment: 5 |