JPH08336141A - Movement vector detection device - Google Patents

Movement vector detection device

Info

Publication number
JPH08336141A
JPH08336141A JP3165095A JP3165095A JPH08336141A JP H08336141 A JPH08336141 A JP H08336141A JP 3165095 A JP3165095 A JP 3165095A JP 3165095 A JP3165095 A JP 3165095A JP H08336141 A JPH08336141 A JP H08336141A
Authority
JP
Japan
Prior art keywords
motion vector
vector
motion
vectors
center
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.)
Pending
Application number
JP3165095A
Other languages
Japanese (ja)
Inventor
Hae-Mook Jung
海黙 丁
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.)
Daiu Denshi Kk
WiniaDaewoo Co Ltd
Original Assignee
Daiu Denshi Kk
Daewoo Electronics Co Ltd
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 Daiu Denshi Kk, Daewoo Electronics Co Ltd filed Critical Daiu Denshi Kk
Priority to JP3165095A priority Critical patent/JPH08336141A/en
Publication of JPH08336141A publication Critical patent/JPH08336141A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide improved device in exactly specifying a motion vector, while using a median filtering technique. CONSTITUTION: An input digital video signal is inputted to a frame memory 100 and a method estimator 200, and frame data from the memory 100 are inputted to the estimator 200 as well. The estimator 200 specifies motion vectors to respective pixels included in a current frame, by using a block matching algorithm and supplies them to a median frame 300. The filter 300 averages the motion vectors by multiplying a predetermined filter coefficient, allocates, the average value as a filtered motion vector and supplies it to a majority detector 400. The detector 400 receives the filtered motion vector and specifies 1st and 2nd main vectors by counting the number of motion vectors having the equal value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は動きベクトルを検知する
ための改良された装置に関し、特に、メジアンフィルタ
リング技法を用いて動きベクトルを特定する改良された
動きベクトル検知装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improved apparatus for detecting motion vectors, and more particularly to an improved apparatus for detecting motion vectors using median filtering techniques.

【0002】[0002]

【従来の技術】高精細度テレビ及びビデオ電話システム
のような多様な電子/電気応用分野において、映像信号
は、ディジタル形態で伝送されることが必須である。映
像信号がディジタル形態で表現される際、相当な量のデ
ィジタルデータが発生されうる。しかし、通常の伝送チ
ャンネルの利用可能な周波数帯域幅が限定されているの
で、映像信号をそのチャンネルを通じて伝送するために
は、伝送データの量を圧縮若しくは減少しなければなら
ない。多様なビデオ圧縮技法の中で、動き補償フレーム
間符号化技法が有効な圧縮技法のうちの1つとして知ら
れており、これは、信号の圧縮のために2つの隣接した
ビデオフレームの間のビデオ信号の時間的冗長度を用い
る。
In various electronic / electrical applications, such as high definition television and video telephone systems, it is essential that video signals be transmitted in digital form. When the video signal is represented in digital form, a significant amount of digital data can be generated. However, since the available frequency bandwidth of a normal transmission channel is limited, the amount of transmission data must be compressed or reduced in order to transmit a video signal through the channel. Among various video compression techniques, motion-compensated interframe coding technique is known as one of the effective compression techniques, which is used for compressing a signal between two adjacent video frames. The temporal redundancy of the video signal is used.

【0003】動き補償フレーム間符号化技法において、
現フレームデータは現フレームと前フレームとの間の動
きの評価に基づいて、前フレームから予測される。この
ような評価された動きは、前フレームと現フレームとの
間の画素の変位を表す2次元動きベクトルによって説明
されうる。本技術分野で提案されている動きベクトル推
定技法中の1つは、ブロック整合アルゴリズム(J.
R.Jainらによる、「Displacement
Measurement and Its Appli
cations in Interframe Ima
ge Coding」,IEEE Transacti
ons on Communications COM
−29,No.12(1981年12月)参照)であ
る。
In the motion compensation interframe coding technique,
Current frame data is predicted from the previous frame based on an estimate of motion between the current frame and the previous frame. Such estimated motion can be explained by a two-dimensional motion vector that represents the displacement of pixels between the previous frame and the current frame. One of the motion vector estimation techniques proposed in the art is the block matching algorithm (J.
R. "Displacement by Jain et al.
Measurement and Its Appli
situations in Interframe Ima
ge Coding ", IEEE Transacti
ons on Communications COM
-29, No. 12 (December 1981)).

【0004】ブロック整合アルゴリズムによれば、現フ
レームは複数の同一の大きさの探索ブロックに分けられ
る。典型的には探索ブロックの大きさは、8×8画素か
ら32×32画素の間の範囲内にある。現フレーム内の
探索ブロックへの動きベクトルを特定するために、現フ
レームの探索ブロックと、この探索ブロックと同一の大
きさの複数の候補ブロックとの間で、類似度計算が行わ
れる。この候補ブロックは、一般に前フレーム内におけ
る探索領域に含まれ、この探索領域の大きさは探索ブロ
ックより更に大きい。平均絶対エラー(mean ab
soluteerror)または平均2乗エラー(me
an square error)のようなエラー関数
が、現フレームの探索ブロックと探索領域内の各候補ブ
ロックとの間の類似度を測定するに用いられる。定義に
よれば、動きベクトルは、探索ブロックと、最適整合ブ
ロック、即ち、最小「エラー」または差をもたらす候補
ブロックとの間の変位を表す。
According to the block matching algorithm, the current frame is divided into a plurality of search blocks of the same size. The search block size is typically in the range between 8x8 pixels and 32x32 pixels. In order to specify the motion vector to the search block in the current frame, similarity calculation is performed between the search block in the current frame and a plurality of candidate blocks having the same size as this search block. This candidate block is generally included in the search area in the previous frame, and the size of this search area is larger than that of the search block. Mean absolute error
solution error or mean square error (me
An error function, such as an square error, is used to measure the similarity between the search block of the current frame and each candidate block in the search region. By definition, the motion vector represents the displacement between the search block and the best matching block, ie the candidate block that yields the smallest "error" or difference.

【0005】かかる動き推定では、探索ブロックに対応
する全探索領域に亘って、1つの最小平均絶対エラーの
みを探すことが好ましく、かつ便利である。しかし、ブ
ロック整合の間に等価な最小差を有するものが複数発見
される場合がある。この場合、MPEGでは、たとえ標
準化として示してはいないが、それらの優先度の最も高
い最小エラー(即ち、最初に発見された最小エラー)以
外のすべての等価な最小エラーを捨てることを提案して
いた。従って、このような技法では、探索ブロックとそ
の対応する探索領域との間の動きベクトルの正確な検知
が困難であった。
In such motion estimation, it is preferable and convenient to search for only one minimum mean absolute error over the entire search area corresponding to the search block. However, there may be multiple occurrences of equivalent minimum differences between block matches. In this case, MPEG proposes to discard all equivalent minimum errors, even though they are not shown as standardization, except for their highest priority minimum error (ie the first error found). It was Therefore, with such a technique, it is difficult to accurately detect a motion vector between a search block and its corresponding search area.

【0006】[0006]

【発明が解決しようとする課題】従って、本発明の主な
目的は、メジアンフィルタリング(median fi
ltering)技法を用いて、動きベクトルを正確に
特定するための改善された装置を提供することである。
SUMMARY OF THE INVENTION Therefore, the main object of the present invention is to perform median filtering.
ltering) technique to provide an improved apparatus for accurately identifying motion vectors.

【0007】[0007]

【課題を達成するための手段】上記目的を達成するため
に、本発明によれば、動き補償ビデオ符号化器で用いら
れ、ビデオ信号の現フレームと前フレームの間の変位を
表す動きベクトルを特定するものであって、該現フレー
ムはP×Q画素を有する複数の取扱いブロックに分けら
れて、そのP×Q画素が各取扱いブロックの中心に位置
した画素を表すセンタ画素を備える、動きベクトル検知
装置(P及びQは2より大きい整数)であって、前記現
フレームの各々の画素への動きベクトルを提供するもの
で、その動きベクトルは各々のセンタ画素に対するセン
タ動きベクトルを備える、動きベクトル提供手段と、前
記動きベクトルをメジアンフィルタリングし、前記現フ
レームに含まれた画素へのフィルタリング済みの動きベ
クトルを発生するメジアンフィルタリング手段と、前記
各取扱いブロックに含まれた画素に対応する前記フィル
タリング済みの動きベクトルの間で同一の値を有する前
記フィルタリング済みの動きベクトルの数を計数するこ
とによって、前記各取扱いブロックの計数された数が最
も多い第1主ベクトル及びその数が2番目に多い第2主
ベクトルをえり分ける選別手段と、前記第1及び第2主
ベクトルに基づいて、前記各取扱いブロックに対するエ
ラー関数を計算して、前記第1及び第2主ベクトル中で
最小エラー関数をもたらすベクトルを出力動きベクトル
として選択する選択手段と、前記各取扱いブロックに対
する前記センタ動きベクトル、前記第1主ベクトル及び
前記第1主ベクトルの計数された数に基づいて、制御信
号を発生する制御信号発生手段と、前記制御信号に応答
して、前記出力動きベクトルと前記センタ動きベクトル
から前記各取扱いブロックに対する動きベクトルを選択
する切替手段とを有することを含む。
In order to achieve the above object, according to the present invention, a motion vector used in a motion compensated video coder and representing a displacement between a current frame and a previous frame of a video signal is calculated. A motion vector, which is specific, the current frame being divided into a plurality of handling blocks having P × Q pixels, the P × Q pixels comprising a center pixel representing a pixel located at the center of each handling block. A motion vector (P and Q is an integer greater than 2) for providing a motion vector to each pixel of the current frame, the motion vector comprising a center motion vector for each center pixel. Providing means for generating a filtered motion vector for pixels included in the current frame by median filtering the motion vector. Of the handling blocks by counting the number of filtered motion vectors having the same value between the ian filtering means and the filtered motion vectors corresponding to the pixels included in each handling block. A sorting means for selecting the first main vector having the largest number and the second main vector having the second largest number, and an error function for each handling block based on the first and second main vectors. Selecting means for calculating and selecting, as an output motion vector, a vector that produces a minimum error function among the first and second main vectors; the center motion vector, the first main vector and the first motion vector for each handling block; Control signal generating means for generating a control signal based on the counted number of main vectors; In response to the control signal comprises and a switching means for selecting a motion vector from the center motion vector and the output motion vectors for each handling block.

【0008】[0008]

【実施例】以下、本発明の動きベクトル検知装置につい
て、添付の図面を参照しながらより詳しく説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The motion vector detecting device of the present invention will be described in more detail below with reference to the accompanying drawings.

【0009】図1及び図2を参照すれば、現フレームに
含まれた各々の取扱いブロックに対する動きベクトルを
特定するための、本発明による装置のブロック図が示さ
れており、各取扱いブロックはP×Q画素(例えば、5
×5画素)を有する。
Referring to FIGS. 1 and 2, there is shown a block diagram of an apparatus according to the present invention for identifying a motion vector for each handling block contained in the current frame, each handling block being P × Q pixels (for example, 5
× 5 pixels).

【0010】現フレームデータは、入力ディジタルビデ
オ信号としてフレームメモリ100及び動き推定器20
0に入力される。フレームメモリ100からの前フレー
ムデータもまた、動き推定器200に入力される。
The current frame data is used as an input digital video signal for the frame memory 100 and the motion estimator 20.
Input to 0. Previous frame data from the frame memory 100 is also input to the motion estimator 200.

【0011】この動きベクトル推定器200は、ブロッ
ク整合アルゴリズムを用いて現フレームに含まれた各画
素への動きベクトルを特定するように働く。特に、現フ
レームに含まれた画素(目的の画素)への動きベクトル
を特定するために、目標画素を探索ブロックの中心と一
致する基準として、目的の画素を用いてM×N画素、例
えば3×3画素の探索ブロックが設定される。この探索
ブロックは、当業者には公知のブロック整合アルゴリズ
ムを用いて、前フレーム内の対応する探索領域に含まれ
たすべての候補ブロックと、ブロック単位で比較され
る。ブロック整合アルゴリズムを用いて得られた探索ブ
ロックに対する変位は、目的の画素の動きベクトルとし
て割り当てる。現フレーム内に含まれた各画素に対応す
る各々の動きベクトルは、動き推定器200からメジア
ンフィルタ300へ供給されて更に処理される。またこ
の動きベクトル推定器200はセンタ画素の動きベクト
ルを、本発明による比較器510へ供給する。各々のセ
ンタ画素は、P及びQが奇数の整数であれば、各取扱い
ブロックの中心に位置する画素であって、PまたはQ中
の何れか1つが偶数の整数であれば、各取扱いブロック
の中心に位置した2つの画素中の何れか1つであって、
P及びQが偶数であれば、その中心に位置した4つの画
素中の何れか1つである。即ち、センタ画素は取扱いブ
ロックの中心に位置した最大の4つの画素内の1つの画
素である。
The motion vector estimator 200 operates to identify the motion vector for each pixel contained in the current frame using a block matching algorithm. In particular, in order to specify a motion vector to a pixel (target pixel) included in the current frame, the target pixel is used as a reference to match the center of the search block, and the target pixel is used as M × N pixels, for example, 3 pixels. A search block of × 3 pixels is set. This search block is compared on a block-by-block basis with all candidate blocks contained in the corresponding search area in the previous frame using a block matching algorithm known to those skilled in the art. The displacement for the search block obtained using the block matching algorithm is assigned as the motion vector of the target pixel. Each motion vector corresponding to each pixel included in the current frame is supplied from the motion estimator 200 to the median filter 300 for further processing. The motion vector estimator 200 also supplies the motion vector of the center pixel to the comparator 510 according to the present invention. Each center pixel is a pixel located at the center of each handling block if P and Q are odd integers, and if any one of P or Q is an even integer, then each center pixel of each handling block One of the two pixels located in the center,
If P and Q are even, it is one of the four pixels located at the center. That is, the center pixel is one of the maximum four pixels located at the center of the handling block.

【0012】メジアンフィルタ300では、メジアンフ
ィルタリング動作が、動き推定器200からの各々の動
きベクトルに対して適切なフィルタリング窓を用いて行
なわれる。本発明の好ましい実施例において、このメジ
アンフィルタ300は、図3に示されたような十字型フ
ィルタリング窓を有し、十字型フィルタリング窓内に含
まれた画素A乃至Eに予め定められたフィルタ係数を掛
けることによって、それらに対する動きベクトルを平均
すると共に、その平均された値を画素Aのフィルタリン
グ済みの動きベクトルとして割り当てる。現フレームの
各取扱いブロックに含まれた各画素に対応するフィルタ
リング済みの各動きベクトルは、メジアンフィルタ30
0からマジョリティー検知器400へ供給される。
In median filter 300, median filtering operations are performed on each motion vector from motion estimator 200 using the appropriate filtering window. In the preferred embodiment of the present invention, the median filter 300 has a cross-shaped filtering window as shown in FIG. 3, and predetermined filter coefficients for pixels A to E included in the cross-shaped filtering window. By averaging the motion vectors for them and assigning the averaged value as the filtered motion vector for pixel A. Each filtered motion vector corresponding to each pixel included in each handling block of the current frame is calculated by the median filter 30.
From 0 to the majority detector 400.

【0013】マジョリティー検知器400は、例えば、
5×5画素からなる各取扱いブロックに含まれた各画素
に対応する、フィルタリング済みの動きベクトルを受信
し、等しい値を有するフィルタリングされた動きベクト
ルの数を計数して、第1及び第2主ベクトルを特定す
る。この第1及び第2主ベクトルはフィルタリング済み
の動きベクトルの中で、計数された数が最も多いベクト
ルと2番目に多いベクトルに各々対応する。この第1及
び第2主ベクトルは、マジョリティー検知器400の出
力端子400A及び400Cを通じて各々出力される。
また、マジョリティー検知器400はその出力端子40
0Bを通じて第1主ベクトルの数を出力する。
The majority detector 400 is, for example,
A filtered motion vector corresponding to each pixel included in each handling block of 5 × 5 pixels is received and the number of filtered motion vectors having an equal value is counted to determine the first and second main Identify the vector. The first and second main vectors respectively correspond to the vector having the largest number and the vector having the second largest number among the filtered motion vectors. The first and second main vectors are output through the output terminals 400A and 400C of the majority detector 400, respectively.
Also, the majority detector 400 has its output terminal 40.
Output the number of the first main vector through 0B.

【0014】比較器515は、マジョリティー検知器4
00からの第1主ベクトルの数を予め定められた値(例
えば、13)と比較し、その比較した第1主ベクトルの
数が13より以上の場合、論理「ハイ」信号を、それ以
外の場合は、論理「ロー」信号をANDゲート520へ
送出す。比較器510は、出力端子400Aから入力さ
れた第1主ベクトルと、動き推定器200から供給され
たセンタ画素の動きベクトルとを比較して、それらが等
しい場合、論理「ハイ」信号を、それ以外の場合、論理
「ロー」信号をANDゲート520へ送出する。
The comparator 515 is a majority detector 4.
The number of first main vectors from 00 is compared with a predetermined value (for example, 13), and if the number of the compared first main vectors is 13 or more, a logical "high" signal is output. If so, it sends a logical "low" signal to AND gate 520. The comparator 510 compares the first main vector input from the output terminal 400A with the motion vector of the center pixel supplied from the motion estimator 200, and if they are equal, outputs a logical "high" signal to it. Otherwise, it sends a logical "low" signal to AND gate 520.

【0015】ANDゲート520は、比較器510、5
15からの出力信号に応答して、比較器510、515
からの2つの出力信号が論理「ハイ」である場合、論理
「ハイ」信号を、それ以外の場合、論理「ロー」信号を
スイッチ530の端子S1への制御信号CTLとして発
生させる。
The AND gate 520 has comparators 510, 5
15 in response to the output signal from the comparators 510, 515.
Generate a logic "high" signal as the control signal CTL to the terminal S1 of the switch 530, and a logic "high" signal otherwise.

【0016】本発明によれば、本発明の装置はベクトル
選択ブロック600を更に有し、このベクトル選択ブロ
ック600は、第1及び第2主ベクトルの内で、より小
さいエラー関数(例えば、平均2乗エラー)を有する動
き補償された取扱いブロックを発生させる主ベクトルを
選択する。このベクトル選択ブロック600は予測器6
10、615と平均2乗エラー(MSE)検知器62
0、625とからなる。
According to the invention, the device of the invention further comprises a vector selection block 600, which of the first and second main vectors has a smaller error function (for example, an average of 2). Select the dominant vector that yields the motion-compensated handling block with power error). This vector selection block 600 is the predictor 6
10, 615 and mean square error (MSE) detector 62
It consists of 0 and 625.

【0017】とくに、図1及び図2に示されたように、
第1及び第2主ベクトルは、マジョリティー検知器40
0から予測器610、615へ各々供給される。各々の
予測器610、615は、各主ベクトルに応答して、取
扱いブロックの予測データ(即ち、第1及び第2主ベク
トルに対応する前フレームの画素データ)をフレームメ
モリからライン110を通じて取出して、そのデータを
MSE検知器620、625へ各々送出する。このMS
E検知器620、625はその2つの入力(即ち、ライ
ン105を通じて提供された現フレームの取扱いブロッ
クデータ及びその対応する予測データ)の間の平均2乗
エラーを算出して、算定された値(即ち、平均2乗エラ
ーE1及びE2)を比較器630へ各々送出する。
In particular, as shown in FIGS. 1 and 2,
The first and second main vectors are the majority detector 40.
0 to the predictors 610 and 615, respectively. Each predictor 610, 615, in response to each major vector, retrieves the prediction data of the serving block (ie, the pixel data of the previous frame corresponding to the first and second major vectors) from the frame memory on line 110. , And sends the data to the MSE detectors 620 and 625, respectively. This MS
The E detectors 620, 625 calculate the mean squared error between their two inputs (ie, the serving block data of the current frame and its corresponding prediction data provided through line 105) and the calculated value ( That is, the mean square errors E1 and E2) are sent to the comparator 630, respectively.

【0018】比較器630は、その2つの入力値(即
ち、E1及びE2)を比較して、選択信号を、マジョリ
ティー検知器400の出力端子400A、400Cに結
合された2つの入力端子を有するマルチプレクサ(MU
X)635へ送出する。E1がE2より以上の場合、比
較器630は、例えば論理「ハイ」の選択信号をMUX
(マルチプレクサ)635へ送出することによって、第
1主ベクトルをライン605を通じてスイッチ530の
端子S2へ供給し、それ以外の場合、論理「ロー」の選
択信号をMUX635へ送出することによって、第2主
ベクトルを端子S2へ供給する。
Comparator 630 compares its two input values (ie, E1 and E2) and has a two input terminal coupled to the select signal to output terminals 400A, 400C of majority detector 400. (MU
X) to 635. If E1 is greater than or equal to E2, the comparator 630 sends a logic “high” select signal to the MUX.
(Multiplexer) 635 to provide the first main vector on line 605 to terminal S2 of switch 530, otherwise to the second main by sending a logic "low" select signal to MUX 635. The vector is supplied to the terminal S2.

【0019】スイッチ530は制御信号CTLに応答し
て、その2つの端子S1、S2へ入力された2つの入力
信号のうちの1つを選択する。言い換えれば、このスイ
ッチ530は、制御信号CTLが論理「ハイ」の信号の
場合、端子S1の入力(即ち、センタ画素の動きベクト
ル)を、取扱いブロックの動きベクトルとして選択し、
制御信号CTLが論理「ロー」信号の場合、端子S2の
入力(即ち、より小さい平均2乗エラーをもたらす主ベ
クトル)を取扱いブロックの動きベクトルとして選択す
る。
The switch 530 responds to the control signal CTL to select one of the two input signals input to its two terminals S1 and S2. In other words, the switch 530 selects the input of the terminal S1 (that is, the motion vector of the center pixel) as the motion vector of the handling block when the control signal CTL is a logic “high” signal,
If the control signal CTL is a logic "low" signal, then the input at terminal S2 (i.e., the main vector that produces the smaller mean square error) is selected as the motion vector for the handling block.

【0020】これまで、本発明の特定の実施例について
説明したが、本発明の範囲を逸脱することなく当業者は
種々の改変をなし得るであろう。
While we have described specific embodiments of the present invention, those skilled in the art will be able to make various modifications without departing from the scope of the invention.

【0021】[0021]

【発明の効果】従って、本発明によれば、ビデオ信号の
現フレームと前フレームとの間の変位を表す動きベクト
ルを特定する時、ブロック整合を通じて検知された動き
ベクトルをメジアンフィルタを通じてフィルタリングし
て、そのフィルタリング済みの動きベクトルと、センタ
動きベクトルの内で最適の動きベクトルが選択される。
よって、動きベクトルを正確に特定できる。
Therefore, according to the present invention, when the motion vector representing the displacement between the current frame and the previous frame of the video signal is specified, the motion vector detected through the block matching is filtered through the median filter. , The optimum motion vector is selected from the filtered motion vector and the center motion vector.
Therefore, the motion vector can be accurately specified.

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

【図1】ビデオ信号の現フレームと前フレームとの間の
動きベクトルを特定するための本発明の装置の一部を示
したブロックである。
FIG. 1 is a block diagram showing a portion of an apparatus of the present invention for identifying a motion vector between a current frame and a previous frame of a video signal.

【図2】ビデオ信号の現フレームと前フレームとの間の
動きベクトルを特定するための本発明の装置の一部を示
したブロックである。
FIG. 2 is a block diagram showing part of an apparatus of the present invention for identifying a motion vector between a current frame and a previous frame of a video signal.

【図3】画素のメジアンフィルタリングのための、本発
明によるフィルタリング窓を示した図面である。
FIG. 3 illustrates a filtering window according to the present invention for median filtering of pixels.

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

100 フレームメモリ 105、110 ライン 200 動き推定器 300 メジアンフィルタ 400 マジョリティー検知器 400A〜400C マジョリティー検知器の出力端子 510、515 比較器 520 ANDゲート 530 スイッチ 600 ベクトル選択ブロック 610、615 予測器 620、625 2乗平均エラー検知器(MSE) 630 比較器 635 マルチプレクサ(MUX) 100 frame memory 105, 110 line 200 motion estimator 300 median filter 400 majority detector 400A to 400C output terminals of majority detector 510, 515 comparator 520 AND gate 530 switch 600 vector selection block 610, 615 predictor 620, 625 2 Multiply Mean Error Detector (MSE) 630 Comparator 635 Multiplexer (MUX)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 動き補償ビデオ符号化器で用いられ、
ビデオ信号の現フレームと前フレームの間の変位を表す
動きベクトルを特定するものであって、該現フレームは
P×Q画素を有する複数の取扱いブロックに分けられ
て、そのP×Q画素が各取扱いブロックの中心に位置し
た画素を表すセンタ画素を備える、動きベクトル検知装
置(P及びQは2より大きい整数)であって、 前記現フレームの各々の画素への動きベクトルを提供す
るもので、その動きベクトルは各々のセンタ画素に対す
るセンタ動きベクトルを備える、動きベクトル提供手段
と、 前記動きベクトルをメジアンフィルタリングし、前記現
フレームに含まれた画素へのフィルタリング済みの動き
ベクトルを発生するメジアンフィルタリング手段と、 前記各取扱いブロックに含まれた画素に対応する前記フ
ィルタリング済みの動きベクトルの間で同一の値を有す
る前記フィルタリング済みの動きベクトルの数を計数す
ることによって、前記各取扱いブロックの計数された数
が最も多い第1主ベクトル及びその数が2番目に多い第
2主ベクトルをえり分ける選別手段と、 前記第1及び第2主ベクトルに基づいて、前記各取扱い
ブロックに対するエラー関数を計算して、前記第1及び
第2主ベクトル中で最小エラー関数をもたらすベクトル
を出力動きベクトルとして選択する選択手段と、 前記各取扱いブロックに対する前記センタ動きベクト
ル、前記第1主ベクトル及び前記第1主ベクトルの計数
された数に基づいて、制御信号を発生する制御信号発生
手段と、 前記制御信号に応答して、前記出力動きベクトルと前記
センタ動きベクトルから前記各取扱いブロックに対する
動きベクトルを選択する切替手段とを有することを特徴
とする動きベクトル検知装置。
1. Used in a motion compensated video encoder,
A motion vector that represents a displacement between a current frame and a previous frame of a video signal is specified. The current frame is divided into a plurality of handling blocks having P × Q pixels, and the P × Q pixels are each divided. A motion vector detector (P and Q are integers greater than 2) comprising a center pixel representing the pixel located at the center of the handling block, which provides a motion vector to each pixel of the current frame, A motion vector providing unit, the motion vector comprising a center motion vector for each center pixel, and a median filtering unit for median-filtering the motion vector to generate a filtered motion vector for a pixel included in the current frame. And the filtered motion vectors corresponding to the pixels included in each handling block. By counting the number of the filtered motion vectors having the same value between the cutouts, the counted first primary vector of each of the handling blocks and the second largest secondary vector of the number of processed blocks are counted. Selecting means for selecting vectors, calculating an error function for each of the handling blocks based on the first and second main vectors, and outputting a vector that produces a minimum error function in the first and second main vectors Selecting means for selecting as a motion vector; control signal generating means for generating a control signal based on the counted number of the center motion vector, the first main vector and the first main vector for each handling block, In response to the control signal, a motion for each handling block is generated from the output motion vector and the center motion vector. The motion vector detection apparatus; and a switching means for selecting a vector.
【請求項2】 前記メジアンフィルタリング手段が、
動きベクトルを平均するための十字型フィルタリング窓
を有するメジアンフィルタからなることを特徴とする請
求項1に記載の動きベクトル検知装置。
2. The median filtering means,
The motion vector detection device according to claim 1, comprising a median filter having a cross-shaped filtering window for averaging the motion vectors.
【請求項3】 動き補償ビデオ符号化器で用いられ、
ビデオ信号の現フレームと前フレームの間の変位を表す
動きベクトルを特定するものであって、該現フレームは
P×Q画素を有する複数の取扱いブロックに分けられ
て、そのP×Q画素が各取扱いブロックの中心に位置し
た画素を表すセンタ画素を備える、動きベクトル検知装
置(P及びQは2より大きい整数)であって、 前記現フレームの各々の画素への動きベクトルを提供す
るもので、その動きベクトルは各々のセンタ画素に対す
るセンタ動きベクトルを備える、動きベクトル提供手段
と、 前記動きベクトルをメジアンフィルタリングし、前記現
フレームに含まれた画素へのフィルタリング済みの動き
ベクトルを発生するメジアンフィルタリング手段と、 前記各取扱いブロックに含まれた画素に対応する前記フ
ィルタリング済みの動きベクトルの間で同一の値を有す
る前記フィルタリング済みの動きベクトルの数を計数す
ることによって、前記各取扱いブロックの計数された数
が最も多い第1主ベクトル及びその数が2番目に多い第
2主ベクトルをえり分ける選別手段と、 前記第1及び第2主ベクトルに基づいて、前記各取扱い
ブロックに対するエラー関数を計算して、前記第1及び
第2主ベクトル中で最小エラー関数をもたらすベクトル
を出力動きベクトルとして選択する選択手段と、 前記センタ動きベクトル及び前記第1主ベクトルに応答
して、前記センタ動きベクトルと前記第1主ベクトルが
等しい場合、第1制御信号を発生し、それ以外の場合、
第2制御信号を発生する第1発生手段と、 前記第1主ベクトルの数を予め定められた数と比較し
て、第1主ベクトルの数が予め定められた数より大きい
か等しい場合、第3制御信号を発生し、それ以外の場
合、第4制御信号を発生する第2発生手段と、 前記第1、2、3及び第4制御信号に応答して、前記第
1及び第3制御信が印加された場合、第1選択信号を発
生し、それ以外の場合、第2選択信号を発生する第3発
生手段と、 前記第1選択信号に応答する前記センタ動きベクトルと
前記第2選択信号に応答する前記出力動きベクトルの中
で、前記各取扱いブロックに対する動きベクトルを選択
する切替手段とを有することを特徴とする動きベクトル
検知装置。
3. Used in a motion compensated video encoder,
A motion vector that represents a displacement between a current frame and a previous frame of a video signal is specified. The current frame is divided into a plurality of handling blocks having P × Q pixels, and the P × Q pixels are each divided. A motion vector detector (P and Q are integers greater than 2) comprising a center pixel representing the pixel located at the center of the handling block, which provides a motion vector to each pixel of the current frame, A motion vector providing unit, the motion vector comprising a center motion vector for each center pixel, and a median filtering unit for median-filtering the motion vector to generate a filtered motion vector for a pixel included in the current frame. And the filtered motion vectors corresponding to the pixels included in each handling block. By counting the number of the filtered motion vectors having the same value between the cutouts, the counted first primary vector of each of the handling blocks and the second largest secondary vector of the number of processed blocks are counted. Sorting means for selecting vectors, calculating an error function for each of the handling blocks based on the first and second main vectors, and outputting a vector that produces a minimum error function in the first and second main vectors Selecting means for selecting as a motion vector, and in response to the center motion vector and the first main vector, generates a first control signal when the center motion vector and the first main vector are equal, and otherwise ,
Comparing the number of the first main vectors with a predetermined number and generating a second control signal, and if the number of the first main vectors is greater than or equal to the predetermined number, Second control means for generating a third control signal, otherwise generating a fourth control signal; and, in response to the first, second, third and fourth control signals, the first and third control signals. Is applied, the third selection means generates a first selection signal, and otherwise generates a second selection signal, the center motion vector responsive to the first selection signal, and the second selection signal. And a switching means for selecting a motion vector for each handling block among the output motion vectors in response to the motion vector detecting device.
JP3165095A 1995-01-27 1995-01-27 Movement vector detection device Pending JPH08336141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3165095A JPH08336141A (en) 1995-01-27 1995-01-27 Movement vector detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3165095A JPH08336141A (en) 1995-01-27 1995-01-27 Movement vector detection device

Publications (1)

Publication Number Publication Date
JPH08336141A true JPH08336141A (en) 1996-12-17

Family

ID=12337060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3165095A Pending JPH08336141A (en) 1995-01-27 1995-01-27 Movement vector detection device

Country Status (1)

Country Link
JP (1) JPH08336141A (en)

Similar Documents

Publication Publication Date Title
US5539469A (en) Apparatus for determining motion vectors through the use of an adaptive median filtering technique
US5745183A (en) Image motion estimation system which derives candidate block from interpolated motion vectors
US7706450B2 (en) Block distortion detection method, block distortion detection apparatus, block distortion removal method, and block distortion removal apparatus
JP3933718B2 (en) System for processing signals representing images
US5781249A (en) Full or partial search block matching dependent on candidate vector prediction distortion
US4667233A (en) Apparatus for discriminating a moving region and a stationary region in a video signal
KR950009699B1 (en) Motion vector detection method and apparatus
US5596370A (en) Boundary matching motion estimation apparatus
US5510856A (en) Apparatus for determining motion vectors
JPH0799663A (en) Movement-vector detector
KR100229803B1 (en) Method and apparatus for detecting motion vectors
EP1460854A1 (en) Moving picture compression/coding apparatus and motion vector detection method
KR0181029B1 (en) Apparatus for selecting a feature point by using edge
CN1127906A (en) Apparatus for determining motion vectors
US6738426B2 (en) Apparatus and method for detecting motion vector in which degradation of image quality can be prevented
JPH08336141A (en) Movement vector detection device
KR0174932B1 (en) Apparatus for determining motion vectors
JP3694052B2 (en) Motion vector detection device
KR0174936B1 (en) Apparatus for determining motion vectors through the use of an adaptive median filtering technique
KR100213276B1 (en) Three step searching circuit of image processor
KR0160901B1 (en) Boundary matching motion estimatin apparatus
KR0174939B1 (en) Apparatus for determining motion vectors
JP3600650B2 (en) Boundary-matched motion estimator
KR100213274B1 (en) Three step searching method of image processor
CN1115865C (en) Apparatus for determining motion vectors through the use of an adaptive median filtering technique