[go: up one dir, main page]

JP2001041894A - Apparatus and method for inspecting sheet package - Google Patents

Apparatus and method for inspecting sheet package

Info

Publication number
JP2001041894A
JP2001041894A JP09159532A JP15953297A JP2001041894A JP 2001041894 A JP2001041894 A JP 2001041894A JP 09159532 A JP09159532 A JP 09159532A JP 15953297 A JP15953297 A JP 15953297A JP 2001041894 A JP2001041894 A JP 2001041894A
Authority
JP
Japan
Prior art keywords
sheet
image
packaging
packaging sheet
light source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP09159532A
Other languages
Japanese (ja)
Other versions
JP3216874B2 (en
Inventor
Kiyoyuki Kondo
清之 近藤
Minoru Ito
稔 伊藤
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.)
YUKI GIJUTSU SOGO KK
Original Assignee
YUKI GIJUTSU SOGO KK
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=15695835&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2001041894(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by YUKI GIJUTSU SOGO KK filed Critical YUKI GIJUTSU SOGO KK
Priority to JP15953297A priority Critical patent/JP3216874B2/en
Priority to DE69817580T priority patent/DE69817580T2/en
Priority to RU2000101300/28A priority patent/RU2196977C2/en
Priority to AU80333/98A priority patent/AU8033398A/en
Priority to IL13352298A priority patent/IL133522A0/en
Priority to EP98928530A priority patent/EP1003027B1/en
Priority to BR9812094-8A priority patent/BR9812094A/en
Priority to US09/446,010 priority patent/US6445452B1/en
Priority to PCT/JP1998/002678 priority patent/WO1998058241A1/en
Priority to CN98806336.0A priority patent/CN1260876A/en
Publication of JP2001041894A publication Critical patent/JP2001041894A/en
Publication of JP3216874B2 publication Critical patent/JP3216874B2/en
Application granted granted Critical
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To simply detect all of important flaws including the flaw in a pocket part with high probability. SOLUTION: A light source 3 and a two-dimensional sensor are provided above a packaging sheet 1 and a means 2 for inputting a reflected image is provided above the packaging sheet 1 while a light source 5 is provided under the packaging sheet 1 and a means 4 for inputting the transmitted image of the packaging sheet 1 is provided. The reflected image and the transmitted image are respectively binarized or multi-valued to calculate a plurality of binary or multi-valued images and a code distribution image representing the gray level distribution of a plurality of the images is formed and, thereafter, the flaws such as mixed foreign matter damage or staining in a part, the packaging sheet and a pocket part are detected from the code distribution image.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、錠剤のシート包装
工程中に生じる異物混入や損傷、汚れを非接触で外観検
査により検出するためのシート包装検査装置および検査
方法に関し、特に反射光と透過光の両方を用いてテレビ
カメラで観測・検査する検査装置および検査方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sheet packaging inspection apparatus and an inspection method for non-contact detection of foreign matter, damage and dirt generated during a tablet sheet packaging process by a visual inspection, and more particularly to reflected light and transmitted light. The present invention relates to an inspection apparatus and an inspection method for observing and inspecting with a television camera using both light.

【0002】[0002]

【従来の技術】本明細書において、『錠剤検査』の用語
は、特に断りがない限り錠剤と包装シートの検査および
通称ポケットと呼ばれる錠剤が置かれている空間に混入
した異物等の欠陥に関する検査を含む総称として使用す
ることとする。また、『シート包装検査』の用語は、特
に断りがない限り包装する部品と包装シートの検査およ
び通称ポケットと呼ばれる部品が置かれている空間に混
入した異物等の欠陥検査を含む総称として使用すること
とする。また、錠剤等の部品自体とそれを包装したシー
ト部を合わせた検査対象全体は、特に断りがない限り単
に『包装シート』と表現し、シートだけの『シート部』
と区別する。
2. Description of the Related Art In this specification, the term "tablet inspection" refers to inspection of tablets and packaging sheets and inspection for defects such as foreign substances mixed in a space where tablets are placed, so-called pockets, unless otherwise specified. Will be used as a generic term including Unless otherwise specified, the term "sheet packaging inspection" is used as a general term including inspection of parts to be packaged and packaging sheets and inspection of defects such as foreign substances mixed in a space where parts called so-called pockets are placed. It shall be. Unless otherwise specified, the entire inspection target including the tablet and other parts and the sheet part that wraps it is simply referred to as a “packaging sheet”, and the sheet part consisting of only the sheet is used.
To be distinguished.

【0003】以下、シート包装の検査の1つとして重要
である従来の錠剤検査について説明する。錠剤検査にお
ける検査領域は、錠剤部分、包装用シート部分、錠剤を
載せて確保する通称ポケットと呼ばれる部分に大別され
る。検査項目としては、錠剤部分について、錠剤形状、
錠剤表面に付与されている文字記号、ひび、割れ目、折
れ目、欠け、汚れ、しみ、付着物である。また、包装シ
ートやポケット部については、しみ、汚れや、包装工程
で発生し易い異物混入、錠剤かけらの混入、毛髪や繊維
類の混入等がある。その他、異種錠剤が混入している場
合がある。一方、検査方式としては、従来、反射式と呼
ばれる方法と、透過式と呼ばれる方法が別個に考えられ
てきた。反射式は、包装シートの上方から光を当て、上
方においたテレビカメラで観測して欠陥を検出する方法
であり、透過式は、包装シートの下方すなわち包装シー
トの裏面から光を当て、上方においたテレビカメラで透
過光を観測して欠陥を検出する方法である。反射式検査
では、錠剤形状、錠剤部分に乗った異物とシートに混入
した異物の検査が可能である。一方、透過式では、シー
トに混入した異物の検出と、錠剤形状の検出に利用され
る。
Hereinafter, a conventional tablet inspection which is important as one of inspections of a sheet package will be described. The inspection area in the tablet inspection is roughly divided into a tablet portion, a packaging sheet portion, and a portion commonly called a pocket for placing and securing the tablet. As inspection items, tablet shape, tablet shape,
Character symbols, cracks, cracks, folds, chips, dirt, stains, and deposits on the tablet surface. Further, the packaging sheet and the pocket portion include spots, dirt, foreign matter which is easily generated in the packaging process, tablet fragments, hair and fibers, and the like. In addition, foreign tablets may be mixed. On the other hand, as the inspection method, conventionally, a method called a reflection type and a method called a transmission type have been separately considered. The reflection type is a method of irradiating light from above the packaging sheet and detecting the defect by observing with a television camera placed above. This is a method for detecting defects by observing transmitted light with a television camera. In the reflection type inspection, it is possible to inspect the tablet shape, foreign substances on the tablet portion, and foreign substances mixed in the sheet. On the other hand, the transmission type is used for detecting a foreign substance mixed in a sheet and detecting a tablet shape.

【0004】[0004]

【発明が解決しようとする課題】前述のように、従来に
おいては反射式と透過式の2種類の錠剤検査方式が考え
られていた。しかしながら、これらの方式には、以下の
ような重要な問題点があった。先ず、反射方式につい
て、ポケット部では、光の多重反射・鏡面反射、および
凹面反射鏡効果によりハイライトが観察されることが多
く、そのハイライトが偽欠陥となる。このため、ポケッ
ト部分を予め検出して画像上の該当領域に論理的なマス
クをかけて検査対象外としていた。従って、ポケット部
の検出が繁雑になる上、ポケット部の検査ができないこ
とは大きな問題点であった。また、シート面においても
少なからず鏡面反射成分があり、これがハイライトとし
て現われることがある。このようなポケット部やシート
面に現われるハイライトは重大な偽欠陥検出を招くが、
従来は、その偽欠陥だけを識別・除去する方法がなかっ
た。次に、透過方式について、毛髪等の細長い異物は回
折現象等により透過画像中でコントラストが極めて低く
なり、重大な欠陥検出漏れを招く要因となる。また、シ
ート内に混入した欠陥が錠剤の損傷により生じた錠剤の
かけらであるのか、塵による異物であるのかの重要な区
別をすることはできない。以上のように、反射式検査と
透過式検査の両方において安定に全欠陥を含む全ての重
要な欠陥を識別・検出することができなかった。さら
に、単に両方の方式を寄せ集めても、全領域で高い確率
で全欠陥を検出することは全く不可能であった。そこ
で、本発明の目的は、これら従来の課題を解決し、前記
ポケット部での欠陥を含む全ての重要な欠陥を高い確率
で、かつ簡単に検出することができるシート包装検査装
置および検査方法を提供することにある。
As described above, conventionally, two types of tablet inspection methods, a reflection type and a transmission type, have been considered. However, these methods have the following important problems. First, in the reflection method, highlights are often observed in pocket portions due to multiple reflection and specular reflection of light and a concave reflecting mirror effect, and the highlights are false defects. For this reason, the pocket portion is detected in advance, and the corresponding area on the image is logically masked and excluded from the inspection target. Therefore, the detection of the pocket part becomes complicated and the inability to inspect the pocket part is a serious problem. There is also a considerable specular reflection component on the sheet surface, which may appear as a highlight. Highlights appearing in such pockets and seats can cause serious false defects,
Conventionally, there is no method for identifying and removing only the false defect. Next, regarding the transmission method, an elongated foreign substance such as hair has a very low contrast in a transmission image due to a diffraction phenomenon or the like, which causes a serious omission of defect detection. Further, it is not possible to make an important distinction as to whether the defect mixed in the sheet is a tablet fragment generated due to tablet damage or a foreign substance due to dust. As described above, it is not possible to stably identify and detect all important defects including all defects in both the reflection type inspection and the transmission type inspection. Furthermore, it is impossible at all to detect all defects with high probability in all regions simply by combining both methods. Therefore, an object of the present invention is to solve these conventional problems and provide a sheet packaging inspection apparatus and an inspection method that can easily detect all important defects including defects in the pocket portion with a high probability. To provide.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明のシート包装検査装置では、包装シートの上
方に光源と二次元センサを備え、包装シートの上方から
反射画像を入力する手段と、その包装シートの下方に光
源を備え、前記包装シートの透過画像を入力する手段
と、該反射画像と該透過画像をそれぞれ2種化ないし多
値化して複数枚の2値または多値画像を算出し、該複数
枚の画像の濃度分布を表すコード分布画像を生成し、し
かる後に、該コード分布から部品、包装シート、および
ポケット部における混入異物、損傷、汚れ等の欠陥を検
出する。また、コードを付与する代りに、画像間の論理
演算を施し、その結果から欠陥を識別する方法について
も開示する。また、入力画像の濃度分布もしくは前記コ
ード分布に基づき領域分割を施こし、しかる後、該分割
された各領域のコード値に、該領域の周辺領域のコード
値を補助コードとして付与することにより、欠陥を検出
する。また、欠陥検出漏れを避けるため、包装シートの
真下に反射成分を少なくとも5%以上有するハーフミラ
ーもしくは反射板を具備する。一方、検査効率を高める
ため、包装シートの上方と下方に互いに異なる色分布発
光特性を有する光源を同時に具備した照明手段、もしく
は包装シートの上方と下方に同時に光源が配置され、か
つ前記各光源と包装シートとの間に互いに異なる色分布
を有する色フィルターを備えた照明手段を配置し、かつ
包装シートの上方に二次元センサを配置して、しかる
後、該包装シートの上方と下方の2方向の光源を点灯し
たままで2次元画像を入力し、該入力画像において、反
射画像成分を該包装シートの上方からの照明光の色分布
に対応させ、透過像成分を下方からの照明光の色分布に
対応させることにより、反射像と透過像を入力画像から
分離する手段を具備する。さらに、透過波長成分に共通
する成分が含まれている色フィルターを包装シートの上
方と下方に備え、入力画像から上方および下方からの照
明光の共通波長成分を除去し、しかる後、反射像成分と
透過像成分を分離する。また、反射画像成分と透過画像
成分を分離せずに欠陥を検出する新規な方法として、調
光装置を用いて反射光量と透過光量の割合を調整して画
像入力し、多値化することによって欠陥を検出する。
In order to achieve the above object, a sheet packaging inspection apparatus according to the present invention comprises a light source and a two-dimensional sensor above a packaging sheet, and means for inputting a reflection image from above the packaging sheet. Means for inputting a transmission image of the packaging sheet below the packaging sheet, and binarizing or multi-leveling the reflection image and the transmission image to form a plurality of binary or multi-valued images. Then, a code distribution image representing the density distribution of the plurality of images is generated, and thereafter, from the code distribution, defects such as contaminants, damage, and dirt in parts, packaging sheets, and pockets are detected. Also disclosed is a method of performing a logical operation between images instead of adding a code and identifying a defect from the result. Further, region division is performed based on the density distribution of the input image or the code distribution, and thereafter, the code value of each divided region is added to the code value of the peripheral region of the region as an auxiliary code, Detect defects. Further, in order to avoid omission of defect detection, a half mirror or a reflector having a reflection component of at least 5% or more is provided immediately below the packaging sheet. On the other hand, in order to enhance the inspection efficiency, the lighting means simultaneously equipped with light sources having different color distribution emission characteristics above and below the packaging sheet, or the light sources are simultaneously arranged above and below the packaging sheet, and each of the light sources An illuminating means having a color filter having a different color distribution is arranged between the wrapping sheet and a two-dimensional sensor is arranged above the wrapping sheet, and thereafter, two directions above and below the wrapping sheet. A two-dimensional image is input while the light source is turned on, and in the input image, the reflected image component is made to correspond to the color distribution of the illumination light from above the packaging sheet, and the transmitted image component is the color of the illumination light from below. Means are provided for separating the reflected image and the transmitted image from the input image by making them correspond to the distribution. Further, a color filter containing components common to the transmission wavelength components is provided above and below the packaging sheet, and the common wavelength components of the illumination light from above and below are removed from the input image. And the transmitted image component. In addition, as a new method of detecting defects without separating the reflected image component and the transmitted image component, a dimming device is used to adjust the ratio of the amount of reflected light and the amount of transmitted light, input an image, and perform multi-value processing. Detect defects.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図2および図3は、本発明の検査
対象である包装された錠剤の平面構造図および側断面図
である。一般に、包装された錠剤は複数の錠剤が数mm
〜10数mmの間隔で並べられているが、簡単のために
図2ではその中の1つの錠剤Tを示している。図2で
は、包装された錠剤TをポケットPとともに上方から見
た場合の平面図である。また、図3では、ポケット部の
断面を示しており、錠剤TはポケットPと呼ばれる中に
入っている。包装工程では、図3(a)に示すように、
ポケットと呼ばれるシートSの凹部に1つの錠剤Tが置
かれ、次に図3(b)に示すように、上面にもう1枚の
シートSが付けられる。このシートSはシールとも呼ば
れ、図3(a)に示したシートSとは区別されるが、本
実施例では共にシートと呼び、特に区別しない。また、
図3(a),(b)に示した検査対象領域を共に包装シ
ートと呼ぶこととする。シート包装の検査では、図3
(a)と(b)の状態で行われる。カメラの位置は、図
3の上方、下方のどちらに置いてもよい。実施例では、
カメラを上方に置き、(b)については(c)に示すよ
うに包装シートSを上下逆にした。検査方法において
は、カメラの位置、包装シートSの向きは任意として扱
う。
Embodiments of the present invention will be described below in detail with reference to the drawings. 2 and 3 are a plan structural view and a side sectional view of a packaged tablet to be tested according to the present invention. Generally, a packaged tablet contains several tablets of several mm.
The tablets are arranged at intervals of 10 to several mm, but one tablet T is shown in FIG. 2 for simplicity. FIG. 2 is a plan view when the packaged tablet T is viewed from above together with the pocket P. FIG. 3 shows a cross section of the pocket portion, and the tablet T is in a pocket P. In the packaging process, as shown in FIG.
One tablet T is placed in a concave portion of the sheet S called a pocket, and then another sheet S is attached to the upper surface as shown in FIG. This sheet S is also called a seal and is distinguished from the sheet S shown in FIG. 3A, but in this embodiment, both are called sheets and are not particularly distinguished. Also,
The inspection target areas shown in FIGS. 3A and 3B are both called packaging sheets. Fig. 3
This is performed in the states of (a) and (b). The position of the camera may be located either above or below FIG. In the example,
The camera was placed on the upper side, and as for (b), the packaging sheet S was turned upside down as shown in (c). In the inspection method, the position of the camera and the orientation of the packaging sheet S are treated as arbitrary.

【0007】図4は、欠陥の種類を示す説明図である。
ここでは、ポケットの部分の偽欠陥も含めて示してい
る。なお、錠剤部Tは、この実施例では白色とする。F
はポケット内の光の多重反射、凹面反射鏡効率、および
シート表面での鏡面反射により生じたハイライトであ
り、特にポケット部分では通常の照明では高い確率で現
れる。J1は錠剤側面の欠け部分であり、J2は錠剤の
中の割れ目である。G1は白系統の欠陥であり、錠剤の
かけらが錠剤の上に付着したものがこれに相当する。こ
れらは、目視でも検出することは不可能なことが多い。
ただし、錠剤の上に付着したかけらの輪郭には黒いエッ
ジが観測される場合には、黒い異物として検出される。
G2は黒い混入物であり、ごみや錠剤面の汚れがこれに
相当する。錠剤表面のひびや、前述のように錠剤のかけ
らの輪郭パターンもG2として観察されることがある。
H1は白系統の異物であり、特に錠剤のかけらがこれに
相当する重要な欠陥の1つである。H2は黒系統の異物
であり、やはり重要な欠陥である。包装工程で生じた汚
れや混入した塵がこれに相当する。Iは極細い髪の毛や
繊維等、極細い線状異物であり、包装工程で混入する確
率が高い重要な欠陥である。この異物は、反射像につい
て、従来の方法では、コントラストが低いため見落す危
険が高い。また、透過像では、回折現象のために検知さ
れない可能性が高い。Nはシート部の汚れである。はっ
きりした汚りは異物として扱えるが、シート色と同色系
統の汚れは、欠陥Iと同様に透過画像には現れないこと
がある。表記のNは、この種の欠陥を異物として検出可
能な汚れとは区別して表すこととする。
FIG. 4 is an explanatory diagram showing types of defects.
Here, a false defect in the pocket portion is also shown. The tablet portion T is white in this embodiment. F
Are highlights caused by multiple reflections of light in the pocket, concave mirror efficiency, and specular reflection on the sheet surface, and particularly appear in pockets with high probability under ordinary lighting. J1 is a chipped portion on the side of the tablet, and J2 is a crack in the tablet. G1 is a white-system defect, which corresponds to a tablet fragment attached to the tablet. These are often impossible to detect visually.
However, if a black edge is observed in the outline of the fragments attached to the tablet, it is detected as a black foreign substance.
G2 is a black contaminant, which corresponds to dust or dirt on the tablet surface. Cracks on the tablet surface and contour patterns of tablet fragments as described above may also be observed as G2.
H1 is a white-based foreign substance, and a tablet fragment is one of the important defects corresponding thereto. H2 is a black-based foreign matter, and is also an important defect. Dirt and mixed dust generated in the packaging process correspond to this. I is an extra-fine linear foreign matter such as extra-fine hair or fiber, and is an important defect that has a high probability of being mixed in the packaging process. This foreign matter has a high risk of being overlooked in the reflection image due to low contrast in the conventional method. In a transmitted image, there is a high possibility that the image is not detected due to a diffraction phenomenon. N is a stain on the sheet portion. Although clear stains can be treated as foreign matter, stains of the same color system as the sheet color may not appear in the transmitted image like defect I. The notation N is expressed separately from dirt that can detect such a defect as a foreign substance.

【0008】図5および図6は、本発明において、各欠
陥が入力画像でどのような明るさで観察されるかを説明
する図である。図5は、錠剤を上方から観測したときの
画像を模式的に表わしている。なお、画像上で明るい箇
所は白、暗い箇所は黒と表現することとする。錠剤T、
ハイライトF、白色欠陥H1のみが白く観測される。G
2は白の背景の中に黒く観察される。IおよびNは前述
のように、反射像ではコントラストが低いため見落す危
険性が高く、また透過像では回折現象や小さい透過率差
等のために検知されない可能性が高い。図7により、上
記の対策を説明する。本発明では、包装シート1の真下
にハーフミラーMを設置した。シート部分を通過した光
Lの一部はハーフミラーMで反射し、反射光線Rとして
上方に戻る。しかし、細い欠陥Iのあるところでは光が
全く戻らないため、シート部分に比べて暗く、そのため
にこの欠陥のコントラストが高まり、識別が可能とな
る。図5では、このためにIおよびNを強めの黒で表示
している。なお、ハーフミラーの反射率は実験によれば
5%以上必要であった。また、表面反射のあるスリガラ
スもハーフミラーとして利用できることがある。図6
は、包装シートの下方から照明し、上方のカメラで観測
したときの透過像である。錠剤T、欠陥H1、H2が黒
く観察される。ハイライトFや極細い毛髪や繊維類Iは
透過像には現れないことが多い。
FIGS. 5 and 6 are diagrams for explaining how bright each defect is observed in an input image in the present invention. FIG. 5 schematically shows an image when the tablet is observed from above. Note that a bright spot on the image is expressed as white, and a dark spot is expressed as black. Tablet T,
Only highlight F and white defect H1 are observed white. G
2 is observed black on a white background. As described above, I and N have a high risk of being overlooked due to a low contrast in a reflection image, and are likely not to be detected in a transmission image due to a diffraction phenomenon or a small transmittance difference. The above countermeasures will be described with reference to FIG. In the present invention, the half mirror M is provided directly below the packaging sheet 1. Part of the light L passing through the sheet portion is reflected by the half mirror M, and returns upward as a reflected light ray R. However, since light does not return at the place where the small defect I exists, the light is darker than the sheet portion, and therefore, the contrast of the defect is increased and the defect can be identified. In FIG. 5, for this reason, I and N are displayed in stronger black. According to the experiment, the reflectance of the half mirror was required to be 5% or more. Also, ground glass having surface reflection may be used as a half mirror in some cases. FIG.
Is a transmission image when illuminated from below the packaging sheet and observed with a camera above. Tablet T, defects H1 and H2 are observed in black. Highlights F, extra-fine hair and fibers I often do not appear in transmission images.

【0009】図1は、図5および図6における2つの画
像データから欠陥を検出する原理を説明する図である。
図1(a)は欠陥を示す図であり、図1(b)は図1
(a)を3種類のコードで表現する場合の各欠陥のコー
ドを示したもので、2ビットコード、隣接コードおよび
4ビットコードの表示方法がある。2ビットコード表示
方法は、図5と図6の対応する各画素について、白いと
ころを1、黒いところを0として、2ビットのコードで
表わしたものである。J2の割れ目は01で表わされ、
J1の欠け部分は01で表わされる。例えば、錠剤T
は、反射像では1、透過像では0であるから10とな
る。同様に、欠陥H2は反射像、透過像共に0であるか
ら00となる。同様にして、Fは11、J1とJ2は0
1、G1は10、G2は00、H1は10、Iは01と
なる。ただし、IとNの01はシート部Sの01と同じ
であるが、上述のようにシート部分とは区別することが
できるので、特に0′1と表示した。
FIG. 1 is a diagram for explaining the principle of detecting a defect from the two image data shown in FIGS.
FIG. 1A shows a defect, and FIG.
When (a) is represented by three types of codes, the codes of each defect are shown, and there are a display method of a 2-bit code, an adjacent code, and a 4-bit code. In the two-bit code display method, the corresponding pixels in FIGS. 5 and 6 are represented by a 2-bit code with white portions being 1 and black portions being 0. The crack in J2 is represented by 01,
The missing portion of J1 is represented by 01. For example, tablet T
Is 1 in a reflection image and 0 in a transmission image, and is 10. Similarly, the defect H2 is 00 because both the reflection image and the transmission image are 0. Similarly, F is 11, J1 and J2 are 0.
1, G1 is 10, G2 is 00, H1 is 10, and I is 01. However, 01 of I and N is the same as 01 of the sheet portion S, but since it can be distinguished from the sheet portion as described above, it is particularly indicated as 0'1.

【0010】この2ビットコードの分布図から、欠陥の
存在が識別される。ただし、J1,J2は錠剤の輪郭に
関する予備知識に基づき錠剤輪郭の輪郭識別という画像
処理を施した結果を利用しないと必ずしも欠陥であるこ
とを断定できない。実施例では、エッジ方向の場所的変
化を検出することにより、比較的容易に検出できた。次
に、隣接コード方式は、ラベリング処理により領域分割
した後、比較的面積の小さい各領域についてその隣接領
域のコードを記載した隣接コード分布図である。ただ
し、J1では10と01の両方を有するため11とお
く。また、4ビットコード方式は、各画素のコードに隣
接コードを付与して得られた4ビットのコード図であ
る。このコード図から、全ての欠陥が何に分類されるも
のであるかを確定できることが明らかである。各コード
に色を割り当てて欠陥の位置・種類をカラー表示すると
ともに、コード図を領域分割してから各領域について、
重心位置、面積、形状、種類の特徴量を算出し、欠陥リ
ストに登録する。このように、反射像と透過像の両方か
らなる濃淡情報の組み合わせ、すなわちコードを作製す
ることにより全ての欠陥の位置と欠陥分類を高い精度で
簡易に検出することが可能である。このように、本発明
では、両画像の明暗分布の相関を表すコードを形成し、
そのコードから欠陥を検出する。これにより、検出処理
が極めて明白簡潔であり、簡易で高精度の欠陥検出が可
能となる。
The presence of a defect is identified from the distribution map of the 2-bit code. However, it is not always possible to determine that J1 and J2 are defects without using the result of performing image processing of identifying the contour of the tablet contour based on the preliminary knowledge about the contour of the tablet. In the embodiment, it was possible to detect the change relatively easily by detecting the positional change in the edge direction. Next, the adjacent code method is an adjacent code distribution diagram in which codes of adjacent areas are described for each area having a relatively small area after area division by labeling processing. However, since J1 has both 10 and 01, it is set to 11. The 4-bit code scheme is a 4-bit code diagram obtained by adding an adjacent code to the code of each pixel. It is clear from this code diagram that it is possible to determine what all the defects fall into. Colors are assigned to each code and the position and type of the defect are displayed in color.
The center of gravity position, area, shape, and type feature amount are calculated and registered in the defect list. As described above, by creating a combination of light and shade information including both a reflection image and a transmission image, that is, a code, it is possible to easily detect the positions and defect classifications of all defects with high accuracy. Thus, in the present invention, a code representing the correlation between the light and dark distribution of both images is formed,
Detect defects from the code. As a result, the detection process is extremely clear and simple, and simple and highly accurate defect detection can be performed.

【0011】さらに、本実施例の他の方法として、コー
ド画像を生成する代りに、反射画像と透過画像の各2値
または多値画像間で論理演算を施し、その演算により得
られた演算結果から欠陥を検出することもできる。演算
方法の概略について、以下に説明する。図5の反射画像
と図6の透過画像について、反射画像と透過画像を2値
化して、AND処理を施すと、その結果画像において、
反射画像および透過画像の両方ともに明るいFの領域の
みが抽出される。また、反射画像を反転してからAND
処理を施すと、その結果画像において、反射画像では暗
く、透過画像では明るい領域である欠陥J1、J2、
I、Nおよび領域PとSが明るく抽出される。領域T
は、この結果画像では暗くなるため、J1とJ2を識別
することが可能である。IとNは、前述のように、Sと
のコントラストにより識別することができる。また、反
射画像の反転の代りに、透過画像を反転させ、AND処
理を施すと、その結果画像において、反射画像で明る
く、透過画像で暗い領域である欠陥G1とH1、および
領域Tが明るく抽出される。G1は領域Tの中に存在す
るため、その識別には多値処理を要する。欠陥H1は、
領域PとSがこの画像では暗いため、識別可能である。
一方、反転画像と透過画像の両方を反転してからAND
処理を施すと、欠陥G2とH2のみが明るく抽出され、
識別可能となる。このように、4回のAND処理で欠陥
の検出が可能である。なお、画像を反転してからのAN
D処理の代りに、XOR処理、AND処理、OR処理を
組み合わせても欠陥を識別できる。例えば、XORとA
ND処理の組み合わせでJ1、J2、G1、H1が識別
でき、ANDとNOT処理によりG2とH2を識別でき
る。ただし、本質的には反転とANDの組み合わせを使
う場合と相違がないので、詳細な説明を省略する。
Further, as another method of this embodiment, instead of generating a code image, a logical operation is performed between each binary or multi-valued image of a reflection image and a transmission image, and the operation result obtained by the operation is obtained. Can be used to detect defects. The outline of the calculation method will be described below. For the reflection image of FIG. 5 and the transmission image of FIG. 6, the reflection image and the transmission image are binarized and subjected to AND processing.
Only the bright F region is extracted for both the reflection image and the transmission image. Also, after inverting the reflection image, AND
When the processing is performed, defects J1 and J2, which are dark areas in the reflection image and bright areas in the transmission image in the resulting image,
I, N and regions P and S are extracted brightly. Area T
Is darker in the result image, so that J1 and J2 can be distinguished. As described above, I and N can be identified by the contrast with S. Also, instead of inverting the reflection image, the transmission image is inverted and an AND process is performed. As a result, the defects G1 and H1, which are bright in the reflection image and dark in the transmission image, and the region T are extracted in the resulting image. Is done. Since G1 exists in the region T, its identification requires multi-value processing. The defect H1 is
Since the regions P and S are dark in this image, they are identifiable.
On the other hand, after inverting both the inverted image and the transparent image, AND
When processing is performed, only the defects G2 and H2 are extracted brightly,
It becomes identifiable. As described above, the defect can be detected by the four AND processes. Note that AN after inverting the image
Defects can also be identified by combining XOR processing, AND processing, and OR processing instead of D processing. For example, XOR and A
J1, J2, G1, and H1 can be identified by a combination of ND processing, and G2 and H2 can be identified by AND and NOT processing. However, since there is essentially no difference from the case of using a combination of inversion and AND, a detailed description is omitted.

【0012】図8は、図1で行った2値化の代りに、反
射画像、透過画像の量子化をそれぞれ4階調と3階調で
行った場合のコード分布図である。シート部の光反射率
がやや高いとき、反射画像では、ポケット部分の反射光
量がシート部に比べ少なくなる。同様に、欠陥IとNは
シート部分に比べ反射光量が少ない。そこで、反射像を
錠剤、ポケット部、シート部、欠陥Iの明るさに応じ4
値化する。一方、透過像では、錠剤、ポケット、および
シート部の光透過率に応じて3値化する。そして、図1
と同様の手順で反射と透過の複数ビットを作成したもの
が欠陥に付されたコードであり、また隣接コードを付与
したものが各欠陥に付された( )内のコードである。
このように、反射像、透過像を2値化にかかわらず多値
化することにより、欠陥の位置をコードだけで、より詳
細に識別することができる。
FIG. 8 is a code distribution diagram in the case where the quantization of the reflection image and the transmission image is performed at four gradations and three gradations, respectively, instead of the binarization performed in FIG. When the light reflectance of the sheet portion is slightly higher, the reflected light amount of the pocket portion in the reflection image is smaller than that of the sheet portion. Similarly, the defects I and N have a smaller amount of reflected light than the sheet portion. Therefore, the reflection image is changed according to the brightness of the tablet, the pocket, the sheet, and the defect I.
Value. On the other hand, in the transmission image, ternarization is performed according to the light transmittance of the tablet, pocket, and sheet portion. And FIG.
A code in which a plurality of bits of reflection and transmission are created in the same procedure as in (1) is a code attached to a defect, and a code with adjacent codes is a code in parentheses () attached to each defect.
In this way, by making the reflection image and the transmission image multi-valued irrespective of binarization, the position of the defect can be identified in more detail using only the code.

【0013】図9は、本発明の他の実施例を示すシート
包装検査装置の原理図であって、カラーフィルターを用
いて反射像と透過像を1枚の画像の中に同時に取り込む
方法を示している。本発明の新規な欠陥検出方法を示し
ており、包装シート1の上方に緑波長バンドパスの限定
色フィルター4の付いた光源3とカラーカメラ2が置か
れ、また包装シートの下方には赤波長のバンドパス機能
を持つ限定色フィルター6がついた光源5が置かれてお
り、光源3と5は共に連続点灯状態である。カラーカメ
ラ2には色分離回路7が接続され、カメラ出力信号から
緑と赤の色分離が行われる。さて、本図において、カメ
ラ信号のうち、反射像成分は緑色信号に、透過像の成分
は赤信号に対応していることを考慮すれば、色分離回路
7から出力された緑色信号から画像を生成して、それを
反射像に、同様に赤信号から画像を生成して、それを透
過像に、それぞれ割り当てることができる。分離した2
枚の画像が得られた後は、図1に示す第1の実施例の方
法で欠陥の位置と分類を行う。以上のように、限定色フ
ィルターを使用して反射像と透過像を同時に入力できる
ので、装置が簡単となり、検査時間を半減させることが
できる。なお、用いている2つのフィルター4,6の光
透過波長領域のオーバラップを全くなくすと、フィルタ
ーのコストが高くなり、また実際上光透過率が低下する
おそれがある。このため、オーバラップを許容すること
が望ましい。
FIG. 9 is a principle diagram of a sheet packaging inspection apparatus showing another embodiment of the present invention, and shows a method of simultaneously taking a reflection image and a transmission image into one image by using a color filter. ing. 1 shows a novel defect detection method of the present invention, in which a light source 3 with a green wavelength band-pass limited color filter 4 and a color camera 2 are placed above a packaging sheet 1 and a red wavelength below the packaging sheet. A light source 5 having a limited color filter 6 having a band pass function is placed, and both light sources 3 and 5 are in a continuous lighting state. A color separation circuit 7 is connected to the color camera 2, and performs green and red color separation from the camera output signal. In this figure, considering that the reflected image component of the camera signal corresponds to the green signal and the transmitted image component corresponds to the red signal, an image is formed from the green signal output from the color separation circuit 7. It can be generated and assigned to a reflection image, and similarly to an image from a red signal, and assigned to a transmission image. 2 separated
After one sheet of image is obtained, the position and classification of the defect are performed by the method of the first embodiment shown in FIG. As described above, since the reflection image and the transmission image can be simultaneously input using the limited color filter, the apparatus is simplified and the inspection time can be reduced by half. It should be noted that eliminating the overlap of the light transmission wavelength regions of the two filters 4 and 6 used at all may increase the cost of the filters and may actually reduce the light transmittance. For this reason, it is desirable to allow overlap.

【0014】図10は、本発明におけるフィルターの光
透過波長領域をオーバラップさせた場合の周波数透過率
特性図である。限定色フィルター4と6の透過波長領域
において、共通領域が存在する。反射像成分は、透過用
照明の波長領域から共通波長領域を取り除いた領域の信
号に対応させる。この方法により、安価で透過率の高い
色フィルタを利用することができる。
FIG. 10 is a frequency transmittance characteristic diagram when the light transmission wavelength region of the filter according to the present invention is overlapped. In the transmission wavelength region of the limited color filters 4 and 6, there is a common region. The reflection image component is made to correspond to a signal in a region obtained by removing the common wavelength region from the wavelength region of the illumination for transmission. According to this method, an inexpensive color filter having a high transmittance can be used.

【0015】次に、包装シートの両側の照明を点灯した
まま画像入力し、反射画像と透過画像を分類せずに欠陥
を識別する装置および方法の実施例を説明する。包装シ
ートの上方と下方に置かれた2つの照明装置のそれぞれ
の電源部に調光装置を接続する。これにより、反射用照
明と透過用照明の強さの割合を調光装置の調整により自
由に選択することができる。調光装置としては、スライ
ダックの他、NDフィルタ、色フィルタが利用できる。
ここで、シートが色を有する場合や光吸収、散乱がある
ことを考慮し、反射してカメラに入る光量と透過してカ
メラに入る光量で比較する。そして、前者を単に反射光
量、後者を単に透過光量と呼ぶこととする。さて、先ず
反射光量に比べて透過光量を十分に大きくなるように調
光する。このとき、観測される入力画像において、その
濃度分布は、次の4段階に大別される。明るい順に、レ
ベル1にはFが、レベル2にはJ1、J2、I、N、
P、Sが、レベル3にはG1、H1、Tが、そして最も
暗いレベル4にはG2とH2が、それぞれ分類される。
そこで、入力画像を4値化した画像を算出し、4つのレ
ベルに分類する処理を施す。レベル1にはFのみ含まれ
るので、Fが検出できる。レベル2にはTが含まれない
ので、J1、J2は検出可能であるが、IとNについて
は、このレベル2にP,Sが含まれ、かつ反射成分が割
合的に小さいので、検出はできない。レベル3において
は、領域S,P,Tが含まれないため、G2とH2が検
出可能である。従って、この方法では、シート上の同色
系統の汚れや細い毛髪や繊維の検出に弱点を有する。次
に、反射光量と透過光量がほぼ同程度のとき、上述と同
じ要領で検出可能な欠陥を求めると、F,G2,H2で
ある。IとNは、一応検出可能範囲に入っているが、検
出漏れの危険性がある。同様に、反射光量が透過光量に
比べ十分に大きいときには、F,G2,H1,H2が検
出でき、またIとNも検出可能である。
Next, a description will be given of an embodiment of an apparatus and a method for identifying a defect without classifying a reflection image and a transmission image by inputting an image while turning on the illumination on both sides of the packaging sheet. A dimmer is connected to the power supply of each of the two lighting devices placed above and below the packaging sheet. Thus, the ratio of the intensity of the reflection illumination to the intensity of the transmission illumination can be freely selected by adjusting the dimmer. As the light control device, an ND filter and a color filter can be used in addition to the Slidac.
Here, in consideration of the case where the sheet has a color and light absorption and scattering, the amount of light reflected and entering the camera is compared with the amount of light transmitted and entering the camera. The former is simply called the amount of reflected light, and the latter is simply called the amount of transmitted light. First, dimming is performed so that the amount of transmitted light is sufficiently larger than the amount of reflected light. At this time, the density distribution of the observed input image is roughly divided into the following four stages. In order of brightness, level 1 has F, level 2 has J1, J2, I, N,
P and S are classified into levels 3, G1, H1, and T, and the darkest level 4 is classified into G2 and H2.
Therefore, a process of calculating a quaternized image of the input image and classifying it into four levels is performed. Since only F is included in level 1, F can be detected. Since T is not included in level 2, J1 and J2 can be detected. However, for I and N, P and S are included in level 2 and the reflection component is relatively small, so that detection is not possible. Can not. At level 3, since areas S, P, and T are not included, G2 and H2 can be detected. Therefore, this method has a weak point in detecting dirt, thin hair and fibers of the same color on the sheet. Next, when the amount of reflected light and the amount of transmitted light are almost the same, defects detectable in the same manner as described above are F, G2, and H2. Although I and N are within the detectable range for the time being, there is a risk of missing detection. Similarly, when the amount of reflected light is sufficiently larger than the amount of transmitted light, F, G2, H1, and H2 can be detected, and I and N can also be detected.

【0016】図11は、上記のそれぞれの場合の検出確
率を〇、△、△′、×の4段階で示した図である。反射
光量、透過光量は大、中、小とそれらの間の5通りで示
した。F,G2,H2は光量比に依存せず比較的検出可
能であるが、その他は光量比に大きく依存する。従っ
て、光量比を変えた複数の画像を入力する必要がある。
また、図11に示すように、やや透過光量を多目にする
とJ1、J2、H1が検出できる。IやNは調光によっ
て検出できることが期待できるが、検出漏れの危険はか
なり高い。従って、光量比を組み合せた複数画像を入力
すれば欠陥を安定に検出することができることが明らか
である。以上述べたように、反射画像と透過画像を分離
せずに反射光量と透過光量の割合を調整することによ
り、欠陥を検出することができる。なお、この方法は、
第1の実施例の反射画像と透過画像の重み付き加算画像
を入力し、その際に、重み係数を調光装置により調整す
ることに相当する。反射光量と透過光量の割合に見合っ
たハーフミラーもしくは反射鏡を第2の光源の代りに用
いることができる。また、この際、第2の光源をつけた
ままハーフミラーもしくは反射鏡を用いてもよい。後者
の場合、欠陥I,Nの検出において反射成分のコントラ
ストが高くなる効果がある。
FIG. 11 is a diagram showing the detection probabilities in the above cases in four stages of 〇, △, △ ′, and ×. The amount of reflected light and the amount of transmitted light are shown as large, medium, and small, and five patterns between them. F, G2, and H2 are relatively detectable without depending on the light amount ratio, but the others greatly depend on the light amount ratio. Therefore, it is necessary to input a plurality of images with different light intensity ratios.
In addition, as shown in FIG. 11, when the amount of transmitted light is slightly increased, J1, J2, and H1 can be detected. Although I and N can be expected to be detectable by dimming, the risk of missing detection is quite high. Therefore, it is clear that a defect can be stably detected by inputting a plurality of images in which the light amount ratio is combined. As described above, a defect can be detected by adjusting the ratio between the amount of reflected light and the amount of transmitted light without separating the reflected image and the transmitted image. Note that this method
This is equivalent to inputting the weighted addition image of the reflection image and the transmission image of the first embodiment, and adjusting the weighting factor by the dimmer at that time. A half mirror or a reflecting mirror corresponding to the ratio between the amount of reflected light and the amount of transmitted light can be used instead of the second light source. In this case, a half mirror or a reflecting mirror may be used while the second light source is kept on. In the latter case, there is an effect that the contrast of the reflection component increases in the detection of the defects I and N.

【0017】このように、本発明においては、包装され
た部分、シート部分、ポケット部分は反射率、透過率が
それぞれ異なるため、テレビカメラで観察される明るさ
分布は反射式と透過式とで大きく異なり、また欠陥部分
についても、異物の種類、大きさ、位置に応じて反射
率、透過率が異なる。このため、反射像と透過像では互
いに異なる明るさ分布の特徴を有することとなる。本発
明はこの性質を十分に利用した。本発明では、反射光で
の観測画像と透過光での観測画像をカメラと包装シート
の位置関係を変えずに入力する反射式・透過式同時併用
方式を用いて、両者から得られるデータの間で論理的相
関を得て欠陥を検出する方法を用いるため、包装された
部品、ポケット部、シート部の全領域について、付着し
た異物、混入した異物、包装部品の変形、かけら、汚
れ、さらに小さい極細の毛髪や繊維等を高い精度で識別
・検出することができる。また、反射式と透過式の同時
併用の効率を高めるため、前述のように、限定色照明条
件の下で反射式と透過式の画像を同時入力することによ
り、両方式の切り替えや複数画像を入力することによる
装置の繁雑さを回避でき、また反射像と透過像の局所的
位置対応のずれによる欠陥検出漏れや偽欠陥出力を避け
ることができ、安価で短時間に、かつ安定に包装シート
を検査することが可能となった。
As described above, in the present invention, the wrapped portion, the sheet portion, and the pocket portion have different reflectivities and transmissivities, so that the brightness distribution observed by the television camera is of the reflective type and the transmissive type. The reflectivity and transmissivity differ greatly depending on the type, size, and position of the foreign matter even for the defective portion. Therefore, the reflection image and the transmission image have different brightness distribution characteristics. The present invention makes full use of this property. In the present invention, the reflection type and the transmission type are used simultaneously, in which the observation image in the reflected light and the observation image in the transmitted light are input without changing the positional relationship between the camera and the packaging sheet. In order to use the method of detecting the defect by obtaining the logical correlation in the above, the attached foreign matter, the mixed foreign matter, the deformation of the packaged part, the fragment, the dirt, and the smaller, It is possible to identify and detect very fine hair, fibers, and the like with high accuracy. In addition, in order to increase the efficiency of simultaneous use of the reflection type and the transmission type, as described above, simultaneous input of the reflection type and the transmission type under the limited color illumination conditions enables switching between the two types and the multiple images. It is possible to avoid the complexity of the device due to the input, and also to avoid the defect detection omission and false defect output due to the deviation of the local position correspondence between the reflected image and the transmitted image. Can be inspected.

【0018】なお、実施例では、バンドパスの限定色フ
ィルターを2枚用いたが、ローパスまたはハイパスの限
定色フィルターを用いてもよい。また、実施例では、緑
と赤の波長を通す色限定フィルターを用いたが、他の色
の組み合わせであってもよい。シートの色や錠剤自体の
色に応じて、最も明暗コントラストが得られるように限
定色フィルターを選択する。また、色フィルターではな
く、各種の波長を発光できる発光ダイオードのように異
なる発光波長を有する光源を用いてもよい。また、実施
例では、画像を得るのにテレビカメラを用いたが、遠赤
外カメラ、X線カメラ、銀塩フィルム等の2次元センサ
を利用することが可能である。一方、実施例では、カメ
ラの位置を包装シートの上方としたが、上方と下方を逆
にした配置であっても、回転した方向であっても、問題
はないことは勿論である。さらに、本発明では、錠剤包
装工程において生じる欠陥の検査で説明したが、これに
限定されず、包装された各種部品の検査にも適用するこ
とができる。
Although two band-pass limited color filters are used in the embodiment, a low-pass or high-pass limited color filter may be used. Further, in the embodiment, a color limiting filter that passes green and red wavelengths is used, but other color combinations may be used. According to the color of the sheet or the color of the tablet itself, a limited color filter is selected so as to obtain the best contrast. Instead of a color filter, a light source having a different emission wavelength, such as a light emitting diode capable of emitting various wavelengths, may be used. In the embodiment, a television camera is used to obtain an image. However, a two-dimensional sensor such as a far-infrared camera, an X-ray camera, and a silver halide film can be used. On the other hand, in the embodiment, the position of the camera is set above the packaging sheet. However, it goes without saying that there is no problem even if the camera is arranged upside down or rotated in the rotating direction. Furthermore, although the present invention has been described with reference to the inspection of defects occurring in the tablet packaging process, the present invention is not limited to this, and can be applied to the inspection of various packaged parts.

【0019】[0019]

【発明の効果】以上説明したように、本発明によれば、
包装シートを上方と下方から逐次的にまたは同時に照明
し、テレビカメラで観測して反射像と透過像を得るもの
であり、それぞれを単に併用するだけではなく、両画像
の明暗分布の相関を表すコードを形成し、そのコードか
ら欠陥を検出するので、検出処理が極めて明白簡潔であ
り、簡易で高精度の欠陥検出が可能となる。また、領域
分割して、隣接領域のコードを付加した方法も提案する
ことにより、欠陥の分類も可能となる。また、包装シー
トの真下に反射板もしくはハーフミラーを設置すること
により、極細い毛髪や繊維類の混入を検出することが可
能となる。さらに、2つの色限定光を検査対象に照明し
た反射像と透過像を同時に1枚の画像で入力する方法を
提案することにより、光源の時間的制御が不要となり、
かつ入力画像数を半減することができ、簡易で短時間か
つ安定に欠陥検出を行うことができる。さらにまた、反
射像と透過像を分離せずに欠陥を検出する方法について
も開示し、分離が困難な場合に対処できるようにした。
As described above, according to the present invention,
It illuminates the packaging sheet sequentially or simultaneously from above and below, and observes it with a television camera to obtain a reflection image and a transmission image. Since a code is formed and a defect is detected from the code, the detection process is extremely clear and simple, and the defect can be detected simply and with high accuracy. In addition, by proposing a method in which regions are divided and codes of adjacent regions are added, defects can be classified. In addition, by installing a reflection plate or a half mirror immediately below the packaging sheet, it becomes possible to detect the mixing of extra-fine hair or fibers. Further, by proposing a method of simultaneously inputting a reflection image and a transmission image illuminating the inspection target with two color-limited lights as one image, temporal control of the light source becomes unnecessary,
In addition, the number of input images can be halved, and defect detection can be performed easily, in a short time, and stably. Furthermore, a method for detecting a defect without separating a reflected image and a transmitted image is disclosed, so that it is possible to cope with a case where separation is difficult.

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

【図1】本発明の一実施例を示す2つの画像データから
欠陥を検出する原理説明図である。
FIG. 1 is a diagram illustrating the principle of detecting a defect from two image data according to an embodiment of the present invention.

【図2】本発明の検査対象である包装された錠剤の構造
を示す平面図である。
FIG. 2 is a plan view showing the structure of a packaged tablet to be inspected according to the present invention.

【図3】本発明の検査対象であるポケット部の断面図で
ある。
FIG. 3 is a sectional view of a pocket portion to be inspected according to the present invention.

【図4】本発明の検査対象である欠陥の種類を示す図で
ある。
FIG. 4 is a diagram showing types of defects to be inspected according to the present invention.

【図5】本発明において、各欠陥が入力画像でどのよう
な明るさで観測されるかを説明する図で、錠剤を上方か
ら観測したときの模式的図である。
FIG. 5 is a diagram for explaining how bright each defect is observed in an input image in the present invention, and is a schematic diagram when a tablet is observed from above.

【図6】本発明において、包装シートの下方から照明
し、上方のカメラで観測したときの透過図である。
FIG. 6 is a transmission diagram when the package sheet is illuminated from below and observed with an upper camera in the present invention.

【図7】極細い欠陥やしみ様汚れを検出する方法の説明
図である。
FIG. 7 is an explanatory diagram of a method for detecting an extremely fine defect or stain-like stain.

【図8】本発明のコード方式、つまり反射画像、透過画
像の量子化を4階調と3階調で行った場合のコード図で
ある。
FIG. 8 is a code diagram in a case where the quantization of the reflection image and the transmission image is performed at 4 gradations and 3 gradations, that is, the coding method of the present invention.

【図9】本発明の第2の実施例を示すシート包装検査装
置の構造図である。
FIG. 9 is a structural view of a sheet packaging inspection apparatus according to a second embodiment of the present invention.

【図10】本発明における光透過波長領域のオーバラッ
プを許容して検査する場合の特性図である。
FIG. 10 is a characteristic diagram in the case where inspection is performed while allowing overlap of light transmission wavelength regions according to the present invention.

【図11】本発明の第3の実施例を示すもので、電源部
に調光装置を接続した場合の検出確率を示す図である。
FIG. 11 shows the third embodiment of the present invention, and is a diagram showing detection probabilities when a dimmer is connected to a power supply unit.

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

T…錠剤、P…ポケット、S…シート、M…ハーフミラ
ー、1…包装シート、L…入射光線、R…反射光線、2
…カラーカメラ、3,5…光源、4,6…色フィルタ、
7…色分離回路。
T: tablet, P: pocket, S: sheet, M: half mirror, 1: packaging sheet, L: incident light, R: reflected light, 2
... color camera, 3,5 ... light source, 4,6 ... color filter,
7 ... Color separation circuit.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G051 AA02 AB01 AB02 BA01 BB07 BC01 CA03 CB01 CB02 EA11 EA16 EA17 EC01 EC06 ED07 ED23  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G051 AA02 AB01 AB02 BA01 BB07 BC01 CA03 CB01 CB02 EA11 EA16 EA17 EC01 EC06 ED07 ED23

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 包装される部品および包装用のシートか
らなる包装シートに存在する混入異物、損傷、汚れ等の
欠陥を検出するシート包装検査装置であって、 該包装シートの上方に配置され、該包装シートを照射す
る第1の光源と、 該包装シートの上方に配置され、該包装シートを観測す
る二次元センサと、 該包装シートの上方からの反射画像を入力する手段と、 該包装シートの下方に配置され、該包装シートを照射す
る第2の光源と、 該包装シートの下方から照射した透過画像を入力する手
段とを有し、 該反射画像と透過画像をそれぞれ2値化ないし多値化し
て複数枚の2値または多値画像を算出し、該複数枚の画
像の濃度分布を示すコード分布画像を生成し、 しかる後、該コード分布画像からシート包装された部品
や包装シートに存在する上記の欠陥を検出することを特
徴とするシート包装検査装置。
1. A sheet packaging inspection device for detecting a defect such as a mixed foreign substance, damage, or dirt present in a packaging sheet including a part to be packaged and a packaging sheet, wherein the inspection apparatus is arranged above the packaging sheet. A first light source for irradiating the packaging sheet; a two-dimensional sensor disposed above the packaging sheet to observe the packaging sheet; a unit for inputting a reflection image from above the packaging sheet; And a means for inputting a transmission image irradiated from below the packaging sheet, wherein the reflection image and the transmission image are respectively binarized or multi-valued. Calculate the values to calculate a plurality of binary or multi-valued images, generate a code distribution image indicating the density distribution of the plurality of images, and then convert the code distribution image into a sheet-wrapped component or a wrapping sheet. Existence Sheet wrapping inspecting device characterized by detecting the above defects.
【請求項2】 包装される部品および包装用のシートか
らなる包装シートに存在する混入異物、損傷、汚れ等の
欠陥を検出するシート包装検査装置であって、 該包装シートの上方と下方に配置され、互いに異なる色
分布発光特性を有する光源からなる照明手段、または各
光源と該包装シートの間に互いに異なる透過波長分布を
有する色フィルターからなる照明手段と、 該包装シートの上方に配置され、該光源を点灯したまま
で該包装シートの二次元画像を入力する二次元センサ
と、 該二次元センサにより入力された反射画像成分を該包装
シートの上方からの照明光の色分布に対応させ、透過像
成分を下方からの照明光の色分布に対応させることによ
り、該反射像と透過像を前記二次元画像から分離する色
分離手段とを具備したことを特徴とするシート包装検査
装置。
2. A sheet packaging inspection apparatus for detecting defects such as contaminants, damage, dirt, etc., present in a packaging sheet comprising a part to be packaged and a packaging sheet, arranged above and below the packaging sheet. Illumination means comprising a light source having different color distribution emission characteristics from each other, or illumination means comprising a color filter having a different transmission wavelength distribution between each light source and the packaging sheet, disposed above the packaging sheet, A two-dimensional sensor for inputting a two-dimensional image of the packaging sheet while the light source is turned on, and a reflection image component input by the two-dimensional sensor corresponding to a color distribution of illumination light from above the packaging sheet; Color separation means for separating the reflected image and the transmitted image from the two-dimensional image by associating the transmitted image component with the color distribution of illumination light from below. Sheet packaging inspection equipment.
【請求項3】 請求項2に記載のシート包装検査装置に
おいて、 前記包装シートの上方と下方に配置した色フィルター
は、透過波長成分に共通する成分を含み、入力画像から
上方および下方からの照明光の共通波長成分を除去し
て、しかる後に、反射像成分と透過像成分とを分離する
ことを特徴とするシート包装検査装置。
3. The sheet packaging inspection apparatus according to claim 2, wherein the color filters disposed above and below the packaging sheet include components common to transmission wavelength components, and are illuminated from above and below the input image. A sheet packaging inspection apparatus for removing a common wavelength component of light and thereafter separating a reflected image component and a transmitted image component.
【請求項4】 包装される部品および包装用シートから
なる包装シートに存在する混入異物、損傷、汚れ等の欠
陥を検出するシート包装検査装置であって、 該包装シートの上方に配置され、該包装シートを照射す
る第1の光源と、 該包装シートの下方に配置され、該包装シートを照射す
る第2の光源と、 該包装シートを観測する2次元センサと、 該包装シートの画像を入力する手段とを有し、 該光源1と2を同時に点灯して、入力画像の濃度分布に
2値化もしくは多値化処理を施してからシート包装され
た部品や該包装シートに存在する上記の欠陥を検出する
ことを特徴とするシート包装検査装置。
4. A sheet packaging inspection device for detecting defects such as contaminants, damage, dirt, etc., present in a packaging sheet comprising a part to be packaged and a packaging sheet, the inspection device being disposed above the packaging sheet, A first light source that irradiates the packaging sheet; a second light source that is disposed below the packaging sheet and irradiates the packaging sheet; a two-dimensional sensor that observes the packaging sheet; and inputs an image of the packaging sheet. Means for simultaneously turning on the light sources 1 and 2 and performing binarization or multi-value processing on the density distribution of the input image and then presenting the sheet-packed parts or the packaging sheet. A sheet packaging inspection device for detecting a defect.
【請求項5】 請求項4に記載のシート包装検査装置に
おいて、 前記第1の光源と前記第2の光源の少なくとも一方には
照明光度の変更を可能とする調光装置、もしくは透過量
または透過波長帯域を変更できる光学フィルターを有
し、 前記包装シートの色分布や反射率および透過率に応じ
て、反射光量と透過光量の割合を調整することを特徴と
するシート包装検査装置。
5. The sheet packaging inspection device according to claim 4, wherein at least one of the first light source and the second light source is a light control device capable of changing illumination intensity, or a transmission amount or transmission. A sheet packaging inspection device comprising an optical filter capable of changing a wavelength band, wherein a ratio between a reflected light amount and a transmitted light amount is adjusted according to a color distribution, a reflectance, and a transmittance of the packaging sheet.
【請求項6】 請求項1または4に記載のシート包装検
査装置において、 前記請求項1に記載の各手段に追加して、または前記請
求項4に記載の第2の光源の代りに、反射成分が少なく
とも5%以上有するハーフミラーもしくは反射板を該包
装シートの真下に配置したことを特徴とするシート包装
検査装置。
6. The sheet packaging inspection device according to claim 1, wherein a reflection is provided in addition to each of the means according to claim 1 or instead of the second light source according to claim 4. A sheet packaging inspection device, wherein a half mirror or a reflection plate having at least 5% or more of components is disposed directly below the packaging sheet.
【請求項7】 請求項1に記載のシート包装検査装置に
おいて、 前記コード分布画像を生成する代りに、前記反射画像と
透過画像の各2値または多値画像間で論理演算を施し、
該演算により得られた演算結果から欠陥を検出すること
を特徴とするシート包装検査装置。
7. The sheet packaging inspection device according to claim 1, wherein instead of generating the code distribution image, a logical operation is performed between each binary or multi-valued image of the reflection image and the transmission image.
A sheet packaging inspection device for detecting a defect from a calculation result obtained by the calculation.
【請求項8】 包装シートの上方に光源と二次元センサ
を配置し、該二次元センサにより該包装シートの上方か
らの反射画像を入力し、 該包装シートの下方に光源を配置し、該光源により該包
装シートの下方から照明した透過画像を上記二次元セン
サにより入力し、 該反射画像と透過画像をそれぞれ2値化ないし多値化し
て複数枚の2値または多値画像を算出して、該複数枚の
画像の濃度分布を表すコード分布画像を生成し、 該入力画像の濃度分布もしくはコード分布の領域分割を
施し、しかる後に、 該分割された各領域のコード値に、該領域の周辺領域の
コード値を補助コードとして付与することにより、欠陥
を検出することを特徴とするシート包装検査方法。
8. A light source and a two-dimensional sensor are arranged above the packaging sheet, a reflected image from above the packaging sheet is input by the two-dimensional sensor, and a light source is arranged below the packaging sheet. A transmission image illuminated from below the packaging sheet is input by the two-dimensional sensor, and the reflection image and the transmission image are binarized or multi-valued to calculate a plurality of binary or multi-value images. A code distribution image representing the density distribution of the plurality of images is generated, and the density distribution or the code distribution of the input image is divided into regions. A sheet packaging inspection method, wherein a defect is detected by giving a code value of an area as an auxiliary code.
JP15953297A 1997-06-17 1997-06-17 Sheet packaging inspection device and inspection method Expired - Fee Related JP3216874B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP15953297A JP3216874B2 (en) 1997-06-17 1997-06-17 Sheet packaging inspection device and inspection method
BR9812094-8A BR9812094A (en) 1997-06-17 1998-06-17 Spray composition for hair and process
PCT/JP1998/002678 WO1998058241A1 (en) 1997-06-17 1998-06-17 Device for checking sheet packaging
AU80333/98A AU8033398A (en) 1997-06-17 1998-06-17 Device for checking sheet packaging
IL13352298A IL133522A0 (en) 1997-06-17 1998-06-17 Device for checking sheet packaging
EP98928530A EP1003027B1 (en) 1997-06-17 1998-06-17 Device for optical sheet wrapping inspection
DE69817580T DE69817580T2 (en) 1997-06-17 1998-06-17 DEVICE FOR THE OPTICAL INSPECTION OF PACKAGING FILMS
US09/446,010 US6445452B1 (en) 1997-06-17 1998-06-17 Device for checking sheet packaging
RU2000101300/28A RU2196977C2 (en) 1997-06-17 1998-06-17 Device for check of sheet package
CN98806336.0A CN1260876A (en) 1997-06-17 1998-06-17 Device for checking sheet package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15953297A JP3216874B2 (en) 1997-06-17 1997-06-17 Sheet packaging inspection device and inspection method

Publications (2)

Publication Number Publication Date
JP2001041894A true JP2001041894A (en) 2001-02-16
JP3216874B2 JP3216874B2 (en) 2001-10-09

Family

ID=15695835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15953297A Expired - Fee Related JP3216874B2 (en) 1997-06-17 1997-06-17 Sheet packaging inspection device and inspection method

Country Status (1)

Country Link
JP (1) JP3216874B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002355905A (en) * 2001-05-31 2002-12-10 Toppan Printing Co Ltd Equipment for manufacturing paper tray containers
JP2004219122A (en) * 2003-01-10 2004-08-05 Dainippon Printing Co Ltd Foreign matter failure inspection device and inspection method using the same
JP2006153633A (en) * 2004-11-29 2006-06-15 Mitsubishi Electric Engineering Co Ltd Flaw determining device of matter to be inspected
JP2006292419A (en) * 2005-04-06 2006-10-26 Ckd Corp Defect inspection device and PTP packaging machine
JP2007327751A (en) * 2006-06-06 2007-12-20 Ckd Corp Visual inspection apparatus and ptp sheet manufacturing apparatus
JP2009128260A (en) * 2007-11-27 2009-06-11 Seiko Instruments Inc Inspection apparatus, inspection method, manufacturing apparatus of rolling bearing, and manufacturing method of the rolling bearing
JP2009276102A (en) * 2008-05-13 2009-11-26 Ckd Corp Pocket shape inspecting device
JP2012112688A (en) * 2010-11-22 2012-06-14 Seiko Epson Corp Inspection apparatus
JP2015224873A (en) * 2014-05-26 2015-12-14 Ckd株式会社 Inspection device and ptp packaging machine
JP2016166827A (en) * 2015-03-10 2016-09-15 大日本印刷株式会社 Inspection device, inspection method, and program for inspection device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5552779B2 (en) * 2009-09-04 2014-07-16 セイコーエプソン株式会社 In-hole inspection method
JP5773741B2 (en) * 2011-05-11 2015-09-02 倉敷紡績株式会社 Appearance inspection apparatus and appearance inspection method for transparent body bottle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143193A (en) * 1978-04-28 1979-11-08 Fuji Electric Co Ltd Deffct testing method and apparatus for packaged articles
JPH0587546A (en) * 1990-04-28 1993-04-06 Seiwa Sangyo Kk Method and device for inspecting appearance
JPH05149883A (en) * 1991-08-22 1993-06-15 Ckd Corp Inspection device for tablet sheet
JPH07209196A (en) * 1994-01-17 1995-08-11 Sanyo Electric Co Ltd Tablet inspection system
JPH07311160A (en) * 1994-05-19 1995-11-28 Nitto Denko Corp Method and device for preforming visual inspection
JPH0821805A (en) * 1994-07-08 1996-01-23 Datsuku Eng Kk Appearance inspection method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143193A (en) * 1978-04-28 1979-11-08 Fuji Electric Co Ltd Deffct testing method and apparatus for packaged articles
JPH0587546A (en) * 1990-04-28 1993-04-06 Seiwa Sangyo Kk Method and device for inspecting appearance
JPH05149883A (en) * 1991-08-22 1993-06-15 Ckd Corp Inspection device for tablet sheet
JPH07209196A (en) * 1994-01-17 1995-08-11 Sanyo Electric Co Ltd Tablet inspection system
JPH07311160A (en) * 1994-05-19 1995-11-28 Nitto Denko Corp Method and device for preforming visual inspection
JPH0821805A (en) * 1994-07-08 1996-01-23 Datsuku Eng Kk Appearance inspection method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002355905A (en) * 2001-05-31 2002-12-10 Toppan Printing Co Ltd Equipment for manufacturing paper tray containers
JP2004219122A (en) * 2003-01-10 2004-08-05 Dainippon Printing Co Ltd Foreign matter failure inspection device and inspection method using the same
JP2006153633A (en) * 2004-11-29 2006-06-15 Mitsubishi Electric Engineering Co Ltd Flaw determining device of matter to be inspected
JP2006292419A (en) * 2005-04-06 2006-10-26 Ckd Corp Defect inspection device and PTP packaging machine
JP2007327751A (en) * 2006-06-06 2007-12-20 Ckd Corp Visual inspection apparatus and ptp sheet manufacturing apparatus
JP2009128260A (en) * 2007-11-27 2009-06-11 Seiko Instruments Inc Inspection apparatus, inspection method, manufacturing apparatus of rolling bearing, and manufacturing method of the rolling bearing
JP2009276102A (en) * 2008-05-13 2009-11-26 Ckd Corp Pocket shape inspecting device
JP2012112688A (en) * 2010-11-22 2012-06-14 Seiko Epson Corp Inspection apparatus
JP2015224873A (en) * 2014-05-26 2015-12-14 Ckd株式会社 Inspection device and ptp packaging machine
CN105292620A (en) * 2014-05-26 2016-02-03 Ckd株式会社 Inspection device and PTP packaging machine
JP2016166827A (en) * 2015-03-10 2016-09-15 大日本印刷株式会社 Inspection device, inspection method, and program for inspection device

Also Published As

Publication number Publication date
JP3216874B2 (en) 2001-10-09

Similar Documents

Publication Publication Date Title
WO1998058241A1 (en) Device for checking sheet packaging
JP3216876B2 (en) Sheet packaging inspection device
CN1114100C (en) Method and apparatus for optical inspection of transparent containers using infrared and polarized visible light
CN101346623B (en) Defect inspection device for inspecting defect by image analysis
US5134278A (en) Device for simultaneously inspecting an object for defects and debris
JP3216874B2 (en) Sheet packaging inspection device and inspection method
WO2007061557A2 (en) Oblique transmission illumination inspection system and method for inspecting a glass sheet
KR101203210B1 (en) Apparatus for inspecting defects
JPH04233440A (en) Optical inspecting apparatus
JPS6145956A (en) Method for selectively inspecting refractive defect in transparent product
CN101526481A (en) Defect detecting method using a multiple illumination path system
JP2000149781A (en) Plasma display phosphor inspection system
KR101006983B1 (en) Panel inspection device
JP2002131239A (en) Foreign matter inspection device and foreign matter inspection method
JP4184511B2 (en) Method and apparatus for defect inspection of metal sample surface
JPH0579999A (en) Inspecting device for precipitated foreign object in bottle
CN111505008A (en) Method and apparatus for inspecting defects
KR100943242B1 (en) Display panel inspection method and device
JP3047168B2 (en) Inspection method of chicken eggs
JP2022056389A (en) Inspection equipment, inspection methods, and inspection programs
KR100666468B1 (en) Method and device for inspecting pattern defect of transparent plate with periodic scattering pattern
JPH04223262A (en) Processing method of image in fluorescent magnetic powder flaw detection
JP4967132B2 (en) Defect inspection method for object surface
JP2000163582A (en) Method and device for inspecting defect on metallic sample surface
Dau et al. Studying the influence of illumination design in quality inspection on vaccine vials production line using computer vision

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees