KR970010096B1 - Two layer motion estimation apparatus and method for image data compression - Google Patents

Two layer motion estimation apparatus and method for image data compression Download PDF

Info

Publication number
KR970010096B1
KR970010096B1 KR1019940015284A KR19940015284A KR970010096B1 KR 970010096 B1 KR970010096 B1 KR 970010096B1 KR 1019940015284 A KR1019940015284 A KR 1019940015284A KR 19940015284 A KR19940015284 A KR 19940015284A KR 970010096 B1 KR970010096 B1 KR 970010096B1
Authority
KR
South Korea
Prior art keywords
data
field
motion vector
image
search
Prior art date
Application number
KR1019940015284A
Other languages
Korean (ko)
Other versions
KR960003409A (en
Inventor
김진웅
이강환
이영선
정주홍
Original Assignee
한국전자통신연구원
양승택
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원, 양승택 filed Critical 한국전자통신연구원
Priority to KR1019940015284A priority Critical patent/KR970010096B1/en
Publication of KR960003409A publication Critical patent/KR960003409A/en
Application granted granted Critical
Publication of KR970010096B1 publication Critical patent/KR970010096B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/533Motion estimation using multistep search, e.g. 2D-log search or one-at-a-time search [OTS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/56Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation

Landscapes

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

Abstract

The two layer movement deducing apparatus is comprised of (a) determining input image data is either a field or a frame data(201), one half picking out a searching region and a standard image of an original image in the horizontal directions upon the input image data being determined to be the field data(202,203), one half picking out the original image and the standard image in the horizontal and vertical directions upon the input image data being determined to be the frame data to generate the searching region and standard block data(204); (b) performing whole region searching with respect to the picked out data and generating a movement vector in unit of integer pixel(205) and adjusting the generated movement vector(206); and upon the adjustment of the movement vector value being completed for a half pixel searching region to exist within the whole searching region, finding the searching region data where the position of the half pixel is interpolated(207) from a coding part(10), performing the whole region searching to generate the movement vector in unit of the half pixel(208).

Description

영상데이타의 압축 부호화를 위한 두계층 움직임 추정장치 및 그 방법Two-layer Motion Estimation Apparatus and Method for Compression Coding of Image Data

제1도는 일반적인 영상 압축용 인코더 시스템의 구성도.1 is a configuration diagram of an encoder system for general video compression.

제2도는 본 발명의 제어흐름도.2 is a control flowchart of the present invention.

제3도는 본 발명에 의한 움직임 추정부의 구성도.3 is a block diagram of a motion estimation unit according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 입력영상 저장부 2 : 이산여현 변환부1: Input image storage unit 2: Discrete cosine conversion unit

3 : 양자화기 4 : 역양자화기3: quantizer 4: inverse quantizer

5 : 역이산여현 변환부 6 : 재생영상 저장부5: Inverse discrete cosine converting unit 6: Playback image storage unit

7 : 움직임 보상부 8 : 움직임 추정부7: motion compensation unit 8: motion estimation unit

9 : 가변장 부호화기 10 : 부호화부9 variable length encoder 10 encoder

11, 25 : 수평 추림부 12, 26 : 수평·수직 추림부11, 25: horizontal jogger 12, 26: horizontal jogger

13∼17 : 블럭정합부 18, 20, 21, 23 : 반화소 추정부13 to 17: block matching unit 18, 20, 21, 23: half pixel estimation unit

19, 22, 27 : 비교부 28 : 수평·수직 보간부19, 22, 27: comparison unit 28: horizontal and vertical interpolation unit

본 발명은 움직임 추정장치 및 그 방법에 관한 것으로, 특히 움직임 추정의 계산량을 절감하기 위해 입력되는 영상테이타를 추림(Decimation)하고, 추림된 화소단위의 움직임 추정을 주어진 탐색영역에서 1차적으로 수행하며, 추림된 영상데이타로 부터 발생한 움직임 벡터의 정확도를 보상하기 위해 원래의 화소단위로 영상데이타를 보간하고 국부적인 영역에서 2차적 움직임 추적을 하여 최종적인 반화소 단위의 움직임 추정을 수행하는 영상데이타의 압축 부호화를 위한 두계층 움직임 추정장치 및 그 방법에 관한 것이다.The present invention relates to a motion estimation apparatus and a method thereof, and in particular, to decipher the input image data in order to reduce the calculation amount of the motion estimation, and to perform the motion estimation of the deduced pixel unit primarily in a given search region. In order to compensate for the accuracy of the motion vector generated from the deduced image data, the image data is interpolated in the original pixel unit and the secondary motion tracking is performed in the local region to perform the final half pixel motion estimation. The present invention relates to a two-layer motion estimation apparatus for compression coding and a method thereof.

제1도는 일반적인 영상 압축용 인코더 시스템을 나타낸 것으로, 입력되는 디지탈 형식의 원영상은 입력영상 저장부(1)에 프레임 단위로 저장되고, 움직임 추정부(8)에서는 상기 입력영상 저장부(1)에 저장되어 있는 영상데이타와 재생영상 저장부(6)에 저장되어 있는 재생영상인 과거 프레임 데이타 또는 양방향 예측인 경우에는 과거 또는 미래 프레임 데이타를 이용하여 매크로 블럭단위로 움직임 벡터를 계산한다.FIG. 1 illustrates a general image compression encoder system. The input digital image is stored in the input image storage unit 1 frame by frame, and the motion estimation unit 8 stores the input image storage unit 1. In the case of the past frame data or the bidirectional prediction, which is the playback data stored in the video data and the playback video storage unit 6, the motion vector is calculated in units of macro blocks using the past or future frame data.

상기와 같이 움직임 추정부(8)에서 계산된 움직임 벡터는 움직임 보상부(7)로 보내져 움직임이 보상된 후, 입력영상 저장부(1)에 저장되어 있는 원영상과 함께 이산여현 변환부(DCT L Discrete Cosine Transform)(2)로 인가된다. 이에따라 이산여현 변환부(DCT)(3)는 원영상과 움직임 보상된 영상과의 차를 주파수 변환하여 양자화기(3)로 출력한다.As described above, the motion vector calculated by the motion estimator 8 is sent to the motion compensator 7 to compensate for the motion, and then the discrete cosine transform unit (DCT) together with the original image stored in the input image storage unit 1. L Discrete Cosine Transform) (2). Accordingly, the discrete cosine transforming unit (DCT) 3 converts the difference between the original image and the motion compensated image and outputs the frequency to the quantizer 3.

양자화기(3)는 정송로에서 요구되는 비트율에 따라 상기 이산여현 변환부(DCT)(3)의 출력을 양자화하고 그 결과를 가변장 부호기(9)를 거쳐 송신부로 출력한다.The quantizer 3 quantizes the output of the discrete cosine transforming unit (DCT) 3 according to the bit rate required in the fixed path, and outputs the result to the transmitting unit through the variable length encoder 9.

한편, 양자화기(3)의 출력 데이타는 역양자화기(4)와, 역이산여현 변환부(ICT)(5)를 거쳐 움직임 보상부(7)의 출력인 움직임이 보상된 영상과 합쳐져 재생영상 저장부(6)에 저장된다.On the other hand, the output data of the quantizer 3 is combined with the video whose motion is compensated for by the inverse quantizer 4 and the inverse discrete cosine transform unit (ICT) 5 and the output of the motion compensator 7 is reproduced. It is stored in the storage unit 6.

상기와 같은 영상 압축용 인코더 시스템에 있어서, 움직임 추정부(8)는 연속된 영상 프레임간의 중복성을 제거하여 전송해야하는 데이타율을 감소시키는데 주요한 역활을 담당한다.In the encoder system for image compression as described above, the motion estimation unit 8 plays a major role in reducing the data rate to be transmitted by removing redundancy between successive image frames.

MPEG-2에 의거하여 만들어지고 있는 종래의 시스템들은 필드/프레임 예측방법(field/frame adaptivemotion estimation and comp ensation)을 사용하는데 정수단위의 움직임 추정을 위해 전역 탐색, 계층적 탐색 또는 그외의 효율적 탐색 방법을 사용하여 원영상의 움직임 벡터를 구하고, 그 결과를 이용하여 주변 9점에 대한 반화소 추정을 한다.Conventional systems made based on MPEG-2 use field / frame adaptive motion estimation and compensation, which are global search, hierarchical search, or other efficient search method for integer motion estimation. We calculate the motion vector of the original image by using, and estimate the half-pixels for the surrounding 9 points using the result.

그러나, 전역 탐색방법은 탐색을 위해 과도한 계산량이 요구됨에 따라 탐색영역을 필요한 만큼 충분히 크게 하지 못한다는 문제점이 있고, 계층적 탐색과 그외의 효율적 탐색방법은 탐색을 위한 계산량은 줄어드나 정수화소 단위의 움직임 추정에서 발생한 추정오차를 반화소 단위 추정단계에서 보상해 주지 못한다는 문제점이 있었다.However, the global search method has a problem that the search area cannot be made large enough as necessary because an excessive amount of computation is required for the search. The hierarchical search and other efficient search methods reduce the calculation amount for the search, There was a problem that the estimation error caused by the motion estimation could not be compensated in the half-pixel unit estimation step.

이에 본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로, 움직임 추정의 계산량을 절감하기 위해 입려되는 영상데이타를 추림(Decimation)하고, 추림된 화소단위의 움직임 추정을 주어진 탐색 영역에서 1차적으로 수행하며, 추림된 영상데이타로 부터 발생한 움직임 벡터의 정확도를 보상하기 위해 원래의 화소단위로 영상데이타를 보간하고 국부적인 영역에서 2차적 움직임 추정을 하여 최종적인 반화소 단위의 움직임 추정을 수행하는 영상데이타의 압축 부호화를 위한 두계층 움직임 추정장치 및 그 방법을 제공하는 것을 목적으로 한다.Accordingly, the present invention has been made to solve the above problems, it is to deduce the image data that is applied to reduce the calculation amount of the motion estimation, and to estimate the motion of the estimated pixel unit in the given search region In order to compensate for the accuracy of the motion vector generated from the deduced image data, the image data is interpolated in the original pixel unit and the second motion estimation is performed in the local region to perform the motion estimation of the final half pixel unit. An object of the present invention is to provide a two-layer motion estimation apparatus for compressing and encoding data and a method thereof.

상기와 같은 목적을 달성하기 위하여 본 발명은, 영상 압축용 인코더 시스템에 있어서, 입력되는 원영상 및 기준영상의 필드 데이타를 각각 수평방향으로 적정값으로 추림하여 필드1(odd field), 필드2(even field) 탐색영역 및 기준블럭 데이타를 생성하는 제1추림수단과, 상기 입력되는 원영상 및 기준영상의 프레임 데이타를 수평·수직 방향으로 적정값으로 추림하여 프레임 탐색영역 및 기준블럭 데이타를 생성하는 제2 추림수단과, 상기 제1추림수단과 제2추림수단에서 출력되는 필드1, 필드2 탐색영역 및 기준블럭 데이타와 프레임 탐색영역 및 기준블럭 데이타를 각각 인가받아 전역탐색하여 움직임 벡터를 생성하는 블럭정합수단과, 재생영상을 수평·수직방향으로 적정값으로 보간하는 보간수단과, 상기 보간수단에서 보간된 재생영상과 상기 블럭정합수단에서 출력되는 움직임 벡터를 인가받아 전역탐색하고 추정오차를 산출하는 반화소 추정수단과, 상기 반화소 추정수단에서 얻어지는 추정오차를 비교하여 필드1, 필드2에 대한 움직임 벡터 및 추정오차를 산출하는 제1비교수단과, 상기 제1비교수단에서 산출된 필드1, 필드2에 대한 움직임 벡터와 추정오차 및 프레임에 대한 움직임 벡터와 추정오차를 비교하여 최종 움직임 벡터를 출려하는 제2비교수단으로 이루어진 움직임 추정부를 포함하는 것을 특징으로 한다.In order to achieve the above object, according to the present invention, in the image compression encoder system, field 1 and field 2 (the field data of the input original image and the reference image are respectively deduced by appropriate values in the horizontal direction). even field) first frame means for generating the search region and the reference block data, and frame data of the input original image and the reference image are deduced by appropriate values in the horizontal and vertical directions to generate the frame search region and the reference block data. Generating a motion vector by performing a global search by receiving the second extraction means, the field 1, the field 2 search region and the reference block data, and the frame search region and the reference block data output from the first extraction means and the second extraction means, respectively. Block matching means, interpolation means for interpolating a reproduced image to an appropriate value in the horizontal and vertical directions, and the block image interpolated with the reproduced image interpolated by the interpolation means. A half-pixel estimating means for receiving a motion vector output from the means for global search and calculating an estimated error, and comparing the estimated error obtained from the half-pixel estimating means to calculate a motion vector and an estimated error for fields 1 and 2; A first comparison means and a second comparison means for comparing a motion vector with respect to the fields 1 and 2 calculated from the first comparison means and an estimated error and a motion vector with respect to the frame and an estimated error to produce a final motion vector. And a motion estimating unit.

