JP4256434B2 - Method and device for testing packaged medicine - Google Patents

Method and device for testing packaged medicine Download PDF

Info

Publication number
JP4256434B2
JP4256434B2 JP2007149013A JP2007149013A JP4256434B2 JP 4256434 B2 JP4256434 B2 JP 4256434B2 JP 2007149013 A JP2007149013 A JP 2007149013A JP 2007149013 A JP2007149013 A JP 2007149013A JP 4256434 B2 JP4256434 B2 JP 4256434B2
Authority
JP
Japan
Prior art keywords
medicine
drug
image
packaged
data
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
JP2007149013A
Other languages
Japanese (ja)
Other versions
JP2008018230A (en
Inventor
史章 竹田
Original Assignee
株式会社 タフティ
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 株式会社 タフティ filed Critical 株式会社 タフティ
Priority to JP2007149013A priority Critical patent/JP4256434B2/en
Publication of JP2008018230A publication Critical patent/JP2008018230A/en
Application granted granted Critical
Publication of JP4256434B2 publication Critical patent/JP4256434B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

この発明は、分包された薬剤(錠剤およびカプセルからなる薬剤(いいかえれば、粉薬や顆粒薬を除く薬剤))が処方されたところの正しい薬剤であるか否かを自動的に照合する検薬方法とその検薬装置に関するものである。   The present invention automatically detects whether or not a packaged medicine (a medicine composed of tablets and capsules (in other words, a medicine excluding powders and granules)) is a correct medicine. The present invention relates to a method and a drug inspection device.

病院や医院の薬局では、通常、薬剤分包装置によって患者ごとに処方される薬剤を一回ごとの服用に適するように分包することが行なわれている。このような薬剤分包作業は薬剤師が直接あるいは薬剤師の監理の下で看護師等により手作業によったり包合機を用いたりして袋詰めしたり、薬剤分包装置により全自動的に行われたりしている。   In a pharmacy of a hospital or a clinic, a medicine prescribed for each patient is usually packaged by a medicine packaging device so as to be suitable for each dose. Such drug packaging work is performed by a pharmacist, either directly or under the supervision of a pharmacist, by a nurse or the like by hand or using a packaging machine, or automatically by a drug packaging device. It has been broken.

通常、処方箋に基づいて処方される薬剤は、手作業によって分包されるときに、個々の仕分け用薬剤引き出しに誤って処方外の薬剤が入ったことに起因して結果的に分包ミスが生じる場合と、仕分け用薬剤引き出しには正しい薬剤が入っているにも拘わらず、人為的なミスにより誤った分包がなされる場合とがある。   Usually, drugs prescription based on prescriptions, when manually packaged, will result in missed packaging due to accidental inclusion of unprescription drugs in individual sorting drug drawers. There are cases where it occurs, and in spite of the correct medicine being contained in the medicine withdrawal for sorting, there is a case where erroneous packaging is made due to human error.

一方、薬剤分包装置を用いて分包されるときは、仕分け用薬剤引き出しには正しい薬剤が入っているが、引き出しから自動的に搬送されて分包される際にその搬入路から錠剤やカプセルなどの薬剤が飛び出し、袋内に搬入されないために、薬剤の分包ミスが起こることがある。このため、分包された薬剤が処方箋通りに分包されているかどうかの照合、いわゆる、検薬を行なってから患者へ渡されている。   On the other hand, when the medicine is packaged using the medicine packaging device, the correct medicine is contained in the sorting medicine drawer, but when the medicine is automatically conveyed from the drawer and packaged, the tablet or Drugs such as capsules pop out and are not carried into the bag, which may cause miss-packaging of the drug. For this reason, after collating whether the packaged medicine is packaged according to the prescription, so-called drug inspection, it is delivered to the patient.

ところで、このような検薬作業は、分包された薬剤と処方箋とを見比べ、実際に分包された一分包ごとの薬剤と処方箋リストに記載された薬剤とを目視にてチェックしなければならないため、時間のかかる煩雑な作業となっており、薬局窓口での待ち時間を長くする原因となっている。   By the way, in such a medicine inspection work, the packaged medicine and the prescription must be compared, and the actually packed medicine for each package must be checked visually with the medicine listed in the prescription list. Therefore, it is a time-consuming and complicated work, and causes a long waiting time at the pharmacy window.

そこで、この問題を解決する一つの方法として、錠剤分包装置に処方データを印字するプリンタを備え、そのプリンタによって薬剤分包の分割分包部と別に形成した処方内容表示部に錠剤種、錠剤数および患者名などを印字し、その錠剤種、錠剤数および患者名などを印字した処方内容表示部を検薬の際に見ることにより、処方箋リストをいちいち見なくても検薬が行なえるようにしたものが提案されている(例えば、特許文献1参照)。   Therefore, as one method for solving this problem, a tablet packaging device is provided with a printer that prints prescription data, and the prescription content display unit formed separately from the divided packaging unit of the medicine packaging by the printer is used for the tablet type and tablet. The number and patient name etc. are printed, and the prescription content display section with the tablet type, the number of tablets and the patient name, etc. printed can be seen at the time of drug examination, so that the drug can be examined without looking at the prescription list one by one (See, for example, Patent Document 1).

しかしながら、特許文献1の方法では、プリンタの印字速度が薬剤の分包速度に比べて遅く、しかも、プリンタによって印字される処方内容表示部を分包袋に設けたため、印字処理が終わるまで分包処理を完了することができず分包速度の低下を招く。そこで、分包速度を速くする、他の先行技術として、分包情報を記憶させたトランスポンダを薬剤分包に自動的に取り付ける錠剤分包装置とその錠剤分包装置によって分包された薬剤分包を検薬するための検薬カウンタとからなり、上記錠剤分包装置が、複数の種類の錠剤を収納する複数の錠剤フィーダと、トランスポンダを収納した錠剤フィーダを備えるとともに、前記錠剤フィーダから排出される錠剤およびトランスポンダを分包処理する包装装置と、包装装置で分包されたトランスポンダとの発信/受信用アンテナと読み取り/書き込み器を備え、一方、検薬カウンタには、トランスポンダへの発信/受信用アンテナと、トランスポンダの読み取り/書き込み器と、その受信結果を表示する出力端末とを備え、薬剤分包の際、トランスポンダに、薬剤データと患者の認識データなどからなる分包情報を書き込み、その分包情報を書き込んだトランスポンダを、薬剤を入れた分包に繋げて薬剤を入れない分包に投入して取り付け、そのトランスポンダを取り付けた薬剤分包の検薬の際に、前記薬剤分包に対して送信要求信号を発信し、その要求信号によって送信される分包情報を読取って、読取ったデータに基づいて表示装置に表示される分包情報と分包された薬剤の照合を行なう薬剤分包装置が提案されている(例えば、特許文献2参照)。
特公平3−35181号公報 特許第3634024号公報
However, in the method of Patent Document 1, since the printing speed of the printer is slower than the packaging speed of the medicine, and the prescription content display portion printed by the printer is provided in the packaging bag, the packaging is performed until the printing process is completed. Processing cannot be completed, resulting in a decrease in packaging speed. Therefore, as another prior art that increases the packaging speed, a tablet packaging device that automatically attaches a transponder that stores packaging information to the medication packaging, and the medicine packaging that is packaged by the tablet packaging device. The tablet dispensing device includes a plurality of tablet feeders that store a plurality of types of tablets and a tablet feeder that stores a transponder, and is discharged from the tablet feeder. Device for separating and packaging tablets and transponders, an antenna for transmitting / receiving the transponder packaged by the packaging device, and a reader / writer, while the drug counter has a transmitter / receiver for the transponder Antenna, a transponder reader / writer, and an output terminal for displaying the reception result. The package information including the drug data and the patient's recognition data is written in the package, and the transponder in which the package information is written is connected to the package containing the drug and inserted into the package that does not contain the drug. When the medicine package attached with the transponder is inspected, a transmission request signal is transmitted to the medicine package, and the packaging information transmitted by the request signal is read and displayed based on the read data. There has been proposed a medicine packaging apparatus that collates the packaging information displayed on the apparatus with the packaged medicine (for example, see Patent Document 2).
Japanese Examined Patent Publication No. 3-35181 Japanese Patent No. 3634024

しかしながら、上記特許文献2に記載の装置は、薬剤分包装置に分包された薬剤の照合を行う検薬装置が一体に組み込まれており、汎用性を欠き、装置が大がかりとなる。   However, the device described in Patent Document 2 includes a medicine inspection device that collates medicines packaged in the medicine packaging device, and lacks versatility, which makes the device large.

本発明は上述の点に鑑みなされたもので、装置が小型で比較的低コストで製造でき、薬剤分包装置により分包した薬剤だけでなく、手作業により分包して包装したり、包装(袋詰め)作業だけを装置を用いて行ったりした薬剤についても照合することが可能な検薬方法と検薬装置を提供することを課題としている。   The present invention has been made in view of the above points, and the apparatus is small and can be manufactured at a relatively low cost. In addition to the medicine packaged by the medicine packaging apparatus, the apparatus can be packaged and packaged manually. It is an object of the present invention to provide a drug inspection method and a drug inspection device capable of collating drugs that have only been (packed) using a device.

上記の課題を解決するために本発明に係る分包薬剤の検薬方法は、一回ごとの服用に応じて分包された錠剤あるいはカプセルからなる薬剤が処方箋通りの薬剤であるか否かを照合するもので、一回服用分ごとに薬剤が分包された各透明な袋内の薬剤をカラー撮影し、薬剤ごとに画像処理して長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出するとともに、一画素ごとにRGBの濃度値をそれぞれ算出し、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合する分包薬剤の検薬方法であって
a)前記画像処理を、カラー画像を二値化画像に変換し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行ったのち、ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像ごとに、長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出する工程と、b)隣接する薬剤が接触した状態の場合には、接触した各薬剤の画素を外周側から徐々に削っていき、離間させた後に画素を削る前の状態に戻し、前記各薬剤の形状を特定する工程とを備えることを特徴とする。
In order to solve the above-mentioned problems, the method for testing a packaged medicine according to the present invention determines whether or not a medicine composed of tablets or capsules packaged according to each dose is a medicine as prescribed. Colors are taken of the medicine in each transparent bag in which the medicine is packaged for each dose, and image processing is performed for each medicine to determine the length in the major axis direction, the length in the minor axis direction, and the area. Calculate based on the number of pixels, calculate the RGB density value for each pixel, and compare it with the reference image data of each medicine prescribed for each dose. A method for testing a packaged drug for checking whether a packaged drug matches a drug according to a prescription ,
a) The image processing is performed by converting a color image into a binarized image, extracting edges from the binarized images of the respective drugs, performing labeling, then cutting out the labeled areas in order, and labeling the images of the respective drugs A step of calculating the length in the major axis direction, the length in the minor axis direction, and the area based on the number of pixels, and b) in the state where the adjacent medicines are in contact, the pixels of each medicine in contact are A step of gradually scraping, returning to a state before scraping the pixel after separation, and specifying the shape of each medicine .

上記の構成を有する本発明に係る分包薬剤の検薬方法によれば、一回に服用すべき薬剤が処方箋にて処方された基準画像データと、長軸長さ(長径)、短軸長さ(短径)および面積、並びに色彩においてそれぞれ一致するか否かが照合され、各透明な袋内の分包された薬剤の正否が判定されるから、検薬精度が高く、間違いが起こりにくい。   According to the method for testing a packaged drug according to the present invention having the above-described configuration, reference image data in which a drug to be taken at one time is prescribed by a prescription, a major axis length (major axis), and a minor axis length Whether or not the length (minor axis), area, and color match each other is checked, and the correctness of the medicine packaged in each transparent bag is judged. .

請求項2に記載のように、前記各袋の裏側からも前記袋内の薬剤のシルエットを別のカメラにて撮影するとともに、前記別のカメラで撮影した個々の薬剤のシルエット画像について、グレースケール化処理して二値化画像に変換し、隣接する薬剤のうち接触箇所がある場合には、収縮処理を施して薬剤の二値化画像の外周側から一画素ずつ削っていき、離間後に画素を削る前の状態に戻して薬剤の元の形状を復元し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行い、前記各薬剤の長軸方向長さ、短軸方向長さ、面積を画素数に基づきそれぞれ算出して形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出し、これらの薬剤の形状データと薬剤の色相データのみ又は同色相データおよび刻印・文字を含むカラー画像データとを重ね合わせて融合したうえで、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合することができる。 As described in claim 2, the silhouette of the medicine in the bag is photographed from the back side of each bag by another camera, and the silhouette image of each medicine photographed by the another camera is grayscale. Conversion to a binarized image, and if there is a contact location among adjacent drugs, a contraction process is performed to scrape one pixel at a time from the outer periphery of the binarized image of the drug, and the pixel after separation To restore the original shape of the drug by returning to the state before shaving, extract the edge from the binarized image of each drug, perform the labeling, the major axis length of each drug, the minor axis length, The area is calculated based on the number of pixels to identify the shape, and the color-captured image is calculated for each pixel with RGB density values, and the shape data of these drugs and only the hue data of the drugs or the same hue Data and Upon fused by superimposing a color image data including the indicia, text, by comparison with the reference image data for the individual drugs formulated once every dose fraction was packing in each clear plastic bag Whether or not the medicine matches the medicine on the prescription can be collated.

上記の構成を有する請求項2に係る分包薬剤の検薬方法によれば、一回に服用すべき薬剤が処方箋にて処方された基準画像データと、長径、短径および面積、並びに色彩においてそれぞれ一致するか否かが照合され、各透明な袋内の分包された薬剤の正否が判定されるから、検薬精度が高く、間違いが起こりにくいという効果に加えて、以下の効果がある。すなわち、無反射光源による単一方向からのカメラによる撮像では、袋の乱反射がある程度軽減されるとしても、薬剤の色相によっては形状の特定が困難な場合がある。これは、袋表面で乱反射するため光源の光量を必要以上に上げられないことに起因する。つまり、特定の色相を想定して形状抽出用しきい値を固定すると、他の色相では有効でない。この解決策として、たとえば、複数のしきい値を薬剤の形状抽出に使用することが考えられるが、袋内の薬剤の位置によって乱反射の状態が変化するので、薬剤の形状を確実に特定できるとは限らない。しかし、この検薬方法によると、袋の表側に平行光線が照射された裏側から撮影することによって薬剤のシルエット画像を得るので、薬剤の色相だけでなく、乱反射や薬剤に付された刻印や文字に影響されず、薬剤の形状を確実に特定でき、しかもシルエット画像のためにグレースケール化され、黒色または灰色として捉えられるので、1つのしきい値で形状を抽出して特定(薬剤の面積や長径や短径)できる。そして、その上で表側のカラー画像を画像フレーム内の座標に基づいて重ね合わせるので、薬剤の色相データを含む色彩情報も形状情報とともに個々の薬剤について得られる。   According to the method for testing a packaged drug according to claim 2 having the above-described configuration, in reference image data in which a drug to be taken at one time is prescribed by a prescription, a major axis, a minor axis, an area, and a color Whether or not they match each other is checked, and the correctness of the packaged medicine in each transparent bag is determined. In addition to the effects of high drug testing accuracy and less chance of error, there are the following effects . That is, in the case of imaging with a camera from a single direction using a non-reflective light source, it may be difficult to specify the shape depending on the color of the medicine, even if the irregular reflection of the bag is reduced to some extent. This is because the amount of light from the light source cannot be increased more than necessary because of irregular reflection on the bag surface. That is, if the shape extraction threshold is fixed assuming a specific hue, it is not effective for other hues. As a solution to this, for example, it is conceivable to use a plurality of threshold values for extracting the shape of the medicine. However, since the state of irregular reflection changes depending on the position of the medicine in the bag, the shape of the medicine can be specified reliably. Is not limited. However, according to this method, the silhouette image of the drug is obtained by taking a picture from the back side where the parallel light is irradiated on the front side of the bag, so that not only the hue of the drug but also the irregular reflections and the stamps and characters attached to the drug The shape of the drug can be reliably identified without being influenced by the image, and it is grayscaled for the silhouette image and captured as black or gray. Long diameter and short diameter). Since the color image on the front side is overlaid on the basis of the coordinates in the image frame, color information including the hue data of the drug is obtained for each drug along with the shape information.

特に、薬剤の形状については、1)シルエット画像からの薬剤の切り出しであるから、袋表面における多方向性乱反射の影響を受けることがなく、またカラー画像を用いる場合と比較してたとえば8近傍収縮処理が一層有効に機能し、個々の薬剤の正確な形状の抽出が可能になる。2)薬剤上に付された文字や刻印などが形状の抽出に影響されない。3)一つで複数色を有するカプセル状薬剤などの形状を色相に関係なく抽出可能である。4)薬剤の種々の色相に影響されることなく形状を抽出できる。   In particular, with regard to the shape of the drug, 1) since the drug is cut out from the silhouette image, it is not affected by multidirectional irregular reflection on the bag surface, and, for example, contracts near 8 compared with the case of using a color image. The process functions more effectively, and it is possible to extract the exact shape of each drug. 2) Letters or inscriptions on the drug are not affected by shape extraction. 3) It is possible to extract one shape such as a capsule-like medicine having a plurality of colors irrespective of the hue. 4) The shape can be extracted without being affected by various hues of the drug.

上記の課題を解決するために本発明に係る分包薬剤の検薬装置(請求項3)は、一回ごとの服用に応じて分包された錠剤あるいはカプセルからなる薬剤が処方箋通りの薬剤であるか否かを照合する分包薬剤の検薬装置であって、前記分包薬剤に対して表側に配置されるカメラと前記分包薬剤の表側に光線を照射する照明器とからなる撮影ユニットと、この撮影ユニットを、一回服用分ごとに薬剤が分包された透明な袋上を相対的に一回服用分ごと移動させる移動手段と、一回服用分ごとの薬剤を前記カメラにてカラー撮影し、カラー画像を二値化画像に変換し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行ったのち、ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像ごとに、長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出して個々の薬剤の形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出して個々の薬剤の色相データを含むカラー画像データと薬剤の前記形状データとを融合し、さらに前記袋内の薬剤が接触した状態で撮像された場合には、接触した各薬剤の画素を外周側から徐々に削っていき、離間させた後に画素を削る前の状態に戻し、薬剤の形状を特定する画像処理・演算手段と、この画像処理・演算手段にて算出した一回服用分ごとの薬剤データを、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合する判定手段とを備えることを特徴とする。 In order to solve the above-mentioned problems, the medicine dispensing device according to the present invention (Claim 3) is a medicine composed of tablets or capsules packaged according to each dose, as a medicine as prescribed. An apparatus for detecting a packaged medicine for checking whether or not there is an imaging unit comprising a camera arranged on the front side of the packaged medicine and an illuminator that irradiates light on the front side of the packaged medicine And a moving means for moving the imaging unit relative to a single dose on a transparent bag in which the drug is packaged for each dose, and for each dose of the drug by the camera. Color shooting , converting the color image into a binarized image, extracting the edge from the binarized image of each drug, and after labeling, cut out the labeled area in order, for each drug image labeled, Long axis direction length, short axis direction length, area Calculation based on the number of pixels specifies the shape of each drug, and color image data including the hue data of each drug by calculating the RGB density value for each pixel of the color photographed image and the drug When the shape data is merged and the image is taken in a state where the medicine in the bag is in contact, the contacted pixels of the medicine are gradually scraped from the outer peripheral side, and after being separated, before the pixels are shaved To each state, the image processing / calculation means for specifying the shape of the medicine, and the medicine data for each dose calculated by the image processing / calculation means, each medicine prescribed for each dose By comparing with the reference image data, it is provided with a determining means for collating whether or not the medicine packaged in each transparent bag matches the medicine according to the prescription.

上記の構成を有する本発明に係る分包薬剤の検薬装置によれば、一回分ごとに分包された薬剤を撮影し、個々の薬剤について寸法と面積を割り出し、色相についてもRGBの255の階調(濃度値)で特定するので、検薬精度が高く、分包された薬剤の正否を正確に判定できる。しかも、分包した薬剤の透明な袋上を撮影ユニットが間欠的に相対的に移動しながら撮影し、画像処理して基準データと対比して照合するので、照合作業に時間がかからず、効率的に検薬できるから、薬局前などでの患者の待ち時間を大幅に短縮でき、薬剤師などの作業負担を非常に軽減できる。   According to the packaged drug testing device according to the present invention having the above-described configuration, the packaged medicine is photographed for each batch, the size and area of each drug are determined, and the hue of RGB is 255. Since it is specified by the gradation (concentration value), the accuracy of drug inspection is high, and the correctness of the packaged medicine can be accurately determined. Moreover, since the imaging unit intermittently moves relative to the packaged medicine transparent bag, and the image is processed and compared with the reference data, the verification operation does not take time. Since the drug can be examined efficiently, the waiting time of the patient in front of the pharmacy can be greatly shortened, and the work load on the pharmacist can be greatly reduced.

請求項4に記載のように、前記分包薬剤に対し裏側に配置される他方のカメラと、前記他方のカメラにて前記分包薬剤のシルエットを裏側から撮影し、それらのシルエット画像についてグレースケール化処理し、隣接する薬剤が接触している場合には収縮処理を施し切り離し後に収縮処理前の状態に復元して薬剤ごとに長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出して個々の薬剤の形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出して個々の薬剤の色相データを含むカラー画像データと薬剤の前記形状データとを融合する画像処理・演算手段と、を備えることができる。 5. The other camera disposed on the back side with respect to the packaged medicine and the silhouette of the packaged medicine taken from the back side with the other camera as defined in claim 4, and the silhouette images are grayscale. If the adjacent drug is in contact with each other, the contraction process is performed, and after separation, the state before the contraction process is restored and the length in the major axis direction, the length in the minor axis direction, and the area are set to the number of pixels for each drug. In addition to specifying the shape of each drug by calculation based on the color image data including the hue data of each drug by calculating the RGB density value for each pixel of the color photographed image and the shape data of the drug And image processing / calculation means for fusing them .

請求項4に係る分包薬剤の検薬装置によれば、一回分ごとに分包された薬剤を表側と裏側とからそれぞれ撮影し、個々の薬剤の形状については裏側から撮影したシルエット画像により寸法と面積を割り出して形状を特定し、色相については表側から撮影したカラー画像によりRGBの255の階調(濃度値)で特定し、表側のカラー画像と裏側のグレースケール化した形状画像とを画像フレーム内の座標に基づいて重ね合わせるので、薬剤の色相情報と形状情報とが融合された薬剤データが袋表面の乱反射や薬剤に付された刻印や文字に影響されずに個々の薬剤について確実に得られ、検薬精度が高く、分包された薬剤の正否を正確に判定できる。しかも、分包した薬剤の透明な袋上を撮影ユニットが間欠的に相対的に移動しながら撮影し、画像処理して基準データと対比して照合するので、照合作業に時間がかからず、効率的に検薬できるから、薬局前などでの患者の待ち時間を大幅に短縮でき、薬剤師などの作業負担を非常に軽減できる。   According to the medicine inspection device for packaged medicine according to claim 4, the medicines packaged for each time are photographed from the front side and the back side, and the shape of each medicine is measured by silhouette images photographed from the back side. The shape is determined by determining the area and the hue is specified with a gradation (density value) of RGB of 255 by a color image taken from the front side, and the color image on the front side and the shape image converted to gray scale on the back side are imaged. Since superimposition is based on the coordinates in the frame, the drug data in which the hue information and shape information of the drug are fused ensures that the individual drugs are not affected by irregular reflection on the bag surface or the markings or characters attached to the drug. The obtained drug accuracy is high and the correctness of the packaged drug can be accurately determined. Moreover, since the imaging unit intermittently moves relative to the packaged medicine transparent bag, and the image is processed and compared with the reference data, the verification operation does not take time. Since the drug can be examined efficiently, the waiting time of the patient in front of the pharmacy can be greatly shortened, and the work load on the pharmacist can be greatly reduced.

請求項5に記載のように、前記薬剤の基準画像データが、分包された薬剤のうちの最初(1番目)の透明な袋内に入れられた薬剤を前記カメラにてカラー撮影し、画像処理して算出した薬剤データに基づいて自動的に登録されたものであってもよい。   According to the fifth aspect of the present invention, the reference image data of the medicine is obtained by taking a color photograph of the medicine contained in the first (first) transparent bag among the medicines packaged, It may be automatically registered based on the medicine data calculated by processing.

請求項6に記載のように、前記薬剤の基準画像データが、分包された薬剤のうちの最初の袋内に入れられた薬剤を前記カメラにて表側からカラー画像を撮影するとともに、裏側からシルエット画像を撮影し、それぞれ画像処理して算出した両者のデータを融合した薬剤データに基づいて自動的に登録されたものであってもよい。   As described in claim 6, the reference image data of the medicine is obtained by taking a color image from the front side of the medicine put in the first bag among the medicines packaged from the front side and from the back side. It may be automatically registered on the basis of medicine data obtained by fusing silhouette data obtained by capturing a silhouette image and processing both images.

これら(請求項5または請求項6)のようにすれば、分包薬剤の包装された透明な袋のうち1番目の袋に入っている薬剤が処方箋通りであるかを確認するだけで済み、後は自動的に検薬作業が行われる。   According to these (Claim 5 or Claim 6), it is only necessary to confirm whether the medicine contained in the first bag among the transparent bags in which the packaged medicine is packaged is in accordance with the prescription, After that, the drug inspection work is automatically performed.

請求項7に記載のように、前記薬剤の基準画像データが、前記薬剤分包装置の薬剤のデータベースに基づいて前記カメラにてカラー撮影し画像処理して算出する薬剤データと一致するように作成した薬剤データに基づいて自動的に登録されたものであってもよい。   The reference image data of the medicine is created so as to coincide with the medicine data calculated by color photographing with the camera and image processing based on the medicine database of the medicine packaging device. It may be automatically registered based on the medicine data.

このようにすれば、薬剤分包装置にて用いられる薬剤のデータベースを利用して基準の画像データを作成できるので便利であり、人手による確認作業が一切不要になる。   This is convenient because the reference image data can be created using the drug database used in the drug packaging device, and there is no need for manual confirmation.

請求項8に記載のように、前記撮影ユニットが相対的に薬剤の分包された透明な袋上を一回服用分ごとに間欠的に移動しながら連続して照合し、薬剤ミスと判定した袋上で移動を停止し警告する連続検薬モードと、一回服用分ごとに照合し、照合結果に関係なく次の服用分の照合について使用者の指示を要求する逐次検薬モードの2種類のモードを有することができる。   As described in claim 8, the imaging unit continuously collates while moving intermittently for each dose on a transparent bag in which the medicine is packaged, and it is determined that the medicine is missed. There are two types: continuous drug detection mode that stops movement and warns on the bag, and sequential drug detection mode that checks each dose and requests the user's instructions for verification of the next dose regardless of the verification result Mode.

このように2つのモードを持たせたことで、使用者が分包の数量等に応じて便利な方を選択し、検薬作業を行える。   By providing the two modes in this way, the user can select a convenient one according to the quantity of the sachet and perform the drug inspection work.

請求項9に記載のように、照合の結果、不要な薬剤が分包されている場合あるいは必要な薬剤が不足している場合に、その薬剤をカラー画像で表示する画像表示手段と、同画像表示手段に照合結果の内容をメッセージで表示し、かつ音声で警告する警告手段とを備えることができる。   The image display means for displaying the medicine as a color image when the unnecessary medicine is packaged or the necessary medicine is insufficient as a result of the collation, The display means can be provided with warning means for displaying the contents of the collation result as a message and warning by voice.

請求項10に記載のように、照合の結果、間違った薬剤が分包されている場合に、間違った薬剤と必要な薬剤をそれぞれカラー画像で表示する画像表示手段と、同画像表示手段に照合結果内容をメッセージで表示し、かつ音声で警告する警告手段とを備えることができる。   As described in claim 10, when an incorrect medicine is packaged as a result of collation, the wrong medicine and the necessary medicine are respectively displayed in color images and collated with the image display means. Warning means for displaying the contents of the result in a message and warning by voice can be provided.

請求項9あるいは請求項10のように構成することで、画像表示手段にて不要あるいは不足の薬剤をメッセージとともに確認し、また音声でも照合結果を聞いて対応できるので、作業ミスが起こりにくい。   By configuring as in the ninth or tenth aspect, an unnecessary or insufficient medicine can be confirmed together with a message on the image display means, and the collation result can be heard by voice, so that an operation error is unlikely to occur.

本発明に係る分包薬剤の検薬方法と検薬装置には、次のような優れた効果がある。すなわち、
装置が小型で比較的低コストで製造でき、薬剤分包装置により分包した薬剤だけでなく、手作業により分包したり、包装(袋詰め)作業だけを包合機を用いて行ったりした薬剤についても照合できて汎用性に富むほか、一回分ごとに分包された薬剤を撮影し、個々の薬剤について寸法と面積を割り出し、色彩についてもRGBの各255の階調で特定するので、照合精度が高く、各透明な袋内の分包された薬剤の正否を正確に判定でき、また、分包した薬剤の透明な袋上を撮影ユニットが間欠的に相対移動しながら撮影し、画像処理して基準データと対比して照合するので、照合作業に時間がかからず、効率的に検薬できるから、薬局前などでの患者の待ち時間を大幅に短縮でき、薬剤師などの作業負担を軽減できる。
The medicine-packaging method and medicine-testing device according to the present invention have the following excellent effects. That is,
The device is small and can be manufactured at a relatively low cost. In addition to the medicine packaged by the drug packaging device, it is packaged manually, or only packaging (bagging) is performed using a packaging machine. In addition to being versatile and capable of collating drugs, we photograph the drugs that are packaged for each batch, determine the size and area of each drug, and specify the colors with RGB gradations of 255, The accuracy of collation is high, the correctness of the packaged medicine in each transparent bag can be accurately judged, and the image is taken while the imaging unit moves intermittently on the transparent bag of the packaged medicine. Since it is processed and collated against the reference data, it does not take much time for collation, and it is possible to efficiently examine the drug, so the waiting time of the patient in front of the pharmacy can be greatly shortened, and the work load of the pharmacist etc. Can be reduced.

以下、本発明に係る分包薬剤の検薬装置について実施の形態を図面に基づき検薬方法と併せて説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a packaged drug testing device according to the present invention will be described below together with a drug testing method based on the drawings.

図1は分包薬剤の検薬装置の実施例を示す斜視図である。   FIG. 1 is a perspective view showing an embodiment of a medicine inspection device for packaged medicine.

本例の検薬装置1は連続する透明な袋の1番目の袋に詰め合わされた薬剤が正しいことを前提とし、後続の袋に詰め合わされた薬剤が1番目の透明な袋内の薬剤と一致するかを照合する仕様である。そこで、使用者はあらかじめ1番目の透明な袋内の薬剤を処方箋により照合しておく必要がある。また、図2(a)のように袋の一端部分に患者の記名部がある袋の場合、透明な袋内の薬剤を記名部から離間する方向に寄せておく必要がある。   The drug detection device 1 of this example is based on the premise that the medicine packed in the first bag of the continuous transparent bag is correct, and the medicine packed in the subsequent bag matches the medicine in the first transparent bag. It is a specification to check whether to do. Therefore, the user needs to collate the medicine in the first transparent bag in advance with a prescription. Further, in the case of a bag having a patient name part at one end of the bag as shown in FIG. 2A, the medicine in the transparent bag needs to be moved away from the name part.

図1に示すように、検薬装置1は、無端のコンベヤベルト2を本体3の長手方向両端のプーリ間に掛け渡し、駆動モータ(図示せず)により搬送する構成の、分包薬剤の袋送り機構(移動手段)を備えている。本体3の先端部に門形フレーム3aが一体に形成され、カラー画像撮影用のカメラと照明器からなる撮影ユニット4が門形フレーム3aに下向きに装備されている。カメラはデジタルカメラで、照明器はLEDをリング状に配列した無反射照明器である。この照明器にて、分包薬剤の透明な袋をほぼ真上から無反射光源の光線を照射することで、袋表面での照射光の反射をある程度無くせる。本体3の長手方向の中間位置にタッチパネル式の表示装置5を設けている。この表示装置5は、不足した薬剤や間違った薬剤を表示する表示器と、操作盤(タッチパネル)としての2つの機能を備えている。本体3の側面基端側に,ON/OFFスイッチ6を設けている。なお、図1中の符号7は制御部(CPU)で、画像処理・演算手段および判定手段は制御部7に含まれる。また符号8はプログラム収納部である。   As shown in FIG. 1, the drug inspection device 1 is a packaged medicine bag having a configuration in which an endless conveyor belt 2 is stretched between pulleys at both longitudinal ends of a main body 3 and conveyed by a drive motor (not shown). A feeding mechanism (moving means) is provided. A portal frame 3a is integrally formed at the distal end of the main body 3, and an imaging unit 4 including a color image capturing camera and an illuminator is mounted downward on the portal frame 3a. The camera is a digital camera, and the illuminator is a non-reflective illuminator in which LEDs are arranged in a ring shape. With this illuminator, irradiation of the light of the non-reflective light source from almost right above the transparent bag of the packaging medicine can be eliminated to some extent on the bag surface. A touch panel display device 5 is provided at an intermediate position in the longitudinal direction of the main body 3. The display device 5 has two functions as a display device for displaying a shortage medicine or an incorrect medicine and an operation panel (touch panel). An ON / OFF switch 6 is provided on the side base end side of the main body 3. Reference numeral 7 in FIG. 1 is a control unit (CPU), and image processing / calculation means and determination means are included in the control section 7. Reference numeral 8 denotes a program storage unit.

ここで、上記実施例に係る分包薬剤の検薬作業の手順を図5(a)のフローチャートに基づいて説明する。   Here, the procedure of the medicine inspection operation for the packaged medicine according to the above embodiment will be described based on the flowchart of FIG.

1) スイッチ6をONにし、コンベヤベルト2上の定位置に分包薬剤の連続した透明袋の1番目をセット(載置)する。ここで、図5(a)は分包薬剤の検薬手順を示すフローチャートである。図5(a)においてパワーON(step1)により、検薬プログラムのアプリケーションが立ち上がる(step2)。そして、検薬作業が開始される(step3)と、患者名や投薬時刻(朝・昼・夕)や透明な袋の内容(ピッチ・袋の枚数)について登録の有無が確認される。登録されていない(NOの)場合には、続いて、薬剤が分包される袋のピッチ・袋の枚数・患者名・投薬時間などの登録処理(step13)がなされ、制御部7(図1参照)へ送信される(step14)。   1) Turn on the switch 6 and set (place) the first transparent bag containing the medicine to be packed in a fixed position on the conveyor belt 2. Here, Fig.5 (a) is a flowchart which shows the test procedure of a packaging medicine. In FIG. 5A, when the power is turned on (step 1), the application of the drug inspection program is started (step 2). Then, when the drug inspection operation is started (step 3), the presence or absence of registration is confirmed for the patient name, medication time (morning, noon, evening) and transparent bag contents (pitch, number of bags). If it is not registered (NO), registration processing (step 13) such as the pitch of the bags in which the medicine is packaged, the number of bags, the patient name, and the medication time is performed (step 13). (Step 14).

2) step3でYESの場合は、図5(b)に示すように使用者が表示装置5のタッチパネルのチェックボタンあるいは連続チェックボタンを押す。本例では、連続チェックボタンを押したと仮定する(step4)。   2) If YES in step 3, the user presses the check button or continuous check button on the touch panel of the display device 5 as shown in FIG. In this example, it is assumed that the continuous check button has been pressed (step 4).

3) コンベヤベルト2が回転し、透明な袋の1番目が門形フレーム3aの撮像部(撮影ユニット4)下へ移動すると、近赤外線センサ(図示せず)で検知され、コンベヤベルト2の回転が停止する。   3) When the conveyor belt 2 rotates and the first transparent bag moves below the imaging unit (photographing unit 4) of the portal frame 3a, it is detected by a near-infrared sensor (not shown), and the conveyor belt 2 rotates. Stops.

4) ここで、透明な袋内の薬剤を無反射照明器(無反射光源)で照射しながらカメラが撮像し(step5)、カラー画像(bitmap画像、図2(b))として取り込む(step6)。   4) Here, the camera takes an image while irradiating the medicine in the transparent bag with a non-reflective illuminator (non-reflective light source) (step 5), and takes it as a color image (bitmap image, FIG. 2 (b)) (step 6) .

5) 個々の薬剤についてRGBの濃度値(255階調)を検出し、色彩テンプレートを作成する。また、カラー画像を画像処理して二値化画像(図2(c))に変換する。さらに、各薬剤の二値化画像からエッジを抽出(図2(d))し、ラベリングを行う。   5) Detect RGB density values (255 gradations) for each drug and create a color template. Further, the color image is subjected to image processing to be converted into a binarized image (FIG. 2C). Further, an edge is extracted from the binarized image of each medicine (FIG. 2 (d)) and labeling is performed.

6) ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像(図2(e))ごとに長軸L、短軸Sの長さを画素数で算出する。薬剤の製造時における形状の寸法誤差は0.5mmであるので、この精度に適応できるようにする。また、領域内の各薬剤ごとに画像の面積を全画素数で算出し、形状テンプレートを作成する。色彩・形状の基準テンプレートはエクセル形式でディスク(制御部7)に格納保管し、自動登録される(step7)。   6) The labeled regions are cut out in order, and the lengths of the major axis L and the minor axis S are calculated by the number of pixels for each labeled drug image (FIG. 2E). Since the dimensional error of the shape at the time of manufacture of a medicine is 0.5 mm, it can be adapted to this accuracy. Further, the area of the image is calculated by the total number of pixels for each medicine in the region, and a shape template is created. The color / shape reference template is stored in the disk (control unit 7) in Excel format and automatically registered (step 7).

7) つぎに、コンベヤベルト2が回転し、1袋長さ分を移動し、袋の2番目が門形フレーム3aの撮像部下へ移動すると、近赤外線センサ(図示せず)で検知され、コンベヤベルト2の回転が停止する。ここで、2番目の袋について上記4)〜6)の処理が行われる(step8〜step10)。   7) Next, when the conveyor belt 2 rotates and moves one bag length, the second of the bag moves below the imaging part of the portal frame 3a, and is detected by a near infrared sensor (not shown). The rotation of the belt 2 stops. Here, the processing of 4) to 6) is performed for the second bag (step 8 to step 10).

8) 2番目の袋内の全薬剤について、ラベル(薬剤)のvが条件を満たす(基準テンプレートと一致する)か、およびラベル(薬剤)数が一致するかを照合する(step11)。つまり、
(添字… M:薬剤の基準データを示す, C:2番目の袋内の薬剤データを示す)
両者が一致していれば、表示装置5に図3(a)のように「正しく袋詰めされている」と表示し、音声でも「正しく袋詰めされている」と照合結果を報告する(step12)。
8) For all drugs in the second bag, it is verified whether the label (drug) v satisfies the condition (matches the reference template) and the number of labels (drugs) matches (step 11). That means
(Subscript ... M: Indicates drug reference data, C: Indicates drug data in the second bag)
If the two match, the display device 5 displays “correctly packed” as shown in FIG. 3A, and the collation result is reported as “correctly packed” by voice (step 12). ).

9) 以降3番目、4番目と順に袋内の薬剤について、ラベル(薬剤)のvが条件を満たす(基準テンプレートと一致する)か、およびラベル(薬剤)数が一致するかを照合し、一致すれば、照合結果が報告され、全ての袋内の薬剤について検薬作業が終了する(step8〜12)。   9) After that, for the drugs in the 3rd and 4th in order, check whether the label (medicine) v satisfies the condition (matches the reference template) and the number of labels (medicine) matches. Then, the verification result is reported, and the drug inspection operation is completed for all the drugs in the bag (steps 8 to 12).

10) 一方、上記の検薬作業において、条件を満たさない袋があった場合、その袋は門形フレーム3aの撮像部下で停止し、表示装置5に表示された連続チェックボタンが押されるまで袋の移動が中断する。  10) On the other hand, if there is a bag that does not satisfy the conditions in the above-described drug inspection operation, the bag is stopped under the imaging unit of the portal frame 3a until the continuous check button displayed on the display device 5 is pressed. Is interrupted.

a) ラベル数が同一であるが、vの条件を満たさないとき、
分包されている薬剤を表示し、不要な薬剤と不足している薬剤とを表示して点滅させる。音声で「薬剤の種類が異なる」と警告する(図3(b))。
a) When the number of labels is the same but the condition of v is not satisfied,
The packaged medicine is displayed, and unnecessary medicine and missing medicine are displayed and blinked. A voice is given to warn that “the type of drug is different” (FIG. 3B).

b) ラベル数が不足するとき、
分包されている薬剤を表示し、不足している薬剤を表示して点滅させる。音声で「表示・点滅している薬剤が不足する」と警告する(図3(c))。
b) When there are not enough labels
Display the packaged medicine, display the missing medicine, and blink. A warning is made by voice that “the medicine that is displayed / flashing is insufficient” (FIG. 3C).

c) ラベル数が多いとき、
分包されている薬剤を表示し、不要な薬剤を表示して点滅させる。音声で「不要な薬剤がある」と警告する(図3(d))。
c) When there are many labels
Display the packaged medicine, display unnecessary medicine and blink. A warning is given by voice that “there is an unnecessary medicine” (FIG. 3D).

なお、(単独の)チェックボタンを押して検薬作業をする場合には、検薬する袋が門形フレーム3aの撮像部下で停止すると、表示装置5に表示されたチェックボタンを押すまで袋の移動が中断するので、検薬作業が終了するたびにチェックボタンを押す必要がある。   In the case of performing the drug inspection work by pressing the (single) check button, if the bag to be tested stops under the imaging unit of the portal frame 3a, the bag is moved until the check button displayed on the display device 5 is pressed. Will be interrupted, so it is necessary to press the check button every time the drug test is completed.

ところで、分包された薬剤が透明な袋内で接触した状態で撮像されることがある。この場合には、図4(a)〜(c)に示すように、接触(重合)した各薬剤の画素を外周側から徐々に削っていき、離間した場合(図4(c))に接触していると認識する。そして、各薬剤がたとえば円形の場合には、画素を削る前の状態に戻し、それぞれの中心点を基準とした各円が内接される正方形(図4(d))を作成し、それぞれを引き離した状態で各正方形に内接する円を作成し、各薬剤の形状とする(図4(e))。説明を容易にするため、薬剤の形状が円形の場合を例示したが、長円形など長軸(長径)と短軸(短径)を持つ形状についても同じようにして薬剤の形状を特定することができる。   By the way, an image may be taken in a state where the packaged medicine is in contact in a transparent bag. In this case, as shown in FIGS. 4A to 4C, the contacted (polymerized) pixels of each drug are gradually scraped from the outer peripheral side and contacted when separated (FIG. 4C). Recognize that And when each medicine is circular, for example, it returns to the state before shaving the pixels, and creates a square (FIG. 4 (d)) in which each circle is inscribed with respect to each center point. A circle inscribed in each square in a separated state is created, and the shape of each drug is formed (FIG. 4 (e)). For ease of explanation, the case where the shape of the drug is circular has been illustrated, but the shape of the drug should be specified in the same way for shapes having a major axis (major axis) and a minor axis (minor axis) such as an ellipse. Can do.

ところで、上記実施例では、分包した薬剤の入った各袋をコンベヤベルト2によって門形フレーム3aの撮像部下まで移動させるようにしたが、逆に薬剤が分包されている多数の連続した各袋に対し、カメラとLED照明器からなる撮影ユニット4を袋上に沿って移動させ撮像することにより検薬作業を行うようにしてもよい。   By the way, in the said Example, it was made to move each bag containing the packed medicine to the lower part of the imaging part of the portal frame 3a by the conveyor belt 2. You may make it perform a medicine inspection operation | movement by moving the imaging | photography unit 4 which consists of a camera and LED illuminator with respect to a bag along a bag.

図6〜図8は本発明の検薬装置あるいは検薬方法の他の実施例を示すもので、図6は検薬装置1における撮影ユニットの第2実施例を示す斜視図と上下のカメラによりそれぞれ撮影した薬剤の画像を示す平面図である。   FIGS. 6 to 8 show another embodiment of the drug inspection device or method according to the present invention. FIG. 6 is a perspective view showing a second embodiment of the imaging unit in the drug inspection device 1 and upper and lower cameras. It is a top view which shows the image of the chemical | medical agent each image | photographed.

図6に示すように、本例の撮影ユニット4’は、分包した薬剤の入った袋を挟んで上方に設置されるデジタルカメラ41と、下方に設置されるデジタルカメラ42と、上方に設置される平行光線を下向きに照射する照明器43とを備えている。照明器43には、たとえば間接照明の一種であるフラットドーム照明器が使用される。また、図示は省略するが、下方からの撮影に白色半透明の散光版を用いることで、中央部と周辺部との光量の差がなくなり、シルエット画像を鮮明に撮れる。上方のデジタルカメラ41によりカラー撮影した画像の処理については、隣接する薬剤が接触している場合に切り離しを行う画像処理を省いた点を除いて上記実施例と共通するので、説明を省略する。   As shown in FIG. 6, the photographing unit 4 ′ in this example includes a digital camera 41 that is installed above a bag containing a packaged medicine, a digital camera 42 that is installed below, and an upper camera. And an illuminator 43 that irradiates the parallel light rays downward. As the illuminator 43, for example, a flat dome illuminator which is a kind of indirect illumination is used. Although illustration is omitted, by using a white translucent diffuse plate for photographing from below, there is no difference in the amount of light between the central part and the peripheral part, and a silhouette image can be taken clearly. The processing of an image photographed in color by the upper digital camera 41 is the same as that in the above embodiment except that the image processing for separation when an adjacent medicine is in contact is omitted, and the description thereof will be omitted.

下方デジタルカメラ42により撮影される個々の薬剤は、照明器43による平行光線の照明下で灰色もしくは黒色のシルエット画像として撮像される。また、シルエット画像の場合でも、上方のデジタルカメラ41による撮影と同様に、図7に示すように分包された薬剤が透明な袋内で、入れ子状態の三次元的に隣接(接触)した状態で撮像されることがあるが、この場合には、図8に示すように8近傍収縮処理を施す。つまり、薬剤のシルエット画像から上下・左右・右斜め・左斜め方向に1画素ずつ外周側から削っていき、隣接する薬剤の画像の接触箇所が離間した場合には、実際は隣接した薬剤同士が接触していると判定する。そして、離間後すなわち切り離し後、画素を削る前の状態に戻して薬剤の元の形状を復元する。薬剤がたとえば円形の場合には、それぞれの中心点を基準とした各円が内接される正方形(図4(d))を作成し、それぞれを引き離した状態で各正方形に内接する円を作成し、各薬剤の形状とする(図4(e))。この画像処理については上記したとおりであるが、上方のデジタルカメラ41により撮像したカラー画像とは異なり、モノクロ(グレースケール)画像からなる薬剤の形状は、その色相の如何(いかん)に関わらず全て灰色(理想的には黒色)となり、色相については1つのしきい値で形状の特定ができる。また、そこでは(薬剤の形状については)薬剤に付されている刻印や文字も無視される。したがって、たとえば2色のカプセル状薬剤においても全体が灰色となり、同一(共通)のしきい値により形状の抽出(特定)が可能になる。   Each medicine imaged by the lower digital camera 42 is imaged as a gray or black silhouette image under parallel light illumination by the illuminator 43. In the case of a silhouette image as well, as in the case of photographing with the upper digital camera 41, the medicine packaged as shown in FIG. 7 is three-dimensionally adjacent (contacted) in a nested state in a transparent bag. In this case, an 8-neighbor contraction process is performed as shown in FIG. In other words, if the silhouette image of a drug is cut from the outer peripheral side by one pixel at a time in the vertical, left, right, diagonally right, or diagonally left directions, and the contact points of adjacent drug images are separated, the adjacent drugs actually contact each other It is determined that Then, after separation, that is, after separation, the original shape of the medicine is restored by returning to the state before the pixels are shaved. For example, when the medicine is circular, create a square (Fig. 4 (d)) in which each circle is inscribed with each center point as a reference, and create a circle inscribed in each square with each of them separated. Then, the shape of each drug is set (FIG. 4E). This image processing is as described above. However, unlike the color image captured by the upper digital camera 41, the shape of the medicine composed of a monochrome (grayscale) image is all regardless of the hue. The color is gray (ideally black), and the hue can be specified with one threshold. In addition, the stamps and characters attached to the medicine are ignored (for the shape of the medicine). Therefore, for example, even in a two-color capsule medicine, the whole is gray, and the shape can be extracted (specified) by the same (common) threshold value.

