JP2009236760A - Image detection device and inspection apparatus - Google Patents

Image detection device and inspection apparatus Download PDF

Info

Publication number
JP2009236760A
JP2009236760A JP2008084634A JP2008084634A JP2009236760A JP 2009236760 A JP2009236760 A JP 2009236760A JP 2008084634 A JP2008084634 A JP 2008084634A JP 2008084634 A JP2008084634 A JP 2008084634A JP 2009236760 A JP2009236760 A JP 2009236760A
Authority
JP
Japan
Prior art keywords
image
unit
work
workpiece
dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008084634A
Other languages
Japanese (ja)
Inventor
Masafumi Maeda
雅史 前田
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.)
Daishinku Corp
Original Assignee
Daishinku Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daishinku Corp filed Critical Daishinku Corp
Priority to JP2008084634A priority Critical patent/JP2009236760A/en
Publication of JP2009236760A publication Critical patent/JP2009236760A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image detection device and an inspection apparatus for measuring the actual size (dimension) of an undefined area having damage, foreign substance, etc. <P>SOLUTION: The image detection device 6 detects the presence of the undefined area having damage or foreign substance from a work 2 by an optical image processing means. This image detection device 6 is provided with an image acquiring section 61 for acquiring work images of the work 2 photographed by external filming equipment, an image generating section 62 which uses a variable work image adjusted for the work image acquired by the image acquiring section 61 to generate a difference image from the work image and the variable work image, and a dimension calculating section 63 for calculating dimensions of the undefined area from the difference image generated by the image generating section 62. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、検査対象となるワークの異物の大きさを測定する画像検出装置および、検査対象となるワークの検査を行う検査装置に関する。   The present invention relates to an image detection apparatus that measures the size of foreign matter on a workpiece to be inspected, and an inspection apparatus that inspects a workpiece to be inspected.

従来、検査対象となるワークの外観検査を行う場合、目視によりそのワークの良否判定を行なっていた。そのため、作業者の熟練度によって目視による良否判定の基準が変わってしまい、ワークの良否判断にバラツキが生じていた。
そこで、現在、画像処理技術の進歩により、ワークを撮影し、撮影された画像を解析することによりワークの良否を判定する検査装置が用いられている(例えば、特許文献1参照)。
Conventionally, when visual inspection of a workpiece to be inspected is performed, the quality of the workpiece is determined visually. For this reason, the standard for visual quality judgment changes depending on the skill level of the worker, and the quality judgment of the workpiece varies.
In view of this, an inspection apparatus that uses a photograph of a workpiece and analyzes the photographed image to determine whether the workpiece is good or not is now being used due to advances in image processing technology (see, for example, Patent Document 1).

この特許文献1に記載の検査装置は、ワーク表面に異物(ゴミや汚れなど)や傷等があるか否かを検査する装置であり、ワーク表面に光を照明し反射させて撮影部でその反射した光を撮影する。   The inspection apparatus described in Patent Document 1 is an apparatus that inspects whether or not there is a foreign object (such as dust or dirt) or a flaw on the work surface. Shoot the reflected light.

具体的に、特許文献1に記載の検査装置によれば、ワーク表面上において傷や異物等がない部位では光が反射し、傷や異物等がある不確定な部位では光が乱反射する。したがって、一定の照明下でワークの撮影を行うと、傷や異物等がある不確定な部位と、傷や異物等がない部位とで、ワーク表面の明るさが異なって撮影され、この明るさの違いによりワークの良否判定を行う。
特開2005−201880号公報
Specifically, according to the inspection apparatus described in Patent Document 1, light is reflected at a site where there are no scratches or foreign objects on the workpiece surface, and light is irregularly reflected at an uncertain site where there are scratches or foreign objects. Therefore, when a workpiece is photographed under constant illumination, the brightness of the workpiece surface is photographed differently between an indeterminate part with scratches or foreign objects and a part without scratches or foreign substances. The quality of the workpiece is judged according to the difference.
JP 2005-201880 A

ところで、上記した特許文献1に記載の検査装置で用いられる情報処理である従来の画像検出装置は、検査装置で撮影したワークの画像を、画素を判定対象として解析し、傷や異物等がある不確定な部位を画素単位で判別してこの不確定な部位が何画素あるかその数によりワークの良否の判定を行うものである。   By the way, a conventional image detection apparatus that is information processing used in the inspection apparatus described in Patent Document 1 described above analyzes a workpiece image photographed by the inspection apparatus using a pixel as a determination target, and has a scratch, a foreign object, or the like. The uncertain part is discriminated in pixel units, and the quality of the work is determined by the number of pixels of the uncertain part.

しかしながら、上記した従来の画像検出装置では、画素自体を不確定な部分として検出対象としているので、不確定な部分の実際の大きさ(寸法)を測定することができない。   However, in the above-described conventional image detection apparatus, since the pixel itself is the detection target as an indeterminate part, the actual size (dimension) of the indeterminate part cannot be measured.

そこで、上記課題を解決するために、本発明は、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定する画像検出装置および検査装置を提供することを目的とする。   Therefore, in order to solve the above-described problems, an object of the present invention is to provide an image detection apparatus and an inspection apparatus that measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object.

上記の目的を達成するため、本発明にかかる画像検出装置は、検査対象となるワークに対して傷や異物などの不確定な部位があるか否かを、光を用いた画像処理により検出する画像検出装置において、外部撮影機器により撮影したワークのワーク画像を取得する画像取得部と、前記画像取得部で取得したワーク画像に対して画像可変させた可変ワーク画像を用いて、ワーク画像と可変ワーク画像とから差分画像を作成する作成部と、前記作成部により作成した差分画像から傷や異物などの不確定な部位の寸法を算出する寸法算出部と、が設けられたことを特徴とする。なお、ここでいう可変ワーク画像は、前記画像取得部で取得したワーク画像から、前記作成部でワーク画像を可変させる画像条件に基づいて画像処理を行った画像や、前記可変ワーク画像は、ワーク画像に対してワークを撮影する撮影条件を可変させて前記画像取得部で取得し、ワーク画像に対して画像可変させた画像のことをいう。   In order to achieve the above object, the image detection apparatus according to the present invention detects whether or not there is an uncertain part such as a scratch or a foreign object on the work to be inspected by image processing using light. In an image detection apparatus, an image acquisition unit that acquires a workpiece image of a workpiece photographed by an external imaging device, and a variable workpiece image that is image-variable with respect to the workpiece image acquired by the image acquisition unit. A creation unit that creates a difference image from a work image, and a dimension calculation unit that calculates a dimension of an uncertain part such as a scratch or a foreign object from the difference image created by the creation unit are provided. . Note that the variable work image referred to here is an image obtained by performing image processing based on an image condition for changing the work image by the creation unit from the work image acquired by the image acquisition unit, or the variable work image. This refers to an image obtained by varying the photographing conditions for photographing a workpiece with respect to the image, acquired by the image acquisition unit, and varied with respect to the workpiece image.

本発明によれば、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することが可能となる。   According to the present invention, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object.

具体的に、前記画像取得部と前記作成部と前記寸法算出部とが設けられているので、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することが可能となる。その結果、ワークの良否判定を寸法により行うことが可能となり、ワークの良品判定の精度を向上させることが可能となる。   Specifically, since the image acquisition unit, the creation unit, and the dimension calculation unit are provided, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object. Become. As a result, the quality of the workpiece can be determined based on the dimensions, and the accuracy of the workpiece quality determination can be improved.

これに対して、従来の画像検出装置では、検査装置で撮影したワークの画像を、画素を判定対象として解析し、傷や異物等がある不確定な部位を画素単位で判別してこの不確定な部位が何画素あるかその数によりワークの良否の判定を行う。そのため、上記した従来の画像検出装置では、画素自体を不確定な部分として検出対象としているので、不確定な部分の実際の大きさ(寸法)を測定することができない。   On the other hand, in a conventional image detection apparatus, an image of a workpiece photographed by an inspection apparatus is analyzed using pixels as determination targets, and indeterminate parts having scratches, foreign objects, etc. are discriminated in units of pixels, and the indefiniteness is determined. The quality of the work is determined based on how many pixels there are. For this reason, in the above-described conventional image detection apparatus, the pixel itself is the detection target as an indeterminate part, and thus the actual size (dimension) of the indeterminate part cannot be measured.

前記構成において、前記作成部により作成した差分画像のうち、傷や異物などの不確定な部位のみを抽出する抽出部が設けられてもよい。   The said structure WHEREIN: The extraction part which extracts only uncertain parts, such as a damage | wound and a foreign material, among the difference images produced by the said creation part may be provided.

この場合、前記抽出部が設けられるので、差分画像のうち不確定な部位以外の正常な部位を省くことが可能となり、不確定な部位をワークの良否判定の対象とすることが可能となり、前記寸法算出部による不確定な部位の寸法算出の精度を上げることが可能となる。具体的に、前記抽出部により不確定な部位を抽出し画像拡大することが可能となり、不確定な部位の寸法算出の精度を上げることが可能となる。   In this case, since the extraction unit is provided, it is possible to omit a normal part other than an uncertain part in the difference image, and an uncertain part can be a target of work quality determination. It becomes possible to increase the accuracy of dimension calculation of an indeterminate part by the dimension calculation unit. Specifically, an uncertain part can be extracted and the image can be enlarged by the extracting unit, and the accuracy of the dimension calculation of the uncertain part can be increased.

前記構成において、前記抽出部では、最大寸法の傷や異物などの不確定な部位を抽出してもよい。   The said structure WHEREIN: You may extract indefinite site | parts, such as a damage | wound of a maximum dimension, and a foreign material, in the said extraction part.

この場合、差分画像のうち最大寸法の不確定な部位を抽出するので、ワークの良否判定の基準を最大寸法の不確定な部位としてワークの良品判定を容易に行うことが可能となる。   In this case, since a part with an indefinite maximum dimension is extracted from the difference image, it is possible to easily perform a non-defective product determination with a reference for determining the quality of the work as a part with an uncertain maximum dimension.

前記構成において、傷や異物などの不確定な部位の寸法は、その不確定な部位の長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)の少なくとも1つの径であってもよい。   In the above configuration, the dimension of an uncertain part such as a scratch or a foreign object is at least one diameter of the length dimension (major axis) in the longitudinal direction and the length dimension (minor axis) in the lateral direction of the uncertain part. There may be.

この場合、不確定な部位の寸法を正確に測定することが可能となり、不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法の少なくとも1つの径を、ワークの良否判定の基準とすることが可能となる。また、不確定な部位の存在によるワークの良否判定の基準の多様性に応えることが可能となる。   In this case, it becomes possible to accurately measure the dimension of the uncertain part, and at least one of the length dimension in the longitudinal direction and the length dimension in the short direction of the uncertain part is used to determine the quality of the workpiece. It becomes possible to make it a standard. In addition, it is possible to meet the variety of criteria for determining the quality of a workpiece due to the presence of uncertain parts.

前記構成において、前記寸法算出部は、傷や異物などの不確定な部位の長手方向の長さ寸法(長径)を算出してもよい。   The said structure WHEREIN: The said dimension calculation part may calculate the length dimension (major axis) of the longitudinal direction of uncertain parts, such as a damage | wound and a foreign material.

この場合、不確定な部位の長手方向の長さ寸法を、ワークの良否判定の基準とすることが可能となり、不確定な部分の実際の大きさ(寸法)からワークの良品を判定するためにワークの良否判定の精度を向上させることが可能となる。   In this case, the length dimension in the longitudinal direction of the uncertain part can be used as a criterion for determining the quality of the work, and in order to determine the quality of the work from the actual size (dimension) of the uncertain part. It is possible to improve the accuracy of workpiece quality determination.

前記構成において、前記寸法算出部は、傷や異物などの不確定な部位の長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)を算出して、これら長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)から構成される矩形部位を算出してもよい。   In the above configuration, the dimension calculation unit calculates the length dimension (major axis) and the length dimension (minor axis) in the longitudinal direction of uncertain parts such as scratches and foreign matters, You may calculate the rectangular site | part comprised from a length dimension (major axis) and the length dimension (minor axis) of a transversal direction.

この場合、不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法から構成される矩形部位を、ワークの良否判定の基準とすることが可能となり、不確定な部分の実際の大きさ(寸法)からワークの良品を判定するためにワークの良否判定の精度を向上させることが可能となる。また、不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法から構成される矩形部位を、ワークの良否判定の基準とすることが可能となり、不確定な部位の存在によるワークの良否判定の基準の多様性に応えることが可能となる。   In this case, it becomes possible to use a rectangular part composed of the length dimension in the longitudinal direction and the length dimension in the short direction of the uncertain part as a reference for the quality determination of the work, and the actual part of the uncertain part It is possible to improve the accuracy of the workpiece quality determination in order to determine the quality of the workpiece from the size (dimension). In addition, a rectangular part composed of the length dimension in the longitudinal direction and the length dimension in the short direction of the indeterminate part can be used as a criterion for determining the quality of the work. It is possible to meet the diversity of criteria for determining whether or not the product is acceptable.

前記構成において、ワークは、透光性材料であってもよい。具体的に、ワークに透光性材料を用いることが好ましく、例えば圧電材料もしくはレンズ系材料であることが好適である。   The said structure WHEREIN: A translucent material may be sufficient as a workpiece | work. Specifically, it is preferable to use a translucent material for the workpiece, for example, a piezoelectric material or a lens-based material is preferable.

前記構成において、前記寸法算出部により算出した前記寸法を予め設定した基準寸法と比較検討して当該ワークの良否を判定する良否判定部が設けられてもよい。   The said structure WHEREIN: The quality determination part which determines the quality of the said workpiece | work by comparing and examining the said dimension calculated by the said dimension calculation part with the preset reference dimension may be provided.

この場合、ワークの良否判定の量産に好適である。   In this case, it is suitable for mass production for determining the quality of the workpiece.

また、上記の目的を達成するため、本発明にかかる検査装置は、検査対象となるワークを検査する検査装置において、ワークを照明する円環状の光源部を有する照明部と、ワークを撮影する撮影部とが設けられ、上記した本発明にかかる画像検出装置が、直接または間接的に接続され、ワークを保持する保持部が、前記照明部と撮影部との間に固定もしくは移動可能に配され、前記照明部の前記光源部からワークに照射した光の照射方向上から外れた位置に、前記撮影部が配され、ワークに傷や異物などの不確定な部位がある場合、前記光源部からワークに照射した光は、その不確定な部位によりその光路が変更されて前記撮影部にて撮影されることを特徴とする。   In order to achieve the above object, an inspection apparatus according to the present invention is an inspection apparatus for inspecting a workpiece to be inspected, and an illuminating unit having an annular light source unit for illuminating the workpiece, and imaging for imaging the workpiece. The image detection apparatus according to the present invention described above is directly or indirectly connected, and a holding unit that holds a work is disposed between the illumination unit and the photographing unit so as to be fixed or movable. When the photographing unit is arranged at a position deviated from the irradiation direction of the light irradiated to the workpiece from the light source unit of the illumination unit, and the workpiece has an uncertain part such as a scratch or a foreign object, the light source unit The light irradiated onto the workpiece is photographed by the photographing unit with its optical path changed by the uncertain part.

本発明によれば、上記した本発明にかかる画像検出装置が、直接または間接的に接続されるので、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することが可能となり、上記した本発明にかかる画像検出装置による作用効果を有する。   According to the present invention, since the above-described image detection apparatus according to the present invention is directly or indirectly connected, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object. It becomes possible, and it has an operation effect by the above-mentioned image detection device concerning the present invention.

また、本発明によれば、ワークを保持部などの保持機構で保持した状態であっても、誤認識なくワークの良否判定を行うことが可能となる。特に、本発明によれば、前記画像検出装置が直接または間接的に接続され、前記撮影部と前記照明部とが前記保持部に保持したワークを介して配されているので、前記保持部に保持したワークを基準に、ワークに対して同一方向(同一側の位置)に前記撮影部と前記照明部とが設けられていない。そのため、ワークに照射した光の反射光や、ワークを保持する前記保持部で反射した反射光が、前記撮影部で撮影されることなく、ワークに付着したもしくは形成された全ての異物(ゴミやしみなど)や傷などを含む不確定な部位を発見することが可能となる。また、本発明によれば、前記保持部に保持したワークを基準に、ワークに対して同一方向(同一側の位置)に前記撮影部と前記照明部とが設けられていないため、前記照明部からの照明により前記保持部が白く光るのを防止することが可能となり、この保持部の白発光による傷や異物などを含む不確定な部位との誤認識を防止することが可能となる。   In addition, according to the present invention, it is possible to determine whether or not a workpiece is good without erroneous recognition even when the workpiece is held by a holding mechanism such as a holding unit. In particular, according to the present invention, the image detection device is connected directly or indirectly, and the photographing unit and the illumination unit are arranged via a work held by the holding unit. The photographing unit and the illumination unit are not provided in the same direction (position on the same side) with respect to the workpiece on the basis of the held workpiece. Therefore, the reflected light of the light irradiated on the work and the reflected light reflected by the holding part that holds the work are not photographed by the photographing part, and all foreign matters (dust and It is possible to find indeterminate sites including spots) and wounds. Further, according to the present invention, since the photographing unit and the illumination unit are not provided in the same direction (position on the same side) with respect to the workpiece on the basis of the workpiece held by the holding unit, the illumination unit It is possible to prevent the holding part from shining white by the illumination from the light, and it is possible to prevent erroneous recognition of the holding part due to white light emission and an uncertain part including foreign matter.

本発明にかかる画像検出装置および検査装置によれば、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することが可能となる。   According to the image detection apparatus and the inspection apparatus according to the present invention, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object.

以下、本発明の実施の形態について図面を参照して説明する。なお、以下に示す実施例では、検査対象となるワークとして光学部品であるフィルタに本発明を適用した場合を示す。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiment, a case where the present invention is applied to a filter that is an optical component as a workpiece to be inspected is shown.

本実施例にかかる検査装置1は、透過方式を採用しており、検査対象となるワークに異物があるか否かの検査を行うものである。   The inspection apparatus 1 according to the present embodiment adopts a transmission method, and inspects whether or not there is a foreign object on the workpiece to be inspected.

具体的に、検査装置1には、図1に示すように、ワーク2を照明する照明部3と、ワーク2を撮影する撮影部4と、ワーク2を保持する保持部5とが設けられ、撮影部4に情報処理装置である画像検出装置6が有線にて接続されている。   Specifically, as shown in FIG. 1, the inspection apparatus 1 includes an illumination unit 3 that illuminates the workpiece 2, an imaging unit 4 that photographs the workpiece 2, and a holding unit 5 that holds the workpiece 2. An image detection device 6, which is an information processing device, is connected to the photographing unit 4 by wire.

照明部3は、図1,2に示すように、貫通孔31を有する筒状体からなり、貫通孔31のうち、その内壁面32の平面視上方部分が、平面視下方に向けて勾配を有するテーパー状に成形されている。このテーパー成形された内壁面32の平面視上方部分には、平面視円環状の光源部33が設けられ、光源部33は、複数のLEDが上下2段複数列に配されて構成される。また、複数のLEDは、それぞれテーパー成形された傾斜角度に対して垂直方向に光を照射する(図1の一点鎖線方向への照射)。すなわち、光源部33は、保持部5に保持したワーク2に対して角度を有した指向性(図1の一点鎖線方向)の光を照射する。   As shown in FIGS. 1 and 2, the illuminating unit 3 is formed of a cylindrical body having a through hole 31, and the upper part of the inner wall surface 32 of the through hole 31 in the plan view has a gradient toward the lower part of the plan view. It is formed into a tapered shape. In the upper part of the tapered inner wall surface 32 in plan view, a light source part 33 having a ring shape in plan view is provided, and the light source part 33 is configured by arranging a plurality of LEDs in a plurality of rows in two upper and lower stages. Further, each of the plurality of LEDs irradiates light in a direction perpendicular to the taper-formed inclination angle (irradiation in the direction of the one-dot chain line in FIG. 1). That is, the light source unit 33 irradiates the workpiece 2 held by the holding unit 5 with light having a directivity (in the direction of the one-dot chain line in FIG. 1) having an angle.

また、この照明部3には、その光源部33から照射する光の照射方向前面であって、テーパー状に成形された内壁面32の平面視上部分と面するように、光の照射を拡散する拡散フィルタ34が設けられている(取り付けられている)。この拡散フィルタ34は、平面視外周縁と平面視内周縁を有する円盤状体からなる。このように、拡散フィルタ34が取り付けられることで、ワーク2に傷や異物などを含む不確定な部位がある場合、その不確定な部位への光の照射によるギラツキを抑えることができ、その結果、不確定な部位の外形(輪郭)を明瞭にすることができる。   In addition, the illumination unit 3 diffuses the light irradiation so as to face the front surface of the inner wall surface 32 formed in a tapered shape in front of the light irradiation direction from the light source unit 33. A diffusion filter 34 is provided (attached). The diffusion filter 34 is formed of a disc-like body having an outer periphery in plan view and an inner periphery in plan view. Thus, by attaching the diffusion filter 34, when there is an uncertain part including a scratch or a foreign substance on the work 2, glare due to light irradiation to the uncertain part can be suppressed, and as a result. The outline (contour) of the uncertain part can be clarified.

撮影部4は、モノクロ撮影を行うカメラが設けられ、このカメラはシームレスズームレンズを用いている。そして、この撮影部4は、赤色より短い波長の光の撮影を対象とし、特に単波長の光の撮影を対象とすることが望まれる。なお、本実施例では青色の単波長の光を撮影の対象としている。   The photographing unit 4 is provided with a camera that performs monochrome photographing, and this camera uses a seamless zoom lens. The photographing unit 4 is intended for photographing light having a wavelength shorter than that of red, and particularly desirably photographing single-wavelength light. In this embodiment, blue single-wavelength light is taken as an object to be photographed.

保持部5は、検査装置1に固定され、照明部3と撮影部4との間に配されている。この保持部5は、ワーク2をその側面を圧接することでワーク2を固定保持するものである。   The holding unit 5 is fixed to the inspection apparatus 1 and is disposed between the illumination unit 3 and the imaging unit 4. The holding unit 5 is configured to fix and hold the workpiece 2 by pressing the side surface of the workpiece 2.

画像検出装置6には、撮影部4により撮影したワーク2のワーク画像を取得する画像取得部61と、画像取得部61で取得したワーク画像に対して画像可変させた可変ワーク画像を用いて、ワーク画像と可変ワーク画像とを差分比較してワーク画像と可変ワーク画像とから差分画像を作成する作成部62と、作成部62により作成した差分画像から傷や異物などの不確定な部位の寸法を算出する寸法算出部63と、作成部62により作成した差分画像のうち、傷や異物などの不確定な部位を抽出する抽出部64と、寸法算出部63により算出した寸法を予め設定した基準寸法と比較検討して当該ワーク2の良否を判定する良否判定部65と、ワーク画像などの画像を表示する表示部66とが設けられている。このうち、作成部62と寸法算出部63と抽出部64と良否判定部65とは、画像検出装置6の画像処理を行う画像処理部(図示省略)の各構成として設けられている。   The image detection device 6 uses an image acquisition unit 61 that acquires a workpiece image of the workpiece 2 captured by the imaging unit 4 and a variable workpiece image that is image-variable with respect to the workpiece image acquired by the image acquisition unit 61. A creation unit 62 that creates a difference image from the workpiece image and the variable workpiece image by comparing the workpiece image with the variable workpiece image, and a size of an uncertain part such as a scratch or a foreign object from the difference image created by the creation unit 62 A size calculation unit 63 that calculates the size, an extraction unit 64 that extracts an uncertain part such as a scratch or a foreign object from the difference image created by the creation unit 62, and a reference in which the dimensions calculated by the size calculation unit 63 are set in advance. A pass / fail judgment unit 65 for judging pass / fail of the work 2 by comparing with the dimensions and a display unit 66 for displaying an image such as a work image are provided. Among these, the creation unit 62, the dimension calculation unit 63, the extraction unit 64, and the quality determination unit 65 are provided as components of an image processing unit (not shown) that performs image processing of the image detection device 6.

なお、ここでいう抽出部64では、画像上の複数の不確定な部位の抽出と、最大寸法の傷や異物などの不確定な部位のみの抽出を行う(下記参照)。   Note that the extraction unit 64 here extracts a plurality of uncertain parts on the image and extracts only uncertain parts such as scratches and foreign objects having the maximum dimensions (see below).

また、ここでいう可変ワーク画像は、画像取得部61で取得したワーク画像から、作成部62でワーク画像を可変させる画像条件に基づいて画像処理を行った画像のことをいう。このワーク画像を可変させる画像条件として、例えばワーク画像の焦点を変更することによる「ぼかし」などが挙げられる。   The variable work image referred to here is an image obtained by performing image processing based on an image condition for changing the work image by the creation unit 62 from the work image acquired by the image acquisition unit 61. As an image condition for changing the work image, for example, “blurring” by changing the focus of the work image can be cited.

この画像検出装置6によれば、撮影部4で撮影したワークの画像(本発明でいうワーク画像)を演算処理し、ワーク2に異物があるか否かの検査を行うだけでなく、ワーク2に何か物(不確定な部位)が写っている場合、この不確定な部位が予め設定した寸法以上であるか否かを計測し、この計測の結果、予め設定した寸法以上である場合、この不確定な部位を異物として判別し、判別された異物を付着もしくは形成したワーク2を不良品と判別する。なお、本実施例では、異物と判別する基準の寸法を、長径20μm以上とし、長径20μm以上と計測した場合、その不確定な部位を異物と判別する。   According to this image detection device 6, not only the work image (work image referred to in the present invention) photographed by the photographing unit 4 is arithmetically processed to inspect whether or not the work 2 has a foreign object, but also the work 2. If there is something (indeterminate part) in the image, measure whether this indeterminate part is larger than a preset dimension, and if the result of this measurement is more than a preset dimension, The uncertain part is determined as a foreign object, and the workpiece 2 on which the determined foreign object is attached or formed is determined as a defective product. In the present embodiment, when the standard dimension for discriminating a foreign object is 20 μm or more in the major axis and the major dimension is measured to be 20 μm or more, the indeterminate part is discriminated as a foreign substance.

上記した検査装置1では、保持部5に保持したワーク2が照明部3と撮影部4との間に配されている。また、照明部3の光源部33からワーク2に照射した光の照射方向から外れた位置に、撮影部4が配されている。   In the inspection apparatus 1 described above, the work 2 held by the holding unit 5 is disposed between the illumination unit 3 and the imaging unit 4. Further, the photographing unit 4 is arranged at a position deviating from the irradiation direction of the light irradiated to the work 2 from the light source unit 33 of the illumination unit 3.

また、検査装置1には、照明部3の、平面視下方に、ワーク2を保持した保持部5に対して傾斜して(具体的に、本実施例では約45度傾斜して)配された防止板7が設けられている。すなわち、この防止板7は、照明部3の撮影部4が配された側と対向する反対側の位置に設けられている。この防止板7は、光沢のある黒板からなり、照明部3の貫通孔31を介して撮影部4と対面する。この防止板7によれば、ワーク2やワーク2を保持する保持部5において反射した光(図1の二点鎖線方向)を撮影部4以外の方向に導く(反射させる)。   Further, the inspection apparatus 1 is arranged at an inclination with respect to the holding unit 5 holding the workpiece 2 below the illumination unit 3 in plan view (specifically, inclined about 45 degrees in this embodiment). A prevention plate 7 is provided. That is, the prevention plate 7 is provided at a position on the opposite side to the side where the photographing unit 4 of the illumination unit 3 is disposed. The prevention plate 7 is made of a glossy blackboard and faces the photographing unit 4 through the through hole 31 of the illumination unit 3. According to the prevention plate 7, the light reflected by the work 2 and the holding unit 5 that holds the work 2 (the two-dot chain line direction in FIG. 1) is guided (reflected) in a direction other than the photographing unit 4.

上記した構成を有する検査装置1では、保持部5に保持されたワーク2に傷や異物などを含む不確定な部位がある場合、光源部33からワーク2に照射(照明)した光は、傷や異物などを含む不確定な部位によりその光路が変更されて撮影部4にて撮影され、それ以外の光は、撮影部4に照射することなく撮影部4のカメラに写らない。ここでいう光路の変更とは、光が傷や異物などを含む不確定な部位により屈折したり、反射したりすることをいう。   In the inspection apparatus 1 having the above-described configuration, when the work 2 held by the holding unit 5 has an uncertain part including scratches or foreign matters, the light irradiated (illuminated) from the light source unit 33 to the work 2 is damaged. The optical path is changed by an uncertain part including a foreign object or a foreign object, and the image is captured by the imaging unit 4. The other light is not reflected on the camera of the imaging unit 4 without irradiating the imaging unit 4. The change of the optical path here means that the light is refracted or reflected by an uncertain part including a scratch or a foreign object.

なお、上記した検査装置1では、撮影部4(カメラのレンズ端面)からワークまでの最短距離が90mmに設定され、ワーク2から照明部3の光源部33までの最短距離が30mmに設定されている。この設定は、傷や異物などを含む不確定な部位がないワーク2を介した照明部3の光源部33からの光の照明方向(射出方向)に、撮影部4のカメラが存在しない設定であり、この数値は本実施例に限るものであり、本設定に限定されるものではない。すなわち、傷や異物などを含む不確定な部位がないワーク2に、照明部3の光源部33からの光を照明した場合、撮影部4のカメラに光が入らない設定であればよい。   In the inspection apparatus 1 described above, the shortest distance from the photographing unit 4 (the lens end surface of the camera) to the work is set to 90 mm, and the shortest distance from the work 2 to the light source unit 33 of the illumination unit 3 is set to 30 mm. Yes. This setting is a setting in which the camera of the photographing unit 4 does not exist in the illumination direction (emission direction) of the light from the light source unit 33 of the illumination unit 3 through the work 2 having no uncertain part including a scratch or a foreign object. Yes, this numerical value is limited to the present embodiment, and is not limited to this setting. In other words, when the work 2 having no uncertain part including scratches and foreign matters is illuminated with light from the light source unit 33 of the illumination unit 3, the setting may be made so that the light of the camera of the photographing unit 4 does not enter.

次に、上記した画像検出装置6において、検査対象となるワーク2に対して傷や異物などの不確定な部位があるか否かを、光を用いた画像処理により検出する方法を図1に示す画像検出装置6の概略ブロック図と、図3に示すフローチャートを用いて説明する。   Next, FIG. 1 shows a method for detecting whether or not there is an uncertain part such as a scratch or a foreign object on the work 2 to be inspected in the image detection device 6 described above by image processing using light. A schematic block diagram of the image detection apparatus 6 shown in FIG. 3 and a flowchart shown in FIG.

まず、ワーク2の画像(以下、ワーク画像とする)を取り込む準備を行う(ステップS1の初期設定)。   First, preparation for capturing an image of the workpiece 2 (hereinafter referred to as a workpiece image) is made (initial setting in step S1).

具体的に、後述する検査エリアの設定時に表示するワーク画像およびワーク画像の取り込み位置を設定する(ワーク画像取込初期設定)。   Specifically, a work image to be displayed at the time of setting an inspection area, which will be described later, and a work image capture position are set (work image capture initial setting).

ワーク画像取込初期設定を終えると、撮影部4(カメラ)の撮影条件(パラメータ)の初期設定を行う(カメラ初期設定)。具体的に、シャッタースピードやカメラ感度の設定等を行う。このカメラ初期設定には、レンズのピント調整や絞り調整やズーム率の調整や照明の明るさの調整などが含まれる。   When the work image capture initial setting is completed, initial setting of the shooting conditions (parameters) of the shooting unit 4 (camera) is performed (camera initial setting). Specifically, the shutter speed and camera sensitivity are set. This camera initial setting includes lens focus adjustment, aperture adjustment, zoom ratio adjustment, illumination brightness adjustment, and the like.

ワーク画像取込初期設定とカメラ初期設定とを終えると、次にワーク2の撮影条件の設定を行う(撮影条件設定)。具体的に、この撮影条件設定には、撮影対象物から撮影部4までの実距離や、傾斜角度や、一画素に対応する寸法などの実寸に関する設定などが含まれる。   When the work image capturing initial setting and the camera initial setting are completed, the shooting condition of the work 2 is set (imaging condition setting). Specifically, the shooting condition setting includes settings related to the actual size such as the actual distance from the shooting target to the shooting unit 4, the tilt angle, and the size corresponding to one pixel.

撮影条件を設定した後に、撮影部4にてワーク2の撮影を行ない、撮影したワーク画像を表示部66で表示する(図4参照)。表示部66で表示したワーク画像のうち、検査を行ないたい検査エリアを設定する(ステップS2の検査エリア設定)。具体的に、検査エリアの設定について、まず表示部66で表示する画像上において検知エリアの左上点を設定し、その後に右下点を設定して左上点と右下点を対角点とする矩形の検知エリアを設定する(図5参照)。この画像検出装置6では、設定する検知エリアについて、任意のポイントに移動させたり、任意の方向に回転させる設定が付加されている。   After setting the imaging conditions, the imaging unit 4 captures the workpiece 2 and displays the captured workpiece image on the display unit 66 (see FIG. 4). Of the work images displayed on the display unit 66, an inspection area to be inspected is set (inspection area setting in step S2). Specifically, regarding the setting of the inspection area, first, the upper left point of the detection area is set on the image displayed on the display unit 66, and then the lower right point is set, and the upper left point and the lower right point are set as diagonal points. A rectangular detection area is set (see FIG. 5). In the image detection device 6, a setting for moving the detection area to be set to an arbitrary point or rotating in an arbitrary direction is added.

検知エリアを設定した後に、撮影部4により撮影し表示部66で表示しているワーク画像を取得し(図4、ステップS3)、取得したワーク画像のうち、ステップS3において設定した検知エリアをトリミングし(図5)、トリミングした検知エリアのトリミング画像を表示する(図6、ステップS4)。   After setting the detection area, a work image photographed by the photographing unit 4 and displayed on the display unit 66 is acquired (FIG. 4, step S3), and among the acquired work images, the detection area set in step S3 is trimmed. Then, the trimmed image of the trimmed detection area is displayed (FIG. 6, step S4).

ステップS4においてワーク画像からトリミングしたトリミング画像に対して、トリミング画像(ワーク画像)を可変させる画像条件に基づいて画像可変させた可変ワーク画像を取得する(ステップS5)。なお、ここでいう可変ワーク画像とは、画像取得部61で取得したワーク画像から、作成部62でワーク画像を可変させる画像条件に基づいて画像処理を行った画像のことをいう。具体的に、画像検出装置6の作成部62において画像処理を行い、トリミング画像をぼかして可変ワーク画像を作成する(図7)。つまり、本実施例でいうワーク画像を可変させるとは、ワーク画像をぼかすことをいう。   In step S4, a variable work image obtained by changing the image based on the image condition for changing the trimmed image (work image) is acquired from the trimmed image trimmed from the work image (step S5). Here, the variable work image refers to an image obtained by performing image processing based on an image condition for changing the work image by the creation unit 62 from the work image acquired by the image acquisition unit 61. Specifically, the creation unit 62 of the image detection device 6 performs image processing to blur the trimmed image and create a variable work image (FIG. 7). That is, changing the work image in this embodiment means blurring the work image.

ステップS4においてトリミングした検知エリアのワーク画像(図6に示すトリミング画像)と、ステップS5において作成した可変ワーク画像(図7)とを作成部62で差分比較して差分画像を作成する(図8、ステップS6)。   The work image of the detection area trimmed in step S4 (trimmed image shown in FIG. 6) and the variable work image created in step S5 (FIG. 7) are compared by the creating unit 62 to create a difference image (FIG. 8). Step S6).

ステップS6において作成した差分画像をサブピクセルで2値化処理を行ない(ステップS7)、2値化したワーク画像をラベリングしてブロッブを表示する(図9、ステップS8)。ここでいうブロッブとは、図9に示す白い外周縁で囲んだものをいい、抽出部64による抽出対象(傷や異物などの不確定な部位)となる部位のことをいう。   The difference image created in step S6 is binarized with subpixels (step S7), and the binarized work image is labeled to display a blob (FIG. 9, step S8). The blob here refers to a part surrounded by a white outer periphery shown in FIG. 9 and a part to be extracted by the extraction unit 64 (an uncertain part such as a wound or a foreign object).

ステップS8において表示したブロッブについて、予め設定した一定面積以上のブロッブがあるか否かを判別し、抽出部64により一定面積以上のブロッブを選定して抽出する(図10、ステップS9)。なお、ステップS9では、抽出部64は、ワーク画像上の複数の不確定な部位の抽出を行う。   For the blob displayed in step S8, it is determined whether or not there is a blob having a predetermined area or more, and a blob having a certain area or more is selected and extracted by the extraction unit 64 (FIG. 10, step S9). In step S9, the extraction unit 64 extracts a plurality of uncertain parts on the work image.

ステップS9において抽出したブロッブから任意のブロッブを一つ選択する(図11,12の赤い外周縁でブロッブを囲んだもの参照、ステップS10)。図12は、図11において選択したブロッブの拡大図である。   One arbitrary blob is selected from the blob extracted in step S9 (see the case where the blob is surrounded by the red outer periphery in FIGS. 11 and 12, step S10). FIG. 12 is an enlarged view of the blob selected in FIG.

ステップS10において選択したブロッブ内の全画素における最大輝度を検出し(ステップS11)、その検出した最大輝度が予め設定した輝度以上か否かを判別する(ステップS12)。   The maximum brightness in all pixels in the blob selected in step S10 is detected (step S11), and it is determined whether or not the detected maximum brightness is equal to or higher than a preset brightness (step S12).

ステップS12において検出した最大輝度が予め設定した輝度以上の場合(ステップS12においてYes)、再度撮影部4により撮影条件(本実施例では輝度)を可変させてワーク画像を撮影する。具体的に、輝度を下げるために撮影部4のシャッタスピードを短く設定して(ステップS13)、そのブロッブを含むワーク画像(具体的に上記したトリミング画像と同じ検知エリアのワーク画像)を再度取り込む(ステップS14)。   If the maximum luminance detected in step S12 is equal to or higher than the preset luminance (Yes in step S12), the imaging unit 4 changes the imaging condition (luminance in the present embodiment) again to capture the work image. Specifically, the shutter speed of the photographing unit 4 is set short in order to reduce the brightness (step S13), and the work image including the blob (specifically, the work image in the same detection area as the trimmed image described above) is captured again. (Step S14).

そして、ステップS14において取り込んだブロッブ内の全画素における最大輝度を検出し、その検出した最大輝度が予め設定した輝度未満か否かを調べる(ステップS15)。   Then, the maximum luminance in all the pixels in the blob captured in step S14 is detected, and it is checked whether or not the detected maximum luminance is less than a preset luminance (step S15).

ステップS15において検出した最大輝度が予め設定した輝度未満でない場合(ステップS15においてNo、記号Cの矢印方向参照)、輝度を下げるために撮影部4のシャッタスピードをさらに短く設定して(ステップS13)、そのブロッブを含むワーク画像(具体的に上記したトリミング画像と同じ検知エリアのワーク画像)を再度取り込む(ステップS14)。   If the maximum luminance detected in step S15 is not less than the preset luminance (No in step S15, see arrow direction of symbol C), the shutter speed of the photographing unit 4 is set to be shorter to reduce the luminance (step S13). Then, the work image including the blob (specifically, the work image in the same detection area as the trimmed image described above) is captured again (step S14).

そして、再度ステップS14において取り込んだブロッブ内の全画素における最大輝度を検出し、その検出した最大輝度が予め設定した輝度未満か否かを調べる(ステップS15)。   Then, the maximum luminance in all the pixels in the blob captured in step S14 is detected again, and it is checked whether or not the detected maximum luminance is less than a preset luminance (step S15).

なお、上記した本実施例のステップS14では、上記したトリミング画像と同じ検知エリアのワーク画像を取り込んでいるが、これに限定されるものではなく、ワーク画像を取り込み、取り込んだワーク画像に対してトリミングを行なってもよい。   In step S14 of the present embodiment described above, a work image in the same detection area as that of the trimmed image is captured. However, the present invention is not limited to this, and the work image is captured. Trimming may be performed.

ステップS15において検出した最大輝度が予め設定した輝度未満である場合(ステップS15においてYes)、ブロッブを含むトリミング画像に対して、トリミング画像(ワーク画像)を可変させる画像条件に基づいて画像可変させた可変ワーク画像を取得する(ステップS16)なお、ここでいう可変ワーク画像とは、画像取得部61で取得したワーク画像から、作成部62でワーク画像を可変させる画像条件に基づいて画像処理を行った画像のことをいう。具体的に、画像検出装置6の作成部62において画像処理を行い、トリミング画像(ワーク画像)をぼかして可変ワーク画像を作成する。つまり、本実施例でいうワーク画像を可変させるとは、ワーク画像をぼかすことをいう。   When the maximum brightness detected in step S15 is less than the preset brightness (Yes in step S15), the image is changed based on the image condition for changing the trimming image (work image) with respect to the trimming image including the blob. The variable work image is acquired (step S16). The variable work image referred to here is image processing based on an image condition in which the creation unit 62 changes the work image from the work image acquired by the image acquisition unit 61. Refers to the image. Specifically, the creation unit 62 of the image detection device 6 performs image processing to blur the trimmed image (work image) and create a variable work image. That is, changing the work image in this embodiment means blurring the work image.

ステップS14において取得したワーク画像(トリミング画像)と、ステップS16において作成した可変ワーク画像とを作成部62で差分比較して差分画像を作成する(ステップS17)。   The creation unit 62 compares the workpiece image (trimming image) acquired in step S14 with the variable workpiece image created in step S16 to create a difference image (step S17).

ステップS17において作成した差分画像をサブピクセルで2値化処理を行ない(ステップS18)、2値化したワーク画像をラベリングしてブロッブを表示する(図13,14、およびステップS19)。図14は、図13においてブロッブの拡大図である。   The difference image created in step S17 is binarized with subpixels (step S18), and the binarized work image is labeled to display a blob (FIGS. 13, 14, and step S19). FIG. 14 is an enlarged view of the blob in FIG.

ステップS19においてワーク画像に表示したブロッブに対して、最大面積を有するブロッブの寸法を算出する(ステップS20)。   The size of the blob having the maximum area is calculated for the blob displayed on the work image in step S19 (step S20).

また、ステップS12において検出した最大輝度が予め設定した輝度未満の場合(ステップS12においてNo、記号Dの矢印方向参照)、ブロッブの寸法を算出する(ステップS20)。なお、この場合、ステップS3で取得しステップS4でトリミングしたワーク画像(トリミング画像)を用いる。   If the maximum brightness detected in step S12 is less than the preset brightness (No in step S12, see arrow direction of symbol D), the size of the blob is calculated (step S20). In this case, the work image (trimmed image) acquired in step S3 and trimmed in step S4 is used.

具体的に、ブロッブを囲む最小の矩形部位(具体的に長方形)を算出し、寸法算出部63によりこの矩形部位(長方形)の寸法を算出する。そして、この長方形の長手方向の長さ(長辺)の寸法を長径とし、短手方向の長さ(短辺)の寸法を短径として取得する(ステップS21)。なお、本実施例では、寸法算出部63により、最大面積を有するブロッブの長径は39.78μmと算出され、短径は18.16μmと算出されている。   Specifically, the smallest rectangular part (specifically a rectangle) surrounding the blob is calculated, and the dimension of the rectangular part (rectangle) is calculated by the dimension calculation unit 63. Then, the length of the rectangle in the longitudinal direction (long side) is taken as the major axis, and the length in the short direction (short side) is taken as the minor axis (step S21). In the present embodiment, the major axis of the blob having the maximum area is calculated as 39.78 μm and the minor axis is calculated as 18.16 μm by the dimension calculating unit 63.

そして、他のブロッブについても長方形を算出するためにステップS10〜ステップS21を繰り返し(ステップS22においてNo、記号Bの矢印方向参照)、全てのブロッブについて処理を終えると(ステップS22においてYes)、全てのブロッブを表示し、かつ全てのブロッブのうち長径が最大となるブロッブ(最大面積を有するブロッブ)を選択し、他のブロッブとは異なる色(本実施例では黄色)で表示する(ステップS23)。   And in order to calculate a rectangle also about another blob, step S10-step S21 are repeated (in step S22, refer to the arrow direction of a symbol B), and if processing is completed about all the blobs (Yes in step S22), all The blob with the longest diameter (the blob having the largest area) is selected from all the blob and displayed in a color different from the other blob (yellow in this embodiment) (step S23). .

そして、ステップS23において表示したブロッブを囲む最小の長方形を表示する(ステップS24)とともに、長方形の各辺の中点を異なる色(本実施例では青色)で表示する(ステップS25)。なお、ステップS23〜ステップS25では、抽出部64は、最大寸法の傷や異物などの不確定な部位のみの抽出を行う。   Then, the minimum rectangle surrounding the blob displayed in step S23 is displayed (step S24), and the midpoint of each side of the rectangle is displayed in a different color (blue in this embodiment) (step S25). In step S23 to step S25, the extraction unit 64 extracts only uncertain parts such as scratches and foreign matters having the maximum dimensions.

ステップS25において青色で表示した矩形(長方形)が、良否判定部65により予め設定した基準寸法と比較検討して当該ワーク2の良否を判定する。具体的に、ステップS25において青色で表示した長方形の長径が20μm未満か否かを、良否判定部65により判別する(ステップS26)。   The rectangle (rectangle) displayed in blue in step S25 is compared with the reference dimension set in advance by the quality determination unit 65, and the quality of the workpiece 2 is determined. Specifically, the pass / fail determination unit 65 determines whether the major axis of the rectangle displayed in blue in step S25 is less than 20 μm (step S26).

そして、長方形の長径が20μm未満である場合(ステップS26でYes)、そのブロッブを含むワーク2は良品であるとして表示部66でOK表示(長径および短径も表示)を行う(ステップS27)。   If the major axis of the rectangle is less than 20 μm (Yes in Step S26), the work 2 including the blob is OK and the OK display (the major axis and the minor axis are also displayed) is performed on the display unit 66 (Step S27).

また、長方形の長径が20μm以上である場合(ステップS26でNo)、そのブロッブを含むワーク2は不良品であるとして表示部66でNG表示(長径および短径も表示)を行う(ステップS28)。   When the major axis of the rectangle is 20 μm or more (No in step S26), the work 2 including the blob is judged to be defective and NG display (the major axis and the minor axis are also displayed) on the display unit 66 (step S28). .

ステップS26〜ステップS28において不確定な部位の有無によりワーク2の良品と不良品を判別した後、次に検査を行うワーク2がある場合、再度ステップS3にもどり(ステップS29においてNo、記号Aの矢印方向参照)、次のワーク2の良品と不良品の判別を行う。また、ワーク2の検査を終了する場合(ステップS29においてYes)、そのまま当該ワーク2の検査にて当該検査工程を終了する。   In step S26 to step S28, after determining whether the workpiece 2 is non-defective or defective based on the presence or absence of an uncertain part, if there is a workpiece 2 to be inspected next, return to step S3 again (No in step S29, sign A) (Refer to the direction of the arrow) The next work 2 is identified as a non-defective product or a defective product. Further, when the inspection of the workpiece 2 is to be ended (Yes in step S29), the inspection process is ended with the inspection of the workpiece 2 as it is.

上記したように本実施例にかかる画像検出装置6によれば、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することができる。具体的に、画像取得部61と作成部62と寸法算出部63とが設けられているので、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することができる。その結果、ワークの良否判定を寸法により行うことができ、ワーク2の良否判定の精度を向上させることができる。   As described above, according to the image detection apparatus 6 according to the present embodiment, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object. Specifically, since the image acquisition unit 61, the creation unit 62, and the size calculation unit 63 are provided, it is possible to measure the actual size (dimension) of an indeterminate part having a scratch or a foreign object. As a result, the quality of the workpiece can be determined based on the dimensions, and the accuracy of the quality determination of the workpiece 2 can be improved.

これに対して、従来の画像検出装置では、検査装置で撮影したワークの画像を、画素を判定対象として解析し、傷や異物等がある不確定な部位を画素単位で判別してこの不確定な部位が何画素あるかその数によりワークの良否の判定を行う。そのため、上記した従来の画像検出装置では、画素自体を不確定な部分として検出対象としているので、不確定な部分の実際の大きさ(寸法)を測定することができない。   On the other hand, in a conventional image detection apparatus, an image of a workpiece photographed by an inspection apparatus is analyzed using pixels as determination targets, and indeterminate parts having scratches, foreign objects, etc. are discriminated in units of pixels, and the indefiniteness is determined. The quality of the work is determined based on how many pixels there are. For this reason, in the above-described conventional image detection apparatus, the pixel itself is the detection target as an indeterminate part, and thus the actual size (dimension) of the indeterminate part cannot be measured.

また、本実施例にかかる画像検出装置6によれば、作成部62により作成した差分画像のうち、傷や異物などの不確定な部位を抽出する抽出部64が設けられているので、差分画像のうち不確定な部位以外の正常な部位を省くことができる。さらに、不確定な部位のみをワーク2の良否判定の対象とすることができ、寸法算出部63による不確定な部位の寸法算出の精度を上げることができる。具体的に、抽出部64により不確定な部位のみを抽出し画像拡大することができ、不確定な部位の寸法算出の精度を上げることができる。   Moreover, according to the image detection apparatus 6 according to the present embodiment, the extraction unit 64 that extracts an uncertain part such as a scratch or a foreign object from the difference image created by the creation unit 62 is provided. Of these, normal sites other than uncertain sites can be omitted. Furthermore, only the uncertain part can be a target of the quality determination of the workpiece 2, and the accuracy of the dimension calculation of the uncertain part by the dimension calculating unit 63 can be improved. Specifically, only the indeterminate part can be extracted and the image can be enlarged by the extraction unit 64, and the accuracy of the dimension calculation of the indeterminate part can be increased.

また、撮影条件の可変としてワーク画像の輝度を可変させるので、ワーク画像への露光量が異なり、ワーク画像の色の濃淡を更に明確に図ることができ、複数段の階調により傷や異物などの不確定な部位とその他の部位との境界をさらに明確にすることができる。   In addition, since the brightness of the work image is varied as the shooting conditions can be varied, the exposure amount to the work image is different, and the color of the work image can be more clearly clarified. The boundary between the uncertain part and other parts can be further clarified.

また、抽出部64では差分画像のうち最大寸法の不確定な部位を抽出することもできるので、ワーク2の良否判定の基準を最大寸法の不確定な部位としてワーク2の良品判定を容易に行うことができる。   In addition, since the extraction unit 64 can also extract a portion with an uncertain maximum dimension from the difference image, the non-defective determination of the workpiece 2 can be easily performed by using the reference for determining the quality of the workpiece 2 as the uncertain portion with the maximum dimension. be able to.

また、寸法算出部63により算出した寸法を予め設定した基準寸法と比較検討して当該ワーク2の良否を判定する良否判定部65が設けられているので、ワーク2の良否判定の量産に好適である。   In addition, since the dimension calculated by the dimension calculator 63 is compared with a preset reference dimension and the quality determination unit 65 for determining the quality of the workpiece 2 is provided, it is suitable for mass production of the quality determination of the workpiece 2. is there.

また、不確定な部位の長手方向の長さ寸法を、ワーク2の良否判定の基準とすることができ、不確定な部分の実際の大きさ(寸法)からワーク2の良品を判定するためにワーク2の良否判定の精度を向上させることができる。   Further, the length dimension in the longitudinal direction of the uncertain part can be used as a criterion for determining the quality of the work 2, and in order to determine the non-defective product of the work 2 from the actual size (dimension) of the uncertain part. The accuracy of the quality determination of the work 2 can be improved.

また、傷や異物などの不確定な部位の寸法は、その不確定な部位の長手方向の長さ寸法(長径)であるので、不確定な部位の寸法を正確に測定することができ、不確定な部位の長手方向の長さ寸法を、ワーク2の良否判定の基準とすることができる。また、不確定な部位の存在によるワーク2の良否判定の基準の多様性に応えることができる。   In addition, since the dimension of an uncertain part such as a scratch or a foreign object is the length dimension (major axis) in the longitudinal direction of the uncertain part, the dimension of the uncertain part can be accurately measured. The length dimension in the longitudinal direction of the fixed part can be used as a criterion for determining whether the workpiece 2 is good or bad. In addition, it is possible to meet the variety of criteria for determining the quality of the work 2 due to the presence of an uncertain part.

なお、本実施例では、傷や異物などの不確定な部位の寸法の対象を、その不確定な部位の長手方向の長さ寸法(長径)としているが、これに限定されるものではなく、不確定な部位の寸法の対象を短手方向の長さ寸法(短径)としてもよく、また、その不確定な部位の長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)との両寸法を対象とすることがより好適である。   In the present embodiment, the target of the dimension of the uncertain part such as a scratch or a foreign object is the length dimension (major axis) in the longitudinal direction of the uncertain part, but is not limited to this. The target of the dimension of the uncertain part may be the length dimension (minor axis) in the short direction, and the length dimension (major axis) of the indeterminate part and the length dimension in the short direction ( It is more preferable to target both dimensions of the minor axis.

具体的に、寸法算出部63は、傷や異物などの不確定な部位の長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)を算出して、これら長手方向の長さ寸法(長径)と短手方向の長さ寸法(短径)から構成される矩形部位を算出することで、不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法から構成される矩形部位を、ワーク2の良否判定の基準とすることができ、不確定な部位の存在によるワーク2の良否判定の基準の多様性に応えることができる。   Specifically, the dimension calculation unit 63 calculates the length dimension (major axis) in the longitudinal direction and the dimension dimension (minor axis) in the short direction of uncertain parts such as scratches and foreign matters, By calculating the rectangular part composed of the length dimension (major axis) and the length dimension (minor axis) in the short direction, the length dimension in the longitudinal direction and the length dimension in the short direction of the uncertain part are calculated. The configured rectangular portion can be used as a criterion for determining the quality of the workpiece 2, and can respond to the variety of criteria for determining the quality of the workpiece 2 due to the presence of an indefinite portion.

また、上記した寸法の具体例として、上記した不確定な部位の長手方向の長さ寸法を例えば20μm以上であるか否かを判断基準とし、不確定な部位の長手方向の長さ寸法が20μ以上の場合、その不確定な部位を有するワーク2を不良品としてもよい。   Further, as a specific example of the above-described dimensions, the length dimension in the longitudinal direction of the above-mentioned uncertain part is determined based on, for example, whether or not it is 20 μm or more. In the above case, the workpiece 2 having the uncertain part may be a defective product.

また、上記した不確定な部位の短手方向の長さ寸法を例えば5μm以上であるか否かを判断基準とし、不確定な部位の短手方向の長さ寸法が5μm以上の場合、その不確定な部位を有するワーク2を不良品としてもよい。   In addition, based on whether or not the length dimension in the short direction of the uncertain part is 5 μm or more, for example, the length dimension in the short direction of the uncertain part is 5 μm or more. The work 2 having a fixed part may be a defective product.

これら不確定な部位の長手方向や短手方向の長さ寸法を、画素単位で算出した場合、画素には長さに関する概念がなく画素面積から長さ寸法を算出しなければならないため、実際に長さ寸法を正確に測ることができない。例えば、画素における斜め方向の寸法を算出することができない。   When the length dimension in the longitudinal direction or the short direction of these uncertain parts is calculated in units of pixels, the pixel has no concept of length and the length dimension must be calculated from the pixel area. The length dimension cannot be measured accurately. For example, the diagonal dimension of the pixel cannot be calculated.

さらに、上記した不確定な部位の長手方向の長さ寸法が10μm以上のものが所定領域に密集しているか否かをワークの良否判定の判断基準としてもよい。   Further, whether or not the above-mentioned uncertain parts having a length dimension in the longitudinal direction of 10 μm or more are densely packed in a predetermined region may be used as a criterion for determining the quality of the workpiece.

また、上記したように、本実施例にかかる検査装置1によれば、本実施例にかかる画像検出装置6が直接接続されるので、傷や異物等がある不確定な部位の実際の大きさ(寸法)を測定することができ、上記した本実施例にかかる画像検出装置6による作用効果を有する。   Further, as described above, according to the inspection apparatus 1 according to the present embodiment, since the image detection apparatus 6 according to the present embodiment is directly connected, the actual size of an indeterminate part having a scratch, a foreign object, or the like. (Dimension) can be measured, and the above-described effects of the image detection device 6 according to the present embodiment are obtained.

また、本実施例にかかる検査装置1によれば、ワーク2を保持部5などの保持機構で保持した状態であっても、誤認識なくワーク2の良否判定を行うことができる。   Further, according to the inspection apparatus 1 according to the present embodiment, it is possible to determine whether the workpiece 2 is good or not without erroneous recognition even when the workpiece 2 is held by a holding mechanism such as the holding unit 5.

特に、本実施例によれば、画像検出装置6が直接または間接的に接続され、撮影部4と照明部3とが保持部5に保持したワーク2を介して配されているので、保持部5に保持したワーク2を基準に、ワーク2に対して同一方向(同一側の位置)に撮影部4と照明部3とが設けられていない。そのため、ワーク2に照射した光の反射光(図1のニ点鎖線方向)や、ワーク2を保持する保持部5で反射した反射光が、撮影部4で撮影されることなく、ワーク2に付着したもしくは形成された全ての異物(傷やゴミやしみなど)を含む不確定な部位を発見することができる。   In particular, according to the present embodiment, the image detection device 6 is directly or indirectly connected, and the photographing unit 4 and the illumination unit 3 are arranged via the work 2 held by the holding unit 5. 5, the photographing unit 4 and the illumination unit 3 are not provided in the same direction (position on the same side) with respect to the work 2 with reference to the work 2 held by the work 5. Therefore, the reflected light of the light irradiated on the work 2 (in the direction of the two-dot chain line in FIG. 1) and the reflected light reflected by the holding unit 5 holding the work 2 are not photographed by the photographing unit 4 and are reflected on the work 2. It is possible to find an indeterminate part including all attached or formed foreign matters (such as scratches, dust, and stains).

また、本実施例によれば、保持部5に保持したワーク2を基準に、ワーク2に対して同一方向(同一側の位置)に撮影部4と照明部3とが設けられていないため、照明部3からの照明により保持部5が白く光るのを防止することができ、この保持部5の白発光による傷や異物などを含む不確定な部位との誤認識を防止することができる。   In addition, according to the present embodiment, the photographing unit 4 and the illumination unit 3 are not provided in the same direction (position on the same side) with respect to the work 2 on the basis of the work 2 held by the holding unit 5. The holding unit 5 can be prevented from shining white due to the illumination from the illuminating unit 3, and erroneous recognition of the holding unit 5 as an uncertain part including a flaw or a foreign object due to white light emission can be prevented.

また、照明部3の、撮影部4が配された側と対向する反対側の位置に、ワーク2に対して傾斜して配された防止板7が設けられ、貫通孔31を介して撮影部4と防止板7とが対面するので、ワーク2や保持部5で反射した光が撮影部4に撮影されるのを防ぐことができる。   In addition, a prevention plate 7 that is inclined with respect to the work 2 is provided at a position on the opposite side of the illumination unit 3 that faces the side on which the imaging unit 4 is arranged, and the imaging unit is interposed through the through hole 31. 4 and the prevention plate 7 face each other, so that the light reflected by the work 2 and the holding unit 5 can be prevented from being photographed by the photographing unit 4.

また、防止板7は黒板であるので、撮影部4における撮影エリア(視野)を黒にすることができる。   Further, since the prevention plate 7 is a blackboard, the shooting area (field of view) in the shooting unit 4 can be made black.

また、光源部33は、複数のLEDであるので、照明寿命が長く、出力の低下がなく、安定した照明を行うことができる。   Further, since the light source unit 33 is a plurality of LEDs, the illumination life is long, there is no decrease in output, and stable illumination can be performed.

また、撮影部4は赤色より短い波長の光の撮影を対象とするので、赤色のように波長が長いことで撮影部4による撮影画像の傷や異物などを含む不確定な部位の輪郭が曖昧になる(ぼやける)のを抑制して、異物を明確に撮影部4により撮影することができる。   In addition, since the imaging unit 4 is intended for imaging light having a wavelength shorter than that of red, a long wavelength such as red causes an ambiguous outline of an uncertain part including a scratch or a foreign object on a captured image by the imaging unit 4. It is possible to clearly photograph the foreign matter by the photographing unit 4 while suppressing the blurring (blurring).

また、本実施例では、異物の判別について、長径20μm以上の場合、異物と判別するので、画素による異物判別ではなく傷や異物などを含む不確定な部位の寸法により異物を判別することで、異物の判別の精度を高めることができる。   Further, in this embodiment, when determining the foreign matter, if the major axis is 20 μm or more, it is determined as a foreign matter. Therefore, by determining the foreign matter based on the size of an uncertain part including a scratch or a foreign matter, instead of determining the foreign matter by pixels, The accuracy of foreign object discrimination can be increased.

また、光源部33は、保持部5に保持したワーク2に対して角度を有した指向性の光を照射するので、照明部3からの光が撮影部4に直接照射することはなくワーク2に光を当ててもワーク2自体を光らせるものでない。そのため、ワーク2に異物が存在する場合のみ、傷や異物などを含む不確定な部位を光らせることができ、異物の確認を容易に行うことができる。   Further, since the light source unit 33 irradiates the work 2 held by the holding unit 5 with directional light having an angle, the light from the illumination unit 3 does not directly irradiate the photographing unit 4 and the work 2. Even if light is applied to the workpiece 2, the workpiece 2 itself is not illuminated. Therefore, only when foreign matter exists in the work 2, an indeterminate part including scratches and foreign matters can be illuminated, and foreign matter can be easily confirmed.

また、撮影部4での撮影はモノクロ撮影であり、撮影部4は単波長の光の撮影を対象とするので、モノクロ撮影であっても傷や異物などを含む不確定な部位の寸法を明確にすることができ、設備コストを低減させることができる。   In addition, since the photographing by the photographing unit 4 is monochrome photographing, and the photographing unit 4 is intended for photographing a single wavelength light, the dimensions of uncertain parts including scratches and foreign matters are clearly defined even in the case of monochrome photographing. And the equipment cost can be reduced.

なお、本実施例では、可変ワーク画像を、画像取得部61で取得したワーク画像から、作成部62でワーク画像を可変させる画像条件に基づいて画像処理を行った画像としているが、これに限定されるものではなく、可変ワーク画像は、ワーク画像に対してワークを撮影する撮影条件を可変させて画像取得部61で取得し、ワーク画像に対して画像可変させた画像であってもよい。なお、ここでいう撮影条件の可変とは、ワーク画像の焦点を変更する(ずらす)ことによる「ぼかし」のことをいう。   In the present embodiment, the variable work image is an image obtained by performing image processing based on the image condition for changing the work image by the creation unit 62 from the work image acquired by the image acquisition unit 61, but is not limited thereto. Instead, the variable work image may be an image obtained by changing the shooting condition for shooting the work with respect to the work image, acquired by the image acquisition unit 61, and changing the image with respect to the work image. Note that the variable imaging condition here refers to “blurring” by changing (shifting) the focus of the work image.

また、本実施例では、検査対象となるワーク2として光学部品であるフィルタに本発明を適用したが、これに限定されるものではなく、本実施例にかかる透過方式の検査装置1において検査可能なものであれば、他の光学部品(例えば、光学レンズ)であってもよい。   In the present embodiment, the present invention is applied to a filter which is an optical component as the workpiece 2 to be inspected. However, the present invention is not limited to this, and the inspection can be performed in the transmission type inspection apparatus 1 according to the present embodiment. Any other optical component (for example, an optical lens) may be used.

また、本実施例では、検査対象となるワーク2として光学部品であるフィルタに本発明を適用したが、光学部品に限定されるものではなく、本実施例にかかる透過方式の検査装置1において検査可能な透光性材料であれば、例えば水晶振動子に用いる水晶ウエハや、電子部品のパッケージなど他の部品(ワーク)であってもよく、検査対象となるワーク2は圧電材料もしくはレンズ系材料であることが好ましい。このように、検査対象となるワーク2が透光性材料とされることで、本発明によれば、ワーク2の表面だけでなく、中身に傷などがあった場合その傷を検出することも可能である。   In the present embodiment, the present invention is applied to a filter that is an optical component as the workpiece 2 to be inspected. However, the present invention is not limited to the optical component, and the inspection is performed in the transmission type inspection apparatus 1 according to the present embodiment. As long as it is a translucent material that can be used, for example, it may be a crystal wafer used for a crystal resonator or another component (work) such as a package of an electronic component, and the work 2 to be inspected is a piezoelectric material or a lens-based material. It is preferable that As described above, the work 2 to be inspected is made of a translucent material, and according to the present invention, not only the surface of the work 2 but also the contents can be detected. Is possible.

また、本実施例では、検査装置1に保持部5が設けられているが、保持部の形態はこれに限定されるものではなく、当該検査装置1に保持部5を固定して設けずに、当該検査装置1にワーク2を搬送する搬送装置に設けた保持部であってもよい。例えば、当該検査装置1をワーク2の製造装置の一つとして設けたシステムを構築し、このシステムにおいて、ワーク2を、当該検査装置1を含む複数の製造装置に搬送するための搬送装置に設けた保持部であってもよい。すなわち、ワーク2を保持する保持部5が、照明部3と撮影部4との間に固定もしくは移動可能に配されていればよい。   In the present embodiment, the holding unit 5 is provided in the inspection apparatus 1, but the form of the holding unit is not limited to this, and the holding unit 5 is not fixedly provided in the inspection apparatus 1. Also, a holding unit provided in a transport device that transports the workpiece 2 to the inspection device 1 may be used. For example, a system in which the inspection apparatus 1 is provided as one of the manufacturing apparatuses for the work 2 is constructed, and in this system, the work 2 is provided in a transfer apparatus for transferring the work 2 to a plurality of manufacturing apparatuses including the inspection apparatus 1. It may be a holding part. That is, the holding unit 5 that holds the workpiece 2 only needs to be arranged between the illumination unit 3 and the photographing unit 4 so as to be fixed or movable.

また、本実施例では、撮影部4に画像検出装置6が有線にて直接接続されているが、これに限定されるものではなく、撮影部4に画像検出装置6が無線にて間接的に接続されていてもよい。   In this embodiment, the image detection device 6 is directly connected to the photographing unit 4 by wire, but the present invention is not limited to this, and the image detection device 6 is indirectly connected to the photographing unit 4 wirelessly. It may be connected.

また、本実施例では、様々なサイズのワーク2の検査を可能とするために好適な例としてカメラにシームレスズームレンズを用いているが、これに限定されるものではなく、単焦点のレンズを用いてもよい。   In this embodiment, a seamless zoom lens is used for the camera as a suitable example in order to enable inspection of the workpiece 2 of various sizes. However, the present invention is not limited to this, and a single-focus lens is used. It may be used.

また、本実施例では、様々なサイズのワーク2の検査に対応させるためにカメラにシームレスズームレンズを用いているが、これに限定されるものではなく、単に予め設定された倍率のズームレンズを用いてもよい。   In this embodiment, the seamless zoom lens is used in the camera in order to cope with the inspection of the workpiece 2 of various sizes. However, the present invention is not limited to this, and a zoom lens having a preset magnification is simply used. It may be used.

また、本実施例では、設備コストを低減させることを目的としてモノクロ撮影を行うカメラを用いているが、これに限定されるものではなく、カラー撮影を行うカメラを用いてもよい。   In this embodiment, a camera that performs monochrome photography is used for the purpose of reducing equipment costs, but the present invention is not limited to this, and a camera that performs color photography may be used.

また、本実施例では、保持部5は、ワーク2をその側面を圧接することでワーク2を固定保持しているが、これに限定されるものではなく、ワーク2を固定保持できる機構であれば、例えば、ワーク2の外周側面を挟持するものであってもよい。   In the present embodiment, the holding unit 5 holds the workpiece 2 by pressing the side surface of the workpiece 2. However, the holding unit 5 is not limited to this, and may be a mechanism that can hold and hold the workpiece 2. For example, the outer peripheral side surface of the workpiece 2 may be sandwiched.

また、本実施例では、防止板7に光沢のある黒板を用いているが、これに限定されるものではなく、ワーク2や保持部5で反射した光が撮影部4に写らないように設定されたものであればよく、例えば、防止板7周りを暗視野環境にして防止板7に鏡板を用いてもよい。また、本実施例では、防止板7は、ワーク2を保持した保持部5に対して約45度傾斜して配しているが、これに限定されるものではなく、ワーク2や保持部5で反射した光が撮影部4に写らないように傾斜角度を設定すればよい。   In the present embodiment, a glossy blackboard is used for the prevention plate 7, but the present invention is not limited to this, and is set so that the light reflected by the work 2 and the holding unit 5 is not reflected in the photographing unit 4. For example, a mirror plate may be used as the prevention plate 7 in the dark field environment around the prevention plate 7. In the present embodiment, the prevention plate 7 is disposed at an inclination of about 45 degrees with respect to the holding portion 5 holding the workpiece 2, but is not limited thereto, and the workpiece 2 and the holding portion 5 are not limited thereto. The tilt angle may be set so that the light reflected at is not reflected on the photographing unit 4.

また、本実施例では、防止板7に、ワーク2や保持部5で反射した光が撮影部4に写らないように傾斜角度を設定した黒板を用いているが、ワーク2や保持部5で反射した光が撮影部4に写らないように光を吸収するものであってもよい。   In the present embodiment, the prevention plate 7 uses a blackboard in which an inclination angle is set so that light reflected by the work 2 and the holding unit 5 is not reflected on the photographing unit 4. The reflected light may be absorbed so that the reflected light is not reflected on the photographing unit 4.

また、本実施例では、複数のLEDが上下2段複数列に配されて構成されているが、LEDの配列はこれに限定されるものではなく、平面視円環状の光源部33であってLEDから照射する光が直接撮影部4のカメラのレンズに入らないようにLEDからの指向性を設定すれば他の形態(他の個数や配置)であってもよい。   Further, in this embodiment, the plurality of LEDs are arranged in a plurality of upper and lower two rows, but the arrangement of the LEDs is not limited to this, and is a light source unit 33 having an annular shape in plan view. If the directivity from the LED is set so that the light emitted from the LED does not directly enter the lens of the camera of the photographing unit 4, other forms (other numbers or arrangements) may be used.

また、本実施例では、光源部33にLEDを用いた照明部3を検査装置1に設けているが、光源部33はこれに限定されるものではなく、例えば、図16に示すような光源部33にハロゲンを用いた照明部3であってもよい。   In the present embodiment, the illumination unit 3 using LEDs as the light source unit 33 is provided in the inspection apparatus 1, but the light source unit 33 is not limited to this, and for example, a light source as shown in FIG. The illumination unit 3 using halogen as the unit 33 may be used.

図16に示す照明部3は、光源部33にファイバガイド(図示省略)を使って光を照射するハロゲン(図示省略)を用いている。また、この照明部3には、ハロゲンからの光をファイバガイドを介してワーク2に照射するための光の経路上であって照明部3の筐体に円環状の間隙35が形成されている。なお、この図16に示す照明部3に、図2に示す拡散フィルタ34を設けてもよい。   The illumination unit 3 shown in FIG. 16 uses halogen (not shown) that irradiates light to the light source unit 33 using a fiber guide (not shown). Further, in the illumination unit 3, an annular gap 35 is formed in the housing of the illumination unit 3 on the light path for irradiating light from the halogen onto the work 2 through the fiber guide. . In addition, you may provide the diffusion filter 34 shown in FIG. 2 in the illumination part 3 shown in this FIG.

また、この図16に示す照明部3では、間隙35もしくはハロゲンからの光の経路上に、光源部33からの光を赤より短い波長の光に選別(フィルタリング)するフィルタ(図示省略)が設けられている。この場合、赤色を含む可視光線を発するハロゲンであっても、波長を選別することで異物の外形を明確にすることができる。さらに、可視光線のうち赤色のように波長が長いことで撮影部4による撮影画像の異物の輪郭が曖昧になる(ぼやける)のを抑制して、異物を明確に撮影部4により撮影することができる。なお、本例では、間隙35もしくはハロゲンからの光の経路上にフィルタが設けられているが、フィルタの設置位置は、これに限定されるものではなく、光が撮影部4に入る前であればよいので、撮影部4(例えばカメラのレンズ直前)にフィルタを設けてもよい。   In the illuminating unit 3 shown in FIG. 16, a filter (not shown) for selecting (filtering) light from the light source unit 33 into light having a wavelength shorter than red is provided on the light path from the gap 35 or the halogen. It has been. In this case, even with a halogen that emits visible light including red, the external shape of the foreign matter can be clarified by selecting the wavelength. Furthermore, it is possible to clearly capture the foreign matter by the photographing unit 4 by suppressing the outline of the foreign matter of the photographed image by the photographing unit 4 from becoming ambiguous (blurred) due to the long wavelength such as red of visible light. it can. In this example, a filter is provided on the light path from the gap 35 or the halogen. However, the installation position of the filter is not limited to this, and may be before the light enters the imaging unit 4. Therefore, a filter may be provided in the photographing unit 4 (for example, immediately before the camera lens).

なお、本発明は、その精神や主旨または主要な特徴から逸脱することなく、他のいろいろな形で実施することができる。そのため、上述の実施例はあらゆる点で単なる例示にすぎず、限定的に解釈してはならない。本発明の範囲は特許請求の範囲によって示すものであって、明細書本文には、なんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内のものである。   It should be noted that the present invention can be implemented in various other forms without departing from the spirit, gist, or main features. For this reason, the above-described embodiment is merely an example in all respects and should not be interpreted in a limited manner. The scope of the present invention is indicated by the claims, and is not restricted by the text of the specification. Further, all modifications and changes belonging to the equivalent scope of the claims are within the scope of the present invention.

本発明にかかる画像検出装置および検査装置は、光学材料や電子部品などの透光性材料の検査に適用できる。   The image detection apparatus and inspection apparatus according to the present invention can be applied to inspection of translucent materials such as optical materials and electronic parts.

図1は、本実施例にかかる検査装置と画像検出装置との関係を示した概略構成図である。FIG. 1 is a schematic configuration diagram illustrating the relationship between the inspection apparatus and the image detection apparatus according to the present embodiment. 図2は、本実施例にかかる照明部の概略構成斜視図である。FIG. 2 is a schematic perspective view of the illumination unit according to the present embodiment. 図3は、本実施例にかかる画像検出装置の、不確定な部位があるか否かを光を用いた画像処理により検出するフローチャートである。FIG. 3 is a flowchart for detecting whether or not there is an indeterminate part by image processing using light in the image detection apparatus according to the present embodiment. 図4は、図3に示すフローチャートのステップS3におけるワークの画像を示す図である。FIG. 4 is a diagram showing an image of the workpiece in step S3 of the flowchart shown in FIG. 図5は、図3に示すフローチャートのステップS4におけるワークの画像を示す図である。FIG. 5 is a diagram showing an image of the workpiece in step S4 of the flowchart shown in FIG. 図6は、図3に示すフローチャートのステップS4におけるワークの画像を示す図である。FIG. 6 is a diagram showing an image of the workpiece in step S4 of the flowchart shown in FIG. 図7は、図3に示すフローチャートのステップS6におけるワークの画像を示す図である。FIG. 7 is a diagram showing an image of the workpiece in step S6 of the flowchart shown in FIG. 図8は、図3に示すフローチャートのステップS7におけるワークの画像を示す図である。FIG. 8 is a diagram showing an image of the workpiece in step S7 of the flowchart shown in FIG. 図9は、図3に示すフローチャートのステップS8におけるワークの画像を示す図である。FIG. 9 is a diagram showing an image of the workpiece in step S8 of the flowchart shown in FIG. 図10は、図3に示すフローチャートのステップS9におけるワークの画像を示す図である。FIG. 10 is a diagram showing an image of the workpiece in step S9 of the flowchart shown in FIG. 図11は、図3に示すフローチャートのステップS10におけるワークの画像を示す図である。FIG. 11 is a diagram showing an image of the workpiece in step S10 of the flowchart shown in FIG. 図12は、図11において選択したブロッブの拡大図である。FIG. 12 is an enlarged view of the blob selected in FIG. 図13は、図3に示すフローチャートのステップS19におけるワークの画像を示す図である。FIG. 13 is a diagram showing an image of the workpiece in step S19 of the flowchart shown in FIG. 図14は、図13においてブロッブの拡大図である。FIG. 14 is an enlarged view of the blob in FIG. 図15は、図3に示すフローチャートのステップS28におけるワークの画像を示す図である。FIG. 15 is a diagram showing an image of the workpiece in step S28 of the flowchart shown in FIG. 図16は、本実施例の他の例にかかる照明部の概略構成斜視図である。FIG. 16 is a schematic configuration perspective view of an illumination unit according to another example of the present embodiment.

符号の説明Explanation of symbols

1 検査装置
2 ワーク
3 照明部
31 貫通孔
32 内壁面
33 光源部
35 間隙
4 撮影部
5 保持部
6 画像検出装置
61 画像取得部
62 作成部
63 寸法算出部
64 抽出部
65 良否判定部
66 表示部
7 防止板
DESCRIPTION OF SYMBOLS 1 Inspection apparatus 2 Workpiece | work 3 Illumination part 31 Through-hole 32 Inner wall surface 33 Light source part 35 Gap 4 Image pick-up part 5 Holding part 6 Image detection apparatus 61 Image acquisition part 62 Creation part 63 Size calculation part 64 Extraction part 65 Pass / fail judgment part 66 Display part 7 Prevention plate

Claims (11)

検査対象となるワークに対して傷や異物などの不確定な部位があるか否かを、光を用いた画像処理により検出する画像検出装置において、
外部撮影機器により撮影したワークのワーク画像を取得する画像取得部と、
前記画像取得部で取得したワーク画像に対して画像可変させた可変ワーク画像を用いて、ワーク画像と可変ワーク画像とから差分画像を作成する作成部と、
前記作成部により作成した差分画像から傷や異物などの不確定な部位の寸法を算出する寸法算出部と、が設けられたことを特徴とする画像検出装置。
In an image detection apparatus that detects whether there is an uncertain part such as a scratch or a foreign object on a workpiece to be inspected by image processing using light,
An image acquisition unit for acquiring a work image of a work photographed by an external photographing device;
A creation unit that creates a difference image from a work image and a variable work image using a variable work image that is image-variable with respect to the work image acquired by the image acquisition unit;
An image detection apparatus, comprising: a dimension calculation unit that calculates a dimension of an uncertain part such as a scratch or a foreign object from the difference image created by the creation unit.
請求項1に記載の画像検出装置において、
前記可変ワーク画像は、前記画像取得部で取得したワーク画像から、前記作成部でワーク画像を可変させる画像条件に基づいて画像処理を行った画像であることを特徴とする画像検出装置。
The image detection apparatus according to claim 1,
The image detecting apparatus according to claim 1, wherein the variable work image is an image obtained by performing image processing based on an image condition for changing the work image by the creation unit from the work image acquired by the image acquisition unit.
請求項1に記載の画像検出装置において、
前記可変ワーク画像は、ワーク画像に対してワークを撮影する撮影条件を可変させて前記画像取得部で取得し、ワーク画像に対して画像可変させた画像であることを特徴とする画像検出装置。
The image detection apparatus according to claim 1,
2. The image detecting apparatus according to claim 1, wherein the variable workpiece image is an image obtained by varying a photographing condition for photographing a workpiece with respect to the workpiece image, acquired by the image acquisition unit, and image-variable with respect to the workpiece image.
請求項1乃至3のうちいずれか1つに記載の画像検出装置において、
前記作成部により作成した差分画像のうち、傷や異物などの不確定な部位のみを抽出する抽出部が設けられたことを特徴とする画像検出装置。
The image detection apparatus according to any one of claims 1 to 3,
An image detection apparatus comprising: an extraction unit that extracts only uncertain parts such as scratches and foreign objects from the difference image created by the creation unit.
請求項4に記載の画像検出装置において、
前記抽出部では、最大寸法の傷や異物などの不確定な部位を抽出することを特徴とする画像検出装置。
The image detection apparatus according to claim 4,
An image detection apparatus characterized in that the extraction unit extracts an uncertain part such as a scratch of a maximum size or a foreign object.
請求項1乃至5のうちいずれか1つに記載の画像検出装置において、
傷や異物などの不確定な部位の寸法は、その不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法の少なくとも1つの径であることを特徴とする画像検出装置。
The image detection apparatus according to any one of claims 1 to 5,
The size of an uncertain part such as a scratch or a foreign object is at least one diameter of a length dimension in a longitudinal direction and a length dimension in a short direction of the uncertain part.
請求項6に記載の画像検出装置において、
前記寸法算出部は、傷や異物などの不確定な部位の長手方向の長さ寸法を算出することを特徴とする画像検出装置。
The image detection apparatus according to claim 6.
The said dimension calculation part calculates the length dimension of the longitudinal direction of indeterminate parts, such as a crack and a foreign material, The image detection apparatus characterized by the above-mentioned.
請求項6に記載の画像検出装置において、
前記寸法算出部は、傷や異物などの不確定な部位の長手方向の長さ寸法と短手方向の長さ寸法を算出して、これら長手方向の長さ寸法と短手方向の長さ寸法から構成される矩形部位を算出することを特徴とする画像検出装置。
The image detection apparatus according to claim 6.
The dimension calculation unit calculates the length dimension in the longitudinal direction and the length dimension in the short direction of uncertain parts such as scratches and foreign matters, and the length dimension in the longitudinal direction and the length dimension in the short direction. An image detection apparatus characterized by calculating a rectangular part composed of:
請求項1乃至8のうちいずれか1つに記載の画像検出装置において、
ワークは、透光性材料であることを特徴とする画像検出装置。
The image detection device according to any one of claims 1 to 8,
An image detecting apparatus characterized in that the workpiece is a translucent material.
請求項1乃至9のうちいずれか1つに記載の画像検出装置において、
前記寸法算出部により算出した前記寸法を予め設定した基準寸法と比較検討して当該ワークの良否を判定する良否判定部が設けられたことを特徴とする画像検出装置。
The image detection apparatus according to any one of claims 1 to 9,
An image detection apparatus, comprising: a pass / fail judgment unit for judging pass / fail of the workpiece by comparing the dimension calculated by the dimension calculation unit with a preset reference dimension.
検査対象となるワークを検査する検査装置において、
ワークを照明する円環状の光源部を有する照明部と、ワークを撮影する撮影部とが設けられ、
請求項1乃至10のうちいずれか1つに記載の画像検出装置が、直接または間接的に接続され、
ワークを保持する保持部が、前記照明部と撮影部との間に固定もしくは移動可能に配され、
前記照明部の前記光源部からワークに照射した光の照射方向上から外れた位置に、前記撮影部が配され、
ワークに傷や異物などの不確定な部位がある場合、前記光源部からワークに照射した光は、その不確定な部位によりその光路が変更されて前記撮影部にて撮影されることを特徴とする検査装置。
In inspection equipment that inspects workpieces to be inspected,
An illumination unit having an annular light source unit for illuminating the workpiece, and a photographing unit for photographing the workpiece;
The image detection device according to any one of claims 1 to 10 is connected directly or indirectly,
A holding unit for holding the workpiece is arranged between the illumination unit and the photographing unit so as to be fixed or movable,
The photographing unit is arranged at a position deviating from the irradiation direction of the light irradiated to the work from the light source unit of the illumination unit,
When there is an uncertain part such as a scratch or a foreign object on the work, the light irradiated to the work from the light source part is photographed by the photographing part with its optical path changed by the uncertain part. Inspection device to do.
JP2008084634A 2008-03-27 2008-03-27 Image detection device and inspection apparatus Pending JP2009236760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008084634A JP2009236760A (en) 2008-03-27 2008-03-27 Image detection device and inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008084634A JP2009236760A (en) 2008-03-27 2008-03-27 Image detection device and inspection apparatus

Publications (1)

Publication Number Publication Date
JP2009236760A true JP2009236760A (en) 2009-10-15

Family

ID=41250889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008084634A Pending JP2009236760A (en) 2008-03-27 2008-03-27 Image detection device and inspection apparatus

Country Status (1)

Country Link
JP (1) JP2009236760A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013022031A1 (en) * 2011-08-09 2013-02-14 株式会社 アマダ Laser beam machine head
CN105572132A (en) * 2014-10-14 2016-05-11 中国石油化工股份有限公司 Block solid product appearance quality detection device and method
CN109991240A (en) * 2019-03-25 2019-07-09 铜陵市多元微分科技有限公司 One kind being used for the dark crack detection light supply apparatus of SMD chip ultra micro
JP7026871B1 (en) * 2021-06-18 2022-02-28 三菱電機株式会社 Image processing device, image processing method, and image processing program
CN117405685A (en) * 2023-12-15 2024-01-16 深圳市什方智造科技有限公司 Light emitting device, light emitting method and battery detection apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10186635A (en) * 1996-12-20 1998-07-14 Sharp Corp Production of photomask
JPH1151622A (en) * 1997-08-07 1999-02-26 Hitachi Ltd Method and device for foreign matter inspection
JP2000081394A (en) * 1998-09-07 2000-03-21 Minolta Co Ltd Method and apparatus for inspecting appearance of transparent object and translucent object
JP2002116153A (en) * 2000-10-11 2002-04-19 Koyo Seiko Co Ltd Visual inspection apparatus
JP2003028809A (en) * 2001-07-16 2003-01-29 Dainippon Printing Co Ltd Method and apparatus for inspecting paper cup
JP2005127989A (en) * 2003-10-03 2005-05-19 Olympus Corp Flaw detector and flaw detecting program
JP2005201880A (en) * 2004-01-15 2005-07-28 Gmb Corp Apparatus for inspecting surface defect
JP2006064541A (en) * 2004-08-26 2006-03-09 Sumitomo Electric Ind Ltd Apparatus for inspecting film
JP2007285869A (en) * 2006-04-17 2007-11-01 Denso Corp Surface inspection system and surface inspection method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10186635A (en) * 1996-12-20 1998-07-14 Sharp Corp Production of photomask
JPH1151622A (en) * 1997-08-07 1999-02-26 Hitachi Ltd Method and device for foreign matter inspection
JP2000081394A (en) * 1998-09-07 2000-03-21 Minolta Co Ltd Method and apparatus for inspecting appearance of transparent object and translucent object
JP2002116153A (en) * 2000-10-11 2002-04-19 Koyo Seiko Co Ltd Visual inspection apparatus
JP2003028809A (en) * 2001-07-16 2003-01-29 Dainippon Printing Co Ltd Method and apparatus for inspecting paper cup
JP2005127989A (en) * 2003-10-03 2005-05-19 Olympus Corp Flaw detector and flaw detecting program
JP2005201880A (en) * 2004-01-15 2005-07-28 Gmb Corp Apparatus for inspecting surface defect
JP2006064541A (en) * 2004-08-26 2006-03-09 Sumitomo Electric Ind Ltd Apparatus for inspecting film
JP2007285869A (en) * 2006-04-17 2007-11-01 Denso Corp Surface inspection system and surface inspection method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013022031A1 (en) * 2011-08-09 2013-02-14 株式会社 アマダ Laser beam machine head
JP2013052440A (en) * 2011-08-09 2013-03-21 Amada Co Ltd Laser beam machining head
CN105572132A (en) * 2014-10-14 2016-05-11 中国石油化工股份有限公司 Block solid product appearance quality detection device and method
CN109991240A (en) * 2019-03-25 2019-07-09 铜陵市多元微分科技有限公司 One kind being used for the dark crack detection light supply apparatus of SMD chip ultra micro
CN109991240B (en) * 2019-03-25 2022-11-22 铜陵市多元微分科技有限公司 Light source device for SMD wafer ultra-micro dark crack detection
JP7026871B1 (en) * 2021-06-18 2022-02-28 三菱電機株式会社 Image processing device, image processing method, and image processing program
WO2022264396A1 (en) * 2021-06-18 2022-12-22 三菱電機株式会社 Image-processing device, image-processing method, and image-processing program
CN117405685A (en) * 2023-12-15 2024-01-16 深圳市什方智造科技有限公司 Light emitting device, light emitting method and battery detection apparatus

Similar Documents

Publication Publication Date Title
JP6945245B2 (en) Visual inspection equipment
TWI590725B (en) Detecting device and detecting method of appearance of printed circuit board
JP5014003B2 (en) Inspection apparatus and method
JP5348765B2 (en) Method and apparatus for inspecting fine irregularities of flat transparent body
KR102066520B1 (en) Epitaxial wafer backside inspection apparatus and epitaxial wafer backside inspection method using the same
JP2002014057A (en) Defect checking device
JP2009293999A (en) Wood defect detector
TWI495867B (en) Application of repeated exposure to multiple exposure image blending detection method
KR20150099956A (en) Lens inspection apparatus
JP2004037248A (en) Inspection device and inspection method for through hole
JP2011089939A (en) Appearance inspection apparatus and printed solder inspection apparatus
JP2009236760A (en) Image detection device and inspection apparatus
JP5580121B2 (en) Board inspection equipment
JP4910128B2 (en) Defect inspection method for object surface
JP2006292412A (en) Surface inspection system, surface inspection method and substrate manufacturing method
JP2009109243A (en) Device for inspecting resin sealing material
JP5272784B2 (en) Optical inspection method and optical inspection apparatus
JP2009162492A (en) Inspection apparatus
KR102632169B1 (en) Apparatus and method for inspecting glass substrate
JP2018040761A (en) Device for inspecting appearance of inspection target object
JP2009042093A (en) Electronic component inspection device and electronic component inspection method
JP2012088199A (en) Method and apparatus for inspecting foreign matter
JP2020122738A (en) Defect inspection device and defect inspection method
JP2002090258A (en) Method, apparatus and system for inspection of lens
JPH11248643A (en) Detection device for foreign matter in transparent film

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100927

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130416