JP2020060533A - Optical evaluation device and optical evaluation method - Google Patents
Optical evaluation device and optical evaluation method Download PDFInfo
- Publication number
- JP2020060533A JP2020060533A JP2018193739A JP2018193739A JP2020060533A JP 2020060533 A JP2020060533 A JP 2020060533A JP 2018193739 A JP2018193739 A JP 2018193739A JP 2018193739 A JP2018193739 A JP 2018193739A JP 2020060533 A JP2020060533 A JP 2020060533A
- Authority
- JP
- Japan
- Prior art keywords
- image
- composite image
- captured
- noise
- intensity
- 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
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
本発明は、光学評価装置、および、光学評価方法に関する。 The present invention relates to an optical evaluation device and an optical evaluation method.
光沢性を有するワークの表面上に存在する欠陥を検出するための技術がある。この技術として、周期的な縞状のパターン(縞パターン)で発光する光源を用いてワークを照明し、縞パターンの位相を変化させながらワークで反射された光をカメラで撮影し、撮影した複数の画像からワークの欠陥を検出する技術が知られている(特許文献1)。前述のような技術を用いた装置の場合、光源やワーク、カメラなどの振動や、縞パターンの位相を変化させるためのステージの駆動精度や経時変化などで、理想状態に対して縞パターンの位相にズレ(位相誤差)を生じさせることがある。 There is a technique for detecting a defect existing on the surface of a glossy work. In this technology, a work is illuminated using a light source that emits light in a periodic striped pattern (striped pattern), and the light reflected by the workpiece is shot with a camera while changing the phase of the striped pattern. There is known a technique for detecting a defect of a work from the image of (Patent Document 1). In the case of a device that uses the technology described above, the phase of the stripe pattern is different from the ideal state due to vibration of the light source, work, camera, etc. May cause a shift (phase error).
このような状態で複数の画像から合成画像を算出すると、撮影画像に照射された縞パターンの空間周波数(撮影空間周波数)の2倍の空間周波数(ノイズ空間周波数)のノイズ(ノイズ成分)が発生する。ノイズ成分が発生すると、欠陥がノイズに埋もれてしまうため検査性能が悪化する。そのため画像処理などでこのようなノイズを補正する手法が提案されている(特許文献2と特許文献3)。 When a composite image is calculated from a plurality of images in such a state, noise (noise component) having a spatial frequency (noise spatial frequency) that is twice the spatial frequency (imaging spatial frequency) of the stripe pattern irradiated on the captured image is generated. To do. When a noise component is generated, the defect is buried in the noise, so that the inspection performance is deteriorated. Therefore, a method of correcting such noise by image processing or the like has been proposed (Patent Documents 2 and 3).
特許文献2のノイズ補正方法では、位相ステップごとの撮影画像から縞パターンの誤差の解析を行い、誤差を見積もり、必要な場合は再撮影を行うなどして補正を行う方法である。特許文献3のノイズ補正方法では、縞パターンの位相をずらした画像を同時に2台のカメラで撮影して平均値を算出することで、縞パターンの誤差を補正する方法である。 The noise correction method of Patent Document 2 is a method of performing error correction of a stripe pattern by analyzing a captured image for each phase step, estimating the error, and performing re-imaging when necessary. The noise correction method of Patent Document 3 is a method of correcting the error of the stripe pattern by simultaneously capturing images with the phases of the stripe pattern shifted by two cameras and calculating an average value.
特許文献2の検査方法では、全撮影画像において縞パターンの位相誤差を求めるために、検査するための処理とは別に、全ての撮影画像の画像処理を行う必要がある。この場合、位相を変化させるステップ数が多くなると、その分だけ撮影画像が増え、検査時の画像処理時間の増大を招来しうる。また、特許文献3の検査方法では、カメラなどの光学系を追加してステージ誤差を補正するため、カメラで撮影する画像が倍増し、画像処理時間の増大を招来しうる。 In the inspection method of Patent Document 2, in order to obtain the phase error of the stripe pattern in all captured images, it is necessary to perform image processing on all captured images in addition to the processing for inspection. In this case, if the number of steps for changing the phase increases, the number of captured images increases, and the image processing time at the time of inspection may increase. Further, in the inspection method of Patent Document 3, an optical system such as a camera is added to correct the stage error, so the images taken by the camera are doubled and the image processing time may be increased.
本発明は、撮影された縞パターンの位相誤差が許容範囲内であり、正常な撮影ができているかを簡易な手法で判断可能な光学評価装置を提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an optical evaluation device capable of determining by a simple method whether or not a phase error of a captured fringe pattern is within an allowable range and normal imaging is possible.
上記課題を解決するために、被検物に縞パターン光を照明する照明部と、位相の異なる縞パターン光が照明された被検物の複数枚の撮影画像を撮影する撮影部と、複数枚の撮影画像を処理して被検物の表面に関する情報を含む合成画像を生成し、撮影画像を評価する処理部と、を備え、撮影画像の評価は、撮影画像内の縞パターン光の位相誤差によって合成画像に重畳されるノイズ成分の強度を取得し、取得したノイズ成分の強度を閾値と比較することにより実行される、ことを特徴とする。 In order to solve the above problems, an illumination unit that illuminates the subject with striped pattern light, an imaging unit that captures a plurality of captured images of the subject illuminated with the striped pattern light having different phases, and a plurality of images. A processing unit for processing the captured image to generate a composite image including information about the surface of the test object, and evaluating the captured image. The evaluation of the captured image is performed by the phase error of the stripe pattern light in the captured image. Is obtained by acquiring the intensity of the noise component to be superimposed on the composite image, and comparing the obtained intensity of the noise component with a threshold value.
本発明によれば、撮影された縞パターンの位相誤差が許容範囲内であり、正常な撮影ができているかを簡易な手法で可能な光学評価装置を提供することができる。 According to the present invention, it is possible to provide an optical evaluation apparatus capable of determining whether or not a captured fringe pattern has a phase error within an allowable range and can perform normal imaging by a simple method.
以下、添付図面を参照して、本発明の好適な実施の形態について説明する。なお、各図において、同一の部材ないし要素については同一の参照番号を付し、重複する説明は省略する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. In each drawing, the same members or elements are designated by the same reference numerals, and duplicated description will be omitted.
<第1実施形態>
第1実施形態に係る外観検査装置1について説明する。図1は、外観検査装置1を示す概略図である。外観検査装置1は、光沢性を有するワーク11(被検物)の表面を評価する光学評価装置である。ワーク11は、例えば、工業製品に利用される表面が研磨された金属部品や樹脂部品などである。ワーク11の表面には、キズや色抜けの他、打痕など緩やかな凹凸形状に起因する欠陥など、多様な欠陥が発生する。外観検査装置1は、ワーク11の表面を評価することにより、これらの欠陥を検出し、検出結果に基づいて当該ワーク11を良品または不良品に分類する。外観検査装置1は、ワーク11を所定の位置に搬送する不図示の搬送装置(例えばコンベアやロボット、スライダ、手動ステージなど)を含んでもよい。
<First Embodiment>
The appearance inspection device 1 according to the first embodiment will be described. FIG. 1 is a schematic diagram showing an appearance inspection device 1. The appearance inspection apparatus 1 is an optical evaluation apparatus that evaluates the surface of a work 11 (inspection object) having gloss. The
外観検査装置1は、ワーク11に縞パターン光を照明する照明部101と、照明部101を介してワーク11を撮影するカメラ102(撮影部)と、制御部104を備える。照明部101は、光を透過する透光板106と、透光板106の側周端面に配置されたLEDなどの光源を含む。透光板106上のカメラ102側に、縞パターン状の反射部107が形成されており、光源から透光板106内に導入された光が反射部107で反射されることで、ワーク11側へ縞パターン光を照射することができる。照明部101は可動部103によって保持されている。可動部103は、縞状のパターンと直交する方向(図中のX方向)に、照明部101を移動可能としている。本実施形態では、可動部103によって照明部101を移動させているが、照明部101に対してワーク11を動かすことで、照明部101とワーク11の相対的な位置を変えても良い。加えて照明部101本体を動かすのではなく、透明ディスプレイなどで縞状のパターンだけを動かすようにしてもよい。透光板106上に形成された各々の反射部107の間は、光が透過できるため、照明部101を介してワーク11を撮影することが可能となっている。
The visual inspection apparatus 1 includes an
カメラ102は、例えばCCDイメージセンサやCMOSイメージセンサなど、画素が2次元状に配置されたイメージセンサを備える。制御部104は、照明部101、カメラ102および可動部103と接続されている。制御部104は、例えばCPUやメモリなどを有する基板によって構成されており、照明部101、カメラ102と可動部103を同期して制御する。制御部104は、可動部103とカメラ102を制御して、照明部101を移動させて、縞パターンの位相をずらした複数枚(N枚(N≧3))の画像を撮影させる。ただし、本発明を適用できる外観検査装置1は、このような構成に限定されるものではなく、手動にて可動部103を操作してワーク11を移動させた後、マニュアルトリガーでカメラ102にてワーク11を撮影してもよい。
The
外観検査装置1は、さらに画像処理部としてのPC105を含む。本実施形態のPC105は、カメラ102で得られたN枚の撮影画像に基づいてワーク11の表面を評価する機能を有する。PC105と制御部104は別体でなくてもよく、当該画像処理部を制御部104と一体的に設けてもよい。また、画像処理部は汎用的なPCではなく、画像処理専用のマシンであってもよい。撮影した合計N枚(N≧3)の撮影画像を、投影した縞パターンの位相がシフトする周波数成分の強度変化に関する情報を用いて、合成画像を生成する。合成画像の一例は、振幅画像、位相差画像やN枚の平均値を算出した平均画像があげられる。
The visual inspection apparatus 1 further includes a
n枚目(n=1、・・、N)の撮影画像をIn(x,y)とするとき、振幅画像(x,y)は、以下の式により算出できる。
本実施形態では、照明部101を介してワーク11を撮影している構成としているが、図2に示すように照明部101を介さずにワーク11をディスプレイなどの照明部101で斜めから投影し、その反射光をカメラ102で撮影する構成としてもよい。照明部101を介さずに斜めからの反射光を用いる構成の場合、照明部101は透光板を使用して透過部を生成する必要がないため、ディスプレイやプロジェクタなどで、ワークに縞パターン光を照射することができればよい。また縞パターンの位相変更は、必ずしも可動部103を有する必要はない。ディスプレイを用いた場合は映し出す画像を変更することで、プロジェクタを用いた場合は照射する縞パターンを変更することで、位相変更を行うことができる。この場合、合成画像生成に使用するIsin、Icosは以下の式を用いることで、振幅画像、位相差画像、平均画像を算出することができる。
合成画像を算出する際、経時変化、振動や可動機構の駆動精度など撮影画像の縞パターンの位相に誤差が発生した状態であると、撮影画像内の撮影空間周波数に依存した特定のノイズ空間周波数のノイズが合成画像に重畳され検査性能が悪化してしまう。また、ワークが曲面である場合や設置誤差がある場合、撮影空間周波数、又はノイズ空間周波数の予想が困難であるため、ノイズ成分の検出も困難となる。 When calculating the composite image, if there is an error in the phase of the stripe pattern of the captured image due to changes over time, vibration, driving accuracy of the movable mechanism, etc., a specific noise spatial frequency depending on the captured spatial frequency in the captured image Noise is superimposed on the composite image and the inspection performance deteriorates. Further, when the work is a curved surface or there is an installation error, it is difficult to predict the imaging spatial frequency or the noise spatial frequency, and thus it is difficult to detect the noise component.
そこで、本実施形態に係る外観検査装置1は、このノイズ空間周波数をあらかじめ撮影した画像(基準画像)から決定し、表面性状を評価する合成画像からノイズ空間周波数を抽出し、ノイズ強度を取得することで撮影画像の良否判定を行う。さらに、判定結果に応じてその後の処理を決定する。 Therefore, the appearance inspection apparatus 1 according to the present embodiment determines the noise spatial frequency from the image (reference image) captured in advance, extracts the noise spatial frequency from the composite image for evaluating the surface texture, and acquires the noise intensity. Therefore, the quality of the captured image is determined. Further, subsequent processing is determined according to the determination result.
図3は、外観検査装置1の検査撮影処理を説明するためのフローチャートである。なお、各工程は、制御部104による各部の制御によって実行されうる。最初に、後述するノイズ空間周波数を取得する手法を用いて基準画像のノイズ空間周波数を取得する(S1)。その後、外観検査を行うためにワークの撮影を開始(S2)し、位相の異なる縞パターンを照射して、ワークの複数の撮影画像を取得する(S3)。取得した複数の撮影画像を処理してワークの表面に関する情報を含む合成画像(振幅画像、位相差画像、平均画像など)を生成する(S4)。そして、表面性状検査に使用する合成画像からノイズ空間周波数の成分を抽出し、ノイズ成分の強度を取得する。(S5)。次に、この取得されたノイズ成分の強度とあらかじめ設定した閾値を比較し、閾値を超えたか否かで合成画像に用いられる撮影画像を評価し、撮影画像が正常に使用できるか良否判定を行う(S6)。ノイズ空間周波数の成分が設定した閾値を超えていなければ、正常に使用できる撮影画像であると判断し(S6、OK)、次のワーク撮影へ移行する(S8)。ノイズ空間周波数の成分が設定した閾値を超えている場合は、正常に使用できない撮影画像であると判断し(S6、NG)、エラー処理を行うことで次のワークの撮影を開始する(S7)。
FIG. 3 is a flow chart for explaining the inspection photographing process of the appearance inspection device 1. Each process can be executed by the control of each unit by the
次に、本実施形態におけるノイズ空間周波数を取得する工程(S1)について具体的に説明する。図4は、基準画像と合成画像の概略図である。基準画像201はあらかじめワーク11を撮影した画像である。合成画像202は、ワーク11の撮影画像を処理して生成された画像であり、表面性状検査に使用される、例えば振幅画像や位相差画像などである。まず、撮影画像の良否の判断基準となる、ノイズ空間周波数を抽出する確認エリアを選択する。図4に示すように、ワーク11の部位によって空間周波数に差が出る。ワーク11の曲面は高周波数となり、平面は曲面に比べ低周波数となる。本実施形態では、高周波数となる局面を確認エリア203aと、確認エリア203aに比べ低周波数となる平面を確認エリア203bとして、2つの確認エリアを選択している。なお、本実施形態では選択する確認エリアを2つとしているが、さらに多くの確認エリアを選択してもよく、逆に確認エリアを1つだけにしてもよい。確認エリアの位置は装置構造や設置環境の振動条件などで、ワーク11上で発生するノイズに対して感度をあげてもよい。またノイズ空間周波数を正確に取得するために、選択される確認エリア内は同じような撮影空間周波数の縞からなる画像位置を選択することが望ましい。
Next, the step (S1) of acquiring the noise spatial frequency in this embodiment will be specifically described. FIG. 4 is a schematic diagram of the reference image and the composite image. The
それぞれの確認エリア203aおよび確認エリア203bにおいて、照明部101から照射した縞と直行方向に周波数解析を行う。これにより、基準画像内に照射された縞パターン光の空間周波数(撮影空間周波数)を算出し、適応する合成画像の種類に合わせて撮影空間周波数からノイズ空間周波数を決定する。撮影空間周波数を取得する周波数解析にはFFTや確認エリアにおいてノイズ空間周波数が変化している際などはウエブレット解析を用いる。ノイズ空間周波数を決定する際は、振幅画像、位相差画像では撮影空間周波数の2倍の周波数が主要なノイズ空間周波数となり、平均画像では撮影空間周波数と同じ周波数が主要なノイズ空間周波数となる。
In each of the
本実施形態ではあらかじめ撮影した基準画像からノイズ空間周波数を算出しているが、ワークの配置誤差や形状個体差などによるノイズ空間周波数への影響が大きくなる。どのワークでも同等のノイズ空間周波数であるとみなせない場合は、ワーク毎に撮影した撮影画像を基準画像として用いてノイズ空間周波数を算出してもよい。また、ノイズ空間周波数を決定する際に用いる基準画像は撮影画像に限定されない。例えば、事前にワークの3次元モデル情報とミラー、カメラ、照明といった外観検査装置を構成する部品の光学情報から光学シミュレーションを用いてシミュレーション画像を生成する。生成したシミュレーション画像を外観検査装置1へ取得させて、前述の撮影画像と同様の処理を行うことでノイズ空間周波数を決定してもよい。ここでいう光学情報とは、レンズを含むカメラ102、照明部101、ワーク11の相対的な位置関係を示す配置情報と、カメラに取り付けるレンズのF値、倍率、ワーキングディスタンスの情報と、照明の縞パターンのピッチ、反射部と透過部のデューティ比、光源の波長の情報である。
In the present embodiment, the noise spatial frequency is calculated from the previously captured reference image, but the noise spatial frequency is greatly affected by the work placement error, individual shape difference, and the like. When it cannot be considered that the noise spatial frequency is the same for all works, the noise spatial frequency may be calculated by using a photographed image photographed for each work as a reference image. Further, the reference image used when determining the noise spatial frequency is not limited to the captured image. For example, a simulation image is generated in advance from the three-dimensional model information of the work and the optical information of the parts constituting the appearance inspection device such as the mirror, the camera, and the illumination by using the optical simulation. The noise spatial frequency may be determined by causing the appearance inspection apparatus 1 to acquire the generated simulation image and performing the same processing as the above-described captured image. The optical information referred to here is arrangement information indicating the relative positional relationship among the
次に、合成画像からノイズ空間周波数の成分を抽出する工程(S5)について説明する。表面性状検査に使用する合成画像202において基準画像201で選択した確認エリア203aまたは203bに対応する領域の画像を選択する。選択された画像に対して前述したように縞と直行方向に周波数解析を行う。具体的には、例えば、確認エリア203aを対象とする場合、基準画像201の確認エリア203a(第1局所領域)と、合成画像202における確認エリア203a(第2局所領域)とを比較し、ノイズ成分の強度を取得する。また強度を取得する際は、算出したノイズ空間周波数には多少の解析誤差が含まれる可能性があるため、ノイズ空間周波数付近の空間周波数をまとめて強度として算出してもよい。
Next, the step (S5) of extracting the noise spatial frequency component from the composite image will be described. An image of a region corresponding to the
最後に撮影画像の良否判定する工程(S6)および良否判定で閾値を超えた際のエラー処理を行う工程(S7)について説明をする。撮影画像の良否判定する工程では、それぞれの確認エリアにおいて算出したノイズ成分の強度と予め設定した閾値と比較し、ノイズ成分の強度が閾値を超えているかどうかで撮影画像の良否判定を行う。たとえば確認エリアの欠陥には大きなコントラストがあるため弁別が容易であり、ノイズの影響を受けにくい場合は閾値を高く設定するなど、確認エリアに合わせて複数の閾値を設定してもよい。 Finally, the step (S6) of determining the quality of the captured image and the step (S7) of performing error processing when the threshold value is exceeded in the quality determination will be described. In the step of determining the quality of the captured image, the strength of the noise component calculated in each confirmation area is compared with a preset threshold value, and the quality of the captured image is determined based on whether the strength of the noise component exceeds the threshold value. For example, since a defect in the confirmation area has a large contrast, it is easy to discriminate, and a plurality of thresholds may be set in accordance with the confirmation area, such as setting a high threshold when the influence of noise is small.
良否判定の結果、ノイズ空間周波数の強度が閾値以下であれば、次のワークの撮影を開始する。閾値を超えてしまった場合は、エラー処理を行う。本実施形態ではエラー処理の内容は限定することはなく、たとえばユーザへエラーを表示して外観検査装置を停止させてもよく、再撮影を前提に検査したワークに対して撮影エラーフラグを付けることで、次のワーク撮影へ移行してもよい。また、エラー処理では補正を行ってもよく、たとえば撮影した全画像の縞パターンの位相を解析し、その解析結果をもとに合成画像を生成するアルゴリズムで補正しても良い。その他、照明部101を可動部103で動かして撮影している場合は、解析した縞パターンの位相誤差から可動部103の移動量を算出し、可動部103の移動量の指令値へフィードバックしても良い。もしくは、可動部103が駆動している状態で画像を取得している場合は、解析結果から画像取得タイミングのずれ量を算出して、カメラ102のシャッタタイミングを変更しても良い。
As a result of the quality judgment, if the intensity of the noise spatial frequency is equal to or less than the threshold value, the photographing of the next work is started. If the threshold is exceeded, error processing is performed. In the present embodiment, the content of error processing is not limited. For example, an error may be displayed to the user and the appearance inspection device may be stopped, and an imaging error flag may be attached to a workpiece inspected on the assumption of reimaging. Then, you may shift to the next work photographing. Further, correction may be performed in the error processing, for example, the phase of the striped pattern of all the captured images may be analyzed and the correction may be performed by an algorithm that generates a composite image based on the analysis result. In addition, when the illuminating
本実施形態の外観検査装置1では、あらかじめ取得した基準画像に基づきノイズ空間周波数を決定し、検査を行う合成画像のノイズ成分の強度を取得し、閾値と比較することで、撮影画像を評価する。これにより、簡易な手法で撮影された縞パターンの位相誤差が許容範囲内であり、正常な撮影ができているかを判断することが可能となる。 In the appearance inspection apparatus 1 of the present embodiment, the noise spatial frequency is determined based on the previously acquired reference image, the intensity of the noise component of the composite image to be inspected is acquired, and the intensity is compared with a threshold value to evaluate the captured image. . As a result, it is possible to determine whether the phase error of the fringe pattern photographed by a simple method is within the allowable range and the normal photographing is performed.
<第2実施形態>
次に、図5を用いて第2実施形態について説明する。第2実施形態は、ノイズ空間周波数を決定し(S1)、合成画像からノイズ空間周波数の成分を抽出する(S5)工程を除いては、外観検査装置1の装置構成を含め、第1実施形態と同様である。本実施形態では、基準画像のために撮影された画像(基準撮影画像)を処理して、基準画像としての合成画像(基準合成画像)生成する。この時、基準撮影画像に事前に外乱を与えることで、図5に示すようなノイズ空間周波数を発生させた基準合成画像(ノイズ合成画像204aおよび204b)を生成して、ノイズ空間周波数を決定する方法である。
<Second Embodiment>
Next, a second embodiment will be described with reference to FIG. The second embodiment includes the apparatus configuration of the appearance inspection apparatus 1 except for the step of determining the noise spatial frequency (S1) and extracting the noise spatial frequency component from the composite image (S5). Is the same as. In the present embodiment, an image captured for a reference image (reference captured image) is processed to generate a composite image (reference composite image) as a reference image. At this time, a reference synthetic image (noise
はじめにノイズ空間周波数を決定する工程(S1)に使用するノイズ合成画像の生成方法ついて説明を行う。基準撮影画像の撮影時の位相ステップと基準合成画像の生成時の位相ステップに差を外乱として設けることで、ノイズ合成画像を生成することができる。容易な手法の一つは基準撮影画像の撮影時に可動部103の制御指令値を変更し、照明部101より照射される縞パターン光の位置を理想的な位置からずらす手法である。外乱をn枚目の撮影時の位相ずらし量αnとすると、n枚目の画像の位相は4π・(n-1)/N+αnとなる。よって、この位相から可動部103の制御指令値を算出し、基準撮影画像を取得することで、ノイズ合成画像を生成することができる。
First, a method of generating a noise composite image used in the step (S1) of determining the noise spatial frequency will be described. By providing a difference between the phase step at the time of shooting the reference captured image and the phase step at the time of generating the reference combined image as the disturbance, the noise combined image can be generated. One of the easy methods is to change the control command value of the
ノイズ合成画像を生成する外乱の与え方は限定せず、本実施形態のように基準撮影画像取得時に外乱を与えてもよく、基準合成画像生成時に外乱を与えてもよい。基準撮影画像取得時の外乱は、ワーク11と照明部101の相対位置を変更すればよいため、ワーク11を移動させてもよい。また基準合成画像生成時では基準撮影画像の縞パターンの位相に対して、異なる位相のアルゴリズムを用いることでノイズ合成画像を生成することができる。また、ノイズ合成画像を実際の撮影画像から生成しているが、第一実施形態で述べたように事前に、ワーク3D情報や光学配置情報から光学シミュレーションを用いて生成した画像を取得して、同様の処理を行ってもよい。
The method of giving the disturbance for generating the noise combined image is not limited, and the disturbance may be given at the time of acquiring the reference captured image as in the present embodiment, or may be given at the time of generating the reference combined image. The disturbance at the time of obtaining the reference captured image may be moved by changing the relative position between the
次にノイズ空間周波数を決定する工程(S1)について説明を行う。まず前述した手法により初期位相の異なる2種類のノイズ合成画像204aおよび204bを生成する。1つ目のノイズ合成画像204aに対して、2つ目のノイズ合成画像204bはノイズ空間周波数における縞パターンの初期位相をπ/2ずらしたノイズ合成画像である。2つ目のノイズ合成画像が振幅画像や位相差画像などであり、ノイズ空間周波数が撮影空間周波数の2倍の場合は基準撮影画像取得時の初期位相をπ/4、平均画像などで同じ空間周波数の場合はπ/2ずらすことで生成することができる。さらに生成した合成画像に対してノイズの発生を抑えた合成画像をベース画像として差し引くことで、ノイズ合成画像204を生成してもよい。これら2つのノイズ合成画像204にはワークの形状に沿ったノイズ空間周波数が含まれており、この2種類の画像に含まれる周波数がノイズ空間周波数となる。本実施形態では、ワークの形状に沿ったノイズ空間周波数を決める手法であるが、生成したノイズ合成画像204から第1実施形態のように確認エリア203を選択し、ノイズ空間周波数を周波数分析により決定してもよい。
Next, the step (S1) of determining the noise spatial frequency will be described. First, two types of noise synthesized
最後に生成した2つのノイズ合成画像を用いてノイズ空間周波数の成分を抽出する工程(S5)について説明する。2つのノイズ合成画像204は初期位相がπ/2ずれていることから、ノイズ空間周波数のSIN波(正弦波)、COS波(余弦波)として扱うことで、ができる。検査を行う合成画像202に縞パターンの直行方向に、SIN波、COS波(ノイズ合成画像)を掛け合わせ、抽出した各々の成分の二乗和を算出することで、ノイズ成分の強度を取得する。強度を取得する際、実施形態1で述べたように感度が高いエリアなど検査を行う確認エリア203を選択することが望ましい。本実施形態では主要なノイズ空間周波数だけでなく、倍波などのノイズ空間周波数の成分も強度として合わせて算出することができる。
The step (S5) of extracting the component of the noise spatial frequency using the last generated two noise composite images will be described. Since the initial phases of the two noise composite images 204 are deviated by π / 2, it is possible to treat them as SIN waves (sine waves) and COS waves (cosine waves) having noise spatial frequencies. The intensity of the noise component is acquired by multiplying the
本実施形態の外観検査装置1では、初期位相の異なるノイズ合成画像を事前に生成することでノイズ空間周波数を決定し、検査を行う合成画像からノイズ空間周波数を抽出して合成画像のノイズ成分を閾値と比較することで、撮影画像の良否を判定可能である。これにより、簡易な手法で撮影された縞パターンの位相誤差が許容範囲内であり、正常な撮影ができているかを判断することが可能となる。 The appearance inspection apparatus 1 of the present embodiment determines noise spatial frequencies by generating noise composite images having different initial phases in advance, extracts noise spatial frequencies from the composite image to be inspected, and extracts the noise components of the composite image. The quality of the captured image can be determined by comparing the threshold value with the threshold value. As a result, it is possible to determine whether the phase error of the fringe pattern photographed by a simple method is within the allowable range and the normal photographing is performed.
(その他の実施形態)
以上、本発明の実施の形態を説明してきたが、本発明はこれらの実施の形態に限定されず、その要旨の範囲内において様々な変更が可能である。
(Other embodiments)
Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications can be made within the scope of the gist thereof.
1 外観検査装置
101 照明部
102 カメラ
104 制御部
201 基準画像
202 合成画像
1
Claims (9)
位相の異なる前記縞パターン光が照明された前記被検物の複数枚の撮影画像を撮影する撮影部と、
前記複数枚の撮影画像を処理して前記被検物の表面に関する情報を含む合成画像を生成し、前記撮影画像を評価する処理部と、を備え、
前記撮影画像の評価は、前記撮影画像内の縞パターン光の位相誤差によって前記合成画像に重畳されるノイズ成分の強度を取得し、前記取得したノイズ成分の強度を閾値と比較することにより実行される、ことを特徴とする光学評価装置。 An illumination unit that illuminates the subject with striped pattern light,
An imaging unit that captures a plurality of captured images of the test object illuminated by the striped pattern lights having different phases,
A processing unit that processes the plurality of captured images to generate a composite image that includes information about the surface of the object, and that evaluates the captured images.
The evaluation of the captured image is performed by acquiring the intensity of the noise component superimposed on the composite image due to the phase error of the striped pattern light in the captured image, and comparing the acquired intensity of the noise component with a threshold value. An optical evaluation device characterized by the following.
前記基準合成画像は、前記基準撮影画像の撮影時の位相ステップと前記基準合成画像の生成時の位相ステップとに差を設けて生成される、ことを特徴とする請求項2に記載の光学評価装置。 The reference image is a reference composite image generated by processing a reference captured image obtained by capturing an image of the object irradiated with the striped pattern light,
The optical evaluation according to claim 2, wherein the reference composite image is generated by providing a difference between a phase step at the time of capturing the reference captured image and a phase step at the time of generating the reference composite image. apparatus.
前記基準合成画像は、前記基準撮影画像の縞パターンの位相に対して、異なる位相のアルゴリズムを用いて生成される、ことを特徴とする請求項2に記載の光学評価装置。 The reference image is a reference composite image generated by processing a reference captured image obtained by capturing an image of the object irradiated with stripe pattern light,
The optical evaluation device according to claim 2, wherein the reference composite image is generated by using an algorithm of a different phase with respect to the phase of the stripe pattern of the reference captured image.
位相の異なる前記縞パターン光が照明された前記被検物の複数枚の撮影画像を撮影する工程と、
前記複数枚の撮影画像を処理して前記被検物の表面に関する情報を含む合成画像を生成する工程と、を含み、
前記撮影画像の評価は、前記撮影画像内の縞パターン光の位相誤差によって前記合成画像に重畳されるノイズ成分の強度を取得し、前記取得したノイズ成分の強度を閾値と比較することにより実行される、ことを特徴とする光学評価方法。 A step of illuminating an object with a striped pattern light;
A step of capturing a plurality of captured images of the test object illuminated by the striped pattern light having different phases;
Processing the plurality of captured images to generate a composite image containing information about the surface of the subject,
The evaluation of the captured image is performed by acquiring the intensity of the noise component superimposed on the composite image due to the phase error of the striped pattern light in the captured image, and comparing the acquired intensity of the noise component with a threshold value. An optical evaluation method characterized by the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018193739A JP2020060533A (en) | 2018-10-12 | 2018-10-12 | Optical evaluation device and optical evaluation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018193739A JP2020060533A (en) | 2018-10-12 | 2018-10-12 | Optical evaluation device and optical evaluation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020060533A true JP2020060533A (en) | 2020-04-16 |
Family
ID=70219658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018193739A Pending JP2020060533A (en) | 2018-10-12 | 2018-10-12 | Optical evaluation device and optical evaluation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020060533A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023238199A1 (en) * | 2022-06-06 | 2023-12-14 | ファナック株式会社 | Control device for robot device that acquires three-dimensional position information, and robot device |
-
2018
- 2018-10-12 JP JP2018193739A patent/JP2020060533A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023238199A1 (en) * | 2022-06-06 | 2023-12-14 | ファナック株式会社 | Control device for robot device that acquires three-dimensional position information, and robot device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6316068B2 (en) | Inspection system and inspection method | |
JP6433268B2 (en) | Inspection system and inspection method | |
US11619485B2 (en) | Hybrid 3D optical scanning system | |
TWI414749B (en) | Apparatus for measurement of surface profile | |
JP6542586B2 (en) | Inspection system | |
JP5682419B2 (en) | Inspection method and inspection apparatus | |
JP6584454B2 (en) | Image processing apparatus and method | |
JP2016224707A (en) | Inspection system | |
JP2009168454A (en) | Surface flaw inspection device and surface flaw inspection method | |
KR101875467B1 (en) | 3-dimensional shape measurment apparatus and method thereof | |
JP6276092B2 (en) | Inspection system and inspection method | |
JP2020060533A (en) | Optical evaluation device and optical evaluation method | |
CN110402386A (en) | Cylinder surface examining device and cylinder surface inspecting method | |
JP2019082452A (en) | Image generation method, image generation device, and defect determination method using the same | |
JP6420131B2 (en) | Inspection system and inspection method | |
CN111033566B (en) | Method and system for non-destructive inspection of an aircraft part | |
JP2017101977A (en) | Inspection system and inspection method | |
JP5895733B2 (en) | Surface defect inspection apparatus and surface defect inspection method | |
Dawda et al. | Accurate 3D measurement of highly specular surface using laser and stereo reconstruction | |
JP6432968B2 (en) | Object shape estimation apparatus and program | |
JP2017101979A (en) | Inspection system | |
JP6781430B2 (en) | Inspection system | |
JP2017049179A5 (en) | Measuring device and acquisition method | |
JP7444171B2 (en) | Surface defect discrimination device, appearance inspection device and program | |
JP6909377B2 (en) | Inspection system and inspection method |