또한, 상기와 같은 구성을 갖는 영상압축용 인코더 시스템에 있어서, 입력되는 영상데이타가 필드 데이타인지 프레임 데이타인지 판단하는 제1단계와, 상기 단계에서 입력되는 영상데이타가 필드 데이타이면 입력되는 영상데이타를 수평방향으로 적정값으로 추림하고, 입력되는 영상데이타가 프레임 데이타이면 입력되는 영상데이타를 수평·수직방향으로 적정값으로 추림하여 탐색영역과 기준블럭 데이타를 생성하는 제2단계와, 상기 단계에서 생성된 탐생영역과 기준블럭 데이타를 통해 전역탐색하여 정수화소단위 움직임 벡터를 생성하는 제3단계와, 상기 단계에서 생성된 움직임 벡터가 허용범위를 초과하지 않도록 조정하는 제4단계와, 재생영상을 보간하여 반화소 단위의 탐색영역을 구성하고 전역탐색하여 반화소단위 움직임 벡터츨 생성하는 제5단계를 통해 움직임 추정이 이루어지는 것을 특징으로 한다.In the video compression encoder system, the first step of determining whether the input image data is the field data or the frame data, and if the image data input in the step is the field data, input the image data. A second step of generating a search region and reference block data by deducting the proper value in the horizontal direction and inputting the image data to the proper value in the horizontal and vertical directions if the input image data is the frame data; A third step of generating an integer pixel unit motion vector through global search using the searched detection area and the reference block data, a fourth step of adjusting the motion vector generated in the step not to exceed the allowable range, and interpolating the playback image. Compose half search unit and search globally to generate half pixel unit motion vector. The motion estimation is performed through the fifth step.

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

본 발명은 격행주사(interlaced)된 영상에 적용되는 2단계 계층 탐색 방법으로서, 각 매크로블럭에 대한 필드 및 프레임별 정수화소 단위의 움직임 추정 및 반화소 단위의 움직임 추정을 수행한다.The present invention is a two-stage hierarchical search method applied to an interlaced image, and performs motion estimation in units of integer and pixel units for each macroblock and half pixel unit for each macroblock.

제2도는 본 발명의 제어흐름도로, 입력되는 영상데이타가 필드인지 프레임인지 판단하여(201) 필드 데이타, 즉 기수(odd) 또는 우수(even) 필드의 데이타이면 원영상의 탐색영역과 기준영상을 수평방향으로 1/2 추림하여 탐색영역과 기준블럭 데이타를 만들고(202,203) 입력되는 영상데이타가 프레임 데이타이면 원영상과 기준영상을 수평·수직방향으로 1/2 추림하여 탐색영역과 기준블럭 데이타를 만든다(204).FIG. 2 is a control flow diagram of the present invention, and it is determined whether the input image data is a field or a frame (201). If the field data, that is, the odd or even field data, the search region and the reference image of the original image are determined. The search area and the reference block data are made by halving in the horizontal direction (202, 203). If the input image data is frame data, the search area and the reference block data are reduced by halving the original image and the reference image in the horizontal and vertical directions. (204)

즉, 필드 데이타에 대해서는 다음의 식을 통해 원영상과 기준영상을 수평방향으로 1/2 추림한다.That is, for the field data, the original image and the reference image are delineated 1/2 in the horizontal direction by the following equation.

f(x, y)=[f(2x, y)+f(2x+1, y)]/2f (x, y) = [f (2x, y) + f (2x + 1, y)] / 2

여기서, x는 화소의 수평방향 좌표이고, y는 화소의 수직방향 좌표이며, f(x,y)는 좌표위치 (x, y)에서의 화소값이다.Here, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel, and f (x, y) is the pixel value at the coordinate position (x, y).

그리고, 프레임 데이타에 대해서는 다음의 식을 통해 원영상을 1/4로 즉, 수평·수직방향으로 각각 1/2 추림한다.For the frame data, the original image is rounded down to 1/4, i.e., in the horizontal and vertical directions, respectively, by the following equation.

f(x, y)=[f(2x, 2y)+f(2x+1, 2y)+f(2x, 2y+1)+f(2x+1, 2y+1)]/4f (x, y) = [f (2x, 2y) + f (2x + 1, 2y) + f (2x, 2y + 1) + f (2x + 1, 2y + 1)] / 4

상기와 같이 추림된 데이타에 대해 전역탐색을 실시하여 정수 화소단위 움직임 벡터를 생성한다(205).The global search is performed on the data deduced as described above to generate an integer pixel-based motion vector (205).

한편, 전역탐색이 실시될 탐색영역은 필드, 프레임에 대해 수직,수평방향으로 크기가 동일하도록 하며 또한, 기준블럭의 크기도 동일하게 하여, 필드 프레임 모두 (8×8)화소로 한다.On the other hand, the search area to be subjected to the global search has the same size in the vertical and horizontal directions with respect to the field and the frame, and the size of the reference block is the same, so that all the field frames are (8x8) pixels.

상기와 같이 생성된 움직임 벡터값이 허용된 움직임 탐색영역의 가장자리에 있는 경우에는 반화소 탐색영역이 전체 탐색영역을 벗어날 수 있으므로 이를 방지하기 위해 움직임 벡터값을 조정한다(206)If the motion vector value generated as described above is located at the edge of the allowed motion search region, the half pixel search region may be out of the entire search region, and thus the motion vector value is adjusted to prevent this.

반화소 탐색영역이 전체 탐색영역내에 존재하도록 움직임 벡터값의 조정이 완료되면 부호화부(10)에서 재생된 데이타로 부터 반화소 위치가 보간된 탐색영역 데이타를 구하고(207) 전역탐색을 수행하여 반화소 단위 움직임 벡터를 생성한다.When the adjustment of the motion vector value is completed so that the half-pixel search region exists in the entire search region, the search region data obtained by interpolating the half-pixel position is obtained from the data reproduced by the encoder 10 (207). Generate a pixel-by-pixel motion vector.

재생영상 데이타의 보간은 다음의 식을 통해 수행한다.Interpolation of the reproduced image data is performed by the following equation.

f(x+0.5, y)=[f(x, y)+f(x+1, y)]/2f (x + 0.5, y) = [f (x, y) + f (x + 1, y)] / 2

f(x, y+0.5)=[f(x, y)+f(x, y+1)]/2f (x, y + 0.5) = [f (x, y) + f (x, y + 1)] / 2

f(x+0.5, y+0.5)=[f(x, y)+f(x+1, y)+f(x, y+1)+f(x+1, y+1)]/4f (x + 0.5, y + 0.5) = [f (x, y) + f (x + 1, y) + f (x, y + 1) + f (x + 1, y + 1)] / 4

상기와 같이 보간된 탐색영역은 수직·수평 모두 -4∼+3.5화소롤 하고 기준블럭 크기는 필드의 경우에는 16×8화소로, 프레임의 경우에는 16×16화소로 한다.The search area interpolated as above is -4 to +3.5 pixels in both vertical and horizontal, and the reference block size is 16x8 pixels in the field and 16x16 pixels in the frame.

상기와 같은 알고리즘을 사용한 움직임 추정부의 일실시예를 제3도에 도시하였다.An embodiment of the motion estimation unit using the above algorithm is illustrated in FIG. 3.

우선 1단계 탐색을 위하여 수평 1/2 추림부(11)를 통해 원영상의 탐색영역을 수평방향으로 1/2 추림하여 필드1(odd field)과 필드2(even field)의 탐색영역 데이타를 생성하고, 또한 상기 원영상을 수평,수직 1/2 추림부(12)를 통해 수평·수직방향으로 각각 1/2 추림하여 프레임 탐색영역을 생성한다.First, search area data of field 1 and field 2 are generated by horizontally extracting the search area of the original image through the horizontal 1/2 copy unit 11 for the first step search. In addition, the original image is reduced by one half in the horizontal and vertical directions through the horizontal and vertical half-folding units 12 to generate a frame search area.

한편, 기준영상도 마찬가지로 수평 1/2 추림부(25)를 통해 수평방향으로 1/2 추림하여 필드1과 필드2 기준블럭 데이타를 생성하고, 상기 기준영상을 수평,수직 1/2 추림부(26)를 통해 수평·수직방향으로 각각 1/2 추림하여 프레임 기준블럭 데이타를 생성한다.On the other hand, the reference image is also similarly deduced in the horizontal direction through the horizontal 1/2 deduction unit 25 to generate field 1 and field 2 reference block data, and the reference image is horizontally and vertically 1/2 deduction unit ( 26), frame reference block data is generated by decrementing each half in the horizontal and vertical directions.

상기 각각의 탐색영역과 기준블럭 데이타를 조합하여 5개의 블럭정합부, 즉 제1블럭정합부(13)는 필드1 탐색영역과 필드1 기준블럭의 데이타를 인가받아 블럭정합을 수행하고 제2블럭정합부(14)는 필드2 탐색영역과 필드1 기준블럭의 데이타를 인가받아 블럭정합을 수행하며 제3블럭정합부(15)는 필드1 탐색영역과 필드2 기준블럭의 데이타를 인가받아 블럭정합을 수행하고 제4블럭정합부(16)는 필드2 탐색영역과 필드2 기준블럭의 데이타를 인가받아 블럭정합을 수행하며 제5블럭정합부(17)는 프레임 탐색영역과 프레임 기준블럭 데이타를 인가받아 블럭정합을 수행하여 각각 움직임 벡터를 출력한다.By combining the respective search areas and the reference block data, five block matching units, that is, the first block matching unit 13, receives data from the field 1 search area and the field 1 reference block to perform block matching and perform the second block. The matching unit 14 receives the data of the field 2 search area and the field 1 reference block to perform block matching, and the third block matching unit 15 receives the data of the field 1 search area and the field 2 reference block and performs block matching. The fourth block matching unit 16 receives the data of the field 2 search area and the field 2 reference block to perform block matching. The fifth block matching unit 17 applies the frame search area and the frame reference block data. It performs block matching and outputs a motion vector.

상기의 블럭정합부 각각의 추정결과인 움직임 벡터와 수평·수직 1 : 2 보간부(28)에 의해 수평·수직방향으로 각각 1 : 2 보간된 재생영상 탐색영역은 제1 내지 제5반화소 추정부(18,20,21,23,24)로 인가되고 이에따라 상기 반화소 추정부는 반화소 탐색을 수행한다.The reconstructed image search area, which is the interpolation of the motion vector and the horizontal and vertical 1: 2 interpolation unit 1 and 2 in the horizontal and vertical directions, respectively, is a first to fifth half pixel value. Approved to the governments 18, 20, 21, 23, and 24, the half-pixel estimator performs a half-pixel search.

즉, 제1반화소 추정부(18)는 제1블럭정합부(13)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하고 제2반화소 추정부(20)는 제2블럭정합부(14)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하며 제3반화소 추정부(21)는 제3블럭정합부(15)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하고 제4반화소 추정부(23)는 제4블럭정합부(13)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하며 제5반화소 추정부(24)는 제5블럭정합부(17)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출한다.That is, the first half-pixel estimation unit 18 receives the motion vector output from the first block matching unit 13 and the reproduced image interpolated by the horizontal and vertical 1: 2 interpolation unit 28, and performs global search to estimate the error. The second half-pixel estimator 20 receives the motion vector output from the second block matcher 14 and the reproduced image interpolated by the horizontal and vertical 1: 2 interpolator 28, and performs a global search. The third half-pixel estimator 21 receives the motion vector output from the third block matcher 15 and the reproduced image interpolated by the horizontal and vertical 1: 2 interpolator 28 to search for the error. The fourth half-pixel estimation unit 23 receives the motion vector output from the fourth block matching unit 13 and the reproduced image interpolated by the horizontal and vertical 1: 2 interpolation unit 28, and then performs a global search. The fifth half-pixel estimator 24 calculates an estimated error, and the fifth half-pixel estimator 24 horizontally and numbers the motion vector output from the fifth block matcher 17. 1:02 to receive beam is applied to the reproduced image from the interpolation shaft 28 full search to calculate the estimated error.

상기 반화소 탐색의 결과로 얻어지는 추정오차를 비교하여 제1비교부(19)는 상기 제1반화소 추정부(18)와 제2반화소 추정부(20)에서 얻어지는 추정오차를 비교하여 필드1에 대한 움직임 벡터 및 추정오차를, 제2비교부(22)는 상기 제3반화소 추정부(21)와 제4반화소 추정부(23)에서 얻어지는 추정오차를 비교하여 필드2에 대한 움직임 벡터 및 추정오차를 산출한다, 그리고 제3비교부(27)는 최종적으로 필드1, 필드2 및 프레임에 대한 움직임 벡터 및 추정오차를 비교하여 필드 또는 프레임 예측모드를 결정하고 그에 따른 최종 움직임 벡터값을 출력한다.By comparing the estimation error obtained as a result of the half-pixel search, the first comparison unit 19 compares the estimation error obtained by the first half-pixel estimator 18 and the second half-pixel estimator 20 to field 1 The second comparison unit 22 compares the estimation error obtained by the third half-pixel estimator 21 and the fourth half-pixel estimator 23 with respect to the motion vector and the estimation error with respect to. And an estimation error, and the third comparison unit 27 finally compares the motion vector and the estimation error for the field 1, the field 2, and the frame to determine the field or frame prediction mode, and calculates the final motion vector value accordingly. Output

상기와 같이 본 발명은 입력되는 영상테이타를 추림(Decimation)하여 움직임 추정을 위한 계산량을 절감하고, 전단에서 추정된 위치를 기준으로 국부적인 영역의 데이타를 보간하여 반화소 단위의 움직임 추정을 수행함으로써 정확도를 더욱 향상시킬 수 있는 효과가 있다.As described above, the present invention reduces the computation amount for motion estimation by deciding the input image data, and performs motion estimation in units of half pixels by interpolating local area data based on the estimated position at the front end. This has the effect of further improving accuracy.

Claims (8)

영상압축용 인코더 시스템에 있어서, 입력되는 원영상 및 기준영상의 필드 데이타를 각각 수평방향으로 적정값으로 추림하여 필드1(odd field), 필드2(even field) 탐색영역 및 기준블럭 데이타를 생성하는 제1추림수단(11,25); 상기 입력되는 원영상 및 기준영상의 프레임 데이타를 수평·수직방향으로 적정값으로 추림하여 프레임 탐색영역 및 기준블럭 데이타를 생성하는 제2추림수단(12,26)에서 출력되는 필드1, 필드2 탐색영역 및 기준블럭 데이타와 프레임 탐색영역 및 기준블럭 데이타를 각각 인가받아 전역탐색하여 움직임 벡터를 생성하는 블럭정합수단(13 내지 17); 외부의 재생영상 저장부(6)에서 인가되는 재생영상을 수평·수직방향으로 적정값으로 보간하는 보간수단(28); 상기 보간수단(28)에서 보간된 재생영상과 상기 블럭정합수단(13 내지 17)에서 출력되는 움직임 벡터를 인가받아 전역탐색하고 추정오차를 산출하는 반화소 추정수단(18,20,21,23,24); 상기 반화소 추정수단에서 얻어지는 추정오차를 비교하여 필드1, 필드2에 대한 움직임 벡터 및 추정오차를 산출하는 제1비교수단(19,22); 상기 제1비교수단(19,22)에서 산출된 필드1, 필드2에 대한 움직임 벡터화 추정오차 및 상기 블럭정합수단에서 산출된 프레임에 대한 움직임 벡터와 추정오차를 비교하여 최종 움직임 벡터를 출력하는 제2비교수단(27)으로 이루어진 움직임 추정부를 포함하는 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정장치.In the video compression encoder system, field data of the input original image and the reference image are deduced by appropriate values in the horizontal direction, respectively, to generate field 1 (odd field), field 2 (even field) search area, and reference block data. First pushing means (11,25); Field 1 and Field 2 search output from the second deduction means 12 and 26 generating frame search area and reference block data by deducting the frame data of the input original image and the reference image to appropriate values in the horizontal and vertical directions. Block matching means (13 to 17) for receiving the region and the reference block data and the frame search region and the reference block data, respectively, to search globally to generate a motion vector; Interpolation means 28 for interpolating a reproduced image applied from an external reproduced image storage unit 6 to an appropriate value in the horizontal and vertical directions; Half-pixel estimation means (18, 20, 21, 23) for global search and calculation of the estimated error by receiving the interpolated video interpolated by the interpolation means (28) and the motion vectors output from the block matching means (13 to 17); 24); First comparison means (19,22) for comparing motions estimated by the half-pixel estimation means and calculating motion vectors and estimation errors for fields 1 and 2; A motion vectorization estimation error for the field 1 and the field 2 calculated by the first comparison means 19 and 22 and a motion vector and the estimation error for the frame calculated by the block matching means to output a final motion vector; A two-layer motion estimation apparatus for compressing and encoding image data, characterized in that it comprises a motion estimating unit comprising two comparison means (27). 제1항에 있어서, 상기 블럭정합수단은 필드1 탐색영역과 필드1 기준블럭의 데이타를 인가받아 블럭정합을 수행하여 움직임 벡터를 생성하는 제1블럭정합부(13); 필드2 탐색영역과 필드1 기준블럭의 데이타를 인가받아 블럭정합을 수행하여 움직임 벡터를 생성하는 제2블럭정합부(14); 필드1 탐색영역과 필드2 기준블럭의 데이타를 인가받아 블럭정합을 수행하여 움직임 벡터를 생성하는 제3블럭정합부(15); 필드2 탐색영역과 필드2 기준블럭의 데이타를 인가받아 블럭정합을 수행하여 움직임 벡터를 생성하는 제4블럭정합부(16); 프레임 탐색영역과 프레임 기준블럭 데이타를 인가받아 블럭정합을 수행하여 움직임 벡터를 생성하는 제5블럭정합부(17)를 이루어진 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정장치.2. The apparatus of claim 1, wherein the block matching unit comprises: a first block matching unit (13) for generating a motion vector by performing block matching by receiving data of the field 1 search area and the field 1 reference block; A second block matching unit 14 which receives data of the field 2 search area and the field 1 reference block and performs block matching to generate a motion vector; A third block matching unit 15 which receives data of the field 1 search area and the field 2 reference block and performs block matching to generate a motion vector; A fourth block matching unit 16 receiving data of the field 2 search area and the field 2 reference block to perform block matching to generate a motion vector; And a fifth block matching unit (17) for generating a motion vector by performing block matching upon receiving the frame search area and the frame reference block data. 제1항과 제2항에 있어서, 상기 반화소 추정수단은 제1블럭정합부(13)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하고 추정오차를 산출하고 제1반화소 추정부(18); 제2블럭정합부(14)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하며 제2반화소 추정부(19); 제3블럭정합부(15)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하여 추정오차를 산출하고 제3반화소 추정부(21); 제4블럭정합부(13)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하고 추정오차를 산출하는 제4반화소 추정부(23); 제5블럭정합부(17)에서 출력되는 움직임 벡터와 수평·수직 1 : 2 보간부(28)에서 보간된 재생영상을 인가받아 전역탐색하고 추정오차를 산출하는 제5반화소 추정부(24)로 이루어진 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정장치.The half-pixel estimating means receives a motion vector output from the first block matching unit 13 and a reproduction image interpolated by the horizontal and vertical 1: 2 interpolation unit 28. A first half pixel estimator 18 for searching and calculating an estimated error; The second half-pixel estimator 19 calculates an estimated error by receiving the motion vector output from the second block matcher 14 and the reproduced image interpolated by the horizontal and vertical interpolation unit 28 and performing global search. ; The third half-pixel estimator 21 calculates an estimated error by receiving a motion vector output from the third block matcher 15 and a reproduced image interpolated by the horizontal and vertical interpolator 28, and performing global search. ; A fourth half-pixel estimator 23 that receives a motion vector output from the fourth block matcher 13 and a reproduced image interpolated by the horizontal and vertical interpolator 28, and globally searches and calculates an estimation error. ; A fifth half-pixel estimator 24 which receives a motion vector output from the fifth block matcher 17 and a reproduced image interpolated by the horizontal and vertical interpolator 28 to search globally and calculate an estimation error Two-layer motion estimation apparatus for image data compression coding, characterized in that consisting of. 제3항에 있어서, 상기 제1비교수단은 제1반화소 추정부(18)와 제2반화소 추정부(20)에서 얻어지는 추정오차를 비교하여 필드1에 대한 움직임 벡터 및 추정오차를 산출하는 제1비교부(19)와; 상기 제3반화소 추정부(21)와 제4반화소 추정부(23)에서 얻어지는 추정오차를 비교하여 필드2에 대한 움직임 벡터 및 추정오차를 산출한는 제2비교부(22)로 이루어진 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정장치.4. The method of claim 3, wherein the first comparing means compares the estimation errors obtained by the first half pixel estimator 18 and the second half pixel estimator 20 to calculate a motion vector and an estimation error for field 1. A first comparison unit 19; And a second comparison unit 22 which calculates a motion vector and an estimation error for the field 2 by comparing the estimation errors obtained by the third half pixel estimator 21 and the fourth half pixel estimator 23. A two-layer motion estimation apparatus for video data compression coding. 입력되는 원영상 및 기준영상의 필드 데이타를 각각 수평방향으로 적정값으로 추림하여 필드1(odd field), 필드2(even field) 탐색영역 및 기준블럭 데이타를 생성하는 제1추림수단(11,23)과 상기 입력되는 원영상 및 기준영상의 프레임 데이타를 수평·수직방향으로 적정값으로 추림하여 프레임 탐색영역 및 기준블럭 데이타를 생성하는 제2추림수단(12,26)과, 상기 제1추림수단(11,25)과 제2추림수단(12,26)에서 출력되는 필드1, 필드2 탐색영역 및 기준블럭 데이타와 프레임 탐색영역 및 기준블럭 데이타를 각각 인가받아 전역탐색하여 움직임 벡터를 생성하는 블럭정합수단(13 내지 17)과, 재생영상을 수평·수직방향으로 적정값으로 보간하는 보간수단(28)과, 상기 보간수단(28)에서 보간된 재생영상과 상기 블럭정합수단(13 내지 17)에서 출력되는 움직임 벡터를 인가받아 전역탐색하고 추정오차를 산출하는 반화소 추정수단(18,20,21,23,24)과, 상기 반화소 추정수단에서 얻어지는 추정오차를 비교하여 필드1, 필드2에 대한 움직임 벡터 및 추정오차를 산출하는 제1비교수단(19,22)과, 상기 제1비교수단(19,22)에서 산출된 필드1, 필드2에 대한 움직임 벡터와 추정오차 및 상기 블럭정합수단에서 산출된 프레임에 대한 움직임 벡터와 추정오차를 비교하여 최종 움직임 벡터를 출력하는 제2비교수단(27)로 이루어진 움직임 추정부를 포함하는 영상압축용 인코더 시스템에 적용되는 움직임 추정방법에 있어서, 입력되는 영상데이타가 필드 데이타인지 프레임 데이타인지 판단하는 제1단계(201); 상기 제1단계에서 입력되는 영상데이타가 필드 데이타이면 입력되는 영상데이타를 수평방향으로 적정값으로 추림하고(202,203), 입력되는 영상데이타가 프레임 데이타이면 입력되는 영상데이타를 수평·수직방향으로 적정값으로 추림하여(204) 탐색영역과 기준블럭 데이타를 생서하는 제2단계; 상기 제2단계에서 생성된 탐색영역과 기준블럭 데이타를 통해 전역탐색하여 정수화소단위 움직임 벡터를 생성하는 제3단계(205); 상기 제3단계에서 생성된 움직임 벡터가 허용범위를 초과하지 않도록 조정하는 제4단계(206); 외부의 재생영상 저장부(6)에서 인가되는 재생영상을 보간하여 반화소 단위의 탐색영역을 구성하고 전역탐색하여 반화소단위 움직임 벡터를 생성하는 제5단계(207,208)를 포함하는 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정방법.First estimation means (11, 23) for generating field 1 (odd field), field 2 (even field) search areas, and reference block data by deducting the field data of the input original image and the reference image to appropriate values in the horizontal direction, respectively. Second sampling means (12,26) for generating a frame search region and reference block data by deducting the frame data of the input original image and the reference image to an appropriate value in the horizontal and vertical directions; A block for generating a motion vector by global search by receiving field 1, field 2 search area and reference block data, frame search area, and reference block data output from (11,25) and second extraction means (12,26), respectively. Matching means (13 to 17), interpolation means (28) for interpolating the reproduced image to an appropriate value in the horizontal and vertical directions, and the reproduced image and the block matching means (13 to 17) interpolated by the interpolation means (28). Receives the motion vector output from The half-pixel estimation means (18, 20, 21, 23, 24) which search the entire area and calculate the estimation error and the estimation error obtained by the half-pixel estimation means are compared with the motion vector and the estimation error for the field 1 and the field 2. First and second comparison means (19, 22) for calculating?, Motion vectors and estimated errors for fields 1 and 2 calculated by the first comparison means (19, 22), and for frames calculated by the block matching means; In a motion estimation method applied to an image compression encoder system including a motion estimation unit including a second comparison means 27 for comparing a motion vector and an estimation error and outputting a final motion vector, the input image data is field data. A first step 201 of determining whether the data is frame data; If the image data input in the first step is field data, the input image data is deduced to an appropriate value in the horizontal direction (202, 203). If the input image data is frame data, the input image data is an appropriate value in the horizontal and vertical directions. A second step of generating a search region and reference block data by inferring (204); A third step (205) of generating an integer pixel unit motion vector by performing a global search through the search area and the reference block data generated in the second step; A fourth step (206) of adjusting the motion vector generated in the third step not to exceed an allowable range; And a fifth step (207, 208) of constructing a half pixel unit search region by interpolating the playback image applied from the external playback image storage unit 6 and generating a half pixel unit motion vector by global search. A two-layer motion estimation method for image data compression coding. 제5항에 있어서, 상기 제2단계에서 추림될 데이타가 필드 데이타이면 f(x, y)=[f(2x, y)+f(2x+1, y)]/2에 의해추림되는 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정방법.6. The image of claim 5, wherein if the data to be deduced in the second step is field data, the image is deduced by f (x, y) = [f (2x, y) + f (2x + 1, y)] / 2. Two-layer motion estimation method for data compression coding. 제 5항에 있어서, 상기 제2단계에서 추림될 데이타가 프레임 데이타라면 f(x, y)=[f(2x, 2y)+f(2x+1, 2y)+f(2x, 2y)+1)+f(2x+1, 2y+1)]/4에 의해 추림되는 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정방법.The method according to claim 5, wherein if the data to be deduced in the second step is frame data, f (x, y) = [f (2x, 2y) + f (2x + 1, 2y) + f (2x, 2y) + 1) + f ( A two-layer motion estimation method for video data compression coding, which is rounded by 2x + 1, 2y + 1)] / 4. 제5항에 있어서, 상기 제5단계에서 재생영상 데이타 보간이The method of claim 5, wherein the interpolated playback image data in the fifth step f(x+0.5, y)=[f(x, y)+f(x+1, y)]/2f (x + 0.5, y) = [f (x, y) + f (x + 1, y)] / 2 f(x, y+0.5)=[f(x, y)+f(x, y+1)]/2f (x, y + 0.5) = [f (x, y) + f (x, y + 1)] / 2 f(x+0.5, y +0.5)=[f(x, y)+f(x+1, y)+f(x, y+1)+f(x+1, y+1)]/4f (x + 0.5, y + 0.5) = [f (x, y) + f (x + 1, y) + f (x, y + 1) + f (x + 1, y + 1)] / 4 에 의해 이루어진 것을 특징으로 하는 영상데이타 압축 부호화를 위한 두계층 움직임 추정방법.A two-layer motion estimation method for video data compression encoding, characterized by comprising:
KR1019940015284A 1994-06-29 1994-06-29 Two layer motion estimation apparatus and method for image data compression KR970010096B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940015284A KR970010096B1 (en) 1994-06-29 1994-06-29 Two layer motion estimation apparatus and method for image data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940015284A KR970010096B1 (en) 1994-06-29 1994-06-29 Two layer motion estimation apparatus and method for image data compression

Publications (2)

Publication Number Publication Date
KR960003409A KR960003409A (en) 1996-01-26
KR970010096B1 true KR970010096B1 (en) 1997-06-21

Family

ID=19386720

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940015284A KR970010096B1 (en) 1994-06-29 1994-06-29 Two layer motion estimation apparatus and method for image data compression

Country Status (1)

Country Link
KR (1) KR970010096B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101766010B1 (en) 2015-04-29 2017-08-08 (주)예네 High Efficiency Reciprocating Piston Electro-Magnetic Pump

Also Published As

Publication number Publication date
KR960003409A (en) 1996-01-26

Similar Documents

Publication Publication Date Title
US5617144A (en) Image processing system using pixel-by-pixel motion estimation and frame decimation
JP3183155B2 (en) Image decoding apparatus and image decoding method
US5565922A (en) Motion compensation for interlaced digital video signals
KR960010198B1 (en) Motion estimation apparatus and method for moving image encoder
JPH08242453A (en) Movement vector presumption device
JPH08265780A (en) Method and apparatus for coding/decoding video signal
US5654761A (en) Image processing system using pixel-by-pixel motion estimation and frame decimation
KR0154921B1 (en) Motion estimation device of video encoding apparatus
JPH0974569A (en) Method and apparatus for determining optimum movement vector
JP3681784B2 (en) Video signal encoding device
US5790207A (en) Motion compensation method for use in an image encoding system
EP0577418A2 (en) Apparatus for motion compensation coding of digital video signal
Patel et al. Review and comparative study of Motion estimation techniques to reduce complexity in video compression
KR970010096B1 (en) Two layer motion estimation apparatus and method for image data compression
US6968009B1 (en) System and method of finding motion vectors in MPEG-2 video using motion estimation algorithm which employs scaled frames
JPH08265768A (en) Movement vector determination method
US6023298A (en) Video signal encoding system using a current frame prediction apparatus
KR0152014B1 (en) Method and apparauts for moving estimation in image data compression
KR100203638B1 (en) Method for estimating motion using half-pixel by half-pixel
KR100457065B1 (en) Motion vector generator for video signals
JP2765528B2 (en) Half-pixel accuracy motion vector search device
Gupta et al. Novel algorithm to reduce the complexity of quarter-pixel motion estimation
JP2596352B2 (en) Decimal precision motion vector search device
KR100238891B1 (en) Improved motion estimator and estimation method thereof
KR100207397B1 (en) Method and apparatus for estimating motion of image in image encoder

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030901

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee