WO2013129099A1 - 薬剤個数計数装置 - Google Patents

薬剤個数計数装置 Download PDF

Info

Publication number
WO2013129099A1
WO2013129099A1 PCT/JP2013/053325 JP2013053325W WO2013129099A1 WO 2013129099 A1 WO2013129099 A1 WO 2013129099A1 JP 2013053325 W JP2013053325 W JP 2013053325W WO 2013129099 A1 WO2013129099 A1 WO 2013129099A1
Authority
WO
WIPO (PCT)
Prior art keywords
medicine
unit
infrared light
medicine package
image
Prior art date
Application number
PCT/JP2013/053325
Other languages
English (en)
French (fr)
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 EP13754105.8A priority Critical patent/EP2816346A4/en
Publication of WO2013129099A1 publication Critical patent/WO2013129099A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0092Coin-freed apparatus for hiring articles; Coin-freed facilities or services for assembling and dispensing of pharmaceutical articles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J7/00Devices for administering medicines orally, e.g. spoons; Pill counting devices; Arrangements for time indication or reminder for taking medicine
    • A61J7/02Pill counting devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9508Capsules; Tablets
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J1/00Containers specially adapted for medical or pharmaceutical purposes
    • A61J1/03Containers specially adapted for medical or pharmaceutical purposes for pills or tablets
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61JCONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
    • A61J7/00Devices for administering medicines orally, e.g. spoons; Pill counting devices; Arrangements for time indication or reminder for taking medicine
    • A61J7/04Arrangements for time indication or reminder for taking medicine, e.g. programmed dispensers
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • G16H20/13ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients delivered from dispensers

Definitions

  • the present invention relates to a medicine number counting device that automatically counts the number of medicines enclosed in a medicine package.
  • a drug inspection device that automatically counts the number of drugs in a medicine package by imaging the medicine package with a CCD camera and performing image processing thereof.
  • Patent Document 1 proposes various proposals to solve such problems.
  • a tablet in a medicine bag is targeted for a tablet packaging device having a printing mechanism for printing on the surface of a light-transmitting medicine bag and a packaging mechanism for enclosing a plurality of tablets in the medicine bag.
  • a tablet inspection system for inspecting the number or type of an imaging device, an imaging means for photographing a medicine bag at an inspection position, a first image processing means for converting an original image from the imaging means into a first binary image, and printing Second image processing means for obtaining print information from the mechanism and converting the print information into a second binary image; and subtracting the second binary image from the first binary image;
  • a third image processing means for creating a binary image, a fourth image processing means for producing a fourth binary image by applying a noise removal process including contraction and expansion to the third binary image, Applying image recognition processing to the fourth binary image, the number or type of tablets in the medicine bag Tablets inspection system comprising an image recognition means for detecting is disclosed.
  • Patent Document 1 print information is acquired from a print mechanism, the print information is converted into a second binary image, and the original image is converted into a binary image. By subtracting the binary image of 2, the print displayed on the medicine bag is erased on the image.
  • check symbols such as ward numbers and check marks are often written on a medicine bag using an oil-based pen or the like as necessary. According to Patent Document 1, such written characters and the like are not erased on the image, and therefore there is a possibility that the accuracy of the medicine bag with written characters or the like may be reduced during tablet image recognition. was there.
  • Patent Document 1 it is necessary to execute a process of subtracting the second binary image from the first binary image every time the medicine in the medicine package is counted. There is a problem that the processing load on the process may increase.
  • the present invention has been made in view of the above-described conventional problems, and its purpose is to accurately count the number of medicines in a medicine package even if letters, figures, etc. are printed or written on the medicine package. It is an object of the present invention to provide a medicine number counting apparatus that can reduce the processing burden on the apparatus side.
  • the invention according to claim 1 is a medicine package in which the periphery is sealed in a state where the sheets that transmit near infrared light are overlapped, and one of the stacked sheets includes an information identification unit.
  • the medicine number counting device for counting the number of medicines in the medicine package near infrared light is irradiated from below the medicine package arranged with the one sheet facing downward toward the medicine package.
  • An illumination unit an imaging unit that is arranged at a position to receive the near-infrared light that has passed through the medicine package, and that captures a digital image of the medicine package, and a received amount of the near-infrared light that is received by the imaging unit
  • a medicine counting means for binarizing the digital image and counting the number of the medicines, and the light reception amount adjusting means is for the medicine package in a state where no medicine is contained.
  • the digital image the density of almost all pixels There adjusting the amount of light received until it exceeds a predetermined threshold value, a pill counting apparatus.
  • the invention according to claim 2 is the drug number counting device according to claim 1, wherein the adjustment of the amount of received light includes brightness adjustment for adjusting the brightness of the near-infrared light emitted from the illumination unit. To do.
  • the adjustment of the amount of received light includes an exposure time adjustment for adjusting an exposure time of the imaging unit.
  • the medicine package in which the periphery is sealed in a state in which sheets that transmit near infrared light are overlapped, and the information identification unit is included in one of the stacked sheets.
  • the medicine number counting apparatus for counting the number of medicines in a medicine package, illumination for irradiating near infrared light toward the medicine package from below the medicine package arranged with the one sheet facing downward
  • An imaging unit that is disposed at a position for receiving the near-infrared light that has passed through the medicine package and that captures a digital image of the medicine package; and a received light amount of the near-infrared light received by the imaging unit.
  • the gray value of almost all pixels Since the amount of received light is adjusted until a certain threshold value is exceeded, the amount of light received by the imaging unit can be adjusted even if characters, figures, etc. as identification information portions are printed or written on the medicine package. It is possible to provide a medicine number counting device capable of counting the number of medicines in a medicine package with high accuracy while erasing only the images of these identification information portions. Further, if the amount of the medicine package is adjusted once, there is no need to execute the process of subtracting the image for each counting as in Patent Document 1, and a drug number counting device capable of reducing the processing burden on the device side is provided. it can.
  • the adjustment of the amount of received light includes a brightness adjustment for adjusting the brightness of the near infrared light emitted from the illumination unit, the brightness of the near infrared light emitted from the illumination unit, that is, illumination. Since the amount of received light can be adjusted by adjusting the brightness from the unit, an inexpensive drug number counting device can be provided without a complicated mechanism or structure.
  • the adjustment of the amount of received light includes an exposure time adjustment for adjusting the exposure time of the imaging unit, for example, the amount of received light is adjusted by adjusting the exposure time of the imaging unit by adjusting the shutter speed of the imaging unit. Therefore, it is possible to provide a drug number counting device that is highly convenient.
  • the drug refers to a tablet obtained by compression-molding an active ingredient or the like, a capsule in which a powdery drug is encapsulated, a sugar-coated tablet, and the like.
  • near infrared light means light having a wavelength of approximately 0.8 ⁇ m to 2.5 ⁇ m.
  • an information identification part means the character, figure, symbol, etc. which were represented on the medicine package by printing or writing (refer FIG. 1).
  • an image will be explained taking a monochrome image as an example. Therefore, the gray value of each pixel is indicated by one of 256 gradations from 0 to 255, for example.
  • the medicine package 12 of this embodiment is a known sachet used to enclose a medicine in a general hospital or a dispensing pharmacy.
  • the medicine package 12 is formed by folding a belt-like sheet material in two in the longitudinal direction to form a bent side 2 (see FIG. 1), and providing a predetermined interval in the longitudinal direction.
  • a plurality of upper and lower sheets 13 and 14 are continuously formed in a belt shape by heat welding.
  • a perforation 6 for cutting is provided at a heat welded portion orthogonal to the longitudinal direction so that the continuous medicine packages 12 can be separated from each other.
  • the medicine package 12 formed in this way is loaded with a tablet according to a prescription by, for example, a known tablet packaging device (not shown).
  • a known tablet packaging device not shown.
  • the side opposite to the bent side 2 of the medicine package 12 is opened in an unwelded state, and after the tablet is introduced from the opened side, the side is also welded. Closed.
  • This sheet material is formed of a transparent or translucent sheet made of a synthetic resin material that transmits near infrared light, such as polyethylene, polypropylene, or polyethylene terephthalate.
  • a capsule 1 a, a tablet 1 b, a sugar-coated tablet 1 c, and the like as the medicine 1 are enclosed in the medicine package 12 formed in this way.
  • the information identification unit of the present embodiment starts from a printed character 18, a written character 11 such as “Patent Taro”, “East A Building”, or a written symbol 15 such as “Le” point. Become.
  • the information identification unit may be printed or written with an ink material having a high transmittance of near infrared light, or may be printed or written with an ink material that hardly transmits near infrared light.
  • the information identification part may be provided with various colors, such as blue, green, and red, and may be black.
  • the information identification unit is formed on one of the upper and lower sheets 13 and 14.
  • the medicine number counting device 10 of this embodiment includes an illumination unit 20, an imaging unit 30, a control unit 40, an input unit 46, an image processing unit 38, a storage unit 44, and a display unit 42.
  • the illumination unit 20 is shown in cross section for convenience of explanation inside.
  • the control unit 40 of the present embodiment includes a CPU (not shown), a working memory (not shown), and the like, and is connected to the imaging unit 30, the image processing unit 38, and the illumination unit 20, as shown in FIG. . Then, the control unit 40, for example, based on an instruction from a predetermined program or an instruction from the input unit 46, an imaging instruction to the imaging unit 30, an image processing instruction to the image processing unit 38, and a luminance adjustment instruction to the lighting unit 20. Write to the storage unit 44.
  • the illumination unit 20 includes a direct type backlight including a plurality of light sources 22, a frame 26, a diffusion plate 24, and a luminance adjustment unit 25.
  • the frame 26 is formed of a rectangular parallelepiped box with the ceiling portion 28 opened.
  • the light source 22 is configured by an LED lamp that emits near-infrared light having a peak of, for example, 0.85 ⁇ m, and is housed on the bottom side of the frame 26 as shown in FIG. Irradiate near infrared light I.
  • the light source 22 is not limited to an LED lamp, and may be a semiconductor laser, for example.
  • the diffusing plate 24 is a substantially flat thin plate that transmits and diffuses the light from the light source 22, and is provided so as to cover the ceiling portion 28 of the frame 26.
  • the material of the diffusing plate 24 is not particularly limited, but is preferably excellent in the transmitted light diffusing function, and specifically, white (milky white) polycarbonate resin, acrylic resin, polypropylene resin, and the like are preferable.
  • the brightness adjustment unit 25 includes a known control circuit that controls the current flowing through the LED lamp as the light source 22, for example.
  • the brightness adjustment unit 25 adjusts the brightness of near-infrared light emitted from the light source 22 by controlling the current flowing through the LED lamp according to an instruction from the control unit 40, that is, the brightness of the light source 22 can be adjusted. It has become a structure.
  • the brightness adjusting unit 25 of the present embodiment includes a knob (not shown) for changing the above-described current.
  • the current control described above may be a method of controlling the current value or a method of modulating the width of the pulse current.
  • the illumination part 20 irradiates near infrared light I toward a sheet
  • the diffusing plate 24 is substantially horizontal and the medicine package 12 is placed thereon, so the illumination unit 20 is disposed substantially vertically below the medicine package 12, Near infrared light I is irradiated toward the sheet (14) surface.
  • the medicine package 12 is placed on a belt conveyor formed of a material that transmits near-infrared light.
  • the medicine package 12 may be horizontally conveyed, and the illumination unit 20 may be disposed at a predetermined position below the conveyor belt.
  • the imaging unit 30 includes a digital camera including an imaging device (not shown) such as a CCD image sensor or a CMOS image sensor, and adjusts an exposure time such as a so-called shutter speed. 31 is included. It is preferable that the image sensor has high sensitivity to near infrared light. As shown in FIG. 2, the imaging unit 30 has a visible light cut filter 32 attached to the light receiving unit 34 at the tip thereof.
  • the visible light cut filter 32 of the present embodiment is an optical filter that does not attenuate near-infrared light but attenuates light in the visible light region (eg, 0.36 ⁇ m to 0.8 ⁇ m), and makes visible light incident on the image sensor. Is preventing.
  • the imaging part 30 is arrange
  • FIG. Specifically, as shown in FIG. 2, near-infrared light I that is disposed at an upper position facing the illumination unit 20 and transmitted through the medicine package 12 is received and the medicine package 12 is imaged.
  • the position of the imaging unit 30 is not limited to the upper side of the illuminating unit 20, and the position of the imaging unit 30 corresponds to the direction of the illuminating unit 20 and the attitude of the medicine package 12 as long as it can receive near-infrared light transmitted through the medicine package 12. It can be placed at any position. An image captured by the imaging unit 30 will be described later.
  • the image processing unit 38 includes a CPU (not shown), an image memory (not shown), and the like.
  • the gray value of each pixel of the original image captured by the imaging unit 30 is binarized with a predetermined threshold value.
  • a known binarization process is executed. By this binarization processing, a black and white image of the medicine package 12, that is, a binarized image can be obtained.
  • the image processing unit 38 performs a known noise removal process such as removal of isolated pixels in a binarized image, for example.
  • the input unit 46 includes, for example, a numeric keypad, a keyboard, and a mouse, and is connected to the control unit 40. Then, the input unit 46 inputs characters, numbers, etc. to the control unit 40.
  • the storage unit 44 is formed of a known hard disk, and stores image data, threshold data for binarization processing, and the like.
  • the display unit 42 includes a known liquid crystal display, and displays an original image of the medicine package 12, a binarized image, a GUI (Graphical User Interface) screen for operation, and the like according to instructions from the control unit 40. Various areas, windows, buttons, and the like necessary for keyboard input and mouse operation are displayed on the GUI screen, which will be described later.
  • the display unit 42 may include a touch panel that displays an original image, a binarized image, and a GUI (Graphical User Interface) screen for operation of the medicine package 12.
  • the reason why the light from the illumination unit 20 is set to near infrared light will be mainly described with reference to FIG.
  • the information identification unit such as characters displayed on the sheet surface of the medicine package 12 counts.
  • the inventors have eagerly worked on research focusing on the wavelength of light and the amount of light received by the imaging unit.
  • the density value of the drug part and the density value of the character part in the digital image increase in the same manner as the amount of received light increases.
  • the present inventors have obtained the knowledge that the gray value of the character part rises earlier than the gray value of the drug part.
  • the gray value of the character part and the drug part rises in the same way, almost the same as the gray value of the background part.
  • the above-described contrast disappears from the image.
  • the image of the medicine package 12 appears in an inverted manner.
  • the medicine package image in a low luminance state has a gray value for both the character part and the medicine part as shown in FIG. It appears lower than the background portion, and the contrast between the character portion and the drug portion and these background portions can be visually recognized.
  • the shade value of the character portion rises and is almost the same as the shade value of the background portion.
  • the gray value of the drug portion hardly increases and can be visually recognized as a silhouette image of only the drug.
  • the reason for this is considered to be due to the difference in scattering characteristics and transmission characteristics due to the difference in wavelength between visible light (0.36 ⁇ m to 0.8 ⁇ m) and near infrared light (approximately 0.8 ⁇ m to 2.5 ⁇ m).
  • visible light has a shorter wavelength than near-infrared light and is difficult to transmit through an object, but is more easily scattered than near-infrared light.
  • the scattered visible light wraps around the character portion where the ink thickness is approximately thin and the thickness is larger than the character portion, so that the portion corresponding to the character and the agent on the light receiving surface of the image sensor. The amount of received light increases and the above-described contrast disappears from the image.
  • the amount of light received at the portion corresponding to the character on the light-receiving surface of the image sensor tends to increase due to transmission or wraparound of near-infrared light above the thin character portion.
  • the scattered light is less likely to penetrate or penetrate above the thick drug compared to the character part, the amount of light received at the portion corresponding to the drug on the light receiving surface of the image sensor is unlikely to rise, and the silhouette of the drug alone It can be considered as an image.
  • the above-described difference between near-infrared light and visible light on the image tends to become more prominent as the wavelength region of the near-infrared light used approaches the upper limit side (2.5 ⁇ m).
  • the short-exposure medicine package image shows that both the character part and the medicine part have lower density values than the background part.
  • the contrast between the part and the drug part and the background part can be visually recognized.
  • the shade values of the character portion and the drug portion rise in the same manner and become almost the same as the shade values of the background portion. The above-mentioned contrast disappears.
  • the short-exposure medicine package image has a gray value in the background for both the character part and the medicine part as shown in FIG. It appears lower than the portion, and the contrast between the character portion and the drug portion and the background portion can be visually recognized.
  • the gray value of the character portion increases and becomes almost the same as the gray value of the background portion.
  • the gray value of the drug portion does not increase and can be visually recognized as a silhouette image of only the drug.
  • FIG. 4 shows an example of a processing flow executed in the medicine number counting device 10 of the present embodiment.
  • the control unit 40 displays the input screen 41 that is the above-described GUI screen on the display unit 42.
  • an example of an input screen according to the present embodiment will be described with reference to FIG. 5A.
  • the input screen 41 of the present embodiment includes a medicine pack image display area 43 and a work instruction area 51, for example.
  • the medicine pack image display area 43 an original image and a binarized image of the medicine package 12 are displayed.
  • the work instruction area 51 as shown in FIG.
  • an imaging button 45 for instructing imaging for example, an imaging button 45 for instructing imaging, a luminance UP button 52 for increasing luminance, a luminance DOWN button 53 for decreasing luminance, and light reception
  • a received light amount adjustment button 48 for instructing the adjustment of the amount for example, an end button 49 for ending the process, a counting button 54 for instructing the start of counting the medicine, and the like are displayed.
  • the control unit 40 can be instructed.
  • the description returns to the processing flow.
  • the operator does not include the tablet, that is, the empty medicine package 12, with the lower sheet 14 (character description side) facing downward, as shown in FIG. Specifically, it is placed on the diffusion plate 24.
  • step S14 the control unit 40 determines whether or not the imaging button 45 has been clicked. If the button has been clicked, the process proceeds to step S16. If not, the process proceeds to step S36.
  • step S ⁇ b> 16 the control unit 40 instructs the illuminating unit 20 to irradiate near-infrared light and instructs the imaging unit 30 to perform imaging.
  • the imaging unit 30 acquires the original image data of the medicine package 12 and sends the original image data to the image processing unit 38. And the control part 40 moves a process to step S18.
  • step S18 the control unit 40 instructs the image processing unit 38 to binarize the original image data.
  • the image processing unit 38 binarizes the original image data with a first threshold such as 130 gradations, and generates a binarized image.
  • the control unit 40 issues a noise removal instruction in the binarized image.
  • the image processing unit 38 executes the above-described noise removal processing on the binarized image, and writes the coordinate information of the isolated pixels and the binarized image data after the noise removal processing to the storage unit 44. .
  • the control part 40 moves a process to step S20.
  • step S20 the control unit 40 displays a binarized image of the medicine package 12 on the display unit 42 based on the binarized image data (see FIG. 5A).
  • step S22 the control unit 40 determines whether or not the luminance DOWN button 53 has been clicked. If the button has been clicked, the process proceeds to step S24. Further, when the luminance DOWN button 53 is not clicked, the control unit 40 determines whether or not the luminance UP button 52 is clicked, and when it is clicked, the process proceeds to step S24. Next, when the luminance UP button 52 is not clicked, the control unit 40 moves the process to step S26.
  • step S ⁇ b> 24 the control unit 40 instructs the luminance adjustment unit 25 to adjust the luminance. More specifically, when the luminance DOWN button 53 is clicked, the luminance adjustment unit 25 is instructed to decrease by a predetermined luminance, and when the luminance UP button 52 is clicked, the luminance adjustment unit 25 is predetermined. Instructs to increase the brightness of. In this manner, the operator adjusts the luminance of the illumination unit 20 so that the characters of the medicine package 12 can be visually recognized on the screen while viewing the display unit 42 (see FIG. 5A).
  • step S26 the control unit 40 determines whether or not the received light amount adjustment button 48 has been clicked. If the button is clicked, the process proceeds to step S28. If not, the process proceeds to step S36. Move to.
  • step S28 the control unit 40 sets, for each pixel, the gray value of almost all pixels of the original image sent to the image processing unit 38 except for isolated pixels by noise removal described above. recognize.
  • the gray value table for each pixel is created and recorded in the storage unit 44, and the process proceeds to step S30.
  • step S30 the control unit 40 determines whether or not the gray value of almost all the pixels is equal to or greater than a second threshold value such as 240 gradations. Move to S34. If it is less than the second threshold, the process proceeds to step S32.
  • a second threshold value such as 240 gradations
  • step S32 the control unit 40 instructs the luminance adjustment unit 25 to increase the predetermined luminance, and moves the process to step S38.
  • step S38 the control unit 40 instructs the illumination unit 20 to irradiate near-infrared light, and instructs the imaging unit 30 to perform imaging without changing the exposure time.
  • the imaging unit 30 acquires the original image data of the medicine package 12 and sends the original image data to the image processing unit 38. And the control part 40 moves a process to step S28.
  • step S34 the control unit 40 records the luminance setting value of the luminance adjusting unit 25 in the storage unit 44 as the adjusted luminance setting value, records the exposure time in the storage unit 44, and moves the process to step S36.
  • FIG. 5B shows a state in which the information identification unit (characters / symbols, etc.) is erased on the image by adjusting the amount of received light.
  • step S36 the control unit 40 determines whether or not the end button 49 has been clicked. If the button has been clicked, the process is terminated. If not, the process proceeds to step S12.
  • control unit 40 functions as a received light amount adjusting unit that adjusts the amount of near-infrared light received by the imaging unit 30 during exposure, particularly as described in the processes of steps S26 to S38.
  • the gray value of the pixel corresponding to the information identification unit is lower than the first threshold value, and the gray value of the pixel corresponding to the background of the information identification unit is greater than or equal to the first threshold value From the state, the received light amount is adjusted until the gray value of almost all pixels exceeds the second threshold value higher than the first threshold value.
  • the adjustment of the amount of received light includes a luminance adjustment that adjusts the luminance of the illumination unit 20, as shown in step S32.
  • the control unit 40 is configured to function as the received light amount adjusting unit.
  • the image processing unit 38 including a CPU is used as the received light amount adjusting unit. It may be configured to function as.
  • the amount of received light is adjusted by changing the luminance while maintaining the exposure time constant.
  • the adjustment of the amount of received light is not limited to the above-described configuration.
  • a configuration in which the exposure time is changed while being kept constant may be employed.
  • the control unit 40 instructs the imaging unit 30 to extend the exposure time by a predetermined time without changing the luminance setting value of the luminance adjustment unit 25, and the process proceeds to step S28.
  • the adjustment of the amount of received light may be configured to include an exposure time adjustment for adjusting the exposure time of the imaging unit.
  • [Drug count] The number of drugs enclosed in the medicine package 12 is counted while irradiating the medicine package 12 with near-infrared light having a brightness adjusted by the processing flow described above. Specifically, for example, when the counting button 54 is clicked, the control unit 40 sets the luminance of the illumination unit 20 to the adjusted luminance setting value and gives an instruction for irradiation. Furthermore, the control unit 40 instructs the imaging unit 30 to perform imaging with the exposure time, receives the near infrared light, and sends the digital image of the medicine package 12 acquired by the imaging unit 30 to the image processing unit 38. .
  • the image processing unit 38 that has received the digital image executes the binarization process using the second threshold based on the digital image to obtain a black and white image in which only the medicine is black (see FIG. 3C). Further, the image processing unit 38 performs image processing such as labeling processing based on the black and white image and counts the number of medicines.
  • the control unit 40 and the image processing unit 38 function as a drug counting unit that counts the number of drugs based on the digital image from the imaging unit 30.
  • the medicine number counting device 10 of the present embodiment the number of medicines in the medicine package 12 can be accurately counted even if letters, figures, etc. are printed or written on the medicine package 12.

