JPH01206240A - Evaluating method and apparatus of checking capacity for external appearance checking apparatus - Google Patents

Evaluating method and apparatus of checking capacity for external appearance checking apparatus

Info

Publication number
JPH01206240A
JPH01206240A JP3144488A JP3144488A JPH01206240A JP H01206240 A JPH01206240 A JP H01206240A JP 3144488 A JP3144488 A JP 3144488A JP 3144488 A JP3144488 A JP 3144488A JP H01206240 A JPH01206240 A JP H01206240A
Authority
JP
Japan
Prior art keywords
probability
sum
appearance
inspection
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
Application number
JP3144488A
Other languages
Japanese (ja)
Inventor
Kazuo Kuki
一夫 九鬼
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.)
Kanegafuchi Chemical Industry Co Ltd
Original Assignee
Kanegafuchi Chemical Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kanegafuchi Chemical Industry Co Ltd filed Critical Kanegafuchi Chemical Industry Co Ltd
Priority to JP3144488A priority Critical patent/JPH01206240A/en
Publication of JPH01206240A publication Critical patent/JPH01206240A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PURPOSE:To obtain exactly an evaluation value for evaluating a checking capacity, by determining a detection probability of an external appearance checking apparatus and an emergence probability of a defect of a surface of a substance to be checked up, and by computing thereafter the total sum of the detection probability and the emergence probability. CONSTITUTION:A reference image having pixels of all density variation gradations is picked up by a video camera 11 and image data thus obtained are stored in RAM 3. Next, CPU 1 stores the mean value of gradation data of the reference image in each density variation gradation as a detection probability F(i) of an image pickup device 100 in the RAM 3. Then, a substance to be checked which has a stain defect is picked up and the image data on a stained image are stored in the RAM 3. The CPU 1 stores stain emergence data on all density variation gradations in the RAM 3. Then, an emergence probability G(i) of the stain defect is determined and stored in the RAM 3. Subsequently, the CPU 1 calculates a checking power K1 from the probabilities F(i) and G(i) and then displays same.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、被検査物を濃淡画像として撮影し上記濃淡画
像のデータに基づいて被検査物の表面における欠陥を検
査する外観検査装置のための検査能力評価方法及び装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object to be inspected based on the data of the grayscale image. This invention relates to a method and device for evaluating testing ability.

[従来の技術] 従来、2次元白黒カメラを用いて被検査物を撮像するこ
とにより、もしくは1次元白黒カメラを用いて該1次元
白黒カメラの走査方向と直角な方向へ被検査物を移動し
ながら撮像することにより得られる2次元の濃淡画像か
ら、被検査物表面の汚れ欠陥を検出するために、種々の
測定方法、汚れ検出のアルゴリズム、検査装置等が考案
されてきた。
[Prior Art] Conventionally, a two-dimensional black-and-white camera is used to image an object to be inspected, or a one-dimensional black-and-white camera is used to move the object to be inspected in a direction perpendicular to the scanning direction of the one-dimensional black-and-white camera. Various measurement methods, dirt detection algorithms, inspection devices, etc. have been devised in order to detect dirt defects on the surface of an object to be inspected from a two-dimensional grayscale image obtained by imaging the object.

[発明が解決しようとする課題] し力ζし、実際に汚れ欠陥の検査を必要とする被検査物
に対して、如何なる検査方法や装置が妥当であるかを、
適正にかつ客観的に数値化して表示する評価方法及び装
置が存在しなかった。
[Problem to be solved by the invention] What is the appropriate inspection method and device for the object to be inspected that actually requires inspection for dirt defects?
There was no evaluation method or device that could appropriately and objectively quantify and display the results.

従って、汚れ欠陥をその濃淡画像から検出する方法や装
置を外観検査を実施する為の有力な手段として選定する
に当たり、検査装置としての検査能力を的確に表現した
り、評価したり、確認することができなかった。このた
め、検査装置の使用者と設計者、設計者と製作者等の間
で、システムの具備すべき期待性能にずれが生じ、検査
装置を設置した後、期待に反する性能しか出ない等のト
ラブルを生じることが極めて多発していた。
Therefore, when selecting a method and device for detecting dirt defects from their gradation images as a powerful means for visual inspection, it is important to accurately express, evaluate, and confirm the inspection ability of the inspection device. I couldn't do it. For this reason, there is a discrepancy in the expected performance of the system between the user and the designer, or between the designer and the manufacturer of the inspection equipment, and after the inspection equipment is installed, it may result in performance that is contrary to expectations. Problems were occurring extremely frequently.

本発明の目的は以上の問題点を解決し、外観検査装置の
検査能力を自動的に数値化して評価することができる外
観検査装置のための評価方法及び装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and provide an evaluation method and apparatus for a visual inspection device that can automatically quantify and evaluate the inspection ability of the visual inspection device.

[課題を解決するための手段] 第1の発明の評価方法は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価方法において、所定の濃淡度階調毎にすべての上記濃
淡度階調を含む画像データに基づいて上記外観検査装置
が各濃淡度階調の画像を検出できる確率である検出確率
を演算し、上記濃淡度階調毎に表面に欠陥がある上記被
検査物の濃淡画像のデータに基づいて上記欠陥が出現す
る確率である出現確率を演算し、上記検出確率と上記出
現確率との上記各濃淡度階調毎の積の総和である第1の
総和をすべての上記濃淡度階調にわたって演算し、上記
各濃淡度階調の上記出現確率の総和である第2の総和を
すべての上記濃淡度階調にわたって演算し、上記第1の
総和を上記第2の総和で除算し、上記除算値を上記外観
検査装置の検査能力の評価値とすることを特徴とする。
[Means for Solving the Problems] The evaluation method of the first invention is for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object to be inspected based on data of the grayscale image. In the inspection ability evaluation method of The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the object to be inspected having a defect on the surface for each grayscale, and the difference between the detection probability and the appearance probability is calculated. The first sum, which is the sum of the products for each of the above gray scales, is calculated over all the gray scales, and the second sum, which is the sum of the appearance probabilities for each gray scale, is calculated over all the gray scales. The method is characterized in that the calculation is performed over the gray scale, the first sum is divided by the second sum, and the divided value is used as an evaluation value of the inspection ability of the visual inspection apparatus.

第2の発明の評価装置は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価装置において、所定の濃淡度階調毎にすべての上記濃
淡度階調を含む画像データに基づいて上記外観検査装置
が各濃淡度階調の画像を検出できる確率である検出確率
を演算する第1の演算手段と、上記濃淡度階調毎に表面
に欠陥がある上記被検査物の濃淡画像のデータに基づい
て上記欠陥が出現する確率である出現確率を演算する第
2の演算手段と、上記検出確率と上記出現確率との上記
各濃淡度階調毎の積の総和である第1の総和をすべての
上記濃淡度階調にわたって演算する第3の演算手段と、
上記各濃淡度階調の上記出現確率の総和である第2の総
和をすべての上記濃淡度階調にわたって演算する第4の
演算手段と、上記第1の総和を上記第2の総和で除算す
る第5の演算手段とを備え、上記第5の演算手段で得ら
れた除算値を上記外観検査装置の検査能力の評価値とす
ることを特徴とする。
The evaluation device of the second invention is an inspection ability evaluation device for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image. a first calculation means that calculates a detection probability that is a probability that the appearance inspection device can detect an image of each density gradation based on image data including all of the density gradations for each density gradation; a second calculating means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on the surface for each grayscale; a third calculation means for calculating a first sum, which is the sum of the products of the probability and each of the gray scales, over all the gray scales;
a fourth calculation means for calculating a second sum, which is the sum of the appearance probabilities of each of the gray scales, over all the gray scales; and dividing the first sum by the second sum. and a fifth arithmetic means, and the divided value obtained by the fifth arithmetic means is used as an evaluation value of the inspection ability of the appearance inspection apparatus.

第3の発明の評価方法は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価方法において、所定の濃淡度階調毎にすべての上記濃
淡度階調を含む画像データに基づいて上記外観検査装置
が各濃淡度階調の画像を検出できる確率である検出確率
を演算し、上記濃淡度階調毎に表面に欠陥がある上記被
検査物の濃淡画像のデータに基づいて上記欠陥か出現す
る確率である出現確率を演算し、上記検出確率と上記出
現確率と上記被検査物に対する各濃淡度階調毎の予め決
められた重要度との上記各l農淡度階調毎の積の総和で
ある第1の総和をすべての上記濃淡度階調にわたって演
算し、上記出現確率と上記重要度との上記各濃淡度階調
毎の積の総和である第2の総和をすべての上記濃淡度階
調にわたって演算し、上記第1の総和を上記第2の総和
で除算し、上記除算値を上記外観検査装置の検査能力の
評価値とすることを特徴とする。
The evaluation method of the third invention is an inspection ability evaluation method for an appearance inspection apparatus that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image. The detection probability, which is the probability that the visual inspection device can detect an image of each density gradation, is calculated based on the image data including all of the above density gradations for each density gradation, and the detection probability is calculated for each density gradation. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the object to be inspected that has a defect on its surface, and the detection probability, the appearance probability, and each density gradation for the object to be inspected are calculated. The first sum, which is the sum of the products for each density gradation with the predetermined importance for each, is calculated over all the density gradations, and A second sum, which is the sum of the products for each of the gray scales, is calculated over all the gray scales, the first sum is divided by the second sum, and the divided value is calculated for the appearance. It is characterized in that it is an evaluation value of the inspection ability of the inspection device.

第4の発明の評価装置は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価装置において、所定の濃淡度階調毎にすべての上記濃
淡度階調を含む画像データに基づいて上記外観検査装置
が各濃淡度階調の画像を検出できる確率である検出確率
を演算する第1の演算手段と、上記濃淡度階調毎に表面
に欠陥がある上記被検査物の濃淡画像のデータに基づい
て上記欠陥が出現する確率である出現確率を演算する第
2の演算手段と、上記検出確率と上記出現確率と上記被
検査物に対する各濃淡度階調毎の予め決められた重要度
との上記各濃淡度階調毎の積の総和である第1の総和を
すべての上記濃淡度階調にわたって演算する第3の演算
手段と、上記出現確率と上記重要度との上記各濃淡度階
調毎の積の総和である第2の総和をすべての上記濃淡度
階調にわたって演算する第4の演算手段と、上記第1の
総和を上記第2の総和で除算する第5の演算手段とを備
え、上記第5の演算手段で得られた除算値を上記外観検
査装置の検査能力の評価値とすることを特徴とする。
An evaluation device according to a fourth aspect of the invention is an inspection ability evaluation device for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object to be inspected based on the data of the grayscale image. a first calculation means that calculates a detection probability that is a probability that the appearance inspection device can detect an image of each density gradation based on image data including all of the density gradations for each density gradation; a second calculating means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on the surface for each grayscale; A first sum, which is the sum of the products of the probability and the predetermined importance of each gray scale for the object to be inspected, for each gray scale is calculated over all the gray scales. a third calculation means; and a fourth calculation means for calculating a second sum, which is the sum of the products of the appearance probability and the importance level, for each of the gray scales, over all the gray scales. , and a fifth calculation means for dividing the first sum by the second sum, and the division value obtained by the fifth calculation means is used as an evaluation value of the inspection ability of the appearance inspection apparatus. It is characterized by

第5の発明の評価方法は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価方法において、所定の濃淡度階調毎に表面に欠陥があ
る上記被検査物の濃淡画像のデータに基づいて上記欠陥
が出現する確率である出現確率を演算し、上記;n淡度
階調毎にすべての上記濃淡度階調を含む画像データに基
づいて予め決められ上記外観検査装置が各濃淡度階調の
画像を検出できる確率である検出確率と上記出現確率と
の上記各濃淡度階調毎の積の総和である第1の総和をす
べての上記濃淡度階調にわたって演算し、上記各濃淡度
階調の上記出現確率の総和である第2の総和をすべての
上記濃淡度階調にわたって演算し、上記第1の総和を上
記第2の総和で除算し、上記除算値を上記外観検査装置
の検査能力の評価値とすることを特徴とする。
The evaluation method of the fifth invention is an inspection ability evaluation method for an appearance inspection apparatus that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the object to be inspected that has a defect on its surface for each grayscale; The sum of the products of the detection probability and the appearance probability, which are predetermined based on image data including gray scale, and which is the probability that the appearance inspection device can detect an image of each gray scale, for each gray scale. A first sum that is the sum of the appearance probabilities of each of the gray scales is calculated over all the gray scales, and a second sum that is the sum of the appearance probabilities of each gray scale is 1 is divided by the second sum, and the divided value is used as an evaluation value of the inspection ability of the visual inspection apparatus.

第6の発明の評価装置は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価装置において、所定の1農淡度階調毎に表面に欠陥が
ある上記被検査物の濃淡画像のデータに基づいて上記欠
陥が出現する確率である出現確率を演算する第1の演算
手段と、上記濃淡度階調毎にすべての上記濃淡度階調を
含む画像データに基づいて予め決められ上記外観検査装
置が各濃淡度階調の画像を検出できる確率である検出確
率と上記出現確率との上記各濃淡度階調毎の積の総和で
ある第1の総和をすべての上記濃淡度階調にわたって演
算する第2の演算手段と、上記各濃淡度階調の上記出現
確率の総和である第2の総和をすべての上記濃淡度階調
にわたって演算する第3の演算手段と、上記第1の総和
を上記第2の総和で除算する第4の演算手段とを備え、
上記第4の演算手段で得られた除算値を上記外観検査装
置の検査能力の評価値とすることを特徴とする。
An evaluation device according to a sixth aspect of the invention is an inspection ability evaluation device for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object to be inspected based on the data of the grayscale image. a first calculating means for calculating an appearance probability that is a probability that the defect will appear based on data of a gray scale image of the object to be inspected having a defect on the surface for each gray level; The detection probability, which is the probability that the appearance inspection device can detect an image of each density gradation, is predetermined based on image data including all of the density gradations for each density gradation, and the appearance probability. a second calculation means for calculating a first sum, which is a sum of products for each tone, over all the above-mentioned gradation levels, and a second sum, which is a sum of the above-mentioned appearance probabilities for each of the above-mentioned gradation levels. and a fourth calculation means that divides the first sum by the second sum.
The present invention is characterized in that the division value obtained by the fourth calculation means is used as an evaluation value of the inspection ability of the visual inspection device.

第7の発明の評価方法は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価方法において、所定の濃淡度階調毎に表面に欠陥があ
る上記被検査物の濃淡画像のデータに基づいて上記欠陥
が出現する確率である出現確率を演算し、上記濃淡度階
調毎にすべての上記濃淡度階調を含む画像データに基づ
いて予め決められ上記外観検査装置が各濃淡度階調の画
像を検出できる確率である検出確率と上記出現確率と上
記被検査物に対する各濃淡度階調毎の予め決められた重
要度との上記各濃淡度階調毎の積の総和である第1の総
和をすべての上記濃淡度階調にわたって演算し、上記出
現確率と上記重要度との上記各濃淡度階調毎の積の総和
である第2の総和をすべての上記濃淡度階調にわたって
演算し、上記第1の総和を上記第2の総和で除算し、上
記除算値を上記外観検査装置の検査能力の評価値とする
ことを特徴とする。
An evaluation method according to a seventh aspect of the present invention is an inspection ability evaluation method for an appearance inspection apparatus that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the gradation image of the object to be inspected, which has a defect on the surface, for each gradation level, and the appearance probability, which is the probability that the defect will appear, is Detection probability, which is predetermined based on image data including gradations, and is the probability that the appearance inspection device can detect an image of each gradation, the appearance probability, and a predetermined value for each gradation of gradation for the object A first sum, which is the sum of the products of the above-mentioned importance levels for each of the above-mentioned gray scales, is calculated over all the above-mentioned gray scales, and the above-mentioned respective gray-scale scales of the above-mentioned appearance probability and the above-mentioned importance levels are calculated. A second sum, which is the sum of the products for each, is calculated over all the gray scales, the first sum is divided by the second sum, and the divided value is calculated as the inspection capacity of the visual inspection device. It is characterized by being an evaluation value.

第8の発明の評価装置は、被検査物を濃淡画像として撮
影し上記濃淡画像のデータに基づいて被検査物の表面に
おける欠陥を検査する外観検査装置のための検査能力評
価装置において、所定の濃淡度階調毎に表面に欠陥があ
る上記被検査物の濃淡画像のデータに基づいて上記欠陥
が出現する確率である出現確率を虐算する第1の演算手
段と、上記濃淡度階調毎にすべての上記濃淡度階調を含
む画像データに基づいて予め決められ上記外観検査装置
か各濃淡度階調の画像を検出できる確率である検出確率
と上記出現確率と上記被検査物に対する各濃淡度階調毎
の予め決められた重要度との上記各濃淡度階調毎の積の
総和である第1の総和をすべての上記濃淡度階調にわた
って演算する第2の演算手段と、上記出現確率と上記重
要度との上記各濃淡度階調毎の積の総和である第2の総
和をすべての上記濃淡度階調にわたって演算する第3の
演算手段と、上記第1の総和を上記第2の総和で除算す
る第4の演算手段とを備え、上記第4の演算手段で得ら
れた除算値を上記外観検査装置の検査能力の評価値とす
ることを特徴とする。
An evaluation device according to an eighth aspect of the invention is an inspection ability evaluation device for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image. a first calculating means for calculating an occurrence probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on the surface for each grayscale level; Detection probability, which is the probability that the appearance inspection device can detect an image of each density gradation, which is predetermined based on image data including all of the above-mentioned gradations, the above-mentioned appearance probability, and each gradation for the object to be inspected. a second calculation means for calculating a first summation, which is a sum of the products of each gray scale with a predetermined importance level for each gray scale, over all the gray scales; a third calculating means for calculating a second sum, which is the sum of the products of the probability and the importance level for each of the gray scales, over all the gray scales; 2, and the divided value obtained by the fourth calculation means is used as an evaluation value of the inspection ability of the visual inspection apparatus.

[作用] 第1と第2の発明によれば、上記外観検査装置の検出確
率と被検査物における表面の欠陥の出現確率をそれぞれ
所定のl農淡度階調ごとに演算して求めた後、上記検出
確率と上記出現確率との上記各濃淡度階調毎の積の総和
である第1の総和をすべての上記濃淡度階調にわたって
演算し、上記各濃淡度階調の」1記出現確率の総和であ
る第2の総和をすへての上記濃淡度階調にわたって演算
し、上記第1の総和を上記第2の総和で除算し、上記除
算値を上記外観検査装置の検査能力の評価値として用い
る。これによって、上記外観検査装置の検査能力を評価
する評価値を適確にかつ迅速に得ることができる。
[Operation] According to the first and second inventions, after the detection probability of the visual inspection device and the probability of appearance of surface defects on the inspected object are calculated for each predetermined gray scale, , a first sum, which is the sum of the products of the detection probability and the appearance probability for each of the gray scales, is calculated over all the gray scales, and the "1 occurrence" of each of the gray scales is calculated. A second summation, which is a summation of probabilities, is calculated over all the gray levels, the first summation is divided by the second summation, and the divided value is calculated as the inspection capacity of the visual inspection device. Used as evaluation value. This makes it possible to accurately and quickly obtain an evaluation value for evaluating the inspection ability of the visual inspection device.

また第3と第4の発明によれば、上記外観検査装置の検
出確率と被検査物における表面の欠陥の出現確率をそれ
ぞれ所定の濃淡度階調ごとに演算して求めた後、上記検
出確率と上記出現確率と予め決められた重要度との上記
各濃淡度階調毎の積の総和である第1の総和をすへての
−1−記l農淡度階調にわたって演算し、上記各濃淡度
階調の」1記出現確率と上記重要度との積の総和である
第2の総和をすべての」1記濃淡度階調にわたって演算
し、上記第1の総和を」二記第2の総和で除算し、上記
除算値を上記外観検査装置の検査能力の評価値として用
いる。これによって、上記外観検査装置の検査能力を評
価する評価値を適確にかつ迅速に得ることができる。
Further, according to the third and fourth inventions, after calculating the detection probability of the appearance inspection apparatus and the appearance probability of surface defects on the object to be inspected for each predetermined gray scale, the detection probability is calculated. The first sum, which is the sum of the products of the above occurrence probability and the predetermined importance level for each of the gray scales, is calculated over all -1-l gray scales, and the above is calculated. The second sum, which is the sum of the product of the probability of appearance of each density level and the above importance level, is calculated over all the density levels, and the first sum is 2, and the divided value is used as an evaluation value of the inspection ability of the visual inspection device. This makes it possible to accurately and quickly obtain an evaluation value for evaluating the inspection ability of the visual inspection device.

さらに、第5と第6の発明によれば、被検査物における
表面の欠陥の出現確率を所定のiR淡度階調ごとに演算
して求めた後、」−記予め決められた検出確率と上記出
現確率との上記各濃淡度階調毎の積の総和である第1の
総和をずへての上記濃淡度階調にわたって演算し、」二
記各濃淡度階調の上記出現確率の総和である第2の総和
をすべての上記濃淡度階調にわたって演算し、上記第1
の総和を上記第2の総和で除算し、上記除算値を上記外
観検査装置の検査能力の評価値として用いる。これによ
って、上記外観検査装置の検査能力を評価する評価値を
、適確にかつ迅速に得ることかできる。
Furthermore, according to the fifth and sixth inventions, after calculating and determining the appearance probability of a surface defect on the object to be inspected for each predetermined iR lightness gradation, the predetermined detection probability and A first sum, which is the sum of the products of the above-mentioned appearance probability and each of the above-mentioned lightness and lightness gradations, is calculated over all the above-mentioned lightness and lightness gradations, and The second summation is calculated over all the gray scales, and the second summation
The total sum is divided by the second sum, and the divided value is used as an evaluation value of the inspection ability of the visual inspection apparatus. This makes it possible to accurately and quickly obtain an evaluation value for evaluating the inspection ability of the visual inspection device.

またさらに、第7と第8の発明によれば、被検査物にお
ける表面の欠陥の出現確率を所定のl農淡度階調ごとに
演算して求めた後、上記予め決められた検出確率と上記
出現確率と予め決められた重要度との上記各濃淡度階調
毎の積の総和である第1の総和をすへての」1記濃淡度
階調にわたって演算し、上記各濃淡度階調の」1記出現
確率と」1記重要度との積の総和である第2の総和をす
へての上記濃淡度階調にわたって演算し、上記第1の総
和を上記第2の総和で除算し、上記除算値を」−記外観
検査装置の検査能力の評価値として用いる。これによっ
て、上記外観検査装置の検査能力を評価する評価値を、
適確にかつ迅速に得ることかできる。
Furthermore, according to the seventh and eighth inventions, after calculating and determining the appearance probability of a surface defect on the object to be inspected for each predetermined scale, the predetermined detection probability is determined. A first sum, which is the sum of the products of the above-mentioned appearance probability and the predetermined importance level for each of the above-mentioned gradation levels, is calculated over all the 1st gradation levels, and A second sum, which is the sum of the products of the ``1 appearance probability'' and the ``1 importance, of the key, is calculated over all the gray levels, and the first sum is the second sum. The divided value is used as an evaluation value of the inspection ability of the visual inspection device. As a result, the evaluation value for evaluating the inspection ability of the above-mentioned appearance inspection device is
can be obtained accurately and quickly.

[実施例] 第1図は本発明の一実施例である外観検査機能と該外観
検査機能の検査能力を評価するための評価装置(以下、
外観検査及び評価装置という。)のブロック図である。
[Example] Fig. 1 shows a visual inspection function and an evaluation device (hereinafter referred to as
It is called appearance inspection and evaluation equipment. ) is a block diagram of.

第1図において、この外観検査及び評価装置は、被検査
物10に照明用の光を照射する投光装置20と、ビデオ
カメラ11とアナログ・ディジタル変換(以下、A/D
変換という。)回路12を有する撮像装置100と、中
央演算処理装置l、リードオンリメモリ (以下、RO
Mという。)2、ランダムアクセスメモリ (以下、R
AMという。)3、キーボード4及びデイスプレィ装置
5を有する画像処理装置200を備え、上記画像処理装
置200は、撮像装置100を用いて被検査物の表面の
汚れ欠陥を検査する検査モードと、上記撮像装置100
及び他の撮像装置の汚れ欠陥の検査能力を評価する第1
と第2の評価モードを備えたことを特徴としている。
In FIG. 1, this visual inspection and evaluation apparatus includes a light projecting device 20 that irradiates an object to be inspected with illumination light, a video camera 11, and an analog-to-digital converter (hereinafter referred to as A/D converter).
It's called conversion. ) An imaging device 100 having a circuit 12, a central processing unit l, and a read-only memory (hereinafter referred to as RO
It's called M. ) 2. Random access memory (hereinafter referred to as R
It's called AM. ) 3, an image processing device 200 having a keyboard 4 and a display device 5;
The first step is to evaluate the dirt defect inspection ability of other imaging devices.
It is characterized by having a second evaluation mode.

第1図において、ビデオカメラ11は、投光装置20か
ら光か照射された被検査物10を撮影した後、撮影した
1フイ一ルド分(1画面分)の2次元濃淡画像の情報を
含む白黒のテレビ信号をA/D変換回路12に出力する
。A/D変換回路12は、入力されたテレビ信号の画像
を16階調でA/D変換し画像データを画像処理装置2
00のコネクタ30を介してCPUIに出力するCPU
Iは、画像処理装置200内の動作を制御する制御回路
であり、該CPUIには、画像処理装置200の制御を
行うためのシステムプログラムが格納されたROM2と
、上記CPUIのワークエリアとして用いられるととも
にCPUIに入力された画像データを一時的に格納する
RAM3と、CPUIに人力された画像データ及びRA
M3に一時的に格納された画像データの各画像を表示す
るとともにCPU1で演算された検査結果及び評価結果
のデータを表示するデイスプレィ装置5が接続される。
In FIG. 1, a video camera 11 photographs an object to be inspected 10 irradiated with light from a light projector 20, and then includes information on a two-dimensional grayscale image of one field (one screen) of the photographed object. A black and white television signal is output to the A/D conversion circuit 12. The A/D conversion circuit 12 A/D converts the image of the input television signal in 16 gradations and sends the image data to the image processing device 2.
CPU that outputs to CPUI via connector 30 of 00
I is a control circuit that controls operations within the image processing device 200, and the CPU includes a ROM 2 that stores a system program for controlling the image processing device 200, and is used as a work area for the CPUI. RAM3 temporarily stores image data input to the CPUI, and image data input manually to the CPUI and RA.
A display device 5 is connected that displays each image of the image data temporarily stored in the M3 and also displays the test result and evaluation result data calculated by the CPU 1.

以上のように構成された外観検査及び評価装置の動作に
ついて、検査モード、第1の評価モード、及び第2の評
価モードに分けて説明する。
The operation of the visual inspection and evaluation apparatus configured as described above will be explained separately in the inspection mode, the first evaluation mode, and the second evaluation mode.

(1)検査モード まず、表面に汚れ欠陥の無い被検査物をビデオカメラ1
1を用いて撮影し、該撮影した画像の画像データ(以下
、正常画像の画像データという。)がA/D変換回路1
2及びCPUIを介してRAM3に格納されるとともに
、デイスプレィ装置5に表示される。次いで、c’pu
tは、上記RAM3に格納された正常画像の画像データ
が各画素における濃淡度を16段階で示す各階調(以下
、濃淡度階調といい、該濃淡度階調を最も淡い白色を示
す1から最も濃い黒色を示す16までの自然数で示す。
(1) Inspection mode First, the object to be inspected, which has no dirt or defects on its surface, is
1, and the image data of the photographed image (hereinafter referred to as image data of a normal image) is transferred to the A/D conversion circuit 1.
2 and CPUI, and is stored in the RAM 3 and displayed on the display device 5. Then c'pu
t is each gradation (hereinafter referred to as gradation gradation) in which the image data of the normal image stored in the RAM 3 indicates the gradation of each pixel in 16 steps, from 1 indicating the lightest white to It is indicated by a natural number up to 16, which indicates the darkest black color.

)の画素を含んでいるか否かを検出し、検出された計1
6個のデータ(以下、正常画像の階調データという。)
をRAM3に格納した後、上記RAM3に格納した正常
画像の画像データを〆肖去する。
) is detected, and a total of 1 detected pixels are detected.
6 pieces of data (hereinafter referred to as normal image gradation data)
After storing the image data in the RAM 3, the image data of the normal image stored in the RAM 3 is deleted.

汚れ欠陥の検査時において、被検査物をビデオカメラl
を用いて撮影し、該撮影した画像の画像データ(以下、
検査画像の画像データという。)がA/D変換回路12
及びcpulを介してRAM3に格納されるとともに、
デイスプレィ装置5に表示される。次いで、CPUIは
、上記RAM3に格納された検査画像の画像データが各
濃淡度階調の画素を含んでいるか否かを検出した後、検
出された計16個のデータ(以下、検査画像の階調デー
タという。)と、上記RAM3に格納された正常画像の
階調データとを比較し、検査画像の階調データにおいて
正常画像の階調データに無い階調が含まれているか否か
を判別する。ここで、もし検査画像の階調データにおい
て正常画像の階調データに無い階調が含まれているとき
、CPU1は、正常画像の階調データに無い濃淡度階調
のデータをデイスプレィ装置5に出力して表示させ、一
方、もし検査画像の階調データに正常画像の階調データ
に無い濃淡度階調が含まれていないとき、CPUIは、
汚れ欠陥が無いと判断して、°°汚゛れ欠陥なし”とデ
イスプレィ装置5に出力して表示させる。
When inspecting for dirt defects, a video camera is used to inspect the object to be inspected.
The image data of the photographed image (hereinafter referred to as
This is called the image data of the inspection image. ) is the A/D conversion circuit 12
and stored in RAM3 via cpul,
displayed on the display device 5. Next, after detecting whether the image data of the inspection image stored in the RAM 3 includes pixels of each gray level, the CPU ) is compared with the gradation data of the normal image stored in the RAM 3, and it is determined whether the gradation data of the inspection image includes gradations that are not present in the gradation data of the normal image. do. Here, if the gradation data of the inspection image includes a gradation that is not included in the gradation data of the normal image, the CPU 1 sends the data of the gradation gradation that is not included in the gradation data of the normal image to the display device 5. On the other hand, if the gradation data of the inspection image does not include gradation levels that are not present in the gradation data of the normal image, the CPU
It is determined that there is no stain defect, and the message "°°No stain defect" is outputted to the display device 5 to be displayed.

上述の16階調の濃淡度階調の画像による外観検査及び
評価装置を用いて、薄黄色の地の平面板上に赤色の社章
マークを印刷した被検出物表面に付着した汚れを検査す
る外観検査装置を評価した場合の実験例について以下に
説明する。ここで、上記汚れには、薄鼠色から黒色まで
の各汚れがあるとする。
Using the above-mentioned visual inspection and evaluation device using images with 16 gradations of gradation, dirt adhering to the surface of the object to be detected, which has a red company emblem printed on a flat plate with a light yellow background, is inspected. An experimental example in which a visual inspection device was evaluated will be described below. Here, it is assumed that the above-mentioned stains include stains ranging from pale gray to black.

上記ビデオカメラ11を用いて表面に汚れのない被検査
物を撮影した正常画像では、薄黄色の地色は最も明るい
ので淡色の鼠色の画像となり、社章マークはそれよりや
や濃い鼠色の画像となり、例えば地色の濃淡度階調は4
〜6、マークの濃淡度階調はlO〜12である。
In a normal image taken using the video camera 11 of an object to be inspected with no dirt on its surface, the light yellow ground color is the brightest, resulting in a light gray image, and the company emblem is a slightly darker gray color. For example, the gradation of the ground color is 4.
~6, the gray level of the mark is lO~12.

これに対して表面が汚れている被検査物の画像(以下、
汚れ画像という。)で、例えばその表面に墨の付着した
場合には、真黒に近い画像の濃淡度階調が例えば15と
なる。また、逆に、上記被検査物の表面に白い粉末が付
着した場合には、その画像の濃淡度階調は2となる。こ
れらの場合には、上述の検査装置による汚れの検出は比
較的容易である。即ち、正常画像では4〜6と10〜1
2の濃淡度階調のみであるが、汚れ画像では正常画像の
階調の他に、銀色による汚れの画像である15の濃淡度
階調や、白い粉末の画像である2の濃淡度階調も含まれ
る。従って、上述のように、正常画像か汚れ画像かは、
4〜6及びlO〜12の濃淡度階調のみの画像か、それ
以外の階調も含まれている画像かを検査し、もし、含ま
れていれば、汚れ画像であるとして検出することができ
る。
In contrast, images of objects to be inspected with dirty surfaces (hereinafter referred to as
It is called a dirty image. ), and for example, if ink is attached to the surface, the gradation level of the nearly pure black image will be, for example, 15. Conversely, when white powder adheres to the surface of the object to be inspected, the gray scale of the image becomes 2. In these cases, it is relatively easy to detect dirt using the above-mentioned inspection device. That is, in normal images, 4-6 and 10-1
However, in addition to the gradation of the normal image, the soiled image has a gradation of 15, which is an image of silver dirt, and the gradation of 2, which is an image of white powder. Also included. Therefore, as mentioned above, whether it is a normal image or a dirty image,
It is checked whether the image has only gray scales of 4 to 6 and lO to 12, or whether it contains other gray scales, and if it does, it can be detected as a dirty image. can.

この場合における、l農淡度階調に対する該装置の検出
確率と汚れ欠陥の出現確率のデータを第1表に示すとと
もに、上記各確率の関係を示すグラフを第2図に示す。
In this case, Table 1 shows data on the detection probability of the apparatus and the appearance probability of dirt defects with respect to gradations of color and lightness, and FIG. 2 shows a graph showing the relationship between the above-mentioned probabilities.

ここで、上記検出確率とは、上記検査装置固有の特性で
あって、正常画像に含まれる各濃淡度階調における検出
確率は0となり、一方、汚れ画像を確実に検出できる場
合の各濃淡度階調における検出確率は1となる。もし、
上記検査装置が完全でなく、ある確率で当該1農淡度階
調の画像を検出しない場合の上記検出確率は1未満とな
る。上記外観検査及び評価装置において、検出確率は撮
像装置100の性能に依存する。
Here, the detection probability is a characteristic unique to the inspection device, and the detection probability at each gray level included in a normal image is 0, while the detection probability at each gray level when a dirty image can be reliably detected. The detection probability at each gradation is 1. if,
If the inspection device is not perfect and does not detect an image of one gray scale with a certain probability, the detection probability is less than one. In the above visual inspection and evaluation device, the detection probability depends on the performance of the imaging device 100.

また、汚れ欠陥の出現確率とは、同一のプロセスで製造
された例えば100以上の多数の被検査物において生じ
る汚れ欠陥全体の中で、各濃淡度階調における汚れ欠陥
か発生する確率である。なお、各濃淡度階調の上記出現
確率の総和は1である。
Furthermore, the appearance probability of a stain defect is the probability that a stain defect will occur in each density gradation among all the stain defects that occur in a large number of inspected objects, for example, 100 or more manufactured by the same process. Note that the sum of the above-mentioned appearance probabilities for each gray level is 1.

上述のように、正常画像に4〜6と10〜12の濃淡度
階調の画像が含まれているので、第2図の(A)に示す
ように、4〜6とlO〜12の濃淡度階調の画像の汚れ
欠陥を上記検査装置によって検出することができない。
As mentioned above, the normal image includes images with gradations of 4 to 6 and 10 to 12, so as shown in FIG. The above-mentioned inspection apparatus cannot detect dirt defects in grayscale images.

また、汚れ欠陥の画像か、第2図の(B)に示すように
、2ないし15の濃淡度階調のみであるとき、該装置が
正常に働く限り、上述のような汚れ欠陥のある被検査物
を100%検出できる(以下、検査装置の検査能が10
0%であるという。)ことが期待できる。
In addition, as long as the device works normally, if the image of the stain defect is only in 2 to 15 gray scales as shown in FIG. Can detect 100% of the test object (hereinafter referred to as 100% detection capability of the test device)
It is said that it is 0%. ) can be expected.

次に、汚れ欠陥がマークに使用する赤色の印刷インクが
板の表面にこぼれて生じるとする。この場合は、第2表
及び第3図(B)に示すように、汚れ画像はマークと同
じ11の階調の画像となるから、該汚れ欠陥を、上記濃
淡度階調による識別によって検出できない。即ち、上記
検査装置では上記汚れ欠陥を検出することができない。
Now suppose that a smudge defect is caused by the red printing ink used for the mark spilling onto the surface of the board. In this case, as shown in Table 2 and Figure 3 (B), the stain image is an image with the same 11 gradations as the mark, so the stain defect cannot be detected by the above-mentioned discrimination based on the gray scale. . That is, the above-mentioned inspection device cannot detect the above-mentioned dirt defect.

従って、該検査装置の検査能は0%となる。Therefore, the inspection ability of the inspection device is 0%.

さらに−数的な場合として、第3表及び第4図(B)に
示すように、汚れ欠陥が上記2例以外の階調をも含む場
合について述べる。この場合には、汚れ欠陥の画像が1
〜16のどの階調の汚れ欠陥が出現するかは統計的な確
率現象となる。ここで、上述の濃淡度階調の識別による
検査装置を用いる限り、社章の地色及びマークと同じ4
〜6及び10〜12の濃淡度階調の画像を汚れ欠陥とし
て検出することができない。
Furthermore, as a numerical case, as shown in Table 3 and FIG. 4(B), a case will be described in which the dirt defect includes gradations other than the above two examples. In this case, the image of the dirt defect is 1
Which gradation of 16 to 16 stain defects will appear is a statistical probability phenomenon. Here, as long as we use the above-mentioned inspection device that distinguishes gradations of gradation, we can use the same background color and mark as the company emblem.
Images with gray scales of ~6 and 10~12 cannot be detected as stain defects.

従って、本実施例においては、上記検査装置と被検査物
を含む検査システムの第1の検査能に、(i)を次式で
表す。
Therefore, in this embodiment, (i) is expressed by the following equation for the first inspection ability of the inspection system including the inspection apparatus and the object to be inspected.

ここで、F(i)はiの濃淡度階調における検査装置の
上記検出確率であり、G(i)はiの濃淡度階調におけ
る検査装置の上記汚れ欠陥の出現確率である。また、F
 r(i)はiの濃淡度階調における理想的な検査装置
の上記検出確率であって、■である。
Here, F(i) is the detection probability of the inspection device at the gray scale of i, and G(i) is the probability of appearance of the stain defect in the inspection device at the gray scale of i. Also, F
r(i) is the above-mentioned detection probability of the ideal inspection device at the gray level of i, and is ■.

すなわち、検査装置と被検査物を含む検査システムの第
1の検査能に、とじて、(1a)式で示すように、各濃
淡度階調における上記検査装置の検出確率とその濃淡度
階調における汚れ欠陥が出現する出現確率との積をとり
、各濃淡度階調における積の値をすべての濃淡度階調に
わたって総和を求めた値と、すべての濃淡度階調におい
て検出確率が1である理想的な検査装置において上記総
和を求めた値と比の値を用いる。ここで、調査する濃淡
度階調の数を無限に大きくする場合、上記検査システム
の検査能に、として、(1b)式で示すように、各濃淡
度階調における上記検査装置の検出確率とその濃淡度階
調における汚れ欠陥が出現する出現確率との積をとり、
各濃淡度階調における積の値をすべての濃淡度階調にわ
たって積分した値と、上記理想的な検査装置において上
記積分値を求めた値と比の値を用いる。
That is, as shown in equation (1a), the first inspection capability of the inspection system including the inspection device and the object to be inspected is the detection probability of the inspection device at each gray scale and its gray scale. , and the probability of the appearance of a stain defect in , and the value obtained by summing the product value at each gray scale over all gray scales, and the detection probability is 1 at all gray scales. The value obtained by calculating the above sum and the value of the ratio are used in an ideal inspection device. Here, if the number of gray scales to be investigated is infinitely increased, the detection probability of the inspection device at each gray scale is Take the product of the appearance probability of a dirt defect at that density gradation,
A value obtained by integrating the product value at each gray scale over all gray scales, and a value obtained by calculating the integral value using the ideal inspection apparatus are used as a ratio value.

上記検査能に、の指標を用いれば、例えば検査装置の性
能が良好で、被検査物の汚れの濃淡度階調か社章の地色
やマークの濃淡度階調と重ならない場合は1に近い値と
なるが、各濃淡度階調における検査装置自体の検出確率
が1より小さかったり、汚れ欠陥の濃淡度階調が地色や
マークの濃淡度階調と重なる確率が多くなれば、その検
査能に1の値は小さくなり、0に近くなる。即ち、この
検査能に、の指標を目安とすることにより、その検査シ
ステムが検査しようとする被検査物に対して本質的にど
の程度の検査能力をもっているかを表示することができ
る。詳細後述する上記外観検査及び評価装置の第1の評
価モードは、上記第1の検査能に1を求めるモードであ
る。
If we use the index for the above inspection performance, for example, if the performance of the inspection device is good and the gradation of dirt on the object to be inspected does not overlap with the background color of the company emblem or the gradation of gradation of the mark, then it will be 1. The values will be close to each other, but if the detection probability of the inspection device itself at each gradation level is smaller than 1, or if the probability that the gradation level of a dirt defect overlaps with the gradation level of the background color or mark increases, then The value of 1 for testability becomes small and approaches 0. That is, by using the index of this inspection ability as a guide, it is possible to display how much inspection ability the inspection system essentially has for the object to be inspected. The first evaluation mode of the above-mentioned visual inspection and evaluation apparatus, which will be described in detail later, is a mode in which the first inspection ability is set to 1.

次に、上述の第1の検査能に1の指標では、汚れ欠陥が
被検査物の製品に与える影響が汚れ欠陥の濃度に関係せ
ず、一定値の1であるとしている。
Next, in the above-mentioned first inspection performance index of 1, it is assumed that the influence of a stain defect on a product to be inspected is a constant value of 1, regardless of the concentration of the stain defect.

しかしながら、現実の場合には、例えば白っぽい汚れが
あった場合の製品としてのイメージの劣化度は、黒い汚
れがあった場合の製品としてイメージの劣化度より小さ
い等の評価が行なわれることが多い。従って、この要素
をも加味した評価がより妥当である。
However, in real cases, for example, the degree of deterioration of the image of the product when there is whitish dirt is often evaluated as being smaller than the degree of deterioration of the image of the product when there is black dirt. Therefore, an evaluation that also takes this factor into account is more appropriate.

従って、本実施例においては、上記検査装置と被検査物
を含む検査システムの第2の検査能K 2(i)を次式
で表す。
Therefore, in this embodiment, the second inspection ability K2(i) of the inspection system including the inspection apparatus and the object to be inspected is expressed by the following equation.

Kt =  IF(i)G(i)1(i)−・・・(2
・)IF r(i)G (i)・H(i) =  J F(i)□G(iゝ“”0 ・・・(2b)
f F r(i)G (i)・H(i)diここで、H
(i)はiの濃淡度階調の汚れ欠陥が被検査物に与える
製品としてのイメージの劣化度を数値化した値(以下、
重要度という。)であり、該重要度の値が大きいほど、
汚れ欠陥が被検査物に与えるイメージダウンが大きく、
該濃淡度階調の重要度が高い。
Kt = IF (i) G (i) 1 (i) - (2
・)IF r(i)G (i)・H(i) = J F(i)□G(iゝ“”0 ・・・(2b)
f F r(i)G (i)・H(i)diwhere, H
(i) is a value that quantifies the degree of deterioration of the product image caused by the dirt defect of the gray scale of i on the inspected object (hereinafter referred to as
It is called importance. ), and the larger the value of the importance, the more
Contamination defects have a large negative impact on the image of the inspected object,
The importance of the gradation is high.

すなわち、検査装置と被検査物を含む検査システムの第
2の検査能に2は、(2a)式及び(2b)式で示すよ
うに、(1a)式及び(1b)式における各分子及び分
母にそれぞれ上記重要度を乗じた式となっている。ここ
で、重要度H(i)は、各被検査物の価値、性能、対象
物を扱う集団の価値感、製造工程等によって、予め決定
される。
In other words, as shown in equations (2a) and (2b), 2 in the second inspection capacity of the inspection system including the inspection device and the test object is calculated by each numerator and denominator in equations (1a) and (1b). is multiplied by the above importance level. Here, the degree of importance H(i) is determined in advance based on the value and performance of each object to be inspected, the sense of value of the group handling the object, the manufacturing process, and the like.

従って、この検査能に、の指標を目安とすることにより
、その検査システムか検査しようとする被検査物に対し
て本質的にどの程度の検査能力をもっているかを、被検
査物に与える製品としてのイメージの劣化度を示す重要
度を考慮して表示することができる。詳細後述する上記
外観検査及び評価装置の第2の評価モードは、上記第2
の検査能に、を求めるモードである。
Therefore, by using the index as a guideline for this inspection ability, it is possible to determine how much inspection capability the inspection system essentially has for the objects to be inspected. It is possible to display the image in consideration of the degree of importance indicating the degree of deterioration of the image. The second evaluation mode of the above-mentioned visual inspection and evaluation device, which will be described in detail later, is
This is the mode for determining the inspection ability of

従って、上記第1又は第2の検査能に、、に、が1に近
い程、より完成された検査システムといえるが、通常の
検査システムにおいては上記検査能に、、に、が例えば
0.4以上であれば、価値のある検査能力を有する検査
システムとされる。また、検査能に、、に、が例えば0
.6以上の場合、更に価値の高い検査システムとなり、
例えば0.8以上では極めて価値の高い検査システムと
なる。
Therefore, the closer the first or second inspection ability is to 1, the more complete the inspection system is, but in a normal inspection system, the inspection ability is, for example, 0. If it is 4 or more, the inspection system is considered to have valuable inspection ability. In addition, for example, the test ability is 0
.. If it is 6 or more, it becomes an even more valuable inspection system,
For example, if it is 0.8 or higher, it becomes an extremely valuable inspection system.

(2)第1の評価モード まず、上記撮像装置100の検出確率を求めるために、
16個のすべての濃淡度階調の画素を有する画像(以下
、基準画像という。)をビデオカメラ11を用いて撮影
し、該撮影した画像の画像データである基準画像の画像
データをA/D変換回路12及びcputを介してRA
M3に格納する。次いで、CPU1は、上記RAM3に
格納された基準画像の画像データが、各濃淡度階調の画
素を含んでいるか否かを検出し、検出された計16個の
データである基準画像の階調データをRAM3に格納し
た後、上記RA M 3に格納した基準画像の画像デー
タを消去する。
(2) First evaluation mode First, in order to find the detection probability of the imaging device 100,
An image having pixels of all 16 gray scales (hereinafter referred to as a reference image) is photographed using the video camera 11, and the image data of the reference image, which is the image data of the photographed image, is transferred to the A/D. RA via the conversion circuit 12 and cput
Store in M3. Next, the CPU 1 detects whether or not the image data of the reference image stored in the RAM 3 includes pixels of each density gradation, and determines whether or not the image data of the reference image stored in the RAM 3 includes pixels of each density gradation. After storing the data in the RAM 3, the image data of the reference image stored in the RAM 3 is erased.

次いて、上記の基準画像の階調データを求める手順を例
えば10回以上繰り返して行って、上記各濃淡度階調に
おける基準画像の階調データの平均値を、撮像装置10
0の検出確率F(i)としてRAM3に格納する。
Next, the procedure for obtaining the gradation data of the reference image described above is repeated, for example, 10 times or more, and the average value of the gradation data of the reference image at each of the gradation levels is determined by the imaging device 10.
It is stored in the RAM 3 as a detection probability F(i) of 0.

さらに、予め表面に汚れ欠陥の無い被検査物をビデオカ
メラ11を用いて撮影して、上記検査モートと同様に正
常画像の階調データを求め、RA〜13に格納する。
Further, an object to be inspected with no dirt or defects on its surface is photographed in advance using the video camera 11, and gradation data of a normal image is determined in the same manner as in the inspection mode described above and stored in RA~13.

次いで、汚れ欠陥のある被検査物をビデオカメラ11を
用いて撮影し、該撮影した画像の画像データ(以下、汚
れ画像の画像データという。)がA 、/ D変換回路
12及びCPUIを介してRAM3に格納される。次い
で、CPU1は、上記RAX13に格納された汚れ画像
の画像データか、各濃淡度階調の画素を含んでいるか否
かを検出した後、検出された計16個のデータ(以下、
汚れ画像の階調データという。)と、上記R1〜M3に
格納された正常画像の階調データとを比較し、汚れ画像
の階調データに正常画像の階調データに無い階調か含ま
れているか否かを判別する。ここで、もし汚れ画像の階
調データに正常画像の階調データに無い濃淡度階調が含
まれているとき、CPUIは、該濃淡度階調におけるt
ηれ出現データを1とし、一方、もし汚れ画像の階調デ
ータに正常画像の階調データに無い濃淡度階調が含まれ
ていないとき、CPUIは、該濃淡度階調におけるtη
れ出現データを0として、すへての濃淡度階調に対する
計16個の汚れ出現データをRA M 3に格納する。
Next, the object to be inspected with the stain defect is photographed using the video camera 11, and the image data of the photographed image (hereinafter referred to as image data of the stain image) is sent via the A/D conversion circuit 12 and the CPUI. Stored in RAM3. Next, the CPU 1 detects whether or not the image data of the dirty image stored in the RAX 13 includes pixels of each gray scale, and then processes the detected data (hereinafter referred to as 16 in total).
This is called gradation data of a dirty image. ) and the gradation data of the normal image stored in R1 to M3, and it is determined whether the gradation data of the dirty image includes gradations that are not included in the gradation data of the normal image. Here, if the gradation data of the dirty image includes a gradation level that is not included in the gradation data of the normal image, the CPU
On the other hand, if the gradation data of the dirty image does not include a gradation level that does not exist in the gradation data of the normal image, the CPU
A total of 16 pieces of dirt appearance data for all gray levels are stored in RAM 3, with the dirt appearance data set to 0.

次いで、上記の汚れ出現データを求める手順を、同一の
製造工程で製造されかつ表面にtすれ欠陥を有する被検
査物について例えば100個以上、繰り返して行った後
、上記各濃淡度階調における汚れ出現データの平均値を
求め、該平均値を上記被検査物に対する各濃淡度階調に
おける汚れ欠陥の出現確率G(i)としてRAM3に格
納する。
Next, the procedure for obtaining the stain appearance data described above is repeated on, for example, 100 or more test objects that are manufactured in the same manufacturing process and have scratch defects on the surface, and then the stain appearance data at each of the above-mentioned gray scales is determined. The average value of the appearance data is determined, and the average value is stored in the RAM 3 as the appearance probability G(i) of a dirt defect at each gray level for the object to be inspected.

さらに、CPUIは、RA M 3に格納された上記撮
像装置100の検出確率F(i)と汚れ欠陥の出現確率
G(i)を読み出して、上記(1a)式を1刊いて第1
の検査能に1を計算した後、該検査能に、のデータをデ
イスプレィ装置5に出力して表示させる。以上で、第1
の評価モードの動作が終了する。
Further, the CPU reads out the detection probability F(i) of the imaging device 100 and the appearance probability G(i) of dirt defects stored in the RAM 3, and calculates the first
After calculating 1 for the testability, the data for the testability is output to the display device 5 and displayed. With the above, the first
The evaluation mode operation ends.

なお、例えば検査能に1か0. 4以」二のときは該検
査システムの検査能力が所定以上あるとして合格とし、
一方、検査能に、が0. 4未満のときは該検査システ
ムの検査能力が所定未満として不合格とする検査システ
ムの評価基準を上記検査能に、の計算の前に、予めキー
ボード4から入力した後cpu1を介してRA M 3
に格納し、上記検査能に1の計算後に、上記評価基ij
Jに従ってCPU1か合格か不合格かを判別し、その評
価結果をティスプレィ装置5に出力して表示させるよう
にしてもよい。ここで、検査能に、の評価基準を0゜4
としているか、これに限らず、検査工程、製造工程、肉
眼検査との併用度合い、検査のコスト及び信頼度、自動
外fall検査装置の設備コストなとを考1.2して変
更してもよい。
In addition, for example, 1 or 0 for the inspection ability. If the test is 4 or higher, it is considered that the testing capacity of the inspection system is above the specified level, and the test is passed.
On the other hand, the test ability is 0. If it is less than 4, the inspection ability of the inspection system is considered to be less than a predetermined value and the inspection system is rejected.Before calculating the above inspection ability, enter the evaluation criteria of the inspection system in advance from the keyboard 4 and then write it to the RAM 3 via the CPU 1.
and after calculating 1 for the above test performance, the above evaluation base ij
It is also possible to determine whether the CPU 1 passes or fails according to J, and output the evaluation result to the display device 5 for display. Here, the evaluation standard for inspection ability is 0°4.
However, it is not limited to this, and may be changed based on consideration of the inspection process, manufacturing process, degree of combined use with visual inspection, cost and reliability of inspection, equipment cost of automatic external fall inspection equipment, etc. .

以上の第1の評filliモートの動作においては、撮
像装置100の検査能に、を計算しているか、これに限
らず、撮像装置を代えることにより上記検出確率か変化
し、また、被検査物を代えることにより上記出現確率が
変化するので、画像処理装置200のコネクタ30にビ
デオカメラとA/D変換回路を備えた別の撮像装置を接
続し、同−又は別の被検査物について検査能に1を計算
するようにしてもよい。
In the operation of the first evaluation filli mode described above, the inspection ability of the imaging device 100 is not limited to this, but the detection probability changes by changing the imaging device, and the detection probability of the object to be inspected changes. Since the appearance probability changes by changing the number of objects to be inspected, it is possible to connect another imaging device equipped with a video camera and an A/D conversion circuit to the connector 30 of the image processing device 200, and perform inspection on the same or another object to be inspected. Alternatively, 1 may be calculated.

(3)第2の評価モード このとき、CPUIは、第1の評価モードと同様に、撮
像装置100の検出確率F(i)と、同一の製造工程で
製造されかつ汚れ欠陥のある被検査物に対する汚れ欠陥
の出現確率G(i)を求めてRAM3に格納する。
(3) Second evaluation mode At this time, as in the first evaluation mode, the CPUI calculates the detection probability F(i) of the imaging device 100 and the inspection target that is manufactured in the same manufacturing process and has a dirt defect. The appearance probability G(i) of a stain defect is calculated and stored in the RAM 3.

次いで、操作者は、上記被検査物に対して予め一ヒ述の
基準で決められた、製品としての劣化度を示す各濃淡度
階調における重要度H(i)をキーボード4を用いて入
力し、上記重要度H(1)のデータがCPU1を介して
RAM3に格納される。
Next, the operator uses the keyboard 4 to input the degree of importance H(i) at each gray level indicating the degree of deterioration of the product, which has been predetermined for the object to be inspected based on the criteria mentioned above. However, the data with the above-mentioned importance level H(1) is stored in the RAM 3 via the CPU 1.

さらに、cputは、RAM3に格納された上記撮像装
置100の検出確率F(i)と汚れ欠陥の出現確率G(
i)と重要度H(i)を読み出して、上記(2a)式を
用いて第2の検査能に2を計算した後、該検査能に、の
データをデイスプレィ装置5に出力して表示させる。以
上で、第2の評価モードの動作が終了する。
Furthermore, cput is the detection probability F(i) of the imaging device 100 stored in the RAM 3 and the appearance probability G(
i) and the importance level H(i), calculate 2 for the second inspection ability using the above formula (2a), and then output the data for the second inspection ability to the display device 5 and display it. . This completes the operation of the second evaluation mode.

なお、上述した第1表ないし第3表の各実験例の検査装
置の第1及び第2の検査能に、、に、を上記検査装置及
び評価装置を用いて計算するとそれぞれ、1.0,0,
0.43である。従って、第1表の検査装置は、検査能
に、、に、が1であるので検査装置として完全に利用で
き、また、第2表の検査装置は、検査能に、、に2がO
であるので、検査装置として利用出来ない。さらに、第
3表の検査装置は、装置の検査能力は第1表の装置に比
較して低いが、所定以上の能力があり検査装置として利
用できる。
In addition, when the first and second inspection abilities of the inspection apparatus of each of the experimental examples in Tables 1 to 3 are calculated using the above inspection apparatus and evaluation apparatus, they are 1.0 and 1.0, respectively. 0,
It is 0.43. Therefore, the inspection equipment in Table 1 has an inspection capacity of 1, so it can be used completely as an inspection apparatus, and the inspection equipment in Table 2 has an inspection capacity of 2, which is 0.
Therefore, it cannot be used as an inspection device. Further, although the inspection devices shown in Table 3 have lower inspection capabilities than the devices shown in Table 1, they have a predetermined or higher ability and can be used as inspection devices.

第4表ないし第7表は、上述した社章に対してこの検査
及び評価装置を用いて評価を行った実験例における検出
確率、出現確率及び重要度を示すグラフであり、第4表
ないし第7表の検出確率、出現確率、及び重要度をそれ
ぞれ第5図ないし第8図に示す。
Tables 4 to 7 are graphs showing detection probabilities, appearance probabilities, and degrees of importance in experimental examples in which the above-mentioned company emblems were evaluated using this inspection and evaluation device. The detection probability, appearance probability, and importance of Table 7 are shown in FIGS. 5 to 8, respectively.

第4表ないし第7表の各実験例の検査装置の第2の検査
能に、を上記検査装置及び評価装置を用いて計算すると
それぞれ、0.34.0,85.0.93、O,Stで
ある。従って、第4表の検査装置は、検査能に、が0.
34であるので検査装置としての能力が低い。また、第
5表の検査装置は、マーク付近よりも濃い汚れの重要度
を高く設定しているのにかかわらず、検査能に2が0゜
85であるので、検査装置としての能力が高いといえる
。更に、第6表及び第7表の検査装置も同様に検査能に
2が比較的高く、検査装置としての能力が高いといえる
When the second inspection performance of the inspection apparatus of each experimental example in Tables 4 to 7 is calculated using the above inspection apparatus and evaluation apparatus, they are 0.34.0, 85.0.93, O, It is St. Therefore, the inspection equipment shown in Table 4 has an inspection ability of 0.
34, so its ability as an inspection device is low. In addition, even though the inspection equipment in Table 5 is set to have higher importance for dark stains than near the marks, the inspection performance is 0°85, so it can be said that the inspection equipment has high performance. I can say that. Furthermore, the inspection devices in Tables 6 and 7 similarly have a relatively high inspection ability of 2, and can be said to have high capabilities as inspection devices.

以上説明したように、被検査物の汚れ欠陥を検査しかつ
その検査能力を評価する外観検査及び評価装置において
、上記第1又は第2の検査能KI。
As described above, in the visual inspection and evaluation apparatus for inspecting dirt defects on an object to be inspected and evaluating its inspection ability, the above-mentioned first or second inspection ability KI.

K、を自動的に計算することができるので、上記外観検
査装置に対して迅速かつ的確な性能評価を行うことがで
きる。従って、この種の検査装置を導入するに当たって
、いかなる検査能の検査装置を導入するのが最善である
かの判断が容易となる。
Since K can be automatically calculated, it is possible to quickly and accurately evaluate the performance of the above-mentioned visual inspection device. Therefore, when introducing this type of inspection device, it becomes easy to judge which inspection ability is best to introduce.

またその結果として、上述したような取り引き上のトラ
ブルも減少することが期待でき、産業上極めて有意義で
ある。
Furthermore, as a result, it can be expected that the above-mentioned transactional troubles will be reduced, which is extremely meaningful from an industrial perspective.

以上の実施例においては、表面に汚れ欠陥があるか否か
を被検査物の濃淡画像を用いて検査する装置について述
べているが、これに限らず、表面の汚れのみならずその
他の外観の濃淡画像でわかる欠陥があるか否かを被検査
物の濃淡画像を用いて検査するようにしてもよい。
In the above embodiments, an apparatus is described that uses a grayscale image of the object to be inspected to determine whether or not there is a dirt defect on the surface. The grayscale image of the object to be inspected may be used to inspect whether there is a defect that can be seen in the grayscale image.

以上の実施例において、ビデオカメラ11を用いている
が、これに限らず、1画面の濃淡画像を撮影できるその
他の種類のカメラを用いるようにしてもよい。
In the above embodiment, the video camera 11 is used, but the present invention is not limited to this, and other types of cameras capable of capturing a single screen of grayscale images may be used.

以上の実施例において、上記外観検査及び評価装置の第
1及び第2の評価モードで上記撮像装置100の検出確
率を演算しているが、これに限らず、他の装置で演算し
た検出確率又は予め決められた検出確率を用いて上記検
査能に、、に2を演算するようにしてもよい。
In the above embodiments, the detection probability of the imaging device 100 is calculated in the first and second evaluation modes of the visual inspection and evaluation device, but the detection probability is not limited to this, and the detection probability calculated by another device or 2 may be calculated for the testability using a predetermined detection probability.

以上の実施例において、A/D変換回路12はビデオカ
メラ11から入力されるテレビ信号の画像を16階調で
A/D変換しているが、これに限らず、4,8,32,
64,128,256等の複数の階調でA/D変換して
もよい。このとき、画像処理装置200において処理さ
れるデータは、複数の各濃淡度階調で処理される。
In the above embodiment, the A/D conversion circuit 12 A/D converts the image of the television signal inputted from the video camera 11 in 16 gradations, but the A/D conversion circuit 12 is not limited to this.
A/D conversion may be performed at a plurality of gradations such as 64, 128, 256, etc. At this time, the data processed by the image processing device 200 is processed at each of a plurality of gray levels.

第1表 第2表 第3表 第4表 第5表 第6表 第7表 「発明の効果] 以1−詳述したように本発明によれば、外観検査装置の
検出確率と肢検杏物における表面の欠陥の出現確率をそ
れぞれ所定の濃淡度階調ごとに演算して求めた後、上記
検出確率と」1記出現確率に基づいて上記検査装置の検
査能力の評価値を演算するようにしたので、上記外観検
査装置の検査能力を評f+Iliする評1i11i値を
適確にかつ迅速に15ることかで゛きる。
Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 "Effects of the Invention" As described in detail below, according to the present invention, the detection probability of the appearance inspection device and the limb inspection After calculating and determining the appearance probability of a surface defect on the object for each predetermined gray level, an evaluation value of the inspection ability of the inspection device is calculated based on the detection probability and the appearance probability described in 1. Therefore, the evaluation value f+Ili for evaluating the inspection ability of the above-mentioned visual inspection apparatus can be accurately and quickly calculated as 15.

また、上記検出確率と上記出現確率に加えて各濃淡度階
調毎の予め決められた重要度に基ついて上記検査装置の
検査能力の評11III値を演算するようにしたので、
各濃淡度階調の重要度を考慮に入れて、」−記外観検査
装置の検査能力を評価する評価値を適確にかつ迅速に得
ることができる。
In addition, in addition to the detection probability and the appearance probability, the evaluation 11III value of the inspection ability of the inspection device is calculated based on the predetermined importance of each gray scale.
By taking into account the importance of each gray scale, it is possible to accurately and quickly obtain an evaluation value for evaluating the inspection ability of the visual inspection apparatus.

さらに、上記検出確率を予め決められた値を用いて上記
検査装置の検査能力の評価値を演算するように(1+4
成した場合も、同様の効果を有する。
Furthermore, the evaluation value of the inspection ability of the inspection device is calculated using a predetermined value of the detection probability (1+4
The same effect can be obtained even if

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

第1図は本発明の一実施例である外観検査及び評価装置
のブロック図、 第2図ないし第8図はそれぞれ上記評価装置を用いて評
価した実験例における評価結果を示すグラフである。 ■・・・中央演算処理装置(CPU)、2・・・リード
オンリメモリ (ROM)、3・・ランダムアクセスメ
モリ(RAM)、4・・・キーホード、 5・・・デイスプレィ装置、 10・・被検査物、 11・・・ビデオカメラ、 12・・・アナログ・ディジタル変換回路(A/D変換
回路)、 100・・・撮像装置、 200・・・画像処理装置。 特許出願人 鐘;IBM化学工業株式会社代理人 弁理
士 青白 葆 ほか1名 第1図 第2図 濃■1調1 12         +516 ;X述崖階@1 第3図 耀残度階調i 濃5ル[附調1 第4図 1楽魔階霞1 遁淡度諧調1 第5図 3L淡り1調i 」a欠及陽3131 第6図 5!浸度沿訓1 第7LA ミt5炎窪pi8泪 1 ジオ【5炎RPi調 i
FIG. 1 is a block diagram of a visual inspection and evaluation device that is an embodiment of the present invention, and FIGS. 2 to 8 are graphs showing evaluation results in experimental examples evaluated using the above evaluation device, respectively. ■... Central processing unit (CPU), 2... Read only memory (ROM), 3... Random access memory (RAM), 4... Keyboard, 5... Display device, 10... Target Inspection object, 11... Video camera, 12... Analog-digital conversion circuit (A/D conversion circuit), 100... Imaging device, 200... Image processing device. Patent applicant: Bell; Agent for IBM Chemical Industry Co., Ltd. Patent attorney: Seihaku Ao, and 1 other person Fig. 1 Fig. 2 Dark ■ 1 tone 1 12 +516 ; Le [Additional key 1 Fig. 4 1 Music scale haze 1 Tontan degree tone 1 Fig. 5 3L light 1 key i ''a missing and Yang 3131 Fig. 6 5! Immersion degree training 1 7th LA Mit5 Enakubo pi8 Tears 1 Geo [5 Flame RPi tone i

Claims (8)

【特許請求の範囲】[Claims] (1)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価方法において、 所定の濃淡度階調毎にすべての上記濃淡度階調を含む画
像データに基づいて上記外観検査装置が各濃淡度階調の
画像を検出できる確率である検出確率を演算し、 上記濃淡度階調毎に表面に欠陥がある上記被検査物の濃
淡画像のデータに基づいて上記欠陥が出現する確率であ
る出現確率を演算し、 上記検出確率と上記出現確率との上記各濃淡度階調毎の
積の総和である第1の総和をすべての上記濃淡度階調に
わたって演算し、 上記各濃淡度階調の上記出現確率の総和である第2の総
和をすべての上記濃淡度階調にわたって演算し、 上記第1の総和を上記第2の総和で除算し、上記除算値
を上記外観検査装置の検査能力の評価値とすることを特
徴とする外観検査装置のための検査能力評価方法。
(1) In an inspection capability evaluation method for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. Calculate the detection probability, which is the probability that the appearance inspection device can detect an image of each density gradation, based on image data including all of the above-mentioned density gradations, and determine whether there is a defect on the surface for each of the above-mentioned density gradations. An appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the inspected object, and a first A second sum, which is the sum of the appearance probabilities of each of the gray scales, is calculated over all the gray scales, and the first sum is calculated over all the gray scales. An inspection capability evaluation method for a visual inspection device, characterized in that the division is performed by the second sum, and the divided value is used as an evaluation value of the inspection capability of the visual inspection device.
(2)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価装置において、 所定の濃淡度階調毎にすべての上記濃淡度階調を含む画
像データに基づいて上記外観検査装置が各濃淡度階調の
画像を検出できる確率である検出確率を演算する第1の
演算手段と、 上記濃淡度階調毎に表面に欠陥がある上記被検査物の濃
淡画像のデータに基づいて上記欠陥が出現する確率であ
る出現確率を演算する第2の演算手段と、 上記検出確率と上記出現確率との上記各濃淡度階調毎の
積の総和である第1の総和をすべての上記濃淡度階調に
わたって演算する第3の演算手段と、 上記各濃淡度階調の上記出現確率の総和である第2の総
和をすべての上記濃淡度階調にわたって演算する第4の
演算手段と、 上記第1の総和を上記第2の総和で除算する第5の演算
手段とを備え、上記第5の演算手段で得られた除算値を
上記外観検査装置の検査能力の評価値とすることを特徴
とする外観検査装置のための検査能力評価装置。
(2) In an inspection ability evaluation device for a visual inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. a first calculating means for calculating a detection probability that is a probability that the visual inspection device can detect an image of each gray level based on image data including all of the gray levels; a second calculating means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on its surface; and each grayscale of the detection probability and the appearance probability. a third calculation means for calculating a first sum, which is a sum of products for each density gradation, over all the density gradations; and a second sum, which is a sum of the appearance probabilities of each density gradation. and a fifth calculation means for dividing the first sum by the second sum. An inspection ability evaluation device for a visual inspection device, characterized in that the divided value is used as an evaluation value of the inspection ability of the visual inspection device.
(3)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価方法において、 所定の濃淡度階調毎にすべての上記濃淡度階調を含む画
像データに基づいて上記外観検査装置が各濃淡度階調の
画像を検出できる確率である検出確率を演算し、 上記濃淡度階調毎に表面に欠陥がある上記被検査物の濃
淡画像のデータに基づいて上記欠陥が出現する確率であ
る出現確率を演算し、 上記検出確率と上記出現確率と上記被検査物に対する各
濃淡度階調毎の予め決められた重要度との上記各濃淡度
階調毎の積の総和である第1の総和をすべての上記濃淡
度階調にわたって演算し、上記出現確率と上記重要度と
の上記各濃淡度階調毎の積の総和である第2の総和をす
べての上記濃淡度階調にわたって演算し、 上記第1の総和を上記第2の総和で除算し、上記除算値
を上記外観検査装置の検査能力の評価値とすることを特
徴とする外観検査装置のための検査能力評価方法。
(3) In an inspection capability evaluation method for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. Calculate the detection probability, which is the probability that the appearance inspection device can detect an image of each density gradation, based on image data including all of the above-mentioned density gradations, and determine whether there is a defect on the surface for each of the above-mentioned density gradations. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the gray scale image of the inspected object, and the above detection probability, the appearance probability, and the predetermined values for each gray level for the inspected object are calculated. A first sum, which is the sum of the products of the above-mentioned importance level and the above-mentioned gray level gradation, is calculated over all the above-mentioned gray scale gradations, and the above-mentioned appearance probability and the above-mentioned importance are calculated for each gray level gradation. A second sum, which is the sum of the products, is calculated over all the gray scales, the first sum is divided by the second sum, and the divided value is an evaluation value of the inspection ability of the visual inspection device. An inspection ability evaluation method for an appearance inspection device, characterized in that:
(4)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価装置において、 所定の濃淡度階調毎にすべての上記濃淡度階調を含む画
像データに基づいて上記外観検査装置が各濃淡度階調の
画像を検出できる確率である検出確率を演算する第1の
演算手段と、 上記濃淡度階調毎に表面に欠陥がある上記被検査物の濃
淡画像のデータに基づいて上記欠陥が出現する確率であ
る出現確率を演算する第2の演算手段と、 上記検出確率と上記出現確率と上記被検査物に対する各
濃淡度階調毎の予め決められた重要度との上記各濃淡度
階調毎の積の総和である第1の総和をすべての上記濃淡
度階調にわたって演算する第3の演算手段と、 上記出現確率と上記重要度との上記各濃淡度階調毎の積
の総和である第2の総和をすべての上記濃淡度階調にわ
たって演算する第4の演算手段と、上記第1の総和を上
記第2の総和で除算する第5の演算手段とを備え、上記
第5の演算手段で得られた除算値を上記外観検査装置の
検査能力の評価値とすることを特徴とする外観検査装置
のための検査能力評価装置。
(4) In an inspection ability evaluation device for a visual inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. a first calculating means for calculating a detection probability that is a probability that the visual inspection device can detect an image of each gray level based on image data including all of the gray levels; a second calculation means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected that has a defect on its surface; the detection probability, the appearance probability, and the object to be inspected; a third calculating means for calculating a first summation, which is the sum of the products of each of the gray scales with a predetermined importance level for each gray scale, over all of the gray scales; , a fourth calculation means for calculating a second sum, which is the sum of the products of the appearance probability and the importance level for each of the gray scales, over all the gray scales; and the first total sum. and a fifth calculation means for dividing by the second summation, and the division value obtained by the fifth calculation means is used as an evaluation value of the inspection ability of the appearance inspection apparatus. Inspection ability evaluation device for equipment.
(5)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価方法において、 所定の濃淡度階調毎に表面に欠陥がある上記被検査物の
濃淡画像のデータに基づいて上記欠陥が出現する確率で
ある出現確率を演算し、 上記濃淡度階調毎にすべての上記濃淡度階調を含む画像
データに基づいて予め決められ上記外観検査装置が各濃
淡度階調の画像を検出できる確率である検出確率と上記
出現確率との上記各濃淡度階調毎の積の総和である第1
の総和をすべての上記濃淡度階調にわたって演算し、 上記各濃淡度階調の上記出現確率の総和である第2の総
和をすべての上記濃淡度階調にわたって演算し、 上記第1の総和を上記第2の総和で除算し、上記除算値
を上記外観検査装置の検査能力の評価値とすることを特
徴とする外観検査装置のための検査能力評価方法。
(5) In an inspection capability evaluation method for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object to be inspected based on the data of the grayscale image, for each predetermined grayscale gradation. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the object to be inspected that has a defect on the surface, and the appearance probability, which is the probability that the defect will appear, is calculated, and the image data including all the grayscales is calculated for each grayscale. a first value which is the sum of the products of the appearance probability and the detection probability, which is the probability that the appearance inspection device can detect an image of each density gradation, and which is predetermined based on the
A second sum, which is the sum of the appearance probabilities of each of the gray scales, is calculated over all the gray scales, and the first sum is calculated over all the gray scales. An inspection capability evaluation method for a visual inspection device, characterized in that the division is performed by the second sum, and the divided value is used as an evaluation value of the inspection capability of the visual inspection device.
(6)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価装置において、 所定の濃淡度階調毎に表面に欠陥がある上記被検査物の
濃淡画像のデータに基づいて上記欠陥が出現する確率で
ある出現確率を演算する第1の演算手段と、 上記濃淡度階調毎にすべての上記濃淡度階調を含む画像
データに基づいて予め決められ上記外観検査装置が各濃
淡度階調の画像を検出できる確率である検出確率と上記
出現確率との上記各濃淡度階調毎の積の総和である第1
の総和をすべての上記濃淡度階調にわたって演算する第
2の演算手段と、 上記各濃淡度階調の上記出現確率の総和である第2の総
和をすべての上記濃淡度階調にわたって演算する第3の
演算手段と、 上記第1の総和を上記第2の総和で除算する第4の演算
手段とを備え、上記第4の演算手段で得られた除算値を
上記外観検査装置の検査能力の評価値とすることを特徴
とする外観検査装置のための検査能力評価装置。
(6) In an inspection ability evaluation device for a visual inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. a first calculation means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on its surface; It is the sum of the products of the detection probability and the appearance probability, which are predetermined based on image data including gradations, and which is the probability that the appearance inspection device can detect images of each gradation level, for each gradation level. 1st
a second calculation means for calculating the sum of the appearance probabilities for each of the gray levels over all the gray levels; 3 calculation means, and a fourth calculation means for dividing the first sum by the second sum, and the division value obtained by the fourth calculation means is used to calculate the inspection capacity of the visual inspection apparatus. An inspection ability evaluation device for an appearance inspection device, characterized in that an evaluation value is used.
(7)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価方法において、 所定の濃淡度階調毎に表面に欠陥がある上記被検査物の
濃淡画像のデータに基づいて上記欠陥が出現する確率で
ある出現確率を演算し、 上記濃淡度階調毎にすべての上記濃淡度階調を含む画像
データに基づいて予め決められ上記外観検査装置が各濃
淡度階調の画像を検出できる確率である検出確率と上記
出現確率と上記被検査物に対する各濃淡度階調毎の予め
決められた重要度との上記各濃淡度階調毎の積の総和で
ある第1の総和をすべての上記濃淡度階調にわたって演
算し、上記出現確率と上記重要度との上記各濃淡度階調
毎の積の総和である第2の総和をすべての上記濃淡度階
調にわたって演算し、 上記第1の総和を上記第2の総和で除算し、上記除算値
を上記外観検査装置の検査能力の評価値とすることを特
徴とする外観検査装置のための検査能力評価方法。
(7) In an inspection ability evaluation method for an appearance inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. The appearance probability, which is the probability that the defect will appear, is calculated based on the data of the grayscale image of the object to be inspected that has a defect on the surface, and the appearance probability, which is the probability that the defect will appear, is calculated, and the image data including all the grayscales is calculated for each grayscale. a detection probability that is predetermined based on the probability that the appearance inspection device can detect an image of each density gradation, the above-mentioned appearance probability, and a predetermined importance of each density gradation for the inspected object. The first sum, which is the sum of the products for each of the above gray scales, is calculated over all the gray scales, and the sum of the products of the above probability of appearance and the above importance level for each gray scale is calculated. Calculating a certain second sum over all the gray scales, dividing the first sum by the second sum, and using the divided value as an evaluation value of the inspection ability of the visual inspection device. Inspection ability evaluation method for featured appearance inspection equipment.
(8)被検査物を濃淡画像として撮影し上記濃淡画像の
データに基づいて被検査物の表面における欠陥を検査す
る外観検査装置のための検査能力評価装置において、 所定の濃淡度階調毎に表面に欠陥がある上記被検査物の
濃淡画像のデータに基づいて上記欠陥が出現する確率で
ある出現確率を演算する第1の演算手段と、 上記濃淡度階調毎にすべての上記濃淡度階調を含む画像
データに基づいて予め決められ上記外観検査装置が各濃
淡度階調の画像を検出できる確率である検出確率と上記
出現確率と上記被検査物に対する各濃淡度階調毎の予め
決められた重要度との上記各濃淡度階調毎の積の総和で
ある第1の総和をすべての上記濃淡度階調にわたって演
算する第2の演算手段と、 上記出現確率と上記重要度との上記各濃淡度階調毎の積
の総和である第2の総和をすべての上記濃淡度階調にわ
たって演算する第3の演算手段と、上記第1の総和を上
記第2の総和で除算する第4の演算手段とを備え、上記
第4の演算手段で得られた除算値を上記外観検査装置の
検査能力の評価値とすることを特徴とする外観検査装置
のための検査能力評価装置。
(8) In an inspection ability evaluation device for a visual inspection device that photographs an object to be inspected as a grayscale image and inspects defects on the surface of the object based on the data of the grayscale image, for each predetermined grayscale gradation. a first calculation means for calculating an appearance probability that is a probability that the defect will appear based on data of a grayscale image of the object to be inspected having a defect on its surface; Detection probability, which is predetermined based on image data including gradations, and is the probability that the appearance inspection device can detect an image of each gradation, the appearance probability, and a predetermined value for each gradation of gradation for the object a second calculation means for calculating a first sum, which is the sum of the products of the above-mentioned importance levels, for each of the above-mentioned grayscale levels, over all the above-mentioned grayscale levels; a third calculating means for calculating a second sum, which is a sum of products for each of the gray scales, over all the gray scales; and a third calculation means for dividing the first sum by the second sum. 4 arithmetic means, wherein the division value obtained by the fourth arithmetic means is used as an evaluation value of the inspection ability of the visual inspection apparatus.
JP3144488A 1988-02-10 1988-02-10 Evaluating method and apparatus of checking capacity for external appearance checking apparatus Pending JPH01206240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3144488A JPH01206240A (en) 1988-02-10 1988-02-10 Evaluating method and apparatus of checking capacity for external appearance checking apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3144488A JPH01206240A (en) 1988-02-10 1988-02-10 Evaluating method and apparatus of checking capacity for external appearance checking apparatus

Publications (1)

Publication Number Publication Date
JPH01206240A true JPH01206240A (en) 1989-08-18

Family

ID=12331418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3144488A Pending JPH01206240A (en) 1988-02-10 1988-02-10 Evaluating method and apparatus of checking capacity for external appearance checking apparatus

Country Status (1)

Country Link
JP (1) JPH01206240A (en)

Similar Documents

Publication Publication Date Title
US20060222232A1 (en) Appearance inspection apparatus and appearance inspection method
WO2017202114A1 (en) Method and apparatus for determining illumination intensity for inspection, and optical inspection method and apparatus
JP2002140694A (en) Image processor, its method and recording medium with recorded image processing program
US7538750B2 (en) Method of inspecting a flat panel display
JPS61123985A (en) Picture processor
JP2001266125A (en) Substrate inspecting device
JPH01206240A (en) Evaluating method and apparatus of checking capacity for external appearance checking apparatus
JPH08145907A (en) Inspection equipment of defect
JP2003510568A (en) LCD inspection method and LCD inspection apparatus by pattern comparison
JPH0843316A (en) Automatic diagnosing method for coating film deterioration and its device
JPH01231181A (en) Method and device for evaluating inspection capacity for visual inspecting device
JP4218291B2 (en) Image processing device
JP2002350355A (en) Evaluating device, evaluating method for unevenness of gloss and computer-readable storage medium storing program for this method
JPH08145904A (en) Inspection equipment of bright defect/dark defect
JPH01245365A (en) Method and device for evaluating inspection capacity for appearance inspector
KR20210000657A (en) Appearance inspection management system, appearance inspection management device, appearance inspection management method, and appearance inspection management program
JPH0735699A (en) Method and apparatus for detecting surface defect
JP2638121B2 (en) Surface defect inspection equipment
JPH05130512A (en) Picture element defect measuring instrument for solid-state image pickup element
JPH0310107A (en) Inspecting method utilizing gradation pattern matching
WO2021192627A1 (en) Inspection system, learning device, learning program, learning method, inspection device, inspection program, and inspection method
CN117636046A (en) Steel surface defect detection method, device, detection platform and storage medium
JPH03160309A (en) Image quality testing apparatus
JP6690316B2 (en) Defect inspection apparatus, defect inspection method and defect inspection system for sheet-like inspected object
JPH04152254A (en) Surface state inspection device