JPH0691655B2 - Motion vector detection circuit - Google Patents

Motion vector detection circuit

Info

Publication number
JPH0691655B2
JPH0691655B2 JP63113448A JP11344888A JPH0691655B2 JP H0691655 B2 JPH0691655 B2 JP H0691655B2 JP 63113448 A JP63113448 A JP 63113448A JP 11344888 A JP11344888 A JP 11344888A JP H0691655 B2 JPH0691655 B2 JP H0691655B2
Authority
JP
Japan
Prior art keywords
representative point
current signal
motion vector
frame difference
representative
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.)
Expired - Lifetime
Application number
JP63113448A
Other languages
Japanese (ja)
Other versions
JPH01286591A (en
Inventor
洋志 平林
豊 田中
裕司 野尻
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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP63113448A priority Critical patent/JPH0691655B2/en
Publication of JPH01286591A publication Critical patent/JPH01286591A/en
Publication of JPH0691655B2 publication Critical patent/JPH0691655B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、画像信号の動きベクトル検出回路に係り、
特に動きベクトルの検出範囲を拡大しても容易に対応で
きる機能を有する動きベクトル検出回路に関するもので
ある。
The present invention relates to a motion vector detection circuit for image signals,
In particular, the present invention relates to a motion vector detection circuit having a function that can easily cope with an increase in the motion vector detection range.

(発明の概要) この発明は、パターンマッチング法による動きベクトル
検出回路に関するもので、現信号とベクトル検出範囲内
にある前フレーム代表点との見本ベクトル毎のフレーム
差分を時並列に求めている。
(Summary of the Invention) The present invention relates to a motion vector detection circuit based on a pattern matching method, and time-parallelly finds a frame difference for each sample vector between a current signal and a previous frame representative point within the vector detection range.

これにより検出可能な動きベクトルの範囲を拡大して
も、回路構成を変えず従属的にハードウェアを接続する
だけで動きベクトルの検出を行なえるようにしたもので
ある。
With this, even if the range of motion vectors that can be detected is expanded, the motion vector can be detected only by connecting the hardware subordinately without changing the circuit configuration.

(従来の技術) 従来、パターンマッチング法を用いた動きベクトル検出
回路では、前フレームの画像のサブサンプル代表点と呼
ばれる画素を、見本ベクトルに応じて見本ベクトルの個
数分だけ水平、垂直に移動せしめ、現フレームの画像と
のフレーム差絶対値を求め、同じ見本ベクトルに属する
フレーム差絶対値を全ての代表点数だけ加算し、その加
算した値が最小となる見本ベクトルを動きベクトルとし
て検出していた。
(Prior Art) Conventionally, in a motion vector detection circuit using a pattern matching method, pixels called subsample representative points of an image of a previous frame are moved horizontally or vertically by the number of sample vectors according to the sample vectors. , The absolute value of the frame difference from the image of the current frame is obtained, the absolute values of the frame differences belonging to the same sample vector are added for all the representative points, and the sample vector having the smallest added value is detected as the motion vector. .

(発明が解決しようとする課題) 従来の動きベクトル検出回路では、前フレーム代表点画
素に着目しこれと現信号画素とのフレーム差を求めるよ
うにしているので、現信号に対しても最低垂直方向の見
本ベクトルの個数(動きベクトル検出範囲の垂直の値)
に相当するライン数分のバッファメモリを必要とし、ベ
クトルの検出範囲がそのまま見本ベクトルの個数である
から、ベクトルの検出範囲を相関検出領域よりもさらに
拡大した場合、代表点との相関の演算に2回以上使用さ
れる現信号の画素が存在することとなり、現信号用のバ
ッファメモリの容量増加を伴なう。また、動きベクトル
の検出はリアルタイムに行なわなければならないため、
いくつかの代表点に対してこれまでにも、フレーム差絶
対値加算を並列に行なって来たが、ベクトルの検出範囲
をさらに拡大した場合、その検出をリアルタイムに行な
うためハードウェアの構成変更を余儀無くされる場合が
生じてきた。
(Problems to be Solved by the Invention) In the conventional motion vector detection circuit, since the frame difference point between the previous frame representative point pixel and this and the current signal pixel is obtained, a minimum vertical angle is obtained even with respect to the current signal. Number of direction sample vectors (vertical value of motion vector detection range)
Since the buffer memory for the number of lines corresponding to is needed and the vector detection range is the number of sample vectors as it is, if the vector detection range is expanded further than the correlation detection area, the correlation with the representative point is calculated. Since there are pixels of the current signal that are used more than once, the capacity of the buffer memory for the current signal increases. Also, since the motion vector must be detected in real time,
So far, we have been performing frame difference absolute value addition in parallel for some representative points.However, if the vector detection range is further expanded, the hardware configuration must be changed to perform that detection in real time. There are cases in which they are forced to do so.

従って本発明は上述の欠点を解決し、現信号に着目し現
信号とベクトル検出範囲内にある全ての前フレーム代表
点との見本ベクトル毎のフレーム差絶対値を時並列に求
めることにより、現信号用のバッファメモリを必要とせ
ず、検出可能な動きベクトルの範囲を拡大しても、回路
構成を変えず従属的に拡大前のハードウェア構成に追加
のハードウェアを接続するのみで、その目的の達成され
る動きベクトル検出回路を提供せんとするものである。
Therefore, the present invention solves the above-mentioned drawbacks, and by paying attention to the current signal, by time-parallel finding the frame difference absolute value for each sample vector between the current signal and all previous frame representative points within the vector detection range, Even if the range of motion vectors that can be detected is expanded without the need for a buffer memory for signals, the purpose is simply to connect additional hardware to the hardware structure before expansion without changing the circuit structure. Of the motion vector detection circuit to be achieved.

(課題を解決するための手段) そのための本発明ベクトル検出回路は、すなわち、パタ
ーンマッチング法により動きベクトル検出回路におい
て、該回路が現信号の着目画素との間でフレーム差が計
算されるべき代表点画素をサブサンプルする代表点サブ
サンプル部と、当該サブサンプルされた代表点画素を一
時記憶するとともに、代表点画素を相関検出領域に属す
る現信号に応じてシフト出力させる代表点バッファメモ
リ部と、相関検出領域に属する現信号に応じて、前記シ
フト出力された代表点画素のうち動きベクトル検出範囲
に属する有限個の代表点画素を同時に出力させる代表点
遅延回路および出力部と、現信号の着目画素と前フレー
ム代表点とのフレーム差絶対値を見本ベクトルに応じて
全代表点数だけ加算する複数個のフレーム差加算および
メモリ部と、前記フレーム差絶対値の加算値の最小値を
検出する最小値検出部と、該最小値を示す前記フレーム
差加算およびメモリ部のメモリとアドレス発生部のアド
レスとより動きベクトル値に変換するベクトル値変換部
と、を具備することを特徴とするものである。
(Means for Solving the Problem) The vector detection circuit of the present invention for that purpose, that is, in the motion vector detection circuit by the pattern matching method, is a representative that the circuit should calculate the frame difference between the pixel and the pixel of interest of the current signal. A representative point sub-sampling unit that sub-samples point pixels, a representative point buffer memory unit that temporarily stores the sub-sampled representative point pixels, and shifts and outputs the representative point pixels according to the current signal belonging to the correlation detection region. A representative point delay circuit and an output unit for simultaneously outputting a limited number of representative point pixels belonging to the motion vector detection range among the shifted representative point pixels in accordance with the current signal belonging to the correlation detection area; Frame difference between the pixel of interest and the representative point of the previous frame Multiple frame differences that add the total representative points according to the sample vector Addition and memory unit, minimum value detection unit that detects the minimum value of the added value of the frame difference absolute value, and a motion vector based on the memory of the frame difference addition and memory unit that indicates the minimum value and the address of the address generation unit And a vector value conversion unit for converting the value into a value.

(実施例) 以下添付図面を参照し実施例により本発明を詳細に説明
する。
(Example) The present invention will be described in detail below with reference to the accompanying drawings.

現信号と演算すべき代表点との位置関係を第2図
(a),(b)に示す。図の白ヌキ四角印(□)および
黒四角形(■)は代表点を表わす。今代表点の間隔を水
平方向l画素、垂直方向mラインとする。ベクトルの検
出と範囲を設定すれば、現信号に対して演算すべき代表
点が求まる。逆にいえば現信号に対して演算すべき代表
点を決定すれば、検出可能なベクトルの範囲も一義的に
定まる。現信号に対して演算すべき代表点の数を水平方
向px,水平方向pyとすれば、検出可能なベクトルの範囲
は、水平方向xは −{(l×px)/2−1}≦x≦+(l×px)/2(1) 垂直方向yは −{(m×py)/2−1}≦y≦+(m×py)/2(2) となる。
The positional relationship between the current signal and the representative point to be calculated is shown in FIGS. 2 (a) and 2 (b). White squares (□) and black squares (■) in the figure represent representative points. The interval between the representative points is now 1 pixel in the horizontal direction and m lines in the vertical direction. By detecting the vector and setting the range, the representative point to be calculated for the current signal can be obtained. Conversely, if the representative point to be calculated for the current signal is determined, the range of the detectable vector is uniquely determined. Assuming that the number of representative points to be calculated for the current signal is px in the horizontal direction and py in the horizontal direction, the range of detectable vectors is − {(l × px) / 2−1} ≦ x in the horizontal direction x. ≦ + (l × px) / 2 (1) The vertical direction y is − {(m × py) / 2−1} ≦ y ≦ + (m × py) / 2 (2).

現信号に対して演算すべき代表点の数を増加させると、
ベクトルの検出範囲は拡大する。第2図(a)および
(b)において今、黒四角形印の代表点を図の斜線部分
内に存在する現信号に対する演算対象点とする。両図の
場合演算すべき代表点の数は水平方向3個、垂直方向2
個の計6個としている。この時図の斜線部分は6個の黒
四角形印の代表点に対する相関検出領域、また6個の黒
四角形印が属する全領域は動きベクトル検出範囲と称せ
られる。そこで検出可能なベクトルの範囲は(1)式、
(2)式を使用すると、 水平方向xは −{(3l/2)−1}≦x≦+(3l/2) 垂直方向yは −{(2m/2)−1}≦y≦+(2m/2) となる。
If the number of representative points to be calculated for the current signal is increased,
The detection range of the vector is expanded. In FIGS. 2 (a) and 2 (b), the representative point indicated by the black square mark is the calculation target point for the current signal existing in the shaded area in the figure. In both cases, the number of representative points to be calculated is 3 in the horizontal direction and 2 in the vertical direction.
The total is 6 pieces. At this time, the shaded area in the figure is called the correlation detection area for the representative points of the six black square marks, and the entire area to which the six black square marks belong is called the motion vector detection range. Therefore, the range of the vector that can be detected is Equation (1),
Using the equation (2), the horizontal direction x is-{(3l / 2) -1} ≤x≤ + (3l / 2) The vertical direction y is-{(2m / 2) -1} ≤y≤ + ( 2m / 2).

現信号が第2図(a)より第2図(b)に示すように右
方向のブロック内に移動すると、すなわち相関検出領域
が移動すると、同時に演算すべき代表点も右にシフトす
る。すなわち第2図(a)図示6個の黒四角形印の代表
点は第2図(b)図示6個の黒四角形印の代表点にそっ
くりシフトし、すなわち動きベクトル検出範囲がシフト
し、この制御は後述するバッファメモリ2により制御さ
れる。かくしてこの移動は順次水平方向、垂直方向に繰
り返えされ、現信号とその現信号に対して演算すべきシ
フトされる代表点とのフレーム差絶対値を求め、見本ベ
クトルの種類別にフレーム差絶対値を加算し、最小値を
検出していわゆるパタンマッチング法によりベクトルが
求まる。
When the current signal moves from the position shown in FIG. 2 (a) to the block in the right direction as shown in FIG. 2 (b), that is, when the correlation detection region moves, the representative point to be calculated also shifts to the right. That is, the representative points of the six black square marks shown in FIG. 2 (a) are shifted to the representative points of the six black square marks shown in FIG. 2 (b), that is, the motion vector detection range is shifted, and this control is performed. Are controlled by the buffer memory 2 described later. Thus, this movement is sequentially repeated in the horizontal direction and the vertical direction, and the absolute value of the frame difference between the current signal and the representative point to be calculated for the current signal is calculated. The values are added, the minimum value is detected, and the vector is obtained by the so-called pattern matching method.

第1図に本発明に係わるベクトル検出回路実施例の構成
ブロック線図を示す。映像入力信号を代表点サブサンプ
ル部1でサブサンプルした後、バッファメモリ2を介し
て1フレーム遅延させる。この順序は逆でもよい。バッ
ファメモリ2の出力である前フレームの代表点信号か
ら、代表点遅延回路および出力部3を用いて、現信号に
対して演算すべき代表点を出力し、第2図示の例では6
個の黒四角形印の代表点を出力し、それぞれ時並列に減
算器4〜9により現信号とのフレーム差を求める。
FIG. 1 shows a block diagram of a configuration of an embodiment of a vector detection circuit according to the present invention. After the video input signal is subsampled by the representative point subsampling unit 1, it is delayed by one frame via the buffer memory 2. This order may be reversed. From the representative point signal of the previous frame, which is the output of the buffer memory 2, the representative point delay circuit and the output unit 3 are used to output the representative point to be calculated for the current signal.
The representative points of the black square marks are output, and the frame differences from the current signal are obtained by the subtractors 4 to 9 in parallel in time.

一方アドレス発生部16から発生したアドレス値とフレー
ム差加算およびメモリ部10〜15により、見本ベクトル毎
に現信号と代表点とのフレーム差が加算されてそのメモ
リに記憶される。
On the other hand, the address value generated from the address generation unit 16 and the frame difference addition and the memory units 10 to 15 add the frame difference between the current signal and the representative point for each sample vector and store it in the memory.

1フレームの映像に対して、フレーム差加算が終了した
後、フレーム差加算およびメモリ部10〜15に記憶された
フレーム差加算値を順次読み出し、最小値検出部17を用
いて最小値を検出する。
After the frame difference addition is completed for the video of one frame, the frame difference addition value and the frame difference addition value stored in the memory units 10 to 15 are sequentially read, and the minimum value detection unit 17 detects the minimum value. .

さらにベクトル値変換部18により、この最小値を出力し
たフレーム差加算およびメモリ部のアドレス値から動き
ベクトル値を求める。以上述べてきたことから減算器4
〜9およびフレーム差加算およびメモリ部10〜15の個数
を拡張することにより、ベクトルの検出範囲を容易に拡
げることの可能なことが理解されよう。
Further, the vector value conversion unit 18 obtains a motion vector value from the frame difference addition that outputs this minimum value and the address value of the memory unit. From the above, the subtractor 4
It will be understood that it is possible to easily widen the detection range of the vector by expanding the number of .about.9 and the frame difference addition and the number of the memory units 10 to 15.

(発明の効果) 従来の動きベクトル検出回路では、動きベクトルの検出
範囲を相関検出領域よりも拡げると、代表点との相関の
演算に2回以上使用される現信号の画素が存在すること
となり、現信号のバッファメモリの増加やリアルタイム
処理の制限からハードウェアの構成が複雑にならざるを
得なかったが、本発明に係る動き検出回路を用いれば、
現信号用のバッファメモリを必要とせず、使用している
回路に一部の回路をそっくり追加するのみで、広い範囲
の動きベクトルの検出が容易となった。
(Effect of the Invention) In the conventional motion vector detection circuit, when the motion vector detection range is expanded beyond the correlation detection region, there are pixels of the current signal that are used more than once in the calculation of the correlation with the representative point. However, the hardware configuration had to be complicated due to the increase of the buffer memory of the current signal and the limitation of the real-time processing, but if the motion detection circuit according to the present invention is used,
A buffer memory for the current signal is not required, and it is easy to detect a wide range of motion vectors simply by adding a part of the circuit to the circuit being used.

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

第1図は、本発明に係わる実施例の構成ブロック線図を
示し、 第2図(a),(b)は、現信号に対してベクトルの検
出範囲内にある代表点を示す2つの異なった態様を示す
図である。 1……代表点サブサンプル部 2……バッファメモリ 3……代表点遅延回路および出力部 4〜9……減算器 10〜15……フレーム差加算およびメモリ部 16……アドレス発生部 17……最小値検出部 18……ベクトル値変換部
FIG. 1 shows a block diagram of a configuration of an embodiment according to the present invention, and FIGS. 2 (a) and 2 (b) show two different representative points within a detection range of a vector for a current signal. It is a figure which shows the aspect. 1 ... Representative point sub-sampling section 2 ... Buffer memory 3 ... Representative point delay circuit and output section 4-9 ... Subtractor 10-15 ... Frame difference addition and memory section 16 ... Address generating section 17 ... Minimum value detector 18 ... Vector value converter

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−201581(JP,A) 特開 昭62−230178(JP,A) 特開 昭62−230180(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP 61-201581 (JP, A) JP 62-230178 (JP, A) JP 62-230180 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パターンマッチング法による動きベクトル
検出回路において、該回路が現信号の着目画素との間で
フレーム差が計算されるべき代表点画素をサブサンプル
する代表点サブサンプル部(1)と、当該サブサンプル
された代表点画素を一時記憶するとともに、代表点画素
を相関検出領域に属する現信号に応じてシフト出力させ
る代表点バッファメモリ部(2)と、相関検出領域に属
する現信号に応じて、前記シフト出力された代表点画素
のうち動きベクトル検出範囲に属する有限個の代表点画
素を同時に出力させる代表点遅延回路および出力部
(3)と、現信号の着目画素と前フレーム代表点とのフ
レーム差(4〜9)絶対値を見本ベクトルに応じて全代
表点数だけ加算する複数個のフレーム差加算およびメモ
リ部(10〜15)と、前記フレーム差絶対値の加算値の最
小値を検出する最小値検出部(17)と、該最小値を示す
前記フレーム差加算およびメモリ部(10〜15)のメモリ
とアドレス発生部(16)とアドレスとより動きベクトル
値に変換するベクトル値変換部(18)と、を具備するこ
とを特徴とする動きベクトル検出回路。
1. A motion vector detection circuit according to a pattern matching method, which circuit includes a representative point sub-sampling section (1) for sub-sampling a representative point pixel for which a frame difference between the pixel of interest and a current signal is to be calculated. , A representative point buffer memory unit (2) for temporarily storing the sub-sampled representative point pixel and shifting and outputting the representative point pixel according to a current signal belonging to the correlation detection area, and a current signal belonging to the correlation detection area. Accordingly, a representative point delay circuit and an output unit (3) for simultaneously outputting a finite number of representative point pixels belonging to the motion vector detection range among the shifted representative point pixels, a target pixel of the current signal, and a previous frame representative A plurality of frame difference addition and memory units (10 to 15) for adding the absolute value of the frame difference (4 to 9) to the points by all the representative points according to the sample vector; A minimum value detection unit (17) for detecting the minimum value of the added values of the frame difference absolute values, the memory of the frame difference addition and memory unit (10 to 15) indicating the minimum value, an address generation unit (16), and an address. And a vector value conversion unit (18) for converting the motion vector value into a motion vector value.
JP63113448A 1988-05-12 1988-05-12 Motion vector detection circuit Expired - Lifetime JPH0691655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63113448A JPH0691655B2 (en) 1988-05-12 1988-05-12 Motion vector detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63113448A JPH0691655B2 (en) 1988-05-12 1988-05-12 Motion vector detection circuit

Publications (2)

Publication Number Publication Date
JPH01286591A JPH01286591A (en) 1989-11-17
JPH0691655B2 true JPH0691655B2 (en) 1994-11-14

Family

ID=14612489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63113448A Expired - Lifetime JPH0691655B2 (en) 1988-05-12 1988-05-12 Motion vector detection circuit

Country Status (1)

Country Link
JP (1) JPH0691655B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61201581A (en) * 1985-03-04 1986-09-06 Toshiba Corp Method and apparatus for detecting dynamic vector
JPH0654976B2 (en) * 1986-03-31 1994-07-20 日本放送協会 Motion vector detector
JP2687974B2 (en) * 1986-03-31 1997-12-08 日本放送協会 Motion vector detection method

Also Published As

Publication number Publication date
JPH01286591A (en) 1989-11-17

Similar Documents

Publication Publication Date Title
US5844630A (en) Apparatus and method for detecting motion vectors of pivel blocks of a digitized video signal
EP0181215A1 (en) Apparatus for detecting motion of television images
US5012337A (en) Motion dependent video signal processing
JPH07118784B2 (en) Method for detecting motion of television signals
GB2246488A (en) Motion dependent video signal processing
US5357287A (en) Method of and apparatus for motion estimation of video data
US4998168A (en) Motion dependent video signal processing
EP0395266B1 (en) Motion dependent video signal processing
US5430479A (en) Moving vector extractor
US5453800A (en) Apparatus for judging a hand movement of an image
JP3604752B2 (en) Apparatus and method for detecting motion vector
JP3067275B2 (en) Scene change detection device
US8379146B2 (en) Deinterlacing method and apparatus for digital motion picture
JP2930675B2 (en) Motion vector detection method using initial displacement vector
JP3465264B2 (en) Apparatus and method for detecting motion of video data
JPH0691655B2 (en) Motion vector detection circuit
US5396437A (en) Motion detection method and its apparatus
JP2693516B2 (en) Image motion detector
JP3528115B2 (en) Motion prediction vector detection circuit
JP3078140B2 (en) Motion vector detection circuit
JP3214660B2 (en) Motion vector detection device
JP3271387B2 (en) Motion amount detection device and motion amount detection method
JPS5932743B2 (en) correlation tracking device
JPH11146401A (en) Motion vector detection method and motion vector detection circuit of moving image signal
JPH0235515B2 (en)