詳しくは、上方から平行光線を照射した状態で散光版を通して下方カメラ42によりカラー撮影する。そして、薬剤のシルエット画像をグレースケール化し、背景との関係で2値化画像とする。このとき、最適なしきい値を決定する必要があるが、しきい値と薬剤と背景との間における輝度の関係は、薬剤>しきい値>背景になる必要がある。そして、上記第2実施例ではしきい値=180としたが、この状態で、2色カプセル状の薬剤についても単一の領域として形状を特定することができた。なお、上記実施例では、上方は袋の表側を、下方は袋の裏側を表しており、カメラ41および照明器43を袋を挟んで水平方向の一方に、カメラ42を袋を挟んで水平方向の他方に配置することも可能である。   Specifically, color photography is performed by the lower camera 42 through a diffuser plate in a state where parallel rays are irradiated from above. Then, the silhouette image of the medicine is converted into a gray scale, and a binarized image is obtained in relation to the background. At this time, it is necessary to determine an optimum threshold value, but the relationship of luminance between the threshold value, the drug, and the background needs to be drug> threshold> background. In the second embodiment, the threshold value is set to 180. In this state, the shape of the two-color capsule medicine can be specified as a single region. In the above embodiment, the upper side represents the front side of the bag, and the lower side represents the back side of the bag. The camera 41 and the illuminator 43 are placed in one horizontal direction across the bag, and the camera 42 is placed in the horizontal direction across the bag. It is also possible to arrange them on the other side.

このようにして、灰色(薬剤)と白色(背景)の2値化画像により袋内における個々の薬剤の形状抽出(特定)が確定すれば、確定した個々の薬剤の形状情報(データ)を、各薬剤の画像フレーム内の直交座標の位置(座標値)に基づいて、最初に得られた上記のカラー画像と重ね合わせることにより、個々の薬剤の色相情報(RGBの輝度値)も得られ、薬剤の形状情報と色相情報とが組み合わさった上記第1の実施例と同様の薬剤情報となる。後は、袋内の個々の薬剤について得られた薬剤情報を、薬剤の基準情報と照合し、判断されることは上記第1実施例の場合と同様である。なお、本実施例の検薬方法では、上方のデジタルカメラ41による撮影で得られたカラー画像については、上記の分包薬剤が透明な袋内で接触した状態で撮像される場合に切り離し(分離)する画像処理は、不要になる。これは、上方のデジタルカメラ41による撮像画像では薬剤の色相情報(薬剤に付されている刻印や文字があればそれらを含む情報)が得られればよく、薬剤の形状情報は下方のデジタルカメラ42により撮影したシルエット画像から得るからである。   In this way, if shape extraction (specification) of each medicine in the bag is confirmed by the binarized image of gray (medicine) and white (background), the shape information (data) of each confirmed medicine is Based on the position (coordinate value) of the orthogonal coordinates in the image frame of each medicine, the hue information (RGB luminance value) of each medicine is also obtained by superimposing the color image obtained first. The drug information is the same as that in the first embodiment in which the shape information of the drug and the hue information are combined. After that, it is the same as in the case of the first embodiment that the drug information obtained for each drug in the bag is checked against the reference information of the drug. In the drug inspection method of the present embodiment, the color image obtained by photographing with the upper digital camera 41 is separated (separated) when the above-mentioned packaged medicine is imaged in a contacted state in a transparent bag. ) Is not required. This is because it is only necessary to obtain the hue information of the medicine (information including the stamps and characters attached to the medicine, if any) on the image captured by the upper digital camera 41. The shape information of the medicine is obtained from the lower digital camera 42. It is because it obtains from the silhouette image image | photographed by this.

つぎに、上記第2実施例に係る分包薬剤の検薬作業の手順を、図5(a)のフローチャートを参考にして説明する。   Next, the procedure of the medicine inspection operation for the packaged medicine according to the second embodiment will be described with reference to the flowchart of FIG.

1) スイッチ6をONにし、コンベヤベルト2上の定位置に分包薬剤の連続した透明袋の1番目をセット(載置)する。図5(a)においてパワーON(step1)により、検薬プログラムのアプリケーションが立ち上がる(step2)。そして、検薬作業が開始される(step3)と、患者名や投薬時刻(朝・昼・夕)や透明な袋の内容(ピッチ・袋の枚数)について登録の有無が確認される。登録されていない(NOの)場合には、続いて、薬剤が分包される袋のピッチ・袋の枚数・患者名・投薬時間などの登録処理(step13)がなされ、制御部7(図1参照)へ送信される(step14)。   1) Turn on the switch 6 and set (place) the first transparent bag containing the medicine to be packed in a fixed position on the conveyor belt 2. In FIG. 5A, when the power is turned on (step 1), the application of the drug inspection program is started (step 2). Then, when the drug inspection operation is started (step 3), the presence or absence of registration is confirmed for the patient name, medication time (morning, noon, evening) and transparent bag contents (pitch, number of bags). If it is not registered (NO), registration processing (step 13) such as the pitch of the bags in which the medicine is packaged, the number of bags, the patient name, and the medication time is performed (step 13). (Step 14).

2) step3でYESの場合は、図5(b)に示すように使用者が表示装置5のタッチパネルのチェックボタンあるいは連続チェックボタンを押す。本例では、連続チェックボタンを押したと仮定する(step4)。   2) If YES in step 3, the user presses the check button or continuous check button on the touch panel of the display device 5 as shown in FIG. In this example, it is assumed that the continuous check button has been pressed (step 4).

3) コンベヤベルト2が回転し、透明な袋の1番目が門形フレーム3aの撮像部(撮影ユニット4)下へ移動すると、近赤外線センサ(図示せず)で検知され、コンベヤベルト2の回転が停止する。   3) When the conveyor belt 2 rotates and the first transparent bag moves below the imaging unit (photographing unit 4) of the portal frame 3a, it is detected by a near-infrared sensor (not shown), and the conveyor belt 2 rotates. Stops.

4') ここで、透明な袋内の薬剤を平行光線照射式照明器で平行光線を照射しながら上方のカメラ41が撮像し(step5)、カラー画像(bitmap画像、図2(b))として取り込む(step6)。   4 ') Here, the upper camera 41 picks up the medicine in the transparent bag while irradiating the parallel light with the parallel light irradiation type illuminator (step 5), and as a color image (bitmap image, FIG. 2 (b)) Capture (step 6).

同時に、下方のカメラ42は、散光版を通して袋内の個々の薬剤のシルエットを撮像し、カラーのシルエット画像として取り込む。   At the same time, the lower camera 42 images silhouettes of individual drugs in the bag through the diffuse plate and captures them as color silhouette images.

5) 上記のカラー画像については、個々の薬剤についてRGBの濃度値(255階調)を検出し、色相を特定する。同時に彩度または彩度・明度も特定し、色彩を特定する。   5) For the above color image, the density value of RGB (255 gradations) is detected for each drug, and the hue is specified. At the same time, the saturation or the saturation / lightness is also specified, and the color is specified.

5') 一方、カラーのシルエット画像は、グレースケール化処理して二値化画像(図2(c))に変換する。また、透明な袋内で、図7に示すように隣り合う薬剤が接触した状態で撮像されていることがあるが、この場合には、図8に示すように8近傍収縮処理を施して薬剤の2値化画像から上下・左右・右斜め・左斜め方向に1画素ずつ外周側から削っていき、隣接する薬剤の画像の接触箇所が離間した場合は、薬剤が接触していると判定する。そして、離間後に、画素を削る前の状態に戻して薬剤の元の形状を復元する。さらに、各薬剤の二値化画像(形状を復元した画像を含む)からエッジを抽出(図2(d))し、ラベリングを行う。   5 ′) On the other hand, the color silhouette image is converted to a binarized image (FIG. 2C) by performing gray scale processing. In addition, there are cases where images are taken in a state where adjacent medicines are in contact with each other as shown in FIG. 7 in a transparent bag. In this case, the medicine is subjected to an eight-neighbor contraction process as shown in FIG. From the binarized image, each pixel is scraped from the outer peripheral side in the vertical, left, right, right diagonal, and left diagonal directions, and it is determined that the drug is in contact when the contact points of the adjacent drug images are separated. . Then, after separation, the original shape of the medicine is restored by returning to the state before the pixels are cut. Further, an edge is extracted from the binarized image (including the image whose shape is restored) of each medicine (FIG. 2D), and labeling is performed.

6) ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像(図2(e))ごとに長軸L、短軸Sの長さを画素数で算出する。また、領域内の各薬剤ごとに画像の面積を全画素数で算出し、形状を特定する。   6) The labeled regions are cut out in order, and the lengths of the major axis L and the minor axis S are calculated by the number of pixels for each labeled drug image (FIG. 2E). Further, the area of the image is calculated by the total number of pixels for each medicine in the region, and the shape is specified.

6') そして、画像フレーム内の座標に基づいて、個々の薬剤について色彩情報と形状情報とを重ね合わせて個々の薬剤について色彩・形状情報を作成する。   6 ′) Then, based on the coordinates in the image frame, the color information and the shape information for each medicine are overlapped to create the color / shape information for each medicine.

なお、最初の袋内の薬剤について、色彩・形状テンプレートを作成する。色彩・形状の基準テンプレートはエクセル形式でディスク(制御部7)に格納保管し、自動登録される(step7)。   A color / shape template is created for the medicine in the first bag. The color / shape reference template is stored in the disk (control unit 7) in Excel format and automatically registered (step 7).

7) つぎに、コンベヤベルト2が回転し、1袋長さ分を移動し、袋の2番目が門形フレーム3aの撮像部下へ移動すると、近赤外線センサ(図示せず)で検知され、コンベヤベルト2の回転が停止する。ここで、2番目の袋について上記4)〜6')の処理が行われる(step8〜step10)。   7) Next, when the conveyor belt 2 rotates and moves one bag length, the second of the bag moves below the imaging part of the portal frame 3a, and is detected by a near infrared sensor (not shown). The rotation of the belt 2 stops. Here, the processes 4) to 6 ′) are performed on the second bag (step 8 to step 10).

その他の作業手順については、上記の第1実施例と共通するので、説明を省略する。   Other work procedures are the same as those in the first embodiment, and the description thereof is omitted.

本発明に係る分包薬剤の検薬装置の実施例を示す斜視図である。It is a perspective view which shows the Example of the medicine inspection apparatus of the packaging medicine which concerns on this invention. (a)は分包薬剤袋を示す正面図,(b)〜(e)はカラー画像、二値化画像、エッジ抽出画像およびラベル画像である。(A) is a front view showing a packaged medicine bag, and (b) to (e) are a color image, a binarized image, an edge extraction image, and a label image. (a)〜(d)は照合結果の表示態様を示す各画面である。(A)-(d) is each screen which shows the display mode of a collation result. (a)〜(c)は接触(重合)した各薬剤の画素を外周側から徐々に削っていく過程を表し、(d)(e)は内接円により復元する過程と復元した薬剤の円形状を表す説明図である。(A)-(c) represents the process of gradually scraping the pixel of each drug that has been contacted (polymerized) from the outer peripheral side, and (d) and (e) are the process of restoring by the inscribed circle and the circle of the restored drug. It is explanatory drawing showing a shape. (a)は分包薬剤の検薬手順を示すフローチャートで、(b)は登録画面、比較マスター画像、単独チェックによる照合結果の画面、連続チェックによる照合結果の画面である。(A) is a flow chart showing the procedure for testing a packaged medicine, and (b) is a registration screen, a comparison master image, a verification result screen by a single check, and a verification result screen by a continuous check. 検薬装置1における撮影ユニットの第2実施例を示す斜視図と上下のカメラによりそれぞれ撮影した薬剤の画像を示す平面図である。It is the top view which shows the perspective view which shows 2nd Example of the imaging | photography unit in the medicine inspection apparatus 1, and the image of the chemical | medical agent each image | photographed with the up-and-down camera. 隣り合う薬剤の3次元的隣接(接触)状態を説明図である。It is explanatory drawing about the three-dimensional adjacent (contact) state of the adjacent chemical | medical agent. 位置の薬剤の8近傍収縮処理と復元態様を示す説明図である。It is explanatory drawing which shows the 8 vicinity contraction process of the chemical | medical agent of a position, and a decompression | restoration aspect.

符号の説明Explanation of symbols

1 検薬装置
2 コンベヤベルト
3 本体
3a門形フレーム
4・4’撮影ユニット
5 タッチパネル式の表示装置
6 ON/OFFスイッチ
7 制御部
8 プログラム収納部
41・42 デジタルカメラ
43 平行光線照射式照明器
DESCRIPTION OF SYMBOLS 1 Drug detection apparatus 2 Conveyor belt 3 Main body 3a Portal frame 4. 4 'imaging | photography unit 5. Touchscreen type display apparatus 6. ON / OFF switch 7. Control part 8. Program storage part 41.42 Digital camera 43 Parallel light irradiation type illuminator

Claims (10)

一回ごとの服用に応じて分包された錠剤あるいはカプセルからなる薬剤が処方箋通りの薬剤であるか否かを照合するもので、一回服用分ごとに薬剤が分包された各透明な袋内の薬剤をカラー撮影し、薬剤ごとに画像処理して長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出するとともに、一画素ごとにRGBの濃度値をそれぞれ算出し、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合する分包薬剤の検薬方法であって、
前記画像処理は、カラー画像を二値化画像に変換し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行ったのち、ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像ごとに、長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出する工程と、
前記袋内の薬剤が接触した状態で撮像された場合には、接触した各薬剤の画素を外周側から徐々に削っていき、離間させた後に画素を削る前の状態に戻し、薬剤の形状を特定する工程とを備えることを特徴とする分包薬剤の検薬方法。
Each transparent bag in which the medicine is packaged for each dose is used to check whether the medicine consisting of tablets or capsules packaged according to each dose is as prescribed. Color images of the drugs inside, image processing for each drug and calculate the length in the major axis direction, the length in the minor axis direction, the area based on the number of pixels, and calculate the RGB density value for each pixel, By comparing with the reference image data of each medicine prescribed for each dose, it is possible to check whether or not the medicine packaged in each transparent bag matches the medicine prescribed in the prescription. A method of drug testing,
The image processing converts a color image into a binarized image, extracts edges from the binarized image of each drug, performs labeling, cuts out the labeled area in order, and for each labeled drug image Calculating the major axis length, minor axis length, and area based on the number of pixels;
When an image is taken with the medicine in the bag in contact, the pixels of each medicine in contact are gradually scraped from the outer peripheral side, returned to the state before the pixels are shaved after being separated, and the shape of the medicine is changed. And a step of specifying the medicine.
前記各袋の裏側からも前記袋内の薬剤のシルエットを別のカメラにて撮影するとともに、前記別のカメラで撮影した個々の薬剤のシルエット画像について、グレースケール化処理して二値化画像に変換し、隣接する薬剤のうち接触箇所がある場合には、収縮処理を施して薬剤の二値化画像の外周側から一画素ずつ削っていき、離間後に画素を削る前の状態に戻して薬剤の元の形状を復元し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行い、前記各薬剤の長軸方向長さ、短軸方向長さ、面積を画素数に基づきそれぞれ算出して形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出し、これらの薬剤の形状データと薬剤の色相データのみ又は同色相データおよび刻印・文字を含むカラー画像データとを重ね合わせて融合したうえで、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合することを特徴とする請求項1記載の分包薬剤の検薬方法
The silhouette of the medicine in the bag is photographed from the back side of each bag with another camera, and the silhouette image of each medicine photographed with the other camera is converted into a grayscale image to be a binarized image. If there is a contact point among the adjacent drugs, the contraction process is performed to scrape the pixels one by one from the outer peripheral side of the binarized image of the drug, and after returning to the state before scraping the pixels, the drug The original shape of each drug is restored, edges are extracted from the binarized images of each drug, labeled, and the major axis length, minor axis length, and area of each drug are calculated based on the number of pixels. The color image of the color photographed image is calculated for each pixel, and the shape data of the medicine and the hue data of the medicine alone or the color data including the same hue data and imprint / character are determined. The data packaged in each transparent bag matches the prescription drugs by superimposing the data and fusing them with each other and comparing them with the reference image data of each drug prescribed for each dose. The method for testing a packaged drug according to claim 1, wherein collation is performed as to whether or not to perform .
一回ごとの服用に応じて分包された錠剤あるいはカプセルからなる薬剤が処方箋通りの薬剤であるか否かを照合する分包薬剤の検薬装置であって、
前記分包薬剤に対して表側に配置されるカメラと前記分包薬剤の表側に光線を照射する照明器とからなる撮影ユニットと、
この撮影ユニットを、一回服用分ごとに薬剤が分包された透明な袋上を相対的に一回服用分ごと移動させる移動手段と、
一回服用分ごとの薬剤を前記カメラにてカラー撮影し、カラー画像を二値化画像に変換し、各薬剤の二値化画像からエッジを抽出し、ラベリングを行ったのち、ラベリングした領域を順に切り出し、ラベリングした各薬剤の画像ごとに、長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出して個々の薬剤の形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出して個々の薬剤の色相データを含むカラー画像データと薬剤の前記形状データとを融合し、さらに前記袋内の薬剤が接触した状態で撮像された場合には、接触した各薬剤の画素を外周側から徐々に削っていき、離間させた後に画素を削る前の状態に戻し、薬剤の形状を特定する画像処理・演算手段と、
この画像処理・演算手段にて算出した一回服用分ごとの薬剤データを、一回服用分ごとに処方された個々の薬剤の基準画像データと対比させることにより、各透明な袋内の分包された薬剤が処方箋による薬剤と一致するか否かについて照合する判定手段とを備えることを特徴とする分包薬剤の検薬装置。
A packaged drug testing device for checking whether a drug consisting of tablets or capsules packaged according to each dose is a drug as prescribed,
An imaging unit comprising a camera arranged on the front side with respect to the packaging medicine and an illuminator that irradiates light on the front side of the packaging medicine ,
A moving means for moving the imaging unit relative to each dose once on a transparent bag in which the medicine is packaged for each dose;
The medicine for each dose is taken with the camera in color, the color image is converted into a binarized image, the edges are extracted from the binarized image of each medicine, and after labeling, the labeled area is For each medicine image cut out and labeled in order, the major axis length, minor axis length, and area are calculated based on the number of pixels to identify the shape of each medicine, When RGB image density values are calculated for each pixel, color image data including the hue data of each medicine and the shape data of the medicine are fused, and further, the medicine in the bag is imaged in contact with the image. Is an image processing / calculation means for gradually removing the pixels of each contacted drug from the outer peripheral side, returning to a state before the pixels are removed after being separated, and specifying the shape of the drug ,
By comparing the drug data for each dose calculated by this image processing / calculation means with the reference image data for each drug prescribed for each dose, the packaging in each transparent bag And a determination means for collating whether or not the prescribed medicine matches the medicine according to the prescription.
前記分包薬剤に対し裏側に配置される他方のカメラと、
前記他方のカメラにて前記分包薬剤のシルエットを裏側から撮影し、それらのシルエット画像についてグレースケール化処理し、また隣接する薬剤が接触している場合には収縮処理して切り離し後に収縮処理前の状態に復元して薬剤ごとに、長軸方向長さ、短軸方向長さ、面積を画素数に基づき算出して個々の薬剤の形状を特定するとともに、前記カラー撮影した画像を一画素ごとにRGBの濃度値をそれぞれ算出して個々の薬剤の色相データを含むカラー画像データと薬剤の前記形状データとを融合する画像処理・演算手段と、を備えることを特徴とする請求項3記載の分包薬剤の検薬装置。、
The other camera disposed on the back side with respect to the packaging medicine;
The silhouette of the packaged medicine is photographed from the back side with the other camera, the silhouette images are grayscaled, and if the adjacent medicines are in contact, they are shrunk and separated before being shrunk. For each medicine, the major axis length, the minor axis length, and the area are calculated based on the number of pixels to identify the shape of each medicine, and the color-captured image is taken for each pixel. The image processing / calculating means for calculating the RGB density values and fusing the color image data including the hue data of each drug and the shape data of the drug, respectively . Package medicine drug testing device. ,
前記薬剤の基準画像データが、分包された薬剤のうちの最初の袋内に入れられた薬剤を前記カメラにてカラー撮影し、画像処理して算出した薬剤データに基づいて自動的に登録されたものであることを特徴とする請求項3または4記載の分包薬剤の検薬装置。 The reference image data of the medicine is automatically registered on the basis of the medicine data calculated by color-taking the medicine put in the first bag among the medicines packaged and processing the image. The device for testing a packaged drug according to claim 3 or 4, wherein the device is a test drug. 前記薬剤の基準画像データが、分包された薬剤のうちの最初の袋内に入れられた薬剤を前記カメラにて表側からカラー画像を撮影するとともに、裏側からシルエット画像を撮影し、それぞれ画像処理して算出した両者のデータを融合した薬剤データに基づいて自動的に登録されたものであることを特徴とする請求項4記載の分包薬剤の検薬装置。   The reference image data of the medicine is obtained by taking a color image from the front side and taking a silhouette image from the back side of the medicine put in the first bag among the packaged medicines. 5. The packaged drug testing device according to claim 4, wherein the drug testing apparatus is automatically registered based on drug data obtained by fusing both data calculated in this manner. 前記薬剤の基準画像データが、前記薬剤分包装置の薬剤のデータベースに基づいて前記カメラにてカラー撮影し画像処理して算出する薬剤データと一致するように作成した薬剤データに基づいて自動的に登録されたものであることを特徴とする請求項3または4記載の分包薬剤の検薬装置。   The reference image data of the medicine is automatically based on the medicine data created so as to coincide with the medicine data calculated by color imaging and image processing with the camera based on the medicine database of the medicine packaging device. The device for testing a medicine for packaging according to claim 3 or 4, wherein the device is registered. 前記撮影ユニットが相対的に薬剤が分包された透明な袋上を一回服用分ごとに間欠的に移動しながら連続して照合し、薬剤ミスと判定した袋上で移動を停止し警告する連続検薬モードと、一回服用分ごとに照合し、照合結果に関係なく次の服用分の照合について使用者の指示を要求する逐次検薬モードの2種類のモードを有することを特徴とする請求項3または4記載の分包薬剤の検薬装置。   The imaging unit continuously collates while moving intermittently for each dose on a transparent bag in which the medicine is packaged, and stops moving on the bag determined to be a medicine miss and warns. It has two types of modes: a continuous drug check mode and a sequential drug check mode that matches each dose and requests the user's instructions for the next dose check regardless of the check result. 5. A medicine inspection device for packaged medicine according to claim 3 or 4. 照合の結果、不要な薬剤が分包されている場合あるいは必要な薬剤が不足している場合に、その薬剤をカラー画像で表示する画像表示手段と、同画像表示手段に照合結果の内容をメッセージで表示し、かつ音声で警告する警告手段とを備えることを特徴とする請求項3または4記載の分包薬剤の検薬装置。   As a result of collation, when unnecessary medicine is packaged or when necessary medicine is insufficient, the image display means for displaying the medicine as a color image, and the contents of the collation result are messaged to the image display means. 5. The medicine inspection apparatus for packaged medicine according to claim 3 or 4, further comprising warning means for displaying the voice and warning by voice. 照合の結果、間違った薬剤が分包されている場合に、間違った薬剤と必要な薬剤をそれぞれカラー画像で表示する画像表示手段と、同画像表示手段に照合結果内容をメッセージで表示し、かつ音声で警告する警告手段とを備えることを特徴とする請求項3または4記載の分包薬剤の検薬装置。   As a result of the collation, when the wrong medicine is packaged, an image display means for displaying the wrong medicine and the necessary medicine in color images respectively, and the content of the collation result is displayed as a message in the image display means, and 5. The medicine inspection device for packaged medicine according to claim 3, further comprising warning means for warning by voice.
JP2007149013A 2006-06-14 2007-06-05 Method and device for testing packaged medicine Expired - Fee Related JP4256434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007149013A JP4256434B2 (en) 2006-06-14 2007-06-05 Method and device for testing packaged medicine

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006164393 2006-06-14
JP2007149013A JP4256434B2 (en) 2006-06-14 2007-06-05 Method and device for testing packaged medicine

Publications (2)

Publication Number Publication Date
JP2008018230A JP2008018230A (en) 2008-01-31
JP4256434B2 true JP4256434B2 (en) 2009-04-22

Family

ID=39074649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007149013A Expired - Fee Related JP4256434B2 (en) 2006-06-14 2007-06-05 Method and device for testing packaged medicine

Country Status (1)

Country Link
JP (1) JP4256434B2 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5163985B2 (en) * 2008-11-14 2013-03-13 学校法人早稲田大学 Granular product type inspection device
JP5263742B2 (en) * 2009-01-26 2013-08-14 国立大学法人 筑波大学 Medication confirmation system to watch the user
CN103492862A (en) 2011-07-13 2014-01-01 松下电器产业株式会社 Tablet inspection device and tablet inspection method
EP2704112A1 (en) * 2012-08-31 2014-03-05 Evondos Oy Method for operating a medication dispenser, and medication dispenser
CN109592135B (en) * 2012-10-03 2021-06-01 株式会社汤山制作所 Drug inspection system, winding device, feeding device, and holder
KR102201005B1 (en) * 2013-02-20 2021-01-08 가부시키가이샤 유야마 세이사쿠쇼 Medicine inspection device and system for individually packaging medicine
CN105208995B (en) 2013-05-22 2020-01-14 普和希控股公司 Tablet inspection device and tablet inspection method
JP5975941B2 (en) 2013-06-21 2016-08-23 富士フイルム株式会社 Packaged drug inspection device and method
JP5997120B2 (en) * 2013-09-26 2016-09-28 富士フイルム株式会社 Drug verification device, drug verification system, and drug verification method
US10969218B2 (en) 2014-03-31 2021-04-06 Yuyama Mfg. Co., Ltd. Medicine photographing device
JP6334994B2 (en) * 2014-04-01 2018-05-30 シャープ株式会社 Medication management device, medication management method, and medication management program
JP6497856B2 (en) * 2014-07-03 2019-04-10 アレイ株式会社 Tablet identification device and method, and packaged tablet inspection device
JP6797549B2 (en) * 2016-04-22 2020-12-09 富士フイルム富山化学株式会社 Audit support method and audit support device
JP6974594B2 (en) * 2018-04-03 2021-12-01 富士フイルム富山化学株式会社 Drug determination device and drug determination method
JP7135993B2 (en) * 2019-05-07 2022-09-13 株式会社ダイフク Article recognition system

Also Published As

Publication number Publication date
JP2008018230A (en) 2008-01-31

Similar Documents

Publication Publication Date Title
JP4256434B2 (en) Method and device for testing packaged medicine
US11651864B2 (en) Drug inspection apparatus and method
US10565545B2 (en) Drug inspection support apparatus and method
JP5163985B2 (en) Granular product type inspection device
CN110418627B (en) Drug identification device, drug identification method, and drug identification program
US9904992B2 (en) Packeted drug inspection device and method
CN109073564B (en) Drug inspection device and method, and recording medium
JP5196285B1 (en) Drug inspection device and drug packaging device
CN103287777B (en) Misoperation preventing device and it is provided with the sorting arrangement of misoperation preventing device
US9456137B2 (en) Device and methods for fabricating a two-dimensional image of a three-dimensional object
US9218459B2 (en) Integrated drug management system and method of providing prescription drugs by using the same
CN111031995A (en) Medicine inspection support device, image processing method, and program
CN111052145A (en) Medicine inspection support device, image processing method, and program
US20200175317A1 (en) Medicine inspection device, image processing device, image processing method, and program
JPWO2014080966A1 (en) Drug inspection device
CN114450677A (en) Drug matching device, drug matching system, drug management method, and program
CN112105330B (en) Drug determination device and drug determination method
JP3423055B2 (en) Tablet inspection system
JP2014221134A (en) Packaged single-dose-medicament auditing device
CN111902843A (en) Medicine determination device and boundary recess detection method
JP5127087B2 (en) PTP packaging machine and tablet packaging machine
KR102361199B1 (en) System and method for automatically checking prescription medicine and checking method of the same
JP7329463B2 (en) drug identification system
WO2022065275A1 (en) Drug identification system and drug identification method
WO2023120366A1 (en) One-dose packaging inspection apparatus, one-dose packaging inspection program, and one-dose packaging inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071107

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20080327

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20080417

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20080513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20080417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081028

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081031

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090129

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

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130206

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140206

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees