JP3615909B2 - Moving object detection device - Google Patents

Moving object detection device Download PDF

Info

Publication number
JP3615909B2
JP3615909B2 JP17437497A JP17437497A JP3615909B2 JP 3615909 B2 JP3615909 B2 JP 3615909B2 JP 17437497 A JP17437497 A JP 17437497A JP 17437497 A JP17437497 A JP 17437497A JP 3615909 B2 JP3615909 B2 JP 3615909B2
Authority
JP
Japan
Prior art keywords
image
moving object
time
movement vector
vector
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 - Fee Related
Application number
JP17437497A
Other languages
Japanese (ja)
Other versions
JPH1125276A (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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP17437497A priority Critical patent/JP3615909B2/en
Publication of JPH1125276A publication Critical patent/JPH1125276A/en
Application granted granted Critical
Publication of JP3615909B2 publication Critical patent/JP3615909B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Burglar Alarm Systems (AREA)
  • Image Analysis (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、港湾等における侵入者や侵入物の監視システムに適用される移動物体検出装置に関する。
【0002】
【従来の技術】
従来、港湾等における侵入者や侵入物等の移動物体の監視システムにおいて、移動物体を撮像して画像処理により検出する移動物体検出装置が広く用いられている。
【0003】
図6は、従来の移動物体検出装置の全体構成を示す図である。図6に示すように、まず、時刻t−Δtにおいて、TVカメラ1により移動物体2を含む画像を撮像する。この撮像して得られる移動物体2を含む画像信号I(t−Δt)はA/D変換器3に出力され、量子化されて画像記憶器4に出力される。従って、画像記憶器4は図7(a)に示す量子化された画像I(t−Δt,i,j)を記憶している。ここで、i,jは1≦i≦M,1≦j≦Nであり、M×Nは画像サイズである。
【0004】
次に、時刻t−Δtからサンプリング時間Δtだけ遅れた時刻tにおいて、再び移動物体2をTVカメラ1が撮像する。この撮像された画像信号I(t)はA/D変換器3に出力され、量子化されて図7(b)に示す画像I(t,i,j)となって移動ベクトル検出器5に出力される。また、画像記憶器4は記憶していた画像I(t−Δt,i,j)を移動ベクトル検出器5に出力する。
【0005】
移動ベクトル検出器5は時刻t−Δt及び時刻tで得られた2枚の画像I(t−Δt,i,j),I(t,i,j)を用いて以下の方法により移動物体2の移動ベクトル(u,v)を検出する。
【0006】
まず、画像I(t,i,j)のi方向の空間微分画像をI (i,j)、j方向の空間微分画像をI (i,j)、2枚の画像I(t−Δt,i,j)及びI(t,i,j)の時間微分画像をI (i,j)とする。また、図8(a)に示すように画像サイズM×Nに対してある領域W×Hを設定する。この領域をウィンドウSと呼ぶ。
【0007】
図8中において、移動物体2は簡単のため円で図示している。設定されたウィンドウSは1つだけでも良いが、移動物体2は画像上のどの位置に存在するか不明なため、ウィンドウSで画像の全領域がカバーできるように端から端まで移動させる。すなわち、図3(b)に示すようにS (p=1,2,…,P)として各々の位置でウィンドウS に含まれる画像データに対する移動ベクトル(u ,v )を求める。この移動ベクトル(u ,v )の導出は次の方程式を解くことにより得られる。
【0008】
【数1】

Figure 0003615909
【0009】
上記(1)式において、Σ記号はウィンドウS の中に含まれる全ての画素についての和をとることを意味する。
ウィンドウS 内に移動物体が含まれない場合は(1)式の右辺が0に近い値になり移動ベクトル(u ,v )≒(0,0)となる。一方、図8(a)のようにウィンドウS 内に移動物体が含まれる場合はサンプリング時間Δtの間に進むi方向、j方向の距離として(u ,v )(画素/Δt)が求められる。
【0010】
このようにして得られた(u ,v )〜(u ,v )を重ね合わせることにより、時刻t及び時刻t−Δtの移動ベクトル(u,v)が求まる。この移動ベクトルの検出動作はTVカメラ1のサンプリング時間Δt毎になされ、これにより移動物体2の移動量と移動方向が分かるので、移動物体2の検出が可能となる。
【0011】
【発明が解決しようとする課題】
上記従来の移動物体検出装置では、連続する2枚の画像に対して空間的な明るさ変化(空間微分画像I (i,j),I (i,j))と時間的な明るさ変化(時間微分画像I (i,j))とを用いて移動ベクトル(u,v)を決定することができる。この移動ベクトルの推定精度は次式(2)によって与えられる残差E の大きさに依存する。
【0012】
Figure 0003615909
この推定精度E の値が0に近いほど移動ベクトル(u,v)の値に含まれる誤差は小さく、E が大きい場合には大きな誤差が含まれる。
【0013】
例えば図8(b)に示すようにサンプリング時間Δtの間に移動物体2が移動する量が小さい場合、すなわち移動物体2の速度が非常に小さい場合には、画像ノイズの影響により推定される移動ベクトル(u ,v )の値に含まれる誤差が大きくなり、正確な移動ベクトルが求められない問題点があった。
【0014】
この問題点を解決するためにサンプリング時間Δtを数倍大きくすると、移動量が大きくなることで移動ベクトルを正しく求めることも可能である。しかしながら、逆に移動量が大きい移動物体2に対しては図8(c)に示すように設定したウィンドウSに対して移動物体2が範囲外となってしまうので、(2)式の残差E が大きくなり、(1)式で求まる移動ベクトルの誤差が非常に大きくなる。
【0015】
本発明は上記課題を解決するためになされたもので、その目的とするところは、移動物体の移動ベクトルの大きさにかかわらず正確な移動ベクトルを検出することのできる移動物体検出装置を提供することにある。
【0016】
【課題を解決するための手段】
本発明の第1の視点は、移動物体をサンプリング時間Δt毎に連続的に撮像しK個の画像を取得する撮像手段と、前記撮像手段により得られたK個の前記画像をデジタル画像に変換するA/D変換手段と、前記A/D変換手段により変換されたK個の前記デジタル画像のそれぞれを記憶するK個の画像記憶手段と、K個の前記画像記憶手段に対応して設けられ、対応する前記画像記憶手段が記憶する画像と前記撮像手段によって取得される時刻tの画像とに基づく空間的な明るさ変化及び時間的な明るさ変化とを用いて、前記移動物体に関するK個の移動ベクトルを推定する移動ベクトル推定手段と、前記空間的な明るさ変化及び前記時間的な明るさ変化に基づいてK個の前記移動ベクトルのそれぞれに関する残差を計算し、最小の残差に対応する移動ベクトルを選択する移動ベクトル選択手段と、
を具備することを特徴とする移動物体検出装置である。
【0017】
本発明の望ましい形態としては、K個の移動ベクトル検出器は、K個の画像記憶手段に記憶された時刻t−kΔt(k=1,2,…,K)の画像と前記撮像手段により入力されるサンプリング時間kΔtだけ離れた時刻tの2枚の画像に基づいて移動ベクトル及び残差を検出するものであり、移動ベクトル選択手段は、この検出された残差の最も小さい2枚の画像から得られる移動ベクトルを選択するものである。
【0018】
【発明の実施の形態】
以下、図面を参照しながら本発明の一実施形態を説明する。
図1は、本発明の一実施形態に係る移動物体検出装置の全体構成を示すブロック図である。この移動物体検出装置は、TVカメラ1,A/D変換器2,第1画像記憶器11,第2画像記憶器12〜第K画像記憶器13,第1移動ベクトル検出器21,第2移動ベクトル検出器22〜第k移動ベクトル検出器23,移動ベクトル選択器31から構成される。
【0019】
TVカメラ1は移動物体2を含むシーンをサンプリング時間Δt毎に撮像するもので、撮像された画像はA/D変換器3に出力される。A/D変換器3は、撮像されたアナログの画像信号を量子化して第1画像記憶器11に転送する。ここで、第1画像記憶器11にはサンプリング時間Δt毎に量子化された画像信号が入力されるが、新しい画像信号が入力されると同時に、入力された新しい画像信号よりΔt前の既に記憶されている画像信号は第2画像記憶器12に転送される。同様に、第2画像記憶器12も新しい画像信号が入力されると同時に、既に記憶されている画像信号は図示しない第3画像記憶器に転送され、第K−1画像記憶器に既に記憶されている画像信号は第K画像記憶器13へ転送される。従って、時刻tにおいて第k画像記憶器(k=1,2,…,K)には時刻t−kΔtの時撮像された画像I(t−kΔt)が記憶されていることになる。
【0020】
これら第1〜K画像記憶器11〜13に記憶されている画像列とA/D変換器3から転送された時刻tにおける画像の例を図2に示す。図2(a)は時刻tにおける画像I(t)を、図2(b)は時刻t−Δtにおける画像I(t−Δt)を、図2(c)は時刻t−2Δtにおける画像I(t−2Δt)を、図2(d)は時刻t−KΔtにおける画像I(t−KΔt)を示す。図2(b)〜(d)に示す時刻t以前の画像はそれぞれ第1画像記憶器11,第2画像記憶器12,第K画像記憶器13から転送されたものであり、これら画像中の移動物体2は簡単のため実線の円で示し、比較のため時刻tにおける移動物体2を点線の円で示している。
【0021】
これら第1〜K画像記憶器11〜13は、記憶されている画像信号を各画像記憶器11〜13に対応する第1〜Kベクトル検出器21〜23に出力する。一方、TVカメラ1で撮像され、A/D変換器3でデジタル化された時刻tにおける画像信号は第1〜Kベクトル検出器21〜23に転送される。すなわち、I(t)とI(t−Δt)は第1移動ベクトル検出器21へ、I(t)とI(t−2Δt)は第2移動ベクトル検出器22へ、I(t)とI(t−KΔt)は第K移動ベクトル検出器23へそれぞれ転送される。
【0022】
次に、第1〜K移動ベクトル検出器21〜23を第k移動ベクトル検出器(k=1,2,…,K)で代表し、その動作について以下説明する。
第k移動ベクトル検出器は2つの画像I(t)とI(t−kΔt)に対してウィンドウS を設定する。このウィンドウS の設定例を図3に示す。ウィンドウS は図3(a)に示すようにある特定の位置でサイズW×Hの大きさに設定するものでも良いし、図3(b)のように画像全体に対してサイズW×Hのウィンドウを順次走査し、その各々のウィンドウSをS ,S ,…,S としてP個のウィンドウを設定するものでも良い。また、これら複数のウィンドウS を互いにオーバーラップさせて走査しても良い。
【0023】
ここでは、図3(b)に示すようにウィンドウを設定する場合で以下説明する。また、P個のウィンドウのうちの1つのウィンドウS に着目する。
第k移動ベクトル検出器は第k画像記憶器に記憶された時刻t−kΔtの画像とA/D変換器3から入力される時刻tの画像に対して、ウィンドウS の画像I(t,i,j)のi方向の空間微分画像I (i,j)、j方向の空間微分画像I (i,j)、2枚の画像I(t−Δt,i,j)及びI(t,i,j)の時間微分画像I (i,j)を求め、これら求められた微分画像に基づいて(1)式に示す演算を施す。そして、この演算結果に基づいて移動物体2の移動ベクトル(upk,vpk)を抽出する。ここで、i,jは1≦i≦M,1≦j≦Nであり、M×Nは画像サイズである。また、第k移動ベクトル検出器は(1)式に示す演算を行うと同時に(2)式で与えられる残差Epkを演算する。
【0024】
また、ウィンドウS 内の画像によっては、画像の明るさに変化がなかったり、直線上のエッジのみ存在する場合がある。このような画像に対しては、(1)式左辺の2×2の行列(以下この行列をAと称する)の行列式|A|が0に近い値になり、移動ベクトルが正しく求められない。
【0025】
そこで、行列Aの固有値λ ,λ を計算する。この固有値λ ,λ はi方向及びj方向にどれくらい明るさが変化しているかの尺度を示し、λ ≦λ とすると、このλ の値が大きいほど、そのウィンドウSの画像の明るさの変化が大きいことを表している。そこで、λ の値があるしきい値λthより大きい場合のみ(1)式により移動ベクトルを計算し、λthより小さい場合はそのウィンドウ内には移動物体2はないとして移動ベクトルとして0の値を移動ベクトル検出器は出力する。この場合、K個の移動ベクトル検出器は全て0の値を出力するので移動ベクトル選択器10は移動ベクトルとして自動的に0を選択する。
【0026】
このように、時刻tにおいて、第k移動ベクトル検出器のウィンドウS について1つの移動ベクトル(upk,vpk)が求められる。同様に、画像I(t)が第1,第2,…,第K移動ベクトル検出器へ送られると、第1〜第K移動ベクトル検出器について移動ベクトル(up1,vp1)〜(upK,vpK)及び残差Ep1〜EpKが求められ、それぞれ移動ベクトル選択器10に送られる。
【0027】
移動ベクトル選択器10は、求められた残差Ep1〜EpKの値を比較する。そして、最も小さい残差となるk=k における移動ベクトル(upk0 ,vpk0 )を最適な移動ベクトルとして選択する。そして、この移動ベクトル(upk0 ,vpk0 )を(u’ ,v’ )として記憶する。ここで、K個の残差Epk(k=1,2,…,K)の最小値Epkがあるしきい値Thより大きい場合、ウィンドウS に対して求まった全ての移動ベクトルは正確でないと判断し、移動ベクトルは選択しない。
【0028】
以上がウィンドウS について行った移動ベクトルの算出・選択過程であり、この一連の処理は全てのウィンドウS 〜S に対して行われる。すなわち、各ウィンドウS (p=1,2,…,P)毎に異なる時刻における画像に基づいて移動ベクトル(u’ ,v’ )〜(u’ ,v’ )が求められることとなる。これら移動ベクトルの選択過程を図4を用いて簡略化して説明する。
【0029】
図4は、画像中のウィンドウ内の円形の移動物体41,三角形の移動物体42及び移動ベクトルを示したものである。図4(a)は時刻t−KΔtにおける画像I(t−KΔt)を、図4(b)は時刻t−Δtにおける画像I(t−Δt)を、図4(c)は時刻tにおける画像I(t)を示す。図4(c)の時刻tにおいて、物体1及び物体2がウィンドウS 及びウィンドウS 内にそれぞれ含まれており、これらウィンドウS 、S における移動ベクトルを算出及び選択する過程を以下に示す。
【0030】
図4(a)の実線に示すように、時刻t−KΔtにおいてはウィンドウS 内には移動物体41が位置し、S 内には移動物体42は位置せずS 外に位置している。この場合、時刻tにおける移動物体41,42の位置に対して移動物体41は移動ベクトルを算出するに適当な移動距離を有し、これら2枚の画像より、移動ベクトルV (t)を算出する。すなわち、図4(d)に示すようにV (t)=(u1K,v1K)となり、この移動ベクトルに対応する残差E1Kが最小値となる場合、その移動ベクトルが(u’ ,v’ )となる。但し、実際の移動速度は(u ,v )でなく、(u /K,v /K)(画素/Δt)である。
【0031】
一方、移動物体42はS 領域内に位置せず、時刻tにおける位置に対して大きく離れているため、残差E2Kは大きくなり、正確な移動ベクトルの算出は困難であるため、算出される移動ベクトル(u2K,v2K)は移動ベクトル選択器10において選択されない。
【0032】
次に、図4(b)の時刻t−Δtと時刻tとの画像比較を示す。実線で示すように、ウィンドウS ,S 内にはそれぞれ移動物体41,42が位置しているが、点線で示す時刻tにおける移動物体41,42の位置に対して移動物体42についてはほとんど位置が変化しておらず、両画像の移動物体42の変化量に対して画像ノイズの影響により推定される誤差が大きいため移動ベクトルの算出は困難である。従って、移動ベクトル選択器31において移動ベクトル(u1t,v1t)は選択されない。
【0033】
これに対して移動物体42は、時刻tにおける位置に対して適当な移動距離があるため、これら2枚の画像により移動ベクトルV (t)の算出が可能である。従って、図4(e)に示すようにV (t)=(u21,v21)となり、この移動ベクトルに対応する残差E21が最小値となる場合、その移動ベクトルが(u’ ,v’ )となる。
【0034】
以上のようにして得られたV (t)〜 V (t)のうち、各ウィンドウ毎に残差EpKの最も小さい最適な移動ベクトルが選択される。そして、この選択された各ウィンドウについての移動ベクトルを重ね合わせたV (t)が最終的に選択される移動ベクトル選択器10の出力となる。すなわち、 図4(f)に示すようにV (t)は(u’ ,v’ )〜(u’ ,v’ )を重ね合わせたものである。このV (t)を求めるまでのデータ処理がサンプリング時間Δt毎に得られる画像I(t),I(t+Δt),I(t+2Δt),…に対して時刻Δt毎に実行される。従って、結果としてV (t)がサンプリング時間Δt毎に得られる。この一連の処理におけるデータの流れを図5に示す。
【0035】
図5において、上段から撮像画像、第1移動ベクトル検出器出力、第2移動ベクトル検出器出力、…、第K移動ベクトル検出器出力、移動ベクトル選択器出力についてのデータを示し、横方向が時間軸となっている。また、矢印はデータの流れを示し、例えば時刻tにおける第1移動ベクトル検出器出力V (t)は時刻tにおける撮像画像I(t)及び時刻t−Δtにおける撮像画像I(t−Δt)に基づいて求められる。
【0036】
このように、TVカメラ1のサンプリング時間Δtの間でほとんど画像の変化がなく、移動ベクトルの正しい推定が困難な程移動物体2の移動量が小さい場合であっても、第1〜第K画像記憶器11〜13に記憶されている時刻tに対してΔt毎に遡った画像とA/D変換器3の出力である現在の画像から第1〜第K移動ベクトル検出器21〜23で移動ベクトル及び残差Eを算出し、移動ベクトル選択器31で移動ベクトルの推定に最適な画像を残差Epkの値により選択して移動ベクトルを求めることができるので、2枚の画像信号に含まれる誤差に埋もれることなく正確な移動ベクトル、すなわち移動物体2の移動量及び移動方向の検出が可能となる。
【0037】
一方、移動量の大きい物体に対しても同様にΔt毎に遡った画像と現在の画像から移動ベクトルの推定に最適な画像を選択することができるので、正確な移動ベクトルの検出が可能である。
【0038】
なお、本実施形態においては移動物体検出装置が侵入者や侵入物の監視システムに適用される場合を示したが、各種セキュリティ用侵入監視システムや、交差点における車両監視システム等においても適用可能であることは勿論である。
【0039】
【発明の効果】
以上説明したように本発明によれば、デジタル画像を記憶するK個の画像記憶手段と、このK個の画像記憶手段に記憶された時刻t−kΔt(k=1,2,…,K)の画像とサンプリング時間kΔtだけ離れた時刻tの2枚の画像に基づいて移動物体の移動ベクトルを検出するK個の移動ベクトル検出手段と、K個の移動ベクトル検出手段で検出されたK個の移動ベクトルの正確さに基づいて移動ベクトルを選択する移動ベクトル選択手段とを具備してなるため、移動速度が小さく、サンプリング時間Δtの間でほとんど画像の変化がなく、移動ベクトルの正しい推定が困難な場合においても、時刻tに対してΔt毎に遡った画像と現在の画像とから移動ベクトルの推定に最適な画像を選択して移動ベクトルを求めることができるので、移動ベクトルに含まれる誤差に埋もれることなく正確に移動ベクトルを抽出することができる。
【0040】
一方、移動物体が大きい物体に対しても同様に最適な画像を選択して移動ベクトルを求めることができるので、最も正確に求められた移動ベクトルを抽出することができるので、正しく移動物体を検出することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る移動物体検出装置の全体構成を示すブロック図。
【図2】同実施形態における連続画像の例を示す図。
【図3】同実施形態におけるウィンドウの設定例を示す図。
【図4】同実施形態における移動ベクトルの検出及び選択過程を示す図。
【図5】同実施形態における移動物体検出装置における各構成機器で連続的に処理されるデータの流れを示す図。
【図6】従来の移動物体検出装置の全体構成を示すブロック図。
【図7】TVカメラで撮像される画像を示す図。
【図8】従来の移動物体検出装置において移動ベクトルが求められる例と求められない例を示す図。
【符号の説明】
1 TVカメラ
2,41,42 移動物体
3 A/D変換器
11 第1画像記憶器
12 第2画像記憶器
13 第K画像記憶器
21 第1移動ベクトル検出器
22 第2移動ベクトル検出器
23 第K移動ベクトル検出器
31 移動ベクトル選択器[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a moving object detection apparatus applied to an intruder or intruder monitoring system in a harbor or the like.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a monitoring system for moving objects such as intruders and intruders in a harbor or the like, a moving object detection apparatus that captures a moving object and detects it by image processing has been widely used.
[0003]
FIG. 6 is a diagram illustrating an overall configuration of a conventional moving object detection apparatus. As shown in FIG. 6, first, an image including the moving object 2 is captured by the TV camera 1 at time t−Δt. The image signal I (t−Δt) including the moving object 2 obtained by imaging is output to the A / D converter 3, quantized, and output to the image memory 4. Therefore, the image memory 4 stores the quantized image I (t−Δt, i, j) shown in FIG. Here, i and j are 1 ≦ i ≦ M and 1 ≦ j ≦ N, and M × N is an image size.
[0004]
Next, the TV camera 1 captures the moving object 2 again at time t, which is delayed from the time t−Δt by the sampling time Δt. The captured image signal I (t) is output to the A / D converter 3 and quantized to become an image I (t, i, j) shown in FIG. Is output. Further, the image storage 4 outputs the stored image I (t−Δt, i, j) to the movement vector detector 5.
[0005]
The moving vector detector 5 uses the two images I (t−Δt, i, j) and I (t, i, j) obtained at time t−Δt and time t to move the moving object 2 by the following method. The movement vector (u, v) is detected.
[0006]
First, I x (i, j) is the spatial differential image in the i direction of the image I (t, i, j), I y (i, j) is the spatial differential image in the j direction, and two images I (t− A time differential image of Δt, i, j) and I (t, i, j) is I t (i, j). Also, as shown in FIG. 8A, a certain area W × H is set for the image size M × N. This area is called a window S.
[0007]
In FIG. 8, the moving object 2 is shown as a circle for simplicity. Although only one window S may be set, since it is unclear where the moving object 2 exists on the image, the window S is moved from end to end so that the entire area of the image can be covered by the window S. That is, FIG. 3 as shown in (b) S p (p = 1,2, ..., P) moving vector (u p, v p) for the image data contained in the window S p at each position as determined. The moving vector (u p, v p) deriving a is obtained by solving the following equation.
[0008]
[Expression 1]
Figure 0003615909
[0009]
In the above (1), sigma symbol means that the sum of all the pixels contained in a window S p.
If it does not contain moving objects in the window S p becomes (1) the right side of the equation is a value close to 0 motion vector (u p, v p) ≒ (0,0). On the other hand, the window i direction of travel during the sampling time Delta] t if it contains moving objects in S p, as the distance j direction as shown in FIG. 8 (a) (u p, v p) ( pixel / Delta] t) is Desired.
[0010]
By superimposing (u 1 , v 1 ) to (u P , v P ) obtained in this way, a movement vector (u, v) at time t and time t−Δt is obtained. This movement vector detection operation is performed every sampling time Δt of the TV camera 1, whereby the movement amount and the movement direction of the moving object 2 can be known, so that the moving object 2 can be detected.
[0011]
[Problems to be solved by the invention]
In the above-described conventional moving object detection apparatus, spatial brightness changes (spatial differential images I x (i, j), I y (i, j)) and temporal brightness for two consecutive images. The movement vector (u, v) can be determined using the change (time differential image I t (i, j)). The estimation accuracy of this movement vector depends on the magnitude of the residual E p given by the following equation (2).
[0012]
Figure 0003615909
The closer the value of the estimation accuracy E p is to 0, the smaller the error included in the value of the movement vector (u, v), and a larger error when E p is large.
[0013]
For example, as shown in FIG. 8B, when the moving amount of the moving object 2 is small during the sampling time Δt, that is, when the speed of the moving object 2 is very small, the movement estimated by the influence of image noise error increases in the value of the vector (u p, v p), accurate motion vector is a problem that can not be determined.
[0014]
If the sampling time Δt is increased several times in order to solve this problem, the movement vector can be obtained correctly by increasing the movement amount. However, on the contrary, for the moving object 2 having a large movement amount, the moving object 2 is out of the range with respect to the window S set as shown in FIG. Ep becomes large, and the error of the movement vector obtained by the equation (1) becomes very large.
[0015]
The present invention has been made to solve the above problems, and an object of the present invention is to provide a moving object detection apparatus capable of detecting an accurate movement vector regardless of the magnitude of the movement vector of the moving object. There is.
[0016]
[Means for Solving the Problems]
According to a first aspect of the present invention, an imaging unit that continuously captures a moving object at every sampling time Δt to acquire K images, and converts the K images obtained by the imaging unit into digital images. A / D conversion means, K image storage means for storing each of the K digital images converted by the A / D conversion means, and K image storage means. , K pieces related to the moving object using a spatial brightness change and a temporal brightness change based on the image stored in the corresponding image storage means and the image at time t acquired by the imaging means. A movement vector estimation means for estimating a movement vector of the K, and calculating a residual for each of the K movement vectors based on the spatial brightness change and the temporal brightness change, to obtain a minimum residual versus A motion vector selecting means for selecting a motion vector to be,
It is a moving object detection apparatus characterized by comprising.
[0017]
As a desirable mode of the present invention, the K motion vector detectors are input by the image pickup means and the image at time t−kΔt (k = 1, 2,..., K) stored in the K image storage means. The movement vector and the residual are detected on the basis of the two images at time t separated by the sampling time kΔt. The movement vector selecting means detects the two images having the smallest residual from the detected two images. The obtained movement vector is selected.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing an overall configuration of a moving object detection apparatus according to an embodiment of the present invention. The moving object detection apparatus includes a TV camera 1, an A / D converter 2, a first image storage 11, a second image storage 12 to a Kth image storage 13, a first movement vector detector 21, and a second movement. The vector detector 22 to the k-th motion vector detector 23 and the motion vector selector 31 are configured.
[0019]
The TV camera 1 captures a scene including the moving object 2 at every sampling time Δt, and the captured image is output to the A / D converter 3. The A / D converter 3 quantizes the captured analog image signal and transfers it to the first image memory 11. Here, an image signal quantized every sampling time Δt is input to the first image memory 11, but at the same time as a new image signal is input, it is already stored before Δt from the input new image signal. The processed image signal is transferred to the second image memory 12. Similarly, a new image signal is input to the second image memory 12 at the same time, and the already stored image signal is transferred to a third image memory (not shown) and already stored in the K-1 image memory. The image signal being transferred is transferred to the Kth image memory 13. Therefore, the image I (t−kΔt) captured at the time t−kΔt is stored in the kth image memory (k = 1, 2,..., K) at the time t.
[0020]
An example of the image sequence stored in the first to K image storage units 11 to 13 and the image at time t transferred from the A / D converter 3 is shown in FIG. 2A shows an image I (t) at time t, FIG. 2B shows an image I (t−Δt) at time t−Δt, and FIG. 2C shows an image I (at time t−2Δt). FIG. 2D shows an image I (t−KΔt) at time t−KΔt. Images before time t shown in FIGS. 2B to 2D are respectively transferred from the first image storage device 11, the second image storage device 12, and the Kth image storage device 13, and the images in these images are shown in FIG. The moving object 2 is indicated by a solid circle for simplicity, and the moving object 2 at time t is indicated by a dotted circle for comparison.
[0021]
The first to K image memories 11 to 13 output the stored image signals to the first to K vector detectors 21 to 23 corresponding to the image memories 11 to 13, respectively. On the other hand, an image signal at time t captured by the TV camera 1 and digitized by the A / D converter 3 is transferred to the first to K vector detectors 21 to 23. That is, I (t) and I (t−Δt) are sent to the first motion vector detector 21, I (t) and I (t−2Δt) are sent to the second motion vector detector 22, and I (t) and I (T−KΔt) is transferred to the Kth motion vector detector 23, respectively.
[0022]
Next, the first to K motion vector detectors 21 to 23 are represented by the kth motion vector detector (k = 1, 2,..., K), and the operation thereof will be described below.
The k motion vector detector sets the window S p for the two images I (t) and I (t-kΔt). Showing a setting example of this window S p in FIG. Window S p is may be used to set the size of the size W × H at a specific position in shown in FIG. 3 (a), the size W × H for the entire image as shown in FIG. 3 (b) window sequentially scanning of the window S of each S 1, S 2, ..., it may be used to set the P number of windows as S P. It is also possible to scan the plurality of windows S p are overlapped with each other.
[0023]
Here, the case where a window is set as shown in FIG. In addition, attention is focused on one of the window S p of the P number of window.
The first k motion vector detector for the image at time t input from the image and the A / D converter 3 at time t-k.DELTA.t stored in the k-th image storage unit, the window S p of the image I (t, i, j) spatial differential image I x (i, j), j direction spatial differential image I y (i, j), two images I (t−Δt, i, j) and I ( The time differential image I t (i, j) of t, i, j) is obtained, and the calculation shown in the equation (1) is performed based on the obtained differential image. Based on the calculation result, the movement vector ( upk , vpk ) of the moving object 2 is extracted. Here, i and j are 1 ≦ i ≦ M and 1 ≦ j ≦ N, and M × N is an image size. In addition, the k-th motion vector detector calculates the residual E pk given by equation (2) at the same time as performing the operation shown by equation (1).
[0024]
Also, depending on the image in the window S p, or no change in the brightness of the image, it may be present only on a straight line edges. For such an image, the determinant | A | of the 2 × 2 matrix (hereinafter referred to as “A”) on the left side of equation (1) is close to 0, and the movement vector cannot be obtained correctly. .
[0025]
Therefore, eigenvalues λ 1 and λ 2 of the matrix A are calculated. The eigenvalues λ 1 and λ 2 indicate how much the brightness changes in the i direction and the j direction. When λ 1 ≦ λ 2 , the larger the value of λ 1 , the larger the value of the image of the window S. This means that the change in brightness is large. Therefore, lambda 1 when the value is greater than the threshold value lambda th there is only (1) the motion vector calculated by formula, when lambda th smaller than 0 as the movement vector if not moving objects 2 in the window The motion vector detector outputs the value. In this case, since all the K motion vector detectors output 0, the motion vector selector 10 automatically selects 0 as the motion vector.
[0026]
Thus, at time t, 1 single movement vector for window S p of the k motion vector detector (u pk, v pk) is obtained. Similarly, when the image I (t) is sent to the first, second,..., Kth motion vector detectors, the motion vectors (u p1 , v p1 ) to (u) for the first to Kth motion vector detectors. pK , v pK ) and residuals E p1 to E pK are obtained and sent to the motion vector selector 10 respectively.
[0027]
The movement vector selector 10 compares the values of the obtained residuals E p1 to E pK . Then, the selective transfer vector at k = k 0 as the smallest residuals (u pk0, v pk0) as an optimum motion vector. Then, this movement vector (u pk0 , v pk0 ) is stored as (u ′ p , v ′ p ). Here, K pieces of the residual E pk (k = 1,2, ... , K) is greater than the threshold value Th which is the minimum value E pk, all movement vectors Motoma' against window S p precisely Therefore, the movement vector is not selected.
[0028]
Or a calculation and selection process of the movement vector was performed in the window S p, the series of processing is performed for all windows S 1 to S P. That is, movement vectors (u ′ 1 , v ′ 1 ) to (u ′ P , v ′ P ) are obtained based on images at different times for each window Sp (p = 1, 2,..., P). It will be. The selection process of these movement vectors will be described with reference to FIG.
[0029]
FIG. 4 shows a circular moving object 41, a triangular moving object 42, and a movement vector in a window in the image. 4A shows an image I (t−KΔt) at time t−KΔt, FIG. 4B shows an image I (t−Δt) at time t−Δt, and FIG. 4C shows an image at time t. I (t) is shown. At time t in FIG. 4 (c), the object 1 and object 2 are included respectively in the window S 1 and window S 2, the process of calculating and selecting a movement vector in these windows S 1, S 2 below Show.
[0030]
As shown in solid line in FIG. 4 (a), the position moving object 41 in the window S 1 at time t-KΔt, it is in the S 2 moving object 42 is positioned in S 2 out not located Yes. In this case, the moving object 41 has an appropriate moving distance for calculating the moving vector with respect to the positions of the moving objects 41 and 42 at time t, and the moving vector V K (t) is calculated from these two images. To do. That is, as shown in FIG. 4D, when V K (t) = (u 1K , v 1K ) and the residual E 1K corresponding to this movement vector is the minimum value, the movement vector becomes (u ′ 1 , v ′ 1 ). However, the actual moving speed is not (u 1 , v 1 ), but (u 1 / K, v 1 / K) (pixel / Δt).
[0031]
On the other hand, since the moving object 42 is not located in the S 2 region and is far away from the position at the time t, the residual E 2K becomes large, and it is difficult to calculate an accurate moving vector. The movement vector (u 2K , v 2K ) is not selected by the movement vector selector 10.
[0032]
Next, an image comparison between time t−Δt and time t in FIG. As indicated by the solid lines, the moving objects 41 and 42 are positioned in the windows S 1 and S 2 , respectively, but the moving object 42 is almost the same as the position of the moving objects 41 and 42 at the time t indicated by the dotted line. Since the position has not changed and the error estimated by the influence of image noise is large with respect to the amount of change of the moving object 42 in both images, it is difficult to calculate the movement vector. Therefore, the movement vector (u 1t , v 1t ) is not selected in the movement vector selector 31.
[0033]
On the other hand, since the moving object 42 has an appropriate moving distance with respect to the position at time t, the moving vector V 1 (t) can be calculated from these two images. Therefore, as shown in FIG. 4E, when V 1 (t) = (u 21 , v 21 ) and the residual E 21 corresponding to this movement vector is the minimum value, the movement vector becomes (u ′ 2 , v ′ 2 ).
[0034]
Among V 1 (t) to V K (t) obtained as described above, an optimal movement vector having the smallest residual E pK is selected for each window. Then, V a (t) obtained by superimposing the movement vectors for each selected window is the output of the movement vector selector 10 to be finally selected. That is, as shown in FIG. 4F, V a (t) is obtained by superimposing (u ′ 1 , v ′ 1 ) to (u ′ P , v ′ P ). Data processing until V a (t) is obtained is executed at each time Δt for the images I (t), I (t + Δt), I (t + 2Δt),... Obtained at every sampling time Δt. Therefore, as a result, V a (t) is obtained every sampling time Δt. The data flow in this series of processing is shown in FIG.
[0035]
In FIG. 5, data on the captured image, the first motion vector detector output, the second motion vector detector output,..., The Kth motion vector detector output, and the motion vector selector output are shown from the top, with the horizontal direction representing time. It is the axis. The arrows indicate the flow of data. For example, the first motion vector detector output V 1 (t) at time t is the captured image I (t) at time t and the captured image I (t−Δt) at time t−Δt. Based on.
[0036]
Thus, even if the moving amount of the moving object 2 is so small that there is almost no change in the image during the sampling time Δt of the TV camera 1 and the correct estimation of the moving vector is difficult, the first to Kth images. The first to Kth motion vector detectors 21 to 23 move from the image that is traced back every Δt with respect to time t stored in the storage devices 11 to 13 and the current image that is the output of the A / D converter 3. The vector and residual E are calculated, and the movement vector selector 31 can select an image optimal for estimating the movement vector based on the value of the residual E pk so that the movement vector can be obtained. Thus, it is possible to detect an accurate movement vector, that is, a movement amount and a movement direction of the moving object 2 without being buried in an error.
[0037]
On the other hand, since it is possible to select an optimal image for estimating a movement vector from an image traced every Δt and an image of the current movement for an object with a large movement amount, an accurate movement vector can be detected. .
[0038]
In the present embodiment, the moving object detection device is applied to an intruder or intruder monitoring system. However, the present invention can also be applied to various security intrusion monitoring systems, vehicle monitoring systems at intersections, and the like. Of course.
[0039]
【The invention's effect】
As described above, according to the present invention, K image storage means for storing digital images, and time t−kΔt (k = 1, 2,..., K) stored in the K image storage means. K movement vector detection means for detecting the movement vector of the moving object based on two images at time t separated from the image by sampling time kΔt, and K pieces of movement vector detection means detected by the K movement vector detection means Since the moving vector selecting means for selecting the moving vector based on the accuracy of the moving vector is provided, the moving speed is low, the image hardly changes during the sampling time Δt, and it is difficult to correctly estimate the moving vector. Even in such a case, the movement vector can be obtained by selecting the image most suitable for the estimation of the movement vector from the image traced back by Δt with respect to the time t and the current image. Precisely the movement vector without buried in errors contained in Torr can be extracted.
[0040]
On the other hand, it is possible to select the optimal image for a large moving object and obtain the movement vector in the same way, so that the most accurately obtained movement vector can be extracted, so the moving object is detected correctly. can do.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a moving object detection device according to an embodiment of the present invention.
FIG. 2 is a view showing an example of a continuous image in the embodiment.
FIG. 3 is a view showing a setting example of a window in the embodiment.
FIG. 4 is a view showing a movement vector detection and selection process in the embodiment;
FIG. 5 is a view showing a flow of data continuously processed by each component device in the moving object detection device according to the embodiment;
FIG. 6 is a block diagram showing the overall configuration of a conventional moving object detection device.
FIG. 7 is a diagram showing an image captured by a TV camera.
FIGS. 8A and 8B are diagrams illustrating an example in which a movement vector is obtained and an example in which a movement vector is not obtained in a conventional moving object detection apparatus.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 TV camera 2,41,42 Moving object 3 A / D converter 11 1st image memory 12 2nd image memory 13 K image memory 21 1st movement vector detector 22 2nd movement vector detector 23 1st K movement vector detector 31 movement vector selector

Claims (1)

移動物体をサンプリング時間Δt毎に連続的に撮像しK個の画像を取得する撮像手段と、
前記撮像手段により得られたK個の前記画像をデジタル画像に変換するA/D変換手段と、
前記A/D変換手段により変換されたK個の前記デジタル画像のそれぞれを記憶するK個の画像記憶手段と、
K個の前記画像記憶手段に対応して設けられ、対応する前記画像記憶手段が記憶する画像と前記撮像手段によって取得される時刻tの画像とに基づく空間的な明るさ変化及び時間的な明るさ変化とを用いて、前記移動物体に関するK個の移動ベクトルを推定する移動ベクトル推定手段と、
前記空間的な明るさ変化及び前記時間的な明るさ変化に基づいてK個の前記移動ベクトルのそれぞれに関する残差を計算し、最小の残差に対応する移動ベクトルを選択する移動ベクトル選択手段と、
を具備することを特徴とする移動物体検出装置。
Imaging means for continuously capturing a moving object at every sampling time Δt and acquiring K images;
A / D conversion means for converting the K images obtained by the imaging means into digital images;
K image storage means for storing each of the K digital images converted by the A / D conversion means;
Spatial brightness change and temporal brightness based on the image stored at the corresponding image storage means and the image at time t acquired by the imaging means, provided corresponding to the K image storage means. A movement vector estimating means for estimating K movement vectors related to the moving object using a change in height;
Movement vector selection means for calculating a residual for each of the K movement vectors based on the spatial brightness change and the temporal brightness change, and selecting a movement vector corresponding to the minimum residual; ,
A moving object detection apparatus comprising:
JP17437497A 1997-06-30 1997-06-30 Moving object detection device Expired - Fee Related JP3615909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17437497A JP3615909B2 (en) 1997-06-30 1997-06-30 Moving object detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17437497A JP3615909B2 (en) 1997-06-30 1997-06-30 Moving object detection device

Publications (2)

Publication Number Publication Date
JPH1125276A JPH1125276A (en) 1999-01-29
JP3615909B2 true JP3615909B2 (en) 2005-02-02

Family

ID=15977505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17437497A Expired - Fee Related JP3615909B2 (en) 1997-06-30 1997-06-30 Moving object detection device

Country Status (1)

Country Link
JP (1) JP3615909B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004046647A (en) * 2002-07-12 2004-02-12 Univ Waseda Method and device for tracking moving object based on dynamic image data
CN102868511B (en) 2004-10-29 2016-08-03 夏普株式会社 Communication means and transmitting set
CN102307379B (en) 2005-01-18 2015-06-17 夏普株式会社 Wireless communication apparatus, mobile terminal and wireless communication method

Also Published As

Publication number Publication date
JPH1125276A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
KR100792283B1 (en) Device and method for auto tracking moving object
JP7140580B2 (en) stereo imager
US6081606A (en) Apparatus and a method for detecting motion within an image sequence
US6819778B2 (en) Method and system for tracking a fast moving object
JP4618058B2 (en) Background image generation method and apparatus, and image monitoring system
EP0652536B1 (en) Method and apparatus for estimating motion vector fields by rejecting local outliers
US7489334B1 (en) Method and system for reducing the cost of sampling a moving image
JP4744276B2 (en) 2D image representation method, 2D image comparison method, image sequence processing method, motion representation derivation method, image position determination method, control device, apparatus, and computer-readable storage medium
US6122319A (en) Motion compensating apparatus using gradient pattern matching and method thereof
JP4848097B2 (en) MONITORING MONITORING METHOD AND DEVICE
JP5155110B2 (en) Monitoring device
JP2679778B2 (en) Image motion detection device
KR100994722B1 (en) Method for tracking moving object on multiple cameras using probabilistic camera hand-off
JP3615909B2 (en) Moving object detection device
JP4740755B2 (en) Monitoring device using images
JP2008042227A (en) Imaging apparatus
KR100541618B1 (en) Apparatus and method for controlling a monitoring camera
JP3585977B2 (en) Moving area detection device
JP2508916B2 (en) Tracking distance measuring device
JPH07298247A (en) Monitoring method using tv camera and monitoring system
JP2874872B2 (en) Monitoring device
KR101784485B1 (en) System for removing raindrop in images
KR0132037B1 (en) Apparatus for estimating motion vector
JP4109837B2 (en) Image processing apparatus and image processing method
JPH0622318A (en) Mobile object extracting device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040906

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041005

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041102

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: 20101112

Year of fee payment: 6

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: 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

LAPS Cancellation because of no payment of annual fees