Landscapes

  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

【課題】薬包に文字・図形等が印字され或いは筆記されていても、薬包内の薬剤個数を精度高く計数する。 【解決手段】近赤外光を透過させるシートを重ね合わせた状態で周辺が封止されてなる薬包であって、重ね合ったシートのうち一方のシートに情報識別部を含む薬包中の薬剤個数を計数する薬剤個数計数装置において、前記一方のシートを下方に向けた状態で配置された薬包の下方から、薬包に向かって近赤外光を照射する照明部と、薬包を透過した近赤外光を受光する位置に配置されて薬包のデジタル画像を撮像する撮像部と、撮像部が受光する近赤外光の受光量を調整する受光量調整手段と、デジタル画像を2値化して薬剤の個数を計数する薬剤計数手段とを備え、受光量調整手段は、薬剤が含まれていない状態の薬包のデジタル画像において、略全ての画素の濃淡値が所定の閾値を越えるまで受光量を調整する。

Description

薬剤個数計数装置
本発明は、薬包内に封入された薬剤の個数を自動的に計数する薬剤個数計数装置に関する。
従来、病院の薬局や調剤薬局等では患者が一度に服用すべき複数種類の錠剤等からなる薬剤を、例えば公知の自動分包装置を用いて一つの薬包に封止して提供する一包化が行われる。その際、封入された薬剤の個数を計数して個数が異常な薬包を排除することは、患者に処方箋通りの薬剤を提供する観点から極めて重要である。
そのため、例えばCCDカメラで薬包を撮像し、その画像処理を行うことにより薬包中の薬剤の個数を自動的に計数する薬剤検査装置が提案されてきた。
ところが、薬包には、例えば患者名、薬剤名、月日等の文字或いは各種の図形が表示されることが多く、これらの文字や図形等の画像が薬剤個数の計数の際の妨げになるという問題があった。
そこで、このような問題を解決するために様々な提案がされている(例えば特許文献1参照)。
特開平7-209196号公報
特許文献1によれば、光透過性の薬袋の表面に印字を施す印字機構と、薬袋内に複数の錠剤を封入するための包装機構とを具えた錠剤包装装置を対象として、薬袋内の錠剤の個数或いは種類を検査する錠剤検査システムであって、検査位置の薬袋を撮影する撮像手段と、該撮像手段からの原画像を第1の2値画像に変換する第1画像処理手段と、印字機構から印字情報を取得して、該印字情報を第2の2値画像に変換する第2画像処理手段と、前記第1の2値画像から第2の2値画像を減算して、第3の2値画像を作成する第3画像処理手段と、該第3の2値画像に収縮及び膨張からなるノイズ除去処理を施して、第4の2値画像を作成する第4画像処理手段と、前記第4の2値画像に画像認識処理を施して、薬袋内の錠剤の個数或いは種類を検知する画像認識手段とを具える錠剤検査システムが開示されている。
しかしながら、特許文献1によれば、印字機構から印字情報を取得して、該印字情報を第2の2値画像に変換し、原画像を2値画像に変換した第1の2値画像から第2の2値画像を減算することで薬袋に表示された印字を画像上で消去するものである。ところが、医療現場においては、例えば病棟番号やレ点等のチェック記号を必要に応じて油性ペン等を用いて薬袋に筆記する場合が多い。特許文献1によれば、このような筆記による文字等は画像上で消去されないため、筆記による文字等が記載された薬袋に関しては錠剤の画像認識の際に精度の低下を生じる虞があるという問題があった。
また、特許文献1によれば、薬包中の薬剤を計数する都度、第1の2値画像から第2の2値画像を減算する処理を実行する必要があるため、例えばコントローラ等の装置側に掛かる処理負担が増大する虞があるという問題があった。
そこで、本発明は、上記従来の問題に鑑みてなされたものであり、その目的は、薬包に文字・図形等が印字され或いは筆記されていても、薬包内の薬剤個数を精度高く計数可能であるとともに装置側の処理負担を軽減可能な薬剤個数計数装置を提供することにある。
 請求項1の発明は、近赤外光を透過させるシートを重ね合わせた状態で周辺が封止されてなる薬包であって、前記重ね合ったシートのうち一方のシートに情報識別部を含む前記薬包中の薬剤個数を計数する薬剤個数計数装置において、前記一方のシートを下方に向けた状態で配置された前記薬包の下方から、前記薬包に向かって近赤外光を照射する照明部と、前記薬包を透過した前記近赤外光を受光する位置に配置されて前記薬包のデジタル画像を撮像する撮像部と、前記撮像部が受光する前記近赤外光の受光量を調整する受光量調整手段と、前記デジタル画像を2値化して前記薬剤の個数を計数する薬剤計数手段とを備え、前記受光量調整手段は、薬剤が含まれていない状態の前記薬包の前記デジタル画像において、略全ての画素の濃淡値が所定の閾値を越えるまで前記受光量を調整する、薬剤個数計数装置である。
請求項2の発明は、請求項1記載の薬剤個数計数装置において、前記受光量の調整は、前記照明部から照射される前記近赤外光の輝度を調整する輝度調整を含むことを特徴とする。
請求項3の発明は、請求項1又は2記載の薬剤個数計数装置において、前記受光量の調整は、前記撮像部の露光時間を調整する露光時間調整を含むことを特徴とする。
本発明によれば、近赤外光を透過させるシートを重ね合わせた状態で周辺が封止されてなる薬包であって、前記重ね合ったシートのうち一方のシートに情報識別部を含む前記薬包中の薬剤個数を計数する薬剤個数計数装置において、前記一方のシートを下方に向けた状態で配置された前記薬包の下方から、前記薬包に向かって近赤外光を照射する照明部と、前記薬包を透過した前記近赤外光を受光する位置に配置されて前記薬包のデジタル画像を撮像する撮像部と、前記撮像部が受光する前記近赤外光の受光量を調整する受光量調整手段と、前記デジタル画像を2値化して前記薬剤の個数を計数する薬剤計数手段とを備え、前記受光量調整手段は、薬剤が含まれていない状態の前記薬包の前記デジタル画像において、略全ての画素の濃淡値が所定の閾値を越えるまで前記受光量を調整する構成であるから、薬包に識別情報部としての文字・図形等が印字され或いは筆記されていても、撮像部が受光する光量を調整することでこれらの識別情報部の画像のみを消去しつつ薬包内の薬剤個数を精度高く計数可能な薬剤個数計数装置を提供できる。また、一旦光量を調整した薬包であれば、特許文献1のように計数毎に画像の減算をする処理を実行する必要もなく、装置側の処理負担を軽減可能な薬剤個数計数装置を提供できる。
また、前記受光量の調整は、前記照明部から照射される前記近赤外光の輝度を調整する輝度調整を含む構成であるから、照明部から照射される近赤外光の輝度、すなわち照明部からの明るさを調整することで受光量を調整可能となるので、複雑な機構や構造にすることなく安価な薬剤個数計数装置を提供できる。
また、前記受光量の調整は、前記撮像部の露光時間を調整する露光時間調整を含む構成であるから、例えば撮像部のシャッタースピード調整により撮像部の露光時間を調整することで受光量を調整可能となるので利便性が高い薬剤個数計数装置を提供できる。
本発明の実施形態に係る薬包例を説明する平面図である。 本発明の実施形態に係る薬剤個数計数装置例を説明する一部断面説明図である。 本発明の実施形態に係る照明部において近赤外光を用いる理由を説明するイメージ図である。 本発明の実施形態に係る薬剤個数計数装置における処理例を説明するフローチャート図である。 本発明の実施形態に係る薬剤個数計数装置における表示画面例を説明する図である。
以下、本発明の実施形態に係る薬包内の薬剤個数計数装置について図を用いて説明する。
以下の説明において、薬剤とは、有効成分等を圧縮成形したタブレット剤、粉末状の薬剤をカプセルに封入したカプセル剤並びに糖衣錠剤等を示す。
また、以下の説明において、近赤外光とは、略0.8μm~2.5μmの波長の光を意味する。
また、以下の説明において、情報識別部とは、印刷や筆記により薬包に表された文字、図形或いは記号等を意味する(図1参照)。
また、説明の便宜のため以下の説明において、画像はモノクロ画像を例にとって説明する。したがって、各画素の濃淡値は、例えば0~255までの256諧調のうちいずれかの諧調で示される。
まず、本発明の実施形態の薬剤個数計数装置10の説明の前に、本実施形態における薬包12及び情報識別部について説明する。
本実施形態の薬包12は、図1に示すように、一般の病院や調剤薬局等で薬剤を封入するために使用される公知の分包袋である。この薬包12は、図1及び図2に示すように、例えば帯状のシート材を長手方向に二つに折り曲げて折曲辺2とし(図1参照)、長手方向に所定の間隔を設けて上下シート13,14を熱溶着することによって帯状に複数連続して形成される。さらに、図1に示すように、この連続した薬包12をそれぞれに分離できるように、長手方向に直交する熱溶着部に切取り用のミシン目6が設けられる。
このように形成される薬包12に、例えば公知の錠剤分包装置(図示せず)により、処方箋に従って錠剤が投入されて収納される。投入される際には、薬包12の折曲辺2と対向する側辺は未溶着の状態で開放されており、この開放した側辺から錠剤が投入された後に、側辺も溶着されて閉鎖される。
このシート材は、例えばポリエチレン、ポリプロピレン或いはポリエチレンテレフタレート等の近赤外光を透過させる合成樹脂材料からなる透明もしくは半透明のシートで形成される。
このように形成される薬包12の中に、図1に示すように、薬剤1としての例えばカプセル剤1a、タブレット剤1b、糖衣錠剤1c等が封入されている。
次に、本実施形態の情報識別部は、図1に示すように印刷による文字18或いは「特許太郎」、「東A棟」等の筆記文字11や「レ」点等の筆記による記号15からなる。この情報識別部は、近赤外光の透過率が高いインク材で印刷或いは筆記されてもよいし、近赤外光を殆ど透過させないインク材で印刷或いは筆記されてもよい。また、情報識別部は、青、緑、赤等の様々の色を備えていてもよいし、黒色であってもよい。
そして、本実施形態において情報識別部は、上下シート13,14のうちのいずれか一方のシート14に形成される。
次に、本実施形態の薬剤個数計数装置10について説明する。本実施形態の薬剤個数計数装置10は、図2に示すように、照明部20、撮像部30、制御部40、入力部46、画像処理部38、記憶部44並びに表示部42を備える。図1において、照明部20は内部の説明の便宜上、一部を断面で現している。
本実施形態の制御部40は、CPU(図示せず)やワーキングメモリ(図示せず)等を備え、図2に示すように、撮像部30、画像処理部38並びに照明部20に接続される。そして、制御部40は、例えば所定のプログラムによる指示や入力部46からの指示に基づいて、撮像部30への撮像指示、画像処理部38への画像処理指示、照明部20への輝度調整指示、記憶部44への書込み等を行う。
本実施形態の照明部20は、図2に示すように、複数の光源22と、フレーム26と、拡散板24と、輝度調整部25を備える直下型バックライトよりなる。
先ず、フレーム26は、図2に示すように、天井部28が開口した直方体状の箱体よりなる。
次に、光源22は、例えば0.85μmをピークとした近赤外光を発光するLEDランプで構成され、図2に示すように、フレーム26の底部側に収容され、天井部28に向けて近赤外光Iを照射する。光源22は、LEDランプに限らず例えば半導体レーザであってもよい。
次に、拡散板24は光源22からの光を透過拡散させる略平坦な薄板からなり、フレーム26の天井部28を施蓋するよう設けられている。拡散板24の材質は特に限定されないが、透過光拡散機能に優れたものが良く、具体的には白色系(乳白色)のポリカーボネート樹脂、アクリル樹脂、ポリプロピレン樹脂等が好ましい。
次に、輝度調整部25は、例えば光源22としてのLEDランプに流れる電流を制御する公知の制御回路を備える。そして、輝度調整部25は、制御部40の指示によりLEDランプに流れる電流を制御することで光源22から照射される近赤外光の輝度を調整する、すなわち、光源22の明るさを調整可能な構成となっている。また、本実施系形態の輝度調整部25は、上述した電流を可変させるための摘まみ(図示せず)を備えている。
なお、上述した電流の制御は、電流値を制御する方法でも良いし、パルス電流の幅を変調させる方法でもよい。
そして照明部20は、シート面に向かって近赤外光Iを照射する。具体的には、図2に示すように、拡散板24を略水平にしてその上に薬包12を載置しているので、照明部20は、薬包12の略垂直下方に配置され、シート(14)面に向かって近赤外光Iを照射する。
本実施形態の様に、拡散板24の上に薬包12を直接載置しなくても、例えば近赤外光を透過させる材料で形成されたベルトコンベヤ上に薬包12を載置して薬包12を水平搬送し、そのコンベヤベルトの下方の所定位置に照明部20を配置する構成であってもよい。
次に、本実施形態の撮像部30は、例えばCCDイメージセンサ或いはCMOSイメージセンサ等の撮像素子(図示せず)を備えるデジタルカメラからなり、いわゆるシャタースピード等の露光時間を調整する露光時間調整部31を含む。なお撮像素子は近赤外光に感度が高いものが好ましい。
また撮像部30は、図2に示すように、その先端の受光部34に可視光カットフィルタ32を装着している。本実施形態の可視光カットフィルタ32は、近赤外光は減衰させないものの可視光領域(例えば0.36μm~0.8μm)の光を減衰させる光学フィルタよりなり、撮像素子への可視光の入射を防止している。
そして撮像部30は、薬包12を透過した近赤外光Iを受光する位置に配置されて薬包12を撮像する。具体的には、図2に示すように、照明部20と対向する上方位置に配置されて薬包12を透過した近赤外光Iを受光して薬包12を撮像する。
撮像部30の位置は、照明部20の上方に限るものではなく、薬包12を透過した近赤外光を受光できる位置であれば、照明部20の向きや薬包12の姿勢に応じた任意の位置に配置することができる。撮像部30で撮像した画像については後述する。
次に、画像処理部38は、CPU(図示せず)や画像メモリ(図示せず)等を備え、例えば撮像部30で撮像された原画像の各画素の濃淡値を所定の閾値で2値化する公知の2値化処理を実行する。この2値化処理により、薬包12の白黒画像、すなわち2値化画像を得ることができる。また、画像処理部38は、例えば2値化画像において孤立画素の除去等の公知のノイズ除去処理を実行する。
次に、入力部46は、例えばテンキー、キーボード並びにマウス等を含み、制御部40に接続される。そして、入力部46は、制御部40に対して文字や数字等を入力する。また、記憶部44は、公知のハードディスクで形成され、画像データや2値化処理の際の閾値データ等を記憶する。
次に、表示部42は、公知の液晶ディスプレイからなり制御部40の指示により、薬包12の原画像、2値化画像、操作のためのGUI(Graphycal User Interface)画面等を表示させる。このGUI画面には、キーボード入力やマウス操作に必要な各種エリア、ウインドウやボタン等が表示されるが、この点については後述する。なお、表示部42は、薬包12の原画像、2値化画像、操作のためのGUI(Graphycal User Interface)画面を表示させるタッチパネルからなっていてもよい。
ここで、照明部20からの光を近赤外光とした理由について主に図3を用いて説明する。
発明者は、薬包に照射された光の透過光を撮像したデジタル画像に基づき薬包12中の薬剤を計数する際、薬包12のシート面に表示された文字等の情報識別部が計数の妨げになるという課題解決のため、前記光の波長及び撮像部が受光する受光量について着目した研究に鋭意取組んだ。その結果、前記光として可視光を用いた場合、その受光量を増やすに伴い、前記デジタル画像における薬剤部分の濃淡値と文字部分の濃淡値とが同様に上昇するが、近赤外光の場合、文字部分の濃淡値の方が薬剤部分の濃淡値より先に上昇するという知見を得て本発明に至った。
まず、露光時間を一定に維持しつつ輝度を変化させることにより受光量を変化させた場合を具体的に説明する。
照明部の光として可視光用いた場合、輝度が低い状態の薬包画像は、図3Aに示すように、文字部分及び薬剤部分の双方とも濃淡値がその背景部分より低く現われており、文字部分及び薬剤部分とこれらの背景部分とのコントラストが視認できる。そして、更に輝度を上昇させて撮像部の受光量を上昇させると、図3Bに示すように、文字部分及び薬剤部分の濃淡値が同じように上昇して背景部分の濃淡値と殆ど同じ程度になり、画像から上述したコントラストが消える。なお、図3Aでは、薬包12の画像は表裏反転した態様で現われている。
一方、照明部の光として近赤外光を用いた場合、輝度が低い状態の薬包画像は、図3Aに示すように、可視光と同様に文字部分及び薬剤部分の双方とも濃淡値がその背景部分より低く現われおり、文字部分及び薬剤部分とこれらの背景部分とのコントラストが視認できる。ところが、近赤外光の場合、更に輝度を上昇させて撮像部の受光量を上昇させると、図3Cに示すように、文字部分の濃淡値は上昇して背景部分の濃淡値と殆ど同じ程度となるものの、薬剤部分の濃淡値は殆ど上昇せず薬剤のみのシルエット画像として視認できることを見出したのである。
この理由は、可視光(0.36μm~0.8μm)と近赤外光(略0.8μm~2.5μm)の波長の違いに起因した散乱特性や透過特性の相違によるものと考えられる。
例えば、可視光は近赤外光に比べて波長が短いため物体を透過しづらいものの近赤外光に比べて散乱し易い。そのため、インクの塗厚程度と厚みが薄い文字部分の上方及び文字部分より厚みのある薬剤の上方に、散乱した可視光が回り込むことによって、撮像素子の受光面において文字及び薬剤に相当する部分の受光量が上昇し、画像から上述したコントラストが消える。
一方、近赤外光の場合、厚みが薄い文字部分の上方には近赤外光の透過や回り込みにより、撮像素子の受光面において文字に相当する部分の受光量は上昇しやすい。ところが、文字部分に比べて厚みのある薬剤の上方までは散乱光が回り込み難い或いは透過しづらいことによって、撮像素子の受光面において薬剤に相当する部分の受光量は上昇し難く、薬剤のみのシルエット画像として視認できるものとも考えられる。
上述した近赤外光と可視光との画像上における相違は、用いる近赤外光の波長領域が、上限側(2.5μm)に近づく程顕著となる傾向にあった。
また、輝度を一定に維持しつつ露光時間を変化させることにより撮像部の受光量を変化させても同様であった。
先ず、照明部の光として可視光用いた場合、短時間露光の薬包画像は、図3Aに示すように、文字部分及び薬剤部分の双方とも濃淡値がその背景部分より低く現われており、文字部分及び薬剤部分とこれらの背景部分とのコントラストが視認できる。そして、更に露光時間を延ばして受光量を上昇させると、図3Bに示すように、文字部分及び薬剤部分の濃淡値が同じように上昇して背景部分の濃淡値と殆ど同じ程度になり、画像から上述したコントラストが消える。
一方、照明部の光として近赤外光を用いた場合、短時間露光の薬包画像は、図3Aに示すように、可視光と同様に文字部分及び薬剤部分の双方とも濃淡値がその背景部分より低く現われおり、文字部分及び薬剤部分とこれらの背景部分とのコントラストが視認できる。ところが、近赤外光の場合、更に露光時間を延ばすことにより受光量を上昇させると、図3Cに示すように、文字部分の濃淡値は上昇して背景部分の濃淡値と殆ど同じ程度となるものの、薬剤部分の濃淡値は上昇せず薬剤のみのシルエット画像として視認できるのである。以上の知見に基づいて本発明に至ったのである。
次に、本実施形態の薬剤個数計数装置10の動作例について図4を用いて説明する。図4は、本実施形態の薬剤個数計数装置10において実行される処理フロー例を示す。
[処理フロー例]
まず、ステップS12において、制御部40は、上述したGUI画面である入力画面41を表示部42に表示する。
ここで、本実施形態の入力画面例について図5Aを用いて説明する。本実施形態の入力画面41は、図5Aに示すように、例えば薬包画像表示エリア43や、作業指示エリア51を備える。薬包画像表示エリア43には、薬包12の原画像や2値化画像が表示される。また、作業指示エリア51には、図5Aに示すように、例えば撮像を指示するための撮像ボタン45、輝度を増加させるための輝度UPボタン52、輝度を減少させるための輝度DOWNボタン53、受光量の調整を指示するための受光量調整ボタン48、処理を終了させるための終了ボタン49、薬剤の計数開始を指示する計数ボタン54等が表示される。この入力画面41を介して、制御部40に対する指示を行うことが可能な構成となっている。
ここで処理フローの説明に戻る。次に、作業者は、錠剤が含まれてない、すなわち空の薬包12を、図2に示すように、下側シート14(文字記載側)を下方に向けた状態で照明部20、より詳しくは拡散板24上に載置する。
次に、ステップS14において、制御部40は、撮像ボタン45がクリックされたか否かを判断し、クリックされた場合、処理をステップS16に移し、クリックされなかった場合、処理をステップS36に移す。
次に、ステップS16において、制御部40は、照明部20に近赤外光を照射する指示をするとともに撮像部30に撮像指示を行う。当該撮像指示を受けた撮像部30は、薬包12の原画像データを取得し、当該原画像データを画像処理部38に送る。そして、制御部40は、処理をステップS18に移す。
次に、ステップS18において、制御部40は、画像処理部38に対して当該原画像データの2値化指示を行う。当該2値化指示を受けた画像処理部38は、前記原画像データを、例えば130階調等の第1閾値で2値化し、2値化画像を生成する。次に、制御部40は、前記2値化画像におけるノイズ除去指示を行う。このノイズ除去指示を受けた画像処理部38は、前記2値化画像において上述したノイズ除去処理を実行し、孤立画素の座標情報やノイズ除去処理後の2値化画像データを記憶部44に書き込む。そして、制御部40は、ステップS20に処理を移す。
次に、ステップS20において、制御部40は、前記2値化画像データに基づいて薬包12の2値化画像を表示部42に表示する(図5A参照)。
この状態で作業者は表示部42において薬包12の文字を視認できない場合、薬包12の文字を視認できるように作業指示エリア51の輝度UPボタン52或いは輝度DOWNボタン53をクリックすることで照明部20の輝度を調整することができる。
すなわち、ステップS22において、制御部40は、輝度DOWNボタン53がクリックされたか否かを判断し、クリックされた場合は処理をステップS24に移す。また、制御部40は、輝度DOWNボタン53がクリックされなかった場合、輝度UPボタン52がクリックされたか否かを判断し、クリックされた場合は処理をステップS24に移す。次に、制御部40は、輝度UPボタン52がクリックされなかった場合は、処理をステップS26に移す。
次に、ステップS24において、制御部40は、輝度調整部25に対して輝度を調整する指示を行う。より詳しくは、輝度DOWNボタン53がクリックされた場合は、輝度調整部25に対して所定の輝度分下げる指示を行い、輝度UPボタン52がクリックされた場合は、輝度調整部25に対して所定の輝度分上げる指示を行う。
このように作業者は、表示部42を見ながら画面上で薬包12の文字を視認できるように(図5A参照)照明部20の輝度を調整する。
次に、ステップS26において、制御部40は、受光量調整ボタン48がクリックされたか否かを判断しクリックされた場合は、処理をステップS28に移し、クリックされなかった場合は、処理をステップS36に移す。
次に、ステップS28において、制御部40は、画像処理部38に送られた原画像の全ての画素のうち、上述したノイズ除去により孤立画素を除いた略全ての画素の濃淡値を画素毎に認識する。例えば、前記画素毎の濃淡値テーブルを作成し記憶部44に記録し、処理をステップS30に移す。
次に、ステップS30において、制御部40は、前記略全ての前記画素の濃淡値が、例えば240階調等の第2閾値以上か否かを判断し、第2閾値以上の場合、処理をステップS34に移す。また、第2閾値未満の場合、処理をステップS32に移す。
次に、ステップS32において、制御部40は、輝度調整部25に対して所定の輝度分上げる指示をし、処理をステップS38に移す。
次に、ステップS38において、制御部40は、照明部20に近赤外光を照射する指示をし、撮像部30に露光時間を変化させずに撮像指示を行う。当該撮像指示を受けた撮像部30は、薬包12の原画像データを取得し、当該原画像データを画像処理部38に送る。そして、制御部40は、処理をステップS28に移す。
次に、ステップS34において、制御部40は、輝度調整部25の輝度設定値を調整輝度設定値として記憶部44に記録するとともに、露光時間を記憶部44に記録し、処理をステップS36に移す。なお、図5Bは、受光量を調整することにより画像上で情報識別部(文字・記号等)が消去された様子を示す。
次に、ステップS36において、制御部40は、終了ボタン49がクリックされたか否かを判断し、クリックされた場合は処理を終了し、クリックされなかた場合は、処理をステップS12に移す。
このように、制御部40は、特にステップS26~ステップS38の処理で説明したように、撮像部30が露光中に受光する近赤外光の光量を調整する受光量調整手段として機能し、薬剤が含まれていない状態の薬包12のデジタル画像において、情報識別部に対応する画素の濃淡値が第1閾値より低く、情報識別部の背景に対応する画素の濃淡値が第1閾値以上の状態から、略全ての画素の濃淡値が第1閾値より高い第2閾値を越えるまで前記受光量を調整するのである。
また、本実施形態の受光量の調整は、ステップS32に示すように、照明部20の輝度を調整する輝度調整を含む構成となっているのである。
なお、本実施形態の薬剤個数計数装置10では、制御部40が受光量調整手段として機能する構成となっているが、制御部40に替えて、CPUを備える画像処理部38を受光量調整手段として機能させる構成であってもよい。
また、上述した処理フローにおいては、露光時間を一定に維持しつつ輝度を変化させることにより受光量を調整する構成となっているが、受光量調整は上述した構成に限るものではなく、輝度を一定に維持しつつ露光時間を変化させる構成でもよい。
例えば、上述したステップS32において、制御部40は、輝度調整部25の輝度設定値を変化させることなく、撮像部30に対して露光時間を所定時間延長させる指示を行い、処理をステップS28に移すとよい。すなわち、受光量の調整は、撮像部の露光時間を調整する露光時間調整を含む構成であってもよい。
[薬剤計数]
上述した処理フローにより調整した輝度の近赤外光を薬包12に照射しつつ、当該薬包12に封入された薬剤の個数を計数する。具体的には、制御部40は、例えば計数ボタン54がクリックされると、照明部20の輝度を前記調整輝度設定値に設定し照射する指示を行う。更に、制御部40は、撮像部30に対して前記露光時間で撮像指示を行い、この近赤外光を受光して撮像部30が取得した薬包12のデジタル画像を画像処理部38に送る。当該デジタル画像を受けた画像処理部38が、このデジタル画像に基づき、上述した第2閾値による2値化処理を実行して薬剤のみが黒くなった白黒画像(図3C参照)を取得する。さらに画像処理部38は、前記白黒画像に基づいてラベリング処理等の画像処理を実行して薬剤の個数を計数する。このように、制御部40及び画像処理部38は、撮像部30からのデジタル画像に基づいて薬剤の個数を計数する薬剤計数手段として機能する。
これまで説明したように本実施形態の薬剤個数計数装置10によれば、薬包12に文字・図形等が印字され或いは筆記されていても、薬包12内の薬剤個数を精度高く計数可能であるとともに装置側の処理負担を軽減可能な薬剤個数計数装置を提供できる。
以上、本発明の実施形態のうちいくつかを図面に基づいて詳細に説明したが、これらはあくまでも例示であり、当業者の知識に基づいて種々の変形、改良を施した他の形態で本発明を実施することが可能である。例えば、予め所定の撮像条件の下で薬剤のシルエット画像を取得し、当該シルエット画像と薬剤との対応テープルを作成し、薬包中の薬剤のシルエット画像と対応テーブルのシルエット画像とを比較することにより、当該薬剤の種類を検査する構成を追加してもよい。
 1 薬剤
10 薬剤個数計数装置
12 薬包
13 上側シート
14 下側シート
11,18 文字(情報識別部)
15 記号(情報識別部)
20 照明部
30 撮像部
38 画像処理部(薬剤計数手段)
40 制御部(受光量調整手段,薬剤計数手段)
I 近赤外光
 

Claims (3)

  1. 近赤外光を透過させるシートを重ね合わせた状態で周辺が封止されてなる薬包であって、前記重ね合ったシートのうち一方のシートに情報識別部を含む前記薬包中の薬剤個数を計数する薬剤個数計数装置において、
    前記一方のシートを下方に向けた状態で配置された前記薬包の下方から、前記薬包に向かって近赤外光を照射する照明部と、
    前記薬包を透過した前記近赤外光を受光する位置に配置されて前記薬包のデジタル画像を撮像する撮像部と、
    前記撮像部が受光する前記近赤外光の受光量を調整する受光量調整手段と、
    前記デジタル画像を2値化して前記薬剤の個数を計数する薬剤計数手段とを備え、
    前記受光量調整手段は、薬剤が含まれていない状態の前記薬包の前記デジタル画像において、略全ての画素の濃淡値が所定の閾値を越えるまで前記受光量を調整することを特徴とする薬剤個数計数装置。
  2. 前記受光量の調整は、前記照明部から照射される前記近赤外光の輝度を調整する輝度調整を含むことを特徴とする請求項1記載の薬剤個数計数装置。
  3. 前記受光量の調整は、前記撮像部の露光時間を調整する露光時間調整を含むことを特徴とする請求項1又は2記載の薬剤個数計数装置。
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
PCT/JP2013/053325 2012-03-01 2013-02-13 薬剤個数計数装置 WO2013129099A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP13754105.8A EP2816346A4 (en) 2012-03-01 2013-02-13 DEVICE FOR COUNTING NUMBER OF PILLS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-045965 2012-03-01
JP2012045965A JP5898529B2 (ja) 2012-03-01 2012-03-01 薬剤個数計数装置

Publications (1)

Publication Number Publication Date
WO2013129099A1 true WO2013129099A1 (ja) 2013-09-06

Family

ID=49082301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/053325 WO2013129099A1 (ja) 2012-03-01 2013-02-13 薬剤個数計数装置

Country Status (3)

Country Link
EP (1) EP2816346A4 (ja)
JP (1) JP5898529B2 (ja)
WO (1) WO2013129099A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11039091B2 (en) * 2016-09-27 2021-06-15 Rxsafe Llc Verification system for a pharmacy packaging system
CN113320773A (zh) * 2021-05-28 2021-08-31 浙江中烟工业有限责任公司 一种小包拉线检测诊断系统及方法
US11595595B2 (en) 2016-09-27 2023-02-28 Rxsafe Llc Verification system for a pharmacy packaging system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015083505A1 (ja) * 2013-12-03 2015-06-11 株式会社イシダ 近赤外線検査装置
KR101660933B1 (ko) * 2015-04-15 2016-09-29 (주)엔클로니 정제 공급 장치 및 방법
JP6567460B2 (ja) * 2016-04-20 2019-08-28 株式会社東芝 位置検出装置、位置検出方法、位置検出プログラム
US10596319B2 (en) 2017-11-23 2020-03-24 Aesynt Incorporated Compounding device system
US10991264B2 (en) 2017-11-23 2021-04-27 Omnicell, Inc. Multi-camera imaging for IV compounding
US11335444B2 (en) 2017-11-30 2022-05-17 Omnicell, Inc. IV compounding systems and methods
US20230320936A1 (en) * 2020-09-03 2023-10-12 Yuyama Mfg. Co., Ltd. Drug imaging device and drug packaging device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07209196A (ja) 1994-01-17 1995-08-11 Sanyo Electric Co Ltd 錠剤検査システム
JP2000055640A (ja) * 1998-08-03 2000-02-25 Ckd Corp Ptpシール検査装置
JP2005291939A (ja) * 2004-03-31 2005-10-20 Lion Engineering Co Ltd Ptpシートの検査装置及び検査方法
JP2005351678A (ja) * 2004-06-09 2005-12-22 Pal Giken:Kk 異物検査方法および異物検査装置
JP2006105852A (ja) * 2004-10-07 2006-04-20 Ckd Corp 外観検査装置及びptp包装機

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09253164A (ja) * 1996-03-19 1997-09-30 Tokyo Shokai:Kk 薬剤監査支援システム
JP4439433B2 (ja) * 2005-06-01 2010-03-24 株式会社トーショー 錠剤計数監査装置
JP4658703B2 (ja) * 2005-06-15 2011-03-23 有限会社新選技研 個数検査装置及び個数検査方法
US20070189597A1 (en) * 2005-08-23 2007-08-16 Limer Daniel J Machine vision counting system apparatus and method
JP4652480B1 (ja) * 2010-07-02 2011-03-16 オオクマ電子株式会社 薬包中の薬剤個数計数装置
EP2591761A1 (en) * 2010-07-09 2013-05-15 Panasonic Corporation Tablet inspection assistance method and tablet inspection assistance system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07209196A (ja) 1994-01-17 1995-08-11 Sanyo Electric Co Ltd 錠剤検査システム
JP2000055640A (ja) * 1998-08-03 2000-02-25 Ckd Corp Ptpシール検査装置
JP2005291939A (ja) * 2004-03-31 2005-10-20 Lion Engineering Co Ltd Ptpシートの検査装置及び検査方法
JP2005351678A (ja) * 2004-06-09 2005-12-22 Pal Giken:Kk 異物検査方法および異物検査装置
JP2006105852A (ja) * 2004-10-07 2006-04-20 Ckd Corp 外観検査装置及びptp包装機

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2816346A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11039091B2 (en) * 2016-09-27 2021-06-15 Rxsafe Llc Verification system for a pharmacy packaging system
US11595595B2 (en) 2016-09-27 2023-02-28 Rxsafe Llc Verification system for a pharmacy packaging system
CN113320773A (zh) * 2021-05-28 2021-08-31 浙江中烟工业有限责任公司 一种小包拉线检测诊断系统及方法

Also Published As

Publication number Publication date
JP2013181843A (ja) 2013-09-12
EP2816346A4 (en) 2015-08-26
EP2816346A1 (en) 2014-12-24
JP5898529B2 (ja) 2016-04-06

Similar Documents

Publication Publication Date Title
JP5898529B2 (ja) 薬剤個数計数装置
US9084714B2 (en) Device for counting the number of medicines in medicine packaging envelope
JP6100136B2 (ja) 薬剤認識装置及び方法
CN104176334B (zh) 药剂检查装置
JP5351980B2 (ja) 錠剤監査支援方法及び錠剤監査支援装置
JP4439433B2 (ja) 錠剤計数監査装置
JP7227241B2 (ja) 調合支援装置及びそれを用いた薬剤の調合方法
CN109073564B (zh) 药剂监查装置及方法以及记录介质
JP2012078265A (ja) 錠剤検査装置および錠剤検査方法
CN103491274B (zh) 上置型图像读取装置
JP2007184734A (ja) デジタルカメラ
KR20150029129A (ko) 지문 인식 센서
US9672420B2 (en) Method for a medication dispenser to obtain information from a medication package, and medication dispenser
CN105476643A (zh) 生物体信息取得装置
JP2006284643A (ja) 撮影防止システムおよび撮影防止方法
JP2015200682A (ja) 表示装置及びその制御方法
JP7375049B2 (ja) 画像処理装置及び方法
JP2021128033A (ja) 検査装置及び包装シート製造装置並びに検査方法
JP2018117921A (ja) 医薬品鑑査装置及び医薬品鑑査方法
JP5370077B2 (ja) 薬液混合支援システムおよび薬液混合検査方法
JP6399135B1 (ja) 画像入出力装置及び画像入出力方法
JP6878093B2 (ja) 添付書類の検出装置及び検出方法
JP4984540B2 (ja) 印字マーク検査装置
JP2019037373A (ja) 医薬品鑑査装置及び医薬品鑑査方法
JP2021069810A (ja) 液面検知装置及び点滴監視装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13754105

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2013754105

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013754105

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE