JP2002296144A - Method and apparatus for detecting mark - Google Patents

Method and apparatus for detecting mark

Info

Publication number
JP2002296144A
JP2002296144A JP2001101651A JP2001101651A JP2002296144A JP 2002296144 A JP2002296144 A JP 2002296144A JP 2001101651 A JP2001101651 A JP 2001101651A JP 2001101651 A JP2001101651 A JP 2001101651A JP 2002296144 A JP2002296144 A JP 2002296144A
Authority
JP
Japan
Prior art keywords
image
mark
transparent body
detecting
processing
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.)
Withdrawn
Application number
JP2001101651A
Other languages
Japanese (ja)
Inventor
Yasushi Ando
康司 安藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001101651A priority Critical patent/JP2002296144A/en
Publication of JP2002296144A publication Critical patent/JP2002296144A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To relate to detection of a mark formed on a transparent body and to provide a method and an apparatus for detecting the mark which automatically carry out the detection of the mark traditionally relied on human eyes. SOLUTION: The transparent body is illuminated by an illuminating device that has a continuous bright and dark pattern at the projection plane. An image of the transparent body is obtained at the side opposite to the illuminating device where the transparent body is sandwiched. Then, the mark formed on the transparent body is detected from the image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、透明体の位置合わ
せに用いられる透明体に付されたマークの検出方法及び
装置に関し、特に眼鏡レンズやその成形型の位置合わせ
に用いられるマークの検出方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for detecting a mark on a transparent body used for positioning a transparent body, and more particularly to a method for detecting a mark used for positioning a spectacle lens or a mold thereof. And an apparatus.

【0002】[0002]

【従来の技術】眼鏡レンズやその成形型には、製品の識
別に用いるマークや、製造過程における加工の基準に用
いるマークが付されている。例えば、プラスチック製の
眼鏡レンズの場合には、あらかじめ成形型に付されてい
るマークを、その成形過程で眼鏡レンズ表面に転写する
方法や、成形以降の工程で眼鏡レンズ表面に刻印する方
法、あるいは、その内部にレーザーによって微小なクラ
ックを発生させてマークを形成する方法などが用いられ
マークが付される。そうして付されたマークは、成形工
程以降で加工などの基準として用いられている。また、
眼鏡フレームに枠入れして眼鏡になった状態でも、眼鏡
レンズの表面や内部に残るマークがあり、このようなマ
ークは店舗における製品識別に用いられている。
2. Description of the Related Art A spectacle lens and a molding die thereof are provided with a mark used for identifying a product and a mark used as a standard for processing in a manufacturing process. For example, in the case of a plastic spectacle lens, a mark previously attached to a molding die is transferred to the spectacle lens surface in the molding process, or a method of engraving the spectacle lens surface in a process after molding, or A mark is formed by using a method of forming a mark by generating a minute crack by a laser in the inside. The mark thus added is used as a reference for processing and the like after the molding process. Also,
Even when the eyeglasses are framed into eyeglass frames to form eyeglasses, there are marks left on the surface and inside of the eyeglass lenses, and such marks are used for product identification in stores.

【0003】従来より、加工などの基準としてマークを
用いる場合には、マークを人の目によって検出して、そ
れに基づいて眼鏡レンズの位置合わせをおこなってい
る。また、前述した製品識別のためのマークは、眼鏡レ
ンズ上の所定の位置に配置することが好ましいため、最
終的な仕上がりを考慮して、マークの位置を決めて様々
な加工をおこなっている。
[0003] Conventionally, when a mark is used as a reference for processing or the like, the mark is detected by human eyes, and the eyeglass lens is aligned based on the mark. In addition, since the mark for product identification described above is preferably arranged at a predetermined position on the spectacle lens, various processes are performed by determining the position of the mark in consideration of the final finish.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、眼鏡レ
ンズのような透明体に、成形過程で転写したり、成形後
に刻印したり、あるいはレーザーによって内部に形成し
たマークは、無色透明であり人の目によっても検出が難
しいため、自動的に検出することは困難であった。その
ため、加工前に人の目によってマークを検出し、人手に
よって位置合わせをおこなったり、容易に位置合わせで
きるように、人の目にも検出しやすい別のマークを付け
ておく必要があった。一部ではカメラで取り込んだ画像
をモニタに表示し、モニタに表示された画像上のマーク
位置を確認しながら、人手によって位置合わせする方法
も採用されてきたが、あくまでも人の目を助ける補助的
な意味合いが強く、自動的な検出は難しかった。
However, marks formed on a transparent body such as a spectacle lens, which are transferred in a molding process, stamped after molding, or formed inside by a laser, are colorless and transparent. It is also difficult to detect automatically because the detection is difficult. For this reason, it is necessary to detect the mark with human eyes before processing and perform manual alignment, or attach another easily detectable mark to human eyes so that the alignment can be easily performed. In some cases, the image captured by the camera is displayed on the monitor, and the position of the mark on the image displayed on the monitor is confirmed while manually aligning the image.However, it is only an auxiliary method that helps the human eyes. Automatic detection was difficult.

【0005】すなわち、多くの加工や作業に先立って、
位置合わせやそれを補助するための事前の準備作業が必
要であり、多大な手間がかかっていた。また、人の目に
頼っていたため、作業者によって位置合わせの精度が左
右され、精度を一定に保つためには熟練を必要としてい
た。
[0005] That is, prior to many processing and work,
Preliminary preparation work for positioning and assisting the positioning is required, which has taken a great deal of time and effort. In addition, since it relies on human eyes, the accuracy of alignment is influenced by the operator, and skill is required to keep the accuracy constant.

【0006】本発明は、上述した事情に鑑みなされたも
ので、人手に頼っていたマークの検出を自動的におこな
うことによって、熟練作業者を不要とし、なおかつ一定
の検出精度、一定の位置合わせ精度を確保することがで
きるマークの検出方法及び装置を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and automatically detects a mark that has been manually relied on, thereby eliminating the need for a skilled worker, and has a constant detection accuracy and a constant alignment. It is an object of the present invention to provide a mark detection method and device capable of ensuring accuracy.

【0007】[0007]

【課題を解決するための手段】本発明者は、上記目的を
達成するために、鋭意努力した結果、照射面に連続的な
明暗を有する照明装置によって、眼鏡レンズを照射する
ことにより、眼鏡レンズに付された無色透明なマークが
可視化でき、眼鏡レンズを挟んで相対する位置におい
て、眼鏡レンズの画像を取り込むことによって、マーク
が検出できることを見いだした。これは、微少な窪みや
微少な突起、微小なクラックで形成されたマークを、人
の目によって検出するプロセスに着目したものである。
人の目によって眼鏡レンズに付されたマークを検出する
場合、明るい方向に眼鏡レンズをかざし、明るい部分と
その近傍にある暗い部分の境界付近に注目しているとマ
ークが検出しやすい。このような現象を利用することで
マーク検出を可能にしている。
Means for Solving the Problems The present inventor has made intensive efforts to achieve the above-mentioned object, and as a result, irradiates the spectacle lens with an illuminating device having a continuous light and dark area on the irradiation surface. It has been found that the colorless and transparent mark attached to the mark can be visualized, and the mark can be detected by capturing an image of the spectacle lens at a position facing the eyeglass lens. This focuses on a process of detecting a mark formed by minute depressions, minute projections, and minute cracks with human eyes.
When detecting a mark attached to a spectacle lens by human eyes, the mark is easily detected when the spectacle lens is held in a bright direction and attention is paid to the vicinity of a boundary between a bright portion and a dark portion near the bright portion. Utilizing such a phenomenon enables mark detection.

【0008】また、眼鏡レンズの屈折力に応じて、照明
装置または/及び撮像装置と眼鏡レンズとの間に調節レ
ンズを挿入することで、眼鏡レンズの屈折作用による影
響を抑え、撮像装置で取り込んだ画像において、十分な
照明領域が確保できるようにしている。なお、調節レン
ズを撮像装置と眼鏡レンズの間に挿入した場合、眼鏡レ
ンズに付されたマークの像が、調節レンズの屈折による
影響を受けるため、眼鏡レンズの位置合わせに検出した
マークの位置情報を用いる際には、調節レンズは照明装
置と眼鏡レンズとの間に挿入するほうが好ましい。
Further, by inserting an adjusting lens between the illumination device and / or the imaging device and the spectacle lens according to the refractive power of the spectacle lens, the influence of the refraction of the spectacle lens is suppressed, and the image is taken in by the imaging device. In such images, a sufficient illumination area can be secured. When the adjusting lens is inserted between the imaging device and the spectacle lens, the image of the mark attached to the spectacle lens is affected by the refraction of the adjusting lens. When using the adjusting lens, it is preferable to insert the adjusting lens between the illumination device and the spectacle lens.

【0009】撮像装置によって取り込んだ画像におい
て、マークは明暗を含む画素で輪郭が構成されており、
その明暗差も周辺の画素と近いため、安定的に画像内の
他の要素(ノイズなど)と切り分けることが難しい場合
がある。そこで、取り込んだ画像に対して、画像の輪郭
を強調する第1の微分処理と、画像の輪郭を抽出する第
2の微分処理とをおこなうことにより、マークの輪郭を
強調し、周辺の画像とは異なる明るい画素の集合体とし
てマークを抽出できるようにしている。
In an image captured by an image pickup device, a mark has an outline formed of pixels including light and dark,
Since the brightness difference is also close to the surrounding pixels, it may be difficult to stably separate the image from other elements (such as noise) in the image. Therefore, the captured image is subjected to a first differentiation process for enhancing the outline of the image and a second differentiation process for extracting the outline of the image, so that the outline of the mark is enhanced and the surrounding image is compared with the surrounding image. Makes it possible to extract a mark as an aggregate of different bright pixels.

【0010】その後、画像を所定の閾値で2値化し、画
像内において検出対象であるマークに最も近い特徴を有
するブロッブを抽出することでマークを特定し、検出で
きるようにしている。以降、所定の明るさの画素で構成
される集合体をブロッブと呼ぶ。
[0010] Thereafter, the image is binarized by a predetermined threshold value, and a blob having a characteristic closest to the mark to be detected in the image is extracted so that the mark can be specified and detected. Hereinafter, an aggregate composed of pixels having a predetermined brightness is referred to as a blob.

【0011】さらに、マークの検出が安定するように、
第1の微分処理または/及び第2の微分処理の後に、画
像からノイズを取り除くためと、ブロッブの分断や欠落
を避けるために平滑化処理をおこなうようにしている。
Further, in order to stably detect the mark,
After the first differentiation process and / or the second differentiation process, a smoothing process is performed to remove noise from the image and to avoid blob division or omission.

【0012】また、2値化処理の前後のいずれかで、画
像内における所定の明るさの画素を膨張することによっ
て、ブロッブの欠落や、分断を避けるようにしている。
[0012] Before or after the binarization processing, a pixel having a predetermined brightness in an image is expanded to avoid loss or division of the blob.

【0013】そして、画像の所定の領域をマスク処理す
ることで、不要なノイズを除去し、マークの検出が安定
するようにしている。
Then, by masking a predetermined area of the image, unnecessary noise is removed, and the detection of the mark is stabilized.

【0014】なお、本発明は眼鏡レンズやその成形型へ
の利用が好ましいが、微少な窪みや微少な突起、微小な
クラックで形成されたマークが、表面や内部に付されて
いる透明体であれば、広く用いることが可能である。
The present invention is preferably applied to a spectacle lens or a mold thereof. However, a mark formed by minute dents, minute projections, and minute cracks is a transparent body having a surface or an interior. If there is, it can be widely used.

【0015】従って、本発明によるマークの検出方法及
びマーク検出装置において、請求項1の発明は、透明体
に付されたマークの検出方法であって、照射面に連続的
な明暗パターンを有する照明装置で透明体を照射し、透
明体を挟んで照明装置と相対する側において透明体の画
像を取り込み、その画像から透明体に付されたマークを
検出することを特徴とするマークの検出方法を提供す
る。
Therefore, in the mark detecting method and the mark detecting apparatus according to the present invention, the invention of claim 1 is a method for detecting a mark attached to a transparent body, wherein the illumination surface has a continuous light and dark pattern. A mark detection method characterized by irradiating a transparent body with a device, capturing an image of the transparent body on the side facing the lighting device with the transparent body interposed, and detecting a mark attached to the transparent body from the image. provide.

【0016】請求項2の発明は、請求項1記載のマーク
の検出方法において、前記透明体が眼鏡レンズまたはそ
の成形型であることを特徴とするマークの検出方法を提
供する。
According to a second aspect of the present invention, there is provided the mark detecting method according to the first aspect, wherein the transparent body is a spectacle lens or a mold thereof.

【0017】請求項3の発明は、請求項2記載のマーク
の検出方法において、眼鏡レンズまたはその成形型の屈
折力に応じて、照明装置または/及び撮像装置と透明体
との間に調節レンズを挿入し、撮像装置で取り込んだ画
像上における照明領域を調節することを特徴とするマー
クの検出方法を提供する。
According to a third aspect of the present invention, in the mark detection method according to the second aspect, an adjusting lens is provided between the illumination device and / or the imaging device and the transparent body according to the refractive power of the spectacle lens or its mold. And adjusting the illumination area on the image captured by the imaging device.

【0018】請求項4の発明は、請求項1から3のいず
れか一項に記載のマークの検出方法において、取り込ん
だ画像からマークを検出する過程で、前記画像の輪郭を
強調する第1の微分処理と、前記画像の輪郭を抽出する
第2の微分処理と、前記画像を所定の閾値で2値化する
2値化処理と、前記画像から所定の特徴を有するブロッ
ブを抽出するブロッブ処理と、検出対象であるマークに
最も近い特徴を有するブロッブを、マークとして特定す
るマーク検出処理とをおこなうことを特徴とするマーク
の検出方法を提供する。
According to a fourth aspect of the present invention, in the mark detecting method according to any one of the first to third aspects, in the step of detecting the mark from the captured image, the first method for enhancing the outline of the image is provided. Differentiation processing, second differentiation processing for extracting the outline of the image, binarization processing for binarizing the image with a predetermined threshold, and blob processing for extracting blob having predetermined characteristics from the image. And a mark detection method for performing a mark detection process for specifying a blob having characteristics closest to a mark to be detected as a mark.

【0019】請求項5の発明は、請求項4に記載のマー
クの検出方法において、第1の微分処理または/及び第
2の微分処理の後に、前記画像を平滑化する平滑化処理
をおこなうことを特徴とするマークの検出方法を提供す
る。
According to a fifth aspect of the present invention, in the mark detection method according to the fourth aspect, a smoothing process for smoothing the image is performed after the first differentiation process and / or the second differentiation process. And a mark detection method characterized by the following.

【0020】請求項6の発明は、請求項4または5に記
載のマークの検出方法において、2値化処理の前後のい
ずれかで、前記画像内における所定の明るさの画素を膨
張する膨張処理をおこなうことを特徴とするマークの検
出方法を提供する。
According to a sixth aspect of the present invention, in the mark detection method according to the fourth or fifth aspect, an expansion process for expanding a pixel having a predetermined brightness in the image before or after the binarization process. And a mark detection method characterized by performing the following.

【0021】請求項7の発明は、請求項4から6のいず
れか一項に記載のマークの検出方法において、前記画像
の所定の領域を検出の対象外とするマスク処理をおこな
うことを特徴とするマークの検出方法を提供する。
According to a seventh aspect of the present invention, in the mark detection method according to any one of the fourth to sixth aspects, a masking process for excluding a predetermined area of the image from detection is performed. The present invention provides a method for detecting a mark.

【0022】請求項8の発明は、透明体に付されたマー
クの検出装置であって、透明体を保持する保持手段と、
照射面に連続的な明暗パターンを有し、透明体を照射す
る照明装置と、透明体を挟んで照明装置と相対する側に
おいて、透明体の画像を取り込む撮像装置と、撮像装置
に接続され当該画像からマークを検出する画像処理装置
とを備えることを特徴とするマークの検出装置を提供す
る。
The invention according to claim 8 is an apparatus for detecting a mark on a transparent body, comprising: a holding means for holding the transparent body;
An illumination device that has a continuous light-dark pattern on the irradiation surface and illuminates the transparent body, an imaging device that captures an image of the transparent body on the side facing the illumination device with the transparent body interposed, and an imaging device that is connected to the imaging device. An image processing apparatus for detecting a mark from an image is provided.

【0023】請求項9の発明は、請求項8に記載のマー
クの検出装置において、前記透明体が眼鏡レンズまたは
その成形型であることを特徴とするマーク検出装置を提
供する。
According to a ninth aspect of the present invention, there is provided the mark detecting device according to the eighth aspect, wherein the transparent body is a spectacle lens or a mold thereof.

【0024】請求項10の発明は、請求項9に記載のマ
ークの検出装置において、眼鏡レンズまたはその成形型
の屈折力に応じて、照明装置または/及び撮像装置と透
明体との間に挿入され、撮像装置で取り込んだ画像上に
おける照明領域を調節する調節レンズを備えることを特
徴とするマークの検出装置を提供する。
According to a tenth aspect of the present invention, in the mark detecting device according to the ninth aspect, the mark is inserted between the illuminating device and / or the imaging device and the transparent body in accordance with the refractive power of the spectacle lens or its mold. The present invention also provides a mark detection device including an adjusting lens for adjusting an illumination area on an image captured by an imaging device.

【0025】請求項11の発明は、請求項8から10の
いずれか一項に記載のマークの検出装置において、前記
画像処理装置は、撮像装置から取り込んだ画像と当該画
像を画像処理した画像を記憶する記憶装置と、画像の輪
郭を強調する第1の微分処理手段と、画像の輪郭を抽出
する第2の微分処理手段と、画像を所定の閾値で2値化
する2値化処理手段と、画像から所定の特徴を有するブ
ロッブを抽出するブロッブ処理手段と、抽出したブロッ
ブの中から検出対象であるマークに最も近い特徴を有す
るブロッブを、マークとして特定するマーク検出手段を
備えることを特徴とするマークの検出装置を提供する。
According to an eleventh aspect of the present invention, in the mark detecting device according to any one of the eighth to tenth aspects, the image processing device includes an image captured from the imaging device and an image obtained by performing image processing on the image. A storage device for storing, first differential processing means for enhancing the outline of the image, second differential processing means for extracting the outline of the image, and binary processing means for binarizing the image with a predetermined threshold value A blob processing unit for extracting a blob having a predetermined feature from an image, and a mark detection unit for identifying a blob having a feature closest to a mark to be detected from the extracted blob as a mark. The present invention provides an apparatus for detecting a mark.

【0026】請求項12の発明は、請求項11に記載の
マークの検出装置において、前記画像処理装置は、画像
を平滑化する平滑化処理手段を備えることを特徴とする
マークの検出装置を提供する。
According to a twelfth aspect of the present invention, there is provided the mark detecting apparatus according to the eleventh aspect, wherein the image processing apparatus includes a smoothing processing means for smoothing an image. I do.

【0027】請求項13の発明は、請求項11または1
2に記載のマークの検出装置において、前記画像処理装
置は、画像内における所定の明るさの画素を膨張する膨
張処理手段を備えることを特徴とするマークの検出装置
を提供する。
The invention of claim 13 is the invention of claim 11 or 1
3. The mark detection device according to 2, wherein the image processing device includes an expansion processing unit that expands a pixel having a predetermined brightness in an image.

【0028】請求項14の発明は、請求項11から13
のいずれか一項に記載のマークの検出装置において、前
記画像処理装置は、画像の所定の領域を検出の対象外と
するマスク処理手段を備えることを特徴とするマークの
検出装置を提供する。
The invention of claim 14 is the invention of claims 11 to 13
The mark detection apparatus according to any one of the above, wherein the image processing apparatus includes a mask processing unit that excludes a predetermined area of an image from a detection target.

【0029】[0029]

【発明の実施の形態】以下、図面を参照しながら、眼鏡
レンズに付された隠しマークの検出を例に取って、本発
明の実施の形態について詳しく説明するが、本発明は下
記の実施の形態に限定されるものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings, taking the detection of hidden marks attached to spectacle lenses as an example. It is not limited to the form.

【0030】図1は、本発明によるマーク検出装置の一
例を示す図である。眼鏡レンズ1の下方に照明装置2を
配置し、眼鏡レンズ1の上方に撮像装置3を配置してい
る。この例では眼鏡レンズ1の物体側の面が上方を向い
ており、撮像装置3と対向しているが、物体側の面が照
明装置2と対向するようにしてもよい。もちろん照明装
置2と撮像装置3の位置関係が反対でも問題ない。ま
た、図1で眼鏡レンズ1は保持手段4の上に置かれてい
るが、保持手段4は照明装置2の照射光を透過する材質
で構成されている。もちろん、図1に示しているような
形態でなくても、照明装置2の照射光が眼鏡レンズ1を
照射でき、撮像装置4で眼鏡レンズ1の所定の領域を画
像取込できるような形態であればよい。
FIG. 1 is a diagram showing an example of a mark detection device according to the present invention. The lighting device 2 is arranged below the spectacle lens 1, and the imaging device 3 is arranged above the spectacle lens 1. In this example, the object-side surface of the spectacle lens 1 faces upward and faces the imaging device 3, but the object-side surface may face the illumination device 2. Of course, there is no problem even if the positional relationship between the illumination device 2 and the imaging device 3 is opposite. In FIG. 1, the spectacle lens 1 is placed on the holding unit 4, and the holding unit 4 is made of a material that transmits light emitted from the illumination device 2. Of course, even if it is not the form shown in FIG. 1, the irradiation light of the illumination device 2 can irradiate the spectacle lens 1 and the imaging device 4 can capture an image of a predetermined area of the spectacle lens 1. I just need.

【0031】照明装置2の表面は、図2に示すような連
続的な明暗の模様を有している。人の目によって眼鏡レ
ンズ1に付されたマーク7を検出する場合、明るい方向
に眼鏡レンズ1をかざし、明るい部分と、その近傍にあ
る暗い部分の境界付近に注目しているとマーク7を検出
しやすい。このような現象を利用し、明暗パターンを連
続的に設けた照明装置2で、眼鏡レンズ1を照射するこ
とによって、撮像装置3において眼鏡レンズ1に付され
たマーク7を検出できるようにしている。図2には黒地
に白い円を連続的に配置した模様を示しているが、模様
はこれに限定されない。また、連続とは、所定の模様が
必ずしも規則正しく並ぶ必要はなく、明るい部分と暗い
部分が不規則であっても、また、模様が様々な形であっ
ても問題ない。
The surface of the lighting device 2 has a continuous light and dark pattern as shown in FIG. When detecting the mark 7 attached to the spectacle lens 1 by human eyes, the spectacle lens 1 is held in a bright direction, and the mark 7 is detected when attention is paid to the vicinity of a boundary between a bright part and a dark part near the bright part. It's easy to do. Utilizing such a phenomenon, the illumination device 2 provided with a continuous pattern of light and dark illuminates the spectacle lens 1 so that the mark 7 attached to the spectacle lens 1 can be detected in the imaging device 3. . FIG. 2 shows a pattern in which white circles are continuously arranged on a black background, but the pattern is not limited to this. Further, the term “continuous” does not necessarily mean that predetermined patterns are arranged regularly, and there is no problem even if light and dark portions are irregular or the patterns have various shapes.

【0032】図1において、眼鏡レンズ1と照明装置2
との間には、照明領域を調節する調節レンズ5を配置し
ている。眼鏡レンズ1が発散レンズの場合には、撮像装
置3で取り込んだ画像において、照明装置2が縮小され
て見える。つまり、明暗の模様が縮小されると同時に、
眼鏡レンズ1の表面を十分に照射できなくなるため、マ
ーク7の検出が困難になる。これを回避するため、眼鏡
レンズ1の屈折力に応じて調節レンズ5を挿入する。こ
の調節レンズ5の出し入れは、眼鏡レンズ1の屈折力に
よって切り替えればよく、図示しないホストコンピュー
ターなどから屈折力情報を取得すれば、自動的に動作さ
せることができる。
In FIG. 1, a spectacle lens 1 and a lighting device 2
An adjustment lens 5 for adjusting the illumination area is disposed between the two. When the spectacle lens 1 is a divergent lens, the illumination device 2 appears to be reduced in the image captured by the imaging device 3. In other words, at the same time as the light and dark patterns are reduced,
Since the surface of the spectacle lens 1 cannot be sufficiently irradiated, it is difficult to detect the mark 7. To avoid this, the adjusting lens 5 is inserted according to the refractive power of the spectacle lens 1. The adjustment lens 5 can be switched in and out depending on the refractive power of the spectacle lens 1, and can be automatically operated by obtaining refractive power information from a host computer or the like (not shown).

【0033】撮像装置3に接続している画像処理装置6
は、撮像装置3で取り込んだ画像を受け取り、画像を加
工する機能を備えてる。図3は画像処理装置6のハード
ウェア構成を示すブロック図である。画像処理装置6
は、全体の制御をおこなうCPU(中央処理装置)61
を備え、その他、CRTディスプレイや液晶ディスプレ
イなどの表示装置62、RAM、ROM、磁気ディスク
などで構成される記憶装置63、撮像装置3と接続する
入出力装置64を備え、それぞれがCPU61に接続さ
れている。図示しないが、文字や数字を入力するための
キーボード、表示装置62の画面上に表示されたカーソ
ルで種々の操作をするマウス、ネットワーク経由でホス
トコンピューターなどと接続する入出力装置などを接続
することが可能である。
Image processing device 6 connected to imaging device 3
Has a function of receiving an image captured by the imaging device 3 and processing the image. FIG. 3 is a block diagram illustrating a hardware configuration of the image processing device 6. Image processing device 6
Is a CPU (Central Processing Unit) 61 that performs overall control
In addition, a display device 62 such as a CRT display or a liquid crystal display, a storage device 63 including a RAM, a ROM, and a magnetic disk, and an input / output device 64 connected to the imaging device 3 are provided. ing. Although not shown, a keyboard for inputting characters and numerals, a mouse for performing various operations with a cursor displayed on the screen of the display device 62, and an input / output device for connecting to a host computer or the like via a network are connected. Is possible.

【0034】図4は記憶装置63の内部構造を示すブロ
ック図である。画像記憶部101は、撮像装置3から取
り込んだ画像(以降、原画像と呼ぶ)を記憶し、必要に
応じて各種の画像処理をおこなった後の画像も記憶す
る。
FIG. 4 is a block diagram showing the internal structure of the storage device 63. The image storage unit 101 stores an image (hereinafter, referred to as an original image) fetched from the imaging device 3 and also stores an image after various image processing has been performed as necessary.

【0035】第1微分処理部102は、画像の輪郭を強
調する機能を有しており、原画像において不明瞭なマー
ク7を強調することができる。この輪郭強調処理には、
コンボリューション演算(重み付き平均)と呼ばれる手
法が用いられる。コンボリューション演算とは、注目画
素を中心として、例えば、3×3の各画素の輝度データ
を図7の(a)に示すようにA〜Iとし、各画素に対し
て図7の(b)に示すにようなa〜iの重み係数を設定
し、注目画素Eの輝度データを求めるもので、このよう
な計算を画像の各画素についておこない、新たな画像を
得るものである。
The first differential processing section 102 has a function of enhancing the outline of the image, and can enhance the unclear mark 7 in the original image. In this contour enhancement process,
A technique called a convolution operation (weighted average) is used. The convolution operation means that, for example, luminance data of each 3 × 3 pixel is set to A to I as shown in FIG. The weighting factors a to i are set as shown in (1) and luminance data of the pixel of interest E is obtained. Such calculation is performed for each pixel of the image to obtain a new image.

【0036】輪郭強調処理では、例えば、図8(a)に
示す重み係数を、数式1に当てはめることによって注目
画素Eの輝度データEを求めるようにしている。
In the contour emphasizing process, for example, the luminance data E of the target pixel E is obtained by applying the weight coefficient shown in FIG.

【0037】[0037]

【数1】 第2微分処理部103は、第1微分処理部102で処理
された画像に対して、輪郭を抽出するための微分処理を
おこなうものである。原画像及び第1微分処理部102
で処理された画像は、マーク7の輪郭が明暗の輪郭で構
成されており、この状態で2値化処理をおこなっても、
マーク7の輪郭の一部が欠落してしまう。そこで、例え
ば、図8の(b)と(c)に示す2種類の重み係数を用
いて、コンボリューション演算をおこなうことによっ
て、画像内におけるマーク7を明るい画素の集合体とし
て抽出する。数式1に図8の(b)と(c)の重み係数
を当てはめて、それぞれ求めた2つの輝度データについ
て絶対値をとり、それらの平均値を最終的な注目画素E
の輝度データEとしている。
(Equation 1) The second differentiation processing unit 103 performs a differentiation process on the image processed by the first differentiation processing unit 102 to extract a contour. Original image and first differential processing unit 102
In the image processed by, the outline of the mark 7 is formed of a light and dark outline, and even if the binarization processing is performed in this state,
Part of the outline of the mark 7 is missing. Therefore, for example, a convolution operation is performed using two types of weighting coefficients shown in FIGS. 8B and 8C to extract the mark 7 in the image as an aggregate of bright pixels. The weighting coefficients of FIGS. 8B and 8C are applied to Equation 1 to obtain the absolute values of the two luminance data obtained respectively, and to calculate the average value of the absolute values of the final target pixel E
Luminance data E.

【0038】2値化処理部104は、数階調の明暗で構
成されるグレー画像を、所定の閾値で白黒に2値化す
る。閾値は照明装置2の照度や、撮像装置3に含まれる
絞りの開閉などの条件によって変化するため、一概に言
えない。この例では、あらかじめ様々な屈折力の眼鏡レ
ンズ1をセットし、検出対象にあった閾値を設定するよ
うにしている。
The binarization processing section 104 binarizes a gray image composed of several gradations of light and shade into black and white at a predetermined threshold value. Since the threshold value varies depending on conditions such as the illuminance of the illumination device 2 and the opening and closing of a diaphragm included in the imaging device 3, it cannot be said unconditionally. In this example, spectacle lenses 1 having various refractive powers are set in advance, and a threshold value suitable for a detection target is set.

【0039】ブロッブ処理部105は、ブロッブを抽出
する機能を備えており、例えばブロッブの面積や重心位
置、形状(丸いのか角張っているのか)などの特徴を調
べることができる。これによりノイズなどの不要な要素
と、検出したいマーク7とを切り分けることが可能にな
る。
The blob processing unit 105 has a function of extracting the blob, and can examine features such as the area, the position of the center of gravity, and the shape (whether round or square) of the blob. This makes it possible to separate unnecessary elements such as noise from the mark 7 to be detected.

【0040】さらに、マーク検出をより安定させるため
に、いくつかの処理部を備えている。平滑化処理部10
6は、隣接する画像の明暗差が緩やかになるように平滑
化するもので、ノイズを抑えたい場合や、2値化処理の
前にブロッブの分断や欠落を避けたい場合に用いる。平
滑化処理は、例えば、図8の(d)に示すような重み係
数を用い、数式2に当てはめてコンボリューション演算
をし、注目画素Eの輝度データEを求める。なお、平滑
化処理には様々な手法があり、これに限定されない。ま
た、本発明においては、特に第1微分処理部102また
は/及び第2微分処理部103によって処理した画像に
対して平滑化処理を加えるが、必要に応じて用いればよ
い。
Further, several processing units are provided to make mark detection more stable. Smoothing processing unit 10
Reference numeral 6 denotes smoothing to make the difference in brightness between adjacent images gentle, and is used when it is desired to suppress noise or to avoid blob division or omission before binarization processing. In the smoothing process, for example, a weighting coefficient as shown in FIG. 8D is used, a convolution operation is performed by applying the weighting coefficient to Expression 2, and luminance data E of the target pixel E is obtained. Note that there are various methods for the smoothing process, and the present invention is not limited to this. Further, in the present invention, the image processed by the first differential processing unit 102 and / or the second differential processing unit 103 is particularly subjected to a smoothing process, but may be used as needed.

【0041】[0041]

【数2】 膨張処理部107は、所定の明るさの画素を膨張するも
ので、ブロッブの分断や欠落を回避するために用いる。
膨張処理は主に2値画像において用いられる処理で、注
目画素の近傍に1つでも輝度データが1の画素が存在す
ると、注目画素の輝度データを1とするものである。膨
張処理にも、4近傍、8近傍などの考え方があり、注目
画素を中心として、どの画素まで考慮するかが異なる
が、この場合は8近傍における膨張処理が好ましい。な
お、膨張処理は2値画像に限定されるものではない。
(Equation 2) The expansion processing unit 107 expands a pixel having a predetermined brightness, and is used to avoid division or omission of a blob.
The expansion process is a process mainly used for a binary image. When at least one pixel having luminance data of 1 exists near a target pixel, the luminance data of the target pixel is set to 1. The expansion processing also has a concept of 4 neighborhoods, 8 neighborhoods, and the like, and it is different how many pixels are to be considered centering on the target pixel. In this case, the expansion processing in the vicinity of 8 is preferable. Note that the expansion processing is not limited to the binary image.

【0042】マスク処理部108は、画像内の所定の領
域を、各種画像処理の対象から外すためにマスクする機
能を備える。具体的には、マスクしたい画像上の領域を
輝度データ0、それ以外の領域の輝度データを最高輝度
(例えば255)にし、マスクしたい画像とANDを取
ればよい。これによって、明らかにマーク7が存在しな
い領域を輝度レベル0にし、そこに存在するノイズを除
くことが可能になる。
The mask processing section 108 has a function of masking a predetermined area in an image so as to exclude the area from various image processing. Specifically, the area on the image to be masked is set to the luminance data 0, the luminance data for the other areas is set to the maximum luminance (for example, 255), and the image to be masked is ANDed. This makes it possible to set an area where the mark 7 does not exist clearly to the luminance level 0 and remove noise existing there.

【0043】マーク検出部109は、ブロッブ処理によ
って得た単数または複数のブロッブの中から、検出対象
のマーク7に最も近い特徴を有するブロッブを特定す
る。この例では、最も容易な特定方法として、あらかじ
め設定された検出対象の面積と、単数または複数のブロ
ッブの面積を比較する方法を採用している。
The mark detecting unit 109 specifies a blob having a feature closest to the mark 7 to be detected from one or more blobs obtained by the blob processing. In this example, as the easiest identification method, a method of comparing a predetermined area of the detection target with an area of one or a plurality of blobs is adopted.

【0044】次に、本発明によるマークの検出装置の動
作について具体的に説明する。図5は、本発明によるマ
ーク検出装置の動作フローチャートの一例である。ま
ず、ステップS1において眼鏡レンズ1を保持手段4に
セットする。次にステップS2において、セットした眼
鏡レンズ1の屈折力が、あらかじめ設定された屈折力D
よりも小さいか判断し、小さい場合にはステップS3で
眼鏡レンズ1と照明装置2との間に調節レンズ5を挿入
する。なお、屈折力Dは集光レンズの場合をプラス、発
散レンズの場合をマイナス、屈折がない場合を0として
いる。屈折力Dは、検出の安定性を考慮して設定すれば
よく、撮像装置3、眼鏡レンズ1、照明装置2の距離関
係などによって条件が変わるため一概には言えないが、
この例では−2.0Dとしている。
Next, the operation of the mark detecting device according to the present invention will be specifically described. FIG. 5 is an example of an operation flowchart of the mark detection device according to the present invention. First, in step S1, the spectacle lens 1 is set on the holding means 4. Next, in step S2, the refractive power of the set spectacle lens 1 is changed to a preset refractive power D
It is determined whether the distance is smaller than the predetermined value. If it is smaller, the adjusting lens 5 is inserted between the spectacle lens 1 and the illumination device 2 in step S3. The refractive power D is positive for a condenser lens, negative for a divergent lens, and zero for no refraction. The refractive power D may be set in consideration of the stability of detection, and the condition varies depending on the distance relationship between the imaging device 3, the spectacle lens 1, and the illuminating device 2.
In this example, it is -2.0D.

【0045】次にステップS4で撮像装置3から画像を
取り込み、画像処理装置6の記憶装置63の画像記憶部
101に記憶する。そして、取り込んだ原画像に対し
て、ステップS5において、マスク処理部108によっ
てマスク処理をおこない、画像内の所定の領域を、以降
のステップにおいて処理の対象外となるようにする。例
えば、眼鏡レンズ1の幾何学中心から17mmの円周上
に、2mm角の大きさのマーク7が存在する場合であれ
ば、幾何学中心から半径14mm以内の領域と、半径2
0mm以内の領域よりも外側の領域にはマーク7は存在
しないため、それらの領域はマスクすることができる。
もちろん、この処理は省略しても問題ない。
Next, in step S4, an image is fetched from the imaging device 3 and stored in the image storage unit 101 of the storage device 63 of the image processing device 6. Then, in step S5, the mask processing is performed on the fetched original image by the mask processing unit 108, so that a predetermined area in the image is excluded from processing in subsequent steps. For example, if there is a mark 7 having a size of 2 mm square on the circumference of 17 mm from the geometric center of the spectacle lens 1, the area within a radius of 14 mm from the geometric center and the radius 2
Since the mark 7 does not exist in an area outside the area within 0 mm, those areas can be masked.
Of course, there is no problem if this processing is omitted.

【0046】続いて、ステップS6において、第1微分
処理部102によって第1微分処理をおこない、図6の
(a)に示すように画像全体の明暗を強調する。その
後、ステップS7において、第2微分処理部103によ
って第2微分処理をおこない、図6の(b)に示すよう
に、隣接している画素が明から暗、暗から明へ変化する
部分を明るく強調し、画像内におけるマーク7を明るい
画素の集合体として抽出する。このときマーク7以外の
部分では、画像の濃淡変化量が小さいため、マーク7だ
けが明るく抽出される。さらに、ステップS8におい
て、平滑化処理部106によって平滑化処理を加え、次
におこなうステップS9の2値化処理後の画像にノイズ
が発生するのを抑えると同時に、ブロッブの分断や欠落
も抑える。この平滑化処理は、ステップS7の前後でそ
れぞれおこなっても、ステップS7の前にだけおこなっ
ても、あるいは省略しても問題ない。
Subsequently, in step S6, a first differentiation process is performed by the first differentiation processing section 102 to emphasize the brightness of the entire image as shown in FIG. Thereafter, in step S7, a second differentiation process is performed by the second differentiation processing unit 103, and as shown in FIG. 6B, a portion where adjacent pixels change from bright to dark and dark to bright is brightened. The emphasis is made and the mark 7 in the image is extracted as an aggregate of bright pixels. At this time, in a portion other than the mark 7, only the mark 7 is extracted brightly because the amount of change in shading of the image is small. Further, in step S8, a smoothing process is performed by the smoothing processing unit 106, so that noise is prevented from being generated in the image after the binarization process in step S9, which is performed next, and at the same time, the division or omission of the blob is also suppressed. This smoothing process may be performed before or after step S7, only before step S7, or may be omitted.

【0047】次に、ステップS9において、2値化処理
部104によって図6の(c)に示すように、画像を所
定の閾値で白黒に2値化する。本発明においては、黒か
ら白まで256階調のグレー画像を前提としているが、
これに限定されるものではなく、これ以外の濃淡階調の
グレー画像でも、2値画像でも、あるいはカラー画像で
も問題ない。この後、ステップS10において、膨張処
理部107によって、所定の明るさの画素を膨張する膨
張処理を加え、図6(d)に示すようにマーク7の分断
や欠落を回避する。膨張処理は、ステップS9の2値化
処理の前後のいずれかでおこなうことが好ましいが、省
略しても問題ない。続いて、ステップS11において、
ブロッブ処理部105によって、所定の明るさのブロッ
ブを抽出するブロッブ処理をおこなう。ブロッブ処理
は、グレー画像においても可能であるが、本発明におい
ては、マーク7の検出に要する処理速度を向上するため
に、ステップS9で2値化処理をおこなった画像に対し
てブロッブ処理をおこなっている。十分な処理速度を確
保できる場合には、ステップS9の2値化処理を省略し
てもよい。ブロッブ処理は、例えば検出するマーク7の
大きさに近い大きさを有するブロッブを抽出する。
Next, in step S9, as shown in FIG. 6C, the image is binarized to black and white by a predetermined threshold value by the binarization processing unit 104. In the present invention, a gray image of 256 gradations from black to white is assumed,
The present invention is not limited to this, and there is no problem with gray images of other gray scales, binary images, or color images. Thereafter, in step S10, expansion processing for expanding pixels of a predetermined brightness is performed by the expansion processing unit 107 to avoid division or loss of the mark 7 as shown in FIG. The expansion processing is preferably performed before or after the binarization processing in step S9, but may be omitted without any problem. Subsequently, in step S11,
The blob processing unit 105 performs a blob process for extracting a blob having a predetermined brightness. The blob processing can be performed on a gray image, but in the present invention, in order to improve the processing speed required for detecting the mark 7, the blob processing is performed on the image that has been subjected to the binarization processing in step S9. ing. If a sufficient processing speed can be secured, the binarization processing in step S9 may be omitted. In the blob processing, for example, a blob having a size close to the size of the mark 7 to be detected is extracted.

【0048】ブロッブ処理が完了したら、ステップS1
2において、マーク検出部109によってマーク7の検
出をおこなう。抽出できたブロッブが複数ある場合は、
検出対象であるマーク7の大きさや形状に最も近いブロ
ッブをマーク7として特定する。特定したマーク7の重
心位置を求めれば、眼鏡レンズ1の位置合わせに用いる
ことができる。
When the blob processing is completed, step S1
In 2, the mark 7 is detected by the mark detection unit 109. If there are multiple blobs that can be extracted,
The blob closest to the size and shape of the mark 7 to be detected is specified as the mark 7. If the position of the center of gravity of the specified mark 7 is obtained, it can be used for positioning the spectacle lens 1.

【0049】このように、本発明のマーク検出装置を用
いれば、眼鏡レンズ1に付された無色透明なマーク7を
自動的に、精度良く検出することが可能である。なお、
本発明は、眼鏡レンズのみならず、その成形型や透明体
に広く利用できる。
As described above, with the use of the mark detecting device of the present invention, the colorless and transparent mark 7 attached to the spectacle lens 1 can be automatically and accurately detected. In addition,
INDUSTRIAL APPLICABILITY The present invention can be widely used not only for spectacle lenses but also for molds and transparent bodies.

【0050】[0050]

【発明の効果】以上、説明したように本発明のマーク検
出方法及び装置によれば、従来、人手に頼っていたマー
ク検出作業が自動化できるため、透明体の位置合わせが
精度良く、自動的におこなうことが可能になり、製造工
程における省力化はもちろん、位置合わせの精度向上を
実現することができる。
As described above, according to the mark detection method and apparatus of the present invention, since the mark detection work conventionally relying on humans can be automated, the alignment of the transparent body can be performed accurately and automatically. As a result, it is possible to realize not only labor saving in the manufacturing process but also improvement in accuracy of positioning.

【0051】[0051]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるマーク検出装置の一例を示す図で
ある。
FIG. 1 is a diagram showing an example of a mark detection device according to the present invention.

【図2】照明装置に付された模様の一例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of a pattern attached to a lighting device.

【図3】画像処理装置のハードウェア構成を示すブロッ
ク図である。
FIG. 3 is a block diagram illustrating a hardware configuration of the image processing apparatus.

【図4】画像処理装置の記憶装置の内部構造を示すブロ
ック図である。
FIG. 4 is a block diagram illustrating an internal structure of a storage device of the image processing apparatus.

【図5】本発明によるマーク検出装置の動作フローチャ
ートの一例を示す図である。
FIG. 5 is a diagram showing an example of an operation flowchart of the mark detection device according to the present invention.

【図6】画像処理過程の各画像の一例を示す図であり、
(a)は第1微分処理後の画像を、(b)は第2微分処
理後の画像を、(c)は2値化処理後の画像を、(d)
は膨張処理後の画像をそれぞれ示す図である。
FIG. 6 is a diagram showing an example of each image in the image processing process;
(A) shows the image after the first differentiation processing, (b) shows the image after the second differentiation processing, (c) shows the image after the binarization processing, and (d)
FIG. 3 is a diagram showing images after dilation processing.

【図7】注目画素Eを中心とする、3×3マトリックス
について、(a)は各画素の輝度データを、(b)は各
画素に対応する重み係数をそれぞれ示す図である。
7A is a diagram illustrating luminance data of each pixel, and FIG. 7B is a diagram illustrating a weight coefficient corresponding to each pixel, for a 3 × 3 matrix centered on a target pixel E;

【図8】本発明のコンボリューション演算に用いられる
重み係数の一例を示す図であり、(a)は画像強調処理
に用いられる重み係数を、(b)は画像抽出処理に用い
られる第1の重み係数を、(c)は画像抽出処理に用い
られる第2の重み係数を、(d)は平滑化処理に用いら
れる重み係数をそれぞれ示す図である。
8A and 8B are diagrams illustrating an example of weighting factors used in a convolution operation according to the present invention, wherein FIG. 8A illustrates a weighting factor used in an image enhancement process, and FIG. 8B illustrates a first weighting factor used in an image extraction process. FIG. 3C is a diagram illustrating a weight coefficient, FIG. 3C is a diagram illustrating a second weight coefficient used in an image extraction process, and FIG. 3D is a diagram illustrating a weight coefficient used in a smoothing process.

【符号の説明】[Explanation of symbols]

1.眼鏡レンズ 2.照明装置 3.撮像装置 4.保持手段 5.調節レンズ 6.画像処理装置 7.マーク 61.CPU(中央処理装置) 62.表示装置 63.記憶装置(RAM、ROM、磁気ディスクなど) 64.入出力装置 101.画像記憶部 102.第1微分処理部 103.第2微分処理部 104.2値化処理部 105.ブロッブ処理部 106.平滑化処理部 107.膨張処理部 108.マスク処理部 109.マーク検出部 1. Eyeglass lens 2. Lighting device 3. Imaging device 4. Holding means 5. Adjustable lens 6. Image processing device 7. Mark 61. CPU (central processing unit) 62. Display device 63. Storage device (RAM, ROM, magnetic disk, etc.) 64. Input / output device 101. Image storage unit 102. First differential processing section 103. Second differential processing unit 104.2 Binarization processing unit 105. Blob processing unit 106. Smoothing processing section 107. Expansion processing section 108. Mask processing section 109. Mark detector

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G086 FF06 5B047 AA11 AB02 BA02 BC05 BC07 5C054 AA04 CA04 CC00 CD03 CE01 EA00 ED12 ED17 EJ04 FA04 FC05 FC14 FC15 GA01 GA04 GB11 HA01 5L096 AA03 AA06 BA08 BA18 CA02 DA02 EA02 EA06 EA43 FA59 FA60 FA69 GA03 GA12  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G086 FF06 5B047 AA11 AB02 BA02 BC05 BC07 5C054 AA04 CA04 CC00 CD03 CE01 EA00 ED12 ED17 EJ04 FA04 FC05 FC14 FC15 GA01 GA04 GB11 HA01 5L096 AA03 AA06 BA08 BA02 FA02 EA02 EA12 FA69 GA03 GA12

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】透明体に付されたマークの検出方法であっ
て、照射面に連続的な明暗パターンを有する照明装置で
透明体を照射し、透明体を挟んで照明装置と相対する側
において透明体の画像を取り込み、その画像から透明体
に付されたマークを検出することを特徴とするマークの
検出方法。
1. A method for detecting a mark on a transparent body, comprising irradiating the transparent body with an illuminating device having a continuous light-dark pattern on an irradiation surface, and illuminating the transparent body with the illuminating device facing the illuminating device across the transparent body. A method for detecting a mark, comprising taking an image of a transparent body and detecting a mark attached to the transparent body from the image.
【請求項2】請求項1記載のマークの検出方法におい
て、前記透明体が眼鏡レンズまたはその成形型であるこ
とを特徴とするマークの検出方法。
2. The mark detecting method according to claim 1, wherein said transparent body is a spectacle lens or a mold thereof.
【請求項3】請求項2記載のマークの検出方法におい
て、眼鏡レンズまたはその成形型の屈折力に応じて、照
明装置または/及び撮像装置と透明体との間に調節レン
ズを挿入し、撮像装置で取り込んだ画像上における照明
領域を調節することを特徴とするマークの検出方法。
3. A method for detecting a mark according to claim 2, wherein an adjusting lens is inserted between the illuminating device and / or the image pickup device and the transparent body in accordance with the refractive power of the spectacle lens or its molding die, and the image is picked up. A mark detection method comprising adjusting an illumination area on an image captured by a device.
【請求項4】請求項1から3のいずれか一項に記載のマ
ークの検出方法において、取り込んだ画像からマークを
検出する過程で、前記画像の輪郭を強調する第1の微分
処理と、前記画像の輪郭を抽出する第2の微分処理と、
前記画像を所定の閾値で2値化する2値化処理と、前記
画像から所定の特徴を有するブロッブを抽出するブロッ
ブ処理と、検出対象であるマークに最も近い特徴を有す
るブロッブを、マークとして特定するマーク検出処理と
をおこなうことを特徴とするマークの検出方法。
4. The mark detecting method according to claim 1, wherein in the process of detecting the mark from the captured image, a first differentiation process for enhancing a contour of the image is performed. A second differentiation process for extracting a contour of the image;
A binarization process for binarizing the image with a predetermined threshold, a blob process for extracting a blob having a predetermined feature from the image, and a blob having a feature closest to a mark to be detected as a mark And a mark detection process for detecting a mark.
【請求項5】請求項4に記載のマークの検出方法におい
て、第1の微分処理または/及び第2の微分処理の後
に、前記画像を平滑化する平滑化処理をおこなうことを
特徴とするマークの検出方法。
5. The mark detection method according to claim 4, wherein a smoothing process for smoothing the image is performed after the first differentiation process and / or the second differentiation process. Detection method.
【請求項6】請求項4または5に記載のマークの検出方
法において、2値化処理の前後のいずれかで、前記画像
内における所定の明るさの画素を膨張する膨張処理をお
こなうことを特徴とするマークの検出方法。
6. A method for detecting a mark according to claim 4, wherein expansion processing for expanding pixels having a predetermined brightness in the image is performed before or after the binarization processing. Detection method of the mark to be used.
【請求項7】請求項4から6のいずれか一項に記載のマ
ークの検出方法において、前記画像の所定の領域を検出
の対象外とするマスク処理をおこなうことを特徴とする
マークの検出方法。
7. The mark detection method according to claim 4, wherein a mask process is performed to exclude a predetermined area of the image from detection. .
【請求項8】透明体に付されたマークの検出装置であっ
て、透明体を保持する保持手段と、照射面に連続的な明
暗パターンを有し、透明体を照射する照明装置と、透明
体を挟んで照明装置と相対する側において、透明体の画
像を取り込む撮像装置と、撮像装置に接続され当該画像
からマークを検出する画像処理装置とを備えることを特
徴とするマークの検出装置。
8. An apparatus for detecting a mark on a transparent body, comprising: holding means for holding the transparent body; an illuminating device having a continuous light-dark pattern on an irradiation surface and irradiating the transparent body; A mark detection device comprising: an imaging device that captures an image of a transparent body on a side facing a lighting device with a body therebetween; and an image processing device that is connected to the imaging device and detects a mark from the image.
【請求項9】請求項8に記載のマークの検出装置におい
て、前記透明体が眼鏡レンズまたはその成形型であるこ
とを特徴とするマーク検出装置。
9. The mark detecting device according to claim 8, wherein the transparent body is a spectacle lens or a mold thereof.
【請求項10】請求項9に記載のマークの検出装置にお
いて、眼鏡レンズまたはその成形型の屈折力に応じて、
照明装置または/及び撮像装置と透明体との間に挿入さ
れ、撮像装置で取り込んだ画像上における照明領域を調
節する調節レンズを備えることを特徴とするマークの検
出装置。
10. The mark detecting device according to claim 9, wherein the spectacle lens or a molding die thereof has a refractive power according to:
A mark detection device comprising an illumination device and / or an adjustment lens inserted between an imaging device and a transparent body, the adjustment lens adjusting an illumination area on an image captured by the imaging device.
【請求項11】請求項8から10のいずれか一項に記載
のマークの検出装置において、前記画像処理装置は、撮
像装置から取り込んだ画像と当該画像を画像処理した画
像を記憶する記憶装置と、画像の輪郭を強調する第1の
微分処理手段と、画像の輪郭を抽出する第2の微分処理
手段と、画像を所定の閾値で2値化する2値化処理手段
と、画像から所定の特徴を有するブロッブを抽出するブ
ロッブ処理手段と、抽出したブロッブの中から検出対象
であるマークに最も近い特徴を有するブロッブを、マー
クとして特定するマーク検出手段を備えることを特徴と
するマークの検出装置。
11. The mark detecting device according to claim 8, wherein the image processing device includes a storage device that stores an image captured from an imaging device and an image obtained by performing image processing on the image. First differentiation processing means for enhancing the contour of the image, second differentiation processing means for extracting the contour of the image, binarization processing means for binarizing the image with a predetermined threshold value, and A mark detection device comprising: a blob processing unit for extracting a blob having a feature; and a mark detection unit for specifying, as a mark, a blob having a feature closest to a mark to be detected from the extracted blob. .
【請求項12】請求項11に記載のマークの検出装置に
おいて、前記画像処理装置は、画像を平滑化する平滑化
処理手段を備えることを特徴とするマークの検出装置。
12. A mark detecting device according to claim 11, wherein said image processing device comprises a smoothing processing means for smoothing an image.
【請求項13】請求項11または12に記載のマークの
検出装置において、前記画像処理装置は、画像内におけ
る所定の明るさの画素を膨張する膨張処理手段を備える
ことを特徴とするマークの検出装置。
13. A mark detection apparatus according to claim 11, wherein said image processing apparatus includes expansion processing means for expanding pixels having a predetermined brightness in an image. apparatus.
【請求項14】請求項11から13のいずれか一項に記
載のマークの検出装置において、前記画像処理装置は、
画像の所定の領域を検出の対象外とするマスク処理手段
を備えることを特徴とするマークの検出装置。
14. The mark detection device according to claim 11, wherein the image processing device comprises:
A mark detection apparatus comprising: a mask processing unit that excludes a predetermined area of an image from a detection target.
JP2001101651A 2001-03-30 2001-03-30 Method and apparatus for detecting mark Withdrawn JP2002296144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001101651A JP2002296144A (en) 2001-03-30 2001-03-30 Method and apparatus for detecting mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001101651A JP2002296144A (en) 2001-03-30 2001-03-30 Method and apparatus for detecting mark

Publications (1)

Publication Number Publication Date
JP2002296144A true JP2002296144A (en) 2002-10-09

Family

ID=18954937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001101651A Withdrawn JP2002296144A (en) 2001-03-30 2001-03-30 Method and apparatus for detecting mark

Country Status (1)

Country Link
JP (1) JP2002296144A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006118935A (en) * 2004-10-20 2006-05-11 Hoya Corp Imaging apparatus for lens
JP2007514936A (en) * 2003-12-10 2007-06-07 エシロル アンテルナシヨナル コンパーニュ ジェネラル ドプテーク Device for automatically detecting markings on ophthalmic lenses
US7715023B2 (en) 2004-03-31 2010-05-11 Kabushiki Kaisha Topcon Jig mounting apparatus
JP5472463B2 (en) * 2010-06-30 2014-04-16 富士通株式会社 Image processing program and image processing apparatus
EP4324594A1 (en) * 2022-08-19 2024-02-21 Carl Zeiss Vision International GmbH Method for facilitating an identification of an optical mark and data processing device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02176876A (en) * 1988-12-27 1990-07-10 Fujitsu Ltd Graphic recognition device
JPH05249405A (en) * 1990-11-05 1993-09-28 A O Inc Device and method for detecting concealed mark on progressive aspherical ophthalmic lens
JPH0868967A (en) * 1994-05-17 1996-03-12 Olympus Optical Co Ltd Image processing method and image processor
JPH095247A (en) * 1995-06-19 1997-01-10 Asahi Optical Co Ltd Method for separating sealed mark and apparatus for inspecting optical member
JPH09257644A (en) * 1996-03-26 1997-10-03 Topcon Corp Lens meter
JP2000182114A (en) * 1998-12-21 2000-06-30 Printing Bureau Ministry Of Finance Japan Watermark inspecting device
JP2001057630A (en) * 1999-08-18 2001-02-27 Fuji Photo Film Co Ltd Image processing unit and image processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02176876A (en) * 1988-12-27 1990-07-10 Fujitsu Ltd Graphic recognition device
JPH05249405A (en) * 1990-11-05 1993-09-28 A O Inc Device and method for detecting concealed mark on progressive aspherical ophthalmic lens
JPH0868967A (en) * 1994-05-17 1996-03-12 Olympus Optical Co Ltd Image processing method and image processor
JPH095247A (en) * 1995-06-19 1997-01-10 Asahi Optical Co Ltd Method for separating sealed mark and apparatus for inspecting optical member
JPH09257644A (en) * 1996-03-26 1997-10-03 Topcon Corp Lens meter
JP2000182114A (en) * 1998-12-21 2000-06-30 Printing Bureau Ministry Of Finance Japan Watermark inspecting device
JP2001057630A (en) * 1999-08-18 2001-02-27 Fuji Photo Film Co Ltd Image processing unit and image processing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007514936A (en) * 2003-12-10 2007-06-07 エシロル アンテルナシヨナル コンパーニュ ジェネラル ドプテーク Device for automatically detecting markings on ophthalmic lenses
US7715023B2 (en) 2004-03-31 2010-05-11 Kabushiki Kaisha Topcon Jig mounting apparatus
JP2006118935A (en) * 2004-10-20 2006-05-11 Hoya Corp Imaging apparatus for lens
JP4514036B2 (en) * 2004-10-20 2010-07-28 Hoya株式会社 Lens imaging device
JP5472463B2 (en) * 2010-06-30 2014-04-16 富士通株式会社 Image processing program and image processing apparatus
EP4324594A1 (en) * 2022-08-19 2024-02-21 Carl Zeiss Vision International GmbH Method for facilitating an identification of an optical mark and data processing device
WO2024038170A2 (en) 2022-08-19 2024-02-22 Carl Zeiss Vision International Gmbh Method for facilitating an identification of an optical mark and data processing device

Similar Documents

Publication Publication Date Title
CN110389127B (en) System and method for identifying metal ceramic parts and detecting surface defects
CN108876768B (en) Shadow defect detection method for light guide plate
CN109242853A (en) A kind of PCB defect intelligent detecting method based on image procossing
JP4725298B2 (en) Visual inspection method using images
WO2017067342A1 (en) Board card position detection method and apparatus
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
CA2369285A1 (en) Automatic image pattern detection
JP2009097922A (en) Visual inspection method and apparatus
CN108921858A (en) A kind of recognition methods of automatic detection lifting lug position
JP2000105819A (en) Face image area detecting device
CN113686869A (en) Micro-defect recognition device for insulating blanket
CN114119591A (en) Display screen picture quality detection method
CN112883986B (en) Static infrared target lamp identification method under complex background
CN109003228B (en) Dark field microscopic large-view-field automatic stitching imaging method
CN114612418A (en) Method, device and system for detecting surface defects of mouse shell and electronic equipment
CN109785290A (en) Normalized steel plate defect detection method is shone based on local light
KR101557271B1 (en) Method for detecting a circle-type object and approximating a substitute circle based on Image processing
JP2002296144A (en) Method and apparatus for detecting mark
JP2003167529A (en) Method and device for picture defect detection, and program for picture defect detection
JP3114684B2 (en) Appearance inspection method and device
KR101562988B1 (en) Apparatus and method for detecting surface defects of hot billet
JPH11306325A (en) Method and device for object detection
CN107316281B (en) Image processing method and device and terminal equipment
JPH07311833A (en) Human face detecting device
JP2019200775A (en) Surface defect inspection device and surface defect inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071026

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101221

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20110215