KR20180020017A - Medication monitoring apparatus and operating method therof - Google Patents

Medication monitoring apparatus and operating method therof Download PDF

Info

Publication number
KR20180020017A
KR20180020017A KR1020160104447A KR20160104447A KR20180020017A KR 20180020017 A KR20180020017 A KR 20180020017A KR 1020160104447 A KR1020160104447 A KR 1020160104447A KR 20160104447 A KR20160104447 A KR 20160104447A KR 20180020017 A KR20180020017 A KR 20180020017A
Authority
KR
South Korea
Prior art keywords
image
pill
boundary
object mask
medication
Prior art date
Application number
KR1020160104447A
Other languages
Korean (ko)
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 KR1020160104447A priority Critical patent/KR20180020017A/en
Publication of KR20180020017A publication Critical patent/KR20180020017A/en

Links

Images

Classifications

    • 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
    • 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
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • G06F19/326
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/22Social work or social welfare, e.g. community support activities or counselling services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/762Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • 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
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • H04N5/225

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Epidemiology (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Child & Adolescent Psychology (AREA)
  • Biomedical Technology (AREA)
  • Chemical & Material Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Medicinal Chemistry (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

According to an embodiment of the present invention, an operating method of a medication monitoring apparatus comprises the steps of: generating a medication image by photographing at least one medication; setting an interest image corresponding to a predefined area of interest from the medication image; clustering color distribution of the image of interest into medication image areas having a similar color distribution; setting a boundary between the medication image areas by converting the medication image areas into gray scale contrast; generating an object mask corresponding to the medication image areas based on the boundary; and determining the number of the medications by counting the number of the medication image areas based on the object mask. Therefore, the medication monitoring apparatus displays the number of medications provided to allow the patient to take a fixed dose of medication by counting the number of medications the patient takes beforehand and comparing the same with the number of medications the patient should actually take.

Description

복약 모니터링 장치 및 이의 동작 방법{MEDICATION MONITORING APPARATUS AND OPERATING METHOD THEROF}TECHNICAL FIELD [0001] The present invention relates to a medical monitoring device and an operation method thereof,

본 발명의 실시 예는 복약 모니터링 장치 및 이의 동작 방법에 관한 것이다.An embodiment of the present invention relates to an apparatus for monitoring medication and an operation method thereof.

장기 약물 투약이 필요한 만성질환자는 지정된 시간에 정확한 약의 복용 등의 제대로 된 복약 관리가 필요하며, 직접복약관리(Directly Observed Treatment(DOT))는 만성질환자에게 가장 중요한 치료 수단이며 가장 확실한 방법이다. Patients with chronic illness requiring long-term medication require proper medication management such as taking the correct medicine at the designated time. Directly Observed Treatment (DOT) is the most important treatment method and the most reliable method for chronic patients.

최근의 연구에 따르면 약물의 과복용, 오복용, 미복용의 주요 원인은 약물 복용자가 복약 시간, 방법, 회수 및 주의사항 등을 일일이 기억하지 못하는데 있으며, 특히 약물 복용자가 고령자나 장기 투약 환자일 경우 더욱 심각한 문제로 작용할 수 있다. 이에 따라, 세계보건기구(World Health Organization(WHO))는 DOT를 권고하고 있다. 이미 미국, 일본 등 선진 국가에서는 DOT의 실시로 일부 질병의 규모가 현저하게 감소했으며 완치율 또한 향상되었다. According to recent studies, the major cause of overdose, misuse, and misuse of medication is that users can not remember medication time, method, recovery and cautions. Especially when the drug user is elderly or long-term medication This can be a more serious problem. Accordingly, the World Health Organization (WHO) recommends DOT. In developed countries such as the US and Japan, the implementation of DOT has dramatically reduced the size of some diseases and improved the cure rate.

직접복약관리가 제대로 이뤄지기 위해서는 관련 전문가들의 체계적인 관리가 필요한데 이는 환자의 약 복용 여부를 일일이 확인해야 하는 작업으로서 인적, 경제적 한계로 인하여 현실적으로 어려운 실정이다. 실제로 우리나라의 의료 기관에서는 제한적인 복약 확인 및 지도를 하고 있으며 단순히 복약 시간 및 예정일 등을 통보하고 독려하는 수준에 그치고 있다. In order for the medication management to be performed properly, it is necessary to systematically manage the related experts. This is a task that needs to be confirmed one by one whether the patient is taking the medicine. In fact, medical institutions in Korea are limited in the identification and guidance of medicines, and they are only at the level of notifying and encouraging medication time and scheduled dates.

본 발명이 이루고자 하는 기술적인 과제는, 환자가 복용할 알약의 개수를 미리 카운팅하고 실제 복용해야할 알약의 개수와 비교하여, 환자가 정량의 알약을 복용할 수 있도록 제공된 알약 개수를 표시하는 복약 모니터링 장치 및 이의 동작 방법을 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a medicinal drug monitoring device which counts the number of pills to be taken by a patient in advance and compares the number of pills with a number of pills to be actually taken, And an operation method thereof.

본 발명의 실시 예에 따른 복약 모니터링 장치의 동작 방법은, 적어도 하나의 알약을 촬영하여 알약 이미지를 생성하는 단계와, 상기 알약 이미지 중에서 미리 정의된 관심 영역에 대응하는 관심 이미지를 설정하는 단계와, 상기 관심 이미지의 색상 분포를 클러스터링(clustering)하여 유사한 색상 분포를 갖는 알약 이미지 영역들로 군집화하는 단계와, 상기 알약 이미지 영역들을 회색조 명암으로 변환하여, 상기 알약 이미지 영역들 사이의 경계를 설정하는 단계와, 상기 경계를 기초로 상기 알약 이미지 영역들에 대응하는 객체 마스크를 생성하는 단계와, 상기 객체 마스크를 기초로 상기 알약 이미지 영역들의 개수를 카운팅하여 상기 알약의 개수를 결정하는 단계를 포함한다.A method of operating a medication monitoring device according to an embodiment of the present invention includes the steps of generating a pill image by photographing at least one pill, setting an interest image corresponding to a predefined interest area in the pill image, Clustering the color distribution of the image of interest to cluster into pill image regions having a similar color distribution; and converting the pill image regions to grayscale and setting a boundary between the pill image regions Generating an object mask corresponding to the pill image areas based on the boundary, and determining the number of the pill by counting the number of the pill image areas based on the object mask.

실시 예에 따라, 상기 객체 마스크를 생성하는 단계는, 상기 경계를 기초로 상기 알약 이미지 영역들에 대응하는 제1 객체 마스크를 생성하는 단계와, 상기 경계의 명암을 반전하여 역영상 경계 마스크를 생성하는 단계와, 상기 제1 객체 마스크에 상기 역영상 경계 마스크를 적용하여 제2 객체 마스크를 생성하는 단계를 포함할 수 있다.According to an embodiment, the step of generating the object mask may include generating a first object mask corresponding to the pill image areas based on the boundary, generating a reverse image boundary mask by reversing the contrast of the boundary And generating a second object mask by applying the inverse image boundary mask to the first object mask.

실시 예에 따라, 상기 역영상 경계 마스크를 생성하는 단계는, 모폴로지 연산을 통해 상기 경계를 팽창시킨 후, 팽창된 경계의 명암을 반전하여 상기 역영상 경계 마스크를 생성할 수 있다.According to an embodiment, the step of generating the inverse image boundary mask may generate the inverse image boundary mask by expanding the boundary through morphology operations and then inverting the contrast of the expanded boundary.

실시 예에 따라, 상기 알약의 개수를 결정하는 단계는, 상기 제2 객체 마스크에 포함된 상기 알약 이미지 영역들의 개수를 카운팅하여 상기 알약의 개수를 결정할 수 있다.According to an embodiment, the step of determining the number of pills may determine the number of pills by counting the number of the pill image areas included in the second object mask.

실시 예에 따라, 상기 복약 모니터링 장치의 동작 방법은, 상기 객체 마스크에 포함된 상기 알약 이미지 영역들 각각에 서로 다른 색상을 레이블링하는 단계를 더 포함할 수 있다.According to an embodiment, the method of operating the drug monitoring apparatus may further include labeling different colors in each of the pill image areas included in the object mask.

실시 예에 따라, 상기 복약 모니터링 장치의 동작 방법은, 상기 객체 마스크에 포함된 상기 알약 이미지 영역들 각각에 서로 다른 숫자, 기호, 및 문자 중 적어도 하나를 색인하는 단계를 더 포함할 수 있다.According to an embodiment, the method of operating the drug monitoring device may further include indexing at least one of different numbers, symbols, and characters in each of the pill image areas included in the object mask.

실시 예에 따라, 상기 복약 모니터링 장치의 동작 방법은, 상기 알약의 개수와 미리 설정된 기준 개수를 비교하여 상기 알약의 정량 공급 여부를 판단하는 단계를 더 포함할 수 있다.According to an embodiment of the present invention, the operation method of the drug monitoring apparatus may further include a step of comparing the number of the pellets with a preset reference number to determine whether the pellets are supplied in a fixed amount.

실시 예에 따라, 상기 복약 모니터링 장치의 동작 방법은, 상기 알약의 정량 공급 여부에 대한 판단결과를 사용자에게 제공하는 단계를 더 포함할 수 있다.According to an embodiment of the present invention, the method of operating the drug monitoring device may further include providing a user with a determination result as to whether or not the pellets are supplied in a quantitative manner.

본 발명의 다른 실시 예에 따른 복약 모니터링 장치는, 적어도 하나의 알약을 촬영하여 알약 이미지를 생성하는 영상 촬영부와, 상기 알약 이미지를 이용하여 상기 알약의 개수를 카운팅하고, 상기 알약의 개수와 미리 설정된 기준 개수를 비교하여 상기 알약의 정량 공급 여부를 판단하는 제어부와, 상기 알약의 정량 공급 여부에 대한 판단결과를 표시하는 표시부를 포함하고, 상기 제어부는 상기 알약 이미지를 회색조 명암의 알약 이미지로 변환하여 상기 알약의 경계를 설정하고, 상기 경계를 기초로 상기 알약의 개수를 카운팅한다.The medication monitoring apparatus according to another embodiment of the present invention may further comprise: an image capturing unit for capturing at least one pell to generate a pellicle image; and a control unit for counting the number of pellets using the pell image, And a display unit for displaying a result of the determination as to whether or not the pills are supplied in a fixed quantity. The control unit converts the pellicle image into a grayscale pellucid tablet image Sets the boundaries of the pellets, and counts the number of pellets based on the boundaries.

실시 예에 따라, 상기 복약 모니터링 장치는, 상기 기준 개수에 대한 복약정보를 저장하는 저장부를 더 포함할 수 있다.According to an embodiment, the medication monitoring apparatus may further include a storage unit for storing medication information for the reference number.

실시 예에 따라, 상기 제어부는 현재 시간대에 대응하여 미리 설정된 복약정보를 저장부로부터 리드할 수 있다.According to the embodiment, the control unit may read the medication information set in advance corresponding to the current time zone from the storage unit.

실시 예에 따라, 상기 판단 결과를 네트워크를 통해 담당 의료기관에 제공하는 통신 모듈을 더 포함할 수 있다.According to an embodiment of the present invention, the communication module may further include a communication module for providing the determination result to a medical institution in charge via a network.

본 발명의 실시 예에 따른 복약 모니터링 장치 및 이의 동작 방법에 의하면, 제공된 알약을 촬영하여 알약의 개수를 결정하고, 알약의 개수와 기준 개수를 비교하여 사용자에게 알약의 정량 공급 여부를 제공할 수 있으며, 이로써 사용자는 손쉽게 알약의 오복용을 방지할 수 있다.According to the drug monitoring apparatus and the operation method thereof according to the embodiment of the present invention, the number of pellets is determined by photographing the provided pellets, the number of pellets is compared with the reference number, , So that the user can easily prevent misuse of the pills.

도 1은 본 발명의 실시 예에 따른 복약 모니터링 장치의 개략적인 블록도이다.
도 2a는 제1 관심 이미지를 설정하는 방법을 설명하기 위한 도면이다.
도 2b는 도 2a에 도시된 제1 관심 이미지를 이용하여 알약 이미지 영역들을 포함하는 제2 관심 이미지를 도시한 도면이다.
도 2c는 도 2b에 도시된 제2 관심 이미지를 회색조 명암으로 변환한 제3 관심 이미지를 도시한 도면이다.
도 2d는 도 2c에 도시된 알약 이미지 영역들을 제1 객체 마스크로 변환한 제4 관심 이미지를 도시한 도면이다.
도 2e은 도 2d에 도시된 제1 객체 마스크를 기초로 생성된 제2 객체 마스크를 포함하는 제5 관심 이미지를 도시한 도면이다.
도 2f은 도 2e에 도시된 제2 객체 마스크에 서로 다른 색상을 레이블링(labeling)한 제6 관심 이미지를 도시한 도면이다.
도 2g는 도 2a에 도시된 제1 알약 이미지에 숫자를 색인한 제2 알약 이미지를 설명하기 위한 도면이다.
도 3은 본 발명의 다른 실시 예에 따른 복약 모니터링 장치의 동작 방법을 설명하기 위한 흐름도이다.
1 is a schematic block diagram of a medication monitoring apparatus according to an embodiment of the present invention.
2A is a diagram for explaining a method of setting a first interest image.
FIG. 2B is a diagram showing a second interest image including the pill image areas using the first interest image shown in FIG. 2A. FIG.
FIG. 2C is a diagram showing a third interest image obtained by converting the second interest image shown in FIG. 2B into grayscale.
FIG. 2D illustrates a fourth interest image obtained by converting the pill image areas shown in FIG. 2C into a first object mask.
FIG. 2E is a diagram showing a fifth interest image including a second object mask generated based on the first object mask shown in FIG. 2D.
FIG. 2F is a view showing a sixth interest image in which different colors are labeled in the second object mask shown in FIG. 2E.
FIG. 2G is a view for explaining a second pill image in which numerals are indexed in the first pill image shown in FIG. 2A. FIG.
3 is a flowchart illustrating an operation method of a medication monitoring apparatus according to another embodiment of the present invention.

본 명세서에 개시되어 있는 본 발명의 개념에 따른 실시 예들에 대해서 특정한 구조적 또는 기능적 설명은 단지 본 발명의 개념에 따른 실시 예들을 설명하기 위한 목적으로 예시된 것으로서, 본 발명의 개념에 따른 실시 예들은 다양한 형태들로 실시될 수 있으며 본 명세서에 설명된 실시 예들에 한정되지 않는다.It is to be understood that the specific structural or functional description of embodiments of the present invention disclosed herein is for illustrative purposes only and is not intended to limit the scope of the inventive concept But may be embodied in many different forms and is not limited to the embodiments set forth herein.

본 발명의 개념에 따른 실시 예들은 다양한 변경들을 가할 수 있고 여러 가지 형태들을 가질 수 있으므로 실시 예들을 도면에 예시하고 본 명세서에서 상세하게 설명하고자 한다. 그러나, 이는 본 발명의 개념에 따른 실시 예들을 특정한 개시 형태들에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물, 또는 대체물을 포함한다.The embodiments according to the concept of the present invention can make various changes and can take various forms, so that the embodiments are illustrated in the drawings and described in detail herein. It should be understood, however, that it is not intended to limit the embodiments according to the concepts of the present invention to the particular forms disclosed, but includes all modifications, equivalents, or alternatives falling within the spirit and scope of the invention.

제1 또는 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만, 예컨대 본 발명의 개념에 따른 권리 범위로부터 벗어나지 않은 채, 제1구성 요소는 제2구성 요소로 명명될 수 있고 유사하게 제2구성 요소는 제1구성 요소로도 명명될 수 있다.The terms first, second, etc. may be used to describe various elements, but the elements should not be limited by the terms. The terms may be named for the purpose of distinguishing one element from another, for example, without departing from the scope of the right according to the concept of the present invention, the first element may be referred to as a second element, The component may also be referred to as a first component.

어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는 중간에 다른 구성 요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성 요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between. Other expressions that describe the relationship between components, such as "between" and "between" or "neighboring to" and "directly adjacent to" should be interpreted as well.

본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로서, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 본 명세서에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, the terms "comprises" or "having" and the like are used to specify that there are features, numbers, steps, operations, elements, parts or combinations thereof described herein, But do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 나타낸다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 갖는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the meaning of the context in the relevant art and, unless explicitly defined herein, are to be interpreted as ideal or overly formal Do not.

도 1은 본 발명의 실시 예에 따른 복약 모니터링 장치의 개략적인 블록도이다.1 is a schematic block diagram of a medication monitoring apparatus according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시 예에 따른 복약 모니터링 장치(100)는 영상 촬영부(110), 제어부(120), 저장부(130), 표시부(140), 및 통신부(150)를 포함한다.1, a medication monitoring apparatus 100 according to an exemplary embodiment of the present invention includes an image capturing unit 110, a controller 120, a storage unit 130, a display unit 140, and a communication unit 150 do.

복약 모니터링 장치(100)는 적어도 하나의 알약을 촬영하여 알약의 개수를 카운팅하여, 사용자가 복용해야 할 알약의 정량을 판단하고, 사용자에게 판단결과를 제공할 수 있다.The drug monitoring apparatus 100 may count at least one pellet to count the number of pellets, determine the amount of the pellet the user should take, and provide the user with a determination result.

실시 예에 따라, 복약 모니터링 장치(100)는 PC(personal computer), 스마트 폰(smart phone), 태블릿 (tablet) PC, 모바일 인터넷 장치(mobile internet device(MID)), 인터넷 태블릿, IoT(internet of things) 장치, IoE(internet of everything) 장치, 데스크 탑 컴퓨터(desktop computer), 랩탑(laptop) 컴퓨터, 워크스테이션 컴퓨터, 및 PDA (personal digital assistant) 중 어느 하나일 수 있으나, 이에 한정되는 것은 아니다.According to an embodiment, the medication monitoring device 100 may be a personal computer (PC), a smart phone, a tablet PC, a mobile internet device (MID), an internet tablet, an internet but are not limited to, computers, workstations, Internet of everything (IoE) devices, desktop computers, laptop computers, workstation computers, and personal digital assistants (PDAs).

영상 촬영부(110)는 알약을 촬영하여 알약 이미지를 생성할 수 있다. 영상 촬영부(110)는 생성된 알약 이미지를 제어부(120)에 제공할 수 있다.The image capturing unit 110 may capture a pill to generate a pill image. The image capturing unit 110 may provide the generated tablet image to the control unit 120. [

제어부(120)는 알약 이미지를 이용하여 알약의 개수를 카운팅하고, 알약의 개수와 미리 설정된 알약의 기준 개수를 비교하여 알약의 정량 공급 여부를 판단할 수 있다.The control unit 120 counts the number of pills using the pellet image, and compares the number of pellets with the reference number of the predetermined pellets to determine whether the pellets are supplied in a fixed amount.

예컨대, 제어부(120)가 알약 이미지에 포함된 알약의 개수를 5개로 판단한 경우, 기준 개수가 5개로 설정되어 있다면, 제어부(120)는 알약이 정량에 맞게 공급된 것으로 판단할 수 있다.For example, if the control unit 120 determines that the number of pills contained in the pill image is five, if the reference number is set to five, the control unit 120 can determine that the pills are supplied according to the predetermined amount.

예컨대, 제어부(120)가 알약 이미지에 포함된 알약의 개수를 4개로 판단한 경우, 기준 개수가 5개로 설정되어 있다면, 제어부(120)는 알약이 정량이 맞지 않게 공급된 것으로 판단할 수 있다.For example, if the control unit 120 determines that the number of pills contained in the pill image is four, if the reference number is set to five, the control unit 120 may determine that the pills are supplied in an incorrect amount.

실시 예에 따라, 제어부(120)는 알약 이미지를 이용하여 알약이 존재하지 않는 것으로 판단한 경우, 알약이 존재하지 않는다는 판단결과를 표시부(140)에 제공할 수 있다.According to the embodiment, when the controller 120 determines that the pill does not exist using the tablet image, the controller 120 may provide the display unit 140 with a determination result that the tablet does not exist.

제어부(120)가 알약 이미지를 이용하여 알약의 정량 공급 여부를 판단하는 과정은 도 2a 내지 도 2g를 참조하여 상세히 설명될 것이다.A process for the controller 120 to determine whether or not the pill is supplied in a fixed amount using the pill image will be described in detail with reference to FIGS. 2A to 2G.

저장부(130)는 복약 모니터링 장치(100)의 사용자를 위한 복약정보를 저장할 수 있다. 예컨대, 저장부(130)는 사용자가 복용해야되는 알약의 개수에 대한 복약정보를 저장할 수 있다.The storage unit 130 may store medication information for a user of the medication monitoring device 100. [ For example, the storage unit 130 may store medication information on the number of pills to be taken by the user.

실시 예에 따라, 상기 복약정보는 사용자 복용해야되는 알약의 개수를 일단위, 월단위, 시간대 단위 등으로 저장할 수 있다. 따라서, 알약의 정량은 사용자가 알약을 복용하는 일, 월, 시간대 별로 다르게 설정될 수 있다.According to an embodiment, the medication information may store the number of pills to be taken by the user on a daily, monthly, or time-based basis. Therefore, the amount of the pellets can be set differently according to the day, month, and time zone in which the user takes the pellets.

표시부(140)는 제어부(120)로부터 제공된 알약의 정량 공급 여부에 대한 판단결과를 표시할 수 있다. The display unit 140 may display a determination result as to whether or not the pill supplied from the control unit 120 is supplied in a fixed amount.

예컨대, 표시부(140)는 제어부(120)로부터 제공된 판단결과를 기초로 카운팅된 알약의 개수와 기준 개수가 일치하지 않는 경우, 사용자가 알약의 개수를 다시 확인할 수 있도록 경고성 메시지를 표시할 수 있다. For example, if the number of pills counted based on the determination result provided from the control unit 120 does not match the reference number, the display unit 140 may display a warning message so that the user can check the number of pills again .

또한, 표시부(140)는 제어부(120)로부터 제공된 판단결과를 기초로 알약이 존재하지 않는 것으로 판단된 경우, 알약이 존재하지 않음을 메시지로 표시할 수 있다.The display unit 140 may display a message indicating that the tablet does not exist when it is determined that the tablet does not exist based on the determination result provided by the controller 120. [

또한, 표시부는(140)는 제어부(120)로부터 제공된 판단결과를 기초로 최종 복약 확인 성공 또는 실패에 대한 결과를 표시할 수 있으며, 상기 결과가 최종 복약 확인 실패인 경우에 사용자에게 알약을 다시 제공하도록 요청하는 메시지를 표시할 수 있다.Also, the display unit 140 may display a result of the success or failure of the final drug check based on the determination result provided from the control unit 120, and if the result is the final drug check failure, A message may be displayed.

또한, 표시부(140)는 제어부(120)로부터 알약의 개수가 색인되거나, 알약에 서로 다른 색상이 레이블링된 알약 이미지를 제공받는 경우, 사용자가 알약의 개수를 직접 카운팅할 수 있도록 상기 알약 이미지를 표시할 수 있다.In addition, when the number of pills is indexed from the control unit 120, or when a pill image in which different colors are labeled is given to the pill, the display unit 140 displays the pill image so that the user can directly count the number of pills can do.

통신부(150)는 제어부(120)로부터 제공된 알약의 정량 공급 여부에 대한 판단결과를 네트워크를 통해 사용자의 담당 의료기관에 제공할 수 있다.The communication unit 150 may provide the result of the determination as to whether or not the pill supplied from the control unit 120 is a fixed amount to the medical institution in charge of the user through the network.

예컨대, 통신부(150)는 정기적으로 알약을 복용하는 사용자의 담당 의료기관과 네트워크를 통해 연결되어, 사용자가 알약을 복용할 때마다 알약의 정량 공급 여부를 판단하여 담당 의료기관에 제공할 수 있다.For example, the communication unit 150 may be connected to a medical institution in charge of a user who regularly takes a pill, and may determine whether or not the pill is supplied in a fixed amount each time the user takes the pill, and provide the determined amount to the medical institution in charge.

도 2a는 제1 관심 이미지를 설정하는 방법을 설명하기 위한 도면이고, 도 2b는 도 2a에 도시된 제1 관심 이미지를 이용하여 알약 이미지 영역들을 포함하는 제2 관심 이미지를 도시한 도면이고, 도 2c는 도 2b에 도시된 제2 관심 이미지를 회색조 명암으로 변환한 제3 관심 이미지를 도시한 도면이고, 도 2d는 도 2c에 도시된 알약 이미지 영역들을 제1 객체 마스크로 변환한 제4 관심 이미지를 도시한 도면이고, 도 2e은 도 2d에 도시된 제1 객체 마스크를 기초로 생성된 제2 객체 마스크를 포함하는 제5 관심 이미지를 도시한 도면이고, 도 2f은 도 2e에 도시된 제2 객체 마스크에 서로 다른 색상을 레이블링(labeling)한 제6 관심 이미지를 도시한 도면이고, 도 2g는 도 2a에 도시된 제1 알약 이미지에 숫자를 색인한 제2 알약 이미지를 설명하기 위한 도면이다.2A is a view for explaining a method of setting a first interest image, FIG. 2B is a view showing a second interest image including pill image areas using the first interest image shown in FIG. 2A, 2C is a view showing a third interest image obtained by converting the second interest image shown in FIG. 2B into grayscale contrast, FIG. 2D is a view showing a fourth interest image obtained by converting the pill image areas shown in FIG. 2C into a first object mask FIG. 2E is a view showing a fifth interest image including a second object mask generated based on the first object mask shown in FIG. 2D, FIG. 2F is a view showing a second interest image including the second object mask shown in FIG. FIG. 2G is a view for explaining a second pill image in which numbers are indexed in the first pill image shown in FIG. 2A. FIG.

도 2a를 참조하면, 제어부(120)는 영상 촬영부(110)로부터 제공된 제1 알약 이미지(IMa)에 미리 설정된 관심 영역(AR)에 대응하는 제1 관심 이미지(ARI1)를 설정할 수 있다.Referring to FIG. 2A, the controller 120 may set a first interest image ARI1 corresponding to a predetermined region of interest AR in the first pill image IMa provided from the image capturing unit 110. FIG.

여기서, 관심 영역(AR)이란 알약 이미지 중에서 알약의 위치를 분석하기 위해 필요한 최소의 이미지 영역을 의미하고, 제어부(120)는 영상 처리를 수행하기 전 관심 영역을 미리 설정할 수 있다. 실시 예에 따라, 관심 영역(AR)은 복약 모니터링 장치(100)의 사용자의 설정에 따라 변경될 수 있으며, 알약 이미지의 전체 영역이 관심 영역으로 설정될 수 있다.Here, the area of interest (AR) is the minimum image area required for analyzing the position of the pill among the image of the pill, and the controller 120 may preset the area of interest before performing the image processing. According to an embodiment, the region of interest AR may be changed according to the setting of the user of the drug monitoring apparatus 100, and the entire region of the pill image may be set as the region of interest.

제어부(120)는 제1 관심 이미지(ARI1)를 분석하여 알약의 개수를 카운팅하고, 제1 관심 이미지(ARI1) 이외의 영역은 알약이 존재하지 않는 것으로 판단하여 영상 처리를 수행하지 않을 수 있다.The control unit 120 may analyze the first interest image ARI1 to count the number of pills and may determine that the region other than the first interest image ARI1 does not exist and perform no image processing.

도 2b를 참조하면, 제어부(120)는 제1 관심 이미지(ARI1)의 색상 분포를 클러스터링(clustering)하여 유사한 색상 분포를 갖는 알약 이미지 영역들로 군집화할 수 있고, 군집화된 알약 이미지 영역을 포함하는 제2 관심 이미지(ARI2)를 생성할 수 있다. Referring to FIG. 2B, the controller 120 clusters the color distribution of the first image of interest ARI1 to cluster into the pill image regions having a similar color distribution, and includes the clustered pill image region And generate a second interest image ARI2.

그리고, 제어부(120)는 알약 이미지 영역들 각각을 대표 색상으로 표시할 수 있다.The control unit 120 may display each of the tablet image areas in a representative color.

예컨대, 제1 관심 이미지(ARI1)의 일부 영역이 붉은색 분포를 포함하고 있으면, 제어부(120)는 상기 일부 영역을 하나의 알약 이미지 영역으로 군집화하고, 대표 색상으로 붉은색으로 표시할 수 있다.For example, if a portion of the first interest image (ARI1) includes a red color distribution, the control unit 120 may group the partial region into one pill image region and display the red color in a representative color.

만약, 유사한 색상 분포를 갖는 이미지 영역들이 복수개 존재하는 경우, 제어부(120)는 유사한 색상 분포를 갖는 이미지 영역들 각각을 군집화하여 알약 이미지 영역들 설정할 수 있다.If there are a plurality of image regions having a similar color distribution, the control unit 120 may group the image regions having a similar color distribution to set the pill image regions.

도 2c를 참조하면, 제어부(120)는 제2 관심 이미지(ARI2)를 기초로 알약 이미지 영역을 회색조 명암으로 변환하여 알약 이미지 영역들 사이의 경계를 포함하는 제3 관심 이미지(AR3)를 생성할 수 있다.Referring to FIG. 2C, the control unit 120 converts the tabular image area into grayscale image based on the second interest image ARI2 to generate a third interest image AR3 including a boundary between the tabular image areas .

제어부(120)는 알약 이미지 영역의 내부를 흑색 이미지로 표시하고, 서로 다른 색상을 표시하는 알약 이미지 영역들 사이를 흰색 또는 회색의 경계로 표시할 수 있다. The control unit 120 may display the inside of the pill image area as a black image and display white or gray boundaries between the pill image areas displaying different colors.

이때, 경계로 둘러싸이지 않은 영역은 배경으로 판단될 수 있으며, 경계로 둘러싸인 영역은 알약에 대응되는 알약 이미지 영역으로 판단될 수 있다.At this time, the area not surrounded by the boundary can be judged as the background, and the area surrounded by the boundary can be judged as the tablet image area corresponding to the pill.

도 2d를 참조하면, 제어부(120)는 알약의 배치를 보다 구체적으로 판단하기 위해, 제3 관심 이미지(ARI3)를 기초로 제1 객체 마스크를 포함하는 제4 관심 이미지(ARI4)를 생성할 수 있다.2D, the control unit 120 may generate a fourth interest image ARI4 including a first object mask based on the third interest image ARI3 to more specifically determine the placement of the pill have.

제어부(120)는 배경으로 판단된 영역을 제외하고, 경계로 둘러싸인 알약 이미지 영역들에 대응하는 회색 또는 흰색의 객체 마스크를 생성할 수 있다. 이때, 배경으로 판단된 영역은 알약 이미지 영역과 구별하기 위해, 흑색 이미지로 그대로 표시된다.The control unit 120 may generate a gray or white object mask corresponding to the pill image regions surrounded by the boundary, except for the region determined as the background. At this time, the area judged as the background is displayed as a black image in order to distinguish it from the pill image area.

도 2e를 참조하면, 제어부(120)는 제4 관심 이미지(ARI4)에 포함된 제1 객체 마스크 사이의 경계를 명확하게 설정하기 위해, 제2 객체 마스크를 포함하는 제5 관심 이미지(ARI5)를 생성할 수 있다.Referring to FIG. 2E, the control unit 120 generates a fifth interest image (ARI5) including a second object mask to clearly set a boundary between the first object masks included in the fourth interest image (ARI4) Can be generated.

구체적으로, 제어부(120)는 제3 관심 이미지(ARI3)에 포함된 경계의 명암을 반전하여 역영상 경계 마스크를 생성하고, 역영상 경계 마스크를 제4 관심 이미지(ARI4)의 제1 객체 마스크에 적용하여 제2 객체 마스크를 생성할 수 있다. 예컨대, 흰색 또는 회색 명암의 상기 제1 객체 마스크에 검은색 명암의 역영상 경계 마스크를 합하여 상기 제2 객체 마스크를 생성할 수 있다.Specifically, the control unit 120 generates an inverse image boundary mask by inverting the contrast of the boundary included in the third interest image ARI3, and generates an inverse image boundary mask to the first object mask of the fourth interest image ARI4 To generate a second object mask. For example, the second object mask may be generated by summing the first object mask of white or gray contrast with an inverse image boundary mask of black contrast.

실시 예에 따라, 제어부(120)는 모폴로지(morphology) 연산을 통해 제3 관심 이미지(ARI3)에 포함된 경계를 팽창시킨 후, 팽창된 경계의 명암을 반전하여 역영상 경계 마스크를 생성할 수 있다.According to an embodiment, the controller 120 may expand a boundary included in the third interest image (ARI3) through a morphology operation, and then invert the brightness of the expanded boundary to generate an inverse image boundary mask .

제2 객체 마스크는 알약 이미지로부터 알약의 개수를 확인하기 위해 생성된 최종 마스크이며, 제어부(120)는 흰색 또는 회색으로 표시된 알약 이미지 영역들 각각의 개수를 카운팅하여 알약의 개수를 결정할 수 있다.The second object mask is a final mask generated to identify the number of pellets from the pill image, and the control unit 120 can determine the number of pellets by counting the number of each of the pellicle image areas displayed in white or gray.

도 2f를 참조하면, 제어부(120)는 제2 객체 마스크에 포함된 알약 이미지 영역들의 개수를 카운팅하기 위해, 알약 이미지 영역들 각각에 서로 다른 색상을 레이블링(labeling)하여 제6 관심 이미지(ARI6)를 생성할 수 있다.Referring to FIG. 2F, the controller 120 labels different colors in each of the pill image areas to count the number of the pill image areas included in the second object mask, Lt; / RTI >

제어부(120)는 알약 이미지 영역들 각각에 서로 다른 색상을 레이블링하고, 레이블링된 색상의 가짓수를 카운팅하여 알약의 개수를 결정할 수 있다.The control unit 120 can label different colors in each of the pill image areas and determine the number of tablets by counting the number of labeled colors.

도 2g를 참조하면, 제어부(120)는 판단된 알약의 개수를 기초로 제1 알약 이미지(IMa)에 숫자를 색인하여 제2 알약 이미지(IMb)를 생성할 수 있다. Referring to FIG. 2G, the control unit 120 may generate a second pill image IMb by indexing a number in the first pill image IMa based on the number of the determined pill.

예컨대, 제1 알약 이미지(IMa)에 포함된 알약의 개수가 6개로 판단된 경우, 제2 알약 이미지(IMb) 중 알약 이미지 영역과 대응하는 영역에 서로 다른 숫자를 색인할 수 있다. For example, when the number of pills contained in the first pill image IMa is determined to be six, a different number may be indexed in the area corresponding to the pill image area of the second pill image IMb.

실시 예에 따라, 제어부(120)는 제2 알약 이미지(IMb) 중 알약 이미지 영역과 대응하는 영역에 서로 다른 숫자, 기호, 및 문자 중 적어도 하나를 색인할 수 있다.According to the embodiment, the control unit 120 may index at least one of different numbers, symbols, and characters in the area corresponding to the tablet image area of the second pill image IMb.

또한, 제어부(120)는 저장부(130)로부터 리드된 복약 정보를 이용하여 카운팅된 알약의 개수와 기준 개수를 비교하여 알약의 정량 공급 여부를 판단할 수 있다. The control unit 120 may compare the number of pills counted using the medication information read from the storage unit 130 with the reference number to determine whether the pills are supplied in a fixed amount.

제어부(120)는 제2 알약 이미지(IMb)와 함께 판단결과를 표시부(140)에 공급할 수 있고, 표시부(140)는 제2 알약 이미지(IMb)와 판단결과를 표시할 수 있다.The control unit 120 may supply the determination result to the display unit 140 together with the second pill image IMb and the display unit 140 may display the second pill image IMb and the determination result.

사용자는 표시부(140)를 통해 현재 제공된 알약의 정량 공급 여부를 판단할 수 있기 때문에, 알약의 오남용 등을 방지할 수 있다.Since the user can determine whether or not the currently provided pill is supplied in a fixed amount through the display unit 140, abuse or the like of the pill can be prevented.

도 3은 본 발명의 다른 실시 예에 따른 복약 모니터링 장치의 동작 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating an operation method of a medication monitoring apparatus according to another embodiment of the present invention.

도 3을 참조하면, 영상 촬영부(110)는 적어도 하나의 알약을 촬영하여 알약 이미지를 생성할 수 있다(S100).Referring to FIG. 3, the image capturing unit 110 may capture at least one tablet to generate a tablet image (S100).

제어부(120)는 알약 이미지 중에서 미리 정의된 관심 영역에 대응하는 관심 이미지를 설정할 수 있다(S110).The control unit 120 can set an interest image corresponding to a predefined region of interest in the pill image (S110).

제어부(120)는 관심 이미지의 색상 분포를 클러스터링(clustering)하여 유사한 색상 분포를 갖는 알약 이미지 영역들로 군집화할 수 있다(S120).The control unit 120 clusters the color distribution of the image of interest to cluster into the pill image regions having a similar color distribution (S120).

제어부(120)는 알약 이미지 영역들을 회색조 명암으로 변환하여, 알약 이미지 영역들 사이의 경계를 설정할 수 있다(S130).The control unit 120 may convert the tablet image areas into grayscale images and set a boundary between the tablet image areas (S130).

제어부(120)는 경계를 기초로 알약 이미지 영역들에 대응하는 객체 마스크를 생성할 수 있다(S140).The control unit 120 may generate an object mask corresponding to the pill image areas based on the boundary (S140).

제어부(120)는 객체 마스크를 기초로 알약 이미지 영역들의 개수를 카운팅하여 알약의 개수를 결정할 수 있다(S150).The control unit 120 may determine the number of pills by counting the number of the pill image areas based on the object mask (S150).

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100: 복약 모니터링 장치 110: 영상 촬영부
120: 제어부 130: 저장부
140: 표시부 150: 통신부
100: Medication monitoring device 110:
120: control unit 130:
140: Display unit 150:

Claims (12)

적어도 하나의 알약을 촬영하여 알약 이미지를 생성하는 단계;
상기 알약 이미지 중에서 미리 정의된 관심 영역에 대응하는 관심 이미지를 설정하는 단계;
상기 관심 이미지의 색상 분포를 클러스터링(clustering)하여 유사한 색상 분포를 갖는 알약 이미지 영역들로 군집화하는 단계;
상기 알약 이미지 영역들을 회색조 명암으로 변환하여, 상기 알약 이미지 영역들 사이의 경계를 설정하는 단계;
상기 경계를 기초로 상기 알약 이미지 영역들에 대응하는 객체 마스크를 생성하는 단계; 및
상기 객체 마스크를 기초로 상기 알약 이미지 영역들의 개수를 카운팅하여 상기 알약의 개수를 결정하는 단계를 포함하는 복약 모니터링 장치의 동작 방법.
Capturing at least one pill to generate a pill image;
Setting an interest image corresponding to a predefined region of interest from the pill image;
Clustering the color distribution of the image of interest to cluster into pill image regions having a similar color distribution;
Converting the pill image areas to grayscale contrast to set a boundary between the pill image areas;
Generating an object mask corresponding to the pill image areas based on the boundary; And
And counting the number of pill image areas based on the object mask to determine the number of pills.
제1항에 있어서, 상기 객체 마스크를 생성하는 단계는,
상기 경계를 기초로 상기 알약 이미지 영역들에 대응하는 제1 객체 마스크를 생성하는 단계;
상기 경계의 명암을 반전하여 역영상 경계 마스크를 생성하는 단계; 및
상기 제1 객체 마스크에 상기 역영상 경계 마스크를 적용하여 제2 객체 마스크를 생성하는 단계를 포함하는 복약 모니터링 장치의 동작 방법.
2. The method of claim 1, wherein generating the object mask comprises:
Generating a first object mask corresponding to the pill image areas based on the boundary;
Generating an inverse image boundary mask by inverting the contrast of the boundary; And
And generating a second object mask by applying the inverse image boundary mask to the first object mask.
제2항에 있어서, 상기 역영상 경계 마스크를 생성하는 단계는,
모폴로지 연산을 통해 상기 경계를 팽창시킨 후, 팽창된 경계의 명암을 반전하여 상기 역영상 경계 마스크를 생성하는 복약 모니터링 장치의 동작 방법.
3. The method of claim 2, wherein generating the inverse image boundary mask comprises:
And the inverse image boundary mask is generated by inverting the contrast of the expanded boundary after inflating the boundary through a morphology operation.
제2항에 있어서, 상기 알약의 개수를 결정하는 단계는,
상기 제2 객체 마스크에 포함된 상기 알약 이미지 영역들의 개수를 카운팅하여 상기 알약의 개수를 결정하는 복약 모니터링 장치의 동작 방법.
3. The method of claim 2, wherein determining the number of pills comprises:
And counting the number of the pill image areas included in the second object mask to determine the number of the pill.
제1항에 있어서,
상기 객체 마스크에 포함된 상기 알약 이미지 영역들 각각에 서로 다른 색상을 레이블링하는 단계를 더 포함하는 복약 모니터링 장치의 동작 방법.
The method according to claim 1,
Further comprising labeling different colors in each of the pill image areas included in the object mask.
제1항에 있어서,
상기 객체 마스크에 포함된 상기 알약 이미지 영역들 각각에 서로 다른 숫자, 기호, 및 문자 중 적어도 하나를 색인하는 단계를 더 포함하는 복약 모니터링 장치의 동작 방법.
The method according to claim 1,
Further comprising indexing at least one of different numbers, symbols, and characters in each of the pill image areas included in the object mask.
제1항에 있어서,
상기 알약의 개수와 미리 설정된 기준 개수를 비교하여 상기 알약의 정량 공급 여부를 판단하는 단계를 더 포함하는 복약 모니터링 장치의 동작 방법.
The method according to claim 1,
And comparing the number of the pills with a preset reference number to determine whether the pills are supplied in a fixed amount.
제7항에 있어서,
상기 알약의 정량 공급 여부에 대한 판단결과를 사용자에게 제공하는 단계를 더 포함하는 복약 모니터링 장치의 동작 방법.
8. The method of claim 7,
Further comprising the step of providing the user with a result of the determination as to whether or not the pellets are supplied in a quantitative manner.
적어도 하나의 알약을 촬영하여 알약 이미지를 생성하는 영상 촬영부;
상기 알약 이미지를 이용하여 상기 알약의 개수를 카운팅하고, 상기 알약의 개수와 미리 설정된 기준 개수를 비교하여 상기 알약의 정량 공급 여부를 판단하는 제어부; 및
상기 알약의 정량 공급 여부에 대한 판단결과를 표시하는 표시부를 포함하고,
상기 제어부는 상기 알약 이미지를 회색조 명암의 알약 이미지로 변환하여 상기 알약의 경계를 설정하고, 상기 경계를 기초로 상기 알약의 개수를 카운팅하는 복약 모니터링 장치.
An image capturing unit for capturing at least one tablet to generate a tablet image;
A controller for counting the number of pills using the pellicle image and comparing the number of the pellets with a preset reference number to determine whether the pellets are supplied in a fixed amount; And
And a display unit for displaying a result of the determination as to whether or not the pellets are supplied in a fixed quantity,
Wherein the control unit converts the image of the pill into a tablet image of grayscale and contrast to set a boundary of the tablet and counts the number of the pill based on the boundary.
제9항에 있어서,
상기 기준 개수에 대한 복약정보를 저장하는 저장부를 더 포함하는 복약 모니터링 장치.
10. The method of claim 9,
And a storage unit for storing medication information on the reference number.
제10항에 있어서,
상기 제어부는 현재 시간대에 대응하여 미리 설정된 복약정보를 저장부로부터 리드하는 복약 모니터링 장치.
11. The method of claim 10,
Wherein the control unit reads the prescribed medication information corresponding to the current time zone from the storage unit.
제9항에 있어서,
상기 판단 결과를 네트워크를 통해 담당 의료기관에 제공하는 통신 모듈을 더 포함하는 복약 모니터링 장치.


10. The method of claim 9,
And a communication module for providing the result of the determination to a medical institution in charge via a network.


KR1020160104447A 2016-08-17 2016-08-17 Medication monitoring apparatus and operating method therof KR20180020017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160104447A KR20180020017A (en) 2016-08-17 2016-08-17 Medication monitoring apparatus and operating method therof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160104447A KR20180020017A (en) 2016-08-17 2016-08-17 Medication monitoring apparatus and operating method therof

Publications (1)

Publication Number Publication Date
KR20180020017A true KR20180020017A (en) 2018-02-27

Family

ID=61394582

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160104447A KR20180020017A (en) 2016-08-17 2016-08-17 Medication monitoring apparatus and operating method therof

Country Status (1)

Country Link
KR (1) KR20180020017A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021025225A1 (en) * 2019-08-07 2021-02-11 (주)코글릭스 Vision counting device for verification, and vision counting system for verification, comprising same
KR20220067363A (en) * 2020-11-17 2022-05-24 주식회사 메딜리티 Image analysis server, object counting method using the same and object counting system
KR20220067370A (en) * 2020-11-17 2022-05-24 주식회사 메딜리티 Counting method of objects included in multiple images using an image analysis server and object counting system
WO2022108044A1 (en) * 2020-11-17 2022-05-27 주식회사 메딜리티 Image analysis server, object counting method using image analysis server, and object counting system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5351980B2 (en) * 2010-07-09 2013-11-27 パナソニック株式会社 Tablet inspection support method and tablet inspection support device
KR20140022894A (en) * 2011-04-28 2014-02-25 가부시키가이샤 유야마 세이사쿠쇼 Medicine checking device and apparatus for separately packaging medicines
JP2015523561A (en) * 2012-06-07 2015-08-13 メドスナップ・リミテッド・ライアビリティ・カンパニーMedsnap, LLC Tablet identification system and method
JP2016106647A (en) * 2014-12-01 2016-06-20 関西セイキ工業株式会社 Agent inspection support device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5351980B2 (en) * 2010-07-09 2013-11-27 パナソニック株式会社 Tablet inspection support method and tablet inspection support device
KR20140022894A (en) * 2011-04-28 2014-02-25 가부시키가이샤 유야마 세이사쿠쇼 Medicine checking device and apparatus for separately packaging medicines
JP2015523561A (en) * 2012-06-07 2015-08-13 メドスナップ・リミテッド・ライアビリティ・カンパニーMedsnap, LLC Tablet identification system and method
JP2016106647A (en) * 2014-12-01 2016-06-20 関西セイキ工業株式会社 Agent inspection support device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
일본 공표특허공보 특표2015-523561호(2015.08.13.) 1부. *
일본 특허공보 특허 제 5351980호(2013.11.27.) 1부. *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021025225A1 (en) * 2019-08-07 2021-02-11 (주)코글릭스 Vision counting device for verification, and vision counting system for verification, comprising same
KR20220067363A (en) * 2020-11-17 2022-05-24 주식회사 메딜리티 Image analysis server, object counting method using the same and object counting system
KR20220067370A (en) * 2020-11-17 2022-05-24 주식회사 메딜리티 Counting method of objects included in multiple images using an image analysis server and object counting system
WO2022108044A1 (en) * 2020-11-17 2022-05-27 주식회사 메딜리티 Image analysis server, object counting method using image analysis server, and object counting system

Similar Documents

Publication Publication Date Title
US10896244B2 (en) Medication monitoring and identification
KR20180020017A (en) Medication monitoring apparatus and operating method therof
US20190027238A1 (en) Method and apparatus for monitoring medication adherence
EP3243163B1 (en) Method and apparatus for recognition of patient activity
US20150040069A1 (en) User interface for tracking health behaviors
RU2731524C2 (en) Device and method of sending reminders to user
US20100042430A1 (en) System and method for collecting and authenticating medication consumption
US20180366218A1 (en) Generating Prescription Records from a Prescription Label on a Medication Package
CN109671476A (en) Recognition methods, device, terminal and the computer readable storage medium of unrelated medication
US11289179B1 (en) Automated medication compliance assurance system
JP2014016846A (en) Apparatus, method, and program for information processing
Syed-Abdul et al. A smart medication recommendation model for the electronic prescription
CN111312358A (en) Self-service medicine supermarket-based medicine purchase guiding method and system and readable storage medium
CN115101186B (en) Hospital treatment information management method and device based on big data
CN115363959A (en) Medication reminding method and device and display method
JPWO2019130495A1 (en) Computer system, drug proposal method and program
Zainal et al. EZmedZA: An mHealth app for elderly patient in supporting medication self-management
CN109493240A (en) Based on the rational method of medical big data monitoring adjuvant drug and Related product
US20120040319A1 (en) Systems and methods for medication compliance
EP2881912A1 (en) Information processing device, method, and program
Navon-Perry et al. Leveraging infographics in study schemas
Hsu et al. Real-Time Pill Identification with Prescription Confirmation Using Deep Learning on Embedded System
Kwong et al. Quality management of inpatient medication administration in Hong Kong Public Hospitals
CN114675797A (en) Method, device, storage medium and electronic equipment for determining image overflow
JP2017091112A (en) Prescription medicine information display method, prescription medicine information display program, and prescription medicine information display device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application