JPS61294306A - Detector for rotation deviation - Google Patents

Detector for rotation deviation

Info

Publication number
JPS61294306A
JPS61294306A JP13657185A JP13657185A JPS61294306A JP S61294306 A JPS61294306 A JP S61294306A JP 13657185 A JP13657185 A JP 13657185A JP 13657185 A JP13657185 A JP 13657185A JP S61294306 A JPS61294306 A JP S61294306A
Authority
JP
Japan
Prior art keywords
pattern
standard
rotational deviation
input
information
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.)
Pending
Application number
JP13657185A
Other languages
Japanese (ja)
Inventor
Kazuo Mikami
和夫 三上
Suguru Ishihara
石原 英
Hiroshi Nakamoto
浩 中本
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP13657185A priority Critical patent/JPS61294306A/en
Publication of JPS61294306A publication Critical patent/JPS61294306A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To detect the rotation deviation of an input pattern by collating input information, which is related to input pattern constituting picture elements included in a ring-shaped window, with standard information. CONSTITUTION:The image of an object 2 to be recognized is picked up by a TV camera 1 and is subjected to the binarization processing by a binarization circuit 4 to generate an input pattern having the rotation deviation of an angle. This input pattern is sent to a black picture element detecting circuit 5 to detect black picture elements included in the window, and the contents of a counter 10 are taken in at every black picture element detection time by an adder 8 to calculate a horizontal load sum. A CPU 16 stores this horizontal load sum in a RAM 17. The CPU collates stored data in the RAM 17 with standard data to detect an extent of rotation deviation.

Description

【発明の詳細な説明】 〈発明の技術分野〉 この発明は、静止若しくは移動中の被認識物体を画像化
して入力パターンを求め、この入力パターンを標準パタ
ーンと照合して、被認識物体を二次的に認識する視覚認
識技術に関連し、殊にこの発明は、パターン照合に先立
ち、標準パターンに対する入力パターンの回転ずれ量を
高速検知する新規回転ずれ検出装置を提供する。
[Detailed Description of the Invention] <Technical Field of the Invention> This invention obtains an input pattern by imaging a stationary or moving object to be recognized, and compares this input pattern with a standard pattern to identify the object to be recognized. In relation to visual recognition technology for subsequent recognition, in particular, the present invention provides a novel rotational deviation detection device that rapidly detects the amount of rotational deviation of an input pattern with respect to a standard pattern prior to pattern matching.

〈発明の概要〉 この発明は、入力パターンに対しリング形状のウィンド
ウを設定して、ウィンドウ内に含まれるパターン構成画
素に関する情報を生成した後、この情報を前記ウィンド
ウを用いて同様に生成した標準情報と照合して、入力パ
ターンの回転ずれ量を検出することにしており、これに
よりビデオレートで入力パターンの回転ずれ量を高速検
知できるようにした。
<Summary of the Invention> The present invention sets a ring-shaped window for an input pattern, generates information regarding the pattern constituent pixels included in the window, and then creates a standard system that similarly generates this information using the window. The amount of rotational deviation of the input pattern is detected by comparing it with information, and this makes it possible to detect the amount of rotational deviation of the input pattern at high speed at video rates.

〈発明の背景〉 一般に二次元視覚認識装置では、入力パターンと標準パ
ターンとを画像上で重ね合わせて、両パターンの重合一
致度合を検出して、被認識物体を認識するものである。
<Background of the Invention> In general, a two-dimensional visual recognition device recognizes an object by superimposing an input pattern and a standard pattern on an image, detecting the degree of superimposition and matching between the two patterns.

従ってこのパターン照合に際しては、両パターンを正確
に位置合わせする必要があり、従来はXYステージ等を
用いて被認識物体を所定停止位置に位置決めした後、こ
れをテレビカメラで逼像して入力パターンを求め、この
入力パターンにつき標準パターンと照合処理を行ってい
る。ところがこの種・方式の場合、被認識物体の位置決
め機構が必要であるから、視覚認識装置の全体構造が複
雑化すると共に、位置決め操作の時間分だけパターン照
合に時間がかかる等の不利があった。
Therefore, when performing this pattern matching, it is necessary to accurately align both patterns. Conventionally, an XY stage or the like is used to position the object to be recognized at a predetermined stopping position, and then this is imaged with a television camera to form the input pattern. This input pattern is then matched against a standard pattern. However, in the case of this type/method, a mechanism for positioning the object to be recognized is required, which has the disadvantage that the overall structure of the visual recognition device becomes complicated, and pattern matching takes time equal to the time required for positioning operation. .

そこで近年、標準パターンに対する入力パターンの位置
ずれ量や回転ずれ量をデータとして検出し、この検出デ
ータに基づき入力パターンー相互間のずれを修正した上
で、物体認識のためのパターン照合を実施するという方
式が開発された。
Therefore, in recent years, the amount of positional deviation and rotational deviation of the input pattern with respect to the standard pattern is detected as data, the deviation between the input patterns is corrected based on this detected data, and then pattern matching for object recognition is performed. A method was developed.

ところが従来は、特に入力パターンの回転ずれを検出す
るのに、まず入力パターンの輪郭を抽出し、ついでこの
輪郭データから入力パターンのモーメントを求めた後、
このモーメントを利用して入力パターンの回転ずれ量を
算出しており、これがため演算時間が著しく長くかかり
、処理の高速化を実現することが困難であった。
However, in the past, in order to specifically detect rotational deviation of an input pattern, the contour of the input pattern was first extracted, and then the moment of the input pattern was determined from this contour data.
This moment is used to calculate the amount of rotational deviation of the input pattern, which requires a significant amount of calculation time, making it difficult to achieve high-speed processing.

〈発明の目的〉 この発明は、標準パターンに対する入力パターンの回転
ずれ量を高速で検出可能とし、もって入力パターンが傾
いても、迅速且つ容易に物体認識を行えるようにした回
転ずれ検出装置を提供することを目的とする。
<Object of the Invention> The present invention provides a rotational deviation detection device that is capable of detecting the amount of rotational deviation of an input pattern with respect to a standard pattern at high speed, thereby enabling quick and easy object recognition even if the input pattern is tilted. The purpose is to

〈発明の構成および効果〉 上記目的を達成するため、この発明の回転ずれ検出装置
では、物体画像を2値化して標準パターンおよび入力パ
ターンを生成するパターン生成手段と、標準パターンお
よび入力パターンに対しリング形状のウィンドウを設定
するウィンドウ設定手段と、異なる角度の回転ずれを有
する各標準パターンにつき前記ウィンドウ内に含まれる
パターン構成画素に関する標準情報を生成して、各角度
毎に標準!報を記録させる標準情報記録手段と、入力パ
ターンにつきウィンドウ内に含まれるパターン構成画素
に関する入力情報を生成すると共に、この入力情報を前
記標準情報と照合して入力パターンの回転ずれ量を判別
する判別手段とを具備させるようにした。
<Structure and Effects of the Invention> In order to achieve the above object, the rotational deviation detection device of the present invention includes a pattern generation means for binarizing an object image to generate a standard pattern and an input pattern, and a pattern generation means for generating a standard pattern and an input pattern. A window setting means for setting a ring-shaped window, and generating standard information regarding pattern constituent pixels included in the window for each standard pattern having a rotational shift of a different angle, and generating standard information for each angle for each standard pattern! standard information recording means for recording information; and a determination unit that generates input information regarding pattern constituent pixels included in a window for each input pattern, and compares this input information with the standard information to determine the amount of rotational shift of the input pattern. We made sure to have the means to do so.

この発明によれば、データ上でパターン相互間の回転ず
れの修正を可能としたから、被認識物体を所定停止位置
に位置決めする等の必要がなく、特別な位置決め機構が
不要となり、装置全体を簡易化できると共に、位置決め
操作に要する時間を節約し得、物体認識処理の効率を向
上できる。
According to this invention, since it is possible to correct the rotational deviation between patterns on the data, there is no need to position the object to be recognized at a predetermined stop position, a special positioning mechanism is no longer required, and the entire device is It can be simplified, the time required for positioning operations can be saved, and the efficiency of object recognition processing can be improved.

また入力パターンの回転ずれ量を、モーメントを利用し
た複雑な演算処理によらず、加算器等の簡易なハード構
成をもって、而もビデオレードで検出できるから、演算
処理の高速化や効率の向上を実現できる。
In addition, the amount of rotational deviation of the input pattern can be detected with a video radar using a simple hardware configuration such as an adder, without the need for complex calculation processing using moments, which speeds up calculation processing and improves efficiency. realizable.

さらに回転ずれ検出用のデータをウィンドウを用いて取
り込むから、入力パターンに画像ノイズが含まれていて
も、その影響を軽減でき、ノイズ部分がパターンの一部
であると誤認される等のおそれが少なくなって、正確な
回転ずれ量の検出やその修正が行える等、発明目的を達
成した顕著な効果を奏する。
Furthermore, since the data for detecting rotational deviation is imported using a window, even if the input pattern contains image noise, its influence can be reduced, and there is no risk that the noise part may be mistakenly recognized as part of the pattern. This has the remarkable effect of achieving the object of the invention, such as being able to accurately detect and correct the amount of rotational deviation.

〈実施例の説明〉 第1図は、この発明にかかる回転ずれ検出装置の回路構
成例を示す。図示例において、テレビカメラ1は、静止
または移動中の物体2を例えば上方より撮像し、飛越走
査にかかる画像出力(第2図(1)に示す)を同期分離
回路3へ送出する。同期分離回路3は、前記画像出力よ
り水平同期信号HD、垂直同期信号VD、奇数フィール
ド信号OD(第2図(2)に示す)、クロック信号CK
(第2図(4)に示す)等を分離し、ビデオ信号VDi
を2値化回路4へ出力する。2値化回路4は、第2図(
3)に示す如く、ビデオ信号VDiに対し一定のスレシ
ュホールドレベルTHを設定し、ビデオ信号VDiの奇
数フィールドにつき白黒2値化して2値パターンを形成
出力する。
<Description of Embodiments> FIG. 1 shows an example of a circuit configuration of a rotational deviation detection device according to the present invention. In the illustrated example, the television camera 1 images a stationary or moving object 2, for example from above, and sends an image output (shown in FIG. 2(1)) related to interlaced scanning to the synchronization separation circuit 3. The synchronization separation circuit 3 extracts a horizontal synchronization signal HD, a vertical synchronization signal VD, an odd field signal OD (shown in FIG. 2 (2)), and a clock signal CK from the image output.
(shown in Figure 2 (4)), etc., and separate the video signal VDi.
is output to the binarization circuit 4. The binarization circuit 4 is shown in FIG.
As shown in 3), a certain threshold level TH is set for the video signal VDi, and the odd fields of the video signal VDi are converted into black and white binarized to form a binary pattern and output.

第3図は2値パターンのイメージを示しており、第3図
+1)は楕円形状の標準パターンP0を、第3図(2)
は同じ楕円形状の入力パターンPiをそれぞれ示す。な
お図中、斜線部分はパターンを構成する黒画素、斜線以
外の部分が前景に相当する白画素である。この実施例で
は、各パターンは縦横256ビツトの画素範囲で組立て
構成され、第3図(2)に示す人カバターンP、の場合
、標準パターンP0に対し時計回りの方向へ適当角度だ
け回転ずれをおこしている。
Figure 3 shows an image of a binary pattern, Figure 3 + 1) shows an elliptical standard pattern P0, Figure 3 (2)
respectively indicate the same elliptical input pattern Pi. Note that in the figure, the shaded areas are black pixels forming the pattern, and the areas other than the shaded areas are white pixels corresponding to the foreground. In this embodiment, each pattern is assembled in a pixel range of 256 bits in length and width, and in the case of the human cover turn P shown in FIG. It's happening.

前記2値化回路4には、各パターンにおける黒画素を検
知する黒画素検知回路5が接続され、またこの黒画素検
知回路5には、ウィンドウメモリ6の読出し側が接続し
である。このウィンドウメモリ6は、第4図〜第7図に
示す如く、各パターンに対し円形リング形状のウィンド
ウ7を設定するためのもので、図示例のウィンドウ7は
、その外郭線が回転ずれのない標準パターンP、(第4
図に示す)の輪郭線と接し且つウィンドウ7の幅がちょ
うど2画素分に相当するように設定しである。
A black pixel detection circuit 5 for detecting black pixels in each pattern is connected to the binarization circuit 4, and a readout side of the window memory 6 is connected to the black pixel detection circuit 5. This window memory 6 is used to set a circular ring-shaped window 7 for each pattern, as shown in FIGS. 4 to 7. Standard pattern P, (4th
The width of the window 7 is set so that it touches the outline of the window (shown in the figure) and the width of the window 7 corresponds to exactly two pixels.

かくして前記黒画素検知回路5は、ウィンドウ7内に含
まれる黒画素(第4図〜第7図中、斜線で示す)を検知
して、その検知信号を加算器8へ送出する。この加算器
8およqバッファレジスタ9は、黒画素検知タイミング
毎にウィンドウメモリ6の水平アドレスを1水平走査ラ
イン分ハード的に累積加算してゆくためのもので、各水
平走査ラインについての累積加算値(これを「水平荷重
和」という)はバッファレジスタ9に取り込まれて保持
される。
Thus, the black pixel detection circuit 5 detects the black pixels (indicated by diagonal lines in FIGS. 4 to 7) included in the window 7, and sends the detection signal to the adder 8. The adder 8 and the q-buffer register 9 are used to cumulatively add the horizontal addresses of the window memory 6 for one horizontal scanning line each time a black pixel is detected, and the The added value (referred to as "horizontal weight sum") is taken into buffer register 9 and held there.

尚第1図中、水平カウンタ10および垂直カウンタ11
は、ウィンドウ7の読み書きに際し、ウィンドウメモリ
6内の画素位置をアドレス指定するためのもので、この
うち水平カウンタ10の計数値(ウィンドウメモリ6の
水平アドレス)は前記加算器8に与えるようにしである
。またゲート回路12.13は、奇数フィールド信号O
Dやクロック信号GKで開閉制御され、書込み制御信号
Wや読出し制御信号Rをウィンドウメモリ6へ供給する
。さらにゲート回路14は奇数フィールド信号ODで開
閉制御され、クロック信号CKを水平カウンタIOおよ
び垂直カウンタ11へそれぞれ供給する。
In addition, in FIG. 1, a horizontal counter 10 and a vertical counter 11
is used to address the pixel position in the window memory 6 when reading and writing from the window 7, and among these, the counted value of the horizontal counter 10 (horizontal address of the window memory 6) is given to the adder 8. be. Furthermore, the gate circuits 12 and 13 are connected to the odd field signal O.
Opening/closing is controlled by D and clock signal GK, and supplies write control signal W and read control signal R to window memory 6. Furthermore, gate circuit 14 is controlled to open and close by odd field signal OD, and supplies clock signal CK to horizontal counter IO and vertical counter 11, respectively.

前記バッファレジスタ9の累積加算値(水平荷重和)は
、水平走査終了時毎にl10(Input 10utp
ut )ポート15を介してCP U (Centra
lProcessing Unit) 16に取り込ま
れ、CPU16は取り込んだデータ内容をRAM(Ra
ndomAccess  Memory) 17にスト
アし且つ表示部18に表示してゆくと共に、入力パター
ンP、の回転ずれの検出に関する一連の演算や処理を実
行する。
The cumulative addition value (horizontal load sum) of the buffer register 9 is 110 (Input 10utp) at the end of each horizontal scan.
ut) via port 15.
Processing Unit) 16, and the CPU 16 stores the imported data contents in RAM (Ra
17 and displays it on the display unit 18, and executes a series of calculations and processes related to detection of rotational deviation of the input pattern P.

なお図中、F ROM (Programmable 
 ReadOnly  Memory ) 19は回転
ずれの検出や修正等の一連のプロゲラ°ムを格納し、ま
たRAM17は各種データの格納するエリアの他、各処
理を実行するためのワークエリアを有する。さらにゲー
ト回路20はCPU16に対し割込み信号INTを発生
させるための回路である。
In addition, in the figure, F ROM (Programmable
The ReadOnly Memory 19 stores a series of programs for detecting and correcting rotational deviations, and the RAM 17 has an area for storing various data as well as a work area for executing various processes. Further, the gate circuit 20 is a circuit for generating an interrupt signal INT to the CPU 16.

第4図は回転ずれのない標準パターンP0を、第5図は
角度θ、の回転ずれが与えられた標準パターンP1を、
第6図はさらに大きい角度θ2の回転ずれが与えられた
標準パターンP2を、第7図はある角度θの回転ずれを
有する入力パターンP、を、それぞれ示しである。各図
中、7は各パターンに対し設定されるウィンドウ、斜線
部分はウィンドウ7内に含まれる各パターンの黒画素を
示す。また各図に付随して示したヒストグラムHa、H
+、Hz、Hは、各水平走査ラインに対する水平荷重和
の大きさを示し、またRAM17の領域図は各水平荷重
和の格納範囲(図中、斜線部分)を示している。同図に
よれば、パターンの回転ずれが太き(なるに従ってヒス
グラムの形状が変化し、またRAM17のデータ格納範
囲が拡がってゆくことがわかる。
Fig. 4 shows a standard pattern P0 with no rotational deviation, and Fig. 5 shows a standard pattern P1 given a rotational deviation of angle θ.
FIG. 6 shows a standard pattern P2 given a rotational deviation of a larger angle θ2, and FIG. 7 shows an input pattern P having a rotational deviation of a certain angle θ. In each figure, 7 indicates a window set for each pattern, and the shaded area indicates the black pixels of each pattern included in window 7. Also, histograms Ha and H shown accompanying each figure.
+, Hz, and H indicate the magnitude of the horizontal load sum for each horizontal scanning line, and the area diagram of the RAM 17 indicates the storage range (shaded area in the figure) of each horizontal load sum. According to the figure, it can be seen that as the rotational deviation of the pattern becomes thicker, the shape of the histogram changes and the data storage range of the RAM 17 expands.

しかして物体認識処理に先立ち、まず回転ずれのない状
態の標準モデル、ついで異なる角度の回転ずれが与えら
れた各標準モデル、ついで異なる角度の回転ずれが与え
られた各標準モデルについて、第1図に示す回路を用い
てその標準パターンPIIIPIIP!I・・・・を求
め、回転ずれ検出用の標準データの作成を実施する。
Therefore, prior to object recognition processing, first, a standard model with no rotational deviation, then each standard model given a rotational deviation of a different angle, and then each standard model given a rotational deviation of a different angle, as shown in Figure 1. Using the circuit shown in the standard pattern PIIIPIIP! I... is determined and standard data for detecting rotational deviation is created.

今テレビカメラ1により回転ずれのない状態)標準モデ
ルを撮像すると、ビデオ信号vDiの最初の奇数フィー
ルドにつき2値化処理が実行されて、第4図に示す標準
パターンP0が生成される。この標準パターンP0は、
黒画素検知回路5へ送出され、この黒画素検知回路5に
おいてウィンドウ7内に含まれる黒画素の検知が行われ
ると共に、加算器8において黒画素検知タイミング毎に
水平カウンタ10の内容を取り込んで水平荷重和が算出
される。そして奇数フィールドにおける水平同期信号H
Dの各時間タイミングで、CPU16に対し割込み信号
INTが発生せられ、CPU16はこの水平同期期間に
おいて、バッファレジスタ9の水平荷重和を取り込んで
、RAM17に格納する。この水平荷重和の算出および
取込みは全水平走査ラインにわたって1ラインづつ実施
されるもので、この場合、取り込まれた水平荷重和がゼ
ロ以外の値をもつときは、RAM17の角度θ。
When the standard model (with no rotational deviation) is now imaged by the television camera 1, a binarization process is executed for the first odd field of the video signal vDi, and the standard pattern P0 shown in FIG. 4 is generated. This standard pattern P0 is
The black pixel detection circuit 5 detects the black pixels included in the window 7, and the adder 8 takes in the contents of the horizontal counter 10 at each black pixel detection timing and calculates the horizontal A weighted sum is calculated. And the horizontal synchronization signal H in the odd field
An interrupt signal INT is generated to the CPU 16 at each time timing D, and the CPU 16 takes in the horizontal load sum of the buffer register 9 and stores it in the RAM 17 during this horizontal synchronization period. This calculation and import of the horizontal load sum is performed line by line across all horizontal scanning lines. In this case, if the retrieved horizontal load sum has a value other than zero, the angle θ of the RAM 17 is calculated.

に対応するアドレスのエリアに先頭より順次そのデータ
が格納されてゆ(が、もし水平荷重和の値がゼロのとき
は、RAM17へのデータの格納は行われない(第4図
参照)。
The data is sequentially stored in the area corresponding to the address from the beginning (however, if the value of the horizontal weight sum is zero, the data is not stored in the RAM 17 (see FIG. 4).

第5図および第6図は、角度θ3.θ2の回転ずれが与
えられた標準パターンP、、Ptを示しており、これら
各パターンpt、pgについても、上記と同様の手順で
水平荷重和の算出を行った後、それぞれのデータをRA
M17の角度θ1゜θ2に対応するアドレスのエリアに
格納する。
5 and 6 show angles θ3. Standard patterns P, , Pt given a rotational shift of θ2 are shown. For each of these patterns pt and pg, after calculating the horizontal load sum using the same procedure as above, the respective data is RA
It is stored in the area of the address corresponding to the angle θ1° θ2 of M17.

以下さらに異なる角度θ1.θ4.・・・・、θ7の回
転ずれを有する標準パターンPz−Pa、  ・・・・
、P、1 (図示せず)について、同様の手順で水平荷
重和を算出して、各データをRAM17へ格納し、これ
により回転ずれ検出用の標準データの生成を完了する。
The following further different angles θ1. θ4. ..., standard pattern Pz-Pa with rotational deviation of θ7, ...
, P,1 (not shown), the horizontal load sum is calculated using the same procedure and each data is stored in the RAM 17, thereby completing the generation of standard data for detecting rotational deviation.

つぎに被認識物体をテレビカメラlで撮像すると、ビデ
オ信号VD!の最初の奇数フィールドにつき2値化処理
が行われて、第7図に示すような角度θの回転ずれを有
する入力パターンP1が生成される。この入力パターン
P!は、黒画素検知回路5へ送られて、ウィンドウ7内
に含まれる黒画素の検知が行われると共に、加算器8に
て黒画素検知タイミング萄に水平カウンタ10の内容を
取り込んで水平荷重和が算出される。そして奇数フィー
ルドにおける水平同期信号HDの各時間タイミングで、
CPU16に対し割込み信号INTが発せられ、CPU
16はこの水平同期期間において、バッファレジスタ9
の水平荷重和を取り込んで、RAM17の所定エリアに
格納する。そしてこの1水平走査ライン毎の水平荷重和
の算出および取込みが全水平走査ラインにわたって実行
されると、つぎにCPU16は、続く偶数フィールドの
期間において、この入力パターンP、に関するRAM1
7への格納データを前記各標準パターンP(+P、、P
2. ・・・・ p7についての標準データと順次照合
し、最も一致度の高い標準データをサーチして、対応す
る角度(例えばθ4)を入力パターンP、の回転ずれ量
として検出する。しかる後CPU16は、この角度θ4
に基づき入力パターンP直の回転ずれを修正し、その修
正パターンにつき物体認識のためのパターン照合処理を
開始させるものである。
Next, when the object to be recognized is imaged by a television camera l, a video signal VD! Binarization processing is performed on the first odd field of , and an input pattern P1 having a rotational shift of angle θ as shown in FIG. 7 is generated. This input pattern P! is sent to the black pixel detection circuit 5 to detect the black pixels included in the window 7, and at the same time, the adder 8 takes in the contents of the horizontal counter 10 at the black pixel detection timing and calculates the horizontal weight sum. Calculated. And at each time timing of the horizontal synchronization signal HD in the odd field,
An interrupt signal INT is issued to the CPU 16, and the CPU
16 is the buffer register 9 during this horizontal synchronization period.
The horizontal load sum is taken in and stored in a predetermined area of the RAM 17. When this calculation and import of the horizontal weight sum for each horizontal scanning line is executed over all horizontal scanning lines, the CPU 16 then stores the RAM 1 related to this input pattern P in the period of the subsequent even field.
7 is stored in each of the standard patterns P (+P, ,P
2. . . . Sequentially collates with standard data regarding p7, searches for the standard data with the highest matching degree, and detects the corresponding angle (for example, θ4) as the amount of rotational deviation of the input pattern P. After that, the CPU 16 calculates this angle θ4.
Based on this, the rotational deviation of the input pattern P is corrected, and pattern matching processing for object recognition is started using the corrected pattern.

なお上記実施例は、水平荷重和を利用して入力パターン
の回転ずれ量を求めているが、この水平荷重和に代えて
、水平走査ライン毎の黒画素数、或いは水平荷重和平均
値によっても回転ずれ検出処理は可能である。
Note that in the above embodiment, the amount of rotational shift of the input pattern is determined using the sum of horizontal loads, but instead of this sum of horizontal loads, the number of black pixels for each horizontal scanning line or the average value of the sum of horizontal loads may be used. Rotational deviation detection processing is possible.

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

第1図はこの発明にかかる回転ずれ検出装置の回路ブロ
ック図、第2図は第1図の回路の信号波形を示すタイム
チャート、第3図(11(2)は標準パターンおよび人
カバターンを示す図、第4図〜第7図は標準パターンに
対する入力パターンの回転ずれの検出原理を示す図であ
る。 l・・・・テレビカメラ   4・・・・2値化回路5
・・・・黒画素検知回路 6・・・・ウィンドウメモリ 8・・・・加算器9・・
・・バッファレジスタ 10・・・・水平カウンタ   16・・・・CPU1
7・・・・RAM
Fig. 1 is a circuit block diagram of a rotational deviation detection device according to the present invention, Fig. 2 is a time chart showing signal waveforms of the circuit of Fig. 1, and Fig. 3 (11(2) shows a standard pattern and a human cover turn). 4 to 7 are diagrams showing the principle of detecting rotational deviation of an input pattern with respect to a standard pattern. 1...Television camera 4...Binarization circuit 5
...Black pixel detection circuit 6...Window memory 8...Adder 9...
...Buffer register 10...Horizontal counter 16...CPU1
7...RAM

Claims (5)

【特許請求の範囲】[Claims] (1)物体画像を2値化して標準パターンおよび入力パ
ターンを生成するパターン生成手段と、標準パターンお
よび入力パターンに対しリング形状のウィンドウを設定
するウィンドウ設定手段と、 異なる角度の回転ずれを有する各標準パターンにつき前
記ウィンドウ内に含まれるパターン構成画素に関する標
準情報を生成して、各角度毎に標準情報を記憶させる標
準情報記憶手段と、入力パターンにつきウィンドウ内に
含まれるパターン構成画素に関する入力情報を生成する
と共に、この入力情報を前記標準情報と照合して入力パ
ターンの回転ずれ量を判別する判別手段とを具備して成
る回転ずれ検出装置。
(1) A pattern generation means for binarizing an object image to generate a standard pattern and an input pattern, a window setting means for setting a ring-shaped window for the standard pattern and the input pattern, and each pattern having a rotational shift of a different angle. Standard information storage means for generating standard information regarding pattern constituent pixels included in the window for each standard pattern and storing the standard information for each angle; A rotational deviation detection device comprising: a determination unit that generates the input information and compares the input information with the standard information to determine the amount of rotational deviation of the input pattern.
(2)前記パターン生成手段は、物体を画像化するテレ
ビカメラと、物体画像を2値化する2値化回路とを含ん
で成る特許請求の範囲第1項記載の回転ずれ検出装置。
(2) The rotational deviation detection device according to claim 1, wherein the pattern generation means includes a television camera that images an object, and a binarization circuit that binarizes the object image.
(3)前記標準情報および入力情報は、各水平走査ライ
ン毎に求めたパターンの水平荷重和である特許請求の範
囲第1項記載の回転ずれ検出装置。
(3) The rotational deviation detection device according to claim 1, wherein the standard information and the input information are the sum of horizontal loads of patterns obtained for each horizontal scanning line.
(4)前記標準情報および入力情報は、各水平走査ライ
ン毎に求めたパターン構成画素数である特許請求の範囲
第1項記載の回転ずれ検出装置。
(4) The rotational deviation detection device according to claim 1, wherein the standard information and the input information are the number of pattern constituent pixels determined for each horizontal scanning line.
(5)前記標準情報および入力情報は、パターンの水平
荷重平均である特許請求の範囲第1項記載の回転ずれ検
出装置。
(5) The rotational deviation detection device according to claim 1, wherein the standard information and the input information are horizontal weighted averages of patterns.
JP13657185A 1985-06-21 1985-06-21 Detector for rotation deviation Pending JPS61294306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13657185A JPS61294306A (en) 1985-06-21 1985-06-21 Detector for rotation deviation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13657185A JPS61294306A (en) 1985-06-21 1985-06-21 Detector for rotation deviation

Publications (1)

Publication Number Publication Date
JPS61294306A true JPS61294306A (en) 1986-12-25

Family

ID=15178370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13657185A Pending JPS61294306A (en) 1985-06-21 1985-06-21 Detector for rotation deviation

Country Status (1)

Country Link
JP (1) JPS61294306A (en)

Similar Documents

Publication Publication Date Title
US10275639B2 (en) Face detecting and tracking method, method for controlling rotation of robot head and robot
JPH03294976A (en) Reference mark pattern detecting device
JPS60167069A (en) Pattern recognizer
JPH0644292B2 (en) Two-dimensional visual recognition device
JPH0810132B2 (en) Target pattern rotation angle detection method
JPH0785286A (en) Image processor
CN109146916A (en) A kind of moving body track method and device
JPS61294306A (en) Detector for rotation deviation
JP3427230B2 (en) Image processing device
JPH0652311A (en) Image processing method
JPS61292507A (en) Rotary deviation detector
JPH0129643Y2 (en)
JPS61879A (en) 2-dimensional visual recognizer
JPH0196540A (en) Method for detecting foreign matter in liquid
JPS63187374A (en) Automatic affine transformation processing system
JPS6275205A (en) Contour extracting device
JPS6365347A (en) Singular point detecting method by image processing
JPH07104137B2 (en) Method of detecting the rotation angle of the target pattern
JPS616776A (en) Recognizing device of two-dimensional sight
JPS62111368A (en) Main axial angle detector
JPS6280779A (en) Character reader
JPH0731733B2 (en) Rectangle detector
JPS619773A (en) Two dimensional visual recognizer
JPS60263272A (en) Two-dimensional vision recognizing device
JPS6121579A (en) Two-dimensional visual recognizer