JP5441728B2 - Sensory inspection device and sensory inspection method - Google Patents

Sensory inspection device and sensory inspection method Download PDF

Info

Publication number
JP5441728B2
JP5441728B2 JP2010006340A JP2010006340A JP5441728B2 JP 5441728 B2 JP5441728 B2 JP 5441728B2 JP 2010006340 A JP2010006340 A JP 2010006340A JP 2010006340 A JP2010006340 A JP 2010006340A JP 5441728 B2 JP5441728 B2 JP 5441728B2
Authority
JP
Japan
Prior art keywords
sample
feature amount
defective
determination
pseudo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010006340A
Other languages
Japanese (ja)
Other versions
JP2011145179A (en
Inventor
豊 大森
洋平 武智
毅吏 浦島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2010006340A priority Critical patent/JP5441728B2/en
Priority to CN201010592037.XA priority patent/CN102129563B/en
Publication of JP2011145179A publication Critical patent/JP2011145179A/en
Application granted granted Critical
Publication of JP5441728B2 publication Critical patent/JP5441728B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ディスプレイの目視検査や各種機械の異音検査などを自動で検査する官能検査装置及び官能検査方法に関するものである。   The present invention relates to a sensory inspection apparatus and a sensory inspection method for automatically inspecting visual inspection of a display, abnormal sound inspection of various machines, and the like.

近年、様々な工業製品の製造工程で自動化が進んでおり、検査工程も例外ではない。しかし、一方でディスプレイのムラや機構部品の異音など、官能的な判断が必要とされる検査については、依然として作業者による目視や聴覚等の主観による検査に頼っている。しかし、作業者の主観による検査では、長時間の官能検査は作業者に負担がかかる、個人差や体調・時間帯などによるばらつきが大きい、正確な検査には熟練が必要で、熟練検査員を育てるには時間がかかる、処理能力が低い、などにより検査結果の一様性を維持することが困難である。そのため、官能検査においても作業者の主観によらない自動化が求められている。   In recent years, automation has progressed in the manufacturing process of various industrial products, and the inspection process is no exception. On the other hand, however, inspections that require sensual judgment, such as display unevenness and abnormal noise of mechanical parts, still rely on subjective inspections such as visual inspection and hearing by the operator. However, in the inspection by the subjectivity of the worker, the sensory inspection for a long time puts a burden on the worker, the variation due to individual differences, physical condition, time zone, etc. is large. It is difficult to maintain the uniformity of the test results because it takes time to grow and the processing ability is low. Therefore, even in sensory inspections, automation that does not depend on the subjectivity of workers is required.

このような官能検査を自動化する手法としてパターン認識を用いたものがある。
ここで、図13を用いてパターン認識による検査について説明する。
図13は従来のパターン認識を用いた検査における特徴量空間を示す図である。
As a method for automating such a sensory test, there is a method using pattern recognition.
Here, the inspection by pattern recognition will be described with reference to FIG.
FIG. 13 is a diagram showing a feature space in an inspection using conventional pattern recognition.

パターン認識を用いた検査では、まず、検査対象を検出器で検出した情報からいくつかの特徴量を抽出し、図13に示すように、各特徴量を座標軸とした特徴量空間にプロットする。そして、プロットしたときにどの領域に属するかにより検査対象の良品、不良品、あるいは、グレー品(良品、不良品の判断がつかない品)に分類するものである。図13では簡単のため、特徴量を2つにしているが、1つもしくは、3つ以上でも構わない。このとき、どの領域が良品、不良品、あるいは、グレー品かの決定は、あらかじめ良否が分かっているサンプルを事前に用意し、それらを特徴量空間にプロットしたときの分布から学習し、領域分けを行う。   In the inspection using pattern recognition, first, some feature amounts are extracted from the information obtained by detecting the inspection target with a detector, and plotted in a feature amount space with each feature amount as a coordinate axis, as shown in FIG. Then, it is classified into a non-defective product, a defective product, or a gray product (a product that cannot be judged as a good product or a defective product) depending on which region it belongs to when plotted. In FIG. 13, for simplicity, the feature amount is two, but it may be one or three or more. At this time, to determine which region is non-defective, defective, or gray, prepare samples in advance that are known to be good or bad, learn from the distribution when plotting them in the feature space, and divide the region I do.

この学習、分類する手法としては、ニューラルネットワークやSVM(support−vector−machine、以下、SVMと略す)、自己組織化マップ、MT(Mahalanobis Taguchi、以下、MTと略す)法などを用いたものがある。また、ニューラルネットワークを用いた手法で、良品、不良品のサンプルを基に擬似不良を発生させ、それらを学習用のサンプルとして利用することで、少ない学習用のサンプルで判定の精度を高める方法があった(例えば、特許文献1参照)。   As a learning and classification method, a method using a neural network, an SVM (support-vector-machine, hereinafter abbreviated as SVM), a self-organizing map, an MT (Mahalanobis Taguchi, hereinafter abbreviated as MT) method, or the like is used. is there. In addition, a method using a neural network generates pseudo defects based on non-defective and defective samples and uses them as learning samples, thereby increasing the accuracy of determination with a small number of learning samples. (For example, see Patent Document 1).

以下、図14,図15を用いて、従来の官能検査装置における特徴量空間の良否領域学習について説明する。
図14は従来の官能検査装置における特徴量空間の良否領域の学習装置の構成を示す図であり、特許文献1に記載された従来のブロック図を示すものである。図15は従来の官能検査装置における特徴量空間において良品から不良品を合成する様子を示す図である。
Hereinafter, the quality area learning of the feature amount space in the conventional sensory test apparatus will be described with reference to FIGS.
FIG. 14 is a diagram showing a configuration of a learning device for a pass / fail region in a feature amount space in a conventional sensory inspection device, and shows a conventional block diagram described in Patent Document 1. In FIG. FIG. 15 is a diagram illustrating a state in which defective products are synthesized from non-defective products in a feature amount space in a conventional sensory inspection apparatus.

図14において、ニューラルネットワーク101を用いて製品の良否を検査することが可能である。良品の学習は、良品画像入力部102にて、あらかじめ保存してある良品画像を読み込み、フィルタ処理や特徴量の抽出を行う前処理部107を経由してニューラルネットワーク101に入力し、良品データとして学習を行わせる。   In FIG. 14, it is possible to check the quality of the product using the neural network 101. The non-defective product learning is performed by reading a pre-stored good product image by the good product image input unit 102 and inputting it to the neural network 101 via the pre-processing unit 107 that performs filter processing and feature quantity extraction. Let students learn.

不良品の学習は、不良品の画像の数が必要とする学習数以上の時に、予め保存してある不良品画像を読み込み、前処理部107を経由してニューラルネットワーク101に入力することで、不良品データとして学習を行わせる。   In order to learn defective products, when the number of images of defective products is equal to or greater than the required learning number, a pre-stored defective product image is read and input to the neural network 101 via the preprocessing unit 107. Learning is performed as defective product data.

しかしながら、通常はオリジナルの不良データを必要とする学習数だけ入手することは困難であるため、不良画像から良品との差分データ108を抽出する不良画像抽出部104と、良品画像入力部102から良品画像を読み込み、差分データ108を合成して擬似不良画像を生成する擬似不良画像作成部106と、差分データ108を合成位置等とどのように合成するかの条件を、乱数発生部109の乱数値を組み合わせて擬似不良画像作成部106に指示する擬似データ条件設定部105を備えている。   However, since it is usually difficult to obtain the required number of original defective data, the defective image extraction unit 104 that extracts the difference data 108 from the defective image from the defective image, and the non-defective product input unit 102. A condition for determining how to synthesize the difference data 108 with a synthesis position and the like is determined based on the random number value of the random number generation unit 109 by reading an image and synthesizing the difference data 108 to generate a pseudo defect image. And a pseudo data condition setting unit 105 for instructing the pseudo defective image creating unit 106.

これにより、従来の構成では、図15に示すように、実際の不良画像を基に、その付近に擬似不良画像を多数作成し、学習用のサンプルを増加させることで図16のようにして、良否判定の精度を上げようとするものであった。   Thereby, in the conventional configuration, as shown in FIG. 15, a large number of pseudo-defective images are created in the vicinity based on the actual defective image, and the number of learning samples is increased as shown in FIG. It was intended to improve the accuracy of the pass / fail judgment.

特開2005−156334号公報JP 2005-156334 A

しかしながら、前記従来の構成においても、パターン認識を用いた検査の自動化における課題を十分解決できていない。
パターン認識を用いた検査の自動化における課題は、良品と不良品の境界を決めるために有効なサンプルが少ないため、人と同じ判定を行うための境界を学習することが難しいということである。
However, even in the conventional configuration, the problem in the automation of inspection using pattern recognition cannot be sufficiently solved.
A problem in the automation of inspection using pattern recognition is that it is difficult to learn a boundary for making the same determination as a person because there are few effective samples for determining the boundary between a non-defective product and a defective product.

図16の従来の特徴量空間における良品と不良品の分布を示す図を用いて詳しく説明する。一般に、良品のばらつきは正規分布をしているため、サンプルは平均値付近に多く存在することになり、境界付近の良品は少ない。また、不良品が発生する頻度は一般的に少なく、不良が発生しても境界から大きく外れたサンプルになりやすい。これを特徴量空間にプロットすると、図16のようになる。図16においては、良品と不良品との間隔が大きいため、良品と不良品を判別する境界線は数多く形成可能で一義的に定めることが困難となり、人間の感覚に近い境界線を学習することはできない。   This will be described in detail with reference to FIG. 16 showing the distribution of non-defective products and defective products in the conventional feature amount space. In general, since the variation of non-defective products has a normal distribution, there are many samples near the average value, and there are few non-defective products near the boundary. In addition, the frequency of occurrence of defective products is generally low, and even if a defect occurs, the sample is likely to deviate greatly from the boundary. When this is plotted in the feature amount space, it is as shown in FIG. In FIG. 16, since the interval between the non-defective product and the defective product is large, it is possible to form a large number of boundary lines for discriminating between the non-defective product and the defective product, and it is difficult to uniquely define the boundary line. I can't.

また、特許文献1に示す擬似不良画像自動作成装置及び画像検査装置に関する発明は、少ない不良品の数を補うものであり、特徴量空間で説明すると、図15に示すように、発生した不良品データを基に、その付近の不良品データを合成により増やす方法であるが、増やせるサンプルは基の不良品データの周辺に限定される。このため、検査精度が大きく向上することは見込めない。   Further, the invention relating to the pseudo-defective image automatic creation device and the image inspection device disclosed in Patent Document 1 supplements the number of defective products that are small, and will be described in the feature amount space. As shown in FIG. This is a method of increasing defective product data in the vicinity based on the data, but the number of samples that can be increased is limited to the periphery of the basic defective product data. For this reason, it cannot be expected that inspection accuracy will be greatly improved.

本発明は、前記従来の課題を解決するもので、少ない学習用のサンプルで人の判断に近い良否判定基準を定めることを可能とした官能検査を実現することを目的とする。   SUMMARY OF THE INVENTION The present invention solves the above-described conventional problems, and an object thereof is to realize a sensory test that makes it possible to define a pass / fail judgment standard close to human judgment with a small number of learning samples.

上記目的を達成するために、本発明の官能検査装置は、擬似サンプルを作成する擬似サンプル作成部と、前記擬似サンプルに対して人が判定した良否結果を入力する判定入力部と、前記判定入力部で入力された良否結果から良品と不良品との境界付近の特徴量を生成して前記擬似サンプルの特徴量とする擬似サンプル特徴量生成部と、前記擬似サンプル作成部で作成した擬似サンプルの特徴量から良品と不良品の境界線を作成してSVM解析による良否判定を行うSVM判定部と、前記判定入力部での良否結果と前記SVM判定部での良否結果とを比較する判定比較部と、前記判定比較部で良否結果が異なる擬似サンプルに対して人が再判定した良否結果を入力する再判定入力部と、前記再判定入力部で入力された良否結果に対して、前記SVM判定部で作成した境界線からの距離に応じた重み付けを付加してサンプルを追加する重み付け処理部と、前記重み付け処理部で追加されたサンプルを加えて良否判定を行う官能検査部とを有することを特徴とする。   In order to achieve the above object, a sensory test apparatus according to the present invention includes a pseudo sample creation unit that creates a pseudo sample, a determination input unit that inputs a pass / fail result determined by a person for the pseudo sample, and the determination input. A pseudo sample feature quantity generating unit that generates a feature quantity near the boundary between a non-defective product and a defective product from the pass / fail result input in the unit and uses it as a feature quantity of the pseudo sample; and the pseudo sample created by the pseudo sample creating unit A SVM determination unit that creates a boundary line between a non-defective product and a defective product from the feature amount and performs a pass / fail determination by SVM analysis, and a determination comparison unit that compares the pass / fail result at the determination input unit with the pass / fail result at the SVM determination unit And a re-determination input unit that inputs a re-determination result re-determined by a person with respect to a pseudo sample having a different pass / fail result in the determination / comparison unit, and for the pass / fail result input in the re-determination input unit, the S A weighting processing unit for adding a sample by adding a weight according to a distance from a boundary line created by the M determination unit; and a sensory test unit for performing a pass / fail determination by adding the sample added by the weighting processing unit. It is characterized by that.

また、上記目的を達成するために、本発明の官能検査方法は、擬似サンプルを作成する擬似サンプル作成工程と、前記擬似サンプルに対して人が判定したときの良否結果を入力する判定入力工程と、前記判定入力工程で入力された良否結果から良品と不良品との境界付近の特徴量を生成して前記擬似サンプルの特徴量とする擬似サンプル特徴量生成工程と、前記擬似サンプルの特徴量から良品と不良品の境界線を作成するSVM解析により良否判定をするSVM判定工程と、前記判定入力工程と前記SVM判定工程の結果を比較する判定比較工程と、前記判定比較工程で良否判定が異なる擬似サンプルに対して人が再判定した良否結果を入力する再判定入力工程と、前記再判定入力工程で入力された結果に対して、前記SVM判定工程で作成した境界線からの距離に応じた重み付けを付加して擬似サンプルを追加する重み付け処理工程と、前記重み付け処理工程で追加されたサンプルを加えて良否判定を行う官能検査工程とを有することを特徴とする。 In order to achieve the above object, the sensory test method of the present invention includes a pseudo sample creating step of creating a pseudo sample, and a determination input step of inputting a pass / fail result when a person makes a judgment on the pseudo sample. From the pseudo sample feature value generating step of generating a feature value in the vicinity of the boundary between a non-defective product and a defective product from the pass / fail result input in the determination input step to be a feature value of the pseudo sample, and from the feature value of the pseudo sample The SVM determination process for determining pass / fail by SVM analysis for creating a boundary line between a non-defective product and a defective product, the determination comparison step for comparing the results of the determination input step and the SVM determination step, and the determination / comparison step are different. A re-determination input step for inputting a pass / fail result re-determined by a person for a pseudo sample, and a result input in the re-determination input step, created in the SVM determination step A weighting processing step of adding a pseudo sample by adding weighted according to the distance from the boundary line was, and characterized in that it has a functional inspection step of performing quality determination by adding the added samples by the weighting processing step To do.

以上のように、本発明によれば、少ない学習用のサンプルで人の判断に近い良否判定基準を定めることができる。   As described above, according to the present invention, it is possible to define a pass / fail judgment criterion that is close to human judgment with a small number of learning samples.

(a)本発明の実施の形態1における官能検査装置の擬似サンプル発生システムを示すブロック図、(b)本実施の形態1における官能検査装置のパターン認識学習装置を示すブロック図(A) A block diagram showing a pseudo sample generation system of the sensory test apparatus in the first embodiment of the present invention, (b) a block diagram showing a pattern recognition learning device of the sensory test apparatus in the first embodiment. 本実施の形態1における擬似サンプル作成処理の流れを示すフローチャートFlowchart showing the flow of pseudo sample creation processing in the first embodiment (a)本実施の形態1におけるLCDをカメラで撮像した画像のうち良品画像の例を示した図、(b)本実施の形態1におけるLCDをカメラで撮像した画像のうち不良品画像の例を示した図(A) The figure which showed the example of the quality product image among the images which imaged LCD in this Embodiment 1 with the camera, (b) The example of inferior product image among the images which imaged LCD in this Embodiment 1 with the camera Figure showing 本実施の形態1における特徴量抽出の流れを示すフローチャートThe flowchart which shows the flow of the feature-value extraction in this Embodiment 1. (a)本実施の形態1における特徴量空間における初期サンプルの特徴量を説明する図、(b)本実施の形態1における特徴量空間における初期サンプルの良否結果を説明する図、(c)本実施の形態1における擬似サンプルの増加方法を示す図、(d)本実施の形態1における特徴量空間における擬似サンプル増加後の良否結果を示す図(A) The figure explaining the feature-value of the initial sample in the feature-value space in this Embodiment 1, (b) The figure explaining the quality result of the initial-sample in the feature-value space in this Embodiment 1, (c) This The figure which shows the increase method of the pseudo sample in Embodiment 1, (d) The figure which shows the quality result after the pseudo sample increase in the feature-value space in this Embodiment 1. 本実施の形態1における擬似サンプル作成部の構成を示すブロック図The block diagram which shows the structure of the pseudo sample preparation part in this Embodiment 1. FIG. 本実施の形態1におけるパターン認識学習方法の流れを示すフローチャートThe flowchart which shows the flow of the pattern recognition learning method in this Embodiment 1. 本実施の形態1における特徴量空間マッピングを例示する図The figure which illustrates the feature-value space mapping in this Embodiment 1. 本実施の形態1における特徴量空間上の擬似サンプルを人が判定した結果を例示する図The figure which illustrates the result of having determined the pseudo sample on the feature-value space in this Embodiment 1 by the person 本実施の形態1における特徴量空間上のSVMの判定結果を例示する図The figure which illustrates the determination result of SVM on the feature-value space in this Embodiment 1. 本実施の形態1における特徴量空間上の重み付け処理方法を説明する図The figure explaining the weighting processing method on the feature-value space in this Embodiment 1. (a)本発明の実施の形態2における特徴量空間における初期サンプルの特徴量を説明する図、(b)本実施の形態2における特徴量空間における初期サンプルの良否結果を説明する図、(c)本実施の形態2における擬似サンプルの増加方法を示す図、(d)本実施の形態2における特徴量空間における擬似サンプル増加後の良否結果を示す図(A) The figure explaining the feature-value of the initial sample in the feature-value space in Embodiment 2 of this invention, (b) The figure explaining the quality result of the initial-sample in the feature-value space in this Embodiment 2, (c) ) A diagram showing a method for increasing pseudo samples in the second embodiment, and (d) a diagram showing a pass / fail result after increasing pseudo samples in the feature amount space in the second embodiment. パターン認識を用いた検査における特徴量空間を示す図Diagram showing feature space in inspection using pattern recognition 従来の官能検査装置における特徴量空間の良否領域学習装置の構成を示す図The figure which shows the structure of the quality area learning apparatus of the feature-value space in the conventional sensory test apparatus. 従来の官能検査装置における特徴量空間において良品から不良品を合成する様子を示す図The figure which shows a mode that the inferior goods are synthesize | combined in the feature-value space in the conventional sensory test apparatus. 従来の特徴量空間における良品と不良品の分布を示す図Diagram showing the distribution of non-defective and defective products in the conventional feature space

