JP6973783B2 - Lens appearance inspection device - Google Patents
Lens appearance inspection device Download PDFInfo
- Publication number
- JP6973783B2 JP6973783B2 JP2017186863A JP2017186863A JP6973783B2 JP 6973783 B2 JP6973783 B2 JP 6973783B2 JP 2017186863 A JP2017186863 A JP 2017186863A JP 2017186863 A JP2017186863 A JP 2017186863A JP 6973783 B2 JP6973783 B2 JP 6973783B2
- Authority
- JP
- Japan
- Prior art keywords
- lens
- inspection
- image
- illumination
- spectacle lens
- 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.)
- Active
Links
- 238000007689 inspection Methods 0.000 title claims description 323
- 238000005286 illumination Methods 0.000 claims description 137
- 239000002131 composite material Substances 0.000 claims description 51
- 238000000034 method Methods 0.000 claims description 43
- 230000008569 process Effects 0.000 claims description 43
- 230000001678 irradiating effect Effects 0.000 claims description 38
- 238000012545 processing Methods 0.000 claims description 38
- 230000003287 optical effect Effects 0.000 claims description 32
- 238000011179 visual inspection Methods 0.000 claims description 18
- 238000003860 storage Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 13
- 238000003384 imaging method Methods 0.000 description 29
- 230000002159 abnormal effect Effects 0.000 description 23
- 230000005856 abnormality Effects 0.000 description 20
- 230000007246 mechanism Effects 0.000 description 20
- 239000000126 substance Substances 0.000 description 13
- 230000032258 transport Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 230000015572 biosynthetic process Effects 0.000 description 5
- 238000003786 synthesis reaction Methods 0.000 description 5
- 230000009467 reduction Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000012935 Averaging Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 230000002146 bilateral effect Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000007480 spreading Effects 0.000 description 2
- 238000003892 spreading Methods 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000008685 targeting Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 239000005060 rubber Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
本発明は、眼鏡レンズやカメラレンズ等のレンズの外観を検査するレンズ外観検査装置に関する。 The present invention relates to a lens appearance inspection device for inspecting the appearance of a lens such as a spectacle lens or a camera lens.
レンズ用画像撮像装置として、下記特許文献1のものが知られている。
この装置では、[0054]や図1に記載されるように、光源31から出射した光Lがコリメータレンズ36によって平行光L1に変換され、その平行光L1がハーフミラー35とコーナーキューブプリズム49によって被検レンズ1に一往復透過されて、CCD40Aに集光されている。
他方、眼鏡レンズを始めとするレンズの目視検査においては、眩惑を防止して正確に検査するため、照明の透過光は目視せず、外観異常箇所で散乱される散乱光を捉えることで検査されている。例えば眼鏡レンズでは、外観異常は装用者において散乱光として感知され、散乱光による検査は、装用者(レンズのユーザー)による感知に類似するものとなり、この点でユーザーに合った検査と言える。
As an image imaging device for a lens, the one described in
In this device, as described in [0054] and FIG. 1, the light L emitted from the light source 31 is converted into the parallel light L1 by the
On the other hand, in the visual inspection of lenses such as spectacle lenses, in order to prevent dazzling and perform an accurate inspection, the transmitted light of the illumination is not visually inspected, but the scattered light scattered in the abnormal appearance is captured. ing. For example, in a spectacle lens, an abnormality in appearance is perceived by the wearer as scattered light, and an inspection using scattered light is similar to a perceived by the wearer (lens user), and in this respect, it can be said to be an inspection suitable for the user.
特許文献1のものでは、平行光の透過光によってレンズの画像が撮像されており、マーク等を通過した光束が発散する一方で透過光は平行に進行するため、鮮明な画像が得られる。
しかし、特許文献1のものでは、透過光を捉えて画像が撮像されており、目視検査とギャップのある検査となってユーザーに合わない検査となり得るし、外観異常箇所の態様によっては、光束が発散せずに撮像装置に達して、外観異常をうまく捉えられない可能性がある。
そこで、透過光を撮像せずに散乱光を撮像して、目視検査と同様の検査を自動で行うことが考えられる。
しかし、散乱光のみの撮像では、散乱光の光量が僅かであることから、十分な精度の検査のために必要なコントラスト比を得ることが難しく、特に眼鏡レンズのような多様なカーブ値や度数を有するレンズにおいては、全ての場合において散乱光の光量を十分に確保することが困難で、必要なコントラスト比を得ることが困難である。
又、散乱光のみの撮像において、コントラスト比を良好にするために、照明の強度を強くすると、特にカーブの深いレンズや肉厚の大きいレンズにおいて照明の映り込みが発生し、その映り込みを取り込んだ撮像結果によって、良品のレンズが良品として判定されない事態が生じ得て、かえって検査精度が悪化しかねず、照明の強度にも限界があって、検査精度の向上に限界が存在する。
そこで、本発明は、散乱光により撮像した画像において、照明の映り込みにより及ぼされる影響を排除した状態で十分なコントラスト比が確保され、その画像を用いた検査の精度が良好であるレンズ外観検査装置を提供することを主な目的とするものである。
In
However, in
Therefore, it is conceivable to image the scattered light without imaging the transmitted light and automatically perform the same inspection as the visual inspection.
However, in the case of imaging with only scattered light, it is difficult to obtain the contrast ratio required for a sufficiently accurate inspection because the amount of scattered light is small. In all cases, it is difficult to secure a sufficient amount of scattered light, and it is difficult to obtain the required contrast ratio.
Further, in the case of imaging only scattered light, if the illumination intensity is increased in order to improve the contrast ratio, the illumination is reflected especially in a lens having a deep curve or a lens having a large wall thickness, and the reflection is captured. However, depending on the imaging result, a situation may occur in which a good lens is not judged as a good product, and the inspection accuracy may be deteriorated, the illumination intensity is limited, and there is a limit to the improvement of the inspection accuracy.
Therefore, according to the present invention, in an image captured by scattered light, a sufficient contrast ratio is secured in a state where the influence of the reflection of illumination is eliminated, and the inspection accuracy using the image is good. The main purpose is to provide the device.
上記目的を達成するために、請求項1に記載の発明は、検査対象レンズに対して、当該検査対象レンズの光軸を囲む囲み線の一部にそれぞれ相当する部分を占める複数の照明部分から、照明光を切替えて照射可能である照明光照射手段と、前記検査対象レンズに対する前記照明光照射手段の、前記光軸の方向における位置、及び傾斜角の少なくとも一方を変更する照射変更手段と、前記検査対象レンズが含まれる検査用画像を撮像するカメラと、前記検査用画像を処理する制御手段と、を備えており、前記カメラは、前記照明光照射手段による複数の前記照明部分における照射毎に前記検査用画像を撮像し、前記制御手段は、前記検査対象レンズの特性値であるレンズ特性値を含むレンズデータベースを記憶する記憶手段を有しており、前記検査用画像の撮像時に、前記レンズデータベースを参照して得た前記レンズ特性値に対応する前記照明光照射手段の前記位置及び前記傾斜角の少なくとも一方を抽出して、その決定された前記位置及び前記傾斜角の少なくとも一方となるように、前記照射変更手段により前記照明光照射手段の前記位置及び前記傾斜角の少なくとも一方を変更させる照射変更処理と、複数の前記照明部分の照射毎に撮像した前記検査用画像中の前記検査対象レンズ撮像部分における、前記照明部分が映り込んだ部分をそれぞれ消去して、複数の検査用マスク画像を生成する一部消去処理と、複数の前記検査用マスク画像を合成して検査用合成画像を生成する合成処理と、を行うことを特徴とするものである。
請求項2に記載の発明は、上記発明にあって、前記照明光は、指向角が30°以下の狭角光であることを特徴とするものである。
請求項3に記載の発明は、上記発明にあって、前記照明光照射手段の前記傾斜角に係る前記照射変更手段は、アクチュエータにより形成されることを特徴とするものである。
請求項4に記載の発明は、上記発明にあって、前記照明光照射手段における前記囲み線は、前記検査対象レンズを囲む円環又は正多角形であり、前記照明光照射手段における前記照明部分は、前記円環又は前記正多角形を均等に分割した場合の前記円環の部分又は前記正多角形の部分であり、前記制御手段の前記一部消去処理における消去対象部分は、前記検査用画像をその中心から発する放射方向の直線で均等に分割した場合の前記検査用画像の部分であることを特徴とするものである。
請求項5に記載の発明は、上記発明において、前記カメラは、前記検査対象レンズに向けられたカメラレンズを有しており、前記カメラレンズは、物体側テレセントリックレンズ又は両側テレセントリックレンズであることを特徴とするものである。
請求項6に記載の発明は、上記発明において、更に、内面が反射防止面とされている箱体を備えており、前記箱体は、孔を有しており、前記検査対象レンズを挟んで前記カメラと反対側に前記孔が位置するように配置されていることを特徴とするものである。
請求項7に記載の発明は、上記発明において、更に、前記検査対象レンズ及び前記照明光照射手段、並びに、前記カメラを覆うエンクロージャを備えており、前記エンクロージャの内面は、前記照明光の反射が防止される反射防止面とされていることを特徴とするものである。
請求項8に記載の発明は、上記発明において、更に、前記検査対象レンズと前記カメラとの間の距離を調整する距離調整手段を備えていることを特徴とするものである。
In order to achieve the above object, the invention according to
The invention according to
The invention according to
The invention according to
According to the fifth aspect of the present invention, in the above invention, the camera has a camera lens directed to the lens to be inspected, and the camera lens is an object-side telecentric lens or a bilateral telecentric lens. It is a feature.
The invention according to
The invention according to
The invention according to
本発明によれば、散乱光により撮像した画像において、照明の映り込みにより及ぼされる影響を排除した状態で十分なコントラスト比が確保され、その画像を用いた検査の精度が良好であるレンズ外観検査装置を提供することが可能となる、という効果を奏する。 According to the present invention, in an image captured by scattered light, a sufficient contrast ratio is secured in a state where the influence of the reflection of illumination is eliminated, and the inspection accuracy using the image is good. It has the effect of being able to provide the device.
以下、本発明に係る実施の形態の例が、適宜図面を用いて説明される。尚、本発明の形態は、以下のものに限定されない。 Hereinafter, examples of embodiments according to the present invention will be described with reference to the drawings. The form of the present invention is not limited to the following.
[第1形態]
≪構成等≫
図1は、本発明の第1形態に係るレンズ外観検査装置1の斜視模式図であり、図2は、レンズ外観検査装置1の縦中央断面模式図である。
レンズ外観検査装置1は、エンクロージャ2と、水平な天板3を有しておりエンクロージャ2の内側下部に配置される箱状のステージ4(箱体)と、天板3の中央部に開けられた孔5の周囲に配置されるレンズ保持機構6と、ステージ4の天板3上に配置される照明光照射手段としての狭角光照射手段7と、エンクロージャ2の内側の上部に設置されるカメラ8と、報知手段9と、これらを制御する制御手段12を備えており、眼鏡レンズLの外観を検査するものである。尚、レンズ外観検査装置1は、カーブの深い(曲率半径の小さい)ものが多く含まれる眼鏡レンズLの検査に適しているが、眼鏡レンズL以外の(カーブの深いあるいは肉厚の大きい)レンズの検査に用いられても良い。又、エンクロージャ2、レンズ保持機構6、及び報知手段9の少なくとも何れかは、省略されても良い。更に、レンズ外観検査装置は、レンズに関する他の検査を行う各種検査装置と組み合わせられても良い。加えて、以下のレンズ外観検査装置1が複数組み合わせられることでレンズ外観検査装置が構成されても良い。
[First form]
≪Composition, etc.≫
FIG. 1 is a schematic perspective view of the lens
The lens
エンクロージャ2は、閉塞可能な箱状であり、遮光性材料によって形成されている。エンクロージャ2の内面には、光の反射率を低減させることで光の反射を防止する反射防止加工が施されており、エンクロージャ2の内面は、光の反射が防止される反射防止面とされていて、ここでは黒色を呈するように形成されている(黒化処理)。尚、反射防止フィルムを貼着することで、反射防止フィルム付きのエンクロージャ2内面が形成され、エンクロージャ2内面の反射防止面が形成されても良い。
The
ステージ4は、距離調整手段としてのリフト20によって、天板3を水平姿勢に保ったまま上下動可能に支持されている。尚、ステージ4(箱体)は、眼鏡レンズLの下方に位置する内面に光がなるべく当たらないように当該内面を囲む形状であれば足り、完全に閉塞されている必要はなく、窓や扉等の開口部が存在していても良い。あるいは、リフト20は、省略されても良い。又、ステージ4の一部が上下動可能に支持されても良い。更に、ステージ4あるいはその一部は、リフト20や他の手段によって、左右に移動可能とされても良い。
ステージ4の外面は黒色とされており、ステージ4の内面は、黒色のスクリーンが貼られることで黒化処理されている。
The
The outer surface of the
レンズ保持機構6は、検査対象レンズとしての眼鏡レンズLを保持する機構であり、ここでは一対(2個)の断面L字状のフック21,21である。各フック21の一方の面状部分は、天板3の中央部に開けられた孔5の内側(天板3の下面)に対して固定されており、他方の面状部分は、起立姿勢となっており、その上部において眼鏡レンズLの周縁を支持する。各フック21における起立部分は、透光性を有するが、照明光を阻害しなければ透光性を有していなくても良い。フック21,21は、互いに向かい合うように配置され、眼鏡レンズLの外径に応じてそれらの距離が調整される。
尚、フック21の数は、1個でも良いし、3個以上であっても良い。フック21の固定は、孔5の内側以外に対するものであっても良い。又、レンズ保持機構6は、フランジ付きの円筒状部材であっても良く、この場合に内径の大きさ(内側形状)を眼鏡レンズLの外径(外側形状)に合致させる内径調整手段(形状調整手段)を備えるようにしても良い。更に、レンズ保持機構6の材質は、樹脂、セラミックス、ガラス、金属、ゴムあるいはこれらの組合せとされても良い。
The
The number of
図3にも示される狭角光照射手段7は、中空幅広円筒状であって中央孔部22を有するハウジング23と、ハウジング23内に配設された複数の狭角光LED24,24・・と、狭角光LED24,24・・毎に設けられる照明用レンズ26,26・・を備えている。
ハウジング23の外面は、エンクロージャ2の内面と同様に、黒色とされている。
各狭角光LED24は、白色の略狭角光を発する。狭角光は、指向角が30°以下の光であり、指向角が0°である平行光を含んでいる。略狭角光は、殆ど狭角光であるものの、完全な狭角光に近づけるための微調整の余地が残されている光であり、例えば30°を僅かに超えた指向角で発散する(遠方において広がりが認められる)光や、電圧等の条件によって指向角が変化することでかような発散が見受けられる光である。尚、各狭角光LED24は、白色以外の色の略狭角光を発しても良いし、紫外線や赤外線を含む可視光以外の略狭角光を発しても良いし、これらを組合せた略狭角光を発しても良い。又、狭角光LED24は、平行光又は略平行光を発する平行光LEDであっても良い。略平行光は、殆ど平行光であるものの、完全な平行光に近づけるための微調整の余地が残されている光であり、僅かに集束する(集束点が遠方ではあるが存在する)光や、僅かに発散する(遠方において広がりが認められる)光や、電圧等の条件によって僅かな集束や発散が変化する光である。更に、狭角光LED24に代えて、狭角光あるいは略狭角光ではない光(広角光)を発する光源が用いられても良い。以下、かような広角光及び狭角光は、合わせて照明光と呼ばれることがある。
各狭角光LED24は、発光方向がハウジング23の中央孔部22内(の中心)に向かうように設置されている。
狭角光LED24,24・・は、ハウジング23の周方向に並ぶように配置され、ここでは周方向に等間隔に、合計32個配置されている。
各照明用レンズ26は、対応する狭角光LED24の内方に配置されており、狭角光LED24から発出された略狭角光の光路を微調整して、狭角光とするものである。尚、照明用レンズ26は、略狭角光若しくは狭角光又は略平行光を平行光とするものであっても良い。又、照明用レンズ26は、狭角光LED24と一体としても良いし、複数の狭角光LED24,24・・に共通するものとしても良いし、省略しても良い。又、狭角光を発する手段は狭角光LED24と照明用レンズ26の組合せに限られず、レーザ励起体等であっても良い。
The narrow-angle light irradiating means 7 also shown in FIG. 3 includes a
The outer surface of the
Each narrow-
Each narrow-
The narrow-angle
Each
そして、ハウジング23の中央孔部22内(検査位置)に、レンズ保持機構6を介して眼鏡レンズLがセットされる。眼鏡レンズLの光軸は、鉛直方向を向き、眼鏡レンズLが凸レンズである場合には凸面が下となるように配置され、眼鏡レンズLが凹レンズである場合には凹面が上となるように配置される。狭角光照射手段7は、ハウジング23の周方向の全体に亘り配置された狭角光LED24,24・・や照明用レンズ26,26・・を有するので、眼鏡レンズLの周囲全体を照らす。尚、眼鏡レンズLの向きは、上述と逆であっても良いが、上述の向きであれば各レンズの散乱光をより適切に撮像し易くなる。
各狭角光LED24から出た略狭角光は、何れもその狭角光LED24の向きに平行であり、対応する照明用レンズ26により狭角光となって、眼鏡レンズLに向かって、大きく広がることなく、又急に集束することなく、略真っ直ぐ進む。各照明用レンズ26から出た狭角光の方向は、眼鏡レンズLの光軸に交わる方向であり、より詳しくはその光軸に直交する水平な方向である。各狭角光LED24の発光部は、所定の大きさ(例えば直径2mm(ミリメートル)の円盤)を有しており、各狭角光LED24ないし照明用レンズ26からの狭角光に係る進行方向に垂直な断面の大きさは、その発光部の大きさから指向角の分だけ広がって行く。
狭角光がレンズ保持機構6に至る場合であっても、少なくともその到達部分(各フック21の起立部分)が透光性を有するから、狭角光はレンズ保持機構6を通過する。
又、狭角光LED24,24・・は、複数の照明部分毎に独立して点消灯可能であるように、制御手段12と電気的に接続されていて、ここでは図3で示されるように上側から下方へ見たときの右上部分である第1照明部分M1,右下部分である第2照明部分M2,左下部分である第3照明部分M3あるいは左上部分である第4照明部分M4の4箇所の部分毎に、オンオフを切替可能に接続されている(部分照明,分割照明)。それら照明部分のそれぞれは、狭角光LED24,24・・を8個含んており、眼鏡レンズLを取り囲む円環全体360°のうちの四半円90°の範囲を照らす。尚、かような照明部分の数、即ちリング状に配置された狭角光LED24,24・・の分割数は、4未満であっても良いし、4を超えていても良い。又、各部分における狭角光LED24,24・・の数や配置される角度は、同一であることが好ましいが(均等分割)、一部あるいは全部において互いに相違していても良い。更に、少なくとも2つの照明部分が互いにオーバーラップしていても良い。加えて、照明部分の集合が眼鏡レンズLを360°取り囲むことが好ましいが、狭角光照射手段7が照明部分の配置されない箇所(隙間等)を有することによって、照明部分の集合が眼鏡レンズLを360°取り囲まなくても良い。又、狭角光LED24,24・・は、多角形や楕円等の、眼鏡レンズLの光軸を囲む円環以外の任意の囲み線に沿うように配置されて良く、照明部分はその一部を占めるようにされて良い。
尚、ハウジング23は、幅広肉厚円弧形状を始めとする他の形状であっても良いし、狭角光LED24,24・・や照明用レンズ26,26・・は、弧状の部分に亘り配置される等、眼鏡レンズLを囲まないように配置されても良い。又、狭角光LED24,24・・に係る略狭角光の進行方向や照明用レンズ26,26・・の光軸方向は、眼鏡レンズLの光軸に直交する方向ではなく、その光軸に90°以外の角度で交わる方向を向いていても良い。
Then, the spectacle lens L is set in the central hole 22 (inspection position) of the
The substantially narrow-angle light emitted from each narrow-
Even when the narrow-angle light reaches the
Further, the narrow-angle
The
カメラ8は、撮像素子30及び記憶手段32を有するカメラ本体34と、カメラ本体34の下部に取り付けられたカメラレンズ36を備えており、制御手段12からの指令に基づき、カメラレンズ36から取り込まれた像を撮像素子30で撮像することで検査用画像Cを取得して、記憶手段32に記憶し、制御手段12に送信する。撮像素子30は、ここではエリアセンサである。尚、カメラ8は記憶手段32を具備せず、検査用画像Cを直ちに制御手段12に送信しても良い。又、記憶手段32は、揮発性であっても不揮発性であっても良く、メモリであってもハードディスクであってもあるいはこれらの組合せであっても良い。
撮像素子30やカメラレンズ36は、狭角光照射手段7や眼鏡レンズLと向かい合うように設置されている。
The
The
撮像素子30は、狭角光のみによる撮像であることを考慮して、比較的に高い解像度を有するものとされている。又、撮像素子30は、狭角光のみによる撮像であることを考慮して、比較的に高い感度を有するものとされている。
又、カメラレンズ36は、物体側の主光線がレンズ光軸に対して平行である物体側テレセントリックレンズである。尚、カメラレンズ36は、物体側と像側の双方において主光線がレンズ光軸に対して平行である両側テレセントリックレンズであっても良い。
カメラレンズ36は、物体側テレセントリックレンズであるため、被写界深度が比較的に深く、カーブが深かったり厚さが大きかったりする眼鏡レンズLにおいても、被写界深度はその眼鏡レンズLの全体においてピントが合うようなものとなっている。
カメラレンズ36の実視野は、狭角光のみによる撮像であることや眼鏡レンズL全体を捉えることを考慮して、比較的に広いものされており、好ましくは85mm以上とされている。
The
Further, the
Since the
The actual field of view of the
報知手段9は、少なくとも検査結果を報知するものであり、例えば音発生手段、若しくは表示手段、又はこれらの組合せである。音発生手段は、例えばスピーカーやブザーであり、表示手段は、例えばランプ、7セグメントLED、フラットディスプレイ、あるいはこれらの組合せである。表示手段は、タッチパネルを始めとする、入力手段と組み合わせられたものであっても良い。又、独立した入力手段(例えばキーボード、ポインティングデバイス、あるいはこれらの組合せ)が設けられても良い。 The notifying means 9 is at least notifying the inspection result, and is, for example, a sound generating means, a display means, or a combination thereof. The sound generating means is, for example, a speaker or a buzzer, and the display means is, for example, a lamp, a 7-segment LED, a flat display, or a combination thereof. The display means may be a combination with an input means such as a touch panel. Further, an independent input means (for example, a keyboard, a pointing device, or a combination thereof) may be provided.
制御手段12は、例えばエンクロージャ2外に配置されあるいはエンクロージャ2に付設されたマイクロコンピュータであり、リフト20、狭角光照射手段7、カメラ8ないし報知手段9とそれぞれ電気的に接続されていて、これらをそれぞれ制御する。尚、制御手段12は、リフト20、狭角光照射手段7、カメラ8ないし報知手段9の少なくとも何れかに組み込まれていても良いし、協調制御可能に複数分散されていても良い。
又、制御手段12には、眼鏡レンズLを検査位置に置いたり検査位置から取り出したりする搬送手段(図示略)が電気的に接続されており、制御手段12は、搬送手段を制御可能である。搬送手段は、例えば(ノズル移動手段と共通のあるいは別の)ロボットハンド、コンベア、若しくは眼鏡レンズLのリフト、あるいはこれらの組合せである。コンベアの場合、狭角光照射手段7について退避動作(例えば上昇)ないし復帰動作(下降)を可能とし、制御手段12は、狭角光照射手段7を退避させてコンベアにより眼鏡レンズLを検査位置に搬入し、その後狭角光照射手段7を復帰させても良い。眼鏡レンズLのリフトの場合、眼鏡レンズL載置部の退避(下降)位置で眼鏡レンズLが載置された後、当該載置部が検査位置に復帰(上昇)し、検査後に退避位置で眼鏡レンズLが取り出されても良い。尚、搬送手段は、眼鏡レンズLとレンズ保持機構6を搬送しても良い。又、レンズ外観検査装置1はレンズ洗浄装置と組み合わせられて良く、この場合に搬送手段がレンズ洗浄装置に眼鏡レンズLを搬送し、眼鏡レンズLが洗浄されてから、眼鏡レンズLを取り出してレンズ外観検査装置1に搬送しても良い。
The control means 12 is, for example, a microcomputer arranged outside the
Further, the control means 12 is electrically connected to a transport means (not shown) for placing the spectacle lens L at the inspection position or taking it out from the inspection position, and the control means 12 can control the transport means. .. The transport means is, for example, a robot hand (common or different from the nozzle moving means), a conveyor, a lift of the spectacle lens L, or a combination thereof. In the case of a conveyor, the narrow-angle light irradiating means 7 can be retracted (for example, ascended) or returned (descended), and the control means 12 retracts the narrow-angle light irradiating means 7 and inspects the spectacle lens L by the conveyor. Then, the narrow-angle light irradiation means 7 may be restored. In the case of a lift of the spectacle lens L, after the spectacle lens L is placed at the retracted (lowered) position of the spectacle lens L mounting portion, the mounted portion returns (rises) to the inspection position, and after the inspection, at the retracted position. The spectacle lens L may be taken out. The transport means may transport the spectacle lens L and the
又、制御手段12は、カメラ8の記憶手段32と同様である記憶手段40と、通信手段42と、これらを制御するCPU44と、を備えている。
記憶手段40には、レンズ外観検査プログラム50と、レンズデータベース52と、第1〜第4検査用画像C1〜C4と、第1〜第4検査用マスク画像D1〜D4と、検査用合成画像Eが記憶されている。
Further, the control means 12 includes a storage means 40 similar to the storage means 32 of the
The storage means 40 includes a lens
レンズ外観検査プログラム50は、CPU44によって実行され、例えば図4に示されるようなレンズ外観検査処理を含んでいる。
第1〜第4検査用画像C1〜C4は、眼鏡レンズLがマイナスの度数(S−10.00D(ディオプター))を有するプラスチック製のマイナスレンズ(直径70mm(ミリメートル),屈折率1.6,中心厚1mm)であって異物等が混入していない正常な場合について順に図5〜図8において例示され、眼鏡レンズLがプラスチック製のマイナスレンズ(度数や直径等は前記同様)であって異物等が混入している異常な場合について順に図9〜図12において例示され、眼鏡レンズLがプラスの度数(S+6.00D)を有するプラスチック製のプラスレンズ(直径60mm,屈折率1.6,中心厚6mm)であって異物等が混入していない正常な場合について順に図13〜図16において例示される。
又、第1〜第4検査用マスク画像D1〜D4は、上述の正常な場合のマイナスレンズである眼鏡レンズLについて順に図17〜図20において例示され、上述の異常な場合のマイナスレンズである眼鏡レンズLについて順に図21〜図24において例示され、上述のプラスレンズである眼鏡レンズLについて順に図25〜図28において例示される。
更に、検査用合成画像Eは、上述の正常なマイナスレンズについて図29において例示され、上述の異常なマイナスレンズについて図30において例示され、上述の正常なプラスレンズについて図31において例示される。
尚、上述の正常なマイナスレンズにおいて、狭角光照射手段7の狭角光LED24,24・・を全て同時に点灯したとき(第1〜第4照明部分M1〜M4を全て同時に点灯したとき)に取得され得る画像(正常マイナスレンズ全照明画像)が、参考のため図32に例示され、上述の異常なマイナスレンズにおいて、狭角光LED24,24・・を全て同時に点灯したときに取得され得る画像(異常マイナスレンズ全照明画像)が、同様に図33に例示され、上述の正常なプラスレンズにおいて、狭角光LED24,24・・を全て同時に点灯したときに取得され得る画像(正常プラスレンズ全照明画像)が、同様に図34に例示される。
The lens
The first to fourth inspection images C1 to C4 are plastic negative lenses (diameter 70 mm (millimeter), refraction index 1.6,) in which the spectacle lens L has a negative power (S-10.00D (diopter)). The normal case where the center thickness is 1 mm) and no foreign matter is mixed is exemplified in FIGS. 5 to 8 in order. Examples of abnormal cases in which the like is mixed are exemplified in FIGS. 9 to 12, and the spectacle lens L is a plastic plus lens (diameter 60 mm, refraction index 1.6, center) having a plus power (S + 6.00D). The normal case where the thickness is 6 mm) and no foreign matter or the like is mixed is exemplified in FIGS. 13 to 16 in order.
Further, the first to fourth inspection mask images D1 to D4 are exemplified in FIGS. 17 to 20 in order with respect to the spectacle lens L which is the above-mentioned normal minus lens, and are the above-mentioned minus lenses in the abnormal case. The spectacle lens L is exemplified in FIGS. 21 to 24 in order, and the spectacle lens L, which is the above-mentioned positive lens, is exemplified in order in FIGS. 25 to 28.
Further, the composite image E for inspection is exemplified in FIG. 29 for the above-mentioned normal minus lens, in FIG. 30 for the above-mentioned abnormal minus lens, and in FIG. 31 for the above-mentioned normal plus lens.
In the above-mentioned normal minus lens, when all the narrow-
レンズデータベース52は、眼鏡レンズLに関する特性値であるレンズ特性値と、カメラ8による撮像に関する設定値である撮像設定値を対応付けたものである。レンズ特性値は、ここでは眼鏡レンズLの直径、カーブ値(度数)、レンズ設計情報(眼鏡レンズLの直径や床高,中心厚,コバ厚等)、及びコーティングの種類を示す値であるが、任意の一部の値が省略されても良いし、他の値が加えられても良い。ここで、床高は、眼鏡レンズLの凸面を上あるいは凹面を下にして平面においたときの当該平面から凸面(凹面の逆側の面)最上部までの高さであり、中心厚は、眼鏡レンズLの中心における厚みであり、コバ厚は、眼鏡レンズLのコバ(縁)における厚みである。又、各種のレンズ特性値は、直接入力を受け付けても良いし、他のレンズ特性値から計算により算出されても良い。他方、撮像設定値は、ここでは眼鏡レンズLとカメラレンズ36の間の距離である撮像距離や、露光時間、ゲインであるが、任意の一部の値が省略されても良いし、他の値が加えられても良い。
通信手段42は、各種の情報を入出力可能な手段であり、例えばハブ、各種の端子、通信コントローラ、あるいはこれらの組合せである。
尚、内側形状を調整可能なレンズ保持機構6が制御手段12に接続される場合において、制御手段12がレンズ特性値(眼鏡レンズLの直径)に応じてレンズ保持機構6の内側形状を制御するようにしても良い。
The
The communication means 42 is a means capable of inputting and outputting various types of information, and is, for example, a hub, various terminals, a communication controller, or a combination thereof.
When the
更に、レンズ外観検査プログラム50は、第1〜第4検査用画像C1〜C4の何れか1枚に対して画像処理を行う単画像処理や、複数の画像に対して画像処理を行う複画像処理を含んでいる。
Further, the lens
単画像処理は、第1検査用画像C1(図5,図9,図13)の右上部分である第1画像部分N1,第2検査用画像C2(図6,図10,図14)の右下部分である第2画像部分N2,第3検査用画像C3(図7,図11,図15)の左下部分である第3画像部分N3あるいは第4検査用画像C4(図8,図12,図16)の左上部分である第4画像部分N4の何れかを消去して第1検査用マスク画像D1(図17,図21,図25),第2検査用マスク画像D2(図18,図22,図26),第3検査用マスク画像D3(図19,図23,図27),第4検査用マスク画像D4(図20,図24,図28)を生成する一部消去処理を含んでいる。
ここで、消去(マスク)は、消去対象部分を所定の背景色(例えば黒色)とするものである。消去対象部分としての第1〜第4画像部分N1〜N4は、第1〜第4検査用マスク画像D1〜D4の中心から発する放射方向の直線(縦中心線及び横中心線)によって区分されており、それぞれ、第1〜第4検査用画像C1〜C4の丁度4分の1の大きさを有している。第1〜第4検査用マスク画像D1〜D4の中心は、第1〜第4検査用画像C1〜C4の中心と合致し、第1〜第4検査用画像C1〜C4の中心は、眼鏡レンズLの中心(狭角光照射手段7内の検査位置の中心)に合わせられるが、ずれていても良く、これら中心がずれている場合に、第1〜第4画像部分N1〜N4を画する放射方向の直線は、第1〜第4検査用マスク画像D1〜D4上の眼鏡レンズLの中心(狭角光照射手段7内の検査位置の中心)から発せられるようにしても良い。
尚、第1〜第4検査用画像C1〜C4や第1〜第4検査用マスク画像D1〜D4は、ここでは縦画素数が横画素数と同一の正方形であるが、縦画素数が横画素数と異なる長方形であっても良い。又、消去(マスク)は、対象部分を、背景色とは異なる所定のマスク色(例えば暗い灰色)に塗り潰すものであっても良いし、後述の合成処理の対象にならない旨の情報である非合成対象情報を対象部分に埋め込むものであっても良い。
The single image processing is performed on the right side of the first image portion N1 and the second inspection image C2 (FIGS. 6, FIG. 10, and FIG. 14) which are the upper right portions of the first inspection image C1 (FIGS. 5, 9, and 13). The lower left portion of the second image portion N2 and the third inspection image C3 (FIGS. 7, 11, and 15) is the third image portion N3 or the fourth inspection image C4 (FIGS. 8, 12, and 15). The first inspection mask image D1 (FIG. 17, FIG. 21, FIG. 25) and the second inspection mask image D2 (FIG. 18, FIG. 18) by erasing any of the fourth image portion N4 which is the upper left portion of FIG. 16). 22, FIG. 26), includes a partial erasing process for generating a third inspection mask image D3 (FIG. 19, FIG. 23, FIG. 27) and a fourth inspection mask image D4 (FIG. 20, FIG. 24, FIG. 28). I'm out.
Here, in erasing (mask), the erasing target portion has a predetermined background color (for example, black). The first to fourth image portions N1 to N4 as the parts to be erased are divided by straight lines (vertical center line and horizontal center line) in the radial direction originating from the center of the first to fourth inspection mask images D1 to D4. Each has exactly one-fourth the size of the first to fourth inspection images C1 to C4. The centers of the first to fourth inspection mask images D1 to D4 coincide with the centers of the first to fourth inspection images C1 to C4, and the centers of the first to fourth inspection images C1 to C4 are spectacle lenses. It is aligned with the center of L (the center of the inspection position in the narrow-angle light irradiation means 7), but it may be deviated, and when these centers are deviated, the first to fourth image portions N1 to N4 are drawn. The straight line in the radial direction may be emitted from the center of the spectacle lenses L on the first to fourth inspection mask images D1 to D4 (the center of the inspection position in the narrow angle light irradiation means 7).
The first to fourth inspection images C1 to C4 and the first to fourth inspection mask images D1 to D4 are squares having the same number of vertical pixels as the number of horizontal pixels, but the number of vertical pixels is horizontal. It may be a rectangle different from the number of pixels. Further, the erasure (mask) may be a mask that fills the target portion with a predetermined mask color (for example, dark gray) different from the background color, and is information that the target portion is not subject to the composition processing described later. The non-synthesis target information may be embedded in the target portion.
複画像処理は、一部消去処理が施された第1〜第4検査用マスク画像D1〜D4の画素情報を平均化して検査用合成画像E(図29〜図31)を生成する合成処理を含んでいる。
ここで、合成処理においては、第1画像部分N1,第2画像部分N2,第3画像部分N3,第4画像部分N4が消去された合計4枚の第1〜第4検査用マスク画像D1〜D4を対象とする。対象となる第1〜第4検査用マスク画像D1〜D4の縦横の画素数は、互いに同一である。
そして、それら4枚の第1〜第4検査用マスク画像D1〜D4について、対応する画素位置(例えば縦位置と横位置の組合せ)の画素値(例えば256段階の輝度)が合計され、その合計値を3で割ることで平均化される。3で割るのは、第1〜第4検査用マスク画像D1〜D4において第1画像部分N1,第2画像部分N2,第3画像部分N3あるいは第4画像部分N4の何れかが消去されており、第1〜第4検査用マスク画像D1〜D4の合計において1度消去部分(マスク部分)が加味されるので、その分合計枚数から引く(4−1=3)からである。第1画像部分N1,第2画像部分N2,第3画像部分N3及び第4画像部分N4は、第1〜第4検査用マスク画像D1〜D4を重ね合わせた場合に、互いに重複せず、第1検査用マスク画像D1等と丁度同じ大きさをカバーする。
尚、第1画像部分N1〜第4画像部分N4の少なくとも一部は、互いに重複しても良く、この場合、重複部分に対して更なる平均化等の追加の処理を施しても良い。又、第1〜第4検査用画像C1〜C4や第1〜第4検査用マスク画像D1〜D4の画素値は、赤緑青(RGB)の各輝度値等であっても良い。又更に、検査用合成画像Eは、平均化した輝度ではなく合計値の輝度を有していても良い。更に、合成処理の対象となる第1〜第4検査用マスク画像D1〜D4は、狭角光照射手段7の分割数(狭角光LED24,24・・の分割数)に応じて増減されても良いし、その分割数が4である場合に8枚とされる等、分割数より多い枚数とされても良い。加えて、単画像処理や複画像処理には、2値化処理やノイズリダクション処理等の他の処理が含まれていても良い。又、施した処理の種類ないし組合せ毎に画像が別々に保存されても良い。
The compound image processing is a compositing process for averaging the pixel information of the first to fourth inspection mask images D1 to D4 that have been partially erased to generate an inspection composite image E (FIGS. 29 to 31). Includes.
Here, in the compositing process, a total of four first to fourth inspection mask images D1 to which the first image portion N1, the second image portion N2, the third image portion N3, and the fourth image portion N4 are erased are erased. Targets D4. The number of vertical and horizontal pixels of the target first to fourth inspection mask images D1 to D4 are the same as each other.
Then, for the four first to fourth inspection mask images D1 to D4, the pixel values (for example, 256 levels of brightness) of the corresponding pixel positions (for example, the combination of the vertical position and the horizontal position) are totaled, and the total thereof is obtained. It is averaged by dividing the value by 3. Dividing by 3 means that in the first to fourth inspection mask images D1 to D4, either the first image portion N1, the second image portion N2, the third image portion N3, or the fourth image portion N4 is erased. , Since the erased portion (mask portion) is added once in the total of the first to fourth inspection mask images D1 to D4, it is subtracted from the total number of images (4-1 = 3). The first image portion N1, the second image portion N2, the third image portion N3, and the fourth image portion N4 do not overlap each other when the first to fourth inspection mask images D1 to D4 are overlapped with each other. 1 Inspection mask Covers exactly the same size as the image D1 and the like.
At least a part of the first image portion N1 to the fourth image portion N4 may overlap with each other, and in this case, the overlapping portion may be further subjected to additional processing such as averaging. Further, the pixel values of the first to fourth inspection images C1 to C4 and the first to fourth inspection mask images D1 to D4 may be the respective luminance values of red, green and blue (RGB). Furthermore, the composite image E for inspection may have a total luminance instead of an average luminance. Further, the first to fourth inspection mask images D1 to D4 to be combined are increased or decreased according to the number of divisions of the narrow angle light irradiation means 7 (the number of divisions of the narrow angle
≪動作等≫
このようになるレンズ外観検査装置1の動作例等が、主に図4に基づいて以下説明される。
レンズ外観検査装置1は、レンズ外観検査プログラム50を実行するCPU44(制御手段12)により、例えば次の通り動作する。
搬送手段は、制御手段12の制御により、検査対象の眼鏡レンズLを狭角光照射手段7内の検査位置に搬入する(ステップS1)。
制御手段12には、通信手段42を介して、搬入に係る眼鏡レンズLのレンズ特性値が入力される。レンズ特性値は、図示されない他のコンピュータから入力されても良いし、図示されない入力手段(例えばキーボード、ポインティングデバイス、タッチパネル、あるいはこれらの組合せ)により入力されても良い。
エンクロージャ2には、図示されない扉が設けられており、眼鏡レンズLの搬入時にその扉は開けられて眼鏡レンズLを通過可能とされ、搬入完了後、撮像までに、その扉は閉じられて、エンクロージャ2による閉塞が確保される。
≪Operation etc.≫
An operation example of the lens
The lens
Under the control of the control means 12, the transport means carries the spectacle lens L to be inspected into the inspection position in the narrow-angle light irradiation means 7 (step S1).
The lens characteristic value of the spectacle lens L to be carried in is input to the control means 12 via the communication means 42. The lens characteristic value may be input from another computer (not shown) or by an input means (for example, a keyboard, a pointing device, a touch panel, or a combination thereof) not shown.
The
制御手段12のCPU44は、レンズデータベース52を参照し、受信したレンズ特性値に対応する撮像設定値を取得して、その撮像設定値に合致する撮像が行われるように、カメラ8やリフト20に対して通信手段42を通じ指令を送る。ここでは、制御手段12は、レンズデータベース52で取得された撮像距離に合致するように、リフト20に対する指令を通じ、リフト20を作動させてステージ4を上昇させあるいは下降させ、天板3上の眼鏡レンズLを上昇させあるいは下降させることで、カメラレンズ36に対する眼鏡レンズLの位置を調整し、撮像距離を調整する(ステップS2)。尚、ステージ4が前後左右(水平方向)の少なくとも一方向に移動可能とされていても良い。又、カメラ8が上下動されあるいは水平移動されても良いし、カメラ8とステージ4の双方が上下動されあるいは水平移動されても良い。
The
又、制御手段12は、狭角光照射手段7に対して、第1照明部分M1,第2照明部分M2,第3照明部分M3あるいは第4照明部分M4の何れかにおいて所定の強度で狭角光を発出させるための発光指令を送信し、これを受けて発光指令に係る狭角光照射手段7の照明部分における狭角光LED24,24・・が点灯する。尚、撮像設定値に照明強度が含まれるようにして、制御手段12はその照明強度で照明するように狭角光照射手段7を制御しても良い。又、照明強度は、照明部分の一部又は全部において互いに相違していても良い。
Further, the control means 12 has a narrow angle with a predetermined intensity in any of the first lighting portion M1, the second lighting portion M2, the third lighting portion M3, and the fourth lighting portion M4 with respect to the narrow angle light irradiation means 7. A light emission command for emitting light is transmitted, and in response to this, the narrow angle
このようにして、眼鏡レンズLは、狭角光照射手段7から発せられた狭角光により照らされる。
狭角光は、透光性を有する眼鏡レンズLの内部を、眼鏡レンズLの光軸に交わる(直交する)状態で通過し、理想的にはそのまま水平に進んで眼鏡レンズLの外部に出る。かように水平に進んだ狭角光は、指向角が狭くその分拡散が緩やかであるから、眼鏡レンズLの上方に配置されたカメラ8には到達し難く、眼鏡レンズLの表面(空気との界面)における反射や屈折等により、ごく一部分がカメラ8に向かう。かような反射ないし屈折は、カーブの深いレンズ(眼鏡レンズL)ほど、様々な方向に向かうこととなる。又、狭角光が平行光である場合、平行光は水平に進むと集束も拡散もしないから、理想的には眼鏡レンズLの上方に配置されたカメラ8の方向には行かない。但し、実際には、上述した眼鏡レンズLの表面における反射や屈折等により、ごく一部分がカメラ8に向かう。
又、特に眼鏡レンズに多用されるカーブの深いレンズにおいては、狭角光LED24の光源形状が映り込み、カメラ8に向かう。例えば、上述の正常なマイナスレンズの眼鏡レンズLに対して、第1照明部分M1(上側から下方に見て右上の弧状部分)のみで照明を行うと、図5に示されるように、眼鏡レンズLの上側から下方に見て右上部分の中央部や周縁部に、マイナスレンズの輪郭に沿う弧に沿った点群(8点前後)あるいは濃淡帯状の映り込みR1,R2が発生する。又、上述の異常なマイナスレンズの眼鏡レンズLに対して、第1照明部分M1のみで照明を行うと、図9に示されるように、眼鏡レンズLの上側から下方に見て右上部分の中央部に、マイナスレンズの輪郭に沿う弧の上で並ぶ点群の映り込みR1が発生する。他方、プラスレンズの眼鏡レンズLに対して第1照明部分M1のみで照明を行うと、図13に示されるように、眼鏡レンズLの上側から下方に見て右上部分の周縁部に、弧状に並ぶ点群の映り込みR1が発生する。そして、他の照明部分においても、眼鏡レンズLの照明部分に近い部分に、映り込みR1,R2が同様に発生する(図5〜図16参照)。尚、参考として、上述の正常マイナスレンズ全照明画像(図32)や異常マイナスレンズ全照明画像(図33)においては、眼鏡レンズLの中央部あるいは周縁部において、円状に並ぶ点群の映り込みQ1が発生する。又、正常プラスレンズ全照明画像(図34)においては、中央部及び周縁部において円状に並ぶ点群の映り込みQ1,Q2が発生する。
他方、眼鏡レンズLに異物が付着しあるいは混入している場合、その異物に達した狭角光は散乱され、散乱光(異物による反射光)の一部がカメラ8に向かう。かような散乱光の強度は、上述の反射ないし屈折による光の強度より概して大きい。異物は、例えば、眼鏡レンズLの表面や内部に発生した塵や着色ムラ、泡、固着物、欠片、若しくは眼鏡レンズLの表面に形成された膜のムラ、あるいはこれらの組合せである。
又、眼鏡レンズLにキズ・欠けや形成不良部分が発生している場合、そのキズ・欠けや形成不良部分に達した狭角光も異物の場合と同様に散乱され、一部がカメラ8に向かう。以下、異物並びに欠け及び形成不良部分は、まとめて異物等と適宜呼ばれる。
加えて、狭角光照射手段7から発せられた狭角光は、エンクロージャ2の内面に達したとしても、その内面が反射防止面とされていることにより、その内面における反射が防止され、その内面による反射光がカメラ8に向かう事態が防止される。
ここでは、制御手段12は、自然数のループカウンタkが1〜4まで順に変わって合計4回繰り返されるループS3により、まず第1照明部分M1において照明させ、次いで第2照明部分M2,第3照明部分M3,第4照明部分M4の順で照明させる(ステップS4)。但し、制御手段は、眼鏡レンズLがプラスレンズである場合には、まず第3照明部分M3において照明させ、次いで第4照明部分M4,第1照明部分M1,第2照明部分M2の順で照明させる。尚、制御手段12は、これ以外の順番で照明させても良い。
In this way, the spectacle lens L is illuminated by the narrow-angle light emitted from the narrow-angle light irradiating means 7.
Narrow-angle light passes through the inside of the spectacle lens L having translucency in a state of intersecting (orthogonally) with the optical axis of the spectacle lens L, and ideally travels horizontally as it is and exits to the outside of the spectacle lens L. .. Since the narrow-angle light traveling horizontally in this way has a narrow directivity angle and its diffusion is gradual, it is difficult to reach the
Further, especially in a lens having a deep curve, which is often used for spectacle lenses, the shape of the light source of the narrow-
On the other hand, when foreign matter adheres to or is mixed in the spectacle lens L, the narrow-angle light that has reached the foreign matter is scattered, and a part of the scattered light (light reflected by the foreign matter) is directed to the
Further, when the spectacle lens L has scratches / chips or poorly formed portions, the narrow-angle light reaching the scratches / chips or poorly formed portions is also scattered in the same manner as in the case of foreign matter, and a part of the light is scattered on the
In addition, even if the narrow-angle light emitted from the narrow-angle light irradiating means 7 reaches the inner surface of the
Here, the control means 12 first illuminates the first illumination portion M1 by the loop S3 in which the loop counter k of the natural number changes in order from 1 to 4 and is repeated a total of four times, and then the second illumination portion M2 and the third illumination. The portion M3 and the fourth illumination portion M4 are illuminated in this order (step S4). However, when the spectacle lens L is a plus lens, the control means first illuminates the third illumination portion M3, and then illuminates the fourth illumination portion M4, the first illumination portion M1, and the second illumination portion M2 in this order. Let me. The control means 12 may be illuminated in any other order.
制御手段12は、第1照明部分M1(プラスレンズの場合第3照明部分M3)において照明させた後、カメラ8に対して撮像指令を発し、これを受けて、カメラ8は、シャッターを切り、カメラレンズ36により取り込まれた光を撮像素子30で捉え、静止画の画素情報の集合に変換して、適宜画像処理のうえで記憶手段32に第1検査用画像C1として記憶する。そして、第2照明部分M2(プラスレンズの場合第4照明部分M4)に照明させたうえで同様に第2検査用画像C2を取得し、更に同様に第3照明部分M3(プラスレンズの場合第1照明部分M1)に係る第3検査用画像C3と、第4照明部分M4(プラスレンズの場合第2照明部分M2)に係る第4検査用画像C4を取得する(ステップS4,S5)。ここでは、1個の照明部分に対して1枚ずつ(眼鏡レンズL1枚に対して合計4枚)の第1〜第4検査用画像C1〜C4が取得されるが、更に多くの枚数が取得されても良い。又、カメラ8は動画を撮像して検査用動画を取得しても良い。
第1〜第4検査用画像C1〜C4は、物体側テレセントリックレンズであるカメラレンズ36によって取得されるため、カーブの深い眼鏡レンズLや厚みの大きい眼鏡レンズLであっても、全ての部分においてピントが合う。よって、ピントが合わない部分において異物や欠け等により散乱光が発生してしまい、鮮明な画像が得られず、第1〜第4検査用画像C1〜C4による検査に支障を来たす事態が防止される。又、非テレセントリックレンズは、異物等により広がるように発生する散乱光について視差の分だけ歪んで捉えてしまい、異物等の実際の大きさや状態が不明確となったり、異物等が複数存在する場合に一部の異物等を隠してしまったりする可能性があるところ、カメラレンズ36ではそのようなことがなく、全ての異物等について実際の大きさや状態で捉えることができる。ここで、厳密には、サイズの変化を完全に防止することは困難であるが、非テレセントリックレンズによる撮像の場合と比べ、サイズの変化は顕著に抑制され、又眼鏡レンズLの中央と外周部のように眼鏡レンズLに高低差が存在する場合において、眼鏡レンズLの撮像部分における形状の変形が抑制される。
レンズデータベース52には、眼鏡レンズLの直径及びカーブ値等に応じた撮像距離が記憶されており、検査用画像Cにおいて、眼鏡レンズLの全体においてピントが合う(眼鏡レンズLの全体が被写界深度内に収まる)ような撮像距離が予め求められ、眼鏡レンズLの直径及びカーブ値と対応付けて記憶されている。上述の通り、制御手段12は、リフト20を制御し、その撮像距離となるように、ステージ4やレンズ保持機構6を介して眼鏡レンズLを移動させる。尚、カメラレンズ36は少なくとも物体側においてテレセントリック効果を有するため、撮像距離にかかわらず実視野は一定である。
例えば、実視野が縦80mm横80mmであり、被写界深度が9mmであり、被写界深度の中心がカメラレンズ36の先端から150mmの位置にある場合において、床高が5mmのプラス強度数の眼鏡レンズL(凸レンズ)に対しては、制御手段12は床高中心(2.5mm)の位置が被写界深度の中心位置と合致するようにリフト20を作動させる。他方、同じ場合において、床高が6mmのマイナス強度数の眼鏡レンズL(凹レンズ)に対しては、制御手段12は床高中心(3mm)の位置が被写界深度の中心位置と合致するようにリフト20を作動させる。ここで、リフト20がない(撮像距離が調整されない)ときを考える。凸レンズはレンズ保持機構6の支持点から下方に位置している一方、凹レンズはレンズ保持機構6の支持点から上方に位置していることから、双方のレンズの占める合計の上下幅(床高方向の幅の合算値)は、支持点から下に5mm(凸レンズ)と上に6mm(凹レンズ)で11mmとなる。この11mmの上下幅は、9mmの被写界深度より大きく、従って、撮像距離が調整されない場合、凸レンズ及び凹レンズの少なくとも一方において部分的にピントが合わないこととなる。これに対し、レンズ外観検査装置1では、リフト20により撮像距離が調整されるため、凸レンズ及び凹レンズの双方において被写界深度内に位置させて、ピントを全体に亘り合わせることができる。
又、眼鏡レンズLは、その周縁を保持するレンズ保持機構6によって、天板3の孔5に上面視で重なる(オーバーラップする)ように保持され、カメラ8(カメラレンズ36)は、孔5と向かい合うように配置されており、孔5の内部(箱状のステージ4の内部)は、黒化処理されている。よって、カメラレンズ36と眼鏡レンズLと孔5は上下方向に並んで、孔5は眼鏡レンズLを挟んでカメラレンズ36と反対側に位置することとなり、かような配置とステージ4内面の黒化処理によって、検査用画像Cにおいて散乱光の生じない部分をより黒くすることができ、異物等による散乱光に対するコントラスト比が向上する。又、ステージ4側へ進む散乱光の反射がステージ4の内部において防止され、異物等によらない散乱光の映り込みが抑制されて、検査用画像Cにおけるコントラスト比の低下が防止される。更に、ステージ4が箱状であり、眼鏡レンズLの下方の部分(カメラレンズ36から見て眼鏡レンズLより向こう側の部分)の一部又は全部が覆われるため、エンクロージャ2内面における反射光等が眼鏡レンズLの下方に向かったとしても、ステージ4により遮断することができ、異物等によらない散乱光の映り込みが抑制されて、検査用画像Cにおけるコントラスト比の低下が防止される。
カメラ8は、このようにして取得した第1〜第4検査用画像C1〜C4を、制御手段12に対して送信し、制御手段12は、通信手段42において受信した第1〜第4検査用画像C1〜C4を、記憶手段40において記憶する。ここでは、カメラ8は、第1〜第4検査用画像C1〜C4をそれぞれ取得した後直ちに送信するが、第1〜第4検査用画像C1〜C4の組が揃ってからこれらの一組をまとめて送信しても良い。
The control means 12 illuminates the first illumination portion M1 (third illumination portion M3 in the case of a plus lens), and then issues an image pickup command to the
Since the first to fourth inspection images C1 to C4 are acquired by the
The
For example, when the actual field of view is 80 mm in length and 80 mm in width, the depth of field is 9 mm, and the center of the depth of field is at a position 150 mm from the tip of the
Further, the spectacle lens L is held so as to overlap (overlap) the
The
制御手段12のCPU44は、受信して記憶した第1検査用画像C1(図5,図9,図13),第2検査用画像C2(図6,図10,図14),第3検査用画像C3(図7,図11,図15),第4検査用画像C4(図8,図12,図16)に対して、レンズ外観検査プログラム50の一部消去処理を実行し、第1画像部分N1,第2画像部分N2,第3画像部分N3,第4画像部分N4に係る消去を行って、第1検査用マスク画像D1(図17,図21,図25),第2検査用マスク画像D2(図18,図22,図26),第3検査用マスク画像D3(図19,図23,図27),第4検査用マスク画像D4(図20,図24,図28)を生成する(ステップS6)。
即ち、マイナスレンズ(図5,図9)において、第1照明部分M1(狭角光照射手段7の上から下に見て右上の部分)に係る照明により撮像した第1検査用画像C1中の眼鏡レンズL撮像部分における、第1照明部分M1が映り込んだ部分である一部照明映り込み部分(第1照明部分M1に隣接する眼鏡レンズL撮像部分の右上部分)を含む第1画像部分N1(第1検査用画像C1の右上部分)が消去される。この消去において、消去対象部分は第1画像部分N1であり、眼鏡レンズL撮像部分における一部照明映り込み部分(第1照明部分M1の照射隣接部分)を含んでいる。又、第2画像部分N2〜第4画像部分N4は、それぞれ、第1画像部分N1と同様に消去される。
他方、プラスレンズ(図13)において、第3照明部分M3に係る照明により撮像した第1検査用画像C1中の眼鏡レンズL撮像部分における、第3照明部分M3が映り込んだ部分である一部照明映り込み部分(第3照明部分M3からみて眼鏡レンズL撮像部分の中心を挟んで向こう側の右上部分)を含む第1画像部分N1が消去される。この消去において、消去対象部分は第1画像部分N1であり、眼鏡レンズL撮像部分における一部照明映り込み部分(第3照明部分M3の向こう側の部分)を含んでいる。又、第2画像部分N2〜第4画像部分N4は、それぞれ、第1画像部分N1と同様に消去される。
これらの画像部分内における眼鏡レンズL撮像部分には、点灯している狭角光LED24,24・・の光源形状に応じた映り込みが発生し得るところ(図5〜図16参照)、その映り込みが一部消去処理により第1〜第4検査用マスク画像D1〜D4において消去される。かような映り込みは、眼鏡レンズLを囲む狭角光LED24,24・・が全て点灯すると、眼鏡レンズLにおいて輪状となる(図32〜図34参照)。しかし、狭角光LED24,24・・が部分的に点灯すると、これに対応して眼鏡レンズLにおいて弧状となる(一部照明映り込み部分)。よって、映り込み部分の一部消去が可能となり、映り込み部分がなく狭角光により適切に照明された部分を残した第1〜第4検査用マスク画像D1〜D4の取得が可能となる。
CPU44は、ここでは第1〜第4検査用画像C1〜C4の何れかを記憶手段40において記憶した後直ちにその検査用画像に対する一部消去処理を行って検査用マスク画像の生成を行う。尚、CPU44は、記憶手段40において第1〜第4検査用画像C1〜C4の組が揃ってから、これらの一組に対してそれぞれ一部消去処理を行っても良い。又、一部消去処理は、カメラ8において行われても良い。更に、一部消去処理において、CPU44は、第1〜第4検査用画像C1〜C4に上書きして第1〜第4検査用マスク画像D1〜D4を記憶しても良いし、第1〜第4検査用マスク画像D1〜D4の記憶後に第1〜第4検査用画像C1〜C4を削除しても良い。加えて、一部消去処理に付随して、ノイズリダクション処理等の他の画像処理が行われても良い。
The
That is, in the minus lens (FIGS. 5 and 9), in the first inspection image C1 imaged by the illumination related to the first illumination portion M1 (the upper right portion when viewed from the top to the bottom of the narrow angle light irradiation means 7). The first image portion N1 including a partially illuminated portion (upper right portion of the spectacle lens L image pickup portion adjacent to the first illumination portion M1) in the spectacle lens L image pickup portion, which is a portion where the first illumination portion M1 is reflected. (The upper right part of the first inspection image C1) is erased. In this erasure, the portion to be erased is the first image portion N1, and includes a partially illuminated portion (the portion adjacent to the irradiation of the first illuminated portion M1) in the spectacle lens L image pickup portion. Further, the second image portion N2 to the fourth image portion N4 are erased in the same manner as the first image portion N1, respectively.
On the other hand, in the plus lens (FIG. 13), a part where the third illumination portion M3 is reflected in the spectacle lens L image pickup portion in the first inspection image C1 imaged by the illumination related to the third illumination portion M3. The first image portion N1 including the illumination reflection portion (the upper right portion on the opposite side of the center of the spectacle lens L image pickup portion when viewed from the third illumination portion M3) is erased. In this erasure, the portion to be erased is the first image portion N1, and includes a partially illuminated portion (a portion on the other side of the third illuminated portion M3) in the spectacle lens L image pickup portion. Further, the second image portion N2 to the fourth image portion N4 are erased in the same manner as the first image portion N1, respectively.
In the spectacle lens L image pickup portion in these image portions, reflections may occur depending on the shape of the light source of the lit narrow-
Here, the
又、制御手段12のCPU44は、ループS3〜S7が完了して第1〜第4検査用マスク画像D1〜D4を一組取得した後、レンズ外観検査プログラム50の合成処理を実行し、第1〜第4検査用マスク画像D1〜D4を参照して検査用合成画像E(図29〜図31)を生成して、記憶手段32に記憶する(ステップS8)。
尚、検査用合成画像Eは、複数枚生成されても良いし、検査用合成画像Eの生成に付随して、2値化処理やノイズリダクション処理等の他の画像処理が行われても良い。又、照明部分と一部消去の関係は、上述のマイナスレンズないしプラスレンズに係る関係以外のものであっても良い。複雑な表面形状を有するレンズであっても、照明部分による一部照明によって、その映り込み部分はレンズないしレンズ撮像部分における一部に留まる。そして、映り込み部分が一見分からないような類型のレンズであっても、各照明部分による照射を一度以上試行すれば、一部消去処理において消去する部分に包含されるべき映り込み部分を予め把握することができ、この場合に、試行結果を記憶させて、同じ類型のレンズの検査において当該試行結果を適用することができる。更に、1個の照明部分による一部照明によって、レンズに複数の映り込み部分が生じる場合に、複数の画像部分(例えば2個の矩形部分)を消去しても良い。又、複数の照明部分を照射したうえで、その照射による映り込み部分をマスクするようにしても良い。
Further, the
A plurality of composite images E for inspection may be generated, or other image processing such as binarization processing and noise reduction processing may be performed along with the generation of the composite image E for inspection. .. Further, the relationship between the illuminated portion and the partial erasing may be other than the relationship related to the above-mentioned minus lens or plus lens. Even if the lens has a complicated surface shape, the reflected portion remains only in a part of the lens or the lens imaging portion due to the partial illumination by the illuminated portion. Then, even if the reflected portion is a type of lens that cannot be seen at first glance, if the irradiation by each illuminated portion is tried once or more, the reflected portion to be included in the portion to be erased in the partial erasing process can be grasped in advance. In this case, the trial result can be stored and the trial result can be applied in the inspection of the same type of lens. Further, when a plurality of reflection portions are generated in the lens due to partial illumination by one illumination portion, a plurality of image portions (for example, two rectangular portions) may be erased. Further, after irradiating a plurality of illuminated portions, the reflected portion due to the irradiation may be masked.
そして、制御手段12は、記憶した検査用合成画像Eに対して、異常が発生しているか否かを判定する(ステップS9)。ここでは、検査用合成画像E中の眼鏡レンズL撮像部分において所定値(例えば256段階中128)以上の輝度を有する画素が所定範囲(例えば3画素×3画素の範囲)以上に亘り存在するか否かにより判定する。尚、第1〜第4検査用画像C1〜C4の取得時や取得後、あるいは第1〜第4検査用マスク画像D1〜D4の生成時や生成後、又は検査用合成画像Eの生成時や生成後において、眼鏡レンズL撮像部分以外の部分(狭角光照射手段7撮像部分等)が消去され若しくはトリミングされても良い。又、第1〜第4検査用画像C1〜C4の取得時において、眼鏡レンズLより外方の部分が撮影範囲外に配置されても良い。更に、上述の判定は、複数の検査用合成画像E,E・・に基づいてなされても良い。加えて、上述の判定は、所定範囲以内であっても輝度が第2の所定値(上記所定値と同じ値でも違う値でも良い)以上であるか否かによっても良いし、輝度が第3の所定値(上記所定値や第2の所定値と同じ値でも違う値でも良い)以上である画素が所定個数以上隣接しているか否かによっても良いし、これらの組合せによっても良い。
制御手段12は、眼鏡レンズL撮像部分において所定値以上の輝度を有する画素が所定範囲以上に亘り存在する場合、異物等による散乱光が存在して異物等が存在するものとして、検査用合成画像Eにおいて異常が発生しているとの判定結果を出す。例えば、上述の正常なマイナスレンズ及びプラスレンズにおいて、検査用合成画像Eには異物等による散乱光は存在しておらず、外観異常は発生していないとの判定結果を出す。他方、上述の異常なマイナスレンズにおいて、検査用合成画像Eには異物による散乱光F,F・・が存在しており、異常が発生しているとの判定結果を出す。
検査用合成画像Eにおいては、狭角光LED24,24・・の映り込みが消去されているので、異常発生の判定において、映り込みを異物等として誤検知し、異物等が存在しないのに異常が発生しているとの判定結果を誤って出してしまう事態が防止される。又、複数枚の第1〜第4検査用マスク画像D1〜D4の平均化により検査用合成画像Eが生成されており、複数枚の第1〜第4検査用マスク画像D1〜D4の情報を有する検査用合成画像Eを用いて異常発生判定がなされるため、判定の精度が良好である。しかも、第1〜第4検査用画像C1〜C4は、ピント位置や撮影範囲等を変えることなく少ない枚数で取得することができ、第1〜第4検査用マスク画像D1〜D4は所定の部分を消去するだけで生成できるので、処理量や処理時間は少ない。
Then, the control means 12 determines whether or not an abnormality has occurred in the stored inspection composite image E (step S9). Here, is there a pixel having a brightness of a predetermined value (for example, 128 out of 256 steps) or more in a predetermined range (for example, a range of 3 pixels × 3 pixels) in the spectacle lens L image pickup portion in the composite image E for inspection? Judge by whether or not. At the time of acquisition or acquisition of the first to fourth inspection images C1 to C4, at the time of generation or generation of the first to fourth inspection mask images D1 to D4, or at the time of generation of the inspection composite image E. After generation, a portion other than the spectacle lens L image pickup portion (narrow angle light irradiation means 7 image pickup portion, etc.) may be erased or trimmed. Further, when the first to fourth inspection images C1 to C4 are acquired, the portion outside the spectacle lens L may be arranged outside the photographing range. Further, the above-mentioned determination may be made based on a plurality of inspection composite images E, E .... In addition, the above-mentioned determination may be made depending on whether or not the brightness is equal to or higher than the second predetermined value (the same value as or different from the predetermined value) even if the brightness is within the predetermined range, and the brightness is the third. It may depend on whether or not the number of pixels which are equal to or more than the predetermined value (the same value as or different from the above-mentioned predetermined value or the second predetermined value) or more are adjacent to each other by a predetermined number or more, or a combination thereof may be used.
When the control means 12 has pixels having a brightness equal to or higher than a predetermined value in the spectacle lens L imaging portion over a predetermined range, it is assumed that scattered light due to a foreign substance or the like is present and the foreign substance or the like is present, and the composite image for inspection is used. A determination result is obtained that an abnormality has occurred in E. For example, in the above-mentioned normal minus lens and plus lens, the synthetic image E for inspection does not contain scattered light due to a foreign substance or the like, and a determination result is obtained that no appearance abnormality has occurred. On the other hand, in the above-mentioned abnormal minus lens, scattered light F, F ... Due to a foreign substance is present in the composite image E for inspection, and a determination result is obtained that the abnormality has occurred.
In the composite image E for inspection, the reflections of the narrow-
制御手段12は、検査用合成画像Eにおいて異常が発生しているとの判定結果を得た場合、検査対象に係る眼鏡レンズLの外観に異常が認められる旨(検査結果が異常であり眼鏡レンズLが外観異常のある不良品である旨)、報知手段9において報知させる。異常発生の報知は、ブザー音の発生であっても良いし、ランプの点灯であっても良いし、メッセージの発音あるいは表示であっても良いし、これらの組合せであっても良い。又、報知手段9に表示手段が含まれる場合、表示手段において、一部消去前及び一部消去後の第1〜第4検査用画像C1〜C4並びに検査用合成画像Eの少なくとも何れかが表示されるようにしても良い。そして、その表示がなされる場合、異常発生の判定がその画像の目視により行われても良い。尚、かような異常発生報知処理は、省略されても良い。又、報知手段9は、異常が認められない旨(検査結果が正常である旨)を、異常発生報知の態様とは異なる態様で報知しても良い。 When the control means 12 obtains a determination result that an abnormality has occurred in the composite image E for inspection, the control means 12 indicates that an abnormality is found in the appearance of the spectacle lens L related to the inspection target (the inspection result is abnormal and the spectacle lens). L is a defective product with an abnormal appearance), and the notification means 9 is used to notify. The notification of the occurrence of an abnormality may be the generation of a buzzer sound, the lighting of a lamp, the pronunciation or display of a message, or a combination thereof. When the notification means 9 includes a display means, at least one of the first to fourth inspection images C1 to C4 and the inspection composite image E before and after the partial erasure are displayed in the display means. It may be done. Then, when the display is made, the determination of the occurrence of an abnormality may be made by visual inspection of the image. It should be noted that such an abnormality occurrence notification process may be omitted. Further, the notification means 9 may notify that no abnormality is found (inspection result is normal) in a mode different from the mode of notification of abnormality occurrence.
制御手段12は、検査用合成画像Eに対する判定処理ないし異常発生報知処理が完了すると、狭角光照射手段7に対して消灯を指令すると共に、搬送手段により眼鏡レンズLを搬出し(ステップS10)、次の検査対象としての眼鏡レンズLが存在する場合には、以上の処理を繰り返す(Return To Start)。尚、狭角光照射手段7における最初の照明に係る照明部分は、搬出時や搬入前において点灯されていても良い。 When the determination process or the abnormality occurrence notification process for the composite image E for inspection is completed, the control means 12 commands the narrow-angle light irradiation means 7 to turn off the light and carries out the spectacle lens L by the transport means (step S10). If the spectacle lens L as the next inspection target is present, the above processing is repeated (Return To Start). The illuminated portion of the narrow-angle light irradiating means 7 related to the first illumination may be turned on at the time of carrying out or before carrying in.
≪効果等≫
以上のレンズ外観検査装置1は、検査対象レンズである眼鏡レンズLに対して、その眼鏡レンズLの光軸を囲む円環の四半円にそれぞれ相当する部分を占める4箇所の第1〜第4照明部分M1〜M4から、指向角が30°以下の光である狭角光を切替えて照射可能である狭角光照射手段7と、眼鏡レンズLが含まれる第1〜第4検査用画像C1〜C4を撮像するカメラ8と、第1〜第4検査用画像C1〜C4を処理する制御手段12と、を備えており、カメラ8は、狭角光照射手段7による4個の第1〜第4照明部分M1〜M4における照射(ステップS4)毎に、第1〜第4検査用画像C1〜C4を撮像し(ステップS5)、制御手段12は、第1〜第4照明部分M1〜M4の照射毎に撮像した第1〜第4検査用画像C1〜C4中の眼鏡レンズL撮像部分における、第1〜第4照明部分M1〜M4が映り込んだ部分を含む第1〜第4画像部分N1〜N4をそれぞれ消去して、4枚の第1〜第4検査用マスク画像D1〜D4を生成する一部消去処理(ステップS6)と、4枚の第1〜第4検査用マスク画像D1〜D4を合成して1枚の検査用合成画像Eを生成する合成処理(ステップS8)と、を行う。
よって、カメラ8は、第1〜第4検査用画像C1〜C4の取得において、異物等のない正常な部分を眼鏡レンズLの光軸交差方向に透過する狭角光を殆ど捉えない一方、異物等のある異常な部分に達して反射された狭角光を鮮明に捉えることとなり、第1〜第4検査用画像C1〜C4におけるコントラスト比が極めて良好になって、その分異物等を発見し易くなる。又、第1〜第4照明部分M1〜M4において狭角光を切替えて照射可能である狭角光照射手段7で眼鏡レンズLが照明されることにより、コントラスト比を良好にするために照明強度を十分なものとしても、眼鏡レンズL中の照明光源の映り込みが部分的なものとなる。そして、制御手段12が、一部消去処理で第1〜第4検査用画像C1〜C4において眼鏡レンズLの映り込み部分を含む画像部分を消去して第1〜第4検査用マスク画像D1〜D4を生成し、これらを合成処理で合成して検査用合成画像Eを生成することにより、眼鏡レンズL撮像部分における映り込みを消去しながら眼鏡レンズL全体をカバーした検査用合成画像Eを取得することができて、適切に照明された部分の結集された検査用合成画像Eを用いた、処理量や処理時間の比較的に少ない正確な外観検査が確保される。
特に、レンズ外観検査装置1による検査を、上述の特許文献1のもののような透過光を用いた検査と比べると、透過光の検査では、異物等に対応する部分が暗くそれ以外の部分が明るい画像を用いることとなってユーザーが異物を感じる状況に合わない検査となるし、異物等に反射された光束がうまく発散しないことでカメラに捉えられず検査の精度に影響を与える可能性があるが、レンズ外観検査装置1の検査では、異物等に対応する部分が明るくそれ以外の部分が暗い検査用画像Cを用いることとなってユーザーの状況に合った検査が行えるし、上述の通り十分なコントラスト比を確保して優れた検査精度を確保することができる。
他方、反射光を用いた直接目視による検査と比べると、直接目視では異物等の拡散光が眼鏡レンズLの作用により拡大されあるいは縮小されて誤判定の原因となるし、かような拡大や縮小の度合は眼鏡レンズLの度数によって相違することとなり、特に種々の度数が存在する眼鏡レンズLのような検査対象レンズでは、その相違が顕著であって、かような相違も誤判定の原因となるが、レンズ外観検査装置1の検査では、少なくとも物体側がテレセントリックであるレンズにより撮像された検査用画像Cにおいて、異物等の拡散光が眼鏡レンズLのどの部分にあっても同様の大きさで撮像され、又どのような度数の眼鏡レンズLであっても同様の大きさで撮像され、よって誤判定が回避されてより正確な検査が行えるものである。
更に、狭角光を照射する狭角光照射手段7に代えて、広角光を照射する広角光照射手段が用いられた場合であっても、比較的に異物等の散乱光ではない光がカメラレンズ36に達し易くなるものの、当該光の輝度は散乱光の輝度に比べて十分に小さいものであり、検査用合成画像Eの2値化を始めとする適切な画像処理を適宜実行することにより、狭角光照射手段7の場合と同様に正確な検査が行える。
≪Effects, etc.≫
The above-mentioned lens
Therefore, in the acquisition of the first to fourth inspection images C1 to C4, the
In particular, when the inspection by the lens
On the other hand, as compared with the direct visual inspection using reflected light, the diffused light such as foreign matter is enlarged or reduced by the action of the spectacle lens L, which causes an erroneous judgment, and such enlargement or reduction. The degree of the difference depends on the power of the spectacle lens L, and the difference is particularly remarkable in the lens to be inspected such as the spectacle lens L having various powers, and such a difference is also a cause of erroneous judgment. However, in the inspection of the lens
Further, even when a wide-angle light irradiating means for irradiating wide-angle light is used instead of the narrow-angle light irradiating means 7 for irradiating narrow-angle light, light that is relatively non-scattered light such as foreign matter is a camera. Although it is easy to reach the
又、狭角光照射手段7において第1〜第4照明部分M1〜M4が配置される囲み線は、眼鏡レンズLを囲む円環であり、第1〜第4照明部分M1〜M4は、前記円環を均等に4分割した場合の前記円環の部分(四半円)であり、制御手段12の一部消去処理(ステップS6)における映り込み部分を含む消去対象部分は、第1〜第4検査用画像C1〜C4をその中心から発する放射方向の直線で均等に分割した場合の第1〜第4検査用画像C1〜C4の第1〜第4画像部分N1〜N4である。よって、分割照明や一部消去処理が均等な部分を対象とすることにより円滑で正確に行われることとなり、合成処理も消去対象部分の重複しない第1〜第4検査用マスク画像D1〜D4が対象となり円滑で正確に行われることとなって、処理量や処理時間の比較的に少ない正確な外観検査が確保される。
更に、カメラ8は、眼鏡レンズLに向けられたカメラレンズ36を有しており、物体側テレセントリックレンズであるカメラレンズ36を通じて第1〜第4検査用画像C1〜C4を取得するので、肉厚やカーブ値の大きい眼鏡レンズLであっても肉厚方向(眼鏡レンズLの光軸方向)の全体に亘り鮮明な第1〜第4検査用画像C1〜C4を得ることができ、ピント位置の異なる複数の画像を取得する必要がないため処理量や検査時間が少なくなるし、眼鏡レンズLのどの部分に異物等が発生したとしても第1〜第4検査用画像C1〜C4から生成した検査用合成画像Eにおいて異物等を適切な位置ないし大きさで検出することができるし、異物等が複数発生したとしても検査用合成画像Eにおいてそれぞれ適切な位置ないし大きさで捉えることができて、検査用合成画像Eを用いた精度の高い外観検査が確保される。
Further, in the narrow angle light irradiation means 7, the surrounding line in which the first to fourth illumination portions M1 to M4 are arranged is an annular ring surrounding the spectacle lens L, and the first to fourth illumination portions M1 to M4 are described above. The portion of the ring (quarter circle) when the ring is evenly divided into four, and the portion to be erased including the reflected portion in the partial erasing process (step S6) of the control means 12 is the first to fourth. The first to fourth image portions N1 to N4 of the first to fourth inspection images C1 to C4 when the inspection images C1 to C4 are evenly divided by a straight line in the radial direction emanating from the center thereof. Therefore, the divided illumination and the partial erasing process can be performed smoothly and accurately by targeting the uniform portion, and the compositing process also performs the first to fourth inspection mask images D1 to D4 in which the erased target portions do not overlap. It becomes a target and is performed smoothly and accurately, and an accurate visual inspection with a relatively small amount of processing amount and processing time is ensured.
Further, the
加えて、内面が反射防止面とされているステージ4を備えており、ステージ4は、孔5を有しており、眼鏡レンズLを挟んでカメラ8(カメラレンズ36)と反対側に孔5が位置するように配置されている。よって、カメラレンズ36から見て眼鏡レンズLの向こう側の内面を眼鏡レンズLに対して離隔させることができ、又ステージ4内に反射光や繰り返しの反射光が進入することが防止され、僅かに進入したとしても反射防止面により反射を抑制され、結果眼鏡レンズLとの距離が確保された上述の内面を反射光や散乱光が照らさないようになることでコントラスト比の低下を抑制し、検査用画像Cにおいてコントラスト比を更に向上することができ、より精度の高い検査が行える検査用画像Cを取得することができる。
図35は、レンズ外観検査装置1のようにステージ4が箱体である場合における検査用合成画像Eを示す写真であり、図36は、図35の検査用合成画像Eを2値化(輝度しきい値:暗い側から16/256段階中)した画像を示す写真であり、図37は、ステージが箱体でない(眼鏡レンズL下方の面に対する光進入防止手段がない)場合における検査用合成画像Eを示す写真であり、図38は、図37の検査用合成画像Eを同様に2値化した画像を示す写真である。
図37の写真においてもコントラスト比は良好であるものの、狭角光照射手段7のすぐ内側の右上,右下,左上,左下の各部分が、周囲より高い輝度を有する部分Pとなっている。かような部分Pの発生は、狭角光照射手段7が90°の中心角を有する弧毎に4分割で形成されており、その接合面や、接合に用いられている部品(ネジ等)から反射光が出現することによる。これら部分Pの発生は、2値化に係る図38の写真において顕著に表われ、しきい値等の設定によっては、2値化画像で高輝度部分即ち異物等存在部分を解析する場合に、接合面や部品の反射光が異物等存在部分と誤認される可能性がある。
これに対し、図35の写真においては、図37の写真に比べて更にコントラスト比が良好になっていると共に、狭角光照射手段7の構造(接合)による反射光の輝度が抑制されている。かような輝度の抑制は、2値化に係る図36の写真において、図38の写真のように2値化後においても部分Pが出現しないことからも良くみて取れる。
これらの写真から、箱体(ステージ4)の設置による、反射光(狭角光照射手段7からのものを含む)の映り込み防止の効果や、コントラスト比向上の効果がみて取れる。
In addition, a
FIG. 35 is a photograph showing a composite image E for inspection when the
Although the contrast ratio is also good in the photograph of FIG. 37, each of the upper right, lower right, upper left, and lower left portions immediately inside the narrow-angle light irradiation means 7 is a portion P having higher brightness than the surroundings. The generation of such a portion P is formed by dividing the narrow-angle light irradiation means 7 into four parts for each arc having a central angle of 90 °, and the joint surface thereof and parts (screws, etc.) used for the joint. Due to the appearance of reflected light from. The generation of these portions P is prominently shown in the photograph of FIG. 38 related to binarization, and depending on the setting of the threshold value or the like, when analyzing a high-luminance portion, that is, an existing portion such as a foreign substance in the binarized image, There is a possibility that the reflected light from the joint surface or parts may be mistaken for an existing part such as a foreign substance.
On the other hand, in the photograph of FIG. 35, the contrast ratio is further improved as compared with the photograph of FIG. 37, and the brightness of the reflected light due to the structure (junction) of the narrow angle light irradiation means 7 is suppressed. .. Such suppression of luminance can be clearly seen from the fact that the partial P does not appear even after binarization as in the photograph of FIG. 38 in the photograph of FIG. 36 relating to the binarization.
From these photographs, the effect of preventing the reflection of reflected light (including the one from the narrow-angle light irradiation means 7) and the effect of improving the contrast ratio can be seen by installing the box body (stage 4).
更に、眼鏡レンズL及び狭角光照射手段7、並びに、カメラレンズ36を有するカメラ8を覆うエンクロージャ2を備えており、エンクロージャ2の内面は、狭角光照射手段7から発せられる狭角光の反射が防止される反射防止面となるよう、黒色に塗られている。従って、外部からエンクロージャ2への外光(自然光や照明光等)の進入を防止して、検査用画像Cにおける外光の現出を防止することができるし、エンクロージャ2内面における狭角光の反射や反射光の更なる反射(反射の繰り返し)を抑制して、その反射光の検査用画像Cにおける現出を防止し、検査用画像Cにおいて優れたコントラスト比を実現することができ、より精度の高い検査が行える検査用画像Cを取得することができる。
又更に、レンズ外観検査装置1は、眼鏡レンズLとカメラ8との間の距離である撮像距離を調整するリフト20(ステップS2)を備えているため、互いに相違する特性値を有する眼鏡レンズLを続けて検査する場合であっても、その特性値に合うような撮像距離を確保することができ、何れの特性値に係る眼鏡レンズLにおいても全体に亘り鮮明な第1〜第4検査用画像C1〜C4を少ない枚数(ここでは合計4枚)において取得することができて、処理量や検査時間が少なく且つ正確である検査を実現することができる。
Further, an
Furthermore, since the lens
[第2形態]
≪構成等≫
図39は、本発明の第2形態に係るレンズ外観検査装置101の図2相当図であり、図40は、レンズ外観検査装置101の図3相当図である。
レンズ外観検査装置101は、狭角光照射手段及びレンズ保持機構を除き、第1形態のレンズ外観検査装置1と同様になる。かように同様に成る部材や部分には、同じ符号が付され、適宜説明が省略される。
[Second form]
≪Composition, etc.≫
39 is a view corresponding to FIG . 2 of the lens
The lens
レンズ外観検査装置101の狭角光照射手段107は、上からみて正八角形の枠状である水平なベース122と、ベース122の各辺の下部に配置された、全部で8個の照射ユニット123と、各照射ユニット123内に配設された複数の狭角光LED24,24・・と、狭角光LED24,24・・毎に設けられる照明用レンズ26,26・・と、を備えている。
尚、照射ユニット123の一部又は全部は、ベース122の上部に配置されていても良いし、ベース122の外側面に配置されていても良いし、ベース122の内側面に配置されていても良い。
The narrow-angle light irradiation means 107 of the lens
A part or all of the
ベース122は、後部に正八角形の枠状部分から後方に延設される延設部(図示略)を有しており、その延設部を通過する上下方向のレール125に沿って移動可能である(照明光照射手段107の位置変更に係る照射変更手段)。かようなベース122の上下方向の移動は、図示されないモータにより行われ、制御手段12の制御により任意の位置まで移動可能である。レール125は、エンクロージャ2に対して固定され、エンクロージャ2内面と同様に、反射防止加工が施されている。
ベース122及び8個の照射ユニット123は、眼鏡レンズLを囲む。ベース122及び8個の照射ユニット123の八角形の中心と、眼鏡レンズLの中心とは、ここでは合致している。
The
The
各照射ユニット123は、ベース122に対して、傾斜角調節手段127を介して接続されている。各傾斜角調節手段127は、例えばアクチュエータにより形成され、制御手段12の制御により、対応する照射ユニット123の向き(仮想的な水平面に対する傾斜角)を、任意の向き(傾斜角)に変える(照明光照射手段107の傾斜角変更に係る照射変更手段)。照射ユニット123は、傾斜角調節手段127により、上向き(水平面より上方に向かう向き)から、水平な向き(水平面と同じ向き)を経て、下向き(水平面より下方に向かう向き)まで姿勢変化可能である。制御手段12は、8個の照射ユニット123について、互いに独立して傾斜角を変化可能である。又、制御手段12は、複数(例えば右の4個あるいは全8個)の照射ユニット123が同じ傾斜角を持つように制御することもできる。
8個の照射ユニット123は、ベース122によって上下方向に移動可能とされ、その移動や到達位置の制御のために、制御手段12と電気的に接続されている。これら照射ユニット123は、リフト20とは独立して上下方向に移動可能である。尚、各照射ユニット123は、互いに独立して移動可能とされていても良い。又、各照射ユニット123は、ベース122の正八角形に接する仮想的な円の径方向等の他の方向においても移動可能とされていても良い。更に、各照射ユニット123あるいは第1形態の狭角光照射手段7における1個の狭角光LED24とその照明用レンズ26との組について、他の組に対して互いに独立して位置や傾斜角の変化が可能であるようにされても良い。加えて、狭角光照射手段107は、上下方向の位置及び傾斜角の何れか一方のみについて変更可能とされても良い。
Each
The eight
又、各照射ユニット123は、互いに独立して点消灯可能であるように、制御手段12と電気的に接続されている。例えば、照射ユニット123は、ベース122の正八角形の右上の上側の辺におけるものから、1個置きに4個点灯することが可能である。又、照射ユニット123は、図40で示されるように、上側から下方へ見たときの右上の上下2個の照射ユニット123に係る第1照明部分M1,右下の上下2個の照射ユニット123に係る第2照明部分M2,左下の上下2個の照射ユニット123に係る第3照明部分M3あるいは左上の上下2個の照射ユニット123に係る第4照明部分M4の4箇所の部分毎に、オンオフを切替可能に接続されている(部分照明,分割照明)。それら照明部分のそれぞれは、狭角光LED24,24・・を14個含んており、眼鏡レンズLを取り囲む360°のうちの90°の範囲を照らす。
Further, each
レンズ外観検査装置101のレンズ保持機構106は、8個のフック121を有する。
各フック121は、幅(眼鏡レンズLの接線方向の大きさ)がより小さいことを除き、第1形態のフック21と同様になる。
8個のフック121は、狭角光照射手段107のベース122における正八角形の何れかの頂点に相当する位置に配置されている。即ち、8個のフック121は、正八角形の何れかの頂点とその中心とを結ぶ仮想線上に配置されている。
The
Each
The eight hooks 121 are arranged at positions corresponding to any of the vertices of the regular octagon on the
≪動作等≫
このようになるレンズ外観検査装置101の動作例は、第1形態のレンズ外観検査装置1の動作例(図4参照)と大要同様である。
即ち、眼鏡レンズの検査位置への搬入がなされ(ステップS1)、撮像距離の調整がなされる(ステップS2)。
≪Operation etc.≫
The operation example of the lens
That is, the spectacle lens is carried into the inspection position (step S1), and the imaging distance is adjusted (step S2).
更に、制御手段12は、狭角光照射手段107に対して、適宜上下方向の移動や傾斜角の変更のための移動指令を送信し、これを受けて狭角光照射手段107の照射ユニット123が移動しないしは姿勢変化する(照射変更ステップ)。
制御手段12は、レンズデータベース52を参照し、受信したレンズ特性値に対応する各照射ユニット123の上下方向の位置(眼鏡レンズLに対する相対位置)や傾斜角を抽出して、その決定された位置や傾斜角となるように、各照射ユニット123を適宜移動させる。
これらの各照射ユニット123の位置や傾斜角と、レンズ特性値との関係は、位置や傾斜角を様々に変えて予め行われるテストにより決定される。
例えば、マイナスの度数(S−10.00D)を有するプラスチック製のマイナスレンズ(直径70mm,屈折率1.6,中心厚1mm)について、全ての照射ユニット123の上下方向の位置が眼鏡レンズLの上下方向の位置と同じで、水平面に対する傾斜角が0°である水平状態と、全ての照射ユニット123が水平状態から5mm上方の位置で且つ斜め下2°(−2°)の傾斜角を呈する緩傾斜状態と、全ての照射ユニット123が水平状態から10mm上方の位置で且つ−6°の傾斜角を呈する急傾斜状態と、で予めテストされる。尚、ここでは眼鏡レンズLの上下方向の位置は、眼鏡レンズLの幾何学中心(表面上)を基準とし、照射ユニット123の上下方向の位置は、全ての照射ユニット123の傾斜角が0°(水平)である場合の、狭角光LED24を結ぶ仮想的な正八角形の中心点(照明中心)を基準とするところ、他の点を基準としても良い。
図41は、水平状態の照射ユニット123が1個置きに点灯した場合の参考的な画像を示す写真であり、図42は、緩傾斜状態の照射ユニット123が1個置きに点灯した場合の参考的な画像を示す写真であり、図43は、急傾斜状態の照射ユニット123が1個置きに点灯した場合の参考的な画像を示す写真である。何れの場合も、点灯部分と同じ側において円弧状の映り込みR11〜R14が発生しているものの、各場合において、映り込みR11〜R14の輝度や幅が互いに相違している。
Further, the control means 12 transmits a movement command for moving in the vertical direction and changing the tilt angle to the narrow-angle light irradiating means 107 as appropriate, and in response to this, the irradiating
The control means 12 refers to the
The relationship between the position and tilt angle of each of these
For example, for a plastic negative lens (diameter 70 mm, refractive index 1.6,
FIG. 41 is a photograph showing a reference image when the
又、制御手段12は、狭角光照射手段107に対して、第1照明部分M1,第2照明部分M2,第3照明部分M3あるいは第4照明部分M4の何れかにおいて所定の強度で狭角光を発出させるための発光指令を送信し、これを受けて発光指令に係る狭角光照射手段107の照明部分における狭角光LED24,24・・が点灯する(ステップS3〜S4)。尚、第1照明部分M1(八角形の上右の辺の部分と右上の辺の部分)のうちの何れか一方のみが点灯されても良く、第2〜第4照明部分M2〜M4についても同様である。
そして、制御手段12は、第1〜第4検査画像C1〜C4を順次取得し(ステップS5)、これらに対して、レンズ外観検査プログラム50の一部消去処理を実行し、第1〜第4画像部分N1〜N4に係る消去を行って、第1〜第4検査用マスク画像D1〜D4を生成する(ステップS6)。尚、狭角光照射手段107における8個の照射ユニット123を1個ずつ順次点灯して第1〜第8検査画像を順次取得し、これらに対して、画像の中心を通る放射方向の線で八等分された部分の何れかを消去する一部消去処理を実行し、第1〜第8画像部分に係る消去を行って、第1〜第8検査用マスク画像を生成しても良い。
Further, the control means 12 has a narrow angle with a predetermined intensity in any of the first lighting portion M1, the second lighting portion M2, the third lighting portion M3, and the fourth lighting portion M4 with respect to the narrow angle light irradiation means 107. A light emission command for emitting light is transmitted, and in response to this, the narrow angle
Then, the control means 12 sequentially acquires the first to fourth inspection images C1 to C4 (step S5), executes a partial erasing process of the lens
又、制御手段12のCPU44は、ループS3〜S7が完了して第1〜第4検査用マスク画像D1〜D4を一組取得した後、レンズ外観検査プログラム50の合成処理を実行し、第1〜第4検査用マスク画像D1〜D4を参照して検査用合成画像E(図44〜図46)を生成し、記憶手段32に記憶する(ステップS8)。尚、かような検査用合成画像Eの生成に当たり、図41〜図43の参考的な画像は用いられていない。又、CPU44は、第1〜第8検査用マスク画像を生成した場合には、これらを合成して検査用合成画像Eを生成しても良い。
Further, the
そして、制御手段12は、記憶した検査用合成画像Eに対して、異常が発生しているか否かを判定し、異常が発生していると判定した場合には、異常発生報知処理を行う(ステップS9)。
図47は、水平状態の照明による検査用画像から生成された検査用合成画像Eを2値化したものを示し(ここでのしきい値/各輝度総段階数:77/256)、図48は、緩傾斜状態の照明による検査用画像から生成された検査用合成画像Eを同様に2値化したものを示し、図49は、急傾斜状態の照明による検査用画像から生成された検査用合成画像Eを同様に2値化したものを示す。
これらを比較すると、何れの検査用合成画像Eにおいても捉えられているものの、図49のものにおいて最も大きくはっきりと確認される異物等の散乱光F1,F1が存在したり、図47,図48のものでは捉えられていない異物等の散乱光F2,F2が図49のものにおいて存在したりすることから、上述の眼鏡レンズLにおいては、図49の検査用合成画像Eにつながる急傾斜状態(10mm上方の位置,−6°の傾斜角)の照明が最適であることになる。
即ち、検査の対象となるレンズによっては(特に眼鏡レンズのように比較的に深いカーブを有するレンズでは)、水平方向の照明光の照射では、異物等による散乱光がカメラレンズ36の方向とならないことがある。例えば、検査対象のレンズのカーブに沿って照明光を入射させる等、照明光の角度や位置をレンズの真横から変えた方がより異物等からの散乱光を捉え易い場合がある。そこで、第2形態のレンズ外観検査装置101では、各照射ユニット123の位置や傾斜角が変更可能とされることで、上述の眼鏡レンズLを始めとする様々なレンズにおける異物等の捕捉精度、即ち検査の精度がより一層向上されるものである。
以上のことから、制御装置12は、上述の眼鏡レンズLに係るレンズ特性値を受信した場合には、狭角光照射手段107の各照射ユニット123を急傾斜状態とすることとなる。
Then, the control means 12 determines whether or not an abnormality has occurred in the stored inspection composite image E, and if it is determined that an abnormality has occurred, performs an abnormality occurrence notification process ( Step S9).
FIG. 47 shows a binarized version of the inspection composite image E generated from the inspection image generated by the illumination in the horizontal state (threshold value here / total number of steps of each luminance: 77/256), and is shown in FIG. 48. Shows a similarly binarized inspection composite image E generated from an inspection image generated by lighting in a gently inclined state, and FIG. 49 shows an inspection generated from an inspection image generated by lighting in a steeply inclined state. The composite image E is similarly binarized.
Comparing these, although they are captured in any of the inspection composite images E, there are scattered lights F1 and F1 such as foreign substances that are the largest and clearly confirmed in those of FIG. 49, and FIGS. 47 and 48. In the above-mentioned spectacle lens L, since scattered light F2 and F2 such as foreign matter that are not captured by the object are present in the object of FIG. Illumination at a position 10 mm above, an inclination angle of -6 °) is optimal.
That is, depending on the lens to be inspected (especially for a lens having a relatively deep curve such as a spectacle lens), when the illumination light is irradiated in the horizontal direction, the scattered light due to a foreign substance or the like does not become the direction of the
From the above, when the
制御手段12は、検査用合成画像Eに対する判定処理ないし異常発生報知処理が完了すると、狭角光照射手段7に対して消灯を指令すると共に、搬送手段により眼鏡レンズLを搬出し(ステップS10)、次の検査対象としての眼鏡レンズLが存在する場合には、以上の処理を繰り返す(Return To Start)。
尚、第2形態のレンズ外観検査装置101は、適宜、第1形態のレンズ外観検査装置1と同様な変更例を有する。
When the determination process or the abnormality occurrence notification process for the composite image E for inspection is completed, the control means 12 commands the narrow-angle light irradiation means 7 to turn off the light and carries out the spectacle lens L by the transport means (step S10). If the spectacle lens L as the next inspection target is present, the above processing is repeated (Return To Start).
The lens
≪効果等≫
以上のレンズ外観検査装置101は、検査対象レンズである眼鏡レンズLに対して、その眼鏡レンズLの光軸を囲む正八角形の隣接する2辺にそれぞれ相当する部分を占める4箇所の第1〜第4照明部分M1〜M4から、指向角が30°以下の光である狭角光を切替えて照射可能である狭角光照射手段107と、眼鏡レンズLが含まれる第1〜第4検査用画像C1〜C4を撮像するカメラ8と、第1〜第4検査用画像C1〜C4を処理する制御手段12と、を備えており、カメラ8は、狭角光照射手段7による4個の第1〜第4照明部分M1〜M4における照射(ステップS4)毎に、第1〜第4検査用画像C1〜C4を撮像し(ステップS5)、制御手段12は、第1〜第4照明部分M1〜M4の照射毎に撮像した第1〜第4検査用画像C1〜C4中の眼鏡レンズL撮像部分における、第1〜第4照明部分M1〜M4が映り込んだ部分を含む第1〜第4画像部分N1〜N4をそれぞれ消去して、4枚の第1〜第4検査用マスク画像D1〜D4を生成する一部消去処理(ステップS6)と、4枚の第1〜第4検査用マスク画像D1〜D4を合成して1枚の検査用合成画像Eを生成する合成処理(ステップS8)と、を行う。
よって、処理量が比較的に少なく、検査精度に優れたレンズ外観検査装置101が提供される。
≪Effects, etc.≫
The lens
Therefore, the lens
更に、眼鏡レンズLに対する狭角光照射手段107の位置を変更するベース122及びレール125と、傾斜角を変更する傾斜角調節手段127と、を備えている。よって、様々な眼鏡レンズLのそれぞれに適した位置や方向の狭角光により照明が行われることとなり、かように位置や方向の調節された照明を用いても、映り込みが一部消去処理や合成処理等により回避され、検査精度がより一層向上することとなる。
尚、狭角光を照射する狭角光照射手段107に代えて、広角光を照射する広角光照射手段が用いられた場合であっても、広角光の強度は周辺部より中心部の方が高いものであるから、やはり照明の位置や方向に係る調節は、同様の意味を有するものと言える。
Further, it includes a
Even when a wide-angle light irradiating means that irradiates wide-angle light is used instead of the narrow-angle light irradiating means 107 that irradiates narrow-angle light, the intensity of the wide-angle light is higher in the central portion than in the peripheral portion. Since it is expensive, it can be said that the adjustment related to the position and direction of the illumination has the same meaning.
又、狭角光照射手段107は、眼鏡レンズLを囲む正八角形であり、狭角光照射手段107における第1〜第4照明部分M1〜M4は、その正八角形を均等に分割した場合の各四半部分であり、制御手段12の一部消去処理(ステップS6)における消去対象部分は、第1〜第4検査用画像C1〜C4をその中心から発する放射方向の直線で均等に分割した場合の第1〜第4検査用画像C1〜C4の第1〜第4画像部分N1〜N4である。
よって、分割照明や一部消去処理が均等な部分を対象とすることにより円滑で正確に行われることとなり、合成処理も消去対象部分の重複しない第1〜第4検査用マスク画像D1〜D4が対象となり円滑で正確に行われることとなって、処理量や処理時間の比較的に少ない正確な外観検査が確保される。
Further, the narrow-angle light irradiating means 107 is a regular octagon surrounding the spectacle lens L, and the first to fourth illuminating portions M1 to M4 in the narrow-angle light irradiating means 107 are each when the regular octagon is evenly divided. It is a quarter part, and the part to be erased in the partial erasing process (step S6) of the control means 12 is a case where the first to fourth inspection images C1 to C4 are evenly divided by a straight line in the radial direction emanating from the center thereof. The first to fourth image portions N1 to N4 of the first to fourth inspection images C1 to C4.
Therefore, the divided illumination and the partial erasing process can be performed smoothly and accurately by targeting the uniform portion, and the compositing process also performs the first to fourth inspection mask images D1 to D4 in which the erased target portions do not overlap. It becomes a target and is performed smoothly and accurately, and an accurate visual inspection with a relatively small amount of processing amount and processing time is ensured.
加えて、レンズ保持機構106は、複数(8個)のフック121(レンズ保持具)を備えており、狭角光照射手段107の照射ユニット123が形成する正多角形(正八角形)の頂点に相当する位置(頂点の内方,頂点の眼鏡レンズL側,頂点と眼鏡レンズLの間)に配置されている。
よって、レンズ保持機構106は、照射ユニット123からの照明光をより妨げ難くなり、照明光が一層適切に眼鏡レンズLに到達することとなって、検査の精度が更に向上する。
In addition, the
Therefore, the
1,101・・レンズ外観検査装置、2・・エンクロージャ、7,107・・狭角光照射手段(照明光照射手段)、8・・カメラ、12・・制御手段、20・・リフト(距離調整手段)、24・・狭角光LED、36・・カメラレンズ(物体側テレセントリックレンズ又は両側テレセントリックレンズ)、122・・ベース(照明光照射手段の位置変更に係る照射変更手段)、125・・レール(照明光照射手段の位置変更に係る照射変更手段)、127・・傾斜角調節手段(照明光照射手段の傾斜角変更に係る照射変更手段)、C1〜C4・・第1〜第4検査用画像、D1〜D4・・第1〜第4検査用マスク画像、E・・検査用合成画像、L・・眼鏡レンズ(検査対象レンズ)、M1〜M4・・第1〜第4照明部分、N1〜N4・・第1〜第4画像部分(映り込み部分含有)、S6・・一部消去処理、S8・・合成処理。 1,101 ... Lens appearance inspection device, 2 ... Enclosure, 7,107 ... Narrow angle light irradiation means (illumination light irradiation means), 8 ... Camera, 12 ... Control means, 20 ... Lift (distance adjustment) Means), 24 ... Narrow-angle optical LED, 36 ... Camera lens (object-side telecentric lens or both-side telecentric lens), 122 ... Base (irradiation changing means related to position change of illumination light irradiation means), 125 ... Rail (Illumination changing means related to changing the position of the illumination light irradiation means) 127 ... Inclined angle adjusting means (irradiation changing means related to changing the tilt angle of the illumination light irradiation means), C1 to C4 ... For the first to fourth inspections Image, D1 to D4 ... Mask image for 1st to 4th inspection, E ... Composite image for inspection, L ... Eye lens (lens to be inspected), M1 to M4 ... 1st to 4th illumination part, N1 ~ N4 ... 1st to 4th image parts (including reflected parts), S6 ... Partial erasing processing, S8 ... Combining processing.
Claims (8)
前記検査対象レンズに対する前記照明光照射手段の、前記光軸の方向における位置、及び傾斜角の少なくとも一方を変更する照射変更手段と、
前記検査対象レンズが含まれる検査用画像を撮像するカメラと、
前記検査用画像を処理する制御手段と、
を備えており、
前記カメラは、前記照明光照射手段による複数の前記照明部分における照射毎に前記検査用画像を撮像し、
前記制御手段は、
前記検査対象レンズの特性値であるレンズ特性値を含むレンズデータベースを記憶する記憶手段を有しており、
前記検査用画像の撮像時に、前記レンズデータベースを参照して得た前記レンズ特性値に対応する前記照明光照射手段の前記位置及び前記傾斜角の少なくとも一方を抽出して、その決定された前記位置及び前記傾斜角の少なくとも一方となるように、前記照射変更手段により前記照明光照射手段の前記位置及び前記傾斜角の少なくとも一方を変更させる照射変更処理と、
複数の前記照明部分の照射毎に撮像した前記検査用画像中の前記検査対象レンズ撮像部分における、前記照明部分が映り込んだ部分をそれぞれ消去して、複数の検査用マスク画像を生成する一部消去処理と、
複数の前記検査用マスク画像を合成して検査用合成画像を生成する合成処理と、
を行う
ことを特徴とするレンズ外観検査装置。 Illumination light irradiation means capable of switching and irradiating the illumination light from a plurality of illumination portions occupying a portion corresponding to a part of the enclosing line surrounding the optical axis of the inspection target lens with respect to the inspection target lens.
An irradiation changing means for changing at least one of the position and the tilt angle of the illumination light irradiating means with respect to the lens to be inspected in the direction of the optical axis.
A camera that captures an inspection image that includes the lens to be inspected,
A control means for processing the inspection image and
Equipped with
The camera captures the inspection image for each irradiation in the plurality of illumination portions by the illumination light irradiation means.
The control means is
It has a storage means for storing a lens database including a lens characteristic value which is a characteristic value of the lens to be inspected.
At the time of capturing the inspection image, at least one of the position and the tilt angle of the illumination light irradiation means corresponding to the lens characteristic value obtained by referring to the lens database is extracted, and the determined position is obtained. And the irradiation change process of changing at least one of the position and the inclination angle of the illumination light irradiation means by the irradiation change means so as to be at least one of the inclination angles.
A part of generating a plurality of inspection mask images by erasing each part of the inspection target lens image pickup portion in which the illumination portion is reflected in the inspection image captured for each irradiation of the plurality of illumination portions. Erase processing and
A compositing process that synthesizes a plurality of the inspection mask images to generate an inspection composite image, and
A lens visual inspection device characterized by performing.
ことを特徴とする請求項1に記載のレンズ外観検査装置。 The lens appearance inspection device according to claim 1, wherein the illumination light is a narrow-angle light having a directivity angle of 30 ° or less.
ことを特徴とする請求項1又は請求項2に記載のレンズ外観検査装置。 The lens appearance inspection device according to claim 1 or 2, wherein the irradiation changing means relating to the tilt angle of the illumination light irradiating means is formed by an actuator.
前記照明光照射手段における前記照明部分は、前記円環又は前記正多角形を均等に分割した場合の前記円環の部分又は前記正多角形の部分であり、
前記制御手段の前記一部消去処理における消去対象部分は、前記検査用画像をその中心から発する放射方向の直線で均等に分割した場合の前記検査用画像の部分である
ことを特徴とする請求項1から請求項3の何れかに記載のレンズ外観検査装置。 The enclosing line in the illumination light irradiation means is a ring or a regular polygon surrounding the lens to be inspected.
The illumination portion in the illumination light irradiation means is a portion of the circle or a portion of the regular polygon when the ring or the regular polygon is evenly divided.
The claim is characterized in that the portion to be erased in the partial erasing process of the control means is a portion of the inspection image when the inspection image is evenly divided by a straight line in the radial direction emanating from the center thereof. The lens appearance inspection apparatus according to any one of 1 to 3.
前記カメラレンズは、物体側テレセントリックレンズ又は両側テレセントリックレンズである
ことを特徴とする請求項1から請求項4の何れかに記載のレンズ外観検査装置。 The camera has a camera lens directed at the lens to be inspected.
The camera lens is a lens visual inspection apparatus according to any one of claims 1 to 4, characterized in that the object-side telecentric lens or double telecentric lens.
前記箱体は、孔を有しており、前記検査対象レンズを挟んで前記カメラと反対側に前記孔が位置するように配置されている
ことを特徴とする請求項1から請求項5の何れかに記載のレンズ外観検査装置。 Furthermore, it is equipped with a box body whose inner surface is an antireflection surface.
The box body has a bore, one of claims 1 to 5, wherein the hole on the opposite side of the camera across the inspected lens is arranged to be positioned The lens appearance inspection device described in Crab.
前記エンクロージャの内面は、前記照明光の反射が防止される反射防止面とされている
ことを特徴とする請求項1から請求項6の何れかに記載のレンズ外観検査装置。 Further, the lens to be inspected, the illumination light irradiation means, and the enclosure covering the camera are provided.
Inner surface of the enclosure, a lens visual inspection apparatus according to any one of claims 1 to 6, characterized in that the reflection of the illumination light is an anti-reflection surface is prevented.
ことを特徴とする請求項1から請求項7の何れかに記載のレンズ外観検査装置。 Furthermore, the lens visual inspection apparatus according to claim 7 that claim 1, characterized in that includes a distance adjusting means for adjusting the distance between said inspected lens camera.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016194447 | 2016-09-30 | ||
| JP2016194447 | 2016-09-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018059927A JP2018059927A (en) | 2018-04-12 |
| JP6973783B2 true JP6973783B2 (en) | 2021-12-01 |
Family
ID=61909825
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017186863A Active JP6973783B2 (en) | 2016-09-30 | 2017-09-27 | Lens appearance inspection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6973783B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101979805B1 (en) * | 2018-05-28 | 2019-05-17 | 주식회사 세코닉스 | Lens Inspection Device |
| KR102880184B1 (en) * | 2024-02-20 | 2025-11-03 | 신병훈 | Inspection apparatus for lenz |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE4236928A1 (en) * | 1992-10-31 | 1994-05-05 | Bodenseewerk Geraetetech | Sequential testing of image information - involves evaluation of image information, optimising image representation, and testing and classifying optimised information |
| JP2002107266A (en) * | 2000-09-28 | 2002-04-10 | Kyocera Corp | Apparatus for inspecting appearance of ferrule for optical fiber and appearance inspection method using the same |
| JP2015227793A (en) * | 2014-05-30 | 2015-12-17 | コニカミノルタ株式会社 | Inspection device of optical components and inspection method thereof |
| EP3204188B1 (en) * | 2014-10-07 | 2021-09-01 | Shamir Optical Industry Ltd. | Methods and apparatus for inspection and optional rework of blocked ophthalmic lenses |
| CN105115989B (en) * | 2015-10-09 | 2018-02-23 | 爱丁堡(南京)光电设备有限公司 | A kind of automatic checkout equipment and detection method of contact lenses defect |
-
2017
- 2017-09-27 JP JP2017186863A patent/JP6973783B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018059927A (en) | 2018-04-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5133626B2 (en) | Surface reflection characteristic measuring device | |
| JP6829828B2 (en) | Lens appearance inspection device | |
| JP3855756B2 (en) | 3D color shape detection device and 3D scanner | |
| EP2193311B1 (en) | Method of illuminating a 3d object with a modified 2d image of the 3d object by means of a projector, and projector suitable for performing such a method | |
| JP2019100930A (en) | Inspection system and inspection method | |
| US20130258324A1 (en) | Surface defect detecting apparatus and method of controlling the same | |
| JPH1090198A (en) | Defect detection method and irradiation unit | |
| CN110261408B (en) | Display module defect detection device and method | |
| JP2005070025A (en) | Light source testing system and method | |
| JP6973783B2 (en) | Lens appearance inspection device | |
| CN107843335B (en) | Target surface veiling glare illuminance measurement device and measurement method | |
| TWI839774B (en) | System, method and apparatus for macroscopic inspection of reflective specimens | |
| JP2021173644A (en) | Lens appearance inspection device and machine learning device | |
| JP6935262B2 (en) | Visual inspection equipment | |
| KR101447857B1 (en) | Particle inspectiing apparatus for lens module | |
| JP6746057B2 (en) | Lens visual inspection device | |
| JP6381865B2 (en) | Inspection apparatus and inspection method | |
| KR101153246B1 (en) | Substrate inspection method | |
| US11961210B2 (en) | System, method and apparatus for macroscopic inspection of reflective specimens | |
| JPH10274515A (en) | Curved surface inspection method and inspection camera unit | |
| KR102233781B1 (en) | Apparatus for examining existence of ir filter within camera module and inspection method using the same | |
| JP4871403B2 (en) | 3D image scanner | |
| JP2016118518A (en) | Appearance inspection device | |
| KR20210037288A (en) | System for image synthesis using photometric stereo | |
| JPH07311030A (en) | Painted surface property measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200604 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210407 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210511 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210708 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211005 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211007 |
|
| 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: 20211026 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211027 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6973783 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |