JP2004226212A - Method and device for detecting pinhole defect and contamination defect on transparent object - Google Patents

Method and device for detecting pinhole defect and contamination defect on transparent object Download PDF

Info

Publication number
JP2004226212A
JP2004226212A JP2003013798A JP2003013798A JP2004226212A JP 2004226212 A JP2004226212 A JP 2004226212A JP 2003013798 A JP2003013798 A JP 2003013798A JP 2003013798 A JP2003013798 A JP 2003013798A JP 2004226212 A JP2004226212 A JP 2004226212A
Authority
JP
Japan
Prior art keywords
defect
luminance
original image
image
candidate
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.)
Granted
Application number
JP2003013798A
Other languages
Japanese (ja)
Other versions
JP4212904B2 (en
Inventor
Satoru Kamiyoshi
哲 神吉
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.)
Nippon Sheet Glass Co Ltd
Original Assignee
Nippon Sheet Glass 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 Nippon Sheet Glass Co Ltd filed Critical Nippon Sheet Glass Co Ltd
Priority to JP2003013798A priority Critical patent/JP4212904B2/en
Publication of JP2004226212A publication Critical patent/JP2004226212A/en
Application granted granted Critical
Publication of JP4212904B2 publication Critical patent/JP4212904B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To eliminate setting for a dot position by type of glass, and to enhance thereby versatility for a dot portion. <P>SOLUTION: An image processing means 15 processes an image of a transparent object 3 imaged by an image pick-up means 14, and detects a defect of the transparent object 3 containing a dotlike printing portion in its one portion. An original image of the transparent object 3 is formed into blocks in every of m×n picture elements, and a value of the maximum brightness-the minimum brightness within the each block serves as brightness of the block. The blocks of a prescribed brightness level or more are extracted to serve as defect candidates, and the candidates including the blocks of a prescribed number or more are excepted from the candidates. A kind of the defect in the defect candidate is determined based on the brightness of the original image in a periphery of the block of the defect candidate. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ガラス板等の透明体上の欠点を検出する方法および装置に関し、特に、自動車用ガラス等のドット状のプリント部分を含む透明体について、ベタプリント部分に存在するピンホール欠点と透明部分に存在する汚れ欠点とを検出する方法および装置に関する。
【0002】
【従来の技術】
従来、ガラス板のような透明体に含まれる欠点を検出する方法として、例えば特許文献1に開示される手法が知られている。一方、自動車用ガラスにおいては、周囲に黒プリントを施す場合がある。ここで、プリント部分に抜けがあったり(ピンホール)、また透明部分にインクが付着すると(インク付着)欠点となる。
【0003】
このような欠点を検出する方法として、透過明視野方式を用い、周囲は暗く局所的に明るい部分(ピンホール)および周囲は明るく局所的に暗い部分(インク汚れ)を検出する方法がある。
【0004】
以下従来の欠点検出方法について図面を用いて説明する。図1は、従来の欠点検出方法を説明する概略図であり、図2は、欠点を伴う自動車用ガラスの一例を示す図であり、図3および図4は、ドット状プリントを含む自動車ガラスの一例を示す図であり、図5は、従来の欠点検出方法を説明する概略図である。
【0005】
図1において、2は蛍光灯などの照明であり、4はラインセンサカメラなどの撮像手段である。この例においては、検査対象であるガラス板などの透明体3が、照明2と撮像手段4との間を一定方向に流される。そして、照明2によって透明体3に光が照射され、撮像手段4によって透明体3が順次撮像される。
【0006】
透明体3の例として、自動車用ガラスには、図2に示すように、ベタプリント部分にピンホール欠点5が存在し、また透明部分にインク汚れ欠点6が存在する場合がある。このような透明体3をラインセンサカメラ4で撮像し、撮像された画像に対して画像処理を行ってベタプリント部分のピンホール欠点や透明部分のインク汚れ欠点を検出する。
【0007】
一方、自動車用ガラスの中には、主にデザイン上の理由からプリントはベタだけでなくドット状のプリントを含む場合もある。例えば図3,4に示すように、ガラスの外周部分に一定幅のベタプリント部分7を有し、その内側に一定幅のドット状プリント部分8を有するものがある。
【0008】
このようなドット状プリント部分を一部に含むガラス板の場合に、上記従来技術を用いると、ドット部分では明暗が混在するため、誤判定(見すぎ)が増大する。これを避けるため、ドット部分は検査対象から外すようプログラム処理を行う場合が多い。具体的には、図5に示すように、プログラムの処理によって、ガラス板の画像内のドット状プリント領域8を検査対象から外すようにする。
【0009】
【特許文献1】
特開2002−83303号公報
【0010】
【発明が解決しようとする課題】
しかしながら、ガラスの形状およびマスキング(プリント)形状は品種によって異なるため、全ての品種に対して設定を行う必要がある。つまり、検査対象から除外する画像領域の設定を、それぞれの品種毎に別個に行わなければならない。さらに、同一品種であってもプリント位置精度や搬送精度のばらつきにより、カメラで取り込まれた画像内でのドットマスキング(プリント)部分の位置は微妙に異なる。そのため、除外設定範囲をドット範囲に対して厳密に行うと、ドット画像領域がその範囲から外れてしまい、ドット範囲が検査されてしまうことになる。逆に、除外設定範囲を緩く(大きめに)すると、ドット範囲が設定範囲からは外れにくくなるが、検査の対象となる部分が小さくなってしまい、検出すべき欠点部分を含む画像領域が検査対象から除外されてしまう可能性が生じるという問題があった。
【0011】
本発明の課題は、ガラスの品種ごとのドット位置の設定が不要な、したがってドット部分に対する汎用性が高い、ピンホール欠点および汚れ欠点を検出する方法および装置を提供することである。
【0012】
【課題を解決するための手段】
そこで、本発明は、検査対象から除外する範囲を予め設定するのではなく、ドット部分と欠点部分とを含む透明体の画像の全範囲を検査対象とし、その上でドット部分のみを識別して欠点候補から除外するようにする。
【0013】
具体的には、本発明は、ドット状プリント部分を一部に含む透明体の欠点を検出する装置を提供する。この装置は、前記透明体を撮像する撮像手段と、前記撮像手段によって撮像された前記透明体の画像を処理する画像処理手段とを備え、前記画像処理手段は、前記透明体の画像を原画像とし、前記原画像を縦m画素 × 横n画素(m,nは自然数)ごとの複数のブロックにブロック化し、それぞれのブロックについて画素の最大輝度 − 最小輝度の値である高低差フィルタ値を求め、求められた高低差フィルタ値をそのブロックの輝度に設定して前記原画像を圧縮した圧縮画像を生成する高低差フィルタ手段と、前記圧縮画像を対象として、前記ブロックの輝度と所定の輝度レベルとの比較を行い、前記輝度レベル以上の輝度を有する前記圧縮画像内の高輝度領域を識別し、前記識別した高輝度領域を欠点候補として抽出する欠点候補抽出手段と、前記欠点候補を対象として、それぞれの欠点候補を構成するブロックの数が所定のブロック基準数以上か否か判別し、前記ブロック基準数以上の数のブロックから構成される欠点候補を除外する非欠点候補除外手段と、を有する。
【0014】
上記のような構成により、検査対象である透明体の一部にドット状のプリント部分が含まれる場合であっても、ドット部分を欠点候補から自動的に外すことができる。
【0015】
また、前記画像処理手段は、前記欠点候補の領域の周囲の原画像を切り出し、前記切り出された原画像の輝度と前記輝度レベルとを比較し、前記切り出された原画像の輝度が前記輝度レベル以上の場合には、前記欠点候補を汚れ欠点と判別し、前記切り出された原画像の輝度が前記輝度レベル未満の場合には、前記欠点候補をピンホール欠点と判別する欠点種類識別手段を、さらに有する。
【0016】
このような構成により、検査対象である透明体の一部にドット状のプリント部分が含まれ、かつ、ピンホール欠点および汚れ欠点の双方を含む場合であっても、ピンホール欠点および汚れ欠点を識別して検出することができる。
【0017】
そして、前記画像処理手段は、前記判別されたピンホール欠点の数と設計上のピンホール数とを比較し、前記判別されたピンホール欠点の数のほうが多い場合には、前記透明体内にピンホール欠点が存在すると判定するピンホール欠点判定手段と、前記判別された汚れ欠点の数とベタプリント以外の設計上のプリント数とを比較し、前記判別された汚れ欠点の数のほうが多い場合には、前記透明体内に汚れ欠点が存在すると判定する汚れ欠点判定手段とを、さらに有する。
【0018】
このようにすることにより、ベタプリント部分に設計上のピンホールが含まれており、透明部分に設計上の小プリントが含まれている場合であっても、欠点の有無を判別することができる。
【0019】
また、上記欠点検出装置の発明は、方法の発明としても成立する。また、上記発明は、コンピュータに所定の機能を実現させるプログラムまたはそのプログラムを記録した記録媒体としても成立する。
【0020】
また、本明細書における手段は、ハードウェア、ソフトウェアまたはハードウェアおよびソフトウェアの組み合わせにより実現可能である。ハードウェアおよびソフトウェアの組み合わせによる実行は、例えば、所定のプログラムを有するコンピュータ・システムにおける実行が該当する。
【0021】
そして、1つの手段が有する機能が2つ以上のハードウェア、ソフトウェアまたはハードウェアおよびソフトウェアの組み合わせにより実現されても、2つ以上の手段の機能が1つのハードウェア、ソフトウェアまたはハードウェアおよびソフトウェアの組み合わせにより実現されてもよい。
【0022】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して説明する。まず、本発明の実施の形態に係る欠点検出装置について説明する。図6は、本発明の実施の形態に係る欠点検出装置を示す概略構成図である。図6に示すように、この欠点検出装置は、光学系として透過明視野方式を用いるものであり、その構成としては、照明手段12と撮像手段14と画像処理手段15と表示手段16とを備えている。
【0023】
照明手段12は、例えば蛍光灯を用いることができる。照明手段12は、光を下方向から透明体3に照射する。照明手段12としては蛍光灯のほかに、例えばハロゲンランプを光源とし、ハロゲンランプからの光をファイバにて導いたファイバ照明でもよい。また棒状のLED照明を用いてもよい。
【0024】
照明手段12の上方には、被検査対象物であるガラス板などの透明体3を搬送するためのローラ等の搬送手段(図示しない)が設けられている。この例では、透明体3の搬送方向が蛍光灯12の長手方向と直交するように搬送手段が配置されている。
【0025】
撮像手段14は、例えば1次元走査を繰り返すラインセンサカメラである。撮像手段14は搬送される透明体3を挟んで照明手段12と対向する側に配置される。そして、ラインセンサカメラ14の走査線が透明体3の搬送方向と直交する方向になるよう、透明体3の上面に対して垂直な方向に取り付けられ、透明体3を視野として取り込めるように配置される。なお、ラインセンサカメラの視野は決まっているので、被検査対象物の幅に合わせて、適宜設置台数を決めてもよい。また、撮像手段14は、透過明視野方式で透明体3を撮像して画像データを出力できるものであればラインセンサカメラに限定されるものではなく、例えばマトリクスカメラを用いることもできる。
【0026】
以上のような撮像手段4と照明手段12との間を、透明体3は搬送手段によって一定方向に搬送される。この例では、搬送方向は、図6の矢印で示すように右方向である。撮像手段14からの画像データ出力は、画像処理手段15へ入力される。
【0027】
画像処理手段15としては、例えばコンピュータを利用できる。画像処理手段15は、例えばCPU等によって実現される処理制御手段と、キャッシュメモリ,主記憶装置,補助記憶装置等によって実現される記憶手段とを備える。ラインセンサカメラ14の出力がアナログ信号の場合は、コンピュータにはデジタル信号に変換して取り込む必要があるので、画像処理手段15は、少なくともアナログ/デジタル変換機能を有する画像入力装置をさらに有することが要求される。ラインセンサカメラ14がデジタルカメラである場合には、アナログ/デジタル変換は不要である。
【0028】
画像処理手段15は、検査対象である透明体の画像を取り込む画像取り込み手段と、取り込まれた透明体の画像を原画像とし、原画像を縦m画素 × 横n画素(m,nは自然数)ごとの複数のブロックにブロック化し、それぞれのブロックについて画素の最大輝度 − 最小輝度の値である高低差フィルタ値を求め、求められた高低差フィルタ値をそのブロックの輝度に設定して原画像を圧縮した圧縮画像を生成する高低差フィルタ手段と、圧縮画像を対象として、ブロックの輝度と所定の輝度レベルとの比較を行い、輝度レベル以上の輝度を有する圧縮画像内の高輝度領域を識別し、識別した高輝度領域を欠点候補として抽出する欠点候補抽出手段と、欠点候補を対象として、それぞれの欠点候補を構成するブロックの数が所定のブロック基準数以上か否か判別し、ブロック基準数以上の数のブロックから構成される欠点候補を除外する非欠点候補除外手段とを有する。
【0029】
画像処理手段15は、さらに、欠点候補の領域の周囲の原画像を切り出し、切り出された原画像の輝度と上記輝度レベルとを比較し、切り出された原画像の輝度が輝度レベル以上の場合には、当該欠点候補を汚れ欠点と判別し、切り出された原画像の輝度が輝度レベル未満の場合には、当該欠点候補をピンホール欠点と判別する欠点種類識別手段と、判別されたピンホール欠点の数と設計上のピンホール数とを比較し、判別されたピンホール欠点の数のほうが多い場合には、透明体内にピンホール欠点が存在すると判定するピンホール欠点判定手段と、判別された汚れ欠点の数とベタプリント以外の設計上のプリント数とを比較し、判別された汚れ欠点の数のほうが多い場合には、透明体内に汚れ欠点が存在すると判定する汚れ欠点判定手段とを有する。これらの手段は、例えばコンピュータのCPUに所定のプログラムを実行させることによって実現される。なお、これらの各手段が有する機能については、後段の実施の形態の動作においてさらに詳細に説明する。
【0030】
表示手段16は、CRT,液晶ディスプレイ等の表示装置によって実現される。表示手段16は、画像処理手段15からの出力を表示する。
【0031】
なお、上述した照明手段,撮像手段,搬送手段,およびこれらの手段の配置は、一例であって本発明をこれに限定するものではない。本発明に用いられる欠点検出装置の照明手段,撮像手段,搬送手段,およびこれらの手段の配置は、光学系として透過明視野方式を用い、透明体3を撮像して透明体3の画像データを出力できる構成を広く用いることができる。
【0032】
(実施の形態の動作)
次に、本発明の実施の形態に係る欠点検出装置の動作を説明する。ここで、図7,8は、本発明の実施の形態に係る欠点検出装置の動作を説明するフローチャートであり、図9は、取り込まれたガラス板の画像の一例を示す図であり、図10,11,12は、高低差フィルタ処理を説明する概念図であり、図13は、ガラス板全体の圧縮画像の一例を示す図であり、図14は、原画像の切り出しを説明する概念図であり、図15は、輝度算出の基礎となる画素の配置例を説明する図である。
【0033】
図7に示すように、まず、図6に示されたような装置でガラス板の画像を取り込む(ステップ102)。具体的には、ガラス板3を一定方向に流し、撮像手段14で順次撮像する。そして、撮像されたガラス板の画像を画像処理手段15の画像取り込み手段によって取り込み、記憶手段に記憶する。このステップにおいて、画像を取り込むピッチ(分解能)は、検出したい欠点よりも小さくする必要がある。このピッチは、検出対象となる欠点の寸法に基づいて任意に設定することができるが、一般的には、検出したい最小欠点の1/2程度が望ましい。
【0034】
上記ステップ102で取り込まれたガラス板の画像(以下、「原画像」と呼ぶ)の一例を図9に示す。図9の画像のガラス板は、最外周から順にベタ部7,ドット部8,透明部9を有する。なお、この例では透明部9にはプリントが無いものと仮定する。また、透明部9にはインク汚れ欠点6が存在し、ベタ部7にはピンホール5a,5bが存在する。ピンホール5aは、設計上意図的に設けられたピンホールであり欠点ではない。一方、ピンホール5bは欠点である。なお、この画像は本実施の形態を説明するために一例として想定されたものであって、本発明を適用できるガラス板およびその画像の構成はこれに限定されるものではない。
【0035】
次に、図7に示すように、原画像に対して高低差フィルタ処理を行う(ステップ104)。具体的には、図10に示すように、原画像をm×n画素ごとにブロック化する。ここでm,nは自然数であり、図10のようにmおよびnが同数(m=n)であってもよい。そして、それぞれのブロックを対象として、各ブロックの中での(最大輝度 − 最小輝度)を計算し、それを記憶する。この処理を「高低差フィルタ処理」と呼ぶ。この処理は、つまり、原画像を、それぞれが縦m画素 × 横n画素を含むブロックのマトリックスとし、各ブロック内において、画素の最大輝度の値から最小輝度の値を引いて輝度高低差(これを「高低差フィルタ値」と呼ぶ)を求め、求められた高低差フィルタ値を用いて当該ブロックの輝度に設定して原画像を圧縮し、圧縮画像を記憶手段に記憶する処理である。この処理はm×n個の画素を1つのブロックに置き換えるため、原画像の情報量を1/(m×n)に圧縮することができる。このような処理は、画像処理手段15の高低差フィルタ手段によって行うことができる。
【0036】
図11,12を用いてさらに具体的に説明する。これらの図においては、仮に、透明部分の輝度を255、プリント部分の輝度をゼロとする。また、高低差フィルタ値=255のブロックを塗りつぶしで表し、高低差フィルタ値=0のブロックを白抜きで表す。
【0037】
これらの図の例において、m,nの値を
mまたはn × 分解能 > 最大ドットの直径
になるようにm,nを設定すると、図11,12にあるように、a)ベタ部外側エッジ21、b)ベタ内部22,c)ドット部23,d)透明部24,e)インク汚れ25,f)ピンホール欠点および設計上の切り欠き26のそれぞれの領域に含まれるブロックの高低差フィルタ値は、以下のようになる。
a)ベタ部外側エッジ :255 − 0 = 255
b)ベタ内部 :0 − 0 = 0
c)ドット部 :255 − 0 = 255
d)透明部 :255 − 255 = 0
e)インク汚れ :255 − 0 = 255
f)ピンホール欠点および設計上の切り欠き :255 − 0 = 255
【0038】
このようにして求められた高低差フィルタ値を用いて、それぞれのブロックの輝度を設定すると、図11および12に示すような圧縮画像が得られる。また、得られたガラス全体の圧縮画像は図13のようになる。
【0039】
次に、欠点候補を抽出する(ステップ106)。具体的には、適切な設定値A、すなわち適切な輝度レベルを設定し、ブロックの輝度が設定値A以上の画像を抽出する。図13の例では、ベタ部外側エッジ領域21,ドット部領域23,インク汚れ領域25,ピンホール欠点および設計上の切り欠き領域26が抽出される。これらの領域を欠点候補とする。ここで、設定値Aは任意の値とすることができるが、設定値Aを決めるには、一度画像を取り込んで透明部およびプリント部の輝度を測定し、
A =(透明部の輝度 − ベタプリント部の輝度)/2
とするのが適当である。
【0040】
上記のような欠点候補抽出処理は、画像処理手段15内の欠点候補抽出手段によって行うことができる。例えば、欠点候補抽出手段は、圧縮画像に対して設定値Aとの比較を行い、設定値A以上の輝度を有する圧縮画像内の高輝度領域を識別する。そして、識別した高輝度領域を欠点候補領域として抽出してそれぞれの欠点候補に識別番号を与え記憶手段に記憶する。なお、個々の欠点候補を識別するために、設定輝度レベル以上のブロックが連続している範囲を1つの欠点候補領域とする。具体的には、図13においては、インク汚れ25およびピンホール26は、それぞれが1つのブロックから構成されており、それぞれの1つのブロックを1つの欠点候補とする。一方、ベタ部外側エッジ21およびドット部23は、それぞれが矩形状に連続したブロックから構成されており、ブロックが矩形状に連続している範囲を1つの欠点候補とする。このような個々の欠点候補の範囲は、例えばソフトウェアによるラベリング処理によって認識することができる。
【0041】
次に、欠点候補に含まれる非欠点の候補を除外する。この例においては、マスキング(ベタ部)外側エッジとドット部とを欠点候補から外す処理を行う。図13から分かるとおり、ベタ部外側エッジ21およびドット部23のブロック数は、インク汚れ25やピンホール26に比べて非常に大きい。したがって、適切なブロック数(設定値B)を設定し、ブロック数がそれ以上のものは欠点候補から外す。この処理においては、最大ブロックの欠点候補を残しながら最小のマスキング部分を除外する必要があるので、ここで用いられる設定値Bは、例えばドット部分のブロック数をGで表すと、
欠点が含まれる最大ブロック数< 設定値B < G
とするのが好ましく、具体的には、
4〜9ブロック < 設定値B < G
とするのが好ましい。
【0042】
さらに具体的には、ここで用いられる設定値Bは、例えば検出したい欠点のサイズと、ブロックの一辺の長さとに基づいて設定することができる。検出したい欠点のサイズをその直径φで表し、ブロックの一辺の長さをMまたはN(M=m×分解能,N=n×分解能)で表し、ドット部分のブロック数をGで表すと、設定値Bを以下のようにしてもよい。なお、設定値Bを定める方法の具体的な説明は後述する。
(1)φ < M かつ φ < Nの場合 4ブロック< 設定値B < G
(2)φ ≧ M かつ φ < Nの場合 6ブロック< 設定値B < G
(3)φ < M かつ φ ≧ Nの場合 6ブロック< 設定値B < G
(4)φ ≧ M かつ φ ≧ Nの場合 9ブロック< 設定値B < G
【0043】
図7を用いて説明すると、識別された欠点候補を順番に対象として、当該欠点候補を構成するブロック数がブロック基準数(設定値B)以上か否か判別し(ステップ108)、ブロック基準数以上の場合には、マスキング(プリント部分)の切れ目またはドット部と判断して欠点候補から除外する(ステップ110)。一方、当該欠点候補を構成するブロック数がブロック基準数未満の場合には、その欠点候補を欠点候補として残して記憶手段の欠点候補を更新し、次ぎの処理に進む。このような非欠点候補の除外処理により、図13の例においてはインク汚れ25およびピンホール26のみが欠点候補として残る。なお、このような非欠点候補除外処理は、画像処理手段15内の非欠点候補除外手段によって行うことができる。
【0044】
次に、欠点の種類を識別する。ここでは、欠点候補周囲の原画像を抽出し、ピンホールとインク汚れとを識別する。図13から分かるとおり、圧縮画像ではピンホールとインク汚れとの区別はつかない。この区別をつけるために、欠点候補周辺の原画像を切り出し、周囲が暗く中央部が明るい(ピンホール)のか、逆に周囲が明るく中が暗い(インク汚れ)なのかを判定する。具体的には、切り出す範囲としては、図14に示すように、圧縮画像での欠点ブロックの周囲方向に1ブロックずつとするのが適当である。なお、図14Aは圧縮画像での欠点ブロックが1ブロックの場合の原画像の切り出し範囲を示し、図14Bは圧縮画像での欠点ブロックが2ブロックの場合の原画像の切り出し範囲を示す。なお、図14はインク汚れの場合の図であり、ピンホールでは原画像の白黒が反転する。
【0045】
次に、図15に示すように、抽出された原画像の4角の画素30の輝度の平均を求める。そして、この輝度平均値が上述した設定値A(設定輝度レベル)以上であるか否か判断し、平均値が設定値A以上の場合にはインク汚れ欠点とし、設定値A未満であればピンホール欠点と判断する。
【0046】
図7を用いて説明すると、まず、欠点候補周囲の1ブロック分の原画像を抽出する(ステップ112)。次に、切り出された原画像の4角の画素の輝度平均を求め、この輝度平均値が設定値A以上か否か判断する(ステップ114)。そして、輝度平均値が設定値A以上の場合にはインク汚れ欠点と判別し(ステップ118)、設定値A未満の場合にはピンホール欠点と判別して(ステップ116)、それぞれの欠点候補の欠点種類を記憶手段に記憶する。そして、最後の欠点候補まで処理したか否か判断し(ステップ120)、最後の欠点候補まで処理していなければ次ぎの欠点候補に移り(ステップ122)、最後の欠点候補まで処理した場合には次ぎへ進む。なお、このような欠点種類の識別処理は、画像処理手段15の欠点種類識別手段によって行うことができる。
【0047】
このようにすることにより、検査対象である透明体の一部にドット状のプリント部分が含まれている場合であっても、ピンホール欠点および汚れ欠点等の欠点を精度良く検出することができる。
【0048】
また、透明体を撮像した画像内におけるドット領域の位置,形状等が変化する場合であっても、プログラムの再設定を行うことなく欠点を検出することができる。したがって、プリント装置、および検出装置の搬送機構に高い精度を要求することなく検出を行うことができるので、装置のコストを下げることもできる。
【0049】
次に、図8に示すように、検出されたピンホール欠点の数と設計上存在するピンホール数を比較する。例えば、図9に示すように、設計上ベタ部分にピンホール5aが存在する場合がある。一方、上述のステップ116ではそれら設計上のピンホールも含んだ全てを欠点として検出している。したがって、検出されたピンホール欠点の数と設計上のピンホール数を比較して前者の方が多いか判断し(ステップ202)、前者の方が多い場合には当該ガラス板内にピンホール欠点があると判定し(ステップ204)、そうでない場合には欠点が含まれないと判定する。なお、このような処理は画像処理手段15内のピンホール欠点判定手段によって行うことができる。
【0050】
一方、検出されたインク汚れ欠点の数と設計上存在する透明部のプリント数とを比較する。上記ピンホールのケースと同様に、透明部の中に設計上プリントが存在する場合もある。したがって、インク汚れについても上記と同様に、検出されたインク汚れ欠点の数と設計上のベタ以外のプリント数とを比較して前者の方が多いか判断し(ステップ206)、前者の方が多い場合には当該ガラス板内にインク汚れ欠点があると判定し(ステップ208)、そうでない場合には欠点が含まれないと判定する。なお、このような処理は画像処理手段15内の汚れ欠点判定手段によって行うことができる。
【0051】
上記のような、設計上のピンホールおよびプリント以外の欠点の有無の判定は、図9のガラス板の場合においては以下の表のようになる。
【0052】
【表1】

Figure 2004226212
【0053】
このようにすることにより、検査対象である透明体の一部にドット状のプリント部分が含まれており、設計上のピンホールおよび/または設計上のベタ以外のプリントが含まれている場合であっても、ピンホールおよび汚れ等の欠点を精度良く検出することができる。
【0054】
(設定値Bの設定方法)
以下、ガラス板および欠点の一例を用いて、本発明の設定値Bを設定する方法について具体的に説明する。ここで、図16は、検査対象となるガラス板の一例を説明する概略構成図であり、図17〜19は、欠点のサイズと欠点が含まれるブロック数との関係を説明する概念図である。
【0055】
まず、一般的なガラス板および欠点の仕様について説明する。図16において示すガラス板は、短辺200mmの二等辺三角形であり、50mmのマスキング幅を有する。
【0056】
したがって、
ガラス板の周囲長≒683mmであり、
マスキング内見切り長さ=100+100+100√2≒341mm
となる。
【0057】
一方、
ドットプリントのドット径 < 3mm
ピンホールおよび汚れ欠点の直径 0.8φmm〜5.0φmm
とする。
【0058】
上述したように、
mまたはn × 分解能 > 3mm(最大ドットの直径)
になるように、m,nが設定される。
mまたはn × 分解能は、すなわちブロックの一辺の長さ(単位mm)であるため、これは、
ブロックの一辺の長さ > 3mm
を意味する。
【0059】
上述したように、検出したい欠点のサイズは、0.8φmm〜5.0φmmである。また、ブロックの一辺の長さが3mm以上であるため、欠点のサイズが0.8φmmの場合には、φ < M かつ φ < Nとなり、図17に示すように、欠点が含まれるブロックの数は、1〜4ブロック(最大4ブロック)となる。また、欠点のサイズが5.0φmmの場合には、φ ≧ M かつ φ ≧ Nとなり、図18に示すように、欠点が含まれるブロックの数は、4〜9ブロック(最大9ブロック)となる。
【0060】
一方、上述したように、マスキング内見切りの周囲長は約341mmなので、ブロック数は、
G = 341/3 ≒ 114ブロックとなる。
【0061】
このように、欠点のブロック数は1〜9、マスキング内見切りエッジは114ブロックと、その差は大きい。したがって、設定値Bは両者の間であればよく(すなわち、9<設定値B<114)、例えば50という値が適当である。
【0062】
さらに説明すると、図17の例では、4<設定値B<114とすればよく、これは、上述した、
(1)φ < M かつ φ < Nの場合 4ブロック< 設定値B < G
の一例を示すものである。
【0063】
また、図18の例では、9<設定値B<114とすればよく、これは、上述した、
(4)φ ≧ M かつ φ ≧ Nの場合 9ブロック< 設定値B < G
の一例を示すものである。
【0064】
さらに、ブロックの辺の長さ、M,NがM≠Nでない場合について説明する。図19に示すように、MまたはNのいずれか一方が欠点の直径φ以上の場合(図19では、N=6mm,φ=5mm,N≧φ)、欠点が含まれるブロックの数は、2〜6ブロック(最大6ブロック)となる。したがって、設定値Bは、6<設定値B<114であればよい。これは、上述した、
(2)φ ≧ M かつ φ < Nの場合 6ブロック< 設定値B < G
(3)φ < M かつ φ ≧ Nの場合 6ブロック< 設定値B < G
の一例を示すものである。
【0065】
以上の説明から、設定値Bの好適な範囲は、
4〜9ブロック < 設定値B < G
とすることができる。
【0066】
このGは、図面または実測から得たマスキング内見切りの周囲長と、分解能と、mおよびnと、から求めることができる。具体的には、
G=マスキング内見切りの周囲長/ブロックの一辺の長さ
=マスキング内見切りの周囲長/(mまたはn × 分解能)
によって求めることができる。
【0067】
また、Gは整数値なので、本発明においてはG≧11であれば理論上検査が可能となる。実際には測定のばらつきがあるので、これを考慮して、Gは9よりもある程度(例えば10ブロック程度)大きいことが望ましい。
【0068】
なお、例えば、自動車で実際に使用されている一般的な最小のガラス板には、図16に示すようなものがある。このガラス板の寸法は、上述したように短辺200×200、マスキング幅50mmである。このガラス板ではマスキング内見切りの周囲長が114ブロック(G=114ブロック)であり、欠点のブロック数との差が十分に大きいので、容易に検査をすることができる。すなわち、自動車のガラス板を例にした場合には、マスキング部分の寸法が実用的な範囲で最小の場合であっても、マスキング部分を欠点から区別し、マスキング部分を非欠点として確実に除外することができる。
【0069】
このようにすることにより、透明体の画像にドット状のプリント部分が含まれる場合であっても、ドット部分を欠点候補から自動的に外すことができる。
【0070】
なお、上記の説明においては、透射光を用いて検査対象物の欠陥を検出する例を説明したが、本発明は反射光を用いて検査対象物の欠陥を検出する場合にも適用できる。そして、自動車用ガラス等のガラス板を検査対象として本発明を説明してきたが、本発明はこれに限られるものではない。ガラス板の他に、樹脂等の他の透明体についても本発明を適用できる。
【0071】
また、本発明が適用可能な透明体は、必ずしも平板に限られるものではなく、パネルなどのように、ゆるやかな曲率を有している板でもよい。また、検査対象としては、透光性を有していれば半透明な板にも適用可能である。
【0072】
【発明の効果】
以上説明したように、本発明によれば、ガラスの品種によらずドット部分を自動的に検査対象から外すため、品種ごとのドット位置の設定を不要とすることができ、プリントのばらつき、搬送のばらつきに自動的に対応することができる。
【0073】
また、圧縮画像での判定を行うため、処理時間を1/(m×n)に短縮することができる。
【図面の簡単な説明】
【図1】従来の欠点検出方法を説明する概略図である。
【図2】欠点を伴う自動車用ガラスの一例を示す図である。
【図3】ドット状プリントを含む自動車ガラスの一例を示す図である。
【図4】ドット状プリントを含む自動車ガラスの一例を示す図である。
【図5】従来の欠点検出方法を説明する概略図である。
【図6】本発明の実施の形態に係る欠点検出装置を示す概略構成図である。
【図7】本発明の実施の形態に係る欠点検出装置の動作を説明するフローチャートである。
【図8】本発明の実施の形態に係る欠点検出装置の動作を説明するフローチャートである。
【図9】取り込まれたガラス板の画像の一例を示す図である。
【図10】高低差フィルタ処理を説明する概念図である。
【図11】高低差フィルタ処理を説明する概念図である。
【図12】高低差フィルタ処理を説明する概念図である。
【図13】ガラス板全体の圧縮画像の一例を示す図である。
【図14】原画像の切り出しを説明する概念図である。
【図15】輝度算出の基礎となる画素の配置例を説明する図である。
【図16】検査対象となるガラス板の一例を説明する概略構成図である。
【図17】欠点のサイズと欠点が含まれるブロック数との関係を説明する概念図である。
【図18】欠点のサイズと欠点が含まれるブロック数との関係を説明する概念図である。
【図19】欠点のサイズと欠点が含まれるブロック数との関係を説明する概念図である。
【符号の説明】
2 照明
3 透明体
4 撮像手段
5,5b ピンホール欠点
5a 設計上のピンホール
6 インク汚れ欠点
7 ベタプリント部分
8 ドット状プリント部分
9 透明部分
12 照明手段
14 撮像手段
15 画像処理手段
16 表示手段
21 ベタ部外側エッジ
22 ベタ内部
23 ドット部
24 透明部
25 インク汚れ
26 ピンホール
30 画素[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method and an apparatus for detecting a defect on a transparent body such as a glass plate, and in particular, for a transparent body including a dot-shaped printed portion such as an automobile glass, a pinhole defect existing in a solid printed portion and a transparent member. The present invention relates to a method and an apparatus for detecting contamination defects present in a part.
[0002]
[Prior art]
Conventionally, as a method of detecting a defect included in a transparent body such as a glass plate, for example, a method disclosed in Patent Document 1 is known. On the other hand, in the case of automotive glass, a black print may be applied around the glass. Here, if there is a dropout in the printed portion (pinhole) or if ink adheres to the transparent portion (ink adherence), a drawback occurs.
[0003]
As a method of detecting such a defect, there is a method of using a transmission bright field method and detecting a locally dark portion (pinhole) with a dark surrounding and a locally dark portion (ink stain) with a bright surrounding.
[0004]
Hereinafter, a conventional defect detection method will be described with reference to the drawings. FIG. 1 is a schematic view for explaining a conventional defect detection method, FIG. 2 is a view showing an example of an automobile glass having a defect, and FIGS. 3 and 4 are diagrams of an automobile glass including a dot-shaped print. FIG. 5 is a diagram illustrating an example, and FIG. 5 is a schematic diagram illustrating a conventional defect detection method.
[0005]
In FIG. 1, reference numeral 2 denotes illumination such as a fluorescent lamp, and reference numeral 4 denotes an imaging unit such as a line sensor camera. In this example, a transparent body 3 such as a glass plate to be inspected flows between the illumination 2 and the imaging unit 4 in a certain direction. Then, the transparent body 3 is irradiated with light by the illumination 2, and the transparent body 3 is sequentially imaged by the imaging means 4.
[0006]
As an example of the transparent body 3, as shown in FIG. 2, a pinhole defect 5 exists in a solid print portion and an ink stain defect 6 exists in a transparent portion, as shown in FIG. 2. Such a transparent body 3 is imaged by the line sensor camera 4 and image processing is performed on the imaged image to detect a pinhole defect in a solid print portion and an ink stain defect in a transparent portion.
[0007]
On the other hand, some automotive glass prints include not only solid prints but also dot prints, mainly for design reasons. For example, as shown in FIGS. 3 and 4, there is a glass having a solid print portion 7 having a fixed width on the outer peripheral portion of the glass and a dot-shaped print portion 8 having a fixed width inside the glass.
[0008]
In the case of a glass plate partially including such a dot-shaped print portion, if the above-described conventional technique is used, light and darkness are mixed in the dot portion, so that erroneous determination (oversight) increases. In order to avoid this, a program process is often performed so as to exclude the dot portion from the inspection target. Specifically, as shown in FIG. 5, the dot print area 8 in the image of the glass plate is excluded from the inspection target by the processing of the program.
[0009]
[Patent Document 1]
JP-A-2002-83303
[0010]
[Problems to be solved by the invention]
However, since the shape of the glass and the shape of the masking (print) differ depending on the type, it is necessary to make settings for all types. That is, the setting of the image area to be excluded from the inspection target must be performed separately for each product type. Further, even for the same type, the position of the dot masking (print) portion in the image captured by the camera is slightly different due to variations in print position accuracy and transport accuracy. Therefore, if the exclusion setting range is strictly performed on the dot range, the dot image area will be out of the range, and the dot range will be inspected. Conversely, if the exclusion setting range is loosened (larger), the dot range is less likely to deviate from the setting range, but the portion to be inspected becomes smaller, and the image area including the defective portion to be detected becomes the inspection target. There is a problem that there is a possibility of being excluded from the.
[0011]
An object of the present invention is to provide a method and an apparatus for detecting pinhole defects and dirt defects, which do not require setting of dot positions for each type of glass, and therefore have high versatility for dot portions.
[0012]
[Means for Solving the Problems]
Therefore, the present invention does not set the range to be excluded from the inspection target in advance, but sets the entire range of the image of the transparent body including the dot portion and the defect portion as the inspection target, and identifies only the dot portion thereon. It is excluded from defect candidates.
[0013]
Specifically, the present invention provides an apparatus for detecting a defect of a transparent body partially including a dot-shaped print portion. The apparatus includes imaging means for imaging the transparent body, and image processing means for processing an image of the transparent body imaged by the imaging means, wherein the image processing means converts the image of the transparent body into an original image. The original image is divided into a plurality of blocks each of m pixels vertically by n pixels horizontally (m and n are natural numbers), and a height difference filter value that is a value of a maximum luminance minus a minimum luminance of a pixel is obtained for each block. A height difference filter means for setting the obtained height difference filter value to the brightness of the block to generate a compressed image obtained by compressing the original image; and setting the brightness of the block and a predetermined brightness level for the compressed image. Defect extracting means for comparing a high-luminance area in the compressed image having luminance equal to or higher than the luminance level and extracting the identified high-luminance area as a defect candidate It is determined whether or not the number of blocks constituting each defect candidate is equal to or greater than a predetermined block reference number for the defect candidates, and a defect candidate formed of blocks equal to or greater than the block reference number is excluded. Defect candidate exclusion means.
[0014]
With the above configuration, even when a dot-shaped print portion is included in a part of the transparent body to be inspected, the dot portion can be automatically removed from the defect candidate.
[0015]
Further, the image processing means cuts out the original image around the defect candidate area, compares the luminance of the cut out original image with the luminance level, and sets the luminance of the cut out original image to the luminance level. In the above case, the defect candidate is determined as a stain defect, and when the luminance of the cut-out original image is lower than the luminance level, a defect type identification unit that determines the defect candidate as a pinhole defect is provided. Have more.
[0016]
With such a configuration, even when a part of the transparent body to be inspected includes a dot-shaped printed portion and includes both the pinhole defect and the dirt defect, the pinhole defect and the dirt defect are reduced. Can be identified and detected.
[0017]
The image processing means compares the number of determined pinhole defects with the number of designed pinholes, and if the determined number of pinhole defects is larger, a pin is inserted in the transparent body. A pinhole defect determining means for determining that a hole defect exists, and comparing the number of the determined dirt defects with the number of prints other than the solid print design, and when the determined number of the dirt defects is larger, Further includes a stain defect determining means for determining that a stain defect exists in the transparent body.
[0018]
By doing so, it is possible to determine the presence or absence of a defect even when the solid print portion includes a design pinhole and the transparent portion includes a design small print. .
[0019]
Further, the invention of the above-described defect detection device is also realized as an invention of a method. Further, the above-described invention is also realized as a program for causing a computer to realize a predetermined function or a recording medium on which the program is recorded.
[0020]
The means in the present specification can be realized by hardware, software, or a combination of hardware and software. Execution by a combination of hardware and software corresponds to, for example, execution in a computer system having a predetermined program.
[0021]
And even if the function of one means is realized by two or more hardware, software or a combination of hardware and software, the function of two or more means is realized by one hardware, software or hardware and software. It may be realized by a combination.
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, a defect detection device according to an embodiment of the present invention will be described. FIG. 6 is a schematic configuration diagram showing a defect detection device according to the embodiment of the present invention. As shown in FIG. 6, the defect detection apparatus uses a transmission bright field method as an optical system, and includes a lighting unit 12, an imaging unit 14, an image processing unit 15, and a display unit 16. ing.
[0023]
As the illumination means 12, for example, a fluorescent lamp can be used. The illumination unit 12 irradiates light to the transparent body 3 from below. As the illuminating means 12, besides a fluorescent lamp, for example, a fiber illuminator that uses a halogen lamp as a light source and guides light from the halogen lamp through a fiber may be used. Alternatively, a rod-shaped LED illumination may be used.
[0024]
A transporting unit (not shown) such as a roller for transporting a transparent body 3 such as a glass plate as an object to be inspected is provided above the illumination unit 12. In this example, the transport means is arranged so that the transport direction of the transparent body 3 is orthogonal to the longitudinal direction of the fluorescent lamp 12.
[0025]
The imaging unit 14 is, for example, a line sensor camera that repeats one-dimensional scanning. The imaging means 14 is arranged on the side facing the illumination means 12 with the transparent body 3 conveyed therebetween. It is mounted in a direction perpendicular to the upper surface of the transparent body 3 so that the scanning line of the line sensor camera 14 is in a direction orthogonal to the transport direction of the transparent body 3, and is arranged so as to capture the transparent body 3 as a field of view. You. In addition, since the field of view of the line sensor camera is determined, the number of installations may be determined as appropriate according to the width of the inspection object. The imaging unit 14 is not limited to a line sensor camera as long as it can image the transparent body 3 by the transmission bright field method and output image data, and for example, a matrix camera can be used.
[0026]
The transparent body 3 is transported in a certain direction by the transporting unit between the imaging unit 4 and the illumination unit 12 as described above. In this example, the transport direction is to the right as indicated by the arrow in FIG. The image data output from the imaging unit 14 is input to the image processing unit 15.
[0027]
As the image processing means 15, for example, a computer can be used. The image processing unit 15 includes, for example, a processing control unit realized by a CPU or the like, and a storage unit realized by a cache memory, a main storage device, an auxiliary storage device, or the like. When the output of the line sensor camera 14 is an analog signal, it is necessary to convert the digital signal into a digital signal and take it into the computer. Therefore, the image processing means 15 may further include an image input device having at least an analog / digital conversion function. Required. When the line sensor camera 14 is a digital camera, analog / digital conversion is unnecessary.
[0028]
The image processing unit 15 includes an image capturing unit that captures an image of a transparent body to be inspected, and an image of the captured transparent body as an original image. The original image is m pixels vertically by n pixels horizontally (m and n are natural numbers). Into a plurality of blocks for each block, and for each block, find a height difference filter value that is a value of a maximum brightness minus a minimum brightness of a pixel, and set the found height difference filter value to the brightness of the block to obtain an original image. A height difference filter means for generating a compressed image, and comparing the luminance of the block with a predetermined luminance level for the compressed image to identify a high luminance area in the compressed image having a luminance equal to or higher than the luminance level. A defect candidate extracting means for extracting the identified high-luminance area as a defect candidate; and, for the defect candidate, the number of blocks constituting each defect candidate is determined by a predetermined block reference. Or whether to determine, and a non-defect candidate excluding means excludes the disadvantages candidates composed of the number of blocks or the number of blocks reference.
[0029]
The image processing means 15 further cuts out the original image around the defect candidate area, compares the luminance of the cut out original image with the above-mentioned luminance level, and, when the luminance of the cut out original image is equal to or higher than the luminance level, Is a defect type discriminating means for discriminating the defect candidate as a stain defect, and when the luminance of the cut-out original image is lower than the luminance level, discriminating the defect candidate as a pinhole defect. The number of pinhole defects is compared with the number of pinholes in the design, and if the number of pinhole defects determined is larger, pinhole defect determination means for determining that there is a pinhole defect in the transparent body is determined. Comparing the number of dirt defects with the number of prints other than the solid print in the design, and if the number of determined dirt defects is larger, determining that dirt defects exist in the transparent body; Having. These means are realized, for example, by causing a CPU of a computer to execute a predetermined program. The functions of these units will be described in more detail in the operation of the embodiment described later.
[0030]
The display means 16 is realized by a display device such as a CRT and a liquid crystal display. The display means 16 displays the output from the image processing means 15.
[0031]
Note that the above-described illumination means, imaging means, transport means, and arrangement of these means are merely examples, and do not limit the present invention. The illumination means, the image pickup means, the transport means, and the arrangement of these means of the defect detection apparatus used in the present invention employ a transmission bright field method as an optical system, image the transparent body 3, and convert the image data of the transparent body 3 into images. A configuration capable of outputting can be widely used.
[0032]
(Operation of the embodiment)
Next, the operation of the defect detection device according to the embodiment of the present invention will be described. Here, FIGS. 7 and 8 are flowcharts for explaining the operation of the defect detection device according to the embodiment of the present invention, and FIG. 9 is a diagram showing an example of the captured image of the glass plate. , 11, and 12 are conceptual diagrams illustrating height difference filter processing, FIG. 13 is a diagram illustrating an example of a compressed image of the entire glass plate, and FIG. 14 is a conceptual diagram illustrating cutout of an original image. FIG. 15 is a diagram illustrating an example of the arrangement of pixels serving as a basis for luminance calculation.
[0033]
As shown in FIG. 7, first, an image of a glass plate is captured by an apparatus as shown in FIG. 6 (step 102). Specifically, the glass plate 3 is caused to flow in a certain direction, and the imaging unit 14 sequentially captures images. Then, the captured image of the glass plate is captured by the image capturing unit of the image processing unit 15 and stored in the storage unit. In this step, the pitch (resolution) at which the image is captured needs to be smaller than the defect to be detected. This pitch can be set arbitrarily based on the size of the defect to be detected. Generally, however, it is desirable that the pitch is about の of the minimum defect to be detected.
[0034]
FIG. 9 shows an example of an image (hereinafter, referred to as an “original image”) of the glass plate captured in step 102. The glass plate of the image in FIG. 9 has a solid portion 7, a dot portion 8, and a transparent portion 9 in order from the outermost periphery. In this example, it is assumed that the transparent portion 9 has no print. The transparent portion 9 has an ink stain defect 6 and the solid portion 7 has pinholes 5a and 5b. The pinhole 5a is a pinhole intentionally provided in design and is not a defect. On the other hand, the pinhole 5b is a disadvantage. Note that this image is assumed as an example for describing the present embodiment, and the glass plate to which the present invention can be applied and the configuration of the image are not limited thereto.
[0035]
Next, as shown in FIG. 7, a height difference filter process is performed on the original image (step 104). Specifically, as shown in FIG. 10, the original image is divided into m × n pixels. Here, m and n are natural numbers, and m and n may be the same number (m = n) as shown in FIG. Then, for each block, (maximum luminance−minimum luminance) in each block is calculated and stored. This processing is referred to as “height difference filter processing”. In this process, the original image is formed into a matrix of blocks each including m pixels vertically by n pixels horizontally, and in each block, the luminance difference is calculated by subtracting the minimum luminance value from the maximum luminance value of the pixel. Is referred to as a “height difference filter value”), the original image is compressed by setting the brightness of the block using the obtained height difference filter value, and the compressed image is stored in the storage means. This processing replaces m × n pixels with one block, so that the information amount of the original image can be compressed to 1 / (m × n). Such processing can be performed by the height difference filter means of the image processing means 15.
[0036]
This will be described more specifically with reference to FIGS. In these figures, it is assumed that the brightness of the transparent portion is 255 and the brightness of the printed portion is zero. Blocks with a height difference filter value of 255 are represented by solid colors, and blocks with a height difference filter value of 0 are represented by white.
[0037]
In the example of these figures, the values of m and n are
m or n × resolution> maximum dot diameter
When m and n are set so as to be as shown in FIGS. 11 and 12, a) solid portion outer edge 21, b) solid inside 22, c) dot portion 23, d) transparent portion 24, e) ink stain 25, f) The height difference filter value of the block included in each area of the pinhole defect and the design cutout 26 is as follows.
a) Solid outer edge: 255-0 = 255
b) Solid inside: 0-0 = 0
c) Dot part: 255-0 = 255
d) Transparent part: 255-255 = 0
e) Ink stain: 255-0 = 255
f) Pinhole defect and design cut-out: 255-0 = 255
[0038]
When the luminance of each block is set using the height difference filter value thus obtained, a compressed image as shown in FIGS. 11 and 12 is obtained. FIG. 13 shows the obtained compressed image of the entire glass.
[0039]
Next, defect candidates are extracted (step 106). Specifically, an appropriate setting value A, that is, an appropriate luminance level is set, and an image having a block luminance equal to or higher than the setting value A is extracted. In the example of FIG. 13, a solid portion outer edge region 21, a dot portion region 23, an ink smear region 25, a pinhole defect, and a cutout region 26 in design are extracted. These regions are set as defect candidates. Here, the set value A can be an arbitrary value. To determine the set value A, once the image is captured, the luminance of the transparent portion and the print portion is measured,
A = (luminance of transparent portion−luminance of solid print portion) / 2
Is appropriate.
[0040]
The above-described defect candidate extraction processing can be performed by the defect candidate extraction unit in the image processing unit 15. For example, the defect candidate extraction unit compares the compressed image with the set value A, and identifies a high luminance area in the compressed image having a luminance equal to or more than the set value A. Then, the identified high-luminance area is extracted as a defect candidate area, an identification number is given to each defect candidate, and stored in the storage means. Note that, in order to identify individual defect candidates, a range in which blocks equal to or higher than the set luminance level are continuous is defined as one defect candidate region. More specifically, in FIG. 13, each of the ink stain 25 and the pinhole 26 is composed of one block, and each one block is set as one defect candidate. On the other hand, each of the solid portion outer edge 21 and the dot portion 23 is composed of a block that is continuous in a rectangular shape, and a range in which the block is continuous in a rectangular shape is set as one defect candidate. Such ranges of individual defect candidates can be recognized by, for example, labeling processing by software.
[0041]
Next, non-defect candidates included in the defect candidates are excluded. In this example, a process of excluding a masking (solid portion) outer edge and a dot portion from defect candidates is performed. As can be seen from FIG. 13, the number of blocks of the solid portion outer edge 21 and the dot portion 23 is much larger than that of the ink stain 25 and the pinhole 26. Therefore, an appropriate number of blocks (set value B) is set, and those with more blocks are excluded from defect candidates. In this processing, since it is necessary to exclude the minimum masking portion while leaving the defect candidate of the maximum block, the setting value B used here is, for example, when the number of blocks of the dot portion is represented by G,
Maximum number of blocks including defects <set value B <G
Preferably, specifically,
4 to 9 blocks <Set value B <G
It is preferred that
[0042]
More specifically, the setting value B used here can be set based on, for example, the size of the defect to be detected and the length of one side of the block. When the size of the defect to be detected is represented by its diameter φ, the length of one side of the block is represented by M or N (M = m × resolution, N = n × resolution), and the number of blocks in the dot portion is represented by G The value B may be set as follows. A specific description of a method for determining the set value B will be described later.
(1) When φ <M and φ <N 4 blocks <setting value B <G
(2) When φ ≧ M and φ <N 6 blocks <setting value B <G
(3) When φ <M and φ ≧ N, 6 blocks <setting value B <G
(4) When φ ≧ M and φ ≧ N 9 blocks <set value B <G
[0043]
Referring to FIG. 7, the identified defect candidates are sequentially targeted, and it is determined whether or not the number of blocks constituting the defect candidate is equal to or greater than a block reference number (set value B) (step 108). In the above case, it is determined as a break or a dot portion of the masking (printed portion) and is excluded from the defect candidates (step 110). On the other hand, when the number of blocks constituting the defect candidate is less than the block reference number, the defect candidate is left as a defect candidate, the defect candidate in the storage unit is updated, and the process proceeds to the next process. By such non-defect candidate exclusion processing, only the ink stain 25 and the pinhole 26 remain as defect candidates in the example of FIG. Note that such non-defect candidate exclusion processing can be performed by the non-defect candidate exclusion means in the image processing means 15.
[0044]
Next, the type of defect is identified. Here, an original image around the defect candidate is extracted, and pinholes and ink stains are identified. As can be seen from FIG. 13, in the compressed image, the pinhole and the ink stain cannot be distinguished. In order to make this distinction, an original image around the defect candidate is cut out and it is determined whether the periphery is dark and the center is bright (pinhole) or conversely the periphery is bright and the inside is dark (ink smear). Specifically, as shown in FIG. 14, it is appropriate that the range to be cut out is one block at a time around the defective block in the compressed image. FIG. 14A shows the cut-out range of the original image when the number of defective blocks in the compressed image is one, and FIG. 14B shows the cut-out range of the original image when the number of defective blocks in the compressed image is two. FIG. 14 is a diagram in the case of ink contamination, and the black and white of the original image is reversed in the pinhole.
[0045]
Next, as shown in FIG. 15, the average of the luminance of the pixels 30 at the four corners of the extracted original image is obtained. Then, it is determined whether or not the average luminance value is equal to or higher than the above-mentioned set value A (set luminance level). Judge as a hole defect.
[0046]
Referring to FIG. 7, first, an original image of one block around a defect candidate is extracted (step 112). Next, the average brightness of the four corner pixels of the cut-out original image is determined, and it is determined whether or not this average brightness value is equal to or greater than the set value A (step 114). If the average luminance value is equal to or more than the set value A, it is determined that the defect is an ink stain (step 118). If the average value is less than the set value A, it is determined that the defect is a pinhole defect (step 116). The defect type is stored in the storage means. Then, it is determined whether or not the last defect candidate has been processed (step 120). If the last defect candidate has not been processed, the process proceeds to the next defect candidate (step 122). Proceed to the next. Note that such defect type identification processing can be performed by the defect type identification unit of the image processing unit 15.
[0047]
By doing so, even if a part of the transparent body to be inspected includes a dot-shaped printed portion, it is possible to accurately detect defects such as pinhole defects and dirt defects. .
[0048]
Further, even when the position, shape, and the like of the dot region in the image of the transparent body change, the defect can be detected without resetting the program. Accordingly, detection can be performed without requiring high accuracy for the printing device and the transport mechanism of the detection device, and the cost of the device can also be reduced.
[0049]
Next, as shown in FIG. 8, the number of detected pinhole defects is compared with the number of pinholes present in the design. For example, as shown in FIG. 9, there is a case where a pinhole 5a exists in a solid portion in design. On the other hand, in the above-mentioned step 116, all of them including the design pinholes are detected as defects. Therefore, the number of detected pinhole defects is compared with the number of designed pinholes to determine whether the former is larger (step 202). If the former is larger, the pinhole defect is included in the glass plate. (Step 204), otherwise, it is determined that no defect is included. Note that such processing can be performed by the pinhole defect determining means in the image processing means 15.
[0050]
On the other hand, the number of detected ink stain defects is compared with the number of prints of the transparent portion which is present in the design. As in the case of the pinhole, a print may be present in the transparent portion by design. Therefore, similarly to the above, the number of detected ink stain defects is compared with the number of prints other than the solid print in design to determine whether the former is greater (step 206). If so, it is determined that there is an ink stain defect in the glass plate (step 208); otherwise, it is determined that no defect is included. Such processing can be performed by the stain defect determining means in the image processing means 15.
[0051]
The following table determines whether there is a defect other than the design pinholes and prints as described above in the case of the glass plate of FIG.
[0052]
[Table 1]
Figure 2004226212
[0053]
In this manner, when a part of the transparent object to be inspected includes a dot-shaped print portion and a pinhole in design and / or a print other than solid in design is included. Even if it is, defects such as pinholes and dirt can be accurately detected.
[0054]
(Setting method of setting value B)
Hereinafter, a method of setting the set value B of the present invention will be specifically described using an example of a glass plate and a defect. Here, FIG. 16 is a schematic configuration diagram illustrating an example of a glass plate to be inspected, and FIGS. 17 to 19 are conceptual diagrams illustrating the relationship between the size of a defect and the number of blocks including the defect. .
[0055]
First, the specification of a general glass plate and a defect will be described. The glass plate shown in FIG. 16 is an isosceles triangle with a short side of 200 mm and a masking width of 50 mm.
[0056]
Therefore,
The perimeter of the glass plate is 683 mm,
Masking internal parting length = 100 + 100 + 100√2 ≒ 341 mm
It becomes.
[0057]
on the other hand,
Dot diameter of dot print <3mm
Diameter of pinhole and dirt defect 0.8φmm ~ 5.0φmm
And
[0058]
As mentioned above,
m or n × resolution> 3 mm (maximum dot diameter)
M and n are set so that
Since m or nx resolution is the length of one side of the block (in mm),
Length of one side of block> 3mm
Means
[0059]
As described above, the size of the defect to be detected is 0.8 φmm to 5.0 φmm. Further, since the length of one side of the block is 3 mm or more, when the size of the defect is 0.8 φmm, φ <M and φ <N, and as shown in FIG. Is 1 to 4 blocks (up to 4 blocks). When the size of the defect is 5.0 mm, φ ≧ M and φ ≧ N, and as shown in FIG. 18, the number of blocks including the defect is 4 to 9 blocks (maximum 9 blocks). .
[0060]
On the other hand, as described above, the perimeter of the inside masking parting is about 341 mm, so the number of blocks is
G = 341/3 ≒ 114 blocks.
[0061]
As described above, the number of defective blocks is 1 to 9 and the number of parting edges in the masking is 114, which is a large difference. Therefore, the set value B may be between the two (that is, 9 <set value B <114), and for example, a value of 50 is appropriate.
[0062]
More specifically, in the example of FIG. 17, 4 <set value B <114 may be satisfied.
(1) When φ <M and φ <N 4 blocks <setting value B <G
FIG.
[0063]
In addition, in the example of FIG. 18, it is sufficient that 9 <set value B <114.
(4) When φ ≧ M and φ ≧ N 9 blocks <set value B <G
FIG.
[0064]
Further, a case where the lengths of the sides of the block, M and N, are not M ≠ N will be described. As shown in FIG. 19, when either M or N is larger than the diameter φ of the defect (in FIG. 19, N = 6 mm, φ = 5 mm, N ≧ φ), the number of blocks including the defect is 2 66 blocks (up to 6 blocks). Therefore, the set value B may be 6 <set value B <114. This is described above,
(2) When φ ≧ M and φ <N 6 blocks <setting value B <G
(3) When φ <M and φ ≧ N, 6 blocks <setting value B <G
FIG.
[0065]
From the above description, the preferable range of the set value B is:
4 to 9 blocks <Set value B <G
It can be.
[0066]
This G can be determined from the perimeter of the masking inner part obtained from the drawing or actual measurement, the resolution, and m and n. In particular,
G = perimeter of masking inside part / length of one side of block
= Perimeter of the masking parting / (m or n × resolution)
Can be determined by:
[0067]
Further, since G is an integer value, in the present invention, inspection is theoretically possible if G ≧ 11. Actually, since there is a variation in measurement, in consideration of this, it is desirable that G is somewhat larger than 9 (for example, about 10 blocks).
[0068]
Note that, for example, a typical minimum glass plate actually used in an automobile is as shown in FIG. The dimensions of this glass plate are, as described above, a short side of 200 × 200 and a masking width of 50 mm. In this glass plate, the perimeter of the inside masking partition is 114 blocks (G = 114 blocks), and the difference from the number of defective blocks is sufficiently large, so that the inspection can be easily performed. That is, in the case of an automobile glass plate as an example, even when the size of the masking portion is the smallest in a practical range, the masking portion is distinguished from the defect, and the masking portion is surely excluded as a non-defect. be able to.
[0069]
This makes it possible to automatically remove the dot portion from the defect candidates even when the transparent image includes a dot-shaped print portion.
[0070]
In the above description, an example in which a defect of an inspection target is detected using transmitted light has been described. However, the present invention can also be applied to a case where a defect of an inspection target is detected using reflected light. Although the present invention has been described with reference to a glass plate such as a glass for automobiles, the present invention is not limited to this. In addition to the glass plate, the present invention can be applied to other transparent bodies such as a resin.
[0071]
The transparent body to which the present invention can be applied is not necessarily limited to a flat plate, but may be a plate having a gentle curvature, such as a panel. Further, as a test object, a translucent plate can be applied as long as it has translucency.
[0072]
【The invention's effect】
As described above, according to the present invention, since the dot portion is automatically excluded from the inspection target regardless of the type of glass, it is not necessary to set the dot position for each type, and variations in printing and transport Can be automatically handled.
[0073]
Further, since the determination is performed on the compressed image, the processing time can be reduced to 1 / (m × n).
[Brief description of the drawings]
FIG. 1 is a schematic diagram illustrating a conventional defect detection method.
FIG. 2 is a diagram showing an example of an automotive glass having a defect.
FIG. 3 is a diagram illustrating an example of an automobile glass including a dot print.
FIG. 4 is a diagram illustrating an example of an automobile glass including a dot print.
FIG. 5 is a schematic diagram illustrating a conventional defect detection method.
FIG. 6 is a schematic configuration diagram showing a defect detection device according to an embodiment of the present invention.
FIG. 7 is a flowchart illustrating an operation of the defect detection device according to the embodiment of the present invention.
FIG. 8 is a flowchart illustrating an operation of the defect detection device according to the embodiment of the present invention.
FIG. 9 is a diagram illustrating an example of a captured image of a glass plate.
FIG. 10 is a conceptual diagram illustrating height difference filter processing.
FIG. 11 is a conceptual diagram illustrating height difference filter processing.
FIG. 12 is a conceptual diagram illustrating height difference filter processing.
FIG. 13 is a diagram illustrating an example of a compressed image of the entire glass plate.
FIG. 14 is a conceptual diagram illustrating clipping of an original image.
FIG. 15 is a diagram illustrating an example of the arrangement of pixels serving as a basis for luminance calculation.
FIG. 16 is a schematic configuration diagram illustrating an example of a glass plate to be inspected.
FIG. 17 is a conceptual diagram illustrating the relationship between the size of a defect and the number of blocks including the defect.
FIG. 18 is a conceptual diagram illustrating the relationship between the size of a defect and the number of blocks including the defect.
FIG. 19 is a conceptual diagram illustrating the relationship between the size of a defect and the number of blocks including the defect.
[Explanation of symbols]
2 Lighting
3 Transparent body
4 Imaging means
5,5b Pinhole defect
5a Designed pinhole
6 Ink stain defects
7 Solid print part
8 dot print
9 Transparent parts
12 Lighting means
14 Imaging means
15 Image processing means
16 Display means
21 Solid outer edge
22 Inside Solid
23 dots
24 Transparent part
25 Ink stain
26 Pinhole
30 pixels

Claims (9)

ドット状プリント部分を一部に含む透明体の欠点を検出する装置であって、
前記透明体を撮像する撮像手段と、
前記撮像手段によって撮像された前記透明体の画像を処理する画像処理手段とを備え、
前記画像処理手段は、
前記透明体の画像を原画像とし、前記原画像を縦m画素 × 横n画素(m,nは自然数)ごとの複数のブロックにブロック化し、それぞれのブロックについて画素の最大輝度 − 最小輝度の値である高低差フィルタ値を求め、求められた高低差フィルタ値をそのブロックの輝度に設定して前記原画像を圧縮した圧縮画像を生成する高低差フィルタ手段と、
前記圧縮画像を対象として、前記ブロックの輝度と所定の輝度レベルとの比較を行い、前記輝度レベル以上の輝度を有する前記圧縮画像内の高輝度領域を識別し、前記識別した高輝度領域を欠点候補として抽出する欠点候補抽出手段と、
前記欠点候補を対象として、それぞれの欠点候補を構成するブロックの数が所定のブロック基準数以上か否か判別し、前記ブロック基準数以上の数のブロックから構成される欠点候補を除外する非欠点候補除外手段と、を有する欠点検出装置。
An apparatus for detecting a defect of a transparent body partially including a dot-shaped print portion,
Imaging means for imaging the transparent body;
Image processing means for processing the image of the transparent body imaged by the imaging means,
The image processing means,
The image of the transparent body is used as an original image, and the original image is divided into a plurality of blocks each having m pixels vertically by n pixels horizontally (m and n are natural numbers). A height difference filter value, and a height difference filter means for generating a compressed image obtained by compressing the original image by setting the obtained height difference filter value to the luminance of the block,
For the compressed image, the luminance of the block is compared with a predetermined luminance level, a high-luminance area in the compressed image having luminance equal to or higher than the luminance level is identified, and the identified high-luminance area is identified as a defect. Defect candidate extracting means for extracting as a candidate,
For the defect candidates, a non-defect that determines whether the number of blocks constituting each defect candidate is equal to or greater than a predetermined block reference number and excludes the defect candidates composed of blocks equal to or greater than the block reference number A defect detection device comprising: a candidate exclusion unit.
前記画像処理手段は、
前記欠点候補の領域の周囲の原画像を切り出し、前記切り出された原画像の輝度と前記輝度レベルとを比較し、前記切り出された原画像の輝度が前記輝度レベル以上の場合には、前記欠点候補を汚れ欠点と判別し、前記切り出された原画像の輝度が前記輝度レベル未満の場合には、前記欠点候補をピンホール欠点と判別する欠点種類識別手段を、さらに有する請求項1に記載の欠点検出装置。
The image processing means,
Cut out the original image around the defect candidate area, compare the luminance of the cut out original image with the luminance level, and if the luminance of the cut out original image is equal to or higher than the luminance level, 2. The defect type identification unit according to claim 1, further comprising: defect type discriminating means for discriminating the candidate as a stain defect and, when the luminance of the cut-out original image is lower than the luminance level, discriminating the defect candidate as a pinhole defect. Defect detection device.
前記画像処理手段は、
前記判別されたピンホール欠点の数と設計上のピンホール数とを比較し、前記判別されたピンホール欠点の数のほうが多い場合には、前記透明体内にピンホール欠点が存在すると判定するピンホール欠点判定手段と、
前記判別された汚れ欠点の数とベタプリント以外の設計上のプリント数とを比較し、前記判別された汚れ欠点の数のほうが多い場合には、前記透明体内に汚れ欠点が存在すると判定する汚れ欠点判定手段とを、さらに有する請求項2に記載の欠点検出装置。
The image processing means,
The number of pinhole defects determined is compared with the number of design pinholes, and if the number of determined pinhole defects is larger, the pin is determined to have a pinhole defect in the transparent body. Hole defect determining means,
The number of the determined stain defects is compared with the number of prints other than the solid prints in the design, and if the number of the determined stain defects is larger, the number of the stain defects determined to be present in the transparent body is determined. 3. The defect detection device according to claim 2, further comprising a defect determination unit.
ドット状プリント部分を一部に含む透明体の欠点を検出する方法であって、
前記透明体の画像を原画像とし、前記原画像を縦m画素 × 横n画素(m,nは自然数)ごとの複数のブロックにブロック化し、それぞれのブロックについて画素の最大輝度 − 最小輝度の値である高低差フィルタ値を求め、求められた高低差フィルタ値をそのブロックの輝度に設定して前記原画像を圧縮した圧縮画像を生成するステップと、
前記圧縮画像を対象として、前記ブロックの輝度と所定の輝度レベルとの比較を行い、前記輝度レベル以上の輝度を有する前記圧縮画像内の高輝度領域を識別し、前記識別した高輝度領域を欠点候補として抽出するステップと、
前記欠点候補を対象として、それぞれの欠点候補を構成するブロックの数が所定のブロック基準数以上か否か判別し、前記ブロック基準数以上の数のブロックから構成される欠点候補を除外するステップと、を含む欠点検出方法。
A method for detecting a defect of a transparent body partially including a dot-shaped print portion,
The image of the transparent body is used as an original image, and the original image is divided into a plurality of blocks each having m pixels vertically by n pixels horizontally (m and n are natural numbers). Calculating a height difference filter value, and setting the obtained height difference filter value to the luminance of the block to generate a compressed image obtained by compressing the original image,
For the compressed image, the luminance of the block is compared with a predetermined luminance level, a high-luminance area in the compressed image having luminance equal to or higher than the luminance level is identified, and the identified high-luminance area is identified as a defect. Extracting as candidates;
For the defect candidate, determining whether the number of blocks constituting each defect candidate is equal to or greater than a predetermined block reference number, and excluding the defect candidate composed of blocks equal to or greater than the block reference number; And a defect detection method.
前記欠点候補の領域の周囲の原画像を切り出し、前記切り出された原画像の輝度と前記輝度レベルとを比較し、前記切り出された原画像の輝度が前記輝度レベル以上の場合には、前記欠点候補を汚れ欠点と判別し、前記切り出された原画像の輝度が前記輝度レベル未満の場合には、前記欠点候補をピンホール欠点と判別するステップを、さらに含む請求項4に記載の欠点検出方法。The original image around the area of the defect candidate is cut out, and the luminance of the cut out original image is compared with the luminance level. If the luminance of the cut out original image is equal to or higher than the luminance level, the defect 5. The defect detection method according to claim 4, further comprising the step of: determining the candidate as a stain defect; and, when the luminance of the cut-out original image is lower than the luminance level, determining the defect candidate as a pinhole defect. . 前記判別されたピンホール欠点の数と設計上のピンホール数とを比較し、前記判別されたピンホール欠点の数のほうが多い場合には、前記透明体内にピンホール欠点が存在すると判定するステップと、
前記判別された汚れ欠点の数とベタプリント以外の設計上のプリント数とを比較し、前記判別された汚れ欠点の数のほうが多い場合には、前記透明体内に汚れ欠点が存在すると判定するステップとを、さらに含む請求項5に記載の欠点検出方法。
Comparing the number of determined pinhole defects with the number of designed pinholes, and determining that there is a pinhole defect in the transparent body if the determined number of pinhole defects is larger. When,
Comparing the number of the determined stain defects with the number of prints other than the solid print on the design, and if the determined number of the stain defects is larger, determining that the stain defect exists in the transparent body; The defect detection method according to claim 5, further comprising:
ドット状プリント部分を一部に含む透明体の欠点を検出するプログラムであって、コンピュータを、
前記透明体の画像を原画像とし、前記原画像を縦m画素 × 横n画素(m,nは自然数)ごとの複数のブロックにブロック化し、それぞれのブロックについて画素の最大輝度 − 最小輝度の値である高低差フィルタ値を求め、求められた高低差フィルタ値をそのブロックの輝度に設定して前記原画像を圧縮した圧縮画像を生成する高低差フィルタ手段、
前記圧縮画像を対象として、前記ブロックの輝度と所定の輝度レベルとの比較を行い、前記輝度レベル以上の輝度を有する前記圧縮画像内の高輝度領域を識別し、前記識別した高輝度領域を欠点候補として抽出する欠点候補抽出手段、
前記欠点候補を対象として、それぞれの欠点候補を構成するブロックの数が所定のブロック基準数以上か否か判別し、前記ブロック基準数以上の数のブロックから構成される欠点候補を除外する非欠点候補除外手段、として機能させるためのプログラム。
A program for detecting a defect of a transparent body partially including a dot-shaped print portion, the computer comprising:
The image of the transparent body is used as an original image, and the original image is divided into a plurality of blocks each having m pixels vertically by n pixels horizontally (m and n are natural numbers). Height difference filter value, and calculates the height difference filter value to the brightness of the block to generate a compressed image of the original image, height difference filter means,
For the compressed image, the luminance of the block is compared with a predetermined luminance level, a high-luminance area in the compressed image having luminance equal to or higher than the luminance level is identified, and the identified high-luminance area is identified as a defect. Defect candidate extracting means for extracting as a candidate,
For the defect candidates, a non-defect that determines whether the number of blocks constituting each defect candidate is equal to or greater than a predetermined block reference number and excludes the defect candidates composed of blocks equal to or greater than the block reference number Program for functioning as candidate exclusion means.
コンピュータを、
前記欠点候補の領域の周囲の原画像を切り出し、前記切り出された原画像の輝度と前記輝度レベルとを比較し、前記切り出された原画像の輝度が前記輝度レベル以上の場合には、前記欠点候補を汚れ欠点と判別し、前記切り出された原画像の輝度が前記輝度レベル未満の場合には、前記欠点候補をピンホール欠点と判別する欠点種類識別手段として、さらに機能させるための請求項7に記載のプログラム。
Computer
Cut out the original image around the defect candidate area, compare the luminance of the cut out original image with the luminance level, and if the luminance of the cut out original image is equal to or higher than the luminance level, 8. The method according to claim 7, further comprising: determining a candidate as a stain defect; and, when the luminance of the cut-out original image is less than the luminance level, the defect candidate further serving as a defect type identification unit for determining the defect candidate as a pinhole defect. The program described in.
コンピュータを、
前記判別されたピンホール欠点の数と設計上のピンホール数とを比較し、前記判別されたピンホール欠点の数のほうが多い場合には、前記透明体内にピンホール欠点が存在すると判定するピンホール欠点判定手段、
前記判別された汚れ欠点の数とベタプリント以外の設計上のプリント数とを比較し、前記判別された汚れ欠点の数のほうが多い場合には、前記透明体内に汚れ欠点が存在すると判定する汚れ欠点判定手段として、さらに機能させるための請求項8に記載のプログラム。
Computer
The number of pinhole defects determined is compared with the number of design pinholes, and if the number of determined pinhole defects is larger, the pin is determined to have a pinhole defect in the transparent body. Hall defect determination means,
The number of the determined stain defects is compared with the number of prints other than the solid prints in the design, and if the number of the determined stain defects is larger, the number of the stain defects determined to be present in the transparent body is determined. 9. The program according to claim 8, further causing the program to function as a defect determination unit.
JP2003013798A 2003-01-22 2003-01-22 Method and apparatus for detecting pinhole defects and dirt defects on a transparent body Expired - Fee Related JP4212904B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003013798A JP4212904B2 (en) 2003-01-22 2003-01-22 Method and apparatus for detecting pinhole defects and dirt defects on a transparent body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003013798A JP4212904B2 (en) 2003-01-22 2003-01-22 Method and apparatus for detecting pinhole defects and dirt defects on a transparent body

Publications (2)

Publication Number Publication Date
JP2004226212A true JP2004226212A (en) 2004-08-12
JP4212904B2 JP4212904B2 (en) 2009-01-21

Family

ID=32902031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003013798A Expired - Fee Related JP4212904B2 (en) 2003-01-22 2003-01-22 Method and apparatus for detecting pinhole defects and dirt defects on a transparent body

Country Status (1)

Country Link
JP (1) JP4212904B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006208150A (en) * 2005-01-27 2006-08-10 Opto One Kk System for visually inspecting liquid crystal substrate
JP2007017377A (en) * 2005-07-11 2007-01-25 Ishikawajima Harima Heavy Ind Co Ltd Fluorescent flaw detector and fluorescent flaw detecting method
JP2007017376A (en) * 2005-07-11 2007-01-25 Ishikawajima Harima Heavy Ind Co Ltd Fluorescent flaw detector and fluorescent flaw detecting method
JP2007278928A (en) * 2006-04-10 2007-10-25 Olympus Corp Defect inspection device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101487684B1 (en) 2013-11-21 2015-01-29 삼성중공업 주식회사 Apparatus and method for measuring cleaning state

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02170279A (en) * 1988-12-23 1990-07-02 Hitachi Ltd Method and device for detecting defect of pattern to be checked
JPH0373831A (en) * 1989-05-19 1991-03-28 Mitsubishi Rayon Co Ltd Device for inspecting defect
JPH1089931A (en) * 1996-09-17 1998-04-10 Hitachi Ltd Method and device for inspecting pattern and manufacture of semiconductor wafer
JPH10260011A (en) * 1997-03-19 1998-09-29 Olympus Optical Co Ltd Positioning device
JP2000028539A (en) * 1998-07-08 2000-01-28 Matsushita Electric Ind Co Ltd Defect detecting device
JP2002005846A (en) * 2000-06-20 2002-01-09 Tokimec Inc Defect inspecting apparatus
JP2002083303A (en) * 2000-07-04 2002-03-22 Nippon Sheet Glass Co Ltd Image processing device and image processing method
JP2002274892A (en) * 2001-03-23 2002-09-25 Central Glass Co Ltd Automotive window glass having shade band

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02170279A (en) * 1988-12-23 1990-07-02 Hitachi Ltd Method and device for detecting defect of pattern to be checked
JPH0373831A (en) * 1989-05-19 1991-03-28 Mitsubishi Rayon Co Ltd Device for inspecting defect
JPH1089931A (en) * 1996-09-17 1998-04-10 Hitachi Ltd Method and device for inspecting pattern and manufacture of semiconductor wafer
JPH10260011A (en) * 1997-03-19 1998-09-29 Olympus Optical Co Ltd Positioning device
JP2000028539A (en) * 1998-07-08 2000-01-28 Matsushita Electric Ind Co Ltd Defect detecting device
JP2002005846A (en) * 2000-06-20 2002-01-09 Tokimec Inc Defect inspecting apparatus
JP2002083303A (en) * 2000-07-04 2002-03-22 Nippon Sheet Glass Co Ltd Image processing device and image processing method
JP2002274892A (en) * 2001-03-23 2002-09-25 Central Glass Co Ltd Automotive window glass having shade band

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006208150A (en) * 2005-01-27 2006-08-10 Opto One Kk System for visually inspecting liquid crystal substrate
JP2007017377A (en) * 2005-07-11 2007-01-25 Ishikawajima Harima Heavy Ind Co Ltd Fluorescent flaw detector and fluorescent flaw detecting method
JP2007017376A (en) * 2005-07-11 2007-01-25 Ishikawajima Harima Heavy Ind Co Ltd Fluorescent flaw detector and fluorescent flaw detecting method
JP4618502B2 (en) * 2005-07-11 2011-01-26 株式会社Ihi Fluorescence flaw detector and fluorescent flaw detection method
JP4618501B2 (en) * 2005-07-11 2011-01-26 株式会社Ihi Fluorescence flaw detector and fluorescent flaw detection method
JP2007278928A (en) * 2006-04-10 2007-10-25 Olympus Corp Defect inspection device

Also Published As

Publication number Publication date
JP4212904B2 (en) 2009-01-21

Similar Documents

Publication Publication Date Title
JP3344995B2 (en) Tablet surface inspection device
KR101022187B1 (en) Substrate inspection device
JP4212904B2 (en) Method and apparatus for detecting pinhole defects and dirt defects on a transparent body
JP6628185B2 (en) Inspection method for transparent objects
JP2012237585A (en) Defect inspection method
JP2006047078A (en) Method for inspecting printing defect and/or printing contamination of transparent plate body
JP2012088199A (en) Method and apparatus for inspecting foreign matter
JP2008146432A (en) Method of detecting mark
JP2007147376A (en) Inspection device
JP4364773B2 (en) Inspection method of printed matter
JP5380223B2 (en) Circular lens inspection apparatus and method
KR101293546B1 (en) Hole detecting apparatus and method using dual camera
JP2011112593A (en) Inspection method and inspection device of printed matter
JP4967132B2 (en) Defect inspection method for object surface
JP5231779B2 (en) Appearance inspection device
JPH0519938B2 (en)
JP2004028729A (en) Signature panel inspection method for card
JP2020091219A (en) Inspection performance diagnosing device, inspection performance diagnosing method, program for inspection performance diagnosing device, and inspection performance diagnosing system
JP2005207808A (en) Defect inspecting apparatus and method
JP2007003389A (en) Inspection device and inspection method
JP4084257B2 (en) Printed circuit board inspection equipment
JP2000055824A (en) Device for inspecting flaw in flat plate with hole
JP2000046748A (en) Method and apparatus for inspecting conductor pattern and production of multilayered substrate
JP2006105807A (en) Method for inspecting print defect and/or print contamination of transparent plate-like body
JP2007285995A (en) Defect detecting method, defect detecting apparatus and defect detecting program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080324

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080522

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080912

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: 20081028

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081029

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees