Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0614743B2 - Image input type tracking device - Google Patents
[go: Go Back, main page]

JPH0614743B2 - Image input type tracking device - Google Patents

Image input type tracking device

Info

Publication number
JPH0614743B2
JPH0614743B2 JP62159199A JP15919987A JPH0614743B2 JP H0614743 B2 JPH0614743 B2 JP H0614743B2 JP 62159199 A JP62159199 A JP 62159199A JP 15919987 A JP15919987 A JP 15919987A JP H0614743 B2 JPH0614743 B2 JP H0614743B2
Authority
JP
Japan
Prior art keywords
image
counter
input
value
pixel
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
JP62159199A
Other languages
Japanese (ja)
Other versions
JPS644187A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP62159199A priority Critical patent/JPH0614743B2/en
Publication of JPS644187A publication Critical patent/JPS644187A/en
Publication of JPH0614743B2 publication Critical patent/JPH0614743B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は、画像中の移動物体や侵入者のような追跡対象
(オブジェクト)の位置を観測し追跡するための画像入
力型の追跡装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image input type tracking device for observing and tracking the position of a tracking target (object) such as a moving object or an intruder in an image. .

(背景技術) 第4図は、画像処理を用いて画像中のオブジェクトの追
跡を行う従来の方式を説明するための図である。図中、
画像A及びBは、時間的に連続した入力画像において、
同一のオブジェクトが画像Aの位置から画像Bの位置へ
移動した様子を示し、斜線部は画像A及びBの重複した
領域である。時刻tではオブジェクトは画像Aの位置に
あり、時刻(t+1)では画像Bの位置にあるものとす
る。
(Background Art) FIG. 4 is a diagram for explaining a conventional method for tracking an object in an image by using image processing. In the figure,
Images A and B are the temporally consecutive input images,
The same object has moved from the position of the image A to the position of the image B, and the hatched portion is the overlapping region of the images A and B. It is assumed that the object is at the position of the image A at the time t and is at the position of the image B at the time (t + 1).

このような場合のオブジェクトの追跡は、次のような手
順で行われる。まず、時刻tで入力画像から抽出された
オブジェクトにラベル付けを行い、ラベルを与える。
次に、時刻(t+1)で入力画像から抽出されたオブジ
ェクトにラベルを与える。さらに、このラベル,
を付された2つのオブジェクトの論理積を演算し、斜線
部で示すような重複部分を求める。この重複部分の面積
がある程度以上あれば、ラベルのオブジェクトとラベ
ルのオブジェクトは同一の物体であることが分かる。
この処理を連続して繰り返すことによりオブジェクトの
追跡が可能となる。この方式によれば、ラベル付けを行
うためのラベリング処理や、重なり部分の面積計測のた
めの処理が複雑であり、処理時間が長くかかるという問
題があった。また、処理時間を短くするために、専用の
ハードウェアを用いると、構成が複雑で、コストが高く
なるという問題があった。
The tracking of the object in such a case is performed by the following procedure. First, the object extracted from the input image is labeled at time t and a label is given.
Next, a label is given to the object extracted from the input image at time (t + 1). In addition, this label,
The logical product of the two objects marked with is calculated to obtain the overlapping part as shown by the shaded area. If the area of this overlapping portion is more than a certain extent, it can be seen that the label object and the label object are the same object.
The object can be traced by continuously repeating this process. According to this method, there is a problem that the labeling process for labeling and the process for measuring the area of the overlapping part are complicated and the processing time is long. Further, if dedicated hardware is used to shorten the processing time, there is a problem that the configuration becomes complicated and the cost becomes high.

(発明の目的) 本発明は上述のような点に鑑みてなされたものであり、
その目的とするところは、簡単なハードウェアにより、
画像中のオブジェクトを追跡することが可能な画像入力
型の追跡装置を提供するにある。
(Object of the Invention) The present invention has been made in view of the above points,
The purpose is to use simple hardware
An object is to provide an image input type tracking device capable of tracking an object in an image.

(発明の開示) 本発明に係る画像入力型の追跡装置にあっては、上記の
目的を達成するために、第1図に示すように、入力画像
を得るための撮像手段1と、追跡対象が存在しないとき
の入力画像を予め記憶した参照画像メモリ2と、入力画
像と参照画像とを同一のタイミングで入力して絶対値差
分を求める差分手段3と、差分手段3の出力を予め設定
された閾値で2値化する2値化手段4と、複数個のカウ
ンタを含み、2値化手段4の出力が特定の値(“1”又
は“0”)となる画素数を指定されたカウンタによりカ
ウントする画素カウンタ6と、画素カウンタ6に含まれ
るカウンタの個数と少なくとも同数個の領域に画像を分
割して各領域毎に異なる値を記憶したウィンドウ画像メ
モリ5と、ウィンドウ画像メモリ5から読み出した値を
デコードしてカウンタを指定するカウンタセレクタ7
と、画素カウンタ6における各カウンタの値を読出し
て、そのカウント値が最大となるカウンタを求めること
により追跡対象の位置を判定する位置判定手段8とを備
えて成ることを特徴とするものである。
DISCLOSURE OF THE INVENTION In an image input type tracking device according to the present invention, in order to achieve the above object, as shown in FIG. 1, an imaging unit 1 for obtaining an input image and a tracking target. When the input image does not exist, the reference image memory 2 that stores the input image in advance, the difference unit 3 that inputs the input image and the reference image at the same timing to obtain the absolute value difference, and the output of the difference unit 3 are set in advance. A counter that includes a binarizing unit 4 that binarizes with a threshold and a plurality of counters and that specifies the number of pixels for which the output of the binarizing unit 4 has a specific value (“1” or “0”). The pixel counter 6 that counts with the window counter, the window image memory 5 in which the image is divided into at least the same number of areas as the number of counters included in the pixel counter 6, and different values are stored for each area, and read from the window image memory 5. Value Counter selector 7 that specifies the counter by coding
And a position determining means 8 for determining the position of the tracking target by reading the value of each counter in the pixel counter 6 and obtaining the counter having the maximum count value. .

第1図は本発明の構成を示すブロック図である。テレビ
カメラなどの撮像手段1より得られた入力画像は、背景
画像を保持している参照画像メモリ2の参照画像と同じ
タイミングで差分手段3へ入力され、両者の絶対値差分
が画素毎に計算される。これにより、入力画像より背景
が除去されて、追跡対象(オブジェクト)のみが差分画
像として抽出され、次段の2値化手段4へ入力される。
2値化手段4では、予め設定された値で差分画像が2値
化され、オブジェクトには“1”他の背景部分には
“0”の値が割り当てられる。一方、ウィンドウ画像メ
モリ5も入力画像信号と同じタイミングで読み出され、
そのデータはカウンタセレクタ7へ入力される。このカ
ウンタセレクタ7ではウィンドウ画像メモリ5から読み
出された2進データをデコードして、画素カウンタ6に
対してカウンタを指定するセレクト信号を出力する。例
えば、ウィンドウ画像メモリ5の1画素毎のデータが6
ビットであれば、セレクト信号の信号線は2=64本
となる。
FIG. 1 is a block diagram showing the configuration of the present invention. The input image obtained by the image pickup means 1 such as a television camera is input to the difference means 3 at the same timing as the reference image in the reference image memory 2 holding the background image, and the absolute value difference between them is calculated for each pixel. To be done. As a result, the background is removed from the input image, and only the tracking target (object) is extracted as the difference image and input to the binarizing means 4 in the next stage.
In the binarizing means 4, the difference image is binarized with a preset value, and "1" is assigned to the object and "0" is assigned to the background portion. On the other hand, the window image memory 5 is also read at the same timing as the input image signal,
The data is input to the counter selector 7. The counter selector 7 decodes the binary data read from the window image memory 5, and outputs a select signal designating a counter to the pixel counter 6. For example, if the data for each pixel of the window image memory 5 is 6
If it is a bit, the number of select signal lines is 2 6 = 64.

第2図は本発明におけるウィンドウ画像メモリ5と画素
カウンタ6の関係を示す図である。ウィンドウ画像メモ
リ5には予めマス目状のパターンが保持されており、第
2図では8×8=64個のマス目のパターンが保持され
ている。夫々のマス目内には順に0から63までのデー
タが、6ビットの2進データとして、記憶されている。
ウィンドウ画像メモリ5は、例えば、縦32画素×横4
0画素の大きさを持ち、各画素毎に6ビットのデータを
記憶できるものとすると、各マス目は、縦4画素×横5
画素の大きさを持ち、各画素毎に6ビットのデータを記
憶できることになり、1つのマス目に属する20個の画
素は、すべて同一の値を記憶している。画素カウンタ6
には、ウィンドウ画像メモリ5の各マス目に1対1で対
応するように、64個のカウンタが設けられている。ウ
ィンドウ画像メモリ5の各画素からの読出データはカウ
ンタセレクタ7により、デコードされ、画素カウンタ6
における64個のカウンタのうち、その画素が属するマ
ス目に対応する1個のカウンタのみの動作を許可する。
動作を許可されたカウンタは、入力画像中の対応するマ
ス目内の“1”の画素数をカウントする。これらのカウ
ンタは画像信号に同期して動作するので、1フィールド
期間(16.6msec)で、1画面中の“1”の画素値を
有する画素数を夫々のマス目に分割して計数する。この
夫々のマス目における“1”の画素値を有する画素数
は、オブジェクトがどのマス目の領域に存在しているか
を示すものであるから、1画面計測後の夫々のカウンタ
のカウント値を位置判定手段8により読み取り、そのカ
ウント値が最大値となったカウンタを捜せば、オブジェ
クトの位置が分かる。例えば、第3図(a)の破線で示す
ようなオブジェクトの位置は、カウント値が最大値“2
0”となるマス目の位置にあることが分かる。この操作
を繰り返すことによりオブジェクトの追跡を行うことが
可能である。
FIG. 2 is a diagram showing the relationship between the window image memory 5 and the pixel counter 6 in the present invention. The window image memory 5 previously holds a grid pattern, and in FIG. 2, holds 8 × 8 = 64 grid patterns. Data of 0 to 63 are sequentially stored in each square as 6-bit binary data.
The window image memory 5 is, for example, 32 pixels vertically × 4 pixels horizontally.
Assuming that it has a size of 0 pixel and can store 6-bit data for each pixel, each grid has 4 pixels in the vertical direction × 5 pixels in the horizontal direction.
Since each pixel has the size of pixel and 6-bit data can be stored for each pixel, all the 20 pixels belonging to one square store the same value. Pixel counter 6
Is provided with 64 counters so as to correspond to the squares of the window image memory 5 in a one-to-one correspondence. The read data from each pixel of the window image memory 5 is decoded by the counter selector 7, and the pixel counter 6
Of the 64 counters in, the operation of only one counter corresponding to the square to which the pixel belongs is permitted.
The counter permitted to operate counts the number of pixels of "1" in the corresponding grid in the input image. Since these counters operate in synchronization with the image signal, the number of pixels having the pixel value of "1" in one screen is divided into each square and counted in one field period (16.6 msec). The number of pixels having a pixel value of "1" in each square indicates which square area the object is in. Therefore, the count value of each counter after one screen measurement is set to the position. The position of the object can be found by searching the counter having the maximum count value read by the determination means 8. For example, in the position of the object as shown by the broken line in FIG. 3 (a), the maximum count value is "2".
It can be seen that it is located at the position of the grid of 0 ". By repeating this operation, the object can be tracked.

1画面中に複数のオブジェクトが存在する場合でも、時
間的に連続する画面間の位置が最も近いものを同一のオ
ブジェクトとして追跡することが可能である。ただし、
この場合、複数のオブジェクトは互いに重ならないとい
う前提条件が必要である。
Even when there are a plurality of objects in one screen, it is possible to track the objects having the closest temporal positions between the screens as the same object. However,
In this case, the precondition is that multiple objects do not overlap each other.

もし、第3図(b)の破線で示すように、1つのオブジェ
クトの面積がマス目よりも大きく、カウント値が最大値
となるマス目が複数個存在するような場合には、カウン
ト値が最大値となる複数のマス目の位置を平均化するよ
うなソフトウェア処理が必要であるが、この演算は高速
度で行うことができる。
If the area of one object is larger than the square and there are multiple squares with the maximum count value as shown by the broken line in FIG. 3 (b), the count value is Although software processing is required to average the positions of the plurality of cells having the maximum value, this calculation can be performed at high speed.

以上の説明から明らかなように、画像上での追跡対象の
大きさや形状が予測できる場合には、マス目の大きさや
形状は、追跡対象の大きさや形状と略同じに設定するこ
とが好ましい。
As is clear from the above description, when the size and shape of the tracking target on the image can be predicted, it is preferable to set the size and shape of the grid to be substantially the same as the size and shape of the tracking target.

(発明の効果) 本発明は上述のように、画像を複数の流域に分割し、夫
々の領域における変化画素数をカウントするカウンタを
各領域に対応して設けることにより、簡単なハードウェ
ア構成でありながら、各カウンタの値から、画像中のオ
ブジェクトの概略的な位置を知ることができ、また、ハ
ードウェアで構成できることにより、オブジェクトの位
置を実時間で知ることができ、高速度な追跡動作が可能
になるという利点がある。
(Effect of the Invention) As described above, the present invention has a simple hardware configuration by dividing an image into a plurality of watersheds and providing counters for counting the number of changed pixels in each area in correspondence with each area. However, it is possible to know the approximate position of the object in the image from the value of each counter, and because it can be configured by hardware, the position of the object can be known in real time, and high-speed tracking operation is possible. Has the advantage that

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

第1図は本発明の構成を示すブロック図、第2図は同上
のウィンドウ画像メモリと画素カウンタの構成を示す説
明図、第3図は本発明の動作説明図、第4図は従来例の
動作説明図である。 1は撮像手段、2は参照画像メモリ、3は差分手段、4
は2値化手段、5はウィンドウ画像メモリ、6は画素カ
ウンタ、7はカウンタセレクタ、8は位置判定手段であ
る。
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is an explanatory diagram showing the configurations of the window image memory and the pixel counter of the same, FIG. 3 is an operation explanatory diagram of the present invention, and FIG. 4 is a conventional example. FIG. 1 is an image pickup means, 2 is a reference image memory, 3 is a difference means, 4
Is a binarizing means, 5 is a window image memory, 6 is a pixel counter, 7 is a counter selector, and 8 is a position determining means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐竹 禎 大阪府門真市大字門真1048番地 松下電工 株式会社内 (56)参考文献 特開 昭61−177090(JP,A) 特開 昭58−94271(JP,A) 特開 昭56−31286(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Sada Sada, 1048 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Works, Ltd. (56) References JP 61-177090 (JP, A) JP 58-94271 ( JP, A) JP-A-56-31286 (JP, A)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】追跡対象の2値画像を入力する2値画像入
力手段と、複数個のカウンタを含み、前記2値画像が特
定の値となる画素数を指定されたカウンタによりカウン
トする画素カウンタと、画素カウンタに含まれるカウン
タの個数と少なくとも同数個の領域に画像を分割して各
領域毎に異なる値を記憶したウィンドウ画像メモリと、
ウィンドウ画像メモリから読み出した値をデコードして
カウンタを指定するカウンタセレクタと、画素カウンタ
における各カウンタの値を読出して、そのカウント値が
最大となるカウンタを求めることにより追跡対象の位置
を判定する位置判定手段とを備えて成ることを特徴とす
る画像入力型の追跡装置。
1. A pixel counter including a binary image input means for inputting a binary image to be tracked and a plurality of counters, wherein a designated counter counts the number of pixels having a specific value in the binary image. And a window image memory in which an image is divided into at least the same number of areas as the number of counters included in the pixel counter and different values are stored for each area,
A position that determines the position of the tracking target by decoding the value read from the window image memory and specifying the counter, and by reading the value of each counter in the pixel counter and finding the counter with the maximum count value. An image input type tracking device, comprising: a determination means.
【請求項2】前記2値画像入力手段は、入力画像を得る
ための撮像手段と、追跡対象が存在しないときの入力画
像を予め記憶した参照画像メモリと、入力画像と参照画
像とを同一のタイミングで入力して絶対値差分を求める
差分手段と、差分手段の出力を予め設定された閾値で2
値化する2値化手段とから構成されることを特徴とする
特許請求の範囲第1項記載の画像入力型の追跡装置。
2. The binary image input means includes an image pickup means for obtaining an input image, a reference image memory in which an input image when a tracking target does not exist is stored in advance, and the input image and the reference image are the same. The difference means for inputting at the timing to obtain the absolute value difference and the output of the difference means with the preset threshold value are set to 2
The image input type tracking device according to claim 1, characterized in that it comprises a binarizing means for binarizing.
JP62159199A 1987-06-25 1987-06-25 Image input type tracking device Expired - Lifetime JPH0614743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62159199A JPH0614743B2 (en) 1987-06-25 1987-06-25 Image input type tracking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62159199A JPH0614743B2 (en) 1987-06-25 1987-06-25 Image input type tracking device

Publications (2)

Publication Number Publication Date
JPS644187A JPS644187A (en) 1989-01-09
JPH0614743B2 true JPH0614743B2 (en) 1994-02-23

Family

ID=15688489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62159199A Expired - Lifetime JPH0614743B2 (en) 1987-06-25 1987-06-25 Image input type tracking device

Country Status (1)

Country Link
JP (1) JPH0614743B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03162188A (en) * 1989-11-21 1991-07-12 Toko Denki Kk Monitoring device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5933858B2 (en) * 1979-08-22 1984-08-18 三菱電機株式会社 correlation tracking device
JPS5894271A (en) * 1981-11-30 1983-06-04 Matsushita Graphic Commun Syst Inc Contour extracting method of binary picture
JPS61177090A (en) * 1985-01-31 1986-08-08 Fanuc Ltd Formation of binary-coded picture data

Also Published As

Publication number Publication date
JPS644187A (en) 1989-01-09

Similar Documents

Publication Publication Date Title
US4301470A (en) Alignment apparatus
US4493420A (en) Method and apparatus for detecting bounded regions of images, and method and apparatus for sorting articles and detecting flaws
US4570181A (en) Characteristic extracting apparatus
IL109487A (en) Chromakeying system
JPH02281875A (en) Picture processing system and method of thresholding analog video signal
US4979029A (en) Method and systems for scanning and inspecting images
US3674924A (en) Document scanning and display system
US3786479A (en) Video display system
US4460927A (en) Optical reading device for reading an information carrier with motion effect facilities
DE68922384D1 (en) Methods and devices for encoding and storing pixel values and devices for decoding and reproducing a digital image.
JPH0614743B2 (en) Image input type tracking device
JP2517062B2 (en) 3D measuring device
JPH0468986A (en) Moving picture difference detector
JP2001061152A (en) Motion detection method and motion detection device
JP2001025021A (en) Motion detection method and motion detection device
JPH0259976A (en) Block integration processing method
JP3401842B2 (en) Image discontinuity detection method and apparatus
JPS5933858B2 (en) correlation tracking device
JPH011076A (en) Image processing device for real-time center of gravity position detection
JPH04874A (en) Hand blur detection circuit
JPS5927374A (en) Boundary line tracking circuit
JPH04281680A (en) Moving object extraction processing system
JPS6136882A (en) Pattern discriminator
JPH0214387A (en) Plural peak points detecting system
JPS63222205A (en) Image processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 14