Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7639744B2 - Inspection device and inspection method - Google Patents
[go: Go Back, main page]

JP7639744B2 - Inspection device and inspection method - Google Patents

Inspection device and inspection method Download PDF

Info

Publication number
JP7639744B2
JP7639744B2 JP2022040114A JP2022040114A JP7639744B2 JP 7639744 B2 JP7639744 B2 JP 7639744B2 JP 2022040114 A JP2022040114 A JP 2022040114A JP 2022040114 A JP2022040114 A JP 2022040114A JP 7639744 B2 JP7639744 B2 JP 7639744B2
Authority
JP
Japan
Prior art keywords
image
noise
inspection
comparison image
comparison
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.)
Active
Application number
JP2022040114A
Other languages
Japanese (ja)
Other versions
JP2023135089A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2022040114A priority Critical patent/JP7639744B2/en
Priority to CN202310249554.4A priority patent/CN116777826B/en
Publication of JP2023135089A publication Critical patent/JP2023135089A/en
Application granted granted Critical
Publication of JP7639744B2 publication Critical patent/JP7639744B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本開示は、検査装置および検査方法に関する。 This disclosure relates to an inspection device and an inspection method.

サンプル画像に対して良否の判断結果を関連付けた結果に基づいて各サンプル画像から特徴量を算出し、算出された特徴量についてニューラルネットワークによる学習を行って良否判定基準を生成する良否判定装置が知られている(例えば、特許文献1)。 A pass/fail judgment device is known that calculates feature values from each sample image based on the results of associating pass/fail judgment results with the sample image, and generates pass/fail judgment criteria by performing learning on the calculated feature values using a neural network (for example, Patent Document 1).

特開2007-114843号公報JP 2007-114843 A

学習モデルを用いた検査装置では、検査精度の向上が望まれている。 Improved inspection accuracy is desirable for inspection devices that use learning models.

本開示は、以下の形態として実現することが可能である。 This disclosure can be realized in the following forms:

(1)本開示の一形態によれば、検査装置が提供される。この検査装置は、検査対象の撮像画像を取得する撮像画像取得部と、正常な前記検査対象を示す正常画像を用いて学習済みの学習モデルであって、前記正常画像に近似する比較画像を生成するための学習モデルを格納する記憶装置と、前記撮像画像と前記比較画像とを用いて前記検査対象の異常の有無を判定する検査部と、を備える。前記学習モデルは、第一ノイズおよび第二ノイズの入力により前記比較画像を生成する生成器であって、前記第一ノイズを非線形変換して第三ノイズを生成するマッピングネットワーク層と、前記第二ノイズおよび生成した前記第三ノイズを用いて画像を生成し、生成した画像のアップサンプリングを複数回繰り返すことによって前記比較画像を生成するシンセシスネットワーク層と、を備える生成器、を備える。
この形態の検査装置によれば、高解像度の画像データを用いて異常の有無を判定することができ、検査装置の検査精度を向上させることができる。
(2)上記形態の検査装置において、前記学習モデルは、前記撮像画像と前記比較画像とを識別するための識別器を備えなくてもよい。
この形態の検査装置によれば、撮像画像と比較画像とを簡易な構成で比較することができ、検査装置の生産性を高くすることができる。
(3)上記形態の検査装置において、前記学習モデルは、さらに、前記撮像画像に対する前記比較画像の違いの度合いを示す数値を出力する識別器を備える敵対的生成ネットワークであってよい。
この形態の検査装置によれば、既知の構成を利用して、撮像画像と比較画像とを用いて異常の有無を判定することができる。
(4)上記形態の検査装置において、前記検査部は、前記撮像画像と前記比較画像とが近似しないと判定した場合に、前記第一ノイズおよび前記第二ノイズの少なくともいずれかを変更して生成した新たな前記比較画像を用いて前記検査対象の異常の有無を判定する再判定を、予め定められた回数だけ繰り返してよい。
この形態の検査装置によれば、比較画像の特徴を複数回変更することにより、異常の看過を抑制することができ、検査精度を向上することができる。
(5)上記形態の検査装置において、前記再判定は、前記第二ノイズを固定し、前記第一ノイズを変化させて生成した前記比較画像を用いる前記再判定を予め定められた回数だけ行う第一再判定と、前記第一再判定を行ったあとに、前記第一ノイズを固定し、前記第二ノイズを変化させて生成した前記比較画像を用いる前記再判定を予め定められた回数だけ行う第二再判定と、を含んでよい。
この形態の検査装置によれば、画像中の特徴を大きく変更する第一ノイズを変更する第一再判定を先に行うことにより、第二再判定を先に行う場合と比較して早期に異常判定を終了することができる。
(6)上記形態の検査装置において、前記生成器は、さらに、前記マッピングネットワーク層に入力する前記第一ノイズを、前記撮像画像と前記比較画像との差が小さくなるように変更させる重み調整層を備えてよい。
この形態の検査装置によれば、第一ノイズの変更という簡易な方法により、生成器の学習を検査中に行うことなく撮像画像に近似する比較画像を生成することができる。
(7)上記形態の検査装置において、前記検査部は、前記撮像画像に含まれる第一画素の階調値と、前記比較画像において前記第一画素に対応する位置の第二画素の階調値との差分の積算値が予め定められた閾値よりも大きい場合に前記検査対象に異常ありと判定してよい。
この形態の検査装置によれば、平均二乗誤差を利用して尤度を算出する場合に比べて、人間が認識しやすいRGB階調値の差分値が過剰に大きくなることを抑制できる。
本開示は、検査装置、検査方法、以外の種々の形態で実現することも可能である。例えば、検査用プログラム、学習済みモデル、学習モデルの学習方法、検査対象としての部品の製造方法、検査装置の製造方法、検査装置の制御方法、機械学習モデルの学習用プログラム、これらのコンピュータプログラムを記録した一時的でない記録媒体等の形態で実現することができる。
(1) According to one embodiment of the present disclosure, an inspection device is provided. The inspection device includes an image acquisition unit that acquires an image of an inspection target, a storage device that stores a learning model that has been trained using a normal image that shows a normal inspection target and is used to generate a comparison image that approximates the normal image, and an inspection unit that determines whether or not the inspection target has an abnormality by using the captured image and the comparison image. The learning model includes a generator that generates the comparison image by inputting a first noise and a second noise, the generator including a mapping network layer that performs nonlinear conversion on the first noise to generate a third noise, and a synthesis network layer that generates an image by using the second noise and the generated third noise, and generates the comparison image by repeating upsampling of the generated image multiple times.
According to the inspection device of this embodiment, the presence or absence of an abnormality can be determined using high-resolution image data, and the inspection accuracy of the inspection device can be improved.
(2) In the inspection device of the above aspect, the learning model does not need to include a classifier for discriminating between the captured image and the comparison image.
According to the inspection device of this aspect, the captured image and the comparison image can be compared with each other using a simple configuration, and the productivity of the inspection device can be increased.
(3) In the inspection device of the above aspect, the learning model may be a generative adversarial network further including a classifier that outputs a numerical value indicating the degree of difference between the comparison image and the captured image.
According to the inspection device of this aspect, it is possible to determine the presence or absence of an abnormality by using a captured image and a comparison image, utilizing a known configuration.
(4) In the inspection device of the above form, when the inspection unit determines that the captured image and the comparison image are not similar, the inspection unit may repeat a predetermined number of re-evaluations to determine whether or not there is an abnormality in the inspection object using a new comparison image generated by changing at least one of the first noise and the second noise.
According to the inspection device of this aspect, by changing the characteristics of the comparison image multiple times, it is possible to prevent abnormalities from being overlooked, and it is possible to improve the inspection accuracy.
(5) In the inspection device of the above form, the re-evaluation may include a first re-evaluation in which the second noise is fixed and the re-evaluation is performed a predetermined number of times using the comparison image generated by varying the first noise, and a second re-evaluation in which, after the first re-evaluation, the first noise is fixed and the re-evaluation is performed a predetermined number of times using the comparison image generated by varying the second noise.
According to this form of inspection device, by first performing the first re-evaluation, which changes the first noise that significantly changes the features in the image, the abnormality judgment can be completed earlier than when the second re-evaluation is performed first.
(6) In the inspection device of the above aspect, the generator may further include a weight adjustment layer that changes the first noise input to the mapping network layer so that the difference between the captured image and the comparison image is reduced.
According to the inspection device of this aspect, a comparison image that is similar to the captured image can be generated by a simple method of changing the first noise, without training the generator during inspection.
(7) In the inspection device of the above form, the inspection unit may determine that there is an abnormality in the inspection object when an accumulated value of the difference between the gradation value of a first pixel included in the captured image and the gradation value of a second pixel at a position corresponding to the first pixel in the comparison image is greater than a predetermined threshold value.
According to the inspection device of this aspect, it is possible to prevent the difference values of the RGB gradation values, which are easily recognized by humans, from becoming excessively large, compared to the case where the likelihood is calculated using the mean square error.
The present disclosure can also be realized in various forms other than an inspection device and an inspection method, such as an inspection program, a trained model, a learning method for a learning model, a manufacturing method for a part to be inspected, a manufacturing method for an inspection device, a control method for an inspection device, a learning program for a machine learning model, a non-transitory recording medium on which these computer programs are recorded, and the like.

検査システムの全体構成を模式的に示す説明図。FIG. 1 is an explanatory diagram illustrating a schematic overall configuration of an inspection system. 検査装置の内部機能構成を示すブロック図。FIG. 2 is a block diagram showing the internal functional configuration of the inspection apparatus. 機械学習モデルの構成を概念的に示す説明図。An explanatory diagram conceptually showing the configuration of a machine learning model. 機械学習モデルの詳細な構成を示す説明図。FIG. 1 is an explanatory diagram showing a detailed configuration of a machine learning model. 検査装置によって実行される検査方法を示すフローチャート。4 is a flowchart showing an inspection method executed by the inspection device. 検査対象の一例としてのコネクタを示す説明図。FIG. 2 is an explanatory diagram showing a connector as an example of an inspection target. 正常なコネクタを示す正常画像としての撮像画像の例を示す説明図。FIG. 13 is an explanatory diagram showing an example of a captured image as a normal image showing a normal connector. 異常を有するコネクタを示す異常画像としての撮像画像の例を示す説明図。FIG. 13 is an explanatory diagram showing an example of a captured image as an abnormality image showing a connector having an abnormality. 正常画像としての撮像画像を用いて生成された比較画像を示す説明図。FIG. 11 is an explanatory diagram showing a comparison image generated using a captured image as a normal image. 異常画像としての撮像画像を用いて生成された比較画像を示す説明図。FIG. 11 is an explanatory diagram showing a comparison image generated using a captured image as an abnormal image. 撮像画像と比較画像とのRGB階調値の差分を用いて生成された差分画像を示す説明図。11 is an explanatory diagram showing a difference image generated using the difference in RGB gradation values between a captured image and a comparison image; FIG. 差分の算出方法を模式的に示す説明図。FIG. 11 is an explanatory diagram illustrating a method for calculating a difference. 第2実施形態としての検査装置に備えられる機械学習モデルの概略構成を示す説明図。FIG. 11 is an explanatory diagram showing a schematic configuration of a machine learning model provided in an inspection device according to a second embodiment.

A.第1実施形態:
図1は、検査システム100の全体構成を模式的に示す説明図である。検査システム100は、本開示の第1実施形態としての検査装置60と、カメラ70とを備えている。検査装置60は、カメラ70と協働し、製造ラインLnで処理された検査対象の撮像画像を用いて、検査対象の異常の有無を検査する。検査装置60は、学習済みの機械学習モデルを利用する。検査対象は、例えば、前工程PR1で製造された自動車用の部品WKである。本実施形態では、自動車用の部品WKとして、後述するコネクタを例に説明する。コネクタは、自動車の燃料や冷媒などを流通させる配管同士を連結するために用いられる部材である。検出すべき異常は、例えば、コネクタの接続不良、コネクタの破損、コネクタのロック部の嵌合不良、配管の破損などであり、多数の種類の異常が含まれ得る。本実施形態では、異常を有する検査対象の画像をそれぞれ準備することが困難であるとの理由から、教師なし学習の機械学習モデルが用いられている。
A. First embodiment:
FIG. 1 is an explanatory diagram showing a schematic overall configuration of an inspection system 100. The inspection system 100 includes an inspection device 60 and a camera 70 as a first embodiment of the present disclosure. The inspection device 60 cooperates with the camera 70 to inspect the presence or absence of an abnormality of the inspection object using a captured image of the inspection object processed in the manufacturing line Ln. The inspection device 60 uses a trained machine learning model. The inspection object is, for example, an automobile part WK manufactured in the front-end process PR1. In this embodiment, a connector described later will be used as an example of the automobile part WK. The connector is a member used to connect pipes that circulate fuel, refrigerant, etc. in an automobile. The abnormality to be detected may include, for example, a poor connection of a connector, damage to a connector, poor fitting of a locking portion of a connector, damage to a pipe, and the like, and may include many types of abnormalities. In this embodiment, a machine learning model for unsupervised learning is used because it is difficult to prepare images of the inspection object having an abnormality.

カメラ70は、検査対象を撮像し、検査対象の撮像画像を検査装置60へと送信する。カメラ70は、撮像部72と、通信部74とを備えている。撮像部72は、前工程PR1から後工程PR2へと送り出された搬送途中の部品WKを撮像する。本実施形態では、撮像部72は、自動車に搭載された状態の部品WKを撮像する。撮像部72により撮像された撮像画像は、通信部74へと出力される。カメラ70は、検査装置60とは別体に限らず、検査装置60と一体とされてもよい。 The camera 70 captures an image of the inspection target and transmits the captured image of the inspection target to the inspection device 60. The camera 70 includes an imaging unit 72 and a communication unit 74. The imaging unit 72 captures an image of the part WK during transport from the front-end process PR1 to the back-end process PR2. In this embodiment, the imaging unit 72 captures an image of the part WK while it is mounted on the automobile. The captured image captured by the imaging unit 72 is output to the communication unit 74. The camera 70 is not limited to being separate from the inspection device 60, and may be integrated with the inspection device 60.

本実施形態では、撮像部72による撮像画像は、R(赤)、G(緑)、B(青)で表される各画像信号成分によって構成されるRGB入力画像信号で構成されている。各画像信号には、例えば、各8ビット、計24ビットの情報量が割り当てられている。本実施形態では、撮像部72は、部品WK全体に対して、横4000画素×縦3000画素とするいわゆる1200万画素の撮像画像を取得する。撮像部72が取得する撮像画像の解像度は、検査装置60に要求される検査範囲や不良の検出精度、検出すべき不良のサイズ、学習モデルで処理可能な画像サイズ等を考慮して決定されることが好ましい。また、検査装置60の検査精度の向上や検査範囲の拡大のために、検査対象の撮像画像が高い解像度を有することが好ましい。例えば、自動車に搭載された状態の部品WKを検査するためには、例えば、カメラ70と自動車との接触を回避するためにカメラ70を自動車から離間させるために、検査対象を離れた位置から撮像することがある。また、撮像範囲が小さい場合や大きい撮像範囲に対して小さい不良を検出することがある。これらの場合にも、検査対象の撮像画像が高い解像度を有することが好ましい。 In this embodiment, the image captured by the imaging unit 72 is composed of an RGB input image signal composed of image signal components represented by R (red), G (green), and B (blue). Each image signal is assigned, for example, 8 bits each, totaling 24 bits of information. In this embodiment, the imaging unit 72 acquires a so-called 12 million pixel image of the entire part WK, which is 4000 pixels wide by 3000 pixels long. It is preferable that the resolution of the image acquired by the imaging unit 72 is determined taking into consideration the inspection range and defect detection accuracy required for the inspection device 60, the size of the defect to be detected, the image size that can be processed by the learning model, etc. In addition, in order to improve the inspection accuracy and expand the inspection range of the inspection device 60, it is preferable that the image of the inspection target has a high resolution. For example, in order to inspect the part WK in a state where it is mounted on a car, for example, the inspection target may be imaged from a distant position in order to move the camera 70 away from the car to avoid contact between the camera 70 and the car. In addition, there are cases where the imaging range is small or where small defects are detected in a large imaging range. In these cases, it is also preferable that the image of the inspection target has a high resolution.

通信部74は、任意の通信プロトコルに従い、無線通信によって検査装置60に対して撮像画像を送信する。通信部74は、検査装置60からの実行命令を受信してもよい。 The communication unit 74 transmits captured images to the inspection device 60 via wireless communication according to an arbitrary communication protocol. The communication unit 74 may also receive execution commands from the inspection device 60.

本実施形態では、検査装置60およびカメラ70は、無線通信によって互いにデータの送受信ができるとともに、図1に示す情報処理装置PC、端末装置PD1,PD2ともデータを送受信することが可能である。例えば、検査装置60は、情報処理装置PC、端末装置PD1,PD2からの要求に応じて、検査結果を情報処理装置PCおよび端末装置PD1,PD2に送信することができる。なお、検査装置60は、ローカルサーバとして製造ラインLn近傍のエリアに配置されていてもよく、リモートサーバとして製造ラインLnから離れた場所に配置されていてもよい。検査装置60がリモートサーバとして設置される場合には、カメラ70からの撮像画像、ならびに端末装置PD1,PD2および情報処理装置PCへの検査結果は、工場内の無線アクセスポイントおよびイントラネットまたはインターネットといったネットワークを介して検査装置60によって送受信される。 In this embodiment, the inspection device 60 and the camera 70 can transmit and receive data to each other by wireless communication, and can also transmit and receive data to the information processing device PC and the terminal devices PD1 and PD2 shown in FIG. 1. For example, the inspection device 60 can transmit inspection results to the information processing device PC and the terminal devices PD1 and PD2 in response to requests from the information processing device PC and the terminal devices PD1 and PD2. The inspection device 60 may be located in an area near the production line Ln as a local server, or may be located away from the production line Ln as a remote server. When the inspection device 60 is installed as a remote server, the captured image from the camera 70 and the inspection results to the terminal devices PD1 and PD2 and the information processing device PC are transmitted and received by the inspection device 60 via a wireless access point in the factory and a network such as an intranet or the Internet.

図2は、検査装置60の内部機能構成を示すブロック図である。検査装置60は、中央演算処理装置としてのCPU62、記憶装置64、ならびに通信部66を備えている。CPU62、記憶装置64、通信部66は、バス61を介して互いに接続されており、双方向に通信可能である。検査装置60は、さらに、例えば、液晶ディスプレイやタッチパネルなど、検査結果を表示するための表示部を備えてもよい。 Figure 2 is a block diagram showing the internal functional configuration of the inspection device 60. The inspection device 60 includes a CPU 62 as a central processing unit, a storage device 64, and a communication unit 66. The CPU 62, the storage device 64, and the communication unit 66 are connected to each other via a bus 61 and are capable of bidirectional communication. The inspection device 60 may further include a display unit for displaying the inspection results, such as a liquid crystal display or a touch panel.

通信部66は、ネットワークを介して、カメラ70との間で、検査に用いるための撮像画像を受信する通信制御を行うインターフェースである。本実施形態では、通信部66は、カメラ70を介して検査対象の撮像画像を取得する撮像画像取得部として機能する。本実施形態では、通信部66は、さらに、端末装置PD1,PD2ならびに情報処理装置PCに対して検査結果や検査結果の表示用データを送信する。通信部66は、さらに、端末装置PD1,PD2や情報処理装置PCからの各種処理の実行を要求する指令信号を受信してもよい。なお、検査装置60がカメラ70と一体である場合など、検査装置60が撮像部72を備える場合には、撮像部72が撮像画像取得部として機能する。 The communication unit 66 is an interface that controls communication between the camera 70 and the inspection device 66 to receive captured images to be used in the inspection via a network. In this embodiment, the communication unit 66 functions as an image acquisition unit that acquires captured images of the inspection target via the camera 70. In this embodiment, the communication unit 66 also transmits inspection results and data for displaying the inspection results to the terminal devices PD1 and PD2 and the information processing device PC. The communication unit 66 may also receive command signals requesting the execution of various processes from the terminal devices PD1 and PD2 and the information processing device PC. Note that in the case where the inspection device 60 includes an imaging unit 72, such as when the inspection device 60 is integrated with the camera 70, the imaging unit 72 functions as the image acquisition unit.

記憶装置64は、たとえば、RAM、ROM、ハードディスクドライブ(HDD)である。HDDまたはROMには本実施形態において提供される機能を実現するための各種プログラムが格納されている。HDDまたはROMから読み出された各種プログラムは、RAM上に展開されて、CPU62によって実行される。記憶装置64には、機械学習モデルを格納するための学習モデル記憶部642を備えている。なお、記憶装置64には、撮像画像取得部によって取得された画像データ、検査部622によって生成された各種の画像や演算結果などが一時的に格納される。記憶装置64には、光ディスク、SSD(Solid State Drive)、フラッシュメモリ等が用いられてもよい。 The storage device 64 is, for example, a RAM, a ROM, or a hard disk drive (HDD). Various programs for implementing the functions provided in this embodiment are stored in the HDD or ROM. Various programs read from the HDD or ROM are deployed on the RAM and executed by the CPU 62. The storage device 64 includes a learning model storage unit 642 for storing machine learning models. The storage device 64 temporarily stores image data acquired by the captured image acquisition unit, various images and calculation results generated by the inspection unit 622, and the like. The storage device 64 may be an optical disk, a solid state drive (SSD), a flash memory, or the like.

CPU62は、記憶装置64に格納されているプログラムを実行することによって、検査部622として機能する。検査部622は、学習モデル記憶部642に格納された機械学習モデルを利用して検査対象に異常があるか否かの検査を行う。 The CPU 62 functions as an inspection unit 622 by executing a program stored in the storage device 64. The inspection unit 622 uses a machine learning model stored in the learning model storage unit 642 to inspect whether or not there is an abnormality in the inspection target.

図3は、学習モデル記憶部642に格納された機械学習モデル80の構成を概念的に示す説明図である。本実施形態において、学習モデル記憶部642には、正常な前記検査対象を示す正常画像を用いて学習済みの機械学習モデル80が格納されている。機械学習モデル80は、重み調整層82と、生成器(Generator)84とを備えている。 Figure 3 is an explanatory diagram conceptually illustrating the configuration of the machine learning model 80 stored in the learning model storage unit 642. In this embodiment, the learning model storage unit 642 stores a machine learning model 80 that has been trained using a normal image that indicates a normal inspection target. The machine learning model 80 includes a weight adjustment layer 82 and a generator 84.

生成器84は、正常な検査対象の撮像画像(以下、「正常画像」とも呼ぶ)を用いて充分に学習された状態である。生成器84は、潜在変数としての第一ノイズZ1および第二ノイズZ2の入力により、撮像画像に近似する画像データ(以下、「比較画像」とも呼ぶ)を生成する。本実施形態では、生成器84には、後述するように、StyleGANとも呼ばれる機械学習モデルが適用されている。 The generator 84 is in a state where it has been sufficiently trained using a captured image of a normal test subject (hereinafter also referred to as a "normal image"). The generator 84 generates image data (hereinafter also referred to as a "comparison image") that is similar to the captured image by inputting a first noise Z1 and a second noise Z2 as latent variables. In this embodiment, a machine learning model also called StyleGAN is applied to the generator 84, as described below.

第一ノイズZ1および第二ノイズZ2は、例えば、100次元程度の各要素が0~1までの変数で構成される潜在変数である。第一ノイズZ1および第二ノイズZ2は、検査部622によって、例えば、一様分布や正規分布からランダムサンプリングにより決定されて、生成器84に入力される。 The first noise Z1 and the second noise Z2 are latent variables, for example, with about 100 dimensions, each element of which is a variable ranging from 0 to 1. The first noise Z1 and the second noise Z2 are determined by the inspection unit 622, for example, by random sampling from a uniform distribution or a normal distribution, and input to the generator 84.

検査部622は、比較画像PRと、撮像部72によって取得された撮像画像PTとを取得すると、撮像画像PTと比較画像PRとを比較することにより検査対象に異常があるか否かを判定する。検査部622は、撮像画像PTと比較画像PRとが近似する場合には、検査対象に異常なしと判定する。検査部622は、撮像画像PTと比較画像PRとが近似しないと判定すると、第一ノイズZ1および第二ノイズZ2の少なくともいずれかを変更して新たな比較画像PRを生成し、再び検査対象の異常の有無を判定する再判定を実行する。 When the inspection unit 622 acquires the comparison image PR and the captured image PT acquired by the imaging unit 72, it compares the captured image PT with the comparison image PR to determine whether or not there is an abnormality in the inspection object. If the captured image PT and the comparison image PR are similar, the inspection unit 622 determines that there is no abnormality in the inspection object. If the inspection unit 622 determines that the captured image PT and the comparison image PR are not similar, it changes at least one of the first noise Z1 and the second noise Z2 to generate a new comparison image PR, and performs a re-evaluation to determine again whether or not there is an abnormality in the inspection object.

重み調整層82は、生成器84に入力する第一ノイズZ1の重みを調節する。本実施形態では、重み調整層82は、活性化関数を利用した全結合層(Fully Connected layer)を適用している。重み調整層82は、再判定では、撮像画像PTと比較画像PRとの差が小さくなるように第一ノイズZ1を変更させる。この結果、生成器84は、検査中に新たに学習することなく、再判定のたびに、より撮像画像PTに近似する比較画像PRを生成することができるようになる。 The weight adjustment layer 82 adjusts the weight of the first noise Z1 input to the generator 84. In this embodiment, the weight adjustment layer 82 applies a fully connected layer that uses an activation function. The weight adjustment layer 82 changes the first noise Z1 in re-determination so that the difference between the captured image PT and the comparison image PR is reduced. As a result, the generator 84 is able to generate a comparison image PR that more closely resembles the captured image PT each time re-determination is performed without new learning during the inspection.

図4は、機械学習モデル80の詳細な構成を示す説明図である。図4に示す構成は、図3の範囲ARの構成に相当する。図4に示すように、生成器84にはStyleGANのモデルが用いられている。これにより、例えば64画素x64画素程度の解像度の画像データを生成するDCGANと比較して高解像度の比較画像PRを生成することができる。 Figure 4 is an explanatory diagram showing the detailed configuration of the machine learning model 80. The configuration shown in Figure 4 corresponds to the configuration of range AR in Figure 3. As shown in Figure 4, a StyleGAN model is used in the generator 84. This makes it possible to generate a comparison image PR with a higher resolution than DCGAN, which generates image data with a resolution of, for example, about 64 pixels x 64 pixels.

生成器84は、マッピングネットワーク(Mapping network)部842と、複数のシンセシスネットワーク(Synthesis network)部844とを備えている。マッピングネットワーク層842は、例えば8層の複数の全結合層(FC layer)を備えている。マッピングネットワーク層842は、この8層の全結合層によって潜在変数としての第一ノイズZ1を非線形変換することによって、潜在空間としての第三ノイズW1を生成する。生成した第三ノイズW1は、シンセシスネットワーク層844に入力される。 The generator 84 includes a mapping network section 842 and multiple synthesis network sections 844. The mapping network layer 842 includes multiple fully connected layers (FC layers), for example, eight layers. The mapping network layer 842 generates a third noise W1 as a latent space by nonlinearly transforming the first noise Z1 as a latent variable using these eight fully connected layers. The generated third noise W1 is input to the synthesis network layer 844.

シンセシスネットワーク層844は、4x4x512のテンソルとしての固定値CVから比較画像PRを生成する。シンセシスネットワーク層844は、画像に対して複数回のアップサンプリングを行い、解像度を段階的に上げることにより、高解像度の比較画像PRを生成する。シンセシスネットワーク層844には、アップサンプリングされる解像度ごとに畳み込み処理層と、正規化層(AdaIN:Adaptive Instance Normalization)ALとが備えられている。シンセシスネットワーク層844は、アップサンプリングを行うたびに、スタイル情報とノイズ情報とを取り込む。具体的には、畳み込み処理層のあとに第二ノイズZ2を入力することで確率的な変動を付与するノイズ情報として取り入れるとともに、マッピングネットワーク層842により生成された潜在空間としての第三ノイズW1を、正規化層ALを介して多次元のスタイル情報として取り入れている。潜在空間としての第三ノイズW1および第三ノイズW1を生成するための第一ノイズZ1は、画像中の大きな特徴に影響を与え得る因子であり、ノイズ情報としての第二ノイズZ2は、細部の特徴に影響を与え得る因子である。 The synthesis network layer 844 generates a comparison image PR from a fixed value CV as a 4x4x512 tensor. The synthesis network layer 844 generates a high-resolution comparison image PR by performing upsampling on the image multiple times and gradually increasing the resolution. The synthesis network layer 844 is provided with a convolution processing layer and a normalization layer (AdaIN: Adaptive Instance Normalization) AL for each resolution to be upsampled. The synthesis network layer 844 incorporates style information and noise information each time upsampling is performed. Specifically, the second noise Z2 is input after the convolution processing layer to incorporate it as noise information that imparts probabilistic fluctuations, and the third noise W1 as a latent space generated by the mapping network layer 842 is incorporated as multidimensional style information via the normalization layer AL. The third noise W1 as a latent space and the first noise Z1 for generating the third noise W1 are factors that can affect major features in an image, and the second noise Z2 as noise information is a factor that can affect detailed features.

図5は、検査装置60によって実行される検査方法を示すフローチャートである。本フローは、前工程PR1から払い出された部品WKが検査工程に到達したことにより開始する。部品WKが検査工程に到達したか否かは、例えば、カメラ70等により検査工程に到達した部品WKを画像認識することにより判定することができる。 Figure 5 is a flowchart showing the inspection method executed by the inspection device 60. This flow starts when the part WK delivered from the previous process PR1 reaches the inspection process. Whether the part WK has reached the inspection process can be determined, for example, by image recognition of the part WK that has reached the inspection process using a camera 70 or the like.

ステップS10では、検査装置60は撮像画像PTを取得する。本実施形態では、カメラ70の撮像部72が、検査対象としての部品WKを撮像することにより撮像画像PTを取得する。撮像部72により取得された撮像画像PTは、通信部74を介して検査装置60へと送信される。検査装置60は、通信部66を介して撮像画像PTを取得する。 In step S10, the inspection device 60 acquires the captured image PT. In this embodiment, the imaging unit 72 of the camera 70 acquires the captured image PT by capturing an image of the part WK to be inspected. The captured image PT acquired by the imaging unit 72 is transmitted to the inspection device 60 via the communication unit 74. The inspection device 60 acquires the captured image PT via the communication unit 66.

図6は、検査対象の一例としてのコネクタ30を示す説明図である。図6に示すように、コネクタ30は、本体36を備えている。本体36には、嵌合部38が備えられている。本体36に第一管路32と第二管路34とを挿通した状態で嵌合部38を第一管路32と第二管路34との接続部分に向かって押し込むことにより、第一管路32と第二管路34とが接続された状態で固定される。 Figure 6 is an explanatory diagram showing a connector 30 as an example of an inspection target. As shown in Figure 6, the connector 30 has a main body 36. The main body 36 has a fitting portion 38. With the first pipeline 32 and the second pipeline 34 inserted into the main body 36, the fitting portion 38 is pushed toward the connection portion of the first pipeline 32 and the second pipeline 34, whereby the first pipeline 32 and the second pipeline 34 are fixed in a connected state.

図7は、正常なコネクタ30を示す正常画像としての撮像画像PTgの例を示す説明図である。図8は、異常を有するコネクタ30を示す異常画像としての撮像画像PTnの例を示す説明図である。図7に示すように、撮像画像PTgでは、嵌合部38が第一管路32と第二管路34との接続部分に向かって完全に押し込まれた状態であり、第一管路32と第二管路34とが固定された正常な状態のコネクタ30が示されている。図8に示すように、撮像画像PTnでは、嵌合部38が完全に押し込まれず本体36から突出された状態のコネクタ30が示されている。撮像画像PTnでは、本体36から突出した嵌合部38の突出部分P1と、正常な状態のコネクタ30とは異なる位置の切り欠き部分P2が撮像されている。以下の説明では、検査装置60がコネクタ30の嵌合部38の押し込み不足を異常として判定する例を用いて説明する。 Figure 7 is an explanatory diagram showing an example of a captured image PTg as a normal image showing a normal connector 30. Figure 8 is an explanatory diagram showing an example of a captured image PTn as an abnormal image showing a connector 30 having an abnormality. As shown in Figure 7, the captured image PTg shows the connector 30 in a normal state in which the fitting portion 38 is fully pushed toward the connection portion between the first pipeline 32 and the second pipeline 34, and the first pipeline 32 and the second pipeline 34 are fixed. As shown in Figure 8, the captured image PTn shows the connector 30 in a state in which the fitting portion 38 is not fully pushed in and protrudes from the main body 36. In the captured image PTn, the protruding portion P1 of the fitting portion 38 protruding from the main body 36 and the cutout portion P2 at a position different from that of the connector 30 in a normal state are captured. In the following explanation, an example will be explained in which the inspection device 60 judges that the fitting portion 38 of the connector 30 is not fully pushed in as an abnormality.

ステップS20では、検査部622は、機械学習モデル80の生成器84に、ランダムサンプリングされた第一ノイズZ1および第二ノイズZ2を入力して比較画像PRを生成する。第一ノイズZ1は、重み調整層82を介して生成器84に入力され、図4に示すマッピングネットワーク層842を介して潜在空間としての第三ノイズW1に非線形変換される。シンセシスネットワーク層844は、固定値CVから画像を生成し、第三ノイズW1をスタイル情報として取り込むとともに、第二ノイズZ2をノイズ情報として取り込みながら、画像のアップサンプリングを繰り返して、1024画素×1024画素の比較画像PRを生成する。 In step S20, the inspection unit 622 inputs the randomly sampled first noise Z1 and second noise Z2 to the generator 84 of the machine learning model 80 to generate a comparison image PR. The first noise Z1 is input to the generator 84 via the weight adjustment layer 82 and nonlinearly converted to the third noise W1 as a latent space via the mapping network layer 842 shown in FIG. 4. The synthesis network layer 844 generates an image from a fixed value CV, and while incorporating the third noise W1 as style information and the second noise Z2 as noise information, repeatedly upsamples the image to generate a comparison image PR of 1024 pixels x 1024 pixels.

図9は、正常画像としての撮像画像PTgを用いて生成された比較画像PRgを示す説明図である。図10は、異常画像としての撮像画像PTnを用いて生成された比較画像PRnを示す説明図である。図9に示すように、比較画像PRgは、正常画像と近似する状態で生成されていることが理解できる。なお、図10に示す比較画像PRnは、上限回数に達するまで再判定を実行した場合に生成された比較画像の一例である。図10に示すように、比較画像PRnには、図8で示した撮像画像PTnにおける突出部分P1が正常画像に近似するように生成された生成部位P3と、切り欠き部分P2が正常画像に近似するように生成された生成部位P4が生成されていることが理解できる。 Figure 9 is an explanatory diagram showing a comparison image PRg generated using a captured image PTg as a normal image. Figure 10 is an explanatory diagram showing a comparison image PRn generated using a captured image PTn as an abnormal image. As shown in Figure 9, it can be seen that the comparison image PRg is generated in a state that is similar to the normal image. Note that the comparison image PRn shown in Figure 10 is an example of a comparison image generated when re-evaluation is performed until the upper limit number of times is reached. As shown in Figure 10, it can be seen that the comparison image PRn has a generated portion P3 generated so that the protruding portion P1 in the captured image PTn shown in Figure 8 is similar to the normal image, and a generated portion P4 generated so that the cutout portion P2 is similar to the normal image.

ステップS30では、検査部622は、撮像画像PTと、生成した比較画像PRとを比較する。本実施形態では、検査部622は、撮像画像PTの画素のRGB階調値の合計値と、撮像画像PTの画素に対応する位置の比較画像PRの画素のRGB階調値の合計値との差分の積算値を用いて比較する。撮像画像PTの画素を「第一画素」とも呼び、比較画像PRの画素を「第二画素」とも呼ぶ。 In step S30, the inspection unit 622 compares the captured image PT with the generated comparison image PR. In this embodiment, the inspection unit 622 performs the comparison using the integrated value of the difference between the sum of the RGB gradation values of the pixels of the captured image PT and the sum of the RGB gradation values of the pixels of the comparison image PR at positions corresponding to the pixels of the captured image PT. The pixels of the captured image PT are also called "first pixels," and the pixels of the comparison image PR are also called "second pixels."

図11は、撮像画像PTnと比較画像PRnとのRGB階調値の差分を用いて生成された差分画像CPを示す説明図である。図11によれば、差分画像CPには、RGB階調値の差分が大きい箇所として、例えば、突出部分P1と生成部位P3との差分となる差分部位P5と、切り欠き部分P2と生成部位P4との差分となる差分部位P6とを有していることを理解できる。 Figure 11 is an explanatory diagram showing a difference image CP generated using the difference in RGB gradation values between the captured image PTn and the comparison image PRn. From Figure 11, it can be seen that the difference image CP has areas with large differences in RGB gradation values, such as difference area P5, which is the difference between protruding portion P1 and generated portion P3, and difference area P6, which is the difference between cutout portion P2 and generated portion P4.

図12は、撮像画像PTnと比較画像PRnとの差分の算出方法を模式的に示す説明図である。図12では、技術の理解を容易にするために、画素の数は、実際の画像の画素数よりも少ない状態で示されている。図12に示す表TB1は、撮像画像PTnに含まれる各画素のRGB階調値を概念的に示している。表TB2は、比較画像PRnに含まれる各画素のRGB階調値を概念的に示し、表TB3は、差分画像CPに含まれる各画素のRGB階調値を概念的に示している。表TB1に示す各数値は、撮像画像PTnの各画素のRGB階調値の合計値を示している。同様に、表TB2に示す各数値は、比較画像PRnの各画素のRGB階調値の合計値を示している。表TB3に示す各数値は、表TB1と表TB2との画素ごとでのRGB階調値の合計値の差分値を示している。 FIG. 12 is an explanatory diagram showing a method of calculating the difference between the captured image PTn and the comparison image PRn. In FIG. 12, the number of pixels is shown to be less than the number of pixels in the actual image in order to facilitate understanding of the technology. Table TB1 shown in FIG. 12 conceptually shows the RGB gradation values of each pixel included in the captured image PTn. Table TB2 conceptually shows the RGB gradation values of each pixel included in the comparison image PRn, and Table TB3 conceptually shows the RGB gradation values of each pixel included in the difference image CP. Each value shown in Table TB1 indicates the total value of the RGB gradation values of each pixel of the captured image PTn. Similarly, each value shown in Table TB2 indicates the total value of the RGB gradation values of each pixel of the comparison image PRn. Each value shown in Table TB3 indicates the difference value between the total value of the RGB gradation values for each pixel between Table TB1 and Table TB2.

検査部622は、表TB3に示すように、撮像画像PTnのRGB階調値の合計値と、生成した比較画像PRnのRGB階調値の合計値との差分を画素ごとに計算する。撮像画像PTが異常画像である場合には、比較画像は、生成器84によって生成されたあと、再判定が繰り返されることにより、異常画像としての撮像画像PTnに近似するように再生成される。そのため、表TB3に示すように、例えば、撮像画像と、比較画像との差異は、RGB階調値の差分として残存する。検査部622は、算出した画素ごとのRGB階調値を全画素において積算する。図12における表TB3の例では、RGB階調値の積算値は、11である。 As shown in Table TB3, the inspection unit 622 calculates the difference between the sum of the RGB gradation values of the captured image PTn and the sum of the RGB gradation values of the generated comparison image PRn for each pixel. If the captured image PT is an abnormal image, the comparison image is generated by the generator 84, and then re-evaluation is repeated to regenerate the comparison image so as to approximate the captured image PTn as an abnormal image. Therefore, as shown in Table TB3, for example, the difference between the captured image and the comparison image remains as a difference in RGB gradation values. The inspection unit 622 adds up the calculated RGB gradation values for each pixel for all pixels. In the example of Table TB3 in FIG. 12, the added up value of the RGB gradation values is 11.

図5に戻り、ステップS40では、検査部622は、算出した全画素のRGB階調値の積算値を用いて検査対象の異常の有無を判定する。本実施形態では、検査部622は、算出した全画素のRGB階調値の積算値と、記憶装置64に格納された予め定められた閾値とを比較することにより、検査対象の異常を判定する。積算値が閾値よりも低ければ(S40:YES)、ステップS42に移行し、検査部622は、検査対象に異常なしと判定して処理を終了する。積算値が閾値以上である場合には(S40:NO)、ステップS50に移行する。 Returning to FIG. 5, in step S40, the inspection unit 622 uses the calculated integrated value of the RGB gradation values of all pixels to determine whether the inspection object has an abnormality. In this embodiment, the inspection unit 622 determines whether the inspection object has an abnormality by comparing the calculated integrated value of the RGB gradation values of all pixels with a predetermined threshold value stored in the storage device 64. If the integrated value is lower than the threshold value (S40: YES), the process proceeds to step S42, where the inspection unit 622 determines that the inspection object has no abnormality and ends the process. If the integrated value is equal to or greater than the threshold value (S40: NO), the process proceeds to step S50.

ステップS50では、検査部622は、検査回数Nが予め定められた上限回数に達したか否かを判定する。検査回数は、再判定を行った回数に1を加えた数に相当する。検査回数Nの上限回数は、検査装置60に要求されるタクトタイムなどに基づいて任意に設定可能であり、本実施形態では、100回で設定されている。検査回数Nが100回に達した場合には(S50:YES)、ステップS52に移行して、検査部622は、検査対象に異常ありと判定して処理を終了する。検査回数Nが100回に達する場合とは、第一ノイズZ1および第二ノイズZ2を変更して生成された100枚の比較画像PRのいずれもが撮像画像PTに近似しないと判定された場合に相当する。検査回数Nが100回未満である場合には(S50:NO)、ステップS60に移行する。 In step S50, the inspection unit 622 judges whether the number of inspections N has reached a predetermined upper limit. The number of inspections corresponds to the number of re-judgments plus 1. The upper limit of the number of inspections N can be set arbitrarily based on the takt time required for the inspection device 60, and is set to 100 in this embodiment. If the number of inspections N reaches 100 (S50: YES), the process proceeds to step S52, where the inspection unit 622 judges that there is an abnormality in the inspection object and ends the process. The case where the number of inspections N reaches 100 corresponds to the case where it is judged that none of the 100 comparison images PR generated by changing the first noise Z1 and the second noise Z2 is similar to the captured image PT. If the number of inspections N is less than 100 (S50: NO), the process proceeds to step S60.

ステップS60では、検査部622は、検査回数Nが予め定められた切替回数に達したか否かを判定する。切替回数は、第一ノイズZ1と、第二ノイズZ2との組み合わせ方法を切り替えるか否かを判定するために用いられる閾値である。切替回数は、任意に設定可能であり、本実施形態では、切替回数は、上限回数の半分である50回で設定されている。検査回数Nが50回未満である場合には(S60:YES)、ステップS62に移行し、検査部622は、第二ノイズZ2をステップS20で入力された値で固定し、第一ノイズZ1をランダムサンプリングにより新たに決定する。検査回数Nが50回以上である場合には(S60:NO)、ステップS64に移行し、検査部622は、第一ノイズZ1を検査回数Nが50回の時点の値で固定し、第二ノイズZ2をランダムサンプリングにより新たに決定する。再判定のうち、第二ノイズZ2を固定し、第一ノイズZ1を変化させて新たに生成した比較画像PRを用いた再判定を、「第一再判定」とも呼び、第一ノイズZ1を固定し、第二ノイズZ2を変化させて新たに生成した比較画像PRを用いた再判定を、「第二再判定」とも呼ぶ。ステップS62あるいはステップS64で第一ノイズZ1と第二ノイズZ2とを新たに決定すると、検査部622は、検査回数Nを1だけインクリメントしてステップS20に戻る。 In step S60, the inspection unit 622 determines whether the number of inspections N has reached a predetermined number of switchings. The number of switchings is a threshold value used to determine whether to switch the combination method of the first noise Z1 and the second noise Z2. The number of switchings can be set arbitrarily, and in this embodiment, the number of switchings is set to 50, which is half the upper limit. If the number of inspections N is less than 50 (S60: YES), the process proceeds to step S62, where the inspection unit 622 fixes the second noise Z2 to the value input in step S20, and newly determines the first noise Z1 by random sampling. If the number of inspections N is 50 or more (S60: NO), the process proceeds to step S64, where the inspection unit 622 fixes the first noise Z1 to the value at the time when the number of inspections N is 50, and newly determines the second noise Z2 by random sampling. Among the re-judgments, the re-judgment using a comparison image PR newly generated by fixing the second noise Z2 and varying the first noise Z1 is also referred to as a "first re-judgment," and the re-judgment using a comparison image PR newly generated by fixing the first noise Z1 and varying the second noise Z2 is also referred to as a "second re-judgment." When the first noise Z1 and the second noise Z2 are newly determined in step S62 or step S64, the inspection unit 622 increments the inspection count N by 1 and returns to step S20.

以上、説明したように、本実施形態の検査装置60は、検査対象の撮像画像PTを取得する撮像画像取得部と、正常な検査対象を示す正常画像を用いて学習済みの機械学習モデル80であって、正常画像に近似する比較画像PRを生成するための機械学習モデル80を格納する記憶装置64と、撮像画像PTと比較画像PRとを用いて検査対象の異常の有無を判定する検査部622と、を備えている。機械学習モデル80は、第一ノイズZ1および第二ノイズZ2の入力により比較画像PRを生成する生成器84を備える。生成器84は、第一ノイズZ1を非線形変換して第三ノイズW1を生成するマッピングネットワーク層842と、第二ノイズZ2および生成した第三ノイズW1を用いて画像を生成し、生成した画像のアップサンプリングを複数回繰り返すことによって比較画像PRを生成するシンセシスネットワーク層844と、を備える。機械学習モデル80の生成器84は、StyleGANを利用し、入力された第一ノイズZ1を非線形変換して第三ノイズW1を生成するマッピングネットワーク層842と、第二ノイズZ2と第三ノイズW1とを用いて画像を生成し、生成した画像の解像度を大きくするアップサンプリングを複数回繰り返すことによって比較画像PRを生成するシンセシスネットワーク層844と、を備える。したがって、機械学習モデル80を利用した検査装置60において、生成器84にStyleGANのネットワーク構造を採用することにより、高解像度の画像データを用いて異常の有無を判定することができる。 As described above, the inspection device 60 of this embodiment includes an image acquisition unit that acquires an image PT of an inspection target, a memory device 64 that stores a machine learning model 80 that has been trained using a normal image showing a normal inspection target and is used to generate a comparison image PR that approximates the normal image, and an inspection unit 622 that determines whether or not an abnormality exists in the inspection target using the image PT and the comparison image PR. The machine learning model 80 includes a generator 84 that generates a comparison image PR by inputting a first noise Z1 and a second noise Z2. The generator 84 includes a mapping network layer 842 that performs nonlinear conversion on the first noise Z1 to generate a third noise W1, and a synthesis network layer 844 that generates an image using the second noise Z2 and the generated third noise W1, and generates a comparison image PR by repeating upsampling of the generated image multiple times. The generator 84 of the machine learning model 80 includes a mapping network layer 842 that uses StyleGAN to perform nonlinear conversion on the input first noise Z1 to generate a third noise W1, and a synthesis network layer 844 that generates an image using the second noise Z2 and the third noise W1, and generates a comparison image PR by repeating upsampling multiple times to increase the resolution of the generated image. Therefore, in the inspection device 60 that uses the machine learning model 80, by adopting a StyleGAN network structure for the generator 84, it is possible to determine the presence or absence of anomalies using high-resolution image data.

本実施形態の検査装置60によれば、機械学習モデル80は、撮像画像PTと比較画像PRとを識別するための識別器86を備えていない。したがって、撮像画像PTと比較画像PRとを簡易な構成で比較することができ、検査装置60の生産性を高くすることができる。 According to the inspection device 60 of this embodiment, the machine learning model 80 does not include a classifier 86 for distinguishing between the captured image PT and the comparison image PR. Therefore, the captured image PT and the comparison image PR can be compared with a simple configuration, and the productivity of the inspection device 60 can be increased.

本実施形態の検査装置60によれば、検査部622は、検査対象に異常なしと判定した場合に、第一ノイズZ1および第二ノイズZ2の少なくともいずれかを変更して生成した新たな比較画像PRを用いて検査対象の異常の有無を判定する再判定を、予め定められた回数だけ繰り返す。比較画像PRの特徴を複数回変更することにより、異常の看過を抑制することができ、検査精度を向上することができる。 According to the inspection device 60 of this embodiment, when the inspection unit 622 determines that there is no abnormality in the inspection object, it repeats a predetermined number of times a re-determination of the presence or absence of an abnormality in the inspection object using a new comparison image PR generated by changing at least one of the first noise Z1 and the second noise Z2. By changing the characteristics of the comparison image PR multiple times, it is possible to prevent abnormalities from being overlooked, and the inspection accuracy can be improved.

本実施形態の検査装置60によれば、検査部622が行う再判定は、第一ノイズZ1を固定し、第二ノイズZ2を変化させて生成した比較画像PRを用いる再判定を予め定められた切替回数だけ行う第一再判定と、第一再判定を行ったあとに、第二ノイズZ2を固定し、第一ノイズZ1を変化させて生成した比較画像PRを用いる再判定を予め定められた上限回数まで行う第二再判定と、を含んでいる。第一ノイズZ1と第二ノイズZ2との一方のみを変更して新たな比較画像PRを生成して再判定を行うことにより、再判定時に撮像画像PTの特徴と比較画像PRの特徴とが大きく乖離することを抑制することができる。また、画像中の大きな特徴を変更する第一ノイズZ1を先に変更した第一再判定を行った後で、細部の特徴を変更する第二ノイズZ2を変更した第二再判定を行うことにより、切替回数内に異常なしと判定できる可能性が高くなり、早期に異常判定を終了することができ、検査工程の生産性を高くすることができる。 According to the inspection device 60 of this embodiment, the re-determination performed by the inspection unit 622 includes a first re-determination in which the first noise Z1 is fixed and the second noise Z2 is changed to generate a comparison image PR, and the first re-determination is performed a predetermined number of times, and a second re-determination in which the second noise Z2 is fixed and the first noise Z1 is changed to generate a comparison image PR, and the first re-determination is performed up to a predetermined upper limit number of times after the first re-determination. By changing only one of the first noise Z1 and the second noise Z2 to generate a new comparison image PR and perform the re-determination, it is possible to suppress a large deviation between the features of the captured image PT and the features of the comparison image PR at the time of the re-determination. In addition, by performing the first re-determination in which the first noise Z1, which changes the large features in the image, is changed first, and then performing the second re-determination in which the second noise Z2, which changes the detailed features, is changed, the possibility of determining that there is no abnormality within the number of switching times is increased, and the abnormality determination can be terminated early, thereby increasing the productivity of the inspection process.

本実施形態の検査装置60によれば、生成器84は、さらに、マッピングネットワーク層842に入力する第一ノイズZ1を、撮像画像PTと比較画像PRとの差が小さくなるように変更させる重み調整層82を備える。したがって、検査装置60による検査の過程において、第一ノイズZ1の変更という簡易な方法により、生成器84の学習を検査中に行うことなく撮像画像PTに近似する比較画像PRを生成することができる。 According to the inspection device 60 of this embodiment, the generator 84 further includes a weight adjustment layer 82 that changes the first noise Z1 input to the mapping network layer 842 so that the difference between the captured image PT and the comparison image PR is reduced. Therefore, during the inspection process by the inspection device 60, by using the simple method of changing the first noise Z1, it is possible to generate a comparison image PR that is close to the captured image PT without training the generator 84 during the inspection.

本実施形態の検査装置60によれば、検査部622は、撮像画像PTに含まれる第一画素のRGB階調値と、比較画像PRにおいて第一画素に対応する位置の第二画素のRGB階調値との差分を算出し、算出されたRGB階調値の差分の積算値が予め定められた閾値よりも大きい場合に検査対象に異常ありと判定する。したがって、例えば、撮像画像PTと比較画像PRとの各画素におけるRGB階調値の平均二乗誤差(MSE:Mean Squared Error)を利用して差分値を算出する場合に比べて、人間が認識しやすいRGB階調値の差分値が過剰に大きくなることを抑制し、RGB階調値の色味の変化が適正に考慮された状態で異常を判定することができ、人為的な検査と略同等の検査結果を得ることができる。 According to the inspection device 60 of this embodiment, the inspection unit 622 calculates the difference between the RGB gradation value of a first pixel included in the captured image PT and the RGB gradation value of a second pixel at a position corresponding to the first pixel in the comparison image PR, and determines that there is an abnormality in the inspection object when the accumulated value of the calculated RGB gradation value differences is greater than a predetermined threshold value. Therefore, compared to the case where the difference value is calculated using the mean squared error (MSE) of the RGB gradation values at each pixel between the captured image PT and the comparison image PR, for example, it is possible to prevent the difference value of the RGB gradation values that are easily recognized by humans from becoming excessively large, and to determine an abnormality while properly considering the change in the color of the RGB gradation values, and to obtain inspection results that are approximately equivalent to those of manual inspection.

B.第2実施形態:
図13は、第2実施形態としての検査装置60に備えられる機械学習モデル80bの概略構成を示す説明図である。図13に示すように、機械学習モデル80bは、敵対的生成ネットワーク(GAN:Generative Adversarial Networks)を利用した異常検知手法として利用可能なモデルである。機械学習モデル80bは、AnoGAN(Anomaly Detection with Generative Adversarial Networks)とも呼ばれ得る。機械学習モデル80bは、第1実施形態で示した機械学習モデル80とは、さらに、識別器(Discriminator)86と、判定器88とを備えている点において相違する。なお、本実施形態では、検査部622は、判定器88からの出力結果を用いて異常の有無を判定する。
B. Second embodiment:
FIG. 13 is an explanatory diagram showing a schematic configuration of a machine learning model 80b provided in the inspection device 60 as the second embodiment. As shown in FIG. 13, the machine learning model 80b is a model that can be used as an anomaly detection method using Generative Adversarial Networks (GAN). The machine learning model 80b may also be called Anomaly Detection with Generative Adversarial Networks (AnoGAN). The machine learning model 80b differs from the machine learning model 80 shown in the first embodiment in that it further includes a discriminator 86 and a determiner 88. In this embodiment, the inspection unit 622 determines the presence or absence of an anomaly using the output result from the determiner 88.

識別器86は、正常な検査対象を示す正常画像と、生成した比較画像PRとを識別できる程度に充分に学習された状態である。識別器86は、撮像画像PTに対する比較画像PRの違いの度合いを示す尤度を出力する。識別器86は、比較画像PRと、撮像部72によって取得された撮像画像PTとを取得すると、撮像画像PTと比較画像PRとを比較して、撮像画像PTに対する比較画像PRの違いの度合いを数値化した尤度を判定器88に出力する。本実施形態において、尤度は撮像画像PTが異常を有している確率を示す値であり、例えば尤度が高い値である場合に検査対象に異常ありと判定することができる。本実施形態では、識別器86は、例えば、撮像画像PTと比較画像PRとの差分である第一差分値と、比較画像PRを識別器86に入力したときの中間層の出力値と、撮像画像PTを識別器86に入力したときの中間層の出力値との差分である第二差分値との総和を算出して尤度として出力する。ただし、尤度が正常品である確率値を示す場合には、値が低い場合に異常として検知されてもよい。 The classifier 86 is in a state of being sufficiently trained to be able to distinguish between a normal image showing a normal test object and the generated comparison image PR. The classifier 86 outputs a likelihood indicating the degree of difference between the comparison image PR and the captured image PT. When the classifier 86 acquires the comparison image PR and the captured image PT acquired by the imaging unit 72, it compares the captured image PT with the comparison image PR and outputs the likelihood, which is a numerical value indicating the degree of difference between the comparison image PR and the captured image PT, to the determiner 88. In this embodiment, the likelihood is a value indicating the probability that the captured image PT has an abnormality, and for example, when the likelihood is a high value, it can be determined that the test object has an abnormality. In this embodiment, the classifier 86 calculates, for example, the sum of a first difference value, which is the difference between the captured image PT and the comparison image PR, and a second difference value, which is the difference between the output value of the intermediate layer when the comparison image PR is input to the classifier 86 and the output value of the intermediate layer when the captured image PT is input to the classifier 86, and outputs it as the likelihood. However, if the likelihood indicates the probability that the product is normal, a low value may be detected as an abnormality.

判定器88は、識別器86から出力された尤度を用いて検査対象の異常の有無を判定する。ステップS40では、判定器88は、尤度が予め定められた閾値よりも低ければ、撮像画像PTと比較画像PRとが近似するとしてステップS42に移行し、尤度が閾値以上であれば、撮像画像PTと比較画像PRとが近似しないとしてステップS50に移行してよい。機械学習モデル80bの判定器88による異常有無の判定結果は、検査部622に出力され、検査部622は、判定器88の結果に基づいて検査対象の異常の有無を判定する。なお、機械学習モデル80bにおいて、生成器84および識別器86は、検査が行われている間には学習を行わなくてもよい。 The determiner 88 uses the likelihood output from the discriminator 86 to determine whether or not the test object has an abnormality. In step S40, if the likelihood is lower than a predetermined threshold, the determiner 88 may determine that the captured image PT and the comparison image PR are similar and proceed to step S42, and if the likelihood is equal to or greater than the threshold, the determiner 88 may determine that the captured image PT and the comparison image PR are not similar and proceed to step S50. The result of the determination of the abnormality by the determiner 88 of the machine learning model 80b is output to the inspection unit 622, which determines whether or not the test object has an abnormality based on the result of the determiner 88. Note that in the machine learning model 80b, the generator 84 and the discriminator 86 do not need to learn while the test is being performed.

本実施形態の検査装置60によれば、機械学習モデル80bは、さらに、撮像画像PTに対する比較画像PRの違いの度合いを示す数値を出力する識別器86を備える敵対的生成ネットワークである。したがって、既知の構成を利用して、撮像画像PTと比較画像PRとを用いて異常の有無を判定することができる。 According to the inspection device 60 of this embodiment, the machine learning model 80b is a generative adversarial network that further includes a classifier 86 that outputs a numerical value indicating the degree of difference between the captured image PT and the comparison image PR. Therefore, by utilizing a known configuration, it is possible to determine the presence or absence of an abnormality using the captured image PT and the comparison image PR.

C.他の実施形態:
(C1)上記第1実施形態では、検査対象が自動車用の部品WKとしてのコネクタを例に説明した。これに対して、検査対象は、自動車に用いられるコネクタには限定されず自動車の車体や部品などの自動車に含まれる種々の部品であってよい。検査対象は、自動車用部品のみには限らず、鉄道車両、航空機、船舶などの種々の移動体に用いられる部品であってよく、移動体以外の種々の製造物であってもよい。
C. Other embodiments:
(C1) In the above first embodiment, the inspection object is described as an example of a connector as a part WK for an automobile. In contrast, the inspection object is not limited to a connector used in an automobile, but may be various parts included in an automobile, such as the body or parts of the automobile. The inspection object is not limited to only automobile parts, but may be parts used in various moving bodies such as railroad cars, aircraft, and ships, or may be various manufactured products other than moving bodies.

(C2)上記第1実施形態では、検査部622は、撮像画像PTnのRGB階調値の合計値と、生成した比較画像PRnのRGB階調値の合計値との差分を画素ごとに計算する例を示した。これに対して、検査部622は、撮像画像PTnのRGB階調値の合計値と生成した比較画像PRnのRGB階調値の合計値との差分と、予め定められた閾値とを比較し、当該差分が閾値以上離れている画素の数を積算して、当該画素の数が所定値以上である場合に異常ありと判定し、所定値未満であれば異常なしと判定してもよい。また、検査部622は、撮像画像PTと比較画像PRとの各画素において、RGB階調値のR,G,Bの各階調値それぞれの差分を算出してから、算出したR,G,Bの各階調値それぞれの差分が積算された値を用いてもよい。検査部622は、撮像画像PTと比較画像PRとの各画素におけるRGB階調値の平均二乗誤差(MSE:Mean Squared Error)を利用して尤度を算出してもよい。 (C2) In the above first embodiment, the inspection unit 622 may calculate the difference between the sum of the RGB gradation values of the captured image PTn and the sum of the RGB gradation values of the generated comparison image PRn for each pixel. In contrast, the inspection unit 622 may compare the difference between the sum of the RGB gradation values of the captured image PTn and the sum of the RGB gradation values of the generated comparison image PRn with a predetermined threshold, accumulate the number of pixels where the difference is greater than or equal to the threshold, and determine that there is an abnormality if the number of pixels is greater than or equal to a predetermined value, and determine that there is no abnormality if it is less than the predetermined value. In addition, the inspection unit 622 may calculate the difference between each of the R, G, and B gradation values of the RGB gradation values for each pixel between the captured image PT and the comparison image PR, and then use the value obtained by accumulating the differences between the calculated R, G, and B gradation values. The inspection unit 622 may calculate the likelihood using the mean squared error (MSE) of the RGB gradation values for each pixel between the captured image PT and the comparison image PR.

本開示は、上述の実施形態に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現することができる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態中の技術的特徴は、上述の課題の一部又は全部を解決するために、あるいは、上述の効果の一部又は全部を達成するために、適宜、差し替えや、組み合わせを行うことが可能である。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することが可能である。 The present disclosure is not limited to the above-described embodiments, and can be realized in various configurations without departing from the spirit of the present disclosure. For example, the technical features in the embodiments corresponding to the technical features in each form described in the Summary of the Invention column can be replaced or combined as appropriate to solve some or all of the above-described problems or to achieve some or all of the above-described effects. Furthermore, if a technical feature is not described as essential in this specification, it can be deleted as appropriate.

30…コネクタ、32…第一管路、34…第二管路、36…本体、38…嵌合部、60…検査装置、61…バス、62…CPU、64…記憶装置、66…通信部、70…カメラ、72…撮像部、74…通信部、80,80b…機械学習モデル、82…重み調整層、84…生成器、86…識別器、88…判定器、100…検査システム、622…検査部、642…学習モデル記憶部、842…マッピングネットワーク層、844…シンセシスネットワーク層、AL…正規化層、AR…範囲、CP…差分画像、CV…固定値、Ln…製造ライン、P1…突出部分、P2…切り欠き部分、P3,P4…生成部位、P5,P6…差分部位、PC…情報処理装置、PD1,PD2…端末装置、PR,PRg、PRn…比較画像、PR1…前工程、PR2…後工程、PT,PTg、PTn…撮像画像、TB1~TB3…表、W1…第三ノイズ、WK…部品、Z1…第一ノイズ、Z2…第二ノイズ 30...connector, 32...first pipeline, 34...second pipeline, 36...main body, 38...fitting section, 60...inspection device, 61...bus, 62...CPU, 64...storage device, 66...communication section, 70...camera, 72...imaging section, 74...communication section, 80, 80b...machine learning model, 82...weight adjustment layer, 84...generator, 86...classifier, 88...determinator, 100...inspection system, 622...inspection section, 642...learning model memory section, 842...mapping network layer, 844...synthesis network Network layer, AL... normalization layer, AR... range, CP... difference image, CV... fixed value, Ln... production line, P1... protruding part, P2... cutout part, P3, P4... production part, P5, P6... difference part, PC... information processing device, PD1, PD2... terminal device, PR, PRg, PRn... comparison image, PR1... previous process, PR2... subsequent process, PT, PTg, PTn... captured image, TB1-TB3... table, W1... third noise, WK... part, Z1... first noise, Z2... second noise

Claims (7)

検査装置であって、
検査対象の撮像画像を取得する撮像画像取得部と、
正常な前記検査対象を示す正常画像を用いて学習済みの学習モデルであって、前記正常画像に近似する比較画像を生成するための学習モデルを格納する記憶装置と、
前記撮像画像と前記比較画像とを用いて前記検査対象の異常の有無を判定する検査部と、を備え、
前記学習モデルは、
第一ノイズおよび第二ノイズの入力により前記比較画像を生成する生成器であって、
前記第一ノイズを非線形変換して第三ノイズを生成するマッピングネットワーク層と、
前記第二ノイズおよび生成した前記第三ノイズを用いて画像を生成し、生成した画像のアップサンプリングを複数回繰り返すことによって前記比較画像を生成するシンセシスネットワーク層と、を備える生成器、を備え、
前記検査部は、前記撮像画像と前記比較画像とが近似しないと判定した場合に、前記第一ノイズおよび前記第二ノイズの少なくともいずれかを変更して生成した新たな前記比較画像を用いて前記検査対象の異常の有無を判定する再判定を、予め定められた回数だけ繰り返す、
検査装置。
An inspection device comprising:
an image acquisition unit that acquires an image of an object to be inspected;
A storage device that stores a learning model that has been trained using a normal image that shows a normal inspection target, and is used to generate a comparison image that is similar to the normal image;
an inspection unit that determines whether or not an abnormality exists in the inspection object by using the captured image and the comparison image,
The learning model is
A generator for generating the comparison image by inputting a first noise and a second noise,
a mapping network layer that nonlinearly transforms the first noise to generate a third noise;
a synthesis network layer that generates an image using the second noise and the generated third noise, and generates the comparison image by repeating upsampling of the generated image a number of times;
When it is determined that the captured image and the comparison image are not similar to each other, the inspection unit repeats a re-determination of the presence or absence of an abnormality in the inspection object a predetermined number of times using a new comparison image generated by changing at least one of the first noise and the second noise.
Inspection equipment.
請求項1に記載の検査装置であって、
前記学習モデルは、前記撮像画像と前記比較画像とを識別するための識別器を備えない、
検査装置。
2. The inspection device according to claim 1,
The learning model does not include a classifier for discriminating between the captured image and the comparison image.
Inspection equipment.
請求項1に記載の検査装置であって、
前記再判定は、
前記第二ノイズを固定し、前記第一ノイズを変更して生成した前記比較画像を用いる前記再判定を予め定められた回数だけ行う第一再判定と、
前記第一再判定を行ったあとに、前記第一ノイズを固定し、前記第二ノイズを変化させて生成した前記比較画像を用いる前記再判定を予め定められた回数だけ行う第二再判定と、を含む、
検査装置。
2. The inspection device according to claim 1,
The re-determination is
a first re-determination in which the second noise is fixed and the re-determination using the comparison image generated by changing the first noise is performed a predetermined number of times;
and after performing the first re-determination, performing the re-determination a predetermined number of times using the comparison image generated by fixing the first noise and varying the second noise.
Inspection equipment.
請求項1に記載の検査装置であって、
前記検査部は、前記撮像画像に含まれる第一画素の階調値と、前記比較画像において前記第一画素に対応する位置の第二画素の階調値との差分の積算値が予め定められた閾値よりも大きい場合に前記検査対象に異常ありと判定する、
検査装置。
2. The inspection device according to claim 1,
the inspection unit determines that the inspection object is abnormal when an integrated value of a difference between a gradation value of a first pixel included in the captured image and a gradation value of a second pixel at a position corresponding to the first pixel in the comparison image is greater than a predetermined threshold value.
Inspection equipment.
請求項1に記載の検査装置であって
前記学習モデルは、
前記生成器と、
前記撮像画像に対する前記比較画像の違いの度合いを示す尤度を出力する識別器と、
前記識別器から出力された前記尤度を用いて前記検査対象の異常の有無を判定する判定器と、を備える敵対的生成ネットワークであり、
前記検査部は、前記判定器の結果に基づいて前記検査対象の異常の有無を判定する、
検査装置。
2. The inspection device according to claim 1 ,
The learning model is
The generator ; and
a classifier that outputs a likelihood indicating a degree of difference between the captured image and the comparison image;
a judger that judges the presence or absence of an anomaly in the inspection target by using the likelihood output from the classifier ,
The inspection unit determines whether or not the inspection target has an abnormality based on the result of the determiner.
Inspection equipment.
請求項1に記載の検査装置であって
前記生成器は、さらに、前記マッピングネットワーク層に入力する前記第一ノイズを、前記撮像画像と前記比較画像との差が小さくなるように変更させる重み調整層を備える、
検査装置。
2. The inspection device according to claim 1 ,
The generator further includes a weight adjustment layer that changes the first noise input to the mapping network layer so that a difference between the captured image and the comparison image is reduced.
Inspection equipment.
検査方法であって、
検査対象の撮像画像を取得し、
正常な前記検査対象を示す正常画像を用いて学習済みの学習モデルを用いて、前記正常画像に近似する比較画像を生成し、
前記撮像画像と前記比較画像とを用いて前記検査対象の異常の有無を判定し、
前記学習モデルは、
第一ノイズおよび第二ノイズの入力により前記比較画像を生成する生成器であって、
前記第一ノイズを非線形変換して第三ノイズを生成するマッピングネットワーク層と、
前記第二ノイズおよび生成した前記第三ノイズを用いて画像を生成し、生成した画像のアップサンプリングを複数回繰り返すことによって前記比較画像を生成するシンセシスネットワーク層と、を備える生成器、を備え、
前記撮像画像と前記比較画像とが近似しないと判定した場合に、前記第一ノイズおよび前記第二ノイズの少なくともいずれかを変更して生成した新たな前記比較画像を用いて前記検査対象の異常の有無を判定する再判定を、予め定められた回数だけ繰り返す、
検査方法。
1. A testing method comprising:
Acquire an image of the inspection object;
generating a comparison image that is similar to the normal image using a learning model that has been trained using a normal image that shows a normal object;
determining whether or not an abnormality exists in the inspection target using the captured image and the comparison image;
The learning model is
A generator for generating the comparison image by inputting a first noise and a second noise,
a mapping network layer that nonlinearly transforms the first noise to generate a third noise;
a synthesis network layer that generates an image using the second noise and the generated third noise, and generates the comparison image by repeating upsampling of the generated image a number of times;
when it is determined that the captured image and the comparison image are not similar to each other, a re-determination is performed a predetermined number of times to determine the presence or absence of an abnormality in the inspection object using a new comparison image generated by changing at least one of the first noise and the second noise.
Testing method.
JP2022040114A 2022-03-15 2022-03-15 Inspection device and inspection method Active JP7639744B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022040114A JP7639744B2 (en) 2022-03-15 2022-03-15 Inspection device and inspection method
CN202310249554.4A CN116777826B (en) 2022-03-15 2023-03-10 Inspection device and inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022040114A JP7639744B2 (en) 2022-03-15 2022-03-15 Inspection device and inspection method

Publications (2)

Publication Number Publication Date
JP2023135089A JP2023135089A (en) 2023-09-28
JP7639744B2 true JP7639744B2 (en) 2025-03-05

Family

ID=87984912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022040114A Active JP7639744B2 (en) 2022-03-15 2022-03-15 Inspection device and inspection method

Country Status (2)

Country Link
JP (1) JP7639744B2 (en)
CN (1) CN116777826B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010044358A1 (en) 2008-10-16 2010-04-22 株式会社トプコン Method and device for inspecting wafer pattern
US20200151559A1 (en) 2018-11-14 2020-05-14 Nvidia Corporation Style-based architecture for generative neural networks
JP2021089219A (en) 2019-12-05 2021-06-10 東洋製罐グループホールディングス株式会社 Image inspection system and image inspection method
JP2021136024A (en) 2020-02-25 2021-09-13 住友ゴム工業株式会社 Image generation device, blend estimation device for rubber composition, and learning device
WO2021181749A1 (en) 2020-03-10 2021-09-16 株式会社Screenホールディングス Learning device, image inspection device, learned parameter, learning method, and image inspection method
JP2022012668A (en) 2020-07-02 2022-01-17 株式会社ジェイテクト Inspection system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033471B (en) * 2019-04-19 2022-09-13 福州大学 Frame line detection method based on connected domain analysis and morphological operation
US11493453B2 (en) * 2019-06-28 2022-11-08 Kyocera Document Solutions Inc. Belt inspection system, belt inspection method, and recording medium for belt inspection program
JP7519232B2 (en) * 2020-08-25 2024-07-19 株式会社Ye Digital Anomaly detection method, anomaly detection device, and anomaly detection program
CN112734655B (en) * 2020-12-24 2022-12-27 山东师范大学 Low-light image enhancement method for enhancing CRM (customer relationship management) based on convolutional neural network image
CN112686880B (en) * 2021-01-06 2021-09-14 哈尔滨市科佳通用机电股份有限公司 Method for detecting abnormity of railway locomotive component

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010044358A1 (en) 2008-10-16 2010-04-22 株式会社トプコン Method and device for inspecting wafer pattern
US20200151559A1 (en) 2018-11-14 2020-05-14 Nvidia Corporation Style-based architecture for generative neural networks
JP2021089219A (en) 2019-12-05 2021-06-10 東洋製罐グループホールディングス株式会社 Image inspection system and image inspection method
JP2021136024A (en) 2020-02-25 2021-09-13 住友ゴム工業株式会社 Image generation device, blend estimation device for rubber composition, and learning device
WO2021181749A1 (en) 2020-03-10 2021-09-16 株式会社Screenホールディングス Learning device, image inspection device, learned parameter, learning method, and image inspection method
JP2022012668A (en) 2020-07-02 2022-01-17 株式会社ジェイテクト Inspection system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Tero Karras, Samuli Laine, Timo Aila,A Style-Based Generator Architecture for Generative Adversarial Networks,2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR),米国,2019年,pp. 4396-4405,DOI: 10.1109/CVPR.2019.00453

Also Published As

Publication number Publication date
CN116777826B (en) 2026-03-06
JP2023135089A (en) 2023-09-28
CN116777826A (en) 2023-09-19

Similar Documents

Publication Publication Date Title
US11715190B2 (en) Inspection system, image discrimination system, discrimination system, discriminator generation system, and learning data generation device
JP7426261B2 (en) Learning device, image inspection device, learned parameters, learning method, and image inspection method
TWI638157B (en) Inspection device and inspection method
JP2019191117A (en) Image processing device, image processing method, and program
TWI864314B (en) Determination of a simulated image of a specimen
EP3442216A1 (en) Sensor system for data enhancement
CN107085843B (en) System and method for estimating modulation transfer function in optical system
CN115587959B (en) Anomaly Detection System and Anomaly Detection Method
CN114529543A (en) Installation detection method and device for peripheral screw gasket of aero-engine
JP7639744B2 (en) Inspection device and inspection method
KR102951844B1 (en) Defect inspection apparatus
US11120541B2 (en) Determination device and determining method thereof
JP7459697B2 (en) Anomaly detection system, learning device, anomaly detection program, learning program, anomaly detection method, and learning method
JP7816244B2 (en) Inspection device and inspection method
CN112862062A (en) Learning device, learning method, and recording medium
Pathmanaban et al. Tyre defect detection using deep learning technique
CN115578329A (en) Screen detection method, device, computer equipment and readable storage medium
KR20230036650A (en) Defect detection method and system based on image patch
JP2022029262A (en) Image processing apparatus, image processing method, image processing program, and learning device
TWI843591B (en) Method for creating flaw image detection model, method for detecting flaw image and electronic device
US10657626B2 (en) Image processing apparatus, image processing system, and recording medium
JP7459696B2 (en) Anomaly detection system, learning device, anomaly detection program, learning program, anomaly detection method, and learning method Learning method for computing device
JP7687201B2 (en) Inspection program, inspection method, and inspection device
US20250054131A1 (en) Information processing device, information processing system, information processing method, and recording medium
US12211200B2 (en) Wafer inspection system method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241220

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: 20250121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250203

R150 Certificate of patent or registration of utility model

Ref document number: 7639744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150