JP2000350209A - Method and device for high-speed movement estimation for real-time moving video encoding - Google Patents

Method and device for high-speed movement estimation for real-time moving video encoding

Info

Publication number
JP2000350209A
JP2000350209A JP15434999A JP15434999A JP2000350209A JP 2000350209 A JP2000350209 A JP 2000350209A JP 15434999 A JP15434999 A JP 15434999A JP 15434999 A JP15434999 A JP 15434999A JP 2000350209 A JP2000350209 A JP 2000350209A
Authority
JP
Japan
Prior art keywords
layer
absolute error
hierarchy
average absolute
search
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP15434999A
Other languages
Japanese (ja)
Other versions
JP3615963B2 (en
Inventor
Shohan Ra
鍾範 羅
Keien Rin
慶垣 林
Kenei Sai
健榮 崔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Korea Advanced Institute of Science and Technology KAIST
Original Assignee
Samsung Electronics Co Ltd
Korea Advanced Institute of Science and Technology KAIST
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 Samsung Electronics Co Ltd, Korea Advanced Institute of Science and Technology KAIST filed Critical Samsung Electronics Co Ltd
Priority to JP15434999A priority Critical patent/JP3615963B2/en
Publication of JP2000350209A publication Critical patent/JP2000350209A/en
Application granted granted Critical
Publication of JP3615963B2 publication Critical patent/JP3615963B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for high-speed movement estimation for real-time moving video encoding. SOLUTION: This method includes a) a stage wherein a layer 1 is provided by lowering the resolution of a layer 0 and a layer 2 is provided by lowering the resolution of the layer 1, b) a stage for calculating the mean absolute error in a search area of the layer 2, c) a stage for selecting the position where the mean absolute error value calculated in the stage (b) is minimum as the initial search point of the layer 1, (d) a stage for further selecting another initial search point of the layer 1, e) a stage for calculating the mean absolute error of the search area of the layer 1, f) a stage for selecting the position where the mean absolute error value becomes minimum in the stage (e) as the search center point of the layer 0, g) a stage for calculating the mean absolute error of the search area of the layer 0 selected in the stage (f), and h) a stage for determining a final moving vector with the position information calculated in the stage (g) and distance information based upon the origin.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はリアルタイム動映像
符号化のための超高速動き推定方法に係り、より詳細に
はMPEG-2のような動映像符号化のための動き推定におい
て解像度を低めて複数個の動きベクトル候補を決定し、
周辺ブロックの動きベクトル相関性を用いて動きベクト
ル候補を決定した後、複数個の動きベクトル候補を中心
として探索領域を選定して動きベクトルを計算すること
によって、動きベクトルの計算時間を縮める動き推定方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ultra-high-speed motion estimation method for real-time video coding, and more particularly, to a method for reducing the resolution in motion estimation for video coding such as MPEG-2. Determine a plurality of motion vector candidates,
After determining a motion vector candidate using the motion vector correlation of peripheral blocks, a motion estimation is performed by selecting a search area around a plurality of motion vector candidates and calculating a motion vector, thereby shortening a calculation time of the motion vector. About the method.

【0002】[0002]

【従来の技術】動映像の符号化としては、高いデータ圧
縮率を得るために時間的に重複性を除去する動き補償符
号化が広く使われているとともに、MPEG-1、2、4及びH-
263のような国際映像符号化標準で重要な位置を占めて
いる。
2. Description of the Related Art In order to obtain a high data compression rate, motion-compensated coding for removing temporal redundancy is widely used for encoding moving pictures, and MPEG-1, 2, 4, and H -
It occupies an important position in international video coding standards such as 263.

【0003】動き補償符号化は動き推定を通じて以前フ
レームの情報より入力映像と最も類似の映像を予測し、
予測した映像と入力映像の差映像を変換符号化すること
を称する。
[0003] Motion compensation coding predicts an image most similar to an input image from information of a previous frame through motion estimation.
This refers to transform coding of the difference image between the predicted image and the input image.

【0004】このような動映像の符号化のための一般の
装置を図1に示した。図1を参照すれば、一般の動映像符
号化装置はフレームメモリ102、動き推定部104、106、
動き補償部108、減算部110、離散コサイン変換部112、
量子化部114、逆離散コサイン変換部118、加算部120、
フレーム遅延部122、順方向分解及びコーディング率制
御器124、可変長符号化部126及びバッファ128を具備す
る。
FIG. 1 shows a general apparatus for encoding such a moving image. Referring to FIG. 1, a general moving image encoding apparatus includes a frame memory 102, motion estimating units 104 and 106,
Motion compensator 108, subtractor 110, discrete cosine transform 112,
Quantizing section 114, inverse discrete cosine transform section 118, adding section 120,
It includes a frame delay unit 122, a forward decomposition and coding rate controller 124, a variable length coding unit 126, and a buffer 128.

【0005】フレーム単位で入力される映像はフレーム
メモリ102に貯蔵され、第1動き推定部104は整数画素単
位の映像に対する動きベクトルを計算する。第2動き推
定部106は、第1動き推定部106から入力された動きベク
トルとフレームメモリ102から入力された映像信号とフ
レーム遅延部122から入力された以前フレームの情報を
用いて、現在入力された映像に対する半画素単位の動き
ベクトルを計算する。
[0005] The image input in units of frames is stored in the frame memory 102, and the first motion estimator 104 calculates a motion vector for the image in units of integer pixels. The second motion estimating unit 106 uses the motion vector input from the first motion estimating unit 106, the video signal input from the frame memory 102, and the information of the previous frame input from the frame delay unit 122, and And calculate a motion vector in half-pixel units for the captured image.

【0006】動き補償部108は、第2動き推定部106から
入力された動きベクトルとフレーム遅延部122から入力
された以前フレームの情報に基づいて動き補償を遂行し
て現在フレームに対する予測映像を出力する。このよう
に動き補償された予測映像は、減算部110によってフレ
ームメモリ102から入力された現在映像と減算されて現
在映像との差映像を得ることによって、動映像の時間的
な重複性がなくなる。このような動き推定及び補償過程
は16×16ブロック単位で遂行され、一般にこのブロック
はマクロブロックといわれる。次に、動き推定及び補償
後得られた差映像は、離散コサイン変換部112と量子化
部114によって離散コサイン変換及び量子化されること
によって差映像の残っている空間的な重複性がなくな
る。最後に、動きベクトルと量子化した差映像は、可変
長符号化部126によって符号化した後バッファ128を通じ
てビット列形態に伝送される。
[0006] The motion compensator 108 performs motion compensation based on the motion vector input from the second motion estimator 106 and information on the previous frame input from the frame delay unit 122, and outputs a predicted image for the current frame. I do. The prediction image thus motion-compensated is subtracted by the subtraction unit 110 from the current image input from the frame memory 102 to obtain a difference image from the current image, thereby eliminating the temporal redundancy of the moving image. Such a motion estimation and compensation process is performed in units of 16 × 16 blocks, and this block is generally called a macroblock. Next, the difference image obtained after the motion estimation and compensation is subjected to the discrete cosine transform and quantization by the discrete cosine transform unit 112 and the quantization unit 114, so that the spatial overlap of the difference image remains is eliminated. Finally, the motion vector and the quantized difference image are encoded by the variable length encoding unit 126, and then transmitted in the form of a bit string through the buffer 128.

