JPH0731137B2 - Inner / outer surface inspection device - Google Patents

Inner / outer surface inspection device

Info

Publication number
JPH0731137B2
JPH0731137B2 JP4351852A JP35185292A JPH0731137B2 JP H0731137 B2 JPH0731137 B2 JP H0731137B2 JP 4351852 A JP4351852 A JP 4351852A JP 35185292 A JP35185292 A JP 35185292A JP H0731137 B2 JPH0731137 B2 JP H0731137B2
Authority
JP
Japan
Prior art keywords
image
inspection
camera
inspecting
advance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP4351852A
Other languages
Japanese (ja)
Other versions
JPH06174649A (en
Inventor
啓一 宮下
成二 柳
昭義 旗手
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HU-BRAIN, INC.
Nippon National Seikan Co Ltd
Original Assignee
HU-BRAIN, INC.
Nippon National Seikan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HU-BRAIN, INC., Nippon National Seikan Co Ltd filed Critical HU-BRAIN, INC.
Priority to JP4351852A priority Critical patent/JPH0731137B2/en
Publication of JPH06174649A publication Critical patent/JPH06174649A/en
Publication of JPH0731137B2 publication Critical patent/JPH0731137B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、缶の外面の外観,皺,
内面形状等を検査する缶内外面検査装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the outer appearance of wrinkles, wrinkles,
The present invention relates to a can inner / outer surface inspection device for inspecting an inner surface shape and the like.

【0002】[0002]

【従来の技術】ビールや清涼飲料水等の缶の製造工程に
おいて、従来は、その良否を検査するのに、缶の内面を
複数台のカメラを使用して、当該缶の皺や傷を検査する
ようにしていた。
2. Description of the Related Art In the manufacturing process of cans such as beer and soft drinks, conventionally, in order to inspect the quality of the cans, the inner surface of the cans is inspected for wrinkles and scratches by using a plurality of cameras. I was trying to do it.

【0003】また、印刷状態等の良否の検査方法とし
て、従来から、印刷状態等をカメラにより撮像して、そ
の画像処理により比較検査する方法が一般に採用されて
いる。この種画像検査方法は、カメラにより被検査対象
物を撮像し、その画像データを画像処理手段によって処
理して検査する方法にして、本来あるべき正しい画像を
基準画像として記憶しておき、被検査用の画像(検査画
像)をその基準画像と比較し、両者の差の画像を抽出し
て検査するものである。
Further, as a method for inspecting the quality of a printing state or the like, conventionally, a method of taking a picture of the printing state or the like with a camera and performing a comparative inspection by image processing thereof has been generally adopted. This kind of image inspection method is a method of inspecting an object to be inspected by a camera, processing the image data by an image processing means and inspecting it, and storing an originally correct image as a reference image. The image for inspection (inspection image) is compared with the reference image, and the image of the difference between the two is extracted for inspection.

【0004】すなわち、図12に示すように、基準画像
(a)に対する検査画像(b)の差の画像(c)を抽出
し、この差の画像(c)を検査出力として取り出すこと
により、その検査画像の欠点を検査するものである。
That is, as shown in FIG. 12, an image (c) of the difference between the inspection image (b) and the reference image (a) is extracted, and the image (c) of this difference is taken out as an inspection output. The defect of the inspection image is inspected.

【0005】[0005]

【発明が解決しようとする課題】ところで、従来の缶内
外面検査装置にあっては、缶の外面に印刷された印刷不
良を、自動的に検査する装置はなく、目視検査に頼って
いるのが現状である。これは、缶の形状が円筒形であ
り、1視野では検査ができないことが最も大きな原因で
ある。また、通常の画像比較検査では、印刷物等明瞭な
文字,模様のある物の場合、基準画像と検査画像は、検
査画像が正しい場合でも完全に一致することは現実には
有り得ず、図13に示すように、基準画像(a)に対し
て正しい検査画像(b)を比較した結果、その差の画像
(c)に輪郭線が残ったりするため、細かい欠点の抽出
は困難であった。
By the way, in the conventional can inner / outer surface inspection device, there is no device for automatically inspecting a printing defect printed on the outer surface of the can, and it relies on visual inspection. Is the current situation. The main reason for this is that the can has a cylindrical shape and inspection cannot be performed in one visual field. Further, in a normal image comparison inspection, in the case of an object having clear characters or patterns such as a printed matter, it is impossible in reality that the reference image and the inspection image completely match even if the inspection image is correct. As shown, as a result of comparing the correct inspection image (b) with the reference image (a), a contour line remains in the image (c) of the difference, so that it is difficult to extract fine defects.

【0006】本発明の缶内外面検査装置は上記従来の課
題に鑑み、円筒形であるにもかかわらずその外観をカメ
ラで撮像して画像処理による検査を可能とすると共に、
検査画像の不安定画素部分の処理を確実に行って検査画
像の欠点部のみを抽出可能で、かつその検査を高速で行
え、また簡単な回路で構成可能な缶内外面検査装置を提
供することを目的としてなされたものである。
In view of the above-mentioned conventional problems, the can inner / outer surface inspection device of the present invention enables inspection by image processing by taking an image of its appearance with a camera, although it is cylindrical.
To provide a can inner / outer surface inspection device capable of reliably processing an unstable pixel portion of an inspection image to extract only a defective portion of the inspection image, performing the inspection at a high speed, and being configured with a simple circuit. It was made for the purpose.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に本発明の缶内外面検査装置は、缶を回転させる回転台
を設けた検査テーブルと、この検査テーブルに缶を供給
すると共に送り出す缶搬送手段と、前記検査テーブルに
対向し缶の外観を検査すべく当該缶の周方向を分割して
撮像する外観検査用カメラと、そのカメラによる分割撮
像のために前記回転台の回転を制御する駆動手段と、予
め缶に印刷された基準点マークを検出するマーク検出セ
ンサーと、このセンサーによる基準点マークの検出によ
りトリガー信号を発して前記カメラの撮像及び駆動手段
の駆動を行う制御手段と、前記カメラにより缶の周方向
分割毎に予め良品の画像を撮像しこれを基準画像として
記憶し検査画像と比較してその良否を検査する画像処理
比較手段を備えたものである。
In order to solve the above-mentioned problems, a can inner / outer surface inspection apparatus of the present invention comprises an inspection table provided with a rotating table for rotating the can, and a can for feeding and sending the can to this inspection table. Conveyance means, a visual inspection camera that faces the inspection table and takes an image by dividing the circumferential direction of the can to inspect the external appearance of the can, and controls the rotation of the rotary table for the divided imaging by the camera. Drive means, a mark detection sensor for detecting a reference point mark printed in advance on the can, a control means for emitting a trigger signal by the detection of the reference point mark by this sensor, and imaging the camera and driving the drive means, An image processing comparison means for picking up an image of a non-defective product in advance for each circumferential division of the can by the camera, storing the image as a reference image, comparing it with the inspection image, and inspecting its quality is provided. Than it is.

【0008】また、本発明装置は、前記画像処理比較手
段として、予め良品の画像を撮像しこれを基準画像とし
て記憶する際に当該入力画像に膨張又は収縮処理を施し
て記憶し、検査画像を前記基準画像と比較するときにそ
の検査画像の輪郭部の不安定画素部分を包含又は除外し
て比較するように構成したものである。
Further, in the image processing apparatus of the present invention, when the image of a non-defective product is picked up in advance and stored as a reference image, the input image is expanded or contracted and stored, and the inspection image is stored. When comparing with the reference image, the unstable pixel portion of the contour portion of the inspection image is included or excluded to perform comparison.

【0009】[0009]

【作用】本発明は、上記した構成により、缶を検査テー
ブルに搬入し、ここで回転台にて缶を回転させることに
より予め缶に印した基準点マークを検出し、この缶の基
準点マークを起点として回転台により缶を回転させ、制
御手段によるその回転台の回転制御により、外観検査用
カメラにより円筒形の缶の外観をその周方向に分割して
撮像し、その分割位置毎に撮像した缶外観の検査画像を
基準画像と比較処理を行うことによって、その缶の良否
の検査を可能とすることとなる。
According to the present invention, with the above-described structure, the can is carried into the inspection table, and the can is rotated by the rotating table to detect the reference point mark previously marked on the can. The can is rotated by the turntable starting from, and the appearance of the cylindrical can is divided by the appearance inspection camera in the circumferential direction by the rotation control of the turntable by the control means, and the images are taken at each divided position. By comparing the inspection image of the can appearance with the reference image, the quality of the can can be inspected.

【0010】また、画像処理比較手段で、基準画像を記
憶する際に当該入力画像に膨張又は収縮処理を施して記
憶し、検査画像をその基準画像と比較するときに検査画
像の輪郭部の不安定画素部分を包含又は除外して比較す
ることにより、検査画像の不安定画素部分の処理を確実
に行って検査画像の欠点部のみを抽出可能とすることが
できるものである。
Further, when the reference image is stored by the image processing comparison means, the input image is expanded or contracted and stored, and when the inspection image is compared with the reference image, the contour portion of the inspection image is not detected. By including the stable pixel portion or excluding the stable pixel portion for comparison, it is possible to reliably process the unstable pixel portion of the inspection image and extract only the defective portion of the inspection image.

【0011】[0011]

【実施例】以下本発明缶内外面検査装置の実施例を示す
図面に基づいて詳細に説明する。図1はその概要を示す
構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A can inner / outer surface inspection device according to an embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing its outline.

【0012】同図において、1は缶であり、缶搬入部2
より搬入された缶1は、当該缶1を回転させる回転台4
を設けた検査テーブル3に供給される。この検査テーブ
ル3において缶1は、後述するような検査が行われる
が、検査が終わった缶1はターンテーブル5を介して、
缶搬出部6より送り出される。前記検査テーブル3部分
には、搬入された缶1に対向しその缶1の外観を検査す
べく当該缶1の周方向を分割して撮像する外観検査用カ
メラ7と、予め缶1に印刷された基準点マークを検出す
るマーク検出センサー8と、缶1の内面を検査すべく設
けられた内面検査用カメラ9と、缶1の皺を検査すべく
当該缶1の全周を撮像する光沢度計よりなる皺検出用セ
ンサー10とを備えている。
In the figure, 1 is a can, and a can carrying-in section 2
The can 1 carried in is rotated by a turntable 4 for rotating the can 1.
Are supplied to the inspection table 3 provided with. The can 1 is inspected on the inspection table 3 as will be described later.
It is sent out from the can carrying-out section 6. On the inspection table 3 portion, a visual inspection camera 7 that faces the loaded can 1 and divides the circumferential direction of the can 1 to take an image to inspect the external appearance of the can 1 is printed in advance on the can 1. Mark detection sensor 8 for detecting a reference point mark, an inner surface inspection camera 9 provided for inspecting the inner surface of the can 1, and a glossiness for imaging the entire circumference of the can 1 for inspecting wrinkles of the can 1. And a wrinkle detection sensor 10 composed of a meter.

【0013】また、前記検査テーブル3に設けた回転台
4は、前記外観検査用カメラ7による分割撮像のために
高速回転されるようになっており、その回転を制御する
のがモータ11であり、このモータ11の駆動力は、ベ
ルトプーリー12より各回転台4に連結したベルト13
を介して伝達される。ここで、モータ11は回転台4の
回転駆動をおこない、缶1そのものを回転させるもので
あるが、検査テーブル3自体の回転は別途設けたモータ
等の駆動手段により、適宜間欠的に行われるものであ
る。
The rotating table 4 provided on the inspection table 3 is adapted to rotate at a high speed for the divided image pickup by the appearance inspection camera 7, and the motor 11 controls the rotation. , The driving force of this motor 11 is the belt 13 connected to each rotary table 4 from the belt pulley 12.
Is transmitted through. Here, the motor 11 drives the rotary table 4 to rotate to rotate the can 1 itself, but the inspection table 3 itself rotates appropriately and intermittently by a separately provided drive means such as a motor. Is.

【0014】前記外観検査用カメラ7は、例えば5台
(7a〜7e)を備え、缶1を周方向に5等分に視野分
割して検査するもので、各カメラ7a〜7eは図2に示
すようにそれぞれ等分(72゜)に5分割された缶1の
外観を撮像するものであり、その画像信号はそれぞれ対
応する画像処理比較手段15a〜15eを有する画像処
理比較手段15に供給されるようになっている。
The appearance inspection camera 7 is provided with, for example, five units (7a to 7e), and is used to inspect the can 1 by dividing the field of view into five equal parts in the circumferential direction. Each of the cameras 7a to 7e is shown in FIG. As shown in the drawing, the appearance of the can 1 divided into five equal parts (72 °) is imaged, and the image signals thereof are supplied to the image processing comparison means 15 having the corresponding image processing comparison means 15a to 15e. It has become so.

【0015】ここでは、画像処理比較手段15a〜15
e毎に予め良品の画像を撮像しこれを基準画像として記
憶し、検査画像と比較してその良否を検査するものであ
り、この画像処理比較手段15a〜15eは、後述によ
り詳細に説明するように、予め良品の画像を撮像しこれ
を基準画像として記憶する際に当該入力画像に膨張又は
収縮処理を施して記憶し、検査画像を前記基準画像と比
較するときにその検査画像の輪郭部の不安定画素部分を
包含又は除外して比較するように構成している。なお、
画像処理比較手段15による画像は、モニター16によ
り確認可能となっている。
Here, the image processing comparison means 15a-15
An image of a non-defective product is captured in advance for each e, and this is stored as a reference image, and the quality of the image is compared with the inspection image for inspection. The image processing comparison means 15a to 15e will be described in detail later. In addition, when the image of a non-defective product is captured in advance and the input image is subjected to expansion or contraction processing and stored as a reference image, the image is stored, and the contour portion of the inspection image is compared when the inspection image is compared with the reference image. The unstable pixel portion is included or excluded for comparison. In addition,
The image by the image processing comparison means 15 can be confirmed by the monitor 16.

【0016】17は反射ボックスであり、前記カメラ7
による缶1の撮像の際に当該缶1に映し込み照明するも
ので、図3(a)に示すようにDC点灯白熱球複数個に
よる光源18による照明を、この反射ボックス17の照
明によって間接的に照明するようになっており、当該反
射ボックス17は白色の板を使用している。これは、缶
1の外観検査において、安定した画像を得るための均一
照明が困難な円筒状の缶1に対して、直接照明を当てる
のではなく、カメラの視野範囲に均一な照明を施してこ
れを缶1の表面に映し出すようにするためのもので、缶
1表面の印刷が鮮明な画像として撮像されるようになっ
ている。
Reference numeral 17 is a reflection box, and the camera 7
The image is illuminated on the can 1 when the can 1 is imaged by the. The illumination by the light source 18 by a plurality of DC-lit incandescent bulbs is indirectly performed by the illumination of the reflection box 17 as shown in FIG. The reflective box 17 uses a white plate. This is because, in the appearance inspection of the can 1, the cylindrical can 1 which is difficult to be uniformly illuminated for obtaining a stable image is not directly illuminated, but is uniformly illuminated in the field of view of the camera. This is for displaying this on the surface of the can 1, and the print on the surface of the can 1 is captured as a clear image.

【0017】また、この反射ボックス17は、側板部1
7aを設けて、(b)図に示すようにカメラ7による視
野範囲に当該反射ボックス17を映すようにしている。
なお、この反射ボックス17は、光源18による反射照
明板ではなく、例えば乳白等の乱反射可能な透過照明板
を用いても良い。
Further, the reflection box 17 includes the side plate 1
7a is provided so that the reflection box 17 is projected in the visual field range of the camera 7 as shown in FIG.
The reflection box 17 may be a transmission illumination plate that can diffusely reflect, for example, milk white, instead of the reflection illumination plate generated by the light source 18.

【0018】前記マーク検出センサー8は、図4(a)
に示すように缶1に印刷により印した基準点マーク1a
を検出するものであり、検出したセンサー出力はコント
ローラ8aよりCPUを含む制御手段14に送られる。
このマーク検出センサー8による基準点マーク1aの検
出により、制御手段14はトリガー信号を発して、前記
カメラ7,9の撮像開始や皺検出用センサー10による
検出開始及びモータ11の駆動制御等を行うものであ
る。このマーク検出センサー8による基準点マーク1a
の検出に当たっては、図4(b)に示すように当該マー
ク1aの該当部分をハロゲン光源に接続されたファイバ
ー8bによりスポット的に照明し、これを当該センサー
8で検出するようにしている。
The mark detection sensor 8 is shown in FIG.
Reference point mark 1a printed on the can 1 as shown in Fig.
The detected sensor output is sent from the controller 8a to the control means 14 including the CPU.
Upon detection of the reference point mark 1a by the mark detection sensor 8, the control means 14 issues a trigger signal to start image pickup of the cameras 7 and 9, start detection by the wrinkle detection sensor 10 and drive control of the motor 11. It is a thing. Reference point mark 1a by this mark detection sensor 8
4B, the corresponding portion of the mark 1a is spot-illuminated by the fiber 8b connected to the halogen light source, and the sensor 8 detects it.

【0019】前記缶1の内面を検査すべく設けられた内
面検査用カメラ9は、図5に示すように、缶1の内面を
斜め上方から見て、一次元センサーにて缶1の口から底
までの1ラインを順次処理するものであり、その撮像し
た信号の処理は画像処理比較手段19にて行うが、その
処理は、缶1を回転させながら1ライン毎に前ラインと
のデータを比較し、変化が生じれば不良品として判断す
るものである。
The inner surface inspection camera 9 provided for inspecting the inner surface of the can 1 is, as shown in FIG. 5, viewed from obliquely above the inner surface of the can 1 with a one-dimensional sensor from the mouth of the can 1. One line up to the bottom is sequentially processed, and the processing of the imaged signal is performed by the image processing comparison means 19. The processing is performed by rotating the can 1 to obtain data from the previous line for each line. The comparison is made, and if a change occurs, it is judged as a defective product.

【0020】ここでは、缶1の内面は基本的にその全周
にわたって同じ状態であるので、その変化を検出するだ
けで不良品を識別できるのである。そして、この内面検
査用カメラ9としてラインセンサーを使用すれば、1ラ
イン分だけを照明すれば良いので照明が簡単になり、ラ
インセンサーの1ラインスキャンの周期を2次元カメラ
の水平同期信号に合わせれば、テレビモニターにライン
センサーの画像を表示することが可能である。なお、缶
1の撮像部分の照明は、当該カメラ9の前方に設けたハ
ロゲン光源によるファイバーリング9aにより、缶1内
面の必要な部分を照明可能となっている。
Here, since the inner surface of the can 1 is basically in the same state over the entire circumference, the defective product can be identified only by detecting the change. If a line sensor is used as the camera 9 for inspecting the inner surface, only one line needs to be illuminated, so that the illumination can be simplified and the period of one line scan of the line sensor can be adjusted to the horizontal synchronizing signal of the two-dimensional camera. For example, it is possible to display the image of the line sensor on the TV monitor. In addition, for the illumination of the imaging portion of the can 1, it is possible to illuminate a necessary portion on the inner surface of the can 1 by the fiber ring 9a provided by the halogen light source provided in front of the camera 9.

【0021】また、皺検出用センサー10は、光沢度計
よりなり、図6に示すように、缶1のネック部の全周の
皺を検査すべく設けられたものであり、その検出信号は
画像処理手段20により処理される。
The wrinkle detecting sensor 10 is composed of a gloss meter, and is provided to inspect wrinkles on the entire circumference of the neck portion of the can 1 as shown in FIG. It is processed by the image processing means 20.

【0022】次に、前記検査テーブル3部分の詳細な構
造の例について、図7,8に基づき説明する。検査テー
ブル3は、その外周に複数の回転台4を設け、この回転
台4を検査テーブル3の第1の取付板部3aにおいて回
動可能とし、その回転台4の外周に溝4aを形成してプ
ーリー状とし、この溝4aにベルト13を嵌合させ、当
該ベルト13のモータ11による駆動で回転台4を回転
するようになっている。また、検査テーブル3に横向き
にして供給された缶1をこの回転台4にそれぞれ装着可
能とするために、回転台4にはその中央部に貫通孔4b
を設け、この貫通孔4bより缶1をバキューム(図示せ
ず)で吸うようにしており、従って缶1は回転台4に吸
着されたままで当該回転台4と共に回転することとな
る。
Next, an example of a detailed structure of the inspection table 3 portion will be described with reference to FIGS. The inspection table 3 is provided with a plurality of turntables 4 on the outer circumference thereof, the turntable 4 is rotatable on the first mounting plate portion 3a of the test table 3, and the grooves 4a are formed on the outer circumference of the turntable 4. The belt 13 is fitted into the groove 4a, and the rotary table 4 is rotated by driving the belt 13 by the motor 11. Further, in order to enable the cans 1 laterally supplied to the inspection table 3 to be mounted on the turntable 4, the turntable 4 has a through hole 4b at its center.
Is provided, and the can 1 is sucked by a vacuum (not shown) through the through hole 4b. Therefore, the can 1 rotates with the rotary table 4 while being attracted to the rotary table 4.

【0023】検査テーブル3には、更に、回転台4によ
る缶1の回転時に、より安定に回転させるために、ガイ
ドローラ21a,21b,21cを、第2,第3の取付
板部3b,3cに回動自在に設けている。なお、前記第
1〜3の取付板部3a〜3cは、軸22に対してキー2
3により回転方向が規制されて取り付けられ、この軸2
2の回転により検査テーブル3全体の回転が行われるよ
うになっている。
On the inspection table 3, guide rollers 21a, 21b and 21c are further provided with second and third mounting plate portions 3b and 3c in order to rotate the can 1 more stably when the can 1 is rotated by the turntable 4. It is rotatably installed. It should be noted that the first to third mounting plate portions 3 a to 3 c are attached to the shaft 22 with the key 2
The shaft 2 is mounted with its rotation direction restricted by
The rotation of the inspection table 3 is performed by the rotation of 2.

【0024】また、ターンテーブル5は、図7,9に示
すように、その周囲に複数の缶受凹部5aを設けてお
り、かつこの缶受凹部5aには缶1をバキューム(図示
せず)により吸着する吸着器24を設けている。このよ
うに、吸着器24を設けていることにより、ターンテー
ブル5において缶1を缶搬出部6に搬出する際に、一旦
下向きになるにもかかわらず、容易に缶搬出部6に搬出
することができるのである。しかもその際、吸着器24
による吸着を解除することにより、缶1を容易に落下搬
出することができる。
As shown in FIGS. 7 and 9, the turntable 5 is provided with a plurality of can receiving recesses 5a around it, and the cans 1 are vacuumed (not shown) in the can receiving recesses 5a. An adsorber 24 for adsorbing is provided. As described above, by providing the suction device 24, when the can 1 is carried out to the can carry-out section 6 on the turntable 5, it can be easily carried out to the can carry-out section 6 even though it is once directed downward. Can be done. Moreover, at that time, the adsorber 24
The can 1 can be easily dropped and carried out by canceling the suction by.

【0025】次に、前記画像処理比較手段15における
個々の画像処理比較手段15a〜15eによる画像処理
の詳細例について説明する。この画像処理比較手段で
は、予め良品の画像を撮像しこれを基準画像として記憶
する際に当該入力画像に膨張又は収縮処理を施して記憶
し、検査画像を前記基準画像と比較するときにその検査
画像の輪郭部の不安定画素部分を包含又は除外して比較
するものである。以下、その画像処理の具体例につい
て、図10〜11に基づき説明する
Next, a detailed example of image processing by the individual image processing comparison means 15a to 15e in the image processing comparison means 15 will be described. In this image processing comparison means, when a non-defective image is captured in advance and stored as a reference image, the input image is subjected to expansion or contraction processing and stored, and when the inspection image is compared with the reference image, the inspection is performed. The comparison is performed by including or excluding unstable pixel portions in the contour portion of the image. Hereinafter, a specific example of the image processing will be described with reference to FIGS.

【0026】図10は本発明における基準画像の入力画
像と記憶する基準画像及び検査画像の関係を示すもので
あり、Aは被検査対象物の本来あるべき所定の画像の入
力画像であり、この入力画像Aの輪郭部の不安定画素部
分を膨張処理したものが第1の基準画像A1、また逆に
入力画像Aの輪郭部の不安定画素部分を収縮処理したも
のが第2の基準画像A2であり、それぞれ検査画像B
1,B2と比較されるものである。
FIG. 10 shows the relationship between the input image of the reference image and the stored reference image and inspection image according to the present invention, where A is the input image of a predetermined image which should be the object to be inspected. The image obtained by expanding the unstable pixel portion of the contour portion of the input image A is the first reference image A1, and conversely, the image obtained by performing the contraction processing of the unstable pixel portion of the contour portion of the input image A is the second reference image A2. And the inspection image B
1 and B2.

【0027】ここで、第1の基準画像A1は黒膨張画像
(画像の明るさが低い方を膨張させたもの)であり、検
査画像B1に黒欠点C1がある場合にこれを有効に検出
するものである。一方、第2の基準画像A2は白膨張画
像(画像の明るさが高い方を膨張させたもの)であり、
検査画像B2に白欠点C2がある場合にこれを有効に検
出するものである。なお、この図10の説明では、便宜
上画像をローマ字の「A」で説明したが、実際の画像と
は無関係である。
Here, the first reference image A1 is a black expanded image (an image whose brightness is lower is expanded), and this is effectively detected when the inspection image B1 has a black defect C1. It is a thing. On the other hand, the second reference image A2 is a white expanded image (an image with a higher brightness is expanded),
When the inspection image B2 has a white defect C2, this is effectively detected. In the description of FIG. 10, the image is described by the Roman character “A” for convenience, but it is not related to the actual image.

【0028】図11は、前記図10に示した画像の検査
処理を行う実施例を示すブロック図であり、以下この実
施例について説明する。図11において、カメラ7で撮
像した画像は入力画像として、画像処理比較手段15の
フレームメモリ31に送られる。そして、入力画像はこ
のフレームメモリ31にてデジタル化し記憶されるもの
であり、そのメモリはCPU32により自由に読み書き
できるものである。
FIG. 11 is a block diagram showing an embodiment for carrying out the image inspection processing shown in FIG. 10, and this embodiment will be described below. In FIG. 11, the image captured by the camera 7 is sent as an input image to the frame memory 31 of the image processing comparison means 15. The input image is digitized and stored in the frame memory 31, and the memory can be freely read and written by the CPU 32.

【0029】33は黒欠点検出部であり、前述した第1
の基準画像A1を記憶し検査画像B1との差を出力する
第1の減算ボード35と、この減算ボード35の出力を
2値化し設定レベルをオーバーした画素数をカウントす
る2値化カウンター36とを備えている。また、34は
白欠点検出部であり、前述した第2の基準画像A2を記
憶し検査画像B2との差を出力する第2の減算ボード3
7と、この減算ボード37の出力を2値化し設定レベル
をオーバーした画素数をカウントする2値化カウンター
38とを備えている。前記2値化カウンター36又は3
8の出力を、切換スイッチ39により選択してモニター
16に出力することにより、基準画像に対する検査画像
の差を確認可能としている。
Reference numeral 33 is a black defect detecting portion, which is the first portion described above.
A first subtraction board 35 that stores the reference image A1 of FIG. 1 and outputs the difference from the inspection image B1, and a binarization counter 36 that binarizes the output of the subtraction board 35 and counts the number of pixels that have exceeded the set level. Is equipped with. The white defect detection unit 34 stores the second reference image A2 described above and outputs the difference from the inspection image B2.
7 and a binarization counter 38 that binarizes the output of the subtraction board 37 and counts the number of pixels whose set level is exceeded. The binarization counter 36 or 3
By selecting the output of No. 8 by the changeover switch 39 and outputting to the monitor 16, the difference between the inspection image and the reference image can be confirmed.

【0030】40は同期信号発生手段であり、画像処理
に必要な同期信号を発生し、CPU32を介して各ボー
ド等に供給するようになっている。また、41は入出力
手段であり、操作信号の入力や制御信号の外部への出力
等が行われるものである。このような画像処理により、
被検査物の正常品で輪郭部の不安定画素部分があって
も、基準画像によりこの不安定画素部分を包含又は除外
して、真に欠点となるべき部分のみを検出することがで
きることとなる。
Reference numeral 40 is a synchronizing signal generating means, which generates a synchronizing signal necessary for image processing and supplies it to each board or the like via the CPU 32. Reference numeral 41 is an input / output means for inputting operation signals and outputting control signals to the outside. By such image processing,
Even if the inspection object is a normal product and has an unstable pixel portion in the contour portion, this unstable pixel portion can be included or excluded by the reference image, and only the portion that should truly be a defect can be detected. .

【0031】次に、全体の作用について説明する。ま
ず、缶搬入部2より搬送された缶1は検査テーブル3に
搬入され、この検査テーブル3の回転により缶外観検査
用カメラ7に対向する位置に移動し、ここで缶1は所定
の検査がそれぞれ行われることとなる。
Next, the overall operation will be described. First, the can 1 conveyed from the can carry-in section 2 is carried into the inspection table 3 and is moved to a position facing the can appearance inspection camera 7 by the rotation of the inspection table 3, where the can 1 is subjected to a predetermined inspection. Each will be done.

【0032】すなわち、缶1は、モータ11の駆動でベ
ルト13を介して回転する回転台4により回転し、マー
ク検出センサー8が缶1の基準点マーク1aを検出する
ことにより、制御手段14はトリガー信号を発する。こ
の制御手段14は、前記トリガー信号により第1の外観
検査用カメラ7aによる第1画像を取り込むと、モータ
11の制御信号としてエンコーダパルスカウンタに「7
2゜」で割り込み信号が出るようにセットする。割り込
みが入れば、第2の外観検査用カメラ7bによる第2画
像を取り込み、再度エンコーダパルスカウンタに「72
゜」で割り込み信号が出るようにセットし、同様に後3
回繰り返すこととなる。
That is, the can 1 is rotated by the turntable 4 which is rotated by the drive of the motor 11 via the belt 13, and the mark detection sensor 8 detects the reference point mark 1a of the can 1 to cause the control means 14 to operate. Sends a trigger signal. When the control unit 14 captures the first image from the first visual inspection camera 7a in response to the trigger signal, it outputs "7" to the encoder pulse counter as a control signal for the motor 11.
Set so that an interrupt signal is output at 2 °. If an interrupt occurs, the second image from the second visual inspection camera 7b is captured, and the encoder pulse counter again displays "72".
Set so that an interrupt signal is output at ゜ ”
It will be repeated twice.

【0033】このようにして、モータ11により回転台
4を回転させながら、缶1の外観を5分割でカメラ7a
〜7eにより、高速で順次撮像し、その取り込んだ画像
は前述した画像処理比較手段15により比較検査するも
のである。そして、その比較検査の結果、不良品があれ
ばその情報は制御手段14のCPUにメモリーされる。
In this way, the outer appearance of the can 1 is divided into five parts while the rotating base 4 is rotated by the motor 11, and the can 7 is divided into five parts.
.About.7e, images are sequentially picked up at high speed, and the captured images are compared and inspected by the image processing comparing means 15 described above. Then, if there is a defective product as a result of the comparison inspection, the information is stored in the CPU of the control means 14.

【0034】また、缶1は、前述のように回転台4によ
る回転中に、同時に、内面検査用カメラ9による缶1の
内面検査と、皺検出用センサー10による皺検出が行わ
れ、それぞれ画像処理手段19,20による処理の結果
不良があれば、その情報は制御手段14のCPUにメモ
リーされる。
As described above, the can 1 is subjected to the inner surface inspection of the can 1 by the inner surface inspection camera 9 and the wrinkle detection by the wrinkle detection sensor 10 during the rotation by the rotating table 4 as described above. If there is a defect as a result of the processing by the processing means 19 and 20, the information is stored in the CPU of the control means 14.

【0035】そして、検査テーブル3で検査が終了した
缶1は、ターンテーブル5に吸着されて、缶搬出部6側
に供給されることとなる。ここで、検査テーブル3にお
ける缶1の不良品検出の回転台4の位置と、当該不良品
のターンテーブル5の吸着器24への吸着位置とを、制
御手段14のCPUにてメモリーしておくことにより、
ターンテーブル5から缶搬出部6への搬出の際に識別す
ることができる。例えば、缶搬出部6を、上下2段の搬
出部6a,6bに分け、吸着器24による吸着解除のタ
イミングをずらすことにより、良品を搬出部6aに、不
良品を搬出部6bにそれぞれ搬出するようにすることが
できる。
The can 1 which has been inspected by the inspection table 3 is adsorbed to the turntable 5 and supplied to the can unloading section 6 side. Here, the position of the turntable 4 for detecting defective products of the can 1 on the inspection table 3 and the suction position of the defective products on the suction device 24 of the turntable 5 are stored in the CPU of the control means 14. By
It can be identified at the time of carrying out from the turntable 5 to the can carrying-out section 6. For example, the can carry-out section 6 is divided into upper and lower carry-out sections 6a and 6b, and the timing of release of suction by the suction device 24 is shifted to carry out good products to the carry-out section 6a and defective products to the carry-out section 6b, respectively. You can

【0036】[0036]

【発明の効果】以上説明したように本発明は、缶を回転
させる回転台を設けた検査テーブルと、この検査テーブ
ルに缶を供給すると共に送り出す缶搬送手段と、前記検
査テーブルに対向し缶の外観を検査すべく当該缶の周方
向を分割して撮像する外観検査用カメラと、そのカメラ
による分割撮像のために前記回転台の回転を制御する駆
動手段と、予め缶に印刷された基準点マークを検出する
マーク検出センサーと、このセンサーによる基準点マー
クの検出によりトリガー信号を発して前記カメラの撮像
及び駆動手段の駆動を行う制御手段と、前記カメラによ
り缶の周方向分割毎に予め良品の画像を撮像しこれを基
準画像として記憶し検査画像と比較してその良否を検査
する画像処理比較手段を備えたものであり、缶が円筒形
であるにもかかわらずその外観をカメラで撮像して画像
処理による検査を可能とすることができ、かつ検査を高
速で行うことができるものである。
As described above, according to the present invention, the inspection table provided with the rotary table for rotating the can, the can conveying means for supplying and delivering the can to the inspection table, and the can table facing the inspection table are provided. A camera for visual inspection that divides the circumferential direction of the can to take an image for visual inspection, a driving unit that controls the rotation of the rotary table for the split imaging by the camera, and a reference point printed on the can in advance. A mark detection sensor for detecting a mark, a control unit for emitting a trigger signal by detecting a reference point mark by the sensor to drive the camera to capture an image and drive a driving unit, and a non-defective product in advance for each circumferential division of the can by the camera. It is equipped with an image processing comparison means for picking up an image of the image, storing it as a reference image, comparing it with the inspection image, and inspecting whether the image is good or bad. Not its appearance can be made possible inspection by to image processing captured by the camera, and in which a test can be performed at high speed.

【0037】また、本発明装置は、前記画像処理比較手
段として、予め良品の画像を撮像しこれを基準画像とし
て記憶する際に当該入力画像に膨張又は収縮処理を施し
て記憶し、検査画像を前記基準画像と比較するときにそ
の検査画像の輪郭部の不安定画素部分を包含又は除外し
て比較するように構成したものであるため、検査画像の
不安定画素部分の処理を確実に行って検査画像の欠点部
のみを抽出することが可能であり、また簡単な回路で構
成することが可能なものである。
Further, in the image processing apparatus of the present invention, when the image of a non-defective product is picked up in advance and is stored as the reference image, the input image is expanded or contracted and stored, and the inspection image is stored. Since the unstable pixel portion of the contour portion of the inspection image is included or excluded when the comparison with the reference image is performed, the unstable pixel portion of the inspection image is surely processed. It is possible to extract only the defective portion of the inspection image, and it is possible to configure with a simple circuit.

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

【図1】本発明の実施例を示す全体構成図である。FIG. 1 is an overall configuration diagram showing an embodiment of the present invention.

【図2】同外観検査用カメラによる缶の分割撮像の例の
説明図である。
FIG. 2 is an explanatory diagram of an example of split imaging of a can by the appearance inspection camera.

【図3】(a)は同反射ボックスの作用を説明するため
の側面図、(b)は同平面図である。
3A is a side view for explaining the operation of the reflection box, and FIG. 3B is a plan view thereof.

【図4】(a)は同基準点マークを印した缶の正面図、
(b)は同基準点マークの検出状態説明図である。
FIG. 4 (a) is a front view of a can with the same reference point mark,
(B) is a detection state explanatory diagram of the reference point mark.

【図5】同缶内面検査用カメラによる検査状態説明図で
ある。
FIG. 5 is an explanatory view of an inspection state by the camera for inspecting the inner surface of the can.

【図6】同皺検査用センサーによる検査状態説明図であ
る。
FIG. 6 is an explanatory view of an inspection state by the wrinkle inspection sensor.

【図7】同検査テーブル及びターンテーブルの具体例を
示す正面図である。
FIG. 7 is a front view showing a specific example of the inspection table and the turntable.

【図8】同検査テーブルの断面図である。FIG. 8 is a cross-sectional view of the inspection table.

【図9】同ターンテーブルの断面図である。FIG. 9 is a cross-sectional view of the turntable.

【図10】同画像処理比較手段における基準画像の入力
画像と記憶する基準画像及び検査画像の関係を示す説明
図である。
FIG. 10 is an explanatory diagram showing a relationship between an input image of a reference image and the stored reference image and inspection image in the image processing comparing unit.

【図11】同画像処理比較手段におけるブロック図であ
る。
FIG. 11 is a block diagram of the image processing comparison means.

【図12】従来の画像検査方法における比較画像の説明
図である。
FIG. 12 is an explanatory diagram of a comparative image in a conventional image inspection method.

【図13】同問題点の説明図である。FIG. 13 is an explanatory diagram of the same problem.

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

1 缶 2 缶搬入部 3 検査テーブル 4 回転台 5 ターンテーブル 6 缶搬出部 7 外観検査用カメラ 8 マーク検出センサー 9 内面検査用カメラ 10 皺検出用センサー 11 駆動用モータ 14 制御手段 15 画像処理比較手段 A 入力画像 A1 黒膨張画像 A2 白膨張画像 B1 検査画像 B2 検査画像 DESCRIPTION OF SYMBOLS 1 can 2 can carry-in section 3 inspection table 4 turntable 5 turntable 6 can carry-out section 7 appearance inspection camera 8 mark detection sensor 9 inner surface inspection camera 10 wrinkle detection sensor 11 drive motor 14 control means 15 image processing comparison means A Input image A1 Black expansion image A2 White expansion image B1 Inspection image B2 Inspection image

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−126762(JP,A) 特開 平1−206242(JP,A) 実開 昭61−195458(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-5-126762 (JP, A) JP-A-1-206242 (JP, A) Actual development Sho-61-195458 (JP, U)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 缶を回転させる回転台を設けた検査テー
ブルと、この検査テーブルに缶を供給すると共に送り出
す缶搬送手段と、前記検査テーブルに対向し缶の外観を
検査すべく当該缶の周方向を分割して撮像する外観検査
用カメラと、そのカメラによる分割撮像のために前記回
転台の回転を制御する駆動手段と、予め缶に印刷された
基準点マークを検出するマーク検出センサーと、このセ
ンサーによる基準点マークの検出によりトリガー信号を
発して前記カメラの撮像及び駆動手段の駆動を行う制御
手段と、前記カメラにより缶の周方向分割毎に予め良品
の画像を撮像しこれを基準画像として記憶し検査画像と
比較してその良否を検査する画像処理比較手段を備えて
なることを特徴とする缶内外面検査装置。
1. An inspection table provided with a turntable for rotating the can, a can conveying means for supplying the can to the inspection table and sending it out, and a peripheral of the can for facing the inspection table and inspecting the appearance of the can. A visual inspection camera that divides and captures images in different directions, a drive unit that controls the rotation of the rotary table for the split image capturing by the camera, and a mark detection sensor that detects a reference point mark printed in advance on a can. A control unit that emits a trigger signal by detecting the reference point mark by this sensor to image the camera and drive the driving unit, and an image of a non-defective product is taken in advance by the camera for each circumferential division of the can and is used as a reference image. A device for inspecting the inside and outside of a can, characterized by comprising image processing comparing means which stores the image as an image and compares it with an inspection image to inspect its quality.
【請求項2】 画像処理比較手段は、予め良品の画像を
撮像しこれを基準画像として記憶する際に当該入力画像
に膨張又は収縮処理を施して記憶し、検査画像を前記基
準画像と比較するときにその検査画像の輪郭部の不安定
画素部分を包含又は除外して比較するように構成したこ
とを特徴とする請求項1記載の缶内外面検査装置。
2. The image processing comparison means, when a non-defective image is picked up in advance and stored as a reference image, the input image is subjected to expansion or contraction processing and stored, and the inspection image is compared with the reference image. 2. The can inner / outer surface inspection device according to claim 1, wherein the instability pixel portion of the contour portion of the inspection image is sometimes included or excluded for comparison.
【請求項3】 缶の皺を検査すべく当該缶の全周を検査
する光沢度計よりなる皺検出用センサーを備えたことを
特徴とする請求項1記載の缶内外面検査装置。
3. The can inner / outer surface inspection apparatus according to claim 1, further comprising a wrinkle detecting sensor including a gloss meter for inspecting the entire circumference of the can to inspect the wrinkle of the can.
【請求項4】 缶の内面を検査すべく設けられた内面検
査用カメラを備えたことを特徴とする請求項1記載の缶
内外面検査装置。
4. The can inner / outer surface inspection apparatus according to claim 1, further comprising an inner surface inspection camera provided to inspect the inner surface of the can.
JP4351852A 1992-12-07 1992-12-07 Inner / outer surface inspection device Expired - Lifetime JPH0731137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4351852A JPH0731137B2 (en) 1992-12-07 1992-12-07 Inner / outer surface inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4351852A JPH0731137B2 (en) 1992-12-07 1992-12-07 Inner / outer surface inspection device

Publications (2)

Publication Number Publication Date
JPH06174649A JPH06174649A (en) 1994-06-24
JPH0731137B2 true JPH0731137B2 (en) 1995-04-10

Family

ID=18420049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4351852A Expired - Lifetime JPH0731137B2 (en) 1992-12-07 1992-12-07 Inner / outer surface inspection device

Country Status (1)

Country Link
JP (1) JPH0731137B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002039948A (en) * 2000-07-27 2002-02-06 Sony Corp Apparatus and method for inspecting appearance

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4743816B2 (en) * 2001-09-21 2011-08-10 キリンテクノシステム株式会社 Container inspection device
CA2467493A1 (en) * 2001-11-16 2003-05-22 Heineken Technical Services B.V. Method and apparatus for generating a robust reference image of a container and for selecting of a container
JP5564373B2 (en) * 2010-09-16 2014-07-30 本田技研工業株式会社 Work inspection device
US8723946B2 (en) 2010-09-16 2014-05-13 Honda Motor Co., Ltd. Workpiece inspecting apparatus and workpiece inspecting method
JP6181556B2 (en) * 2010-10-19 2017-08-16 プレスコ テクノロジー インコーポレーテッドPressco Technology Inc. Method and system for identification of decorator components and selection and adjustment thereof
JP5584732B2 (en) * 2012-05-31 2014-09-03 日本計測工業株式会社 Imaging device
JP6241054B2 (en) * 2013-04-10 2017-12-06 凸版印刷株式会社 Paper cup inspection equipment
BR122020021072B1 (en) * 2013-09-24 2024-02-15 Nippon National Seikan Company, Ltd. CAN INSPECTION DEVICE AND CAN INSPECTION SYSTEM CONTAINING THE SAME
JP2019105610A (en) * 2017-12-14 2019-06-27 株式会社エヌテック Distorted image inspection device and distorted image inspection method
BR112020022859A2 (en) * 2018-05-11 2021-02-23 Stolle Machinery Company, Llc complete feeding set inspection set
CN114951015A (en) * 2022-05-10 2022-08-30 苏州天准科技股份有限公司 Electrode hole column inner wall detection device, detection method and electrode comprehensive detection equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002039948A (en) * 2000-07-27 2002-02-06 Sony Corp Apparatus and method for inspecting appearance

Also Published As

Publication number Publication date
JPH06174649A (en) 1994-06-24

Similar Documents

Publication Publication Date Title
US7329855B2 (en) Optical inspection of glass bottles using multiple cameras
US20060045324A1 (en) Method and device for preparing reference image in glass bottle inspection device
JPH0731137B2 (en) Inner / outer surface inspection device
JPH05180777A (en) Appearance inspection device for cylindrical object
JP5248007B2 (en) Label inspection method and apparatus
JP2012132929A (en) Label inspection method and apparatus
JP2005005619A (en) Inspection device of film carrier tape for electronic component mounting, and method for confirming pattern failure
JP2011095107A (en) Foreign matter inspection device and foreign matter inspection method
JP3374289B2 (en) Print inspection equipment
JP2005098832A (en) Specimen inspection apparatus
JP2008128822A (en) Device and method for inspecting appearance of sheet material having translucency
JP4743816B2 (en) Container inspection device
JPH06258226A (en) Appearance inspection method for tablet
JP2001175854A (en) Device for quality inspection by image
JP2011158421A (en) Printed matter inspection device
JP2004251855A (en) Method for inspecting external surface of can
JP5425387B2 (en) Machine for inspecting glass containers
JP4177204B2 (en) Container foreign matter inspection system
JPH06118026A (en) Method for inspecting vessel inner surface
JPH07121721A (en) Printed character inspecting method
JPH06210836A (en) Inspection device for printed matter
JPS60144884A (en) Detecting method of printed letter
JP2000348166A (en) Appearance examination device for cylindrical article
JP2004045273A (en) Inspection device
JPH11178894A (en) Method and device for inspecting appearance of tablet and blister sheet packer