KR100216585B1 - Half-pixel motion estimating apparatus of frame or field - Google Patents
Half-pixel motion estimating apparatus of frame or field Download PDFInfo
- Publication number
- KR100216585B1 KR100216585B1 KR1019950040277A KR19950040277A KR100216585B1 KR 100216585 B1 KR100216585 B1 KR 100216585B1 KR 1019950040277 A KR1019950040277 A KR 1019950040277A KR 19950040277 A KR19950040277 A KR 19950040277A KR 100216585 B1 KR100216585 B1 KR 100216585B1
- Authority
- KR
- South Korea
- Prior art keywords
- motion estimation
- receiving
- pixel
- output
- search area
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/43—Hardware specially adapted for motion estimation or compensation
- H04N19/433—Hardware specially adapted for motion estimation or compensation characterised by techniques for memory access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/59—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
Abstract
본 발명은 프레임 또는 필드의 반화소 움직임 추정을 위해 사용될 수 있는 프레임 또는 필드 반화소 움직임 추정 장치에 관한 것으로, 간단한 하드웨어를 이용하여 프레임 또는 필드 반화소 움직임 추정에 공통적으로 사용될 수 있는 프레임 또는 필드 반화소 움직임 추정 장치를 제공하기 위하여, 탐색 영역 데이터를 저장하는 제1저장 수단; 기준 블럭 데이터를 저장하는 제2저장 수단; 탐색 영역 데이터의 메모리 출력 번지를 발생하여 상기 제1저장 수단으로 출력하는 제1카운팅 수단; 기준 블럭 데이터의 메모리 출력 번지를 발생하여 상기 제2저장 수단으로 출력하는 제2카운팅 수단; 상기 제1저장 수단으로부터 탐색 영역 데이터를 입력받아 각 반화소 위치에서의 반화소 움직임 추정을 위해 필요한 보간된 탐색 영역 데이터를 발생하는 보간 수단; 상기 보간 수단으로 부터 보간된 탐색 영역 데이터를 입력받고, 상기 제2저장 수단으로부터 기준 블럭 데이터를 입력받아 각 반화소 위치에서의 움직임 추정 오차를 계산하는 반화소 움직임 추정 수단; 및 상기 반화소 움직임 추정 수단으로부터 움직임 추정 오차를입력받아 각 반화소 위치에서의 움직임 추정 오차를 비교하는 비교 수단을 포함하여 간단한 하나의 장치를 이용하여 프레임 또는 필드에 대한 반화소 움직임 추정을 수행할 수 있는 융통성을 제공하는 효과가 있다.The present invention relates to a frame or field half-pixel motion estimation apparatus that can be used for half-pixel motion estimation of a frame or field, and can be commonly used for frame or field half-pixel motion estimation using simple hardware. First storage means for storing search area data to provide a pixel motion estimation apparatus; Second storage means for storing reference block data; First counting means for generating a memory output address of the search area data and outputting the memory address to the first storage means; Second counting means for generating a memory output address of reference block data and outputting it to the second storage means; Interpolation means for receiving interpolation search area data from the first storage means and generating interpolated search area data for half-pixel motion estimation at each half-pixel location; Half-pixel motion estimation means for receiving interpolated search area data from the interpolation means, receiving reference block data from the second storage means, and calculating a motion estimation error at each half-pixel position; And a comparison means for receiving a motion estimation error from the half-pixel motion estimation means and comparing the motion estimation error at each half-pixel position to perform half-pixel motion estimation for a frame or field using a simple device. It has the effect of providing flexibility.
Description
제1도는 본 발명에 이용되는 프레임 반화소 움직임 추정시 탐색 영역 및 기준 블럭데이터의 구성예시도.1 is an exemplary configuration diagram of a search area and reference block data when estimating frame half-pixel motion used in the present invention.
제2도는 본 발명에 이용되는 필드 반화소 움직임 추정시 탐색 영역 및 기준 블럭데이터의 구성예시도.2 is a diagram showing the configuration of a search area and reference block data when estimating field half-pixel motion used in the present invention.
제3도는 본 발명에 따른 프레임 또는 필드 반화소 움직임 추정 장치의 일실시예 구성도.Figure 3 is a block diagram of an embodiment of a frame or field half-pixel motion estimation apparatus according to the present invention.
제4도는 본 발명에 따른 프레임 또는 필드 반화소 움직임 추정 장치의 보간기의 세부 구성예시도.4 is a detailed configuration example of an interpolator of a frame or field half-pixel motion estimation apparatus according to the present invention.
제5도는 본 발명에 따른 프레임 또는 필드 반화소 움직임 추정 장치의 세부 구성예시도.5 is a detailed configuration example of a frame or field half-pixel motion estimation apparatus according to the present invention.
제6도는 제5도의 반화소 움직임 추정 장치의 오차 누산기의 세부 구성예시도.6 is a detailed configuration example of an error accumulator of the half-pixel motion estimation apparatus of FIG.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
31 : 제1메모리 32 : 제2메모리31: first memory 32: second memory
33 : 제1카운터 34 : 제2카운터33: first counter 34: second counter
35 : 보간기 36 : 반화소 움직임 추정 장치35: interpolator 36: half-pixel motion estimation device
37 : 비교기37: comparator
본 발명은 프레임 또는 필드의 반화소 움직임 추정을 위한 프레임 또는 필드 반화소 움직임 추정 장치에 관한 것이다.The present invention relates to a frame or field half-pixel motion estimation apparatus for half-pixel motion estimation of a frame or field.
종래의 반화소 움직임 추정 장치는 프레임에 대한 반화소 움직임 추정만을 고려하거나, 수학적 모델을 이용하여 근사적인 반화소 위치를 구하는 방식을 사용하였다.The conventional half-pixel motion estimation apparatus considers only half-pixel motion estimation for a frame or uses a method of obtaining approximate half-pixel positions using a mathematical model.
따라서, 프레임만을 고려한 반화소 움직임 추정 장치를 이용하여 필드에 대한 반화소 움직임 추정을 하기 위해서는 별도의 복잡한 로직이 추가적으로 구현되어야 하는 문제점이 있었다. 또한, 수학적 모델을 이용하여 반화소 움직임 추정을 하는 경우에는 매우 부정확한 결과가 얻어질 수 있으며, 한 화소 단위의 모든 움직임 추정 오차를 저장해야 하는 문제점이 있었다.Therefore, in order to estimate the half-pixel motion of the field using the half-pixel motion estimation apparatus considering only the frame, additional complicated logic must be additionally implemented. In addition, when half-pixel motion estimation is performed using a mathematical model, very inaccurate results may be obtained, and there is a problem in that all motion estimation errors in one pixel unit need to be stored.
상기 종래의 제반 문제점을 해결하기 위하여 안출된 본 발명은, 간단한 하드웨어를 이용하여 프레임 또는 필드의 반화소 움직임 추정에 공통적으로 사용될 수 있는 프레임 또는 필드 반화소 움직임 추정 장치를 제공하는데 그 목적이 있다.An object of the present invention is to provide a frame or field half-pixel motion estimation apparatus that can be commonly used for half-pixel motion estimation of a frame or field using simple hardware.
상기 목적을 달성하기 위하여 본 발명은, 프레임 또는 필드 반화소 움직임추정장치에 있어서, 탐색 영역 데이터를 저장하는 제1저장 수단; 기준 블럭 데이터를 저장하는 제2저장 수단; 탐색 영역 데이터의 메모리 출력 번지를 발생하여 상기 제1저장 수단으로 출력하는 제1카운팅 수단; 기준 블럭 데이터의 메모리 출력번지를 발생하여 상기 제2저장 수단으로 출력하는 제2카운팅 수단; 상기 제1저장 수단으로부터 탐색 영역 데이터를 입력받아 각 반화소 위치에서의 반화소 움직임 추정을 위해 필요한 보간된 탐색 영역 데이터를 발생하는 보간 수단, 상기 보간 수단으로 부터 보간된 탐색 영역 데이터를 입력받고, 상기 제2저장 수단으로부터 기준 블럭 데이터를 입력받아 각 반화소 위치에서의 움직임 추정 오차를 계산하는 반화소 움직임 추정 수단, 및 상기 반화소 움직임 추정 수단으로 부터 움직임 추정 오차를 입력받아 각 반화소 위치에서의 움직임 추정 오차를 비교하는 비교 수단을 포함한다.In order to achieve the above object, the present invention provides a frame or field half-pixel motion estimation apparatus comprising: first storage means for storing search area data; Second storage means for storing reference block data; First counting means for generating a memory output address of the search area data and outputting the memory address to the first storage means; Second counting means for generating a memory output address of reference block data and outputting the memory output address to the second storage means; Interpolation means for receiving interpolated search area data from the first storage means and generating interpolated search area data for half-pixel motion estimation at each half-pixel position, interpolated search area data from the interpolation means, Half-pixel motion estimation means for receiving reference block data from the second storage means and calculating a motion estimation error at each half-pixel position, and receiving motion estimation error from the half-pixel motion estimation means at each half-pixel position. And comparison means for comparing the motion estimation error of the signals.
이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;
제1도는 본 발명에 이용되는 프레임 반화소 움직임 추정시 탐색 영역 및기준 블럭 데이터의 구성예시도이고, 제2도는 본 발명에 이용되는 필드 반화소 움직임 추정시 탐색 영역 및 기준 블럭 데이터의 구성예시도이다.FIG. 1 is a diagram showing the configuration of search area and reference block data when estimating frame half-pixel motion used in the present invention, and FIG. 2 is a diagram showing the configuration of search area and reference block data when estimating field half-pixel motion used in the present invention. to be.
도면에 도시된 바와 같이, 프레임 움직임 추정인 경우 기준 블럭 데이터는 16×16의 크기를 갖으며, 탐색 영역 데이터의 크기는 18×8이다.필드 반화소 움직임 추정인 경우 기준 블럭 데이터는 각가 16×8의 크기를 갖는 탑(top)필드와 바텀(bottom)필드로 구성되며, 탐색 영역 데이터는 기준 탑(top)필드에 대한 18×10의 탐색 영역 데이터와 기준 바텀(borrom)필드에 대한 18×10의 탐색 영역 데이터로 구성한다.As shown in the figure, in the case of frame motion estimation, the reference block data has a size of 16 × 16, and the size of the search area data is 18 × 8. In the case of field half-pixel motion estimation, the reference block data has a value of 16 ×. It consists of a top field and a bottom field having a size of 8, and the search area data is 18 × 10 search area data for a reference top field and 18 × for a reference borrom field. It consists of 10 search area data.
따라서, 프레임 반화소 움직임 추정인 경우와 필드 반화소 움직임 추정인 경우에 서로 다른 크기의 탐색 영역 데이터가 사용되어야 하며,이는 복잡한 제어 로직을 요구하게 된다. 이를 해결하기 위하여 본 발명에서는 프레임 또는 필드 반화소 움직임 추정의 각 경우에 대한 기준 블록과 탐색 영역 데이터를 제1도 및 제2도와 같이 구성한다.Therefore, in case of frame half-pixel motion estimation and field half-pixel motion estimation, search area data having different sizes should be used, which requires complicated control logic. In order to solve this problem, the present invention configures reference blocks and search region data for each case of frame or field half-pixel motion estimation as shown in FIGS. 1 and 2.
즉, 프레임 반화소 움직임 추정인 경우에는 제1도와 같이 16×16크기를 갖는 기준 블록을 상위 16×8의 기준 블럭 T와 하위 16×8의 기준 블록 B로 나누고, 18×18의 크기를 갖는 탐색 영역을 기준 블럭 T에 대한 탐색 영역인 상위 18×10의 탐색 영역 T와 기준 블럭 B에 대한 탐색 영역인 하위 18×10의 탐색 영역 B로 나눈다. 이때,상위 탐색 영역 T의 아래쪽 2행과 하위 탐색 영역인 B의 위쪽 2행은 서로 동일한 데이터로 구성된다.That is, in the case of frame half-pixel motion estimation, the reference block having the size of 16 × 16 is divided into the reference block T of the upper 16 × 8 and the reference block B of the lower 16 × 8, as shown in FIG. 1, and has the size of 18 × 18. The search area is divided into a search area T of the upper 18 × 10 that is the search area for the reference block T and a search area B of the lower 18 × 10 that is the search area for the reference block B. At this time, the lower two rows of the upper search area T and the upper two rows of B, which is the lower search area, are composed of the same data.
필드 반화소 움직임 추정인 경우 기준 블록과 탐색 영역 데이터는 제2도와같이 구성된다. 프레임 반화소 움직임 추정의 경우 기준 블록과 탐색 영역 데이터의 제1도와 같은 구성은 프레임 반화소 움직임 추정을 제2도의 필드 반화소 움직임 추정과 동일하게 취급할 수 있도록 하여, 간단한 제어 로직만을 사용하여 용이하게 구현될 수 있게 한다. 제1도 및 제2도의 프레임 또는 필드 반화소 움직임 추정의 경우, 각 기준 위치는 모두(0, 0)이다.In the case of field half-pixel motion estimation, the reference block and the search region data are configured as shown in FIG. In the case of frame half-pixel motion estimation, the configuration shown in FIG. 1 of the reference block and the search region data enables the frame half-pixel motion estimation to be handled in the same way as the field half-pixel motion estimation in FIG. 2. Thus, it is easy to use only simple control logic. To be implemented. In the case of frame or field half-pixel motion estimation in FIGS. 1 and 2, each reference position is both (0, 0).
제3도는 본 발명에 따른 프레임 또는 필드 반화소 움직임 추정 장치의 일실시예 구성도로서, 제1메모리(31), 제2메모리(32), 제1카운터(33), 제2카운터(34), 보간기(35), 반화소 움직임 추정 장치(36) 및 비교기(37)를 구비한다.3 is a configuration diagram of an apparatus for estimating a frame or field half-pixel motion according to an embodiment of the present invention, and includes a first memory 31, a second memory 32, a first counter 33, and a second counter 34. And an interpolator 35, a half-pixel motion estimation device 36, and a comparator 37.
도면에 도시된 바와 같이, 프레임 또는 필드 반화소 움직임 추정 장치는 탐색 영역 데이터를 저장하는 제1메모리(31), 기준 블럭 데이터를 저장하는 제2메모리(32), 탐색 영역 데이터의 메모리 출력 번지를 발생하여 제1메모리(31)로 출력하는 제1카운터(33), 기준 블럭 데이터의 메모리 출력 번지를 발생하여 제2메모리(32)로 출력하는 제 2 카운터(34), 제1메모리(31)로부터 정수 위치의 탐색 영역 데이터를 입력받아 각 반화소 위치에서의 반화소 움직임 추정을 위해 필요로 되는 보간된 탐색 영역 데이터를 발생하는 보간기(35), 보간기(35)로 부터 보간된 탐색 영역 데이터를 입력 받고 제 2 메모리(32)로부터 기준 블럭 데이터를 입력받아 각 반화소 위치에서의 움직임 추정 오차를 계산하는 반화소 움직임 추정 장치(36), 및 반화소 움직임 추정 장치(36)로부터 움직임 추정 오차를 입력받아 각 반화소 위치에서의 움직임 추정 오차를 비교하는 비교기(37)를 구비한다.As shown in the figure, the frame or field half-pixel motion estimation apparatus includes a first memory 31 for storing search area data, a second memory 32 for storing reference block data, and a memory output address of the search area data. A first counter 33 that generates and outputs the first output to the first memory 31; a second counter 34 and a first memory 31 that generate and output a memory output address of the reference block data to the second memory 32; Search area interpolated from interpolator 35 and interpolator 35 for receiving interpolated search area data from the integer positions and generating interpolated search area data required for half-pixel motion estimation at each half-pixel location A half-pixel motion estimation device 36 that receives data and receives reference block data from the second memory 32 and calculates a motion estimation error at each half-pixel position, and moves from the half-pixel motion estimation device 36. It receives the estimation error comprises a comparator 37 for comparing the motion estimation error in each of the half-pixel location.
그 구체적인 동작을 살펴보면 다음과 같다.Looking at the specific operation is as follows.
제2카운터(34)는 제2메모리(32)로 부터 기준 블럭 T와 기준 블럭 B를 차례대로 반화소 움직임 추정 장치(36)로 출력하기 위한 번지를 발생시켜 제2메모리(32)로 출력한다. 프레임 반화소 움직임 추정인 경우 출력되는 기준 블럭 T와 기준 블럭 B는 제1도와 같으며, 필드 반화소 움직임 추정인 경우 출력되는 기준 블럭 T와 기준 블럭 B는 제2도와 같다. 이때, 기준 블럭 T와 기준 블럭 B는 위에서 아래, 좌측에서 우측의 순서로 출력된다.The second counter 34 generates a address for outputting the reference block T and the reference block B from the second memory 32 to the half-pixel motion estimation device 36 in order, and outputs the address to the second memory 32. . In the case of frame half-pixel motion estimation, the output reference block T and the reference block B are shown in FIG. 1, and in the case of field half-pixel motion estimation, the output reference block T and the reference block B are shown in FIG. At this time, the reference block T and the reference block B are output in the order of top down, left to right.
제1카운터(33)는 제1메모리(31)로 부터 탐색 영역 T와 탐색 영역 B를 차례대로 보간기(35)로 출력하기 위한 번지를 발생시켜 제1메모리(31)로 출력한다. 프레임 반화소 움직임 추정인 경우 출력되는 탐색 영역 T와 탐색 영역 B는 제1도와 같으며,필드 반화소 움직임 추정인 경우 출력되는 탐색 영역 T와 탐색 영역 B는 제2도와 같다. 이때, 탐색 영역 T와 탐색영역 B는 위에서 아래, 좌측에서우측의 순서로 보간기(35)출력된다.The first counter 33 generates a address for outputting the search area T and the search area B from the first memory 31 to the interpolator 35 in order and outputs the address to the first memory 31. In the case of frame half-pixel motion estimation, the search region T and the search region B outputted are the same as those in FIG. 1, and in the case of the field half-pixel motion estimation, the search region T and the search region B, which are output, are shown in FIG. At this time, the search area T and the search area B are output from the interpolator 35 in the order of top to bottom and left to right.
제4도는 본 발명에 따른 프레임 또는 반화소 움직임 추정 장치의 보간기의 세부구성예시도이다.4 is a detailed configuration example of an interpolator of a frame or half-pixel motion estimation apparatus according to the present invention.
도면에 도시된 바와 같이, 보간기가 제1메모리로 부터 탐색 영역 데이터를 입력받아 지연 소자와 덧셈기를 이용하여 각 반화소 위치에서의 움직임 추정 오차를 계산하기 위하여 필요로 되는 보간된 탐색 영역 데이터(B, C, D)를 발생하여 반화소 움직임 추정 장치로 출력한다.As shown in the figure, interpolated interpolation search area data (B) required for calculating a motion estimation error at each half-pixel position using a delay element and an adder by receiving search area data from a first memory. , C, D) are output to the half-pixel motion estimation apparatus.
즉, 보간기는 제1메모리로 부터 탐색 영역 데이터를 입력 받아 10 클럭 사이클 동안 지연하여 출력하는 제1지연 소자(41), 제1지연 소자(41)의 출력을 입력받아 1 클럭 사이클 동안 지연하는 제 2 지연 소자(42), 제1및 제2지연 소자(41, 42)의 출력을 입력받아 반올림 덧셈을 수행하는 제1반올림 덧셈기(45), 제1반올림 덧셈기(45)의 출력을 입력받아 1클럭 사이클 동안 지연하여 보간된 탐색 영역 데이터(B)를 반화소 움직임 추정 장치로 출력하는 제 3 지연 소자(48), 제1메모리로 부터 탐색 영역 데이터를 입력받고 제1지연 소자(41)의 출력을 입력받아 반올림 덧셈을 수행하는 제2반올림 덧셈기(44), 제2반올림 덧셈기(44)의 출력을 입력받아 1클럭 사이클 동안 지연하는 제4지연 소자(43), 제2반올림 덧셈기(44)와 제4지연 소자(43)의 출력을 입력받아 반올림 덧셈을 수행하는 제3반올림 덧셈기(46), 제2반올림 덧셈기(44)의 출력을 입력받아 1클럭 사이클 동안 지연하여 보간된 탐색 영역 데이터(C)를 반화소 움직임 추정 장치로 출력하는 제5지연 소자(49), 및 제3반올림 덧셈기(46)의 출력을 입력받아 1클럭 사이클 동안 지연하여 보간된 탐색 영역 데이터(D)를 반화소 움직임 추정 장치로 출력하는 제6 지연 소자(47)를 구비한다.That is, the interpolator is a first delay element 41 receives the search area data from the first memory and delays it for 10 clock cycles, and outputs the first delay element 41 and a delay delayed for 1 clock cycle. Receives the outputs of the first rounding adder 45 and the first rounding adder 45 that receive the outputs of the second delay element 42 and the first and second delay elements 41 and 42. A third delay element 48 that outputs interpolated search area data B delayed for a clock cycle to a half-pixel motion estimation device, and receives search area data from a first memory and outputs the first delay element 41. And a fourth delay element 43, a second round adder 44, which delays the output of the second round adder 44, the second round adder 44, and receives the output of the second round adder 44 for one clock cycle. Rounded addition is performed by receiving the output of the fourth delay element 43. A fifth delay element 49 that receives the outputs of the third rounding adder 46 and the second rounding adder 44 and outputs interpolated search area data C to the half-pixel motion estimation device by delaying for one clock cycle And a sixth delay element 47 that receives the output of the third rounding adder 46 and delays it for one clock cycle to output interpolated search area data D to the half-pixel motion estimation device.
제5도는 본 발명에 따른 프레임 또는 필드 반화소 움직임 추정 장치의 반화소 움직임 추정 장치의 세부 구성예시도이다.5 is a detailed configuration example of a half-pixel motion estimation apparatus of a frame or field half-pixel motion estimation apparatus according to the present invention.
도면에 도시된 바와 같이, 기준 블럭 데이터는 8개의 모든 오차 누산기에 입력되는데, 이때 각 오차 누산기에 입력되는 탐색 영역 데이터와 타이밍을 맞추기 위하여 지연 소자가 사용된다.As shown in the figure, reference block data is input to all eight error accumulators, in which a delay element is used to match timing with search region data input to each error accumulator.
반화소 움직임 추정 장치는 제 2 메모리로부터 기준 블럭 데이터를 입력받아 1 클럭 사이클 동안 지연하는 제7지연 소자(58), 제7지연 소자(58)의 출력을 입력받아 9 클럭 사이클 동안 지연하는 제8연 소자(59), 제8지연 소자(59)의 입력을 받아 1클럭 사이클 동안 지연하는 제9지연 소자(60), 제2메모리로 부터 기준 블럭 데이터를 입력받고 보간기의 출력 D로 부터 반화소 위치 (-0.5, -0.5)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력 받아 차이값을 누산하는 제1 누산기(50), 제2 메모리로 부터 기준 블럭 데이터를 입력받고 보간기의 출력 C로부터 반화소 위치 (-0.5, 0)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제2누산기(51), 제6지연 소자(58)의 출력을 입력받고 보간기의 출력 D로부터 반환소 위치 (-0.5,+0.5)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제3누산기(52), 제8지연 소자(59)의 출력을 입력받고 보간기의 출력 B로 부터 반환소 위치(0, -0.5)에서의 움직임 추정오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제4누산기(53), 제9지연 소자(60)의 출력을 입력받고 보간기의 출력 B로부터 반화소 위치 (0,+0.5)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제5누산기(54), 제8지연 소자(59)의 출력을 입력받고 상기 보간기의 출력 D로부터 반화소 위치 (+0.5, -0.5)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제6누산기(55), 제8지연 소자(59)의 출력을 입력받고 보간기의 출력 C로 부터 반화소 위치 (+0.5, 0)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제7누산기(56), 제9지연 소자(60)의 출력을 입력받고 보간기의 출력 D로부터 반화소 위치(+0.5, +0.5)에서의 움직임 추정 오차를 계산하는데 필요한 탐색 영역 데이터를 입력받아 차이값을 누산하는 제8누산기(57)를 구비한다.The half-pixel motion estimation device receives an eighth delay element 58 that receives reference block data from a second memory and delays it for one clock cycle and an eighth delayed for nine clock cycles by receiving an output of the seventh delay element 58. The ninth delay element 60, which receives the input of the delay element 59, the eighth delay element 59, and delays for one clock cycle, receives the reference block data from the second memory, and receives the reference block data from the output D of the interpolator. The first accumulator 50, which receives the search area data necessary for calculating the motion estimation error at the pixel position (-0.5, -0.5), accumulates the difference value, receives the reference block data from the second memory, Input the outputs of the second accumulator 51 and the sixth delay element 58 that receive the search area data necessary for calculating the motion estimation error at the half-pixel position (-0.5, 0) from the output C and accumulate the difference values. From the output D of the interpolator Interpolates and receives the outputs of the third accumulator 52 and the eighth delay element 59 that receive the search area data necessary to calculate the motion estimation error at the reduced position (-0.5, +0.5) and accumulate the difference values. The fourth accumulator 53 and the ninth delay element 60 that receive the search area data necessary for calculating the motion estimation error at the return location (0, -0.5) from the output B of the device and accumulate the difference value. A fifth accumulator 54 and an eighth delay element that receive the output and accumulate the difference value by receiving the search area data necessary for calculating the motion estimation error at the half-pixel position (0, + 0.5) from the output B of the interpolator A sixth accumulator that receives the output of (59) and receives the search area data necessary for calculating the motion estimation error at the half-pixel position (+0.5, -0.5) from the output D of the interpolator; 55) and the output of the eighth delay element 59 is interpolated. Of the seventh accumulator 56 and the ninth delay element 60 which receive the search area data necessary for calculating the motion estimation error at the half-pixel position (+0.5, 0) from the output C of An eighth accumulator (57) which receives the output and receives the search area data necessary for calculating the motion estimation error at the half pixel position (+0.5, +0.5) from the output D of the interpolator and accumulates the difference value. do.
제6도는 제5도의 반화소 움직임 추정 장치의 오차 누산기의 세부 구성예시도,로서 각 반화소 위치에서의 탐색 영역 데이터와 기준 블럭 데이터와의 오차를 누적하기 위한 각 누산기의 상세 구조도이다.FIG. 6 is a detailed structural example of an error accumulator of the half-pixel motion estimation apparatus of FIG. 5, and is a detailed structural diagram of each accumulator for accumulating errors between search area data and reference block data at each half-pixel position.
각 누산기는 입력되는 탐색 영역 데이터와 기준 블럭 데이터의 차이를 계산하는 제1덧셈기(61), 제1덧셈기(61)의 9비트 출력중 반전된 최상위 1비트와 나머지 8비트를 입력받아 반전된 1비트를 나머지 8비트와 각각 배타적 논리합하는 8개의 배타적 논리합 게이트(62), 움직임 추정 오차값을 저장하는 레지스터(64), 및 제1덧셈기(61)의 출력중 반전된 최상위 1비트를 입력받고 배타적 논리합 게이트(62)와 레지스터(64)의 출력을 입력받아 더하여 레지스터(64)에 다시 저장하는 제2덧셈기(63)을 구비한다.Each accumulator receives the inverted most significant 1 bit and the remaining 8 bits among the 9-bit outputs of the first adder 61 and the first adder 61 that calculates the difference between the input search area data and the reference block data. Eight exclusive OR gates 62 exclusively ORing the bits with the remaining eight bits, a register 64 for storing the motion estimation error value, and an inverted most significant one bit of the output of the first adder 61, and are exclusively received. A second adder 63 which receives the logic sum gate 62 and the output of the register 64 and adds the result is stored in the register 64 again.
탐색 영역 데이터와 기준 블럭 데이터의 차이값을 누적하는 과정이 완료되면,레지스터(64)에 저장되어 있는 움직임 추정 오차값은 비교기로 출력된다.When the process of accumulating the difference between the search area data and the reference block data is completed, the motion estimation error value stored in the register 64 is output to the comparator.
비교기는 반화소 움직임 추정 장치에서 출력되는 8개의 반화소 위치에서의 움직임 추정 오차들과 한 화소 단위의 움직임 추정에서 이미 얻어진 (0, 0)위치에서의 움직임 추정 오차를 서로 비교하여 가장 작은 움직임 추정 오차를 갖는 위치를 반화소 움직임 벡터로 출력한다.The comparator compares the motion estimation errors at the eight half-pixel positions output from the half-pixel motion estimation apparatus with the motion estimation errors at the (0, 0) position already obtained in the motion estimation of one pixel unit, and calculates the smallest motion estimation. The position with the error is output as a half-pixel motion vector.
상기와 같은 발명에서 다른 실시예를 살펴보면, 보간기에 탐색 영역 데이터를 좌측에서 우측, 위에서 아래로 입력하고, 제1지연 소자를 18 클럭 사이클 동안 지연되도록 하고, 제8지연 소자를 17 클럭 사이클 동안 지연되도록 하면 동일한 결과를 얻을 수 있다.In another embodiment of the present invention, the search region data is input to the interpolator from left to right and top to bottom, the first delay element is delayed for 18 clock cycles, and the eighth delay element is delayed for 17 clock cycles. The same results can be achieved if possible.
상기와 같은 본 발명은 간단한 하나의 장치를 이용하여 프레임 또는 필드에 대한 반화소 움직임 추정을 수행할 수 있는 융통성을 제공하는 효과가 있다.The present invention as described above has the effect of providing flexibility to perform half-pixel motion estimation for a frame or field using a simple device.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950040277A KR100216585B1 (en) | 1995-11-08 | 1995-11-08 | Half-pixel motion estimating apparatus of frame or field |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950040277A KR100216585B1 (en) | 1995-11-08 | 1995-11-08 | Half-pixel motion estimating apparatus of frame or field |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970032156A KR970032156A (en) | 1997-06-26 |
KR100216585B1 true KR100216585B1 (en) | 1999-08-16 |
Family
ID=19433398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950040277A KR100216585B1 (en) | 1995-11-08 | 1995-11-08 | Half-pixel motion estimating apparatus of frame or field |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100216585B1 (en) |
-
1995
- 1995-11-08 KR KR1019950040277A patent/KR100216585B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR970032156A (en) | 1997-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8160146B2 (en) | Video coding method and apparatus for calculating motion vectors of the vertices of a patch of an image and transmitting information of horizontal and vertical components of the motion vectors | |
EP3104611B1 (en) | Motion estimation using collocated blocks | |
JP3247105B2 (en) | Method and apparatus for estimating motion in a moving image frame | |
US6690730B2 (en) | Motion estimator | |
JP2636674B2 (en) | Video motion vector detection device | |
US20060098735A1 (en) | Apparatus for motion estimation using a two-dimensional processing element array and method therefor | |
KR100226684B1 (en) | A half pel motion estimator | |
US20070002950A1 (en) | Motion estimation circuit and operating method thereof | |
US8135224B2 (en) | Generating image data | |
US5793443A (en) | Motion vector detection circuit | |
KR0151922B1 (en) | Field and frame motion estimation apparatus | |
KR100216585B1 (en) | Half-pixel motion estimating apparatus of frame or field | |
JPH0846865A (en) | Method and device for rendering video conversion programmable | |
US5982910A (en) | Method and circuit arrangement for undersampling in the case of movement estimation | |
US6584212B1 (en) | Apparatus for motion estimation with control part implemented by state transition diagram | |
US6307907B1 (en) | Complex multiplier | |
US5930403A (en) | Method and apparatus for half pixel SAD generation utilizing a FIFO based systolic processor | |
US20090148067A1 (en) | Image processing method and related apparatus for performing image processing operation according to image blocks in horizontal direction | |
KR100282614B1 (en) | Motion Predictor for Low Bit Rate Video Codecs | |
US6806914B1 (en) | Method and apparatus for changing the size of image | |
US5805239A (en) | Processor for comparing picture element blocks (blocks matching processor) | |
KR0175476B1 (en) | Motion estimator for both full-pixel and half-pixel | |
KR970057917A (en) | Macroblock Half-pixel Processing Unit | |
JP3634878B2 (en) | Image encoding device | |
KR970002481B1 (en) | Half-pixel motion compensation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130424 Year of fee payment: 15 |
|
FPAY | Annual fee payment |
Payment date: 20140430 Year of fee payment: 16 |
|
LAPS | Lapse due to unpaid annual fee |