JP3461128B2 - Appearance inspection method and device for stamped tablets - Google Patents

Appearance inspection method and device for stamped tablets

Info

Publication number
JP3461128B2
JP3461128B2 JP29299898A JP29299898A JP3461128B2 JP 3461128 B2 JP3461128 B2 JP 3461128B2 JP 29299898 A JP29299898 A JP 29299898A JP 29299898 A JP29299898 A JP 29299898A JP 3461128 B2 JP3461128 B2 JP 3461128B2
Authority
JP
Japan
Prior art keywords
tablet
area
stamped
appearance
inspecting
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 - Fee Related
Application number
JP29299898A
Other languages
Japanese (ja)
Other versions
JP2000105197A (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.)
CKD Corp
Original Assignee
CKD Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CKD Corp filed Critical CKD Corp
Priority to JP29299898A priority Critical patent/JP3461128B2/en
Publication of JP2000105197A publication Critical patent/JP2000105197A/en
Application granted granted Critical
Publication of JP3461128B2 publication Critical patent/JP3461128B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 a method for inspecting the appearance of a stamp tablet for inspecting the appearance of the stamp tablet, and more particularly to a method performed in a blister sheet packaging machine.

【0002】[0002]

【従来技術】従来、錠剤の表面の異物および欠け等の外
観を検査するにあたって、錠剤をカメラで撮像すること
によって得られた映像データを明部分と暗部分とに二値
化し、錠剤に相当する部分の面積が、基準値よりも大き
いか否かで判断していた。しかし、捺印錠剤については
捺印のにじみ、濃淡により面積値が変わり、面積値の許
容値を広くする必要があるため、小さな異物及び欠けの
検出ができなかった。そこで、捺印錠剤については捺印
及び異物を、2値化した捺印錠剤の映像の中の連結領域
として捉えることにより処理することも提案されてい
る。特願平9−233500号公報には、捺印及び異物
を連結領域として把握し、捺印および異物の連結領域を
含む外接長方形を求めその大きさから異物の有無を判断
する捺印錠剤の異物検査装置が記載されている。
2. Description of the Related Art Conventionally, when inspecting the appearance of foreign matter and chips on the surface of a tablet, image data obtained by imaging the tablet with a camera is binarized into a bright portion and a dark portion, and corresponds to a tablet. It was judged whether the area of the part was larger than the standard value. However, with respect to the imprinted tablet, the area value changes depending on the bleeding of the imprint and the lightness and darkness, and it is necessary to widen the allowable value of the area value, so that it is not possible to detect small foreign matters and chips. Therefore, it has been proposed to process the imprinted tablet by capturing the imprint and the foreign substance as a connected region in the image of the binarized imprinted tablet. Japanese Patent Application No. 9-233500 discloses a foreign substance inspection device for a marking tablet which grasps a marking and a foreign substance as a connecting region, obtains a circumscribed rectangle including the connecting region of the marking and the foreign substance, and judges the presence or absence of the foreign substance from the size. Have been described.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来のPTP
シール検査装置には、次のような問題があった。特願平
9−233500号に記載された装置では、錠剤内部の
異物については連結領域として把握されるが、錠剤の外
縁部の異物については、錠剤内部の連結領域として認識
されないため把握できなかった。
However, the conventional PTP
The seal inspection device has the following problems. With the device described in Japanese Patent Application No. 9-233500, foreign matter inside the tablet can be grasped as a connecting region, but foreign matter at the outer edge of the tablet cannot be grasped because it is not recognized as a connecting region inside the tablet. .

【0004】本発明は、上述した問題点を解決するため
になされたものであり、搬送中のブリスタシートのポケ
ット部に充填された捺印錠剤の外縁部の異物および欠け
を、捺印部に影響されることなく、ブリスタシート包装
機内で検査することができる捺印錠剤の外観検査方法と
捺印錠剤の外観検査装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and foreign matter and chips on the outer edge portion of the imprint tablet filled in the pocket portion of the blister sheet during conveyance are affected by the imprint portion. It is an object of the present invention to provide an appearance inspection method for a stamped tablet and an appearance inspection device for a stamped tablet that can be inspected in a blister sheet packaging machine without any need.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に成された請求項1に係る捺印錠剤の外観検査方法は、
捺印錠剤の表面全体のイメージデータを画素ごとに2値
化し、前記捺印錠剤に相当する連結領域である錠剤領域
を特定し、その内部に存在する少なくとも捺印に相当す
る連結領域に対し穴埋め処理をした後、前記穴埋めをし
た前記錠剤領域である穴埋め錠剤領域が基準範囲内にあ
るか否かを判断することにより、前記捺印錠剤の外観を
検査することを特徴とする。
A method for inspecting the appearance of a stamped tablet according to claim 1, which was made to achieve this object, comprises:
Image data of the entire surface of the stamped tablet was binarized for each pixel, a tablet region that was a connected region corresponding to the stamped tablet was specified, and filling processing was performed on at least the connected region corresponding to the stamped mark inside the tablet region. After that, the appearance of the imprinted tablet is inspected by determining whether or not the filled-in tablet area, which is the filled-in tablet area, is within a reference range.

【0006】また、請求項2に係る捺印錠剤の外観検査
方法は、請求項1記載に記載する捺印錠剤の外観検査方
法において、前記穴埋め処理は捺印に相当する連結領域
の値を、周囲の値にすることにより行うことを特徴とす
る。
Further, the appearance inspection method for a stamp tablet according to a second aspect is the appearance inspection method for a seal tablet according to the first aspect, wherein in the hole filling processing, the value of the connecting region corresponding to the seal is set to the surrounding value. It is characterized by performing by.

【0007】また、請求項3に係る捺印錠剤の外観検査
方法は、請求項1又は請求項2記載の捺印錠剤の外観検
査方法において、前記穴埋め錠剤領域から、前記錠剤の
外周部におけるデータの不安定領域を除去した上で、基
準範囲内にあるか否かを判断することを特徴とする。
The appearance inspection method for a stamped tablet according to claim 3 is the appearance inspection method for a stamped tablet according to claim 1 or 2, wherein the data in the outer peripheral portion of the tablet from the hole-filled tablet area is not detected. It is characterized in that after the stable region is removed, it is judged whether or not it is within the reference range.

【0008】また、請求項4に係る捺印錠剤の外観検査
方法は、請求項3記載の捺印錠剤の外観検査方法におい
て、前記不安定領域の除去は、良品である錠剤の輪郭と
相似形であるマスクエリアを穴埋め錠剤領域に設定する
ことにより除去することを特徴とする。
Further, in the appearance inspection method for a stamped tablet according to claim 4, in the appearance inspection method for a stamped tablet according to claim 3, the removal of the unstable region is similar to the contour of a non-defective tablet. It is characterized in that the mask area is removed by setting it as a filling tablet area.

【0009】また、請求項5に係る捺印錠剤の外観検査
方法は、請求項4記載の捺印錠剤の外観検査方法におい
て、前記マスクエリアと前記錠剤の中心または重心を一
致させて設定することを特徴とする。
The appearance inspection method for a stamped tablet according to claim 5 is the appearance inspection method for a stamped tablet according to claim 4, wherein the mask area and the center or center of gravity of the tablet are set to coincide with each other. And

【0010】また、請求項6に係る捺印錠剤の外観検査
方法は、請求項4又は請求項5記載の捺印錠剤の外観検
査方法において、前記マスクエリアはテンプレートマッ
チングにより設定することを特徴とする。
The appearance inspection method for a stamped tablet according to claim 6 is the appearance inspection method for a stamped tablet according to claim 4 or 5, wherein the mask area is set by template matching.

【0011】また、請求項7に係る捺印錠剤の外観検査
方法は、請求項1乃至請求項6記載のいずれか一つに記
載する捺印錠剤の外観検査方法において、複数の捺印錠
剤を一度に撮像し、それぞれの捺印錠剤に対してそれぞ
れ独立して検査することを特徴とする。
According to a seventh aspect of the invention, there is provided a method for inspecting a stamped tablet according to any one of the first to sixth aspects, wherein the plurality of stamped tablets are imaged at one time. However, each stamp tablet is inspected independently.

【0012】また、請求項8に係る捺印錠剤の外観検査
方法は、請求項1乃至請求項7のいずれか一つに記載す
る捺印錠剤の検査方法において搬送中のブリスターシー
トのポケット部に充填された捺印錠剤の外観をブリスタ
ーシート包装機内で検査することを特徴とする。
The appearance inspection method for a stamp tablet according to claim 8 is the method for inspecting a stamp tablet according to any one of claims 1 to 7, wherein the pocket portion of the blister sheet being conveyed is filled. The appearance of the stamped tablets is inspected in a blister sheet packaging machine.

【0013】また、請求項9に係る捺印錠剤の外観検査
装置は、請求項1乃至請求項8のいずれか一つに記載す
る捺印錠剤の外観検査方法を実施することを特徴とす
る。
The appearance inspection device for a stamped tablet according to a ninth aspect is characterized by performing the appearance inspection method for a stamped tablet according to any one of the first to eighth aspects.

【0014】このような構成を有する本発明の捺印錠剤
の外観検査方法と捺印錠剤の外観検査装置では捺印錠剤
の表面全体のイメージデータを画素ごとに2値化するこ
とによって、捺印錠剤の表面全体を2値化された画素で
把握する。ここでは、錠剤の表面は一方の値で把握され
ており、捺印及び異物は他方の値で把握される。さら
に、連結成分処理をすることにより一方の値の連結領域
から錠剤を認識し、錠剤内部の他方の値の連結領域から
捺印および異物を認識し、少なくともこの捺印の連結領
域に相当する連結領域に対して、穴埋め処理をする。
尚、穴埋め処理は、捺印に相当する連結領域の他方の値
を、錠剤の表面に相当する一方の値に置き換えることに
よって行う。この穴埋め処理した連結領域を以後穴埋め
錠剤領域という。そして、穴埋め錠剤領域の画素数が算
出される。
In the appearance inspection method for a stamped tablet and the appearance inspection apparatus for a stamped tablet according to the present invention having such a configuration, the entire image surface of the stamped tablet is binarized by binarizing the image data of the entire surface of the stamped tablet. Is identified by the binarized pixel. Here, the surface of the tablet is grasped by one value, and the marking and the foreign matter are grasped by the other value. Further, by performing the connected component processing, the tablet is recognized from the connected area of one value, the marking and the foreign matter are recognized from the connected area of the other value inside the tablet, and at least the connected area corresponding to the connected area of the marking is recognized. On the other hand, the filling process is performed.
The filling processing is performed by replacing the other value of the connection area corresponding to the seal with the one value corresponding to the surface of the tablet. The connection area that has been subjected to the padding processing is hereinafter referred to as a padding tablet area. Then, the number of pixels in the filling tablet area is calculated.

【0015】その一方、外観不良のない捺印錠剤につい
て、同様にして穴埋め錠剤領域を把握しその画素数を算
出して、捺印錠剤の外観検査の基準である判定基準値と
する。ただし、捺印錠剤の形状の許容誤差および錠剤の
外周部に相当する画素のデータが不安定であること等を
考慮して、かかる判定基準値は前記総画素数よりも多少
小さい値を判定基準値としている。ここで、錠剤の外周
部付近のデータが不安定である理由は、錠剤の端部では
CCD上に結像した錠剤の像が、CCDの一つの画素の
全面を覆わないこと、あるいは、錠剤の形状によって、
例えば断面が楕円状の錠剤においては端部付近はカメラ
に対し垂直に近い面となり光量が不足しやすいからであ
る。そして、穴埋め錠剤領域の画素数が判定基準値より
も大きいと判断されれば、錠剤の外縁部の異物および欠
けなどがないとして、検査対象の捺印錠剤に外観不良が
ないと判定する。また、穴埋め錠剤領域の画素数が判定
基準値よりも小さいと判断されれば、錠剤の外縁部の異
物または欠けがあるとして、検査対象の捺印錠剤に外観
不良があると判定する。
On the other hand, with respect to the stamped tablet having no defective appearance, the filling tablet area is similarly grasped, and the number of pixels thereof is calculated, and used as the judgment reference value which is the standard of the visual inspection of the stamped tablet. However, considering the tolerance of the shape of the stamped tablet and the instability of the pixel data corresponding to the outer peripheral portion of the tablet, the judgment reference value is a value slightly smaller than the total number of pixels. I am trying. Here, the reason why the data around the outer periphery of the tablet is unstable is that the image of the tablet formed on the CCD at the edge of the tablet does not cover the entire surface of one pixel of the CCD, or Depending on the shape
This is because, for example, in the case of a tablet having an elliptical cross section, the vicinity of the end is a surface close to the vertical to the camera, and the amount of light tends to be insufficient. Then, if it is determined that the number of pixels in the filled tablet area is larger than the determination reference value, it is determined that there is no foreign matter or chipping on the outer edge of the tablet, and it is determined that the stamp tablet to be inspected has no defective appearance. Further, if it is determined that the number of pixels in the filled tablet area is smaller than the determination reference value, it is determined that there is a foreign substance or a chip on the outer edge portion of the tablet, and it is determined that the stamp tablet to be inspected has a poor appearance.

【0016】よって、錠剤内部の捺印の連結領域に相当
する連結領域に対して穴埋め処理をすることにより、錠
剤領域の算出から除去しているため、捺印のにじみ、か
すれ等の影響を受けることなく、錠剤の外縁部の異物ま
たは欠けを検出することができる。
Therefore, since the tablet area is removed from the tablet area calculation by performing the filling processing on the connected area corresponding to the connected area of the seal in the tablet, the seal is not affected by blurring or blurring of the seal. It is possible to detect a foreign substance or a chip on the outer edge of the tablet.

【0017】また、錠剤の外周部付近のデータは不安定
であるから、前期穴埋め錠剤領域から錠剤の外周部の不
安定領域を除くことにより、より安定した検査が可能と
なる。この場合は前記判定基準値は、外観不良のない捺
印錠剤の穴埋め連結領域から外周部の不安定領域を除去
した値に、より近い値とすることができる。
Further, since the data in the vicinity of the outer peripheral portion of the tablet is unstable, a more stable inspection can be performed by excluding the unstable region in the outer peripheral portion of the tablet from the previously filled tablet area. In this case, the determination reference value can be set to a value closer to a value obtained by removing the unstable region at the outer peripheral portion from the hole-filled connection region of the imprint tablet having no appearance defect.

【0018】不安定領域の除去は、良品である錠剤の輪
郭と相似形であるマスクエリアを設定し、その内側のみ
を穴埋め錠剤領域とすることにより取り除いても良い。
このマスクエリアは、PTPシートのポケットが錠剤に
対し十分大きく錠剤の位置がポケット内で定まらないの
で、錠剤と中心または重心を一致させて設定するとよ
い。さらに、マスクエリアをテンプレートマッチングに
より設定することにより、錠剤の外周部の不安定な領域
や錠剤の欠け・異物等に影響されることなく、より正確
に設定することができる。
The unstable area may be removed by setting a mask area having a shape similar to the contour of a non-defective tablet and setting only the inside thereof as a filling tablet area.
Since the pocket of the PTP sheet is large enough for the tablet and the position of the tablet is not fixed in the pocket, this mask area may be set with the center or the center of gravity of the tablet aligned. Furthermore, by setting the mask area by template matching, it is possible to set the mask area more accurately without being affected by an unstable area on the outer peripheral portion of the tablet, chipping of the tablet, foreign matter, or the like.

【0019】本発明の捺印錠剤の外観検査と捺印錠剤の
外観検査装置は、錠剤の表面の捺印を穴埋めした上で検
査処理を行っているので、錠剤の表面の捺印の種類、
色、大きさ、有無に影響されることなく、また、複雑な
処理を必要としないため検査効率が良く、複数の錠剤を
同時にそれぞれ独立して検査することができる。従って
本発明の捺印錠剤の外観検査方法をもって、搬送中のブ
リスタシートのポケット部に充填された捺印錠剤の外観
をブリスタシート包装機内で検査することができる。
Since the appearance inspection of the imprinted tablet and the appearance inspection device of the imprinted tablet of the present invention are performed after the imprinting of the imprint on the surface of the tablet is performed, the type of imprinting on the surface of the tablet,
It is not affected by color, size, presence or absence, and since complicated processing is not required, inspection efficiency is good, and a plurality of tablets can be inspected independently at the same time. Therefore, the appearance of the imprinted tablet filled in the pocket portion of the blister sheet being conveyed can be inspected in the blister sheet packaging machine by the appearance inspection method of the imprinted tablet of the present invention.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照にして説明する。本実施の形態では図2に示すよ
うに、捺印錠剤の外観検査装置である外観検査装置10
をブリスタシート包装機30に装備することによって、
ブリスタシート包装機30内で捺印錠剤の外観検査方法
を実施している。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, as shown in FIG. 2, an appearance inspection device 10 which is an appearance inspection device for a stamped tablet.
By equipping the blister sheet packaging machine 30 with
The appearance inspection method of the imprinted tablet is carried out in the blister sheet packaging machine 30.

【0021】まず、捺印錠剤の外観検査方法が実施され
るブリスタシート包装機30について、簡単に説明す
る。ブリスタシート包装機30は、錠剤等をブリスタシ
ートに自動的に包装するものである。具体的には、ま
ず、PP、PVC、などの容器フィルム40を、フィル
ム送りロール33とテンションロール31、32で、加
熱板50と成形板51に送り込み、錠剤などが充填され
るポケット部44(図3参照)を容器フィルム40に成
形する。そして、容器フィルム40にポケット部44
(図3参照)が成形されたもの41が、錠剤投入シャッ
ター52の下にまで送られてくると、錠剤投入シャッタ
ー52が各ポケット部44(図3参照)に錠剤などを自
動的に充填する。ここでは、図5に示された捺印錠剤1
が各ポケット部44(図3参照)に充填される。
First, the blister sheet packaging machine 30 for carrying out the appearance inspection method of the stamped tablet will be briefly described. The blister sheet packaging machine 30 automatically wraps tablets and the like in a blister sheet. Specifically, first, the container film 40 such as PP or PVC is fed into the heating plate 50 and the molding plate 51 by the film feed roll 33 and the tension rolls 31 and 32, and the pocket portion 44 (where the tablets and the like are filled) 3) is formed into a container film 40. Then, the pocket portion 44 is formed on the container film 40.
When the molded product 41 (see FIG. 3) is sent under the tablet loading shutter 52, the tablet loading shutter 52 automatically fills the pockets 44 (see FIG. 3) with tablets and the like. . Here, the stamp tablet 1 shown in FIG.
Are filled in each pocket portion 44 (see FIG. 3).

【0022】さらに、各ポケット部44(図3参照)に
捺印錠剤1が充填された容器フィルム41の上に、アル
ミ製の蓋フィルム42をテンションロール34、35を
介して送り込み、一対のシールロール36で固着させ
る。これによって、捺印錠剤1(図5参照)が各ポケッ
ト部44(図3参照)に充填された、フィルム状のブリ
スタシート43が製造される。かかるフィルム状のブリ
スタシート43はシート状に裁断された後に、図示しな
い不良シート排出機構やブリスタシート集積機構などへ
順に送られる。
Further, the lid film 42 made of aluminum is fed through the tension rolls 34 and 35 onto the container film 41 in which each of the pockets 44 (see FIG. 3) is filled with the imprint tablet 1, and a pair of seal rolls are provided. Fix at 36. As a result, the film-shaped blister sheet 43 in which the stamp tablet 1 (see FIG. 5) is filled in each pocket portion 44 (see FIG. 3) is manufactured. The film-shaped blister sheet 43 is cut into a sheet shape and then sequentially sent to a defective sheet discharging mechanism, a blister sheet accumulating mechanism, or the like (not shown).

【0023】次に、捺印錠剤の外観検査方法を実施する
外観検査装置10について、図4のブロック図を用いて
説明する。外観検査装置10は、A/D変換器13、コ
ンパレータ14、画像メモリ16、シェーディング補正
テーブル18、CPU20、判定用メモリ22、入出力
インターフェース23、外観検査結果及び統計データメ
モリ24、カメラタイミング制御手段26などから構成
される。
Next, the appearance inspection apparatus 10 for carrying out the appearance inspection method of the stamped tablet will be described with reference to the block diagram of FIG. The appearance inspection apparatus 10 includes an A / D converter 13, a comparator 14, an image memory 16, a shading correction table 18, a CPU 20, a judgment memory 22, an input / output interface 23, an appearance inspection result and statistical data memory 24, and a camera timing control means. 26 and the like.

【0024】A/D変換器13は、CCDカメラ11で
撮像した一次元イメージデータを、アナログ信号からデ
ジタル信号に変換するものである。ここで、CCDカメ
ラ11について説明すると、図3に示すように、照明1
2の光13でブリスタシート43を照らし、ブリスタシ
ート43をその幅方向に一次元撮像するものである。し
たがって、ブリスタシート43の幅方向に一列に成形さ
れた複数のポケット部44及び、各ポケット部44に充
填された捺印錠剤1を同時に撮像することができる。こ
のとき、固定ロール37に密着した状態のブリスタシー
ト43を撮像しているので、フィルム状のブリスタシー
ト43が揺れて撮像に悪影響が及ぶことはない。尚、C
CDカメラ11と照明12は、図2と図3では、ブリス
タシート包装機30内に描かれているが、外観検査装置
10を構成するものの一つである。
The A / D converter 13 converts the one-dimensional image data picked up by the CCD camera 11 from an analog signal to a digital signal. Here, the CCD camera 11 will be described. As shown in FIG.
The blister sheet 43 is illuminated with two lights 13, and the blister sheet 43 is one-dimensionally imaged in the width direction. Therefore, it is possible to simultaneously image the plurality of pocket portions 44 formed in a line in the width direction of the blister sheet 43 and the stamp tablet 1 filled in each pocket portion 44. At this time, since the image of the blister sheet 43 that is in close contact with the fixed roll 37 is captured, the film-shaped blister sheet 43 does not sway and adversely affect the image capturing. Incidentally, C
Although the CD camera 11 and the illumination 12 are drawn in the blister sheet packaging machine 30 in FIGS. 2 and 3, they are one of the constituents of the visual inspection apparatus 10.

【0025】図4に戻り、コンパレータ14は、デジタ
ル信号に置き換えられた一次元イメージデータを、特定
のしきい値で2値化するものである。尚、一次元イメー
ジデータはCCDカメラ11で撮像されたものであるか
ら、CCDカメラ11の画素ごとに2値化する。また、
コンパレータ14で使用するしきい値は、検査条件に合
わせて変更させることができる。画像メモリ16は、コ
ンパレータ14で2値化された一次元イメージデータを
記憶するものである。シェーディング補正テーブル18
は、一次元イメージデータをコンパレータ14で2値化
する際に使用するしきい値が記憶されるものである。
尚、ブリスタシート43全体を照明12の光13で一様
に照らすことは技術的に限界があることにより、かかる
しきい値はシェーディング補正されている。
Returning to FIG. 4, the comparator 14 binarizes the one-dimensional image data replaced by the digital signal with a specific threshold value. Since the one-dimensional image data is captured by the CCD camera 11, each pixel of the CCD camera 11 is binarized. Also,
The threshold value used in the comparator 14 can be changed according to the inspection condition. The image memory 16 stores the one-dimensional image data binarized by the comparator 14. Shading correction table 18
Stores the threshold value used when the one-dimensional image data is binarized by the comparator 14.
Since there is a technical limit to uniformly illuminating the entire blister sheet 43 with the light 13 of the illumination 12, the threshold value is shading-corrected.

【0026】CPU20は、後述する図1のフローチャ
ートを実行するものであり、判定用メモリ22などを使
用して実行する。入出力インターフェース23は、ブリ
スタシート包装機30に制御信号を送信又は受信するた
めのものである。これによって、例えば、ブリスタシー
ト包装機30の不良シート排出機構などを制御すること
ができる。また、モニタ25に表示データを送信するた
めのものでもあり、1次元イメージデータや外観検査結
果などをモニタ25に表示させることができる。尚、モ
ニタ25は、図4では、外観検査装置10外に描かれて
いるが、外観検査装置10を構成するものの一つであ
る。
The CPU 20 executes the flow chart of FIG. 1 which will be described later, and executes it by using the judgment memory 22 and the like. The input / output interface 23 is for transmitting or receiving a control signal to the blister sheet packaging machine 30. Thereby, for example, the defective sheet discharging mechanism of the blister sheet packaging machine 30 can be controlled. It is also for transmitting display data to the monitor 25, and can display one-dimensional image data, appearance inspection results, etc. on the monitor 25. Although the monitor 25 is illustrated outside the visual inspection apparatus 10 in FIG. 4, it is one of the constituents of the visual inspection apparatus 10.

【0027】
外観検査結果及び統計データメモリ24
は、外観検査結果データや外観検査結果データを確率統
計的に処理した統計データを記憶するものである。これ
らの外観検査結果データや統計データは、モニタ25に
表示させることができる。また、これらの外観検査結果
データや統計データに基づいて、ブリスタシート包装機
30に制御信号を送信することもできる。
[0027]
Appearance inspection result and statistical data memory 24
Stores the appearance inspection result data and statistical data obtained by probabilistically processing the appearance inspection result data. The visual inspection result data and the statistical data can be displayed on the monitor 25. Further, a control signal can be transmitted to the blister sheet packaging machine 30 based on these appearance inspection result data and statistical data.

【0028】カメラタイミング制御手段26は、CCD
カメラ11が撮像する一次元イメージデータを、A/D
変換器13に取り込むタイミングを制御するものであ
る。かかるタイミングは、ブリスタシート包装機30に
設けられたエンコーダ(図示せず)からの信号に基づい
て行われる。
The camera timing control means 26 is a CCD
The one-dimensional image data captured by the camera 11 is converted into A / D
It controls the timing of loading into the converter 13. Such timing is performed based on a signal from an encoder (not shown) provided in the blister sheet packaging machine 30.

【0029】次に、捺印錠剤の外観検査方法の手順を、
図1のフローチャート図に基づいて説明する。かかる、
捺印錠剤の外観検査は、画像メモリ16上の2値画像に
対して行われるものである。先ず、ステップ(以下、
「S」と略記する)1により、画像メモリ16上の2値
画像において、ラベリング処理を行う。ラベリングによ
り作成されたデータテーブルは判定用メモリ22に記憶
される。また、ラベリング処理された連結領域から錠剤
の連結領域を特定する。錠剤の表面に相当する2値画像
データを一方の値とし、錠剤表面の異物、捺印および背
景の2値画像データを他方の値とすると、錠剤の連結領
域は、一方の値である連結領域のうち画素数(大き
さ)、座標(位置)、形状などから錠剤と判断されるも
のを錠剤と特定する。たとえば、一定の画素数以上の大
きさの連結領域を錠剤とすることもできる。以下ここで
は、説明の便宜上、所定の一つの捺印錠剤(所定の錠剤
1)に対して処理しているが、同時又は順次に、同時に
撮像したシート上の他の錠剤についても、同様に処理し
ている。ラベリング処理された所定錠剤1の領域内の他
方の値である連結領域Aについてのテーブル80を図8
に示す。このテーブル80はラベリングにより作成され
たテーブルの一部分であり、番号付けされた合計n個の
連結領域Aの各々について、X座標の最小値XMIN、
X座標の最大値XMAX、Y座標の最小値YMIN、Y
座標の最大値YMAX、面積Bがそれぞれ求められ記憶
されている。ここで、所定の錠剤1を、画像メモリ16
上の2値画像の左上隅に表示されたものとする。また、
かかる錠剤1の領域内には合計n個の連結領域Aが存在
するものとする。
Next, the procedure of the appearance inspection method of the imprinted tablet will be described.
Description will be given based on the flowchart of FIG. Take the
The appearance inspection of the stamped tablet is performed on the binary image on the image memory 16. First, the steps (hereinafter,
The labeling process is performed on the binary image in the image memory 16 by the abbreviation "S". The data table created by labeling is stored in the determination memory 22. Further, the connection area of the tablet is specified from the connection area subjected to the labeling process. If the binary image data corresponding to the surface of the tablet is one value and the binary image data of the foreign substance, the seal and the background of the tablet surface is the other value, the connected area of the tablet is the connected area of one value. Of these, a tablet that is determined as a tablet based on the number of pixels (size), coordinates (position), shape, etc. is specified as a tablet. For example, a tablet may be a connected area having a size equal to or larger than a certain number of pixels. Here, for the sake of convenience of description, one predetermined imprinted tablet (predetermined tablet 1) is processed, but the other tablets on the sheet simultaneously imaged simultaneously or sequentially are processed in the same manner. ing. FIG. 8 shows the table 80 for the connected area A which is the other value in the area of the predetermined tablet 1 which has been subjected to the labeling process.
Shown in. This table 80 is a part of the table created by labeling, and for each of a total of n numbered connected areas A, the minimum value XMIN of the X coordinate,
Maximum value of X coordinate XMAX, minimum value of Y coordinate YMIN, Y
The maximum coordinate value YMAX and the area B are obtained and stored. Here, the predetermined tablet 1 is stored in the image memory 16
It is assumed that it is displayed in the upper left corner of the above binary image. Also,
It is assumed that there are a total of n connected areas A in the area of the tablet 1.

【0030】次に、S2において、ラベリングされた所
定錠剤1の領域内の他方の値である連結領域から異物を
判別する。異物の認識方法としては、パターンマッチン
グまたは連結領域の重心と面積を基に基準データと比較
するにより捺印を認識し、捺印以外の連結領域を異物を
認識する方法などがあるが、ここでは異物である連結領
域の存在を把握できれば、捺印と異物を必ずしも区別す
る必要はないので、本実施例においては、処理速度を早
くするためより簡易な方法として、図7に示すように捺
印および異物の連結領域(他方の値の連結領域)に対す
る外接長方形を設け、その短辺の長さBSが短辺基準値
LMIN以上であり、かつ、外接長方形の長辺BLの長
さが長辺基準値LMAX以下であるか否かを判断するこ
とにより、異物の連結領域の存在を認識している。な
お、面積が一定値未満の大きさを持つ連結領域は外観検
査の対象から外すことによって、ノイズなどの誤差要因
のない、より信頼性のある外観検査を行うこともでき
る。
Next, in S2, a foreign substance is discriminated from the connected region which is the other value in the region of the labeled predetermined tablet 1. As a method of recognizing foreign matter, there is a method of recognizing the marking by pattern matching or comparing with the reference data based on the center of gravity and the area of the connected area, and recognizing the foreign material in the connected area other than the marking. If it is possible to grasp the existence of a certain connection area, it is not always necessary to distinguish between the marking and the foreign matter. Therefore, in this embodiment, as a simpler method for increasing the processing speed, as shown in FIG. A circumscribing rectangle is provided for the region (connecting region of the other value), the short side length BS is equal to or more than the short side reference value LMIN, and the length of the long side BL of the circumscribing rectangle is equal to or less than the long side reference value LMAX. By deciding whether or not it is, the existence of the foreign substance connection region is recognized. It should be noted that a connected area having a size smaller than a certain value is excluded from the objects of the appearance inspection, so that a more reliable appearance inspection without error factors such as noise can be performed.

【0031】そして、S3ではS2において異物の連結
領域が認識されなかった時は良品と判断しS4へ進み、
異物の連結領域が認識された時は不良と判断しS10へ
進み外観検査結果及び統計データメモリ24へ判定結果
を記憶する。
Then, in S3, when the connection area of the foreign matter is not recognized in S2, it is judged as a non-defective product, and the process proceeds to S4.
When the connected region of the foreign matter is recognized, it is determined to be defective and the process proceeds to S10 to store the appearance inspection result and the determination result in the statistical data memory 24.

【0032】次に、S4では所定錠剤1の領域内の他方
の値の連結領域を穴埋めする。穴埋めをした錠剤領域を
以後、穴埋め錠剤領域という。穴埋めは少なくとも捺印
部の連結領域に対して行い、捺印部のみでなく異物を含
むすべての所定錠剤1の領域内の連結領域に対して行っ
てもよい。本実施例においては、処理速度を早くするた
め捺印と異物を区別することなく処理している。穴埋め
は捺印部等の穴埋めすべき連結領域(他方の値)を、周
りの値(一方の値)に置き換えることにより行う。例え
ば、図5の捺印錠剤を2値化した映像データにおいて
は、捺印部3、4、5、6、および異物7の値(他方の
値)を周りの値、つまり捺印または異物のない錠剤表面
2の値(一方の値)に置き換えることによりおこなう。
図6に錠剤内部の連結領域を穴埋めをした図を示す。異
物8は錠剤内部の連結領域に該当しないため、穴埋めさ
れずに残っている。また、捺印部に対してのみ穴埋めを
する場合には、S2においてノイズ等と判断して外観検
査から外した他方の値の連結領域についても穴埋めする
ことにより、より信頼性のある外観検査を行うこともで
きる。
Next, in S4, the connection area of the other value in the area of the predetermined tablet 1 is filled. The tablet region in which the holes are filled will be referred to as a hole filling tablet region hereinafter. The filling may be performed at least in the connecting region of the stamped portion, and may be performed not only in the stamped portion but also in the coupled region within all the predetermined tablets 1 containing foreign matters. In this embodiment, in order to increase the processing speed, the marking and the foreign matter are processed without distinction. The filling is performed by replacing the connected area (the other value) to be filled such as the stamped portion with the surrounding value (the one value). For example, in the image data obtained by binarizing the imprinted tablet of FIG. 5, the values of the imprinted portions 3, 4, 5, 6 and the foreign substance 7 (the other value) are the surrounding values, that is, the tablet surface without the imprinted substance or the foreign substance. It is performed by replacing the value with 2 (one value).
FIG. 6 shows a diagram in which the connection region inside the tablet is filled with holes. Since the foreign matter 8 does not correspond to the connecting region inside the tablet, it remains without being filled. Further, when only the stamped portion is filled with holes, a more reliable appearance inspection is performed by also filling the connection area of the other value which is determined as noise or the like in S2 and excluded from the appearance inspection. You can also

【0033】そして、S5において所定錠剤1の中心を
求める。この中心は次のステップにおいてマスクエリア
を設定するときのマスクエリアの中心となる。中心は例
えば図9に示すように所定錠剤1に外接するX軸Y軸矩
形を設け、平行な2辺の中心線をそれぞれ求めその交点
を中心(図9中のTであり座標(X3,Y3))とする
こともできるし、S4において作成した穴埋め錠剤領域
の重心を中心としても良い。
Then, in S5, the center of the predetermined tablet 1 is obtained. This center becomes the center of the mask area when the mask area is set in the next step. As the center, for example, as shown in FIG. 9, an X-axis Y-axis rectangle circumscribing the predetermined tablet 1 is provided, center lines of two parallel sides are respectively obtained, and their intersections are centered (T in FIG. 9 and coordinates (X3, Y3 )), Or the center of gravity of the filling tablet region created in S4 may be used as the center.

【0034】次に、S6ではS5で求めた中心を中心と
して図10に示すようにマスクエリア9を設定する。穴
埋め錠剤領域をそのまま処理しても良いが、錠剤の外周
部付近のデータは不安定であるから、それを除去するこ
とにより以下の処理の信頼性をより高くすることがであ
る。錠剤の外周部付近のデータが不安定なのは、錠剤の
端部ではCCD上に結像した錠剤の像が、CCDの一つ
の画素の全面を覆わないこと、あるいは、錠剤の形状に
よって、例えば断面が楕円状の錠剤においては端部付近
はカメラに対し垂直に近い面となり光量が不足しやすい
等の理由からである。マスクエリアは被検体の錠剤と相
似形で1画素(直径で2画素)程度縮小した形状であ
り、錠剤の形状等からくる不安定領域が端部にある場合
はさらに検査対象となる領域は縮小する。図10では円
形の錠剤1に対して円形のマスクエリア9を設定してい
る。円形の錠剤の場合は、マスクエリアを設定する上で
傾きを考慮する必要がなく処理を高速化する上で適して
いる。
Next, in S6, the mask area 9 is set as shown in FIG. 10 with the center obtained in S5 as the center. The padding tablet area may be processed as it is, but since the data in the vicinity of the outer peripheral portion of the tablet is unstable, the reliability of the following processing may be improved by removing it. The data near the outer periphery of the tablet is unstable because the image of the tablet formed on the CCD at the edge of the tablet does not cover the entire surface of one pixel of the CCD, or depending on the shape of the tablet, for example, the cross-section is different. This is because, in the case of an elliptical tablet, the vicinity of the end is a surface that is almost vertical to the camera and the amount of light tends to be insufficient. The mask area has a shape similar to the tablet of the subject and is reduced by about 1 pixel (2 pixels in diameter). If an unstable area due to the shape of the tablet is at the end, the area to be inspected is further reduced. To do. In FIG. 10, a circular mask area 9 is set for the circular tablet 1. A circular tablet is suitable for speeding up the process because it is not necessary to consider the inclination when setting the mask area.

【0035】そして、S7において穴埋め錠剤領域の面
積Qを求める。本実施例では、錠剤円周部の不安定領域
を除去するため、マスクエリア内の穴埋め錠剤領域の面
積を穴埋め錠剤領域の面積Qとしている。さらに、穴埋
め錠剤領域の面積Qを求めるに当たって、ここでは、捺
印錠剤に対しマスクエリアをテンプレートマッチングす
る。テンプレートマッチングは、S6において中心に設
定されたマスクエリアによりマスクエリア内の穴埋め錠
剤領域の面積Q1を求た後、マスクエリアを右に1画素
移動し同様にマスクエリア内の穴埋め錠剤領域の面積Q
2を求める。さらに、中心に対し左に1画素、あるいは
上、下、斜め右上、斜め左上、斜め右下、斜め左下に、
1画素移動した位置にマスクエリアを設定しマスクエリ
ア内の穴埋め錠剤領域の面積Q3からQ9を求める。こ
の中で、最もマスクエリア自体の面積に近いもの(最も
大きい面積のもの)を穴埋め錠剤領域の面積Qとする。
装置を高速化する場合は、パターンマッチングの処理を
省略することもできる。その場合は、中心または重心を
一致させてマスクエリアを設定したときのマスクエリア
内の穴埋め錠剤領域の面積Q1を穴埋め錠剤領域の面積
Qとする。また、外周部付近の不安定なデータの除去
も、省略することができる。その場合は、穴埋め錠剤領
域の面積が、そのまま穴埋め錠剤領域の面積Qとなる。
Then, in S7, the area Q of the filling tablet region is obtained. In the present embodiment, the area of the filling tablet area in the mask area is set as the area Q of the filling tablet area in order to remove the unstable area in the tablet circumference. Further, in obtaining the area Q of the padding tablet area, the mask area is template-matched with the stamp tablet here. In the template matching, after the area Q1 of the filling tablet area in the mask area is obtained by the mask area set at the center in S6, the mask area is moved one pixel to the right and the area Q of the filling tablet area in the mask area is similarly set.
Ask for 2. Furthermore, one pixel to the left of the center, or above, below, diagonally upper right, diagonally upper left, diagonally lower right, diagonally lower left,
The mask area is set at a position moved by one pixel, and the areas Q3 to Q9 of the filling tablet area in the mask area are obtained. Of these, the area closest to the area of the mask area itself (the area having the largest area) is the area Q of the filling tablet area.
When increasing the speed of the device, the pattern matching process may be omitted. In that case, the area Q1 of the filling tablet area in the mask area when the mask area is set by matching the centers or the centers of gravity is set as the area Q of the filling tablet area. Also, the removal of unstable data near the outer peripheral portion can be omitted. In that case, the area of the filling tablet region is directly the area Q of the filling tablet region.

【0036】次に、S8では穴埋め錠剤領域の理論値Q
sと穴埋め錠剤領域の面積Qとの差が判定基準値Pより
も小さい時は、良品と判断しS9へ進み外観検査結果及
び統計データメモリ24へ判定結果を記憶する。一方、
判定基準値Pよりも大きい時は不良品と判断しS10へ
進み外観検査結果及び統計データメモリ24へ判定結果
を記憶する。ここで穴埋め錠剤領域の理論値Qsとは、
マスクエリアの面積である。また、マスクエリアを用い
ないときは、良品である錠剤のうち最も標準的な錠剤の
穴埋め錠剤領域の面積を理論値Qsとする。その場合、
穴埋め錠剤領域の面積Qが、穴埋め錠剤領域の理論値Q
sよりも大きくなる場合があるので、穴埋め錠剤領域の
理論値Qsと穴埋め錠剤領域の面積Qとの差の絶対値
を、一つの判定基準値Pと比較するか、正(Pplu
s)と負(Pminus)の二つの判定基準値を設けそ
の範囲内にあるか否かを判断する必要がある。
Next, in S8, the theoretical value Q of the filling tablet area
When the difference between s and the area Q of the filling tablet region is smaller than the judgment reference value P, it is judged as a non-defective product, the process proceeds to S9, and the appearance inspection result and the judgment result are stored in the statistical data memory 24. on the other hand,
When it is larger than the judgment reference value P, it is judged as a defective product, and the process proceeds to S10 to store the judgment result in the appearance inspection result and the statistical data memory 24. Here, the theoretical value Qs of the filling tablet area is
The area of the mask area. When the mask area is not used, the theoretical value Qs is the area of the fill-in tablet region of the most standard tablet among non-defective tablets. In that case,
The area Q of the filling tablet area is the theoretical value Q of the filling tablet area.
Since it may be larger than s, the absolute value of the difference between the theoretical value Qs of the filling tablet area and the area Q of the filling tablet area is compared with one judgment reference value P, or a positive value (Ppl
It is necessary to set two judgment reference values, s) and negative (Pminus), and judge whether or not it is within the range.

【0037】以上詳細に説明したように、本発明の捺印
錠剤検査装置では、捺印錠剤の表面全体のイメージデー
タを画素ごとに2値化し、前記捺印錠剤に相当する連結
領域である錠剤領域を特定し、その内部に存在する少な
くとも捺印に相当する連結領域に対し穴埋め処理をした
後、前記穴埋めをした前記錠剤領域である穴埋め錠剤領
域が基準範囲内にあるか否かを判断することにより、前
記捺印錠剤の外観を検査するので、捺印の影響を受ける
ことなく外縁部の異物および欠けを検出することが可能
となる。
As described in detail above, in the stamp tablet inspection apparatus of the present invention, the image data of the entire surface of the stamp tablet is binarized for each pixel, and the tablet area which is the connection area corresponding to the stamp tablet is specified. Then, after performing a filling process on the connection region corresponding to at least the seal present in the inside, by determining whether the filling tablet region is the tablet region that is the filling is within the reference range, Since the appearance of the imprinted tablet is inspected, it is possible to detect foreign matters and chips at the outer edge without being affected by the imprinting.

【0038】また、前記穴埋め錠剤領域から前記錠剤の
外周部のデータの不安定領域を除去して、演算するの
で、安定した検査が可能である。さらに、前記不安定領
域の除去は、良品である錠剤の輪郭と相似形であるマス
クエリアを設定し、その内側のみを錠剤領域または穴埋
め錠剤領域とするので、容易に不安定領域を除去するこ
とができる。
Further, since the unstable region of the data on the outer peripheral portion of the tablet is removed from the padded tablet region and the calculation is performed, stable inspection is possible. Furthermore, in the removal of the unstable area, a mask area having a similar shape to the contour of the tablet which is a good product is set, and only the inside thereof is the tablet area or the filling tablet area, so that the unstable area can be easily removed. You can

【0039】また、マスクエリアをテンプレートマッチ
ングにより設定するので、マスクエリアを正確に設定す
ることができる。従って、不安定領域を精度よく除去す
ることができるので、検査エリアを必要以上に狭くする
ことがない。
Since the mask area is set by template matching, the mask area can be set accurately. Therefore, the unstable area can be removed with high accuracy, and the inspection area is not made unnecessarily narrow.

【0040】また、捺印を連結領域として捉え穴埋めす
ることにより処理しているので、処理が単純で高速処理
ができるため、複数の捺印錠剤を一度に撮像し、それぞ
れの捺印錠剤に対してそれぞれ独立して検査することが
でき、搬送中のブリスターシートのポケット部に充填さ
れた捺印錠剤の外観をブリスターシート包装機内で検査
することができる
Further, since the marking is treated as a connected area and the processing is performed by filling in the holes, the processing is simple and high-speed processing is possible. Therefore, a plurality of marking tablets are imaged at one time, and each marking tablet is independently processed. The appearance of the imprinted tablet filled in the pocket of the blister sheet during transportation can be inspected in the blister sheet packaging machine.

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

【図1】本発明の捺印錠剤の外観検査方法の手順を示し
たフローチャート図である。
FIG. 1 is a flow chart showing a procedure of an appearance inspection method for a stamped tablet of the present invention.

【図2】本発明の捺印錠剤の外観検査方法の全体構成を
示すブロック図である。
FIG. 2 is a block diagram showing an entire configuration of a stamp tablet appearance inspection method of the present invention.

【図3】ブリスタシート包装機の一部を示した斜視図で
あり、搬送中のブリスタシートのポケット部に充填され
た捺印錠剤の外観を撮像する部分を示した図である。
FIG. 3 is a perspective view showing a part of the blister sheet packaging machine, and is a view showing a portion for imaging the appearance of the imprinted tablet filled in the pocket portion of the blister sheet being conveyed.

【図4】本発明の捺印錠剤の外観検査方法の機能構成を
示すブロック図である。
FIG. 4 is a block diagram showing a functional configuration of a stamp tablet appearance inspection method of the present invention.

【図5】捺印錠剤を2値化した映像データを示す図であ
る。
FIG. 5 is a diagram showing image data obtained by binarizing a stamp tablet.

【図6】穴埋めをした後の捺印錠剤の映像データを示す
図である。
FIG. 6 is a diagram showing image data of a stamped tablet after being filled.

【図7】捺印錠剤の外観と外接長方形を示す図である。FIG. 7 is a diagram showing an appearance of a stamped tablet and a circumscribed rectangle.

【図8】判定用メモリに作成されるテーブルの内容を示
した図
FIG. 8 is a diagram showing the contents of a table created in a judgment memory.

【図9】穴埋め錠剤領域と中心を求めるための外接矩形
を示す図である。
FIG. 9 is a diagram showing a filled tablet area and a circumscribed rectangle for obtaining the center.

【図10】穴埋め錠剤領域にマスクエリアを設けた図で
ある。
FIG. 10 is a diagram in which a mask area is provided in the filling tablet area.

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

1 錠剤 10 錠剤の外観検査装置 12 蛍光灯 30 ブリスタシート包装機 43 ブリスタシート 44 ブリスタシートのポケット部 B 外接長方形 BL 外接長方形の長辺 BS 外接長方形の短辺 A 連結領域 B 面積 XMIN 連結領域のX座標の最小値 XMAX 連結領域のX座標の最大値 YMIN 連結領域のY座標の最小値 YMAX 連結領域のY座標の最大値 1 tablet 10 Tablet visual inspection device 12 Fluorescent lamp 30 blister sheet packing machine 43 Blister sheet 44 Blister sheet pocket B circumscribed rectangle BL long side of circumscribed rectangle Short side of BS circumscribed rectangle A connection area B area XMIN Minimum value of X coordinate of connected area XMAX Maximum value of X coordinate of connected area YMIN Minimum value of Y coordinate of connected area YMAX Maximum value of Y coordinate of connected area

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−229050(JP,A) 特開 平7−209195(JP,A) 特開 平4−102050(JP,A) 特開 平5−203584(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01N 21/84 - 21/958 ─────────────────────────────────────────────────── --- Continuation of the front page (56) References JP 62-229050 (JP, A) JP 7-209195 (JP, A) JP 4-102050 (JP, A) JP 5- 203584 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G01N 21/84-21/958

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】捺印錠剤の表面全体のイメージデータを画
素ごとに2値化し、前記捺印錠剤に相当する連結領域で
ある錠剤領域を特定し、その内部に存在する少なくとも
捺印に相当する連結領域に対し穴埋め処理をした後、前
記穴埋めをした前記錠剤領域である穴埋め錠剤領域が基
準範囲内にあるか否かを判断することにより、前記捺印
錠剤の外観を検査することを特徴とする捺印錠剤の外観
検査方法。
1. The image data of the entire surface of the stamped tablet is binarized for each pixel, the tablet region which is the connected region corresponding to the stamped tablet is specified, and the connected region corresponding to at least the stamped region existing inside thereof is specified. After performing a hole filling process, by checking whether the hole filling tablet area that is the tablet area that has been filled is within a reference range, the appearance of the stamped tablet is inspected. Appearance inspection method.
【請求項2】請求項1記載に記載する捺印錠剤の外観検
査方法において、前記穴埋め処理は捺印に相当する連結
領域の値を、周囲の値にすることにより行うことを特徴
とする捺印錠剤の外観検査方法。
2. The method for inspecting the appearance of a stamp tablet according to claim 1, wherein the hole filling process is performed by setting a value of a connecting region corresponding to the stamp to a peripheral value. Appearance inspection method.
【請求項3】請求項1又は請求項2記載の捺印錠剤の外
観検査方法において、前記穴埋め錠剤領域から、前記錠
剤の外周部におけるデータの不安定領域を除去した上
で、基準範囲内にあるか否かを判断することにより、前
記捺印錠剤の外観を検査することを特徴とする捺印錠剤
の外観検査方法。
3. The method for inspecting a stamped tablet according to claim 1 or 2, wherein an unstable area of data in the outer peripheral portion of the tablet is removed from the hole-filling tablet area, and then the value is within a reference range. A method for inspecting the appearance of a stamped tablet, which comprises inspecting the appearance of the stamped tablet by determining whether or not the appearance.
【請求項4】請求項3記載の捺印錠剤の外観検査方法に
おいて、前記不安定領域の除去は、良品である錠剤の輪
郭と相似形であるマスクエリアを穴埋め錠剤領域に設定
することにより除去することを特徴とする捺印錠剤の外
観検査方法。
4. The appearance inspection method for a stamped tablet according to claim 3, wherein the unstable area is removed by setting a mask area similar to the contour of a non-defective tablet to the hole-filling tablet area. A method for inspecting the appearance of a stamped tablet, which is characterized in that
【請求項5】請求項4記載の捺印錠剤の外観検査方法に
おいて、前記マスクエリアは前記錠剤と中心または重心
を一致させて設定することを特徴とする捺印錠剤の外観
検査方法。
5. The method for inspecting the appearance of a stamped tablet according to claim 4, wherein the mask area is set such that the center or the center of gravity of the tablet coincides with that of the tablet.
【請求項6】請求項4記載の捺印錠剤の外観検査方法に
おいて、前記マスクエリアはテンプレートマッチングに
より設定することを特徴とする捺印錠剤の外観検査方
法。
6. The method for inspecting the appearance of a stamped tablet according to claim 4, wherein the mask area is set by template matching.
【請求項7】請求項1乃至請求項6記載のいずれか一つ
に記載する捺印錠剤の外観検査方法において、複数の捺
印錠剤を一度に撮像し、それぞれの捺印錠剤に対してそ
れぞれ独立して検査することを特徴とする捺印錠剤の外
観検査方法。
7. The method for inspecting the appearance of a marking tablet according to any one of claims 1 to 6, wherein a plurality of marking tablets are imaged at one time and each marking tablet is independently photographed. A visual inspection method for a stamped tablet, which is characterized by inspecting.
【請求項8】請求項1乃至請求項7のいずれか一つに記
載する捺印錠剤の検査方法において、搬送中のブリスタ
ーシートのポケット部に充填された捺印錠剤の外観をブ
リスターシート包装機内で検査することを特徴とする捺
印錠剤の外観検査方法。
8. The method for inspecting a stamp tablet according to any one of claims 1 to 7, wherein the appearance of the stamp tablet filled in the pocket portion of the blister sheet being conveyed is inspected in a blister sheet packaging machine. A method for inspecting the appearance of a stamped tablet, which comprises:
【請求項9】請求項1乃至請求項8のいずれか一つに記
載する捺印錠剤の外観検査方法を実施することを特徴と
する捺印錠剤の外観検査装置。
9. An appearance inspection apparatus for a stamped tablet, which carries out the appearance inspection method for a stamped tablet according to any one of claims 1 to 8.
JP29299898A 1998-09-29 1998-09-29 Appearance inspection method and device for stamped tablets Expired - Fee Related JP3461128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29299898A JP3461128B2 (en) 1998-09-29 1998-09-29 Appearance inspection method and device for stamped tablets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29299898A JP3461128B2 (en) 1998-09-29 1998-09-29 Appearance inspection method and device for stamped tablets

Publications (2)

Publication Number Publication Date
JP2000105197A JP2000105197A (en) 2000-04-11
JP3461128B2 true JP3461128B2 (en) 2003-10-27

Family

ID=17789163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29299898A Expired - Fee Related JP3461128B2 (en) 1998-09-29 1998-09-29 Appearance inspection method and device for stamped tablets

Country Status (1)

Country Link
JP (1) JP3461128B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4455348B2 (en) * 2005-01-17 2010-04-21 シーケーディ株式会社 Inspection device and PTP packaging machine
CN110032946B (en) * 2019-03-21 2021-02-12 西安交通大学 Aluminum/aluminum blister packaging tablet identification and positioning method based on machine vision

Also Published As

Publication number Publication date
JP2000105197A (en) 2000-04-11

Similar Documents

Publication Publication Date Title
US5510610A (en) Apparatus for detecting defects on the bottom of bottles by manipulating an image to remove knurls
JP3640247B2 (en) Tablet appearance inspection device and PTP packaging machine
JP5670915B2 (en) Appearance inspection device
JPH09231362A (en) Appearance inspecting device and its method
JP4332122B2 (en) Appearance inspection device and PTP packaging machine
JP2003215047A (en) Visual inspection apparatus and ptp packaging machine equipped with the same
JP3929647B2 (en) Tablet appearance inspection device and PTP packaging machine
JPH09231342A (en) Method and device for inspecting tablet
JP3344995B2 (en) Tablet surface inspection device
JP4304690B2 (en) Tape member inspection device
JP3461128B2 (en) Appearance inspection method and device for stamped tablets
JPH10246707A (en) Method for inspecting sealed package
JP3557081B2 (en) Appearance inspection method for stamped tablets and appearance inspection device for stamped tablets
KR20010098460A (en) Appearance inspection method and appearance inspection apparatus having high inspection processing speed
JP4030716B2 (en) Tablet appearance inspection device and PTP packaging machine
JP3549752B2 (en) PTP sheet appearance inspection device and PTP packaging machine
JP3494561B2 (en) Tablet appearance inspection method and tablet appearance inspection device
JPH0560537A (en) Through-hole inspection device
JP2000200355A (en) Production of check program for cream solder print checking machine
JP2794083B2 (en) Image processing equipment for cans
JP2005009981A (en) Inspection method and inspection apparatus for superposed state of superposed object
JP3585708B2 (en) Tablet appearance inspection method and tablet appearance inspection device
JP2818347B2 (en) Appearance inspection device
JP2005300174A (en) Apparatus and method for inspecting package
JPH102725A (en) Visual inspection device for tape carrier package

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140815

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees