JPS61194306A - Shape inspecting apparatus - Google Patents
Shape inspecting apparatusInfo
- Publication number
- JPS61194306A JPS61194306A JP60035022A JP3502285A JPS61194306A JP S61194306 A JPS61194306 A JP S61194306A JP 60035022 A JP60035022 A JP 60035022A JP 3502285 A JP3502285 A JP 3502285A JP S61194306 A JPS61194306 A JP S61194306A
- Authority
- JP
- Japan
- Prior art keywords
- dimensional pattern
- inspected
- specimen
- standard
- image
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野]
本発明は、被検査物をカメラで撮像してその被検査物の
形状を検査する形状検査装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a shape inspection apparatus that images an object to be inspected with a camera and inspects the shape of the object.
[従来技術]
従来この種の形状検査装置においては、被検査物をカメ
ラにより搬像して得た撮像信号を画像処理して被検査物
二次元パターンを作成し、その被検査物二次元パターン
を形成する画素数を演算すると共に、予め定められた標
準二次元パターンを形成する画素数とを比較し、両二次
元パターンを形成する画素数の差が所定の画素数以内か
否かを判定して被検査物の良、不良のみを表示していた
。[Prior Art] Conventionally, in this type of shape inspection apparatus, a two-dimensional pattern of the object to be inspected is created by image processing an image signal obtained by conveying an image of the object to be inspected by a camera, and the two-dimensional pattern of the object to be inspected is In addition to calculating the number of pixels forming a predetermined standard two-dimensional pattern, it is compared with the number of pixels forming a predetermined standard two-dimensional pattern, and it is determined whether the difference in the number of pixels forming both two-dimensional patterns is within a predetermined number of pixels. Only the good or bad quality of the inspected object was displayed.
[発明が解決しようとする問題点]
上記のように被検査物の二次元パターンを形成する画素
数と標準二次元パターンを形成する画素数との比較を行
い、被検査物の良、不良のみを表示するものにおいては
、被検査物自体が良か不良かの検査を行うことができる
だけで被検査物の不良箇所を検知することができず、多
数の被検査物を検査しても、不良傾向若しくは不良原因
等を察知することができない等の問題点があった。[Problems to be Solved by the Invention] As described above, the number of pixels forming the two-dimensional pattern of the object to be inspected is compared with the number of pixels forming the standard two-dimensional pattern, and only the good and defective objects of the object to be inspected are determined. In the case of a device that displays a mark, it is only possible to inspect whether the inspected object itself is good or defective, but it is not possible to detect the defective part of the inspected object, and even if a large number of inspected objects are inspected, There were problems such as the inability to detect trends or causes of defects.
[発明の目的]
本発明は上記の従来の問題点を解消するものであり、被
検査物の不良傾向を察知することができて不良原因の解
明及び検査前の被検査物の加工工程に対して対策を立て
ることができる形状検査装置を提供することを目的とす
る。[Purpose of the Invention] The present invention solves the above-mentioned conventional problems, and is capable of detecting defective tendencies of inspected objects, elucidating the causes of defects, and improving processing steps of inspected objects before inspection. The purpose of the present invention is to provide a shape inspection device that allows countermeasures to be taken.
[問題点を解決するための手段及び作用]上記の目的を
達成するために本発明においては、第1図に示すように
、カメラ12からのm像信号を画像処理する被検査物パ
ターン化手段aにより作成された被検査物二次元パター
ンと記憶手段すに記憶された標準二次元パターンとを比
較照合する演算手段Cが設けられると共に、その結果を
表示部に表示する表示手段dが設けられ、前記標準二次
元パターンと被検査物二次元パターンとを演算手段Cに
より各画素毎に比較照合して排他的論理和を求め、その
排他的論理和より表示手段dが両パターンの相違部分の
みを表示部に表示するものである。[Means and operations for solving the problems] In order to achieve the above object, the present invention provides an object patterning means for image processing the m-image signal from the camera 12, as shown in FIG. Calculating means C for comparing and collating the two-dimensional pattern of the inspected object created in step a with the standard two-dimensional pattern stored in the storage means is provided, and display means d for displaying the result on a display section is provided. , the standard two-dimensional pattern and the two-dimensional pattern of the object to be inspected are compared and matched pixel by pixel by the calculation means C to obtain an exclusive OR, and from the exclusive OR, the display means d displays only the differences between the two patterns. is displayed on the display section.
[実施例]
以下に本発明を具体化した一実施例を第2図乃至第7図
を参照して詳細に説明する。[Embodiment] An embodiment embodying the present invention will be described in detail below with reference to FIGS. 2 to 7.
形状検査装置は、被検査物10を所定位鴨に保持するテ
ーブル(図示せず)と、被検査物10の上方に配設され
たカメラ12と、そのカメラ12に接続されたマイクロ
コンピュータ18と、そのマイクロコンピュータ18に
接続された表示部としてのCRT20とより構成されて
いる。前記マイクロコンピュータ18は、中央演算処理
装置(以下CPUという)14と、制御プログラム及び
被検査物10の標準二次元パターンデータ等各種データ
が記憶されたメモリ16とより構成されている。前記C
PU14には、テーブル上の被検査物保持位置近傍に配
設された位置決め完了検出スイッチ19が接続され、被
検査物10がテーブル上の被検査物保持@置に位置決め
された時、位置決め完了検出スイッチ19が作動されて
、その検出信号がCPu14に入力されるように構成さ
れている。The shape inspection device includes a table (not shown) that holds the object to be inspected 10 at a predetermined position, a camera 12 disposed above the object to be inspected, and a microcomputer 18 connected to the camera 12. , and a CRT 20 as a display section connected to the microcomputer 18. The microcomputer 18 is composed of a central processing unit (hereinafter referred to as CPU) 14 and a memory 16 in which various data such as a control program and standard two-dimensional pattern data of the object 10 to be inspected are stored. Said C
A positioning completion detection switch 19 disposed near the inspection object holding position on the table is connected to the PU 14, and when the inspection object 10 is positioned at the inspection object holding position on the table, the positioning completion detection switch 19 is connected. The switch 19 is activated and the detection signal thereof is input to the CPU 14.
この形状検査装置は、第5図に示す銀白色の円柱状上部
10aとその上部10aよりも大なる径を有する黒色の
円柱状下部10bとより構成された被検査物10の上端
面の形状を検査するものである。This shape inspection device detects the shape of the upper end surface of an object to be inspected 10, which is composed of a silvery white cylindrical upper part 10a and a black cylindrical lower part 10b having a larger diameter than the upper part 10a, as shown in FIG. It is something to be inspected.
次に、本実施例の作用を第3図に示すフローチャートに
従って説明する。Next, the operation of this embodiment will be explained according to the flowchart shown in FIG.
電源が投入されると、CPU14は、制御プログラムに
従って作動され、まずステップSOを実行し、被検査物
10がテーブル上の被検査物保持位置、すなわちカメラ
12の撮像位置に位置決めされた時に出力される位置決
め完了検出スイッチ19の検出信号があるかどうかの確
認を行う。When the power is turned on, the CPU 14 is operated according to the control program, first executes step SO, and outputs when the object 10 to be inspected is positioned at the object holding position on the table, that is, at the imaging position of the camera 12. It is checked whether there is a detection signal from the positioning completion detection switch 19.
ここで、テーブルの被検査物保持位置に被検査物10が
適宜の搬送ロボット(図示せず)によって位置決めされ
ると、位置決め完了検出スイッチ19が作動されて検出
信号がCPU14に入力されるため、CPU14は次の
ステップS1を実行する。ステップS1においてCPU
14は、カメラ12により撮像された被検査物10の撮
像信号を入力すると共に、その撮像信号を2値化して被
検査物10の明るい上面とその他の暗い部分とを分離す
ることにより被検査物二次元パターン22を作成し、そ
の被検査物二次元パターン22をメモリ16内の所定の
エリアに記憶する。次にステップ$2が実行され、被検
査物二次元パターン22とメモリ16内に予め記憶され
ている標準二次元パターン24とを第6図に示すように
ORR2O3表示させると共に、それらの両パターンを
各画素毎に比較照合して第4図に示すように、それらの
排他的論理和を取り、その結果を表示データとしてメモ
リ16内の所定のエリアに記憶する。Here, when the inspected object 10 is positioned at the inspected object holding position on the table by an appropriate transfer robot (not shown), the positioning completion detection switch 19 is activated and a detection signal is input to the CPU 14. The CPU 14 executes the next step S1. In step S1, the CPU
14 inputs an image signal of the object to be inspected 10 imaged by the camera 12, and binarizes the image signal to separate the bright upper surface of the object to be inspected from other dark parts. A two-dimensional pattern 22 is created, and the two-dimensional pattern 22 of the object to be inspected is stored in a predetermined area in the memory 16. Next, step $2 is executed, and the two-dimensional pattern 22 of the object to be inspected and the standard two-dimensional pattern 24 stored in advance in the memory 16 are displayed in ORR2O3 as shown in FIG. Each pixel is compared and compared, and as shown in FIG. 4, an exclusive OR is taken of the results and the result is stored in a predetermined area in the memory 16 as display data.
次にステップS3において、前記排他的論理和を取った
結果、「明」となった画素数、すなわち被検査物二次元
パターン22と標準二次元パターン24とが一致しなか
った相違画素数をカウントし、ステップS4で相違画素
数が許容画素数以内か否かの判定を行う。その相違画素
数が許容画素数より多いと判定された場合には、ステッ
プS6が実行され、第7図に示すようにCRT20に前
記両パターン22.24の相違部分26の形状のみを表
示すると共に、CRT20の右下に「不良品」と表示す
る。また、相違画素数が許容画素数以内と判定された場
合には、ステップS5が実行され、ステップS6と同様
に相違部分26の形状を表示すると共に、CRT20の
右下に「良品」と表示する。Next, in step S3, the number of pixels that are "bright" as a result of taking the exclusive OR, that is, the number of different pixels where the two-dimensional pattern 22 of the object to be inspected and the standard two-dimensional pattern 24 do not match is counted. Then, in step S4, it is determined whether the number of different pixels is within the allowable number of pixels. If it is determined that the number of different pixels is greater than the allowable number of pixels, step S6 is executed, and as shown in FIG. , "defective product" is displayed at the bottom right of the CRT 20. Further, if it is determined that the number of different pixels is within the allowable number of pixels, step S5 is executed, and the shape of the different part 26 is displayed as in step S6, and "good product" is displayed at the lower right corner of the CRT 20. .
[発明の効果]
以上詳述したように本発明は、被検査物の二次元パター
ンと標準二次元パターンとの間で排他的論理和を取って
その排他的論理和より被検査物の不良部分を表示するよ
うにしたので、被検査物の不良箇所を容易に検知するこ
とができて、その不良傾向を察知し得、その結果、不良
原因の解明及び検査前の加工工程に対して適宜の対策を
立てることが容易にできる等の効果を奏する。[Effects of the Invention] As detailed above, the present invention calculates an exclusive OR between the two-dimensional pattern of the object to be inspected and the standard two-dimensional pattern, and determines the defective portion of the object from the exclusive OR. By displaying the following information, it is possible to easily detect the defective parts of the inspected object and detect the tendency of the defect. This has the effect of making it easier to take countermeasures.
第1図は本発明のクレーム対応図、第2図は本発明の一
実施例の回路構成を示すブロック図、第3図は作用を説
明するフローチャート、第4図は被検査物二次元パター
ンと標準二次元パターンとの排他的論理和の表示様式を
示す図、第5図は被検査物を示す斜視図、第6図はCR
Tに表示された被検査物二次元パターンと標準二次元パ
ターンとを示す図、第7図はCRTに表示された両パタ
ーンの相違部分の形状を示す図である。
図中、10は被検査物、12はカメラ、20はCRT(
表示部)、22は被検査物二次元パターン、24は標準
二次元パターンである。Fig. 1 is a diagram corresponding to the claims of the present invention, Fig. 2 is a block diagram showing the circuit configuration of an embodiment of the invention, Fig. 3 is a flowchart explaining the operation, and Fig. 4 is a diagram showing the two-dimensional pattern of the object to be inspected. A diagram showing the display format of exclusive OR with a standard two-dimensional pattern, FIG. 5 is a perspective view of the object to be inspected, and FIG. 6 is a CR
FIG. 7 is a diagram showing the two-dimensional pattern of the object to be inspected and the standard two-dimensional pattern displayed on the CRT, and FIG. 7 is a diagram showing the shapes of the different portions of the two patterns displayed on the CRT. In the figure, 10 is the object to be inspected, 12 is the camera, and 20 is the CRT (
22 is a two-dimensional pattern of the object to be inspected, and 24 is a standard two-dimensional pattern.
Claims (1)
査物(10)の形状を検査する形状検査装置において、 前記カメラ(12)からの撮像信号を画像処理して被検
査物二次元パターン(22)を作成する被検査物パター
ン化手段(a)と、 前記被検査物(10)の標準二次元パターン(24)を
記憶する記憶手段(b)と、 その標準二次元パターン(24)と前記被検査物二次元
パターン(22)とを各画素毎に比較照合してそれらの
排他的論理和を求める演算手段(c)と、 その演算手段(c)によって求められた排他的論理和よ
り前記被検査物二次元パターン(22)と標準二次元パ
ターン(24)との相違部分のみを表示部(20)に表
示する表示手段(d)とを備えていることを特徴とする
形状検査装置。[Scope of Claims] In a shape inspection device that images an object to be inspected (10) with a camera (12) and inspects the shape of the object (10), the image processing is performed on an image signal from the camera (12). an inspection object patterning means (a) for creating an inspection object two-dimensional pattern (22), and a storage means (b) for storing a standard two-dimensional pattern (24) of the inspection object (10); a calculation means (c) for comparing and collating the standard two-dimensional pattern (24) and the inspection object two-dimensional pattern (22) for each pixel and calculating their exclusive OR; display means (d) for displaying only the difference between the two-dimensional pattern (22) of the object to be inspected and the standard two-dimensional pattern (24) on the display section (20) from the exclusive OR obtained by A shape inspection device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60035022A JPS61194306A (en) | 1985-02-22 | 1985-02-22 | Shape inspecting apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60035022A JPS61194306A (en) | 1985-02-22 | 1985-02-22 | Shape inspecting apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61194306A true JPS61194306A (en) | 1986-08-28 |
Family
ID=12430431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60035022A Pending JPS61194306A (en) | 1985-02-22 | 1985-02-22 | Shape inspecting apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61194306A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63287892A (en) * | 1987-05-20 | 1988-11-24 | キヤノン株式会社 | Dot pattern checker |
JP2003101948A (en) * | 2001-09-19 | 2003-04-04 | Olympus Optical Co Ltd | Image processing method and apparatus, and substrate inspecting device |
-
1985
- 1985-02-22 JP JP60035022A patent/JPS61194306A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63287892A (en) * | 1987-05-20 | 1988-11-24 | キヤノン株式会社 | Dot pattern checker |
JP2003101948A (en) * | 2001-09-19 | 2003-04-04 | Olympus Optical Co Ltd | Image processing method and apparatus, and substrate inspecting device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010133744A (en) | Defect detection method, and visual inspection device using the same | |
JPS61194306A (en) | Shape inspecting apparatus | |
JPS61194305A (en) | Shape inspecting apparatus | |
JP2002008029A (en) | Image inspection device | |
JP2903305B2 (en) | Mounting component inspection method and mounting component inspection device | |
JPS62233746A (en) | Checker for chip mounted board | |
JP2000200355A (en) | Production of check program for cream solder print checking machine | |
JPS61120907A (en) | Hole inspection of printed-circuit board | |
JP2000121495A (en) | Screen inspection method | |
JP7300155B2 (en) | Teaching device in solid preparation appearance inspection, and teaching method in solid preparation appearance inspection | |
JPH0739997B2 (en) | Appearance inspection method for soldered parts | |
JPH02165004A (en) | Object testing apparatus | |
JPH07239309A (en) | Device for detecting abnormal part of parallel line pattern | |
JP2007147320A (en) | Inspection device | |
JPH11328415A (en) | Printed matter inspecting device | |
JPH0642935A (en) | Appearance inspection apparatus of electronic component | |
US20190128818A1 (en) | Image processing apparatus, image processing method, and recording medium | |
JPH10289311A (en) | Check method and device for printed matter | |
JPH10269357A (en) | Method for inspecting printed matter | |
JPH08313580A (en) | Method and device for inspecting printed pattern | |
JPH02171640A (en) | Inspection of container | |
JPH0443468A (en) | Method for inspecting printing of character | |
JPH0683943A (en) | Print inspecting device | |
JPS61176836A (en) | Inspection of appearance of articles | |
KR960011251B1 (en) | Goods visual inspection method |