KR100728032B1 - Method for intra prediction based on warping - Google Patents

Method for intra prediction based on warping Download PDF

Info

Publication number
KR100728032B1
KR100728032B1 KR1020060008983A KR20060008983A KR100728032B1 KR 100728032 B1 KR100728032 B1 KR 100728032B1 KR 1020060008983 A KR1020060008983 A KR 1020060008983A KR 20060008983 A KR20060008983 A KR 20060008983A KR 100728032 B1 KR100728032 B1 KR 100728032B1
Authority
KR
South Korea
Prior art keywords
intra prediction
intra
prediction
block
supermb
Prior art date
Application number
KR1020060008983A
Other languages
Korean (ko)
Inventor
송병철
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020060008983A priority Critical patent/KR100728032B1/en
Application granted granted Critical
Publication of KR100728032B1 publication Critical patent/KR100728032B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Landscapes

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

Abstract

An intra-prediction method based on warping is provided to improve accuracy of intra-prediction of a region having a specific pattern and encoding efficiency by using an intra-prediction method employing a warping technique for intra-prediction for encoding and decoding images. A first intra-prediction is performed for blocks each having a predetermined size. A block group composed of a plurality of blocks each having a predetermined size is formed(920). A second intra-prediction is carried out for the block group(940). Bit rates according to the first intra-prediction and the second intra-prediction are calculated. One of the first intra-prediction and the second intra-prediction is selected on the basis of the bit rates.

Description

워핑 기반의 인트라 예측 방법{Method for intra prediction based on warping} Warping-based intra prediction method {Method for intra prediction based on warping}

도 1은 종래의 부호화 장치를 도시하는 블록도이다.1 is a block diagram showing a conventional encoding apparatus.

도 2는 종래의 복호화 장치를 도시하는 블록도이다. 2 is a block diagram showing a conventional decoding apparatus.

도 3(a)는 예측 모드들의 타입을 나타내는 도면이다.3A is a diagram illustrating types of prediction modes.

도 3(b)는 예측 모드들의 예측 방향들을 나타내는 도면이다.3B is a diagram illustrating prediction directions of prediction modes.

도 4는 9가지 모드들에 대해 인트라 예측 수행시 사용되는 화소들 및 방향을 나타내는 도면이다.4 is a diagram illustrating pixels and a direction used when performing intra prediction on nine modes.

도 5는 4×4 예측 모드를 수행하기 위해 필요한 주변 화소들을 나타내는 도면이다.5 is a diagram illustrating peripheral pixels required to perform a 4x4 prediction mode.

도 6은 본 발명에 따른 인트라 예측 방법이 적용된 부호화 장치를 도시하는 도면이다.6 is a diagram illustrating an encoding apparatus to which an intra prediction method is applied according to the present invention.

도 7은 본 발명에 따른 인트라 예측 방법이 수행되는 탐색 영역을 설명하기 위한 도면이다.7 is a view for explaining a search region in which the intra prediction method is performed according to the present invention.

도 8은 본 발명에 따른 인트라 예측 방법을 설명하기 위한 도면이다.8 is a view for explaining an intra prediction method according to the present invention.

도 9는 도 6에 도시된 부호화 장치에서 수행되는 인트라 예측 방법을 설명하기 위한 흐름도이다.FIG. 9 is a flowchart for describing an intra prediction method performed by the encoding apparatus of FIG. 6.

도 10은 본 발명의 또 다른 실시예에 따른 부호화 장치를 도시하는 블록도이다.10 is a block diagram illustrating an encoding apparatus according to another embodiment of the present invention.

도 11은 도 10의 부호화 장치에서 수행되는 인트라 예측 방법을 설명하기 위한 흐름도이다.FIG. 11 is a flowchart for describing an intra prediction method performed by the encoding apparatus of FIG. 10.

본 발명은 동영상 부호화 및 복호화에 관한 것으로, 특히 워핑 기반의 인트라 예측 방법에 관한 것이다.The present invention relates to video encoding and decoding, and more particularly, to a warping-based intra prediction method.

최근 각광받고 있는 MPEG 동영상 압축 표준인 H.264 또는 MPEG AVC는 다양한 압축 기법을 사용한다. 기존의 부호화 규격과는 달리, 복수개의 참조 프레임을 이용한 움직임 보상, 루프 필터링, 가변 크기의 블록에 기초한 움직임 보상, 컨텍스트 적응형 산술 코딩(CABAC)과 같은 엔트로피 부호화 등 압축 효율을 증가시키기 위한 다양한 기술들을 채택하고 있다. 한편, 인트라 블록의 압축 효율을 향상시키기 위해, 공간 영역에서의 예측 방법을 채택하고 있는데, 이를 인트라 예측이라 부르며, 전체 부호화 효율을 상당히 높이는 효과가 있다. The popular MPEG video compression standard, H.264 or MPEG AVC, uses various compression techniques. Unlike conventional coding standards, various techniques for increasing compression efficiency, such as motion compensation using multiple reference frames, loop filtering, motion compensation based on variable size blocks, and entropy coding such as context adaptive arithmetic coding (CABAC) Adopt them. On the other hand, in order to improve the compression efficiency of the intra block, a prediction method in the spatial domain is adopted, which is called intra prediction, which significantly increases the overall coding efficiency.