以下、本発明の実施の形態について、図面を参照しながら説明する。なお、以下の説明では、同じ構成には同じ符号を付けて、適宜、説明を省略している。
(実施の形態1)
まず、図1〜図11を用いて、実施の形態1における官能検査装置及び官能検査方法について説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same components are denoted by the same reference numerals, and description thereof is omitted as appropriate.
(Embodiment 1)
First, the sensory test apparatus and the sensory test method according to the first embodiment will be described with reference to FIGS.

図1(a)は、本発明の実施の形態1における官能検査装置の擬似サンプル発生システムを示すブロック図である。図1(b)は、本発明の実施の形態1における官能検査装置のパターン認識学習装置を示すブロック図である。本実施の形態1では、擬似サンプル発生システムは、擬似サンプル発生装置である。   FIG. 1A is a block diagram showing a pseudo sample generation system of the sensory test apparatus according to Embodiment 1 of the present invention. FIG.1 (b) is a block diagram which shows the pattern recognition learning apparatus of the sensory test apparatus in Embodiment 1 of this invention. In the first embodiment, the pseudo sample generation system is a pseudo sample generation apparatus.

図1(a)において、良品データ入力部1にて、あらかじめ保存された良品の画像や音声等のデータを読み込み、フィルタ処理や特徴量の抽出を行う特徴量抽出部2を経由し、抽出した特徴量を特徴量空間作成部3に入力する。特徴量空間作成部3は特徴量の分布を基に正規化や座標変換を行い、特徴量空間を作成し、特徴量空間記憶部4でその座標系を記憶する。また、サンプル特徴量生成部5では特徴量空間作成部3で作成された特徴量空間を基に初期サンプルの特徴量を生成し、特徴量空間記憶部4と擬似サンプル作成部6へ出力する。   In FIG. 1 (a), a non-defective product data input unit 1 reads pre-stored non-defective product images, audio data, etc., and extracts them through a feature amount extraction unit 2 that performs filtering and feature amount extraction. The feature amount is input to the feature amount space creation unit 3. The feature amount space creation unit 3 performs normalization and coordinate transformation based on the feature amount distribution, creates a feature amount space, and the feature amount space storage unit 4 stores the coordinate system. Further, the sample feature quantity generation unit 5 generates a feature quantity of an initial sample based on the feature quantity space created by the feature quantity space creation unit 3 and outputs it to the feature quantity space storage unit 4 and the pseudo sample creation unit 6.

擬似サンプル作成部6では、良品データ入力部1から入力された良品データにサンプル特徴量生成部5で生成された初期サンプルの特徴量を合成して擬似サンプルを作成する。このとき、特徴量に自由度がある場合は、乱数発生部7によりその自由度の範囲内の特徴量を決定して擬似サンプル作成に用いても良い。そして、擬似サンプル表示部8では、擬似サンプル作成部6で作成された擬似サンプルを表示する。判定入力部9では、表示された擬似サンプルの良否を検査員が入力することができ、その結果は特徴量空間記憶部4へ送られる。特徴量空間記憶部4では、サンプル特徴量生成部5から入力された擬似サンプルの特徴量と、それに対応する判定入力部9から入力された判定結果とをセットで記憶する。   The pseudo sample creation unit 6 creates a pseudo sample by synthesizing the feature values of the initial sample generated by the sample feature value generation unit 5 with the good product data input from the good product data input unit 1. At this time, if the feature amount has a degree of freedom, the random number generation unit 7 may determine the feature amount within the range of the degree of freedom and use it for creating a pseudo sample. Then, the pseudo sample display unit 8 displays the pseudo sample created by the pseudo sample creation unit 6. In the judgment input unit 9, the inspector can input the quality of the displayed pseudo sample, and the result is sent to the feature amount space storage unit 4. The feature amount space storage unit 4 stores the feature value of the pseudo sample input from the sample feature amount generation unit 5 and the determination result input from the determination input unit 9 corresponding thereto as a set.

擬似サンプル特徴量生成部10は、特徴量空間記憶部4に記憶された特徴量空間と擬似サンプルの判定結果が入力され、パターン認識で境界線(良品と不良品の境界を表す線)をひくのに有効なサンプルの特徴量を新たに生成し、擬似サンプル作成部6と特徴量空間記憶部4へ入力する。この特徴量は擬似サンプルの特徴量と同様に判定結果とセットで特徴量空間記憶部4に記憶される。   The pseudo sample feature quantity generation unit 10 receives the feature quantity space stored in the feature quantity space storage unit 4 and the pseudo sample determination result, and draws a boundary line (a line representing a boundary between a good product and a defective product) by pattern recognition. A new sample feature quantity effective for the above is generated and input to the pseudo sample creation unit 6 and the feature quantity space storage unit 4. This feature amount is stored in the feature amount space storage unit 4 as a set together with the determination result in the same manner as the feature amount of the pseudo sample.

図2は、本発明の実施の形態1における擬似サンプル作成処理の流れを示すフローチャートである。
図2に示すように、擬似サンプルを作成する場合には、はじめに、良品データ入力部1において、あらかじめ保存してある検出部で検出した良品のデータを複数個読み出す(ステップS001)。次に、特徴量抽出部2において各良品データから特徴量を抽出する(ステップS002)。そして、特徴量空間作成部3において各良品データの平均値とばらつきを基にマハラノビス距離を算出し、それにより各特徴量の正規化を行い、正規化された各特徴量の分布を示す特徴量空間を作成し、特徴量空間記憶部4で特徴量空間を記憶する(ステップS003)。次に、サンプル特徴量生成部5において、原点からのマハラノビス距離が一定値であるサンプルを初期サンプルとして複数作成する(ステップS004)。この時、マハラノビス距離がある程度の範囲内にある初期サンプルを作成しても良く、ある程度の範囲としては、一定値から±10%以内を範囲とすることが好ましい。具体的には、原点からのマハラノビス距離が2〜5であることが好ましい。また、初期サンプルが複数ある場合は、特徴量空間の原点を中心とする超球面上で均等に配置されることが好ましい。続いて、擬似サンプル作成部において、ステップS001で読み出した良品データの平均値から標準良品データを作成し、作成した初期サンプルの特徴量を標準良品データの特徴量と合成して、擬似サンプルを作成する(ステップS005)。次に、作成された擬似サンプルを擬似サンプル表示部8で表示し、熟練した検査員や品質保証の責任者が表示された擬似サンプルの良否判定を行い、判定入力部9にその結果を入力する(ステップS006)。次に、入力された判定結果とそれに対応する擬似サンプルの特徴量を特徴量空間上に追加する(ステップS007)。
FIG. 2 is a flowchart showing the flow of the pseudo sample creation process in the first embodiment of the present invention.
As shown in FIG. 2, when creating a pseudo sample, first, the non-defective product data input unit 1 reads a plurality of non-defective product data detected by the detecting unit stored in advance (step S001). Next, the feature quantity extraction unit 2 extracts the feature quantity from each good product data (step S002). Then, the feature amount space creation unit 3 calculates the Mahalanobis distance based on the average value and variation of each good product data, thereby normalizing each feature amount, and the feature amount indicating the distribution of each normalized feature amount A space is created, and the feature amount space storage unit 4 stores the feature amount space (step S003). Next, the sample feature value generation unit 5 creates a plurality of samples whose Mahalanobis distance from the origin is a constant value as an initial sample (step S004). At this time, an initial sample in which the Mahalanobis distance is within a certain range may be created, and the certain range is preferably within a range of ± 10% from a certain value. Specifically, the Mahalanobis distance from the origin is preferably 2-5. In addition, when there are a plurality of initial samples, it is preferable that they are equally arranged on a hypersphere centered on the origin of the feature amount space. Subsequently, the pseudo sample creation unit creates standard good product data from the average value of the non-defective product data read in step S001, and synthesizes the feature quantity of the created initial sample with the feature quantity of the standard good product data to create a pseudo sample. (Step S005). Next, the created pseudo sample is displayed on the pseudo sample display unit 8, and the quality of the displayed pseudo sample is judged by a skilled inspector or a person in charge of quality assurance, and the result is input to the judgment input unit 9. (Step S006). Next, the input determination result and the feature amount of the pseudo sample corresponding to the determination result are added to the feature amount space (step S007).

ここで、特徴量空間上のサンプル数が一定値N未満の場合は、記憶されているサンプルの特徴量から、新たに追加サンプルの特徴量を生成する。サンプル数の一定値Nとしては、検査員の経験に基づく数字や、設計上要求される数字を、適宜設定する(ステップS008)。ステップS008の後はステップS005に戻り、新たに生成された追加サンプルの特徴量に基づいて、再び擬似サンプルが作成される。サンプル数が一定値N以上の場合は、擬似サンプルの作成は完了する。以上で、擬似サンプル作成が終了し、パターン認識の学習を行える状態になる(ステップS009)。   Here, when the number of samples in the feature amount space is less than the predetermined value N, a feature amount of an additional sample is newly generated from the stored feature amount of the sample. As the fixed value N of the number of samples, a number based on the experience of the inspector or a number required for design is set as appropriate (step S008). After step S008, the process returns to step S005, and a pseudo sample is created again based on the feature amount of the newly generated additional sample. When the number of samples is equal to or greater than a certain value N, the creation of the pseudo sample is completed. The pseudo sample creation is thus completed, and the pattern recognition learning can be performed (step S009).

次に、図3,図4を用いて本実施の形態の学習動作を具体的に説明する。
図3は、LCD(液晶ディスプレイ)をカメラで撮像した画像の例であり、その一部をX方向とY方向の両方でみたライン輝度ファイルを示した図である。図3(a)は良品画像、図3(b)はムラがある場合の不良品画像である。図3(a)の良品画像の場合は、大きく滑らかなシェーディングはあるが、局所的な変動は小さい。一方で、図3(b)の不良品画像は、良品画像と同様なシェーディングに加え、局所的な変動があり、これがムラとして不良になる。ここでいうシェーディングとは、画像の中心付近が端部に比べて明るく、画像全体のライン輝度ファイルをみると山のようになっている現状である。また、その全体的に発生したシェーディングに対して、局所的に発生した部分的に隣接する輝度の流れに合わない輝度分布の箇所をムラとする。
Next, the learning operation of the present embodiment will be specifically described with reference to FIGS.
FIG. 3 is an example of an image obtained by capturing an image of an LCD (liquid crystal display) with a camera, and is a diagram showing a line luminance file in which a part thereof is viewed in both the X direction and the Y direction. 3A is a non-defective image, and FIG. 3B is a defective image when there is unevenness. In the case of the non-defective image in FIG. 3A, there is a large and smooth shading, but the local fluctuation is small. On the other hand, the defective product image of FIG. 3B has local fluctuations in addition to the same shading as the non-defective product image, which becomes defective as unevenness. The shading referred to here is a current situation where the center of the image is brighter than the edges, and the line luminance file of the entire image looks like a mountain. In addition, the portion of the luminance distribution that does not match the partially adjacent luminance flow that is locally generated with respect to the overall generated shading is made uneven.

はじめに、標準的な良品の平均値とばらつきを求めるため、n個の良品から取得した画像を読み込む。平均値とばらつきを求めるためには良品の個数は多いほど良いが、立ち上げ当初はサンプルを準備するのが難しく、また、時間もかかるため、ここでの良品は20個程度あればよい(図2のステップS001参照)。   First, in order to obtain the average value and variation of standard good products, images acquired from n good products are read. In order to obtain the average value and the variation, it is better that the number of non-defective products is large. However, it is difficult to prepare a sample at the beginning of the start-up, and it takes time. 2 step S001).

次に、良品のムラの特徴量を抽出する。この工程について図4を用いて説明する。図4は、本発明の実施の形態1における特徴量抽出の流れを示すフローチャートである。良品のムラの特徴量を抽出する際に、まず良品データ入力部1において、良品の画像を入力する(ステップS021)。次に、ローパスフィルタを通すことによって良品画像から局所的な変動を除いた画像を得る(ステップS022)。これを元の良品画像から差し引くことで、シェーディングの影響を取り除き、局所的な変動のみの画像を得ることができる(ステップS023)。そして、この画像を一定の閾値で2値化処理する(ステップS024)。2値化処理を行った後に、複数のムラがある部分をラベリングする(ステップS025)。次にラベリングした各部分で面積と体積を算出する(ステップS026)。このうち最も輝度が高い最大輝度を最大のムラとして検索する(ステップS027)。最後に、最大のムラの面積Si(i=1,2,…,n)と体積Vi(i=1,2,…,n)を特徴量として出力する(ステップS028)。ここで、最大のムラだけにしたのは、それが良品レベルであれば、他の小さいムラでも良品であるし、それが不良品レベルであれば少なくともそれより大きいムラは不良と判定できるからである(図2のステップS002参照)。   Next, the feature amount of the non-defective product is extracted. This process will be described with reference to FIG. FIG. 4 is a flowchart showing a flow of feature amount extraction in Embodiment 1 of the present invention. When extracting the feature amount of the non-defective product, first, the non-defective product data input unit 1 inputs a good product image (step S021). Next, an image obtained by removing local fluctuations from the non-defective image is obtained by passing through a low-pass filter (step S022). By subtracting this from the original non-defective image, it is possible to remove the influence of shading and obtain an image with only local fluctuations (step S023). Then, this image is binarized with a certain threshold value (step S024). After performing the binarization process, a plurality of uneven portions are labeled (step S025). Next, an area and a volume are calculated for each labeled part (step S026). Among these, the maximum luminance with the highest luminance is searched as the maximum unevenness (step S027). Finally, the maximum unevenness area Si (i = 1, 2,..., N) and the volume Vi (i = 1, 2,..., N) are output as feature amounts (step S028). The reason why only the largest unevenness is determined is that if it is a non-defective product level, other small unevenness is acceptable, and if it is a defective product level, at least larger unevenness can be determined as defective. Yes (see step S002 in FIG. 2).

このように、良品のムラの特徴量を抽出すると、次に、特徴空間作成部3にてマハラノビス距離を元に特徴量空間を作成する。ステップS002で求めた面積Siと体積Viの平均値をそれぞれms、mvとし、標準偏差をそれぞれσs、σvとし、面積Siと体積Viを正規化した特徴量をそれぞれsi、viとすると、si、viは次式(式1)で求める。 In this way, when the feature amount of the non-defective product is extracted, the feature amount space creation unit 3 creates a feature amount space based on the Mahalanobis distance. When the average values of the area Si and the volume Vi obtained in step S002 are ms and mv, the standard deviations are σs and σv, respectively, and the feature quantities obtained by normalizing the area Si and the volume Vi are si and vi, respectively, si, vi is obtained by the following equation (equation 1).

Figure 0005441728


次に、正規化した特徴量の相関行列Rを次式(式2)で求める。
Figure 0005441728


Next, the correlation matrix R of the normalized feature quantity is obtained by the following formula (Formula 2).

Figure 0005441728


ここで、r12、r21は次式(式3)で表される。
Figure 0005441728


Here, r12 and r21 are expressed by the following formula (formula 3).

Figure 0005441728


そして、相関行列Rの逆行列Aを求める。
Figure 0005441728


Then, an inverse matrix A of the correlation matrix R is obtained.

Figure 0005441728


このとき、相関行列Rは対称行列のため、逆行列Aも対称行列である。そのため、行列Aを固有値分解すると、次式(式5)で表すことができる。
Figure 0005441728


At this time, since the correlation matrix R is a symmetric matrix, the inverse matrix A is also a symmetric matrix. Therefore, when the matrix A is subjected to eigenvalue decomposition, it can be expressed by the following equation (Equation 5).

Figure 0005441728


ここで、Λは固有値を対角上に並べた対角行列であり、X’はXの転置行列である。次に、Λ1/2をΛの各要素を1/2乗したものとして、特徴量si、viを次式(式6)で変換する。
Figure 0005441728


Here, Λ is a diagonal matrix in which eigenvalues are arranged diagonally, and X ′ is a transposed matrix of X. Next, assuming that [Lambda] 1/2 is obtained by raising each element of [Lambda] to the 1/2 power, the feature quantities si and vi are converted by the following equation (Equation 6).

Figure 0005441728


そして、この変換した特徴量si’、vi’を特徴量空間とする。このとき、特徴量空間の原点からの距離||x’||がマハラノビス距離となっている(図2のステップS003参照)。
Figure 0005441728


The converted feature quantities si ′ and vi ′ are set as a feature quantity space. At this time, the distance || x ′ || from the origin of the feature amount space is the Mahalanobis distance (see step S003 in FIG. 2).

次に、特徴量空間を基に初期サンプルの特徴量を生成する。このとき、図5(a)に示すように特徴量空間の原点からの距離が定数aとなるようなサンプルを複数生成する。ここで、工程の不良率が既知である場合は、aはその不良率となる特徴量の標準偏差の倍数とする。例えば、不良率が0.3%であれば、a=3、不良率が4.6%であれば、a=2である。工程の不良率が未知である場合は、推定される不良率を用いるか、標準的な工程能力として経験的に求められる値を用い、例えばa=3とする。これにより、特徴量空間の原点からの距離がマハラノビス距離となっており、不良率に対応した距離に初期サンプルを生成するため、初期サンプルは良品と不良品の境界付近のサンプルに近いものとなる。そのため、必要なサンプルを確保すると共に、学習に必要なサンプル数を低減することができる(図2のステップS004参照)。   Next, a feature quantity of the initial sample is generated based on the feature quantity space. At this time, as shown in FIG. 5A, a plurality of samples are generated such that the distance from the origin of the feature amount space is a constant a. Here, when the defect rate of the process is known, a is a multiple of the standard deviation of the feature amount that is the defect rate. For example, if the defect rate is 0.3%, a = 3, and if the defect rate is 4.6%, a = 2. When the defect rate of the process is unknown, an estimated defect rate is used, or a value empirically obtained as a standard process capability is used, for example, a = 3. As a result, the distance from the origin of the feature amount space is the Mahalanobis distance, and the initial sample is generated at a distance corresponding to the defect rate, so the initial sample is close to the sample near the boundary between the non-defective product and the defective product. . Therefore, necessary samples can be secured and the number of samples necessary for learning can be reduced (see step S004 in FIG. 2).

次に、生成した初期サンプルの特徴量を基に擬似サンプルを作成する。図6に本発明の実施の形態1における擬似サンプル作成部の構成を示すブロック図を示す。図6において、良品画像入力部21は、n枚の良品画像を入力し、平均画像作成部22でn枚の良品画像の特徴量を平均化し、良品の平均画像を作成する。特徴量入力部23は初期サンプル特徴量生成部5や擬似サンプル特徴量生成部10で生成された特徴量si’、vi’を入力する。特徴量si’、vi’は特徴量変換部24において、次式(式7)、(式8)で面積Si、体積Viに変換される。   Next, a pseudo sample is created based on the feature amount of the generated initial sample. FIG. 6 is a block diagram showing the configuration of the pseudo sample creation unit in the first embodiment of the present invention. In FIG. 6, a non-defective image input unit 21 inputs n non-defective images, and an average image creating unit 22 averages the feature amounts of the n non-defective images to create a non-defective average image. The feature amount input unit 23 inputs the feature amounts si ′ and vi ′ generated by the initial sample feature amount generation unit 5 and the pseudo sample feature amount generation unit 10. The feature quantities si ′ and vi ′ are converted into the area Si and the volume Vi by the following formulas (formula 7) and (formula 8) in the feature quantity conversion unit 24.

Figure 0005441728
Figure 0005441728

Figure 0005441728


特徴量は面積Siと体積Viのみしか決まっていないため、ムラの位置や形状には自由度がある。そこで、乱数発生部7で発生した乱数が乱数入力部25に入力され、パラメータ決定部26でムラの位置、形状を決定する。最後に、画像合成部27で、良品の平均画像にムラを合成して擬似サンプルを作成する(図2のステップS005参照)。
Figure 0005441728


Since the feature amount is determined only by the area Si and the volume Vi, the position and shape of the unevenness have a degree of freedom. Therefore, the random number generated by the random number generation unit 7 is input to the random number input unit 25, and the parameter determination unit 26 determines the position and shape of the unevenness. Finally, the image synthesis unit 27 creates a pseudo sample by synthesizing the non-defective average image with the unevenness (see step S005 in FIG. 2).

次に、作成した擬似サンプルを擬似サンプル表示部8で表示し、それを検査員が良品、境界付近の良品、境界付近の不良品、不良品の4段階に分けて評価を行い、判定入力部9へその結果を出力する(図2のステップS006参照)。   Next, the created pseudo sample is displayed on the pseudo sample display unit 8, and the inspector divides the evaluation into four stages: a non-defective product, a non-defective product near the boundary, a defective product near the boundary, and a defective product. The result is output to 9 (see step S006 in FIG. 2).

続いて、生成した特徴量si’、vi’とステップS006で判定した判定結果をセットにして特徴量空間記憶部4に保存する。このときの結果は、図5(b)の特徴量空間における初期サンプルの良否結果を説明する図のように、特徴量空間の原点からの距離が一定であるサンプルに対して、良品、境界付近の良品、境界付近の不良品、不良品の4段階の評価結果を示す結果となる(図2のステップS007参照)。   Subsequently, the generated feature quantities si ′ and vi ′ and the determination result determined in step S006 are stored in the feature quantity space storage unit 4 as a set. The result at this time is a non-defective product, near the boundary with respect to a sample whose distance from the origin of the feature amount space is constant, as shown in the diagram explaining the pass / fail result of the initial sample in the feature amount space in FIG. The result shows the four-stage evaluation results of the non-defective product, the defective product near the boundary, and the defective product (see step S007 in FIG. 2).

そして、良否判定の境界を精度良く決定するためには最低N個のサンプルが必要であるため、生成した擬似サンプルの数がN個未満の場合は、新たな擬似サンプルを生成する。新たな擬似サンプルは、まず擬似サンプル特徴量生成部10でその特徴量を生成するが、特徴量の生成方法は3つある。この方法を図5(c)の擬似サンプルの増加方法を示す図を用いて説明する。1つ目は良品と判定されたサンプルの特徴量から所定量だけ原点方向へ変化させた(マハラノビス距離を小さくした)特徴量、2つ目は不良品と判定されたサンプルの特徴量から所定量だけ原点と逆方向へ変化させた(マハラノビス距離を大きくした)特徴量、3つ目は境界付近の良品、境界付近の不良品と判定されたサンプルの特徴量のうち2つを選択し、そのベクトルの大きさと方向をそれぞれ平均して特徴量を算出する方法である。平均化する方法として、特徴量の原点からの距離と方向を同じ比率で合成することが挙げられ、例えば、1/2の比率で合成する。このような特徴量を有する擬似サンプルを生成することにより、良品と不良品の境界付近の擬似サンプルを重点的に増やすことができる(図2のステップS008参照)。   Since at least N samples are required to accurately determine the pass / fail judgment boundary, if the number of generated pseudo samples is less than N, a new pseudo sample is generated. A new pseudo sample is first generated by the pseudo sample feature value generation unit 10, and there are three methods for generating the feature value. This method will be described with reference to FIG. 5C showing a method for increasing pseudo samples. The first is a feature amount that is changed from the feature amount of the sample determined to be non-defective to the origin by a predetermined amount (the Mahalanobis distance is reduced). The second is a predetermined amount based on the feature amount of the sample that is determined to be defective. The feature amount was changed only in the direction opposite to the origin (the Mahalanobis distance was increased), and the third one was selected from the feature amounts of the samples that were determined to be non-defective products near the boundary and defective products near the boundary. This is a method of calculating the feature amount by averaging the magnitude and direction of the vector. As an averaging method, the distance and the direction from the origin of the feature amount can be synthesized at the same ratio, and for example, they can be synthesized at a ratio of 1/2. By generating a pseudo sample having such a feature amount, it is possible to increase the number of pseudo samples near the boundary between the non-defective product and the defective product (see step S008 in FIG. 2).

以上のサイクルを擬似サンプルの数がN個以上になるまで繰返す。その結果、図5(d)の特徴量空間における擬似サンプル増加後の良否結果を示す図に示すように、良品と不良品の境界付近のサンプルが多くなる。そして、擬似サンプルの生成に用いた良品、不良品の判定結果は人が判定した結果であるため、生成後の擬似サンプルの良品、不良品の判定結果も人が判定した結果に近くなり、人の判断に近い境界線として破線で示すような良品、不良品の境界線を精度よく決めることができる。   The above cycle is repeated until the number of pseudo samples reaches N or more. As a result, as shown in the diagram showing the pass / fail result after the pseudo sample increase in the feature amount space in FIG. 5D, the number of samples near the boundary between the non-defective product and the defective product increases. And since the determination result of the non-defective product and the defective product used for the generation of the pseudo sample is a result determined by the person, the determination result of the non-defective product and the defective product of the generated pseudo sample is close to the result of the human determination. It is possible to accurately determine a boundary line between a non-defective product and a defective product as indicated by a broken line as a boundary line close to the above determination.

最後に、発生した擬似サンプルを全て再度表示し、パターン認識学習システムでそれを検出する(図2のステップS009参照)。
パターン認識学習システムでは、このように作成した擬似サンプルを用いて学習を行う。
Finally, all the generated pseudo samples are displayed again and detected by the pattern recognition learning system (see step S009 in FIG. 2).
In the pattern recognition learning system, learning is performed using the pseudo sample created in this way.

なお、本実施の形態において、特徴量を面積と体積の2次元で説明したが、特に2次元に限定するものではなく、m次元としてもよい。このとき、m個の正規化した特徴量をyji(j=1,2,…,m、i=1,2,…,n)として2、3は次式(式9)、(式10)で表される。 In the present embodiment, the feature amount has been described in two dimensions of area and volume. However, the feature amount is not particularly limited to two dimensions, and may be m dimensions. In this case, m-number of yji a normalized feature value (j = 1,2, ..., m , i = 1,2, ..., n) Equation 2 as Formula 3 is expressed by the following equation (Equation 9), (formula 10).

Figure 0005441728
Figure 0005441728

Figure 0005441728


なお、本実施の形態において、初期サンプルの特徴量を生成時の原点からの距離を一定値aとして生成したが、定める距離にある程度の範囲のばらつきを持たせても良い。そうすることで、擬似サンプル生成時に異なるマハラノビス距離のサンプルを発生させやすくなる。
Figure 0005441728


In this embodiment, the initial sample feature amount is generated with the distance from the origin at the time of generation as a constant value a. However, the determined distance may have a certain range of variation. By doing so, it becomes easy to generate samples of different Mahalanobis distances when generating pseudo samples.

以下、図1(b),図7を用いて学習装置及び学習方法について説明する。
図1(b)において、検出部11は実サンプルや擬似サンプル発生装置または擬似サンプル発生方法で生成した画像や音声を取得するもので、CCDカメラやマイクロフォンなどが用いられる。特徴量抽出部12は検出部11で取得した画像や音声から特徴量を抽出して、特徴量空間作成部13に出力する。特徴量空間作成部13は特徴量の分布を基に正規化や座標変換を行い、特徴量空間を作成し、特徴量空間記憶部15で特徴量空間の座標系を記憶する。また、特徴量空間作成部13で抽出した擬似サンプルの特徴量をSVM(support−vector−machine)判定部16に出力する。また、判定入力部14は、作成した擬似サンプルを人が良否判定した結果を入力する。特徴量空間記憶部15は、特徴量空間作成部13から入力された特徴量の値と、それに対応する判定入力部14から入力された判定結果をセットで記憶する。SVM判定部16に入力された擬似サンプルの特徴量空間からSVM解析を実施し、作成された擬似サンプルを機械的に良否判定する。判定比較部17は、判定入力部14での人が行った判定結果とSVM判定部16の機械的な判定結果を判定比較部17で比較し、良否判定が異なる擬似サンプルのみを再判定入力部18に読み出し、再度、人が良否判定を行う。
Hereinafter, the learning apparatus and the learning method will be described with reference to FIGS.
In FIG. 1B, a detection unit 11 acquires an image or sound generated by a real sample, a pseudo sample generation device, or a pseudo sample generation method, and a CCD camera, a microphone, or the like is used. The feature quantity extraction unit 12 extracts a feature quantity from the image or sound acquired by the detection unit 11 and outputs the feature quantity to the feature quantity space creation unit 13. The feature amount space creation unit 13 performs normalization and coordinate conversion based on the feature amount distribution, creates a feature amount space, and the feature amount space storage unit 15 stores the coordinate system of the feature amount space. Further, the feature amount of the pseudo sample extracted by the feature amount space creation unit 13 is output to an SVM (support-vector-machine) determination unit 16. In addition, the determination input unit 14 inputs a result of whether a person has determined whether the created pseudo sample is good or bad. The feature amount space storage unit 15 stores the feature amount value input from the feature amount space creation unit 13 and the determination result input from the corresponding determination input unit 14 as a set. The SVM analysis is performed from the feature amount space of the pseudo sample input to the SVM determination unit 16, and the created pseudo sample is mechanically determined as pass / fail. The determination comparison unit 17 compares the determination result made by the person in the determination input unit 14 with the mechanical determination result of the SVM determination unit 16 in the determination comparison unit 17, and re-determination input unit only the pseudo samples having different pass / fail determinations 18 is read again, and the person makes a pass / fail judgment again.

ここで、再度、人が良否判定を行った結果が良品だった場合について考える。重み付け処理部19において、再判定した良品の擬似サンプルの特徴量空間上の点Pと、不良品(再判定した良否と反対の良否結果)の判定空間群の重心点Oとを直線で結び、その直線とSVM解析の良否判定空間の境界線との交点をQとして、線分OQの長さをL1とし、線分QPの長さをL2とした場合、その2つの線分の長さに応じてM×L2/L1(Mは重み係数)の点数だけ、再判定した良品の擬似サンプルの特徴量に重み付けをする。そして、再度SVM判定部16に良否判定結果が入力され、SVM解析が実施され、判定比較部17でSVM判定部16の判定結果と再判定入力部18の判定結果が相違無いかを確認する。もし不一致があれば、一致するまで繰り返し同様の処理をする。学習した擬似サンプルの判定結果が、SVM判定部16と再判定入力部18で同じになれば、良否空間出力部20に学習された良否空間が出力される。実際の検査は、この作成された良否空間を用いて行われ、実サンプルの特徴量からその良否を判定し、検査結果を教示する。   Here, consider again the case where the result of the person's determination of pass / fail is a non-defective product. In the weighting processing unit 19, the point P on the feature amount space of the re-determined non-defective product pseudo-sample and the barycentric point O of the determination space group of the non-defective product (good / bad result opposite to the re-determined quality) are connected with a straight line, When the intersection of the straight line and the boundary line of the SVM analysis pass / fail judgment space is Q, the length of the line segment OQ is L1, and the length of the line segment QP is L2, the length of the two line segments is Accordingly, the feature amount of the re-determined non-defective sample is weighted by the number of M × L2 / L1 (M is a weighting factor). Then, the pass / fail determination result is input again to the SVM determination unit 16, the SVM analysis is performed, and the determination comparison unit 17 checks whether the determination result of the SVM determination unit 16 and the determination result of the redetermination input unit 18 are different. If there is a mismatch, the same processing is repeated until they match. If the determination result of the learned pseudo sample becomes the same in the SVM determination unit 16 and the redetermination input unit 18, the learned pass / fail space is output to the pass / fail space output unit 20. The actual inspection is performed using the created pass / fail space, and the pass / fail is determined from the feature quantity of the actual sample and the inspection result is taught.

図7は、本発明の実施の形態1におけるパターン認識学習方法の流れを示すフローチャートである。
図7に示すように、はじめに、検出部11に擬似サンプル作成部6で作成された擬似サンプルを読み出す(ステップS011)。次に、特徴量抽出部12において各サンプルから特徴量を抽出する(ステップS012)。そして、特徴量空間作成部13において各サンプルの特徴量を特徴量空間上にマッピングして、特徴量空間記憶部15でそれを記憶する(ステップS013)。次に、読み込んだ擬似サンプルを熟練した検査員や品質保証の責任者等が良否判定を行い、判定入力部14にその結果を入力する(ステップS014)。続いて、擬似サンプルから抽出した特徴量をSVM判定部16に入力してSVM解析する(ステップS015)。判定比較部17で擬似サンプル毎にステップS014で行った人の判定結果とSVMの判定結果とを比較する(ステップS016)。その判定結果が異なる場合(誤判定が含まれた場合)、誤判定された擬似サンプルを再度判定し見直す。ここで、誤判定の場合とは、人が良品と判断したものが、SVM解析の結果、不良品と判断される「過検出」の場合と、人が不良品と判断したものが、SVM解析の結果、良品と判断される「見逃し」の場合との2通りの場合である。その際、判定結果に対して重み付け処理部において特徴量空間に再判定結果の重み付けを持たせる(ステップS017)。さらに同様の処理を繰り返し、誤判定が無くなれば、人の判断と同じ良否空間ができ上がることによって検査に用いる境界線が明確となり、実サンプルの検査に移行することが可能となる(ステップS018)。
FIG. 7 is a flowchart showing the flow of the pattern recognition learning method according to Embodiment 1 of the present invention.
As shown in FIG. 7, first, the pseudo sample created by the pseudo sample creation unit 6 is read out to the detection unit 11 (step S011). Next, the feature amount extraction unit 12 extracts a feature amount from each sample (step S012). The feature amount space creation unit 13 maps the feature amount of each sample on the feature amount space, and stores it in the feature amount space storage unit 15 (step S013). Next, a skilled inspector or a quality assurance manager or the like performs a quality judgment on the read pseudo sample, and inputs the result to the judgment input unit 14 (step S014). Subsequently, the feature amount extracted from the pseudo sample is input to the SVM determination unit 16 to perform SVM analysis (step S015). The determination comparison unit 17 compares the determination result of the person made in step S014 with the determination result of SVM for each pseudo sample (step S016). If the determination results are different (including erroneous determination), the erroneously determined pseudo sample is determined again and reviewed. Here, in the case of erroneous determination, a case where a person has determined that the product is a non-defective product is an “overdetection” that is determined to be a defective product as a result of SVM analysis, and a case where a person has determined that the product is defective is a SVM analysis. As a result, there are two cases of “missing” which is judged as a non-defective product. At that time, the weighting processing unit assigns the weight of the redetermination result to the feature amount space with respect to the judgment result (step S017). Further, if the same processing is repeated and there is no erroneous determination, the same pass / fail space as the human judgment is created, so that the boundary line used for the inspection becomes clear and it is possible to shift to the inspection of the actual sample (step S018).

以上の説明では、SVM判定を行う場合を例に説明したが、判定方法は特定されるものではなく、機械的な良否判定を行うその他の判定手段を用いることができる。
次に、図3に示したLCDの例を用いて本実施の形態の動作を説明する。
In the above description, the case of performing SVM determination has been described as an example, but the determination method is not specified, and other determination means for performing mechanical pass / fail determination can be used.
Next, the operation of this embodiment will be described using the example of the LCD shown in FIG.

はじめに、LCD画面の擬似サンプルを作成し、その画像を読み込む(図7のステップS011参照)。
次に、図4を用いて説明した画像処理を施し、特徴量を抽出する。この場合は、LCD画面上のシミを検出する。シミの最大輝度値と面積を特徴として抽出する(図7のステップS012参照)。次に、図8に示すように、特徴量空間上に作成した擬似サンプルをマッピングする(図7のステップS013参照)。図8は本発明の実施の形態1における特徴量空間マッピングを例示する図である。
First, a pseudo sample of the LCD screen is created and the image is read (see step S011 in FIG. 7).
Next, the image processing described with reference to FIG. 4 is performed to extract feature amounts. In this case, a spot on the LCD screen is detected. The maximum brightness value and area of the spot are extracted as features (see step S012 in FIG. 7). Next, as shown in FIG. 8, the pseudo sample created on the feature amount space is mapped (see step S013 in FIG. 7). FIG. 8 is a diagram illustrating feature amount space mapping in Embodiment 1 of the present invention.

次に、熟練した検査員や品質保証の責任者等がマッピングされた擬似サンプルの良否判定を行う(図7のステップS014参照)。図9は本発明の実施の形態1における特徴量空間上の擬似サンプルを人が判定した結果を例示する図であり、人が良否判定した結果を示す。次に、同じくマッピングされた擬似サンプルに対してSVM解析により判定をする(図7のステップS015参照)。図10の本発明の実施の形態1における特徴量空間上のSVMの判定結果を例示する図に示すように、SVM解析結果より、良否判定の境界線を設定できる。次に、人の良否判定結果とSVMの良否判定結果とを比較し、誤判定サンプルを出力する(図7のステップS016参照)。次に、図11に示すように、再判定した見逃しの擬似サンプルの点Pと、不良品(再判定した点Pと反対の良否内容)の判定空間群の重心点Oとを直線で結び、その直線とSVM解析の良否判定空間の境界線との交点をQとして、線分OQの長さをL1とし、線分QPの長さをL2とした場合の誤判定点Pが良否境界からどれだけ離れているかを定量化すると、定量化した距離変数Xは、次式(式11)となる。   Next, the quality of the pseudo sample to which a skilled inspector, a person in charge of quality assurance, etc. are mapped is determined (see step S014 in FIG. 7). FIG. 9 is a diagram illustrating the result of the person determining the pseudo sample on the feature amount space in the first embodiment of the present invention, and shows the result of the person determining the quality. Next, the same pseudo sample mapped is determined by SVM analysis (see step S015 in FIG. 7). As shown in the diagram illustrating the determination result of SVM in the feature amount space in the first embodiment of the present invention in FIG. Next, the pass / fail determination result of the person and the pass / fail determination result of the SVM are compared, and an erroneous determination sample is output (see step S016 in FIG. 7). Next, as shown in FIG. 11, the point P of the re-determined missed pseudo sample and the barycentric point O of the determination space group of the defective product (good or bad content opposite to the re-determined point P) are connected with a straight line, The intersection of the straight line and the boundary line of the SVM analysis pass / fail judgment space is Q, the length of the line segment OQ is L1, and the length of the line segment QP is L2, how much the misjudgment point P is from the pass / fail boundary. When the distance is quantified, the quantified distance variable X is expressed by the following formula (formula 11).

Figure 0005441728


ここで、重み付けする点数Yは、次式(式12)となる。
Figure 0005441728


Here, the weighted score Y is expressed by the following formula (formula 12).

Figure 0005441728
ここで、Mは重み係数で、任意の定数とする。つまり、誤判定された擬似サンプルの特徴量に重み付けを付加することにより、再判定した結果の内容を同じ特徴量空間上にY点の数分追加して、擬似サンプルを特徴量空間上で増加させる。すなわち、再判定された擬似サンプルが1つ存在し、この擬似サンプルに重み付けする点数Yが3となった場合、合計で4つの擬似サンプルが生成されることになる。そのため、重み付けを行うことにより、特徴量空間上での擬似サンプルが3つ増加することになる。
Figure 0005441728
Here, M is a weighting factor, and is an arbitrary constant. In other words, erroneous by the addition of only weighted the feature value of the determined pseudo sample, add a few minutes of Y point the contents of the re-determination result to the same feature quantity space, feature space on the pseudo sample Increase with. That is, when there is one re-determined pseudo sample and the number Y of points for weighting this pseudo sample is 3, a total of four pseudo samples are generated. Therefore, by performing weighting, three pseudo samples on the feature amount space are increased.

このように、機械的に擬似サンプルを追加してもSVMの判定が正しく行え、人の手で故意に学習するための擬似サンプルを新たに追加することなく、良否の境界線を算出することができる(図7のステップS017参照)。図11の場合(見逃しの誤判定が存在する場合)は、再度、SVM解析を行い、人とSVMの判定が完全に一致するまで繰り返し、誤判定が無くなれば、そこで人の判断が反映された境界線を有する良否空間が完成する。そして、その特徴量空間を用いて、実サンプルのパターン認識を行って良否判定検査を実施する。   As described above, even if a pseudo sample is mechanically added, the determination of the SVM can be performed correctly, and the boundary line of good / bad can be calculated without newly adding a pseudo sample for intentional learning by human hands. Yes (see step S017 in FIG. 7). In the case of FIG. 11 (when there is a misjudgment of an oversight), the SVM analysis is performed again, and repeated until the person and SVM judgments completely match. If there is no misjudgment, the judgment of the person is reflected there. A pass / fail space with a boundary is completed. Then, using the feature amount space, pattern recognition of an actual sample is performed, and a pass / fail judgment inspection is performed.

このように、特徴量空間の原点からマハラノビス距離に分布する初期サンプルを用いて、良否判定基準となる良否判定の境界線を学習することにより、境界付近の初期サンプルのみを用いて学習することができるため、少ない学習用のサンプルで最適な良否判定基準を定めることができる。   In this way, by using the initial samples distributed at the Mahalanobis distance from the origin of the feature amount space, learning the pass / fail judgment boundary line that becomes the pass / fail judgment criterion, it is possible to learn using only the initial sample near the boundary. Therefore, it is possible to determine an optimal quality determination criterion with a small number of learning samples.

また、擬似サンプルを用いて学習する際に、誤判定をした擬似サンプルに重み付けを付加することにより、新たに人の手で擬似サンプルを追加することなく、機械的な判定工程において、誤判定をした擬似サンプルの判定を再度行うことができるため、少ない学習用のサンプルで最適な良否判定基準を定めることができる。   In addition, when learning using a pseudo sample, by adding a weight to a false sample that has been erroneously determined, erroneous determination may be performed in a mechanical determination step without newly adding a pseudo sample by a human hand. Since the determination of the pseudo sample that has been performed can be performed again, it is possible to determine an optimal quality determination criterion with a small number of learning samples.

また、以上の説明では、以上の処理を両方行う場合を例に説明したが、いずれか一方のみを行うだけでも、少ない学習用のサンプルで最適な良否判定基準を定めることができる。
(実施の形態2)
次に、図12を用いて実施の形態2における官能検査装置及び官能検査方法の実施の形態1に対して異なる特徴を説明する。
In the above description, the case where both of the above processes are performed has been described as an example. However, even if only one of the above processes is performed, it is possible to determine an optimal quality determination criterion with a small number of learning samples.
(Embodiment 2)
Next, features different from the first embodiment of the sensory test apparatus and sensory test method according to the second embodiment will be described with reference to FIG.

図12は、本発明の実施の形態2の特徴量空間を示す図である。図12において、図5と同じ構成要素については同じ符号を用い、説明を省略する。
図12(a)は初期サンプルの特徴量である。初期サンプルを選択する際に、実施の形態1においては、原点からの距離がaとなる初期サンプルを選択し、方向はランダムとしたが、本発明の実施の形態2では、原点からの距離がaで、互いの間隔が等間隔となる初期サンプルを選択する。
FIG. 12 is a diagram showing a feature amount space according to the second embodiment of the present invention. 12, the same components as those in FIG. 5 are denoted by the same reference numerals, and the description thereof is omitted.
FIG. 12A shows the feature amount of the initial sample. In selecting the initial sample, in the first embodiment, the initial sample whose distance from the origin is a is selected and the direction is random, but in the second embodiment of the present invention, the distance from the origin is In a, an initial sample whose intervals are equal to each other is selected.

図12(b)において、初期サンプルの判定結果を示す。
図12(c)は、擬似サンプル特徴量生成部10で特徴量を生成する方法を示す図である。ここで、実施の形態2では原点からの直線に沿って新たな擬似サンプルを生成するが、判定結果が良品であれば原点に遠い位置に、不良品であれば原点に近い位置に新たな擬似サンプルを生成する。
FIG. 12B shows the determination result of the initial sample.
FIG. 12C is a diagram illustrating a method for generating a feature value by the pseudo sample feature value generation unit 10. Here, in the second embodiment, a new pseudo sample is generated along a straight line from the origin. If the determination result is a non-defective product, a new pseudo sample is created at a position far from the origin. Generate a sample.

そして、完了条件として、実施の形態1では擬似サンプルの個数を超えるまで繰り返したが、実施の形態2では、境界付近の良品、境界付近の不良品を検出するまで繰返すことを特徴とする。この時の擬似サンプルの分布を図12(d)の特徴量空間における擬似サンプル増加後の良否結果を示す図に例示する。   The completion condition is repeated until the number of pseudo samples is exceeded in the first embodiment, but the second embodiment is characterized by repeating until a non-defective product near the boundary and a defective product near the boundary are detected. The distribution of the pseudo samples at this time is illustrated in the figure showing the quality results after the pseudo samples increase in the feature amount space of FIG.

ここで説明した以外の処理は、実施の形態1と同様であるので説明を省略する。
本発明の実施の形態2における官能検査装置及び方法では、乱数を使用せず、個数ではなく実際に境界付近の良否結果を検出するまで擬似サンプルを生成するため、無駄なサンプルを減らしながら、より正確に少ない学習用のサンプルで最適な良否判定基準を定めることができる。
Since the processes other than those described here are the same as those in the first embodiment, description thereof will be omitted.
In the sensory inspection apparatus and method according to Embodiment 2 of the present invention, a random sample is not used, and a pseudo sample is generated until a pass / fail result near the boundary is actually detected instead of the number. It is possible to determine an optimum pass / fail judgment criterion with a small number of learning samples.

本発明は、正確に少ない学習用のサンプルで最適な良否判定基準を定めることができ、ディスプレイの目視検査や各種機械の異音検査などを自動で検査する官能検査装置及び官能検査方法等に有用である。   INDUSTRIAL APPLICABILITY The present invention can accurately determine pass / fail judgment criteria with a small number of learning samples, and is useful for sensory inspection apparatuses and sensory inspection methods that automatically inspect visual inspection of displays and abnormal sound inspection of various machines. It is.

1 良品データ入力部
2 特徴量抽出部
3 特徴量空間作成部
4 特徴量空間記憶部
5 初期サンプル特徴量生成部
6 擬似サンプル作成部
7 乱数発生部
8 擬似サンプル表示部
9 判定入力部
10 擬似サンプル特徴量生成部
11 検出部
12 特徴量抽出部
13 特徴量空間作成部
14 判定入力部
15 特徴量空間記憶部
16 SVM判定部
17 判定比較部
18 再判定入力部
19 重み付け処理部
20 良否空間出力部
21 良品画像入力部
22 平均画像作成部
23 特徴量入力部
24 特徴量変換部
25 乱数入力部
26 パラメータ決定部
27 画像合成部
101 ニューラルネットワーク
102 良品画像入力部
104 不良画像抽出部
105 擬似データ条件設定部
106 擬似不良画像作成部
107 前処理部
108 差分データ
109 乱数発生部
DESCRIPTION OF SYMBOLS 1 Good product data input part 2 Feature quantity extraction part 3 Feature quantity space creation part 4 Feature quantity space storage part 5 Initial sample feature quantity generation part 6 Pseudo sample creation part 7 Random number generation part 8 Pseudo sample display part 9 Judgment input part 10 Pseudo sample Feature amount generation unit 11 Detection unit 12 Feature amount extraction unit 13 Feature amount space creation unit 14 Determination input unit 15 Feature amount space storage unit 16 SVM determination unit 17 Determination comparison unit 18 Re-determination input unit 19 Weighting processing unit 20 Pass / fail space output unit DESCRIPTION OF SYMBOLS 21 Good product image input part 22 Average image creation part 23 Feature-value input part 24 Feature-value conversion part 25 Random-number input part 26 Parameter determination part 27 Image composition part 101 Neural network 102 Good-quality image input part 104 Defective image extraction part 105 Pseudo-data condition setting Unit 106 Pseudo-defective image creation unit 107 Pre-processing unit 108 Difference data 109 Random Generating unit

Claims (14)

擬似サンプルを作成する擬似サンプル作成部と、
前記擬似サンプルに対して人が判定した良否結果を入力する判定入力部と、
前記判定入力部で入力された良否結果から良品と不良品との境界付近の特徴量を生成して前記擬似サンプルの特徴量とする擬似サンプル特徴量生成部と、
前記擬似サンプル作成部で作成した擬似サンプルの特徴量から良品と不良品の境界線を作成してSVM解析による良否判定を行うSVM判定部と、
前記判定入力部での良否結果と前記SVM判定部での良否結果とを比較する判定比較部と、
前記判定比較部で良否結果が異なる擬似サンプルに対して人が再判定した良否結果を入力する再判定入力部と、
前記再判定入力部で入力された良否結果に対して、前記SVM判定部で作成した境界線からの距離に応じた重み付けを付加してサンプルを追加する重み付け処理部と、
前記重み付け処理部で追加されたサンプルを加えて良否判定を行う官能検査部と
を有することを特徴とする官能検査装置。
A pseudo sample creation unit for creating a pseudo sample;
A determination input unit for inputting a pass / fail result determined by a person with respect to the pseudo sample;
A pseudo sample feature value generation unit that generates a feature value in the vicinity of a boundary between a non-defective product and a defective product from the pass / fail result input by the determination input unit, and sets the feature value of the pseudo sample as a feature value;
An SVM determination unit that creates a boundary line between a non-defective product and a defective product from the feature amount of the pseudo sample created by the pseudo sample creation unit, and performs pass / fail judgment by SVM analysis;
A determination comparison unit that compares the pass / fail result in the determination input unit with the pass / fail result in the SVM determination unit;
A re-determination input unit that inputs a pass / fail result that a person re-determines for a pseudo sample having a different pass / fail result in the determination comparison unit;
A weighting processing unit for adding a sample by adding a weight according to the distance from the boundary line created by the SVM determination unit to the pass / fail result input by the redetermination input unit;
A sensory test apparatus, comprising: a sensory test unit that adds a sample added by the weighting processing unit and performs pass / fail determination.
良品サンプルの良品データを入力する良品データ入力部と、
前記良品データから抽出された特徴量を、特徴量空間の原点からの距離がマハラノビス距離となるように変換した特徴量に変換する特徴量空間作成部と、
特徴量空間の原点からの距離が一定値となるような初期サンプルを生成し、前記初期サンプルから擬似サンプルを作成する初期サンプル生成部と
を有することを特徴とする請求項1記載の官能検査装置。
A non-defective product data input unit for inputting non-defective product data.
A feature amount space creating unit that converts the feature amount extracted from the non-defective product data into a feature amount converted so that the distance from the origin of the feature amount space becomes the Mahalanobis distance;
The sensory test apparatus according to claim 1, further comprising: an initial sample generating unit that generates an initial sample such that a distance from the origin of the feature amount space has a constant value, and generates a pseudo sample from the initial sample. .
前記初期サンプルは、特徴量空間の原点からの距離が一定値±10%以内であること
を特徴とする請求項2記載の官能検査装置。
The sensory test apparatus according to claim 2, wherein the initial sample has a distance from the origin of the feature amount space within a certain value ± 10%.
前記初期サンプルは、特徴量空間の原点からの距離が2〜5の間であること
を特徴とする請求項3記載の官能検査装置。
The sensory test apparatus according to claim 3, wherein the initial sample has a distance from the origin of the feature space between 2 and 5.
前記判定入力部で入力される良否結果が、良品、境界線付近の良品、境界線付近の不良品、不良品の4段階に分かれていること
を特徴とする請求項1〜請求項4のいずれかに記載の官能検査装置。
5. The quality determination result input in the determination input unit is divided into four stages: a non-defective product, a non-defective product near the boundary line, a defective product near the boundary line, and a defective product. Sensory inspection device according to crab.
前記擬似サンプルは、前記判定入力部で良否判定したサンプルの結果に基づいて、良品サンプルの特徴量のマハラノビス距離を小さくする方法、不良品サンプルの特徴量のマハラノビス距離を大きくする方法、境界線付近の良品サンプルまたは境界線付近の不良品サンプルのうち2つのサンプルの特徴量の原点からの距離と方向を同じ比率で合成する方法、のいずれかで作成されること
を特徴とする請求項5記載の官能検査装置。
The pseudo sample is a method of reducing the Mahalanobis distance of the feature quantity of the non-defective sample, a method of increasing the Mahalanobis distance of the feature quantity of the non-defective sample, based on the result of the sample judged to be good or bad by the judgment input unit, near the boundary line 6. The method according to claim 5, wherein the non-defective sample or the defective sample near the boundary line is synthesized by a method of synthesizing the distance and direction from the origin of the feature amount of two samples at the same ratio. Sensory test equipment.
境界線付近の良品サンプルまたは境界線付近の不良品サンプルのうち2つのサンプルの特徴量の特徴量空間の原点からの距離と方向を合成する比率が1/2ずつであること
を特徴とする請求項6記載の官能検査装置。
The ratio of combining the distance and the direction from the origin of the feature amount space of the feature amount of two samples of the non-defective sample near the boundary line or the defective sample near the boundary line is 1/2 each. Item 6. The sensory test apparatus according to Item 6.
擬似サンプルを作成する擬似サンプル作成工程と、
前記擬似サンプルに対して人が判定したときの良否結果を入力する判定入力工程と、
前記判定入力工程で入力された良否結果から良品と不良品との境界付近の特徴量を生成して前記擬似サンプルの特徴量とする擬似サンプル特徴量生成工程と、
前記擬似サンプルの特徴量から良品と不良品の境界線を作成するSVM解析により良否判定をするSVM判定工程と、
前記判定入力工程と前記SVM判定工程の結果を比較する判定比較工程と、
前記判定比較工程で良否判定が異なる擬似サンプルに対して人が再判定した良否結果を入力する再判定入力工程と、
前記再判定入力工程で入力された結果に対して、前記SVM判定工程で作成した境界線からの距離に応じた重み付けを付加して擬似サンプルを追加する重み付け処理工程と、
前記重み付け処理工程で追加されたサンプルを加えて良否判定を行う官能検査工程と
を有することを特徴とする官能検査方法。
A pseudo sample creation process for creating a pseudo sample;
A determination input step of inputting a pass / fail result when a person determines the pseudo sample;
A pseudo sample feature value generating step for generating a feature value in the vicinity of a boundary between a non-defective product and a defective product from the pass / fail result input in the determination input step to be a feature value of the pseudo sample;
An SVM determination step for determining pass / fail by SVM analysis for creating a boundary line between a non-defective product and a defective product from the feature amount of the pseudo sample;
A determination comparison step for comparing the results of the determination input step and the SVM determination step;
A re-judgment input step for inputting a pass / fail result re-determined by a person for a pseudo sample having a different pass / fail judgment in the judgment comparison step;
A weighting process step of adding a pseudo sample by adding a weight according to the distance from the boundary line created in the SVM determination step to the result input in the redetermination input step;
A sensory test method comprising: a sensory test step of performing pass / fail judgment by adding the sample added in the weighting process step .
良品サンプルの良品データを入力する良品データ入力工程と、
前記良品データから抽出された特徴量を、特徴量空間の原点からの距離がマハラノビス距離となるように変換した特徴量に変換する特徴量空間作成工程と、
特徴量空間の原点からの距離が一定値となるような初期サンプルを生成し、前記初期サンプルから擬似サンプルを作成する初期サンプル生成工程と
を有することを特徴とする請求項記載の官能検査方法。
A non-defective product data input process for inputting non-defective product data.
A feature amount space creating step for converting the feature amount extracted from the non-defective product data into a feature amount converted so that the distance from the origin of the feature amount space becomes the Mahalanobis distance;
9. The sensory inspection method according to claim 8 , further comprising an initial sample generation step of generating an initial sample such that a distance from the origin of the feature amount space has a constant value, and generating a pseudo sample from the initial sample. .
前記初期サンプルは、特徴量空間の原点からの距離が一定値±10%以内であること
を特徴とする請求項記載の官能検査方法。
The sensory inspection method according to claim 9 , wherein the initial sample has a distance from the origin of the feature amount space within a certain value ± 10%.
前記初期サンプルは、特徴量空間の原点からの距離が2〜5の間であること
を特徴とする請求項1記載の官能検査方法。
The initial sample, the functional inspection method according to claim 1 0, wherein the distance from the origin of the feature space is between 2-5.
前記判定入力工程で入力される良否結果が、良品、境界線付近の良品、境界線付近の不良品、不良品の4段階に分かれていること
を特徴とする請求項8〜請求項1のいずれかに記載の官能検査方法。
The decision input step quality results input by the non-defective, the vicinity of the boundary line good, defective near the boundary line, of claim 8 according to claim 1 1, characterized in that is divided into four stages of the defective The sensory test method according to any one of the above.
前記擬似サンプルは、前記判定入力工程で判定したサンプルの結果に基づいて、良品サンプルの特徴量のマハラノビス距離を小さくする方法、不良品サンプルの特徴量のマハラノビス距離を大きくする方法、境界線付近の良品または境界線付近の不良品サンプルのうち2つのサンプルの特徴量の原点からの距離と方向を同じ比率で合成する方法、のいずれかで作成されること
を特徴とする請求項1記載の官能検査方法。
The pseudo sample is a method of reducing the Mahalanobis distance of the feature amount of the non-defective sample, a method of increasing the Mahalanobis distance of the feature amount of the defective sample based on the result of the sample determined in the determination input step, methods for synthesizing the distance and direction from the feature amounts of the origin of the two samples in the same proportion of defective samples in the vicinity of the non-defective or boundary, of claim 1 2, wherein the created either Sensory inspection method.
境界線付近の良品または境界線付近の不良品サンプルのうち2つのサンプルの特徴量の原点からの距離と方向を合成する比率が1/2ずつであること
を特徴とする請求項1記載の官能検査方法。
According to claim 1 3, wherein the ratio of synthesizing the distance and direction from the feature amounts of the origin of the two samples of the defective samples in the vicinity of the non-defective or border in the vicinity of the boundary line is equal to or is halves Sensory inspection method.
JP2010006340A 2010-01-15 2010-01-15 Sensory inspection device and sensory inspection method Expired - Fee Related JP5441728B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010006340A JP5441728B2 (en) 2010-01-15 2010-01-15 Sensory inspection device and sensory inspection method
CN201010592037.XA CN102129563B (en) 2010-01-15 2010-12-10 Sensory testing device and sensory testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010006340A JP5441728B2 (en) 2010-01-15 2010-01-15 Sensory inspection device and sensory inspection method

Publications (2)

Publication Number Publication Date
JP2011145179A JP2011145179A (en) 2011-07-28
JP5441728B2 true JP5441728B2 (en) 2014-03-12

Family

ID=44267643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010006340A Expired - Fee Related JP5441728B2 (en) 2010-01-15 2010-01-15 Sensory inspection device and sensory inspection method

Country Status (2)

Country Link
JP (1) JP5441728B2 (en)
CN (1) CN102129563B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110214271A (en) * 2017-01-19 2019-09-06 株式会社岛津制作所 Analyze data analysis method and analysis data analysis device

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5928050B2 (en) * 2012-03-22 2016-06-01 住友電気工業株式会社 Error determination apparatus, computer program, and error determination method
CN102778355B (en) * 2012-08-07 2015-05-20 北京交通大学 Rolling bearing state identification method based on empirical mode decomposition (EMD) and principal component analysis (PCA)
CN102853991B (en) * 2012-08-28 2015-11-25 珠海格力电器股份有限公司 A kind of air-condition heat exchanger elbow joins method on-line automatic detection device
JP6999150B2 (en) * 2017-03-28 2022-01-18 株式会社 東京ウエルズ Work inspection result judgment method
JP2019039727A (en) * 2017-08-23 2019-03-14 富士通株式会社 Image inspection device, method for inspecting image, and image inspection program
JP6731603B1 (en) * 2019-03-01 2020-07-29 株式会社安川電機 Inspection system
JP7229338B2 (en) * 2019-03-29 2023-02-27 Musashi AI株式会社 Inspection device and inspection method
JP2021128406A (en) * 2020-02-12 2021-09-02 株式会社モルフォ Analyzer and analyzing method
JP7289427B2 (en) * 2020-02-28 2023-06-12 株式会社Pros Cons Program, information processing method and information processing apparatus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3312157B2 (en) * 1994-09-30 2002-08-05 オムロン株式会社 Defect inspection apparatus and method
JP2001307100A (en) * 2000-04-24 2001-11-02 Toshiba Corp Inspection method and inspection device
JP3909483B2 (en) * 2000-11-10 2007-04-25 財団法人日本塗料検査協会 Method for creating standard image for coating film defect evaluation, recording medium recording the program, and recording medium recording the created standard image
JP2005156334A (en) * 2003-11-25 2005-06-16 Nec Tohoku Sangyo System Kk Pseudo defective image automatic creation device and imaging inspection device
JP2006105943A (en) * 2004-10-08 2006-04-20 Omron Corp Device for creating knowledge, parameter retrieving method, and program product
JP4431988B2 (en) * 2005-07-15 2010-03-17 オムロン株式会社 Knowledge creating apparatus and knowledge creating method
JP4635967B2 (en) * 2006-06-19 2011-02-23 株式会社デンソー Goods quality judgment device and quality judgment method using time series signal
JP5081590B2 (en) * 2007-11-14 2012-11-28 株式会社日立ハイテクノロジーズ Defect observation classification method and apparatus
JP5218084B2 (en) * 2009-01-19 2013-06-26 パナソニック株式会社 Inspection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110214271A (en) * 2017-01-19 2019-09-06 株式会社岛津制作所 Analyze data analysis method and analysis data analysis device

Also Published As

Publication number Publication date
JP2011145179A (en) 2011-07-28
CN102129563B (en) 2014-11-12
CN102129563A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
JP5441728B2 (en) Sensory inspection device and sensory inspection method
JP6936957B2 (en) Inspection device, data generation device, data generation method and data generation program
JP6924413B2 (en) Data generator, data generation method and data generation program
CN110619618B (en) Surface defect detection method and device and electronic equipment
JP7004145B2 (en) Defect inspection equipment, defect inspection methods, and their programs
CN107133948B (en) Image blurring and noise evaluation method based on multitask convolution neural network
JP5546317B2 (en) Visual inspection device, visual inspection discriminator generation device, visual inspection discriminator generation method, and visual inspection discriminator generation computer program
WO2019117065A1 (en) Data generation device, data generation method and data generation program
JP5764238B2 (en) Steel pipe internal corrosion analysis apparatus and steel pipe internal corrosion analysis method
CN114549522A (en) Textile quality detection method based on target detection
JP6798619B2 (en) Information processing equipment, information processing programs and information processing methods
JP2012026982A (en) Inspection device
JP2017049974A (en) Discriminator generator, quality determine method, and program
JP2016115331A (en) Identifier generator, identifier generation method, quality determination apparatus, quality determination method and program
CN113095438A (en) Wafer defect classification method and device, system, electronic equipment and storage medium thereof
US20220300809A1 (en) Data generation system, learning apparatus, data generation apparatus, data generation method, and computer-readable storage medium storing a data generation program
JP2008076167A (en) Method of inspecting surface state of object by image processing, and image processing program for it
JP5218084B2 (en) Inspection method
JP7393313B2 (en) Defect classification device, defect classification method and program
CN111582359A (en) Image identification method and device, electronic equipment and medium
WO2019176989A1 (en) Inspection system, discrimination system, and learning data generator
CN115830004A (en) Surface defect detection method, device, computer equipment and storage medium
JP2020106461A (en) Image generation device and appearance inspection device
CN113554645B (en) Industrial anomaly detection method and device based on WGAN
WO2019176988A1 (en) Inspection system, identification system, and device for evaluating identification apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131018

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131217

R150 Certificate of patent or registration of utility model

Ref document number: 5441728

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees