JPH0862155A - Object 0bserving apparatus - Google Patents

Object 0bserving apparatus

Info

Publication number
JPH0862155A
JPH0862155A JP7207631A JP20763195A JPH0862155A JP H0862155 A JPH0862155 A JP H0862155A JP 7207631 A JP7207631 A JP 7207631A JP 20763195 A JP20763195 A JP 20763195A JP H0862155 A JPH0862155 A JP H0862155A
Authority
JP
Japan
Prior art keywords
light
image
target portion
observation target
strobe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7207631A
Other languages
Japanese (ja)
Inventor
Hitoshi Naito
均 内藤
Osamu Nishiguchi
修 西口
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP7207631A priority Critical patent/JPH0862155A/en
Publication of JPH0862155A publication Critical patent/JPH0862155A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To obtain a precise observation result by obtaining an image which accurately reflects the feature of the part to be observed of an object. CONSTITUTION: A television camera 5 is disposed above an object (cap) 4 to be inspected, and the image obtained by imaging it is processed to decide the presence or absence of the wrinkle of an inner wall. A ring strobe 13 and a diffusion plate 41 are disposed in the periphery of the camera 5. On the other hand, a shielding hood 15 is mounted at the end of the wide angle lens 12 of the camera 5, and a shielding plate 16 is disposed between the hood 15 and the object 4 to be inspected. The illumination light from the strobe 13 is projected only to the bottom inner surface of the object 4 to be inspected by the hood 15 and the plate 16.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、対象物を撮像して得
られる画像を用いて計測など所定の画像処理を実行する
物体観測装置に関連する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object observing apparatus for executing a predetermined image processing such as measurement using an image obtained by picking up an image of an object.

【0002】[0002]

【従来の技術】図8は、瓶口に嵌めるキャップの外観を
示す。従来、この種のキャップは、金属板に絞り加工を
施して形成されるもので、この加工が適正に行われる
と、図8(1)に示すような内外壁面が平坦なキャップ
1となる。ところがプレス不良などにより、キャップ内
面の開口縁近傍に図8(2)に示すような縦皺2が周面
全体に形成される場合がある。このような縦皺2のある
キャップ1を瓶口に嵌めると、空気もれ等の原因を招来
するため、キャップ内面の検査を行ってこの種キャップ
1を不良品として除去する必要がある。
2. Description of the Related Art FIG. 8 shows the appearance of a cap fitted in a bottle mouth. Conventionally, this type of cap is formed by subjecting a metal plate to a drawing process. When this process is appropriately performed, the cap 1 having flat inner and outer wall surfaces as shown in FIG. 8A is formed. However, a vertical wrinkle 2 as shown in FIG. 8 (2) may be formed on the entire peripheral surface near the opening edge on the inner surface of the cap due to a pressing failure or the like. When the cap 1 having such vertical wrinkles 2 is fitted into the bottle mouth, it causes air leakage and the like, so it is necessary to inspect the inner surface of the cap and remove the cap 1 of this kind as a defective product.

【0003】従来この種の検査は、作業員による目視検
査に依存しているが、検査箇所がキャップの内面である
ため、縦皺の存在有無を確実に判別することは容易でな
く、不良品の見落しによる検査精度の低下を招いてい
る。また人手による検査であるから、検査速度が遅く、
検査効率が低いばかりでなく、作業員の作業負担が大き
く、極度の疲労を招くなどの問題があった。
Conventionally, this type of inspection relies on visual inspection by an operator, but since the inspection location is the inner surface of the cap, it is not easy to reliably determine the presence or absence of vertical wrinkles, and a defective product is detected. The inspection accuracy is lowered due to the oversight. Also, the inspection speed is slow because it is a manual inspection,
Not only is the inspection efficiency low, but the work load on the workers is heavy, and there is a problem of causing extreme fatigue.

【0004】そこで、最近、この種検査を画像技術によ
って自動化することが提案されている(特開昭62−8
2344号)。この装置は、拡散反射面を備えた環状の
照明装置によりキャップの内面に拡散光を照射し、その
反射光を撮像して得られた画像によりキャップ内面の不
良を判別するようにしている。
Therefore, recently, it has been proposed to automate this type of inspection by image technology (Japanese Patent Laid-Open No. 62-8).
2344). This device irradiates diffused light on the inner surface of the cap by an annular illumination device having a diffuse reflection surface, and determines the defect on the inner surface of the cap by an image obtained by capturing the reflected light.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記の装
置では、照明装置からの直接照明光がキャップの内面全
体に照射されるため、キャップ内壁面の凹凸は画像上で
輝度の差として現れにくくなり、検査精度が低下すると
いう問題がある。
However, in the above device, since the illumination light directly from the illumination device is applied to the entire inner surface of the cap, the unevenness of the inner wall surface of the cap is less likely to appear as a difference in brightness on the image. There is a problem that the inspection accuracy decreases.

【0006】この発明は、上記問題を解消するためにな
されたものであって、照明光が対象物の観測対象部分を
直接照射しないように調整するとともに、撮像装置に対
して観測対象部分よりも遠方に位置する反射手段により
照明光を反射させて、その反射光を観測対象部分に照射
することにより、観測対象部分の特徴を正確に反映した
画像を得て精密な観測結果を得られる物体観測装置を提
供することを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and the illumination light is adjusted so as not to directly illuminate the observation target portion of the object, and the image pickup device is adjusted to be more than the observation target portion. Reflection of illumination light by a reflecting means located at a distant place and irradiating the reflected light to the observation target area provides an image that accurately reflects the characteristics of the observation target area, thus obtaining an accurate observation result. The purpose is to provide a device.

【0007】[0007]

【課題を解決するための手段】この発明の物体観測装置
は、対象物の観測対象部分を撮像する撮像手段と、光源
と、前記光源からの照明光を直接受けてその反射光を前
記観測対象部分に照射する反射手段と、前記反射手段か
らの照射光の下で撮像された前記観測対象部分の画像を
用いて所定の処理を実行する画像処理手段とを備えてい
る。第1の発明では、前記光源をその照明光が前記観測
対象部分に直接照射されないように配備すると共に、前
記反射手段を前記撮像手段に対して前記観測対象部分よ
りも遠方に位置するようにしている。
An object observing device of the present invention is an image observing means for picking up an observation target portion of an object, a light source, and illumination light from the light source which is directly received and the reflected light thereof is observed. A reflecting means for irradiating the part and an image processing means for executing a predetermined process using an image of the observation target part imaged under the irradiation light from the reflecting means are provided. In the first invention, the light source is arranged so that the illumination light thereof is not directly irradiated to the observation target portion, and the reflecting means is positioned farther than the observation target portion with respect to the imaging means. There is.

【0008】また第2の発明の物体観測装置では、前記
光源と対象物との間には、前記光源からの照明光が観測
対象部分に直接照射されないように照明光を遮蔽する遮
蔽手段が配備されており、前記反射手段は前記撮像手段
に対して前記観測対象部分よりも遠方に位置している。
Further, in the object observing device of the second invention, a shielding means is provided between the light source and the object so as to shield the illumination light from the light source so as not to directly irradiate the observation target portion. The reflection means is located farther than the observation target portion with respect to the imaging means.

【0009】[0009]

【作用】光源からの照明光は、対象物の観測対象部分に
直接照射されずに反射手段に照射される。この反射手段
は、撮像手段に対して観測対象部分よりも遠方に位置し
ており、その反射光は間接照明光として観測対象部分に
照射される。この間接照明光の下で観測対象部分を撮像
すれば、その特徴を正確に反映した画像を得ることがで
きる。
The illumination light from the light source is applied to the reflecting means without being directly applied to the observation target portion of the object. The reflection means is located farther than the observation target portion with respect to the image pickup means, and the reflected light is applied to the observation target portion as indirect illumination light. If the observation target portion is imaged under this indirect illumination light, an image that accurately reflects the characteristics can be obtained.

【0010】[0010]

【実施例】図1は、この発明の一実施例にかかるキャッ
プの内面の皺検査装置を示している。この装置例は瓶口
に嵌める金属製キャップを検査対象としているが、この
発明はこれに限らず、缶詰の容器などを検査対象とする
こともできる。図示例の装置は、搬送コンベヤ3で搬送
されてくる多数の被検査物4につき、所定の検査位置に
てキャップ内壁面の縦皺の有無を次々に高速検査するも
ので、テレビカメラ5,コントローラ6,ビデオモニタ
7,ライトペン8,物体検知センサ9,ストロボ照明装
置10,ストロボ制御装置11などから構成されてい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a wrinkle inspection device for the inner surface of a cap according to an embodiment of the present invention. In this example of the apparatus, the inspection target is the metal cap fitted in the bottle mouth, but the present invention is not limited to this, and the inspection object can be a canned container or the like. The apparatus shown in the figure is for inspecting a large number of objects to be inspected 4 conveyed by the conveyer conveyor 3 at a predetermined inspection position at high speed one after another for the presence or absence of vertical wrinkles on the inner wall surface of the cap. 6, a video monitor 7, a light pen 8, an object detection sensor 9, a strobe lighting device 10, a strobe control device 11, and the like.

【0011】テレビカメラ5は例えば2次元CCDカメ
ラであって、被検査物4を撮像するためのもので、その
ビデオ信号VDi はコントローラ6に与えられる。コン
トローラ6はテレビカメラ5からのビデオ信号VDi
2値化して、皺検査に関する各種の演算や処理を実行す
る。ビデオモニタ7は被検査物4などの画像を表示する
他、メニューや計測・判定結果などの表示を行う。ライ
トペン8はメニューの選択などに用いられ、ビデオモニ
タ7との組み合わせで検査プログラムの設定を行う。物
体検知センサ9は光電スイッチ等であって、被検査物4
が検査位置に到達したのを検知する。ストロボ照明装置
10は例えばリングストロボを光源とし、移動中の被検
査物4へストロボ照明を施して静止画化するためのもの
である。ストロボ制御装置11はストロボ発光に関する
制御、例えばテレビカメラ5の受光禁止タイミングでの
発光禁止などの制御などを行うものである。
The television camera 5 is, for example, a two-dimensional CCD camera for taking an image of the object 4 to be inspected, and its video signal VD i is given to the controller 6. The controller 6 binarizes the video signal VD i from the television camera 5 and executes various calculations and processing relating to wrinkle inspection. The video monitor 7 displays an image of the inspection object 4 and the like, and also displays a menu and measurement / judgment results. The light pen 8 is used for menu selection and the like, and sets an inspection program in combination with the video monitor 7. The object detection sensor 9 is a photoelectric switch or the like,
Detects that the inspection position has arrived. The strobe illumination device 10 uses, for example, a ring strobe as a light source, and applies strobe illumination to the moving object 4 to be inspected to form a still image. The strobe control device 11 performs control regarding strobe light emission, for example, control such as light emission prohibition at the light reception prohibition timing of the television camera 5.

【0012】前記テレビカメラ5およびストロボ照明装
置10は図示しない支柱に個別に高さ調節可能に取り付
けられ、被検査物4に対するそれぞれの高さを自在に調
整した後、ネジ等でその位置に固定できるようになって
いる。
The TV camera 5 and the strobe lighting device 10 are individually mounted on columns (not shown) so that their heights can be adjusted, and after adjusting their respective heights with respect to the object 4 to be inspected, they are fixed to the positions with screws or the like. You can do it.

【0013】図2は、テレビカメラ5とストロボ照明装
置10との組立構造の一例を示しており、広角レンズ1
2が装着されたテレビカメラ5を中央にして、その周囲
を取り囲むようにストロボ照明装置10が配備されてい
る。図示例のストロボ照明装置10はリングストロボ1
3を光源としているが、例えばグラスファイバをリング
配置してフィラメントの光を各グラスファイバにて導く
ような構成のものであってもよい。前記リングストロボ
13はハウジング14内に収容され、ストロボ光源光の
照射方向には拡散板41が配備されている。
FIG. 2 shows an example of the assembly structure of the television camera 5 and the strobe lighting device 10, and the wide-angle lens 1
The stroboscopic lighting device 10 is arranged so as to surround the periphery of the TV camera 5 on which the TV camera 2 is mounted. The strobe lighting device 10 in the illustrated example is a ring strobe 1
Although 3 is used as the light source, for example, a configuration may be adopted in which glass fibers are arranged in a ring and the light of the filament is guided by each glass fiber. The ring strobe 13 is housed in a housing 14, and a diffusion plate 41 is arranged in the irradiation direction of strobe light source light.

【0014】またこのストロボ照明装置10は、リング
ストロボ13によるストロボ光源光の照射範囲を規制し
たり、このストロボ光源光が被検査物4の内壁面を直接
照射するのを規制したりするための構成として、テレビ
カメラ5の広角レンズ12に取り付けた遮光フード15
と、ストロボ照明装置10の下方位置に配設された遮光
板16とを含んでいる。
Further, the strobe lighting device 10 regulates the irradiation range of the strobe light source light by the ring strobe 13, and regulates the direct irradiation of the strobe light source light on the inner wall surface of the inspection object 4. As a configuration, the light-shielding hood 15 attached to the wide-angle lens 12 of the TV camera 5
And a light shielding plate 16 disposed below the strobe lighting device 10.

【0015】前記の遮光フード15はリングストロボ1
3と被検査物4との間に位置させて、広角レンズ12へ
の入射光を遮断すると共に、被検査物4の内壁面にスト
ロボ光源光が直接照射されるのを規制するためのもので
あって、広角レンズ12への装着位置を前後調整するこ
とによりリングストロボ13と被検査物4との間に遮光
フード15の先端縁を進退可能となしている。なお遮光
フード15はそれ専用のフードを用いても、またレンズ
フードを兼用してもよい。さらにこの遮光フード15を
径方向に拡縮可能な構造に形成することにより、リング
ストロボ13と被検査物4との間に遮光フード15の先
端縁を進退させることもできる。
The shading hood 15 is a ring strobe 1
3 for blocking the light incident on the wide-angle lens 12 and for restricting the direct irradiation of the strobe light source light to the inner wall surface of the object 4 to be inspected. Therefore, the front edge of the light shielding hood 15 can be moved back and forth between the ring strobe 13 and the inspection object 4 by adjusting the mounting position on the wide-angle lens 12 back and forth. The light-shielding hood 15 may be a dedicated hood or a lens hood. Further, by forming the light-shielding hood 15 in a structure that can be expanded and contracted in the radial direction, the tip edge of the light-shielding hood 15 can be advanced and retracted between the ring strobe 13 and the inspection object 4.

【0016】遮光板16は中央に円形孔17を有する黒
色のベークライト板であって、ストロボ光源光が被検査
物4の外壁面に照射されるのを阻止するためのものであ
る。この実施例の場合、遮光板16の上下位置調整で照
射範囲を調節しているが、例えば円形孔17を拡縮可能
に形成して、照射範囲を調整してもよい。
The light-shielding plate 16 is a black bakelite plate having a circular hole 17 in the center thereof, and is for preventing the strobe light source light from irradiating the outer wall surface of the inspection object 4. In the case of this embodiment, the irradiation range is adjusted by adjusting the vertical position of the light shielding plate 16, but the irradiation range may be adjusted by forming the circular hole 17 to be expandable and contractable.

【0017】上記遮光フード15および遮光板16によ
り規制されたストロボ光源光は被検査物4の内側底部に
案内される。図示例の場合、この被検査物4の底内面に
は乳白色を呈する樹脂製のパッキン20が装着されてお
り、ストロボ光源光はこのパッキン20の表面で乱反射
されて間接照明光に生成されると共に、この間接照明光
が被検査物4の内壁面、特に縦皺の発生する開口縁近傍
に照射される。このような間接照明が最適に行われる
と、良品を撮像して得た2値画像は図4(1)に示す如
く、被検査物の像18が白く現れ、その背景部分(図中
斜線で示す)が黒く現れると共に、不良品を撮像して得
た2値画像には図4(2)に示す如く、白い被検査物の
像18の中に縦皺の明暗像19が円陣に現れることにな
る。
The strobe light source light regulated by the light-shielding hood 15 and the light-shielding plate 16 is guided to the inner bottom of the inspection object 4. In the case of the illustrated example, a milk-white resin packing 20 is attached to the inner surface of the bottom of the inspection object 4, and the strobe light source light is diffusely reflected by the surface of the packing 20 and is generated as indirect illumination light. The indirect illumination light is applied to the inner wall surface of the inspection object 4, particularly near the opening edge where vertical wrinkles occur. When such indirect illumination is optimally performed, the binary image obtained by imaging the non-defective product has the image 18 of the object to be inspected appearing white, as shown in FIG. 4) appears in black, and in the binary image obtained by imaging the defective product, vertical wrinkle bright and dark images 19 appear in a circle in the image 18 of the white object to be inspected, as shown in FIG. 4B. become.

【0018】図3は、上記皺検査装置におけるコントロ
ーラ6の回路構成例を示している。図中、テレビカメラ
5は被検査物4を撮像してビデオ信号VDi を出力し、
2値化部23はこのビデオ信号VDi を取り込み2値化
処理して2値画像を生成する。2値化しきい値制御部2
4はビデオ信号VDi を2値化するためのしきい値を設
定して、前記2値化部23の2値化処理を制御する。基
準パターン記憶用メモリ25は良品サンプルを撮像して
得た2値画像を基準パターンとして登録するためのもの
であり、計測パターン記憶用メモリ26は被検査物4を
撮像して得た2値画像を計測パターンとして記憶させる
ためのものである。ウィンドウ記憶用メモリ27は後記
する観測ウィンドウや計測ウィンドウを記憶しておく部
分であり、メモリ制御部28はこれら各メモリ15〜1
7に対する画像データの読み書きを制御する。
FIG. 3 shows a circuit configuration example of the controller 6 in the wrinkle inspection apparatus. In the figure, the television camera 5 images the inspection object 4 and outputs a video signal VD i ,
The binarization unit 23 takes in the video signal VD i and binarizes it to generate a binary image. Binarization threshold control unit 2
Reference numeral 4 sets a threshold value for binarizing the video signal VD i , and controls the binarizing process of the binarizing unit 23. The reference pattern storage memory 25 is for registering a binary image obtained by imaging a non-defective sample as a reference pattern, and the measurement pattern storage memory 26 is an image obtained by imaging the inspection object 4. Is stored as a measurement pattern. The window storage memory 27 is a portion for storing an observation window and a measurement window, which will be described later, and the memory control unit 28 controls each of the memories 15-1.
The reading and writing of the image data for 7 are controlled.

【0019】前記観測ウィンドウは前記2値画像の観測
範囲を規定するためのもので、図4(1)中W1 で示す
如く、キャップの像18を包含するに十分な大きさに形
成される。また計測ウィンドウはこの像18における縦
皺の明暗像19を観測するためのもので、図4(1)
(2)中W2 で示す如く、像18と同心円上に像18の
輪郭より若干小さな径をもつリング形状に形成される。
The observation window is for defining the observation range of the binary image, and is formed to have a size sufficient to include the cap image 18 as shown by W 1 in FIG. 4 (1). . Moreover, the measurement window is for observing the bright and dark image 19 of the vertical wrinkles in this image 18, as shown in FIG.
(2) As shown by W 2 in the center, a ring shape is formed concentrically with the image 18 and having a diameter slightly smaller than the contour of the image 18.

【0020】つぎに演算処理部29は2値画像の輪郭の
重心位置を求める演算や計測ウィンドウW2 内の黒画素
数を計数する演算などを演算制御部30の制御の下に実
行する。また中央処理部31はROM32のプログラム
を解読実行し、RAM33に対するデータの読み書きを
行いつつ、2値画像の重心位置のずれ量を判定したり、
黒画素数の計測結果から皺の有無を判定したりするな
ど、各種処理を実行する。なおアドレス制御部34はR
OM32やRAM33のアドレスを生成して命令やデー
タの読み書きを制御する。さらに中央処理部31は入出
力動作を制御するもので、計測同期入力インターフェイ
ス部36を介して物体検知センサ9より検知信号を取り
込み、またストロボ制御インターフェイス部37を介し
てストロボ発光のためのストロボトリガ信号を、判定出
力インターフェイス部37を介して判定信号を、それぞ
れ出力する。
Next, the arithmetic processing unit 29 executes the arithmetic operation for obtaining the barycentric position of the contour of the binary image and the arithmetic operation for counting the number of black pixels in the measurement window W 2 under the control of the arithmetic control unit 30. Further, the central processing unit 31 decodes and executes the program of the ROM 32, reads and writes data to and from the RAM 33, determines the shift amount of the position of the center of gravity of the binary image,
Various processes are executed, such as determining the presence or absence of wrinkles from the measurement result of the number of black pixels. The address control unit 34 is R
The addresses of the OM 32 and the RAM 33 are generated to control the reading and writing of instructions and data. Further, the central processing unit 31 controls the input / output operation, fetches a detection signal from the object detection sensor 9 via the measurement synchronization input interface unit 36, and a strobe trigger for strobe emission via the strobe control interface unit 37. A determination signal is output through the determination output interface unit 37.

【0021】表示合成部38は表示画像指定部39から
の指定に基づきテレビカメラ5から濃淡画像を取り込ん
だり、或いは各メモリ25〜27に格納された2値画像
やウィンドウを読み出したりすると共に、必要に応じて
画像の合成を行うものであり、その画像はビデオモニタ
インターフェイス部40を介してビデオモニタ7へ送ら
れる。
The display synthesizing unit 38 takes in a grayscale image from the television camera 5 based on the designation from the display image designating unit 39 or reads out a binary image or a window stored in each of the memories 25 to 27, and at the same time, it is necessary. According to the above, the images are combined, and the images are sent to the video monitor 7 via the video monitor interface section 40.

【0022】つぎに上記装置例の動作を図5および図6
に示すフローチャートに基づき説明する。図5は上記装
置例における各種検査パラメータの設定手順を示してお
り、まず同図のステップ1(図中「ST1」で示す)に
おいて、テレビカメラ5により自然照明下で良品サンプ
ルを撮像して、この良品サンプルの濃淡画像をビデオモ
ニタ7に表示させた後、この画像を見ながらテレビカメ
ラ5のピントがキャップの開口縁近傍に合うようピント
調整を行う。
Next, the operation of the above apparatus example will be described with reference to FIGS.
It will be described based on the flowchart shown in FIG. FIG. 5 shows a procedure for setting various inspection parameters in the above apparatus example. First, in step 1 (indicated by “ST1” in the figure) of the figure, the TV camera 5 images a non-defective sample under natural illumination, After the grayscale image of this non-defective sample is displayed on the video monitor 7, the focus adjustment is performed while observing this image so that the focus of the television camera 5 is near the opening edge of the cap.

【0023】つぎのステップ2では、表示画像指定部3
9により波形表示の指定を行って、ビデオモニタ7に前
記画像適所のビデオ信号波形を表示させた後、これを見
ながらテレビカメラ5の絞りを調節する。つきにステッ
プ3で、ストロボ照明装置10による照明下で不良品サ
ンプルを撮像し、波形表示を見ながら、リングストロボ
13や遮光フード15の位置調節を行って、信号波形上
で撮像対象と背景とのレベル差が十分大きくなるように
設定する。つぎにステップ4で良品サンプルを撮像して
同様の微調節を行った後、続くステップ5で波形を観測
しつつ遮光板19の位置調節を行う。
In the next step 2, the display image designation unit 3
The waveform display is designated by 9 to display the video signal waveform at the appropriate position on the image on the video monitor 7, and then the aperture of the television camera 5 is adjusted while watching the waveform. At step 3, the defective sample is imaged under the illumination of the strobe lighting device 10, the positions of the ring strobe 13 and the light shielding hood 15 are adjusted while observing the waveform display, and the imaging target and the background are displayed on the signal waveform. Set so that the level difference of is sufficiently large. Next, in step 4, the non-defective sample is imaged and the same fine adjustment is performed, and then in step 5, the position of the light shielding plate 19 is adjusted while observing the waveform.

【0024】つぎにステップ6で良品サンプルと不良品
サンプルとを交互に2値化部23により2値化して、両
者の識別が容易に行えるように2値化レベルを調節した
後、つぎのステップ7で良品サンプルの2値画像を基準
パターンとして基準パターン記憶用メモリ25に登録し
ておく。
Next, in step 6, the non-defective sample and the defective sample are binarized alternately by the binarizing unit 23, and the binarization level is adjusted so that the two can be easily discriminated. In step 7, the binary image of the non-defective sample is registered in the reference pattern storage memory 25 as a reference pattern.

【0025】つぎにステップ8でこの基準パターンの検
査領域(縦皺の明暗像の現れる部分)に対し前記計測ウ
ィンドウW2 を設定した後、つぎのステップ9で計測ウ
ィンドウW2 内の黒画素数を演算処理部29により計測
して、その計測値を許容値としてRAM33にセットし
ておく。つぎにステップ10で、不良品サンプルの2値
画像と他の良品サンプルの2値画像とにつき、計測ウィ
ンドウW2 内の黒画素数を演算処理部29により計測し
て前記の許容値を微調整した後、続くステップ11では
観測ウィンドウW1 を、ステップ12では計測同期条件
やストロボ発光強度などを、それぞれ設定して検査パラ
メータの設定作業を完了する。
[0025] Then after setting the measurement window W 2 in respect inspection area of the reference pattern (portions of appearance of light and dark image of the vertical wrinkles) Step 8, the number of black pixels in the measurement window W 2 in step 9 the following Is measured by the arithmetic processing unit 29, and the measured value is set in the RAM 33 as an allowable value. Next, in step 10, for the binary image of the defective sample and the binary image of the other non-defective sample, the number of black pixels in the measurement window W 2 is measured by the arithmetic processing unit 29, and the allowable value is finely adjusted. After that, in the subsequent step 11, the observation window W 1 is set, and in step 12, the measurement synchronization condition, the stroboscopic light emission intensity, etc. are set, and the setting work of the inspection parameters is completed.

【0026】図6は上記装置例による被検査物4の皺検
査の手順を示しており、同図のステップ21は被検査物
4が所定の検査位置に到達したか否かを判別している。
いま搬送コンベヤ3上の被検査物4が物体検知センサ9
で検知されると、その検知信号はコントローラ6の中央
処理部31に与えられ、ステップ21の判定は“YE
S”となる。つぎのステップ22で中央処理部31はス
トロボ発光禁止期間中か否かを判断しており、その判定
が“NO”のときは直ちにストロボトリガ信号をストロ
ボ制御装置11に与え、またその判定が“YES”のと
きは前記禁止期間分の遅延動作を行った後(ステップ2
3)、ストロボトリガ信号をストロボ制御装置11に与
えて、それぞれのタイミングでストロボ照明装置10の
リングストロボ13をストロボ発光させる(ステップ2
4)。
FIG. 6 shows a procedure for wrinkle inspection of the object 4 to be inspected by the above apparatus example, and step 21 in the figure determines whether or not the object 4 has reached a predetermined inspection position. .
The object to be inspected 4 on the transport conveyor 3 is now an object detection sensor 9
When it is detected by, the detection signal is given to the central processing unit 31 of the controller 6, and the determination in step 21 is “YE
In step S22, the central processing unit 31 determines whether or not the strobe light emission prohibition period is in progress. If the determination is “YES”, after the delay operation for the prohibition period is performed (step 2
3) The strobe trigger signal is given to the strobe control device 11 to cause the ring strobe 13 of the strobe lighting device 10 to emit strobe light at each timing (step 2).
4).

【0027】このときのストロボ光源光は拡散板41で
拡散された後、その拡散光は遮光フード15や遮光板1
6による規制作用を受けて被検査物4の内側へ導かれ、
被検査物4の内壁面に直接照射されることなく、底部上
のパッキン20へ照射される。その結果、この照射光は
パッキン20で乱反射されて間接照明光に生成され、こ
の間接照明光が被検査物4の内壁面に照射される。
The strobe light source light at this time is diffused by the diffusion plate 41, and then the diffused light is shielded by the light shielding hood 15 and the light shielding plate 1.
6 is guided to the inside of the inspection object 4 by the regulation action of
The packing 20 on the bottom is irradiated without directly irradiating the inner wall surface of the inspection object 4. As a result, the irradiation light is diffusely reflected by the packing 20 and is generated as indirect illumination light, and the indirect illumination light is applied to the inner wall surface of the inspection object 4.

【0028】この間接照明光の下でテレビカメラ5は被
検査物4を撮像し、そのビデオ信号VDi は2値化部2
3で2値化されて、その2値画像が計測パターンとして
計測パターン記憶用メモリ26に格納される(ステップ
25)。
Under this indirect illumination light, the television camera 5 picks up an image of the object 4 to be inspected, and the video signal VD i thereof is binarized.
The image is binarized by 3, and the binary image is stored in the measurement pattern storage memory 26 as a measurement pattern (step 25).

【0029】つぎにステップ26において、演算処理部
29はこの計測パターンの輪郭を抽出した後、その輪郭
の重心を算出し、さらにつぎのステップ27で、この重
心の基準パターンの輪郭の重心に対する位置ずれ量を算
出する。
Next, in step 26, the arithmetic processing unit 29 extracts the contour of this measurement pattern, then calculates the center of gravity of the contour, and in the next step 27, the position of this center of gravity with respect to the center of gravity of the contour of the reference pattern. The shift amount is calculated.

【0030】図7は、計測パターンの重心Gと基準パタ
ーンの重心G0 とが位置ずれしている状態を示してい
る。同図中、(X,Y)は計測パターンの重心Gの座標
を、また(X0 ,Y0 )は基準パターンの重心G0 の座
標を、それぞれ示しており、重心Gの重心G0 に対する
位置ずれ量ΔX,ΔYは次式のとおりである。 ΔX=X−X0 ・・・・ ΔY=Y−Y0 ・・・・
FIG. 7 shows a state in which the center of gravity G of the measurement pattern and the center of gravity G 0 of the reference pattern are misaligned. In the figure, (X, Y) indicates the coordinates of the center of gravity G of the measurement pattern, and (X 0 , Y 0 ) indicates the coordinates of the center of gravity G 0 of the reference pattern, which are relative to the center of gravity G 0 of the center of gravity G. The positional deviation amounts ΔX and ΔY are as follows. ΔX = X−X 0 ... ΔY = Y−Y 0 ...

【0031】つぎに演算処理部29はこの重心の位置ず
れ量ΔX,ΔYに基づき計測パターンの位置を補正した
後、この補正後の計測パターンにつき計測ウィンドウW
2 を設定して、ウィンドウ内の黒画素数を計測する(ス
テップ28)。その計測値は中央処理部31に与えら
れ、中央処理部31はこの計数値が所定の許容値以内で
あるか否かを判定する(ステップ29)。その結果、計
数値が許容値以内であるときは、被検査物4は良品であ
ると判断されるが、もし計数値が許容値を越えるとき
は、被検査物4は不良品であると判断され、ステップ3
0でその被検査物4は搬送ラインより除かれることにな
る。
Next, the arithmetic processing unit 29 corrects the position of the measurement pattern based on the position shift amounts ΔX and ΔY of the center of gravity, and then the measurement window W for the corrected measurement pattern.
2 is set and the number of black pixels in the window is measured (step 28). The measured value is given to the central processing unit 31, and the central processing unit 31 determines whether or not this count value is within a predetermined allowable value (step 29). As a result, when the count value is within the allowable value, the inspection object 4 is determined to be a good product, but when the count value exceeds the allowable value, the inspection object 4 is determined to be a defective product. And step 3
At 0, the inspection object 4 is removed from the transport line.

【0032】[0032]

【発明の効果】この発明は上記の如く、対象物の観測対
象部分に対し光源からの照明光が直接照射されないよう
にすると共に、撮像手段に対して観測対象部分よりも遠
方に位置する反射手段により照明光を反射させて、この
反射光を観測対象部分に照射するようにしたから、観測
対象部分を反射手段による間接照明光の下で撮像してそ
の特徴を正確に反映した画像を得ることができ、この画
像を用いて高精度の観測を行うことが可能となる。
As described above, the present invention prevents the illumination light from the light source from directly irradiating the observation target portion of the object, and the reflection means located farther than the observation target portion with respect to the image pickup means. Since the illumination light is reflected by and the reflected light is irradiated to the observation target portion, the observation target portion is imaged under the indirect illumination light by the reflection means to obtain an image that accurately reflects the characteristics. Therefore, it becomes possible to perform highly accurate observation using this image.

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

【図1】この発明の一実施例にかかる皺検査装置の概略
構成を示す外観図である。
FIG. 1 is an external view showing a schematic configuration of a wrinkle inspection device according to an embodiment of the present invention.

【図2】テレビカメラとストロボ照明装置との組立構造
を拡大して示す説明図である。
FIG. 2 is an enlarged view showing an assembly structure of a television camera and a strobe lighting device.

【図3】コントローラの回路構成例を示すブロック図で
ある。
FIG. 3 is a block diagram showing a circuit configuration example of a controller.

【図4】良品および不良品の2値画像を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing binary images of a good product and a defective product.

【図5】検査パラメータ設定の手順を示すフローチャー
トである。
FIG. 5 is a flowchart showing a procedure for setting inspection parameters.

【図6】皺検査の手順を示すフローチャートである。FIG. 6 is a flowchart showing a procedure for wrinkle inspection.

【図7】重心の位置ずれ状態を示す説明図である。FIG. 7 is an explanatory diagram showing a position shift state of the center of gravity.

【図8】良品および不良品のキャップの外観を示す斜面
図である。
FIG. 8 is a perspective view showing the appearance of non-defective and defective caps.

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

1 キャップ 4 被検査物 6 コントローラ 13 ストロボ光源 15 遮光フード 16 遮光板 20 パッキン 1 Cap 4 Object to be inspected 6 Controller 13 Strobe light source 15 Light-shielding hood 16 Light-shielding plate 20 Packing

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // G06T 7/00 Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location // G06T 7/00

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 対象物の観測対象部分を撮像する撮像手
段と、 光源と、 前記光源からの照明光を直接受けてその反射光を前記観
測対象部分に照射する反射手段と、 前記反射手段からの照明光の下で撮像された前記観測対
象部分の画像を用いて所定の処理を実行する画像処理手
段とを備え、 前記光源はその照明光が前記観測対象部分に直接照射さ
れないように配備されると共に、前記反射手段は前記撮
像手段に対して前記観測対象部分よりも遠方に位置して
成る物体観測装置。
1. An imaging means for imaging an observation target portion of an object, a light source, a reflection means for directly receiving illumination light from the light source and irradiating the reflected light to the observation target portion, and the reflection means. Image processing means for performing a predetermined process using the image of the observation target portion captured under illumination light of, the light source is arranged so that the illumination light is not directly irradiated to the observation target portion. In addition, the reflecting means is an object observing device that is located farther from the imaging means than the observation target portion.
【請求項2】 対象物の観測対象部分を撮像する撮像手
段と、 光源と、 前記光源からの照明光を直接受けてその反射光を前記観
測対象部分に照射する反射手段と、 前記反射手段からの照明光の下で撮像された前記観測対
象部分の画像を用いて所定の処理を実行する画像処理手
段とを備え、 前記光源と対象物との間には、前記光源からの照明光が
観測対象部分に直接照射されないように照明光を遮蔽す
る遮蔽手段が配備されると共に、前記反射手段は前記撮
像手段に対して前記観測対象部分よりも遠方に位置して
成る物体観測装置。
2. An image pickup means for picking up an observation target portion of an object, a light source, a reflecting means for directly receiving illumination light from the light source and irradiating the reflected light to the observation target portion, and the reflecting means. Image processing means for performing a predetermined process using the image of the observation target portion imaged under the illumination light of, the illumination light from the light source is observed between the light source and the object. An object observing device in which shielding means for shielding the illuminating light so as not to be directly irradiated to the target portion is provided, and the reflecting means is located farther than the observation target portion with respect to the imaging means.
JP7207631A 1995-07-21 1995-07-21 Object 0bserving apparatus Pending JPH0862155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7207631A JPH0862155A (en) 1995-07-21 1995-07-21 Object 0bserving apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7207631A JPH0862155A (en) 1995-07-21 1995-07-21 Object 0bserving apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62225984A Division JPH0823530B2 (en) 1987-09-09 1987-09-09 Object observation apparatus and method for inspecting inner wall surface of cylindrical object using the apparatus

Publications (1)

Publication Number Publication Date
JPH0862155A true JPH0862155A (en) 1996-03-08

Family

ID=16543000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7207631A Pending JPH0862155A (en) 1995-07-21 1995-07-21 Object 0bserving apparatus

Country Status (1)

Country Link
JP (1) JPH0862155A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027609A (en) * 1999-07-15 2001-01-30 Kirin Techno-System Corp Method for illuminating and picking up image of cap of resin
EP1983333A3 (en) * 2007-04-19 2010-06-02 Krones AG Inspection device for examining container locks
JP2011163954A (en) * 2010-02-10 2011-08-25 Fujikura Ltd Device for detection of wire surface defect
JP2012052907A (en) * 2010-09-01 2012-03-15 Q P Corp Apparatus and method for inspecting component in resin-made cap
JP2012078120A (en) * 2010-09-30 2012-04-19 Kirin Techno-System Co Ltd Container cap inspection apparatus
CN109741357A (en) * 2018-12-19 2019-05-10 浙江大学 A kind of brassica napus inflorescence method of counting and device based on image procossing
CN110793968A (en) * 2018-08-02 2020-02-14 由田新技股份有限公司 Detection equipment for identifying pore wall defects
KR102360140B1 (en) * 2021-06-17 2022-02-08 박성수 Vision inspection device for vehicle parts

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6468644A (en) * 1987-09-09 1989-03-14 Omron Tateisi Electronics Co Wrinkle inspecting device for internal wall surface of cap or the like

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6468644A (en) * 1987-09-09 1989-03-14 Omron Tateisi Electronics Co Wrinkle inspecting device for internal wall surface of cap or the like

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027609A (en) * 1999-07-15 2001-01-30 Kirin Techno-System Corp Method for illuminating and picking up image of cap of resin
EP1983333A3 (en) * 2007-04-19 2010-06-02 Krones AG Inspection device for examining container locks
JP2011163954A (en) * 2010-02-10 2011-08-25 Fujikura Ltd Device for detection of wire surface defect
JP2012052907A (en) * 2010-09-01 2012-03-15 Q P Corp Apparatus and method for inspecting component in resin-made cap
JP2012078120A (en) * 2010-09-30 2012-04-19 Kirin Techno-System Co Ltd Container cap inspection apparatus
CN110793968A (en) * 2018-08-02 2020-02-14 由田新技股份有限公司 Detection equipment for identifying pore wall defects
CN109741357A (en) * 2018-12-19 2019-05-10 浙江大学 A kind of brassica napus inflorescence method of counting and device based on image procossing
KR102360140B1 (en) * 2021-06-17 2022-02-08 박성수 Vision inspection device for vehicle parts

Similar Documents

Publication Publication Date Title
JP3560694B2 (en) Lens inspection system and method
JPH0736001B2 (en) Bottle defect inspection method
JPH0599861A (en) Method and device for inspecting transparent vessel
JP4882268B2 (en) Defect detection method for metal cap and defect inspection apparatus for metal cap
JP2002148195A (en) Surface inspection apparatus and surface inspection method
US20060140470A1 (en) Inspection device for mouth of container
JPH0862155A (en) Object 0bserving apparatus
JP3235387B2 (en) Lighting condition setting support apparatus and method
JP4321696B2 (en) Inspection area setting method for container inspection
JP2010091530A (en) Method and apparatus for inspecting foreign substance
JPH0979988A (en) Surface defect inspecting device
JP3153476B2 (en) Appearance inspection device
JPH07270323A (en) Device and method for detecting painted face state
JPH04216445A (en) Device for inspecting bottle
JPH04118546A (en) Bottle inspection device
JPH0823530B2 (en) Object observation apparatus and method for inspecting inner wall surface of cylindrical object using the apparatus
JP2839934B2 (en) Inspection method for defects on the inner wall of the cylinder
JPH0711414B2 (en) Glass bottle uneven thickness inspection method
JPH0448251A (en) Bottle inspecting device
JP2002310917A (en) Defect detecting method and device thereof
JPH10144747A (en) Macro inspection method for wafer and automatic wafer macro inspection device
JPH06118026A (en) Method for inspecting vessel inner surface
KR100389967B1 (en) Automatized defect inspection system
JPH0963547A (en) Inspecting method for can opening
JPH05164703A (en) Inspecting method for surface of workpiece