JPH0542524Y2 - - Google Patents

Info

Publication number
JPH0542524Y2
JPH0542524Y2 JP17495587U JP17495587U JPH0542524Y2 JP H0542524 Y2 JPH0542524 Y2 JP H0542524Y2 JP 17495587 U JP17495587 U JP 17495587U JP 17495587 U JP17495587 U JP 17495587U JP H0542524 Y2 JPH0542524 Y2 JP H0542524Y2
Authority
JP
Japan
Prior art keywords
image
movement
subtraction processing
amount
value
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
JP17495587U
Other languages
Japanese (ja)
Other versions
JPH0179155U (en
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 filed Critical
Priority to JP17495587U priority Critical patent/JPH0542524Y2/ja
Publication of JPH0179155U publication Critical patent/JPH0179155U/ja
Application granted granted Critical
Publication of JPH0542524Y2 publication Critical patent/JPH0542524Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〔産業上の利用分野〕 本考案は、移動物体を撮像して当該物体の位置
を検出する装置に係り、特に物体の移動速度に応
じて画像の減算処理を制御する技術に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a device that captures an image of a moving object and detects the position of the object, and in particular controls image subtraction processing according to the moving speed of the object. Regarding technology.

〔従来の技術〕[Conventional technology]

このような移動物体の位置検出装置としては従
来例えば第3図に示すものがある。(特開昭61−
153774号公報参照)。
As such a position detecting device for a moving object, there is a conventional device shown in FIG. 3, for example. (Unexamined Japanese Patent Publication 1986-
(See Publication No. 153774).

これは、移動物体を撮像装置1で撮像して、画
像データを順次画像メモリ2に格納し、減算処理
部3が、ある時点における第1画像とNフレーム
後の第2画像を入力して両画像のフレーム差分を
求め、背景画像が除去された移動物体だけの差分
画像を生成し、この差分画像に基づいて位置算出
部4が当該物体の位置を算出し、データ出力部5
から位置データを出力するものである。
In this method, a moving object is imaged by an imaging device 1, the image data is sequentially stored in an image memory 2, and a subtraction processing unit 3 inputs a first image at a certain point in time and a second image N frames later, and then both The frame difference between the images is determined, a difference image of only the moving object is generated with the background image removed, and the position calculation unit 4 calculates the position of the object based on this difference image, and the data output unit 5 calculates the position of the object.
It outputs position data from.

〔考案が解決しようとする問題点〕[Problem that the invention attempts to solve]

ところで、かかる従来の位置検出装置にあつて
は、第1画像からNフレーム後の第2画像を入力
するに際し、第2画像を決定するNの値を予め設
定した所定値に固定しているために、単位時間当
りの物体移動量が極めて少ない場合、すなわち物
体の移動速度が極めて遅い場合には、当該移動物
体も動くことのない背景画像として除去されてし
まい、移動物体の画像を生成することができず、
従つて物体の位置検出もできなくなるという問題
があつた。
By the way, in such a conventional position detection device, when inputting a second image N frames after the first image, the value of N that determines the second image is fixed to a predetermined value. In addition, if the amount of movement of the object per unit time is extremely small, that is, if the moving speed of the object is extremely slow, the moving object will also be removed as a stationary background image, and an image of the moving object will not be generated. I can't do it,
Therefore, there was a problem that the position of the object could not be detected.

そこで、本考案の目的は、第2画像を決定する
ための前記Nの値を可変とし、物体の移動速度が
遅い場合でも、その物体の移動軌跡を画像として
生成し、位置検出処理を確実に行うことができる
ようにすることにある。
Therefore, the purpose of the present invention is to make the value of N for determining the second image variable, to generate the movement trajectory of the object as an image even when the movement speed of the object is slow, and to reliably perform the position detection process. The goal is to make it possible.

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

前記目的を達成して従来技術の問題点を解決す
るため、本考案に係る移動物体の位置検出装置
は、差分画像に基づき当該物体の移動量を検出す
る移動量検出手段と、該検出された移動量が所定
閾値以下の時は、前記N値を増加して減算処理手
段に再処理を指令する再処理指令手段とを備え
る。
In order to achieve the above object and solve the problems of the prior art, a moving object position detecting device according to the present invention includes a moving amount detecting means for detecting the moving amount of the object based on a difference image, When the amount of movement is less than a predetermined threshold, reprocessing command means increases the N value and commands the subtraction processing means to perform reprocessing.

〔作用〕[Effect]

本考案によれば、単位時間当りの物体移動量が
大きいときはN値を小さな値に設定して、時間的
により近い2つの画像に基づく差分画像を得るこ
とができる。他方、物体移動量が小さくなるとN
値を大きな値に変更設定し、時間的に離れた2つ
の画像に基づく差分画像を得る。従つて、物体の
移動速度が遅い場合でも、時間的に離れた2つの
画像を入力して減算処理(フレーム差分処理)を
行ない、移動物体を画像データ上に残すことが可
能となる。
According to the present invention, when the amount of object movement per unit time is large, the N value can be set to a small value to obtain a difference image based on two images that are closer in time. On the other hand, when the amount of object movement becomes smaller, N
The value is changed to a large value and a difference image based on two temporally separated images is obtained. Therefore, even if the moving speed of the object is slow, it is possible to input two temporally separated images and perform subtraction processing (frame difference processing) to leave the moving object on the image data.

〔実施例〕〔Example〕

以下、添付図面に基づいて本考案の実施例を説
明する。
Embodiments of the present invention will be described below based on the accompanying drawings.

第1図は、本考案に係る移動物体の位置検出装
置の一例を示すものである。
FIG. 1 shows an example of a moving object position detection device according to the present invention.

同図において、11は宇宙空間で物体の加熱冷
却を行なう過冷却浮遊炉、12はこの過冷却浮遊
炉11内で加熱冷却される物体、13は加熱用ラ
ンプ、14は物体撮像用の補助照明、15は撮像
装置、16は画像処理部である。この画像処理部
16は、画像データを格納する画像メモリ17
と、ある時点tにおいて撮像された第1画像とN
フレーム後の第2画像とのフレーム差分を求める
減算処理部18と、この減算処理部18で得られ
る差分画像に基づき当該物体の位置を検出する位
置算出部19と、算出された位置データを出力す
るデータ出力部20とを備えるとともに、減算処
理部18で得られる差分画像に基づき当該物体の
移動量の大きさを検出する移動量検出部21と、
該検出された移動量が所定閾値以下のときは、前
記Nの値を大きな値に変更して減算処理手段に再
処理を指令する再処理指令部22を備えている。
尚、23は画像処理部16の各部を制御する制御
部である。
In the figure, 11 is a supercooled floating furnace that heats and cools objects in outer space, 12 is an object that is heated and cooled in this supercooled floating reactor 11, 13 is a heating lamp, and 14 is an auxiliary light for imaging the object. , 15 is an imaging device, and 16 is an image processing section. This image processing section 16 includes an image memory 17 that stores image data.
, the first image captured at a certain time t, and N
A subtraction processing unit 18 that calculates a frame difference with the second image after the frame, a position calculation unit 19 that detects the position of the object based on the difference image obtained by this subtraction processing unit 18, and outputs the calculated position data. a movement amount detection section 21 that detects the amount of movement of the object based on the difference image obtained by the subtraction processing section 18;
When the detected movement amount is less than a predetermined threshold value, a reprocessing command section 22 is provided that changes the value of N to a larger value and commands the subtraction processing means to perform reprocessing.
Note that 23 is a control section that controls each section of the image processing section 16.

次に、第2図に示す処理フローに従つて本装置
の作動を説明する。
Next, the operation of this apparatus will be explained according to the processing flow shown in FIG.

まず制御部23は、処理選択により領域検出処
理とフレーム差分処理のいずれかを選択する(S
−1)。
First, the control unit 23 selects either area detection processing or frame difference processing by processing selection (S
-1).

領域検出処理は、背景を含まない状況下で物体
12を撮像し、該物体の正確な位置を求めるため
に行なう処理である。この処理では、背景を撮像
しないようにするため、炉内の加熱用ランプ13
が消灯しているときに補助ランプ14を点灯し、
物体12だけの画像を撮像してテンプレートマツ
チング等の処理により物体の座標を検出する
[(S−2),(S−3),(S−4)]。
The area detection process is a process performed to image the object 12 in a situation that does not include the background and to determine the accurate position of the object. In this process, in order to avoid imaging the background, the heating lamp 13 inside the furnace
lights up the auxiliary lamp 14 when it is off,
An image of only the object 12 is captured and the coordinates of the object are detected by processing such as template matching [(S-2), (S-3), (S-4)].

一方、フエーム差分処理は、物体に移動位置デ
ータを得るための処理である。この処理では背景
を撮像してもかまわないので、加熱用ランプ13
のON/OFFに拘わらず処理を行なうことができ
る。この処理は、減算処理部18が、画像メモリ
17から第1画像とNフレーム後の第2画像とを
2つの画像として入力し[(S−5),(S−6)]、
フレーム差分処理を行ない差分画像を生成する
(S−7)。この時第2画像は、例えば第1画像を
入力してから1フレーム時間(33ms)後に入力
する(従つて、N=1)。次に、移動量検出部2
1は、差分画像をある閾値で2値化し、移動軌跡
の面積が十分か否か閾値比較により判定し、十分
でない場合(移動量が少ない場合)は、再処理指
令部22からの指令信号に基づき減算処理部18
が前記Nの値を増加し、再度第2画像を入力して
フレーム差分を求める処理を行なう(S−8)。
この時、再処理指令部22によるNの値の最も単
純な変更の方式は、移動軌跡の面積が所定閾値以
下の時は一律にN=N+1又はN=N+2,N=
N+3とする方式であるが、更に細かな数値設定
を行なうならば移動量と逆比例の傾向をもたせて
Nの値を移動量に応じて変更しても良い。
On the other hand, frame difference processing is processing for obtaining movement position data for an object. In this process, it does not matter if the background is imaged, so the heating lamp 13
Processing can be performed regardless of whether it is ON or OFF. In this process, the subtraction processing unit 18 inputs the first image and the second image after N frames from the image memory 17 as two images [(S-5), (S-6)],
Frame difference processing is performed to generate a difference image (S-7). At this time, the second image is input, for example, one frame time (33 ms) after the first image is input (therefore, N=1). Next, the movement amount detection section 2
1 binarizes the differential image using a certain threshold value, and determines whether the area of the movement trajectory is sufficient by comparing the threshold values. If it is not sufficient (when the amount of movement is small), a command signal from the reprocessing command unit 22 is used. Based on the subtraction processing unit 18
increases the value of N, inputs the second image again, and performs processing to obtain a frame difference (S-8).
At this time, the simplest way to change the value of N by the reprocessing command unit 22 is to uniformly change N=N+1, N=N+2, N=
Although the method is to set N+3, if more detailed numerical settings are to be made, the value of N may be changed in accordance with the amount of movement so as to have a tendency that is inversely proportional to the amount of movement.

次に、移動軌跡の面積が十分な場合(移動量が
大きな場合)は、位置算出部19において物体1
2の重心計算等を行なうことにより物体の移動ベ
クトルを求める(S−9)。そして、前述した領
域検出で求めた物体12の位置データを用いて、
移動後における物体12の新しい座標を算出す
る。この後、第2画像を次回の第1画像に置き換
えて、第2画像入力を繰り返す[(S−10),(S
−11)]。そして、物体の位置を正確に検出すれ
ば、物体に対する加熱、冷却処理を正確に行なう
ことができることになる。
Next, if the area of the movement trajectory is sufficient (if the amount of movement is large), the position calculation unit 19
The movement vector of the object is determined by calculating the center of gravity in step 2 (S-9). Then, using the position data of the object 12 obtained by the area detection described above,
The new coordinates of the object 12 after the movement are calculated. After this, the second image is replaced with the next first image and the second image input is repeated [(S-10), (S
−11)]. If the position of the object is detected accurately, the object can be heated and cooled accurately.

〔効果〕 以上説明したように本考案に係る移動物体の位
置検出装置は、物体の移動量が所定閾値以下のと
きは、第2画像を決定するNの値を増加して、再
度、第1画像との間で減算処理を行なうから、物
体の移動速度が極めて遅い場合であつても確実に
差分画像上に移動軌跡を残すことが可能となり、
物体の位置を検出することが可能となる。
[Effect] As explained above, when the moving amount of the object is less than a predetermined threshold, the moving object position detecting device according to the present invention increases the value of N that determines the second image, and then repeats the first image. Since subtraction processing is performed between images, it is possible to reliably leave a movement trajectory on the difference image even if the object is moving at an extremely slow speed.
It becomes possible to detect the position of an object.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本考案に係る位置検出装置の構成例を
示すブロツク図、第2図は本考案に係る位置検出
装置の作動例を示すフローチヤート、第3図は従
来の位置検出装置の構成例を示すブロツク図であ
る。 12……物体、15……撮像装置、17……画
像メモリ、18……減算処理部、19……位置算
出部、21……移動量算出部、22……再処理指
令部。
FIG. 1 is a block diagram showing a configuration example of a position detection device according to the present invention, FIG. 2 is a flow chart showing an operation example of the position detection device according to the present invention, and FIG. 3 is a configuration example of a conventional position detection device. FIG. 12...Object, 15...Imaging device, 17...Image memory, 18...Subtraction processing unit, 19...Position calculation unit, 21...Movement amount calculation unit, 22...Reprocessing command unit.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 撮像装置と、該撮像装置がある時点で撮像した
第1の画像と該第1の画像からNフレーム後の第
2の画像とを入力して両画像のフレーム差分を求
める減算処理手段とを備え、該減算処理手段によ
り得られる差分画像に基づき移動物体の位置を検
出する移動物体の位置検出装置において、前記差
分画像に基づき当該物体の移動量を検出する移動
量検出手段と、該検出された移動量が所定閾値以
下のときは前記Nの値を増加して減算処理手段に
再処理を指令する再処理指令手段とを備えること
を特徴とする移動物体の位置検出装置。
comprising: an imaging device; and a subtraction processing means for inputting a first image captured by the imaging device at a certain point in time and a second image N frames after the first image to obtain a frame difference between the two images. , a moving object position detection device that detects the position of a moving object based on a difference image obtained by the subtraction processing means, comprising a movement amount detection means that detects a movement amount of the object based on the difference image; 1. A position detection device for a moving object, comprising: reprocessing command means for increasing the value of N and commanding a subtraction processing means to perform reprocessing when the amount of movement is less than a predetermined threshold.
JP17495587U 1987-11-18 1987-11-18 Expired - Lifetime JPH0542524Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17495587U JPH0542524Y2 (en) 1987-11-18 1987-11-18

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17495587U JPH0542524Y2 (en) 1987-11-18 1987-11-18

Publications (2)

Publication Number Publication Date
JPH0179155U JPH0179155U (en) 1989-05-26
JPH0542524Y2 true JPH0542524Y2 (en) 1993-10-26

Family

ID=31466779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17495587U Expired - Lifetime JPH0542524Y2 (en) 1987-11-18 1987-11-18

Country Status (1)

Country Link
JP (1) JPH0542524Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6552383B2 (en) 2014-11-07 2019-07-31 エフ・イ−・アイ・カンパニー Automated TEM sample preparation

Also Published As

Publication number Publication date
JPH0179155U (en) 1989-05-26

Similar Documents

Publication Publication Date Title
JP3892059B2 (en) Moving body tracking device
CN102985957B (en) Device for monitoring vicinity of vehicle
JPH0944685A (en) Face image processor
JPH08285873A (en) Apparatus and method for detection of speed of moving object
JPH0738796A (en) Automatic focusing device
JPH07324792A (en) Human body recognition apparatus
JPH0542524Y2 (en)
CN112722765B (en) Method and device for correcting position of workpiece
JP3026380B2 (en) Attitude discrimination device and its applied equipment
JPH1044824A (en) Driver's-eye open/closed state determination device for vehicle
JP4356140B2 (en) Image motion vector measuring method and apparatus
JPH05236452A (en) Method and device for detection motion vector
JPH0220988A (en) Moving vector detection system for animation encoding device
RU2262661C2 (en) Method of detecting moving vehicle
CN113674319A (en) Target tracking method, system, equipment and computer storage medium
JP2002230531A (en) Method of detecting invading object
JP4710562B2 (en) Image processing apparatus and image processing method
JP2007004829A (en) Image processing device
JP2006172064A (en) Object tracking device and method
JPH0689343A (en) Method for setting blind zone area of template matching
JP2004265291A (en) Background difference processing method and device thereof
JP2018010538A (en) Image recognition device
JP3087983B2 (en) Stopped vehicle detection method
JP2006107314A (en) Image processor and image processing method
JPH07123406A (en) Motion vector detector