【0007】一方、順方向分解及びコーディング率制御
部124は可変長符号化部126の符号化率を制御し、量子化
した映像信号は再び逆量子化部116と逆離散コサイン変
換部118により補間及び復元された後、加算部120によっ
て動き補償された映像信号に加わってフレーム遅延部12
2に貯蔵される。フレーム遅延部122に貯蔵される映像フ
レームは1フレーム以前の映像フレームに当る。フレー
ム遅延部122に貯蔵された以前映像フレーム情報は第2動
き推定部106と動き補償部108に入力される。
On the other hand, the forward decomposition and coding rate control section 124 controls the coding rate of the variable length coding section 126, and the quantized video signal is again interpolated by the inverse quantization section 116 and the inverse discrete cosine transform section 118. After being restored, the video signal motion compensated by the addition unit 120 is added to the frame delay unit 12
Stored in 2. The video frame stored in the frame delay unit 122 corresponds to the video frame before one frame. The previous video frame information stored in the frame delay unit 122 is input to the second motion estimation unit 106 and the motion compensation unit 108.

【0008】動映像を処理するための動き推定及び補償
方法としては、一般にフレーム単位の動き推定及び補償
方法とフィールド単位の動き推定及び補償方法がある
が、これは当業者に知られているので本明細書では説明
を省略する。
As a motion estimation and compensation method for processing a moving image, there are generally a frame-based motion estimation and compensation method and a field-based motion estimation and compensation method, which are known to those skilled in the art. The description is omitted in this specification.

【0009】一方、従来に使われている全域探索法によ
る動き推定方法は、現在のフレームを一定の大きさのブ
ロック単位で分割した後、各ブロックを与えられた整合
基準に従って基準フレームの探索領域内にある全てのブ
ロックと比較して最適の整合ブロックの位置を探すこと
によって、各ブロックの二次元動きベクトルを推定する
方法である。このような従来のブロック整合法で最適の
整合ブロックを探すための整合基準として、比較的計算
が簡単な平均絶対誤差(MAD: Mean Absolute Differenc
e)を用いる。このような平均絶対誤差値は、
On the other hand, in the conventional motion estimation method using the global search method, a current frame is divided into blocks each having a predetermined size, and each block is divided into a search area of a reference frame according to a given matching criterion. This is a method of estimating a two-dimensional motion vector of each block by searching for the position of an optimal matching block by comparing all blocks in the block. As a matching criterion for searching for an optimal matching block in such a conventional block matching method, a mean absolute error (MAD) that is relatively easy to calculate is used.
Use e). Such an average absolute error value is

【0010】[0010]

【数1】 (Equation 1)

【0011】を用いて計算される。前記式1で ft(k,l)
は現在フレームの (k,l) 位置にある画素の輝度値であ
り、ft-1(k+i,l+j) は以前フレームの (k,l) 位置から
(i,j)位置だけ移動した位置にある画素の輝度値であ
る。
Is calculated by using F t (k, l)
Is the luminance value of the pixel at position (k, l) in the current frame, and f t-1 (k + i, l + j) is the value from the position (k, l) in the previous frame.
This is the luminance value of the pixel at the position shifted by the position (i, j).

【0012】一方、このようなブロック整合法で符号化
する時は実際映像の動きを考慮して最大動き推定範囲を
決定する。このように決定された動き推定範囲内の全て
のブロックと現在ブロックを比較して、動きベクトルを
推定する全域探索方式は予測利得の側面では最も高い性
能を有するが、過度に多くの計算量が要求される短所が
ある。例えば、M×Nの大きさのブロックに対してフレー
ム当り最大移動変位を±p(パルス/フレーム)とする場
合、基準フレームで探索領域の大きさは(M+2p)×(N+2
p)になる。即ち、整合基準に従って比較すべき候補ブロ
ックの数が(2p+1)2になるため、pが大きいほど動映像
符号化器のリアルタイム具現が難しくなる問題点があ
る。
On the other hand, when coding is performed by such a block matching method, the maximum motion estimation range is determined in consideration of the actual video motion. The global search method for estimating a motion vector by comparing all blocks in the motion estimation range determined in this way with the current block has the highest performance in terms of prediction gain, but an excessively large amount of calculation is required. There are disadvantages required. For example, if the maximum displacement per frame is ± p (pulses / frame) for a block of size M × N, the size of the search area in the reference frame is (M + 2p) × (N + 2
p). That is, since the number of candidate blocks to be compared according to the matching criterion is (2p + 1) 2 , there is a problem that the larger the p is, the more difficult it is to implement a moving picture encoder in real time.

【0013】このような問題点を解決するための他の従
来技術が技術資料“平均ピラミッドを用いた高速階層的
動きベクトル推定アルゴリズム。NAM、K.M.、Kim、J.
S.、Park、R.H.、Shim、Y.S.、IEEE Trans.of Circ.& S
yst. for Video Tech、1995、5、(4)、pp.344〜351”
と、“映像符号化のための3段階検索ブロック整合アル
ゴリズムの精密度改善及び費用節減、IEEE Trans.Circ.
& Syst. for.Video Tech、1994、4、(1)、pp.88〜90)”
に示されている。前記資料によれば、全域探索技法を代
えるべき複数の候補を用いた高速階層的探索技法が提案
された。
Another prior art for solving such a problem is disclosed in the technical document "High-speed hierarchical motion vector estimation algorithm using an average pyramid. NAM, KM, Kim, J. et al.
S., Park, RH, Shim, YS, IEEE Trans.of Circ. & S
yst. for Video Tech, 1995, 5, (4), pp. 344-351 ”
"Improvement of accuracy and cost reduction of three-step search block matching algorithm for video coding, IEEE Trans. Circ.
& Syst. For.Video Tech, 1994, 4, (1), pp.88-90) ”
Is shown in According to the above document, a fast hierarchical search technique using a plurality of candidates to replace the global search technique has been proposed.

【0014】しかし、前記方法のような複数候補を使用
する戦略は、階層的な探索のせいで発生する局所最小値
の問題を縮めうるが、全域探索法に次ぐ性能を達成する
ために相変らず多くの計算量を要する問題点がある。ま
た、前記方法は三段探索技法を基礎とするため広い探索
領域における動き推定には望ましくない短所がある。
However, a strategy using multiple candidates as in the above method can reduce the problem of local minima that occurs due to the hierarchical search, but is still different in order to achieve the performance next to the global search method. There is a problem that requires a large amount of calculation. In addition, since the method is based on a three-step search technique, it has an undesired disadvantage in motion estimation in a wide search area.

【0015】[0015]

