KR100286818B1 - Fast motion estimating method for real-time video coding - Google Patents

Fast motion estimating method for real-time video coding Download PDF

Info

Publication number
KR100286818B1
KR100286818B1 KR1019990004795A KR19990004795A KR100286818B1 KR 100286818 B1 KR100286818 B1 KR 100286818B1 KR 1019990004795 A KR1019990004795 A KR 1019990004795A KR 19990004795 A KR19990004795 A KR 19990004795A KR 100286818 B1 KR100286818 B1 KR 100286818B1
Authority
KR
South Korea
Prior art keywords
sad
search
search point
minimum value
point
Prior art date
Application number
KR1019990004795A
Other languages
Korean (ko)
Other versions
KR20000055899A (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 KR1019990004795A priority Critical patent/KR100286818B1/en
Publication of KR20000055899A publication Critical patent/KR20000055899A/en
Application granted granted Critical
Publication of KR100286818B1 publication Critical patent/KR100286818B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/48Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Abstract

본 발명은 영상데이타를 압축하는 장치에서 실시간 영상압축을 위한 고속 움직임 예측방법에 관한 것으로, 본 발명에 의하면, 단일모드 에러표면가정(UESA)을 이용한 삼단계 검색방법을 검색점의 갯수를 감소할 수 있도록 개선하고, 이 개선된 방법에 정합에러에 대한 임계치(Threshold)와 부분에러합을 갖는 중간멈춤(half-stop)방법을 적절하게 적용함으로써, 고속 움직임 예측이 가능하다고, 예측화질을 기존의 삼단계 검색방법에 의한 예측화질과 거의 동일하게 유지하면서 검색점 감소로 인한 고속계산이 가능하게 되어 소프트웨어를 기반으로하는 실시간 시스템에 응용할 수 있는 것이다.The present invention relates to a fast motion prediction method for real-time video compression in an apparatus for compressing video data. According to the present invention, a three-step search method using a single mode error surface assumption (UESA) can reduce the number of search points. In this improved method, the high-speed motion prediction is possible by applying the half-stop method with a threshold and partial error for matching error to the improved method. It is possible to apply to software based real-time system, because it is possible to make high-speed calculation by reducing search point while maintaining almost the same as predicted picture quality by three-stage retrieval method.

Description

실시간 영상압축을 위한 고속 움직임 예측방법{FAST MOTION ESTIMATING METHOD FOR REAL-TIME VIDEO CODING}Fast Motion Prediction Method for Real-time Image Compression {FAST MOTION ESTIMATING METHOD FOR REAL-TIME VIDEO CODING}

본 발명은 영상데이타를 압축하는 장치에서 실시간 영상압축을 위한 고속 움직임 예측방법에 관한 것으로, 특히 단일모드 에러표면가정(UESA)을 이용한 삼단계 검색방법을 검색점의 갯수를 감소할 수 있도록 개선하고, 이 개선된 방법에 정합에러에 대한 임계치(Threshold)와 부분에러합을 갖는 중간멈춤(half-stop)방법을 적절하게 적용한 실시간 영상압축을 위한 고속 움직임 예측방법에 관한 것이다.The present invention relates to a fast motion prediction method for real-time image compression in an apparatus for compressing image data. In particular, the three-stage retrieval method using a single mode error surface assumption (UESA) can be improved to reduce the number of search points. In addition, the present invention relates to a fast motion prediction method for real-time image compression, in which a half-stop method having a threshold and a partial error for a matching error is appropriately applied to the improved method.

일반적으로, 영상의 데이타는 음성이나 문자데이타에 비해서 그 데이타량이 엄청나게 방대하기 때문에 이 영상데이타를 압축하지 않으면 실시간처리가 불가능하게 된다.In general, video data has a huge amount of data compared to audio and text data, and thus real-time processing is impossible unless this video data is compressed.

이와같이 영상데이타를 소정의 방법으로 압축함으로써, 저장이나 전송에 있어서 영상신호의 실시간처리가 가능하게 되는데, 현재 영상을 압축하기 위한 국제표준에 있어서, 정지영상표준에는 JPEG, 동영상표준에는 텔레비젼방송에 이용되는 MPEG1, 위성방송에 이용되는 MPEG2 및 저속의 비트율 전송을 위해 현재 개발중인 MPEG4가 있다.By compressing the image data in a predetermined manner as described above, real-time processing of the image signal is possible in storage and transmission. In the international standard for compressing the current image, JPEG is used for the still image standard, and television is used for the video standard. MPEG1, MPEG2 used for satellite broadcasting, and MPEG4 currently under development for low bit rate transmission.

한편, 영상데이타의 압축은 중복데이타를 제거함에 의해 달성되는데, 이 데이터의 중복은 영상정보에 해당하는 데이터와 이 영상정보를 표현하는 데이터가 서로 다름에 기인한다.On the other hand, the compression of the image data is achieved by eliminating duplicate data, which is due to the difference between the data corresponding to the image information and the data representing the image information.

이와같은 데이터중복에는 한 프레임 이미지내에서의 공간적 중복, 확률적 중복과, 프레임 이미지간의 시간적 중복이 있으며, 먼저, 공간적 중복은 인접 화소간 값의 유사성에서 기인하는 것으로, 이는 임의의 화소값과 그 주위의 화소값들이 서로 유사한 값을 가지는 것을 말하며, 이 공간적 중복의 처리는 이산코사인변환(DCT:Discrete Cosine Transform)을 이용하며, 이 변환은 영상의 정보를 프레임 이미지의 좌측상부에 모이게 한다.Such data duplication includes spatial overlap, stochastic overlap, and temporal overlap between frame images. First, spatial overlap results from the similarity of values between adjacent pixels. The neighboring pixel values are similar to each other. This spatial overlap processing uses a discrete cosine transform (DCT), which transforms the information of the image into the upper left of the frame image.

다음으로, 확률적 중복은 심볼의 유사성에 기인하는 것으로, 이는 데이터가 확률적으로 고르게 분포되어 있지 않고 임의의 심블이 인접 심블들과 서로 유사한 값을 가지는 것을 말하며, 이 확률적 중복의 처리는 엔트로피코딩방식인 가변길이코딩(Variable Length Coding)을 이용하며, 이 가변길이코딩은 심블의 크기에 비례하는 크기의 비트를 할당한다.Next, the probabilistic overlap is due to the similarity of the symbols, which means that the data are not evenly distributed evenly, and that any symbol has a similar value to neighboring thimbles, and the processing of the stochastic overlap is entropy. Variable length coding (Variable Length Coding) is used, and the variable length coding allocates bits having a size proportional to the size of the thimble.

마지막으로, 시간적 중복은 현재 프레임 이미지와 이전 프레임 이미지간의 유사성에 기인하는 것으로, 이 시간적 중복의 처리는 움직임예측/움직임보상(ME:Motion Estimation/MC:Motion Conpensation)을 이용하는데, 이 움직임 예측은 현재 프레임 이미지와 이전 프레임 이미지간의 움직임벡터를 검출하고, 이 검출된 움직임 벡터를 이용하여 움직임보상에서 새로운 프레임 이미지를 생성신후, 현재 프레임 이미지에서 생성된 프레임 이미지를 뺄셈하여 현재 프레임 이미지와 생성된 프레임 이미지간의 동일한 데이터를 제거하도록 한다.Finally, temporal overlap is due to the similarity between the current frame image and the previous frame image, and the processing of temporal overlap uses motion estimation / motion compensation (ME). Detects the motion vector between the current frame image and the previous frame image, creates a new frame image from the motion compensation using the detected motion vector, and then subtracts the frame image generated from the current frame image to generate the current frame image and the generated frame. Remove the same data between the images.

도 1은 일반적인 영상데이타 송수신시스템의 전체구성도로서, 도 1을 참조하면, 영상데이타 송수신시스템은 영상데이타를 압축하여 송신하는 영상데이타 송신기(100)와, 이 영상데이타 송신기(100)에서 영상신호를 수신하여 수신기로 송신하는 위성(1)과, 이 위성(1)으로부터의 영상신호를 수신하여 압축을 풀어 원래의 영상데이타로 복원하는 영상데이타 수신기(200)로 이루어져 있다.FIG. 1 is an overall configuration diagram of a general video data transmission / reception system. Referring to FIG. 1, a video data transmission / reception system compresses and transmits video data, and a video signal transmitted from the video data transmitter 100. It consists of a satellite (1) for receiving and transmitting to the receiver, and a video data receiver (200) for receiving the video signal from the satellite (1), decompressing, and restoring the original video data.

상기 영상데이타 송신기(100)는 영상데이타와 사운드데이타를 압출하는 MPEG 소스엔코더(110)와, 텍스트를 압축하는 텍스트 엔코더(130)와, 상기 엔코딩된 데이터에 채널정보를 포함시켜 노이즈문제 해결을 위한 채널 엔코더(150)와, 이 엔코딩된 데이터를 변조하는 RF부(170)를 포함하고 있다.The image data transmitter 100 includes an MPEG source encoder 110 for extruding image data and sound data, a text encoder 130 for compressing text, and channel information in the encoded data to solve the noise problem. And a channel encoder 150, and an RF unit 170 for modulating the encoded data.

그리고, 상기 영상데이타 수신기(200)는 위성(1)으로부터의 영상신호를 반송파제거를 통해서 베이스밴드의 영상데이타로 복원하는 베이스밴드 처리부(210)와, 이 베이스밴드 처리부(210)의 영상데이타에 대한 에러검출,정정 및 복원을 수행하는 채널디코더(220)와, 이 채널디코더(220)의 영상데이타에 대한 압축을 풀어 원래의 영상데이타로 복원하는 MPEG디코더(230)로 이루어져 있다.In addition, the video data receiver 200 includes a baseband processor 210 for restoring the video signal from the satellite 1 to the video data of the baseband through carrier removal, and the video data of the baseband processor 210. The channel decoder 220 performs error detection, correction, and reconstruction, and the MPEG decoder 230 decompresses the image data of the channel decoder 220 and restores the original image data.

도 2는 도1에 도시된 송신기에 포함된 MPEG 소스 엔코더의 내부 블록도로서,FIG. 2 is an internal block diagram of an MPEG source encoder included in the transmitter shown in FIG. 1.

도 2를 참조하면, MPEG 소스 엔코더는 입력되는 한 프레임 이미지의 데이타를 8*8블럭으로 분할하는 8*8블럭킹부(111)와, 이 8*8블럭킹부(111)로부터의 현재 프레임 이미지에서 생성된 프레임 이미지를 뺄셈하는 감산기(112)와, 이 감산기(112)로부터의 현재 프레임 이미지에 대해 이산코사인변환을 수행하는 8*8 이산코사인변환기(113)와, 이 8*8 이산코사인변환기(113)로부터의 프레임 이미지를 양자화시키는 8*8 양자화기(114)와, 이 8*8 양자화기(114)로부터의 현재 프레임 이미지에 대해 가변길이코딩을 수행하는 가변길이코딩부(115)와, 상기 8*8 양자화기(114)로부터의 프레임 이미지를 역양자화시키는 8*8 역양자화기(117)와, 이 8*8 역양자화기(117)로부터의 프레임 이미지에 대해 역이산코사인변환을 수행하는 8*8 역이산코사인변환기(118)와, 이 8*8 역이산코사인변환기(118)로부터의 프레임 이미지와 생성된 프레임 이미지를 덧셈하는 덧셈기(119)와, 이 덧셈기(119)로부터의 프레임 이미지를 저장하는 프레임메모리(120)와, 상기 입력되는 한 프레임 이미지의 데이타를 16*16블럭으로 분할시키는 16*16블럭킹부(123)와, 이 16*16 블록킹부(123)로부터의 현재의 프레임 이미지와 상기 프레임메모리(120)로부터의 이전 프레임 이미지간의 화소값을 비교하는 과정을 통해서 움직임벡터를 예측하는 움직임 예측기(121)와, 상기 움직임 예측기(121)로부터의 움직임벡터를 상기 프레임메모리(120)의 프레임 이미지에 적용하여 새로운 프레임 이미지를 생성시키는 움직임보상기(122)와, 상기 8*8 가변길이코딩부(115)의 영상데이타와 움직임 예측기(121)로부터의 움직임벡터를 멀티플렉싱하는 멀티플렉서(116)를 포함하고 있다.Referring to FIG. 2, the MPEG source encoder includes an 8 * 8 blocking unit 111 for dividing data of an input frame image into 8 * 8 blocks, and the current frame image from the 8 * 8 blocking unit 111. A subtractor 112 for subtracting the generated frame image, an 8 * 8 discrete cosine transformer 113 for performing discrete cosine transform on the current frame image from the subtracter 112, and an 8 * 8 discrete cosine transformer ( An 8 * 8 quantizer 114 for quantizing the frame image from 113, a variable length coding unit 115 for performing variable length coding on the current frame image from the 8 * 8 quantizer 114, Inverse discrete cosine transform is performed on the 8 * 8 inverse quantizer 117 for inverse quantization of the frame image from the 8 * 8 quantizer 114 and the frame image from the 8 * 8 inverse quantizer 117. 8 * 8 inverse discrete cosine converter 118, and this 8 * 8 inverse discrete cosine converter 118 Adder 119 for adding the frame image from the frame and the generated frame image, a frame memory 120 for storing the frame image from the adder 119, and data of the inputted frame image 16 * 16. By comparing the pixel value between the 16 * 16 blocking unit 123 for dividing into blocks and the current frame image from the 16 * 16 blocking unit 123 and the previous frame image from the frame memory 120. A motion predictor 121 for predicting a motion vector, a motion compensator 122 for applying a motion vector from the motion predictor 121 to a frame image of the frame memory 120 to generate a new frame image, and 8 8 includes a multiplexer 116 which multiplexes the image data of the variable length coding unit 115 and the motion vector from the motion predictor 121.

한편, 하나의 프레임 이미지의 해상도(가로 화소수*세로 화소수)는 720*480, 1192*1080등으로 그 종류는 다양하며, 이와같은 프레임 이미지에 있어서 현재의 프레임 이미지와 이전의 프레임 이미지간의 움직임 벡터를 예측하는 움직임 예측기에서는 하나의 프레임 이미지를 16*16의 화소를 포함하는 블록으로 분할하여 하나의 프레임 이미지를 블록단위로 처리한다.On the other hand, the resolution of one frame image (the number of horizontal pixels * the number of vertical pixels) is 720 * 480, 1192 * 1080, etc. The types are various, and the movement between the current frame image and the previous frame image in such a frame image In the motion predictor for predicting a vector, one frame image is divided into blocks including 16 * 16 pixels, and one frame image is processed in units of blocks.

이와같은 움직임 예측기(121)는 현재 프렘임 이미지(f(t))의 화소값과 이전 프레임 이미지(f(t-1))의 화소값을 비교하여 움직임변화에 대한 방향을 예측하는데, 이에 대한 동작을 하기에 구체적으로 설명한다.The motion predictor 121 compares the pixel value of the current frame image f (t) with the pixel value of the previous frame image f (t-1) and predicts the direction of the motion change. The operation is described in detail below.

도 3은 블록화된 프레임 이미지 예시도로서, 도 2의 16*16블럭킹부(123)에서는 MPEG규약에 따라 하나의 프레임 이미지를 16*16의 화소를 포함하는 블록(이하,'16*16블럭'이라 한다)단위로 분할하는데, 이와같이 블록화된 프레임 이미지에 대한 예시도가 도 3에 도시되어 있다.FIG. 3 is a block diagram illustrating an example of a block image. In the 16 * 16 blocking unit 123 of FIG. 2, a block including 16 * 16 pixels in one frame image according to MPEG protocol (hereinafter, referred to as “16 * 16 blocks”) is described. A block diagram of the frame image thus blocked is shown in FIG. 3.

도 4는 도 3의 프레임 이미지의 부분 블럭화된 현재 프레임 이미지도로서, 도 4에는 임의의 현재블럭(B(t)22)을 중심으로 8개의 블록, 총 9개의 부분 블록을 포함하는 현재 프레임 이미지(f(t))가 도시되어 있으며, 도 5는 도 4의 현재 프레임 이미지에 대응되는 블럭을 포함하는 이전 프레임 이미지도로서, 도 5에서는 도 4의 현재블럭(B(t)22)에 대응하는 블록(B(t-1)22)을 중심으로 8개의 블록, 총 9개의 블록을 포함하는 이전 프레임 이미지(f(t-1))가 되시 되어 있다. 그리고 도 5에서 점선부분은 현재블럭(B(t)22)과 동일한 블록을 복수개 포함하고 있는 검색창(SRW)으로서, 이 검색창(SRW)은 대략 초당 24프레임의 이미지에 있어서 연속되는 두 프레임 이미지 사이에서 움직임의 이동가능한 범위를 고려하여 결정하는 것으로, 일반적으로 해당블록(B(t-1)22)에 확장범위(±블럭크기/2)가 적용된다.FIG. 4 is a partially blocked current frame image diagram of the frame image of FIG. 3. In FIG. 4, a current frame image including eight partial blocks and a total of nine partial blocks around an arbitrary current block B (t) 22 is illustrated in FIG. 4. (f (t)) is shown, and FIG. 5 is a previous frame image diagram including blocks corresponding to the current frame image of FIG. 4, and FIG. 5 corresponds to the current block B (t) 22 of FIG. 4. The previous frame image f (t-1) including eight blocks and a total of nine blocks centering on the block B (t-1) 22 is shown. In FIG. 5, the dotted line is a search window SRW including a plurality of blocks identical to the current block B (t) 22, and the search window SRW is composed of two consecutive frames in an image of approximately 24 frames per second. The decision is made in consideration of the movable range of motion between the images, and in general, an extended range (± block size / 2) is applied to the corresponding block B (t-1) 22.

도 5를 참조하면, 도 2의 움직임 예측기(121)에서는 도 4의 현재블럭(B(t)22)을 도 5의 검색창(SRW)의 복수개의 블록과 각각 비교하는데, 이 비교하는 방향은 도 6a에 도시한 좌측상단에서부터 시작하여 우측하단까지, 도 6b에 도시한 바와같이 브라운관의 전자총 주사방향과 동일하며, 이와같이 현재블럭과 가장 유사한 매칭블록을 찾아서 움직임벡터를 예측하게 되는데, 이때 현재블럭과 가장 유사한 매칭블록을 찾아내는 알고리즘을 블록매칭 알고리즘이라 한다.Referring to FIG. 5, the motion predictor 121 of FIG. 2 compares the current block B (t) 22 of FIG. 4 with a plurality of blocks of the search window SRW of FIG. 5, respectively. Starting from the upper left side shown in FIG. 6A to the lower right side, as shown in FIG. 6B, the matching direction of the electron gun scanning direction of the CRT is found, and thus, the matching vector most similar to the current block is found to predict the motion vector. The algorithm that finds the most similar matching block is called block matching algorithm.

여기서, 블록간 비교되는 값은 블록내 각 화소값이며, 상기 비교하는 것은 현재 프레임 이미지의 현재블럭의 화소값과 이전 프레임 이미지의 해당블럭의 회소값이며, 매칭블럭을 찾아내는 것은 현재블럭의 화소값에서 해당블럭의 화소값을 빼어서 그 에러(차)가 가장적은 블록을 찾아내어 현재블럭을 중심으로한 매칭블럭의 위치벡터를 산출하여 움직임벡터를 예측하는 것이다.Here, the value to be compared between blocks is the pixel value of each block in the block, and the comparison is a pixel value of the current block of the current frame image and a corresponding value of the corresponding block of the previous frame image, and finding a matching block is a pixel value of the current block. By subtracting the pixel value of the block, finds the block with the least error (difference), calculates the position vector of the matching block centered on the current block, and predicts the motion vector.

한편, 움직임벡터를 예측은 화질저하방지와 고속예측의 두측면을 고려해서 이루어져야 한다.On the other hand, the prediction of the motion vector should be made in consideration of two aspects of image quality prevention and fast prediction.

상기한 블록 매칭 알고리즘에는 여러 가지 방법들이 있으며, 이들 방법중 전영역 검색(full search)방법이 있는데, 이는 다른 방법들의 평가 기준으로 사용되지만, 예측된 영상의 화질은 우수하지만, 하나의 칼라화소를 표현하기 위해서는 3원색(R,G,B)각각이 8비트씩 총24비트가 필요하게 되므로, 전영역 검색과정에서 모든 화소값에 대해서 처리하는 것은 연산량이 너무 많기 때문에, 검색범위가 클 경우에는 실시간 시스템 구현이 불가능하게 된다.There are various methods for the block matching algorithm, and among these methods, there is a full search method, which is used as an evaluation criterion of other methods, but the image quality of the predicted image is excellent, but one color pixel is used. In order to express, each of the three primary colors (R, G, B) requires 24 bits each for 8 bits. Therefore, processing all the pixel values in the entire area search process requires too much computation. Real-time system implementation will be impossible.

이 점을 해결하기 위해서, 많은 고속 매칭 알고리즘들이 제안되고 있으며, 이들 고속 매칭 알고리즘은 단일모드 표면에러가정(UESA:Unimodal Error Surface Assumption)에 의한 검색점을 줄이는 방법, 멀티해상도(Multi-resolutuon)에 의한 방법, 인접한 움직임벡터의 상관성을 이용하여 기준점이동과 가변검색(VSR: Variable Search Range)방법, 블록매칭을 수행하는 과정에서 계산을 검출하는 방법등이 있다.In order to solve this problem, many fast matching algorithms have been proposed, and these fast matching algorithms have been proposed for multi-resolutuon, a method of reducing the search point by unimodal error surface Assumption (UESA). Method, reference search, variable search range (VSR) method using correlation of adjacent motion vectors, a method of detecting calculation in the process of block matching, and the like.

특히, 단일모드 표면에러가정(UESA:Unimodal Error Surface Assumption)에 의한 검색점을 줄이는 방법중 대표적인 방법이 삼단계 검색(TSS:Three Step Search)방법인데, 이에 대해 하기에 상세히 설명한다.In particular, a representative method of reducing the search point by UESA (Unimodal Error Surface Assumption) is a three step search (TSS) method, which will be described in detail below.

먼저, 도 7은 도 5의 검색창크기의 실제 일예시도로서, 도 7을 참조하면, 검색창(SRW)은 16*16의 화소를 포함하는 기준블럭에 대해서 상하좌우로 확장범위가 적용되어 기준블럭보다 큰 검색창이 이루어지는데, 이때 적용되는 확장범위는 보통 기준블럭의 일측방향으로 확장되는 크기가 +블럭크기/2인데, 이하 설명에서는 도 7에 도시한 바와같이, +7을 적용하여 설명한다.First, FIG. 7 illustrates an example of the size of the search window of FIG. 5. Referring to FIG. 7, the search window SRW has an extended range applied up, down, left, and right with respect to a reference block including 16 * 16 pixels. The search box is larger than the reference block, and the extended range is generally extended to one side of the reference block with a + block size / 2, which will be described below by applying +7 as shown in FIG. do.

도 8a∼8i는 종래 삼단계 검색방법에 의해 결정되는 검색창내 검색점 표시도로서, 종래 삼단계 검색방법에서는 현재블럭을 검색창내 모든 블록과의 매칭여부를 각각 검색하는 것이 아니고, 도 8에 도시한 바와같이 9개의 블록과의 매칭여부를 검색하는데, 이때 검색창내 검색될 9개 블록의 중앙점을 도 8에 도시한 바와같이, 검색점'1'에서 '9'로 표시된다.8A to 8I are diagrams showing search points in a search box determined by a conventional three-step search method. In the conventional three-step search method, the current block is not searched for matching with all blocks in the search window. As shown in FIG. 8, the center points of the nine blocks to be searched in the search box are displayed as search points '1' to '9' as shown in FIG. 8.

도 9a-9c는 종래의 삼단계 검색(TSS)방법을 설명하기 위한 검색점 표시도로서, 도 9a 내지 도 9c에 도시된 검색점 표시도는 먼저, 검색창내에서 전영역 검색을 하는 경우에 블록의 중앙점이 될 수 있는 검색점을 바둑판 형태로 표시한후, 여기에 삼단계 검색방법에 의해서 정해지는 9개의 검색점'1∼9'를 표시한 것이다.9A and 9C are search point display diagrams for explaining a conventional three-stage search (TSS) method, and the search point display diagrams shown in FIGS. 9A to 9C are first shown in the case of performing a full area search in the search box. The search point that can be the center point of the grid is displayed in the form of a tile, and then nine search points '1 to 9' determined by the three-step search method are displayed.

도 9a 내지 도 9c를 참조하여, 종래 움직임 예측을 위한 삼단계 검색방법을 설명하면 다음과 같다.9A to 9C, a three-stage retrieval method for a conventional motion prediction is as follows.

먼저, 원하는 매칭블럭을 찾는 과정에서, 현재 프레임 이미지(f(t))의 현재블럭의 화소값과, 이전 프레임 이미지(f(t-1))의 검색창에서 현재블럭에 대응하는 블럭의 화소값과의 차(에러)를 합산한 값을 의미하는 절대값 에러합(이하, 'SAD'라고 한다)가 계산의 복잡도와 성능을 고려할 때 주로 이용되는데, 이 SAD는 하기 수학식1에 보인 바와같이 계산된다.First, in the process of finding a desired matching block, the pixel value of the current block of the current frame image f (t) and the pixel of the block corresponding to the current block in the search window of the previous frame image f (t-1). The absolute value error sum (hereinafter referred to as 'SAD'), which is the sum of the difference (error) and the value, is mainly used in consideration of the complexity and performance of the calculation. Calculated as

여기서, Ic()는 현재 프레임 이미지의 블록에 대한 화소값이고, Ip()는 이전 프레임 이미지의 검색창에서 대응되는 블록에 대한 화소값이며, x,y는 검색창내 좌표이고, k,l은 해당 블록에서의 좌표이다. 그리고 n은 매칭블럭의 크기이다.Where Ic () is the pixel value for the block of the current frame image, Ip () is the pixel value for the corresponding block in the search box of the previous frame image, x, y is the coordinate in the search box, and k, l is Coordinates in the block. And n is the size of the matching block.

또한, 각 검색점에서의 에러가 전역 움직임벡터에서 멀어질수록 단조적으로 증가한다는 단일모드 에러표면가정(이하, 'UESA'이라고 한다)을 이용하여, 종래의 삼단계 검색방법은 1,2 및 3단계의 검색과정을 통해서 움직임 벡터를 결정하는데, 먼저, 1단계 검색에서는 검색창에서 도 9a에 도시한 바와같이 '1'∼'9'까지의 9개의 검색점에 대해서 SAD를 모두 계산한다. 다음 2단계 검색에서는 1단계 검색에서 계산한 최소값 SAD의 검색점, 예를들어 '2'에서 SAD가 최소값일 경우, 도 9b에 도시한 바와같이, 검색점'2'를 중심으로 하여 '21'∼'29'까지 다시 9개의 검색점에 대한 SAD를 모두 계산한다. 그리고, 3단계 검색에서는 2단계 검색에서 SAD가 최소값인 검색점, 예를들어, '22'에서 SAD가 최소값일 경우, 최소값 SAD의 검색점'22'를 중심으로 9개의 검색점에 대한 SAD를 모두 검색한후, SAD가 최소값인 검색점을 움직임벡터로 결정한다.In addition, using a single-mode error surface assumption (hereinafter, referred to as 'UESA') that an error at each search point increases monotonously as it moves away from the global motion vector, the conventional three-stage retrieval method is 1,2 and The motion vector is determined through a three-step search process. First, in the first-step search, all SADs are calculated for nine search points '1' to '9' in the search window as shown in FIG. 9A. In the next two-step search, when the search point of the minimum value SAD calculated in the first step search, for example, '2' and the SAD is the minimum value, as shown in FIG. 9B, the search point '2' is centered on the '21'. The SADs for all nine search points are calculated again from ˜'29 '. In the three-stage search, in the two-stage search, if the SAD is the minimum value, for example, if the SAD is the minimum value at '22', the SAD for the nine search points around the '22' of the minimum value SAD is calculated. After all the search, the search point having the minimum SAD is determined as the motion vector.

그러나, 이와같은 종래 삼단계검색 방법은 1,2 및 3단계 검색에서 각각 9개의 검색지점 모드에 대해 검색을 수행하는데, 이 방법은 1단계 검색에서 9점 모두, 2단계 검색에서는 9점중 1단계검색에서 계산된 한점을 제외한 8점, 3단계 검색에서는 9점중 2단계 검색에서 계산된 1점을 제외한 8점에 대해, 즉 최고 총 25점(1단계 검색의 9점+2단계 검색의 8점+3단계 검색의 8점)까지 많아지며, 이는 1점의 화소값을 표현하는데 24비트가 필요하다는 점을 감안한다면, 계산할 검색점이 많아 검색시간이 길어지므로 소프트웨어적 실시간처리가 불가능하다는 문제점이 있다.However, the conventional three-step search method performs a search for nine search point modes, respectively, in the 1,2- and 3-step searches. This method includes all nine points in the first step search and one of nine points in the two-step search. 8 points excluding one point calculated in the search, and 8 points excluding one point calculated in the two-step search in the three-step search, that is, 25 points in total (9 points in the first step + eight points in the two-step search) 8 points of +3 step search), which means that 24 bits are required to express one pixel value, and there is a problem that software real-time processing is impossible because the search time is long and the search time is long. .

본 발명은 상기한 문제점을 해결하기 위해 안출한 것으로, 따라서, 본 발명의 목적은 단일모드 에러표면가정(UESA)을 이용한 삼단계 검색방법을 검색점의 갯수를 감소할 수 있도록 개선하고, 이 개선된 방법에 정합에러에 대한 임계치(Threshold)와 부분에러합을 갖는 중간멈춤(half-stop)방법을 적절하게 적용한 실시간 영상압축을 위한 고속 움직임 예측방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and therefore, an object of the present invention is to improve the three-stage retrieval method using a single mode error surface assumption (UESA) to reduce the number of retrieval points, and to improve this. The present invention provides a fast motion prediction method for real-time image compression that suitably applies a half-stop method having a threshold and a partial error to matched errors.

본 발명의 다른 목적은 예측화질을 기존의 삼단계 검색방법에 의한 예측화질과 거의 동일하게 유지하면서 검색점 감소로 인한 고속계산이 가능하게 되어 소프트웨어를 기반으로하는 실시간 시스템에 응용할 수 있도록한 실시간 영상압축을 위한 고속 움직임 예측방법을 제공하는데 있다.Another object of the present invention is to enable high-speed calculation due to the reduction of the search point while maintaining the predicted picture quality substantially the same as the predicted picture quality by the conventional three-stage retrieval method, so that it can be applied to a real-time system based on software. The present invention provides a fast motion prediction method for compression.

도 1은 일반적인 영상데이타 송수신시스템의 전체구성도이다.1 is an overall configuration diagram of a general video data transmission and reception system.

도 2는 도 1의 영상데이타 송신기에 포함된 MPEG소스 엔코더의 내부 블록도이다.FIG. 2 is an internal block diagram of an MPEG source encoder included in the video data transmitter of FIG. 1.

도 3은 블록화된 프레임 이미지 예시도이다.3 illustrates an example of a blocked frame image.

도 4는 도 3의 프레임 이미지의 부분 블럭화된 현재 프레임 이미지도이다.4 is a partially blocked current frame image diagram of the frame image of FIG. 3.

도 5는 도 4의 현재 프레임 이미지에 대응되는 블럭을 포함하는 이전 프레임 이미지도이다.5 is a previous frame image diagram including a block corresponding to the current frame image of FIG. 4.

도 6a는 현재블럭이 검색창에서 처음 검색되는 위치를 보이는 도면이고, 도 6b는 현재블럭이 검색창내에서 검색되는 방향을 보이는 도면이다.FIG. 6A is a diagram showing a position where a current block is first searched in a search box, and FIG. 6B is a diagram showing a direction in which a current block is searched in a search box.

도 7은 도 5의 검색창크기의 실제 일예시도이다.FIG. 7 is a diagram illustrating an actual example of the size of the search window of FIG. 5.

도 8a∼8i는 종래 삼단계 검색방법에 의해 결정되는 검색창내 검색점 표시도이다.8A to 8I are diagrams showing search points in a search box determined by a conventional three-step search method.

도 9a-9c는 종래의 삼단계 검색방법을 설명하기 위한 검색점 표시도이다.9A and 9C are search point display diagrams for explaining a conventional three-step search method.

도 10은 본 발명에 따른 고속 움직임 예측방법을 보이는 전체 플로우챠트이다.10 is an overall flowchart showing a fast motion prediction method according to the present invention.

도 11은 도 10의 1단계 검색과정중 외곽 검색점에 대한 검색과정을 보이는 플로우챠트이다.FIG. 11 is a flowchart illustrating a search process of an outer search point in the search process of FIG. 10.

도 12는 도 11에서의 최소값 SAD의 검색점을 중심으로 하는 2단계 검색과정을 보이는 플로우챠트이다.FIG. 12 is a flowchart illustrating a two-step search process centering on a search point of the minimum value SAD in FIG. 11.

도 13은 도 12의 2단계 검색과정중 외곽 검색점에 대한 검색과정을 보이는 플로우챠트이다.FIG. 13 is a flowchart illustrating a search process for an outer search point in the two-step search process of FIG. 12.

도 14는 도 13에서의 최소값 SAD의 검색점을 중심으로 하는 3단계 검색과정을 보이는 플로우챠트이다.FIG. 14 is a flowchart illustrating a three-step search process centering on a search point of the minimum value SAD in FIG. 13.

도 15a-15f는 도 10,도 11의 플로우챠트에 대한 검색점 표시도이다.15A and 15F are search point display diagrams for the flowcharts of FIGS. 10 and 11.

도 16은 도 12,13의 플로우챠트에 대한 검색점 표시도이다.16 is a search point display diagram of the flowcharts of FIGS. 12 and 13.

도 17a,17b는 도 14의 플로우챠트에 대한 검색점 표시도이다.17A and 17B are search point display diagrams for the flowchart of FIG. 14.

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

121 : 움직임 예측기 f(t) : 현재 프레임 이미지121: Motion predictor f (t): current frame image

f(t-1) : 이전 프레임 이미지 BC : 현재블럭f (t-1): previous frame image BC: current block

SRW : 검색창 MV : 움직임 벡터(MOTION VECTOR)SRW: Search box MV: MOTION VECTOR

SAD : 절대값 에러합 SADmin : 절대값 에러합의 최소값SAD: Absolute value error sum SADmin: Absolute value error sum minimum

SAD(x) : 검색점'x'에 대한 절대값 에러합SAD (x): Absolute value error sum for search point 'x'

TH : 정합에러 임계치TH: Match Error Threshold

상기한 본 발명의 목적을 달성하기 위한 기술적인 수단으로써, 본 발명의 방법은 단일모드 에러표면가정을 이용하는 삼단계 검색방법에서 검색지점을 줄이기 위해서, 중앙 검색점과 이 중앙 검색점과 상하좌우로 인접한 4개의 외곽 검색점중 서로 인접한 2개의 외곽 검색점, 총 3점에 대한 SAD를 먼저 계산한후, 이 3점의 SAD중 최소값 SAD에 해당하는 검색점을 찾고, 이때, 최소값 SAD의 검색점이 2개의 외곽 검색점중 어느 하나의 검색점이면, 이 검색점에 양방향으로 인접한 다른 2개의 외곽 검색점의 SAD를 계산한후, 이 3점의 SAD중 최소값 SAD의 검색점에 대해서 2단계 검색을 수행한다.As a technical means for achieving the object of the present invention described above, the method of the present invention, in order to reduce the search point in the three-stage search method using a single-mode error surface assumption, the center search point and the center search point and up, down, left and right After calculating the SADs for two adjacent outer search points and a total of three points among the four adjacent search points, the search point corresponding to the minimum value SAD among the three SADs is found, and the search point of the minimum value SAD is found. If the search point is any one of the two outer search points, the SAD of the other two outer search points adjacent to the search point in both directions is calculated, and then the two-step search is performed for the search point of the minimum SAD among the three SADs. Perform.

그리고, 최소값 SAD가 중앙 검색점일 경우에는 이 중앙 검색점과 상하좌우로 인접하는 4개의 검색점중 다른 서로 인접한 2개의 검색점의 SAD를 계산하며, 이 3점의 SAD중 최소값 SAD에 해당하는 검색점을 찾고, 이때, 최소값 SAD의 검색점이 2개의 외곽 검색점중 어느 하나의 검색점이면, 이 검색점에 양방향으로 인접한 다른 2개의 외곽 검색점의 SAD를 계산한후, 이 3점의 SAD중 최소값 SAD의 검색점에 대해서 2단계 검색을 수행한다.When the minimum value SAD is the center search point, the SADs of two different search points adjacent to each other among the four search points adjacent to the center search point and up, down, left, and right are calculated, and the search corresponding to the minimum value SAD among the three SADs. Find the point, and if the search point of the minimum SAD is one of two outer search points, calculate the SADs of two other outer search points that are bidirectionally adjacent to the search point, and then among the three SADs A two-step search is performed for the search point of the minimum value SAD.

반면, 최소값 SAD가 중앙 검색점일 경우에는 중앙 검색점을 중심으로 2단계 검색을 수행하며, 이하 2단계 검색과정은 상기한 1단계 검색과정과 동일하며, 그리고 3단계 검색과정은 기존의 3단계 검색과 동일하다.On the other hand, when the minimum value SAD is a central search point, a two-step search is performed centering on the central search point. The two-step search process is the same as the one-step search process described above, and the three-step search process is a conventional three-step search. Is the same as

또한, 상기한 1,2 및 3단계 검색과정에 계산중인 각 SAD와 사전에 설정된 SADmin을 비교하여 계산중인 SAD가 SADmin보다 크지면 SAD계산을 중단하고 다음 과정으로 진행하며, 하나의 SAD계산이 완료되면 이 SAD가 매칭에러 임계치(TH)보다 작을 경우에는 이 SAD의 검색점을 움직임 벡터로 결정하며, 또한 처음 설정된 SADmin보다 계산된 SAD가 작으면 SADmin을 재설정하여 SAD계산을 중단하는 확률을 높여 계산량을 줄일 수 있으므로 고속 움직임 예측이 가능하다.In addition, by comparing each SAD being calculated in the first and second steps of the search step 1 and SADmin set in advance, if the SAD being calculated is greater than SADmin, the SAD calculation is stopped and proceeds to the next process, one SAD calculation is completed If this SAD is smaller than the matching error threshold (TH), the search point of this SAD is determined as a motion vector.If the SAD calculated is smaller than the initially set SADmin, the SADmin is reset to increase the probability of stopping SAD calculation. Because of this, the fast motion prediction is possible.

이하, 본 발명에 대해서 첨부한 도면을 참조하여 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, this invention is demonstrated with reference to attached drawing.

영상데이타를 압축하는 엔코더의 움직임 예측기에 있어서, 현재 프레임 이미지(f(t))의 현재블럭과 매칭하는 블록을 이전 프레임 이미지(f(t-1))의 검색창(SRW)내 복수개의 블록중에서 검출하여 움직임벡터를 예측하는 고속 움직임 예측방법은 검색점을 줄이기 위해서 기존의 삼단계(1단계, 2단계 및 3단계) 검색방법에서 변형된 방법이다.In a motion predictor of an encoder for compressing image data, a plurality of blocks in a search window SRW of a previous frame image f (t-1) match a block matching the current block of the current frame image f (t). The fast motion prediction method for detecting the motion vector by predicting the motion vector is modified from the existing three-step (first, second and third) search methods in order to reduce the search point.

먼저, 도15를 참조하여 삼단계중 1단계 검색과정에 대해서 개괄적으로 설명하면, 먼저, 검색점'5,6,8'점을 도15b와 같이 검색한후, 검색점'6'의 SAD가 최소값이면, 다시 검색점'3,6,9'의 SAD를 계산하여 최소값 SAD의 검색점을 중심으로 2단계 검색과정을 수행하고, 도15c와 같이 검색점'8'의 SAD가 최소값이면, 다시 검색점'7,8,9'의 SAD를 계산하여 최소값 SAD의 검색점을 중심으로 2단계 검색과정을 수행하고, 반면 검색점'5'의 SAD가 최소값이면, 도15d와 같이 다시 검색점'2,4'의 SAD를 계산한후, 검색점'2,4,5'의 SAD중 검색점'4'의 SAD가 최소값이면, 도15e와 같이 다시 검색점'1,4,7'의 SAD를 계산하여 최소값 SAD의 검색점을 중심으로 2단계 검색과정을 수행하고, 검색점'2,4,5'의 SAD중 검색점'2'의 SAD가 최소값이면, 도15f와 같이 다시 검색점'1,2,3'의 SAD를 계산하여 최소값 SAD의 검색점을 중심으로 2단계 검색과정을 수행한다. 그리고 검색점'2,4,5'의 SAD중 검색점'5'의 SAD가 최소값이면, 검색점'5'를 중심으로 2단계 검색과정을 수행한다.First, referring to FIG. 15, the first step of the three-step search process will be described. First, the search points '5, 6, and 8' are searched as shown in FIG. 15B. If the minimum value, the SAD of the search point '3, 6, 9' is calculated again and performs a two-step search process around the search point of the minimum value SAD. If the SAD of the search point '8' is the minimum value, as shown in FIG. The SAD of the search points' 7,8,9 'is calculated to perform a two-step search process centering on the search point of the minimum value SAD. On the other hand, if the SAD of the search point' 5 'is the minimum value, the search point' is again shown in FIG. 15D. After calculating the SAD of 2, 4 ', if the SAD of the search point' 4 'is the minimum value among the SADs of the search points' 2, 4, 5', the SAD of the search points' 1, 4, 7 'is again shown in Fig. 15E. Is calculated to perform a two-step search process around the search point of the minimum value SAD, and if the SAD of the search point '2' is the minimum value among the SADs of the search points '2, 4, 5', the search point is again shown in FIG. Search for minimum value SAD by calculating SAD of 1,2,3 ' Mainly carried out a two-phase search process. If the SAD of the search point '5' is the minimum value among the SADs of the search points '2, 4, 5', a two-step search process is performed based on the search point '5'.

본 발명의 고속 움직임 예측방법에서, 삼단계중 1단계를 도 10, 도11 및 도15를 참조하여 설명하면, 다음과 같다.In the fast motion prediction method of the present invention, one step of the three steps will be described with reference to FIGS. 10, 11, and 15 as follows.

첫 번째, 1단계 검색중 단계(a)에 대해서, 도 10의 51,52를 참조하면, 우선적으로 매칭에러 임계치(TH)를 설정하고, 이후 검색창내 임의의 검색점에 대해서 SAD를 구하여 이 SAD를 SADmin으로 설정하는데, 설정한 SADmin이 설정된 매칭에러 임계치(TH)보다 작은지를 판단하여 작으면, 이 SADmin의 검색점을 움직임벡터로 결정하고, 작지 않으면, SAD계산하는 과정으로 계속 진행한다.First, with respect to step (a) of the first stage search, referring to 51, 52 of FIG. 10, a matching error threshold TH is first set, and then a SAD is obtained for any search point in the search box. Is set to SADmin. If it is determined that the set SADmin is smaller than the set matching error threshold value TH, the search point of this SADmin is determined as a motion vector, and if it is not small, the process continues to SAD calculation.

이때, 기 설정된 SADmin은 이전 프레임 이미지(f(t-1))의 검색창(SRW)내 사전에 설정되는 임의의 검색점에 대한 SAD로서, 이는 대응 블록의 중앙 검색점이나 이전 움직임벡터를 고려해서 설정된다.In this case, the preset SADmin is an SAD for any search point set in advance in the search window SRW of the previous frame image f (t-1), which takes into account the center search point of the corresponding block or the previous motion vector. Is set.

그 다음, 도10의 53을 참조하면, 삼단계 검색방법에 의한 이전 프레임 이미지(f(t-1))의 1단계 검색창(SRW)내 도15에 도시된 9개의 검색점'1∼9'중 중앙 검색점'5'와 이 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'2,4,6,8'중 도15a에 도시된 서로 근접한 두 외곽 검색점'6,8'에 대한 SAD을 계산한다.Next, referring to 53 of FIG. 10, the nine search points' 1 to 9 shown in FIG. 15 in the first stage search window SRW of the previous frame image f (t-1) by the three stage search method. 'Middle center search point' 5 'and the four outer search points' 2, 4, 6 and 8 'adjacent to each other in the search point' 5 ', the two outer search points shown in Fig. 15A' 6,8 Calculate the SAD for '.

그리고, 상기 검색점'5','6' 및 '8'의 SAD를 계산하는 동안에, 계산되는 각 SAD가 기설정된 SADmin보다 큰지를 판단하여, 크지 않으면 SAD계산을 계속하고, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행한다.While calculating the SADs of the search points '5', '6' and '8', it is determined whether each calculated SAD is larger than a predetermined SADmin, and if it is not large, the SAD calculation is continued. Stop SAD calculation and proceed to the next step.

도10의 54를 참조하면, 계산된 SAD중 기설정된 정합에러 임계치(TH)보다 작은 SAD가 있는지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하며, 반면에 없으면 도10의 55를 참조하면, 상기 계산된 SAD중에서 최소값 SAD를 찾아낸다.Referring to 54 of FIG. 10, it is determined whether there is a SAD smaller than the preset match error threshold TH among the calculated SADs, and if there is a SAD smaller than this match error threshold TH, a search point corresponding to this SAD is determined. If it is determined as a motion vector, otherwise referring to 55 of FIG. 10, the minimum value SAD is found from the calculated SAD.

두 번째, 상기 1단계 검색중 단계(b)에 대해서, 도10의 55를 참조하면, 단계(a)에서 찾아낸 최소값 SAD가 두 외곽 검색점'6,8'의 SAD중 어느 하나인 경우중, 예를들어, 검색점'6'의 SAD가 최소인 경우, 도11의 61 및 62를 참조하면, 계산완료된 검색점'6'의 SAD가 SADmin보다 작은지를 판단하여 작으면 SADmin을 SAD(6)로 재설정한다.Secondly, for step (b) during the first step search, referring to 55 of FIG. 10, in the case where the minimum value SAD found in step (a) is any one of the SADs of the two outer search points '6 and 8', For example, when the SAD of the search point '6' is minimum, referring to 61 and 62 of FIG. 11, it is determined whether the SAD of the calculated search point '6' is smaller than the SADmin. Reset to.

그리고, 최소값 SAD의 검색점에 인접하는 두 외곽 검색점의 SAD를 계산하는데, 예를들어, 검색점'6'의 SAD가 최소값 SAD이면, 도11의 63 및 도15b에 도시한 바와같이, 검색점'3,9'의 SAD를 추가로 계산하고, 이 계산중인 SAD(3,9)와 기설정된 SADmin을 비교하여 계산중인 SAD가 기설정된 SADmin보다 커지게 되면 SAD계산을 중단하고 다음 과정으로 진행하고, 그렇지 않으면 SAD계산을 계속한다.Then, the SADs of two outer search points adjacent to the search point of the minimum value SAD are calculated. For example, if the SAD of the search point '6' is the minimum value SAD, as shown in FIGS. 63 and 15B of FIG. SAD of point '3,9' is additionally calculated, and SAD (3,9) being calculated is compared with preset SADmin. If SAD being calculated is bigger than preset SADmin, stop SAD calculation and proceed to next step. Otherwise, SAD calculation is continued.

반면, 검색점'8'의 SAD가 최소값 SAD이면, 이 SAD(8)가 기설정된 SADmin보다 작은지를 판단하여 작으면 SADmin을 SAD(8)로 재설정하며, 도15c에 도시한 바와같이, 검색점'7,9'의 SAD를 추가로 계산하고, 이 계산중인 SAD(7,9)와 기설정된 SADmin을 비교하여 계산중인 SAD가 기설정된 SADmin보다 커지게 되면 SAD계산을 중단하고 다음 과정으로 진행하고, 그렇지 않으면 SAD계산을 계속한다.On the other hand, if the SAD of the search point '8' is the minimum value SAD, it is determined whether the SAD 8 is smaller than the preset SADmin, and if it is small, the SADmin is reset to the SAD 8, as shown in Fig. 15C, the search point. Calculate additional SAD of '7,9', and compare SAD (7,9) being calculated with preset SADmin.If SAD being calculated is bigger than preset SADmin, stop SAD calculation and proceed to next step. If not, continue SAD calculation.

이후, 도15c에 도시한 바와같이, 검색점'7,9'의 SAD를 추가로 계산하고, 이 계산중인 SAD(7,9)와 기설정된 SADmin을 비교하여 계산중인 SAD가 기설정된 SADmin보다 커지게 되면 SAD계산을 중단하고 다음 과정으로 진행하고, 그렇지 않으면 SAD계산을 계속한다.Then, as shown in Fig. 15C, the SAD of the search points '7, 9' is further calculated, and the calculated SAD is larger than the preset SADmin by comparing the calculated SAD (7, 9) with the preset SADmin. If it loses, it stops calculating SAD and proceeds to the next step. Otherwise, SAD calculation continues.

상기한 검색점'6'과 '8'의 SAD가 최소값 SAD가 아니고, 검색점'5'의 SAD가 최소값 SAD이면, 도10의 56을 참조하면, 이 SAD(5)가 기설정된 SADmin보다 작은지를 판단하여 작으면 SADmin을 SAD(5)로 재설정하며, 이후 삼단계 검색방법에 의한 이전 프레임 이미지(f(t-1))의 1단계 검색창(SRW)내 9개의 검색점'1∼9'중 중앙 검색점'5'와 이 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'2,4,6,8'중, 도145에 도시된 서로 근접한 다른 두 외곽 검색점'2,4'에 대한 SAD을 도10의 57에 도시한 바와같이, 계산한다.If the SADs of the search points '6' and '8' are not the minimum value SAD, and the SAD of the search point '5' is the minimum value SAD, referring to 56 of FIG. 10, the SAD 5 is smaller than the preset SADmin. If it is small, it resets SADmin to SAD (5), and then nine search points' 1-9 in the first stage search window SRW of the previous frame image f (t-1) by the three stage search method. Two other outer search points '2, 4, 6, and 8' which are adjacent to each other in FIG. The SAD for 4 'is calculated as shown in 57 of FIG.

상기 검색점'5','2' 및 '4'의 SAD를 계산하는 동안에, 계산되는 각 SAD가 기설정된 SADmin보다 큰지를 판단하여, 크지 않으면 SAD계산을 계속하고, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행한다.While calculating the SADs of the search points '5', '2', and '4', it is determined whether each calculated SAD is larger than the predetermined SADmin, and if it is not large, the SAD calculation is continued. Stop the calculation and proceed to the next step.

그리고, 계산된 SAD중 기설정된 정합에러 임계치(TH)보다 작은 SAD가 있는지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하며, 반면에 없으면 도10의 59를 참조하면, 상기 계산된 SAD중에서 최소값 SAD를 찾아낸다.Then, it is determined whether there is a SAD smaller than the preset match error threshold TH among the calculated SADs, and if there is a SAD smaller than this match error threshold TH, a search point corresponding to the SAD is determined as a motion vector. Otherwise, referring to 59 of FIG. 10, the minimum value SAD is found among the calculated SADs.

또한, 도11의 64를 참조하면, 상기 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정한다.In addition, referring to 64 of FIG. 11, it is determined whether the calculated SAD is smaller than the preset matching error threshold value TH. If there is a SAD smaller than the matching error threshold value TH, a search point corresponding to the SAD is found. Determined by the motion vector.

그리고, 도11의 65를 참조하면, 이와같이 계산된 3개의 외곽 검색점'3,6,9'(또는 '7,8,9')의 SAD중 최소값 SAD를 찾아내고, 도11의 65를 참조하면, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 2단계 검색창에 대한 2단계검색을 수행한다.Referring to 65 of FIG. 11, the minimum value SAD is found among the SADs of the three outer search points '3, 6, 9' (or '7, 8, 9') calculated in this way, and reference is made to 65 of FIG. In this case, a two-stage search for a two-stage search box is performed centering on the search point corresponding to the found minimum value SAD.

이와같이, 단계(b)에서 구해지는 최소값 SAD는 검색점'3,6,9'중 한 검색점의 SAD, 아니면 검색점'7,8,9'중 한 검색점의 SAD가 되는데, 여기서 해당 검색점에 대한 검색원리는 동일하므로, 검색점'3'의 SAD가 최소값 SAD일 경우, 2단계 검색과정을 도12,도13 및 도16을 참조하여 설명하였으며, 나머지 검색점에 대해서는 생략하였다.As such, the minimum SAD obtained in step (b) is the SAD of one of the search points '3, 6, and 9', or the SAD of one of the search points, '7, 8, and 9', where the search is performed. Since the search principle for the point is the same, when the SAD of the search point '3' is the minimum value SAD, a two-step search process has been described with reference to FIGS. 12, 13, and 16, and the rest of the search points are omitted.

여기서, 검색점'3'을 중심으로 하는 2단계 검색과정에서, 검색점'3'을 중심으로 8개의 검색점을 '31,32,33,34,36,37,38,39'로 표시한다.Here, in the two-step search process centering on the search point '3', eight search points are displayed as '31, 32,33,34,36,37,38,39 'centered on the search point' 3 '. .

먼저, 도12의 71,72를 참조하면, 최소값 SAD가 검색점'3'의 SAD일 경우, 기 설정한 SADmin보다 SAD(3)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(3)로 재설정한다.First, referring to 71 and 72 of FIG. 12, when the minimum value SAD is the SAD of the search point '3', it is determined whether the SAD (3) is smaller than the preset SADmin, and when SADmin is smaller, the SADmin is reset to the SAD (3). do.

그리고, 도12의 73을 참조하면, 도16a에 도시한 바와같이 삼단계 검색방법에 의한 검색점'3'를 중심으로 하는 2단계 검색창내 9개의 검색점'31∼39'중 중앙 검색점'3'과 이 중앙 검색점'3'에서 상하좌우로 인접한 4개의 외곽 검색점'32,34,36,38'중 서로 근접한 두 외곽 검색점'36,38'에 대한 SAD를 계산한후, 계산된 SAD(3), SAD(36) 및 SAD(38)중 최소값 SAD를 찾아낸다.Referring to 73 of FIG. 12, as shown in FIG. 16A, the center search point among the nine search points 31 through 39 in the two-level search window centered on the search point '3' by the three-step search method. Calculate SAD for two adjacent outer search points '36, 38 'adjacent to each other among 3' and four outer search points '32, 34, 36, 38 'that are adjacent to each other. The minimum value SAD of the determined SAD 3, SAD 36 and SAD 38 is found.

본 발명에 따른 3단계 검색중 2단계 검색과정은 상술한 1단계 검색과정과 동일하며, 단지 도15에 도시된 1단계 검색창과 도16에 도시된 2단계 검색창과 같이 검색창의 크기가 다를 뿐이다.The two-stage search process of the three-stage search according to the present invention is the same as the one-stage search process described above, except that the size of the search box is different from the one-stage search box shown in FIG. 15 and the two-stage search box shown in FIG.

이와같이, SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행한다.In this way, during the calculation of the SAD, it is determined whether the SAD being calculated is greater than the SADmin, and when it becomes large, the SAD calculation for this search point is stopped, and the process proceeds to the next step.

법.method.

상기 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정한다.It is determined whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, a search point corresponding to the SAD is determined as a motion vector.

상기 구한 최소값 SAD가 SAD(36)과 SAD(38)중 어느 하나일 경우, 예를들어, 도13에 도시한 바와같이, 최소값 SAD가 SAD(36)이면, 이 검색점'36'에 인접한 두 검색점'33,39'에 대한 SAD를 계산하며, 반면에 최소값 SAD가 SAD(38)이면, 이 검색점'38'에 인접한 두 검색점'37,39'에 대한 SAD를 계산한다. 이와같이 계산된 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 3단계 검색창에 대한 3단계검색을 수행한다.In the case where the obtained minimum value SAD is either SAD 36 or SAD 38, for example, as shown in Fig. 13, if the minimum value SAD is SAD 36, two adjacent to this search point '36' are shown. SADs for search points '33, 39 'are calculated, whereas if the minimum value SAD is SAD 38, SADs for two search points '37, 39' adjacent to this search point '38' are calculated. The minimum value SAD is found among the SADs of the three outer search points calculated as described above, and a three-step search is performed on the three-step search box centering on the search point corresponding to the found minimum value SAD.

반면에, 상기 최소값 SAD가 검색점'3'의 SAD일 경우, 이 검색점'3'에서 상하좌우로 인접한 4개의 외곽 검색점'32,34,36,38'중 서로 근접한 다른 두 검색점'32,34'에 대한 SAD를 계산한후, 계산된 다른 두 외곽 검색점'32,34'의 SAD와 중앙 검색점'3'의 SAD중 최소값 SAD를 찾아낸다.On the other hand, if the minimum value SAD is the SAD of the search point '3', the other two search points adjacent to each other among the four outer search points 32, 34, 36, and 38 adjacent to each other up, down, left, and right in this search point '3' After calculating the SAD for 32,34 ', the minimum SAD of the calculated two SADs of the outer search points '32, 34' and the SAD of the center search point '3' is found.

상기 구한 최소값 SAD가 SAD(32)과 SAD(34)중 어느 하나일 경우, 예를들어, 최소값 SAD가 SAD(32)이면, 이 검색점'32'에 인접한 두 검색점'31,33'에 대한 SAD를 계산하며, 반면에 최소값 SAD가 SAD(34)이면, 이 검색점'34'에 인접한 두 검색점'31,37'에 대한 SAD를 계산한다. 이와같이 계산된 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD를 중앙 검색점으로 하여 3단계 검색창에 대한 3단계 검색을 수행한다.In the case where the obtained minimum value SAD is one of the SAD 32 and the SAD 34, for example, if the minimum value SAD is the SAD 32, two search points '31, 33 'adjacent to this search point' 32 ' Calculate the SAD for the two search points '31, 37 'adjacent to this search point' 34 ', if the minimum value SAD is SAD 34. The minimum value SAD is found among the SADs of the three outer search points calculated as described above, and the third level search window is performed using the found minimum value SAD as the central search point.

반면에, 상기 구한 최소값 SAD가 검색점'3'의 SAD일 경우, 이 검색점'3'을 중앙 검색점으로 하여 3단계 검색창에 대한 3단계 검색을 수행한다.On the other hand, when the obtained minimum value SAD is the SAD of the search point '3', the three-step search is performed on the three-step search box using the search point '3' as the center search point.

이하, 상기 각 3단계 검색과정은 각 검색점에 대해서 동일하므로, 2단계 검색과정에서 최소값 SAD에 해당하는 검색점이 '3'인 경우의 2단계 검색과정에서, 최소값 SAD의 검색점이 '36'인 경우에 대해서 도14, 도17을 참조하여 하기에 설명하고, 나머지 검색점에 대한 설명은 생략한다.Hereinafter, since each of the three step search processes is the same for each search point, in the two step search process when the search point corresponding to the minimum value SAD in the two step search process is '3', the search point of the minimum value SAD is '36'. The case will be described below with reference to Figs. 14 and 17, and the description of the remaining search points is omitted.

상기 3단계 검색과정을 설명하면, 최소값 SAD의 검색점이 '38'인 경우, 이 검색점'38'을 중앙 검색점으로 하여 3단계 검색창내 전체 검색점, 검색점'38'을 포함하여 9개의 검색점에 대한 SAD를 계산한후, 이 계산된 SAD중 최소값 SAD인 검색점을 찾아내어 움직임벡터로 결정한다.Referring to the three-step search process, if the search point of the minimum value SAD is '38', the nine search points including the search point '38' as the central search point and all the search points and the search point '38' in the three-step search box After calculating the SAD for the search point, the search point having the minimum value SAD among the calculated SADs is found and determined as a motion vector.

상술한 바와같은 본 발명에 따르면, 단일모드 에러표면가정(UESA)을 이용한 삼단계 검색방법을 검색점의 갯수를 감소할 수 있도록 개선하고, 이 개선된 방법에 정합에러에 대한 임계치(Threshold)와 부분에러합을 갖는 중간멈춤(half-stop)방법을 적절하게 적용함으로써, 고속 움직임 예측이 가능하다는 효과가 있다.According to the present invention as described above, the three-stage search method using a single mode error surface assumption (UESA) is improved to reduce the number of search points, and the improved method has a threshold for matching errors and By appropriately applying a half-stop method with partial error, there is an effect that high-speed motion prediction is possible.

또한, 본 발명에 의한 다른 효과는 예측화질을 기존의 삼단계 검색방법에 의한 예측화질과 거의 동일하게 유지하면서 검색점 감소로 인한 고속계산이 가능하게 되어 소프트웨어를 기반으로하는 실시간 시스템에 응용할 수 있는 것이다.In addition, another effect of the present invention is that it is possible to calculate the high speed due to the reduction of the search point while maintaining the predicted picture quality almost the same as the predicted picture quality by the conventional three-stage search method, which can be applied to a software-based real-time system will be.

이상의 설명은 본 발명의 일실시예에 대한 설명에 불과하며, 본 발명은 그 구성의 범위내에서 다양한 변경 및 개조가 가능하다.The above description is only a description of one embodiment of the present invention, the present invention is capable of various changes and modifications within the scope of the configuration.

Claims (32)

영상데이타를 압축하는 엔코더의 움직임 예측기에서 수행되며, 현재 프레임 이미지(f(t))의 현재블럭과 매칭하는 블록을 이전 프레임 이미지(f(t-1))의 검색창(SRW)내 복수개의 블록중에서 검출하여 움직임벡터를 예측하는 고속 움직임 예측방법에 있어서,Performed by the encoder's motion predictor for compressing the image data, a block matching the current block of the current frame image f (t) is stored in the search window SRW of the previous frame image f (t-1). In the fast motion prediction method for detecting a motion vector by detecting in a block, (a) 삼단계 검색방법에 의한 이전 프레임 이미지(f(t-1))의 1단계 검색창(SRW)내 9개의 검색점'1∼9'중 중앙 검색점'5'과 이 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'2,4,6,8'중 서로 근접한 두 외곽 검색점'6,8'에 대한 SAD을 계산한후, 계산된 SAD중 최소값 SAD를 찾아내는 단계;(a) Among the nine search points' 1 to 9 'in the first search window SRW of the previous frame image f (t-1) by the three-step search method, the center search point' 5 'and this search point' Computing SADs of two outer search points' 6,8 'adjacent to each other among the four outer search points' 2, 4, 6, and 8' adjacent to each other at 5 ', and then finding the minimum SAD among the calculated SADs. ; (b) 단계(a)에서 찾아낸 최소값 SAD가 두 외곽 검색점'6,8'의 SAD중 어느 하나인 경우, 이 최소값 SAD의 검색점에 인접하는 두 외곽 검색점의 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(b) If the minimum value SAD found in step (a) is one of the SADs of the two outer search points '6,8', after calculating the SADs of the two outer search points adjacent to the search point of this minimum value SAD, Finding a minimum value SAD among SADs of three outer search points, and performing a two-step search for a two-step search box centering on a search point corresponding to the found minimum value SAD; (c) 단계(a)에서 찾아낸 최소값 SAD가 중앙 검색점'5'의 SAD일 경우, 이 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'2,4,6,8'중 서로 근접한 다른 두 외곽 검색점'2,4'에 대한 SAD을 계산한후, 계산된 다른 두 외곽 검색점'2,4'의 SAD와 중앙 검색점'5'의 SAD중 최소값 SAD를 찾아내는 단계;(c) If the minimum value SAD found in step (a) is the SAD of the center search point '5', the four outer search points '2, 4, 6 and 8' adjacent to each other at this search point '5' Calculating SADs for two adjacent outer search points '2,4' and finding a minimum SAD of the calculated SADs of the other two outer search points '2,4' and SADs of the central search point '5'; (d) 단계(c)에서 찾아낸 최소값 SAD가 두 외곽 검색점'2,4'의 SAD중 어느 하나인 경우, 이 최소값 SAD의 검색점에 인접하는 두 외곽 검색점에 대한 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(d) if the minimum SAD found in step (c) is one of the two SADs of the two outer search points '2,4', after calculating the SADs for the two outer search points adjacent to the search point of the minimum SAD, Finding a minimum value SAD of the SADs of the three outer search points, and performing a two-step search on a two-step search window centering on the search points corresponding to the found minimum value SAD; (e) 단계(c)에서 찾아낸 최소값 SAD가 중앙 검색점'5'의 SAD일 경우, 이 검색점을 중심으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(e) if the minimum value SAD found in step (c) is the SAD of the central search point '5', performing a two-step search on the two-step search box centered on the search point; Fast motion prediction method for real time image compression. 제1항에 있어서, 상기 고속 움직임 예측방법은The method of claim 1, wherein the fast motion prediction method (f) 이전 프레임 이미지(f(t-1))의 검색창(SRW)내 사전에 설정한 검색점에 대한 SAD를 구하여 SADmin으로 설정하는 단계; 를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(f) obtaining SAD for a preset search point in the search window SRW of the previous frame image f (t-1) and setting the SAD to SADmin; Fast motion prediction method for real-time video compression, characterized in that it further comprises. 제1항 또는 제2항에 있어서, 상기 고속 움직임 예측방법은The method of claim 1 or 2, wherein the fast motion prediction method (g) 상기 단계(e)에서 구한 최소값 SAD가 검색점'5'의 SAD일 경우, 상기 단계(f)에서 설정한 SADmin보다 SAD(5)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(5)로 재설정하는 단계;를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(g) When the minimum value SAD obtained in the step (e) is the SAD of the search point '5', it is determined whether the SAD (5) is smaller than the SADmin set in the step (f). Resetting to); high speed motion prediction method for real-time video compression, characterized in that it further comprises. 제1항에 있어서, 상기 고속 움직임 예측방법은The method of claim 1, wherein the fast motion prediction method (h) 정합에러 임계치(TH)를 설정하는 단계;를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.and (h) setting a matching error threshold (TH). 제2항에 있어서, 상기 단계(a)는The method of claim 2, wherein step (a) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제2항에 있어서, 상기 단계(b)는The method of claim 2, wherein step (b) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제2항에 있어서, 상기 단계(c)는The method of claim 2, wherein step (c) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제2항에 있어서, 상기 단계(d)는The method of claim 2, wherein step (d) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제4항에 있어서, 상기 단계(a)는The method of claim 4, wherein step (a) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제4항에 있어서, 상기 단계(b)는The method of claim 4, wherein step (b) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제4항에 있어서, 상기 단계(c)는The method of claim 4, wherein step (c) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold value TH, and if there is a SAD smaller than the matching error threshold value TH, determining a search point corresponding to the matching SAD value as a motion vector. Fast motion prediction method for real-time video compression. 제4항에 있어서, 상기 단계(d)는The method of claim 4, wherein step (d) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold value TH, and if there is a SAD smaller than the matching error threshold value TH, determining a search point corresponding to the matching SAD value as a motion vector. Fast motion prediction method for real-time video compression. 제4항에 있어서, 상기 단계(e)는The method of claim 4, wherein step (e) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold value TH, and if there is a SAD smaller than the matching error threshold value TH, determining a search point corresponding to the matching SAD value as a motion vector. Fast motion prediction method for real-time video compression. 제1항에 있어서, 상기 단계(b)는The method of claim 1, wherein step (b) (b1) 최소값 SAD가 검색점'6'의 SAD인 경우, 검색점'3,9'에 대한 SAD를 계산하고, 이 SAD(3), SAD(9) 및 SAD(6)중 최소값 SAD를 찾아내는 단계;(b1) When the minimum value SAD is the SAD of the search point '6', the SAD for the search points '3 and 9' is calculated, and the minimum value SAD among the SADs (3), SAD (9) and SAD (6) is found. step; (b2) 최소값 SAD가 SAD(3)인 경우, 검색점'3'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(b2) if the minimum value SAD is SAD (3), performing a two-stage search for the two-stage search window using the search point '3' as the central search point; (b3) 최소값 SAD가 SAD(6)인 경우, 검색점'6'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(b3) performing a two-stage search for the two-stage search window using the search point '6' as the central search point when the minimum value SAD is SAD (6); (b4) 최소값 SAD가 SAD(9)인 경우, 검색점'9'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(b4) performing a two-stage search for the two-stage search box using the search point '9' as the central search point when the minimum value SAD is SAD (9). Fast motion prediction method. 제1항에 있어서, 상기 단계(b)는The method of claim 1, wherein step (b) (b1) 최소값 SAD가 검색점'8'의 SAD인 경우, 검색점'7,9'에 대한 SAD를 계산하고, 이 SAD(7), SAD(9) 및 SAD(8)중 최소값 SAD를 찾아내는 단계;(b1) When the minimum value SAD is the SAD of the search point '8', the SAD for the search points '7, 9' is calculated, and the minimum value SAD among the SADs (7), SAD (9), and SAD (8) is found. step; (b2) 최소값 SAD가 검색점'7'의 SAD인 경우, 검색점'7'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(b2) if the minimum value SAD is the SAD of the search point '7', performing a two-step search for the two-step search window using the search point '7' as the central search point; (b3) 최소값 SAD가 SAD(8)인 경우, 검색점'8'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(b3) when the minimum value SAD is SAD 8, performing a two-stage search for the two-stage search window using the search point '8' as the central search point; (b4) 최소값 SAD가 SAD(9)인 경우, 검색점'9'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(b4) performing a two-stage search for the two-stage search box using the search point '9' as the central search point when the minimum value SAD is SAD (9). Fast motion prediction method. 제14항 또는 제15항에 있어서, 상기 단계(b)는The method of claim 14 or 15, wherein step (b) (b5) 최소값 SAD가 검색점'6'의 SAD일 경우, 기 설정한 SADmin보다 SAD(6)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(6)로 재설정하고,(b5) When the minimum value SAD is the SAD of the search point '6', it is determined whether the SAD (6) is smaller than the preset SADmin, and when it is smaller, the SADmin is reset to the SAD (6). 최소값 SAD가 검색점'8'의 SAD일 경우, 기 설정한 SADmin보다 SAD(8)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(8)로 재설정하는 단계;를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.If the minimum value SAD is the SAD of the search point '8', determining whether the SAD (8) is smaller than the preset SADmin, and if it is smaller, resetting the SADmin to SAD (8); Fast Motion Prediction Method for Image Compression. 제14항 또는 제15항에 있어서, 상기 단계(b1)는The method of claim 14 or 15, wherein step (b1) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제14항 또는 제15에 있어서, 상기 단계(b1)는The method of claim 14 or 15, wherein step (b1) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제1항에 있어서, 상기 단계(d)는The method of claim 1, wherein step (d) (d1) 최소값 SAD가 검색점'2'의 SAD인 경우, 검색점'1,3'에 대한 SAD를 계산하고, 이 SAD(1), SAD(3) 및 SAD(2)중 최소값 SAD를 찾아내는 단계;(d1) When the minimum value SAD is the SAD of the search point '2', the SAD for the search points '1, 3' is calculated, and the minimum value SAD of the SAD (1), SAD (3) and SAD (2) is found. step; (d2) 최소값 SAD가 검색점'1'의 SAD인 경우, 검색점'1'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(d2) when the minimum value SAD is the SAD of the search point '1', performing a two-step search on the two-step search window using the search point '1' as the central search point; (d3) 최소값 SAD가 SAD(2)인 경우, 검색점'2'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(d3) when the minimum value SAD is SAD (2), performing a two-stage search for the two-stage search window using the search point '2' as the central search point; (d4) 최소값 SAD가 SAD(3)인 경우, 검색점'3'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(d4) performing a two-stage search for the two-stage search box using the search point '3' as the center search point when the minimum value SAD is SAD (3). Fast motion prediction method. 제1항에 있어서, 상기 단계(d)는The method of claim 1, wherein step (d) (d1) 최소값 SAD가 검색점'4'의 SAD인 경우, 검색점'1,7'에 대한 SAD를 계산하고, 이 SAD(1), SAD(7) 및 SAD(2)중 최소값 SAD를 찾아내는 단계;(d1) When the minimum value SAD is the SAD of the search point '4', the SAD for the search points '1,7' is calculated, and the minimum value SAD of the SAD (1), SAD (7) and SAD (2) is found. step; (d2) 최소값 SAD가 검색점'1'의 SAD인 경우, 검색점'1'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(d2) when the minimum value SAD is the SAD of the search point '1', performing a two-step search on the two-step search window using the search point '1' as the central search point; (d3) 최소값 SAD가 검색점'4'의 SAD인 경우, 검색점'4'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;(d3) when the minimum value SAD is the SAD of the search point '4', performing a two-step search for the two-step search window using the search point '4' as the central search point; (d4) 최소값 SAD가 검색점'7'의 SAD인 경우, 검색점'7'을 중앙 검색점으로 하여 2단계 검색창에 대한 2단계검색을 수행하는 단계;를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(d4) performing a two-stage search for the two-stage search box using the search point '7' as the center search point when the minimum value SAD is the SAD of the search point '7'; Fast Motion Prediction Method for Compression. 제19항 또는 제20항에 있어서, 상기 단계(d)는The method of claim 19 or 20, wherein step (d) (d5) 최소값 SAD가 검색점'2'의 SAD일 경우, 기 설정한 SADmin보다 SAD(2)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(2)로 재설정하고,(d5) When the minimum value SAD is the SAD of the search point '2', it is determined whether the SAD (2) is smaller than the preset SADmin, and when it is smaller, the SADmin is reset to the SAD (2). 최소값 SAD가 검색점'4'의 SAD일 경우, 기 설정한 SADmin보다 SAD(5)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(4)로 재설정하는 단계;를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.If the minimum value SAD is the SAD of the search point '4', determining whether the SAD 5 is smaller than the preset SAD min and resetting the SAD min to the SAD 4 if the SAD is smaller. Fast Motion Prediction Method for Image Compression. 제19항 또는 제20항에 있어서, 상기 단계(d1)는The method of claim 19 or 20, wherein step (d1) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제19항 또는 20항에 있어서, 상기 단계(d1)는The method of claim 19 or 20, wherein step (d1) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제1항에 있어서, 상기 단계(e)의 2단계 검색창에 대한 2단계 검색과정은The method of claim 1, wherein the step 2 search process for the step 2 search box of step (e) is (e1) 삼단계 검색방법에 의한 검색점'5'를 중심으로 하는 2단계 검색창내 9개의 검색점'51∼59'중 중앙 검색점'5'과 이 중앙 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'52,54,56,58'중 서로 근접한 두 외곽 검색점'56,58'에 대한 SAD를 계산한후, 계산된 SAD(5), SAD(56) 및 SAD(58)중 최소값 SAD를 찾아내는 단계;(e1) Up, down, left and right from the center search point '5' and the center search point '5' among the nine search points '51 to 59 'in the two-level search window centered on the search point' 5 'by the three-step search method. After calculating the SADs of two adjacent outer search points '56, 58 'among four adjacent outer search points '52, 54, 56 and 58', the calculated SAD (5), SAD (56) and SAD (58) are calculated. Finding a minimum value SAD); (e2) 단계(e1)에서 구한 최소값 SAD가 SAD(56)과 SAD(68)중 어느 하나일 경우, 이 최소값 SAD의 검색점에 인접한 두 검색점에 대한 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 3단계 검색창에 대한 3단계검색을 수행하는 단계;(e2) If the minimum value SAD obtained in step (e1) is one of SAD 56 and SAD 68, after calculating the SADs for two search points adjacent to the search point of this minimum value SAD, the three outer edges are calculated. Finding a minimum value SAD among the SADs of the search points, and performing a three-step search for the three-step search window centering on the search point corresponding to the found minimum value SAD; (e3) 단계(e2)에서 구한 최소값 SAD가 중앙 검색점'5'의 SAD일 경우, 이 검색점'5'에서 상하좌우로 인접한 4개의 외곽 검색점'52,54,56,58'중 서로 근접한 다른 두 외곽 검색점'52,54'에 대한 SAD을 계산한후, 계산된 다른 두 외곽 검색점'52,54'의 SAD와 중앙 검색점'5'의 SAD중 최소값 SAD를 찾아내는 단계;(e3) If the minimum value SAD obtained in step (e2) is the SAD of the center search point '5', the four outer search points '52, 54, 56 and 58 'which are adjacent to each other at this search point' 5 ' Calculating SADs for two other adjacent outer search points '52 and 54 ', and then finding a minimum SAD among the calculated SADs of the other two outer search points '52 and 54' and SAD of the central search point '5'; (e4) 단계(e3)에서 구한 최소값 SAD가 SAD(52)과 SAD(54)중 어느 하나일 경우, 이 최소값 SAD의 검색점에 인접한 두 검색점에 대한 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 3단계 검색창에 대한 3단계검색을 수행하는 단계;(e4) If the minimum value SAD obtained in step (e3) is one of the SAD 52 and the SAD 54, after calculating the SADs for two search points adjacent to the search point of this minimum value SAD, the three outer edges are calculated. Finding a minimum value SAD among the SADs of the search points, and performing a three-step search for the three-step search window centering on the search point corresponding to the found minimum value SAD; (e5) 단계(e4)에서 구한 최소값 SAD가 중앙 검색점'5'의 SAD일 경우, 이 검색점'5'을 중앙 검색점으로 하여 3단계 검색창에 대한 3단계 검색을 수행하는 단계; 로 이루어짐을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.(e5) performing a three-stage search for the three-stage search box when the minimum value SAD obtained in step (e4) is the SAD of the central search point '5'; Fast motion prediction method for real-time video compression, characterized in that consisting of. 제24항에 있어서, 상기 단계(e1)는The method of claim 24, wherein step (e1) 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제24항에 있어서, 상기 단계(e1)는The method of claim 24, wherein step (e1) 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제14항 또는 제15항에 있어서, 상기 2단계 검색창에 대한 2단계 검색과정은The method of claim 14 or 15, wherein the two-step search process for the two-step search box 삼단계 검색방법에 의한 검색점'3'를 중심으로 하는 2단계 검색창내 9개의 검색점'31∼39'중 중앙 검색점'3'과 이 중앙 검색점'3'에서 상하좌우로 인접한 4개의 외곽 검색점'32,34,36,38'중 서로 근접한 두 외곽 검색점'36,38'에 대한 SAD를 계산한후, 계산된 SAD(3), SAD(36) 및 SAD(38)중 최소값 SAD를 찾아내는 단계;The center search point '3' out of the nine search points '31 to 39 'in the two-level search box centered on the search point' 3 'by the three-step search method, and the four adjacent to the center search point' 3 ' After calculating the SADs for the two outer search points '36, 38 'which are adjacent to each other among the outer search points '32, 34, 36 and 38', the minimum value of the calculated SAD (3), SAD (36) and SAD (38) is calculated. Finding a SAD; 상기 단계에서 구한 최소값 SAD가 SAD(36)과 SAD(38)중 어느 하나일 경우, 이 최소값 SAD의 검색점에 인접한 두 검색점에 대한 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD에 해당하는 검색점을 중심으로 하여 3단계 검색창에 대한 3단계검색을 수행하는 단계;If the minimum value SAD obtained in the above step is any one of the SAD 36 and the SAD 38, after calculating the SADs for two search points adjacent to the search point of the minimum value SAD, the SADs of the three outer search points are calculated. Finding a minimum value SAD and performing a three-step search for a three-step search window centering on a search point corresponding to the found minimum value SAD; 상기 단계에서 구한 최소값 SAD가 검색점'3'의 SAD일 경우, 이 검색점'3'에서 상하좌우로 인접한 4개의 외곽 검색점'32,34,36,38'중 서로 근접한 다른 두 검색점'32,34'에 대한 SAD를 계산한후, 계산된 다른 두 외곽 검색점'32,34'의 SAD와 중앙 검색점'3'의 SAD중 최소값 SAD를 찾아내는 단계;If the minimum value SAD obtained in the above step is the SAD of the search point '3', two other search points adjacent to each other among the four outer search points 32, 34, 36, and 38 that are adjacent to each other in the search point '3' Calculating a SAD for 32,34 ', and then finding a minimum SAD of the calculated SADs of the other two outer search points '32, 34' and the SADs of the central search point '3'; 상기 단계에서 구한 최소값 SAD가 SAD(32)과 SAD(34)중 어느 하나일 경우, 이 최소값 SAD의 검색점에 인접한 두 검색점에 대한 SAD를 계산한후, 이 3개의 외곽 검색점의 SAD중 최소값 SAD를 찾아내고, 찾아낸 최소값 SAD를 중앙 검색점으로 하여 3단계 검색창에 대한 3단계 검색을 수행하는 단계;If the minimum value SAD obtained in the above step is one of the SAD 32 and the SAD 34, after calculating the SADs of two search points adjacent to the search point of the minimum value SAD, the SADs of the three outer search points are calculated. Finding a minimum value SAD, and performing a three-step search for the three-step search window using the found minimum value SAD as a central search point; 상기 단계에서 구한 최소값 SAD가 검색점'3'의 SAD일 경우, 이 검색점'3'을 중앙 검색점으로 하여 3단계 검색창에 대한 3단계 검색을 수행하는 단계; 로 이루어짐을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Performing a three-stage search for the three-stage search window using the search point '3' as the center search point when the minimum value SAD obtained in the step is the SAD of the search point '3'; Fast motion prediction method for real-time video compression, characterized in that consisting of. 제27항에 있어서, 상기 SAD를 계산하는 단계는The method of claim 27, wherein calculating the SAD is 최소값 SAD가 검색점'3'의 SAD일 경우, 기 설정한 SADmin보다 SAD(3)가 작은지를 판단한후 작을 경우에는 SADmin을 SAD(3)로 재설정하는 단계;를 더 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.When the minimum value SAD is the SAD of the search point '3', determining whether the SAD (3) is smaller than the preset SADmin, and resetting the SADmin to the SAD (3) when it is smaller. Fast Motion Prediction Method for Image Compression. 제27항에 있어서, 상기 SAD를 계산하는 단계는The method of claim 27, wherein calculating the SAD is 검색점에 대한 SAD를 계산하는 동안에, 계산중인 SAD가 SADmin보다 큰지를 판단하여, 커지면 이 검색점에 대한 SAD계산을 중단하고, 다음 과정으로 진행하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.While calculating the SAD for the search point, it is determined whether the SAD being calculated is greater than SADmin, and if it becomes larger, stops calculating the SAD for this search point and proceeds to the next step. Fast Motion Prediction Method. 제27항에 있어서, 상기 단계는The method of claim 27, wherein said step 계산된 SAD가 기설정된 정합에러 임계치(TH)보다 작은지를 판단하고, 이 정합에러 임계치(TH)보다 작은 SAD가 있으면, 이 SAD에 해당하는 검색점을 움직임벡터로 결정하는 단계; 를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.Determining whether the calculated SAD is smaller than the preset matching error threshold TH, and if there is an SAD smaller than the matching error threshold TH, determining a search point corresponding to the SAD as a motion vector; Fast motion prediction method for real-time video compression, characterized in that it comprises a. 제27항에 있어서, 상기 단계(b22,b24,b25)의 3단계 검색과정은28. The method of claim 27, wherein the three-stage retrieval of steps b22, b24, and b25 is performed. 최소값 SAD를 중앙 검색점으로 하는 3단계 검색창내 전체 검색점에 대한 SAD를 계산한후,After calculating the SAD for all search points in the three-step search box with the minimum value SAD as the central search point, 계산된 SAD중 최소값 SAD인 검색점을 찾아내어 움직임벡터로 결정하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.A fast motion prediction method for real-time image compression, comprising: finding a search point having the minimum value SAD among the calculated SADs and determining the search point as a motion vector. 제24항에 있어서, 상기 단계(e5)의 3단계 검색과정은25. The method of claim 24, wherein the three-step retrieval process of step (e5) 최소값 SAD를 중앙 검색점으로 하는 3단계 검색창내 전체 검색점에 대한 SAD를 계산한후,After calculating the SAD for all search points in the three-step search box with the minimum value SAD as the central search point, 계산된 SAD중 최소값 SAD인 검색점을 찾아내어 움직임벡터로 결정하는 단계를 포함함을 특징으로 하는 실시간 영상압축을 위한 고속 움직임 예측방법.A fast motion prediction method for real-time image compression, comprising: finding a search point having the minimum value SAD among the calculated SADs and determining the search point as a motion vector.
KR1019990004795A 1999-02-11 1999-02-11 Fast motion estimating method for real-time video coding KR100286818B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990004795A KR100286818B1 (en) 1999-02-11 1999-02-11 Fast motion estimating method for real-time video coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990004795A KR100286818B1 (en) 1999-02-11 1999-02-11 Fast motion estimating method for real-time video coding

Publications (2)

Publication Number Publication Date
KR20000055899A KR20000055899A (en) 2000-09-15
KR100286818B1 true KR100286818B1 (en) 2001-04-16

Family

ID=19574098

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990004795A KR100286818B1 (en) 1999-02-11 1999-02-11 Fast motion estimating method for real-time video coding

Country Status (1)

Country Link
KR (1) KR100286818B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869518B2 (en) 2005-06-14 2011-01-11 Electronics And Telecommunications Research Institute Fast motion estimation apparatus and method using block matching algorithm
KR101539013B1 (en) * 2014-03-19 2015-07-24 한림대학교 산학협력단 Apparatus and method for inpainting image
KR101693643B1 (en) * 2015-09-18 2017-01-17 한림대학교 산학협력단 Apparatus and method for inpainting image

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100778468B1 (en) * 2000-12-12 2007-11-21 엘지전자 주식회사 An optimization of motion estimation method and apparatus
KR20040013325A (en) * 2002-08-05 2004-02-14 엘지전자 주식회사 Method for compression moving picture
KR100502138B1 (en) * 2002-10-24 2005-07-20 주식회사 이지미디어 A guided searching method using neighbor motion vector
KR100575578B1 (en) 2003-11-13 2006-05-03 한국전자통신연구원 Method for detecting motion in mobile device
KR100870554B1 (en) * 2007-01-08 2008-11-27 한양대학교 산학협력단 Motion compensated temporal filtering method for efficient wavelet-based scalable video coding and record-medium for executing method thereof
KR102309918B1 (en) 2017-11-29 2021-10-08 한국전자기술연구원 Apparatus for performing fast motion estimation using interpolation filter in video encoder and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869518B2 (en) 2005-06-14 2011-01-11 Electronics And Telecommunications Research Institute Fast motion estimation apparatus and method using block matching algorithm
KR101539013B1 (en) * 2014-03-19 2015-07-24 한림대학교 산학협력단 Apparatus and method for inpainting image
KR101693643B1 (en) * 2015-09-18 2017-01-17 한림대학교 산학협력단 Apparatus and method for inpainting image

Also Published As

Publication number Publication date
KR20000055899A (en) 2000-09-15

Similar Documents

Publication Publication Date Title
KR100498951B1 (en) Method of Motion Estimation for Video Coding in MPEG-4/H.263 Standards
KR0178231B1 (en) Method and apparatus for detecting motion vectors based on hierarchical motion estimation
JP4001400B2 (en) Motion vector detection method and motion vector detection device
US8023562B2 (en) Real-time video coding/decoding
WO2010035370A1 (en) Dynamic image encoding method and dynamic image decoding method
JPH08307874A (en) Video signal encoding device
KR100929608B1 (en) Video motion estimation method and device using fast global search block matching algorithm
US7817717B2 (en) Motion estimation techniques for video encoding
EP1389875A2 (en) Method for motion estimation adaptive to DCT block content
KR100286818B1 (en) Fast motion estimating method for real-time video coding
KR100439183B1 (en) Stochastic sampling based pel motion estimation method
KR100212559B1 (en) The contour coding system and motion prediction method for object
US7386050B2 (en) Fast half-pel searching method on the basis of SAD values according to integer-pel search and random variable corresponding to each macro block
KR100305582B1 (en) Fast motion estimating method using adaptive scan based on image complexity
KR100292355B1 (en) Motion vector esitmation method and apparatus in image processing system
KR100987581B1 (en) Method of Partial Block Matching for Fast Motion Estimation
KR100602148B1 (en) Method for motion picture encoding use of the a quarter of a pixel motion vector in mpeg system
US20060104352A1 (en) Block matching in frequency domain for motion estimation
KR100203695B1 (en) Post-processing apparatus for texture classification in object based coding
JPH07123411A (en) Movement vector sensing and transmitting methods
KR100207391B1 (en) Image coding system and moving information detecting method using adaptive vector quantization
KR100212560B1 (en) Apparatus for determinating coding mode of contour in hybrid contour coding system
KR0129806B1 (en) Improved apparatus and method for motion vector transmission in digital image coder
KR100252346B1 (en) An improved apparatus and method for coding texture move vector
JP2008072608A (en) Apparatus and method for encoding image

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee