JPH0624032B2 - Image inspection equipment - Google Patents

Image inspection equipment

Info

Publication number
JPH0624032B2
JPH0624032B2 JP62077789A JP7778987A JPH0624032B2 JP H0624032 B2 JPH0624032 B2 JP H0624032B2 JP 62077789 A JP62077789 A JP 62077789A JP 7778987 A JP7778987 A JP 7778987A JP H0624032 B2 JPH0624032 B2 JP H0624032B2
Authority
JP
Japan
Prior art keywords
image
reference point
image data
address
relative position
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 - Lifetime
Application number
JP62077789A
Other languages
Japanese (ja)
Other versions
JPS63244278A (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.)
Fujitsu Ltd
Fuji Facom Corp
Original Assignee
Fujitsu Ltd
Fuji Facom 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 Fujitsu Ltd, Fuji Facom Corp filed Critical Fujitsu Ltd
Priority to JP62077789A priority Critical patent/JPH0624032B2/en
Publication of JPS63244278A publication Critical patent/JPS63244278A/en
Publication of JPH0624032B2 publication Critical patent/JPH0624032B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 本願発明は、画像検査装置において、広視野並びに高分
解能を得るため検査対象物を複数のブロックに分割し、
夫々のブロックをカメラ等の撮像手段により撮像する
際、検査対象物の設定位置の誤差によるカメラとの位置
ずれを補正するため、撮像手段相互間の相対位置情報に
基づいて、正常な画像パターンと撮像した画像データと
を照合することにより画像の良否を判断するようにした
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Outline] In the image inspection apparatus, the present invention divides an inspection object into a plurality of blocks in order to obtain a wide field of view and high resolution,
When the respective blocks are imaged by the image pickup means such as a camera, in order to correct the positional deviation from the camera due to the error in the setting position of the inspection object, a normal image pattern is obtained based on the relative position information between the image pickup means. The quality of the image is determined by collating the captured image data.

〔産業上の利用分野〕[Industrial application field]

この発明は、撮像した画像データを予め登録した正常な
画像データとを比較することにより検査対象物の画像の
良否を判断する画像検査装置に関する。
The present invention relates to an image inspection apparatus that determines the quality of an image of an inspection target by comparing captured image data with normal image data registered in advance.

特に、この画像検査装置は、広視野並びに高分解能を得
るため検査対象物を複数のブロックに分割し、夫々のブ
ロックを分割して撮像するようにしたものである。
In particular, this image inspection apparatus divides an inspection object into a plurality of blocks in order to obtain a wide field of view and high resolution, and divides each block to capture an image.

〔従来の技術〕[Conventional technology]

従来の画像検査装置は、検査対象物の設定位置の誤差を
吸収するために正常な検査対象物の画像パターンを基準
点との相対情報に変換して予め登録し、次に検査対象物
をカメラで撮像して得た画像データを前記同様に基準点
との相対情報に変換し、これらの画像パターンと該画像
データとを照合することにより検査対象物の画像の良否
を判断するようになっていた。そして、前記基準点とし
ては検査対象物の所定の位置の特徴を標識とし、例えば
検査対象物の左上端部の角を検出していた。
A conventional image inspection apparatus converts an image pattern of a normal inspection object into relative information with respect to a reference point and pre-registers it in order to absorb an error in a set position of the inspection object, and then registers the inspection object with a camera. Similarly, the image data obtained by image capturing is converted into relative information with respect to the reference point, and the quality of the image of the inspection object is judged by comparing these image patterns with the image data. It was Then, as the reference point, a feature at a predetermined position of the inspection object is used as a mark, and, for example, the corner of the upper left end of the inspection object is detected.

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

しかしながら、このような従来の画像検査装置にあって
は、検査対象物が大型のものであるとき、また複雑な画
像であるときは高分解能並びに高視野を得るため、検査
対象物を複数のブロックに分割し、夫々のブロックを撮
像手段で夫々撮像することとなる。すると、上記基準点
は夫々のブロックごとに設けなければならないため、基
準点の検索処理時間が増加するといった問題点があっ
た。
However, in such a conventional image inspection apparatus, when the inspection object is large, or when it is a complicated image, in order to obtain high resolution and high field of view, the inspection object is divided into a plurality of blocks. And each block is imaged by the imaging means. Then, since the reference point must be provided for each block, there is a problem that the reference point search processing time increases.

この発明は、このような従来の問題点に着目してなされ
たもので、検査対象物が大型のものであるとき、また複
雑な画像であったとしても、基準点の標識の設定は撮像
手段の数に関係なく一箇所で良く、従って、画像検査を
高速で処理することができる画像検査装置を提供するこ
とをその目的とする。
The present invention has been made in view of such a conventional problem, and when the inspection target is a large size or even if the image is complicated, the setting of the reference point marker is performed by the imaging means. It is therefore an object of the present invention to provide an image inspection apparatus capable of performing image inspection at a high speed regardless of the number of the image inspection devices.

〔問題点を解決するための手段〕[Means for solving problems]

そして、この目的を達成するために、本発明にあっては
その構成を、第1図の本発明の原理ブロック図に示すよ
うに、基準点の標識を有する検査対象物を撮像し、画像
データを出力する第1の撮像手段1と、該第1の撮像手
段1と所定の相対位置を保持すると共に前記検査対象物
を撮像し、画像データを出力する他の撮像手段5と、前
記第1および他の撮像手段1および5から出力された画
像データを記憶する第1の記憶手段2と、検査対象物の
正常な画像パターンを基準点との相対アドレスで予め記
憶している第2の記憶手段3と、前記第1の記憶手段2
に記憶された前記第1の撮像手段1が出力した画像デー
タにつき前記基準点の標識を検出して該基準点との相対
位置及びその相対位置における画像データを求め、且
つ、前記基準点の位置情報に基づいて前記他の撮像手段
5が出力した画像データの仮想基準点を求めて該仮想基
準点との相対位置及びその相対位置における画像データ
を求め、それぞれ求められた相対位置における画像デー
タと前記第2の記憶手段3からの画像パターンの前記基
準点との相対アドレスにおける画像データとを照合する
照合手段6とを設けることとした。
In order to achieve this object, according to the present invention, as shown in the principle block diagram of the present invention in FIG. 1, an inspection target object having a reference point marker is imaged and image data is acquired. A first image pickup means 1 for outputting the image data, another image pickup means 5 for holding the predetermined relative position with the first image pickup means 1 and picking up the image of the inspection object, and outputting image data; And a first storage means 2 for storing the image data output from the other imaging means 1 and 5, and a second storage for previously storing a normal image pattern of the inspection object at a relative address with respect to a reference point. Means 3 and the first storage means 2
The position of the reference point relative to the reference point and the image data at the relative position are detected by detecting the marker of the reference point in the image data output by the first image pickup means 1 stored in Based on the information, the virtual reference point of the image data output by the other image pickup means 5 is obtained, the relative position with respect to the virtual reference point and the image data at the relative position are obtained, and the image data at the obtained relative position are obtained. The collating means 6 for collating the image data at the relative address with the reference point of the image pattern from the second storage means 3 is provided.

〔作用〕[Action]

次に、第1図に示す本発明の原理ブロック図に基づいて
本発明の作用を説明する。
Next, the operation of the present invention will be described based on the principle block diagram of the present invention shown in FIG.

第1の撮像手段1は基準点の標識を有する検査対象物を
撮像し、画像データを出力する。また、他の撮像手段5
は第1の撮像手段1と所定の相対位置を保持すると共に
前記検査対象物を撮像し、画像データを出力する。そし
て、第1の記憶手段2に第1および他の撮像手段1およ
び5から出力された画像データを記憶する。これとは別
に、第2の記憶手段3には検査対象物の正常な画像パタ
ーンを基準点との相対アドレスで予め記憶させておく。
The first image pickup means 1 picks up an image of an inspection target object having a reference point marker and outputs image data. In addition, another imaging means 5
Holds a predetermined relative position with respect to the first image pickup means 1, picks up the image of the inspection object, and outputs image data. Then, the image data output from the first and other imaging means 1 and 5 is stored in the first storage means 2. Separately from this, a normal image pattern of the inspection object is stored in the second storage means 3 in advance at a relative address with respect to the reference point.

そして、照合手段6が、第1の記憶手段2に記憶されて
いた第1の撮像手段1からの画像データにつき基準点の
標識を検出し、その基準点との相対位置及びその相対位
置における画像データを求め、続いて、基準点の位置情
報に基づき他の撮像手段5が出力した画像データの仮想
基準点を求めて、その仮想基準点との相対位置及びその
相対位置における画像データを求め、それぞれ求められ
た相対位置における画像データと前記第2の記憶手段3
からの画像パターンの前記基準点との相対アドレスにお
ける画像データとを照合して、検査対象物の画像の良否
を判断する。
Then, the matching means 6 detects the marker of the reference point in the image data from the first image pickup means 1 stored in the first storage means 2, and detects the relative position with respect to the reference point and the image at the relative position. Data is obtained, and subsequently, a virtual reference point of the image data output by the other imaging means 5 is obtained based on the position information of the reference point, and a relative position with respect to the virtual reference point and image data at the relative position are obtained, The image data at the relative positions respectively obtained and the second storage means 3
And the image data at the relative address of the image pattern from the reference point are compared to determine the quality of the image of the inspection object.

従って、他の撮像手段5が撮像する範囲には基準点が不
要であり、第1の撮像手段1の基準点から仮想基準点を
求めるだけで良く、処理が容易で、画像検査の高速化を
図ることができ、検査対象物が大型あるいは複雑な画像
で複数のブロックに分割して撮像し検査することになっ
ても良否判断を迅速に処理する。
Therefore, a reference point is not necessary in the range imaged by the other image pickup means 5, only a virtual reference point needs to be obtained from the reference point of the first image pickup means 1, the process is easy, and the speed of image inspection is increased. Even if the inspection target is divided into a plurality of blocks in a large or complicated image to be imaged and inspected, the quality judgment is quickly processed.

〔実施例〕〔Example〕

以下、この発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例における画像検査装置の構成
を示す。
FIG. 2 shows the structure of the image inspection apparatus in one embodiment of the present invention.

11は検査対象物に相当するキーボードであり、所定の
位置に基準位置の標識を取り付けている。このキーボー
ド11はベルトコンベア(図示省略)等に搬送されて所
定の位置に設定されるようになっている。12,13は
カメラであり、上記所定の位置に設定されたキーボード
11の平面の所定のブロックを撮像し、画像データを夫
々出力する。そして、これらのカメラ12、カメラ13
は予め所定の相対位置を常に保持するように固定されて
いる。また、カメラ12は特許請求の範囲に記載した第
1の撮像手段1に、カメラ13は特許請求の範囲に記載
した他の撮像手段5に夫々相当する。14は前記カメラ
12,13を所定のタイミングにより切換えるカメラ切
換回路である。15はカメラ入力回路であり、前記カメ
ラ切換回路14から出力される画像データをRAM等で
構成したメモリ16の所定のアドレスに格納する。この
メモリ16には予め正常なキーボード11の画像パター
ンも格納されており、このメモリ16は特許請求の範囲
に記載した第1の記憶手段2と第2の記憶手段3に相当
する。17は検査回路であり、メモリ16に予め格納さ
れている正常な画像パターンと、カメラ12,13から
カメラ切換回路14、更にカメラ入力回路15を介して
格納した画像データとを比較並びに照合して検査対象物
の画像の良否を判断する。この検査回路17は特許請求
の範囲に記載した処理手段4と照合手段6に相当する。
18は前記カメラ入力回路15、メモリ16並びに検査
回路17の間に於る画像データ、画像パターン情報等の
経路となる画像バスである。19はマイクロプロセッサ
等で構成した中央処理装置であり、CPUバス20を介
して前記カメラ入力回路15に制御信号を出力すると共
に、検査回路17から検査結果を入力する。
Reference numeral 11 is a keyboard corresponding to the inspection object, and a reference position marker is attached at a predetermined position. The keyboard 11 is conveyed to a belt conveyor (not shown) or the like and set at a predetermined position. Reference numerals 12 and 13 denote cameras, which capture images of predetermined blocks on the plane of the keyboard 11 set at the predetermined positions and output image data, respectively. And these camera 12, camera 13
Is fixed in advance so as to always maintain a predetermined relative position. The camera 12 corresponds to the first image pickup means 1 described in the claims, and the camera 13 corresponds to the other image pickup means 5 described in the claims. Reference numeral 14 is a camera switching circuit for switching the cameras 12 and 13 at a predetermined timing. Reference numeral 15 denotes a camera input circuit, which stores the image data output from the camera switching circuit 14 at a predetermined address of a memory 16 formed of a RAM or the like. An image pattern of the normal keyboard 11 is also stored in advance in the memory 16, and the memory 16 corresponds to the first storage means 2 and the second storage means 3 described in the claims. Reference numeral 17 denotes an inspection circuit, which compares and collates a normal image pattern stored in advance in the memory 16 with image data stored from the cameras 12 and 13 via the camera switching circuit 14 and the camera input circuit 15. The quality of the image of the inspection object is judged. The inspection circuit 17 corresponds to the processing means 4 and the matching means 6 described in the claims.
An image bus 18 serves as a path for image data, image pattern information, etc. between the camera input circuit 15, the memory 16 and the inspection circuit 17. Reference numeral 19 denotes a central processing unit composed of a microprocessor or the like, which outputs a control signal to the camera input circuit 15 via the CPU bus 20 and inputs an inspection result from the inspection circuit 17.

21はディスク制御装置、22はフロッピィディスク装
置、23は各種画像パターンを格納しているハード磁気
ディスク装置である。新たな画像パターンを登録する際
は、新たな画像パターンをフロッピィディスク装置22
から入力すれば、該画像パターンはディスク制御装置2
1を介してハード磁気ディスク装置23に登録されるよ
うになっている。24はディスプレイ制御装置、25は
カメラ12,13で撮像した画像データを表示させるC
RTディスプレイ装置、26は各種操作指令を与えるキ
ーボードである。27は外部入出力制御装置であり、上
位装置等とデータ通信を行なうRS232C通信制御回
路、DI/DO制御回路等で構成している。
Reference numeral 21 is a disk controller, 22 is a floppy disk device, and 23 is a hard magnetic disk device storing various image patterns. When registering a new image pattern, the new image pattern is stored in the floppy disk device 22.
Input from the disk controller 2
It is adapted to be registered in the hard magnetic disk device 23 via the 1. Reference numeral 24 is a display controller, and 25 is a C for displaying image data captured by the cameras 12 and 13.
The RT display device 26 is a keyboard for giving various operation commands. An external input / output control device 27 is composed of an RS232C communication control circuit, a DI / DO control circuit and the like for performing data communication with a host device or the like.

キーボード11の正常な画像パターンを基準点との相対
アドレスで予め格納する手順を図面に基づいて説明す
る。
A procedure for pre-storing a normal image pattern of the keyboard 11 at an address relative to the reference point will be described with reference to the drawings.

第3図に示すように、キーボード11はカメラ12が撮
像するブロックB1と、カメラ13が撮像するブロック
B2により分割して撮像するようになっている。これら
のブロックB1,B2はカメラ12,13にて撮像さ
れ、メモリ16に格納された際の画像のイメージは横軸
のアドレスと縦軸のアドレスとで表現される画像データ
として記憶される。即ち、キーボード11の画像はその
印影の濃淡に応じてメモリ16内に1又は0の画像デー
タで記憶される。そして、G1はブロックB1の原点で
あり、アドレスは(0,0)である。30は基準点の標
識として予め設定したキーボード11の左上端部の角で
ある。この標識30はブロックB1に包含される画像デ
ータの基準点P1となる。この基準点P1のアドレスを
(VX,VY)とする。Aは基準点P1を検索する際の
検索領域である。28はキーボード11に埋込まれてい
る任意のキートップであり、カメラ12により撮像され
ると、このキートップ28の画像パターンはメモリ16
のアドレス(Px1,Py1)に位置するが、この画像
パターンは基準点30のアドレス(VX,VY)に対し
て相対的なアドレス(Mx1,My1)として記憶され
る。以上の関係を数式で示すと、以下のようになる。
As shown in FIG. 3, the keyboard 11 is divided into a block B1 imaged by the camera 12 and a block B2 imaged by the camera 13 for image pickup. These blocks B1 and B2 are imaged by the cameras 12 and 13, and the image of the image stored in the memory 16 is stored as image data represented by an address on the horizontal axis and an address on the vertical axis. That is, the image of the keyboard 11 is stored in the memory 16 as image data of 1 or 0 according to the shade of the imprint. G1 is the origin of the block B1 and the address is (0,0). Reference numeral 30 denotes a corner at the upper left end of the keyboard 11 which is preset as a reference point marker. The mark 30 serves as a reference point P1 of the image data included in the block B1. The address of this reference point P1 is (VX, VY). A is a search area when searching for the reference point P1. Reference numeral 28 denotes an arbitrary key top embedded in the keyboard 11. When an image is captured by the camera 12, the image pattern of this key top 28 is stored in the memory 16
However, this image pattern is stored as an address (Mx1, My1) relative to the address (VX, VY) of the reference point 30. The above relationship can be expressed as follows.

Mx1=Px1−VX My1=Px1−VY 一方、G2はブロックB2の原点であり、アドレスは
(0,0)である。31は前記基準点30と同一のアド
レス(VX,VY)に仮想的に設定した仮想基準点P2
である。29もブロックB2に於る任意のキートップで
あり、カメラ13により撮像されると、このキートップ
29の画像パターンはメモリ16のアドレス(Px2,
Py2)に位置するが、この画像パターンは仮想基準点
31のアドレス(VX,VY)に対して相対的なアドレ
ス(Mx2,My2)として記憶される。以上の関係を
数式で示すと、以下のようになる。
Mx1 = Px1-VX My1 = Px1-VY On the other hand, G2 is the origin of the block B2 and the address is (0,0). 31 is a virtual reference point P2 virtually set at the same address (VX, VY) as the reference point 30.
Is. 29 is also an arbitrary key top in the block B2, and when the image is picked up by the camera 13, the image pattern of this key top 29 is the address (Px2, Px2) of the memory 16.
Although located at Py2), this image pattern is stored as an address (Mx2, My2) relative to the address (VX, VY) of the virtual reference point 31. The above relationship can be expressed as follows.

Mx2=Px2−VX My2=Py2−VY このような、正常な画像パターンのメモリ16への登録
の手順をフロチャートで示すと第4図のようになる。
Mx2 = Px2-VX My2 = Py2-VY Such a procedure for registering a normal image pattern in the memory 16 is shown in a flowchart of FIG.

先ず、第4図のステップ51では、カメラ12によりブ
ロックB1の撮像を行なう。ステップ52では、検索領
域A内に基準点30が存在するかどうかを全てのアドレ
スにて検索する。ステップ53では、検索された基準点
30のアドレスP1(VX,VY)からの相対アドレス
で前記画像データをメモリ16の所定のアドレスに正常
な画像パターンとして登録する。次に、ステップ54で
は、カメラ13によりブロックB2の撮像を行なう。ス
テップ55では、前記基準点30のアドレス(VX,V
Y)に相当する位置に仮想基準点31を仮想的に設定す
る。次に、該仮想基準点31のアドレスP2(VX,V
Y)からの相対アドレスで前記画像データをメモリ16
の所定のアドレスに正常な画像パターンとして登録す
る。
First, in step 51 of FIG. 4, the camera 12 captures an image of the block B1. In step 52, all addresses are searched for whether the reference point 30 exists in the search area A. In step 53, the image data is registered as a normal image pattern in a predetermined address of the memory 16 at a relative address from the searched address P1 (VX, VY) of the reference point 30. Next, in step 54, the camera 13 captures an image of the block B2. In step 55, the address (VX, V
The virtual reference point 31 is virtually set at a position corresponding to Y). Next, the address P2 (VX, V
The image data is stored in the memory 16 at a relative address from Y).
Is registered as a normal image pattern in a predetermined address of.

このような構成となる画像検査装置の作動を図面に基づ
いて説明する。
The operation of the image inspection apparatus having such a configuration will be described with reference to the drawings.

第5図に示すように、前記キーボード11と同様構成で
あり、検査対象物であるキーボード11′がベルトコン
ベア等に搬送されて到来し、所定の位置に設定される
と、カメラ12,13が該設定されたキーボード11′
を撮像する。キーボード11′の画像データはブロック
B1とブロックB2とに分割してメモリ16に格納され
る。このときカメラ13は、カメラ12と所定の相対位
置を保持しているため、キーボード11′の設定位置に
誤差が生じても、カメラ13はカメラ12に対して相対
的な位置を常に保持している。G1,G2はブロックB
1,B2の原点であり、アドレスは共に(0,0)であ
る。また、30′はキーボード11′の左上端部に設定
した基準点の標識であり、ブロックB1の画像データの
基準点P1′となる。この基準点P1′のアドレスを
(VX′,VY′)とする。検索領域Aは基準点P1′
を検索する際の検索領域である。28はキーボード1
1′に埋込まれている任意のキートップであり、カメラ
12により撮像されると、このキートップ28の画像デ
ータはアドレス(Px1′,Py1′)に記憶される。
一方、ブロックB2におけるG2は、ブロックB2の原
点であり、アドレス(0,0)である。31′は前記基
準点30′のアドレス(VX′,VY′)と同一アドレ
スにおける仮想基準点P2′である。29もキートップ
であり、カメラ13により撮像されると、このキートッ
プ29の画像データはアドレス(Px2′,Py2′)
に記載される。以上の関係を数式で示すと、以下のよう
になる。
As shown in FIG. 5, the keyboard 11 'having the same structure as the keyboard 11 is conveyed to a belt conveyor or the like and arrives at a predetermined position, and the cameras 12 and 13 are activated. The set keyboard 11 '
Image. The image data of the keyboard 11 'is divided into blocks B1 and B2 and stored in the memory 16. At this time, since the camera 13 holds a predetermined relative position with respect to the camera 12, even if an error occurs in the setting position of the keyboard 11 ', the camera 13 always holds the relative position with respect to the camera 12. There is. G1 and G2 are block B
The origins are 1 and B2, and the addresses are both (0, 0). Reference numeral 30 'is a reference point mark set at the upper left end of the keyboard 11' and serves as a reference point P1 'of the image data of the block B1. The address of this reference point P1 'is (VX', VY '). Search area A is reference point P1 '
This is a search area when searching for. 28 is the keyboard 1
An arbitrary key top embedded in 1 ', and when imaged by the camera 12, the image data of the key top 28 is stored at the address (Px1', Py1 ').
On the other hand, G2 in the block B2 is the origin of the block B2 and is the address (0,0). Reference numeral 31 'is a virtual reference point P2' at the same address as the address (VX ', VY') of the reference point 30 '. 29 is also a key top, and when imaged by the camera 13, the image data of this key top 29 is the address (Px2 ′, Py2 ′).
It is described in. The above relationship can be expressed as follows.

Px1′=Mx1+VX′ Py1′=My1+VY′ Px2′=Mx2+VX′ Py2′=My2+VY′ そこで、上記記憶された画像データと正常な画像パター
ンとを照合してキーボード11′の画像の良否を判断す
る手順をフロチャートで示すと第6図のようになる。
Px1 '= Mx1 + VX' Py1 '= My1 + VY' Px2 '= Mx2 + VX' Py2 '= My2 + VY' Then, a procedure for comparing the stored image data with a normal image pattern to judge the image quality of the keyboard 11 'will be described. It is as shown in the flowchart of FIG.

先ず、第6図のステップ61では、カメラ12によりブ
ロックB1の撮像を行なう。ステップ62では、検出領
域A内に基準点30′が存在するかどうかを検索する。
ステップ63では、検出された基準点30′のアドレス
P1′(VX′,VY′)と、既に登録している正常な
画像パターンの相対アドレス(Mx1,My1)を利用
して実際の画像データのアドレス(Px1,Py1)を
求める。ステップ64では、前記記憶した画像データと
既に登録している正常な画像パターンとを照合する。次
に、ステップ65では、カメラ13によりブロックB2
の撮像を行なう。ステップ66では、仮想基準点31′
を決定する。ステップ67では、決定された仮想基準点
31′のアドレスP2′(VX′,VY′)と、既に登
録している正常な画像パターンの相対アドレス(Mx
2,My2)を利用して実際の画像データのアドレス
(Px2,Py2)を求める。ステップ68では、前記
記憶した画像データと既に登録している正常な画像パタ
ーンとを照合する。ステップ69では、前記ステップ6
4とステップ68にて照合した結果が両方共に正常なら
ば検査対象物の画像は正常と判断し、該判断結果を保存
して、当該キーボード11′の処理を終了する。
First, in step 61 of FIG. 6, the camera 12 captures an image of the block B1. In step 62, it is searched whether or not the reference point 30 'exists in the detection area A.
In step 63, the actual image data of the actual image data is obtained by using the detected address P1 '(VX', VY ') of the reference point 30' and the relative address (Mx1, My1) of the already registered normal image pattern. The address (Px1, Py1) is obtained. In step 64, the stored image data is compared with the already registered normal image pattern. Next, in step 65, the block B2 is set by the camera 13.
Image is taken. In step 66, the virtual reference point 31 '
To decide. In step 67, the address P2 '(VX', VY ') of the determined virtual reference point 31' and the relative address (Mx of the normal image pattern already registered are used.
2, My2) is used to find the address (Px2, Py2) of the actual image data. In step 68, the stored image data is compared with the already registered normal image pattern. In step 69, in step 6
If both 4 and the results collated in step 68 are normal, the image of the inspection object is judged to be normal, the judgment result is saved, and the processing of the keyboard 11 'is completed.

そして、次のキーボード11′がベルトコンベア等に搬
送されて到来し、所定の位置に設定されると、カメラ1
2,13が該設定されたキーボード11′を撮像し、前
述したと同様の処理を開始する。
Then, when the next keyboard 11 ′ is conveyed to a belt conveyor or the like and arrives at a predetermined position, the camera 1
2 and 13 pick up the image of the set keyboard 11 ', and start the same processing as described above.

尚、上記実施例では2台のカメラでキーボードを撮像し
たが1台のカメラにてブロックB1を撮像し、次にカメ
ラを元のカメラの位置に対して所定の相対位置を保持す
るように移動させ、該カメラにてブロックB2を撮像す
るようにしても良い。
In the above-described embodiment, the keyboard is imaged by two cameras, but the block B1 is imaged by one camera, and then the camera is moved so as to maintain a predetermined relative position with respect to the original position of the camera. Then, the block B2 may be imaged by the camera.

〔発明の効果〕〔The invention's effect〕

以上説明したように、この発明によれば、第1の撮像手
段と所定の相対位置を保持する他の撮像手段を設け、照
合手段6により前記第1の撮像手段との相対位置情報に
基づき、他の撮像手段からの画像データと前記第2記憶
手段からの画像パターンとを照合するようにしたため、
検査対象物が大型のものであるとき、また複雑な画像を
有していても、基準点の標識の設定は撮像手段の数に関
係なく一箇所で良いから基準点を求める為に要する処理
時間は増加せず、従って画像検査を高速で処理すること
ができる画像検査装置を提供することができる。
As described above, according to the present invention, the first image pickup means and the other image pickup means for holding a predetermined relative position are provided, and the collation means 6 determines the relative position information with respect to the first image pickup means. Since the image data from the other image pickup means and the image pattern from the second storage means are collated,
Even if the inspection object is large, or even if it has a complicated image, the reference point can be set in one place regardless of the number of imaging means, so the processing time required to obtain the reference point Therefore, it is possible to provide an image inspection apparatus capable of processing image inspection at high speed.

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

第1図は本発明の原理ブロック図、第2図は本発明の一
実施例に於る画像検査装置の構成図、第3図は、第2図
に示す画像検査装置が正常な画像パターンを登録する
際、撮像した画像とキーボードとの関係を示す図、第4
図は、第2図に示す画像検査装置が正常な画像パターン
を登録する際のフローチャート、第5図は、第2図に示
す画像検査装置が撮像した画像データと検査対象物であ
るキーボードとの関係を示す図、第6図は、第2図に示
す画像検査装置が登録した正常な画像パターンと撮像し
たキーボードの画像データとを照合して画像の良否を検
査する際のフローチャートである。 1……第1の撮像手段 2……第1の記憶手段 3……第2の記憶手段 5……他の撮像手段 6……照合手段
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an image inspection apparatus according to an embodiment of the present invention, and FIG. 3 shows a normal image pattern of the image inspection apparatus shown in FIG. FIG. 4 is a diagram showing a relationship between a captured image and a keyboard when registering,
FIG. 5 is a flow chart when the image inspection device shown in FIG. 2 registers a normal image pattern, and FIG. 5 shows image data captured by the image inspection device shown in FIG. 2 and a keyboard which is an inspection object. FIG. 6 is a flowchart showing the relationship between the normal image pattern registered by the image inspection apparatus shown in FIG. 2 and the image data of the imaged keyboard to check the image quality. DESCRIPTION OF SYMBOLS 1 ... 1st imaging means 2 ... 1st storage means 3 ... 2nd storage means 5 ... Other imaging means 6 ... Collation means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】基準点の標識を有する検査対象物を撮像
し、画像データを出力する第1の撮像手段(1)と、 該第1の撮像手段(1)と所定の相対位置を保持すると
共に前記検査対象物を撮像し、画像データを出力する他
の撮像手段(5)と、 前記第1および他の撮像手段(1および5)から出力さ
れた画像データを記憶する第1の記憶手段(2)と、 検査対象物の正常な画像パターンを基準点との相対アド
レスで予め記憶している第2の記憶手段(3)と、 前記第1の記憶手段(2)に記憶された前記第1の撮像
手段(1)が出力した画像データにつき前記基準点の標
識を検出して該基準点との相対位置及びその相対位置に
おける画像データを求め、且つ、前記基準点の位置情報
に基づいて前記他の撮像手段(5)が出力した画像デー
タの仮想基準点を求めて該仮想基準点との相対位置及び
その相対位置における画像データを求め、それぞれ求め
られた相対位置における画像データと前記第2の記憶手
段(3)からの画像パターンの前記基準点との相対アド
レスにおける画像データとを照合する照合手段(6)と を設けたことを特徴とする画像検査装置。
1. A first image pickup means (1) for picking up an image of an inspection object having a reference point mark and outputting image data, and holding a predetermined relative position with respect to the first image pickup means (1). Along with this, another image pickup means (5) for picking up the image of the inspection object and outputting image data, and a first storage means for storing the image data output from the first and other image pickup means (1 and 5) (2), a second storage unit (3) that stores in advance a normal image pattern of the inspection object at a relative address with respect to a reference point, and the second storage unit (2) stores the first storage unit (2). The marker of the reference point is detected from the image data output by the first image pickup means (1) to obtain the relative position with respect to the reference point and the image data at the relative position, and based on the position information of the reference point. Of the image data output by the other image pickup means (5). A virtual reference point is obtained to obtain a relative position with respect to the virtual reference point and image data at the relative position, and the image data at the obtained relative position and the reference of the image pattern from the second storage means (3) are obtained. An image inspecting apparatus, which is provided with a collating means (6) for collating image data at an address relative to a point.
JP62077789A 1987-03-31 1987-03-31 Image inspection equipment Expired - Lifetime JPH0624032B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62077789A JPH0624032B2 (en) 1987-03-31 1987-03-31 Image inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62077789A JPH0624032B2 (en) 1987-03-31 1987-03-31 Image inspection equipment

Publications (2)

Publication Number Publication Date
JPS63244278A JPS63244278A (en) 1988-10-11
JPH0624032B2 true JPH0624032B2 (en) 1994-03-30

Family

ID=13643746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62077789A Expired - Lifetime JPH0624032B2 (en) 1987-03-31 1987-03-31 Image inspection equipment

Country Status (1)

Country Link
JP (1) JPH0624032B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0981736A (en) * 1995-09-08 1997-03-28 Fuji Electric Co Ltd Flaw inspecting device

Also Published As

Publication number Publication date
JPS63244278A (en) 1988-10-11

Similar Documents

Publication Publication Date Title
JPH0810132B2 (en) Target pattern rotation angle detection method
US9286669B2 (en) Image processing apparatus, image processing method and program
JP2010032258A (en) Apparatus and method for recognizing position of work for depalletizing
JPH0624032B2 (en) Image inspection equipment
JPH06259530A (en) Method for recognizing circular hole
JP3725993B2 (en) Electronic component mounting circuit board inspection method and apparatus
JP3427230B2 (en) Image processing device
JP2000180138A (en) Calibration plate and calibration system for visual sensor utilizing it
JPH06226561A (en) Circular position recognizing device
JPH07168941A (en) Picture processor
JP3395922B2 (en) Inspection method and inspection device
JP2006112930A (en) Object-shape discriminating method and apparatus
JPS59114407A (en) Area measurement system of object
JPH0797015B2 (en) Position correction method of SMD by image processing
JP3235392B2 (en) Rotation angle detection method for target pattern
JP2002259946A (en) Margin position measuring method, inspecting method and device
JPH04238206A (en) Multi-visual field recognizing method for pattern
JP3348938B2 (en) Position recognition device
JP2974788B2 (en) Pattern position detection method
JPH0410074A (en) Picture pattern inclination detecting method
JP2001092959A (en) Method for setting and registering reference pattern and pattern matching recognizing method
JP6026365B2 (en) Image recognition method
JPH04174311A (en) Inspecting apparatus for printed circuit board
JP2004219283A (en) Method and system for recognizing component
JPH10148516A (en) Image inspection apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080330

Year of fee payment: 14