JP3688520B2 - Surface inspection apparatus and surface inspection method - Google Patents

Surface inspection apparatus and surface inspection method Download PDF

Info

Publication number
JP3688520B2
JP3688520B2 JP19226799A JP19226799A JP3688520B2 JP 3688520 B2 JP3688520 B2 JP 3688520B2 JP 19226799 A JP19226799 A JP 19226799A JP 19226799 A JP19226799 A JP 19226799A JP 3688520 B2 JP3688520 B2 JP 3688520B2
Authority
JP
Japan
Prior art keywords
image
defect
subject
surface inspection
pixel
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.)
Expired - Fee Related
Application number
JP19226799A
Other languages
Japanese (ja)
Other versions
JP2001021332A (en
Inventor
清治 秦
明 石井
修 廣瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Chemical Co Ltd
Original Assignee
Sumitomo Chemical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Chemical Co Ltd filed Critical Sumitomo Chemical Co Ltd
Priority to JP19226799A priority Critical patent/JP3688520B2/en
Publication of JP2001021332A publication Critical patent/JP2001021332A/en
Application granted granted Critical
Publication of JP3688520B2 publication Critical patent/JP3688520B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、表面検査装置及び表面検査方法に関するものであり、特に、フィルム表面、硝子面、塗装面等の光沢面に発生する欠陥を検査するための表面検査装置及び表面検査方法に関するものである。
【0002】
【従来の技術】
かかる表面検査技術は、フィルム、板状製品、生産財のボディなど平面や曲面上に存在する微小な凹凸状の表面欠陥を検査するために用いられている。このような技術の具体例は以下にいくつか示される。
【0003】
(1)特開平5- 18728号公報(以下、公知技術1という。)
公知技術1は、被検体(ベルト状物体)の表面に格子パターンを投影する照明手段と、投影されたパターンを撮像する撮像手段とを備えており、撮像手段により得られた画像を処理して歪みのあるパターンを検出することにより被検体の表面欠陥を検出するものである。
【0004】
(2)特開平5- 288533号公報(以下、公知技術2と言う。)
公知技術2は、パタ−ンジェネレータにより表示パターンを発生させて、これをパターン表示素子(光源)により被検体(ガラス、シート材、金属シート材、塗装表面など)を照明して、撮像手段であるカメラから画像を取り込む。そしてカメラから取り込まれた画像とパターンジェネレータの出力波形との差分をアナログ差分回路により演算して表面欠陥を検出する。
【0005】
(3)反射散乱法(以下、公知技術3と言う。)
図12(a)に示すように、公知技術3は、被検体1を蛍光灯10により照明し、その反射像をカメラ3により撮影し、蛍光灯10の端部の歪みが検出されれば表面欠陥があるものと検出する。
【0006】
【発明が解決しようとする課題】
しかしながら、上記公知技術には以下に説明するような課題があった。
すなわち、公知技術1の格子パターンの歪みを検出する方法においては、表面の非常に微小な凹凸を感度良く検出できる可能性があるものの、被検体自体が不定であり、かつ、許容され得る凹凸分布を有する場合に、かかる凹凸分布と表面欠陥との識別が困難になってしまう。かかる被検体として、例えば反りが発生しやすいフィルムがあるが、この場合、広範囲に分布する表面の凹凸は正常であるとし、局所的に発生する凹凸のみを欠陥として検出しなければならない。また別の例として、生産財のボディ(自動車、各種製品の筐体、ディスプレイ装置の前面板など各種)においては、表面が平面であることは少なく、三次元曲面などの曲面により形成されている場合が多い。したがって、被検体から表面欠陥を検出しようとする場合に、かかる曲面(凹凸)を欠陥として誤検出するのではなく、局所的に発生する凹凸のみを表面欠陥として検出することが望まれる。公知技術1においては、格子パターンはわずかな曲面があったとしても歪んでしまうため、検出精度の正確さの点において問題があった。かかる問題を解決するため、静止画像の二次元計測だけでなく、被検体を移動させてみて時間的な画像の変化を追跡するなどの技術が考えられないわけではないが、非常に高度な技術でありコストもかかってしまうと言う問題があった。
【0007】
公知技術2においては、カメラから取り込まれた画像とパターンジェネレータの出力波形との差分から表面欠陥を検出するものであるから、表面の非常に微小な凹凸に対して感度良く検出できる可能性があるが、やはり、被検体自体が許容され得る曲面(凹凸分布)を有していた場合に、これが差分として検出されてしまい表面欠陥として誤検出される可能性があった。
【0008】
また、この公知技術2においては、微小なうねり欠陥を有しない三次元形状のみ有する資料を用いて、カメラから取り込まれた画像データの縞数と、設定された縞パターンとの偏差を演算し、これを偏差演算回路にフィードバックし、最終的に偏差が0になるように制御することで、被検体自身が有する許容され得る凹凸分布を誤検出しないような技術も開示されている。
【0009】
しかしながら、誤検出をしないためのフィードバック制御の構成が複雑になるだけでなく、検査をすべき被検体ごとにかかるフィードバック制御が必要になると考えられ、作業が煩雑になってしまうと言う問題があった。
【0010】
公知技術3についても同様であり、図12(b)(c)に示すように、被検体1に本来許容されるべき反りがあったとしても、これが検出されてしまうと言う問題があった。
【0011】
【発明の目的】
本発明は上記実情に鑑みてなされたものであり、その目的は、被検体に許容され得る曲面(凹凸分布)を表面欠陥として誤検出することなく、表面欠陥を簡便に且つ確実に検出することのできる表面検査装置及び表面検査方法を提供することである。
【0012】
【課題を解決するための手段】
上記目的を達成するため本発明に係る表面検査装置は、
明部と暗部の繰り返しパターンにより構成される微細チェッカーパターンを被検体に対して照明する照明手段と、前記チェッカーパターンが照明された前記被検体を撮像する撮像手段と、この撮像手段により撮像された原画像を解析する画像解析手段とを備え、
前記画像解析手段は、前記原画像のゆがみと明部と暗部の間の中間調の画像部分を抽出して解析することにより、前記被検体の表面欠陥を検出するように構成されていることを特徴とするものである。
【0013】
この構成による作用は次の通りである。
(イ)照明手段により所定の微細チェッカーパターンを被検体に対して照明する。
(ロ)撮像手段により、所定の微細チェッカーパターンが照明(投影)された被検体を撮像する。
(ハ)撮像手段により取り込まれた画像(原画像)を画像解析手段により解析し、原画像のゆがみと明部と暗部の明るさの変化の度合いを解析する。
(ニ)解析結果に基づいて被検体の表面欠陥を検出する。
【0014】
原理を図2により説明する。所定の微細チェッカーパターンを撮像すると、暗部の明るさレベル(輝度値あるいは測光値)と明部の明るさレベルには所定のレベル差があり、表面欠陥がない場合には、図2(a)に示すように暗部と明部との境界において急激なレベル変化が見られる。一方、表面欠陥が存在すると、暗部と明部との境界において、図2(b)に示すようにレベル変化の度合いが緩やかになる。したがって、この明部から暗部又は暗部から明部への明るさ変化の度合いを中間調の画像部分として抽出して解析することにより、表面欠陥を検出することができる。
【0015】
また、被検体に許容され得る曲面(凹凸分布)が存在する場合、撮像される所定の微細チェッカーパターンの形状は、曲面の形状に応じて歪んだ状態で撮像されるが、明部から暗部又は暗部から明部への明るさ変化の度合いとして検出される可能性は極めて少なく、あるいは全くなくなり、表面欠陥として誤検出されることはなく確実性が高まる。また、公知技術2のように、フィードバック制御をするために表面欠陥のない被検体をわざわざ準備する必要もなく、簡便なものとなる。その結果、被検体に許容され得る曲面(凹凸分布)を表面欠陥として誤検出することなく、表面欠陥を簡便に且つ確実に検出することのできる表面検査装置を提供することができた。
【0016】
本発明の好適な実施形態として、前記微細チェッカーパターンは、明部と暗部とが1:1の寸法比で配置されたチェッカーパターンである。このチェッカーパターンの一例が図1(b)に示される。本発明の原理によれば、かかるチェッカーパターンを用いて表面欠陥を検出できるのは、明部と暗部の境界部分であるから、明部と暗部の繰り返しパターンをできるだけ多く存在させたチェッカーパターンとするのが良い。そのためには、明部と暗部とを1:1の寸法比で配置するのが良いのである。
【0017】
本発明の別の好適な実施形態として、前記撮像手段は、前記照明手段の前記チェッカーパターンに焦点が合わせられる。
撮像手段により被検体を撮像する場合でも、その配置関係は通常図1(a)に示すように、撮像手段は被検体を斜め方向から撮影することになる。そうすると、仮に被検体に焦点を合わせようとしても、被検体の上端と下端とでは撮像手段との距離が異なるために、被検体全体に焦点を合わせることはできない。つまり、正確な表面検査ができないことになる。そこで、照明手段の明暗パターンに焦点を合わせることで、画面全体が焦点の合った画像を取り込むことができ、正確な表面検査を行なうことができる。ちなみに、図1(a)からも理解されるように、撮像手段と照明手段とは等価的に向かいあった関係にすることができる。
【0018】
本発明の更に別の好適な実施形態として、前記画像解析手段は、前記原画像から所定の輝度以上の明部と所定の輝度以下の暗部それぞれの輝度を0とした中間調画像を求める第1欠陥候補抽出部と、
前記原画像に対して微分処理を施して第1変換画像を求める微分処理部と、
前記第1変換画像の勾配の大きな画素を抽出、もしくは前記抽出された画素とその極近傍の画素の両者を抽出し、前記求められた中間調画像において、前記抽出画素に対応する画素の輝度を0として正常領域を除去する第2欠陥抽出部とを備えているものがあげられる。
【0019】
この構成による画像解析手段の作用は次の通りである。
(ホ)原画像から所定レベル以上の明部と所定レベル以下の暗部を取り除いて、中間調レベルの画素を抽出する。取り除くとは、該当する画素を0レベルの信号に変換することであり、中間調レベルの画素を抽出するとは、例えば該当する画素を1レベルに変換することである。
(ヘ)原画像に対して微分処理を施して第1変換画像を求める。この微分処理は画像中の勾配を求めるために行われるものであり、例えば、Sobel微分が用いられる。
(ト)前記第1変換画像から勾配の大きな部分を抽出して、前記原画像から勾配の大きな画素を取り除く。この取り除くとは、例えば、勾配の大きい部分の該当する画素を0レベルに変換することである。これは、先ほど図2(b)を用いて説明したように、表面欠陥がなく正常な部分は、暗部と明部の境界が鋭く立ち上がっていることから勾配が大きくなるからである。
【0020】
以上のような手順により、表面欠陥の存在を検出することができる。なお、上記作用は(ホ)(ヘ)(ト)の順番に処理する必要はなく、例えば、(ヘ)(ト)(ホ)の順に処理しても良い。
【0021】
本発明の更に別の好適な実施形態として、前記画像解析手段は、更に、前記第1欠陥候補抽出部および第2欠陥抽出部による処理が施された第2変換画像に対して微小領域を除去する微小領域処理部を備えているものがあげられる。
【0022】
既に説明してきた第1欠陥候補抽出部および第2欠陥抽出部による処理により表面欠陥の抽出はできているが、表面欠陥が存在する領域以外にも、微小な1レベルの領域が点在する場合がある。これは、照明装置のシェーディングの影響が除去しきれていないために中間調の輝度範囲が適切に選び出されなかったこと、ならびに正常部のチェッカーパターンの輪郭部に生じる中間調領域が本実験で抽出した輝度勾配の高い領域より1〜2画素程度大きいことにより、正常領域を誤って欠陥候補領域として検出したものである。これらの領域は、適切なシェーディング補正と輪郭領域の削除が行われれば発生しないと考えられるが、更に前記微小領域処理部を備えることにより、例えば、周知の収縮処理を用いることで除去することができ、確実性の高い表面検査装置とすることができる。
【0023】
本発明の目的を達成するための本発明に係る表面検査方法は、
明部と暗部の繰り返しパターンにより構成される微細チェッカーパターンを被検体に対して照明するステップと、前記微細チェッカーパターンが照明された前記被検体を撮像するステップと、この撮像手段により撮像された原画像を解析するステップとを有し、
前記画像を解析するステップは、前記原画像のゆがみと明部と暗部の間の中間調の画像部分を抽出して解析するステップと、この変化の度合いから前記被検体の表面欠陥を検出するステップとを有することを特徴とするものである。
【0024】
この構成による作用は、既述したような(イ)(ロ)(ハ)(ニ)と同じであり、この作用による効果も既述した通りである。
【0025】
本発明の好適な実施形態として、前記画像を解析するステップは、原画像から所定レベル以上の明部と所定レベル以下の暗部の輝度を0とした中間調画像を求める第1欠陥候補抽出ステップと、原画像に対して微分処理を施して第1変換画像を求める微分処理ステップと、前記第1変換画像の勾配の大きな画素を抽出、もしくは前記抽出された画素とその極近傍の画素の両者を抽出し,前記求められた中間調画像において、前記抽出画素に対応する画素の輝度を0として正常領域を除去する第2欠陥抽出ステップとを有するものがあげられる。さらに、これら第1欠陥候補抽出ステップおよび第2欠陥抽出ステップを施した後、微小領域を除去するステップを有するものがあげられる。
【0026】
この構成による作用は、記述したような(ホ)(ヘ)(ト)と同じであり、この作用による効果も記述した通りである。
【0027】
【発明の実施の形態】
本発明の好適な実施形態を図面を用いて説明する。
図1は、本実施形態に係る表面検査装置の構成を示す図である。
図1(a)において、この表面検査装置は、被検体1に対して微細チェッカーパターンの照明を行なう照明装置2(照明手段に相当する。)と、微細チェッカーパターンが照明された被検体1を撮像するCCDエリアカメラ3(撮像手段に相当し、以下、単にカメラと言う。)と、カメラ3により取り込まれた画像を解析する画像解析装置4(画像解析手段に相当する。)と、画像を写し出すためのTVモニター5とを備えている。
【0028】
照明装置2の微細チェッカーパターンの詳細は図1(b)に示される。この微細チェッカーパターンは明部2aと暗部2bとが交互に繰り返しており、
x方向の寸法比(デューティー比)は、xB :xW =1:1、
y方向の寸法比は、yB :yW =1:1、
さらに、xB =yB 、xW =yW である。つまり、明部2aも暗部2bも同じ大きさの正方形である。
【0029】
本発明の原理は既に図2を用いて説明したが、表面欠陥が存在すると明部2aと暗部2bとの境界に明るさのレベルが緩やかになることを検出するものであるから、明部2aと暗部2bとができるだけ数多く存在するほうが好ましい。そのためには、暗部2bと明部2aとの寸法比を1:1に設定するのが合理的である。また、カメラ3のCCDの画素数との関係から、明部2aと暗部2bとをあまり細かくしすぎると分解能が低下するので、本実施形態では1辺がCCDの10画素程度の大きさになるように設定している。
【0030】
また、カメラ3の焦点(ピント)は、被検体1ではなく、照明装置2の微細チェッカーパターンに合焦するように調整されている。図1(a)にも示されるように、カメラ3は斜め方向から被検体1を撮影しているため、被検体1に焦点を合わせようとしても、被検体1の下端と上端とではカメラ3からの距離が異なるため、被検体1の全体に焦点を合わせることはできない。また、本発明では正常部分での明暗変化が大きいことが望ましいが、そのためには照明手段の明暗パターンに焦点を合わせるのが自然である。被検体に焦点を合わせると照明手段の明暗パターンがぼけた像として観測されるため充分な検出精度を得ることができない。照明手段の明暗パターンと撮像手段は被検体を介して等価的に向かいあった位置関係であり、画面全体に焦点を合わせることができ、明暗変化の急峻性を損なうことなく画像を取得することができる。
【0031】
<画像解析の手順>
次に、画像解析(画像処理)の手順について説明する。図3は、画像解析装置4の機能を説明するブロック図である。
まず、図1(a)に示されるように、被検体1、照明装置2、カメラ3をセッティングする。ここで、表面検査をすべき被検体1として選択されるものは、例えば、フィルム状の製品があげられるがこれに限定されるものではなく、ガラス等の透明板状体、金属シート材、表面塗装、生産財(自動車のボディ、各種製品の筐体、ディスプレイ装置の前面板等各種)、感光体等の、検査面が平滑なものが被検体1の例としてあげられる。
【0032】
次に、カメラ3により被検体1の画像を取り込む。取り込まれた画像は、画像解析装置4のA/D変換部40においてデジタルデータ化されて、フレームメモリ41に記憶される。ここで、画像データは8ビットの濃淡データとして表わされ、0(最も暗い)から255(最も明るい)までの256段階の濃度データ(輝度データ)として得ることができる。このデジタルデータ化された画像データをTVモニター5に表示させたのが図4に示される。これを説明の便宜上原画像と称する(Step0)。図4において、微細チェッカーパターンが緩やかに曲がっているのが見られるが、これは被検体1自身が3次元曲面を有するからであり、これは表面欠陥に該当しない。
【0033】
また、図4において微細チェッカーパターンの暗部2bに相当する部分は黒く、微細チェッカーパターンの明部2aに相当する部分は白くなっているが、これは図示の便宜上のためであり、被検体1の種類のよっては、明部2aに相当する部分がグレーに写し出されることもある。図4の中央部分には、中間調のグレーの部分が見られるが、この部分が表面欠陥であるものと推定される。
【0034】
図5は、図4の原出願に対してSobel変換(ソーベル変換)と呼ばれる、二次元勾配ベクトルを求める処理であり、これは図3の微分処理部44にて行われる。Sobel変換の原理を簡単に図8により説明する。注目画素をf(i,j)とした場合に、x方向の微分Δxは、

Figure 0003688520
で表わされる。その変換係数は図8に示されている通りである。
【0035】
図5は、Sobel変換を行なった後の画像(Step1:第1変換画像)を示すものである。この画像は、原画像における各画素の勾配値を表わすものであり、原画像と同じく8ビットの濃淡画像データとして示される。つまり明るい部分ほど勾配が大きいことを示している。また、Sobel変換の演算において255を超える値が演算された場合には、その値は255にする。
【0036】
次に、図3の第1欠陥候補抽出部42における処理内容を説明する。この第1欠陥候補抽出部42においては、図2(b)に示すように、第1しきい値と第2しきい値とを設定しており、第1しきい値よりも暗い部分と第2しきい値よりも明るい部分を除去する、即ち、該当する画素を0レベルに変換するものである。これは、表面欠陥が存在すると、暗部2bと明部2aの境界が緩やかになり中間調のグレーになるため、この中間調の画素を1レベルに変換して抽出しようとするものである。なお、これら第1、第2しきい値の値は被検体1の種類に応じて設定変更可能にするのが好ましい。画像変換をするには、予め画像変換用のテーブル(LUT)を用意しておくことにより効率よく処理することができる。
【0037】
次に、第2欠陥抽出部43(図3参照)において、前述した第1変換画像のうち、勾配の大きい部分を除去、すなわち、0レベルに変換する。この勾配が大きいと言うことは、明部2aから暗部2bへの変化、あるいは、暗部2bから明部2aへの変化が急激であることを意味するものであり、即ち、表面欠陥が存在しないことを意味するものである。つまり、図2(b)にも示されるように、表面欠陥が存在すると勾配の値が小さくなるので、勾配の大きな部分を除去することで、表面欠陥の部分を抽出することができる。この第2欠陥抽出部43における処理も、予め画像変換用のテーブル(LUT)を用意しておくのが好ましい。
【0038】
図4に示される原画像に対して、第1欠陥候補抽出部42と第2欠陥抽出部43において処理を施した後の画像(Step2:第2変換画像)を図6に示す。この画像は、0レベルか1レベルかの2値画像である。画像のほぼ中央部にまとまった1レベルの領域がみられるが、この領域が表面欠陥が存在する領域と推定される。また、この第2変換画像においては、表面欠陥が存在する領域以外にも、微小な1レベルの領域が点在している。これは、照明装置2のシェーディングの影響が除去しきれていなかったり、あるいは、正常部のチェッカーパターンの輪郭部に生じる中間調領域が本実験で抽出した輝度勾配の高い領域より1〜2画素程度大きいことにより、正常領域を誤って欠陥候補領域として検出したなどの理由によるものであり、これらの微小領域はノイズ成分であって表面欠陥ではない。これら微小領域は適切なシェーディング補正と輪郭領域の除去が行われれば発生しないと考えられる。適切なシェーディング補正と輪郭領域の除去が行われず、これら微小領域が欠陥候補領域として抽出された場合には、これら微小領域を処理するため収縮処理部45(微小領域処理部)にて周知の4近傍収縮処理を2回行い、微小な孤立点を除去することで誤検知を回避することができる。なお、収縮処理としては、8近傍収縮処理でも良い。収縮処理後の画像(Step3:第3変換画像)を図7に示す。図7も、2値画像であるが、中央部分にまとまった領域の1レベルの画素が見られる。
【0039】
欠陥判定部46では、第3変換画像に1レベルの画素が存在するか否かで、表面欠陥の有無を判定し、本実施形態では、1レベルの画素が1つでもあれば表面欠陥が存在するものと判定する。表面欠陥が存在する場合は、その旨をTVモニター5の画面に表示したり、別に設けられたランプに表示したり、適宜の手法で警告する。なお、欠陥判定部46における判定手法は上記に限定されず、1レベルの画素数が所定数以上のときに表面欠陥が存在するものと判定しても良い。
【0040】
図7に示される第3変換画像において、被検体1に表面欠陥が存在しない場合は、すべて0レベルの画像(真っ黒な画像)に変換されることになる。
【0041】
図9は、表面欠陥が存在しないと推定される被検体1の原画像を示す。図4と比較すると、微細チェッカーパターンが歪んでいるが中間調レベルの画素が存在しないことが理解される。つまり、3次元曲面のような、被検体1に許容され得る凹凸が存在していたとしても、微細チェッカーパターンは少し歪んだ画像となるが、中間調レベルの画素は現われることがないので、間違えて許容され得る凹凸を表面欠陥として誤検出してしまうと言うことがない。また、図5との比較のために、図9の原画像をSobel変換した画像を図10に示す。
【0042】
<テスト結果>
図11は、本発明による表面検査装置によるテスト結果を表で示すものである。欠陥種類はピラミッド型の凹凸が存在するフィルム(サンプルNo.1〜No.a)を用いた。欠陥の強度は、「強」「中」「弱」の3段階である。見え方A,Bとあるのは、原画像をオペレータが観察した場合に、表面欠陥がはっきりと認識できるものがAレベルであり、表面欠陥は存在するのだが見え方は図9に近いものがBレベルである。
【0043】
テスト1では視野120mm(撮影される画像の領域の底辺の長さが120mm)で行ない、テスト2では視野80mmで行なっている。表面欠陥が「強」「中」では、テスト1,2ともに、表面欠陥を確実に検出できている。また、オペレータが原画像の観察から表面欠陥であると判定できないような「弱」の表面欠陥であっても、テスト2においては高い確率で検出できており、本発明による表面検査方法の優れている点が実証できた。
【0044】
【発明の効果】
以上のように、微細チェッカーパターンを用いて、明部から暗部又は暗部から明部への明るさ変化の度合いを解析することにより、フィルム、ガラス面、塗装面、樹脂製品等の光沢面、などの表面欠陥を検出することができる。
【0045】
本発明の構成によれば、目視検査や公知技術1,2,3(従来技術の欄参照)では困難であった微小凹凸欠陥の発見が容易になった。
また、被検体に許容され得る曲面(凹凸分布)が存在する場合でも、これを表面欠陥として誤検出することなく確実に識別し、微小凹凸欠陥を容易に発見することができた。
また、公知技術2のように、フィードバック制御をするために表面欠陥のない被検体をわざわざ準備する必要もなく、低コストにて表面欠陥の検出をすることができた。
【図面の簡単な説明】
【図1】本実施形態にかかる表面検査装置の構成を示す図
【図2】本発明の原理を説明する図
【図3】画像解析装置の構成を説明するブロック図
【図4】表面欠陥が存在する原画像を示す図
【図5】Sobel変換後の第1変換画像を示す図
【図6】欠陥候補抽出を行なった後の第2変換画像を示す図
【図7】収縮処理を行なった後の第3変換画像を示す図
【図8】Sobel変換の変換式を示す図
【図9】表面欠陥のない原画像を示す図
【図10】図9の原画像に対しSobel変換を行なった画像を示す図
【図11】本発明による表面検査装置のテスト結果を示す表
【図12】従来技術を示す図
【符号の説明】
1 被検体
2 照明装置
2a 明部
2b 暗部
3 CCDエリアカメラ
4 画像解析装置
5 TVモニター
42 第1欠陥候補抽出部
43 第2欠陥抽出部
44 微分処理部
45 収縮処理部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a surface inspection apparatus and a surface inspection method, and more particularly to a surface inspection apparatus and a surface inspection method for inspecting defects generated on glossy surfaces such as a film surface, a glass surface, and a painted surface. .
[0002]
[Prior art]
Such surface inspection technology is used for inspecting minute uneven surface defects present on a flat surface or curved surface such as a film, a plate-shaped product, or a product body. Some specific examples of such techniques are given below.
[0003]
(1) Japanese Patent Application Laid-Open No. 5-18728 (hereinafter referred to as known art 1)
The known technique 1 includes an illuminating unit that projects a lattice pattern on the surface of a subject (belt-like object) and an imaging unit that images the projected pattern, and processes an image obtained by the imaging unit. A surface defect of the subject is detected by detecting a distorted pattern.
[0004]
(2) Japanese Patent Application Laid-Open No. 5-288533 (hereinafter referred to as known art 2)
In the known technique 2, a display pattern is generated by a pattern generator, and an object (glass, sheet material, metal sheet material, painted surface, etc.) is illuminated by a pattern display element (light source), Capture images from a camera. Then, the difference between the image captured from the camera and the output waveform of the pattern generator is calculated by an analog difference circuit to detect a surface defect.
[0005]
(3) Reflective scattering method (hereinafter referred to as known art 3)
As shown in FIG. 12A, the known technique 3 illuminates the subject 1 with the fluorescent lamp 10, takes a reflected image with the camera 3, and detects the distortion of the end of the fluorescent lamp 10. Detect that there is a defect.
[0006]
[Problems to be solved by the invention]
However, the above known technique has the following problems.
That is, in the method of detecting the distortion of the lattice pattern of the known technique 1, although very minute unevenness on the surface may be detected with high sensitivity, the unevenness distribution in which the subject itself is indefinite and acceptable is acceptable. When it has, it will become difficult to distinguish such uneven distribution from surface defects. As such an object, for example, there is a film in which warpage is likely to occur. In this case, it is assumed that unevenness of the surface distributed over a wide range is normal, and only unevenness that occurs locally must be detected as a defect. As another example, the body of a production good (various types such as automobiles, housings of various products, front plates of display devices, etc.) is rarely a flat surface, and is formed by a curved surface such as a three-dimensional curved surface. There are many cases. Therefore, when a surface defect is to be detected from a subject, it is desired that only a locally generated unevenness is detected as a surface defect instead of erroneously detecting such a curved surface (unevenness) as a defect. In the known technique 1, since the lattice pattern is distorted even if it has a slight curved surface, there is a problem in terms of accuracy of detection accuracy. In order to solve such problems, not only two-dimensional measurement of still images, but also techniques such as tracking the temporal image change by moving the subject are not conceivable, but very advanced technology There was a problem that it would be expensive.
[0007]
In the known technique 2, since a surface defect is detected from the difference between the image captured from the camera and the output waveform of the pattern generator, there is a possibility that it can be detected with high sensitivity to extremely minute irregularities on the surface. However, when the subject itself has an acceptable curved surface (uneven distribution), this may be detected as a difference and erroneously detected as a surface defect.
[0008]
Further, in this publicly known technology 2, using a material having only a three-dimensional shape having no minute waviness defect, the deviation between the number of fringes of image data captured from the camera and the set fringe pattern is calculated, A technique is also disclosed in which this is fed back to the deviation calculation circuit and finally controlled so that the deviation becomes zero, so that the allowable uneven distribution of the subject itself is not erroneously detected.
[0009]
However, there is a problem that not only the configuration of feedback control for preventing erroneous detection is complicated, but also that feedback control is required for each subject to be examined, and the work becomes complicated. It was.
[0010]
The same applies to the known technique 3. As shown in FIGS. 12B and 12C, there is a problem that even if the subject 1 has a warp that should originally be allowed, this is detected.
[0011]
OBJECT OF THE INVENTION
The present invention has been made in view of the above circumstances, and an object of the present invention is to easily and reliably detect a surface defect without erroneously detecting a curved surface (unevenness distribution) acceptable for the subject as a surface defect. It is to provide a surface inspection apparatus and a surface inspection method capable of performing the above.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, a surface inspection apparatus according to the present invention comprises:
Illumination means for illuminating the subject with a fine checker pattern composed of a repetitive pattern of bright and dark portions, an imaging means for imaging the subject illuminated with the checker pattern, and an image captured by the imaging means Image analysis means for analyzing the original image,
The image analysis means is configured to detect a surface defect of the subject by extracting and analyzing a halftone image portion between a distortion and a bright portion and a dark portion of the original image. It is a feature.
[0013]
The effect | action by this structure is as follows.
(A) The subject is illuminated with a predetermined fine checker pattern by the illumination means.
(B) The subject on which a predetermined fine checker pattern is illuminated (projected) is imaged by the imaging means.
(C) The image (original image) captured by the imaging unit is analyzed by the image analysis unit, and the degree of distortion of the original image and the brightness change of the bright part and the dark part are analyzed.
(D) The surface defect of the subject is detected based on the analysis result.
[0014]
The principle will be described with reference to FIG. When a predetermined fine checker pattern is imaged, there is a predetermined level difference between the brightness level (luminance value or photometric value) of the dark portion and the brightness level of the bright portion, and when there is no surface defect, FIG. As shown in FIG. 4, a sudden level change is observed at the boundary between the dark part and the bright part. On the other hand, if there is a surface defect, the level change becomes moderate at the boundary between the dark part and the bright part as shown in FIG. Therefore, a surface defect can be detected by extracting and analyzing the degree of brightness change from the bright part to the dark part or from the dark part to the bright part as a halftone image part .
[0015]
In addition, when there is a curved surface (unevenness distribution) that can be tolerated by the subject, the shape of the predetermined fine checker pattern to be imaged is imaged in a distorted state according to the shape of the curved surface. The possibility of being detected as the degree of change in brightness from the dark part to the bright part is extremely low or not at all, and it is not erroneously detected as a surface defect, and the certainty is increased. In addition, unlike the known technique 2, it is not necessary to prepare a subject having no surface defect in order to perform feedback control, which is simple. As a result, it has been possible to provide a surface inspection apparatus that can easily and reliably detect a surface defect without erroneously detecting a curved surface (unevenness distribution) acceptable for the subject as a surface defect.
[0016]
As a preferred embodiment of the present invention, the fine checker pattern is a checker pattern in which a bright part and a dark part are arranged at a dimensional ratio of 1: 1. An example of this checker pattern is shown in FIG. According to the principle of the present invention, the surface defect can be detected using such a checker pattern at the boundary part between the bright part and the dark part. Therefore, a checker pattern in which as many repeating patterns as possible are provided. Is good. For this purpose, it is preferable to arrange the bright part and the dark part at a dimensional ratio of 1: 1.
[0017]
As another preferred embodiment of the present invention, the imaging means is focused on the checker pattern of the illumination means.
Even when the subject is imaged by the imaging means, the imaging means usually images the subject from an oblique direction as shown in FIG. In this case, even if an attempt is made to focus on the subject, the entire subject cannot be focused because the distance between the upper end and the lower end of the subject is different from the imaging means. That is, an accurate surface inspection cannot be performed. Therefore, by focusing on the light / dark pattern of the illumination means, it is possible to capture an image in which the entire screen is in focus, and to perform an accurate surface inspection. Incidentally, as can be understood from FIG. 1A, the imaging means and the illumination means can be equivalently faced.
[0018]
As still another preferred embodiment of the present invention, the image analyzing means obtains a halftone image in which the brightness of each of a bright portion having a predetermined luminance or higher and a dark portion having a predetermined luminance or lower is 0 from the original image. A defect candidate extraction unit;
A differential processing unit for performing a differential process on the original image to obtain a first converted image;
A pixel having a large gradient in the first converted image is extracted, or both the extracted pixel and a pixel in the vicinity thereof are extracted, and the luminance of the pixel corresponding to the extracted pixel in the obtained halftone image is determined. 0 includes a second defect extraction unit that removes a normal region.
[0019]
The operation of the image analysis means with this configuration is as follows.
(E) A halftone level pixel is extracted by removing a bright portion above a predetermined level and a dark portion below a predetermined level from the original image. Removal means converting a corresponding pixel into a signal of 0 level, and extracting a halftone level pixel means converting the corresponding pixel to 1 level, for example.
(F) Differentiating the original image to obtain a first converted image. This differentiation process is performed in order to obtain the gradient in the image. For example, Sobel differentiation is used.
(G) A portion having a large gradient is extracted from the first converted image, and pixels having a large gradient are removed from the original image. This removal means, for example, converting a corresponding pixel in a portion with a large gradient to 0 level. This is because, as described above with reference to FIG. 2B, the normal part without surface defects has a sharp gradient at the boundary between the dark part and the bright part, so that the gradient increases.
[0020]
The presence of surface defects can be detected by the procedure as described above. In addition, it is not necessary to process the said effect | action in the order of (e) (f) (g), For example, you may process in the order of (f) (g) (e).
[0021]
As still another preferred embodiment of the present invention, the image analysis means further removes a micro region from the second converted image that has been processed by the first defect candidate extraction unit and the second defect extraction unit. And a micro-region processing unit that performs the processing.
[0022]
When surface defects have been extracted by the processing performed by the first defect candidate extraction unit and the second defect extraction unit that have already been described, but in addition to regions where surface defects exist, minute one-level regions are scattered There is. This is because the influence of shading of the lighting device has not been completely removed, so that the halftone luminance range was not properly selected, and the halftone area generated in the outline of the normal checker pattern is A normal area is erroneously detected as a defect candidate area by being about 1 to 2 pixels larger than the extracted area having a high luminance gradient. These regions are considered not to occur if appropriate shading correction and contour region deletion are performed, but can be removed by using, for example, a well-known contraction process by further providing the minute region processing unit. And a highly reliable surface inspection apparatus.
[0023]
In order to achieve the object of the present invention, the surface inspection method according to the present invention comprises:
Illuminating the subject with a fine checker pattern composed of a repetitive pattern of bright and dark portions , imaging the subject with the fine checker pattern illuminated, and the original imaged by the imaging means Analyzing the image,
The step of analyzing the image includes a step of extracting and analyzing a halftone image portion between a distortion and a bright portion and a dark portion of the original image, and a step of detecting a surface defect of the subject from the degree of the change. It is characterized by having.
[0024]
The operation by this configuration is the same as (a) (b) (c) (d) as described above, and the effect by this operation is also as described above.
[0025]
As a preferred embodiment of the present invention, the step of analyzing the image includes a first defect candidate extraction step for obtaining a halftone image in which the brightness of a bright portion of a predetermined level or higher and a dark portion of a predetermined level or lower is 0 from the original image. A differential processing step of performing a differential process on the original image to obtain a first converted image, and extracting a pixel having a large gradient of the first converted image, or both the extracted pixel and a pixel in the vicinity thereof The extracted halftone image includes a second defect extraction step in which the luminance of the pixel corresponding to the extracted pixel is set to 0 and a normal area is removed. Further, there may be mentioned one having a step of removing a minute region after performing the first defect candidate extraction step and the second defect extraction step.
[0026]
The operation by this configuration is the same as (e) (f) (g) as described, and the effect by this operation is also as described.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a surface inspection apparatus according to the present embodiment.
In FIG. 1A, this surface inspection apparatus includes an illuminating device 2 (corresponding to an illuminating means) that illuminates a subject 1 with a fine checker pattern, and a subject 1 illuminated with the fine checker pattern. A CCD area camera 3 for imaging (corresponding to imaging means, hereinafter simply referred to as a camera), an image analysis device 4 for analyzing an image captured by the camera 3 (corresponding to image analysis means), and an image. And a TV monitor 5 for projecting.
[0028]
Details of the fine checker pattern of the illumination device 2 are shown in FIG. In this fine checker pattern, bright portions 2a and dark portions 2b are alternately repeated,
The dimension ratio (duty ratio) in the x direction is xB: xW = 1: 1.
The dimensional ratio in the y direction is yB: yW = 1: 1,
Furthermore, xB = yB and xW = yW. That is, the bright part 2a and the dark part 2b are squares of the same size.
[0029]
Although the principle of the present invention has already been described with reference to FIG. 2, if a surface defect exists, it is detected that the brightness level becomes moderate at the boundary between the bright part 2 a and the dark part 2 b, and therefore, the bright part 2 a. And dark portions 2b are preferably present as many as possible. For this purpose, it is reasonable to set the dimensional ratio of the dark part 2b and the bright part 2a to 1: 1. Further, from the relationship with the number of pixels of the CCD of the camera 3, if the bright portion 2 a and the dark portion 2 b are made too fine, the resolution is lowered. Therefore, in this embodiment, one side is about 10 pixels of the CCD. It is set as follows.
[0030]
Further, the focus (focus) of the camera 3 is adjusted so as to focus on the fine checker pattern of the illumination device 2, not the subject 1. As shown in FIG. 1A, since the camera 3 captures the subject 1 from an oblique direction, the camera 3 is positioned between the lower end and the upper end of the subject 1 even when focusing on the subject 1. Since the distance from is different, the entire subject 1 cannot be focused. Further, in the present invention, it is desirable that the change in brightness in the normal portion is large, but for that purpose, it is natural to focus on the brightness pattern of the illumination means. When the subject is focused, the light / dark pattern of the illumination means is observed as a blurred image, so that sufficient detection accuracy cannot be obtained. The light / dark pattern of the illuminating means and the imaging means are equivalently facing each other through the subject, and the entire screen can be focused, and an image can be acquired without impairing the steepness of the light / dark change. it can.
[0031]
<Image analysis procedure>
Next, a procedure for image analysis (image processing) will be described. FIG. 3 is a block diagram illustrating functions of the image analysis device 4.
First, as shown in FIG. 1A, the subject 1, the illumination device 2, and the camera 3 are set. Here, what is selected as the subject 1 to be surface-inspected is, for example, a film-like product, but is not limited to this. A transparent plate-like body such as glass, a metal sheet material, a surface Examples of the specimen 1 include those having a smooth inspection surface, such as painting, production goods (car bodies, various product casings, front plates of display devices, etc.), and photoreceptors.
[0032]
Next, the camera 3 captures an image of the subject 1. The captured image is converted into digital data by the A / D converter 40 of the image analysis device 4 and stored in the frame memory 41. Here, the image data is represented as 8-bit grayscale data, and can be obtained as 256-level density data (luminance data) from 0 (darkest) to 255 (brightest). FIG. 4 shows that the digitalized image data is displayed on the TV monitor 5. This is referred to as an original image for convenience of description (Step 0). In FIG. 4, it can be seen that the fine checker pattern is gently bent because the subject 1 itself has a three-dimensional curved surface, which does not correspond to a surface defect.
[0033]
Further, in FIG. 4, the portion corresponding to the dark portion 2b of the fine checker pattern is black and the portion corresponding to the bright portion 2a of the fine checker pattern is white. Depending on the type, the portion corresponding to the bright portion 2a may be projected in gray. In the central part of FIG. 4, a halftone gray part is seen, but this part is presumed to be a surface defect.
[0034]
FIG. 5 is a process for obtaining a two-dimensional gradient vector called Sobel transform (Sobel transform) for the original application of FIG. 4, and this is performed by the differentiation processing unit 44 of FIG. 3. The principle of Sobel transformation will be briefly described with reference to FIG. When the pixel of interest is f (i, j), the differential Δx in the x direction is
Figure 0003688520
It is represented by The conversion coefficient is as shown in FIG.
[0035]
FIG. 5 shows an image after the Sobel conversion (Step 1: first converted image). This image represents the gradient value of each pixel in the original image, and is shown as 8-bit grayscale image data as in the original image. In other words, the brighter the portion, the greater the gradient. If a value exceeding 255 is calculated in the Sobel transformation, the value is set to 255.
[0036]
Next, the processing content in the 1st defect candidate extraction part 42 of FIG. 3 is demonstrated. In the first defect candidate extraction unit 42, as shown in FIG. 2 (b), the first threshold value and the second threshold value are set, and a portion darker than the first threshold value and the second threshold value are set. A portion brighter than the threshold value is removed, that is, the corresponding pixel is converted to 0 level. This is because if there is a surface defect, the boundary between the dark portion 2b and the light portion 2a becomes gentle and becomes halftone gray, and this halftone pixel is converted to one level and extracted. It is preferable that the first and second threshold values can be set and changed according to the type of the subject 1. In order to perform image conversion, an image conversion table (LUT) is prepared in advance, whereby efficient processing can be performed.
[0037]
Next, in the second defect extraction unit 43 (see FIG. 3), a portion having a large gradient is removed from the first converted image described above, that is, converted to 0 level. The fact that the gradient is large means that the change from the bright part 2a to the dark part 2b or the change from the dark part 2b to the bright part 2a is abrupt, that is, there is no surface defect. Means. That is, as shown in FIG. 2B, since the value of the gradient is reduced when the surface defect exists, the surface defect portion can be extracted by removing the portion having the large gradient. It is preferable to prepare an image conversion table (LUT) in advance for the processing in the second defect extraction unit 43 as well.
[0038]
FIG. 6 shows an image (Step 2: second converted image) after the first defect candidate extraction unit 42 and the second defect extraction unit 43 perform processing on the original image shown in FIG. This image is a binary image of 0 level or 1 level. A one-level region is observed in the center of the image, and this region is estimated to be a region where surface defects exist. Further, in the second converted image, in addition to the region where the surface defect exists, minute one-level regions are scattered. This is because the influence of the shading of the lighting device 2 is not completely removed, or the halftone region generated in the contour portion of the normal checker pattern is about 1 to 2 pixels from the region having a high luminance gradient extracted in this experiment. This is because the normal area is erroneously detected as a defect candidate area due to its large size, and these minute areas are noise components and not surface defects. These minute regions are considered not to occur if appropriate shading correction and contour region removal are performed. In the case where appropriate shading correction and outline region removal are not performed and these minute regions are extracted as defect candidate regions, the shrinkage processing unit 45 (minute region processing unit) 4 known to process these minute regions. Misdetection can be avoided by performing neighborhood contraction processing twice and removing minute isolated points. As the contraction process, an 8-neighbor contraction process may be used. FIG. 7 shows an image after the contraction process (Step 3: third converted image). FIG. 7 is also a binary image, but one-level pixels in a region gathered at the center can be seen.
[0039]
The defect determination unit 46 determines whether or not there is a surface defect depending on whether or not one level pixel exists in the third converted image. In this embodiment, if there is one pixel at one level, a surface defect exists. It is determined to be. If there is a surface defect, the fact is displayed on the screen of the TV monitor 5, displayed on a lamp provided separately, or warned by an appropriate method. Note that the determination method in the defect determination unit 46 is not limited to the above, and it may be determined that a surface defect exists when the number of pixels at one level is a predetermined number or more.
[0040]
In the third converted image shown in FIG. 7, when there is no surface defect in the subject 1, all the images are converted to a 0 level image (a black image).
[0041]
FIG. 9 shows an original image of the subject 1 estimated to have no surface defect. Compared to FIG. 4, it can be seen that the fine checker pattern is distorted but there are no halftone pixels. In other words, even if there are irregularities that can be allowed on the subject 1, such as a three-dimensional curved surface, the fine checker pattern becomes a slightly distorted image, but the halftone level pixels do not appear, so it is wrong. Therefore, it cannot be said that irregularities that can be tolerated are erroneously detected as surface defects. For comparison with FIG. 5, FIG. 10 shows an image obtained by Sobel transforming the original image of FIG.
[0042]
<Test results>
FIG. 11 is a table showing test results obtained by the surface inspection apparatus according to the present invention. The defect type used was a film (samples No. 1 to No. a) having pyramidal irregularities. There are three levels of defect strength: “strong”, “medium”, and “weak”. The appearances A and B are those where the surface defect can be clearly recognized when the operator observes the original image at the A level. Although the surface defect exists, the appearance is similar to FIG. B level.
[0043]
Test 1 is performed with a field of view of 120 mm (the length of the base of the imaged area is 120 mm), and Test 2 is performed with a field of view of 80 mm. When the surface defect is “strong” and “medium”, both the tests 1 and 2 can reliably detect the surface defect. Even a “weak” surface defect that cannot be determined as a surface defect from the observation of the original image can be detected with high probability in Test 2, and the surface inspection method according to the present invention is excellent. I was able to prove that.
[0044]
【The invention's effect】
As described above, by using a fine checker pattern, by analyzing the degree of change in brightness from a bright part to a dark part or from a dark part to a bright part, a glossy surface such as a film, a glass surface, a painted surface, a resin product, etc. It is possible to detect surface defects.
[0045]
According to the configuration of the present invention, it has become easy to find minute irregularities that have been difficult by visual inspection and publicly known techniques 1, 2 and 3 (see the column of the prior art).
Moreover, even when a curved surface (unevenness distribution) that can be accepted by the subject exists, it was possible to identify the surface without being erroneously detected as a surface defect and to easily find a minute unevenness defect.
Further, unlike the prior art 2, it is not necessary to prepare a specimen having no surface defect for feedback control, and the surface defect can be detected at a low cost.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating the configuration of a surface inspection apparatus according to the present embodiment. FIG. 2 is a diagram illustrating the principle of the present invention. FIG. 3 is a block diagram illustrating the configuration of an image analysis apparatus. FIG. 5 is a diagram showing a first transformed image after Sobel transformation. FIG. 6 is a diagram showing a second transformed image after defect candidate extraction is performed. FIG. FIG. 8 is a diagram illustrating a conversion image of the Sobel transform; FIG. 9 is a diagram illustrating an original image having no surface defect. FIG. 10 is a Sobel transform performed on the original image in FIG. FIG. 11 is a table showing test results of the surface inspection apparatus according to the present invention. FIG. 12 is a diagram showing the prior art.
DESCRIPTION OF SYMBOLS 1 Subject 2 Illumination device 2a Bright part 2b Dark part 3 CCD area camera 4 Image analysis apparatus 5 TV monitor 42 First defect candidate extraction part 43 Second defect extraction part 44 Differentiation processing part 45 Contraction processing part

Claims (8)

明部と暗部の繰り返しパターンにより構成される微細チェッカーパターンを被検体に対して照明する照明手段と、
前記微細チェッカーパターンが照明された前記被検体を撮像する撮像手段と、
この撮像手段により撮像された原画像を解析する画像解析手段とを備えた表面検査装置において、
前記画像解析手段は、前記原画像中の微細チェッカーパターンのゆがみと明部と暗部の間の中間調の画像部分を抽出して解析することにより、前記被検体の表面欠陥を検出するように構成されていることを特徴とする表面検査装置。
Illuminating means for illuminating the subject with a fine checker pattern composed of a repeating pattern of bright and dark parts ,
Imaging means for imaging the subject illuminated with the fine checker pattern;
In the surface inspection apparatus provided with the image analysis means for analyzing the original image imaged by the imaging means,
The image analysis means is configured to detect a surface defect of the subject by extracting and analyzing a distortion of a fine checker pattern in the original image and a halftone image portion between a bright portion and a dark portion. Surface inspection apparatus characterized by being made.
前記微細チェッカーパターンは、明部と暗部とが1:1の寸法比で配置されたチェッカーパターンであり、且つ各々のチェッカーパターンの大きさは、検出すべき表面欠陥の形状ならびに寸法に依存することを特徴とする請求項1に記載の表面検査装置。  The fine checker pattern is a checker pattern in which a bright part and a dark part are arranged at a dimensional ratio of 1: 1, and the size of each checker pattern depends on the shape and size of a surface defect to be detected. The surface inspection apparatus according to claim 1. 前記撮像手段は、前記照明手段の前記微細チェッカーパターンに焦点が合わせられることを特徴とする請求項1又は2に記載の表面検査装置。  The surface inspection apparatus according to claim 1, wherein the imaging unit is focused on the fine checker pattern of the illumination unit. 前記画像解析手段は、前記原画像から所定の輝度以上の明部と所定の輝度以下の暗部それぞれの輝度を0とした中間調画像を求める第1欠陥候補抽出部と、
前記原画像に対して微分処理を施して第1変換画像を求める微分処理部と、前記第1変換画像の勾配の大きな画素を抽出、もしくは前記抽出された画素とその極近傍の画素の両者を抽出し、前記求められた中間調画像において、前記抽出画素に対応する画素の輝度を0として正常領域を除去する第2欠陥抽出部とを備えていることを特徴とする請求項1〜3のいずれか1項に記載の表面検査装置。
The image analysis means includes a first defect candidate extraction unit for obtaining a halftone image in which the brightness of each of a bright part having a predetermined luminance or higher and a dark part having a predetermined luminance or lower is 0 from the original image;
A differential processing unit that performs a differential process on the original image to obtain a first converted image, and extracts a pixel having a large gradient in the first converted image, or both the extracted pixel and a pixel in the vicinity thereof A second defect extraction unit that extracts and removes a normal area by setting the luminance of a pixel corresponding to the extracted pixel to 0 in the obtained halftone image is provided. The surface inspection apparatus of any one of Claims.
前記画像解析手段は、更に、前記第1欠陥候補抽出部および第2欠陥抽出部による処理が施された第2変換画像に対して微小領域を除去する微小領域処理部を備えていることを特徴とする請求項4に記載の表面検査装置。  The image analysis means further includes a micro region processing unit that removes a micro region from the second converted image that has been processed by the first defect candidate extraction unit and the second defect extraction unit. The surface inspection apparatus according to claim 4. 明部と暗部の繰り返しパターンにより構成される微細チェッカーパターンを被検体に対して照明するステップと、前記微細チェッカーパターンが照明された前記被検体を撮像するステップと、
この撮像手段により撮像された原画像を解析するステップとを有する表面検査方法において、
前記画像を解析するステップは、前記原画像のチェッカーパターンのゆがみおよび明部と暗部の間の中間調の画像部分を抽出して解析するステップと、このゆがみおよび変化の度合いから前記被検体の表面欠陥を検出するステップとを有することを特徴とする表面検査方法。
Illuminating a subject with a fine checker pattern composed of a repetitive pattern of bright and dark portions, and imaging the subject illuminated with the fine checker pattern;
A surface inspection method including a step of analyzing an original image imaged by the imaging means,
The step of analyzing the image includes a step of extracting and analyzing a checker pattern distortion of the original image and a halftone image part between a bright part and a dark part, and a surface of the subject based on the degree of the distortion and the change. And a step of detecting a defect.
前記画像を解析するステップは、前記原画像から所定の輝度以上の明部と所定の輝度以下の暗部それぞれの輝度を0とした中間調画像を求める第1欠陥候補抽出ステップと、
原画像に対して微分処理を施して第1変換画像を求める微分処理ステップと、前記第1変換画像の勾配の大きな画素を抽出、もしくは前記抽出された画素とその極近傍の画素の両者を抽出し、前記求められた中間調画像において、前記抽出画素に対応する画素の輝度を0として正常領域を除去する第2欠陥抽出ステップとを有することを特徴とする請求項6項に記載の表面検査方法。
The step of analyzing the image includes a first defect candidate extraction step for obtaining a halftone image in which the brightness of each of a bright part having a predetermined luminance or higher and a dark part having a predetermined luminance or lower is 0 from the original image;
A differential processing step for obtaining a first converted image by performing differential processing on the original image, and extracting a pixel having a large gradient of the first converted image, or extracting both the extracted pixel and a pixel in the vicinity thereof The surface inspection according to claim 6, further comprising: a second defect extracting step of removing a normal area by setting a luminance of a pixel corresponding to the extracted pixel to 0 in the obtained halftone image. Method.
前記第1欠陥候補抽出ステップおよび第2欠陥抽出ステップを施した後、微小領域を除去するステップを有することを特徴とする請求項7に記載の表面検査方法。  The surface inspection method according to claim 7, further comprising a step of removing a minute region after performing the first defect candidate extraction step and the second defect extraction step.
JP19226799A 1999-07-06 1999-07-06 Surface inspection apparatus and surface inspection method Expired - Fee Related JP3688520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19226799A JP3688520B2 (en) 1999-07-06 1999-07-06 Surface inspection apparatus and surface inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19226799A JP3688520B2 (en) 1999-07-06 1999-07-06 Surface inspection apparatus and surface inspection method

Publications (2)

Publication Number Publication Date
JP2001021332A JP2001021332A (en) 2001-01-26
JP3688520B2 true JP3688520B2 (en) 2005-08-31

Family

ID=16288448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19226799A Expired - Fee Related JP3688520B2 (en) 1999-07-06 1999-07-06 Surface inspection apparatus and surface inspection method

Country Status (1)

Country Link
JP (1) JP3688520B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010121913A1 (en) * 2009-04-22 2010-10-28 Manroland Ag Method for determining the quality of a print product
JP2015075483A (en) * 2013-10-10 2015-04-20 英治 神谷 Defect detection method of optically transparent film
CN106091997A (en) * 2016-06-01 2016-11-09 广州视睿电子科技有限公司 The method of tested glass performance, Apparatus and system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4633245B2 (en) * 2000-11-06 2011-02-16 住友化学株式会社 Surface inspection apparatus and surface inspection method
JP2004191070A (en) * 2002-12-06 2004-07-08 Daihatsu Motor Co Ltd Coated surface inspection apparatus
JP4518979B2 (en) * 2005-03-03 2010-08-04 ライトロン株式会社 Apparatus and method for visualizing fine sample, apparatus and method for visualizing fine lattice disturbance
US7391510B2 (en) 2006-01-26 2008-06-24 Orbotech Ltd System and method for inspecting patterned devices having microscopic conductors
JP4666273B1 (en) * 2010-05-18 2011-04-06 住友金属工業株式会社 Method for measuring flatness of plate material and method for producing steel plate using the same
CN101936919B (en) * 2010-08-06 2012-02-22 清华大学 Computer vision based glass quality detection device and measuring method thereof
JP6732243B1 (en) * 2019-10-15 2020-07-29 英治 神谷 Defect detection device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05288533A (en) * 1992-04-13 1993-11-02 Mitsubishi Electric Corp Surface swell inspecting device
JP3201217B2 (en) * 1995-04-17 2001-08-20 日産自動車株式会社 Surface defect inspection equipment
JP3411829B2 (en) * 1997-07-02 2003-06-03 旭硝子株式会社 Method and apparatus for evaluating surface shape

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010121913A1 (en) * 2009-04-22 2010-10-28 Manroland Ag Method for determining the quality of a print product
JP2015075483A (en) * 2013-10-10 2015-04-20 英治 神谷 Defect detection method of optically transparent film
CN106091997A (en) * 2016-06-01 2016-11-09 广州视睿电子科技有限公司 The method of tested glass performance, Apparatus and system
CN106091997B (en) * 2016-06-01 2019-12-17 广州视睿电子科技有限公司 Method, device and system for testing glass performance

Also Published As

Publication number Publication date
JP2001021332A (en) 2001-01-26

Similar Documents

Publication Publication Date Title
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP4633245B2 (en) Surface inspection apparatus and surface inspection method
JP3185559B2 (en) Surface defect inspection equipment
JP3688520B2 (en) Surface inspection apparatus and surface inspection method
JP2009097922A (en) Visual inspection method and apparatus
JPH03160349A (en) Device for detecting crack
JP3189588B2 (en) Surface defect inspection equipment
JP2019200775A (en) Surface defect inspection device and surface defect inspection method
JPH041866A (en) Method and device for image processing
JPH0979988A (en) Surface defect inspecting device
JP3412366B2 (en) Coating smoothness inspection device
JP2003167529A (en) Method and device for picture defect detection, and program for picture defect detection
JP3871963B2 (en) Surface inspection apparatus and surface inspection method
JP4184511B2 (en) Method and apparatus for defect inspection of metal sample surface
JP2001235319A (en) Shading correcting apparatus and shading correcting method, and surface inspection apparatus
JP4115378B2 (en) Defect detection method
JPH1010053A (en) Inspection device for surface defect
JP2004037134A (en) Method and apparatus for inspecting metal mask
JPH0624014B2 (en) Gray image processing method
JP2638121B2 (en) Surface defect inspection equipment
JP3941403B2 (en) Image density unevenness detection method and inspection apparatus
JPH0682390A (en) Method and apparatus for inspecting surface defect
JP3038092B2 (en) Appearance inspection method
JP3609136B2 (en) Semiconductor device inspection method and apparatus
JPH0382940A (en) Detection of inner surface defect of cylindrical work

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050315

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050512

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050608

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130617

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees