JPH03211684A - Pattern discrimination device - Google Patents

Pattern discrimination device

Info

Publication number
JPH03211684A
JPH03211684A JP645690A JP645690A JPH03211684A JP H03211684 A JPH03211684 A JP H03211684A JP 645690 A JP645690 A JP 645690A JP 645690 A JP645690 A JP 645690A JP H03211684 A JPH03211684 A JP H03211684A
Authority
JP
Japan
Prior art keywords
image
image memory
pattern
position detection
data
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
JP645690A
Other languages
Japanese (ja)
Inventor
Akinori Inoue
彰紀 井上
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP645690A priority Critical patent/JPH03211684A/en
Publication of JPH03211684A publication Critical patent/JPH03211684A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、対象パターンを撮像して2値化データとした
後、画像メモリに一旦取り込み、その後読み出してウィ
ンドパターンメモリより読み出されたウィンドパターン
と重ね合わせて特徴量抽出を行い、その特徴量から対象
パターンの判別を行うパターン判別装置に関するもので
ある。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention captures an image of a target pattern and converts it into binarized data, and then imports it into an image memory, and then reads it out to create a window image that is read out from the window pattern memory. The present invention relates to a pattern discrimination device that extracts feature quantities by superimposing them on a pattern, and discriminates a target pattern from the feature quantities.

〔従来の技術〕[Conventional technology]

従来、パターン判別装置では、テレビカメラによって対
象パターンを撮像して得られるデータを2値化した後、
画像メモリに一旦取り込み、該画像メモリ内における2
値化データとしての対象パターンの位置を位置検出回路
によって検出することにより、対象パターンの微妙な位
置ずれを知り、ウィンドパターンメモリより読み出され
たウィンドパターンを前記位置ずれデータに従って位置
補正をして、前記画像メモリより読み出された対象パタ
ーンと重ね合わせて該対象パターンの特徴量を抽出し、
その特徴量からパターン判別を行っていた。
Conventionally, in a pattern discrimination device, after capturing an image of a target pattern with a television camera and binarizing the data obtained,
Once captured in the image memory, 2 in the image memory
By detecting the position of the target pattern as digitized data by a position detection circuit, the subtle positional deviation of the target pattern is known, and the position of the wind pattern read out from the wind pattern memory is corrected according to the positional deviation data. , extracting the feature amount of the target pattern by superimposing it on the target pattern read from the image memory,
Pattern discrimination was performed from the feature values.

その際、装置内の動作は、対象パターンを撮像するテレ
ビカメラにおけるテレビジョン信号の垂直同期信号(以
下、■同期、或いは■同期信号ということがある)に同
期して行われ、撮像データの画像メモリへの取り込み、
画像メモリ内における対象パターンの位置検出、特徴量
の抽出等が行われていた。
At that time, the operation within the device is performed in synchronization with the vertical synchronization signal (hereinafter sometimes referred to as ■ synchronization or ■ synchronization signal) of the television signal in the television camera that images the target pattern, and the image of the captured data is import into memory,
Detection of the position of the target pattern in the image memory, extraction of feature quantities, etc. were performed.

これはV同期信号(1周期は16.7 m、 s )と
いう単一の同期信号に同期して動作させることにより回
路構成を簡易化することができるためであった。
This is because the circuit configuration can be simplified by operating in synchronization with a single synchronizing signal called the V synchronizing signal (one cycle is 16.7 m, s).

[発明が解決しようとする課B] 従来の技術では、■同期信号に同期して画像メモリへ画
像データを取り込み、位置補正量の検出。
[Problem B to be solved by the invention] In the conventional technology, (1) importing image data into an image memory in synchronization with a synchronization signal and detecting the amount of position correction;

画像特徴量の抽出を行ない、かつ画像特徴量の抽出では
、画像メモリからV同期信号に同期して、2値化画像デ
ータを読み出しながら抽出を行なっているため、撮像し
た画像データの取り込みを始めてから、画像特徴量の抽
出が終るまで3■同期信号= 16.7 X 3 m 
sを必要とし、かつ、この間は、ハード的に次の画像デ
ータの取り込みが出来ないため、判定に要する時間は、
16.7 X 3 =50、1 m s以下に短くする
ことが出来なかった。
Image feature values are extracted, and the image feature values are extracted while reading out binarized image data from the image memory in synchronization with the V synchronization signal. 3 ■ Synchronization signal = 16.7 x 3 m until the extraction of image features is completed
s, and during this time the next image data cannot be imported due to the hardware, so the time required for the determination is:
16.7 X 3 =50, which could not be shortened to 1 ms or less.

また画像特徴量の抽出では、画像メモリの2値化画像全
体をV同期に同期して読み出しながら特徴量を抽出して
いるため、所定ウィンドウ領域が小さい場合でも、1■
同期期間(16,7m s )を必要とし、位置補正量
の検出が短時間で終っても、特徴量の抽出が始まる次の
■同期信号まで、待たなければならないという問題があ
る。
In addition, when extracting image features, features are extracted while reading out the entire binarized image in the image memory in synchronization with V synchronization, so even if the predetermined window area is small,
This method requires a synchronization period (16.7 m s), and even if the detection of the position correction amount is completed in a short time, there is a problem in that it is necessary to wait until the next synchronization signal at which feature extraction begins.

近年、高速でパターン判別が要求されており、上記技術
では高速化するのには限界がある。
In recent years, there has been a demand for high-speed pattern discrimination, and there is a limit to how fast the above technology can increase the speed.

本発明の目的は、上記の如き制約がなく、高速でパター
ン判別のできるパターン判別装置を提供することにある
An object of the present invention is to provide a pattern discrimination device that is free from the above-mentioned limitations and can discriminate patterns at high speed.

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

上記目的達成のため本発明では、2系統の画像メモリと
これらを切り換える切換手段と2系統の位置検出回路を
有し、画像特徴量抽出においては、■同期信号とは同期
せず、特徴を抽出したい所定領域内の2値化画像のみ画
像メモリより読み出し、特徴を抽出するようにした。
In order to achieve the above object, the present invention has two systems of image memory, switching means for switching between them, and two systems of position detection circuits, and in extracting image features, (1) extracts features without synchronizing with a synchronization signal; Only the binarized image within the desired predetermined area is read out from the image memory and features are extracted.

〔作用〕[Effect]

上記手段を講じたことにより、判定処理に要する時間は
“画像取込み時間(16,7m s )十位置補正量検
出時間+特徴を抽出したい所定領域内の画像読出し時間
+抽出された特徴量による判定時間“となり、3■同期
= 50.1 m s以下とすることが可能となった。
By taking the above measures, the time required for the determination process is "image capture time (16,7ms) + detection time of ten position correction amount + image readout time in a predetermined area from which features are to be extracted + determination based on the extracted feature amount" 3) synchronization = 50.1 ms or less.

また2系統の画像メモリと位置検出回路を有することに
より、一方の画像メモリより読み出した画像データに対
して位置補正量の検出、特徴量の抽出、特徴量による判
定を行なっている間に、もう一方の画像メモリへ画像デ
ータを取込むことが可能となり、判定間隔としては最短
で16.7 m sが可能となった。
In addition, by having two systems of image memory and position detection circuit, while detecting the position correction amount, extracting the feature amount, and making a judgment based on the feature amount for the image data read from one image memory, It became possible to import image data into one of the image memories, and the shortest determination interval was 16.7 ms.

〔実施例〕〔Example〕

第1図は、本発明の一実施例を示すブロック図である。 FIG. 1 is a block diagram showing one embodiment of the present invention.

同図において、1はTVカメラ、2は2値化回路、3は
同期信号(TVカメラに同期した水平、垂直同期信号)
発生回路、4は画像メモリ切換えスイッチ、5,7はそ
れぞれアドレス発生回路、6.8はそれぞれ画像メモリ
、9,10はそれぞれ位置検出回路、11はウィンドウ
パターンメモリ、13は特徴量抽出回路、14はCPU
、15はバス、18は対象パターン、16はl系統、1
7は他系統、である。
In the figure, 1 is a TV camera, 2 is a binarization circuit, and 3 is a synchronization signal (horizontal and vertical synchronization signals synchronized with the TV camera).
4 is an image memory changeover switch, 5 and 7 are address generation circuits, 6.8 are image memories, 9 and 10 are position detection circuits, 11 is a window pattern memory, 13 is a feature extraction circuit, 14 is CPU
, 15 is the bus, 18 is the target pattern, 16 is the l system, 1
7 is from another system.

第1図に示すパターン判別装置の基本動作は次のとおり
である。
The basic operation of the pattern discrimination device shown in FIG. 1 is as follows.

TVカメラ1からの撮像信号が2値化回路2によって2
値化された後、CPUI 4の指令で切り換えスイッチ
4によって選択された画像メモリ6゜または8へ、同期
信号発生回路3からの垂直同期信号に同期してパターン
データとして格納される。
The image signal from the TV camera 1 is converted into 2 by the binarization circuit 2.
After being converted into a value, it is stored as pattern data in the image memory 6° or 8 selected by the changeover switch 4 in accordance with a command from the CPU 4 in synchronization with the vertical synchronization signal from the synchronization signal generation circuit 3.

このとき選択された画像メモリのアドレス発生回路5ま
たは7は同期信号発生回路3からの垂直同期信号に同期
して書き込みアドレスを発生し、選択された画像メモリ
6または8を走査する。
At this time, the address generation circuit 5 or 7 of the selected image memory generates a write address in synchronization with the vertical synchronization signal from the synchronization signal generation circuit 3, and scans the selected image memory 6 or 8.

画像データの画像メモリへの格納の終了後、画像データ
を格納した画像メモリに対して、CP[J14の指令に
従って位置検出回路9または工0により、画像メモリ内
の所定領域の射影データを抽出し、パターン位置の微妙
なずれを検出し、それから位置補正量を求める。このと
きアドレス発生回路5または7は、CPUI 4の指令
により、同期信号発生回路3に同期せずに所定領域の読
み出しアドレスを発生し、画像データの格納されている
方の画像メモリ6または8を走査する。
After the image data has been stored in the image memory, the projection data of a predetermined area in the image memory is extracted by the position detection circuit 9 or step 0 according to the command of CP[J14. , detect a slight shift in the pattern position, and then calculate the position correction amount. At this time, the address generation circuit 5 or 7 generates a read address for a predetermined area without synchronizing with the synchronization signal generation circuit 3 according to a command from the CPU 4, and reads the image memory 6 or 8 in which image data is stored. scan.

位置検出終了後、画像の格納されている画像メモリ6ま
たは8より、特徴を抽出するための位置補正された所定
領域のみの画像をアドレス発生回路5または7により非
同期に読み出しアドレスを発生し、走査して、部分的に
読み出し、特徴量抽出回路13にて、ウィンドウパター
ンメモリ11のウィンドウパターンと照合し、特徴量を
抽出する。抽出された特徴量はバス15を介してCPU
14に取り込まれ、対象パターンの判別が行われる。
After the position detection is completed, the address generation circuit 5 or 7 asynchronously reads out the image of only a predetermined area whose position has been corrected for extracting features from the image memory 6 or 8 where the image is stored, generates an address, and scans the image. Then, it is partially read out, and the feature amount extraction circuit 13 compares it with the window pattern in the window pattern memory 11 to extract the feature amount. The extracted feature quantities are sent to the CPU via the bus 15.
14, and the target pattern is determined.

最初、切換スイッチ4がa側に接続されて画像データが
画像メモリ6に取り込まれているとすると、その取り込
みの終了タイミングは、書き込みアドレスを発生してい
るアドレス発生回路5で分かるので、CPU14は、そ
のタイミングをアドレス発生回路5から通知され、それ
により切換スイッチ4をb側に切り換えて画像データを
今度は画像メモリ7に取り込むようにする。
Initially, if the changeover switch 4 is connected to the a side and the image data is loaded into the image memory 6, the end timing of the loading can be determined by the address generation circuit 5 that generates the write address, so the CPU 14 , the timing is notified from the address generation circuit 5, and the changeover switch 4 is then switched to the b side so that the image data is now taken into the image memory 7.

このようにして画像メモリ7に画像データを取り込む動
作を行っている間に、それと並行して、その前に画像デ
ータを取り込んだ画像メモリ6に対する位置検出、特徴
量抽出などを行うわけである。
While the image data is being loaded into the image memory 7 in this way, in parallel, position detection, feature quantity extraction, etc. are performed on the image memory 6 into which the image data was previously loaded.

第2図は、特徴量抽出回路13における特徴量抽出方法
を示した説明図である。
FIG. 2 is an explanatory diagram showing a feature amount extraction method in the feature amount extraction circuit 13.

同図に見られる如く、画像メモリ6または8から、対象
パターンの特徴抽出したい領域Cを取り出すために、ア
ドレス発生回路5または7に対し、CPUI 4が、こ
の領域Cのスタート点の座標(X、、Y、)と幅(Xa
 、 Ya)を設定してやり、この領域Cのみを、■同
期と非同期にて読み出しアドレスを発生して読み出すの
である。
As shown in the figure, in order to retrieve the region C from which the feature of the target pattern is to be extracted from the image memory 6 or 8, the CPU 4 sends the address generation circuit 5 or 7 the coordinates (X ,,Y,) and width (Xa
, Ya), and only this area C is read out by generating read addresses in synchronous and asynchronous manners.

このとき位置検出回路にて検出した補正量を使ってスタ
ート点の座標(x+ 、y、)を補正することにより、
適切な領域抽出ができる。この読み出された部分的な画
像(抽出領域C)に対し、特徴抽出処理工3にて、ウィ
ンドウパターンメモリ11からのウィンドウパターンD
と重ね合せ、論理積をとるなどして、ウィンドウパター
ンD内の特徴量(例えば面積)を抽出するのである。
At this time, by correcting the coordinates (x+, y,) of the start point using the correction amount detected by the position detection circuit,
Appropriate region extraction is possible. For this read partial image (extraction area C), the feature extraction processing unit 3 extracts the window pattern D from the window pattern memory 11.
The feature amount (for example, area) within the window pattern D is extracted by superimposing the window pattern D and performing a logical product.

第3図は、第1図に示した実施例の動作の流れとタイミ
ングを示したチャートである。
FIG. 3 is a chart showing the flow and timing of the operation of the embodiment shown in FIG.

まず画像メモリAへ■同期に同期して画像が格納され、
次に位置検出回路Aによる位置補正蓋の検出、特徴抽出
、抽出された特徴量に従ったCPUによる判定処理が行
なわれる。このとき、画像メモリAへの格納が終了した
時点で、画像メモリ切換えスイッチを切換えることによ
り、位置検出以降の処理と並列して、画像メモリBへの
画像の格納が行なわれる。画像メモリBへの画像の格納
もV同期に同期して行なわれる。格納後の処理も画像メ
モリAの画像に対する処理と同じである。
First, the image is stored in image memory A in synchronization,
Next, the position detection circuit A detects the position correction lid, extracts the features, and performs determination processing by the CPU according to the extracted features. At this time, when the storage in the image memory A is completed, by switching the image memory changeover switch, the image is stored in the image memory B in parallel with the processing after position detection. Storage of images in image memory B is also performed in synchronization with V synchronization. The processing after storage is also the same as the processing for the image in image memory A.

但し位置検出は位置検出回路Bが動作する。画像格納後
に画像メモリ切換スイッチをCPUの指令で切り換える
ことにより交互に上記動作が行なわれる。ここで判定は
CPUによるソフト処理であり、それ以外はハード処理
である。
However, position detection circuit B operates for position detection. After the image is stored, the above operations are performed alternately by switching the image memory changeover switch according to a command from the CPU. Here, the determination is a software process by the CPU, and the rest is a hardware process.

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

本発明によれば、■同期信号と非同期にて、位置検出、
特徴抽出処理ができ、特徴抽出においては、画像の部分
的な読み出しを行い、かっ、2系統の画像メモリユニッ
トを有することにより、判定間隔を最短で16.7 m
 sと、従来の1/3にまで短くすることが可能となり
、高速判定ができるようになった。
According to the present invention, position detection is performed asynchronously with the synchronization signal.
Feature extraction processing is possible, and during feature extraction, partial reading of the image is performed, and by having two systems of image memory units, the determination interval can be as short as 16.7 m.
It has become possible to shorten the time to 1/3 of the conventional one, making it possible to perform high-speed determination.

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

第1図は、本発明の一実施例を示すブロック図、第2図
は画像の部分的な領域を取り出して特徴抽出を行う方法
の説明図、第3図は本発明の実施例の動作の流れを示す
タイムチャート、である。 符号の説明 2・・・2値化回路、3・・・同期信号発生回路、4・
・・切換スイッチ、5,7・・・アドレス発生回路、6
゜8・・・画像メモリ、9.10・・・位置検出回路、
11・・・ウィンドウパターンメモリ、13・・・特徴
量抽出回路、14・・・CPU
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an explanatory diagram of a method for extracting features by extracting a partial area of an image, and Fig. 3 is an illustration of the operation of the embodiment of the present invention. This is a time chart showing the flow. Explanation of symbols 2...Binarization circuit, 3...Synchronization signal generation circuit, 4.
...Selector switch, 5, 7...Address generation circuit, 6
゜8... Image memory, 9.10... Position detection circuit,
11... Window pattern memory, 13... Feature amount extraction circuit, 14... CPU

Claims (1)

【特許請求の範囲】 1)対象パターンを撮像して得られるデータを2値化す
る2値化回路と、2値化データを取り込んで格納する画
像メモリと、該画像メモリ内における2値化データとし
ての対象パターンの位置を検出する位置検出回路と、ウ
インドパターンメモリと、該ウインドパターンメモリよ
り読み出されたウインドパターンを前記位置検出回路に
より検出された対象パターンの位置データに従って位置
補正をして、前記画像メモリより読み出された対象パタ
ーンと重ね合わせて該対象パターンの特徴量を抽出する
特徴量抽出回路と、を有して成るパターン判別装置にお
いて、 前記画像メモリを少なくとも2系統設け、第1の系統に
属する画像メモリに2値化データを取り込んでいる間に
、第2の系統に属する画像メモリからその前に取り込ん
だ画像データを読み出して位置検出、特徴量抽出を行い
、次いで、第2の系統に属する画像メモリに2値化デー
タの取り込みを行い、その間に、第1の系統に属する画
像メモリからその前に取り込んだ画像データを読み出し
て位置検出、特徴量抽出を行うというように、第1の系
統と第2の系統の間で交互にお互いの動作を繰り返させ
る動作切換制御手段を具備したことを特徴とするパター
ン判別装置。
[Claims] 1) A binarization circuit that binarizes data obtained by imaging a target pattern, an image memory that captures and stores the binarized data, and the binarized data in the image memory. a position detection circuit for detecting the position of a target pattern, a window pattern memory, and a position detection circuit for correcting the position of the window pattern read from the window pattern memory according to the position data of the target pattern detected by the position detection circuit; , a feature amount extraction circuit that extracts the feature amount of the target pattern by superimposing it on the target pattern read from the image memory, wherein at least two systems of the image memory are provided, While the binarized data is being imported into the image memory belonging to the first system, the previously imported image data is read out from the image memory belonging to the second system, and position detection and feature extraction are performed. Binarized data is imported into the image memory belonging to the second system, and in the meantime, the previously imported image data is read out from the image memory belonging to the first system, and position detection and feature extraction are performed. . A pattern discriminating device comprising operation switching control means for alternately repeating operations between the first system and the second system.
JP645690A 1990-01-17 1990-01-17 Pattern discrimination device Pending JPH03211684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP645690A JPH03211684A (en) 1990-01-17 1990-01-17 Pattern discrimination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP645690A JPH03211684A (en) 1990-01-17 1990-01-17 Pattern discrimination device

Publications (1)

Publication Number Publication Date
JPH03211684A true JPH03211684A (en) 1991-09-17

Family

ID=11638940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP645690A Pending JPH03211684A (en) 1990-01-17 1990-01-17 Pattern discrimination device

Country Status (1)

Country Link
JP (1) JPH03211684A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6352272A (en) * 1986-08-22 1988-03-05 Fuji Electric Co Ltd Pattern discrimination device
JPS6361575A (en) * 1986-08-29 1988-03-17 アグファ−ゲ−ヴェルト・アクチエンゲゼルシャフト Method and apparatus for copying original picture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6352272A (en) * 1986-08-22 1988-03-05 Fuji Electric Co Ltd Pattern discrimination device
JPS6361575A (en) * 1986-08-29 1988-03-17 アグファ−ゲ−ヴェルト・アクチエンゲゼルシャフト Method and apparatus for copying original picture

Similar Documents

Publication Publication Date Title
JPH0215102B2 (en)
US4718090A (en) Method and apparatus for high-speed processing of video images
JPH0644292B2 (en) Two-dimensional visual recognition device
JPH07220026A (en) Image processing apparatus and method
JPH03211684A (en) Pattern discrimination device
US5450503A (en) Image recognition method
JP3244850B2 (en) License plate reader
JP2758180B2 (en) Edge signal processing circuit
JP3658137B2 (en) Moving object recognition method
KR0148981B1 (en) Image converter using horizontal synchronous signal counter
JP3661375B2 (en) Image processing device
JPH0155630B2 (en)
JPS62135982A (en) Pixel data comparison detection method
JPH0692940B2 (en) Defect detection device
JPS616776A (en) Recognizing device of two-dimensional sight
JPH11185037A (en) Defect information processing apparatus and method
JPH0143350B2 (en)
JPH0633361Y2 (en) Image reader
JPS628722B2 (en)
SU1566386A1 (en) Device for correction object images
JPS6365347A (en) Singular point detecting method by image processing
JPH08194825A (en) Contour information extraction device
JPH0530455A (en) Image storage
JPS63153688A (en) Character frame determination circuit
JPH03278283A (en) Image processor