【発明が解決しようとする課題】本発明が達成しようと
する技術的課題は、動きベクトルを計算するための計算
量を減らして高速で動きベクトルが推定できる動き推定
方法を提供することである。
SUMMARY OF THE INVENTION A technical problem to be solved by the present invention is to provide a motion estimation method capable of estimating a motion vector at a high speed with a reduced amount of calculation for calculating the motion vector.

【0016】本発明が達成しようとする他の技術的課題
は、前記動きベクトル推定方法によって具現される動き
推定装置を提供することである。
Another technical problem to be solved by the present invention is to provide a motion estimating apparatus embodied by the above-described motion vector estimating method.

【0017】[0017]

【課題を解決するための手段】前記課題を達成するため
に本発明の一態様に従う動き推定方法は、(a)入力され
た映像フレームを階層0とする時、階層0の解像度を低め
て階層1を具備し、階層1の解像度を低めて階層2を具備
する段階と、(b)階層2の探索領域に対して平均絶対誤差
を計算する段階と、(c)前記(b)段階で計算された平均絶
対誤差値が最小になる少なくとも二つ以上の位置を階層
1における初期探索点として選択する段階と、(d)現在ブ
ロックの周辺ブロックの相関性を用いて一つ以上の階層
1における初期探索点をさらに選択する段階と、(e)階層
1で初期探索中心点を中心とする探索領域に対して平均
絶対誤差を計算する段階と、(f)前記(e)段階で計算され
た平均絶対誤差値が最小になる位置を階層0における探
索中心点として選択する段階と、(g)階層0で、前記(f)
段階で選択された初期探索中心点を中心とする探索領域
に対して平均絶対誤差を計算する段階と、(h)前記(g)段
階で計算された平均絶対誤差値が最小になる位置情報と
原点との距離情報より最終動きベクトルを決定する段階
とを含むことを特徴とする。
According to an aspect of the present invention, there is provided a motion estimation method comprising: (a) when an input video frame is set to layer 0, the resolution of layer 0 is reduced; 1, the step of lowering the resolution of the layer 1 to include the layer 2, the step of (b) calculating the average absolute error for the search area of the layer 2, and the step of (c) calculating in the step (b). At least two positions where the averaged absolute error value
(D) selecting one or more hierarchies using the correlation of neighboring blocks of the current block.
Further selecting the initial search point in (1), and (e) hierarchy
Calculating the average absolute error for the search area centered on the initial search center point in 1; and (f) searching the hierarchy 0 for the position where the average absolute error value calculated in the step (e) is minimum. Selecting the center point, and (g) at layer 0, the (f)
Calculating an average absolute error for the search area centered on the initial search center point selected in the step, and (h) position information in which the average absolute error value calculated in the (g) step is minimized. Determining a final motion vector from information on the distance to the origin.

【0018】また、前記課題を達成するために本発明の
他態様に従う動き推定方法は、(a)入力された映像フレ
ームを階層0とする時、階層0の解像度を低めて階層1を
具備し、階層1の解像度を低めて階層2を具備する段階
と、(b)階層2の探索領域に対して平均絶対誤差を計算す
る段階と、(c)前記(b)段階で計算された平均絶対誤差値
が最小になる二つの位置を階層1における初期探索中心
点として選択する段階と、(d)現在ブロックの周辺ブロ
ックの相関性を用いて一つの初期探索中心点をさらに選
択する段階と、(e)階層1で3つの初期探索中心点を探索
中心とする探索領域に対して平均絶対誤差を計算する段
階と、(f)前記(e)段階で計算された平均絶対誤差値が最
小になる位置を階層における初期探索中心点として選択
する段階と、(g)階層0の探索領域に対して平均絶対誤差
を計算する段階と、(h)前記(g)段階で計算された平均絶
対誤差値が最小になる位置データと原点との距離情報よ
り最終動きベクトルを決定する段階とを含むことを特徴
とする。
According to another aspect of the present invention, there is provided a motion estimation method comprising: (a) when an input video frame is set to layer 0, the resolution of layer 0 is reduced to include layer 1; Lowering the resolution of layer 1 and providing layer 2; (b) calculating the average absolute error for the search area of layer 2; and (c) the average absolute calculated in step (b). Selecting two positions where the error value is minimized as the initial search center point in the layer 1, and (d) further selecting one initial search center point using the correlation of the peripheral blocks of the current block, (e) calculating the average absolute error for the search area with the three initial search center points as the search centers in layer 1, and (f) minimizing the average absolute error value calculated in step (e). (G) selecting a search area of the hierarchy 0 as the initial search center point in the hierarchy. And (h) determining a final motion vector based on distance information between the position data and the origin at which the average absolute error value calculated in the step (g) is minimized. It is characterized by.

【0019】また、前記(a)段階は入力された階層0の解
像度を水平及び垂直方向に各々1/2と1/4に低めて各々階
層1と階層2を具備することが望ましい。
Preferably, in the step (a), the resolution of the input layer 0 is reduced to 1/2 and 1/4 in the horizontal and vertical directions, respectively, to provide the layers 1 and 2 respectively.

【0020】また、前記(d)段階は周辺ブロック間の動
きベクトルの差の絶対値が所定の臨界値以下のブロック
の動きベクトル平均値を計算して、前記動きベクトル平
均値が最小になる位置を階層1における初期探索中心点
として選択することが望ましい。
In the step (d), the average value of the motion vector of the block whose absolute value of the motion vector difference between the neighboring blocks is less than a predetermined threshold value is calculated, and the position where the average value of the motion vector is minimized is calculated. Is preferably selected as the initial search center point in hierarchy 1.

【0021】また、前記(e)段階と前記(g)段階における
探索領域は5×5画素よりなることが望ましい。
The search area in the steps (e) and (g) preferably comprises 5 × 5 pixels.

【0022】前記他の課題を達成するために本発明に係
る動き推定方法は、入力された映像フレームを階層0と
する時、階層0の解像度を低めて階層1を具備し、階層1
の解像度を低めて階層2を具備する解像度調整手段と、
階層2の探索領域に対する第1平均絶対誤差MADと、階層1
で動きベクトル候補に対応する位置を探索中心点とする
探索領域に対する第2平均絶対誤差、及び階層0で前記第
2平均絶対誤差値が最小になる位置を階層0の探索中心点
とした探索領域に対して第3平均絶対誤差を計算する平
均絶対誤差計算手段と、前記第1平均絶対誤差値が最小
になる少なくとも二つ以上の位置を階層1における初期
探索中心点として選択し、現在ブロックの周辺ブロック
の相関性を用いて一つ以上の初期探索中心点をさらに選
択する初期探索点選択手段と、前記第3平均絶対誤差値
が最小になる位置と原点との距離情報を用いて最終動き
ベクトルを決定する最終動きベクトル決定手段とを含む
ことを特徴とする。
According to another aspect of the present invention, there is provided a motion estimation method according to the present invention, wherein when an input video frame is set to layer 0, the resolution of layer 0 is reduced and layer 1 is provided.
Resolution adjusting means for lowering the resolution and having hierarchy 2;
The first mean absolute error MAD for the search area of layer 2 and layer 1
The second average absolute error for the search area with the position corresponding to the motion vector candidate as the search center point, and
(2) Mean absolute error calculating means for calculating a third mean absolute error for a search area having a position where the mean absolute error value is the minimum as the search center point of hierarchy 0, and the first mean absolute error value is minimized Initial search point selection means for selecting at least two or more positions as initial search center points in the hierarchy 1 and further selecting one or more initial search center points using the correlation of peripheral blocks of the current block; and (3) A final motion vector determining means for determining a final motion vector using distance information between the position where the average absolute error value is minimized and the origin.

【0023】[0023]

【発明の実施の形態】以下、添付した図面を参照して本
発明に係るリアルタイム動映像符号化のための超高速動
き推定方法及びその装置の望ましい実施形態を詳細に説
明する。図2には本発明の実施形態に係る動き推定方法
の主要段階をフローチャートで示し、図3には前記動き
推定方法によって階層別探索を遂行する時各階層別探索
位置を説明するための図面を示した。図3は以下で頻繁
に参照される。図2を参照すれば、本発明に係る動き推
定方法は、まず、入力された映像フレーム(階層0)の解
像度を水平、垂直方向に1/2と1/4に低めて各々階層1と
階層2を具備する(段階202)。このように解像度を低める
理由は、探索領域を縮めて動きベクトルを計算するため
の計算量を減らすためのことである。例えば、全体探索
領域の大きさがR×Rであれば本実施形態で探索領域の範
囲は(R/4)×(R/4)になる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of an ultra-high-speed motion estimation method and apparatus for real-time video coding according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 2 is a flowchart illustrating main steps of a motion estimation method according to an embodiment of the present invention. FIG. 3 is a diagram illustrating search positions for each layer when performing a search for each layer according to the motion estimation method. Indicated. FIG. 3 is frequently referenced below. Referring to FIG. 2, the motion estimation method according to the present invention first reduces the resolution of an input video frame (layer 0) to と and / 4 in the horizontal and vertical directions, and Step 2 is provided (step 202). The reason for reducing the resolution in this way is to reduce the amount of calculation for calculating the motion vector by reducing the search area. For example, if the size of the entire search area is R × R, the range of the search area in this embodiment is (R / 4) × (R / 4).

【0024】次に、階層2の探索領域(SR(2):図3)に対し
て平均絶対誤差(MAD)を計算する(段階204)。階層2の探
索領域(SR(2):図3)はNSを所定の正の整数とする時、横
と縦で−NSから+NS−1までの領域に決定されるので各
々0を含んで横、縦各々2NSの領域になり、探索位置の数
は(2NS×2NS)/16、即ち、(NS×NS)/4になる。
Next, an average absolute error (MAD) is calculated for the search area (SR (2) : FIG. 3) of the hierarchy 2 (step 204). Search area hierarchy 2 (SR (2): 3) time for the N S and a predetermined positive integer, and 0, respectively because the horizontal and vertical is determined in a region from -N S to + N S -1 The area includes 2N S in each of the horizontal and vertical directions, and the number of search positions is (2N S × 2N S ) / 16, that is, (N S × N S ) / 4.

【0025】次は、前記段階204で計算された平均絶対
誤差値が最小になる、即ち、予測エラーが最も小さな二
つの位置を次の段階(階層1)の初期探索中心点として選
択する(段階206)。
Next, the two positions where the average absolute error value calculated in the step 204 is minimum, that is, the prediction error is the smallest, are selected as the initial search center points in the next step (layer 1) (step 1). 206).

【0026】二つの初期探索中心点と共に一つの初期探
索中心点をさらに選択するが、その過程を図4(A)乃至図
4(F)を参照して説明する。デジタル動映像の圧縮はマク
ロブロックと同じブロック単位で遂行される。ブロック
の処理順序としては行別に順次に処理されることを例と
して挙げられる。
One initial search center point is further selected together with the two initial search center points, and the process is shown in FIGS.
This will be described with reference to FIG. Digital video compression is performed in the same block unit as a macro block. An example of the processing order of the blocks is that the blocks are sequentially processed.

【0027】本発明で用いられる周辺ブロックは、図4
(A)乃至図4(F)に示したように相互関連される三つのブ
ロックが使われる。また、動きベクトル間の相関性を考
慮して示したように5つのグループに分けられる。例え
ば、周辺ブロックの動きベクトルMVsが図4(A)と同一だ
とする時、周辺ブロック間の動きベクトルの差の絶対値
を、
The peripheral blocks used in the present invention are shown in FIG.
As shown in FIGS. 4A to 4F, three interrelated blocks are used. The motion vectors are divided into five groups as shown in consideration of the correlation between the motion vectors. For example, when the motion vector MVs of the peripheral block is the same as that of FIG. 4A, the absolute value of the motion vector difference between the peripheral blocks is

【0028】[0028]

【数2】 (Equation 2)

【0029】のように定義し、Dを二つの動きベクトル
間の類似性を検査するための臨界値と定義する。次は、
動きベクトル間の相関性を考慮して5つのグループに区
分する。即ち、図4(B)を参照すれば、グループ1は ξ1
≦D、ξ2≦D、ξ3≦D を満足する場合であり、図4(C)を
参照すれば、グループ2は ξ1≦D、ξ2>D、ξ3>D を
満足する場合である。また、図4(D)と図4(E)を参照すれ
ば、グループ3はξ1>D、ξ2≦D、ξ3>D を、グループ
4は ξ1>D、ξ2>D、ξ3≦D を満足する場合である。
前述した以外の場合はグループ5に当る。動きベクトル
は例えば各グループ別にグループ1の場合には MV=(MV1
+MV2+MV3)/3、グループ2の場合には MV=(MV1+MV2)/
2、グループ3の場合には MV=(MV2+MV3)/2、グループ4
の場合には MV=(MV1+MV3)/2 に計算する。計算された
動きベクトルの平均値が最小になる位置を初期探索中心
点として選択する。
And D is defined as a threshold value for checking the similarity between two motion vectors. next,
The motion vectors are divided into five groups in consideration of the correlation between the motion vectors. That is, referring to FIG. 4 (B), group 1 has ξ 1
≦ D, ξ 2 ≦ D, ξ 3 ≦ D. Referring to FIG. 4 (C), group 2 satisfies ξ 1 ≦ D, ξ 2 > D, ξ 3 > D. It is. 4 (D) and FIG. 4 (E), group 3 represents ξ 1 > D, ξ 2 ≦ D, ξ 3 > D
4 is a case of satisfying ξ 1> D, ξ 2> D, ξ 3 ≦ D.
In cases other than those mentioned above, Group 5 applies. The motion vector is, for example, MV = (MV 1
+ MV 2 + MV 3 ) / 3, MV = (MV 1 + MV 2 ) /
2, MV = (MV 2 + MV 3 ) / 2 for group 3 , group 4
In the case of, the calculation is performed as MV = (MV 1 + MV 3 ) / 2. The position at which the calculated average value of the motion vectors is minimized is selected as the initial search center point.

【0030】このように、動きベクトル値の差の絶対値
に従って5つのグループに区分し、探索初期点を各グル
ープ別に平均動きベクトルを計算して決定する方法は単
に説明のためのことであって、周辺ブロックの動きベク
トル情報を読出して、周辺ブロックの動きベクトル相関
性を用いて一つの初期探索中心点を選定する他の方法に
変形して使用でき、請求項によって定義される本発明の
範囲を限定しない。
As described above, the method of dividing into five groups according to the absolute value of the difference between the motion vector values and determining the initial search point by calculating the average motion vector for each group is merely for explanation. , The motion vector information of the peripheral block is read, and another method of selecting one initial search center point using the motion vector correlation of the peripheral block can be used in a modified manner. Is not limited.

【0031】次は、階層1で、三つの初期探索中心点を
中心とした探索領域SR1 (1)、SR2 (1)、SR3 (1)の各々に対
して平均絶対誤差を計算する(段階210)。本実施形態で
は第1階層における探索領域を探索中心点を含んで±2画
素、即ち、総5×5画素よりなるように設定した。
Next, in layer 1, the average absolute error is calculated for each of the search areas SR 1 (1) , SR 2 (1) , and SR 3 (1) centered on the three initial search center points. (Step 210). In the present embodiment, the search area in the first hierarchy is set to include ± 2 pixels including the search center point, that is, 5 × 5 pixels in total.

【0032】次は、段階210で計算された平均絶対誤差
値が最小になる位置を階層0における初期探索中心点と
して選択(段階212)し、選択された初期探索中心点に対
して±2画素領域を階層0の探索領域として平均絶対誤差
を計算する(段階214)。
Next, the position at which the average absolute error value calculated in step 210 is minimized is selected as the initial search center point in layer 0 (step 212), and ± 2 pixels are selected with respect to the selected initial search center point. The average absolute error is calculated using the region as a search region of the hierarchy 0 (step 214).

【0033】計算された平均絶対誤差値が最小になる位
置と原点との距離情報を使用して最終動きベクトルを決
定する(段階216)。決定された最終動きベクトルは二次
元映像の場合、例えば、x軸及びy軸座標値になる。
The final motion vector is determined using the distance information between the position where the calculated average absolute error value is minimized and the origin (step 216). In the case of a two-dimensional image, the determined final motion vector has, for example, x-axis and y-axis coordinate values.

【0034】前記のような本発明に係る動き推定方法の
性能を評価するためにMPEG-2実験映像を使用したシミュ
レーション実験を遂行した。実験条件を説明すれば、入
力映像としては、実験映像として当業者に知られている
映像の中でフットボール(fb)、自動車(car)、スーズィ
ー(sus)、自動車とカレンダー(mob)及びチアリーダー(c
heer)の5つのMPEG-2映像シーケンスを使用した。
In order to evaluate the performance of the motion estimation method according to the present invention, a simulation experiment using an MPEG-2 experimental image was performed. To explain the experimental conditions, the input images include football (fb), car (car), suzie (sus), car and calendar (mob) and cheerleader in the images known to those skilled in the art as experimental images. (c
heer) of five MPEG-2 video sequences.

【0035】全ての映像は30ヘルツのフレーム率を有
し、各々150フレームよりなっている。各フレームの大
きさは720×480である。4、2、1の探索点間隔を有する6
4×64(NS=32)、10×10、5×5の探索領域が各々階層2、
1、0で選択された。階層0におけるブロックの大きさNB
は16であり、周辺ブロック間の相関性を調べるための臨
界値Dは、8画素が外れれば類似度が低下することと見な
すために8に設定した。この値は階層2における探索点間
隔の2倍に該当する値である。
All pictures have a frame rate of 30 Hertz, each consisting of 150 frames. The size of each frame is 720 × 480. 6 with search point spacing of 4, 2, 1
4 × 64 (N S = 32), 10 × 10, and 5 × 5 search areas are each hierarchical level 2,
Selected by 1,0. Block size N B at layer 0
Is 16, and the critical value D for examining the correlation between the peripheral blocks is set to 8 in order to consider that the similarity decreases when 8 pixels deviate. This value is a value corresponding to twice the search point interval in the hierarchy 2.

【0036】本発明に係る動き推定方法の効果を証明す
るために全域探索技法と一般の階層探索技法の性能とを
比較した。複数候補戦略を採択した一般の階層探索技法
の階層2では、最小予測誤差のみ有する三つの動きベク
トルを候補に決める。反面に、提案した技法は三番目の
候補を周辺ブロックの動きベクトルの中で予測する。表
1にはMPEG-2実験映像の最初の150フレームに対する動き
予測及び動き補償性能を比較した結果を示した。
In order to prove the effect of the motion estimation method according to the present invention, the performance of the global search technique and the performance of a general hierarchical search technique were compared. In layer 2 of the general hierarchical search technique that adopts the multiple candidate strategy, three motion vectors having only the minimum prediction error are determined as candidates. On the other hand, the proposed technique predicts the third candidate in the motion vector of the surrounding block. table
Figure 1 shows the results of comparing the performance of motion prediction and motion compensation for the first 150 frames of MPEG-2 experimental video.

【0037】[0037]

【表1】 [Table 1]

【0038】表1を参照すれば、本発明に係る動き推定
方法は、全域探索技法に比べて0.2dB程度の微弱な性能
減少を達成しながらも複雑度は全域探索技法の1.5%に過
ぎないことと示される。画素当り平均絶対誤差MADを計
算するのに必要な演算数をN、ブロック数をNBとする
時、複雑度は、
Referring to Table 1, the motion estimation method according to the present invention achieves only a small performance reduction of about 0.2 dB as compared with the global search technique, but has a complexity of only 1.5% of the global search technique. It is shown that. When the number of operations required to compute the mean absolute error MAD per pixel N, the number of blocks and N B, the complexity,

【0039】[0039]

【数3】 (Equation 3)

【0040】によって推定されうる。ここで、Ns 2/64項
は階層2、3×25/4項は階層1、25項は階層0の解像度に従
う計算量の比例値を示す。従って、32と64の Ns に対し
て全域探索技法(FSBMA: full scale block matching an
alysis)の1.5%と0.7%に当ることが分かる。
Can be estimated by Here, N s 2/64 term hierarchical 2,3 × 25/4 term hierarchy 1,25 term shows the proportional value of the calculated amount according resolution hierarchy 0. Therefore, the entire search technique against 32 and 64 of the N s (FSBMA: full scale block matching an
alysis) of 1.5% and 0.7%.

【0041】また、表2には本発明に係る動き推定方法
を比較的広い探索領域を要するMPEG-2符号化器に適用し
た結果を示した。本実験ではGOP(Group of Picture) N
は12、Pフレーム間の距離Mは2、目標ビット率Tは6Mbps
と設定して実験を進行した。表2には復元された映像の
ピーク信号対雑音比を比較した結果を示した。
Table 2 shows the results of applying the motion estimation method according to the present invention to an MPEG-2 encoder requiring a relatively large search area. In this experiment, GOP (Group of Picture) N
Is 12, the distance M between P frames is 2, the target bit rate T is 6Mbps
The experiment proceeded with setting. Table 2 shows the result of comparing the peak signal to noise ratio of the restored image.

【0042】[0042]

【表2】 [Table 2]

【0043】表2を参照すれば、本発明に係る動き推定
方法は全域探索技法の複雑度の0.9%という顕著な計算量
減少を成し、ピーク信号対雑音比PSNRはほとんど同じ水
準を達成する。
Referring to Table 2, the motion estimation method according to the present invention achieves a remarkable reduction in complexity of 0.9% of the complexity of the global search technique, and achieves almost the same peak signal-to-noise ratio PSNR. .

【0044】前述したように本発明に係る動き推定方法
は、フレーム間最小予測エラーを基本とした複数個の動
きベクトル候補戦略と動きベクトル空間の相関性を効率
的に使用することによって計算量が少なくて高速動き推
定ができる。
As described above, the motion estimation method according to the present invention can reduce the amount of calculation by efficiently using the correlation between a plurality of motion vector candidate strategies based on the inter-frame minimum prediction error and the motion vector space. High-speed motion estimation can be performed with a small amount.

【0045】このような本発明に係るリアルタイム動映
像符号化のための超高速動き推定方法は動き推定装置で
具現できる。前記動き推定装置(図示せず)は解像度調整
手段、平均絶対誤差計算手段、初期探索点選択手段及び
最終動きベクトル決定手段を具備する。
The ultra-high-speed motion estimation method for real-time video coding according to the present invention can be implemented by a motion estimation device. The motion estimator (not shown) includes a resolution adjuster, an average absolute error calculator, an initial search point selector, and a final motion vector determiner.

【0046】前記のような装置の動作を説明すれば、ま
ず、解像度調整手段は入力された映像フレームを階層0
とする時、階層0の解像度を低めて階層1を具備する。ま
た、階層1の解像度を低めて階層2を具備する。例えば、
解像度を1/2に低める場合には二つの隣接画素の平均を
用い、解像度を1/4に低める場合には4つの隣接画素の平
均を用いて映像フレームが具現できる。
The operation of the above-described apparatus will be described. First, the resolution adjusting means converts the input video frame into layer 0.
Then, the resolution of the layer 0 is reduced and the layer 1 is provided. In addition, the resolution of the layer 1 is reduced and the layer 2 is provided. For example,
When the resolution is reduced to 1/2, an average of two adjacent pixels is used, and when the resolution is reduced to 1/4, an image frame can be realized using an average of four adjacent pixels.

【0047】平均絶対誤差計算手段は、階層2の探索領
域に対する第1平均絶対誤差と、階層1で動きベクトル候
補に対応する位置を探索中心点とする探索領域に対する
第2平均絶対誤差、及び階層0で前記第2平均絶対誤差値
が最小になる位置を階層0の探索中心点とした探索領域
に対して第3平均絶対誤差を計算する。
The average absolute error calculating means includes a first average absolute error for the search area of the hierarchy 2, a second average absolute error for the search area having a position corresponding to the motion vector candidate in the hierarchy 1 as a search center point, and A third average absolute error is calculated for a search area where the position at which the second average absolute error value becomes the minimum at 0 is the search center point of layer 0.

【0048】初期探索点選択手段は前記第1平均絶対誤
差値が最小になる少なくとも二つ以上の位置を次の段階
(階層1)における初期探索中心点として選択する。ま
た、動きベクトル候補選択手段は現在ブロックの周辺ブ
ロックの相関性を用いて、一つ以上の他の初期探索中心
点を次の段階(階層1)における初期探索中心点としてさ
らに選択する。
The initial search point selection means determines at least two or more positions where the first average absolute error value is minimum in the next step.
Select as the initial search center point in (layer 1). Further, the motion vector candidate selecting means further selects one or more other initial search center points as initial search center points in the next stage (layer 1) by using the correlation of the peripheral blocks of the current block.

【0049】最終動きベクトル決定手段は前記第3平均
絶対誤差値が最小になる位置と原点との距離情報を使用
して最終動きベクトルに決定する。
The final motion vector determining means determines the final motion vector using the distance information between the position where the third average absolute error value is minimum and the origin.

【0050】また、前記動き推定方法の各段階はコンピ
ュータで実行できるプログラムで作成可能である。ま
た、コンピュータで用いられる媒体から前記プログラム
を動作させる汎用ディジタルコンピューターで具現でき
る。前記媒体はフロッピーディスクやハードディスクの
ような磁気記録媒体、CD-ROMやDVDのような光記録媒
体、及びインターネットを通した伝送のような搬送波な
どの貯蔵媒体を含む。また、このような機能的プログラ
ム、コード及びコードセグメントは本発明が属する技術
分野のプログラマーにより容易に推論できる。
Each step of the motion estimation method can be created by a computer-executable program. Further, the present invention can be implemented by a general-purpose digital computer that operates the program from a medium used in a computer. The medium includes a magnetic recording medium such as a floppy disk or a hard disk, an optical recording medium such as a CD-ROM or a DVD, and a storage medium such as a carrier wave such as a transmission through the Internet. Also, such functional programs, codes and code segments can be easily deduced by a programmer in the technical field to which the present invention belongs.

【0051】[0051]

【発明の効果】前述したように本発明に係る動き推定方
法は、フレーム間最小予測エラーを基本とした複数個の
動きベクトル候補戦略と動きベクトル空間の相関性を効
率的に使用することによって計算量が少なくて高速動き
推定ができる。
As described above, the motion estimation method according to the present invention performs calculation by efficiently using the correlation between a plurality of motion vector candidate strategies based on the inter-frame minimum prediction error and the motion vector space. High-speed motion estimation is possible with a small amount.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明が適用される動映像符号化装置の概略
的な構造を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic structure of a video encoding device to which the present invention is applied.

【図2】 本発明の実施形態に係る動き推定方法の主要
段階を示す流れ図である。
FIG. 2 is a flowchart showing main steps of a motion estimation method according to an embodiment of the present invention.

【図3】 本発明の実施形態に係る動き推定方法によっ
て階層別探索を遂行する時、各階層別探索位置を説明す
るための図である。
FIG. 3 is a diagram illustrating a search position for each layer when a search for each layer is performed by the motion estimation method according to the embodiment of the present invention.

【図4】 (A)乃至(F)は本発明の実施形態に係る
動き推定方法で、現在ブロックの周辺ブロックに対する
相関性を用いて動きベクトル候補を決定する過程を説明
するための図である。
FIGS. 4A to 4F are diagrams for explaining a process of determining a motion vector candidate using a correlation of a current block with a neighboring block in a motion estimation method according to an embodiment of the present invention; .

【符号の説明】[Explanation of symbols]

SR(2) 階層2の探索領域 SR1 (1),SR2 (1),SR3 (1) 階層1の探索領域 SR(0) 階層0の探索領域SR (2) Search area of layer 2 SR 1 (1) , SR 2 (1) , SR 3 (1) Search area of layer 1 SR (0) Search area of layer 0

───────────────────────────────────────────────────── フロントページの続き (72)発明者 林 慶垣 大韓民国ソウル特別市江南区駅三洞728− 32番地昭晶ビラット304号 (72)発明者 崔 健榮 大韓民国京畿道水原市八達区梅灘洞162番 地林光アパート10棟110号 Fターム(参考) 5C059 KK15 KK19 MA00 NN02 NN28 PP04 UA02  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Lin Keigaki 728-32, Samseong-dong, Gangnam-gu, Seoul, Republic of Korea No. 32, Shosei Billat No. 304 Cave No. 162 Jibayashi Hikari Apartment Building No. 110 F-term (reference) 5C059 KK15 KK19 MA00 NN02 NN28 PP04 UA02

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 動映像を圧縮するためにブロック整合を
使用する動き推定方法において、 (a) 入力された映像フレームを階層0とする時、階層0
の解像度を低めて階層1を具備し、階層1の解像度を低め
て階層2を具備する段階と、 (b) 階層2の探索領域に対して平均絶対誤差を計算する
段階と、 (c) 前記(b)段階で計算された平均絶対誤差値が最小に
なる少なくとも二つ以上の位置を階層1における初期探
索点として選択する段階と、 (d) 現在ブロックの周辺ブロックの相関性を用いて一
つ以上の階層1における初期探索点をさらに選択する段
階と、 (e) 階層1で初期探索中心点を中心とする探索領域に対
して平均絶対誤差を計算する段階と、 (f) 前記(e)段階で計算された平均絶対誤差値が最小に
なる位置を階層0における探索中心点として選択する段
階と、 (g) 階層0で、前記(f)段階で選択された初期探索中心
点を中心とする探索領域に対して平均絶対誤差を計算す
る段階と、 (h) 前記(g)段階で計算された平均絶対誤差値が最小に
なる位置情報と原点との距離情報より最終動きベクトル
を決定する段階とを含むことを特徴とする動き推定方
法。
1. A motion estimation method using block matching for compressing a moving image, comprising the steps of: (a) when an input video frame is a layer 0,
Lowering the resolution of the hierarchy 1 and providing the hierarchy 1 with a lower resolution of the hierarchy 1; (b) calculating the average absolute error for the search area of the hierarchy 2; and (c) (b) selecting at least two or more positions at which the average absolute error value calculated in the step becomes minimum as the initial search points in the layer 1; and (d) using the correlation between neighboring blocks of the current block. (E) calculating an average absolute error with respect to a search area centered on the initial search center point in layer 1; ) Selecting the position where the average absolute error value calculated in the step becomes the minimum as the search center point in the layer 0; and (g) in the layer 0, centering on the initial search center point selected in the step (f). Calculating the average absolute error for the search area to be calculated, and (h) calculating the average absolute error in the step (g). Motion estimation method characterized by comprising the step of determining the final motion vector from the distance information between the position information and the origin mean absolute error value is minimized with.
【請求項2】 動映像を圧縮するためにブロック整合を
使用する動き推定方法において、 (a) 入力された映像フレームを階層0とする時、階層0
の解像度を低めて階層1を具備し、階層1の解像度を低め
て階層2を具備する段階と、 (b) 階層2の探索領域に対して平均絶対誤差を計算する
段階と、 (c) 前記(b)段階で計算された平均絶対誤差値が最小に
なる二つの位置を階層1における初期探索中心点として
選択する段階と、 (d) 現在ブロックの周辺ブロックの相関性を用いて一
つの初期探索中心点をさらに選択する段階と、 (e) 階層1で3つの初期探索中心点を探索中心とする探
索領域に対して平均絶対誤差を計算する段階と、 (f) 前記(e)段階で計算された平均絶対誤差値が最小に
なる位置を階層における初期探索中心点として選択する
段階と、 (g) 階層0の探索領域に対して平均絶対誤差を計算する
段階と、 (h) 前記(g)段階で計算された平均絶対誤差値が最小に
なる位置データと原点との距離情報より最終動きベクト
ルを決定する段階とを含むことを特徴とする動き推定方
法。
2. A motion estimation method using block matching for compressing a moving image, comprising the steps of: (a) when an input video frame is a layer 0,
Lowering the resolution of the hierarchy 1 and providing the hierarchy 1 with a lower resolution of the hierarchy 1; (b) calculating the average absolute error for the search area of the hierarchy 2; and (c) (b) selecting two positions, at which the average absolute error value calculated in the step is minimum, as the initial search center point in the layer 1, and (d) one initial position using the correlation of peripheral blocks of the current block. Further selecting a search center point; (e) calculating an average absolute error with respect to a search area having three initial search center points as search centers in layer 1; (f) in the step (e). Selecting a position at which the calculated average absolute error value is minimized as an initial search center point in the hierarchy; (g) calculating an average absolute error for a search area in the hierarchy 0; g) From the position data that minimizes the average absolute error value calculated in step Determining a final motion vector.
【請求項3】 前記(a)段階は入力された階層0の解像度
を水平及び垂直方向に各々1/2と1/4に低めて各々階層1
と階層2を具備することを特徴とする請求項2に記載の動
き推定方法。
3. In the step (a), the resolution of the input layer 0 is reduced to 1/2 and 1/4 in the horizontal and vertical directions, respectively, and
The motion estimation method according to claim 2, comprising: and a hierarchy 2.
【請求項4】 前記(d)段階は周辺ブロック間の動きベ
クトルの差の絶対値が所定の臨界値以下のブロックの動
きベクトル平均値を計算して、前記動きベクトル平均値
が最小になる位置を階層1における初期探索中心点とし
て選択することを特徴とする請求項2に記載の動き推定
方法。
4. The step (d) calculates a motion vector average value of a block whose absolute value of a motion vector difference between neighboring blocks is equal to or less than a predetermined threshold value, and calculates a position where the motion vector average value is minimized. The motion estimation method according to claim 2, wherein is selected as an initial search center point in hierarchy 1.
【請求項5】 前記(e)段階と前記(g)段階における探索
領域は5×5画素よりなることを特徴とする請求項2に記
載の動き推定方法。
5. The method according to claim 2, wherein the search area in the steps (e) and (g) comprises 5 × 5 pixels.
【請求項6】 動映像を圧縮するためにブロック整合を
使用する動き推定装置において、 入力された映像フレームを階層0とする時、階層0の解像
度を低めて階層1を具備し、階層1の解像度を低めて階層
2を具備する解像度調整手段と、 階層2の探索領域に対する第1平均絶対誤差と、階層1で
動きベクトル候補に対応する位置を探索中心点とする探
索領域に対する第2平均絶対誤差、及び階層0で前記第2
平均絶対誤差値が最小になる位置を階層0の探索中心点
とした探索領域に対して第3平均絶対誤差を計算する平
均絶対誤差計算手段と、 前記第1平均絶対誤差値が最小になる少なくとも二つ以
上の位置を階層1における初期探索中心点として選択
し、現在ブロックの周辺ブロックの相関性を用いて一つ
以上の初期探索中心点をさらに選択する初期探索点選択
手段と、 前記第3平均絶対誤差値が最小になる位置と原点との距
離情報を用いて最終動きベクトルを決定する最終動きベ
クトル決定手段とを含むことを特徴とする動き推定装
置。
6. A motion estimator using block matching to compress a moving image, wherein when an input video frame is set to layer 0, the resolution of layer 0 is reduced and layer 1 is provided. Lower resolution and hierarchy
Resolution adjusting means comprising: a first average absolute error for a search area of layer 2; a second average absolute error for a search area having a position corresponding to a motion vector candidate in layer 1 as a search center point; In the second
Average absolute error calculating means for calculating a third average absolute error for a search area having a position where the average absolute error value is the minimum as the search center point of the hierarchy 0, at least the first average absolute error value is the minimum An initial search point selection unit that selects two or more positions as initial search center points in the hierarchy 1 and further selects one or more initial search center points using the correlation of peripheral blocks of the current block; A motion estimating device comprising: a final motion vector determining means for determining a final motion vector using distance information between a position where an average absolute error value is minimized and an origin.
【請求項7】 前記解像度調整手段は入力された階層0
の解像度を1/2と1/4に低めて各々階層1と階層2を具備す
ることを特徴とする請求項6に記載の動き推定装置。
7. The resolution adjustment means according to claim 1, wherein
7. The motion estimating device according to claim 6, wherein the resolution is reduced to 1/2 and 1/4 to provide layers 1 and 2, respectively.
【請求項8】 前記初期探索点の選択手段は、周辺ブロ
ック間の動きベクトルの差の絶対値が所定の臨界値以下
のブロックの動きベクトル平均値を計算して、その動き
ベクトル平均値が最小になる位置を階層1における初期
探索中心点として選択することを特徴とする請求項6に
記載の動き推定装置。
8. The means for selecting an initial search point calculates a motion vector average value of a block whose absolute value of a motion vector difference between neighboring blocks is equal to or less than a predetermined threshold value, and determines that the motion vector average value is a minimum. 7. The motion estimating device according to claim 6, wherein a position that becomes the initial search center point in hierarchy 1 is selected.
【請求項9】 前記探索領域は5×5画素よりなることを
特徴とする請求項2に記載の動き推定装置。
9. The motion estimation device according to claim 2, wherein the search area includes 5 × 5 pixels.
JP15434999A 1999-06-01 1999-06-01 Fast motion estimation method and apparatus for real-time video coding Expired - Fee Related JP3615963B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15434999A JP3615963B2 (en) 1999-06-01 1999-06-01 Fast motion estimation method and apparatus for real-time video coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15434999A JP3615963B2 (en) 1999-06-01 1999-06-01 Fast motion estimation method and apparatus for real-time video coding

Publications (2)

Publication Number Publication Date
JP2000350209A true JP2000350209A (en) 2000-12-15
JP3615963B2 JP3615963B2 (en) 2005-02-02

Family

ID=15582232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15434999A Expired - Fee Related JP3615963B2 (en) 1999-06-01 1999-06-01 Fast motion estimation method and apparatus for real-time video coding

Country Status (1)

Country Link
JP (1) JP3615963B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040008359A (en) * 2002-07-18 2004-01-31 삼성전자주식회사 Method for estimating motion using hierarchical search and apparatus thereof and image encoding system using thereof
US7697609B2 (en) 2003-05-13 2010-04-13 Lg Electronics Inc. Apparatus and method for encoding and decoding a moving picture using digital watermarking
US7760952B2 (en) 2003-09-09 2010-07-20 Lg Electronics Inc. Method for setting motion vector of digital video
KR100994773B1 (en) 2004-03-29 2010-11-16 삼성전자주식회사 Method and Apparatus for generating motion vector in hierarchical motion estimation
CN101494780B (en) * 2008-01-25 2013-01-23 联发科技股份有限公司 Method and device for video processing
CN112514392A (en) * 2020-02-18 2021-03-16 深圳市大疆创新科技有限公司 Method and apparatus for video encoding

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040008359A (en) * 2002-07-18 2004-01-31 삼성전자주식회사 Method for estimating motion using hierarchical search and apparatus thereof and image encoding system using thereof
US7697609B2 (en) 2003-05-13 2010-04-13 Lg Electronics Inc. Apparatus and method for encoding and decoding a moving picture using digital watermarking
US7760952B2 (en) 2003-09-09 2010-07-20 Lg Electronics Inc. Method for setting motion vector of digital video
KR100994773B1 (en) 2004-03-29 2010-11-16 삼성전자주식회사 Method and Apparatus for generating motion vector in hierarchical motion estimation
US8130835B2 (en) 2004-03-29 2012-03-06 Samsung Electronics Co., Ltd. Method and apparatus for generating motion vector in hierarchical motion estimation
CN101494780B (en) * 2008-01-25 2013-01-23 联发科技股份有限公司 Method and device for video processing
CN112514392A (en) * 2020-02-18 2021-03-16 深圳市大疆创新科技有限公司 Method and apparatus for video encoding

Also Published As

Publication number Publication date
JP3615963B2 (en) 2005-02-02

Similar Documents

Publication Publication Date Title
US6377623B1 (en) High speed motion estimating method for real time moving image coding and apparatus therefor
EP1147668B1 (en) Improved motion estimation and block matching pattern
JP4528441B2 (en) Hierarchical motion estimation processing and apparatus using block matching method and integrated projection method
JP4198206B2 (en) Video information compression method and apparatus using motion dependent prediction
US8229233B2 (en) Method and apparatus for estimating and compensating spatiotemporal motion of image
US7764740B2 (en) Fast block mode determining method for motion estimation, and apparatus thereof
JP3655651B2 (en) Data processing device
JPH06292176A (en) Coding/decoding method for jump scan digital video signal
JP3979977B2 (en) Motion estimation method and apparatus using hierarchical motion vector search and moving picture coding system using the same
TW201334567A (en) A method for video encoding
US6317460B1 (en) Motion vector generation by temporal interpolation
KR100994768B1 (en) Motion estimation method for encoding motion image, and recording medium storing a program to implement thereof
JPH0955945A (en) Movement vector specifying method and device
JP5237814B2 (en) Multi-stage link method for adaptive motion vector sampling in video compression
JPH07226937A (en) Evaluating method for luminance signal adapted movement
GB2348559A (en) Motion vector estimation using multi-resolution techniques
CN1147159C (en) Method and device for evaluate high speed motion of real time motion image coding
KR100301849B1 (en) Method and apparatus for fractional-pel motion estimation using estimated distortion values
JP2000125302A (en) Method for processing of video image sequence
JP3982615B2 (en) System for converting encoded video data
JP3615963B2 (en) Fast motion estimation method and apparatus for real-time video coding
US6975681B2 (en) Method and apparatus for coding moving pictures
JP2008515298A (en) How to realize motion estimation
JPH10341440A (en) Moving image encoding method and device therefor
JP2606572B2 (en) Video encoding device

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041102

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071112

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121112

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131112

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees