KR20110073263A - Intra prediction encoding method and encoding method, and intra prediction encoding apparatus and intra prediction decoding apparatus performing the method - Google Patents
Intra prediction encoding method and encoding method, and intra prediction encoding apparatus and intra prediction decoding apparatus performing the method Download PDFInfo
- Publication number
- KR20110073263A KR20110073263A KR1020100124451A KR20100124451A KR20110073263A KR 20110073263 A KR20110073263 A KR 20110073263A KR 1020100124451 A KR1020100124451 A KR 1020100124451A KR 20100124451 A KR20100124451 A KR 20100124451A KR 20110073263 A KR20110073263 A KR 20110073263A
- Authority
- KR
- South Korea
- Prior art keywords
- intra prediction
- current block
- neighboring blocks
- mode
- blocks adjacent
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000006835 compression Effects 0.000 abstract description 4
- 238000007906 compression Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 24
- 238000005457 optimization Methods 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 229930091051 Arenine Natural products 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
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/105—Selection 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
-
- 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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
인트라 예측 부호화 방법 및 부호화 방법, 그리고 상기 방법을 수행하는 인트라 예측 부호화 장치 및 인트라 예측 복호화 장치가 개시된다. 본 발명에 의하면, 이미 부호화되어 전송된 이웃한 주변 블록들을 이용하여 현재 블록에 대해 인트라 예측을 수행함으로써 인트라 예측 모드의 비트와 관련된 오버헤드를 감소시켜 압축률을 향상시킬 수 있다.An intra prediction encoding method and encoding method, and an intra prediction encoding apparatus and an intra prediction decoding apparatus performing the method are disclosed. According to the present invention, by performing intra prediction on a current block using neighboring neighboring blocks that are already coded and transmitted, an overhead related to bits of an intra prediction mode may be reduced to improve a compression ratio.
Description
본 발명은 인트라 예측을 수행하는 인트라 예측 부호화 방법 및 부호화 방법, 그리고 상기 방법을 수행하는 부호화 장치 및 복호화 장치에 관한 것으로, 보다 구체적으로는 이미 부호화되어 전송된 이웃 블록의 정보를 이용하여 현재 블록의 모드를 예측하는 방법 및 장치에 관한 것이다.The present invention relates to an intra prediction encoding method and an encoding method for performing intra prediction, and to an encoding apparatus and a decoding device for performing the method. More specifically, the present invention relates to a current block using information of a neighboring block that is already encoded and transmitted. A method and apparatus for predicting modes.
휴대용 멀티미디어기기에서 동영상을 보다 빠르고 쉽게 전달하기 위해, 영상 정보를 압축하는 기술이 필요하다. 일반적으로 동영상을 압축하기 위해 동영상 압축 표준 중 하나인 H.264/AVC가 사용된다. H.264/AVC는 인트라(intra) 예측 부호화 방법과 인터(inter) 예측 부호화 방법을 사용하여 동영상을 부호화한다. 이 중, 인트라 예측 부호화 방법은 공간 상관도를 이용하여 부호화하는 방법으로, 주변에 복호화된 화소들을 이용하여 예측 데이터를 생성함으로써 공간 중복성을 제거할 수 있다. 인트라 예측 모드는 휘도 성분의 4×4 인트라 예측 모드, 8×8 인트라 예측 모드, 16×16 인트라 예측 모드와 색차 성분의 인트라 예측 모드를 포함할 수 있다.In order to deliver moving images more quickly and easily in a portable multimedia device, a technique for compressing image information is required. In general, H.264 / AVC, one of the video compression standards, is used to compress a video. H.264 / AVC encodes a video using an intra prediction encoding method and an inter prediction encoding method. Among these, the intra prediction encoding method is a method of encoding using spatial correlation, and by generating prediction data using pixels decoded around, spatial redundancy can be removed. The intra prediction mode may include a 4 × 4 intra prediction mode of the luminance component, an 8 × 8 intra prediction mode, a 16 × 16 intra prediction mode, and an intra prediction mode of the chrominance component.
인트라 예측 부호화 방법에 의하면, 부호화 장치에서 부호화된 비트스트림을 복호화 장치에서 복호화하기 위해서는 복호화 장치가 인트라 예측 방향과 관련된 정보를 미리 알 수 있어야 한다. 이를 위해, 부호화 장치는 인트라 예측 부호화를 수행한 결과인 인트라 예측 방향과 관련된 정보를 비트스트림에 삽입하여 복호화 장치에 전송한다. According to the intra prediction encoding method, in order to decode the bitstream encoded by the encoding apparatus in the decoding apparatus, the decoding apparatus must know information related to the intra prediction direction in advance. To this end, the encoding apparatus inserts information related to the intra prediction direction, which is a result of performing the intra prediction encoding, into a bitstream and transmits the information to the decoding apparatus.
구체적으로, 인트라 예측을 수행하는 부호화 장치는 주변의 참조 블록들을 이용하여 현재 블록의 예측 모드가 될 수 있는 가장 가능성이 높은 최적 모드(MPM: Most Probable Mode)를 예측하고, 예측 모드와 최적 모드가 같은 지 여부를 나타내는 플래그 비트를 복호화 장치에 전송할 수 있다. 만약, 예측 모드와 최적 모드가 같은 경우, 플래그 비트는 1비트(bit)가 된다. 그러나, 예측 모드와 최적 모드가 다른 경우, 예측 모드를 표현하기 위해 플래그 비트와 추가 n비트(n은 양수)가 사용되어야 한다. 이 경우, 매크로 블록의 크기가 증가할수록 사용되어야 할 비트수가 증가하여 오버헤드가 발생할 수 있다.In detail, the encoding apparatus for performing intra prediction predicts a most likely mode (MPM) that is likely to be a prediction mode of the current block by using neighboring reference blocks. A flag bit indicating whether or not the same can be transmitted to the decoding apparatus. If the prediction mode and the optimal mode are the same, the flag bit is 1 bit. However, when the prediction mode and the optimal mode are different, flag bits and additional n bits (n is a positive number) must be used to represent the prediction mode. In this case, as the size of the macro block increases, the number of bits to be used increases and overhead may occur.
따라서, 예측 모드와 관련된 오버 헤드를 줄여 부호화 효율을 향상시킬 수 있는 기법이 요구되고 있다.Therefore, there is a demand for a technique for improving coding efficiency by reducing overhead associated with prediction mode.
본 발명은 이미 부호화되어 전송된 이웃한 주변 블록들을 이용하여 현재 블록의 예측 모드를 결정하는 장치 및 방법을 제공한다.The present invention provides an apparatus and method for determining a prediction mode of a current block by using neighboring neighboring blocks that are already coded and transmitted.
본 발명의 일실시예에 따른 부호화 방법은 부호화하고자 하는 현재 블록에 인접하는 주변 블록들을 이용하여 상기 현재 블록에 대해 최적의 인트라 예측 모드를 결정하는 단계; 및 상기 최적의 인트라 예측 모드에 따라 상기 현재 블록을 부호화하여 비트스트림을 생성하는 단계를 포함할 수 있다.An encoding method according to an embodiment of the present invention includes determining an optimal intra prediction mode for the current block by using neighboring blocks adjacent to a current block to be encoded; And generating a bitstream by encoding the current block according to the optimal intra prediction mode.
본 발명의 일실시예에 따른 복호화 방법은 부호화 장치가 전송한 비트스트림을 복호화하는 단계; 상기 비트스트림을 복호화한 결과에 기초하여 인트라 예측을 수행할 방식을 결정하는 단계; 및 상기 결정된 방식에 따라 현재 블록에 대해 인트라 예측을 수행하는 단계를 포함하고, 상기 방식은, 이미 부호화되어 전송된 현재 블록에 인접하는 주변 블록들을 이용하여 인트라 예측을 수행하는 방식을 포함할 수 있다.A decoding method according to an embodiment of the present invention includes decoding a bitstream transmitted by an encoding apparatus; Determining a method of performing intra prediction based on a result of decoding the bitstream; And performing intra prediction on the current block according to the determined method, wherein the method may include a method of performing intra prediction using neighboring blocks adjacent to the current block that is already encoded and transmitted. .
본 발명의 일실시예에 따른 부호화 장치는 부호화하고자 하는 현재 블록에 인접하는 주변 블록들을 이용하여 상기 현재 블록에 대해 최적의 인트라 예측 모드를 결정하는 인트라 예측부; 및 상기 최적의 인트라 예측 모드에 따라 상기 현재 블록을 부호화하여 비트스트림을 생성하는 부호화부를 포함할 수 있다.An encoding apparatus according to an embodiment of the present invention includes an intra predictor configured to determine an optimal intra prediction mode for the current block by using neighboring blocks adjacent to a current block to be encoded; And an encoder which generates a bitstream by encoding the current block according to the optimal intra prediction mode.
본 발명의 일실시예에 따른 복호화 장치는 부호화 장치가 전송한 비트스트림을 복호화하는 복호화부; 상기 비트스트림을 복호화한 결과에 기초하여 인트라 예측을 수행할 방식을 결정하는 인트라 예측 모드 판단부; 및 상기 결정된 방식에 따라 현재 블록에 대해 인트라 예측을 수행하는 인트라 예측부를 포함하고, 상기 방식은, 이미 부호화되어 전송된 현재 블록에 인접하는 주변 블록들을 이용하여 인트라 예측을 수행하는 방식을 포함할 수 있다.A decoding apparatus according to an embodiment of the present invention includes a decoder which decodes a bitstream transmitted by an encoding apparatus; An intra prediction mode determiner configured to determine a method of performing intra prediction based on a result of decoding the bitstream; And an intra prediction unit configured to perform intra prediction on the current block according to the determined method, wherein the method may include a method of performing intra prediction using neighboring blocks adjacent to the current block that is already encoded and transmitted. have.
본 발명의 일실시예에 따른 기록 매체는 부호화 장치가 현재 블록에 대해 인트라 예측을 수행하여 부호화한 비트스트림이 기록된 컴퓨터에서 판독 가능하고, 상기 비트스트림은, 매크로 블록 유형, 색차 블록 모드 정보, 블록 패턴 및 레지듀를 포함할 수 있다.A recording medium according to an embodiment of the present invention may be read by a computer in which a bitstream encoded by an encoding apparatus by performing intra prediction on a current block is recorded. The bitstream may include macro block type, color difference block mode information, It may include a block pattern and a residue.
본 발명의 일실시예에 따르면, 이미 부호화되어 전송된 이웃한 주변 블록들을 이용하여 현재 블록의 예측 방향을 나타내는 예측 모드를 선택함으로써, 예측 모드와 관련된 추가 정보를 전송할 필요가 없어 모드 비트와 관련된 오버 헤드를 감소시키고, 이로 인한 압축률이 향상될 수 있다.According to an embodiment of the present invention, by selecting a prediction mode indicating a prediction direction of a current block by using neighboring neighboring blocks that are already coded and transmitted, it is not necessary to transmit additional information related to the prediction mode, and thus the over the mode bit. The head can be reduced, thereby improving the compression rate.
도 1은 본 발명의 일실시예에 따른 부호화 장치를 도시한 블록 다이어그램이다.
도 2는 도 1의 인트라 예측부를 구체적으로 도시한 블록 다이어그램이다.
도 3은 도 2의 제1 인트라 예측부가 수행하는 동작을 설명하기 위한 도면이다.
도 4는 도 2의 제2 인트라 예측부가 수행하는 동작을 설명하기 위한 도면이다.
도 5는 휘도 성분의 4×4 인트라 예측 모드를 나타내는 도면이다.
도 6은 본 발명의 실시예에 따라 최적의 인트라 예측 모드를 선택하는 과정을 나타낸 도면이다.
도 7은 도 2의 제1 인트라 예측부가 예측한 인트라 예측 방향을 부호화하는 과정을 나타낸 도면이다.
도 8은 본 발명의 일실시예에 따른 비트스트림의 문법을 도시한 도면이다.
도 9는 본 발명의 다른 실시예에 따른 비트스트림의 문법을 도시한 도면이다.
도 10은 본 발명의 실시예에 따른 영상을 인트라 예측할 때 사용되는 매크로블록의 유형을 도시한 도면이다.
도 11은 본 발명의 실시예에 따른 복호화 장치를 도시한 블록 다이어그램이다.
도 12는 도 10의 인트라 예측부를 도시한 블록 다이어그램이다.1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating in detail the intra predictor of FIG. 1.
FIG. 3 is a diagram for describing an operation performed by the first intra predictor of FIG. 2.
FIG. 4 is a diagram for describing an operation performed by the second intra predictor of FIG. 2.
5 is a diagram illustrating a 4x4 intra prediction mode of luminance components.
6 is a diagram illustrating a process of selecting an optimal intra prediction mode according to an embodiment of the present invention.
FIG. 7 is a diagram illustrating a process of encoding an intra prediction direction predicted by the first intra predictor of FIG. 2.
8 is a diagram illustrating a grammar of a bitstream according to an embodiment of the present invention.
9 is a diagram illustrating a grammar of a bitstream according to another embodiment of the present invention.
FIG. 10 is a diagram illustrating a type of macroblock used when intra prediction of an image according to an embodiment of the present invention.
11 is a block diagram illustrating a decoding apparatus according to an embodiment of the present invention.
FIG. 12 is a block diagram illustrating an intra predictor of FIG. 10.
이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. 영상을 부호화 또는 복호화할 때, 부호화 단위 또는 복호화 단위는 분할된 단위를 의미하며, 매크로 블록(macro block)으로 표현될 수 있다. 이하에서 기술된 실시예에서, 예측 모드의 개수, 예측 블록의 크기, 모드 비트의 개수 등은 H.264/AVC에서 사용된 용어로서, 다른 압축 방식이 사용되는 상기 용어는 다르게 표현될 수 있다. 그리고, 인트라 예측 부호화는 참조 픽쳐(reference picture)없이 현재 픽쳐의 이미 생성된 화소들을 참조하여 매크로 블록을 구성하는 화소들을 예측하는 부호화 방법이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. When encoding or decoding an image, a coding unit or a decoding unit may mean a divided unit and may be expressed as a macro block. In the embodiments described below, the number of prediction modes, the size of prediction blocks, the number of mode bits, and the like are terms used in H.264 / AVC, and the terms using different compression schemes may be expressed differently. In addition, intra prediction encoding is an encoding method for predicting pixels constituting a macro block by referring to pixels already generated in a current picture without a reference picture.
도 1은 본 발명의 일실시예에 따른 부호화 장치를 도시한 블록 다이어그램이다.1 is a block diagram illustrating an encoding apparatus according to an embodiment of the present invention.
도 1을 참조하면, 부호화 장치(100)는 인트라 예측부(110), 움직임 추정부(120), 움직임 보상부(130), 제1 차분부(140), 부호화부(150), 역양자화 및 역변환부(160), 제2 차분부(170), 필터(180) 및 픽쳐 메모리(190)를 포함한다. 여기서, 인트라 예측부(110)는 본 발명의 일실시예에 따른 인트라 예측 부호화 장치에 대응될 수 있다.Referring to FIG. 1, the
인트라 예측부(110)는 공간적으로 인접한 화소 값을 이용하여 부호화하고자 하는 부호화 유닛인 매크로 블록을 예측하여 부호화한다. 이 때, 인트라 예측부(110)는 예측 부호화할 현재 블록을 입력받아 이미 부호화되어 전송된 이웃한 주변 블록들의 정보들을 이용하여 매크로 블록의 인트라 예측 모드를 결정할 수 있다.The
즉, 인트라 예측부(110)는 현재 픽쳐를 구성하는 현재 블록을 이용하여 매크로 블록의 예측 모드를 결정할 수 있다. 일례로, 인트라 예측부(110)는 예측 부호화할 현재 블록을 입력받아 휘도 성분의 16×16 인트라 예측 모드, 4×4 인트라 예측 모드 또는 색차 성분의 8×8 인트라 예측 모드 중 최적의 인트라 예측 모드를 결정할 수 있다. 이에 추가적으로, 인트라 예측부(110)는 이미 부호화되어 전송된 이웃한 참조 블록들의 정보를 이용하여 인트라 예측 모드를 결정할 수 있다.That is, the
움직임 추정부(120)는 부호화하려는 현재 픽쳐 내에서 현재 블록의 움직임 벡터(motion vector)를 추정하고, 움직임 보상부(130)는 움직임 추정부(120)에서 추정된 움직임 벡터에 기초하여 현재 블록의 예측값인 예측 블록을 생성한다. 움직임 추정부(120)는 BMA(Block Matching Algorithm), 위상 상관(Phase Correlation), HSBMA 등의 다양한 움직임 추정 알고리즘을 이용하여 현재 블록의 움직임 벡터를 추정할 수 있다.The
스위치(S)는 인트라 예측부(110) 또는 움직임 보상부(130)로부터 출력되는 예측 블록을 제1 차분부(140)로 제공한다. 제1 차분부(140)는 현재 블록에서 예측 블록을 감산하여 차분 블록을 생성한다.The switch S provides a prediction block output from the
부호화부(150)는 인트라 예측부(110)에서 결정된 인트라 예측 방향 또는 움직임 보상부(130)에서 예측된 인터 예측 중 하나에 기초하여 현재 블록에 대해 인트라 예측 또는 인터 예측 부호화를 수행하여 비트스트림을 생성한다. The
이를 위하여, 부호화부(150)는 변환부(151), 양자화부(153), 재정렬부(155) 및 엔트로피 코딩부(157)를 포함한다. To this end, the
변환부(151)는 제1 차분부(140)에서 생성된 차분 블록을 이산 코사인 변환(Discrete Cosine Transform: DCT)하고, 양자화부(153)는 이산 코사인 변환된 블록을 양자화하여 양자화된 변환계수를 생성한다. 양자화된 결과는 인코딩을 위하여 재정렬부(155)에서 재정렬된다. The
엔트로피 코딩부(157)는 양자화된 변환계수, 움직임 벡터 등의 부호화 정보를 엔트로피 부호화하여 비트스트림을 생성한다. 이때, 부호화된 변환 계수, 필터 구조정보, 및 최종 필터계수는 움직임 벡터와 함께 비트스트림에 삽입되어 복호화 장치(1000)로 전송된다.The
역양자화 및 역변환부(160)는 DCT 및 양자화부(153)에서 양자화된 차분블록을 다음에 부호화되는 픽쳐의 예측에 이용하기 위해 역양자화하고, 역이산 코사인 변환하여 부호화 이전의 차분 블록을 복원한다.The inverse quantization and
제2 차분부(170)는 복원된 차분 블록과 움직임 보상부(130)에서 생성된 예측 블록을 가산하여 부호화 이전의 현재 블록을 복원한다. 복원된 블록 또는 복원된 픽쳐는 필터(180)를 거쳐 프레임 메모리(190)에 저장되었다가 다음 블록 또는 다음 픽쳐을 이용하여 인터 예측할 때 사용된다.The
도 2는 도 1의 인트라 예측부를 구체적으로 도시한 블록 다이어그램이다.FIG. 2 is a block diagram illustrating in detail the intra predictor of FIG. 1.
도 2에 도시된 인트라 예측부(110)는 주변 블록을 이용하여 매크로 블록의 예측값을 현재 픽쳐(picture) 내에서 찾는 인트라 예측을 수행한다. 구체적으로, 인트라 예측은 공간 상관도를 이용하여 부호화하고자 하는 매크로 블록의 인트라 예측값을 결정하는 방법을 의미한다. 즉, 인트라 예측은 이웃하는 주변 블록들을 이용하여 복수 개의 현재 블록을 포함하는 매크로 블록에 대해 인트라 예측을 수행함으로써 공간 중복성을 제거할 수 있다.The
도 2를 참고하면, 인트라 예측부(110)는 제1 인트라 예측부(111), 제2 인트라 예측부(113), 제3 인트라 예측부(115) 및 모드 선택부(117)를 포함한다. 제1 인트라 예측부(111) 및 제2 인트라 예측부(113)는 현재 블록을 입력받아 이미 부호화되어 전송된 이웃한 주변 블록들의 정보들을 이용하여 부호화 단위인 매크로 블록에 대해 인트라 예측을 수행할 수 있다.Referring to FIG. 2, the
제1 인트라 예측부(111)는 M×M 개의 현재 블록에서 매크로 블록과 매크로 블록의 상부에 이웃하는 M×N 개의 주변 블록 및 매크로 블록의 좌측에 이웃하는 N×M 개의 주변 블록 간의 인트라 예측 방향별 화소 상관도를 각각 계산한다. 그리고, 제1 인트라 예측부(111)는 계산된 화소 상관도가 큰 주변 블록의 인트라 예측값을 매크로 블록의 인트라 예측값으로 결정할 수 있다.The
제2 인트라 예측부(113)는 매크로 블록의 상부에 이웃하는 M×N 개의 주변 블록의 모드 정보와 매크로 블록의 좌측에 이웃하는 N×M 개의 주변 블록의 모드 정보를 이용하여 매크로 블록에 대해 인트라 예측을 수행할 수 있다. 구체적으로, 매크로 블록의 상부에 이웃하는 M×N 개의 주변 블록의 모드 정보와 매크로 블록의 좌측에 이웃하는 N×M 개의 주변 블록의 모드 정보 중 최소값을 가지는 모드 정보를 매크로 블록의 인트라 예측값으로 결정할 수 있다.The
제3 인트라 예측부(115)는 복원할 현재 픽쳐(Fn)가 입력되면, 현재 픽쳐(Fn)의 휘도 성분에 대해 4×4 개와 16×16 개의 현재 블록을 포함하는 매크로 블록으로 인트라 예측을 수행할 수 있다. 그리고, 제3 인트라 예측부(115)는 현재 픽쳐의 색차 성분에 대해 8×8 개의 현재 블록을 포함하는 매크로 블록으로 인트라 예측을 수행할 수 있다.When the current picture Fn to be reconstructed is input, the
모드 선택부(117)는 율-왜곡 최적화(RATE-DISTORTION OPTIMIZATION) 기법을 이용하여 제1 인트라 예측부(111), 제2 인트라 예측부(113) 및 제3 인트라 예측부(115)에서 결정된 인트라 예측값에 기초하여 최적의 인트라 예측 모드를 선택할 수 있다. 즉, 모드 선택부(117)은 인트라 예측 결과에 대한 비용 함수를 구하여 비용 함수가 가장 낮은 인트라 예측값을 나타낸 결과에 기초하여 최적의 인트라 예측 모드를 선택할 수 있다. 구체적으로, 모드 선택부(117)는 율-왜곡 최적화 기법에 따라 원본값과 예측값 사이의 차이값(residue) 및 왜곡(distortion)을 계산하여 매크로 블록에 대해 최적의 인트라 예측 모드를 결정할 수 있다. 이 때, 인트라 예측 모드는 매크로 블록을 구성하는 현재 블록의 개수와 인트라 예측 방향을 포함할 수 있다. 부호화부(150)는 모드 선택부(117)를 통해 결정된 최적의 인트라 예측 모드에 따라 현재 블록을 포함하는 매크로 블록을 부호화하여 비트스트림을 생성한다.The
도 3은 도 2의 제1 인트라 예측부가 수행하는 동작을 설명하기 위한 도면이다.FIG. 3 is a diagram for describing an operation performed by the first intra predictor of FIG. 2.
도 3에서 도시된 현재 블록은 영상을 구성하는 M×M 개의 현재 블록들 중 16×16 개의 현재 블록들, 4×4 개의 현재 블록들 또는 8×8 개의 현재 블록들 중 어느 하나의 현재 블록들을 의미하며, 이는 매크로 블록에 대응한다. 제1 인트라 예측부(111)는 매크로 블록과 매크로 블록의 좌측에 인접하는 주변 블록 및 상부에 인접하는 주변 블록 간에 화소 상관도를 계산할 수 있다. 이 때, 화소 상관도는 도 3에서 도시된 바와 같이 9개의 인트라 예측 모드의 예측 방향에 따라 계산될 수 있다.The current block shown in FIG. 3 is a current block of any one of 16 × 16 current blocks, 4 × 4 current blocks, or 8 × 8 current blocks among the M × M current blocks constituting the image. Which corresponds to a macro block. The
이 때, 제1 인트라 예측부(111)는 수학식 1에 따라 DC 모드에 기초한 화소 상관도를 계산할 수 있다.In this case, the
여기서, A, B, C, D는 현재 블록의 상부에 인접하는 주변 블록의 화소값을 의미하고, I, J, K, L은 현재 블록의 좌측에 인접하는 주변 블록들의 화소값을 의미한다.Here, A, B, C, and D mean pixel values of neighboring blocks adjacent to the top of the current block, and I, J, K, and L mean pixel values of neighboring blocks adjacent to the left of the current block.
도 4는 도 2의 제2 인트라 예측부가 수행하는 동작을 설명하기 위한 도면이다.FIG. 4 is a diagram for describing an operation performed by the second intra predictor of FIG. 2.
제2 인트라 예측부(113)는 매크로 블록의 상부에 이웃하는 M×N 개의 주변 블록의 모드 정보와 매크로 블록의 좌측에 이웃하는 N×M 개의 주변 블록의 모드 정보를 이용하여 매크로 블록에 대해 인트라 예측을 수행할 수 있다.The
도 4를 참고하면, 제2 인트라 예측부(113)는 4×4 개의 현재 블록(C)의 좌측에 인접하는 주변 블록(L)과 현재 블록(C)의 상부에 인접하는 주변 블록(U) 각각의 모드 정보 중 최소값을 가지는 모드 정보를 현재 블록의 인트라 예측값으로 결정할 수 있다.Referring to FIG. 4, the second
도 4를 참조하면, 현재 블록(C)의 좌측에 인접하는 주변 블록(L)의 모드 정보는 1이고, 현재 블록(C)의 상부에 인접하는 주변 블록(U)의 모드 정보는 2를 나타낸다. 그러면, 제2 인트라 예측부(113)는 최소값을 나타내는 모드 정보인 1을 현재 블록의 인트라 예측값으로 결정할 수 있다.Referring to FIG. 4, the mode information of the neighboring block L adjacent to the left side of the current block C is 1, and the mode information of the neighboring block U adjacent to the upper part of the current block C is 2. . Then, the
도 5는 휘도 성분의 4×4 인트라 예측 모드를 나타내는 도면이다.5 is a diagram illustrating a 4x4 intra prediction mode of luminance components.
도 5를 참조하면, 4×4 인트라 예측 모드는 수직(vertical) 모드, 수평(horizontal) 모드, DC모드, 대각선 왼쪽(diagonal down-left) 모드, 대각선 오른쪽(diagonal down-right) 모드, 수직 오른쪽(vertical right) 모드, 수평 아래쪽 (horizontal down)모드, 수직 왼쪽(vertical left) 모드 및 수평 위쪽((horizontal up) 모드의 총 9개의 예측 모드를 포함할 수 있다.Referring to FIG. 5, the 4 × 4 intra prediction mode includes a vertical mode, a horizontal mode, a DC mode, a diagonal down-left mode, a diagonal down-right mode, and a vertical right side. A total of nine prediction modes may be included, such as (vertical right) mode, horizontal down mode, vertical left mode, and horizontal up mode.
예측 모드 번호들(0~8)은 각각의 예측 모드가 사용되는 빈도수에 따라 결정되는 번호이다. 예측 모드 번호가 0번인 수직 모드는 확률적으로 인트라 예측 부호화할 때 가장 많이 선택되는 예측 모드를 의미하며, 예측 모드 번호가 8번인 수평 위쪽 모드는 인트라 예측 부호화할 때 가장 적게 선택되는 예측 모드를 의미한다.The
다른 일례로, 16×16 인트라 예측 모드는 수직(vertical) 모드, 수평(horizontal) 모드, DC 모드, 플레인(plane) 모드의 총 4개의 예측 모드를 포함할 수 있다.In another example, the 16 × 16 intra prediction mode may include a total of four prediction modes of a vertical mode, a horizontal mode, a DC mode, and a plane mode.
H.264/AVC 표준에 따르면, 영상의 휘도 성분을 부호화할 때 4×4 인트라 예측 모드 및 16×16 인트라 예측 모드에 따라 매크로 블록을 부호화하고, 영상의 색차 성분을 부호화할 때 8×8 인트라 예측 모드에 따라 매크로 블록을 부호화할 수 있다.According to the H.264 / AVC standard, macroblocks are encoded according to 4x4 intra prediction mode and 16x16 intra prediction mode when encoding luminance components of an image, and 8x8 intra when encoding color difference components of an image. The macroblock may be encoded according to the prediction mode.
복호화 장치가 인트라 예측을 통해 부호화된 비트스트림을 복호화하기 위해서는 인트라 예측 모드를 알 수 있어야 한다. 그래서, 부호화 장치는 복호화 장치가 인트라 예측 복호화할 수 있도록 인트라 예측 모드를 비트스트림에 삽입하여 복호화 장치에 전송할 수 있다.In order for a decoding apparatus to decode a bitstream encoded through intra prediction, an intra prediction mode must be known. Thus, the encoding apparatus may insert an intra prediction mode into the bitstream and transmit the intra prediction mode to the decoding apparatus so that the decoding apparatus may perform intra prediction decoding.
도 6은 본 발명의 실시예에 따라 최적의 인트라 예측 모드를 선택하는 과정을 나타낸 도면이다.6 is a diagram illustrating a process of selecting an optimal intra prediction mode according to an embodiment of the present invention.
도 6을 참조하면, 단계(610) 내지 단계(614)에서, 제3 인트라 예측부(115)는 복원할 현재 픽쳐(Fn)가 입력되면, 현재 픽쳐(Fn)의 휘도 성분에 대해 4×4 개와 16×16 개의 현재 블록을 포함하는 매크로 블록으로 인트라 예측을 수행할 수 있다. 그리고, 제3 인트라 예측부(115)는 현재 픽쳐의 색차 성분에 대해 8×8 개의 현재 블록을 포함하는 매크로 블록으로 인트라 예측을 수행할 수 있다.Referring to FIG. 6, in
단계(616)에서, 제1 인트라 예측부(111)는 화소 상관도를 이용하여 4×4개의 현재 블록을 포함하는 매크로 블록에 대해 인트라 예측을 수행할 수 있다.In
단계(618)에서, 제2 인트라 예측부(113)는 모드 정보를 이용하여 4×4개의 현재 블록을 포함하는 매크로 블록에 대해 인트라 예측을 수행한다.In
단계(620)에서, 제1 인트라 예측부(111)는 화소 상관도를 이용하여 8×8개의 현재 블록을 포함하는 매크로 블록에 대해 인트라 예측을 수행할 수 있다.In
단계(622)에서, 제2 인트라 예측부(113)는 모드 정보를 이용하여 8×8개의 현재 블록을 포함하는 매크로 블록에 대해 인트라 예측을 수행할 수 있다.In
단계(630)에서, 모드 선택부(117)는 율-왜곡 최적화 기법에 따라 단계(610) 내지 단계(622) 각각에서 인트라 예측 결과에 대해 율-왜곡 최적화를 수행할 수 있다. 단계(640)에서, 모드 선택부(117)는 단계(630)의 결과에 따라 현재 픽쳐에 대해 최적의 인트라 예측 모드를 선택할 수 있다.In operation 630, the
도 7은 도 2의 제1 인트라 예측부가 예측한 인트라 예측 방향을 부호화하는 과정을 나타낸 도면이다.FIG. 7 is a diagram illustrating a process of encoding an intra prediction direction predicted by the first intra predictor of FIG. 2.
매크로 블록을 구성하는 현재 블록(70)의 인트라 예측 모드 번호를 ‘P'라 하고, 현재 블록의 상부에 인접하는 주변 블록(71)의 인트라 예측 모드 번호를 'U', 현재 블록의 좌측에 인접하는 주변 블록(72)의 인트라 예측 모드 번호를 'L'이라고 가정한다.The intra prediction mode number of the
일례로, 부호화 장치는 주변 블록(71) 및 주변 블록(72)의 인트라 예측 방향을 참조하여 현재 블록을 인트라 예측 부호화할 수 있다. 이 때, 주변 블록(71) 및 주변 블록(72)은 현재 블록(70)을 부호화하기 이전에 이미 부호화가 완료된 주변 블록들로 각각 인트라 예측 방향을 나타내는 인트라 예측 모드 번호를 가지고 있다.For example, the encoding apparatus may intra-prediction-encode the current block by referring to the intra prediction directions of the neighboring
우선, 현재 블록(70)의 인트라 예측 모드 번호는 주변 블록(71)의 인트라 예측 모드 번호 및 주변 블록(72)의 인트라 예측 모드 번호 중 최소값과 비교된다. 만약, 현재 블록의 인트라 예측 모드 번호가 최소값과 일치하면, 현재 블록(70)의 인트라 예측 방향은 '1'로 부호화되어 비트스트림에 삽입된다. 그러면, 복호화 장치는 주변 블록(71)과 주변 블록(72)의 인트라 예측 모드 번호 중 최소값을 현재 블록(70)의 인트라 예측 모드 번호로 결정할 수 있다. 그런 후, 복호화 장치는 결정된 인트라 예측 모드 번호에 기초한 인트라 예측 방향에 따라 현재 블록(70)을 복호화할 수 있다.First, the intra prediction mode number of the
앞서 설명한 바와 같이, 인트라 예측 모드 번호는 각각의 인트라 예측 모드가 사용되는 빈도수에 따라 결정된다. 결국, 현재 블록(70)은 공간적인 상관 관계에 의해 주변 블록(71) 및 주변 블록(72)과 유사한 인트라 예측 방향을 가질 확률이 높으므로, 주변 블록(71) 및 주변 블록(72)들의 인트라 예측 모드 번호의 최소값이 현재 블록(70)의 인트라 예측 모드 번호와 일치할 확률이 높다.As described above, the intra prediction mode number is determined according to the frequency with which each intra prediction mode is used. After all, since the
만약, 현재 블록(70)의 인트라 예측 모드 번호가 최소값과 일치하지 않으면, 현재 블록(70)의 인트라 예측 방향은 '0'으로 부호화되어 비트스트림에 삽입된다. 이 때, 현재 블록(70)의 인트라 예측 모드 번호가 최소값은 서로 일치하지 않기 때문에, 현재 블록(70)의 인트라 예측 모드 번호는 주변 블록들(71, 72)로부터 결정할 수 없다. 그래서, 현재 블록(70)의 인트라 예측 방향에 대한 정보도 'XXX' 즉, 3 비트의 크기로 부호화되어 비트스트림에 삽입된다. 인트라 예측 모드 번호는 0 에서부터 8까지 9가지가 있으며, 최소값이 현재 블록의 예측 모드 번호가 아니므로, 최소값을 뺀 나머지 8가지 경우가 3 비트에 의해 표현된다.If the intra prediction mode number of the
구체적으로, 주변 블록(71)의 인트라 예측 모드 번호 및 주변 블록(72)의 인트라 예측 모드 번호의 최소값보다 현재 블록(70)의 인트라 예측 모드 번호가 작으면, 현재 블록(70)의 인트라 예측 모드 번호는 이진수 'XXX' 값이 된다. 그러나, 현재 블록(70)의 인트라 예측 모드 번호가 최소값보다 크면, 현재 블록의 인트라 예측 모드 번호는 상기 이진수 XXX값에서 '1'이 뺀 값이 된다.Specifically, if the intra prediction mode number of the
앞서 설명한 사항은 제3 인트라 예측부(115)에 적용된다. 즉, 제3 인트라 예측부(115)를 통해 예측된 인트라 예측 방향을 사용하여 현재 블록을 부호화하는 경우는 주변 블록들의 인트라 예측 모드 번호의 최소값과 현재 블록의 인트라 예측 모드 번호가 일치하는 지 여부에 따라 부호화하고자 하는 비트수가 달라진다.The foregoing description is applied to the
구체적으로, 주변 블록들의 인트라 예측 모드 번호의 최소값과 현재 블록의 인트라 예측 모드 번호가 일치하는 경우, 현재 블록의 인트라 예측 모드 번호는 1비트로 부호화되나, 일치하지 않는 경우 현재 블록의 인트라 예측 모드 번호는 총 4비트로 표현된다. 반면, 제1 인트라 예측부(111) 또는 제2 인트라 예측부(113)에 의해 예측된 인트라 예측 방향을 사용하여 현재 블록을 부호화하는 경우, 부호화 장치는 현재 블록의 인트라 예측 모드 번호의 정보를 부호화하여 전송할 필요가 없다.In detail, when the minimum value of the intra prediction mode numbers of the neighboring blocks and the intra prediction mode number of the current block match, the intra prediction mode number of the current block is encoded by 1 bit, but when it does not match, the intra prediction mode number of the current block is It is represented by 4 bits in total. On the other hand, when the current block is encoded using the intra prediction direction predicted by the
도 8은 본 발명의 일실시예에 따른 비트스트림의 문법을 도시한 도면이다.8 is a diagram illustrating a grammar of a bitstream according to an embodiment of the present invention.
부호화 장치에 의해 생성된 비트스트림의 문법은 도 8 또는 도 9에 나타난다.The grammar of the bitstream generated by the encoding apparatus is shown in FIG. 8 or 9.
도 8에 도시된 비트스트림의 문법은 제1 인트라 예측부(110) 또는 제2 인트라 예측부(113)가 인트라 예측시 사용한 인트라 예측 모드가 최적의 인트라 예측 모드로 선택되면, 비트스트림 문법은 도 8과 같은 포맷을 가진다. In the grammar of the bitstream shown in FIG. 8, if the intra prediction mode used by the
도 8을 참조하면, 비트스트림 문법은 매크로블록 유형, 색차블록 모드정보, CBP(Coded Block Pattern) 및 레지듀를 포함한다. 도 7의 경우, 제1 인트라 예측부(111) 및 제2 인트라 예측부(113)는 이미 부호화되어 전송되어진 주변 블록들을 이용하여 인트라 예측을 수행하므로 예측하므로, 제3 인트라 예측부(115)에 의해 생성된 도 9의 비트스트림 문법과는 다른 포맷을 가진다.Referring to FIG. 8, the bitstream grammar includes macroblock type, chrominance block mode information, coded block pattern (CBP), and residue. In the case of FIG. 7, since the
도 9는 본 발명의 다른 실시예에 따른 비트스트림의 문법을 도시한 도면이다.9 is a diagram illustrating a grammar of a bitstream according to another embodiment of the present invention.
도 9에 도시된 비트스트림의 문법은 제3 인트라 예측부(115)가 인트라 예측시 사용한 인트라 예측 모드가 최적의 인트라 예측 모드로 선택되면, 비트스트림 문법은 도 9와 같은 포맷을 가진다.In the grammar of the bitstream shown in FIG. 9, when the intra prediction mode used by the third
도 9를 참조하면, 비트스트림 문법(900)은 매크로블록 유형, 휘도블록 모드정보, 색차블록 모드정보, CBP 및 레지듀를 포함한다. 즉, 부호화 장치는 제3 인트라 예측부(115)가 사용한 인트라 예측 모드를 최적의 인트라 예측 모드로 결정한 경우, 비트스트림을 통해 휘도 블록의 모드 정보를 추가로 전송하여야 한다.Referring to FIG. 9, the bitstream grammar 900 includes macroblock type, luminance block mode information, chrominance block mode information, CBP, and residue. That is, when the intra prediction mode used by the third
도 10은 본 발명의 실시예에 따른 영상을 인트라 예측할 때 사용되는 매크로블록의 유형을 도시한 도면이다.FIG. 10 is a diagram illustrating a type of macroblock used when intra prediction of an image according to an embodiment of the present invention.
도 10을 참조하면, 본 발명의 일실시예에 따르면 제3 인트라 예측부(115) 뿐만 아니라 제1 인트라 예측부(111) 및 제2 인트라 예측부(113)도 함께 인트라 예측을 수행함으로써 매크로 블록 유형의 코드 숫자가 1로 지정된 매크로블록 유형이 추가된다. 도 10에서, 매크로 블록 유형의 코드 숫자가 1이면서, 플래그가 0인 것은 제1 인트라 예측부(111)가 사용한 인트라 예측 모드에 따라 현재 블록이 부호화된 것을 의미한다. 그리고, 매크로 블록 유형의 코드 숫자가 1이면서, 플래그가 1인 것은 제2 인트라 예측부(113)가 사용한 인트라 예측 모드에 따라 현재 블록이 부호화되는 것을 의미한다.Referring to FIG. 10, according to an embodiment of the present invention, not only the
도 11은 본 발명의 실시예에 따른 복호화 장치를 도시한 블록 다이어그램이다.11 is a block diagram illustrating a decoding apparatus according to an embodiment of the present invention.
도 11을 참조하면, 복호화 장치의 인트라 예측부(210)는 제1 인트라 예측부(211), 제2 인트라 예측부(213), 제3 인트라 예측부(215)를 포함한다. 제1 인트라 예측부(211) 및 제2 인트라 예측부(213)는 이미 부호화되어 전송된 이웃한 주변 블록들을 이용하여 예측 부호화할 현재 블록에 대해 인트라 예측을 수행한다. 그리고, 제3 인트라 예측부(215)는 부호화 장치가 전송한 비트스트림을 복호화하여 비트스트림에 포함된 인트라 예측 모드를 이용하여 현재 블록에 대해 인트라 예측을 수행한다.Referring to FIG. 11, the
도 12는 도 10의 인트라 예측부를 도시한 블록 다이어그램이다.FIG. 12 is a block diagram illustrating an intra predictor of FIG. 10.
도 12를 참조하면, 복호화 장치(1000)는 매크로블록 유형 결정부(1100), 플래그 비트 수신 결정부(1200), 제1 인트라 예측 수행부(1300), 인트라 예측 모드 판단부(1400) 및 제2 인트라 예측 수행부(1500)를 포함한다.Referring to FIG. 12, the
매크로블록 유형 결정부(1100)는 비트스트림에 포함된 매크로 블록의 유형 정보를 이용하여 복호화하고자 하는 현재 블록의 인트라 예측 모드를 결정한다. 이 때, 비트스트림은 휘도 성분의 인트라 예측 모드를 포함하고 있는 매크로 블록과 색차 성분의 인트라 예측 모드를 포함하고 있는 매크로 블록이 부호화된 결과일 수 있다.The
도 9에 도시된 바와 같이, 비트스트림의 문법에 휘도 블록의 모드 정보가 포함되어 있으면, 매크로블록 유형 결정부(1100)는 제3 인트라 예측부(115)가 사용한 인트라 예측 모드에 따라 현재 블록이 예측 부호화된 것을 판단할 수 있다. 또한, 도 8에 도시된 바와 같이, 비트스트림의 문법에 휘도 블록의 모드 정보가 포함되어 있지 않으면, 매크로블록 유형 결정부(1100)는 비트스트림을 플래그 비트 수신 결정부(1200)에게 제공한다. 플래그 비트 수신 결정부(1200)는 비트스트림에 포함된 플래그비트를 확인하고, 스위치(1600)를 통해 현재 블록을 제1 인트라 예측 수행부(1300)를 통해 인트라 예측할 지 또는 제2 인트라 예측 수행부(1500)를 통해 인트라 예측할 지 여부를 스위칭할 수 있다.As shown in FIG. 9, when the grammar of the bitstream includes mode information of the luminance block, the
플래그 비트가 0이면, 인트라 예측 모드 판단부(1400)는 현재 블록과 주변 블록 간의 화소 상관도를 이용하여 현재 블록이 부호화된 것으로 판단할 수 있다. 또한, 플래그 비트가 1이면, 인트라 예측 모드 판단부(1400)는 주변 블록의 모드 정보 중 최소값을 가지는 모드 정보를 이용하여 현재 블록이 부호화된 것으로 판단할 수 있다.If the flag bit is 0, the intra
제1 인트라 예측 수행부(1300)는 비트스트림을 복호화하여 얻은 인트라 예측 모드에 따라 현재 블록에 대해 인트라 예측을 수행할 수 있다. 그리고, 제2 인트라 예측 수행부(1500)는 인트라 예측 모드 판단부(1400)에서 판단된 현재 블록의 인트라 예측 모드에 따라 현재 블록에 대해 인트라 예측을 수행할 수 있다. 제1 인트라 예측 수행부(1300)와 제2 인트라 예측 수행부(1400)의 동작에 대해서는 도 2의 설명을 참고할 수 있다.The first
본 발명의 실시 예에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. Methods according to an embodiment of the present invention can be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts.
이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.
그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.
110: 인트라 예측부
111: 제1 인트라 예측부
113: 제2 인트라 예측부
115: 제3 인트라 예측부
117: 모드 선택부110: intra prediction unit
111: the first intra prediction unit
113: second intra prediction unit
115: third intra prediction unit
117: mode selector
Claims (20)
부호화하고자 하는 현재 블록에 인접하는 주변 블록들을 이용하여 상기 현재 블록에 대해 최적의 인트라 예측 모드를 결정하는 단계; 및
상기 최적의 인트라 예측 모드에 따라 상기 현재 블록을 부호화하여 비트스트림을 생성하는 단계
를 포함하는 부호화 방법.In the encoding method for intra prediction performed by the encoding apparatus,
Determining an optimal intra prediction mode for the current block by using neighboring blocks adjacent to the current block to be encoded; And
Generating a bitstream by encoding the current block according to the optimal intra prediction mode
Encoding method comprising a.
상기 최적의 인트라 예측 모드를 결정하는 단계는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 단계; 및
상기 제1 인트라 예측을 수행한 결과의 비용 함수를 계산하는 단계
를 포함하는 부호화 방법.The method of claim 1,
Determining the optimal intra prediction mode,
Performing first intra prediction based on pixel correlation according to intra prediction directions between neighboring blocks adjacent to the current block and the current block; And
Calculating a cost function of a result of performing the first intra prediction
Encoding method comprising a.
상기 최적의 인트라 예측 모드를 결정하는 단계는,
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 단계; 및
상기 제2 인트라 예측을 수행한 결과의 비용 함수를 계산하는 단계
를 포함하는 부호화 방법.The method of claim 1,
Determining the optimal intra prediction mode,
Performing a second intra prediction based on mode information which is the minimum of mode information of neighboring blocks adjacent to the current block; And
Calculating a cost function of a result of performing the second intra prediction.
Encoding method comprising a.
상기 최적의 인트라 예측 모드를 결정하는 단계는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 단계;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 단계; 및
상기 제1 인트라 예측 및 제2 인트라 예측을 수행한 결과의 비용 함수를 계산하는 단계
를 포함하는 부호화 방법.The method of claim 1,
Determining the optimal intra prediction mode,
Performing first intra prediction based on pixel correlation according to intra prediction directions between neighboring blocks adjacent to the current block and the current block;
Performing a second intra prediction based on mode information which is the minimum of mode information of neighboring blocks adjacent to the current block; And
Calculating a cost function of a result of performing the first intra prediction and the second intra prediction.
Encoding method comprising a.
상기 최적의 인트라 예측 모드를 결정하는 단계는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 단계;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 단계;
상기 현재 블록의 휘도 성분 또는 색차 성분에 기초하여 제3 인트라 예측을 수행하는 단계; 및
상기 제1 인트라 예측, 제2 인트라 예측 및 제3 인트라 예측을 수행한 결과의 비용 함수를 계산하는 단계
를 포함하는 부호화 방법.The method of claim 1,
Determining the optimal intra prediction mode,
Performing first intra prediction based on pixel correlation according to intra prediction directions between neighboring blocks adjacent to the current block and the current block;
Performing a second intra prediction based on mode information which is the minimum of mode information of neighboring blocks adjacent to the current block;
Performing a third intra prediction based on a luminance component or a chrominance component of the current block; And
Calculating a cost function of a result of performing the first intra prediction, the second intra prediction, and the third intra prediction.
Encoding method comprising a.
부호화 장치가 전송한 비트스트림을 복호화하는 단계;
상기 비트스트림을 복호화한 결과에 기초하여 인트라 예측을 수행할 방식을 결정하는 단계; 및
상기 결정된 방식에 따라 현재 블록에 대해 인트라 예측을 수행하는 단계
를 포함하고,
상기 방식은,
이미 부호화되어 전송된 현재 블록에 인접하는 주변 블록들을 이용하여 인트라 예측을 수행하는 방식을 포함하는 것을 특징으로 하는 복호화 방법.In the decoding method for intra prediction performed by the decoding apparatus,
Decoding the bitstream transmitted by the encoding apparatus;
Determining a method of performing intra prediction based on a result of decoding the bitstream; And
Performing intra prediction on the current block according to the determined scheme
Including,
The method is
And a method of performing intra prediction using neighboring blocks adjacent to a current block that is already encoded and transmitted.
상기 인트라 예측을 수행하는 단계는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 단계;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 단계; 또는
상기 현재 블록의 휘도 성분 또는 색차 성분에 기초하여 제3 인트라 예측을 수행하는 단계
를 포함하는 복호화 방법.The method of claim 6,
Performing the intra prediction,
Performing first intra prediction based on pixel correlation according to intra prediction directions between neighboring blocks adjacent to the current block and the current block;
Performing a second intra prediction based on mode information which is the minimum of mode information of neighboring blocks adjacent to the current block; or
Performing a third intra prediction based on a luminance component or a chrominance component of the current block
Decryption method comprising a.
상기 제3 인트라 예측을 수행하는 단계는,
상기 비트스트림을 복호화하여 도출된 인트라 예측 모드를 이용하여 현재 블록의 휘도 성분 또는 색차 성분에 대해 제3 인트라 예측을 수행하는 것을 특징으로 하는 복호화 방법.The method of claim 7, wherein
The performing of the third intra prediction may include:
And performing a third intra prediction on the luminance component or the chrominance component of the current block by using an intra prediction mode derived by decoding the bitstream.
상기 비트스트림은,
인트라 예측을 수행할 복호화 단위인 매크로 블록에 대해 제1 인트라 예측 또는 제2 인트라 예측과 관련된 유형 정보를 포함하는 것을 특징으로 하는 복호화 방법.The method of claim 7, wherein
The bitstream,
And type information related to the first intra prediction or the second intra prediction for the macroblock which is a decoding unit to perform intra prediction.
상기 최적의 인트라 예측 모드에 따라 상기 현재 블록을 부호화하여 비트스트림을 생성하는 부호화부
를 포함하는 부호화 장치.An intra predictor configured to determine an optimal intra prediction mode for the current block by using neighboring blocks adjacent to a current block to be encoded; And
An encoder which generates a bitstream by encoding the current block according to the optimal intra prediction mode.
Encoding apparatus comprising a.
상기 인트라 예측부는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 제1 인트라 예측 수행부; 및
상기 제1 인트라 예측을 수행한 결과의 비용 함수를 계산하는 비용 함수 계산부
를 포함하는 부호화 장치.The method of claim 10,
The intra prediction unit,
A first intra prediction performer configured to perform first intra prediction based on pixel correlation for each intra prediction direction between neighboring blocks adjacent to the current block and the current block; And
Cost function calculation unit for calculating a cost function of the result of performing the first intra prediction
Encoding apparatus comprising a.
상기 인트라 예측부는,
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 제2 인트라 예측 수행부; 및
상기 제2 인트라 예측을 수행한 결과의 비용 함수를 계산하는 비용 함수 계산부
를 포함하는 부호화 장치.The method of claim 10,
The intra prediction unit,
A second intra prediction performing unit configured to perform a second intra prediction based on mode information which is the minimum among mode information of neighboring blocks adjacent to the current block; And
Cost function calculation unit for calculating a cost function of the result of performing the second intra prediction
Encoding apparatus comprising a.
상기 인트라 예측부는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 제1 인트라 예측 수행부;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 제2 인트라 예측 수행부; 및
상기 제1 인트라 예측 및 제2 인트라 예측을 수행한 결과의 비용 함수를 계산하는 비용 함수 계산부
를 포함하는 부호화 장치.The method of claim 10,
The intra prediction unit,
A first intra prediction performer configured to perform first intra prediction based on pixel correlation for each intra prediction direction between neighboring blocks adjacent to the current block and the current block;
A second intra prediction performing unit configured to perform a second intra prediction based on mode information which is the minimum among mode information of neighboring blocks adjacent to the current block; And
A cost function calculator for calculating a cost function of a result of performing the first intra prediction and the second intra prediction.
Encoding apparatus comprising a.
상기 인트라 예측부는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 제1 인트라 예측 수행부;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 제2 인트라 예측 수행부;
상기 현재 블록의 휘도 성분 또는 색차 성분에 기초하여 제3 인트라 예측을 수행하는 제3 인트라 예측 수행부; 및
상기 제1 인트라 예측, 제2 인트라 예측 및 제3 인트라 예측을 수행한 결과의 비용 함수를 계산하는 비용 함수 계산부
를 포함하는 부호화 장치.The method of claim 10,
The intra prediction unit,
A first intra prediction performer configured to perform first intra prediction based on pixel correlation for each intra prediction direction between neighboring blocks adjacent to the current block and the current block;
A second intra prediction performing unit configured to perform a second intra prediction based on mode information which is the minimum among mode information of neighboring blocks adjacent to the current block;
A third intra prediction performing unit performing third intra prediction based on a luminance component or a chrominance component of the current block; And
A cost function calculator for calculating a cost function of a result of performing the first intra prediction, the second intra prediction, and the third intra prediction.
Encoding apparatus comprising a.
상기 비트스트림을 복호화한 결과에 기초하여 인트라 예측을 수행할 방식을 결정하는 인트라 예측 모드 판단부; 및
상기 결정된 방식에 따라 현재 블록에 대해 인트라 예측을 수행하는 인트라 예측부
를 포함하고,
상기 방식은,
이미 부호화되어 전송된 현재 블록에 인접하는 주변 블록들을 이용하여 인트라 예측을 수행하는 방식을 포함하는 것을 특징으로 하는 복호화 장치.A decoder which decodes the bitstream transmitted by the encoding apparatus;
An intra prediction mode determiner configured to determine a method of performing intra prediction based on a result of decoding the bitstream; And
Intra predictor for performing intra prediction on the current block according to the determined method
Including,
The method is
And a method of performing intra prediction using neighboring blocks adjacent to a current block that is already encoded and transmitted.
상기 인트라 예측부는,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 제1 인트라 예측을 수행하는 제1 인트라 예측 수행부;
상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 제2 인트라 예측을 수행하는 제2 인트라 예측 수행부; 또는
상기 현재 블록의 휘도 성분 또는 색차 성분에 기초하여 제3 인트라 예측을 수행하는 제3 인트라 예측 수행부
를 포함하는 복호화 장치.16. The method of claim 15,
The intra prediction unit,
A first intra prediction performer configured to perform first intra prediction based on pixel correlation for each intra prediction direction between neighboring blocks adjacent to the current block and the current block;
A second intra prediction performing unit configured to perform a second intra prediction based on mode information which is the minimum among mode information of neighboring blocks adjacent to the current block; or
A third intra prediction performing unit that performs a third intra prediction based on the luminance component or the chrominance component of the current block
Decoding apparatus comprising a.
상기 제3 인트라 예측 수행부는,
상기 비트스트림을 복호화하여 도출된 인트라 예측 모드를 이용하여 현재 블록의 휘도 성분 또는 색차 성분에 대해 제3 인트라 예측을 수행하는 것을 특징으로 하는 복호화 장치.The method of claim 16,
The third intra prediction execution unit,
And performing a third intra prediction on the luminance component or the chrominance component of the current block by using the intra prediction mode derived by decoding the bitstream.
상기 비트스트림은,
인트라 예측을 수행할 복호화 단위인 매크로 블록에 대해 제1 인트라 예측 또는 제2 인트라 예측과 관련된 유형 정보를 포함하는 것을 특징으로 하는 복호화 장치.The method of claim 16,
The bitstream,
And type information related to the first intra prediction or the second intra prediction with respect to a macroblock which is a decoding unit to perform intra prediction.
상기 비트스트림은,
매크로 블록 유형, 색차 블록 모드 정보, 블록 패턴 및 레지듀를 포함하는 것을 특징으로 하는 기록 매체.A computer-readable recording medium on which a bitstream encoded by encoding by performing an intra prediction on a current block is recorded.
The bitstream,
And a macro block type, chrominance block mode information, a block pattern, and a residue.
상기 비트스트림은,
상기 현재 블록에 인접하는 주변 블록들과 상기 현재 블록 간에 인트라 예측 방향별 화소 상관도에 기초하여 인트라 예측을 수행하는 제1 인트라 예측과 상기 현재 블록에 인접하는 주변 블록들의 모드 정보 중 최소인 모드 정보에 기초하여 인트라 예측을 수행하는 제2 인트라 예측을 구분하는 플래그 비트를 포함하는 기록 매체.The method of claim 19,
The bitstream,
Mode information that is the minimum among first intra prediction that performs intra prediction based on pixel correlation for each intra prediction direction between neighboring blocks adjacent to the current block and the current block, and mode information of neighboring blocks adjacent to the current block. And a flag bit for distinguishing a second intra prediction that performs intra prediction based on the.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2010/009168 WO2011078562A2 (en) | 2009-12-21 | 2010-12-21 | Intra-predictive coding and decoding methods, and intra-predictive coding and decoding devices for performing the methods |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20090128480 | 2009-12-21 | ||
KR1020090128480 | 2009-12-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20110073263A true KR20110073263A (en) | 2011-06-29 |
Family
ID=44404059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100124451A KR20110073263A (en) | 2009-12-21 | 2010-12-07 | Intra prediction encoding method and encoding method, and intra prediction encoding apparatus and intra prediction decoding apparatus performing the method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20110073263A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013005966A2 (en) * | 2011-07-01 | 2013-01-10 | 한국전자통신연구원 | Video encoding and decoding methods and device using same |
WO2013115568A1 (en) * | 2012-01-30 | 2013-08-08 | 한국전자통신연구원 | Intra prediction mode encoding/decoding method and device |
WO2013141587A1 (en) * | 2012-03-20 | 2013-09-26 | 엘지전자 주식회사 | Method of inter-layer prediction and apparatus using the same |
WO2017052118A1 (en) * | 2015-09-23 | 2017-03-30 | 엘지전자 주식회사 | Intra prediction method and device in image coding system |
WO2017069419A1 (en) * | 2015-10-22 | 2017-04-27 | 엘지전자 주식회사 | Intra-prediction method and apparatus in video coding system |
WO2017090968A1 (en) * | 2015-11-24 | 2017-06-01 | 삼성전자 주식회사 | Method for encoding/decoding image and device therefor |
US9843803B2 (en) | 2011-07-01 | 2017-12-12 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
KR20180028430A (en) * | 2010-02-17 | 2018-03-16 | 한국전자통신연구원 | Apparatus and method for encoding and decoding to image of ultra high definition resoutltion |
US9955169B2 (en) | 2012-01-30 | 2018-04-24 | Electronics And Telecommunications Research Institute | Intra prediction mode encoding/decoding method and apparatus |
-
2010
- 2010-12-07 KR KR1020100124451A patent/KR20110073263A/en not_active Application Discontinuation
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180028430A (en) * | 2010-02-17 | 2018-03-16 | 한국전자통신연구원 | Apparatus and method for encoding and decoding to image of ultra high definition resoutltion |
WO2013005966A3 (en) * | 2011-07-01 | 2013-03-14 | 한국전자통신연구원 | Video encoding and decoding methods and device using same |
WO2013005966A2 (en) * | 2011-07-01 | 2013-01-10 | 한국전자통신연구원 | Video encoding and decoding methods and device using same |
US10681349B2 (en) | 2011-07-01 | 2020-06-09 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
US11190767B2 (en) | 2011-07-01 | 2021-11-30 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
US10250880B2 (en) | 2011-07-01 | 2019-04-02 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
US11677942B2 (en) | 2011-07-01 | 2023-06-13 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
US9843803B2 (en) | 2011-07-01 | 2017-12-12 | Electronics And Telecommunications Research Institute | Video encoding and decoding methods and device using same |
US10666950B2 (en) | 2012-01-30 | 2020-05-26 | Electronics And Telecommunications Research Institute | Intra prediction mode encoding/decoding method and apparatus |
US9955169B2 (en) | 2012-01-30 | 2018-04-24 | Electronics And Telecommunications Research Institute | Intra prediction mode encoding/decoding method and apparatus |
US11689728B2 (en) | 2012-01-30 | 2023-06-27 | Dolby Laboratories Licensing Corporation | Intra prediction mode encoding/decoding method and apparatus |
US12184867B2 (en) | 2012-01-30 | 2024-12-31 | Electronics And Telecommunications Research Institute | Intra prediction mode encoding/decoding method and apparatus |
WO2013115568A1 (en) * | 2012-01-30 | 2013-08-08 | 한국전자통신연구원 | Intra prediction mode encoding/decoding method and device |
US11172206B2 (en) | 2012-01-30 | 2021-11-09 | Electronics And Telecommunications Research Institute | Intra prediction mode encoding/decoding method and apparatus |
WO2013141587A1 (en) * | 2012-03-20 | 2013-09-26 | 엘지전자 주식회사 | Method of inter-layer prediction and apparatus using the same |
WO2017052118A1 (en) * | 2015-09-23 | 2017-03-30 | 엘지전자 주식회사 | Intra prediction method and device in image coding system |
US10721492B2 (en) | 2015-09-23 | 2020-07-21 | Lg Electronics Inc. | Intra prediction method and device in image coding system |
US10750167B2 (en) | 2015-10-22 | 2020-08-18 | Lg Electronics, Inc. | Intra-prediction method and apparatus in video coding system |
WO2017069419A1 (en) * | 2015-10-22 | 2017-04-27 | 엘지전자 주식회사 | Intra-prediction method and apparatus in video coding system |
CN108293115A (en) * | 2015-11-24 | 2018-07-17 | 三星电子株式会社 | Method and apparatus for being encoded/decoded to image |
WO2017090968A1 (en) * | 2015-11-24 | 2017-06-01 | 삼성전자 주식회사 | Method for encoding/decoding image and device therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101246294B1 (en) | Method of and apparatus for video intraprediction encoding/decoding | |
JP5128443B2 (en) | Video encoding and decoding method and apparatus | |
KR101211665B1 (en) | Method and apparatus for intra prediction encoding and decoding of image | |
KR101365570B1 (en) | Method and apparatus for encoding and decoding based on intra prediction | |
KR101431545B1 (en) | Method and apparatus for Video encoding and decoding | |
KR100667808B1 (en) | Method and apparatus for intra prediction encoding and decoding of images | |
KR101228020B1 (en) | Video coding method and apparatus using side matching, and video decoding method and appartus thereof | |
US9503725B2 (en) | Method and apparatus for encoding/decoding image for performing intraprediction using pixel value filtered according to prediction mode | |
KR101365569B1 (en) | Method and apparatus for encoding and decoding based on intra prediction | |
US8948243B2 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
JP5400798B2 (en) | Moving picture decoding method and apparatus, moving picture encoding method and apparatus | |
WO2010001917A1 (en) | Image processing device and method | |
KR100739714B1 (en) | Method and apparatus for determining intra prediction mode | |
KR20110073263A (en) | Intra prediction encoding method and encoding method, and intra prediction encoding apparatus and intra prediction decoding apparatus performing the method | |
US20070171970A1 (en) | Method and apparatus for video encoding/decoding based on orthogonal transform and vector quantization | |
KR20110018188A (en) | Image encoding method and apparatus, image decoding method and apparatus | |
KR100727969B1 (en) | A recording medium on which an image encoding and decoding apparatus, a method thereof, and a program for performing the same are recorded. | |
KR20070027237A (en) | Method and apparatus for intra prediction encoding and decoding of images | |
US20090016443A1 (en) | Inter mode determination method for video encoding | |
US8228985B2 (en) | Method and apparatus for encoding and decoding based on intra prediction | |
KR101215614B1 (en) | Apparatus for encoding and decoding image, and method theroff, and a recording medium storing program to implement the method | |
KR100727970B1 (en) | A recording medium on which an image encoding and decoding apparatus, a method thereof, and a program for performing the same are recorded. | |
KR101366088B1 (en) | Method and apparatus for encoding and decoding based on intra prediction | |
KR20110067648A (en) | Image coding / decoding method and apparatus for performing the same | |
KR101365571B1 (en) | Method and apparatus for encoding and decoding based on intra prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20101207 |
|
PG1501 | Laying open of application | ||
PC1203 | Withdrawal of no request for examination | ||
WITN | Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid |