JPS6111890A - Forming method of reference pattern in picture recognition - Google Patents

Forming method of reference pattern in picture recognition

Info

Publication number
JPS6111890A
JPS6111890A JP13116784A JP13116784A JPS6111890A JP S6111890 A JPS6111890 A JP S6111890A JP 13116784 A JP13116784 A JP 13116784A JP 13116784 A JP13116784 A JP 13116784A JP S6111890 A JPS6111890 A JP S6111890A
Authority
JP
Japan
Prior art keywords
pattern
reference pattern
memory
temporary reference
temporary
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
JP13116784A
Other languages
Japanese (ja)
Inventor
Sumio Nagashima
永島 純雄
Hiroyuki Akimoto
秋元 寛之
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP13116784A priority Critical patent/JPS6111890A/en
Publication of JPS6111890A publication Critical patent/JPS6111890A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To form exactly a reference pattern in an extremely short period by forming previously a temporary reference pattern then forming automatically a real reference pattern on the basis of the temporary reference pattern. CONSTITUTION:A binary pattern is formed around the center of a pattern 12 obtained from a designed value and inputted to a dictionary pattern memory as a temporary reference pattern 15. An arithmetic processing part executes the picture recognition of a pattern 13 separated from a picture memory and the temporary reference pattern 12 stored in the dictionary pattern memory on the basis of a pattern matching method. When the highest correlation between both the data is obtained, the identification of the temporary reference pattern 12 with the pattern 13 is obtained. Then, the pattern 12 is registered in a dictionary pattern memory as a real reference pattern 17.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は画像認識方法に係り、特に画像認識方法にお
ける基準パターンの作製方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image recognition method, and particularly to a method for creating a reference pattern in an image recognition method.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来より、光電変換装置から得られる対象のパターンと
基準パターンとの相関をとって照合させる画像認識方法
として、パターンマツチング法などがある。
2. Description of the Related Art Conventionally, there has been a pattern matching method as an image recognition method for correlating and matching a target pattern obtained from a photoelectric conversion device with a reference pattern.

通常、この画像認識方法で珀いられる基準パターンは、
たとえばITVカメラで対象部材を撮像し、その結果得
られる画像情報をモニタテレビの画面上に再生し、対象
部材またはIVTカメラを動かして、まず対象部材また
は対象部材の特定部分に対応する適切なパターンを選択
する。しがるのちこのパターンに基づいて所定の大きさ
の画素領域を切り出して作製し、これをメモリなどに取
り込んで登録していた。
Normally, the reference pattern detected by this image recognition method is
For example, an ITV camera images a target member, the resulting image information is reproduced on a monitor TV screen, and the target member or IVT camera is moved to first create an appropriate pattern corresponding to the target member or a specific portion of the target member. Select. After that, a pixel area of a predetermined size was cut out based on this pattern, and this was imported into a memory or the like and registered.

し力持この基準パターン作製方法は、パターンの選択お
よび選択されたパターンの微細な位置出しなどに時間が
々)かり、さらにオペレータの個人差によるばらつきを
生ずるなどの欠点があった。
However, this method for producing a reference pattern has disadvantages in that it takes a long time to select the pattern and finely position the selected pattern, and it also causes variations due to individual differences among operators.

これを解決する一方法として、図面などから得られる設
計寸法から、計算により基準パターンを作製する方法が
考えられるが、この方法では、通常光電変換装置の光学
倍率やその取付位置に誤差をともなうため、簡単に正確
な基準パターンを作製することができない。
One way to solve this problem is to create a reference pattern by calculation from design dimensions obtained from drawings, etc., but this method usually involves errors in the optical magnification of the photoelectric conversion device and its mounting position. , it is not possible to easily create an accurate reference pattern.

〔発明の目的〕[Purpose of the invention]

この発明は、光電変換装置の光学倍率やその取付位置の
誤差を吸収して、自動的に正確に基準パターンを作製し
て登録する方法を提供することにある。
An object of the present invention is to provide a method for automatically and accurately creating and registering a reference pattern by absorbing errors in the optical magnification of a photoelectric conversion device and its mounting position.

〔発明の概要〕[Summary of the invention]

最初に対象の設計寸法および光電変換装置の光学倍率に
基づいて、計算により仮の基準パターンを作製する。し
かるのちこの仮の基準パターンとから得られる対象のパ
ターンとの同定、および対象のパターンの位置を認識す
る。そしてこの同定および位置認識された対象のパター
ンから真の基準パターンを作製し、これを登録するよう
にした。
First, a temporary reference pattern is created by calculation based on the design dimensions of the object and the optical magnification of the photoelectric conversion device. Thereafter, the target pattern obtained from this temporary reference pattern is identified and the position of the target pattern is recognized. Then, a true reference pattern was created from the identified and position-recognized target pattern, and this was registered.

〔発明の実施例〕 以下、図面を参照してこの発明を実施例に基づいて説明
する。
[Embodiments of the Invention] The present invention will be described below based on embodiments with reference to the drawings.

まず画像認識装置について述べる。この画像認識装置は
、第2図に示すように対象部材(1)を視野内に納める
如くその前面に設置されたITVカメラ(2)からなる
光電変換装置と、このITVカメラ(1)から送出され
る画像情報信号を処理する画像認識1回路(3)と、I
TVカメラ(1)により撮像された画像を再生するモニ
タテレビ(4)とを有する。上記画像認識回路(3)は
、第3図に示すようにITVカメラ(2)から送出され
る画像情報を二値化する二値化回路(5)と、この二値
化回路(5)で二値化された画像情報を一時的に記憶す
る画像メモリ(6)と、基準パターンを記憶する辞書パ
ターンメモリ(7)と、これらメモリ(6) 、 (7
)から情報を呼び出して、それらの相互相関を演算する
演算処理部(8)と、この演算処理部(8)における演
算結果を判定する判定回路(9)とからなる。
First, the image recognition device will be described. As shown in Fig. 2, this image recognition device consists of a photoelectric conversion device consisting of an ITV camera (2) installed in front of the target member (1) so as to keep it in its field of view, and a photoelectric conversion device that transmits signals from the ITV camera (1). an image recognition circuit (3) that processes an image information signal to be processed;
It has a monitor television (4) that reproduces images captured by the TV camera (1). The image recognition circuit (3) includes a binarization circuit (5) that binarizes the image information sent from the ITV camera (2), and a binarization circuit (5) as shown in FIG. An image memory (6) that temporarily stores binarized image information, a dictionary pattern memory (7) that stores reference patterns, and these memories (6), (7)
), and a determination circuit (9) that determines the result of the calculation in the calculation processing unit (8).

今、この画像認識装置を用いて対象部材(1)の特定部
分(lla) 、 (llb) 、 (lie)のうち
、特定部分(lla)を対象として検出するものとする
。説明を明確にするため、設計上特定部分(lla)は
直径2mmの円であり、画像認識装置は、正しい位置に
ある対象部材(1)に対して、ITVカメラ(2)の光
学倍率が設計上0.05mm/画素であるとする。また
実際の光学倍率は、ITVカメラ(2)の製作誤差や数
句は位置のずれなどによって、0.052mm/画素に
なっているとするよ、第1A図に示すように上記各設計
値から得られる特定部分(lla)のパターン(12)
は、計算により直径40画素の円形状になるはずである
。しかし、I T、Vカメラ(2)で対象部材(1)を
撮像した画面である第1B図に示すように、実際にIT
Vカメラ(2)から得られる特定部分(lla)のパタ
ーン(13)は、直径38画素の円形状となる。しかも
実際の特定部分(lla)に加工むらなどがあると、そ
の形状は、設計値から得られるパターン(12)にくら
べて歪んだものとなる。
Now, it is assumed that among the specific parts (lla), (llb), and (lie) of the target member (1), a specific part (lla) is detected as a target using this image recognition device. For clarity of explanation, the design specific part (lla) is a circle with a diameter of 2 mm, and the image recognition device is designed so that the optical magnification of the ITV camera (2) is set for the target member (1) in the correct position. Assume that the upper value is 0.05 mm/pixel. In addition, the actual optical magnification is assumed to be 0.052 mm/pixel due to manufacturing errors and positional deviations of the ITV camera (2), based on the above design values as shown in Figure 1A. Pattern of specific part (lla) obtained (12)
According to the calculation, should be a circular shape with a diameter of 40 pixels. However, as shown in Figure 1B, which is a screen image of the target member (1) taken with the IT, V camera (2),
The pattern (13) of the specific portion (lla) obtained from the V camera (2) has a circular shape with a diameter of 38 pixels. Moreover, if there is any processing unevenness in the actual specific portion (lla), its shape will be distorted compared to the pattern (12) obtained from the design values.

そこでこの発明における基準パターン作製方法は、まず
第1A図に示すように上記設計値から得られるパターン
(12)について、このパターン(12)の中心を中心
にして64画素X64画素の枠取り(パターン(12)
の直径は40画素)をした2値化パターンを作製し、こ
れを仮の基準パターン(15)として第3図に示した辞
書パターンメモリ(7)に取り込む。そしてITVカメ
ラ(2)から二値化回路(5)を介して画像メモリ(6
)に一時間に記憶された対象部材(1)の画像情報から
、順次仮の基準パターン(I2)と同じ大きさの画像情
報(64画素×64画素)を切り出して、この画像メモ
リ(6)から切り出した画像情報と辞書パターンメモリ
(7)に取り込まれた仮の基準パターン(12)とを、
演算処理部(8)において、パターンマツチング法によ
り画像認識させる。かくして第1B図に示した特定部分
(lla)のパターン(13)の検出(同定)は、仮の
基準パターン(12)と画像メモリ(6)から切り出さ
れた画像情報との排他的論理和をとり、両データの一致
するビット数を計数して最も高い相関関係を探し出すこ
とによって得られる。そしてこのように検出されたパタ
ーン(13)の位置は、両データが最も高い相関が得ら
れたとき、仮の基準パターン(12)の中心を通る直交
軸X、Yと一致するパターン(13)の直交軸Xa、Y
aで示される。そこでこの直交軸Xa、Yaを基準にし
て、図中破線(16)で示すように64画素Xa4画素
の基準パターンエリアを切り出して、第1c図に示すよ
うにこれを真の基準パターン(17)として辞書パター
ンメモリ(7)に登録する。
Therefore, in the reference pattern manufacturing method of the present invention, first, as shown in FIG. (12)
A binarized pattern with a diameter of 40 pixels is prepared, and this is imported into the dictionary pattern memory (7) shown in FIG. 3 as a temporary reference pattern (15). The ITV camera (2) then passes the image memory (6) through the binarization circuit (5).
) Image information of the same size as the temporary reference pattern (I2) (64 pixels x 64 pixels) is sequentially cut out from the image information of the target member (1) stored for one hour in the image memory (6). The image information cut out from the image information and the temporary reference pattern (12) imported into the dictionary pattern memory (7) are
An arithmetic processing unit (8) performs image recognition using a pattern matching method. Thus, the detection (identification) of the pattern (13) of the specific portion (lla) shown in FIG. It is obtained by calculating the number of matching bits of both data and finding the highest correlation. The position of the pattern (13) detected in this way is the pattern (13) that matches the orthogonal axes X and Y passing through the center of the temporary reference pattern (12) when both data have the highest correlation. Orthogonal axes Xa, Y
Indicated by a. Therefore, using the orthogonal axes Xa and Ya as a reference, a reference pattern area of 64 pixels and 4 pixels of Xa is cut out as shown by the broken line (16) in the figure, and this is used as the true reference pattern (17) as shown in Figure 1c. It is registered in the dictionary pattern memory (7) as follows.

なお、第1B図において、(18) 、 (19)はそ
れぞれ対象部材(1)の特定部分(llb) 、 (l
lc)のパターンである。
In addition, in FIG. 1B, (18) and (19) are the specific parts (llb) and (l) of the target member (1), respectively.
lc) pattern.

なお、実際の画像認識は、上記のように真の基準パター
ン(17)を決定したのち、上記板の基準パターン(1
2)に基づいて特定部分(lla)を検出する方法と同
じ方法によっておこなわれる。
In addition, in actual image recognition, after determining the true reference pattern (17) as described above, the reference pattern (17) of the board is determined.
This is performed using the same method as the method of detecting the specific portion (lla) based on 2).

上記のように基準パターンを作製すると、所要の基・準
パターンを短時間にしかも正確に作製することができる
。すなわち、従来方法では、オペレータがパターンを選
択し、この選択したパターンから基準パターンを作製し
ていたため、時間ががかり、また基準パターンにオペレ
ータの個人差によるばらつきを生じたが、上記方法は、
あらかじめ設計値に基づいて仮の基準パターンを作製し
、その後はこの仮の基準パターンに基づいて自動的に真
の基準パターンを作製するので、従来の欠点を完全に解
消することができ、きわめて短時間に所要の基準パター
ンを正確に作製することができる。
When the reference pattern is produced as described above, the required reference/standard pattern can be produced accurately in a short time. That is, in the conventional method, the operator selects a pattern and creates a reference pattern from the selected pattern, which takes time and causes variations in the reference pattern due to individual differences among operators.
A temporary reference pattern is created in advance based on the design values, and then a true reference pattern is automatically created based on this temporary reference pattern, which completely eliminates the drawbacks of the conventional method and is extremely short. A required reference pattern can be produced accurately in a timely manner.

また、基準パターンが正確であるので、画像認識を的確
におこなうことができる。
Furthermore, since the reference pattern is accurate, image recognition can be performed accurately.

また、基準パターンをきわめて容易にかつ短時間に作製
することができるので、基準パターンの更新が容易であ
り、常に光電変換装置から得られるパターンにマツチン
グした基準パターンを用いて画像認識のミスを防止する
ことができる。
In addition, since the reference pattern can be created extremely easily and in a short time, it is easy to update the reference pattern, and errors in image recognition are prevented by always using a reference pattern that matches the pattern obtained from the photoelectric conversion device. can do.

つぎに他の実施例について述べる。Next, other embodiments will be described.

上記実施例では、基準パターンを作製するのに円形状の
対象を選んだが、この対象は他のパターンと明確に識別
できるものであればよく、時に円形状に限定されない。
In the above embodiment, a circular object was selected to create the reference pattern, but the object may be any object that can be clearly distinguished from other patterns, and is not limited to a circular shape.

また、上記実施例では、基準パターンにパターンマツチ
ング法を適用4したが、パターンの形状と位置とを基準
パターンとの照合する方法であれば、重心と面積とから
求める方法など他の方法でもよい。要するに、実際に光
電変換装置から得られる対象のパターンが設計値から得
られるパターンなどあらかじめ意図した基準パター、ン
と若干具なる場合に、実際に光電変換装置から得られる
パターンにおきかえるという方式であれば、すべてに適
用することができる。
In addition, in the above embodiment, the pattern matching method was applied to the reference pattern4, but other methods such as a method of calculating from the center of gravity and area may also be used as long as the shape and position of the pattern are compared with the reference pattern. good. In short, if the target pattern actually obtained from the photoelectric conversion device is slightly different from a pre-intended reference pattern, such as a pattern obtained from design values, the method is to replace it with the pattern actually obtained from the photoelectric conversion device. If so, it can be applied to all.

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

(1)あ°らかしめ所定の、計算により仮の基準パター
ンを作製し、その後この仮の基準パターンに基づいて自
動的に真の基準パターンを作製するので、所要の基準パ
ターンをきわめて短時間にかつ正確に作製することがで
きる。
(1) A temporary reference pattern is created through predetermined calculations, and then a true reference pattern is automatically created based on this temporary reference pattern, so the required reference pattern can be created in an extremely short time. And it can be manufactured accurately.

(2)基準パターンが正確であるので、画像認識を適確
におこなうことができる。
(2) Since the reference pattern is accurate, image recognition can be performed appropriately.

(3)基準パターンを容易に作製することができるので
、その更新が容易であり、常に光電変換装置から得られ
るパターンにマツチングした基準パターンを作製して、
画像認識のミスを防止することができる。
(3) Since the reference pattern can be easily created, it is easy to update it, and the reference pattern that always matches the pattern obtained from the photoelectric conversion device is created.
Mistakes in image recognition can be prevented.

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

第1図(A)〜(d)はこの発明における基準パターン
作製方法の8説明図で、(A)図は仮の基準パターンの
図、(B)は光電変換装置から得られる対象部材の画像
を示す図、(C)図は、真の基準パターンの図、第2図
は画像認識装置の図、第3図は画像認識装置の画像認識
回路の構成を示す図である。
FIGS. 1(A) to 1(d) are 8 explanatory diagrams of the reference pattern manufacturing method according to the present invention, in which (A) is a diagram of a temporary reference pattern, and (B) is an image of a target member obtained from a photoelectric conversion device. , (C) is a diagram of a true reference pattern, FIG. 2 is a diagram of an image recognition device, and FIG. 3 is a diagram showing the configuration of an image recognition circuit of the image recognition device.

Claims (1)

【特許請求の範囲】 対象の設計寸法および光電変換装置の設計上の光学倍率
に基づいて計算により仮の基準パターンを作製する方法
と、 上記光電変換装置から得られる上記対象のパターンと上
記仮の基準パターンとの相関を演算して上記仮の基準パ
ターンと上記記対象のパターンとの同定および上記対象
のパターンの位置を認識する方法と、 上記同定および位置認識された対象のパターンから真の
基準パターンを作製してこれを登録する方法とを具備す
ることを特徴とする画像認識における基準パターンの作
製方法。
[Claims] A method for creating a temporary reference pattern by calculation based on the design dimensions of the object and the designed optical magnification of the photoelectric conversion device; A method for identifying the temporary reference pattern and the target pattern and recognizing the position of the target pattern by calculating the correlation with the reference pattern; 1. A method for creating a reference pattern in image recognition, comprising the steps of: creating a pattern and registering the pattern.
JP13116784A 1984-06-27 1984-06-27 Forming method of reference pattern in picture recognition Pending JPS6111890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13116784A JPS6111890A (en) 1984-06-27 1984-06-27 Forming method of reference pattern in picture recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13116784A JPS6111890A (en) 1984-06-27 1984-06-27 Forming method of reference pattern in picture recognition

Publications (1)

Publication Number Publication Date
JPS6111890A true JPS6111890A (en) 1986-01-20

Family

ID=15051571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13116784A Pending JPS6111890A (en) 1984-06-27 1984-06-27 Forming method of reference pattern in picture recognition

Country Status (1)

Country Link
JP (1) JPS6111890A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007090789A (en) * 2005-09-30 2007-04-12 Hitachi Plant Technologies Ltd Screen printing equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007090789A (en) * 2005-09-30 2007-04-12 Hitachi Plant Technologies Ltd Screen printing equipment

Similar Documents

Publication Publication Date Title
JPS59102536A (en) Automatic assembling device
JPS6111890A (en) Forming method of reference pattern in picture recognition
JPS6042884B2 (en) IC lead bending inspection device
JPH1117400A (en) Packaging part/inspecting device
JPH0335108A (en) Lead position recognition device
US4209830A (en) Fine object having position and direction sensing mark and a system for detecting the position and direction of the sensing mark
JPH02125375A (en) Position detecting device
JPH0139651B2 (en)
JPH0334001B2 (en)
JPS628722B2 (en)
JPH0399211A (en) Recognition of body
JPS633244B2 (en)
JPH05296724A (en) Parts recognition method
JPH0399250A (en) Mounting state recognizing apparatus
JP3235392B2 (en) Rotation angle detection method for target pattern
JPS58132867A (en) Position detecting system
JPH0545136A (en) Visual system
JPH0814847B2 (en) Pattern inspection method
JPH0743325B2 (en) Chip inspection device
JPS61161088A (en) Picture processing device
JPS6136881A (en) Pattern discriminator
JPS61161582A (en) Pattern recognizing device
JP2974788B2 (en) Pattern position detection method
JPS61153507A (en) Three-dimensional shape recognizing device
JP3119688B2 (en) Tilt detection method