도 1은 종래의 부호화 장치를 도시하는 블록도이다. 도 1에 도시된 동영상 부호화 시스템의 예로는 MPEG 2, MPEG 4, 및 H.264 부호기 등이 있다.1 is a block diagram showing a conventional encoding apparatus. Examples of the video encoding system shown in FIG. 1 include MPEG 2, MPEG 4, and an H.264 encoder.

먼저, 입력되는 영상 데이터는 16×16 매크로 블록 단위로 분할된다. First, the input image data is divided in units of 16 × 16 macroblocks.

부호화기 제어부(110)는 비트율 조절기로서 원하는 시퀀스 전체의 비트율 및 각각의 픽쳐별로 타겟 비트를 만족하도록 각 블록의 양자화 계수를 결정하는 기능을 수행한다. The encoder controller 110 performs a function of determining a quantization coefficient of each block so as to satisfy a target bit for each picture and a bit rate of the entire desired sequence as a bit rate controller.

변환 및 양자화부(120)는 영상 데이터의 공간 중복성(spatial redundancy)을 없애기 위해, 입력된 영상 데이터를 변환(transform) 한다. 또한, 변환 부호화하여 얻어진 변환 계수값들을 소정 양자화 스텝에 따라 양자화하여 양자화된 변환 계수값들로 구성된 2차원 데이터인 N×M 데이터를 얻는다. 사용되는 영상 변환의 예로는 DCT(Discrete Cosine Transform)을 들 수 있다. 양자화는 미리 결정된 양자화 스텝에 따라 수행된다.The transform and quantization unit 120 transforms the input image data in order to remove spatial redundancy of the image data. Further, transform coefficient values obtained by transform encoding are quantized according to a predetermined quantization step to obtain N × M data, which is two-dimensional data composed of quantized transform coefficient values. An example of an image transformation to be used is a discrete cosine transform (DCT). Quantization is performed according to a predetermined quantization step.

역변환 및 역양자화부(130)는 변환 및 양자화부(120)에서 양자화된 영상 데이터를 역양자화하고, 역양자화된 영상 데이터를 역 영상 변환, 예를 들어 역 DCT한다. The inverse transform and inverse quantization unit 130 inverse quantizes the quantized image data in the transform and quantization unit 120, and inverse image transforms, for example, inverse DCT the inverse quantized image data.

디-블록킹 필터(de-blocking filter)(140)는 움직임 보상된 영상에서 양자화로 인해 발생한 블록킹 현상을 제거하기 위해 필터링을 수행하고, 그 결과를 프레임 메모리부(150)로 출력한다.The de-blocking filter 140 performs filtering to remove a blocking phenomenon caused by quantization in the motion compensated image, and outputs the result to the frame memory unit 150.

프레임 메모리부(150)는 역변환 및 역양자화부(130)에서 역양자화 및 역변환된 영상 데이터를 프레임 단위로 저장한다. The frame memory unit 150 stores the image data inversely quantized and inversely transformed by the inverse transform and inverse quantization unit 130 in units of frames.

인트라 프레임 예측부(160)는 인트라 매크로블록의 경우 공간 영역에서 블록 별 또는 매크로블록 별 예측자(predictor)를 구하고, 인트라 매크로블록에서 예측자를 뺀 후 그 차분을 변환부로 보내는 기능을 수행한다. In the case of the intra macroblock, the intra frame predictor 160 obtains a predictor for each block or macroblock in the spatial domain, subtracts the predictor from the intra macroblock, and sends the difference to the transform unit.

움직임 예측 및 보상부(ME/MC: 170)는 입력되는 현재 프레임의 영상 데이터 와 프레임 메모리부(150)에 저장된 이전 프레임의 영상 데이터를 이용하여 매크로 블록당 움직임 벡터(MV)와 SAD를 추정한다. 또한, 추정된 움직임 벡터에 기초하여 움직임 보상된 예측 영역 P, 예를 들어 움직임 추정에 의해 선택된 16×16 영역을 생성한다.The motion prediction and compensator (ME / MC) 170 estimates the motion vector per macroblock (MV) and SAD by using the input image data of the current frame and the image data of the previous frame stored in the frame memory unit 150. . Further, a motion compensated prediction region P, for example, a 16 × 16 region selected by motion estimation, is generated based on the estimated motion vector.

엔트로피 부호화부(180)는 변환 및 양자화부(120)로부터 출력되는 양자화된 변환 계수들과 움직임 예측 및 보상부(170)로부터 출력된 움직임 벡터에 관한 정보를 입력받으며, 부호화기 제어부(110)에서 제공되는 코딩 타입 정보, 양자화 스텝 정보, 등 기타 복호화에 필요한 정보들을 입력받아 엔트로피 부호화하여 최종적으로 얻어진 비트스트림을 출력한다.The entropy encoder 180 receives information about the quantized transform coefficients output from the transform and quantization unit 120 and the motion vector output from the motion prediction and compensation unit 170, and is provided by the encoder controller 110. Coding type information, quantization step information, and other information necessary for decoding are input and entropy-encoded to finally output a bitstream obtained.

즉, 도 1의 부호화 장치에 따르면, 가산부(190)는 입력된 현재 매크로블록은 움직임 예측 및 보상부(170)에서 생성된 움직임 보상된 예측 영역 P를 감산하여, 잔차 영상을 생성한다. 생성된 잔차 영상은 변환 및 양자화부(120)에서 DCT와 같은 직교 변환 및 양자화 된다. 엔트로피 부호화부(180)는 변환 및 양자화부(120)로부터 출력된 매크로블록의 계수, 움직임 정보, 및 제어 데이터와 같은 헤더 정보가 엔트로피 부호화되어 압축된 비트스트림이 생성된다.That is, according to the encoding apparatus of FIG. 1, the adder 190 generates a residual image by subtracting the motion compensated prediction region P generated by the motion predictor and compensator 170 from the input current macroblock. The generated residual image is orthogonally transformed and quantized such as DCT in the transform and quantization unit 120. The entropy encoder 180 entropy-encodes header information such as coefficients, motion information, and control data of a macroblock output from the transform and quantizer 120 to generate a compressed bitstream.

도 2는 종래의 복호화 장치를 도시하는 블록도이다.2 is a block diagram showing a conventional decoding apparatus.

도 2에 도시된 복호화 장치는 엔트로피 복호화부(210), 역양자화 및 역변환부(220), 프레임 메모리부(230), 및 움직임 보상부(240)를 포함한다.The decoding apparatus shown in FIG. 2 includes an entropy decoding unit 210, an inverse quantization and inverse transform unit 220, a frame memory unit 230, and a motion compensator 240.

엔트로피 복호화부(210)는 부호화된 입력 스트림을 엔트로피 복호화하여 , 영상 데이터, 움직임 벡터 등을 추출한다. 엔트로피 복호화된 영상 데이터는 역양 자화 및 역변환부(220)로 입력되고, 움직임 벡터 정보는 움직임 보상부(240)로 입력된다.The entropy decoder 210 entropy decodes the encoded input stream to extract image data, a motion vector, and the like. Entropy-decoded image data is input to the inverse quantization and inverse transform unit 220, and motion vector information is input to the motion compensator 240.

예를 들어, 영상 데이터는 역변환 및 역양자화부(220)에서 역변환 및 역양자화가 수행되고, 예측자, 예를 들어 움직임 보상부(240)에서의 움직임 보상된 예측 영역 값과 가산되어 복원된 영상을 디스플레이부(도시되지 않음)로 출력한다. For example, the inverse transform and inverse quantization is performed by the inverse transform and inverse quantization unit 220, and the image data is reconstructed by adding a predictor, for example, a motion compensated prediction region value in the motion compensator 240. Is output to a display unit (not shown).

이러한, 부호화기 및 복호화기에서 인트라 예측부는 핵심적인 모듈이다. H.264 인트라 예측은 휘도(Luma)에 대해 적용되는 블록 크기에 따라 4×4, 8×8, 16×16 모드가 존재하며, 채도(chroma)에 대해서는 별도의 모드가 존재한다. In the encoder and the decoder, the intra prediction unit is a core module. In H.264 intra prediction, 4x4, 8x8, and 16x16 modes exist according to a block size applied to luminance Luma, and a separate mode exists for chroma.

예를 들어, 휘도 영상에 적용되는 4×4 모드의 경우, 도 3에서와 같이 예측 방향에 따라 9가지의 4×4 예측 모드 들이 존재한다. 도 3(a)는 예측 모드들의 모드들을 나타낸다. 도 3(b)는 예측 모드들의 예측 방향들을 나타낸다.For example, in the case of the 4x4 mode applied to the luminance image, there are nine 4x4 prediction modes according to the prediction direction as shown in FIG. 3. 3 (a) shows the modes of the prediction modes. 3 (b) shows the prediction directions of the prediction modes.

도 4는 9가지 모드들에 대해 인트라 예측 수행시 사용되는 화소들 및 방향을 나타낸다. 옅은 색의 4×4는 인트라 예측을 적용할 현재 블록이며, 진한 색의 화소들은 예측에 사용될 복원된 주변 화소들이다. 예를 들어, 수직 모드의 경우는 현재 블록 위의 네 개의 화소값들이 수직으로 반복되는 패턴의 4×4 예측자를 형성하고, 현재 블록의 화소 대 화소로 대응하여 차를 구함으로써, 잔차 블록(residual block)을 구하고, 그 잔차 블록 변환 및 양자화, CABAC 등을 거쳐 부호화 하게 된다.4 illustrates pixels and directions used when performing intra prediction on nine modes. The light colored 4x4 is the current block to which intra prediction is to be applied, and the dark colored pixels are reconstructed neighboring pixels to be used for prediction. For example, in the vertical mode, a residual block is formed by forming a 4x4 predictor in a pattern in which four pixel values on the current block are vertically repeated, and correspondingly obtaining a difference from pixel to pixel of the current block. block) and then encoded through the residual block transform and quantization, CABAC, and the like.

예를 들어, 상위 주변 블록 화소 값이, {255,0,255,0}인 경우, 4×4 예측 블록은 다음과 같다. 동일한 방식으로 For example, when the upper neighboring block pixel value is {255,0,255,0}, the 4x4 prediction block is as follows. In the same way

{255,0,255,0,{255,0,255,0,

0,255,0,255,0,255,0,255,

255,0,255,0,255,0,255,0,

0,255,0,255}0,255,0,255}

수평 모드에 대해서도 동일한 방식으로 적용된다. 이외의 모드들도 예측자 4×4 를 생성하기 위한 소정의 식이 있다. 한편, 4×4 예측을 수행하기 위해서는, 4×4 예측 모드를 수행하기 위해 필요한 주변 화소들을 나타내는 도 5와 같이 상위 9개의 화소들 및 왼쪽의 4개의 복원된 화소가 필요하다.The same applies to the horizontal mode. The other modes also have some equation for generating the predictor 4x4. Meanwhile, in order to perform 4x4 prediction, the upper nine pixels and the four reconstructed pixels on the left side are needed, as shown in FIG. 5, which shows peripheral pixels required to perform the 4x4 prediction mode.

이와 같이, 다양한 방향에 대한 패턴들을 생성하여, 부호화기에서 인트라 예측을 수행하더라도, 예측자를 생성하기 위해 사용되는 화소값 들이 현재 블록내의 화소들이 아닌 주변 블록의 화소들이므로, 예측에 한계가 있으며, 부호화 효율도 떨어지는 문제점이 있었다.In this way, even if the encoder performs intra prediction by generating patterns for various directions, since the pixel values used to generate the predictor are pixels of the neighboring block rather than the pixels in the current block, the prediction is limited. There was also a problem of low efficiency.

본 발명이 이루고자 하는 기술적 과제는, 이러한 종래의 부호화 및 복호화기에서의 문제점을 해소한, 개선된 인트라 예측 방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide an improved intra prediction method that solves such problems in the conventional encoder and decoder.

상기의 과제를 이루기 위하여, 본 발명에 따른 인트라 예측 방법은 소정의 크기의 복수개의 블록으로 이루어진 블록 그룹을 형성하는 단계와, 상기 형성된 블록 그룹 단위로 인트라 예측을 수행하는 단계를 포함하며, 상기 인트라 예측은 상기 블록 그룹의 방향, 크기, 또는 방향 및 크기를 변화시키면서 수행된다.In order to achieve the above object, the intra prediction method according to the present invention comprises the step of forming a block group consisting of a plurality of blocks of a predetermined size, and performing the intra prediction in units of the formed block group, the intra Prediction is performed while varying the direction, size, or direction and size of the block group.

또한, 바람직하게는, 본 발명에 따른 인트라 예측 방법에서, 상기 소정의 크기의 블록은 매크로 블록이며, 상기 인트라 예측은 상기 매크로블록을 회전(rotation) 및 주밍(zooming) 하면서 수행된다.Further, preferably, in the intra prediction method according to the present invention, the predetermined size block is a macro block, and the intra prediction is performed while rotating and zooming the macro block.

또한, 상기 기술적 과제는 소정의 크기의 블록 단위로 제1 인트라 예측을 수행하는 단계와; 소정의 크기의 복수개의 블록으로 이루어진 블록 그룹을 형성하는 단계와; 상기 형성된 블록 그룹 단위로 제2 인트라 예측을 수행하는 단계와; 상기 제1 인트라 예측 및 제2 인트라 예측에 따른 비트량을 계산하는 단계와; 상기 계산된 비트량에 기초하여, 제1 인트라 예측 및 제2 인트라 예측 중 하나를 선택하는 단계를 포함하는 인트라 예측 방법에 의해서도 달성된다.The technical problem may further include performing first intra prediction on a block basis of a predetermined size; Forming a block group consisting of a plurality of blocks of a predetermined size; Performing second intra prediction on the basis of the formed block group; Calculating bit amounts according to the first intra prediction and the second intra prediction; Based on the calculated bit amount, it is also achieved by an intra prediction method comprising selecting one of a first intra prediction and a second intra prediction.

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

도 6은 본 발명에 따른 인트라 예측 방법이 적용된 부호화 장치를 도시하는 도면이다. 이하에서는, 도 7 및 도 8을 참조하여 본 발명을 설명한다. 도 7은 본 발명에 따른 탐색 영역을 도시하는 도면이고, 도 8은 본 발명에 따른 인트라 예측 방법을 설명하기 위한 도면이다.6 is a diagram illustrating an encoding apparatus to which an intra prediction method is applied according to the present invention. Hereinafter, the present invention will be described with reference to FIGS. 7 and 8. 7 is a diagram illustrating a search region according to the present invention, and FIG. 8 is a diagram for explaining an intra prediction method according to the present invention.

본 발명에 따른 부호화 장치는 superMB 생성부(620), 인트라 예측부(640), 및 부호화부(660)를 포함한다.The encoding apparatus according to the present invention includes a superMB generator 620, an intra predictor 640, and an encoder 660.

superMB 생성부(620)는 superMB을 생성한다. superMB은 1개 이상의 매크로 블록(macroblock: MB)을 포함한다. 여기에서, 매크로블록의 크기는 16×16이다. 본 실시예에서는, M×N 크기의 MB을 superMB으로 정의한다. 선택적으로, 매크로블록이 아닌, 다른 크기를 갖는 블록으로 이루어진 블록 그룹에 대해 본 실시예를 적용하는 것도 가능하다.The superMB generator 620 generates a superMB. superMB contains one or more macroblocks (MBs). Here, the size of the macroblock is 16x16. In this embodiment, MB of size M × N is defined as superMB. Optionally, it is also possible to apply the present embodiment to a block group consisting of blocks having other sizes than the macroblocks.

도 7에서 현재 superMB의 크기는 3×4이고, 별표로 표시된 위치의 MB이 부호화 순서상 현재 MB이다. In FIG. 7, the size of the current superMB is 3x4, and the MB of the position indicated by the asterisk is the current MB in the coding order.

인트라 예측부(640)는 superMB 단위로 본 발명에 따른 인트라 예측을 수행한다. 도 7에 도시된 바와 같이, 현재 superMB의 같은 프레임 내 탐색 영역은 현재 MB을 기점으로 캐주얼(casual)한 영역, 즉 기 복원된 영역이다. 이는 도 7에 도시된 프레임의 가능한 최대 크기의 탐색 영역이다. 선택적으로, 탐색 영역을 한정하는 것도 가능하다. 탐색 영역이 결정되면, 도 8에 도시된 바와 같이, 현재 superMB과 대응하는 참조 superMB (또는 예측자)을 탐색한다. 이때, 도 8에 도시된 바와 같이, 현재 superMB에 대해 워핑 기법을 적용하여 예측자를 탐색한다. 워핑 기법에서는 탐색시 현재 superMB을 회전시키거나, 크기나 모양을 변화시키면서 매칭되는 예측자를 탐색한다. 이를 위해, 6 파라미터 모델(parameter model), 8 파라미터 모델에 기반한 움직임 추정 보상 방식을 사용한다. The intra prediction unit 640 performs intra prediction according to the present invention in units of superMBs. As shown in FIG. 7, the search area in the same frame of the current superMB is a casual area, that is, a reconstructed area from the current MB. This is a search area of the largest possible size of the frame shown in FIG. Optionally, it is also possible to define a search area. Once the search area is determined, as shown in FIG. 8, the reference superMB (or predictor) corresponding to the current superMB is searched. In this case, as shown in FIG. 8, the predictor is searched by applying a warping technique to the current superMB. The warping technique searches for matching predictors by rotating the current superMB or changing the size or shape of the search. To this end, a motion estimation compensation scheme based on a 6 parameter model and an 8 parameter model is used.

6 파라미터 모델은 어파인 모델(affine model)이라고도 하며, 변환 전 좌표(x,y)와 변환후 좌표 (x',y')가 다음과 같은 관계가 있는 경우이다.The 6-parameter model is also known as the affine model, where the coordinates before transformation (x, y) and the coordinates after transformation (x ', y') have the following relationship.

(x',y') = (ax + by + c, dx + ey + f)(x ', y') = (ax + by + c, dx + ey + f)

a, b, c, d, e, f 여섯 개의 파라미터 들에 의해 두 좌표 사이의 움직임이 정의된다.A, b, c, d, e, f Six parameters define the motion between two coordinates.

한편, 8 파라미터 모델은 원근 모델(perspective model) 이라고도 하며, 변환 전 좌료(x,y)와 변환후 좌표(x',y')가 다음 수학식 1과 같은 관계가 있는 경우이다.On the other hand, the 8-parameter model is also referred to as a perspective model, a case in which the pre-conversion left (x, y) and the post-conversion coordinate (x ', y') have a relationship as shown in Equation 1 below.

Figure 112006006911456-pat00001
Figure 112006006911456-pat00001

이와 같이, a b, c, d, e, f, g, h 여덟개의 파라미터들에 의해 두 좌표 사이의 움직임이 정의된다.Thus, the motion between two coordinates is defined by eight parameters a b, c, d, e, f, g, h.

이들 움직임 추정 보상 방식 이외에도, 회전 또는 크기를 변화시키기 위해 주밍 기법을 이용하는 움직임 추정 보상 방식을 사용하는 또 다른 방식을 사용하는 것도 가능하다.In addition to these motion estimation compensation methods, it is also possible to use another method using the motion estimation compensation method using the zooming technique to change the rotation or the magnitude.

부호화부(660)에서는, 움직임 보상에 의해 얻어진 예측자와 현재 superMB의 차분 영상(residual image)을 구한다. 차분 영상의 부호화는 도 1에 도시된 바와 같이, 영상 변환, 양자화, 및 가변 길이 부호화를 수행하여 이루어진다.The encoder 660 obtains a residual image of the predictor obtained by motion compensation and the current superMB. As shown in FIG. 1, encoding of the differential image is performed by performing image transformation, quantization, and variable length encoding.

본 실시예에서는, superMB의 차분 영상은 MB 단위로 수행된다. In this embodiment, the difference image of superMB is performed in MB units.

도 9는 도 6에 도시된 부호화 장치에서 수행되는 인트라 예측 방법을 설명하기 위한 흐름도이다.FIG. 9 is a flowchart for describing an intra prediction method performed by the encoding apparatus of FIG. 6.

단계 920에서는 1개 이상의 매크로 블록(macroblock: MB)을 포함하는 superMB을 생성한다. In step 920, a superMB including one or more macroblocks (MB) is generated.

단계 940에서는 superMB 단위로 워핑 기법을 사용하여 참조 superMB (또는 예측자)을 탐색한다. 워핑 기법에서는 탐색시 현재 superMB을 회전시키거나, 크기나 모양을 변화시키면서 매칭되는 예측자를 탐색한다. In step 940, a reference superMB (or predictor) is searched for using the warping technique in units of superMBs. The warping technique searches for matching predictors by rotating the current superMB or changing the size or shape of the search.

단계 960에서는 움직임 보상에 의해 얻어진 예측자와 현재 superMB의 차분 영상(residual image)을 계산하고, 계산된 차분 영상에 대해 도 1에 도시된 바와 같이, 영상 변환, 양자화, 및 가변 길이 부호화를 수행하여 이루어진다.In step 960, a differential image of a predictor obtained by motion compensation and a current superMB is calculated, and image transform, quantization, and variable length encoding are performed on the calculated differential image, as shown in FIG. 1. Is done.

도 10은 본 발명의 또 다른 실시예에 따른 부호화 장치를 도시하는 블록도이다.10 is a block diagram illustrating an encoding apparatus according to another embodiment of the present invention.

본 발명에 따른 부호화 장치는 제1 인트라 예측부(1020), superMB 생성부(1040), 제2 인트라 예측부(1060), 및 부호화부(1060)를 포함한다.The encoding apparatus according to the present invention includes a first intra predictor 1020, a superMB generator 1040, a second intra predictor 1060, and an encoder 1060.

본 실시예에서, 제1 인트라 예측부(1020)는 종래의 부호화 및 복호화 장치에서 사용되는 인트라 예측 방식에 따른 인트라 예측을 수행하므로 설명의 간단을 위해 상세한 설명은 생략한다.In the present embodiment, since the first intra prediction unit 1020 performs intra prediction according to the intra prediction method used in the conventional encoding and decoding apparatus, detailed description is omitted for simplicity.

또한, superMB 생성부(1040) 및 제2 인트라 예측부(1060)는 도 6의 superMB 생성부(620) 및 인트라 예측부(640)와 동일한 기능을 수행하므로, 상세한 설명은 생략한다.In addition, since the superMB generator 1040 and the second intra predictor 1060 perform the same functions as the superMB generator 620 and the intra predictor 640 of FIG. 6, a detailed description thereof will be omitted.

부호화부(1080)에서는, 제1 인트라 예측부(1020)에서 얻어진 데이터와 제2 인트라 예측부(1060)에서 얻어진 데이터를 비교하여, 제2 인트라 예측부(1060)에서 얻어진 데이터를 사용할지 여부를 결정한다. The encoder 1080 compares the data obtained by the first intra predictor 1020 with the data obtained by the second intra predictor 1060 to determine whether to use the data obtained by the second intra predictor 1060. Decide

예를 들어, 제2 인트라 예측부(1060)에서 수행된 인트라 예측의 정확성이 상대적으로 낮다고 판단되는 경우에는, 종래의 부호화 방식에 따라 MB 단위로 부호화 가 수행된다.For example, when it is determined that the accuracy of intra prediction performed by the second intra prediction unit 1060 is relatively low, encoding is performed in units of MB according to a conventional encoding method.

또한, 제2 인트라 예측부(1060)에서 수행된 인트라 예측의 정확성이 높다고 판단되는 경우에는, superMB 내 MB들은 소정의 스캔 방식, 예를 들어 래스터 스캐닝 순서로 부호화를 수행하고, 이들을 제외한 픽쳐 내 나머지 MB들은 전체 픽쳐 관점에서 기존의 부호화 방식처럼 래스터 스캐닝 순서로 부호화를 수행한다. 이때, 선택적으로 움직임 파라미터 정보는 해당 superMB의 최좌상측 매크로블록의 위치 정보와 함께 전송된다.In addition, when it is determined that the accuracy of the intra prediction performed by the second intra prediction unit 1060 is high, the MBs in the superMB are encoded in a predetermined scan method, for example, raster scanning order, and remainder in the picture except these. MBs encode in a raster scanning order as in the conventional encoding scheme in terms of the entire picture. At this time, the motion parameter information is optionally transmitted along with the position information of the leftmost macroblock of the corresponding superMB.

상기 본 발명에 따른 인트라 예측 방식은 복호화 장치에서도 소정의 순서만을 변경함으로써 동일하게 수행될 수 있다.The intra prediction method according to the present invention may be performed in the decoding apparatus in the same manner only by changing a predetermined order.

도 11은 도 10의 부호화 장치에서 수행되는 인트라 예측 방법을 설명하기 위한 흐름도이다.FIG. 11 is a flowchart for describing an intra prediction method performed by the encoding apparatus of FIG. 10.

단계 1120에서는 종래의 부호화 및 복호화 장치에서 사용되는 인트라 예측 방식에 따른 인트라 예측을 수행한다.In operation 1120, intra prediction according to an intra prediction method used in a conventional encoding and decoding apparatus is performed.

단계 1140에서는 1개 이상의 매크로 블록(macroblock: MB)을 포함하는 superMB을 생성한다. In operation 1140, a superMB including one or more macroblocks (MBs) is generated.

단계 1160에서는 superMB 단위로 워핑 기법을 사용하여 참조 superMB (또는 예측자)을 탐색한다. 워핑 기법에서는 탐색시 현재 superMB을 회전시키거나, 크기나 모양을 변화시키면서 매칭되는 예측자를 탐색하고, 움직임 보상에 의해 얻어진 예측자와 현재 superMB의 차분 영상(residual image)을 계산한다.In step 1160, a reference superMB (or predictor) is searched using a warping technique in units of superMBs. In the warping technique, a searcher is searched for a matching predictor by rotating the current superMB, changing its size or shape, and calculating a differential image of the predictor obtained by motion compensation and the current superMB.

단계 1180에서는 단계 1120에서 얻어진 데이터와 단계 1160에서 얻어진 데이 터를 비교하여, 단계 1160에서 얻어진 데이터를 사용할지 여부를 결정한다. In operation 1180, the data obtained in operation 1160 and the data obtained in operation 1160 are compared to determine whether to use the data obtained in operation 1160.

예를 들어, 단계 1160에서 수행된 인트라 예측의 정확성이 상대적으로 낮다고 판단되는 경우에는, 단계 1120에서 수행된 인트라 예측 결과에 기초한 종래의 부호화 방식에 따라 MB 단위로 부호화가 수행된다.For example, when it is determined that the accuracy of the intra prediction performed in step 1160 is relatively low, encoding is performed in MB units according to a conventional encoding method based on the intra prediction result performed in step 1120.

또한, 단계 1160에서 수행된 인트라 예측의 정확성이 높다고 판단되는 경우에는, superMB 내 MB들은 소정의 스캔 방식, 예를 들어 래스터 스캐닝 순서로 부호화를 수행하고, 이들을 제외한 픽쳐 내 나머지 MB들은 전체 픽쳐 관점에서 기존의 부호화 방식처럼 래스터 스캐닝 순서로 부호화를 수행한다. In addition, when it is determined that the accuracy of the intra prediction performed in step 1160 is high, the MBs in the superMB are encoded in a predetermined scan method, for example, raster scanning order, and the remaining MBs in the picture except these are in view of the entire picture. As in the conventional encoding method, encoding is performed in the raster scanning order.

상기 본 발명에 따른 인트라 예측 방식은 복호화 장치에서도 소정의 순서만을 변경함으로써 동일하게 수행될 수 있다.The intra prediction method according to the present invention may be performed in the decoding apparatus in the same manner only by changing a predetermined order.

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

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

상술한 바와 같이, 영상 부호화 및 복호화를 위한 인트라 예측시, 워핑 기법을 채용한 본 발명에 따른 인트라 예측 방식을 사용함으로써, 특정 패턴을 갖는 영역의 인트라 예측의 정확성 및 이에 따른 부호화 효율을 향상시키는 것이 가능하다는 효과가 있다.As described above, in the intra prediction for image encoding and decoding, by using the intra prediction method according to the present invention employing the warping technique, it is possible to improve the accuracy of intra prediction in the region having a specific pattern and the coding efficiency accordingly. There is an effect that it is possible.

Claims (4)

인트라 예측 방법에 있어서,In the intra prediction method, 소정의 크기의 복수개의 블록으로 이루어진 블록 그룹을 형성하는 단계와,Forming a block group consisting of a plurality of blocks of a predetermined size; 상기 형성된 블록 그룹 단위로 인트라 예측을 수행하는 단계를 포함하며,Performing intra prediction on the basis of the formed block group; 상기 인트라 예측은 상기 블록 그룹의 방향, 크기, 또는 방향 및 크기를 변화시키면서 수행되는 것을 특징으로 하는 인트라 예측 방법.The intra prediction method is performed by changing the direction, size, or direction and size of the block group. 제1항에 있어서, The method of claim 1, 상기 소정의 크기의 블록은 매크로 블록이며, 상기 인트라 예측은 상기 매크로블록을 회전(rotation) 및 주밍(zooming) 하면서 수행되는 것을 특징으로 하는 인트라 예측 방법.The predetermined size block is a macroblock, and the intra prediction is performed while rotating and zooming the macroblock. 인트라 예측 방법에 있어서,In the intra prediction method, 소정의 크기의 블록 단위로 제1 인트라 예측을 수행하는 단계와;Performing first intra prediction on a block basis of a predetermined size; 소정의 크기의 복수개의 블록으로 이루어진 블록 그룹을 형성하는 단계와;Forming a block group consisting of a plurality of blocks of a predetermined size; 상기 형성된 블록 그룹 단위로 제2 인트라 예측을 수행하는 단계와;Performing second intra prediction on the basis of the formed block group; 상기 제1 인트라 예측 및 제2 인트라 예측에 따른 비트량을 계산하는 단계와;Calculating bit amounts according to the first intra prediction and the second intra prediction; 상기 계산된 비트량에 기초하여, 제1 인트라 예측 및 제2 인트라 예측 중 하 나를 선택하는 단계를 포함하는 것을 특징으로 하는 인트라 예측 방법.And selecting one of a first intra prediction and a second intra prediction based on the calculated bit amount. 제3항에 있어서, The method of claim 3, 상기 소정의 크기의 블록은 매크로 블록이며, 상기 인트라 예측은 상기 매크로블록을 회전(rotation) 및 주밍(zooming) 하면서 수행되는 것을 특징으로 하는 인트라 예측 방법.The predetermined size block is a macroblock, and the intra prediction is performed while rotating and zooming the macroblock.
KR1020060008983A 2006-01-27 2006-01-27 Method for intra prediction based on warping KR100728032B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060008983A KR100728032B1 (en) 2006-01-27 2006-01-27 Method for intra prediction based on warping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060008983A KR100728032B1 (en) 2006-01-27 2006-01-27 Method for intra prediction based on warping

Publications (1)

Publication Number Publication Date
KR100728032B1 true KR100728032B1 (en) 2007-06-14

Family

ID=38359302

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060008983A KR100728032B1 (en) 2006-01-27 2006-01-27 Method for intra prediction based on warping

Country Status (1)

Country Link
KR (1) KR100728032B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11343489B2 (en) 2018-03-19 2022-05-24 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding image using geometrically modified reference picture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005039743A (en) 2003-07-18 2005-02-10 Sony Corp Image information encoding apparatus and method, and image information decoding apparatus and method
KR20050039249A (en) * 2003-10-24 2005-04-29 삼성전자주식회사 Intra prediction method and apparatus thereof
JP2005348280A (en) 2004-06-07 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Image encoding method, image encoding apparatus, image encoding program, and computer readable recording medium recorded with the program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005039743A (en) 2003-07-18 2005-02-10 Sony Corp Image information encoding apparatus and method, and image information decoding apparatus and method
KR20050039249A (en) * 2003-10-24 2005-04-29 삼성전자주식회사 Intra prediction method and apparatus thereof
JP2005348280A (en) 2004-06-07 2005-12-15 Nippon Telegr & Teleph Corp <Ntt> Image encoding method, image encoding apparatus, image encoding program, and computer readable recording medium recorded with the program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11343489B2 (en) 2018-03-19 2022-05-24 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding image using geometrically modified reference picture

Similar Documents

Publication Publication Date Title
US10757405B2 (en) Method of decoding motion vector
US10778970B2 (en) Method and apparatus of decoding video data
KR101316060B1 (en) Decoding method of inter coded moving picture
US8165195B2 (en) Method of and apparatus for video intraprediction encoding/decoding
KR101821867B1 (en) Image decoding apparatus, image decoding method, image encoding apparatus, image encoding method and recording medium
KR101108681B1 (en) Frequency transform coefficient prediction method and apparatus in video codec, and video encoder and decoder therewith
US8194989B2 (en) Method and apparatus for encoding and decoding image using modification of residual block
KR100772390B1 (en) Directional interpolation method and apparatus thereof and method for encoding and decoding based on the directional interpolation method
KR100772391B1 (en) Method for video encoding or decoding based on orthogonal transform and vector quantization, and apparatus thereof
US20140269909A1 (en) Method of deriving motion information
US20070098067A1 (en) Method and apparatus for video encoding/decoding
WO2008153300A1 (en) Method and apparatus for intraprediction encoding/decoding using image inpainting
US9473789B2 (en) Apparatus for decoding a moving picture
KR20130067280A (en) Decoding method of inter coded moving picture
WO2014084674A2 (en) Intra prediction method and intra prediction apparatus using residual transform
KR100728032B1 (en) Method for intra prediction based on warping
KR101659343B1 (en) Method and apparatus for processing moving image
JP2023086397A (en) Intra prediction device, decoding device, and program
KR20200050111A (en) Method and apparatus for encoding/decoding image using transformation of axis of color coordinate

Legal Events

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

Payment date: 20130530

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140529

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150528

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160530

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee