JPH0814849B2 - Motion detection device - Google Patents

Motion detection device

Info

Publication number
JPH0814849B2
JPH0814849B2 JP60253275A JP25327585A JPH0814849B2 JP H0814849 B2 JPH0814849 B2 JP H0814849B2 JP 60253275 A JP60253275 A JP 60253275A JP 25327585 A JP25327585 A JP 25327585A JP H0814849 B2 JPH0814849 B2 JP H0814849B2
Authority
JP
Japan
Prior art keywords
data
coefficient
supplied
output signal
vim
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
JP60253275A
Other languages
Japanese (ja)
Other versions
JPS62113279A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP60253275A priority Critical patent/JPH0814849B2/en
Publication of JPS62113279A publication Critical patent/JPS62113279A/en
Publication of JPH0814849B2 publication Critical patent/JPH0814849B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えばビデオ画像処理において、物体の動
きを抽出するための物体検出装置に関する。
Description: TECHNICAL FIELD The present invention relates to an object detection device for extracting a motion of an object in, for example, video image processing.

〔発明の概要〕[Outline of Invention]

本発明は動体検出装置に関し、入力データを処理して
固定パターンのデータを抽出し、この抽出データと入力
データとの差分を取出して動体のデータを得ることによ
り、動体が本来のイメージで検出され、良好な動体検出
が行えるようにするものである。
The present invention relates to a moving body detection apparatus, processing input data to extract data of a fixed pattern, and obtaining a moving body data by extracting a difference between the extracted data and the input data, whereby the moving body is detected in an original image. , Which enables good detection of a moving object.

〔従来の技術〕[Conventional technology]

例えば画像処理において、物体の動きの検出を行う場
合には、従来は例えば時系列の2つのデータの差分を検
出することが行われている。
For example, when detecting the movement of an object in image processing, conventionally, for example, the difference between two time-series data is detected.

しかしながらこの方法では、動体の輪郭しか得ること
ができず、さらに動体の進行方向の輪郭は太く、それと
直角の方向の輪郭は細くなるなどして、動体の正確なイ
メージを補えることが困難であった。
However, with this method, only the contour of the moving body can be obtained, and the contour in the traveling direction of the moving body is thick and the contour in the direction perpendicular to it is thin, and it is difficult to supplement the accurate image of the moving body. It was

ところで、本願出願人は先に、ビデオ画像処理に適用
できるディジタル信号処理装置(特開昭58-215813号公
報参照)を提案した。
By the way, the applicant of the present application has previously proposed a digital signal processing device (see Japanese Patent Laid-Open No. 58-215813) applicable to video image processing.

すなわち第2図はその装置の概略を説明するもので、
図において(21)は入力端子、(22)は入出力制御(IO
C)系、(23)は入力画像メモリ(VIM)系、(24)は信
号処理(PIP)系、(25)はアドレス生成(PVP)系、
(26)は出力画像メモリ(VIM)系、(27)は主制御(T
C)系、(28)は出力端子である。
That is, FIG. 2 explains the outline of the apparatus,
In the figure, (21) is the input terminal, (22) is the input / output control (IO
C) system, (23) is an input image memory (VIM) system, (24) is a signal processing (PIP) system, (25) is an address generation (PVP) system,
(26) is the output image memory (VIM) system, (27) is the main control (T
C) system, (28) is an output terminal.

この装置において、入力端子(21)にはビデオカメラ
(図示せず)等からのアナログのビデオ信号が供給され
る。このビデオ信号がIOC系(22)に供給され、AD変換
等により所定のディジタルデータに変換されてVIM系(2
3)に書込まれる。なおIOC系(22)からディジタルデー
タ以外にもクロック、支配モード信号、アドレス、書込
制御信号等の外側からVIM系(23)を制御する信号が供
給されている。
In this device, an input terminal (21) is supplied with an analog video signal from a video camera (not shown) or the like. This video signal is supplied to the IOC system (22) and converted into predetermined digital data by AD conversion or the like, and the VIM system (2
Written in 3). In addition to digital data, signals for controlling the VIM system (23) are supplied from the outside of the IOC system (22) such as clocks, control mode signals, addresses, and write control signals.

またこのVIM系(23)に、PVP系(25)から処理を行う
ディジタルデータのアドレス、書込制御、読出モード、
データセレクト等の内側からVIM系(23)を制御する信
号が供給され、このアドレスのデータがPIP系(24)と
相互に転送されて処理が行われる。さらにPIP系(24)
で処理されたデータがVIM系(26)に供給され、このVIM
系(26)にPVP系(25)からのアドレス等が供給され
る。これによって処理されたディジタルデータがVIM系
(26)に書込まれる。
In addition, the VIM system (23) has a digital data address to be processed from the PVP system (25), a write control, a read mode,
A signal for controlling the VIM system (23) is supplied from the inside of data select or the like, and the data of this address is transferred to the PIP system (24) and processed. Furthermore PIP system (24)
The data processed by the VIM system (26) is supplied to this VIM system.
Addresses and the like from the PVP system (25) are supplied to the system (26). The processed digital data is written to the VIM system (26).

さらにこのVIM系(26)にもIOC系(22)からのアドレ
ス等が供給され、これによって読出されたディジタルデ
ータがIOC系(22)に供給され、DA変換等により所定の
アナログのビデオ信号に変換されて出力端子(28)に取
出される。
Further, the VIM system (26) is also supplied with an address and the like from the IOC system (22), whereby the read digital data is supplied to the IOC system (22) and converted into a predetermined analog video signal by DA conversion or the like. It is converted and taken out to the output terminal (28).

なおTC系(27)からは、各系(22)〜(26)に対して
それぞれモード、方式等の指定信号やクロック信号等が
供給される。
The TC system (27) supplies a designation signal such as a mode and system, a clock signal, etc. to each system (22) to (26).

またIOC系(22)からPVP系(25)へ処理すべきフレー
ムの開始信号が供給されると共に、PVP系(25)からIOC
系(22)へ処理の終了信号が供給される。
Further, the start signal of the frame to be processed is supplied from the IOC system (22) to the PVP system (25), and the IVP system (25) starts the IOC.
A processing end signal is supplied to the system (22).

このようにして入力端子(21)に供給されたビデオ信
号がディジタル処理されて出力端子(28)に取出される
わけであるが、上述の装置によれば、処理に必要に機能
をそれぞれの系(22)〜(26)に分担し、各系(22)〜
(26)ごとに独立に制御回路を設けてそれぞれ独立のマ
イクロプログラムで制御を行うことができるので、各系
ごとのソフトウェアの負担が少なく、簡単なプログラム
で高速の処理を行うことができる。これによって例えば
ビデオ信号をリアルタイムで処理することも可能になっ
ている。
In this way, the video signal supplied to the input terminal (21) is digitally processed and taken out to the output terminal (28). According to the above-mentioned device, the functions required for processing are provided in each system. (22) ~ (26), each system (22) ~
Since a control circuit can be provided independently for each (26) and control can be performed by independent microprograms, the load on software for each system is small and high-speed processing can be performed with a simple program. This makes it possible, for example, to process video signals in real time.

ところで上述の装置において、処理の内容はPIP系(2
4)等のマイクロプログラムによって決定される。そこ
でこれらのマイクロプログラムを書替ることによって処
理の内容を変更することができる。
By the way, in the above-mentioned device, the contents of the process are PIP (2
Determined by the microprogram such as 4). Therefore, the contents of the processing can be changed by rewriting these microprograms.

すなわち第3図はPIP系(24)の具体的な構成を示
し、このPIP系(24)は実際には多数(例えば60個)の
処理プロセッサ部(30)が並列に設けられて形成される
が、図ではその内の2個(30a)(30b)のみが示されて
いる。この図において、VIM系(23)または(26)から
のディジタルデータは各プロセッサ部(30a)(30b)・
・・ごとに設けられた入力レジスタ(FRA)(31a)(31
b)・・・に供給されると共に、これらのレジスタはPVP
系(25)によってVIM系(23)(26)の読出アドレスに
合わせて制御され、各プロセッサ部ごとに必要な所定量
のデータが記憶される。
That is, FIG. 3 shows a specific configuration of the PIP system (24). The PIP system (24) is actually formed by arranging a large number (for example, 60) of processor units (30) in parallel. However, in the figure, only two of them (30a) and (30b) are shown. In this figure, the digital data from the VIM system (23) or (26) is the processor unit (30a) (30b).
..Input registers (FRA) (31a) (31 provided for each
b) ... and these registers are PVP
The system (25) controls the read addresses of the VIM systems (23) and (26) according to the read addresses, and stores a predetermined amount of data required for each processor unit.

これらのレジスタ(31a)(31b)・・・に書込まれた
データがそれぞれ演算部(32a)(33a),(32b)(33
b)・・・に供給される。そしてこれらの演算部にはそ
れぞれ加減算器、乗算器及び係数メモリ、データメモリ
共が設けられ、制御部(34a)(34b)・・・からの制御
信号に従って線形及び非線形のデータ変換演算を行う。
さらにこの演算結果は演算部(33a)(33b)・・・に得
られ、この演算部(33a)(33b)・・・がPVP系(25)
によってVIM系(23)(26)の書込アドレスに合わせて
制御され、演算結果がVIM系(23)(26)の所望部に書
込まれる。
The data written in these registers (31a) (31b)... Are calculated by the operation units (32a) (33a), (32b) (33
b) is supplied to. Each of these arithmetic units is provided with an adder / subtractor, a multiplier, a coefficient memory, and a data memory, and performs linear and non-linear data conversion arithmetic operations according to control signals from the control units (34a) (34b).
Further, this calculation result is obtained by the calculation units (33a) (33b) ..., and these calculation units (33a) (33b) ..
Is controlled according to the write address of the VIM system (23) (26), and the operation result is written in the desired portion of the VIM system (23) (26).

そしてこの場合に、制御部(34a)(34b)・・・から
の制御信号はマイクロプログラムメモリ(MPM)(35a)
(35b)・・・に書込まれたマイクロプログラムに従っ
て形成される。そこでこのMPM(35a)(35b)・・・を
いわゆるPAM構成とし、このMPM(35a)(35b)・・・に
変更部(36a)(36b)・・・を通じて外部からのマイク
ロプログラムを書込むことにより、マイクロプログラム
を書替て処理の内容を変更することができる。
In this case, the control signals from the control units (34a) (34b)... Are stored in the microprogram memory (MPM) (35a).
(35b) are formed in accordance with the microprogram written in. Therefore, the MPMs (35a) (35b) ... Have a so-called PAM structure, and a microprogram from the outside is written into the MPMs (35a) (35b) ... through the change units (36a) (36b). As a result, the contents of the processing can be changed by rewriting the microprogram.

本願発明者はこの点に着目したものである。 The inventor of the present application pays attention to this point.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上述した従来の技術では、動体の輪郭しか得ることが
できず、動体の正確なイメージを補えることができない
などの問題点があった。
The above-described conventional technique has a problem that only the contour of the moving body can be obtained, and an accurate image of the moving body cannot be supplemented.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、係数A及び係数Bを出力する係数記憶手段
(2)と、入力画像データ(FRA(31))に上記係数A
を乗算して出力する第1の乗算手段(1A)と、上記第1
の乗算手段の出力信号と第2の乗算手段(1B)の出力信
号とを加算する加算手段(4)と、該加算手段の出力信
号を記憶する記憶手段(3)と、上記入力画像データと
上記記憶手段の出力信号の差分信号を出力する差分出力
手段(5)とを備え、上記第2の乗算手段は、上記記憶
手段の出力信号と上記係数Bを乗算して上記加算手段に
供給するようになされ、上記係数記憶手段に記憶されて
いる上記係数Aの値aと上記係数Bの値bの関係が、a
+b=1となるように選定されていることを特徴とする
動体検出装置である。
According to the present invention, the coefficient storage means (2) for outputting the coefficient A and the coefficient B and the coefficient A in the input image data (FRA (31)) are used.
A first multiplication means (1A) for multiplying and outputting
Adding means (4) for adding the output signal of the multiplying means and the output signal of the second multiplying means (1B), a storing means (3) for storing the output signal of the adding means, and the input image data. And a difference output means (5) for outputting a difference signal of the output signal of the storage means, wherein the second multiplication means multiplies the output signal of the storage means by the coefficient B and supplies it to the addition means. Thus, the relationship between the value a of the coefficient A and the value b of the coefficient B stored in the coefficient storage means is a
The moving object detecting device is characterized by being selected so that + b = 1.

〔作用〕[Action]

これによれば、入力データ中の固定パターンを抽出
し、この固定パターンと入力データとの差分を得るよう
にしているので、移動する物体のイメージがそのまま検
出され、良好な動体検出を行うことができる。
According to this, since the fixed pattern in the input data is extracted and the difference between the fixed pattern and the input data is obtained, the image of the moving object can be detected as it is, and good moving object detection can be performed. it can.

〔実施例〕〔Example〕

第1図は、本願の装置を実現するためのPIP系(24)
における処理プロセッサ部(30)の機能ブロックを示
す。
Figure 1 shows a PIP system (24) for realizing the device of the present application.
3 shows functional blocks of a processing processor section (30) in FIG.

図において、FRA(31)からの入力データXnが乗算器
(1A)に供給され、係数メモリ(2)からの加重係数A
が乗算されると共に、データメモリ(3)からの累積デ
ータYn-1が乗算器(1B)に供給され、同じく係数メモリ
(2)からの加重係数Bが乗算される。さらにこれらの
乗算器(1A)(1B)からの信号が加算器(4)に供給さ
れ、加算されたデータがデータメモリ(3)に書込まれ
る。なお上述の加重係数A,Bは、 A+B=1 とされる。
In the figure, the input data Xn from the FRA (31) is supplied to the multiplier (1A), and the weighting coefficient A from the coefficient memory (2) is supplied.
And the accumulated data Yn -1 from the data memory (3) is supplied to the multiplier (1B), which is also multiplied by the weighting coefficient B from the coefficient memory (2). Further, the signals from the multipliers (1A) and (1B) are supplied to the adder (4), and the added data is written in the data memory (3). The above weighting factors A and B are A + B = 1.

これによって、データメモリ(3)に新に書込まれる
加算データYnは、 Yn=AXn+BYn-1 となり、このデータYnがさらに累積データとして乗算器
(1B)にフィールドバックされ、さらにこれが繰り返さ
れることで入力データXn中の変位パターンのが除去さ
れ、固定パターンのみが抽出される。
As a result, the addition data Yn newly written in the data memory (3) becomes Yn = AXn + BYn −1 , and this data Yn is further fielded back to the multiplier (1B) as cumulative data, and this is repeated. The displacement pattern in the input data Xn is removed, and only the fixed pattern is extracted.

すなわち上述において、入力データXnと累積データYn
-1との間で不変(固定パターン)の部分は、A+B=1
であることからそのままの値で次の累積データYnとされ
る。これに対して変化(固定パターン−変位パターン)
した部分は、加重係数A,Bの割合で減衰されて次の累積
データYnとされ、さらにこの変位パターンは累積された
時間に対するそのパターンの占める時間割合に従って減
衰される。これによって入力データXn中の固定パターン
が抽出される。この固定パターンは入力データXn中の背
景データYに相当するものである。
That is, in the above, the input data Xn and the cumulative data Yn
A + B = 1 for the part that does not change between -1 and -1 (fixed pattern)
Therefore, the same value is used as the next cumulative data Yn. Change to this (fixed pattern-displacement pattern)
The portion that has been attenuated is attenuated at the ratio of the weighting factors A and B to be the next accumulated data Yn, and this displacement pattern is further attenuated according to the time ratio of the pattern to the accumulated time. As a result, the fixed pattern in the input data Xn is extracted. This fixed pattern corresponds to the background data Y in the input data Xn.

そしてさらにこの抽出された固定パターンのデータが
差分回路(5)に供給され、上述のFRA(31)からの入
力データXnとの差分が取出される。この差分データが出
力データとしてVIM系(23)(26)へ供給される。
Then, the extracted fixed pattern data is further supplied to the difference circuit (5), and the difference from the input data Xn from the FRA (31) is taken out. This difference data is supplied to the VIM system (23) (26) as output data.

従ってこの装置において、入力データXnから固定の背
景データYが差し引かれることになり、差分回路(5)
からは移動している動体のパターンのデータZn(=Xn−
Y)のみが取出され、他は0とされる。
Therefore, in this device, the fixed background data Y is subtracted from the input data Xn, and the difference circuit (5)
From the data of moving object pattern Zn (= Xn-
Only Y) is taken out and the others are set to 0.

こうして動体検出が行われるわけであるが、上述の装
置によれば動体はその輪郭だけでなく物体として検出で
きるので、動体のイメージを正確に得ることができ、動
体の検出を良好に行うことができる。
In this way, the moving body is detected, but according to the above-described device, the moving body can be detected not only as its contour but also as an object, so that an image of the moving body can be accurately obtained, and the moving body can be detected satisfactorily. it can.

なお上述の例では固定パターン(背景)の抽出を入力
データと累積データとを加重して加算するようにした
が、これは例えば のように入力データと累積データとの大小に応じて定数
を加減算するようにしてもよく、さらに他の固定パター
ンの抽出方法を採用してもよい。
In the above example, the extraction of the fixed pattern (background) is performed by weighting and adding the input data and the accumulated data. As described above, a constant may be added or subtracted according to the magnitude of the input data and the accumulated data, and another fixed pattern extraction method may be adopted.

〔発明の効果〕〔The invention's effect〕

本発明によれば、入力データ中の固定パターンを抽出
し、この固定パターンと入力データとの差分を得るよう
にしているので、移動する物体のイメージがそのまま検
出され、良好な動体検出を行うことができるようになっ
た。
According to the present invention, the fixed pattern in the input data is extracted, and the difference between the fixed pattern and the input data is obtained. Therefore, the image of the moving object can be detected as it is, and good moving object detection can be performed. Is now possible.

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

第1図は本発明の一例の構成図、第2図、第3図は従来
の技術の説明のための図である。 (1A)(1B)は乗算器、(2)は係数メモリ、(3)は
データメモリ、(4)は加算器、(5)は差分回路であ
る。
FIG. 1 is a configuration diagram of an example of the present invention, and FIGS. 2 and 3 are diagrams for explaining a conventional technique. (1A) and (1B) are multipliers, (2) is a coefficient memory, (3) is a data memory, (4) is an adder, and (5) is a difference circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】係数A及び係数Bを出力する係数記憶手段
と、入力画像データに上記係数Aを乗算して出力する第
1の乗算手段と、上記第1の乗算手段の出力信号と第2
の乗算手段の出力信号とを加算する加算手段と、該加算
手段の出力信号を記憶する記憶手段と、上記入力画像デ
ータと上記記憶手段の出力信号の差分信号を出力する差
分出力手段とを備え、 上記第2の乗算手段は、上記記憶手段の出力信号と上記
係数Bを乗算して上記加算手段に供給するようになさ
れ、 上記係数記憶手段に記憶されている上記係数Aの値aと
上記係数Bの値bの関係が、a+b=1となるように選
定されていることを特徴とする動体検出装置。
1. A coefficient storing means for outputting a coefficient A and a coefficient B, a first multiplying means for multiplying input image data by the coefficient A and outputting the same, an output signal of the first multiplying means and a second.
The addition means for adding the output signal of the multiplication means, the storage means for storing the output signal of the addition means, and the difference output means for outputting the difference signal between the input image data and the output signal of the storage means. The second multiplication means multiplies the output signal of the storage means by the coefficient B and supplies the result to the addition means. The value a of the coefficient A stored in the coefficient storage means and the value a of the coefficient A stored in the coefficient storage means. A moving object detecting device, wherein the relationship of the value b of the coefficient B is selected so that a + b = 1.
JP60253275A 1985-11-12 1985-11-12 Motion detection device Expired - Lifetime JPH0814849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60253275A JPH0814849B2 (en) 1985-11-12 1985-11-12 Motion detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60253275A JPH0814849B2 (en) 1985-11-12 1985-11-12 Motion detection device

Publications (2)

Publication Number Publication Date
JPS62113279A JPS62113279A (en) 1987-05-25
JPH0814849B2 true JPH0814849B2 (en) 1996-02-14

Family

ID=17249014

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60253275A Expired - Lifetime JPH0814849B2 (en) 1985-11-12 1985-11-12 Motion detection device

Country Status (1)

Country Link
JP (1) JPH0814849B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0786934B2 (en) * 1987-06-03 1995-09-20 株式会社ニコン Image processing device
JPH0797408B2 (en) * 1987-09-09 1995-10-18 日産自動車株式会社 Moving object position detection image processing method
JPH02257372A (en) * 1989-03-30 1990-10-18 Matsushita Electric Ind Co Ltd Moving object identifying device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5610662A (en) * 1979-07-06 1981-02-03 Hitachi Ltd Airconditioning equipment

Also Published As

Publication number Publication date
JPS62113279A (en) 1987-05-25

Similar Documents

Publication Publication Date Title
EP0224253B1 (en) Method of extracting an image of a moving object
US4635292A (en) Image processor
EP0403054B1 (en) An electronic graphic system
EP2928181A1 (en) Television camera
US4661899A (en) Numerical control system
EP0247383A2 (en) Apparatus for arithmetic processing
JPH0814849B2 (en) Motion detection device
JPH0731732B2 (en) Motion detection device
JPH0814848B2 (en) Displacement pattern removal device
JP2535817B2 (en) Processor
JP2557042B2 (en) Program transfer device
JPH0719286B2 (en) Motion detection device
JPH0719285B2 (en) Displacement pattern removal device
JP3447237B2 (en) Method for recording line drawing data handwritten by a digitizer as time-series data, method for reproducing the time-series line drawing data, recording device, reproducing device, recording / reproducing device
JPS60262243A (en) High-speed arithmetic unit
JPS61188671A (en) Image processor
JP2610817B2 (en) Address generator
KR100187209B1 (en) Circuit for extracting brightness distribution of the object
JP2659783B2 (en) Image processing device
US4706188A (en) Method and apparatus for reading samples of a time-dependent signal in a data processing system
JPH06103461B2 (en) Program transfer device
JP2652973B2 (en) Image processing device
SU1278926A1 (en) Vector generator
JPS642290B2 (en)
JPS5926970B2 (en) Digital differential analyzer

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term