JPH0344589A - Method and device for separating multiple target of image - Google Patents

Method and device for separating multiple target of image

Info

Publication number
JPH0344589A
JPH0344589A JP17988889A JP17988889A JPH0344589A JP H0344589 A JPH0344589 A JP H0344589A JP 17988889 A JP17988889 A JP 17988889A JP 17988889 A JP17988889 A JP 17988889A JP H0344589 A JPH0344589 A JP H0344589A
Authority
JP
Japan
Prior art keywords
window
area number
register
area
target
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.)
Granted
Application number
JP17988889A
Other languages
Japanese (ja)
Other versions
JPH0743420B2 (en
Inventor
Okimoto Nakajima
中島 興元
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 Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1179888A priority Critical patent/JPH0743420B2/en
Publication of JPH0344589A publication Critical patent/JPH0344589A/en
Publication of JPH0743420B2 publication Critical patent/JPH0743420B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To enable realization of inexpensive hardware by providing a detecting element which compares the contents of first and second registers and judges the need to rewrite a region number on the basis of comparison. CONSTITUTION:A detecting element 17 receives the content of a window C from a register array 15 through a second register 16, compares it with the content of a window A in a second register 16 and judges the need to rewrite a region number on the basis of comparison. Receiving an instruction on the need to rewrite and data from the detecting element 17, a detecting element 18 checks all pixels stored in the register array 15 and replaces the contents of a pixel which needs to be rewritten. The data on the region number which is turned to be unused by the replacement are sent from the detecting element 17 to a new region number generating element 13 and thereby the region number is made reusable.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は目標を撮像して得られる画像を処理して多目
標を追尾する装置に係り、特に複数個の目標を分離して
番号付けを行う方法およびその装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a device for tracking multiple targets by processing images obtained by capturing images of targets, and particularly relates to a device for tracking multiple targets by separating and numbering multiple targets. The present invention relates to a method and an apparatus for performing the same.

〔従来の技術〕[Conventional technology]

第5図は例えば特開昭59−135379号公報に示さ
れた従来の画像多目標分離方法であり、第5図(a)は
2値化画像の例、第5図(b)は番号付けされた画像の
例、第5図(C)は目標検出窓、第5図(d)は領域番
号検出窓、(1)はラスクー走査で得られる2次元画像
の処理領域、(2)は処理領域(1)の内に2個の目標
が存在する時を仮定した場合の第1の2値化目標、(3
)は第2の2値化目標、(4)は第1の2値化目標に番
号lを番号付けした後の第1の分離目標(5)は第2の
2値化目標に番号2を番号付けした後の第2の分離目標
である。
FIG. 5 shows a conventional image multi-target separation method disclosed in, for example, Japanese Patent Application Laid-Open No. 59-135379. FIG. 5(a) is an example of a binarized image, and FIG. 5(b) is a numbered image. Examples of images that have been processed, Figure 5(C) is the target detection window, Figure 5(d) is the area number detection window, (1) is the processing area of the two-dimensional image obtained by Lasque scan, and (2) is the processing area. Assuming that there are two targets in region (1), the first binarization target is (3
) is the second binarization target, and (4) is the first separation target after assigning the number l to the first binarization target (5) is the second binarization target with number 2. This is the second separation target after numbering.

処理領域(1)の内に存在する複数個の目標(クラッタ
等も含めた意味)に番号付けを行い、連結しない目標に
異なる番号付けを行うことで複数個の目標を分離するわ
けであるが、ここでは、説明の便宜上2個の目標が存在
する場合について1番号付けの方法を説明する。
Multiple targets (including clutter, etc.) existing within processing area (1) are numbered, and targets that are not connected are assigned different numbers to separate the multiple targets. , Here, for convenience of explanation, a method of numbering 1 will be explained for the case where there are two targets.

処理領域(1)内のデータはラスター走査により左上か
ら右下へと順次人力されて来る2値化ビデオ信号である
The data in the processing area (1) is a binary video signal that is manually input sequentially from the upper left to the lower right by raster scanning.

この2値化ビデオ信号内に存在する第1の2値化目標(
2)と第2の2値化目標(3)に番号付けを行っ°て別
の固まりとして識別を行う。データがラスクー走査で左
上から順次人力されて来ると、最初に第1の2値化目v
A(2)が現れるので、この固まりに番号lを付けて第
1の分離目標(4)とし1次に2値化目標(2)が現れ
て来るので番号2を付けて第2の分離目標(5)とする
The first binarization target (
2) and the second binarization target (3) are numbered and identified as separate groups. When the data is manually input sequentially from the upper left using Lascou scan, first the first binarization step v
Since A(2) appears, we assign the number l to this mass and set it as the first separation target (4).As the binarization target (2) appears first, we assign the number 2 and set it as the second separation target. (5).

第5図(C)の第1の窓から第5の窓(図中へからEで
表示し、以下へからEで表す。)を第5図(a)の2値
化画像にかけて、第5の窓のかかった画素の番号付けを
コントロールしていく。そして、第5図(d)の第1の
窓から第5の窓(図中aからeで表示し、以下aからe
で表す。)を第5図(b)の番号付けされた画像にかけ
て、第1の窓のかかった画素の番号を第2の窓から第5
の窓の内から選択して設定する。
Multiplying the first to fifth windows in FIG. 5(C) (indicated by E from beginning to end in the figure and E from beginning to end) in the binarized image of FIG. 5(a), Controls the numbering of pixels covered by the window. Then, from the first window to the fifth window (indicated by a to e in the figure, hereinafter a to e
Expressed as ) is multiplied by the numbered image in Figure 5(b), and the number of the pixel covered by the first window is changed from the second window to the fifth window.
Select and set from the following windows.

例えばAのみが1でB、 C,D、 E がOの場合に
は、第5図(d)の窓のaの画素の番号としてそれまで
に使用されていない新規の番号を取っていく。
For example, if only A is 1 and B, C, D, and E are O, a new number that has not been used before is taken as the number of the pixel a in the window of FIG. 5(d).

への画素が1でB、C,D、E のうちlを取るものが
ある場合には、Aに連結した画素が在り、そこには既に
番号付けがされていることになるので。
If the pixel connected to A is 1 and there is a pixel that takes l among B, C, D, and E, there is a pixel connected to A, and that means that it has already been numbered.

その画素に対応した第5図(C)の窓のす、c、d、e
の内に記憶された番号をaの画素の番号として使用する
。第5図(C)の窓は第5図(a)の2値化画像にかけ
られ、第5図(d)の窓は第5図(d)の番号付けされ
た画像に対して同時にかけられる。
The windows c, d, and e of FIG. 5(C) corresponding to that pixel
The number stored in is used as the pixel number of a. The window of FIG. 5(C) is applied to the binarized image of FIG. 5(a), and the window of FIG. 5(d) is simultaneously applied to the numbered image of FIG. 5(d). .

このようにして2個の目標は第1の分離目標(4)と第
2の分離目標(5)の如く番ぢ付けは終了するわけであ
る。
In this way, the two targets are numbered as the first separation target (4) and the second separation target (5).

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

従来の画像多目標分離方法は1以上のように窓が5個よ
り構成されているので、目標の形状によっては分離する
ことが出来ず同一の番号付けになるものがあった。これ
を図により説明する。
Since the conventional image multi-target separation method consists of five windows (one or more), some targets cannot be separated depending on their shape and are given the same number. This will be explained using a diagram.

第4図は従来の窓による番号付けの問題点を説明する図
であり、第4図(a)は従来発明による番号付けによる
結果を示す図であり、第41M(b)はこの発明で行い
たい番号付けの結果を示す図である。
FIG. 4 is a diagram explaining the problem of numbering using the conventional window, FIG. 4(a) is a diagram showing the result of numbering according to the conventional invention, and FIG. FIG. 3 is a diagram showing the result of desired numbering.

目標が第4図のように斜め方向に一点で接する目標を同
一物として番号付けするか、他の物とじて別の番号付け
を行うようにするかに関するが、用途においては、どち
らの方法も意味はあるが、従来の方法では、第4図(a
)のように同一番号としてしか番号付けを行うことがで
きず、第4図(b)のように別の目標としての番号付け
が困難であった。
This concerns whether targets that touch each other diagonally at one point as shown in Figure 4 should be numbered as the same object, or different objects should be numbered differently. Although it makes sense, in the conventional method, Fig. 4 (a
), it was possible to number only the same number, and it was difficult to number different targets as shown in FIG. 4(b).

この発明は、上記の課題を解消するためになされたもの
で、斜め方向に一点で接する目標を他の目標としての番
号付けを可能にするとともに、実現する論理及びハード
ウェア等を簡略化できる方法とその装置を得ることを目
的とする。
This invention was made in order to solve the above-mentioned problems, and is a method that makes it possible to number targets that touch each other at one point in a diagonal direction as other targets, as well as simplifying the logic and hardware for realizing it. and its equipment.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る画像多目標分離方法およびその装置は、
ラスター走査のビデオ信号を2値化して領域番号付けと
番号付けされた番号の書換えを。
The image multi-target separation method and device according to the present invention include:
Binarize raster scan video signals, assign area numbers, and rewrite the assigned numbers.

第1の窓を中心にして左側に第2の窓を、真上に第3の
窓を配置した。第1の窓から第3の窓を使用して、斜め
方向に一点で接する目標に別の番号付けを行えるように
したものである。
A second window was placed on the left side of the first window, and a third window was placed directly above it. Using the first to third windows, it is possible to assign different numbers to targets that are in contact with each other at one point in the diagonal direction.

〔作用〕[Effect]

この発明における第1の窓から第3の窓の配置により、
第1の窓の左斜め上及び右斜め上の窓を廃止することに
より、斜め方向に接する目標に別の番号付けが可能にな
ると共に、窓の数が従来の5個から3個になるために、
この発明の方法を実現する回路が簡単になる。
Due to the arrangement of the first to third windows in this invention,
By eliminating the windows diagonally above the left and above the first window, it becomes possible to assign different numbers to the targets that are in contact with the diagonal direction, and the number of windows is reduced from the previous 5 to 3. To,
The circuit implementing the method of this invention is simplified.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、第1図(a)は目標検出窓、第1図(6)
は領域番号検出窓であり、目標検出の第1の窓から第3
の窓(図中AからCで表示し、以下AからCで表す)と
領域番号検出の第1の窓から第3の窓(図中aからCで
表示し、以下aからCで表す)は各々の配置関係は第1
図の通りである。第1の窓と第2の窓は従来方法と同じ
働きを行い。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, Fig. 1(a) is the target detection window, Fig. 1(6)
is the area number detection window, from the first window to the third window for target detection.
window (indicated by A to C in the figure, hereinafter referred to as A to C) and the first to third windows for area number detection (indicated by a to C in the figure, hereinafter denoted by a to C). The arrangement relationship of each is the first
As shown in the figure. The first window and the second window perform the same function as in the conventional method.

第3の窓は従来方法の第4の窓と第5の窓の働きを兼用
させるものである。目標に対する最初の番号付は方法は
従来の方法と同じであるが、実際には1個の目標の内で
も凹凸が多い目標では異なった番号付けが行われること
になるが、これらを解決する詳細な方法について第2図
を用いて説明する。
The third window serves as the fourth window and the fifth window in the conventional method. The initial numbering method for targets is the same as the conventional method, but in reality, targets with many irregularities will be numbered differently, but the details to solve this problem are as follows. This method will be explained using FIG.

第2図は1つの目標に1個の番号付けを行う方法を説明
するための図であり、第2図(a)は2値化画像に目標
検出窓をかけた状態を説明するための図、第2図(b)
は番号付けされた画像に領域番号検出窓をかけた状態を
説明するための図、(6)は領域番号1を最初に命名す
る番号1スタ一ト点、(7)は領域番号2を最初に命名
する番号2スタ一ト点。
Figure 2 is a diagram for explaining the method of assigning one number to one target, and Figure 2 (a) is a diagram for explaining a state in which a target detection window is applied to a binarized image. , Figure 2(b)
is a diagram to explain the state in which the area number detection window is applied to the numbered image, (6) is the number 1 start point where area number 1 is named first, and (7) is the number 1 start point where area number 2 is named first. Number 2 starting point to name.

(8)は目標検出窓の白文字Aで示される画素以前の水
平走査線1947分の情報を記憶しておく領域番号コン
トロールレジスタの内容、(9)は領域番号検出窓の白
文字aで示される画素以前の水平走査線1947分の情
報を記憶しておく領域番号・ラインレジスタの内容、 
(10)は同一目標に番号lと番号2が付けられていた
ことに気付き一方の番号を他方に置換する必要が出てく
る番号書換必要点(11)は1個の目標に番号付けを完
了したことを検出する領域終了検出点である。
(8) is the content of the area number control register that stores information for 1947 horizontal scanning lines before the pixel indicated by the white letter A in the target detection window, and (9) is indicated by the white letter a in the area number detection window. Area number and line register contents that store information for 1947 horizontal scanning lines before the pixel to be displayed,
(10) notices that the same target was given numbers l and 2, and it becomes necessary to replace one number with the other.Number rewriting required point (11) completes numbering one target. This is the area end detection point that detects what has happened.

目標検出窓の八で表される点が現時点の画素でBは1画
素分過去の画素であり、CJ、tAの画素のl水平線分
過去の画素であり、AからCまでの画素は各々の相対位
置を固定した関係で画面の左上から順次右下へ移動して
いく訳であるが、第2図(a)ではそのl水平線期間中
左から右へ移動していく途中を示している。又、領域検
出窓についても、目標検出窓と同様の動きをする。目標
検出窓と領域検出窓は画面−ヒの相対応する画素を同時
に移動していく。
The point represented by 8 in the target detection window is the current pixel, B is the pixel one pixel past, the pixel CJ, is the pixel l horizontal line past the pixel tA, and the pixels A to C are each pixel. While the relative position is fixed, it sequentially moves from the upper left to the lower right of the screen, and FIG. 2(a) shows the movement from left to right during the l horizontal line period. Furthermore, the area detection window also moves in the same way as the target detection window. The target detection window and the area detection window simultaneously move corresponding pixels on the screen.

領域番号の書込みと書換えをコントロールするのは、2
値化画像の値を見て判断し、目標検出のA−Cの3個の
窓の値によってコントロールされる。
2 controls writing and rewriting of area numbers.
It is determined by looking at the value of the digitized image, and is controlled by the values of the three windows A to C for target detection.

領域番号検出窓のす、Cの2個の窓の値によってaの窓
の値を決定していく。
The value of the window a is determined based on the values of the two windows (su and C) of the area number detection window.

番号付けの論理は下記の(1)〜(5)式で表現される
The logic of numbering is expressed by the following equations (1) to (5).

F (A)= 0 →f (a )= O−(1)F(
A)AF(B)八F(C)−1→f(a)=n   −
=(2)F (A)A F (B)A F (C)= 
1→「(a)−f(b) −(3)F (A )A F
 (B)′″A F(C)=1−+r(a)−f(C)
 −(4)F(八)A F (B)八F (C)−1→
「(a)= r(b) −(5)(5)式が成立した時 f (x)−f (c)→f (x)= f (a) 
   ・・(6)ここでF(A)は目標検出窓Aにおけ
る領域番号コントロールレジスタの内容(8)であり0
又はlの値をとる。(F (B)、 F (C)も同様
である)nは領域番号を表し、正の整数である。
F (A) = 0 → f (a) = O-(1)F(
A) AF (B) 8F (C) -1 → f (a) = n -
=(2)F (A)A F (B)A F (C)=
1 → “(a)-f(b)-(3)F (A)A F
(B)′″A F(C)=1−+r(a)−f(C)
-(4)F(8)A F (B)8F (C)-1→
``(a) = r(b) - (5) When formula (5) holds, f (x) - f (c) → f (x) = f (a)
...(6) Here, F(A) is the content (8) of the area number control register in target detection window A and is 0.
Or take the value of l. (The same applies to F (B) and F (C)) n represents an area number and is a positive integer.

](a)は領域検出窓aにおける領域番号ラインレジス
タの内容(9)であり 0からnまでの値をとりn=0
は領域の無いことを表す。
](a) is the content (9) of the area number line register in area detection window a, taking values from 0 to n, n = 0.
represents no area.

また、f(x)は領域番号ラインレジスタの内容〈9〉
である。
Also, f(x) is the content of the area number line register <9>
It is.

目標検出窓と領域検出窓(以下窓と呼ぶ)が画面上の目
標の無い所では(1)式で表現されるように領域番号は
Oを書き込む。窓が番号lのスタート点(6)に来た時
は、(2)式で表されるように、領域番号としてlを付
ける。次に窓が1画素進んだ点ではF (A)とF (
B)の値のみがlでF (C)がOであるから、(3)
式で表されるようにf (b)の値lをf(a)に割り
付ける。窓が番号2のスタート点(7)に来るとF(A
)ノミがl テF (B)、 F (C)がoであるか
ら(2)式により番号をf (a)に割り付けるが2番
号lは既に使用されているので番号2を新規に採用する
。領域番号を制御するために第2図(a)の斜線部のよ
うに、領域番号コントロールレジスタの内容(8)の如
く、目標の存在する領域では1を−その他の所ではOを
記憶しておく。同様に領域番号付けされた画像に関して
も第2図(b)の斜線部の如くl水平ライン上の各画素
の領域番号を領域番号ラインレジスタの内容(9〉とし
て記憶しておく。
In the target detection window and area detection window (hereinafter referred to as window) where there is no target on the screen, an area number O is written as expressed by equation (1). When the window reaches the starting point (6) with number l, l is added as the area number, as expressed by equation (2). Next, at the point where the window advances by one pixel, F (A) and F (
Since only the value of B) is l and F (C) is O, (3)
Assign the value l of f(b) to f(a) as expressed by the equation. When the window comes to the starting point of number 2 (7), F(A
) Since the chisel is l TeF (B) and F (C) are o, we assign a number to f (a) using formula (2), but since 2 number l is already in use, number 2 is newly adopted. . In order to control the area number, as shown in the shaded area in Fig. 2(a), as shown in the area number control register contents (8), 1 is stored in the area where the target exists and O is stored in other areas. put. Similarly, regarding the area numbered image, the area number of each pixel on one horizontal line is stored as the content (9>) of the area number line register, as shown by the hatched area in FIG. 2(b).

窓が番号書換必要点(10)の点に来ると窓3 % (
の内に領域番号lと領域番号2が混在して来る。
When the window reaches the number rewriting required point (10), the window 3% (
Area number 1 and area number 2 are mixed in the area.

この場合は、  F (A)−F (C)= F (B
)−1であるから(5)式に従ってf(b)=2の値を
f (a)に書き込み、(6)式に従ってf (C)の
値1と等しいf(x)(領域番号ラインレジスタの内容
(9)) の全てをf (a)の値2で置換える。この
後は番号Iは未使用の番号として空き番号レジスタに記
憶され新規番号付けを行う時には空き番号レジスタの内
容を調べ、空き番号が存在する場合は新規番号に優先さ
せて使用する。
In this case, F (A) - F (C) = F (B
) - 1, write the value f(b) = 2 to f (a) according to equation (5), and write the value f (x) (area number line register) equal to the value 1 of f (C) according to equation (6). Replace all of the contents (9)) with the value 2 of f (a). After this, the number I is stored as an unused number in the vacant number register, and when assigning a new number, the contents of the vacant number register are checked, and if a vacant number exists, it is used with priority over the new number.

領域終了検出点(11)において、領域が終了したこと
を判断するわけであるが、この方法は、前ラインで使用
された領域番号にフラグを立てておき今回ラインで使用
された領域番号のフラグを比較することにより判断する
At the region end detection point (11), it is determined that the region has ended.This method sets a flag for the region number used in the previous line, and then sets a flag for the region number used in the current line. Judgment is made by comparing.

第2図(b)の場合は前回ラインで使用していた領域番
号は2のみであり、今回ラインで使用した領域番号は0
であるため、領域番号2で番号付けされた領域の番号付
けが終了したことになる。
In the case of Figure 2 (b), the area number used in the previous line is only 2, and the area number used in the current line is 0.
Therefore, the numbering of the area numbered with area number 2 has been completed.

次にこの発明の一実施例について説明する。Next, one embodiment of the present invention will be described.

第3図において、 (+2)は多値ビデオ信号を受は取
り、2値化した後の2値画像により目標の有無によって
領域番号付けを制御する領域番号コントロール部、 (
13)は窓穴に目標が存在して周囲に同標が無く新しい
番号付けが必要になった時に使用する新領域番号発生部
、 (+4)は窓aの画素の領域番号を記憶しておく第
1のレジスタ、 (15)は窓aより過去の1水平走査
線分の領域番号を記憶しておくレジスタ列、 (16)
は領域番号の置換え判断用として使用するための第2の
レジスタ、 (+7)は1つの目標に2種以上の領域番
号付けを行った場合にIMの番号に置換する必要がある
が、その要否を判断するための書換要否検出部、 (+
8)は領域番号の書換えの必要が生じた場合にレジスタ
列(15)の内容の内に書換え必要な領域番号と同一の
領域番号を捜索する領域番号書換検出部、09)は目標
に領域番号付けを完了したことを検出するための領域終
了検出部である。
In FIG. 3, (+2) is an area number control unit that receives and receives a multilevel video signal and controls area numbering depending on the presence or absence of a target using a binary image after binarization; (
13) is a new area number generator that is used when a target exists in a window hole and there are no similar marks around it and a new numbering is required. (+4) stores the area number of the pixel in window a. The first register, (15) is a register string that stores the area number of one horizontal scanning line past window a, (16)
is the second register used to determine the replacement of the area number, and (+7) needs to be replaced with the IM number when two or more types of area numbers are assigned to one target, but the key points are A rewriting necessity detection unit for determining whether rewriting is necessary or not, (+
8) is an area number rewrite detection unit that searches for an area number that is the same as the area number that needs to be rewritten in the contents of the register column (15) when it is necessary to rewrite an area number, and 09) is an area number rewrite detection unit that searches for an area number that is the same as the area number that needs to be rewritten. This is an area end detection unit for detecting that attachment has been completed.

多値ビデオ信号を受は取った領域番号コントロール部(
+2)では、スレッショルドにより2値化されたビデオ
信号は領域番号コントロールレジス)の内容(8)とし
て記憶され、これに目標検出窓A〜Eをかけて、(1)
〜(5)式の論理に従って領域番号付けをフントロール
する。(2)式を満足する画素では新規番号を付ける必
要があるので、領域番号コントロール部(12)から新
領域番号発生部(13)へ指令を出して、新しい領域番
号を発生させて、第1のレジスタ(14)に転送し記憶
すると共に、第1のレジスタ(14)を経由して、レジ
スタ列(+5)に記憶すると共に、領域終了検出部(1
9)へ送り、領域終了を検出するためのフラグを立てる
The area number control unit (
+2), the video signal binarized by the threshold is stored as the content (8) of the area number control register), and is multiplied by the target detection windows A to E to obtain (1).
The area numbering is controlled according to the logic of formula (5). Since it is necessary to assign a new number to a pixel that satisfies formula (2), a command is issued from the area number control unit (12) to the new area number generation unit (13) to generate a new area number. At the same time, it is transferred to the register (14) of
9) and sets a flag to detect the end of the area.

第1のレジスタ(14)は窓b −eの内容をレジスタ
列(15〉から受けて必要な1個のデータを選択して窓
aの内容として記憶する。
The first register (14) receives the contents of windows b-e from the register array (15>), selects one necessary piece of data, and stores it as the contents of window a.

書換要否検出部(17)は窓(C)の内容をレジスタ列
(+5)から第2のレジスタ(16)を経由して受け。
The rewriting necessity detection unit (17) receives the contents of the window (C) from the register row (+5) via the second register (16).

第1のレジスタからの窓aの内容を比較することにより
、領域番号の書換の必要性を判断する。
By comparing the contents of window a from the first register, it is determined whether the area number needs to be rewritten.

領域番号書換検出部(18)は書換要否検出部から書換
要否の指令とデータを受けて、レジスタ列に記憶されて
いる全画素を観て、書換えの必要な画素の内容を置換え
る。領域番号書換検出部(+8)はレジスタ列(15)
に記憶された領域番号の内容を1画素相当ずつ高速で呼
び出し、窓(C)の領域番号と等しいものを捜し窓aの
領域番号で置換えて行く。置換えに要求される時間は1
ライン分全てを画情りの1画素に当たる時間である。
The area number rewriting detecting section (18) receives a rewriting necessity instruction and data from the rewriting necessity detecting section, looks at all pixels stored in the register string, and replaces the contents of the pixels that need to be rewritten. Area number rewriting detection unit (+8) is register string (15)
The contents of the area numbers stored in are called out one pixel at a time at high speed, and the area number equal to the area number of window (C) is replaced with the area number of search window a. The time required for replacement is 1
This is the time when the entire line corresponds to one pixel of image quality.

領域番号の置換えにより未使用になった領域番号のデー
タを、書換要否検出部(17)から新領域番号発生部(
13)へ送り、その領域番号を再使用可能にする。同時
に、未使用領域番号のデータを領域終了検出部(19)
へ送り、領域番号フラグの変更を行う。領域終了検出部
(+9)では水平線の終わりの時間、つまり画面の右端
に来ると、現在のラインで使用された領域番号のフラグ
と前ラインで使用された領域番号のフラグを比較して、
未使用になっている領域番号が存在するかどうかを検出
する未使用になった領域番号の目標が番号付けを完了し
たことを領域終了検出点(11)で判り、外部へその情
報を送る。
The data of the area number that has become unused due to the area number replacement is transferred from the rewriting necessity detection unit (17) to the new area number generation unit (
13) to make the area number reusable. At the same time, the data of the unused area number is sent to the area end detection unit (19).
, and change the area number flag. The area end detection unit (+9) compares the area number flag used in the current line with the area number flag used in the previous line at the end of the horizontal line, that is, at the right edge of the screen.
A region end detection point (11) detects whether or not there is an unused region number.It is determined at the region end detection point (11) that the target numbering of the unused region number has been completed, and the information is sent to the outside.

以上で領域分割のための領域の番号付けについて説明し
たが、これを多目標追尾装置等に組み込む場合は、領域
の番号付けの情報を各領域毎の特徴パラメータ(面積、
最大ビデオレベル、最大ビデオレベルの座標1重心座標
、縦横長さ等)の算出部へ送ると同時に1番号の置換え
が生じた場合には特徴パラメータの算出部においても、
領域番号毎のデータを置換えるように制御する。
The numbering of regions for region division has been explained above, but when incorporating this into a multi-target tracking device etc.
If the number 1 is replaced at the same time as the maximum video level, the coordinates of the maximum video level (coordinates of the center of gravity, vertical and horizontal length, etc.), the feature parameter calculation section also sends the data to the calculation section.
Controls to replace data for each area number.

そして、領域終了が検出されると、その終了した番号が
付けられていた目標の特徴パラメータが最終的な値にな
り、追尾目標の選択や追尾点の情報として使用される。
Then, when the end of the region is detected, the characteristic parameters of the target to which the end number has been assigned become the final values, and are used as information on the selection of the tracking target and the tracking point.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明の画像多目標分離回路を使用すれ
ば斜め方向に接する目標にも別の番号付けが可能になる
と共に、窓の構成が少ないので安価なハードウェアが実
現可能となり、複数個の目標でも同時に追尾可能な火器
管制装置やミサイル誘導装置が実現可能となり、又、複
数個の形状を実時間で測定したり理解する装置への応用
が考えられ、その効果は大きい。
As described above, by using the image multi-target separation circuit of the present invention, it is possible to assign different numbers to targets that are in contact with each other in diagonal directions, and since the number of window configurations is small, it is possible to realize inexpensive hardware. It has become possible to create a fire control system and a missile guidance system that can track multiple targets at the same time, and it can also be applied to devices that measure and understand multiple shapes in real time, which would have great effects.

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

第1図はこの発明の窓の関係を説明する図、第2図は1
つの目標に1個の番号付けを行う方法を説明するための
図、第3図はこの発明の一実施例を説明するための図、
第4図は従来発明の窓による番号付けの問題点を説明す
る図、第5図は従来の方法を説明するための図であり、
(1)は処理領域(2)は第1の2値化目標、(3)は
第2の2値化目標(4)は第1の分離目標、(5)は第
2の分離目標、(6)は番号lのスタート点、(7〉は
番号2のスタート点(8)は領域番号コントロールレジ
スタの内容、(9)は領域番号ラインレジスタの内容、
 (10)は番号書換必要点、 (11)は領域終了検
出点、(12)は領域番号コントロール部、(+3)は
新領域番号発生部、 (14)は第1のレジスタ、(1
5)はレジスタ列、(16)は第2のレジスタ、(17
)は書換要否検出部、 (1g)は領域゛番号書換検出
部、(19)は領域終了検出部である。 なお図中、同一あるいは相当部分には同一符号を付して
示しである。
Figure 1 is a diagram explaining the relationship between the windows of this invention, and Figure 2 is a diagram illustrating the relationship between the windows of this invention.
A diagram for explaining a method of assigning one number to one target; FIG. 3 is a diagram for explaining an embodiment of the present invention;
FIG. 4 is a diagram for explaining the problem of numbering using windows in the conventional invention, and FIG. 5 is a diagram for explaining the conventional method.
(1) is the processing area (2) is the first binarization target, (3) is the second binarization target, (4) is the first separation target, (5) is the second separation target, ( 6) is the start point of number l, (7> is the start point of number 2, (8) is the content of the area number control register, (9) is the content of the area number line register,
(10) is the number rewriting required point, (11) is the area end detection point, (12) is the area number control section, (+3) is the new area number generation section, (14) is the first register, (1
5) is the register string, (16) is the second register, (17
) is a rewriting necessity detection section, (1g) is an area number rewriting detection section, and (19) is an area end detection section. In the drawings, the same or corresponding parts are designated by the same reference numerals.

Claims (2)

【特許請求の範囲】[Claims] (1)撮影像機、ビデオ再生装置等から得られるラスタ
ー走査のビデオ信号を2値化して領域番号をコントロー
ルするためにレジスタに記憶し第1の窓を中心にして左
側に第2の窓を、真上に第3の窓の位置関係に配置され
た第1の窓から第3の窓を使用して、画面内の複数個の
目標を番号付けすることにより互いに分離することを実
時間で行うようにしたことを特徴とする画像多目標分離
方法。
(1) A raster scanning video signal obtained from a camera, video playback device, etc. is binarized and stored in a register to control the area number, and a second window is opened on the left side with the first window in the center. In real time, multiple targets in the screen are separated from each other by numbering using the first to third windows arranged in the positional relationship of the third window directly above. An image multi-object separation method characterized by:
(2)第1の窓を中心にして左側に第2の窓を、真上に
第3の窓の位置関係に配置された第1の窓から第3の窓
を使用して目標を抽出するために、番号付けをコントロ
ールする領域番号コントロール部、上記領域番号コント
ロール部からの指令により、第1の窓に書き込む領域番
号の内容を選択し記憶する第1のレジスタと、前記第1
のレジスタからの領域番号を1水平走査線の間記憶する
レジスタ列と、前記レジスタ列からの第3の窓の領域番
号の内容を記憶する第2のレジスタと、上記第1のレジ
スタと第2のレジスタからの内容を比較して領域番号の
書換えの要否を判断する書換要否検出部と、前記書換要
否検出部からの指令を受けて、上記レジスタ列の内容を
第3の窓の値と等しい画素を全て置換える領域番号書換
検出部と、目標の番号付けの終了したことを検出する領
域終了検出部とを具備したことを特徴とする画像多目標
分離装置。
(2) Extract the target using the third window from the first window, which is arranged in a positional relationship with the second window on the left side and the third window directly above the first window. an area number control section that controls numbering; a first register that selects and stores the contents of an area number to be written in the first window according to a command from the area number control section;
a register column for storing the area number from the register for one horizontal scanning line; a second register for storing the contents of the area number of the third window from the register column; A rewriting necessity detection unit compares the contents from the registers and determines whether or not the area number needs to be rewritten, and upon receiving a command from the rewriting necessity detection unit, the contents of the register row are transferred to the third window. An image multi-target separation device comprising: an area number rewriting detection unit that replaces all pixels having the same value; and an area end detection unit that detects completion of target numbering.
JP1179888A 1989-07-12 1989-07-12 Image multi-target separation device Expired - Fee Related JPH0743420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1179888A JPH0743420B2 (en) 1989-07-12 1989-07-12 Image multi-target separation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1179888A JPH0743420B2 (en) 1989-07-12 1989-07-12 Image multi-target separation device

Publications (2)

Publication Number Publication Date
JPH0344589A true JPH0344589A (en) 1991-02-26
JPH0743420B2 JPH0743420B2 (en) 1995-05-15

Family

ID=16073653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1179888A Expired - Fee Related JPH0743420B2 (en) 1989-07-12 1989-07-12 Image multi-target separation device

Country Status (1)

Country Link
JP (1) JPH0743420B2 (en)

Also Published As

Publication number Publication date
JPH0743420B2 (en) 1995-05-15

Similar Documents

Publication Publication Date Title
US4277783A (en) Light pen tracking method and apparatus
JPS6042990B2 (en) Pattern recognition method
JPS641792B2 (en)
JP3237975B2 (en) Image processing device
JP2001043383A (en) Image monitoring system
JPH0344589A (en) Method and device for separating multiple target of image
JPS6033352B2 (en) Image target tracking device
US4011546A (en) Display apparatus
JPS5855549B2 (en) I&#39;m not sure what to do.
US5532843A (en) Parallel processing apparatus based on arbitrary determination of processing areas of image data
JPS59135379A (en) Image multiple-object separating circuit
JP2931709B2 (en) Traveling vehicle detection device
JP2945945B2 (en) Electron beam device and image acquisition method thereof
JPH02123877A (en) Automatic tracking device for mobile object
JPS6325784A (en) Computer graphics method and apparatus
JP3108595B2 (en) Line labeling equipment
JPH0129643Y2 (en)
JPS59148975A (en) Editing device of pattern
JPS6250973A (en) Pattern discriminating device
JPS63301374A (en) Vanishing method for background of image
JPH0424749B2 (en)
JPH077666A (en) Object extracting device
SU1144128A1 (en) Device for reading coordinates from crt screen
JPS61178603A (en) Profile extraction in image processing
JPS60257486A (en) Display controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees