JP6387477B1 - Inspection device, inspection method, and inspection program - Google Patents
Inspection device, inspection method, and inspection program Download PDFInfo
- Publication number
- JP6387477B1 JP6387477B1 JP2018515903A JP2018515903A JP6387477B1 JP 6387477 B1 JP6387477 B1 JP 6387477B1 JP 2018515903 A JP2018515903 A JP 2018515903A JP 2018515903 A JP2018515903 A JP 2018515903A JP 6387477 B1 JP6387477 B1 JP 6387477B1
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- determined
- partial
- partial image
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
Landscapes
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Analytical Chemistry (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
本発明は、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる検査装置、検査方法及び検査プログラムを提供することを目的とする。検査装置10は、検査対象物100の画像を複数の第1部分画像に分割する第1分割部と、画像を、複数の第1部分画像とは異なる複数の第2部分画像に分割する第2分割部と、複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する第1分類部と、複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する第2分類部と、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像との重なりに基づいて、検査対象物100に関する異常の有無を判定する判定部と、を備える。An object of the present invention is to provide an inspection apparatus, an inspection method, and an inspection program capable of accurately detecting the presence / absence of an abnormality related to an inspection object even when there are various abnormalities that may occur. The inspection apparatus 10 includes a first dividing unit that divides the image of the inspection object 100 into a plurality of first partial images, and a second that divides the image into a plurality of second partial images different from the plurality of first partial images. A first classification unit that classifies the plurality of first partial images into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality; A second classification unit that classifies a plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality; and an abnormality A determination unit that determines whether there is an abnormality related to the inspection object 100 based on an overlap between the first partial image determined to be abnormal and the second partial image determined to include abnormality. .
Description
本発明は、検査装置、検査方法及び検査プログラムに関する。 The present invention relates to an inspection apparatus, an inspection method, and an inspection program.
従来、生産ラインを流れる検査対象物の画像を撮影して、検査対象物に関する異常の有無を検出することがあった。検査対象物の異常は、例えば検査対象物に付いている傷や汚れであったり、検査対象物に混入した異物であったりする。 Conventionally, there has been a case where an image of an inspection object flowing through a production line is taken to detect the presence or absence of an abnormality related to the inspection object. The abnormality of the inspection object is, for example, a scratch or a dirt attached to the inspection object, or a foreign matter mixed in the inspection object.
異常検出に関して、例えば下記特許文献1には、学習済みの第1のニューラルネットワークによって検査対象信号を正常と正常以外とに分類する第1処理部と、学習済みの第2のニューラルネットワークによって、第1処理部により正常以外に分類された検査対象信号から正常以外の領域を含む部分信号を抽出し、部分信号について異常の種類を分類する第2処理部と、を備える検査装置が記載されている。 Regarding abnormality detection, for example, in Patent Document 1 below, a first processing unit that classifies signals to be inspected into normal and non-normal using a learned first neural network, and a learned second neural network, There is described an inspection apparatus including a second processing unit that extracts a partial signal including a region other than normal from an inspection target signal classified as non-normal by one processing unit and classifies the type of abnormality for the partial signal. .
特許文献1に記載の検査装置によれば、第1処理部によって検査対象物に関する異常の有無を検出することができ、第2処理部によって異常の種類を分類することができる。しかしながら、異常の有無の検出精度は、第1処理部によって検査対象信号を正常と正常以外とに分類する分類精度に依存しており、起こり得る異常が多様である場合には、第1処理部の分類精度が十分に高くならず、必ずしも異常の有無の検出精度が高くなかった。 According to the inspection apparatus described in Patent Literature 1, it is possible to detect the presence or absence of abnormality related to the inspection object by the first processing unit, and it is possible to classify the type of abnormality by the second processing unit. However, the detection accuracy of the presence or absence of abnormality depends on the classification accuracy of classifying the inspection target signal into normal and non-normal by the first processing unit, and when there are various possible abnormalities, the first processing unit The classification accuracy was not sufficiently high, and the detection accuracy was not necessarily high.
そこで、本発明は、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる検査装置、検査方法及び検査プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide an inspection apparatus, an inspection method, and an inspection program that can accurately detect the presence or absence of an abnormality related to an inspection object even when there are various abnormalities that may occur.
本発明の一態様に係る検査装置は、検査対象物の画像を複数の第1部分画像に分割する第1分割部と、画像を、複数の第1部分画像とは異なる複数の第2部分画像に分割する第2分割部と、複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する第1分類部と、複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する第2分類部と、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像との重なりに基づいて、検査対象物に関する異常の有無を判定する判定部と、を備える。 An inspection apparatus according to an aspect of the present invention includes a first division unit that divides an image of an inspection object into a plurality of first partial images, and a plurality of second partial images that are different from the plurality of first partial images. A second division unit that divides the first partial image into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality. A first classification unit, and a second classification unit that classifies the plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality. The determination unit that determines whether there is an abnormality related to the inspection object based on an overlap between the first partial image that is determined to include abnormality and the second partial image that is determined to include abnormality And comprising.
この態様によれば、画像を複数の第1部分画像と、複数の第1部分画像とは異なる複数の第2部分画像とに分割し、複数の第1部分画像と複数の第2部分画像それぞれに異常が含まれていると判定される場合に、それらの部分画像の重なりに基づいて検査対象物に関する異常の有無を判定することで、誤判定が少なくなり、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる。 According to this aspect, the image is divided into a plurality of first partial images and a plurality of second partial images different from the plurality of first partial images, and each of the plurality of first partial images and the plurality of second partial images. When it is determined that there is an abnormality, the presence or absence of an abnormality related to the inspection object is determined based on the overlap of the partial images, thereby reducing misjudgment and various possible abnormalities. Even if it exists, the presence or absence of abnormality relating to the inspection object can be detected with high accuracy.
上記態様において、判定部は、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像とが重畳する場合に、当該重畳箇所に異常が存在すると判定してもよい。 In the above aspect, when the first partial image that is determined to include an abnormality and the second partial image that is determined to include an abnormality are superimposed, the determination unit includes an abnormality at the overlapping portion. May be determined to exist.
この態様によれば、検査対象物に関する異常の有無のみならず、異常が存在する箇所を精度良く特定することができる。 According to this aspect, not only the presence / absence of an abnormality related to the inspection object but also a location where the abnormality exists can be identified with high accuracy.
上記態様において、判定部は、異常が含まれていると判定される第1部分画像と、異常が含まれていないと判定される第2部分画像とが重畳する場合又は異常が含まれていないと判定される第1部分画像と、異常が含まれていると判定される第2部分画像とが重畳する場合に、当該異常が含まれていると判定される第1部分画像又は当該異常が含まれていると判定される第2部分画像の箇所には異常が存在しないと判定してもよい。 In the above aspect, the determination unit includes a case where the first partial image determined to include an abnormality and a second partial image determined to include no abnormality are superimposed or no abnormality is included. When the first partial image determined to be included and the second partial image determined to include an abnormality are superimposed, the first partial image determined to include the abnormality or the abnormality It may be determined that there is no abnormality in the portion of the second partial image that is determined to be included.
この態様によれば、重畳する第1部分画像及び第2部分画像のいずれか一方に異常が含まれていると判定される場合に、当該異常が含まれていると判定される第1部分画像又は第2部分画像の箇所には異常が存在しないと判定することで、異常の存在の誤判定が防止される。 According to this aspect, when it is determined that an abnormality is included in any one of the first partial image and the second partial image to be superimposed, the first partial image that is determined to include the abnormality. Alternatively, by determining that there is no abnormality at the location of the second partial image, erroneous determination of the presence of abnormality is prevented.
上記態様において、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像を区別可能に表示し、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像を区別可能に表示して、画像を表示する表示部をさらに備えてもよい。 In the above aspect, the first partial image that is determined to include an abnormality and the first partial image that is determined to include no abnormality are displayed so as to be distinguishable, and is determined to include an abnormality. You may further provide the display part which displays a 2nd partial image and the 2nd partial image determined not to contain abnormality so that distinction is possible.
この態様によれば、検査対象物のどのような箇所に異常が含まれていると判定されたのか、視覚的に認識することができ、第1分類部及び第2分類部による分類結果を容易に把握することができる。 According to this aspect, it is possible to visually recognize in which part of the inspection object it is determined that the abnormality is included, and the classification result by the first classification unit and the second classification unit can be easily obtained. Can grasp.
上記態様において、表示部は、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像とを区別可能に表示してもよい。 In the above aspect, the display unit may display the first partial image that is determined to include an abnormality and the second partial image that is determined to include an abnormality so as to be distinguishable.
この態様によれば、第1分類部による分類結果と、第2分類部による分類結果とが視覚的に区別可能に示されることで、第1分類部と第2分類部による分類結果の差異を容易に把握することができる。 According to this aspect, the classification result by the first classification unit and the classification result by the second classification unit are shown to be visually distinguishable, so that the difference between the classification results by the first classification unit and the second classification unit can be determined. It can be easily grasped.
上記態様において、複数の第2部分画像それぞれは、複数の第1部分画像それぞれよりも小さくてもよい。 In the above aspect, each of the plurality of second partial images may be smaller than each of the plurality of first partial images.
この態様によれば、複数の第1部分画像と、複数の第1部分画像それぞれよりも小さい複数の第2部分画像とに異常が含まれているか否か判定することで、異常のサイズや形状が多様である場合であっても、異常の有無及び存在箇所を精度良く判定することができる。 According to this aspect, by determining whether or not an abnormality is included in the plurality of first partial images and the plurality of second partial images smaller than each of the plurality of first partial images, the size and shape of the abnormality Even if there are various cases, it is possible to accurately determine the presence / absence and location of an abnormality.
上記態様において、複数の第2部分画像のうち少なくとも2つは、複数の第1部分画像のうちいずれか1つと重畳してもよい。 In the above aspect, at least two of the plurality of second partial images may overlap with any one of the plurality of first partial images.
この態様によれば、第1部分画像と、第1部分画像に重畳する少なくとも2つの第2部分画像とに異常が含まれているか否か判定することで、異常のサイズや形状が多様である場合であっても、異常の有無及び存在箇所を精度良く判定することができる。 According to this aspect, by determining whether or not an abnormality is included in the first partial image and at least two second partial images superimposed on the first partial image, the size and shape of the abnormality are various. Even if it is a case, the presence or absence and abnormality location of abnormality can be determined accurately.
上記態様において、第1分割部は、複数の第1部分画像が互いに重畳しないように画像を分割し、第2分割部は、複数の第2部分画像が互いに重畳しないように画像を分割してもよい。 In the above aspect, the first dividing unit divides the image so that the plurality of first partial images do not overlap each other, and the second dividing unit divides the image so that the plurality of second partial images do not overlap each other. Also good.
この態様によれば、複数の部分画像の枚数を過度に増大させることなく画像を分割して、検査対象物の異常の有無を判定することができ、第1分類部、第2分類部及び判定部の処理負荷を抑えることができる。 According to this aspect, it is possible to divide an image without excessively increasing the number of partial images, and to determine the presence or absence of an abnormality of the inspection object. The first classification unit, the second classification unit, and the determination The processing load on the part can be suppressed.
上記態様において、第1分類部は、異常が含まれている第1部分画像及び異常が含まれていない第1部分画像を学習用データとして学習された、第1学習済みモデルを含み、第2分類部は、異常が含まれている第2部分画像及び異常が含まれていない第2部分画像を学習用データとして学習された、第2学習済みモデルを含んでもよい。 In the above aspect, the first classifying unit includes a first learned model that has been learned using the first partial image that includes the abnormality and the first partial image that does not include the abnormality as learning data. The classification unit may include a second learned model in which the second partial image including the abnormality and the second partial image including no abnormality are learned as learning data.
この態様によれば、それぞれ異なる学習用データで学習された第1学習済みモデル及び第2学習済みモデルを用いることで、第1分類部と第2分類部とで異なる観点から異常の有無を分類することができる。 According to this aspect, by using the first learned model and the second learned model learned with different learning data, the first classification unit and the second classification unit classify the presence or absence of abnormality from different viewpoints. can do.
本発明の他の態様に係る検査方法は、コンピュータが、検査対象物の画像を複数の第1部分画像に分割するステップと、画像を、複数の第1部分画像とは異なる複数の第2部分画像に分割するステップと、複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類するステップと、複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類するステップと、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像との重なりに基づいて、検査対象物に関する異常の有無を判定するステップと、を含む。 An inspection method according to another aspect of the present invention includes a step in which a computer divides an image of an inspection object into a plurality of first partial images, and the plurality of second portions different from the plurality of first partial images. Dividing into a plurality of images; classifying the plurality of first partial images into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality; When a plurality of second partial images are classified into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality, and an abnormality is included Determining whether or not there is an abnormality related to the inspection object based on an overlap between the determined first partial image and the second partial image determined to contain an abnormality.
この態様によれば、画像を複数の第1部分画像と、複数の第1部分画像とは異なる複数の第2部分画像とに分割し、複数の第1部分画像と複数の第2部分画像それぞれに異常が含まれていると判定される場合に、それらの部分画像の重なりに基づいて検査対象物に関する異常の有無を判定することで、誤判定が少なくなり、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる。 According to this aspect, the image is divided into a plurality of first partial images and a plurality of second partial images different from the plurality of first partial images, and each of the plurality of first partial images and the plurality of second partial images. When it is determined that there is an abnormality, the presence or absence of an abnormality related to the inspection object is determined based on the overlap of the partial images, thereby reducing misjudgment and various possible abnormalities. Even if it exists, the presence or absence of abnormality relating to the inspection object can be detected with high accuracy.
本発明の他の態様に係る検査プログラムは、コンピュータを、検査対象物の画像を複数の第1部分画像に分割する第1分割部、画像を、複数の第1部分画像とは異なる複数の第2部分画像に分割する第2分割部、複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する第1分類部、複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する、第1分類部とは異なる第2分類部、及び異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像との重なりに基づいて、検査対象物に関する異常の有無を判定する判定部、として機能させる。 An inspection program according to another aspect of the present invention includes a computer, a first division unit that divides an image of an inspection object into a plurality of first partial images, and a plurality of first images different from the plurality of first partial images. A second dividing unit that divides the image into two partial images, and classifies the plurality of first partial images into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality. A first classification unit that classifies a plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality Inspection object based on the second classification part different from the part and the overlap of the first partial image determined to contain the abnormality and the second partial image determined to contain the abnormality It functions as a determination unit that determines whether or not there is an abnormality related to the.
この態様によれば、画像を複数の第1部分画像と、複数の第1部分画像とは異なる複数の第2部分画像とに分割し、複数の第1部分画像と複数の第2部分画像それぞれに異常が含まれていると判定される場合に、それらの部分画像の重なりに基づいて検査対象物に関する異常の有無を判定することで、誤判定が少なくなり、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる。 According to this aspect, the image is divided into a plurality of first partial images and a plurality of second partial images different from the plurality of first partial images, and each of the plurality of first partial images and the plurality of second partial images. When it is determined that there is an abnormality, the presence or absence of an abnormality related to the inspection object is determined based on the overlap of the partial images, thereby reducing misjudgment and various possible abnormalities. Even if it exists, the presence or absence of abnormality relating to the inspection object can be detected with high accuracy.
本発明によれば、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる検査装置、検査方法及び検査プログラムを提供することができる。 According to the present invention, it is possible to provide an inspection apparatus, an inspection method, and an inspection program that can accurately detect the presence or absence of an abnormality related to an inspection target even if there are various abnormalities that may occur.
添付図面を参照して、本発明の実施形態について説明する。なお、各図において、同一の符号を付したものは、同一又は同様の構成を有する。 Embodiments of the present invention will be described with reference to the accompanying drawings. In addition, in each figure, what attached | subjected the same code | symbol has the same or similar structure.
図1は、本発明の実施形態に係る検査装置10のネットワーク構成を示す図である。検査装置10は、専用又は汎用のコンピュータであり、例えば、本実施形態に係る検査プログラムがインストールされた汎用のコンピュータであってよい。検査装置10は、通信ネットワークNを介して、学習用画像データベースDB及びカメラ30と接続される。通信ネットワークNは、有線又は無線の通信網であり、例えばLAN(Local Area Network)やインターネットであってよい。
FIG. 1 is a diagram showing a network configuration of an
検査装置10は、カメラ30によって撮影された検査対象物100の画像を、通信ネットワークNを介して取得し、学習済みのモデルによって検査対象物100に異常があるか否かを判定する。ここで、学習済みのモデルとは、例えば学習済みのニューラルネットワークである。検査装置10は、学習用画像データベースDBに格納された画像を用いて、モデルの学習を行う。
The
カメラ30は、検査対象物100の画像を撮影する。カメラ30によって撮影された画像の全部又は一部は、学習用画像データベースDBに格納される。カメラ30は、可視光を撮影する一般的なデジタルカメラであってよいが、赤外線やX線等を撮影するカメラであってもよいし、電子顕微鏡等のように光以外によって検査対象物100を撮影するカメラであってもよい。
The
図2は、本発明の実施形態に係る検査装置10の物理的な構成を示す図である。検査装置10は、ハードウェアプロセッサに相当するCPU(Central Processing Unit)10aと、メモリに相当するRAM(Random Access Memory)10bと、メモリに相当するROM(Read Only Memory)10cと、通信インタフェース10dと、入力部10eと、表示部10fとを有する。これら各構成は、バスを介して相互にデータ送受信可能に接続される。
FIG. 2 is a diagram illustrating a physical configuration of the
CPU10aは、RAM10b又はROM10cに記憶されたプログラムの実行に関する制御やデータの演算、加工を行う制御部である。CPU10aは、検査対象物の検査に関するプログラム(検査プログラム)を実行する演算装置である。CPU10aは、入力部10eや通信インタフェース10dから種々の入力データを受け取り、入力データの演算結果を表示部10fに表示したり、RAM10bやROM10cに格納したりする。
The
RAM10bは、データの書き換えが可能な記憶部であり、例えば半導体記憶素子で構成される。RAM10bは、CPU10aが実行するアプリケーション等のプログラムやデータを記憶する。
The
ROM10cは、データの読み出しのみが可能な記憶部であり、例えば半導体記憶素子で構成される。ROM10cは、例えばファームウェア等のプログラムやデータを記憶する。
The
通信インタフェース10dは、検査装置10を通信ネットワークNに接続するインタフェースである。
The
入力部10eは、ユーザからデータの入力を受け付けるものであり、例えば、キーボードやマウス、タッチパネルで構成される。
The
表示部10fは、CPU10aによる演算結果を視覚的に表示するものであり、例えばLCD(Liquid Crystal Display)により構成される。
The
検査プログラムは、RAM10bやROM10c等のコンピュータによって読み取り可能な記憶媒体に記憶されて提供されてもよいし、通信インタフェース10dにより接続される通信ネットワークNを介して提供されてもよい。検査装置10では、CPU10aが検査プログラムを実行することにより、次図を用いて説明する様々な機能が実現される。なお、これらの物理的な構成は例示であって、必ずしも独立した構成でなくてもよい。例えば、検査装置10は、CPU10aとRAM10bやROM10cが一体化したLSI(Large-Scale Integration)を備えていてもよい。また、検査装置10は、GPU(Graphics Processing Unit)やFPGA(Field-Programmable Gate Array)、ASIC(Application Specific Integrated Circuit)等の演算回路を備えてもよい。
The inspection program may be provided by being stored in a computer-readable storage medium such as the
図3は、本発明の実施形態に係る検査装置10の機能ブロック図である。検査装置10は、取得部11、分割部12、分類部13、判定部14及び学習部16を備える。
FIG. 3 is a functional block diagram of the
取得部11は、通信ネットワークNを介して、カメラ30又は学習用画像データベースDBより、検査対象物100の画像を取得する。
The
分割部12は、第1分割部12a、第2分割部12b及び第3分割部12cを含む。第1分割部12aは、検査対象物100の画像を複数の第1部分画像に分割する。第2分割部12bは、検査対象物100の画像を、複数の第1部分画像とは異なる複数の第2部分画像に分割する。また、第3分割部12cは、検査対象物100の画像を、複数の第1部分画像及び複数の第2部分画像のいずれとも異なる複数の第3部分画像に分割する。
The dividing
複数の第2部分画像それぞれは、複数の第1部分画像それぞれよりも小さくてよい。同様に、複数の第3部分画像それぞれは、複数の第2部分画像それぞれよりも小さくてよい。また、複数の第2部分画像のうち少なくとも2つは、複数の第1部分画像のうちいずれか1つと重畳してよい。同様に、複数の第3部分画像のうち少なくとも2つは、複数の第2部分画像のうちいずれか1つと重畳してよい。 Each of the plurality of second partial images may be smaller than each of the plurality of first partial images. Similarly, each of the plurality of third partial images may be smaller than each of the plurality of second partial images. In addition, at least two of the plurality of second partial images may be superimposed on any one of the plurality of first partial images. Similarly, at least two of the plurality of third partial images may be superimposed on any one of the plurality of second partial images.
第1分割部12aは、複数の第1部分画像が互いに重畳しないように検査対象物100の画像を分割してよい。もっとも、第1分割部12aは、複数の第1部分画像のうち全部又は一部が互いに重畳するように検査対象物100の画像を分割してもよい。第2分割部12b及び第3分割部12cについても同様である。
The
より具体的には、本実施形態に係る分割部12は、検査対象物100の画像を矩形の部分画像に分割する。ここで、第1部分画像の長辺及び短辺は、それぞれ第2部分画像の長辺及び短辺より長く、第2部分画像の長辺及び短辺は、それぞれ第3部分画像の長辺及び短辺より長くてよい。もっとも、分割部12は、検査対象物100の画像を、矩形以外の形状、例えば多角形や楕円等の形状を有する部分画像に分割してもよい。なお、本実施形態に係る分割部12は、検査対象物100の画像を3種類の部分画像に分割するが、分割部12は、検査対象物100の画像を少なくとも2種類の部分画像に分割すればよく、4種類以上の部分画像に分割してもよい。
More specifically, the dividing
分類部13は、第1分類部13a、第2分類部13b及び第3分類部13cを含む。第1分類部13aは、複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する。第2分類部13bは、複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する。また、第3分類部13cは、複数の第3部分画像を、異常が含まれていると判定される第3部分画像と異常が含まれていないと判定される第3部分画像に分類する。
The
第1分類部13aは、異常が含まれている第1部分画像及び異常が含まれていない第1部分画像を学習用データとして学習された、第1学習済みモデルを含んでよい。また、第2分類部13bは、異常が含まれている第2部分画像及び異常が含まれていない第2部分画像を学習用データとして学習された、第2学習済みモデルを含んでよい。同様に、第3分類部13cは、異常が含まれている第3部分画像及び異常が含まれていない第3部分画像を学習用データとして学習された、第3学習済みモデルを含んでよい。ここで、第1学習済みモデル、第2学習済みモデル及び第3学習済みモデルは、共通のモデルを異なる学習用データで学習した学習済みモデルであってもよいし、異なるモデルを異なる学習用データで学習した学習済みモデルであってもよい。第1学習済みモデル、第2学習済みモデル及び第3学習済みモデルは、例えば、学習済みのニューラルネットワークであってよいが、サポートベクターマシン等の任意のモデルであってよい。
The
なお、分類部13は、学習済みモデルを含まないものであってもよく、所定の方法で部分画像に異常が含まれているか否かを分類するものであってもよい。例えば、分類部13は、部分画像に基づいて評価値を算出して、評価値と閾値を比較することで、異常が含まれている部分画像と異常が含まれていない部分画像を分類するものであってもよい。
Note that the
学習部16は、学習用画像データベースDBから学習用の第1部分画像、第2部分画像及び第3部分画像を取得して、第1分類部13a、第2分類部13b及び第3分類部13cをそれぞれ学習させる。ここで、学習とは、学習用データを分類部13に入力し、出力された結果の正誤に基づいて分類部13の構成を修正することで、分類部13による分類精度を向上させていくことをいう。具体的には、第1分類部13a、第2分類部13b及び第3分類部13cがニューラルネットワークを含む場合、学習部16は、学習用データとして学習用の第1部分画像、第2部分画像及び第3部分画像を第1分類部13a、第2分類部13b及び第3分類部13cにそれぞれ入力し、異常が含まれている部分画像と異常が含まれていない部分画像とを正しく分類できたかを評価する値に基づいて、当該評価値を向上させるように、ニューラルネットワークに含まれるユニットの重み付けを最適化する。
The
判定部14は、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像との重なりに基づいて、検査対象物100に関する異常の有無を判定する。判定部14は、少なくとも2種類の部分画像の重なりに基づいて、検査対象物100に関する異常の有無を判定してよいが、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像と、異常が含まれていると判定される第3部分画像との重なりに基づいて、検査対象物100に関する異常の有無を判定してもよい。
The
判定部14は、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像とが重畳する場合に、当該重畳箇所に異常が存在すると判定してよい。判定部14は、少なくとも2種類の部分画像について、異常が含まれている部分画像が重畳する場合に、当該重畳箇所に異常が存在すると判定してよいが、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像と、異常が含まれていると判定される第3部分画像とが重畳する場合に、当該重畳箇所に異常が存在すると判定してもよい。
When the first partial image that is determined to include an abnormality and the second partial image that is determined to include an abnormality are superimposed, the
また、判定部14は、異常が含まれていると判定される第1部分画像と、異常が含まれていないと判定される第2部分画像とが重畳する場合又は異常が含まれていないと判定される第1部分画像と、異常が含まれていると判定される第2部分画像とが重畳する場合に、当該異常が含まれていると判定される第1部分画像又は当該異常が含まれていると判定される第2部分画像の箇所には異常が存在しないと判定してよい。判定部14は、重畳する少なくとも2種類の部分画像について、いずれか一方の部分画像に異常が含まれており、他方の部分画像に異常が含まれていない場合に、当該異常が含まれていると判定される箇所には異常が存在しないと判定してよいが、重畳する3種類以上の部分画像について、いずれか1種類の部分画像に異常が含まれているが、他の種類の部分画像に異常が含まれていない場合に、当該異常が含まれていると判定される箇所には異常が存在しないと判定してもよい。
In addition, the
表示部10fは、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像を区別可能に表示し、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像を区別可能に表示して、検査対象物100の画像を表示する。また、表示部10fは、異常が含まれていると判定される第3部分画像と異常が含まれていないと判定される第3部分画像を区別可能に表示して、検査対象物100の画像を表示してよい。さらに、表示部10fは、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像とを区別可能に表示し、異常が含まれていると判定される第1部分画像及び異常が含まれていると判定される第2部分画像と、異常が含まれていると判定される第3部分画像とを区別可能に表示してよい。
The
図4は、本発明の実施形態に係る検査装置10により取得される検査対象物100の画像Pを示す図である。画像Pは、検査対象物100を所定の方向から撮影した画像である。本例では、画像Pは、検査対象物100に傷Sが付いていることを示しており、検査対象物100に異常が有る場合を示している。なお、本例では、一枚の画像Pにより検査対象物100に異常が有るか否かを判定する場合について説明するが、検査装置10は、検査対象物100に関する複数の画像に基づいて、検査対象物100に異常が有るか否かを判定してもよい。
FIG. 4 is a diagram showing an image P of the
図5は、本発明の実施形態に係る検査装置10により分割された第1部分画像P1を示す図である。本例において、第1分割部12aは、画像Pを16枚の第1部分画像P1に分割する。第1部分画像P1は、矩形の画像であり、互いに重畳しない。複数の第1部分画像P1が互いに重畳しないように画像Pを分割することで、複数の第1部分画像P1の枚数を過度に増大させることなく、検査対象物100の異常の有無を判定することができ、第1分類部13aの処理負荷を抑えることができる。
FIG. 5 is a diagram showing the first partial image P1 divided by the
第1分類部13aは、16枚の第1部分画像P1を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する。本例の場合、第1分類部13aは、16枚の第1部分画像P1のうち1枚の第1部分画像に異常が含まれていると判定し、他の15枚の第1部分画像には異常が含まれていないと判定する。
The
表示部10fは、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像を区別可能に表示する。本例の場合、表示部10fは、異常が含まれていると判定される第1部分画像P1aを、第1種のハッチングによって強調して示し、異常が含まれていないと判定される第1部分画像P1を、破線による枠線で示している。これにより、検査対象物100のどのような箇所に異常が含まれていると判定されたのか、視覚的に認識することができ、第1分類部13aによる分類結果を容易に把握することができる。なお、表示部10fによって異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像を区別可能に表示する態様は任意であり、異常が含まれていると判定される第1部分画像P1aのハッチング表示を透過処理して傷Sが視認可能なように表示してもよい。
The
図6は、本発明の実施形態に係る検査装置10により分割された第2部分画像P2を示す図である。本例において、第2分割部12bは、画像Pを25枚の第2部分画像P2に分割する。第2部分画像P2は、矩形の画像であり、互いに重畳しない。複数の第2部分画像P2が互いに重畳しないように画像Pを分割することで、複数の第2部分画像P2の枚数を過度に増大させることなく、検査対象物100の異常の有無を判定することができ、第2分類部13bの処理負荷を抑えることができる。
FIG. 6 is a diagram showing the second partial image P2 divided by the
また、第2部分画像P2は、第1部分画像P1よりも小さく、第2部分画像P2のうち少なくとも2つは、複数の第1部分画像P1のうちいずれか1つと重畳する。第1部分画像P1と、第1部分画像P1に重畳する少なくとも2つの第2部分画像P2とに異常が含まれているか否か判定することで、異常のサイズや形状が多様である場合であっても、異常の有無及び存在箇所を精度良く判定することができる。 The second partial image P2 is smaller than the first partial image P1, and at least two of the second partial images P2 overlap with any one of the plurality of first partial images P1. This is a case where the size and shape of the abnormality are various by determining whether or not the abnormality is included in the first partial image P1 and at least two second partial images P2 superimposed on the first partial image P1. However, the presence / absence and presence of abnormality can be determined with high accuracy.
第2分類部13bは、25枚の第2部分画像P2を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する。本例の場合、第2分類部13bは、25枚の第2部分画像P2のうち3枚の第2部分画像に異常が含まれていると判定し、他の22枚の第2部分画像には異常が含まれていないと判定する。
The
表示部10fは、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像を区別可能に表示する。本例の場合、表示部10fは、異常が含まれていると判定される第2部分画像P2a,P2b,P2cを、第2種のハッチングによって強調して示し、異常が含まれていないと判定される第2部分画像P2を、破線による枠線で示している。これにより、検査対象物100のどのような箇所に異常が含まれていると判定されたのか、視覚的に認識することができ、第2分類部13bによる分類結果を容易に把握することができる。
The
また、表示部10fは、異常が含まれていると判定される第1部分画像P1aと、異常が含まれていると判定される第2部分画像P2a,P2b,P2cとを区別可能に表示する。具体的には、表示部10fは、異常が含まれていると判定される第1部分画像P1aを第1種のハッチングで示したが、異常が含まれていると判定される第2部分画像P2a,P2b,P2cを第2種のハッチングで示す。
In addition, the
第2分類部13bによって異常が含まれていると判定される第2部分画像P2b,P2cには、実際には異常が含まれていない。このような場合であっても、後に詳細に説明するように、検査装置10は、異常が含まれていると判定される第2部分画像P2b,P2cの箇所に異常が存在するとは判定せず、異常の有無を正しく判定することができる。
The second partial images P2b and P2c that are determined to include an abnormality by the
図7は、本発明の実施形態に係る検査装置10により分割された第3部分画像P3を示す図である。本例において、第3分割部12cは、画像Pを64枚の第3部分画像P3に分割する。第3部分画像P3は、矩形の画像であり、互いに重畳しない。複数の第3部分画像P3が互いに重畳しないように画像Pを分割することで、複数の第3部分画像P3の枚数を過度に増大させることなく、検査対象物100の異常の有無を判定することができ、第3分類部13cの処理負荷を抑えることができる。
FIG. 7 is a diagram showing a third partial image P3 divided by the
また、第3部分画像P3は、第1部分画像P1及び第2部分画像P2よりも小さく、第3部分画像P3のうち少なくとも2つは、複数の第1部分画像P1のうちいずれか1つと重畳し、複数の第2部分画像P2のうちいずれか1つと重畳する。第1部分画像P1及び第2部分画像P2と、第1部分画像P1及び第2部分画像P2に重畳する少なくとも2つの第3部分画像P3とに異常が含まれているか否か判定することで、異常のサイズや形状が多様である場合であっても、異常の有無及び存在箇所を精度良く判定することができる。 Further, the third partial image P3 is smaller than the first partial image P1 and the second partial image P2, and at least two of the third partial images P3 are superimposed on any one of the plurality of first partial images P1. And it superimposes with any one among several 2nd partial images P2. By determining whether or not an abnormality is included in the first partial image P1 and the second partial image P2 and at least two third partial images P3 superimposed on the first partial image P1 and the second partial image P2, Even when there are various sizes and shapes of abnormalities, it is possible to accurately determine the presence / absence and location of the abnormality.
第3分類部13cは、64枚の第3部分画像P3を、異常が含まれていると判定される第3部分画像と異常が含まれていないと判定される第3部分画像に分類する。本例の場合、第3分類部13cは、64枚の第3部分画像P3のうち4枚の第3部分画像に異常が含まれていると判定し、他の60枚の第3部分画像には異常が含まれていないと判定する。
The
表示部10fは、異常が含まれていると判定される第3部分画像と異常が含まれていないと判定される第3部分画像を区別可能に表示する。本例の場合、表示部10fは、異常が含まれていると判定される第3部分画像P3a,P3b,P3c,P3dを、第3種のハッチングによって強調して示し、異常が含まれていないと判定される第3部分画像P3を、破線による枠線で示している。ここで、表示部10fは、異常が含まれていると判定される第1部分画像P1a及び異常が含まれていると判定される第2部分画像P2a,P2b,P2cと、異常が含まれていると判定される第3部分画像P3a,P3b,P3c,P3dとを区別可能に表示する。具体的には、表示部10fは、異常が含まれていると判定される第1部分画像P1aを第1種のハッチングで示し、異常が含まれていると判定される第2部分画像P2a,P2b,P2cを第2種のハッチングで示したが、異常が含まれていると判定される第3部分画像P3a,P3b,P3c,P3dを第3種のハッチングで示す。
The
第3分類部13cによって異常が含まれていると判定される第3部分画像P3dには、実際には異常が含まれていない。このような場合であっても、後に詳細に説明するように、検査装置10は、異常が含まれていると判定される第3部分画像P3dの箇所に異常が存在するとは判定せず、異常の有無を正しく判定することができる。
The third partial image P3d that is determined to include an abnormality by the
図8は、本発明の実施形態に係る検査装置10の表示部10fに表示される検査対象物100の画像Pを示す図である。表示部10fは、異常が含まれていると判定される第1部分画像P1aと、異常が含まれていると判定される第2部分画像P2a,P2b,P2cと、異常が含まれていると判定される第3部分画像P3a,P3b,P3c,P3dとを区別可能に表示する。第1分類部13aによる分類結果と、第2分類部13bによる分類結果と、第3分類部13cによる分類結果とが視覚的に区別可能に示されることで、第1分類部13a、第2分類部13b及び第3分類部13cによる分類結果の差異を容易に把握することができる。
FIG. 8 is a diagram illustrating an image P of the
検査装置10の判定部14は、異常が含まれていると判定される第1部分画像P1aと、異常が含まれていると判定される第2部分画像P2a,P2b,P2cと、異常が含まれていると判定される第3部分画像P3a,P3b,P3c,P3dとの重なりに基づいて、検査対象物100に関する異常の有無を判定する。
The
本実施形態に係る検査装置10によれば、画像Pを複数の第1部分画像P1と、複数の第2部分画像P2と、複数の第3部分画像P3とに分割し、第1部分画像、第2部分画像及び第3部分画像それぞれに異常が含まれていると判定される場合に、それらの部分画像の重なりに基づいて検査対象物に関する異常の有無を判定することで、誤判定が少なくなり、起こり得る異常が多様な場合であっても、検査対象物に関する異常の有無を精度良く検出することができる。
According to the
本例の場合、異常が含まれていると判定される第1部分画像P1aと、異常が含まれていると判定される第2部分画像P2aと、異常が含まれていると判定される第3部分画像P3a,P3b,P3cとが重畳するため、判定部14は、重畳箇所Rに異常が存在すると判定する。このように、異常が含まれていると判定される複数種類の部分画像の重畳箇所に異常が存在すると判定することで、検査対象物に関する異常の有無のみならず、異常が存在する箇所を精度良く特定することができる。
In the case of this example, the first partial image P1a determined to include an abnormality, the second partial image P2a determined to include an abnormality, and the first partial image P2a determined to include an abnormality. Since the three partial images P3a, P3b, and P3c are overlapped, the
また、判定部14は、異常が含まれていると判定される第2部分画像P2b,P2c及び異常が含まれていると判定される第3部分画像P3dについて、異常が含まれていないと判定される他の種類の部分画像と重畳するため、異常が含まれていると判定される第2部分画像P2b,P2c又は異常が含まれていると判定される第3部分画像P3dの箇所には異常が存在しないと判定する。このように、重畳する第1部分画像、第2部分画像及び第3部分画像のいずれかに異常が含まれていると判定され、他の種類の部分画像には異常が含まれていないと判定される場合に、当該異常が含まれていると判定される第1部分画像、第2部分画像又は第3部分画像の箇所には異常が存在しないと判定することで、異常の存在の誤判定が防止される。
In addition, the
さらに、複数の第2部分画像P2それぞれが、複数の第1部分画像P1それぞれよりも小さく、複数の第3部分画像P3それぞれが、複数の第2部分画像P2それぞれよりも小さいことで、異常のサイズや形状が多様である場合であっても、異常の有無及び存在箇所を精度良く判定することができる。 Furthermore, each of the plurality of second partial images P2 is smaller than each of the plurality of first partial images P1, and each of the plurality of third partial images P3 is smaller than each of the plurality of second partial images P2. Even when there are various sizes and shapes, it is possible to accurately determine the presence / absence and location of an abnormality.
図9は、本発明の実施形態に係る検査装置10により実行される第1処理のフローチャートである。第1処理は、検査対象物100の画像Pを第1部分画像P1、第2部分画像P2及び第3部分画像P3にそれぞれ分割して、異常の有無を判定して、異常が含まれていると判定される部分画像の重なりに基づいて、検査対象物100に関する異常の有無を判定する処理である。
FIG. 9 is a flowchart of the first process executed by the
検査装置10は、はじめに検査対象物100の画像Pを取得する(S10)。そして、画像Pを第1分割部12aによって複数の第1部分画像P1に分割し(S11)、画像Pを第2分割部12bによって複数の第2部分画像P2に分割し(S12)、画像Pを第3分割部12cによって複数の第3部分画像P3に分割する(S13)。
The
次に、第1分類部13aは、複数の第1部分画像P1を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類し(S14)、第2分類部13bは、複数の第2部分画像P2を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類し(S15)、第3分類部13cは、複数の第3部分画像P3を、異常が含まれていると判定される第3部分画像と異常が含まれていないと判定される第3部分画像に分類する(S16)。
Next, the
その後、表示部10fは、異常が含まれていると判定される第1部分画像、異常が含まれていると判定される第2部分画像及び異常が含まれていると判定される第3部分画像を、それぞれ区別可能な態様で表示する(S17)。
Thereafter, the
判定部14は、異常が含まれていると判定される第1部分画像と、異常が含まれていると判定される第2部分画像と、異常が含まれていると判定される第3部分画像とが重畳するか否かを判定する(S18)。これら3種類の部分画像が重畳すると判定された場合(S18:Yes)、判定部14は、当該重畳箇所に異常が存在すると判定する(S19)。一方、これら3種類の部分画像が重畳しないと判定された場合(S18:No)、すなわち少なくとも1種類の部分画像には異常が含まれていないと判定される場合、判定部14は、異常が含まれていると判定された部分画像の箇所には異常が存在しないと判定する(S20)。以上により、第1処理が終了する。
The
図10は、本発明の実施形態に係る検査装置10により実行される第2処理のフローチャートである。第2処理は、第1処理に先立って実行される処理であり、第1分類部13a、第2分類部13b及び第3分類部13cに対して、異常が含まれている部分画像と異常が含まれていない部分画像の分類を学習させる処理である。
FIG. 10 is a flowchart of the second process executed by the
検査装置10の学習部16は、学習用画像データベースDBから、学習用の第1部分画像を取得する(S30)。同様に学習部16は、学習用画像データベースDBから、学習用の第2部分画像の取得と(S31)、学習用の第3部分画像の取得を行う(S32)。ここで、学習用の第1部分画像は、異常が含まれている第1部分画像及び異常が含まれていない第1部分画像を含み、それぞれの第1部分画像には異常の有無がタグ付けされている。また、学習用の第2部分画像は、異常が含まれている第2部分画像及び異常が含まれていない第2部分画像を含み、それぞれの第2部分画像には異常の有無がタグ付けされている。同様に、学習用の第3部分画像は、異常が含まれている第3部分画像及び異常が含まれていない第3部分画像を含み、それぞれの第3部分画像には異常の有無がタグ付けされている。
The
学習部16は、学習用の第1部分画像を用いて第1分類部13aの学習を実行し(S33)、学習用の第2部分画像を用いて第2分類部13bの学習を実行し(S34)、学習用の第3部分画像を用いて第3分類部13cの学習を実行する(S35)。具体的には、第1分類部13a、第2分類部13b及び第3分類部13cがニューラルネットワークを含む場合、学習部16は、学習用の第1部分画像、第2部分画像及び第3部分画像を第1分類部13a、第2分類部13b及び第3分類部13cにそれぞれ入力し、異常が含まれている部分画像と異常が含まれていない部分画像とを正しく分類できたかを評価する値に基づいて、当該評価値を向上させるように、ニューラルネットワークに含まれるユニットの重み付けを最適化する。
The
以上により第2処理が終了し、第1分類部13aは、第1学習済みモデルを含むこととなり、第2分類部13bは、第2学習済みモデルを含むこととなり、第3分類部13cは、第3学習済みモデルを含むこととなる。ここで、第1学習済みモデル、第2学習済みモデル及び第3学習済みモデルは、それぞれ異なる学習用データ(学習用の第1部分画像、学習用の第2部分画像及び学習用の第3部分画像)を用いて学習された、異なる構成を有するモデルであってよい。具体的には、第1分類部13aは、第1学習済みニューラルネットワークを含み、第2分類部13bは、第1学習済みニューラルネットワークと構成が異なる第2学習済みニューラルネットワークを含み、第3分類部13cは、第1学習済みニューラルネットワーク及び第2学習済みニューラルネットワークいずれとも構成が異なる第3学習済みニューラルネットワークを含んでよい。
Thus, the second process ends, the
本実施形態に係る検査装置10によれば、それぞれ異なる学習用データで学習された第1学習済みモデル、第2学習済みモデル及び第3学習済みモデルを用いることで、第1分類部13a、第2分類部13b及び第3分類部13cとで異なる観点から異常の有無を分類することができる。
According to the
以上説明した実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。実施形態が備える各要素並びにその配置、材料、条件、形状及びサイズ等は、例示したものに限定されるわけではなく適宜変更することができる。また、異なる実施形態で示した構成同士を部分的に置換し又は組み合わせることが可能である。 The embodiments described above are for facilitating the understanding of the present invention, and are not intended to limit the present invention. Each element included in the embodiment and its arrangement, material, condition, shape, size, and the like are not limited to those illustrated, and can be changed as appropriate. In addition, the structures shown in different embodiments can be partially replaced or combined.
Claims (11)
前記画像の全体を、前記複数の第1部分画像とは異なる複数の第2部分画像に分割する第2分割部と、
前記複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する第1分類部と、
前記複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する第2分類部と、
前記異常が含まれていると判定される第1部分画像と、前記異常が含まれていると判定される第2部分画像との重なりに基づいて、前記検査対象物に関する異常の有無を判定する判定部と、を備え、
前記複数の第1部分画像及び前記複数の第2部分画像は、それぞれ第1方向に延伸する第1辺及び前記第1方向と交わる第2方向に沿って延伸する第2辺を有する矩形であり、前記複数の第1部分画像の前記第1辺及び前記第2辺は、それぞれ前記複数の第2部分画像の前記第1辺及び前記第2辺より長い、
検査装置。 A first dividing unit that divides the entire image of the inspection object into a plurality of first partial images;
A second dividing unit that divides the entire image into a plurality of second partial images different from the plurality of first partial images;
A first classification unit that classifies the plurality of first partial images into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality;
A second classification unit that classifies the plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality;
Based on the overlap between the first partial image determined to include the abnormality and the second partial image determined to include the abnormality, the presence / absence of abnormality related to the inspection object is determined. A determination unit ;
The plurality of first partial images and the plurality of second partial images are rectangles each having a first side extending in a first direction and a second side extending along a second direction intersecting with the first direction. The first side and the second side of the plurality of first partial images are longer than the first side and the second side of the plurality of second partial images, respectively.
Inspection equipment.
請求項1に記載の検査装置。 When the first partial image that is determined to include the abnormality and the second partial image that is determined to include the abnormality are superimposed, the determination unit has an abnormality at the overlapping portion. Determine that it exists,
The inspection apparatus according to claim 1.
請求項1又は2に記載の検査装置。 The determination unit includes a case where the first partial image determined to include the abnormality and a second partial image determined to not include the abnormality or the abnormality is not included The first partial image that is determined to include the abnormality and the second partial image that is determined to include the abnormality overlap the first partial image that is determined to include the abnormality or the abnormality It is determined that there is no abnormality in the portion of the second partial image that is determined to include
The inspection apparatus according to claim 1 or 2.
請求項1から3のいずれか一項に記載の検査装置。 The first partial image that is determined to contain the abnormality and the first partial image that is judged to contain no abnormality are displayed in a distinguishable manner, and the first partial image that is determined to contain the abnormality is displayed. A display unit for displaying the image, wherein the two partial images and the second partial image determined not to contain the abnormality are displayed in a distinguishable manner;
The inspection apparatus according to any one of claims 1 to 3.
請求項4に記載の検査装置。 The display unit displays the first partial image determined to include the abnormality and the second partial image determined to include the abnormality in a distinguishable manner.
The inspection apparatus according to claim 4.
請求項1から5のいずれか一項に記載の検査装置。 Each of the plurality of second partial images is smaller than each of the plurality of first partial images.
The inspection apparatus according to any one of claims 1 to 5.
請求項1から6のいずれか一項に記載の検査装置。 At least two of the plurality of second partial images are superposed on any one of the plurality of first partial images;
The inspection apparatus according to any one of claims 1 to 6.
前記第2分割部は、前記複数の第2部分画像が互いに重畳しないように前記画像を分割する、
請求項1から7のいずれか一項に記載の検査装置。 The first dividing unit divides the image so that the plurality of first partial images do not overlap each other,
The second dividing unit divides the images so that the plurality of second partial images do not overlap each other.
The inspection apparatus according to any one of claims 1 to 7.
前記第2分類部は、異常が含まれている第2部分画像及び異常が含まれていない第2部分画像を学習用データとして学習された、第2学習済みモデルを含む、
請求項1から8のいずれか一項に記載の検査装置。 The first classifying unit includes a first learned model that is learned as learning data using a first partial image that includes abnormality and a first partial image that does not include abnormality,
The second classification unit includes a second learned model in which a second partial image including abnormality and a second partial image not including abnormality are learned as learning data.
The inspection apparatus according to any one of claims 1 to 8.
検査対象物の画像の全体を複数の第1部分画像に分割するステップと、
前記画像の全体を、前記複数の第1部分画像とは異なる複数の第2部分画像に分割するステップと、
前記複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類するステップと、
前記複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類するステップと、
前記異常が含まれていると判定される第1部分画像と、前記異常が含まれていると判定される第2部分画像との重なりに基づいて、前記検査対象物に関する異常の有無を判定するステップと、を含み、
前記複数の第1部分画像及び前記複数の第2部分画像は、それぞれ第1方向に延伸する第1辺及び前記第1方向と交わる第2方向に沿って延伸する第2辺を有する矩形であり、前記複数の第1部分画像の前記第1辺及び前記第2辺は、それぞれ前記複数の第2部分画像の前記第1辺及び前記第2辺より長い、
検査方法。 Computer
Dividing the entire image of the inspection object into a plurality of first partial images;
Dividing the entire image into a plurality of second partial images different from the plurality of first partial images;
Classifying the plurality of first partial images into a first partial image determined to include an abnormality and a first partial image determined to include no abnormality;
Classifying the plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality;
Based on the overlap between the first partial image determined to include the abnormality and the second partial image determined to include the abnormality, the presence / absence of abnormality related to the inspection object is determined. And including steps ,
The plurality of first partial images and the plurality of second partial images are rectangles each having a first side extending in a first direction and a second side extending along a second direction intersecting with the first direction. The first side and the second side of the plurality of first partial images are longer than the first side and the second side of the plurality of second partial images, respectively.
Test査方method.
検査対象物の画像の全体を複数の第1部分画像に分割する第1分割部、
前記画像の全体を、前記複数の第1部分画像とは異なる複数の第2部分画像に分割する第2分割部、
前記複数の第1部分画像を、異常が含まれていると判定される第1部分画像と異常が含まれていないと判定される第1部分画像に分類する第1分類部、
前記複数の第2部分画像を、異常が含まれていると判定される第2部分画像と異常が含まれていないと判定される第2部分画像に分類する、前記第1分類部とは異なる第2分類部、及び
前記異常が含まれていると判定される第1部分画像と、前記異常が含まれていると判定される第2部分画像との重なりに基づいて、前記検査対象物に関する異常の有無を判定する判定部、として機能させ、
前記複数の第1部分画像及び前記複数の第2部分画像は、それぞれ第1方向に延伸する第1辺及び前記第1方向と交わる第2方向に沿って延伸する第2辺を有する矩形であり、前記複数の第1部分画像の前記第1辺及び前記第2辺は、それぞれ前記複数の第2部分画像の前記第1辺及び前記第2辺より長い、
検査プログラム。
Computer
A first dividing unit that divides the entire image of the inspection object into a plurality of first partial images;
A second dividing unit that divides the entire image into a plurality of second partial images different from the plurality of first partial images;
A first classification unit that classifies the plurality of first partial images into a first partial image that is determined to include an abnormality and a first partial image that is determined to include no abnormality;
Different from the first classification unit that classifies the plurality of second partial images into a second partial image that is determined to include an abnormality and a second partial image that is determined to include no abnormality. A second classification unit, and a first partial image that is determined to include the abnormality, and a second partial image that is determined to include the abnormality. Function as a determination unit that determines the presence or absence of abnormality ,
The plurality of first partial images and the plurality of second partial images are rectangles each having a first side extending in a first direction and a second side extending along a second direction intersecting with the first direction. The first side and the second side of the plurality of first partial images are longer than the first side and the second side of the plurality of second partial images, respectively.
Inspection program.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2017/023213 WO2018235266A1 (en) | 2017-06-23 | 2017-06-23 | Inspection device, inspection method, and inspection program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6387477B1 true JP6387477B1 (en) | 2018-09-05 |
JPWO2018235266A1 JPWO2018235266A1 (en) | 2019-06-27 |
Family
ID=63444288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018515903A Active JP6387477B1 (en) | 2017-06-23 | 2017-06-23 | Inspection device, inspection method, and inspection program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6387477B1 (en) |
WO (1) | WO2018235266A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021059681A1 (en) | 2019-09-24 | 2021-04-01 | 株式会社イシダ | Inspection device |
US12013351B2 (en) | 2019-09-24 | 2024-06-18 | Ishida Co., Ltd. | Inspection device |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7289658B2 (en) * | 2018-09-07 | 2023-06-12 | 株式会社フジクラ | Classification device, classification method, classification program, and inspection device |
JP7293687B2 (en) * | 2019-02-04 | 2023-06-20 | 東京電力ホールディングス株式会社 | Information processing method, program, water intake control system, and learned model generation method |
JP6703672B1 (en) * | 2019-07-16 | 2020-06-03 | 株式会社テクムズ | Defect detection method for inspection target product, apparatus therefor, and computer program therefor |
JP7450517B2 (en) * | 2020-10-23 | 2024-03-15 | 株式会社荏原製作所 | Machining surface determination device, machining surface determination program, machining surface determination method, and machining system |
JPWO2022215382A1 (en) * | 2021-04-05 | 2022-10-13 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4173441A (en) * | 1977-03-28 | 1979-11-06 | E. I. Du Pont De Nemours And Company | Web inspection system and method therefor |
JPH11111796A (en) * | 1997-10-02 | 1999-04-23 | Mitsubishi Electric Corp | Method and device for analyzing defect |
JP2010266430A (en) * | 2009-04-15 | 2010-11-25 | Jfe Steel Corp | Method and apparatus for inspecting defect of steel plate surface |
JP2011058926A (en) * | 2009-09-09 | 2011-03-24 | Ricoh Elemex Corp | Method and device for inspecting image |
JP2011122985A (en) * | 2009-12-11 | 2011-06-23 | Ricoh Co Ltd | Printed material inspection apparatus, printed material inspection method, program and storage medium |
JP2012026982A (en) * | 2010-07-27 | 2012-02-09 | Panasonic Electric Works Sunx Co Ltd | Inspection device |
WO2014175413A1 (en) * | 2013-04-25 | 2014-10-30 | 株式会社ブリヂストン | Inspection device |
JP2015026287A (en) * | 2013-07-26 | 2015-02-05 | 新電元工業株式会社 | Solder inspection device, solder inspection method and electronic component |
JP2016126769A (en) * | 2014-12-26 | 2016-07-11 | 古河機械金属株式会社 | Inspection result output device, inspection result output method, and program |
-
2017
- 2017-06-23 WO PCT/JP2017/023213 patent/WO2018235266A1/en active Application Filing
- 2017-06-23 JP JP2018515903A patent/JP6387477B1/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4173441A (en) * | 1977-03-28 | 1979-11-06 | E. I. Du Pont De Nemours And Company | Web inspection system and method therefor |
JPH11111796A (en) * | 1997-10-02 | 1999-04-23 | Mitsubishi Electric Corp | Method and device for analyzing defect |
JP2010266430A (en) * | 2009-04-15 | 2010-11-25 | Jfe Steel Corp | Method and apparatus for inspecting defect of steel plate surface |
JP2011058926A (en) * | 2009-09-09 | 2011-03-24 | Ricoh Elemex Corp | Method and device for inspecting image |
JP2011122985A (en) * | 2009-12-11 | 2011-06-23 | Ricoh Co Ltd | Printed material inspection apparatus, printed material inspection method, program and storage medium |
JP2012026982A (en) * | 2010-07-27 | 2012-02-09 | Panasonic Electric Works Sunx Co Ltd | Inspection device |
WO2014175413A1 (en) * | 2013-04-25 | 2014-10-30 | 株式会社ブリヂストン | Inspection device |
JP2015026287A (en) * | 2013-07-26 | 2015-02-05 | 新電元工業株式会社 | Solder inspection device, solder inspection method and electronic component |
JP2016126769A (en) * | 2014-12-26 | 2016-07-11 | 古河機械金属株式会社 | Inspection result output device, inspection result output method, and program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021059681A1 (en) | 2019-09-24 | 2021-04-01 | 株式会社イシダ | Inspection device |
US12013351B2 (en) | 2019-09-24 | 2024-06-18 | Ishida Co., Ltd. | Inspection device |
Also Published As
Publication number | Publication date |
---|---|
JPWO2018235266A1 (en) | 2019-06-27 |
WO2018235266A1 (en) | 2018-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6387477B1 (en) | Inspection device, inspection method, and inspection program | |
EP3502966B1 (en) | Data generation apparatus, data generation method, and data generation program | |
JP5956814B2 (en) | Appearance inspection apparatus, appearance inspection method, and computer program | |
JP6584250B2 (en) | Image classification method, classifier configuration method, and image classification apparatus | |
WO2019117068A1 (en) | Data generation device, data generation method, and data generation program | |
CN111429482A (en) | Target tracking method and device, computer equipment and storage medium | |
JP7034840B2 (en) | Visual inspection equipment and methods | |
JP5914732B2 (en) | Image verification method, image verification apparatus, and program | |
US20220067514A1 (en) | Inference apparatus, method, non-transitory computer readable medium and learning apparatus | |
CN109389110A (en) | A kind of area determination method and device | |
WO2023029491A1 (en) | Panel array short circuit detection method and apparatus, electronic device, and storage medium | |
US11769248B2 (en) | Image processing device, image processing method, and image processing non-transitory computer readable medium for verifying detectable range of defect image | |
ES2710860T3 (en) | Identification device for moving image region and method thereof | |
JP5764527B2 (en) | Image verification method, image verification apparatus, and program | |
JP6882772B2 (en) | Inspection equipment, inspection method and inspection program | |
CN113016023B (en) | Information processing method and computer-readable non-transitory recording medium | |
JP6223897B2 (en) | Abnormality detection device and abnormality detection system | |
CN116718351A (en) | Point inspection method and device for imaging equipment, electronic equipment and storage medium | |
CN114846513A (en) | Motion analysis system and motion analysis program | |
US20230080978A1 (en) | Machine learning method and information processing apparatus for machine learning | |
KR102000938B1 (en) | Method for Setting Inspection Criteria Automatically by Indicating Regions and Smart Learning Method for X-ray Inspection Using the Same | |
JP6446945B2 (en) | Incompatible detection device, incompatible detection method, and program | |
JP2017164068A (en) | Determination device, analysis device, calculation device, determination method, analysis method, calculation method, determination program, analysis program, and calculation program | |
CN110288662A (en) | Display detection method and system | |
WO2023175647A1 (en) | Person detection device, person detection method and person detection program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180326 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180326 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20180326 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20180713 |
|
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: 20180720 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180813 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6387477 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |