JP2008170298A - Visual inspecting device and visual inspection method - Google Patents

Visual inspecting device and visual inspection method Download PDF

Info

Publication number
JP2008170298A
JP2008170298A JP2007004184A JP2007004184A JP2008170298A JP 2008170298 A JP2008170298 A JP 2008170298A JP 2007004184 A JP2007004184 A JP 2007004184A JP 2007004184 A JP2007004184 A JP 2007004184A JP 2008170298 A JP2008170298 A JP 2008170298A
Authority
JP
Japan
Prior art keywords
inspection
image
camera
captured
appearance
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.)
Withdrawn
Application number
JP2007004184A
Other languages
Japanese (ja)
Inventor
Yasuhiko Shimizu
保彦 清水
Yukitoshi Watanabe
幸俊 渡邉
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.)
Oki Electric Industry Co Ltd
Oki Printed Circuits Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Printed Circuits Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd, Oki Printed Circuits Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2007004184A priority Critical patent/JP2008170298A/en
Publication of JP2008170298A publication Critical patent/JP2008170298A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a visual inspection time of an inspection object, and to reduce a memory capacity for preserving images. <P>SOLUTION: This visual inspection device 101 for determining acceptance of an appearance of the inspection object is characterized by having a plurality of cameras 160a, 160b for imaging the inspection object 50 or 60; an inspection processing part 230 for determining acceptance of the appearance of the inspection object based on an image of the inspection object; and an image synthesis/non-synthesis part 220 provided between the plurality of cameras and the inspection processing part, for performing either of a synthetic image output mode and a non-synthetic image output mode. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、基板等の被検査対象の外観を検査する外観検査装置、及び外観検査方法に関する。   The present invention relates to an appearance inspection apparatus and an appearance inspection method for inspecting the appearance of an inspection target such as a substrate.

従来、被検査対象の外観を検査する外観検査装置は、例えば、複数のカメラと、画像処理部と、検査処理部とを有する構成となっている(例えば、特許文献1参照)。   Conventionally, an appearance inspection apparatus that inspects an appearance of an object to be inspected has, for example, a configuration including a plurality of cameras, an image processing unit, and an inspection processing unit (see, for example, Patent Document 1).

複数のカメラは、被検査対象の画像(以下、「撮像画像」と称する)を撮像するための構成要素である。複数のカメラは、それぞれ、例えば、レンズとラインセンサとを備えたラインセンサカメラとして、構成されている。複数のカメラは、各カメラの視野が隣接するカメラの視野と若干重なるように、撮像ラインに沿って、一列に配置されている。各カメラのレンズは、撮像ラインに沿って、被検査対象の表面で反射した光(以下、「反射光」と称する)をラインセンサに結像する。そして、各カメラのラインセンサは、レンズによって結像された反射光を光電変換して撮像信号を取得する。これにより、各カメラは、被検査対象の表面上を走査して、被検査対象を撮像する。このとき、各カメラは、自身が撮像した撮像画像の一部が隣接するカメラによって撮像された撮像画像の一部と重複するように、すなわち、被検査対象以外の不要な部分が写るように、被検査対象を撮像する。   The plurality of cameras are components for capturing an image to be inspected (hereinafter referred to as “captured image”). Each of the plurality of cameras is configured as, for example, a line sensor camera including a lens and a line sensor. The plurality of cameras are arranged in a line along the imaging line so that the field of view of each camera slightly overlaps the field of view of the adjacent camera. The lens of each camera forms an image of light reflected on the surface of the object to be inspected (hereinafter referred to as “reflected light”) on the line sensor along the imaging line. And the line sensor of each camera photoelectrically converts the reflected light imaged by the lens, and acquires an imaging signal. Thus, each camera scans the surface of the inspection target and images the inspection target. At this time, each camera so that a part of the captured image captured by itself overlaps with a part of the captured image captured by the adjacent camera, that is, an unnecessary part other than the inspection target is captured. An object to be inspected is imaged.

画像処理部は、複数のカメラによって撮像された複数枚の撮像画像を合成して一枚の合成画像を作成するための構成要素である。画像処理部は、CPUとRAMによって構成されている。画像処理部は、被検査対象の複数枚の撮像画像に対して、予め定められた補正処理、例えば、複数枚の撮像画像の中の一枚に対して、隣接するカメラによって撮像された撮像画像と重複する部分の画素を削除して補正画像を作成し、この補正画像を隣接するカメラによって撮像された撮像画像と合成することにより、一枚の合成画像を作成する。   The image processing unit is a component for creating a single combined image by combining a plurality of captured images captured by a plurality of cameras. The image processing unit includes a CPU and a RAM. The image processing unit performs a predetermined correction process on a plurality of captured images to be inspected, for example, a captured image captured by an adjacent camera with respect to one of the plurality of captured images. A corrected image is created by deleting the overlapping pixels, and this corrected image is synthesized with a captured image taken by an adjacent camera, thereby creating a single synthesized image.

検査処理部は、合成画像に基づいて、被検査対象の外観の合否を判定するための構成要素である。検査処理部は、CPUとRAMによって構成されている。検査処理部は、画像処理部によって作成された合成画像に対して、予め定められた合否判定基準を参照して、当該合成画像に写っている被検査対象が合否判定基準を満たすか否かを判定する。これによって、検査処理部は、被検査対象の外観の合否を判定する。   The inspection processing unit is a component for determining pass / fail of the appearance of the inspection target based on the composite image. The inspection processing unit includes a CPU and a RAM. The inspection processing unit refers to a predetermined acceptance / rejection criterion for the composite image created by the image processing unit, and determines whether or not the inspection target in the composite image satisfies the acceptance / rejection criterion. judge. Accordingly, the inspection processing unit determines whether the appearance of the inspection target is acceptable.

上述の通り、特許文献1に開示の従来の外観検査装置は、被検査対象の外観の合否を判定するために、合成画像を作成している。   As described above, the conventional appearance inspection apparatus disclosed in Patent Document 1 creates a composite image in order to determine whether the appearance of an inspection target is acceptable.

このとき、従来の外観検査装置は、被検査対象のサイズの大小に関係なく、常に、被検査対象以外の不要な部分が各撮像画像に写るように、複数のカメラが被検査対象を撮像し、さらに、画像処理部が、あるカメラが撮像した一枚の撮像画像に対して、このカメラに隣接するカメラによって撮像された一枚の撮像画像(以下、「隣接撮像画像」と称する)と重複する部分の画素を削除して補正画像を作成し、この補正画像を隣接撮像画像と合成することにより、一枚の合成画像を作成していた。
特開2004−226128号公報
At this time, the conventional visual inspection apparatus always captures the inspection target with a plurality of cameras so that unnecessary portions other than the inspection target are always captured in each captured image regardless of the size of the inspection target. Furthermore, the image processing unit overlaps one captured image captured by a certain camera with one captured image captured by a camera adjacent to this camera (hereinafter referred to as “adjacent captured image”). The corrected image is created by deleting the pixel of the portion to be processed, and this corrected image is synthesized with the adjacent captured image, thereby creating one synthesized image.
JP 2004-226128 A

しかしながら、上述の従来の外観検査装置は、被検査対象のサイズの大小に関係なく、常に、被検査対象以外の不要な部分が各撮像画像に写るように、複数のカメラが被検査対象を撮像しているため、撮像画像の補正処理及び補正画像と撮像画像の合成処理に時間が掛かるという課題があった。   However, in the above-described conventional visual inspection apparatus, a plurality of cameras captures the inspection target so that unnecessary portions other than the inspection target are always captured in each captured image regardless of the size of the inspection target. For this reason, there has been a problem that it takes time to correct the captured image and to synthesize the corrected image and the captured image.

また、上述の従来の外観検査装置は、複数のカメラによって撮像された複数枚の撮像画像と補正画像と合成画像とを保存するためのメモリ容量を確保する必要があるという課題があった。   Further, the above-described conventional appearance inspection apparatus has a problem that it is necessary to secure a memory capacity for storing a plurality of captured images, correction images, and composite images captured by a plurality of cameras.

また、上述の従来の外観検査装置は、各撮像画像が被検査対象以外の不要な部分を含んでいるため、不要な部分の画像分だけ余分に、撮像画像を保存するための無駄なメモリ容量を確保する必要があるという課題があった。   Further, in the above-described conventional visual inspection apparatus, each captured image includes an unnecessary part other than the object to be inspected, and therefore a wasteful memory capacity for storing the captured image in excess of the unnecessary part image. There was a problem that it was necessary to ensure.

この発明の目的は、このような課題を解決するために、被検査対象のサイズに応じて、合成画像を作成することなく、単一のカメラによって撮像された撮像画像に基づいて、被検査対象の外観を検査することができる外観検査装置を提供することにある。   An object of the present invention is to solve such a problem, based on a captured image captured by a single camera without creating a composite image according to the size of the inspection target. An object of the present invention is to provide an appearance inspection apparatus capable of inspecting the appearance of the above.

上述の課題を解決するために、この発明に係る外観検査装置は、複数のカメラ、検査処理部、及びイメージ合成/非合成部を有している。   In order to solve the above-described problems, an appearance inspection apparatus according to the present invention includes a plurality of cameras, an inspection processing unit, and an image composition / non-synthesis unit.

複数のカメラは、被検査対象を撮像するための構成要素である。   The plurality of cameras are components for imaging the inspection target.

検査処理部は、カメラによって撮像された被検査対象の撮像画像に基づいて、被検査対象の外観の合否を判定するための構成要素である。   The inspection processing unit is a component for determining pass / fail of the appearance of the inspection target based on the captured image of the inspection target captured by the camera.

イメージ合成/非合成部は、複数のカメラによって撮像された被検査対象の複数枚の撮像画像を合成して一枚の合成画像を作成して、この合成画像を検査処理部に出力するモードを合成画像出力モードとし、及びそのような合成画像を作成せずに、単一のカメラによって撮像された被検査対象の一枚の撮像画像を検査処理部に出力するモードを非合成画像出力モードとする場合に、複数のカメラから被検査対象の複数枚の撮像画像を取得して、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を行うための構成要素である。   The image synthesizing / non-synthesizing unit synthesizes a plurality of captured images captured by a plurality of cameras to create one synthesized image, and outputs a mode for outputting the synthesized image to the inspection processing unit. The non-synthetic image output mode is a mode in which a single captured image captured by a single camera is output to the inspection processing unit as a composite image output mode without creating such a composite image. A configuration for acquiring a plurality of captured images of an inspection target from a plurality of cameras and performing one of a composite image output mode and a non-synthetic image output mode according to the size of the inspection target Is an element.

このような外観検査装置によれば、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を選択して実行することができる。   According to such an appearance inspection apparatus, either the composite image output mode or the non-composite image output mode can be selected and executed according to the size of the inspection target.

なお、この外観検査装置は、好ましくは、イメージ合成/非合成部は、被検査対象のサイズが単一のカメラの視野より大きい場合に、合成画像出力モードを行って被検査対象の合成画像を検査処理部に出力し、及び、被検査対象のサイズが単一のカメラの視野以下の場合に、非合成画像出力モードを行って被検査対象の撮像画像を検査処理部に出力するとよい。このような外観検査装置によれば、被検査対象のサイズがカメラの視野以下の場合に、非合成画像出力モードを選択して実行することができる。   In this appearance inspection apparatus, it is preferable that the image synthesis / non-synthesis unit performs a composite image output mode to output a composite image of the inspection target when the size of the inspection target is larger than the field of view of a single camera. When the image is output to the inspection processing unit and the size of the inspection target is equal to or smaller than the field of view of a single camera, the non-composite image output mode may be performed to output the captured image of the inspection target to the inspection processing unit. According to such an appearance inspection apparatus, it is possible to select and execute the non-synthesized image output mode when the size of the inspection target is equal to or smaller than the field of view of the camera.

また、この外観検査装置は、好ましくは、検査処理部は、複数のカメラに対応して複数設けられており、イメージ合成/非合成部は、被検査対象のサイズが単一のカメラの視野以下の場合に、それぞれのカメラによって撮像された被検査対象のそれぞれの撮像画像を、それぞれのカメラに対応するそれぞれの検査処理部に出力し、及び複数の検査処理部は、それぞれ、対応するカメラによって撮像された被検査対象の撮像画像に基づいて、他の検査処理部と並行して被検査対象の外観の合否を判定するとよい。このような外観検査装置によれば、被検査対象のサイズがカメラの視野以下の場合に、各検査処理部が、複数のカメラによって撮像された被検査対象のそれぞれの撮像画像に基づいて、他の検査処理部と並行して被検査対象の外観の合否を判定することができる。   Further, in this appearance inspection apparatus, preferably, a plurality of inspection processing units are provided corresponding to a plurality of cameras, and the image composition / non-synthesis unit has a size of an inspection target equal to or smaller than the field of view of a single camera. In this case, each captured image captured by each camera is output to each inspection processing unit corresponding to each camera, and each of the plurality of inspection processing units is output by the corresponding camera. Based on the captured image of the object to be inspected, it is preferable to determine whether the appearance of the object to be inspected is acceptable in parallel with other inspection processing units. According to such an appearance inspection device, when the size of the inspection target is equal to or smaller than the field of view of the camera, each inspection processing unit performs other processing based on each captured image of the inspection target captured by a plurality of cameras. In parallel with the inspection processing unit, it is possible to determine whether or not the appearance of the inspection target is acceptable.

また、この外観検査装置は、好ましくは、さらに、被検査対象をカメラの撮像位置に搬送するためのテーブルを有し、テーブルは、被検査対象のサイズを測定するための被検査対象サイズ測定センサを備えており、及びイメージ合成/非合成部は、テーブルの被検査対象サイズ測定センサによって測定された被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を行うとよい。このような外観検査装置によれば、テーブルの被検査対象サイズ測定センサによって測定された被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を選択して実行することができる。   In addition, the visual inspection apparatus preferably further includes a table for transporting the inspection target to the imaging position of the camera, and the table is an inspection target size measurement sensor for measuring the size of the inspection target. And the image synthesis / non-synthesis unit performs either one of the composite image output mode and the non-synthesized image output mode according to the size of the inspection target measured by the inspection target size measurement sensor of the table. It is good to do. According to such an appearance inspection apparatus, one of the composite image output mode and the non-composite image output mode is selected and executed according to the size of the inspection target measured by the inspection target size measurement sensor of the table. can do.

この発明に係る外観検査方法は、撮像ステップと、画像処理ステップと、検査処理ステップとを含む。   The appearance inspection method according to the present invention includes an imaging step, an image processing step, and an inspection processing step.

撮像ステップにおいて、複数のカメラが被検査対象を撮像する。   In the imaging step, a plurality of cameras image the inspection target.

画像処理ステップでは、イメージ合成/非合成部が、複数のカメラによって撮像された被検査対象の複数枚の撮像画像を合成して一枚の合成画像を作成して、合成画像を検査処理部に出力するモードを合成画像出力モードとし、及び合成画像を作成せずに、単一のカメラによって撮像された被検査対象の一枚の撮像画像を検査処理部に出力するモードを非合成画像出力モードとする場合に、イメージ合成/非合成部が、複数のカメラから被検査対象の複数枚の撮像画像を取得して、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を行う。   In the image processing step, the image synthesizing / non-synthesizing unit generates a single synthesized image by synthesizing a plurality of images to be inspected captured by a plurality of cameras, and sends the synthesized image to the inspection processing unit. The output mode is a composite image output mode, and the mode in which a single captured image captured by a single camera is output to the inspection processing unit without creating a composite image is a non-composite image output mode. In this case, the image synthesis / non-synthesis unit acquires a plurality of captured images of the inspected object from a plurality of cameras, and outputs a composite image output mode and a non-synthesized image output mode according to the size of the inspected object. Do either one.

検査処理ステップでは、検査処理部が、イメージ合成/非合成部から出力された被検査対象の画像に基づいて、被検査対象の外観の合否を判定する。このような外観検査方法によれば、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を選択して実行することができる。   In the inspection processing step, the inspection processing unit determines pass / fail of the appearance of the inspection target based on the image of the inspection target output from the image synthesis / non-synthesis unit. According to such an appearance inspection method, either the composite image output mode or the non-composite image output mode can be selected and executed according to the size of the inspection target.

なお、この外観検査方法は、好ましくは、画像処理ステップで、イメージ合成/非合成部は、被検査対象のサイズが単一のカメラの視野より大きい場合に、合成画像出力モードを行って被検査対象の合成画像を検査処理部に出力し、及び、被検査対象のサイズが単一のカメラの視野以下の場合に、非合成画像出力モードを行って被検査対象の撮像画像を検査処理部に出力するとよい。このような外観検査方法によれば、被検査対象のサイズがカメラの視野以下の場合に、非合成画像出力モードを選択して実行することができる。   In this appearance inspection method, preferably, in the image processing step, the image synthesis / non-synthesis unit performs the composite image output mode when the size of the object to be inspected is larger than the field of view of a single camera. When the composite image of the target is output to the inspection processing unit, and the size of the inspection target is equal to or smaller than the field of view of a single camera, the non-composite image output mode is performed and the captured image of the inspection target is output to the inspection processing unit. It is good to output. According to such an appearance inspection method, when the size of the object to be inspected is equal to or smaller than the field of view of the camera, the non-synthetic image output mode can be selected and executed.

また、この外観検査方法は、好ましくは、検査処理部は、複数のカメラに対応して複数設けられており、画像処理ステップで、イメージ合成/非合成部は、被検査対象のサイズが単一のカメラの視野以下の場合に、それぞれのカメラによって撮像された被検査対象のそれぞれの撮像画像を、それぞれのカメラに対応するそれぞれの検査処理部に出力し、及び、検査処理ステップで、複数の検査処理部は、それぞれ、対応するカメラによって撮像された被検査対象の撮像画像に基づいて、他の検査処理部と並行して被検査対象の外観の合否を判定するとよい。このような外観検査方法によれば、被検査対象のサイズがカメラの視野以下の場合に、各検査処理部が、複数のカメラによって撮像された被検査対象のそれぞれの撮像画像に基づいて、他の検査処理部と並行して被検査対象の外観の合否を判定することができる。   In this appearance inspection method, preferably, a plurality of inspection processing units are provided corresponding to a plurality of cameras, and the image synthesis / non-synthesis unit has a single size to be inspected in the image processing step. In the case of less than the field of view of each camera, each captured image captured by each camera is output to each inspection processing unit corresponding to each camera, and a plurality of inspection processing steps are performed. Each of the inspection processing units may determine pass / fail of the appearance of the inspection target in parallel with the other inspection processing units based on the captured image of the inspection target captured by the corresponding camera. According to such an appearance inspection method, when the size of the object to be inspected is equal to or smaller than the field of view of the camera, each inspection processing unit performs other processing based on each captured image of the object to be inspected captured by a plurality of cameras. In parallel with the inspection processing unit, it is possible to determine whether or not the appearance of the inspection target is acceptable.

また、この外観検査方法は、好ましくは、さらに、被検査対象をカメラの撮像位置に搬送するテーブルを有し、テーブルは、被検査対象のサイズを測定するための被検査対象サイズ測定センサを備えており、画像処理ステップで、イメージ合成/非合成部は、テーブルの被検査対象サイズ測定センサによって測定された被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を行うとよい。このような外観検査方法によれば、テーブルの被検査対象サイズ測定センサによって測定された被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を選択して実行することができる。   In addition, the visual inspection method preferably further includes a table for conveying the inspection target to the imaging position of the camera, and the table includes an inspection target size measurement sensor for measuring the size of the inspection target. In the image processing step, the image compositing / non-synthesizing unit selects either the composite image output mode or the non-synthesized image output mode according to the size of the inspection target measured by the inspection target size measurement sensor of the table. One way is good. According to such an appearance inspection method, one of the composite image output mode and the non-synthesized image output mode is selected and executed according to the size of the inspection target measured by the inspection target size measurement sensor of the table. can do.

この発明に係る外観検査装置及び外観検査方法によれば、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を選択して実行する。   According to the appearance inspection apparatus and the appearance inspection method according to the present invention, one of the composite image output mode and the non-composite image output mode is selected and executed according to the size of the inspection target.

したがって、この装置及び方法によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、非合成画像出力モードを選択して実行することにより、被検査対象の合成画像を作成せずに、単一のカメラによって撮像された被検査対象の撮像画像に基づいて、被検査対象の外観の合否を判定することになる。   Therefore, according to this apparatus and method, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, the composite image of the object to be inspected can be obtained by selecting and executing the non-composite image output mode. Whether or not the appearance of the inspection target is acceptable is determined based on a captured image of the inspection target captured by a single camera without creating the image.

そのため、この装置及び方法によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、各撮像画像の補正処理及び各補正画像の合成処理を排除することができるので、従来よりも、撮像画像の補正処理及び補正画像と撮像画像の合成処理に掛かっていた時間だけ、検査時間を短縮することができるという効果を有する。   Therefore, according to this apparatus and method, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, correction processing of each captured image and synthesis processing of each correction image can be eliminated. Compared to the conventional technique, the inspection time can be shortened by the time required for the correction process of the captured image and the synthesis process of the corrected image and the captured image.

また、この装置及び方法によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、メモリに保存する画像は一枚の撮像画像だけでよい。しかも、このメモリに保存する撮像画像は、被検査対象以外の不要な部分、すなわち、隣接するカメラによって撮像された撮像画像との重複部分を含まなくてよい。   Further, according to this apparatus and method, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, only one captured image may be stored in the memory. In addition, the captured image stored in the memory does not have to include an unnecessary portion other than the inspection target, that is, an overlapping portion with the captured image captured by the adjacent camera.

したがって、この装置及び方法によれば、従来のように、複数のカメラによって撮像された複数枚の撮像画像と補正画像と合成画像とを保存するためのメモリ容量を確保する必要がなく、また、従来のように、不要な部分の画像分だけ余分に、撮像画像を保存するための無駄なメモリ容量を確保する必要もない。   Therefore, according to this apparatus and method, it is not necessary to secure a memory capacity for storing a plurality of captured images, correction images, and composite images captured by a plurality of cameras, as in the related art. There is no need to secure a useless memory capacity for storing the captured image, as in the prior art, by an amount corresponding to an unnecessary portion of the image.

そのため、この装置及び方法によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、画像を保存するためのメモリ容量を抑えることができるという効果を有する。   Therefore, according to this apparatus and method, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, it is possible to reduce the memory capacity for storing the image.

以下、図を参照して、この発明の実施の形態につき説明する。なお、各図は、各構成要素の形状、大きさ及び配置関係を、この発明を理解できる程度に、概略的に示してあるに過ぎない。よって、この発明は、図示例のみに限定されるものではない。また、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Each drawing merely schematically shows the shape, size, and arrangement relationship of each component to the extent that the present invention can be understood. Therefore, the present invention is not limited to the illustrated example. Moreover, in each figure, the same code | symbol is attached | subjected about the common component and the same component, and those overlapping description is abbreviate | omitted.

[実施の形態例1]
<外観検査装置の構成>
以下、図1を参照して、この発明が適用される外観検査装置の概略構成につき説明する。なお、図1は、実施の形態例1に係る外観検査装置の概略構成を示す図である。
[Embodiment 1]
<Configuration of appearance inspection device>
Hereinafter, a schematic configuration of an appearance inspection apparatus to which the present invention is applied will be described with reference to FIG. FIG. 1 is a diagram illustrating a schematic configuration of the appearance inspection apparatus according to the first embodiment.

外観検査装置101は、この実施の形態例1に係る、被検査対象の外観を検査する装置である。   The appearance inspection apparatus 101 is an apparatus for inspecting the appearance of an object to be inspected according to the first embodiment.

外観検査装置101は、テーブル110、照明150、複数のカメラ(図1に示す例では、第1及び第2カメラ160a及び160b)、演算部200、入出力部260、格納部270等を有している。   The appearance inspection apparatus 101 includes a table 110, illumination 150, a plurality of cameras (first and second cameras 160a and 160b in the example shown in FIG. 1), a calculation unit 200, an input / output unit 260, a storage unit 270, and the like. ing.

テーブル110は、被検査対象を搬送するための構成要素である。テーブル110は、被検査対象を上に載置した状態で搬送路上を水平方向に移動することによって、被検査対象をカメラの視野内に搬送する。例えば、図1に示す例では、テーブル110は、小型の被検査対象50を上に載置した状態で矢印10の搬送方向に移動することによって、被検査対象50を第1カメラ160aの視野162a内に搬送する。または、テーブル110は、大型の被検査対象60を上に載置した状態で矢印10の搬送方向に移動することによって、被検査対象60を第1カメラ160aの視野162a及び第2カメラ160bの視野162b内に搬送する。   The table 110 is a component for conveying the inspection target. The table 110 moves the inspection object in the field of view of the camera by moving in the horizontal direction on the conveyance path with the inspection object placed on the table 110. For example, in the example shown in FIG. 1, the table 110 moves the inspection target 50 in the field of view 162 a of the first camera 160 a by moving in the transport direction indicated by the arrow 10 with the small inspection target 50 placed thereon. Carry in. Alternatively, the table 110 moves in the transport direction indicated by the arrow 10 with the large inspection target 60 placed thereon, thereby moving the inspection target 60 to the visual field 162a of the first camera 160a and the visual field of the second camera 160b. It is conveyed into 162b.

照明150は、テーブル110の上に載置された被検査対象に光を照らすための構成要素である。照明150は、テーブル110の上方に配置されている。   The illumination 150 is a component for illuminating light on an object to be inspected placed on the table 110. The illumination 150 is disposed above the table 110.

第1カメラ160aは、テーブル110の上に載置された被検査対象を撮像するための構成要素である。通常は、第1カメラ160aは、その光軸をテーブル110の載置面に対し直交させて、載置面から光軸上の一定の距離だけ離間した位置に固定されている。第1カメラ160aは、例えば、光電変換、すなわち、外部から受けた光を電気信号に変換するラインセンサによって構成されている。なお、この実施の形態例では、第1カメラ160aの視野162aは、幅W162aに設定されているものとする。この幅W162aに関する情報は、格納部270に読み出し自在に格納されている。第1カメラ(以下、「第1ラインセンサカメラ」と称する場合もある)160aは、テーブル110の上に載置された被検査対象の、視野162a内に位置する部分を撮像して、撮像した画像(以下、「撮像画像」と称する)の信号を後述する第1イメージキャプチャ部210aに出力する。   The first camera 160 a is a component for imaging the inspection target placed on the table 110. Normally, the first camera 160a is fixed at a position separated from the placement surface by a certain distance on the optical axis with its optical axis orthogonal to the placement surface of the table 110. The first camera 160a is configured by, for example, photoelectric conversion, that is, a line sensor that converts light received from the outside into an electric signal. In this embodiment, the field of view 162a of the first camera 160a is set to the width W162a. Information on the width W162a is stored in the storage unit 270 so as to be readable. A first camera (hereinafter also referred to as a “first line sensor camera”) 160a picks up an image of a portion of the object to be inspected placed on the table 110 and located in the visual field 162a. A signal of an image (hereinafter referred to as “captured image”) is output to a first image capture unit 210a described later.

第2カメラ160bは、第1カメラ160aと同様に、テーブル110の上に載置された被検査対象を撮像するための構成要素であって、テーブル110の載置面に対して第1カメラ160aと同じ距離だけ離間して固定されている。第2カメラ160bは、第1カメラ160aと同様に、例えば、ラインセンサによって構成されている。なお、この実施の形態例では、第2カメラ160bの視野162bは、幅W162bに設定されているものとする。なお、この第2カメラ160bの視野162bの幅W162bは、通常、第1カメラ160aの視野162aの幅W162aと同じ幅となっている。この幅W162bに関する情報は、格納部270に読み出し自在に格納されている。第2カメラ160bは、第1カメラ160aと一列に配置されている。具体的には、第2カメラ160bは、第2カメラ160bの視野162bが第1カメラ160aの視野162aと同一線上にかつ第1カメラ160aの視野162aと若干重なるように、第1カメラ160aに隣接して配置されている。第2カメラ(以下、「第2ラインセンサカメラ」と称する場合もある)160bは、テーブル110の上に載置された被検査対象の、視野162b内に位置する部分を撮像して、撮像した撮像画像の信号を後述する第2イメージキャプチャ部210bに出力する。   Similar to the first camera 160 a, the second camera 160 b is a component for imaging the inspection target placed on the table 110, and the first camera 160 a with respect to the placement surface of the table 110. Are fixed at the same distance. The second camera 160b is configured by, for example, a line sensor, similarly to the first camera 160a. In this embodiment, the field of view 162b of the second camera 160b is set to a width W162b. The width W162b of the visual field 162b of the second camera 160b is usually the same width as the width W162a of the visual field 162a of the first camera 160a. Information regarding the width W162b is stored in the storage unit 270 so as to be readable. The second camera 160b is arranged in a row with the first camera 160a. Specifically, the second camera 160b is adjacent to the first camera 160a so that the field of view 162b of the second camera 160b is collinear with the field of view 162a of the first camera 160a and slightly overlaps the field of view 162a of the first camera 160a. Are arranged. A second camera (hereinafter also referred to as a “second line sensor camera”) 160b picks up an image of a portion of the object to be inspected placed on the table 110 and located in the field of view 162b. A signal of the captured image is output to a second image capture unit 210b described later.

なお、図1に示す例では、カメラの数は2台となっている。しかしながら、カメラの数は3台またはそれ以上であってもよい。この場合、各カメラは、一列に配置されているとよい。具体的には、各カメラは、各カメラの視野が同一線上に配置されかつ隣接するカメラの視野同士が若干重なるように、配置されているとよい。これにより、外観検査装置101は、3台またはそれ以上のカメラによって、図1に示す被検査対象60よりもさらに幅の広い被検査対象の外観を検査することが可能となる。   In the example shown in FIG. 1, the number of cameras is two. However, the number of cameras may be three or more. In this case, the cameras may be arranged in a line. Specifically, the cameras may be arranged such that the fields of view of the cameras are arranged on the same line and the fields of view of adjacent cameras are slightly overlapped. As a result, the appearance inspection apparatus 101 can inspect the appearance of the inspection object wider than the inspection object 60 shown in FIG. 1 with three or more cameras.

演算部200は、各種の演算を行う構成要素である。演算部200は、CPUによって構成されている。演算部200は、複数のイメージキャプチャ部(図1に示す例では、第1及び第2イメージキャプチャ部210a及び210b)、イメージ合成/非合成部220、検査処理部230、機構制御部240、全体制御部250等の機能手段を備えている。   The calculation unit 200 is a component that performs various calculations. The arithmetic unit 200 is constituted by a CPU. The calculation unit 200 includes a plurality of image capture units (first and second image capture units 210a and 210b in the example shown in FIG. 1), an image synthesis / non-synthesis unit 220, an inspection processing unit 230, a mechanism control unit 240, and the whole. Functional means such as the control unit 250 are provided.

第1イメージキャプチャ部210aは、第1カメラ160aから順次出力された信号に基づいて、一枚の撮像画像を表すイメージデータを生成するための構成要素である。第1イメージキャプチャ部210aは、イメージデータとして生成した一枚の撮像画像を画像処理部であるイメージ合成/非合成部220に出力する。   The first image capture unit 210a is a component for generating image data representing one captured image based on signals sequentially output from the first camera 160a. The first image capture unit 210a outputs a single captured image generated as image data to the image composition / non-synthesis unit 220, which is an image processing unit.

第2イメージキャプチャ部210bは、第1イメージキャプチャ部210aと同様に、第2カメラ160bから順次出力された信号に基づいて、一枚の撮像画像を表すイメージデータを生成するための構成要素である。第2イメージキャプチャ部210bは、イメージデータとして生成した一枚の撮像画像を画像処理部であるイメージ合成/非合成部220に出力する。   Similar to the first image capture unit 210a, the second image capture unit 210b is a component for generating image data representing one captured image based on signals sequentially output from the second camera 160b. . The second image capture unit 210b outputs a single captured image generated as image data to the image synthesis / non-synthesis unit 220 that is an image processing unit.

イメージ合成/非合成部220は、被検査対象のサイズに応じて、合成画像出力モード及び非合成画像出力モードのいずれか一方を行うための構成要素である。なお、「合成画像出力モード」とは、複数のカメラ(図1に示す例では、第1及び第2カメラ160a及び160b)によって撮像された被検査対象の複数枚の撮像画像を合成して一枚の合成画像を作成し、この合成画像を検査処理部230に出力するモードを意味している。また、「非合成画像出力モード」とは、合成画像を作成せずに、単一のカメラ(図1に示す例では、第1カメラ160a)によって撮像された被検査対象の一枚の撮像画像を検査処理部230に出力するモードを意味している。イメージ合成/非合成部220は、複数のカメラから被検査対象の複数枚の撮像画像を取得して(図1に示す例では、第1カメラ160a及び第2カメラ160bから被検査対象の2枚の撮像画像を取得して)、モードが合成画像出力モードである場合に、複数のカメラによって撮像された被検査対象の複数枚の撮像画像に対して、重複する部分の削除等の補正処理を行った後、複数枚の撮像画像を合成して一枚の合成画像を作成し、この合成画像を検査処理部230に出力する。他方、イメージ合成/非合成部220は、複数のカメラから被検査対象の複数枚の撮像画像を取得して、モードが非合成画像出力モードである場合に、合成画像を作成せずに、単一のカメラによって撮像された一枚の撮像画像(図1に示す例では、第1カメラ160aによって撮像された撮像画像)を検査処理部230に出力する。   The image synthesis / non-synthesis unit 220 is a component for performing one of the synthesized image output mode and the non-synthesized image output mode according to the size of the inspection target. The “composite image output mode” is a combination of a plurality of images to be inspected captured by a plurality of cameras (first and second cameras 160a and 160b in the example shown in FIG. 1). This means a mode in which a single composite image is created and this composite image is output to the inspection processing unit 230. The “non-composite image output mode” refers to a single captured image captured by a single camera (first camera 160a in the example shown in FIG. 1) without creating a composite image. Is output to the inspection processing unit 230. The image synthesizing / non-synthesizing unit 220 acquires a plurality of captured images to be inspected from a plurality of cameras (in the example shown in FIG. 1, two images to be inspected from the first camera 160a and the second camera 160b). When the mode is the composite image output mode, correction processing such as deletion of overlapping portions is performed on a plurality of images to be inspected captured by a plurality of cameras. Then, a plurality of captured images are combined to create a single combined image, and this combined image is output to the inspection processing unit 230. On the other hand, the image synthesis / non-synthesis unit 220 acquires a plurality of captured images to be inspected from a plurality of cameras, and does not create a synthesized image when the mode is the non-synthesized image output mode. One captured image captured by one camera (in the example illustrated in FIG. 1, the captured image captured by the first camera 160a) is output to the inspection processing unit 230.

このイメージ合成/非合成部220は、例えば、撮像画像に対して被検査対象の検出処理を行ったり、撮像画像の補正処理を行う画像処理部としても機能する。なお、「補正処理」としては、例えば、合成画像出力モード時に、第1イメージキャプチャ部210aから出力されたイメージデータに含まれる被検査対象の画像、すなわち、第1カメラ160aによって撮像された撮像画像(以下、「第1カメラ160aの撮像画像」と称する場合もある)に写る被検査対象の画像と、第2イメージキャプチャ部210bから出力されたイメージデータに含まれる被検査対象の画像、すなわち、第2カメラ160bによって撮像された撮像画像(以下、「第2カメラ160bの撮像画像」と称する場合もある)に写る被検査対象の画像との重複する部分を、一方のイメージデータから削除する処理等がある。   The image composition / non-composition unit 220 also functions as an image processing unit that performs, for example, detection processing of an inspection target on a captured image or correction processing of a captured image. As the “correction process”, for example, in the composite image output mode, an image to be inspected included in the image data output from the first image capture unit 210a, that is, a captured image captured by the first camera 160a. (Hereinafter, also referred to as “image captured by the first camera 160a”) and the image to be inspected included in the image data output from the second image capture unit 210b, that is, the image to be inspected. Processing for deleting a portion overlapping with an image to be inspected, which appears in a captured image captured by the second camera 160b (hereinafter also referred to as “captured image of the second camera 160b”) from one image data Etc.

検査処理部230は、イメージ合成/非合成部220から出力された被検査対象の画像に基づいて、被検査対象の外観の合否を判定するための構成要素である。検査処理部230は、モードが合成画像出力モードである場合に、イメージ合成/非合成部220から被検査対象の一枚の合成画像を取得する。この場合、検査処理部230は、被検査対象の一枚の合成画像に基づいて、被検査対象の外観の合否を判定する。他方、検査処理部230は、モードが非合成画像出力モードである場合に、イメージ合成/非合成部220から被検査対象の一枚の撮像画像を取得する。この場合、検査処理部230は、被検査対象の一枚の撮像画像に基づいて、被検査対象の外観の合否を判定する。なお、検査処理部230は、被検査対象の外観の合否を判定する以外に、被検査対象に不良箇所が存在する場合に、その不良箇所を積極的に外部機器600に通知するように動作してもよい。   The inspection processing unit 230 is a component for determining pass / fail of the appearance of the inspection target based on the image of the inspection target output from the image synthesis / non-synthesis unit 220. When the mode is the composite image output mode, the inspection processing unit 230 acquires a single composite image to be inspected from the image composition / non-composition unit 220. In this case, the inspection processing unit 230 determines pass / fail of the appearance of the inspection target based on the single composite image of the inspection target. On the other hand, the inspection processing unit 230 acquires a single captured image to be inspected from the image composition / non-synthesis unit 220 when the mode is the non-synthesis image output mode. In this case, the inspection processing unit 230 determines pass / fail of the appearance of the inspection target based on one captured image of the inspection target. Note that the inspection processing unit 230 operates to positively notify the external device 600 of a defective portion when the defective portion exists in the inspection target, in addition to determining whether the appearance of the inspection target is acceptable. May be.

機構制御部240は、機構系の各構成要素の動作、すなわち、テーブル110、アクチュエータ120、モータ130、照明150等の動作を制御するための構成要素である。機構制御部240は、モータ130を駆動させたり、停止させたりすることにより、アクチュエータ120を介してテーブル110に載置された被検査対象の搬送を制御する。また、機構制御部240は、照明150を点灯させたり、消灯させたりすることにより、被検査対象の照度を制御する。   The mechanism control unit 240 is a component for controlling the operation of each component of the mechanism system, that is, the operation of the table 110, the actuator 120, the motor 130, the illumination 150, and the like. The mechanism control unit 240 controls the conveyance of the inspection target placed on the table 110 via the actuator 120 by driving or stopping the motor 130. The mechanism control unit 240 controls the illuminance of the inspection target by turning on or off the illumination 150.

全体制御部250は、画像処理系の各構成要素の動作、すなわち、第1及び第2イメージキャプチャ部210a及び210b、イメージ合成/非合成部220、検査処理部230等の動作、及び、機構系の各構成要素の動作、すなわち、テーブル110、アクチュエータ120、モータ130、照明150、機構制御部240の動作を制御するための構成要素である。なお、この実施の形態例では、全体制御部250は、後述する外部機器500から、後述する入出力部260を介して、格納部270に入力されて格納されている後述する被検査対象情報に基づいて、被検査対象のサイズを認識し、このサイズに応じて、イメージ合成/非合成部220の動作モードを、非合成画像出力モードまたは合成画像出力モードに設定する。例えば、全体制御部250は、被検査対象のサイズがカメラ160aの視野以下の場合に、イメージデータの非合成出力処理の指示をイメージ合成/非合成部220に出力することにより、イメージ合成/非合成部220の動作モードを、非合成画像出力モードに設定する。他方、全体制御部250は、被検査対象のサイズがカメラの視野よりも大きい場合に、イメージデータの合成出力処理の指示をイメージ合成/非合成部220に出力することにより、イメージ合成/非合成部220の動作モードを、合成画像出力モードに設定する。   The overall control unit 250 operates the components of the image processing system, that is, the operations of the first and second image capture units 210a and 210b, the image synthesis / non-synthesis unit 220, the inspection processing unit 230, and the like, and the mechanism system That is, it is a component for controlling the operation of each of these components, that is, the operations of the table 110, the actuator 120, the motor 130, the illumination 150, and the mechanism control unit 240. In this embodiment, the overall control unit 250 adds information to be inspected to be inspected, which is input and stored in the storage unit 270 from the external device 500, which will be described later, via the input / output unit 260, which will be described later. Based on this, the size of the object to be inspected is recognized, and the operation mode of the image synthesis / non-synthesis unit 220 is set to the non-synthesized image output mode or the synthesized image output mode according to this size. For example, when the size of the object to be inspected is equal to or smaller than the field of view of the camera 160a, the overall control unit 250 outputs an image data non-synthesis output processing instruction to the image synthesis / non-synthesis unit 220. The operation mode of the composition unit 220 is set to the non-composite image output mode. On the other hand, when the size of the object to be inspected is larger than the field of view of the camera, the overall control unit 250 outputs an image data synthesis output processing instruction to the image synthesis / non-synthesis unit 220, thereby image synthesis / non-synthesis. The operation mode of the unit 220 is set to the composite image output mode.

入出力部260は、データ入力用の外部機器500から各種の情報を外観検査装置101内に入力したり、外観検査装置101内から各種の情報をデータ出力用の外部機器600に出力するための構成要素である。この入出力部260は、例えば、外観検査装置101の操作者が、各種の情報や指示を入力する操作キー等を備えている。   The input / output unit 260 inputs various types of information from the external device 500 for data input into the appearance inspection apparatus 101 and outputs various types of information from the external inspection apparatus 101 to the external device 600 for data output. It is a component. The input / output unit 260 includes, for example, operation keys for an operator of the appearance inspection apparatus 101 to input various information and instructions.

入出力部260は、例えば、外部機器500から被検査対象に関する情報(以下、単に「被検査対象情報」と称する)を外観検査装置101内に入力する。この「被検査対象情報」は、例えば、被検査対象のサイズや被検査対象の各領域の色等の情報を含んでいる。この被検査対象情報に含まれている被検査対象のサイズや被検査対象の各領域の色等の情報は、被検査対象の外観検査に際して、検査の合否判定基準として用いられる。以下、この被検査対象情報に含まれている被検査対象のサイズや被検査対象の各領域の色等の情報を「合否判定基準データ」と称する。また、入出力部260は、例えば、外観検査装置101内から被検査対象の外観検査の結果に関する情報(以下、単に「検査結果情報」と称する)を外部機器600に出力する。   The input / output unit 260 inputs, for example, information on the inspection target (hereinafter simply referred to as “inspection target information”) from the external device 500 into the appearance inspection apparatus 101. This “inspection object information” includes, for example, information such as the size of the inspection object and the color of each area of the inspection object. Information such as the size of the object to be inspected and the color of each region of the object to be inspected included in the information on the object to be inspected is used as an acceptance / rejection determination standard for the appearance inspection of the object to be inspected. Hereinafter, information such as the size of the inspection object and the color of each area of the inspection object included in the inspection object information is referred to as “pass / fail judgment reference data”. Further, the input / output unit 260 outputs, for example, information related to the result of the appearance inspection of the inspection target (hereinafter simply referred to as “inspection result information”) from the appearance inspection apparatus 101 to the external device 600.

なお、外部機器500は、入力用の機器である。外部機器500としては、例えば、フロッピー(登録商標)ディスクやCD−ROM、USBメモリ等の各種の記憶媒体505、ハードディスク装置やコンピュータ等の各種の記憶装置510その他がある。また、外部機器600は、出力用の機器である。外部機器600としては、例えば、フロッピー(登録商標)ディスクやCD−ROM、USBメモリ等の各種の記憶媒体605、ハードディスク装置やコンピュータ等の各種の記憶装置610、プリンタ612、ディスプレイ614その他がある。なお、図1に示す例では、外部機器500と外部機器600は、別個のものとして示されているが、これらは、同一のものであってもよい。例えば、外部機器600のディスプレイ614は、タッチパネルとして構成されていれば、入力用の外部機器500としても機能することができる。   The external device 500 is an input device. Examples of the external device 500 include various storage media 505 such as a floppy (registered trademark) disk, CD-ROM, and USB memory, and various storage devices 510 such as a hard disk device and a computer. The external device 600 is an output device. Examples of the external device 600 include various storage media 605 such as a floppy (registered trademark) disk, CD-ROM, and USB memory, various storage devices 610 such as a hard disk device and a computer, a printer 612, a display 614, and the like. In the example shown in FIG. 1, the external device 500 and the external device 600 are shown as separate ones, but they may be the same. For example, if the display 614 of the external device 600 is configured as a touch panel, it can also function as the external device 500 for input.

格納部270は、各種のプログラムや情報を格納する構成要素である。格納部270は、RAMによって構成されている。   The storage unit 270 is a component that stores various programs and information. The storage unit 270 is configured by a RAM.

格納部270は、例えば、被検査対象の外観検査に供するプログラム(以下、「外観検査用プログラム」と称する)や、各カメラの視野の幅に関する情報(この実施の形態例では、第1カメラ160aの視野162aの幅W162aに関する情報及び第2カメラ160bの視野162bの幅W162bに関する情報)を予め読み出し自在に格納している。なお、「カメラの視野の幅に関する情報」とは、例えば、カメラとテーブルとが対向している状態で測定されたカメラの視野の幅に対応する画素数の値を意味している。以下、「カメラの視野の幅に関する情報」を単に「視野幅情報」と称する。この視野幅情報が表す幅は、後述するS120の判定で、被検査対象のサイズがカメラの視野以下か否かを判定する際の基準値となる。また、格納部270は、入出力部260を介して外部機器500から外観検査装置101内に入力された被検査対象情報その他のデータを読み出し自在に格納する。なお、この実施の形態例では、「被検査対象情報」は、被検査対象のサイズや各領域の色の情報等を含んでいる。   The storage unit 270 is, for example, a program (hereinafter, referred to as “appearance inspection program”) used for appearance inspection of an object to be inspected, or information about the width of the field of view of each camera (in this embodiment, the first camera 160a). The information regarding the width W162a of the visual field 162a and the information regarding the width W162b of the visual field 162b of the second camera 160b) are stored in a readable manner in advance. Note that the “information regarding the field of view of the camera” means, for example, the value of the number of pixels corresponding to the width of the field of view of the camera measured in a state where the camera and the table face each other. Hereinafter, “information regarding the width of the visual field of the camera” is simply referred to as “visual field width information”. The width represented by the field-of-view width information is a reference value for determining whether or not the size of the object to be inspected is equal to or smaller than the field of view of the camera in the determination in S120 described later. Further, the storage unit 270 stores information to be inspected and other data input from the external device 500 into the appearance inspection apparatus 101 via the input / output unit 260 in a freely readable manner. In this embodiment, the “inspection target information” includes information on the size of the inspection target and the color of each area.

なお、外観検査装置101の画像処理系の各構成要素及び機構系の各構成要素の動作は、格納部270に予め格納された外観検査用プログラムに基づいて、行われる。すなわち、画像処理系の第1及び第2イメージキャプチャ部210a及び210b、イメージ合成/非合成部220、検査処理部230、及び、機構系の機構制御部240は、それぞれ、外観検査時に、格納部270に予め格納された外観検査用プログラムを参照して、被検査対象の外観検査を行う。以下、この点については、説明を省略する。   The operation of each component of the image processing system and each component of the mechanism system of the appearance inspection apparatus 101 is performed based on an appearance inspection program stored in the storage unit 270 in advance. That is, the first and second image capture units 210a and 210b of the image processing system, the image synthesis / non-synthesis unit 220, the inspection processing unit 230, and the mechanism control unit 240 of the mechanical system are respectively stored in the storage unit during the visual inspection. Referring to the appearance inspection program stored in advance in 270, the appearance inspection of the inspection object is performed. Hereinafter, description of this point is omitted.

また、図1に示す外観検査装置101の画像処理系の各構成要素は、前段の構成要素から後段の構成要素にデータを直接出力しているかのように示されているが、実際には、格納部270を介して、前段の構成要素から後段の構成要素にデータを出力している。したがって、入出力部260から外観検査装置101内に入力された被検査対象情報、第1及び第2カメラ160a及び160bによって撮像された撮像画像、第1及び第2イメージキャプチャ部210a及び210bによって生成されたイメージデータ、イメージ合成/非合成部220から検査処理部230に出力された合成画像または撮像画像、検査処理部230によって作成された検査結果情報等は、一旦、格納部270に読み出し自在に格納されてから、その後の処理を行う所要の構成要素に出力される。以下、この点については、コンピュータ処理では常套手段であるので、その詳細な説明を省略する。   In addition, each component of the image processing system of the appearance inspection apparatus 101 illustrated in FIG. 1 is shown as if data is directly output from the previous component to the subsequent component. Via the storage unit 270, data is output from the preceding component to the subsequent component. Therefore, the inspection target information input from the input / output unit 260 into the appearance inspection apparatus 101, the captured images captured by the first and second cameras 160a and 160b, and the first and second image capture units 210a and 210b are generated. The image data, the composite image or captured image output from the image composition / non-composition unit 220 to the inspection processing unit 230, the inspection result information created by the inspection processing unit 230, and the like can be read out to the storage unit 270 once. After being stored, it is output to a required component for subsequent processing. Hereinafter, since this point is a conventional means in computer processing, detailed description thereof will be omitted.

<外観検査装置の動作>
以下、図2を参照して、実施の形態例1に係る外観検査装置の動作につき説明する。なお、図2は、実施の形態例1に係る外観検査装置の動作を示すフローチャートである。
<Operation of appearance inspection device>
Hereinafter, the operation of the appearance inspection apparatus according to the first embodiment will be described with reference to FIG. FIG. 2 is a flowchart showing the operation of the appearance inspection apparatus according to the first embodiment.

なお、以下の説明では、図1に示すように、外観検査装置101のテーブル110には、小型の被検査対象50または大型の被検査対象60のいずれかが既に載置されているものとする。また、格納部270には、被検査対象のサイズや各領域の色に関する情報を含んでいる被検査対象情報が、既に格納されているものとする。   In the following description, as shown in FIG. 1, it is assumed that either the small inspection object 50 or the large inspection object 60 is already placed on the table 110 of the appearance inspection apparatus 101. . Further, it is assumed that inspected object information including information regarding the size of the inspected object and the color of each region is already stored in the storage unit 270.

外観検査の開始に際して、例えば、外部機器500の操作者は、外部機器500を操作して、被検査対象を指定する情報(以下、「被検査対象指定情報」と称する)を外部機器500に入力する。この被検査対象指定情報は、例えば、被検査対象が基板であれば、基板の種類毎に付された基板コードを用いるのが一般的である。この後、操作者は、外部機器500を操作して、さらに、外観検査の実行を指示する指令(以下、「外観検査の実行指令」と称する)を外部機器500に入力する。外部機器500は、操作者によって被検査対象指定情報及び外観検査の実行指令が入力されると、これに応答して、当該被検査対象指定情報及び外観検査の実行指令を、外観検査装置101に出力する。外観検査装置101は、入出力部260を介して、外部機器500から、被検査対象指定情報及び外観検査の実行指令が入力されると、これに応答して、被検査対象の外観検査を開始する。   At the start of the appearance inspection, for example, the operator of the external device 500 operates the external device 500 and inputs information specifying the inspection target (hereinafter referred to as “inspection target specifying information”) to the external device 500. To do. As the inspection target designation information, for example, if the inspection target is a substrate, a substrate code attached to each type of substrate is generally used. Thereafter, the operator operates the external device 500 and further inputs a command for instructing the execution of the visual inspection (hereinafter referred to as “visual inspection execution command”) to the external device 500. When the operator inputs the inspection target designation information and the visual inspection execution instruction, the external device 500 sends the inspection target designation information and the visual inspection execution instruction to the visual inspection apparatus 101 in response to the input. Output. The appearance inspection apparatus 101 starts the appearance inspection of the inspection target in response to the input of inspection target designation information and the execution instruction of the appearance inspection from the external device 500 via the input / output unit 260. To do.

または、外観検査の開始に際して、例えば、外観検査装置101の操作者は、外観検査装置101に設けられた入出力部260に備えられている操作キーを操作して、被検査対象指定情報及び外観検査の実行指令を、外観検査装置101に入力する。外観検査装置101は、操作者によって被検査対象指定情報及び外観検査の実行指令が入力されると、これに応答して、被検査対象の外観検査を開始する。   Alternatively, at the start of the appearance inspection, for example, the operator of the appearance inspection apparatus 101 operates the operation keys provided in the input / output unit 260 provided in the appearance inspection apparatus 101 to check the inspection target designation information and the appearance. An inspection execution command is input to the appearance inspection apparatus 101. The appearance inspection apparatus 101 starts the appearance inspection of the inspection target in response to the input of the inspection target designation information and the execution instruction of the appearance inspection by the operator.

外観検査装置101の全体制御部250は、外観検査が開始されると、これに応答して、被検査対象情報の認識処理を行う(S110)。   When the appearance inspection is started, the overall control unit 250 of the appearance inspection apparatus 101 performs recognition processing of the inspection target information in response to this (S110).

この認識処理では、全体制御部250は、まず、格納部270に予め格納された基準または参照用の被検査対象情報を読み出す。このとき、全体制御部250は、外観検査の開始時に外部機器500の操作者または外観検査装置101の操作者によって入力された被検査対象指定情報が指定している被検査対象の情報を読み出す。ここでは、例えば、被検査対象指定情報として、基板コードが入力されると、全体制御部250は、この基板コードに対応した被検査対象情報を読み出す。   In this recognition processing, the overall control unit 250 first reads out the inspection target information for reference or reference stored in advance in the storage unit 270. At this time, the overall control unit 250 reads information on the inspection target specified by the inspection target specifying information input by the operator of the external device 500 or the operator of the visual inspection apparatus 101 at the start of the visual inspection. Here, for example, when a board code is input as the inspection target designation information, the overall control unit 250 reads the inspection target information corresponding to the board code.

そして、全体制御部250は、読み出した被検査対象情報を解読して、被検査対象情報に含まれている被検査対象のサイズや被検査対象の各領域の色等の情報を認識する。なお、このとき認識された「被検査対象のサイズ」の情報は、後述するS120、すなわち、「認識した被検査対象のサイズがカメラ視野以下か否かを判定する」工程で用いられる。また、このとき認識された「被検査対象のサイズ」及び「被検査対象の各領域の色」の情報は、後述するS220、すなわち、「外観検査処理」工程で用いられる。   Then, the overall control unit 250 decodes the read inspected object information and recognizes information such as the size of the inspected object and the color of each area of the inspected object included in the inspected object information. Note that the information on the “size of the inspection target” recognized at this time is used in S120 described later, that is, the step of “determining whether or not the size of the recognized inspection target is equal to or smaller than the camera field of view”. Further, the information on the “size of the object to be inspected” and “the color of each area of the object to be inspected” recognized at this time is used in S220 described later, that is, the “appearance inspection process” process.

まず、S110の後、全体制御部250は、認識した被検査対象のサイズがカメラの視野以下か否かを判定する(S120)。この判定では、全体制御部250は、格納部270から上述の視野幅情報(この実施の形態例では、第1カメラ160aの視野162aの幅W162aに関する情報)を判定の基準値として読み出し、認識した被検査対象のサイズと読み出した視野幅情報が表す幅W162aとで大小を比較する。なお、ここでは、被検査対象の厚さが考慮されていないが、被検査対象の厚さを考慮して判定の基準値となる視野幅情報の値が補正されていてもよい。全体制御部250は、大小を比較した結果、認識した被検査対象のサイズが読み出した視野幅情報が表す幅W162a以下である場合に、認識した被検査対象のサイズがカメラの視野以下であると判定する。他方、全体制御部250は、認識した被検査対象のサイズが読み出した視野幅情報が表す幅W162aよりも大きい場合に、認識した被検査対象のサイズがカメラの視野以下でないと判定する。このようにして、全体制御部250は、被検査対象のサイズがカメラの視野以下か否かを判定する。   First, after S110, the overall control unit 250 determines whether or not the recognized size of the inspection target is equal to or smaller than the field of view of the camera (S120). In this determination, the overall control unit 250 reads and recognizes the above-described visual field width information (in this embodiment, information related to the width W162a of the visual field 162a of the first camera 160a) from the storage unit 270 as a reference value for determination. The size of the object to be inspected is compared with the width W162a represented by the read visual field width information. Here, the thickness of the object to be inspected is not taken into consideration, but the value of the field-of-view information serving as a reference value for determination may be corrected in consideration of the thickness of the object to be inspected. As a result of comparing the sizes, the overall control unit 250 determines that the recognized size of the object to be inspected is equal to or smaller than the field of view of the camera when the recognized size of the inspected object is equal to or smaller than the width W162a represented by the read visual field width information. judge. On the other hand, when the recognized size of the inspection target is larger than the width W162a represented by the read visual field width information, the overall control unit 250 determines that the recognized size of the inspection target is not less than the visual field of the camera. In this way, the overall control unit 250 determines whether or not the size of the inspection target is equal to or smaller than the visual field of the camera.

なお、この判定で、「被検査対象のサイズがカメラの視野以下である」すなわち「イエス(Yes)」(以下、“Yes”と称する)と判定された場合に、外観検査装置101のイメージ合成/非合成部220は、非合成画像出力モードで動作することになる。また、この判定で、「被検査対象のサイズがカメラの視野以下でない」すなわち「ノー(No)」(以下、“No”と称する)と判定された場合に、外観検査装置101のイメージ合成/非合成部220は、合成画像出力モードで動作することになる。この実施の形態例では、小型の被検査対象50のサイズは、カメラの視野以下となっており、また、大型の被検査対象60のサイズは、カメラの視野よりも大きくなっている。そのため、外見検査装置101の全体制御部250は、被検査対象が小型の被検査対象50である場合に、“Yes”と判定し、また、被検査対象が大型の被検査対象60である場合に、“No”と判定する。   In this determination, if it is determined that “the size of the object to be inspected is less than the field of view of the camera”, that is, “Yes” (hereinafter referred to as “Yes”), the image composition of the appearance inspection apparatus 101 is performed. / The non-synthesis unit 220 operates in the non-synthesis image output mode. Also, in this determination, if it is determined that “the size of the object to be inspected is not less than the field of view of the camera”, that is, “No” (hereinafter referred to as “No”), the image composition / The non-synthesizing unit 220 operates in the synthesized image output mode. In this embodiment, the size of the small inspected object 50 is smaller than the field of view of the camera, and the size of the large inspected object 60 is larger than the field of view of the camera. Therefore, the overall control unit 250 of the appearance inspection apparatus 101 determines “Yes” when the inspection target is the small inspection target 50, and when the inspection target is the large inspection target 60. “No” is determined.

S120の判定で、“Yes”と判定された場合に、全体制御部250は、非合成画像出力モードの設定処理を行う(S130a)。この非合成画像出力モードの設定処理では、全体制御部250は、イメージ合成/非合成部220に対して、動作モードを非合成画像出力モードとする設定を行う。   If it is determined as “Yes” in the determination in S120, the overall control unit 250 performs non-composite image output mode setting processing (S130a). In this non-synthesized image output mode setting process, the overall control unit 250 sets the operation mode as the non-synthesized image output mode for the image composition / non-synthesis unit 220.

S130aの後、全体制御部250は、照明点灯処理を行い(S140a)、さらに、被検査対象の搬送処理を行う(S150a)。なお、照明点灯処理では、全体制御部250は、照明150を点灯させるように、機構制御部240を制御する。また、被検査対象の搬送処理では、全体制御部250は、モータ130及びアクチュエータ120を駆動させるように、機構制御部240を制御する。機構制御部240は、全体制御部250による制御に応答して、モータ130及びアクチュエータ120を駆動させて、アクチュエータ120に連結されたテーブル110を矢印10方向に移動させる。これにより、テーブル110に載置された被検査対象が、搬送されて、第1カメラ160aの視野162a及び第2カメラ160bの視野162b上を通過する。なお、S150aの動作時点において、全体制御部250は、少なくともテーブル110が第1カメラ160aの視野162a及び第2カメラ160bの視野162b上を通過する前に、第1及び第2カメラ160a及び160bを予め起動させている。   After S130a, the overall control unit 250 performs an illumination lighting process (S140a), and further performs a conveyance process for the inspection target (S150a). In the illumination lighting process, the overall control unit 250 controls the mechanism control unit 240 so that the illumination 150 is turned on. Further, in the conveyance process of the inspection target, the overall control unit 250 controls the mechanism control unit 240 so as to drive the motor 130 and the actuator 120. In response to control by the overall control unit 250, the mechanism control unit 240 drives the motor 130 and the actuator 120 to move the table 110 connected to the actuator 120 in the direction of arrow 10. As a result, the inspection target placed on the table 110 is transported and passes over the visual field 162a of the first camera 160a and the visual field 162b of the second camera 160b. Note that, at the time of the operation of S150a, the overall control unit 250 moves the first and second cameras 160a and 160b before at least the table 110 passes over the field of view 162a of the first camera 160a and the field of view 162b of the second camera 160b. It is activated in advance.

S150aとほぼ同時に、第1及び第2カメラ160a及び160bは、それぞれ、撮像処理を行う(S160a)。この撮像処理では、第1カメラ160aは、テーブル110が第1カメラ160aの視野162a上を通過する際に、視野162a上のテーブル110及び被検査対象50を連続して撮像する。そして、第1カメラ160aは、この撮像処理で取得した撮像信号を第1イメージキャプチャ部210aに順次出力する。また、この撮像処理では、第2カメラ160bは、テーブル110が第2カメラ160bの視野162b上を通過する際に、視野162b上のテーブル110及び被検査対象50を連続して撮像する。そして、第2カメラ160bは、この撮像処理で取得した撮像信号を第2イメージキャプチャ部210bに順次出力する。   Almost at the same time as S150a, the first and second cameras 160a and 160b perform imaging processing (S160a). In this imaging process, the first camera 160a continuously images the table 110 and the inspection target 50 on the visual field 162a when the table 110 passes over the visual field 162a of the first camera 160a. Then, the first camera 160a sequentially outputs the imaging signal acquired by this imaging process to the first image capture unit 210a. In this imaging process, the second camera 160b continuously images the table 110 and the inspection target 50 on the visual field 162b when the table 110 passes over the visual field 162b of the second camera 160b. Then, the second camera 160b sequentially outputs the imaging signal acquired by this imaging process to the second image capture unit 210b.

S160aの後、第1及び第2イメージキャプチャ部210a及び210bは、それぞれ、第1カメラ160aまたは第2カメラ160bから撮像信号が順次入力されると、これに応答して、イメージデータ生成処理を行う(S170a)。   After S160a, the first and second image capture units 210a and 210b perform image data generation processing in response to the imaging signals sequentially input from the first camera 160a or the second camera 160b, respectively. (S170a).

このイメージデータ生成処理では、第1イメージキャプチャ部210aは、第1カメラ160aから順次出力されて格納部270に格納された撮像信号に基づいて、一枚の撮像画像を表すイメージデータを生成する。この第1イメージキャプチャ部210aによって生成されたイメージデータは、第1カメラ160aによって撮像されたテーブル110及び被検査対象50が写っている一枚の撮像画像である。第1イメージキャプチャ部210aは、生成したイメージデータ、すなわち、第1カメラ160aによって撮像されたテーブル110及び被検査対象50が写っている一枚の撮像画像を格納部270に格納し、この撮像画像の生成に応答して、イメージ合成/非合成部220は、格納部270からこの撮像画像を読み出す。   In this image data generation process, the first image capture unit 210a generates image data representing one captured image based on the imaging signals sequentially output from the first camera 160a and stored in the storage unit 270. The image data generated by the first image capture unit 210a is a single captured image in which the table 110 and the inspection target 50 captured by the first camera 160a are shown. The first image capture unit 210a stores the generated image data, that is, one captured image including the table 110 and the inspection target 50 captured by the first camera 160a in the storage unit 270, and this captured image. In response to the generation, the image composition / non-composition unit 220 reads the captured image from the storage unit 270.

また、このイメージデータ生成処理では、第2イメージキャプチャ部210bは、第2カメラ160bから順次出力されて格納部270に格納された撮像信号に基づいて、一枚の撮像画像を表すイメージデータを生成する。この第2イメージキャプチャ部210bによって生成されたイメージデータは、第2カメラ160bによって撮像されたテーブル110及び被検査対象50が写っている一枚の撮像画像である。第2イメージキャプチャ部210bは、生成したイメージデータ、すなわち、第2カメラ160bによって撮像されたテーブル110及び被検査対象50が写っている一枚の撮像画像を格納部270に格納し、この撮像画像の生成に応答して、イメージ合成/非合成部220は、格納部270からこの撮像画像を読み出す。   In this image data generation process, the second image capture unit 210b generates image data representing one captured image based on the imaging signals sequentially output from the second camera 160b and stored in the storage unit 270. To do. The image data generated by the second image capture unit 210b is a single captured image in which the table 110 and the inspection target 50 captured by the second camera 160b are captured. The second image capture unit 210b stores the generated image data, that is, one captured image including the table 110 and the inspection target 50 captured by the second camera 160b in the storage unit 270, and this captured image. In response to the generation, the image composition / non-composition unit 220 reads the captured image from the storage unit 270.

S170aの後、イメージ合成/非合成部220は、第1イメージキャプチャ部210aからの撮像画像、すなわち、第1カメラ160aの撮像画像と、第2イメージキャプチャ部210bからの撮像画像、すなわち、第2カメラ160bの撮像画像とが入力されると、これに応答して、被検査対象検出処理を行う(S180a)。この被検査対象検出処理では、イメージ合成/非合成部220は、第1カメラ160aの撮像画像及び第2カメラ160bの撮像画像の中から被検査対象を検出する。なお、被検査対象の検出は、被検査対象の輝度値と被検査対象の背景となるテーブル110の輝度値とが異なることを利用して、輝度値が予め定められた基準値以上に変化する領域を検出することによって、行われる。この基準値は、被検査対象毎に、例えば、基板毎に、予め、格納部270に読み出し自在に格納されている。   After S170a, the image composition / non-synthesis unit 220 captures an image captured from the first image capture unit 210a, that is, an image captured by the first camera 160a, and an image captured from the second image capture unit 210b, that is, a second image. When an image captured by the camera 160b is input, an inspection target detection process is performed in response to the input (S180a). In the inspection target detection process, the image composition / non-synthesis unit 220 detects the inspection target from the captured image of the first camera 160a and the captured image of the second camera 160b. The detection of the inspection target is performed by using the fact that the luminance value of the inspection target is different from the luminance value of the table 110 that is the background of the inspection target, and the luminance value changes to a predetermined reference value or more. This is done by detecting the area. This reference value is stored in the storage unit 270 in a readable manner in advance for each inspection target, for example, for each substrate.

なお、外観検査装置101の動作は、S180aで検出された被検査対象がいずれの撮像画像の中から検出されたかによって、変わる。そこで、S180aの後、イメージ合成/非合成部220は、被検査対象が第1カメラ160aの撮像画像に存在するのか否かを判定する(S190a)。   The operation of the appearance inspection apparatus 101 varies depending on which captured image the object to be inspected detected in S180a is detected. Therefore, after S180a, the image composition / non-synthesis unit 220 determines whether or not the inspection target exists in the captured image of the first camera 160a (S190a).

S190aの判定で、「被検査対象が第1カメラ160aの撮像画像に存在する」すなわち「イエス(Yes)」(以下、“Yes”と称する)と判定された場合に、イメージ合成/非合成部220は、第1カメラ160aによる非合成画像出力処理を行う(S210b)。この第1カメラ160aによる非合成画像出力処理では、イメージ合成/非合成部220は、第1カメラ160aの撮像画像、すなわち、第1イメージキャプチャ部210aからの撮像画像を、合成処理することなく、検査処理部230に出力する。以下、外観検査装置101の動作は、S220に進む。   If it is determined in S190a that "the inspection target exists in the captured image of the first camera 160a", that is, "Yes" (hereinafter referred to as "Yes"), the image composition / non-synthesis unit 220 performs non-composite image output processing by the first camera 160a (S210b). In the non-synthesized image output processing by the first camera 160a, the image composition / non-synthesis unit 220 performs the synthesis process on the captured image of the first camera 160a, that is, the captured image from the first image capture unit 210a. The data is output to the inspection processing unit 230. Hereinafter, the operation of the appearance inspection apparatus 101 proceeds to S220.

他方、S190aの判定で、「被検査対象が第1カメラ160aの撮像画像に存在しない」すなわち「ノー(No)」(以下、“No”と称する)と判定された場合に、イメージ合成/非合成部220は、第2カメラ160bによる非合成画像出力処理を行う(S210c)。この第2カメラ160bによる非合成画像出力処理では、イメージ合成/非合成部220は、第2カメラ160bの撮像画像、すなわち、第2イメージキャプチャ部210bからの撮像画像を、合成処理することなく、検査処理部230に出力する。以下、外観検査装置101の動作は、S220に進む。   On the other hand, if it is determined in S190a that “the inspection object does not exist in the captured image of the first camera 160a”, that is, “No” (hereinafter referred to as “No”), the image composition / non-combination is performed. The synthesizing unit 220 performs a non-synthesized image output process by the second camera 160b (S210c). In the non-synthesized image output processing by the second camera 160b, the image composition / non-synthesis unit 220 performs the synthesis process on the captured image of the second camera 160b, that is, the captured image from the second image capture unit 210b. The data is output to the inspection processing unit 230. Hereinafter, the operation of the appearance inspection apparatus 101 proceeds to S220.

なお、上述のS120の判定で、“No”と判定された場合に、外観検査装置101は、以下のS130d〜S210dの動作を行う。このS130d〜S210dの中のS140d〜S180dの動作は、上述のS120の判定で“Yes”と判定された場合の動作、すなわち、上述のS140a〜S180aの動作と同様の動作である。   In addition, when it determines with "No" by determination of above-mentioned S120, the external appearance inspection apparatus 101 performs operation | movement of the following S130d-S210d. The operations of S140d to S180d in S130d to S210d are the same as the operations in the case where “Yes” is determined in the determination of S120 described above, that is, the operations similar to the operations of S140a to S180a described above.

すなわち、上述のS120の判定で、“No”と判定された場合に、全体制御部250は、合成画像出力モードの設定処理を行う(S130d)。この合成画像出力モードの設定処理では、全体制御部250は、イメージ合成/非合成部220に対して、動作モードを合成画像出力モードとする設定を行う。   That is, when it is determined “No” in the above-described determination in S120, the overall control unit 250 performs a composite image output mode setting process (S130d). In this composite image output mode setting process, the overall control unit 250 sets the operation mode as the composite image output mode for the image composition / non-composition unit 220.

S130dの後、全体制御部250は、S140aと同様に、照明点灯処理を行い(S140d)、さらに、S150aと同様に、被検査対象の搬送処理を行う(S150d)。なお、S150dの動作時点において、全体制御部250は、少なくともテーブル110が第1カメラ160aの視野162a及び第2カメラ160bの視野162b上を通過する前に、第1及び第2カメラ160a及び160bを予め起動させている。   After S130d, the overall control unit 250 performs an illumination lighting process as in S140a (S140d), and further performs a conveyance process for the inspection target as in S150a (S150d). At the time of the operation of S150d, the overall control unit 250 passes the first and second cameras 160a and 160b before at least the table 110 passes over the field of view 162a of the first camera 160a and the field of view 162b of the second camera 160b. It is activated in advance.

S150dとほぼ同時に、第1及び第2カメラ160a及び160bは、それぞれ、S160aと同様に、撮像処理を行う(S160d)。この撮像処理では、第1カメラ160aは、撮像処理により取得した信号を第1イメージキャプチャ部210aに順次出力する。また、第2カメラ160bは、撮像処理により取得した信号を第2イメージキャプチャ部210bに順次出力する。   Almost at the same time as S150d, the first and second cameras 160a and 160b perform imaging processing in the same manner as S160a (S160d). In this imaging process, the first camera 160a sequentially outputs signals acquired by the imaging process to the first image capture unit 210a. Further, the second camera 160b sequentially outputs a signal acquired by the imaging process to the second image capture unit 210b.

S160dの後、第1及び第2イメージキャプチャ部210a及び210bは、それぞれ、第1カメラ160aまたは第2カメラ160bから撮像処理により取得された信号が順次入力されると、これに応答して、S170aと同様に、イメージデータ生成処理を行う(S170d)。   After S160d, the first and second image capture units 210a and 210b receive the signals acquired by the imaging process from the first camera 160a or the second camera 160b in sequence, respectively, and in response to this, S170a Similarly to the above, image data generation processing is performed (S170d).

このイメージデータ生成処理では、第1イメージキャプチャ部210aは、生成したイメージデータ、すなわち、第1カメラ160aによって撮像されたテーブル110及び被検査対象60の撮像画像を格納部270に格納し、この撮像画像の生成に応答して、イメージ合成/非合成部220は、格納部270から撮像画像を読み出す。   In this image data generation process, the first image capture unit 210a stores the generated image data, that is, the table 110 captured by the first camera 160a and the captured image of the inspection target 60 in the storage unit 270, and this imaging In response to the generation of the image, the image composition / non-synthesis unit 220 reads the captured image from the storage unit 270.

また、このイメージデータ生成処理では、第2イメージキャプチャ部210bは、生成したイメージデータ、すなわち、第2カメラ160bによって撮像されたテーブル110及び被検査対象60の撮像画像を格納部270に格納し、この撮像画像の生成に応答して、イメージ合成/非合成部220は、格納部270から撮像画像を読み出す。   In this image data generation process, the second image capture unit 210b stores the generated image data, that is, the table 110 captured by the second camera 160b and the captured image of the inspection target 60 in the storage unit 270. In response to the generation of the captured image, the image composition / non-synthesis unit 220 reads the captured image from the storage unit 270.

S170dの後、イメージ合成/非合成部220は、第1イメージキャプチャ部210aからの撮像画像及び第2イメージキャプチャ部210bからの撮像画像が入力されると、これに応答して、S180aと同様に、被検査対象検出処理を行う(S180d)。   After S170d, when the captured image from the first image capture unit 210a and the captured image from the second image capture unit 210b are input, the image composition / non-synthesis unit 220 responds to the same as in S180a. Inspected object detection processing is performed (S180d).

S180dの後、イメージ合成/非合成部220は、合成画像出力処理を行う(S210d)。この合成画像出力処理では、まず、イメージ合成/非合成部220は、第1及び第2カメラ160a及び160bの視野の重複する領域を考慮して、第1カメラ160aによって撮像された一枚の撮像画像、すなわち、第1イメージキャプチャ部210aからの一枚の撮像画像と、第2カメラ160bによって撮像された一枚の撮像画像、すなわち、第2イメージキャプチャ部210bからの一枚の撮像画像との重複する部分を一方の撮像画像から削除する補正処理を行う。   After S180d, the image composition / non-synthesis part 220 performs a composite image output process (S210d). In this composite image output process, first, the image composition / non-composition unit 220 considers a region where the visual fields of the first and second cameras 160a and 160b overlap, and captures one image captured by the first camera 160a. An image, that is, one captured image from the first image capture unit 210a and one captured image captured by the second camera 160b, that is, one captured image from the second image capture unit 210b. Correction processing for deleting the overlapping portion from one captured image is performed.

この補正処理は、具体的には、以下のようにして行われる。   Specifically, this correction processing is performed as follows.

まず、イメージ合成/非合成部220は、第1カメラ160aによって撮像された一枚の撮像画像から、検出の基準となる箇所を検出する。この「検出の基準となる箇所」としては、例えば、被検査対象が基板であれば、アライメントマークやパッド等が好適である。   First, the image synthesizing / non-synthesizing unit 220 detects a location serving as a detection reference from one captured image captured by the first camera 160a. As this “location serving as a reference for detection”, for example, if the object to be inspected is a substrate, an alignment mark, a pad, or the like is preferable.

同様に、イメージ合成/非合成部220は、第2カメラ160bによって撮像された一枚の撮像画像の中から、検出の基準となる箇所を検出する。   Similarly, the image synthesizing / non-synthesizing unit 220 detects a location serving as a detection reference from one captured image captured by the second camera 160b.

次に、イメージ合成/非合成部220は、第1カメラ160aによって撮像された一枚の撮像画像の中から検出された検出の基準となる箇所と第2カメラ160bによって撮像された一枚の撮像画像の中から検出された検出の基準となる箇所とが一致するように、第1カメラ160aによって撮像された一枚の撮像画像と第2カメラ160bによって撮像された一枚の撮像画像とを重ね合わせて、さらに、重ね合わせた撮像画像の中から双方の撮像画像の重複する部分を検出する。   Next, the image synthesizing / non-synthesizing unit 220 picks up an image captured by the second camera 160b and a location serving as a detection reference detected from one captured image captured by the first camera 160a. One captured image captured by the first camera 160a and one captured image captured by the second camera 160b are overlaid so that the detection reference location detected from the images matches. At the same time, an overlapping portion of both the captured images is detected from the superimposed captured images.

次に、イメージ合成/非合成部220は、双方の重複する部分を一方の撮像画像、例えば、第2カメラ160bの撮像画像の中から削除する。   Next, the image composition / non-composition unit 220 deletes both overlapping portions from one captured image, for example, the captured image of the second camera 160b.

このようにして、補正処理が行われる。   In this way, correction processing is performed.

補正処理の後、イメージ合成/非合成部220は、第1カメラ160aによって撮像された一枚の撮像画像と、第2カメラ160bによって撮像され、かつ、補正処理により重複する部分が削除された一枚の撮像画像とを合成することによって、一枚の合成画像を作成する。   After the correction process, the image composition / non-composition unit 220 captures one captured image captured by the first camera 160a and the second camera 160b, and an overlapping portion is deleted by the correction process. A single composite image is created by combining the captured images.

そして、イメージ合成/非合成部220は、作成した一枚の合成画像を検査処理部230に出力する。以下、外観検査装置101の動作は、S220に進む。   Then, the image synthesis / non-synthesis unit 220 outputs the created single synthesized image to the inspection processing unit 230. Hereinafter, the operation of the appearance inspection apparatus 101 proceeds to S220.

S210b、S210c、または、S210dの後、検査処理部230は、イメージ合成/非合成部220から画像が入力されると、これに応答して、被検査対象の外観検査処理を行う(S220)。   After S210b, S210c, or S210d, when an image is input from the image synthesis / non-synthesis unit 220, the inspection processing unit 230 performs an appearance inspection process on the inspection target in response to the input (S220).

この外観検査処理では、まず、検査処理部230は、イメージ合成/非合成部220から入力された画像の中から、被検査対象部分の画像を抽出する。なお、この被検査対象部分の画像の抽出は、S180aまたはS180dで、イメージ合成/非合成部220に行わせるようにしてもよい。   In this appearance inspection process, first, the inspection processing unit 230 extracts an image of a portion to be inspected from the images input from the image synthesis / non-synthesis unit 220. It should be noted that the extraction of the image of the part to be inspected may be performed by the image composition / non-synthesis unit 220 in S180a or S180d.

次に、この外観検査処理では、検査処理部230は、S110で認識した被検査対象のサイズや被検査対象の各領域の色等の情報を合否判定基準データとし、イメージ合成/非合成部220から抽出された被検査対象部分の画像に対して、この合否判定基準データに基づいて、被検査対象の外観の合否を検査する。   Next, in this appearance inspection process, the inspection processing unit 230 uses the information such as the size of the inspection target recognized in S110 and the color of each region of the inspection target as pass / fail judgment reference data, and the image composition / non-composition unit 220. On the basis of this pass / fail judgment reference data, the pass / fail of the appearance of the test subject is inspected with respect to the image of the part to be inspected extracted from the above.

この検査では、検査処理部230は、まず、イメージ合成/非合成部220から抽出された被検査対象部分の画像に基づいて、この被検査対象部分の画像における被検査対象のサイズや被検査対象の各領域の色を認識し、さらに、被検査対象部分の画像における被検査対象のサイズや被検査対象の各領域の色が、合否判定基準データのものと予め定められた誤差範囲内で一致するか否かを判定する。これにより、検査処理部230は、被検査対象の外観の合否を検査する。   In this inspection, the inspection processing unit 230 first determines the size of the inspection target and the inspection target in the image of the inspection target portion based on the image of the inspection target portion extracted from the image synthesis / non-synthesis unit 220. In addition, the size of the inspected object in the image of the inspected part and the color of each area of the inspected object coincide with those of the pass / fail criterion data within a predetermined error range. It is determined whether or not to do. Thereby, the inspection processing unit 230 inspects the pass / fail of the appearance of the inspection target.

S220の後、検査処理部230は、被検査対象の外観を検査すると、これに応答して、検査結果情報の格納・出力処理を行う(S230)。この検査結果情報の格納・出力処理では、検査処理部230は、S220の外観検査処理における判定結果に基づいて、検査情報を作成し、作成した検査結果情報を格納部270に格納するとともに、全体制御部250及び入出力部260を介して、作成した検査結果情報を外部機器600に出力する。なお、外部機器600は、外観検査装置101から出力された検査結果情報を、記憶媒体605や記憶装置610に格納したり、プリンタ612に印刷させたり、または、ディスプレイ614に表示させたりする。   After S220, when inspecting the appearance of the inspection target, the inspection processing unit 230 performs storage / output processing of inspection result information in response to the inspection (S230). In the inspection result information storage / output process, the inspection processing unit 230 creates inspection information based on the determination result in the appearance inspection process of S220, stores the created inspection result information in the storage unit 270, and The created inspection result information is output to the external device 600 via the control unit 250 and the input / output unit 260. The external device 600 stores the inspection result information output from the appearance inspection apparatus 101 in the storage medium 605 or the storage apparatus 610, prints it on the printer 612, or displays it on the display 614.

以上の通り、この実施の形態例に係る外観検査装置101は、被検査対象のサイズに応じて、非合成画像出力モード及び合成画像出力モードのいずれか一方を選択して実行する。   As described above, the appearance inspection apparatus 101 according to this embodiment selects and executes either the non-composite image output mode or the composite image output mode according to the size of the inspection target.

すなわち、この外観検査装置101は、被検査対象のサイズがカメラの視野以下である場合に、イメージ合成/非合成部220が、第1カメラ160aの撮像画像または第2カメラ160bの撮像画像を、合成処理することなく、検査処理部230に出力する。他方、この外観検査装置101は、被検査対象のサイズがカメラの視野よりも大きい場合に、イメージ合成/非合成部220が、第1カメラ160aの撮像画像及び第2カメラ160bの撮像画像を合成処理して一枚の合成画像を作成し、作成した合成画像を、検査処理部230に出力する。   That is, in the appearance inspection apparatus 101, when the size of the object to be inspected is equal to or smaller than the field of view of the camera, the image composition / non-composition unit 220 displays the captured image of the first camera 160a or the captured image of the second camera 160b. The result is output to the inspection processing unit 230 without performing the synthesis process. On the other hand, in the appearance inspection apparatus 101, when the size of the object to be inspected is larger than the field of view of the camera, the image synthesis / non-synthesis unit 220 combines the captured image of the first camera 160a and the captured image of the second camera 160b. One composite image is generated by processing, and the generated composite image is output to the inspection processing unit 230.

そのため、この外観検査装置101によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、撮像画像の補正処理及び補正画像と撮像画像の合成処理を排除することができるので、従来よりも、撮像画像の補正処理及び補正画像と撮像画像の合成処理に掛かっていた時間だけ、検査時間を短縮することができるという効果を有する。   Therefore, according to this appearance inspection apparatus 101, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, it is possible to eliminate the correction process of the captured image and the combined process of the corrected image and the captured image. Therefore, the inspection time can be shortened by the time required for the correction processing of the captured image and the synthesis processing of the corrected image and the captured image as compared with the conventional case.

また、この外観検査装置101によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、メモリ、すなわち、格納部270に保存する画像が一枚の撮像画像だけでよい。しかも、このメモリに保存する撮像画像は、被検査対象以外の不要な部分、すなわち、隣接するカメラによって撮像された撮像画像との重複部分を含まなくてよい。   Further, according to the appearance inspection apparatus 101, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, the image stored in the memory, that is, the storage unit 270 is only one captured image. . In addition, the captured image stored in the memory does not have to include an unnecessary portion other than the inspection target, that is, an overlapping portion with the captured image captured by the adjacent camera.

したがって、この外観検査装置101によれば、従来のように、複数のカメラによって撮像された複数枚の撮像画像と補正画像と合成画像とを保存するためのメモリ容量を確保する必要がなく、また、従来のように、不要な部分の画像分だけ余分に、撮像画像を保存するための無駄なメモリ容量を確保する必要もない。   Therefore, according to the appearance inspection apparatus 101, it is not necessary to secure a memory capacity for storing a plurality of captured images, correction images, and composite images captured by a plurality of cameras, as in the related art. Thus, unlike the prior art, it is not necessary to secure a useless memory capacity for storing the captured image in excess of the unnecessary portion of the image.

そのため、この外観検査装置101によれば、例えば、被検査対象のサイズが単一のカメラの視野以下の場合に、画像を保存するためのメモリ容量を抑えることができるという効果を有する。   Therefore, according to the appearance inspection apparatus 101, for example, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, it is possible to reduce the memory capacity for storing the image.

[実施の形態例2]
実施の形態例1では、検査処理部230は、1個しか設けられていなかった。これに対して、実施の形態例2では、検査処理部230は、複数のカメラに対応して複数設けられている。
[Embodiment 2]
In the first embodiment, only one inspection processing unit 230 is provided. On the other hand, in the second embodiment, a plurality of inspection processing units 230 are provided corresponding to a plurality of cameras.

<外観検査装置の構成>
以下、図3を参照して、実施の形態例2に係る外観検査装置の概略構成につき説明する。なお、図3は、実施の形態例2に係る外観検査装置の概略構成を示す図である。
<Configuration of appearance inspection device>
Hereinafter, a schematic configuration of the appearance inspection apparatus according to the second embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating a schematic configuration of the appearance inspection apparatus according to the second embodiment.

この実施の形態例に係る外観検査装置102は、カメラの数に応じて複数の検査処理部230を有している。図3に示す例では、外観検査装置102は、カメラの数が2つであるので、2つの検査処理部230a及び230bを有している。以下、検査処理部230aを「第1検査処理部230a」と称し、検査処理部230bを「第2検査処理部230b」と称する。   The appearance inspection apparatus 102 according to this embodiment includes a plurality of inspection processing units 230 according to the number of cameras. In the example illustrated in FIG. 3, the appearance inspection apparatus 102 includes two inspection processing units 230 a and 230 b because the number of cameras is two. Hereinafter, the inspection processing unit 230a is referred to as a “first inspection processing unit 230a”, and the inspection processing unit 230b is referred to as a “second inspection processing unit 230b”.

この外観検査装置102のイメージ合成/非合成部220は、被検査対象のサイズが単一のカメラの視野以下の場合に、第1カメラ160aによって撮像された被検査対象の撮像画像を第1検査処理部230aに出力するとともに、第2カメラ160bによって撮像された被検査対象の撮像画像を第2検査処理部230bに出力する。そして、第1検査処理部230aは、第1カメラ160aによって撮像された被検査対象の撮像画像に基づいて、被検査対象の外観の合否を判定するとともに、第2検査処理部230bは、第2カメラ160bによって撮像された被検査対象の撮像画像に基づいて、被検査対象の外観の合否を判定する。このとき、第1検査処理部230aと第2検査処理部230bは、それぞれ、並行して被検査対象の外観の合否を判定する。   The image synthesizing / non-synthesizing unit 220 of the appearance inspection apparatus 102 performs a first inspection on a captured image captured by the first camera 160a when the size of the inspection target is equal to or smaller than the field of view of a single camera. While outputting to the process part 230a, the captured image of the to-be-inspected object imaged with the 2nd camera 160b is output to the 2nd inspection process part 230b. The first inspection processing unit 230a determines pass / fail of the appearance of the inspection target based on the captured image of the inspection target captured by the first camera 160a, and the second inspection processing unit 230b includes the second inspection processing unit 230b. The pass / fail of the appearance of the inspection target is determined based on the captured image of the inspection target captured by the camera 160b. At this time, each of the first inspection processing unit 230a and the second inspection processing unit 230b determines whether the appearance of the inspection target is acceptable in parallel.

これにより、この外観検査装置102は、被検査対象のサイズがカメラの視野以下の場合に、第1検査処理部230aが、第1カメラ160aによって撮像された被検査対象の撮像画像に基づいて、また、第2検査処理部230bが、第2カメラ160bによって撮像された被検査対象の撮像画像に基づいて、それぞれ、並行して被検査対象の外観の合否を判定することができる。   Thereby, in the appearance inspection apparatus 102, when the size of the inspection target is equal to or smaller than the visual field of the camera, the first inspection processing unit 230a is based on the captured image of the inspection target captured by the first camera 160a. Further, the second inspection processing unit 230b can determine whether or not the appearance of the inspection target is acceptable in parallel based on the captured image of the inspection target captured by the second camera 160b.

なお、外観検査装置102は、2つの検査処理部230a及び230bを有している以外は、実施の形態例1の外観検査装置101と同じ構成要素を有している。以下、実施の形態例1の外観検査装置101と共通な構成要素については、説明を省略する。   The appearance inspection apparatus 102 has the same components as those of the appearance inspection apparatus 101 according to the first embodiment except that the appearance inspection apparatus 102 includes two inspection processing units 230a and 230b. Hereinafter, description of components common to the appearance inspection apparatus 101 of the first embodiment will be omitted.

<外観検査装置の動作>
以下、図4を参照して、実施の形態例2に係る外観検査装置の動作につき説明する。なお、図4は、実施の形態例2に係る外観検査装置の動作を示すフローチャートである。
<Operation of appearance inspection device>
Hereinafter, the operation of the appearance inspection apparatus according to the second embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the appearance inspection apparatus according to the second embodiment.

なお、以下の説明では、図3に示すように、外観検査装置102のテーブル110には、サイズがカメラの視野以下の小型の被検査対象50aが第1カメラ160aの視野162a上に配置されており、さらに、サイズがカメラの視野以下の小型の被検査対象60aが第2カメラ160bの視野162b上に配置されているものとする。   In the following description, as shown in FIG. 3, in the table 110 of the appearance inspection apparatus 102, a small inspected object 50a whose size is smaller than or equal to the field of view of the camera is arranged on the field of view 162a of the first camera 160a. Furthermore, it is assumed that a small inspected object 60a whose size is equal to or smaller than the field of view of the camera is arranged on the field of view 162b of the second camera 160b.

以下、この実施の形態例2の外観検査装置102の動作について、実施の形態例1の外観検査装置101と相違する動作を重点的に説明し、実施の形態例1の外観検査装置101と同様の動作(図2参照)については、上述した実施の形態例1の外観検査装置101の動作をこの実施の形態例2の外観検査装置102に読み替えるものとして簡略して説明する。   Hereinafter, the operation of the appearance inspection apparatus 102 according to the second embodiment will be described mainly with respect to operations different from those of the appearance inspection apparatus 101 according to the first embodiment, and the same as the appearance inspection apparatus 101 according to the first embodiment. This operation (see FIG. 2) will be briefly described assuming that the operation of the appearance inspection apparatus 101 according to the first embodiment is replaced with the appearance inspection apparatus 102 according to the second embodiment.

図4に示すように、S110、S120、及びS130a〜S190aにおいて、この実施の形態例2の外観検査装置102は、実施の形態例1の外観検査装置101と同様に動作する(図2参照)。   As shown in FIG. 4, in S110, S120, and S130a to S190a, the appearance inspection apparatus 102 according to the second embodiment operates in the same manner as the appearance inspection apparatus 101 according to the first embodiment (see FIG. 2). .

但し、この実施の形態例では、S190aの判定で、“Yes”と判定された場合に、外観検査装置102のイメージ合成/非合成部220は、さらに、被検査対象が第2カメラ160bの撮像画像にも存在するのか否かを判定する(S200a)。   However, in this embodiment, when it is determined “Yes” in the determination of S190a, the image composition / non-synthesis unit 220 of the appearance inspection apparatus 102 further captures the image of the second camera 160b to be inspected. It is determined whether or not the image is also present (S200a).

他方、S190aの判定で、“No”と判定された場合に、イメージ合成/非合成部220は、第2カメラ160bによる非合成画像出力処理を行う(S210c)。この第2カメラ160bによる非合成画像出力処理では、イメージ合成/非合成部220は、第2カメラ160bの撮像画像を、合成処理することなく、第2検査処理部230bに出力する。以下、外観検査装置102の動作は、S220に進む。   On the other hand, when it is determined as “No” in the determination of S190a, the image composition / non-synthesis part 220 performs a non-synthesized image output process by the second camera 160b (S210c). In the non-synthesized image output processing by the second camera 160b, the image composition / non-synthesis unit 220 outputs the captured image of the second camera 160b to the second inspection processing unit 230b without performing synthesis processing. Hereinafter, the operation of the appearance inspection apparatus 102 proceeds to S220.

S200aの判定で、「被検査対象が第2カメラ160bの撮像画像にも存在する」すなわち「イエス(Yes)」(以下、“Yes”と称する)と判定された場合に、イメージ合成/非合成部220は、第1カメラ160aによる非合成画像出力処理及び第2カメラ160bによる非合成画像出力処理を平行して行う(S210a)。この第1カメラ160aによる非合成画像出力処理及び第2カメラ160bによる非合成画像出力処理では、イメージ合成/非合成部220は、第1カメラ160aの撮像画像を、合成処理することなく、第1検査処理部230aに出力するとともに、第2カメラ160bの撮像画像を、合成処理することなく、第2検査処理部230bに出力する。以下、外観検査装置102の動作は、S220に進む。   If it is determined in S200a that “the inspection object also exists in the captured image of the second camera 160b”, that is, “Yes” (hereinafter referred to as “Yes”), image synthesis / non-synthesis The unit 220 performs the non-synthesized image output process by the first camera 160a and the non-synthesized image output process by the second camera 160b in parallel (S210a). In the non-synthesized image output process by the first camera 160a and the non-synthesized image output process by the second camera 160b, the image composition / non-synthesizer 220 performs the first process without synthesizing the captured image of the first camera 160a. While outputting to the test | inspection process part 230a, the captured image of the 2nd camera 160b is output to the 2nd test | inspection process part 230b, without performing a synthesis process. Hereinafter, the operation of the appearance inspection apparatus 102 proceeds to S220.

他方、S200aの判定で、「被検査対象が第2カメラ160bの撮像画像には存在しない」すなわち「ノー(No)」(以下、“No”と称する)と判定された場合に、イメージ合成/非合成部220は、第1カメラ160aによる非合成画像出力処理を行う(S210b)。この第1カメラ160aによる非合成画像出力処理では、イメージ合成/非合成部220は、第1カメラ160aの撮像画像を、合成処理することなく、第1検査処理部230aに出力する。以下、外観検査装置102の動作は、S220に進む。   On the other hand, if it is determined in S200a that “the inspection target does not exist in the captured image of the second camera 160b”, that is, “No” (hereinafter referred to as “No”), the image composition / The non-synthesis unit 220 performs non-synthesis image output processing by the first camera 160a (S210b). In the non-synthesized image output processing by the first camera 160a, the image composition / non-synthesis unit 220 outputs the captured image of the first camera 160a to the first inspection processing unit 230a without performing synthesis processing. Hereinafter, the operation of the appearance inspection apparatus 102 proceeds to S220.

なお、上述のS120の判定で、“No”と判定された場合に、図4に示すように、S130d〜210dにおいて、実施の形態例2の外観検査装置102は、実施の形態例1の外観検査装置101と同様に動作する(図2参照)。なお、S210dの動作、すなわち、合成画像出力処理では、イメージ合成/非合成部220は、第1カメラ160aの撮像画像と第2カメラ160bの撮像画像を合成処理して一枚の合成画像を作成し、作成した合成画像を、第1及び第2検査処理部230a及び230bの予め定められた一方に出力する。なお、この実施の形態例では、イメージ合成/非合成部220は、合成画像を第1検査処理部230aに出力するものとして説明する。以下、外観検査装置102の動作は、S220に進む。   If it is determined as “No” in the above-described determination of S120, as shown in FIG. 4, in S130d to 210d, the appearance inspection apparatus 102 of the second embodiment is the appearance of the first embodiment. It operates similarly to the inspection apparatus 101 (see FIG. 2). Note that in the operation of S210d, that is, in the composite image output process, the image composition / non-composition unit 220 generates a single composite image by combining the captured image of the first camera 160a and the captured image of the second camera 160b. Then, the generated composite image is output to a predetermined one of the first and second inspection processing units 230a and 230b. In this embodiment, the image composition / non-composition unit 220 will be described as outputting a composite image to the first inspection processing unit 230a. Hereinafter, the operation of the appearance inspection apparatus 102 proceeds to S220.

この実施の形態例では、S210a、S210b、S210c、または、S210dの後、外観検査装置102の検査処理部230は、イメージ合成/非合成部220から画像が入力されると、これに応答して、被検査対象の外観検査処理を行う(S220)。なお、この外観検査処理では、動作がS210aの後である場合に、第1検査処理部230aが、第1カメラ160aの撮像画像に基づいて、被検査対象50aの外観を検査するとともに、第2検査処理部230bが、第2カメラ160bの撮像画像に基づいて、被検査対象60aの外観を検査する。また、動作がS210bの後である場合に、第1検査処理部230aが、第1カメラ160aの撮像画像に基づいて、被検査対象50aの外観を検査する。動作がS210cの後である場合に、第2検査処理部230bが、第2カメラ160bの撮像画像に基づいて、被検査対象60aの外観を検査する。また、動作がS210dの後である場合に、第1検査処理部230aが、合成画像に基づいて、被検査対象の外観を検査する。   In this embodiment, after S210a, S210b, S210c, or S210d, the inspection processing unit 230 of the appearance inspection apparatus 102 receives an image from the image synthesis / non-synthesis unit 220 and responds thereto. Then, an appearance inspection process is performed on the inspection target (S220). In this appearance inspection process, when the operation is after S210a, the first inspection processing unit 230a inspects the appearance of the inspection target 50a based on the captured image of the first camera 160a, and the second The inspection processing unit 230b inspects the appearance of the inspection target 60a based on the captured image of the second camera 160b. Further, when the operation is after S210b, the first inspection processing unit 230a inspects the appearance of the inspection target 50a based on the captured image of the first camera 160a. When the operation is after S210c, the second inspection processing unit 230b inspects the appearance of the inspection target 60a based on the captured image of the second camera 160b. In addition, when the operation is after S210d, the first inspection processing unit 230a inspects the appearance of the inspection target based on the composite image.

S220の後、図4に示すように、S230において、実施の形態例2の外観検査装置102は、実施の形態例1の外観検査装置101と同様に動作する(図2参照)。   After S220, as shown in FIG. 4, in S230, the appearance inspection apparatus 102 of the second embodiment operates in the same manner as the appearance inspection apparatus 101 of the first embodiment (see FIG. 2).

以上の通り、この実施の形態例2に係る外観検査装置102は、被検査対象のサイズが単一のカメラの視野以下である場合に、第1検査処理部230aが、第1カメラ160aによって撮像された被検査対象のそれぞれの撮像画像に基づいて、また、第2検査処理部230bが、第2カメラ160bによって撮像された被検査対象のそれぞれの撮像画像に基づいて、並行して被検査対象の外観の合否を判定することができる。したがって、この外観検査装置102は、一度の撮像処理動作で、複数の被検査対象を同時に検査することができる。そのため、この外観検査装置102は、実施の形態例1の外観検査装置101の有する効果に加え、外観検査の処理時間を、実施の形態例1の外観検査装置101よりも短縮することができるという効果を有する。   As described above, in the appearance inspection apparatus 102 according to the second embodiment, when the size of the object to be inspected is equal to or smaller than the field of view of a single camera, the first inspection processing unit 230a captures an image with the first camera 160a. Based on the respective captured images of the inspected objects, and the second inspection processing unit 230b in parallel based on the respective captured images of the inspected images captured by the second camera 160b It is possible to determine whether or not the external appearance is acceptable. Therefore, the appearance inspection apparatus 102 can inspect a plurality of objects to be inspected at the same time by a single imaging processing operation. Therefore, in addition to the effects of the appearance inspection apparatus 101 according to the first embodiment, the appearance inspection apparatus 102 can shorten the processing time of the appearance inspection as compared with the appearance inspection apparatus 101 according to the first embodiment. Has an effect.

[実施の形態例3]
実施の形態例1及び2では、全体制御部250が、格納部270に予め格納されている被検査対象情報に基づいて、上述のS120の判定、すなわち、被検査対象のサイズがカメラの視野以下か否かの判定を行う。そのため、実施の形態例1及び2では、被検査対象情報の中に被検査対象のサイズ情報が含まれていない場合に、全体制御部250は、上述のS120の判定を行うことができない。
[Embodiment 3]
In Embodiments 1 and 2, the overall control unit 250 determines the above-described determination of S120 based on the inspected object information stored in advance in the storage unit 270, that is, the size of the inspected object is smaller than the field of view of the camera. It is determined whether or not. For this reason, in the first and second embodiments, when the size information of the inspection target is not included in the inspection target information, the overall control unit 250 cannot perform the determination of S120 described above.

これに対して、この実施の形態例3では、全体制御部250が、テーブル110に組み込まれた被検査対象を検出するためのセンサから出力された信号に基づいて、被検査対象のサイズがカメラの視野以下か否かの判定を行う。これにより、実施の形態例3では、全体制御部250は、被検査対象情報の中に被検査対象のサイズ情報が含まれていない場合でも、被検査対象のサイズがカメラの視野以下か否かの判定を行うことが可能となっている。   On the other hand, in the third embodiment, the overall control unit 250 determines that the size of the inspection target is a camera based on the signal output from the sensor for detecting the inspection target incorporated in the table 110. It is determined whether or not the field of view is below. Thus, in the third embodiment, the overall control unit 250 determines whether the size of the inspection target is equal to or smaller than the field of view of the camera even when the inspection target size information is not included in the inspection target information. It is possible to make a determination.

<外観検査装置の構成>
以下、図5を参照して、実施の形態例3に係る外観検査装置の概略構成につき説明する。なお、図5は、実施の形態例3に係る外観検査装置の概略構成を示す図である。
<Configuration of appearance inspection device>
Hereinafter, the schematic configuration of the appearance inspection apparatus according to the third embodiment will be described with reference to FIG. FIG. 5 is a diagram showing a schematic configuration of the appearance inspection apparatus according to the third embodiment.

この実施の形態例に係る外観検査装置103は、カメラの数に応じて複数の検査処理部230を有している。また、図5に示す例では、外観検査装置103は、テーブル110内に被検査対象を検出するためのセンサ(以下、「被検査対象検出センサ」と称する)112を有している。   The appearance inspection apparatus 103 according to this embodiment includes a plurality of inspection processing units 230 according to the number of cameras. In the example shown in FIG. 5, the appearance inspection apparatus 103 includes a sensor 112 (hereinafter referred to as “inspected object detection sensor”) 112 for detecting an inspected object in the table 110.

この外観検査装置103の被検査対象検出センサ112は、例えば、複数の照度検知センサからなり、テーブル110の、第1カメラ160aの視野162aと第2カメラ160bの視野162bとが重なる領域内に、搬送方向10に沿って、配列されている。被検査対象検出センサ112は、全体制御部250と電気的に接続されており、自身の作動状態に応じて、オン状態を表す信号(以下、「オン信号」と称する)またはオフ状態を表す信号(以下、「オフ信号」と称する)を全体制御部250に出力する。   The inspection target detection sensor 112 of the appearance inspection apparatus 103 includes, for example, a plurality of illuminance detection sensors, and in the region of the table 110 where the visual field 162a of the first camera 160a and the visual field 162b of the second camera 160b overlap. They are arranged along the transport direction 10. The inspection target detection sensor 112 is electrically connected to the overall control unit 250, and a signal indicating an on state (hereinafter referred to as an “on signal”) or a signal indicating an off state according to its own operating state. (Hereinafter referred to as “off signal”) is output to the overall control unit 250.

被検査対象検出センサ112は、上に被検査対象が被さっていない場合に、照明150からの光を受けてオン状態となり、オン信号を全体制御部250に出力し、また、上に被検査対象が被さった場合に、照明150からの光が絶たれてオフ状態となり、オフ信号を全体制御部250に出力する。   The inspection target detection sensor 112 receives light from the illumination 150 and turns on when the inspection target is not covered thereon, and outputs an on signal to the overall control unit 250. , The light from the illumination 150 is cut off and the device is turned off, and an off signal is output to the overall control unit 250.

したがって、この被検査対象検出センサ112は、被検査対象のサイズがカメラの視野以下である場合に、照明150からの光を受けてオン状態となり、オン信号を全体制御部250に出力し、また、被検査対象のサイズがカメラの視野よりも大きい場合に、照明150からの光が絶たれてオフ状態となり、オフ信号を全体制御部250に出力する。   Therefore, when the size of the inspection target is equal to or smaller than the field of view of the camera, the inspection target detection sensor 112 is turned on in response to light from the illumination 150, and outputs an on signal to the overall control unit 250. When the size of the object to be inspected is larger than the field of view of the camera, the light from the illumination 150 is cut off and the device is turned off, and an off signal is output to the overall control unit 250.

よって、この外観検査装置103の全体制御部250は、被検査対象検出センサ112から出力されたオン信号またはオフ信号に基づいて、被検査対象のサイズが単一のカメラの視野以下であるか否かを認識することができる。その結果、この外観検査装置103の全体制御部250は、被検査対象のサイズがカメラの視野以下か否かの判定を、被検査対象検出センサ112から出力されたオン信号またはオフ信号に基づいて、行うことができる。これにより、この外観検査装置103の全体制御部250は、仮に、外部機器500から入力された被検査対象情報の中に被検査対象のサイズ情報が含まれていなくても、実施の形態例1や実施の形態例2と同様に、イメージ合成/非合成部220の動作モードを、非合成画像出力モードまたは合成画像出力モードに設定することができる。   Therefore, the overall control unit 250 of the appearance inspection apparatus 103 determines whether the size of the inspection target is equal to or smaller than the field of view of the single camera based on the ON signal or the OFF signal output from the inspection target detection sensor 112. Can be recognized. As a result, the overall control unit 250 of the appearance inspection apparatus 103 determines whether the size of the inspection target is equal to or smaller than the field of view of the camera based on the on signal or the off signal output from the inspection target detection sensor 112. ,It can be carried out. As a result, the overall control unit 250 of the appearance inspection apparatus 103 is configured even if the inspected object information input from the external device 500 does not include the inspected object size information. As in the second embodiment, the operation mode of the image synthesis / non-synthesis unit 220 can be set to the non-synthesized image output mode or the synthesized image output mode.

なお、外観検査装置103は、被検査対象検出センサ112を有している以外は、実施の形態例2の外観検査装置102と同じ構成要素を有している。以下、実施の形態例2の外観検査装置102と共通な構成要素については、説明を省略する。   The appearance inspection apparatus 103 has the same components as those of the appearance inspection apparatus 102 according to the second embodiment, except that the inspection target detection sensor 112 is included. Hereinafter, description of components common to the appearance inspection apparatus 102 according to the second embodiment will be omitted.

<外観検査装置の動作>
以下、図6を参照して、実施の形態例3に係る外観検査装置の動作につき説明する。なお、図6は、実施の形態例3に係る外観検査装置の動作を示すフローチャートである。
<Operation of appearance inspection device>
Hereinafter, the operation of the appearance inspection apparatus according to the third embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing the operation of the appearance inspection apparatus according to the third embodiment.

なお、以下の説明では、図5に示すように、外観検査装置103のテーブル110には、実施の形態例2と同様に、サイズがカメラの視野以下の小型の被検査対象50aが第1カメラ160aの視野162a上に配置されており、さらに、サイズがカメラの視野以下の小型の被検査対象60aが第2カメラ160bの視野162b上に配置されているものとする。   In the following description, as shown in FIG. 5, in the table 110 of the appearance inspection apparatus 103, as in the second embodiment, a small inspected object 50a whose size is smaller than the field of view of the camera is the first camera. It is assumed that a small inspection object 60a whose size is smaller than the field of view of the camera is disposed on the field of view 162b of the second camera 160b.

以下、この実施の形態例3の外観検査装置103の動作について、実施の形態例2の外観検査装置102と相違する動作を重点的に説明し、実施の形態例2の外観検査装置102と同様の動作(図4参照)については、上述した実施の形態例2の外観検査装置102の動作をこの実施の形態例3の外観検査装置103に読み替えるものとして簡略して説明する。   Hereinafter, with respect to the operation of the appearance inspection apparatus 103 according to the third embodiment, operations different from those of the appearance inspection apparatus 102 according to the second embodiment will be mainly described, and the same as the appearance inspection apparatus 102 according to the second embodiment. This operation (see FIG. 4) will be briefly described as the operation of the appearance inspection apparatus 102 according to the second embodiment described above is replaced with the appearance inspection apparatus 103 according to the third embodiment.

図6に示すように、この実施の形態例3の外観検査装置103は、動作が開始すると、これに応答して、全体制御部250が、被検査対象検出センサ112の作動状態の認識処理を行う(S112)。この作動状態の認識処理では、被検査対象検出センサ112は、上に被検査対象が被さっていない場合に、すなわち、被検査対象のサイズがカメラの視野以下である場合に、照明150からの光を受けてオン状態となり、オン信号を全体制御部250に出力する。また、この作動状態の認識処理では、被検査対象検出センサ112は、上に被検査対象が被さった場合に、すなわち、被検査対象のサイズがカメラの視野よりも大きい場合に、照明150からの光が絶たれてオフ状態となり、オフ信号を全体制御部250に出力する。全体制御部250は、被検査対象検出センサ112から出力されたオン信号またはオフ信号に基づいて、被検査対象検出センサ112の動作状態を認識する。これにより、全体制御部250は、被検査対象検出センサ112から出力されたオン信号またはオフ信号に基づいて、被検査対象のサイズが単一のカメラの視野以下であるか否かを認識することができる。   As shown in FIG. 6, in the appearance inspection apparatus 103 of the third embodiment, when the operation starts, in response to this, the overall control unit 250 performs the recognition process of the operating state of the inspection target detection sensor 112. It performs (S112). In this operation state recognition process, the inspection target detection sensor 112 detects the light from the illumination 150 when the inspection target is not covered thereon, that is, when the size of the inspection target is less than the field of view of the camera. Is turned on and outputs an on signal to the overall controller 250. Further, in this operation state recognition process, the inspection target detection sensor 112 detects that the inspection target detection sensor 112 has received light from the illumination 150 when the inspection target is covered thereon, that is, when the size of the inspection target is larger than the field of view of the camera. The light is cut off and the device is turned off, and an off signal is output to the overall control unit 250. The overall control unit 250 recognizes the operation state of the inspection target detection sensor 112 based on the ON signal or the OFF signal output from the inspection target detection sensor 112. Accordingly, the overall control unit 250 recognizes whether the size of the inspection target is equal to or smaller than the field of view of the single camera based on the ON signal or the OFF signal output from the inspection target detection sensor 112. Can do.

S112の後、全体制御部250は、被検査対象検出センサ112がオン状態か否かを判定する(S122)。なお、この判定で、「被検査対象検出センサ112がオン状態である」すなわち「イエス(Yes)」(以下、“Yes”と称する)と判定された場合に、外観検査装置103のイメージ合成/非合成部220は、非合成画像出力モードで動作し、他方、この判定で、「被検査対象検出センサ112がオン状態でない」すなわち「ノー(No)」(以下、“No”と称する)と判定された場合に、外観検査装置103のイメージ合成/非合成部220は、合成画像出力モードで動作することになる。この実施の形態例では、外観検査装置103の全体制御部250は、被検査対象が単一のカメラの視野以下の場合に、“Yes”と判定し、また、被検査対象が単一のカメラの視野よりも大きい場合に、“No”と判定する。   After S112, the overall control unit 250 determines whether or not the inspection target detection sensor 112 is on (S122). In this determination, if it is determined that “the inspection target detection sensor 112 is in the on state”, that is, “Yes” (hereinafter referred to as “Yes”), the image composition / The non-synthesizing unit 220 operates in the non-synthesized image output mode. On the other hand, in this determination, “the inspection target detection sensor 112 is not in an on state”, that is, “No” (hereinafter referred to as “No”). When the determination is made, the image composition / non-composition unit 220 of the appearance inspection apparatus 103 operates in the composite image output mode. In this embodiment, the overall control unit 250 of the appearance inspection apparatus 103 determines “Yes” when the object to be inspected is less than the field of view of a single camera, and the camera to be inspected is a single camera. If it is larger than the field of view, it is determined as “No”.

S122の判定で、“Yes”と判定された場合に、全体制御部250は、非合成画像出力モードの設定処理を行う(S130a)。他方、S122の判定で、“No”と判定された場合に、全体制御部250は、合成画像出力モードの設定処理を行う(S130d)。   If it is determined as “Yes” in the determination in S122, the overall control unit 250 performs a non-composite image output mode setting process (S130a). On the other hand, when it is determined as “No” in the determination in S122, the overall control unit 250 performs the setting process of the composite image output mode (S130d).

以下、この実施の形態例3の外観検査装置103は、実施の形態例2の外観検査装置102と同様に動作する(図4参照)。   Hereinafter, the appearance inspection apparatus 103 according to the third embodiment operates in the same manner as the appearance inspection apparatus 102 according to the second embodiment (see FIG. 4).

以上の通り、この実施の形態例3の外観検査装置103の全体制御部250は、被検査対象のサイズが単一のカメラの視野以下であるか否かを、テーブル110に組み込まれた被検査対象検出センサ112から出力された信号に基づいて、判定することができる。そのため、この外観検査装置103は、実施の形態例2の外観検査装置102の有する効果に加え、仮に、外部機器500から入力された被検査対象情報の中に被検査対象のサイズ情報が含まれていなくても、実施の形態例1や実施の形態例2と同様に、イメージ合成/非合成部220の動作モードを、非合成画像出力モードまたは合成画像出力モードに設定することができるという効果を有する。   As described above, the overall control unit 250 of the appearance inspection apparatus 103 according to the third embodiment determines whether or not the size of the object to be inspected is equal to or smaller than the field of view of a single camera. The determination can be made based on the signal output from the target detection sensor 112. Therefore, in addition to the effects of the appearance inspection apparatus 102 according to the second embodiment, the appearance inspection apparatus 103 temporarily includes the size information of the inspection object in the inspection object information input from the external device 500. Even if it is not, the effect that the operation mode of the image composition / non-composition unit 220 can be set to the non-composite image output mode or the composite image output mode as in the first embodiment and the second embodiment. Have

この発明は、上述の実施の形態例に限定されることなく、この発明の要旨を逸脱しない範囲で種々の変更や変形を行うことができる。   The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the gist of the present invention.

例えば、実施の形態例1〜3のいずれかに係る外観検査装置は、被検査対象を自動的に供給するローダや、被検査対象を自動的に取り除くアンローダを設けることにより、被検査対象を自動的に検査することが可能となる。   For example, the appearance inspection apparatus according to any one of the first to third embodiments automatically sets the inspection target by providing a loader that automatically supplies the inspection target and an unloader that automatically removes the inspection target. Can be inspected automatically.

さらに、実施の形態例1〜3のいずれかに係る外観検査装置は、被検査対象を反転させる機構をテーブル110の近傍に設けることにより、被検査対象の表面だけでなく裏面も検査することが可能となる。   Furthermore, the appearance inspection apparatus according to any one of the first to third embodiments can inspect not only the front surface but also the back surface of the inspection object by providing a mechanism for inverting the inspection object in the vicinity of the table 110. It becomes possible.

実施の形態例1に係る外見検査装置の概略構成を示す図である。It is a figure which shows schematic structure of the external appearance inspection apparatus which concerns on Example 1 of Embodiment. 実施の形態例1に係る外見検査装置の動作を示すフローチャートである。5 is a flowchart showing an operation of the appearance inspection apparatus according to the first embodiment. 実施の形態例2に係る外見検査装置の概略構成を示す図である。It is a figure which shows schematic structure of the external appearance inspection apparatus which concerns on Example 2 of Embodiment. 実施の形態例2に係る外見検査装置の動作を示すフローチャートである。10 is a flowchart showing an operation of the appearance inspection apparatus according to the second embodiment. 実施の形態例3に係る外見検査装置の概略構成を示す図である。It is a figure which shows schematic structure of the external appearance inspection apparatus which concerns on Example 3 of Embodiment. 実施の形態例3に係る外見検査装置の動作を示すフローチャートである。10 is a flowchart showing an operation of the appearance inspection apparatus according to the third embodiment.

符号の説明Explanation of symbols

10 …搬送方向
50 …小型の被検査対象
60 …大型の被検査対象
101,102,103 …外観検査装置
110 …テーブル
112 …被検査対象検出センサ
120 …アクチュエータ
130 …モータ
150 …照明
160a,160b …第1及び第2カメラ(第1及び第2ラインセンサカメラ)
162a,162b …第1カメラの視野及び第2カメラの視野
W162a,W162b …第1カメラの視野の幅及び第2カメラの視野の幅
200 …演算部(CPU)
210a,210b …第1及び第2イメージキャプチャ部
220 …イメージ合成/非合成部(画像処理部)
230 …検査処理部
240 …機構制御部
250 …全体制御部
260 …入出力部
270 …格納部(RAM)
500,600 …外部機器
505,605 …記憶媒体
510,610 …記憶装置
612 …プリンタ
614 …ディスプレイ
DESCRIPTION OF SYMBOLS 10 ... Conveyance direction 50 ... Small inspection object 60 ... Large inspection object 101,102,103 ... Appearance inspection apparatus 110 ... Table 112 ... Inspection object detection sensor 120 ... Actuator 130 ... Motor 150 ... Illumination 160a, 160b ... First and second cameras (first and second line sensor cameras)
162a, 162b: Field of view of first camera and field of view of second camera W162a, W162b: Width of field of view of first camera and width of field of view of second camera 200: Calculation unit (CPU)
210a, 210b ... 1st and 2nd image capture part 220 ... Image composition / non-composition part (image processing part)
230 ... Inspection processing unit 240 ... Mechanism control unit 250 ... Overall control unit 260 ... Input / output unit 270 ... Storage unit (RAM)
500, 600 ... External device 505, 605 ... Storage medium 510, 610 ... Storage device 612 ... Printer 614 ... Display

Claims (8)

被検査対象の外観の合否を判定する外観検査装置において、
前記被検査対象を撮像するための複数のカメラと、
前記被検査対象の撮像画像に基づいて、前記被検査対象の外観の合否を判定するための検査処理部と、
複数の前記カメラによって撮像された前記被検査対象の複数枚の撮像画像を合成して一枚の合成画像を作成し、該合成画像を前記検査処理部に出力するモードを合成画像出力モードとし、該合成画像を作成せずに、単一の前記カメラによって撮像された前記被検査対象の一枚の撮像画像を前記検査処理部に出力するモードを非合成画像出力モードとする場合に、複数の前記カメラから前記被検査対象の複数枚の撮像画像を取得して、前記被検査対象のサイズに応じて、該合成画像出力モード及び該非合成画像出力モードのいずれか一方を行うためのイメージ合成/非合成部と
を有することを特徴とする外観検査装置。
In the appearance inspection apparatus that determines the pass / fail of the appearance of the inspection target,
A plurality of cameras for imaging the inspection object;
An inspection processing unit for determining pass / fail of the appearance of the inspection target based on the captured image of the inspection target;
A composite image output mode is a mode in which a plurality of captured images captured by the plurality of cameras are combined to create a single composite image, and the composite image is output to the inspection processing unit. In a case where a mode in which one imaged image to be inspected imaged by the single camera is output to the inspection processing unit without creating the composite image is set as a non-composite image output mode, Image synthesis / acquisition for acquiring a plurality of captured images of the inspected object from the camera and performing either the composite image output mode or the non-composite image output mode according to the size of the inspected object An appearance inspection apparatus characterized by comprising a non-synthesis part.
請求項1に記載の外観検査装置において、
前記イメージ合成/非合成部は、
前記被検査対象のサイズが単一の前記カメラの視野より大きい場合に、前記合成画像出力モードを行って、前記被検査対象の前記合成画像を前記検査処理部に出力し、及び、
前記被検査対象のサイズが単一の前記カメラの視野以下の場合に、前記非合成画像出力モードを行って、前記被検査対象の前記撮像画像を前記検査処理部に出力する
ことを特徴とする外観検査装置。
The appearance inspection apparatus according to claim 1,
The image composition / non-synthesis part is:
When the size of the object to be inspected is larger than the field of view of the single camera, the composite image output mode is performed, and the composite image of the object to be inspected is output to the inspection processing unit; and
When the size of the inspection target is equal to or smaller than the field of view of the single camera, the non-synthesized image output mode is performed, and the captured image of the inspection target is output to the inspection processing unit. Appearance inspection device.
請求項2に記載の外観検査装置において、
前記検査処理部は、複数の前記カメラに対応して複数設けられており、
前記イメージ合成/非合成部は、前記被検査対象のサイズが単一の前記カメラの視野以下の場合に、それぞれの前記カメラによって撮像された前記被検査対象のそれぞれの前記撮像画像を、それぞれの前記カメラに対応するそれぞれの前記検査処理部に出力し、及び、
複数の前記検査処理部は、それぞれ、対応する前記カメラによって撮像された前記被検査対象の前記撮像画像に基づいて、他の前記検査処理部と並行して前記被検査対象の外観の合否を判定する
ことを特徴とする外観検査装置。
The appearance inspection apparatus according to claim 2,
A plurality of the inspection processing units are provided corresponding to the plurality of the cameras,
The image synthesis / non-synthesis unit, when the size of the inspection target is equal to or smaller than the field of view of the single camera, captures each captured image of the inspection target captured by each of the cameras. Output to each of the inspection processing units corresponding to the camera, and
The plurality of inspection processing units respectively determine pass / fail of the appearance of the inspection target in parallel with the other inspection processing units based on the captured image of the inspection target captured by the corresponding camera. A visual inspection device characterized by:
請求項1に記載の外観検査装置において、
さらに、前記被検査対象を前記カメラの撮像位置に搬送するためのテーブルを有し、
前記テーブルは、前記被検査対象のサイズを測定するための被検査対象サイズ測定センサを備えており、
前記イメージ合成/非合成部は、前記テーブルの前記被検査対象サイズ測定センサによって測定された前記被検査対象のサイズに応じて、前記合成画像出力モード及び前記非合成画像出力モードのいずれか一方を行う
ことを特徴とする外観検査装置。
The appearance inspection apparatus according to claim 1,
Furthermore, it has a table for transporting the inspection object to the imaging position of the camera,
The table includes an inspection object size measurement sensor for measuring the size of the inspection object;
The image synthesizing / non-synthesizing unit performs one of the synthesized image output mode and the non-synthesized image output mode according to the size of the inspection target measured by the inspection target size measurement sensor of the table. An appearance inspection apparatus characterized by performing.
複数のカメラとイメージ合成/非合成部と検査処理部とを用い、
複数の前記カメラが、被検査対象を撮像する撮像ステップと、
複数の前記カメラによって撮像された前記被検査対象の複数枚の撮像画像を合成して一枚の合成画像を作成し、該合成画像を前記検査処理部に出力するモードを合成画像出力モードとし、該合成画像を作成せずに、単一の前記カメラによって撮像された前記被検査対象の一枚の撮像画像を前記検査処理部に出力するモードを非合成画像出力モードとする場合に、前記イメージ合成/非合成部が、複数の前記カメラから前記被検査対象の複数枚の撮像画像を取得して、前記被検査対象のサイズに応じて、該合成画像出力モード及び該非合成画像出力モードのいずれか一方を行う画像処理ステップと、
前記検査処理部が、前記イメージ合成/非合成部から出力された前記被検査対象の画像に基づいて、前記被検査対象の外観の合否を判定する検査処理ステップと
を有することを特徴とする外観検査方法。
Using multiple cameras, image composition / non-synthesis part and inspection processing part,
An imaging step in which a plurality of the cameras image the inspection object;
A composite image output mode is a mode in which a plurality of captured images captured by the plurality of cameras are combined to create a single composite image, and the composite image is output to the inspection processing unit. In the case where the mode for outputting one captured image captured by the single camera to the inspection processing unit without creating the composite image is set as the non-composite image output mode, the image A combining / non-synthesizing unit acquires a plurality of captured images of the inspection target from a plurality of the cameras, and depending on the size of the inspection target, either the composite image output mode or the non-synthetic image output mode An image processing step for either
The inspection processing unit includes an inspection processing step for determining pass / fail of the appearance of the inspection target based on the image of the inspection target output from the image synthesis / non-synthesis unit. Inspection method.
請求項5に記載の外観検査方法において、
前記画像処理ステップで、前記イメージ合成/非合成部は、
前記被検査対象のサイズが単一の前記カメラの視野より大きい場合に、前記合成画像出力モードを行って、前記被検査対象の前記合成画像を前記検査処理部に出力し、及び、
前記被検査対象のサイズが単一の前記カメラの視野以下の場合に、前記非合成画像出力モードを行って、前記被検査対象の前記撮像画像を前記検査処理部に出力する
ことを特徴とする外観検査方法。
The appearance inspection method according to claim 5,
In the image processing step, the image composition / non-synthesis unit is
If the size of the object to be inspected is larger than the field of view of the single camera, perform the composite image output mode, and output the composite image of the object to be inspected to the inspection processing unit; and
When the size of the inspection target is equal to or smaller than the field of view of the single camera, the non-synthesized image output mode is performed, and the captured image of the inspection target is output to the inspection processing unit. Appearance inspection method.
請求項6に記載の外観検査方法において、
前記検査処理部は、複数の前記カメラに対応して複数設けられており、
前記画像処理ステップで、前記イメージ合成/非合成部は、前記被検査対象のサイズが単一の前記カメラの視野以下の場合に、それぞれの前記カメラによって撮像された前記被検査対象のそれぞれの前記撮像画像を、それぞれの前記カメラに対応するそれぞれの前記検査処理部に出力し、及び、
前記検査処理ステップで、複数の前記検査処理部は、それぞれ、対応する前記カメラによって撮像された前記被検査対象の前記撮像画像に基づいて、他の前記検査処理部と並行して前記被検査対象の外観の合否を判定する
ことを特徴とする外観検査方法。
The appearance inspection method according to claim 6,
A plurality of the inspection processing units are provided corresponding to the plurality of the cameras,
In the image processing step, the image combining / non-synthesizing unit, when the size of the object to be inspected is equal to or smaller than the field of view of the single camera, each of the inspected objects captured by each of the cameras. Output captured images to the respective inspection processing units corresponding to the respective cameras; and
In the inspection processing step, each of the plurality of inspection processing units is in parallel with the other inspection processing units based on the captured image of the inspection target captured by the corresponding camera. An appearance inspection method characterized by determining whether the appearance of the product is acceptable or not.
請求項5に記載の外観検査方法において、
さらに、前記被検査対象を前記カメラの撮像位置に搬送するテーブルを有し、
前記テーブルは、前記被検査対象のサイズを測定するための被検査対象サイズ測定センサを備えており、
前記画像処理ステップで、前記イメージ合成/非合成部は、前記テーブルの前記被検査対象サイズ測定センサによって測定された前記被検査対象のサイズに応じて、前記合成画像出力モード及び前記非合成画像出力モードのいずれか一方を行う
ことを特徴とする外観検査方法。
The appearance inspection method according to claim 5,
Furthermore, it has a table that conveys the inspection object to the imaging position of the camera,
The table includes an inspection object size measurement sensor for measuring the size of the inspection object;
In the image processing step, the image synthesizing / non-synthesizing unit is configured to output the synthesized image output mode and the non-synthesized image output according to the size of the inspected object measured by the inspected object size measurement sensor of the table. An appearance inspection method characterized by performing one of the modes.
JP2007004184A 2007-01-12 2007-01-12 Visual inspecting device and visual inspection method Withdrawn JP2008170298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007004184A JP2008170298A (en) 2007-01-12 2007-01-12 Visual inspecting device and visual inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007004184A JP2008170298A (en) 2007-01-12 2007-01-12 Visual inspecting device and visual inspection method

Publications (1)

Publication Number Publication Date
JP2008170298A true JP2008170298A (en) 2008-07-24

Family

ID=39698533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007004184A Withdrawn JP2008170298A (en) 2007-01-12 2007-01-12 Visual inspecting device and visual inspection method

Country Status (1)

Country Link
JP (1) JP2008170298A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101159009B1 (en) 2010-09-07 2012-06-21 아주대학교산학협력단 Zirconium tube testing apparatus and tube testing method the same
US11748838B2 (en) * 2020-02-18 2023-09-05 Cognex Corporation System and method for three-dimensional scan of moving objects longer than the field of view
JP7373436B2 (en) 2020-03-09 2023-11-02 ファスフォードテクノロジ株式会社 Die bonding equipment and semiconductor device manufacturing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101159009B1 (en) 2010-09-07 2012-06-21 아주대학교산학협력단 Zirconium tube testing apparatus and tube testing method the same
US11748838B2 (en) * 2020-02-18 2023-09-05 Cognex Corporation System and method for three-dimensional scan of moving objects longer than the field of view
JP7373436B2 (en) 2020-03-09 2023-11-02 ファスフォードテクノロジ株式会社 Die bonding equipment and semiconductor device manufacturing method

Similar Documents

Publication Publication Date Title
JP3918854B2 (en) Substrate inspection method and substrate inspection apparatus
US9024901B2 (en) Interactive whiteboards and programs
US10366484B2 (en) Inspection method, inspection apparatus, processing apparatus, and recording medium for detecting defects of a work
JP2007286846A5 (en)
JP2010266259A (en) Tire inspection device
JP2014197762A (en) Image processing system and image processing program
JP2008170298A (en) Visual inspecting device and visual inspection method
JP5141470B2 (en) Image composition method and image processing system
JP2013036796A (en) Image processor
JP2007226616A (en) Printed matter inspection device, printed matter inspection method, printer, method of printing, program, record medium
JP4025859B2 (en) Inspection apparatus, inspection method, and pattern substrate manufacturing method
TWI811568B (en) Foreign substance inspection apparatus and foreign substance inspection method
JP2008224523A (en) Inspection device and inspection method of screw component
JP2014062837A (en) Defect inspection device and defect reviewing device
JP4680659B2 (en) Product tire appearance inspection method and product tire appearance inspection auxiliary device
JP2006038701A (en) Connection composition method of data and connection composing program
JP6623545B2 (en) Inspection system, inspection method, program, and storage medium
JP2009000930A (en) Image recorder, method for detecting recording defect by the recorder, and program
JP4285613B2 (en) Inspection apparatus, inspection method, and pattern substrate manufacturing method
WO2016199328A1 (en) Lighting device, image-capture system, and lighting method
JP2012211876A (en) Visual inspection device
JP2003344309A (en) Method of setting parameter for inspection equipment
US11763445B2 (en) Inspection of a target object using a comparison with a master image and a strictness of a quality evaluation threshold value
JP2010236976A (en) Wire inspection apparatus, wire inspection method and wire inspection-use program
JP4885590B2 (en) Semiconductor wafer inspection method and apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100406