JP2900600B2 - Pattern inspection method - Google Patents

Pattern inspection method

Info

Publication number
JP2900600B2
JP2900600B2 JP2326589A JP32658990A JP2900600B2 JP 2900600 B2 JP2900600 B2 JP 2900600B2 JP 2326589 A JP2326589 A JP 2326589A JP 32658990 A JP32658990 A JP 32658990A JP 2900600 B2 JP2900600 B2 JP 2900600B2
Authority
JP
Japan
Prior art keywords
pattern
window
inspection
center
inspected
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 - Fee Related
Application number
JP2326589A
Other languages
Japanese (ja)
Other versions
JPH04194607A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2326589A priority Critical patent/JP2900600B2/en
Publication of JPH04194607A publication Critical patent/JPH04194607A/en
Application granted granted Critical
Publication of JP2900600B2 publication Critical patent/JP2900600B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は、物体の表面に印刷などで表示されたパタ
ーンが所定のパターンであるか否かを判別するのに用い
られるパターン検査方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern inspection method used to determine whether a pattern displayed on a surface of an object by printing or the like is a predetermined pattern.

<従来の技術> 例えば多品種小ロット生産の製品を取り扱う生産ライ
ンにおいて、所定の品種の製品群が正しく生産ラインを
流れているか否かをチェックする必要がある。通常、各
製品の表面には品種を表すロット番号などの文字や図形
(以下、「パターン」と総称する)が表示されており、
作業員はこれらパターンを見て異種の製品が混入してい
ないか否かを検査している。
<Related Art> For example, in a production line that handles products of various kinds of small lot production, it is necessary to check whether or not a product group of a predetermined kind is flowing correctly on the production line. Usually, characters such as a lot number indicating a product type and graphics (hereinafter, collectively referred to as "patterns") are displayed on the surface of each product.
The worker inspects these patterns to check whether different types of products are mixed.

ところがこの種検査方法の場合、人手を要するのみな
らず、検査ミスが生じやすく、また検査の効率が悪いと
いう欠点がある。
However, this kind of inspection method has drawbacks that not only human labor is required, but also inspection errors are likely to occur, and the inspection efficiency is low.

そこで視覚センサを用いてパターンの判別を自動化す
ることが提案されている。
Therefore, it has been proposed to automate the discrimination of a pattern using a visual sensor.

このパターン検査方法では、ラインを流れる製品に表
示されたパターンを撮像装置を用いて撮像し、その画像
を判別することにより被検査パターンが所定のパターン
であるか否かを判別している。
In this pattern inspection method, a pattern displayed on a product flowing through a line is imaged using an imaging device, and the image is determined to determine whether the pattern to be inspected is a predetermined pattern.

<発明が解決しようとする問題点> しかしながら多品種小ロット生産の製品を取り扱う場
合、作業者は判別したいパターンをキーボードなどによ
りその都度指定する必要があって煩雑である。しかも多
品種のうちいずれか品種を指定するため指定ミスが生じ
やすく、また指定ミスがあったとき、被検査パターンを
適正に判別できず、混乱を招くなどの問題があった。
<Problems to be Solved by the Invention> However, when handling products manufactured in a large variety of small lots, it is necessary for an operator to specify a pattern to be determined each time using a keyboard or the like, which is troublesome. In addition, there is a problem that a designation error is likely to occur because any one of a variety of products is designated, and when there is a designation mistake, a pattern to be inspected cannot be properly determined, leading to confusion.

この発明は、上記問題に着目してなされたもので、検
査作業の簡易化をはかり、指定ミスの発生を完全に防止
したパターン検査方法を提供することを目的とする。
The present invention has been made in view of the above problems, and has as its object to provide a pattern inspection method which simplifies inspection work and completely prevents occurrence of designation errors.

<問題点を解決するための手段> この発明では、被検査パターンが所定のパターンであ
るか否かを検査するのに、つぎのような教示工程と検査
工程とを実施している。すなわち教示工程では、被検査
パターンのモデルを撮像して得た画像の重心を求めた
後、その重心位置に所定のウィンドウの中心を位置合わ
せし、前記ウィンドウを段階的に拡張または縮小しつつ
各段階のウィンドウ内に含まれる前記画像の面積を基準
データとしてそれぞれ計測して記憶する。また検査工程
では、被検査パターンを撮像して得た画像の重心を求め
た後、前記画像に対しその重心位置に前記ウィンドウの
中心を位置合わせし、前記ウィンドウを教示工程と同じ
比率で段階的に拡張または縮小しつつ各段階のウィンド
ウ内に含まれる前記画像の面積をそれぞれ計測して、そ
れぞれの計測データを対応する前記基準データと照合す
ることにより被検査パターンを判別するものである。
<Means for Solving the Problems> In the present invention, the following teaching step and inspection step are performed to inspect whether or not the pattern to be inspected is a predetermined pattern. That is, in the teaching step, after obtaining the center of gravity of an image obtained by imaging the model of the pattern to be inspected, the center of a predetermined window is aligned with the position of the center of gravity, and each window is gradually expanded or reduced while the window is gradually expanded or reduced. The area of the image included in the window of the step is measured and stored as reference data. In the inspection step, after the center of gravity of the image obtained by imaging the pattern to be inspected is obtained, the center of the window is aligned with the position of the center of gravity of the image, and the window is stepped at the same ratio as the teaching step. The pattern to be inspected is determined by measuring the area of the image included in the window at each stage while expanding or reducing the size, and comparing the measured data with the corresponding reference data.

<作用> 被検査パターンが所定のパターンであるか否かを判別
するのに、検査工程に先立ち検査パターンのモデルを撮
像して基準データを生成した後、検査工程において、被
検査パターンの計測データを前記基準データと照合して
被検査パターンの判別を行うので、判別したいパターン
をキーボードなどで指定する従来の方法と比較して、検
査作業が簡易化され、しかも指定ミスの発生も防止でき
る。また被検査パターンの画像につき重心を求め、その
重心位置にウィンドウを位置合わせして基準データや計
測データを求めるので、パターンの位置ずれがあって
も、その影響を受けず、適正な照合が可能である。
<Operation> To determine whether or not the pattern to be inspected is a predetermined pattern, a model of the pattern to be inspected is imaged prior to the inspection step to generate reference data. Is compared with the reference data to determine the pattern to be inspected, so that the inspection work is simplified and the occurrence of a designation error can be prevented as compared with the conventional method of specifying the pattern to be determined using a keyboard or the like. In addition, since the center of gravity is obtained for the image of the pattern to be inspected and the window is aligned with the position of the center of gravity to obtain reference data and measurement data, even if there is a pattern misalignment, it is not affected by it and proper collation is possible. It is.

<実施例> 第1図は、この発明の実施に用いられるパターン検査
装置の外観を示している。
<Embodiment> FIG. 1 shows the appearance of a pattern inspection apparatus used for carrying out the present invention.

図示例のパターン検査装置は、生産ラインを流れる多
品種小ロット生産の各製品群につきその品種を上面に表
示された文字などのパターンにより判別するものであ
る。
The pattern inspection apparatus of the illustrated example is for discriminating a product type of each product group of a multi-product small lot production flowing on a production line by a pattern such as a character displayed on an upper surface.

図中、1は搬送ベルトであって、被検査品2を検査位
置Pへ搬送する。検査位置Pには図示しない位置センサ
を配備して、検査位置Pへの被検査品2の到達を検知す
る。搬送ベルト1は駆動機構により矢印aの方向へ駆動
され、被検査品2が検査位置Pに到達する毎に駆動を停
止させ、検査終了後に駆動を再開してつぎの被検査品2
を検査位置Pへ導く。
In FIG. 1, reference numeral 1 denotes a transport belt that transports the inspected product 2 to an inspection position P. A position sensor (not shown) is provided at the inspection position P to detect the arrival of the inspected product 2 at the inspection position P. The conveyor belt 1 is driven by a drive mechanism in the direction of arrow a, and stops driving each time the inspected product 2 reaches the inspection position P.
To the inspection position P.

この検査位置Pの隣接位置には搬送ベルト1とほぼ同
じ高さのテーブル3が配置してあり、このテーブル3上
に被検査品のモデル2′を置いて、後記する教示工程が
実施される。
At a position adjacent to the inspection position P, a table 3 having substantially the same height as the conveyor belt 1 is arranged. A model 2 'of the inspection object is placed on the table 3 and a teaching process described later is performed. .

検査位置Pないしテーブル3の上方には、撮像装置4
や円環状光源などの照明装置(図示せず)が配置され、
撮像装置4は画像処理装置5に接続している。
Above the inspection position P or the table 3, the imaging device 4
Lighting device (not shown) such as a circular light source is arranged,
The imaging device 4 is connected to the image processing device 5.

撮像装置4としてCCDカメラなどが用いられ、対物レ
ンズ6を下方に向けて検査位置Pの上方またはテーブル
3の上方に位置決め固定する。
A CCD camera or the like is used as the imaging device 4, and the objective lens 6 is positioned and fixed above the inspection position P or above the table 3 with the object lens 6 facing downward.

なおこの実施例ではテーブル3上に被検査品のモデル
2′を置いて教示工程を実施するが、このテーブル3は
必ずしも必要でなく、例えば搬送ベルト1上の検査位置
Pの被検査品のモデル2′を置いて教示工程を実施して
もよい。
In this embodiment, the teaching process is carried out by placing the model 2 'of the product to be inspected on the table 3. However, the table 3 is not always necessary. The teaching step may be performed at the position 2 '.

画像処理装置5はマイクロコンピュータなどを含み、
撮像装置4により被検査品2のパターン7を撮像して得
た画像につき2値化などの処理を施して、前記パターン
7が所定のパターンであるか否かを判別する。
The image processing device 5 includes a microcomputer and the like,
An image obtained by imaging the pattern 7 of the inspection object 2 by the imaging device 4 is subjected to a process such as binarization to determine whether the pattern 7 is a predetermined pattern.

第2図は、画像処理装置5により実施されるパターン
検査方法の原理を示す。
FIG. 2 shows the principle of the pattern inspection method performed by the image processing apparatus 5.

図中、8は文字パターン「A」の2値画像を示すもの
で、斜線部分が黒画素の画像領域、その他の部分が白画
素の画像領域である。Gは2値画像8の重心位置を示
し、この2値画像8に対し、前記重心位置Gに中心を位
置合わせした円形状をなす第1のウィンドウW1と、この
第1のウィンドウW1を段階的に全周方向へ拡張した円環
状をなす第2〜第8のウィンドウW2〜W8が設定される。
In the figure, reference numeral 8 denotes a binary image of the character pattern "A", where the hatched portion is an image region of black pixels, and the other portions are image regions of white pixels. G indicates the position of the center of gravity of the binary image 8, and a first window W1 having a circular shape whose center is aligned with the position of the center of gravity G, and the first window W1 are stepped with respect to the binary image 8. , The second to eighth windows W2 to W8 which form an annular shape extending in the entire circumferential direction are set.

第3図は、一例として第1のウィンドウW1〜第3のウ
ィンドウW3の関係を示すもので、第1のウィンドウW1は
直径がdの円形状をなし、第2のウィンドウW2は内径が
d、外径が2dの円環状をなし、第3のウィンドウW3が内
径が2d、外径が3dの円環状をなす。第4以下の各ウィン
ドウW4〜W8も上記と同様の関係にあり、ここでは図示を
省略してある。これらウィンドウW1〜W3において、斜線
部分が計測対象領域を意味し、上記の拡張動作を行いつ
つ2値画像8に対しウィンドウ設定を行って、各計測対
象領域に含まれる黒画素の個数が特徴量として計数され
る。
FIG. 3 shows the relationship between the first window W1 to the third window W3 as an example. The first window W1 has a circular shape with a diameter d, and the second window W2 has an inner diameter d. The third window W3 has an annular shape having an inner diameter of 2d and an outer diameter of 3d. The fourth and subsequent windows W4 to W8 also have the same relationship as described above, and are not illustrated here. In these windows W1 to W3, the hatched portion indicates the measurement target area, and the window setting is performed on the binary image 8 while performing the above-described extended operation, and the number of black pixels included in each measurement target area is determined by the feature amount. Is counted as

なおウィンドウは、円形もしくは円環状に限らず、第
4図に示す如く、矩形もしくは矩形環状であってもよ
い。第4図の実施例の場合、2値画像8の重心位置Gに
中心が位置合わせされた矩形状をなす第1のウィンドウ
W1を段階的に四方へ拡張することにより第2以下の各ウ
ィンドウW2〜W6が形成される。
The window is not limited to a circular or annular shape, but may be a rectangular or rectangular annular shape as shown in FIG. In the case of the embodiment shown in FIG. 4, a rectangular first window whose center is aligned with the center of gravity G of the binary image 8
The second and subsequent windows W2 to W6 are formed by gradually expanding W1 in all directions.

なお上記の各例では、最も小さなウィンドウW1を拡張
して他のウィンドウを生成しているが、最も大きなウィ
ンドウW8,W6を基準として段階的に縮小して他のウィン
ドウの設定を行ってもよい。
In each of the above examples, the other window is generated by expanding the smallest window W1, but the other windows may be set by gradually reducing the size based on the largest windows W8 and W6. .

第5図は、文字列より成るパターン9に対するウィン
ドウの設定例を示している。
FIG. 5 shows an example of setting a window for a pattern 9 consisting of a character string.

図示例の場合、パターン9の中心位置Gに中心が位置
合わせされた矩形状をなす第1のウィンドウW1を段階的
に両側方へ拡張することにより第2以下の各ウィンドウ
W2〜W5が形成される。
In the case of the illustrated example, the first window W1 having a rectangular shape whose center is aligned with the center position G of the pattern 9 is gradually expanded to both sides so that each of the second and subsequent windows can be formed.
W2 to W5 are formed.

第6図は、一例として第1のウィンドウW1〜第3のウ
ィンドウW3の関係を示すもので、第1のウィンドウW1は
幅がDの矩形状をなし、第2のウィンドウW2は内幅が
D、外幅が3Dの並列矩形状をなし、第3のウィンドウW3
が内幅が2D、外幅が5Dの並列矩形状をなす。第4以下の
各ウィンドウW4〜W5も上記と同様の関係にあり、ここで
は図示を省略してある。これらウィンドウW1〜W3におい
て、斜線部分が計測対象領域を意味することも前記の例
と同様である。
FIG. 6 shows, as an example, the relationship between the first window W1 to the third window W3. The first window W1 has a rectangular shape having a width D, and the second window W2 has an inner width D. , A 3D parallel rectangle with an outer width of 3D, the third window W3
Has a parallel rectangular shape with an inner width of 2D and an outer width of 5D. The fourth and subsequent windows W4 to W5 also have the same relationship as described above, and are not shown here. In these windows W1 to W3, the shaded portion means the measurement target area, similarly to the above example.

第7図および第8図は、上記原理に基づくパターン検
査方法の具体的手順、すなわち画像処理装置5による制
御手順を示す。
7 and 8 show a specific procedure of the pattern inspection method based on the above principle, that is, a control procedure by the image processing apparatus 5. FIG.

第7図は、検査に先立って実施される教示工程を示
し、スタート時点において、テーブル3上に被検査品を
モデル2′として置き、つぎのステップ1(図中、「ST
1」で示す)でその被検査品2のパターン7を検査する
のに最適なウィンドウ形状(例えば第2図および第3図
に示すウィンドウ形状)を選択する。ステップ2で画像
処理装置5内のカウンタを「1」にセットした後、つぎ
のステップ3で撮像装置4により前記被検査品のモデル
2′を撮像し、その画像信号が画像処理装置5に入力さ
れる(ステップ3)。画像処理装置5ではこの入力画像
を2値化処理して2値画像8を生成し、この2値画像を
画像メモリに格納した後、2値画像8の重心Gを計測す
る(ステップ4)。
FIG. 7 shows a teaching process performed prior to the inspection. At the start time, the inspection object is placed as a model 2 'on the table 3 and the next step 1 ("ST
1), an optimum window shape (for example, the window shape shown in FIGS. 2 and 3) for inspecting the pattern 7 of the inspection object 2 is selected. After setting the counter in the image processing device 5 to “1” in step 2, the image pickup device 4 images the model 2 ′ of the inspection object in the next step 3, and the image signal is input to the image processing device 5. (Step 3). The image processing device 5 binarizes the input image to generate a binary image 8, stores the binary image in the image memory, and measures the center of gravity G of the binary image 8 (step 4).

つぎのステップ5は、カウンタiの計数値がウィンド
ウ設定数n(第2図および第3図ではN=8)を越えた
か否かを判定しており、この場合、この判定は“NO"で
あるからステップ6へ進み、前記2値画像8の重心位置
Gに中心を位置合わせして第1のウィンドウW1を設定す
る。つぎのステップ7では、第1のウィンドウW1の計測
対象領域内に含まれる2値画像8の黒画素数A(1)を
特徴量として計測してメモリ内に記憶する。
In the next step 5, it is determined whether or not the count value of the counter i has exceeded the window set number n (N = 8 in FIGS. 2 and 3). In this case, this determination is “NO”. If so, the process proceeds to step 6, where the center is positioned at the center of gravity G of the binary image 8, and a first window W1 is set. In the next step 7, the number of black pixels A (1) of the binary image 8 included in the measurement target area of the first window W1 is measured as a feature amount and stored in the memory.

つぎにステップ8でカウンタiをインクリメントした
後、2値画像8に対して第2のウィンドウW2を設定して
同様の黒画素数A(2)の計測を実行し、その計測デー
タをメモリに格納する(ステップ6,7)。
Next, after the counter i is incremented in step 8, a second window W2 is set for the binary image 8, the same measurement of the number of black pixels A (2) is performed, and the measurement data is stored in the memory. (Steps 6 and 7).

このようにして全てのウィンドウW1〜W8を順次設定し
て黒画素数A(1)〜A(n)の計測を完了すると、ス
テップ5の判定が“YES"となり、教示工程を完了して第
8図に示す検査工程へ移行する。
When all the windows W1 to W8 are sequentially set in this way and the measurement of the number of black pixels A (1) to A (n) is completed, the determination in step 5 becomes "YES", the teaching process is completed, and The process proceeds to the inspection process shown in FIG.

第8図のスタート時点において、搬送ベルトを駆動す
ると、被検査品2が検査位置Pへ順次導かれる。まずス
テップ1でカウンタiが「1」にセットされ、つぎのス
テップ2で撮像装置4により被検査品2のパターン7が
撮像される。以下のステップでは教示工程と同様の手
順、すなわち重心計測(ステップ3)、ウィンドウW1〜
W8の設定(ステップ5)、黒画素計測(ステップ6)が
実行され、各ウィンドウW1〜W8内の黒画素数B(1)〜
B(8)が計測される。
When the conveyor belt is driven at the start time in FIG. 8, the inspected products 2 are sequentially guided to the inspection position P. First, in step 1, the counter i is set to "1", and in the next step 2, the pattern 7 of the inspection object 2 is imaged by the imaging device 4. In the following steps, the same procedure as the teaching process, that is, the center of gravity measurement (step 3), the windows W1 to
W8 setting (step 5) and black pixel measurement (step 6) are executed, and the number of black pixels B (1) to B (1) in each window W1 to W8.
B (8) is measured.

こうして計測処理を終えると、ステップ4が“YES"と
なってステップ8へ進み、各ウィンドウ毎の計測デー
タ、すなわちA(0)とB(0),A(1)とB(1),A
(2)と,B(2),‥‥とをそれぞれ照合し、対応する
各計測データが一致するか否か、すなわち計測データの
差|A(0)−B(0)|,|A(1)−B(1)|,|A(2)
−B(2)|,‥‥がいずれも所定のしきい値以下か否か
を判定する(ステップ9)。もしステップ9の判定が
“YES"であれば、被検査品2のパターン7が判別すべき
パターンである旨の検査結果を出力する(ステップ1
0)。これに対しステップ9の判定が“NO"であれば、被
検査品のパターン7は判別すべきパターンでない旨の検
査結果を出力する(ステップ11)。
When the measurement process is completed, step 4 becomes “YES” and the process proceeds to step 8, where the measurement data for each window, that is, A (0) and B (0), A (1) and B (1), A
(2) is compared with B (2), ‥‥, and whether or not the corresponding measurement data matches, that is, the difference | A (0) −B (0) |, | A ( 1) -B (1) |, | A (2)
It is determined whether each of −B (2) |, ‥‥ is equal to or less than a predetermined threshold value (step 9). If the determination in step 9 is “YES”, an inspection result indicating that the pattern 7 of the inspection object 2 is a pattern to be determined is output (step 1).
0). On the other hand, if the determination in step 9 is "NO", an inspection result indicating that the pattern 7 of the inspection object is not a pattern to be determined is output (step 11).

ステップ12は、後続の被検査品2があるか否かを判別
しており、その判定が“NO"であれば、検査工程を完了
させ、“YES"であれば、ステップ1へ戻ってつぎの被検
査品2につき上記と同様の手順が実行される。
In step 12, it is determined whether or not there is a subsequent inspection object 2. If the determination is "NO", the inspection process is completed. If "YES", the process returns to step 1 and returns to step 1. The same procedure as described above is executed for the product 2 to be inspected.

<発明の効果> この発明は上記の如く、被検査パターンが所定のパタ
ーンであるか否かを判別するのに、検査工程に先立ち被
検査パターンのモデルを撮像して基準データを生成した
後、検査工程において、被検査パターンの計測データを
前記基準データと照合して被検査パターンの判別を行う
ようにしたから、判別したいパターンをキーボードなど
で指定する従来の方法と比較して、検査作業が簡易化さ
れ、しかも指定ミスの発生も防止できる。また被検査パ
ターンの画像につき重心を求め、その重心位置にウィン
ドウを位置合わせして基準データや計測データを求める
ようにしたから、パターンの位置ずれがあっても、その
影響を受けず、適正な照合が可能となるなど、発明目的
を達成した顕著な効果を奏する。
<Effects of the Invention> As described above, in the present invention, in order to determine whether a pattern to be inspected is a predetermined pattern, an image of a model of the pattern to be inspected is generated prior to an inspection step, and reference data is generated. In the inspection process, the pattern to be inspected is determined by comparing the measured data of the pattern to be inspected with the reference data, so that the inspection work can be performed in comparison with the conventional method of specifying the pattern to be determined using a keyboard or the like. Simplification is possible, and the occurrence of designation errors can be prevented. In addition, since the center of gravity is obtained for the image of the pattern to be inspected, and the window is aligned with the position of the center of gravity to obtain the reference data and the measured data, even if there is a pattern displacement, it is not affected by the displacement, and the proper position is obtained. There is a remarkable effect of achieving the object of the invention, such as enabling collation.

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

第1図はこの発明の実施に用いられるパターン検査装置
の外観を示す斜視図、第2図はこの発明のパターン検査
方法の原理を示す説明図、第3図はウィンドウの形状を
示す説明図、第4図および第5図は他のウィンドウの設
定例を示す説明図、第6図は第5図のウィンドウの形状
を示す説明図、第7図および第8図はこの発明にかかる
パターン検査方法の手順を示すフローチャートである。 2……被検査品、4……撮像装置 5……画像処理装置 W1〜W8……ウィンドウ
FIG. 1 is a perspective view showing an external appearance of a pattern inspection apparatus used for carrying out the present invention, FIG. 2 is an explanatory view showing the principle of the pattern inspection method of the present invention, FIG. 3 is an explanatory view showing the shape of a window, 4 and 5 are explanatory diagrams showing examples of setting other windows, FIG. 6 is an explanatory diagram showing the shape of the window in FIG. 5, and FIGS. 7 and 8 are pattern inspection methods according to the present invention. 6 is a flowchart showing the procedure of FIG. 2… Inspection object, 4… Imaging device 5 …… Image processing device W1-W8… Window

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭64−83102(JP,A) 特開 昭60−143704(JP,A) 実開 昭55−134661(JP,U) (58)調査した分野(Int.Cl.6,DB名) G01B 11/00 - 11/30 G06T 5/20 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-64-83102 (JP, A) JP-A-60-143704 (JP, A) Full-fledged Sho-55-134661 (JP, U) (58) Field (Int.Cl. 6 , DB name) G01B 11/00-11/30 G06T 5/20

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被検査パターンが所定のパターンであるか
否かを検査する方法であって、 被検査パターンのモデルを撮像して得た画像の重心を求
めた後、その重心位置に所定のウィンドウの中心を位置
合わせし、前記ウィンドウを段階的に拡張または縮小し
つつ各段階のウィンドウ内に含まれる前記画像の面積を
基準データとしてそれぞれ計測して記憶する教示工程
と、 被検査パターンを撮像して得た画像の重心を求めた後、
前記画像に対しその重心位置に前記ウィンドウの中心を
位置合わせし、前記ウィンドウを教示工程と同じ比率で
段階的に拡張または縮小しつつ各段階のウィンドウ内に
含まれる前記画像の面積をそれぞれ計測して、それぞれ
の計測データを対応する前記基準データと照合すること
により被検査パターンを判別する検査工程とを実施する
ことを特徴とするパターン検査方法。
1. A method for inspecting whether or not a pattern to be inspected is a predetermined pattern, comprising: obtaining a center of gravity of an image obtained by imaging a model of the pattern to be inspected; A teaching step of aligning the center of the window, gradually expanding or reducing the window, measuring and storing the area of the image included in the window at each stage as reference data, and capturing the pattern to be inspected. After calculating the center of gravity of the image obtained
The center of the window is aligned with the center of gravity of the image, and the area of the image included in the window at each stage is measured while gradually expanding or reducing the window at the same ratio as the teaching process. An inspection step of comparing each measurement data with the corresponding reference data to determine a pattern to be inspected.
JP2326589A 1990-11-27 1990-11-27 Pattern inspection method Expired - Fee Related JP2900600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2326589A JP2900600B2 (en) 1990-11-27 1990-11-27 Pattern inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2326589A JP2900600B2 (en) 1990-11-27 1990-11-27 Pattern inspection method

Publications (2)

Publication Number Publication Date
JPH04194607A JPH04194607A (en) 1992-07-14
JP2900600B2 true JP2900600B2 (en) 1999-06-02

Family

ID=18189509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2326589A Expired - Fee Related JP2900600B2 (en) 1990-11-27 1990-11-27 Pattern inspection method

Country Status (1)

Country Link
JP (1) JP2900600B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2921660B2 (en) * 1995-10-07 1999-07-19 川崎重工業株式会社 Article shape measuring method and device

Also Published As

Publication number Publication date
JPH04194607A (en) 1992-07-14

Similar Documents

Publication Publication Date Title
US6748104B1 (en) Methods and apparatus for machine vision inspection using single and multiple templates or patterns
US5305391A (en) Method of and apparatus for inspecting bottle or the like
JP5085860B2 (en) Wood inspection method, apparatus and program
JPH07260701A (en) Recognition method of area of inspection
US20060222233A1 (en) Pattern defect inspection method and apparatus using image correction technique
EP1104915B1 (en) Defect detection using gray level signatures
JP2900600B2 (en) Pattern inspection method
JP3059294B2 (en) Method and apparatus for obtaining clear images of individual articles
JP2004318488A (en) Product inspection method and product inspection device
JP2002139312A (en) Measuring method of earth-carrying quantity
JP3473800B2 (en) Defect inspection method and device
JPS62249005A (en) Inspecting deice for abnormality of shape of object
JP3325191B2 (en) Shellfish identification method
JPH05172542A (en) Printing-pattern inspecting apparatus
JP3189604B2 (en) Inspection method and device
JPH1048138A (en) Input device for flaw information on metal plate surface
JP2006078421A (en) Pattern defect detector, and method of detecting pattern defect
JPH05272945A (en) Apparatus for inspecting bent part of lead
JPH05231842A (en) Shape pattern inspection method and device
JP3252574B2 (en) Image processing device
JPH0773290A (en) Shape test method/device
JPH1021399A (en) Method for inspecting cutting position of printed matter
JPH0590365A (en) Testing apparatus
JP2974788B2 (en) Pattern position detection method
JP3473114B2 (en) Image processing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees