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
JPS5842902B2 - Specific pattern extraction device - Google Patents
[go: Go Back, main page]

JPS5842902B2 - Specific pattern extraction device - Google Patents

Specific pattern extraction device

Info

Publication number
JPS5842902B2
JPS5842902B2 JP51005989A JP598976A JPS5842902B2 JP S5842902 B2 JPS5842902 B2 JP S5842902B2 JP 51005989 A JP51005989 A JP 51005989A JP 598976 A JP598976 A JP 598976A JP S5842902 B2 JPS5842902 B2 JP S5842902B2
Authority
JP
Japan
Prior art keywords
pattern
specific pattern
partial
similarity
circuit
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
Application number
JP51005989A
Other languages
Japanese (ja)
Other versions
JPS5290235A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP51005989A priority Critical patent/JPS5842902B2/en
Publication of JPS5290235A publication Critical patent/JPS5290235A/en
Publication of JPS5842902B2 publication Critical patent/JPS5842902B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は複雑な映像の中から特定パターンを抽出し、映
像中のその位置を求める装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an apparatus for extracting a specific pattern from a complex image and determining its position in the image.

従来の特定パターン抽出装置は、映像信号を処理対象(
以下対象パターンという)とし、その一部分(以下部分
パターンという)を逐次取出して標準パターンとの類似
度を調べ、これがあらかじめ設定した値以上の場合に取
出した部分パターンが特定パターンであると判定し、こ
のとき対象パターンにおける部分パターンの位置を求め
るものがほとんどであった。
Conventional specific pattern extraction devices convert video signals into processing targets (
(hereinafter referred to as the target pattern), one part of the pattern (hereinafter referred to as the partial pattern) is sequentially extracted, the degree of similarity with the standard pattern is examined, and if this is greater than a preset value, the extracted partial pattern is determined to be a specific pattern, At this time, most of the methods find the position of a partial pattern in the target pattern.

しかし上記の方式では、対象パターンの微小な形状変化
に対しても検出能力がおちるという欠点があった。
However, the above-mentioned method has a drawback in that the detection ability deteriorates even for minute changes in the shape of the target pattern.

微小な形状変化とは、例えば、円が特定パターンの場合
には大きさが変わったり、だ円になるようなことであう
、このようなことは映像では、撮像装置と被撮像物との
距離変化や撮像する方向によって、しばしば生ずること
である。
A minute change in shape means, for example, when a circle has a specific pattern, it changes size or becomes an ellipse. This often occurs depending on the direction of image capture.

本発明の目的は、上記従来例に示すごとき標準パターン
を用いず、パターンの対称性に着目して円やだ円のごと
き特定パターンを検出し、その位置を求めることを特徴
とする特定パターン抽出装置を提供することにある。
An object of the present invention is to detect a specific pattern such as a circle or an ellipse by focusing on the symmetry of the pattern, without using the standard pattern shown in the conventional example, and to find the position of the specific pattern extraction. The goal is to provide equipment.

この目的を達成するために、本発明の装置の基本構成を
、2値化し離散化した映像信号を対象パターンとして入
力する第1の手段と、上記対象パターンから所定の2次
元的部分パターンを順次切出す第2の手段と、上記部分
パターンの点対称度を求める第3の手段と、部分パター
ンが特定パターンと類似するかどうかを判定する第4の
手段と、上記判定結果を用いて対象パターン内における
特定パターンの存在位置を決定する第5の手段と、から
構成する。
In order to achieve this object, the basic configuration of the device of the present invention includes a first means for inputting a binarized and discretized video signal as a target pattern, and a predetermined two-dimensional partial pattern sequentially from the target pattern. a second means for extracting, a third means for determining the degree of point symmetry of the partial pattern, a fourth means for determining whether the partial pattern is similar to a specific pattern, and a second means for determining the point symmetry of the partial pattern; and a fifth means for determining the location of the specific pattern within.

また必要に応じて、部分パターンと特定パターンとの中
心付近の類似度を求める第6の手段と、第6の手段の結
果と前記第3の手段の結果との総合判定により部分パタ
ーンが特定パターンに類似するかどうかを判定する第4
の手段とから構成する。
Further, if necessary, a sixth means for determining the degree of similarity near the center between the partial pattern and the specific pattern, and a comprehensive judgment of the result of the sixth means and the result of the third means, determine whether the partial pattern is the specific pattern. The fourth step is to determine whether it is similar to
and the means of

筐た必要に応じて、部分パターンと特定パターンとの周
辺の類似度を求める第7の手段と、第7の手段の結果と
前記第3の手段の結果と前記第6の手段の結果との総合
判定により部分パターンが特定パターンに類似するかど
うかを判定する第4の手段とから構成する。
a seventh means for determining the peripheral similarity between the partial pattern and the specific pattern, and combining the result of the seventh means, the result of the third means, and the result of the sixth means, as necessary. and fourth means for determining whether the partial pattern is similar to the specific pattern by comprehensive determination.

対象パターンというのは第1図に示すような2次元的に
離散化され、各離散化された絵素が論理的“0“または
“1“の2値をとり、認識対象となる特定パターンある
いはそれ以外のパターンが含壕れているものである。
The target pattern is two-dimensionally discretized as shown in Figure 1, and each discretized picture element takes a logical binary value of "0" or "1", and is a specific pattern to be recognized or It contains other patterns.

ここで説明の簡単化のために、対象パターンは通常“0
“とじ、この中に特定パターンあるいはそれ以外のパタ
ーンが“1“とじて存在することとする。
Here, to simplify the explanation, the target pattern is usually “0”.
It is assumed that a specific pattern or other pattern exists in this pattern as "1".

このような対象パターンは、たとえばTVカメラのごと
き撮像装置から順次出力される時系列信号に対してあら
かじめ決めた量以上のレベルでは“1“、未満のレベル
では“0“というような2値化処理と、周期的なサンプ
リングによる離散化処理とを、全映像信号について実施
することにより求めることができる。
Such a target pattern is, for example, a binary conversion method that converts time-series signals sequentially output from an imaging device such as a TV camera into "1" if the level exceeds a predetermined amount, and "0" if the level is less than a predetermined amount. This can be determined by performing the processing and discretization processing by periodic sampling on all video signals.

ここで特定パターンとは、対象パターンに含1れる検出
すべきパターンである。
Here, the specific pattern is a pattern to be detected that is included in the target pattern.

本発明の場合には点対称形状であることが条件となって
いるが、サイズや形状は一種類に限定されるものではな
く、たとえば円を特定パターンとするときだ円をもこの
範囲に含むこととし、大きさもある範囲内にあるものを
すべて含むように決めるものである。
In the case of the present invention, the condition is that the shape is point symmetrical, but the size and shape are not limited to one type, and for example, when a circle is used as a specific pattern, an ellipse is also included in this range. The size is also determined to include everything within a certain range.

部分パターンとは、第2の手段によって対象パターンの
一部分を2次元的に切出すようにした絵素情報群である
The partial pattern is a group of picture element information obtained by cutting out a part of the target pattern two-dimensionally by the second means.

第2の手段の具体的な実現方法については特願昭46−
92433号(特公昭51−12492号)に詳しいの
でこれを参照されたい。
Regarding the concrete implementation method of the second means, please refer to the patent application filed in 1973.
Please refer to No. 92433 (Japanese Patent Publication No. 12492/1983) for details.

第2図aに示したのは円やだ円を検出するための部分パ
ターンの例で、10XIO絵素の場合を示している。
FIG. 2a shows an example of a partial pattern for detecting a circle or an ellipse, and shows the case of 10XIO picture elements.

このように部分パターンの中心点を「基準点」と呼び、
この基準点をもとに部分パターンの位置を表わすように
約束する。
In this way, the center point of the partial pattern is called the "reference point",
It is promised that the position of the partial pattern will be expressed based on this reference point.

つぎに部分パターンが特定パターンであるかどうかを判
定するための点対称度、類似度を求める第3、第6、第
7の手段について説明する。
Next, third, sixth, and seventh means for determining point symmetry and similarity for determining whether a partial pattern is a specific pattern will be explained.

1ず部分パターンの中心付近の類似度を求める第6の手
段について述べる。
1. A sixth means for determining the degree of similarity near the center of a partial pattern will be described.

これは基準点付近に「中心領域」を設けておき、この中
心領域における特定パターンとの類似度であり、たとえ
ばこの中心領域の“1“の絵素数Mlたは“0“の絵素
数M’)を求めることである。
This is the degree of similarity with a specific pattern in a "central region" set near a reference point, for example, the number of picture elements Ml of "1" or the number of picture elements M' of "0" in this central region. ).

第2図すに示したのは第2図aの部分パターン内の2×
2絵素を中心領域とした例である。
Figure 2 shows the 2× in the partial pattern of Figure 2 a.
This is an example in which two picture elements are used as the central region.

つぎに部分パターンの周辺の類似度を求める第7の手段
について述べる。
Next, a seventh means for determining the degree of similarity around a partial pattern will be described.

これは基準点周辺に「周辺領域」を設けておき、この周
辺領域における特定パターンとの類似度であり、たとえ
ばこの周辺領域の“0“の絵素数N(または“1“′の
絵素数N’)を求めることである。
This is the degree of similarity between a "peripheral area" set up around the reference point and a specific pattern in this surrounding area.For example, the number of picture elements "0" (N ').

第2図Cに示したのは第2図aの部分パターン内の40
絵素を周辺絵素とした例である。
Figure 2C shows 40 in the partial pattern of Figure 2A.
This is an example in which a picture element is a peripheral picture element.

第3の手段で用いる点対称度とは、部分パターンの基準
点を原点とした点対称関係にある絵素同志を比較した際
に得られる一致の絵素対数L(−Iたは不一致の絵素数
L’)である。
The point symmetry used in the third means is the logarithm L (-I or unmatched picture element logarithm of matching picture elements obtained when comparing picture elements that have a point symmetry relationship with the reference point of the partial pattern as the origin). is a prime number L').

ここでは部分パターン全体にわたって一致状態を調べた
が、前記中心領域や周辺領域においてその状態が判定さ
れた時点では、理想的にはこれらの領域は点対称性があ
るといえるから、これらを除いた領域だけで点対称度を
調べるようにしてもよい。
Here, we investigated the matching state over the entire partial pattern, but since ideally these regions can be said to have point symmetry when the state is determined in the central region and peripheral regions, we excluded these regions. The degree of point symmetry may be checked only in the area.

第2図dは第2図aを部分パターンとしたときの点対称
度比較領域である。
FIG. 2d is a point symmetry comparison area when FIG. 2a is used as a partial pattern.

ここでさらに変形例として第3図a、b、c。Here, as further modified examples, FIGS. 3a, b, and c are shown.

dを挙げる。List d.

これは第2図a、b、c、dの一つの変形例であり、回
路の小規模化をはかれるメリットをもつ。
This is a modification of FIG. 2a, b, c, and d, and has the advantage of reducing the size of the circuit.

以上の中心付近の類似度、周辺の類似度:点対称度を用
いて第4の手段により総合判定し、形状を認識すること
ができる。
Using the above similarity near the center, similarity around the periphery: point symmetry, a comprehensive judgment can be made by the fourth means, and the shape can be recognized.

たとえば中心領域の類似度Mが所定のM m in
より大きいが否かにより中心付近の状態を判定し、周辺
領域の類似度Nが所定のN’ m ax より小さい
か否かにより周辺の状態を判定し、点対称度L′が所定
のL’maxより小さいか否かにより点対称の状態を判
定し、上記3つの判定条件をすべて満足したとき切出さ
れた部分パターンを特定パターンと判定することができ
る。
For example, if the similarity M of the central region is a predetermined value M m in
The state near the center is determined based on whether the degree of similarity N in the surrounding area is smaller than a predetermined value N' max , and the state of the periphery is determined based on whether the degree of similarity N in the surrounding area is smaller than a predetermined value N' max . The state of point symmetry is determined based on whether or not it is smaller than max, and when all of the above three determination conditions are satisfied, the extracted partial pattern can be determined to be a specific pattern.

またこのとき第2図の例でMmin=4の場合は、Mを
カウントにより求めるのではなく、すべての絵素の状態
が“1“であるかどうかを判定する論理回路で実現でき
、この中心付近の状態判定は特定パターンの大きさにつ
いて最小サイズを限定するためのものともいえる。
In addition, in the case of Mmin=4 in the example of FIG. The nearby state determination can also be said to be used to limit the minimum size of a specific pattern.

同様に、N ’m a x−〇の場合は、N′をカウン
トにより求めるのではなく、すべての絵素の状態が“O
“であるかどうかを判定する論理回路で実現でき、この
周辺の状態判定は特定パターンの大きさについて最大サ
イズを限定するためのものともいえる。
Similarly, in the case of N'm a x-〇, instead of finding N' by counting, the state of all picture elements is
It can be realized by a logic circuit that determines whether or not ", and this peripheral state determination can be said to be used to limit the maximum size of a specific pattern.

なお特定パターンにどの程度近いかを表わす一つの目安
として点対称度のLまたはL′の値を利用することがで
きる。
Note that the value of point symmetry L or L' can be used as a measure of how close the pattern is to the specific pattern.

すなわち点対称度L′の最小のものを選んで、もつとも
特定パターンに近いものとして検出することもできる。
That is, it is also possible to select the pattern with the minimum point symmetry L' and detect it as being close to a specific pattern.

特定パターンの存在位置を決定する第5の手段は、上記
の結果から対象パターンに釦ける部分パターンの基準点
の座標をもってすればよい。
The fifth means for determining the location of the specific pattern may be based on the coordinates of the reference point of the partial pattern that can be pressed to the target pattern based on the above results.

以下に、上記の処理を実際に行なうための装置及び回路
構成について具体例をあげて説明する。
Below, a device and a circuit configuration for actually performing the above processing will be explained using specific examples.

ここでは特定パターンはだ円を含む円形状とし、部分パ
ターンが特定パターンに類似するかどうかの判定は、点
対称度と中心付近の状態と周辺状態から総合判定するも
のとし、このときの部分パターンの形は十文字形とする
Here, the specific pattern is a circular shape including an ellipse, and whether or not a partial pattern is similar to the specific pattern is determined comprehensively based on the degree of point symmetry, the state near the center, and the peripheral state. The shape of is a cross.

第4図は基本回路構成ブロック図であり、タイミング信
号発生回路4から出力されるタイミング信号18によっ
て駆動されるTVカメラのごとき撮像装置1からの時系
列映像信号10は、2値化・サンプリング回路2によっ
て離散化された絵素単位の2値信号11となり、この順
次送られてくる絵素情報はさらに部分パターン発生回路
3によって1次元の時系列絵素情報が2次元の時系列絵
素群情報の部分パターン情報12となる。
FIG. 4 is a basic circuit configuration block diagram, in which a time-series video signal 10 from an imaging device 1 such as a TV camera driven by a timing signal 18 output from a timing signal generation circuit 4 is processed by a binarization/sampling circuit. 2 becomes a binary signal 11 in pixel units that is discretized, and this sequentially sent pixel information is further processed by a partial pattern generation circuit 3 to convert one-dimensional time-series pixel information into a two-dimensional time-series pixel group. This becomes partial pattern information 12 of the information.

2値化・サンプリング回路2および部分パターン発生回
路3はともにタイミング信号18によって全体の同期を
はかつている。
Both the binarization/sampling circuit 2 and the partial pattern generation circuit 3 are synchronized as a whole by a timing signal 18.

このようにして得た部分パターン情報12を使って、点
対再度算出回路5により部分パターン内の点対称絵素間
の不一致絵素数13を求め、中心付近状態算出回路6に
より部分パターン内の中心領域の“1“の絵素数14を
求め、周辺状態算出回路7により部分パターン内の周辺
領域の“1“の絵素数15を求める。
Using the partial pattern information 12 obtained in this way, the point pair recalculation circuit 5 calculates the number 13 of mismatched picture elements between point-symmetrical pixels in the partial pattern, and the center vicinity state calculation circuit 6 calculates the number of mismatched picture elements 13 between point-symmetric picture elements in the partial pattern. The number of "1" picture elements 14 in the region is determined, and the peripheral state calculating circuit 7 determines the number of "1" picture elements 15 in the peripheral region within the partial pattern.

この3つの結果は特定パターン判定回路8により判定さ
れ、部分パターンが特定パターンとなりうるか否かの検
出信号16とこのときの特定パターンとの類似度17を
得る。
These three results are determined by a specific pattern determining circuit 8, and a detection signal 16 indicating whether or not the partial pattern can become a specific pattern is obtained, as well as a degree of similarity 17 between the specific pattern at this time.

この特定パターン検出信号16と類似度17および部分
パターンの位置信号18から位置検出回路9Fcよって
対象パターン中のどの位置に特定パターンが存在するか
という特定パターン位置信号19を得る。
From the specific pattern detection signal 16, the similarity 17, and the partial pattern position signal 18, the position detection circuit 9Fc obtains a specific pattern position signal 19 indicating where the specific pattern exists in the target pattern.

つ1り特定パターン検出信号16が特定パターンの形状
認識結果であり、特定パターン位置信号19が特定パタ
ーンの位置認識結果である。
The specific pattern detection signal 16 is the shape recognition result of the specific pattern, and the specific pattern position signal 19 is the position recognition result of the specific pattern.

ここで処理回路5,6゜7.8,9の処理時間は、次の
部分パターンが送られてくるまでにすべての処理を終え
ていなければならず、映像信号を6MHzでサンプリン
グして絵素情報をつくる場合には、部分パターンも普通
6MHzでつくられることになり、全処理時間は167
ns以内でおさえられるものとして釦く。
Here, the processing time of the processing circuits 5, 6, 7, 8, and 9 is that all processing must be completed before the next partial pattern is sent, and the video signal is sampled at 6 MHz and the picture elements are When creating information, partial patterns are usually created at 6 MHz, and the total processing time is 167 MHz.
Click the button if it can be kept within ns.

次に各ブロックをさらに詳細に説明する。Next, each block will be explained in more detail.

第5図に示したのは撮像装置の撮像面を模式的に表わし
たもので、41〜46のタイミング信号はこれに合わせ
て表現している。
What is shown in FIG. 5 is a schematic representation of the imaging surface of the imaging device, and the timing signals 41 to 46 are expressed accordingly.

タイミング信号のうち、41と42はTVカメラの水平
掃引波形と垂直掃引波形であり、撮像面を左から右方向
、上から下方向へ走査していく。
Of the timing signals, 41 and 42 are a horizontal sweep waveform and a vertical sweep waveform of the TV camera, which scan the imaging plane from left to right and from top to bottom.

そして43のサンプリングパルスにより図のととく絵素
として離散化する。
Then, using 43 sampling pulses, it is discretized into the picture elements shown in the figure.

この43のサンプリングパルスは、さらには部分パター
ン発生回路でのタイミング信号としても使うが、この部
分パターン発生回路についての動作原理はその一例とし
て前述の特願昭46−92433号(特公昭51−12
492号)を参照されたい。
These 43 sampling pulses are further used as timing signals in the partial pattern generation circuit, and the operating principle of this partial pattern generation circuit is disclosed in the aforementioned Japanese Patent Application No. 46-92433 (Japanese Patent Publication No. 51-12).
No. 492).

タイミング信号44は初期設定のためのパルスで1回の
撮像面走査に対して最初に1回出力し、45の水平座標
と46の垂直座標とともに位置検出回路で用いるもので
ある。
The timing signal 44 is a pulse for initial setting, and is outputted once at the beginning for one imaging plane scan, and is used in the position detection circuit together with the horizontal coordinates 45 and the vertical coordinates 46.

点対再度算出回路5は第6図に示すように、部分パター
ンの中で中心領域と周辺領域を除いた中間の領域を処理
対象とし、点対称の関係にある絵素どうしの不一致状態
を12ケの排他的論理和ゲー)51によって調べ、不一
致のとき、つ1す“0“と“1“または“1“と“O“
のときに“1“の結果を計数回路52へ送り、計数回路
では排他的論理和ゲート51で“1“の出力のものを数
えて不一致な点対称絵素数13を求める。
As shown in FIG. 6, the point pair recalculation circuit 5 processes the intermediate area excluding the central area and the peripheral area in the partial pattern, and calculates the mismatch state between picture elements in a point symmetrical relationship by 12 (Exclusive OR game)
At this time, the result of "1" is sent to the counting circuit 52, and in the counting circuit, the exclusive OR gate 51 counts the output of "1" to obtain the number 13 of point-symmetric picture elements that do not match.

中心付近状態算出回路6は第7図に示すように、部分パ
ターンの中で中心領域(ここでは中央の4絵素)を処理
対象とし、′1“となっている絵素の数を計数回路61
で数えて中心領域の“1“の絵素数14を求める。
As shown in FIG. 7, the near-center state calculation circuit 6 processes the center area (here, the four central pixels) in the partial pattern, and calculates the number of pixels that are ``1''. 61
The number of "1" picture elements in the central area, 14, is determined by counting.

周辺状態算出回路7は第8図に示すように、部分パター
ンの中で周辺領域(ここでは周辺部の8絵素)を処理対
象とし、′1“となっている絵素の数を計数回路71で
数えて周辺領域の“1“の絵素数15を求める。
As shown in FIG. 8, the peripheral state calculation circuit 7 processes the peripheral area (in this case, eight peripheral pixels) in the partial pattern, and calculates the number of pixels that are '1''. 71 to find the number of "1" picture elements 15 in the surrounding area.

特定パターン判定回路8は第9図に示すように、上記3
つの点対称状態、中心付近状態、周辺状態の結果を用い
て特定パターンの判定検出を行なう回路である。
The specific pattern determination circuit 8, as shown in FIG.
This is a circuit that performs determination and detection of a specific pattern using the results of the three point symmetrical states, the near-center state, and the surrounding states.

不一致な点対称絵素数13が比較回路81で所定の値以
下かどうか判定され、中心領域の“1“の絵素数14が
比較回路82で所定の値以上であるかどうか判定され、
周辺領域の“1“の絵素数15が比較回路83で所定の
値以下であるかどうか判定され、以上の3つの結果が成
立したときにアンドゲート84によって特定パターン検
出信号16を得るとともに、アンドゲート85を通して
このときの特定パターン類似度17を得る。
A comparison circuit 81 determines whether the number 13 of point-symmetric picture elements that do not match is less than a predetermined value, a comparison circuit 82 determines whether the number 14 of "1" picture elements in the central area is greater than or equal to a predetermined value,
The comparison circuit 83 determines whether the number of picture elements 15 of "1" in the peripheral area is less than a predetermined value, and when the above three results are established, the AND gate 84 obtains the specific pattern detection signal 16, and The specific pattern similarity 17 at this time is obtained through the gate 85.

位置検出回路9は第10図に示すように、上記特定パタ
ーン検出信号16と特定パターン類似度17を用い、さ
らにタイミング信号発生回路4からの第5図に示す水平
座標(またはX座標)45と垂直座標(またはy座標)
46と初期状態設定信号44を用いて、対象パターン中
に存在する特定パターンの位置を検出する回路である。
As shown in FIG. 10, the position detection circuit 9 uses the specific pattern detection signal 16 and the specific pattern similarity 17, and also uses the horizontal coordinate (or X coordinate) 45 shown in FIG. Vertical coordinate (or y coordinate)
46 and an initial state setting signal 44 to detect the position of a specific pattern existing in the target pattern.

91゜92は最初に検出された特定パターンの類似度と
座標を記憶するための記憶回路であり、92.93は2
番目に検出された特定パターンの類似度と座標を記憶す
るための記憶回路であり、n番目のものは95.96の
記憶回路に記憶される。
91°92 is a memory circuit for storing the similarity and coordinates of the first detected specific pattern, and 92.93 is a memory circuit for storing the similarity and coordinates of the first detected specific pattern.
This is a storage circuit for storing the degree of similarity and coordinates of the specific pattern detected the th time, and the nth one is stored in the 95.96th storage circuit.

ここでは特定パターンを許容できる数をn個としたが、
特定パターンの数を数えるカウンタが97であり、カウ
ンタパルス104がくる度Ka、から順番にa2・・・
anが“0“から“1”K変わっていき、この特定パタ
ーンの有無を表わすa、〜anの信号が“1“のところ
のアンドゲート98〜103がオンとなり、記憶してい
る特定パターンの分だけの類似度19,1〜19五、座
標191′〜19aを出力する。
Here, the allowable number of specific patterns is n, but
A counter that counts the number of specific patterns is 97, and each time the counter pulse 104 comes, Ka, a2...
an changes from "0" to "1" K, and the AND gates 98 to 103 at which the signal a, ~an, which indicates the presence or absence of this specific pattern, is "1" are turned on, and the stored specific pattern is changed. The similarity of 19.1 to 195 and the coordinates 191' to 19a are output.

カウンタ97に入っている初期状態設定信号44はカウ
ンタの内容をクリアするための信号で、これによりa、
〜anの信号がすべて“0“となり、特定パターンが存
在しないことを意味する。
The initial state setting signal 44 contained in the counter 97 is a signal for clearing the contents of the counter.
The signals of ~an are all "0", which means that the specific pattern does not exist.

またカウンタの出口のうチb1〜bnは、1〜n番目の
特定パターン候補点が最初に送られてきたときに1〜n
番目の記憶回路に記憶するための信号で、カウンタパル
スによって特定パターンの有無を表わす信号a、〜an
のいずれか力γO“から“1“に変化する直前にa、〜
anに対応するす、〜bnのいずれかが1パルス出力さ
れる。
In addition, the exits b1 to bn of the counter are 1 to n when the 1st to nth specific pattern candidate points are sent for the first time.
A signal to be stored in the th storage circuit, which indicates the presence or absence of a specific pattern using a counter pulse.
Immediately before either force γO" changes to "1", a, ~
One pulse is output of any one of s to bn corresponding to an.

信号を時間的流れで説明すると、初期状態設定信号44
によりa、〜an、 b1〜bnがクリアされ、その後
カウンタパルス104がくると、1パルスタけす、が出
力されてa、は初期状態設定信号44がくる1でレベル
的に“1“となり、さらにカウンタパルス104がくる
と、1パルスだケb2が出力されてa2 もレベル的に
“1“となり、カウンタパルス104がくる度に順番に
出力される。
To explain the signals in terms of time flow, the initial state setting signal 44
a, ~an, b1~bn are cleared, and then when the counter pulse 104 comes, 1 pulse take is output, and a becomes "1" in level when the initial state setting signal 44 comes, and then When the counter pulse 104 comes, one pulse b2 is output and a2 also becomes "1" in level, and is output in order every time the counter pulse 104 comes.

次にn個の記憶回路を含む特定パターン判定回路はすべ
て等しく並列に処理演算を行なっているので、1番目の
特定パターン判定回路についてだけ説明する。
Next, since all of the specific pattern determining circuits including n memory circuits perform processing operations equally and in parallel, only the first specific pattern determining circuit will be described.

記憶回路91からの前特定パターン類似度と特定パター
ン検出回路8から送られてくる新たな特定パターン類似
度17は比較回路105により比較され、新たな特定パ
ターン類似度1Tが小さい場合には更新する必要がある
という“1“の出力となる。
The previous specific pattern similarity from the storage circuit 91 and the new specific pattern similarity 17 sent from the specific pattern detection circuit 8 are compared by the comparison circuit 105, and if the new specific pattern similarity 1T is small, it is updated. The output is "1" indicating that it is necessary.

また記憶回路92からの前特定パターン座標とタイミン
グ信号発生回路4から(7)x、y座標45,46は比
較回路106により両座標間の距離として所定の値と比
較され、距離が十分小さければすでに記憶されている1
番目の特定パターン候補と同一のものであるという“1
“の出力となる。
Further, the pre-specific pattern coordinates from the storage circuit 92 and the (7) Already memorized 1
“1” is the same as the th specific pattern candidate.
The output is “.

この105,106がともに“l“の場合に現特定パタ
ーンが1番目のパターンと同一の位置にあり、その類似
度は現特定パターンの方がより小さいために更新する必
要があるという信号がアンドゲート107により得られ
、特定パターン検出回路8からの特定パターン検出信号
16とアンドゲート108で同期をとる。
If both 105 and 106 are "l", a signal indicating that the current specific pattern is in the same position as the first pattern and that the current specific pattern needs to be updated because its similarity is smaller is output. It is obtained by gate 107 and synchronized with specific pattern detection signal 16 from specific pattern detection circuit 8 and AND gate 108 .

ここで特定パターンが全く記憶されていない場合には当
然a1=0 となるから、アンドゲート98゜99がオ
フとなるために、比較回路105,106がともにオフ
となりアンドゲート108もオフとなるが、このときす
べて“0“であることを検出するゲート112がオンと
なり、特定パターン検出信号16がくるとアンドゲート
113を通してカウンタパルス104となり、記憶パル
スb、が生ずる。
If the specific pattern is not stored at all, naturally a1=0, so the AND gate 98°99 is turned off, so both the comparison circuits 105 and 106 are turned off, and the AND gate 108 is also turned off. , at this time, the gate 112 that detects that all the signals are "0" is turned on, and when the specific pattern detection signal 16 comes, it passes through the AND gate 113 and becomes a counter pulse 104, generating a memory pulse b.

これはオアゲート109によりアンドゲート108から
の特定パターン更新信号と重ねられて、新たな特定パタ
ーンの類似度17とその座標45,46がアンドゲート
110,111を通して記憶回路98.99にそれぞれ
記憶される。
This is superimposed by the OR gate 109 on the specific pattern update signal from the AND gate 108, and the new specific pattern similarity 17 and its coordinates 45 and 46 are stored in the storage circuits 98 and 99 through the AND gates 110 and 111, respectively. .

b、が発生した後a1 が“1“となるから98゜99
0ゲートは開けられ、次からの特定パターン候補が来た
ときには比較が105,106で行なわれる。
After b occurs, a1 becomes “1”, so 98°99
The 0 gate is opened, and when the next specific pattern candidate arrives, a comparison is made at 105 and 106.

その結果、106により距離が大きく離れておれば11
2がオンとなジ特定パターン検出信号16によりカウン
タ97が動作し、2番目の特定パターン設定信号b2が
生じて記憶回路93゜94に特定パターンの類似度と座
標が記憶される。
As a result, if the distance is large due to 106, then 11
2 is turned on, the counter 97 is operated by the specific pattern detection signal 16, a second specific pattern setting signal b2 is generated, and the similarity and coordinates of the specific pattern are stored in the storage circuits 93 and 94.

このようにして最終結果として、存在する特定パターン
の個数分だけの類似度および座標が記憶回路に記憶され
、(19,” 、 191”)〜(19誓。
In this way, as a final result, the similarity degrees and coordinates for the number of existing specific patterns are stored in the storage circuit, and (19,", 191") to (19).

191)に出力される。191).

以上の例の中で5.6.7の回路に使った計数回路52
,61.71の具体的な回路を第11図に、また9の回
路に使ったカウンタ97の具体的な回路例を第12図に
示す。
Counting circuit 52 used in the circuit of 5.6.7 in the above example
, 61, 71 are shown in FIG. 11, and a specific circuit example of the counter 97 used in the circuit 9 is shown in FIG.

計数回路は論理的に“1“となっている信号線の数を数
える回路であり、第11図に示したものは、計数の対象
となるP、〜Pnのn本の信号弁のパルスを203とし
てシフトレジスタ201に、送す、シフトレジスタ20
1ではシフトパルス力くるごとに場所を変えながらアン
ドゲート204の1ゲートを選択し、そのゲートに入力
されている信号P、〜Pnを判定し、オアゲート205
を通してカウンタ202でカウントする。
The counting circuit is a circuit that counts the number of signal lines that are logically "1", and the one shown in Figure 11 counts the pulses of n signal valves P, ~Pn, which are the targets of counting. 203 to shift register 201, shift register 20
In 1, one gate of the AND gate 204 is selected while changing the location every time the shift pulse force is applied, and the signals P, ~Pn input to that gate are determined, and the OR gate 205
The counter 202 counts through the time.

シフトレジスタ201がnパルス受けて1巡すると、カ
ウンタ202にはP、〜Pnのうち“1“となっている
信号の個数分数えられている。
When the shift register 201 receives n pulses and makes one cycle, the counter 202 counts the number of signals that are "1" among P and -Pn.

第12図に示すカウンタ9Tは、44によってリセット
され、104によって順番に信号線をオンにしていくシ
フトレジスタ210,211によって構成される。
The counter 9T shown in FIG. 12 is configured by shift registers 210 and 211 that are reset by 44 and turn on signal lines in sequence by 104.

カウントパルス104がくると1ずシフトレジスタ21
0が動作して左から順番に信号をオンにしていく。
When the count pulse 104 comes, the shift register 21
0 operates and turns on the signals in order from the left.

このカウントパルス104はつぎに遅延回路212によ
って4時間遅らされたあと、シフトレジスタ210でオ
ンした線量線に相当するシフトレジスタ2110線号線
がオンとなり特定パターン候補存在信号a1〜anが出
力される。
This count pulse 104 is then delayed for 4 hours by the delay circuit 212, and then the shift register 2110 line corresponding to the dose line turned on in the shift register 210 is turned on, and specific pattern candidate presence signals a1 to an are output.

このとき210がオンになシ211がオフであるところ
の信号線は213のゲートで判定され、遅延回路212
の遅延時間tの幅をもつパルス力、特定パターン候補設
定パルスとしてす、〜brlのいずれかから出力される
At this time, the signal line 210 is on and the signal line 211 is off is determined by the gate of 213, and the delay circuit 212
A pulse force having a width of delay time t is output as a specific pattern candidate setting pulse from one of .

以上述べたように、本発明によると、複雑な対象パター
ンの中から特定なパターンだけを抽出し、複数個の特定
パターンの対象パターン中に存在する位置を、もつとも
特定パターンに近い位置として精度よく求めることがで
きる。
As described above, according to the present invention, only a specific pattern is extracted from a complex target pattern, and the positions existing in the target pattern of multiple specific patterns are accurately determined as the closest position to the specific pattern. You can ask for it.

ここで特定パターンは点対称形状という条件下で、大き
さや形を一種類に限定することなく、許容できる幅をも
っていて、それは部分パターンや中心領域、周辺領域の
取り方および特定パターン検出の際に用いたMminや
NmaxやLmaxの設定値によって決1す、ここで述
べた例は本発明の範囲を限定、縮小するものではない。
Here, the specific pattern has an allowable width without being limited to one type of size or shape under the condition of a point-symmetric shape, and it is determined by how to take the partial pattern, central area, peripheral area, and when detecting the specific pattern. The examples described here are not intended to limit or reduce the scope of the present invention, which is determined by the settings of Mmin, Nmax, and Lmax used.

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

第1図は対象パターン、部分パターン、特定パターンの
関係を示す説明図、第2図、第3図は切出された部分パ
ターンが特定パターン(円の場合)であるか否かを認識
するための処理領域を示す説明図、第4図は本発明の一
実施例の構成図、第5図は撮像画とタイミング信号との
関係を示す説明図、第6図〜第12図は該実施例の部分
説明図である。
Figure 1 is an explanatory diagram showing the relationship between the target pattern, partial pattern, and specific pattern. Figures 2 and 3 are for recognizing whether the cut out partial pattern is a specific pattern (in the case of a circle). FIG. 4 is a configuration diagram of an embodiment of the present invention. FIG. 5 is an explanatory diagram showing the relationship between captured images and timing signals. FIGS. 6 to 12 are diagrams of the embodiment. FIG.

Claims (1)

【特許請求の範囲】 1 空間的に離散化され、明暗状態を表わす映像信号を
対象パターンとして得る第1の手段と、該対象パターン
から所定の2次元的部分パターンを順次切出す第2の手
段と、それぞれの部分パターンの基準点に対する点対称
度から特定パターンとの類似度を求める第3の手段と、
該類似度に基づき、特定パターンと最も類似する部分パ
ターンを決定する第4の手段と、決定された部分パター
ンの基準点に対応する位置を上記特定パターンの存在位
置として出力する第5の手段とからなることを特徴とす
る特定パターン抽出装置。 2 前記第3の手段は、前記部分パターンの中心領域、
中間領域および周辺領域の少くとも1つの領域における
特定パターンとの類似度を求める手段からなる請求範囲
第1項記載の特定パターン抽出装置。
[Claims] 1. A first means for obtaining a spatially discretized video signal representing a bright and dark state as a target pattern, and a second means for sequentially cutting out predetermined two-dimensional partial patterns from the target pattern. and a third means for determining the degree of similarity with the specific pattern from the degree of point symmetry of each partial pattern with respect to the reference point;
a fourth means for determining a partial pattern that is most similar to the specific pattern based on the degree of similarity; and a fifth means for outputting a position corresponding to a reference point of the determined partial pattern as an existing position of the specific pattern. A specific pattern extraction device comprising: 2. The third means includes a central region of the partial pattern;
2. The specific pattern extracting device according to claim 1, comprising means for determining the degree of similarity with the specific pattern in at least one of the intermediate region and the peripheral region.
JP51005989A 1976-01-23 1976-01-23 Specific pattern extraction device Expired JPS5842902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51005989A JPS5842902B2 (en) 1976-01-23 1976-01-23 Specific pattern extraction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51005989A JPS5842902B2 (en) 1976-01-23 1976-01-23 Specific pattern extraction device

Publications (2)

Publication Number Publication Date
JPS5290235A JPS5290235A (en) 1977-07-29
JPS5842902B2 true JPS5842902B2 (en) 1983-09-22

Family

ID=11626193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51005989A Expired JPS5842902B2 (en) 1976-01-23 1976-01-23 Specific pattern extraction device

Country Status (1)

Country Link
JP (1) JPS5842902B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57150076A (en) * 1981-03-11 1982-09-16 Ando Electric Co Ltd Original drawing copying reader
JPS57152073A (en) * 1981-03-16 1982-09-20 Ando Electric Co Ltd Original profiling reader
JPS57152075A (en) * 1981-03-17 1982-09-20 Ando Electric Co Ltd Original profiling reader

Also Published As

Publication number Publication date
JPS5290235A (en) 1977-07-29

Similar Documents

Publication Publication Date Title
KR101912420B1 (en) Method for calculating the area of a fingerprint overlap area and an electronic device
Milan et al. Challenges of ground truth evaluation of multi-target tracking
JP4915655B2 (en) Automatic tracking device
CN104217428B (en) A kind of fusion feature matching and the video monitoring multi-object tracking method of data correlation
JP5385182B2 (en) Object detection device
JP7212247B2 (en) Target detection program, target detection device, and target detection method
US10074551B2 (en) Position detection apparatus, position detection method, information processing program, and storage medium
JP6636828B2 (en) Monitoring system, monitoring method, and monitoring program
CN111539980B (en) A multi-target tracking method based on visible light
CN106709927A (en) Method for extracting target from acoustic image under complex background
TWI514327B (en) Method and system for object detection and tracking
JPH0644292B2 (en) Two-dimensional visual recognition device
CN114846513A (en) Motion analysis system and motion analysis program
CN111323757B (en) Target detection method and device for marine radar
CN109919957B (en) A Corner Detection Method Based on Dynamic Vision Sensor
JPS5842902B2 (en) Specific pattern extraction device
JPH11167455A (en) Hand shape recognition device and monochrome object shape recognition device
CN111753775A (en) Fish growth assessment method, apparatus, equipment and storage medium
JPH0754549B2 (en) How to create a standard pattern for pattern matching
CN115984780B (en) Industrial solid waste warehouse-in and warehouse-out judging method and device, electronic equipment and medium
EP0585035B1 (en) Real time connectivity algorithm system
CN112097778B (en) Identification tracking method for simultaneously extracting large and small targets
Mckay et al. A fast, accurate, cross-modality image geo-registration and target/object detection algorithm
KR101741671B1 (en) Play Presentation Device and Method
JPH07325906A (en) Mobile object detection / tracking device