KR102641492B1 - Polyp detection method, device and computer program using endoscopy image - Google Patents

Polyp detection method, device and computer program using endoscopy image Download PDF

Info

Publication number
KR102641492B1
KR102641492B1 KR1020220001285A KR20220001285A KR102641492B1 KR 102641492 B1 KR102641492 B1 KR 102641492B1 KR 1020220001285 A KR1020220001285 A KR 1020220001285A KR 20220001285 A KR20220001285 A KR 20220001285A KR 102641492 B1 KR102641492 B1 KR 102641492B1
Authority
KR
South Korea
Prior art keywords
polyp
deep learning
learning model
score
detected
Prior art date
Application number
KR1020220001285A
Other languages
Korean (ko)
Other versions
KR20230105812A (en
Inventor
이항재
권찬영
박진배
차성재
Original Assignee
주식회사 아이넥스코퍼레이션
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 아이넥스코퍼레이션 filed Critical 주식회사 아이넥스코퍼레이션
Priority to KR1020220001285A priority Critical patent/KR102641492B1/en
Publication of KR20230105812A publication Critical patent/KR20230105812A/en
Application granted granted Critical
Publication of KR102641492B1 publication Critical patent/KR102641492B1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000094Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope extracting biological structures
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000096Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope using artificial intelligence
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00043Operational features of endoscopes provided with output arrangements
    • A61B1/00045Display arrangement
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00043Operational features of endoscopes provided with output arrangements
    • A61B1/00055Operational features of endoscopes provided with output arrangements for alerting the user
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/32Devices for opening or enlarging the visual field, e.g. of a tube of the body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • 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
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2576/00Medical imaging apparatus involving image processing or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10068Endoscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30028Colon; Small intestine
    • G06T2207/30032Colon polyp

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Pathology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Molecular Biology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Optics & Photonics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • Veterinary Medicine (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Image Analysis (AREA)
  • Endoscopes (AREA)

Abstract

본 발명의 일 실시예에 따른, 내시경 영상을 이용한 용종 검출 방법으로서, 상기 방법은, 적어도 제1 딥러닝 모델과 제2 딥러닝 모델을 준비하는 단계와, 인체에서 촬영한 내시경 영상을 수신하는 단계와, 상기 수신한 내시경 영상에 대하여 상기 제1 딥러닝 모델과 제2 딥러닝 모델 중 하나를 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 단계와, 용종 표시를 내시경 영상에 출력하는 단계를 포함하고, 상기 검출 단계에서 이용되는 딥러닝 모델은 용종 가능성 점수를 기초로 결정된다.A polyp detection method using an endoscopic image according to an embodiment of the present invention, the method comprising preparing at least a first deep learning model and a second deep learning model, and receiving an endoscopic image taken from the human body. and detecting the presence or absence of a polyp and location information of the polyp using one of the first deep learning model and the second deep learning model with respect to the received endoscopic image, and based on the presence or absence of the polyp over time. Comprising a step of calculating a polyp probability score for a polyp detected, determining whether to display a polyp on the endoscope image based on the calculated score, and outputting the polyp display on the endoscope image, and the detection step. The deep learning model used is determined based on the polyp likelihood score.

Description

내시경 영상을 이용한 용종 검출 방법, 장치 및 프로그램{POLYP DETECTION METHOD, DEVICE AND COMPUTER PROGRAM USING ENDOSCOPY IMAGE}Polyp detection method, device and program using endoscopic images {POLYP DETECTION METHOD, DEVICE AND COMPUTER PROGRAM USING ENDOSCOPY IMAGE}

본 발명은 내시경을 이용한 용종 검출 방법, 장치 및 프로그램에 관한 것이다. 보다 구체적으로는, 용종 검출의 실시간성은 보장하면서도 보다 정확히 용종을 검출할 수 있는, 내시경 영상으로부터의 용종 검출 방법, 장치 및 프로그램에 관한 것이다.The present invention relates to a method, device, and program for detecting polyps using an endoscope. More specifically, it relates to a polyp detection method, device, and program from an endoscopic image that can detect polyps more accurately while ensuring real-time polyp detection.

일반적으로 내시경 검사의 핵심 목적은 암의 전구 병변인 용종(내벽에 작게 솟은 조직의 일부로 발견이 되면 제거해야 함)을 발견하여 제거함으로써 암을 근원적으로 차단하는 것이다. In general, the core purpose of endoscopy is to fundamentally block cancer by discovering and removing polyps (small raised tissue on the inner wall that must be removed when discovered), which are precursor lesions of cancer.

내시경 검사(특히, 대장 내시경 검사)는 의사와 환자가 1 대 1로 시술되는 검사로, 노동 집약적이고, 검사에 시간이 많이 소요되는 단점이 있다. 또한, 검사가 반복적이고, 검사 과정에서 검사자의 숙련도, 검사자의 컨디션, 피로도, 실수 등 다양한 요인으로, 용종 검출이 실패할 수 있다. 내시경 검사에 따른 용종 검출 실패율은 많게는 30% 가까이 되는 것으로 알려져 있다.Endoscopy (particularly colonoscopy) is a test performed one-on-one between a doctor and a patient, and has the disadvantage of being labor-intensive and time-consuming. In addition, the test is repetitive, and polyp detection may fail due to various factors such as the tester's skill level, tester's condition, fatigue, and mistakes during the test process. The failure rate of polyp detection through endoscopy is known to be as high as 30%.

최근, 딥러닝 학습을 이용하여 내시경 영상으로부터 용종을 자동으로 검출하는 기술이 알려져 있다.Recently, technology for automatically detecting polyps from endoscopic images using deep learning is known.

내시경은 절곡 가능한 구조로, 검사자는 내시경을 절곡시켜서, 내시경의 선단부에 설치된 촬영 장치를 용종 의심 부위에 가깝게 이동시켜서, 용종 여부를 최종 확인한다. 종래의 딥러닝 학습을 이용한 용종 검출 기술은 딥러닝 학습을 이용하여 자동으로 내시경 영상에 용종 의심 부위를 검출하여 이를 내시경 영상에 표시한다. 이를 통해, 검사자의 용종 검출 실패율을 줄일 수 있다.The endoscope has a bendable structure, and the examiner bends the endoscope and moves the imaging device installed at the tip of the endoscope closer to the suspected polyp area to finally confirm the presence of a polyp. Conventional polyp detection technology using deep learning learning automatically detects suspected polyps in the endoscope image using deep learning learning and displays them on the endoscope image. Through this, the examiner's polyp detection failure rate can be reduced.

그런데, 내시경 검출 기술의 목적 상 딥러닝 용종 검출 모델은 실시간으로 내시경 영상에서 용종 의심 부위를 검출하여 이를 내시경 영상 상에 표시해야 하나, 딥러닝 용종 검출 모델의 처리 속도가 늦을 경우, 이러한 실시간 처리가 어려울 수 있거나, 고가의 장비가 필요하게 되는 문제점이 있다.However, for the purpose of endoscope detection technology, the deep learning polyp detection model must detect suspected polyps in the endoscope image in real time and display them on the endoscope image. However, if the processing speed of the deep learning polyp detection model is slow, such real-time processing is not possible. There are problems that can be difficult or require expensive equipment.

KR 10-2021-0150695 A (2021. 12. 13.)KR 10-2021-0150695 A (2021. 12. 13.)

본 발명은 상술한 문제점을 해결하기 위한 것으로서, 용종 검출의 실시간성은 보장하면서도 보다 정확히 용종을 검출할 수 있는, 내시경 영상으로부터의 용종 검출 방법, 장치 및 프로그램을 제공하고자 한다.The present invention is intended to solve the above-mentioned problems, and seeks to provide a polyp detection method, device, and program from an endoscopic image that can detect polyps more accurately while ensuring real-time polyp detection.

본 발명의 해결 과제는 위에서 언급한 내용으로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들을 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The problem to be solved by the present invention is not limited to the content mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below.

본 발명의 일 실시예에 따른, 내시경 영상을 이용한 용종 검출 방법은, 적어도 제1 딥러닝 모델과 제2 딥러닝 모델을 준비하는 단계와, 인체에서 촬영한 내시경 영상을 수신하는 단계와, 상기 수신한 내시경 영상에 대하여 상기 제1 딥러닝 모델과 제2 딥러닝 모델 중 하나를 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 단계와, 용종 표시를 내시경 영상에 출력하는 단계를 포함하고, 상기 검출 단계에서 이용되는 딥러닝 모델은 용종 가능성 점수를 기초로 결정될 수 있다.According to an embodiment of the present invention, a polyp detection method using an endoscopic image includes preparing at least a first deep learning model and a second deep learning model, receiving an endoscopic image taken from the human body, and receiving the endoscopic image. Detecting the presence or absence of a polyp and location information of the polyp using one of the first deep learning model and the second deep learning model for an endoscopic image, and the polyp detected based on the presence or absence of the polyp over time Comprising a step of calculating a polyp probability score, determining whether to display a polyp on the endoscopic image based on the calculated score, and outputting a polyp display on the endoscopic image, and deep used in the detection step. The learning model may be determined based on the polyp likelihood score.

제2 딥러닝 모델은 제1 딥러닝 모델보다 용종 검출 처리 속도가 낮을 수 있다.The second deep learning model may have a lower polyp detection processing speed than the first deep learning model.

또한, 산출된 점수가 기준값 이상인 경우, 용종 표시하고, 용종 가능성 점수가 상기 기준값보다 작게 설정된 기준값 이상인 경우, 제2 딥러닝 모델이 적용될 수 있다.In addition, if the calculated score is more than the reference value, a polyp is displayed, and if the polyp probability score is more than the reference value set smaller than the reference value, the second deep learning model can be applied.

본 발명의 일 실시예에 따르면, 용종 가능성 점수가 상기 기준값보다 작은 시간이 일정 시간 이상 지속되는 경우, 제2 딥러닝 모델이 적용될 수 있다. According to one embodiment of the present invention, when the polyp likelihood score is less than the reference value continues for more than a certain period of time, the second deep learning model may be applied.

또한, 본 발명의 일 실시예에 따르면, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계는, 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계와, 이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하는 단계를 포함할 수 있다.In addition, according to one embodiment of the present invention, the step of calculating a polyp probability score for a polyp detected based on the presence or absence of a polyp over time includes comparing the polyp detected in the frame with the polyp detected in the previous frame. In the step of calculating the polyp probability score by adding a predetermined score to the polyp probability score in the previous frame for the polyp detected in the previous frame and the current frame, and for the polyp newly detected in the frame, a predetermined score is added to the polyp probability score. It may be calculated as a probability score, and for polyps detected in the previous frame but not detected in the current frame, the step may include calculating the polyp probability score by subtracting a predetermined score from the polyp probability score in the previous frame.

또한, 상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정되고, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 낮게 설정된 기준값 이상인 경우, 제2 딥러닝 모델이 적용될 수 있다.In addition, the gradation of the polyp indication is determined according to the polyp probability score, and if the polyp probability score is higher than a reference value set lower than the polyp probability score corresponding to the highest polyp indication, the second deep learning model may be applied.

또한, 본 발명의 또 다른 일 실시예에 따르면, 내시경 영상을 이용한 용종 검출 장치는, 인체에서 촬영한 내시경 영상을 수신하는 영상 획득부와, 상기 수신한 내시경 영상에 대하여 제1 딥러닝 모델과 제2 딥러닝 모델 중 하나를 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 용종 검출부와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 용종 가능성 산출부와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 용종 표시 결정부와, 용종 표시를 내시경 영상에 출력하는 용종 표시부를 포함하고, 상기 용종 검출부에서 이용되는 딥러닝 모델은 용종 가능성 점수를 기초로 결정될 수 있다. In addition, according to another embodiment of the present invention, a polyp detection device using an endoscopic image includes an image acquisition unit that receives an endoscopic image taken from the human body, and a first deep learning model and a first deep learning model for the received endoscopic image. 2 A polyp detection unit that detects the presence or absence of a polyp and the location information of the polyp using one of the deep learning models, and a polyp probability calculation unit that calculates a polyp probability score for the detected polyp based on the presence or absence of the polyp over time. Based on the calculated score, it includes a polyp display determination unit that determines whether or not to display a polyp on the endoscopic image, and a polyp display unit that outputs a polyp display on the endoscopic image, and the deep learning model used in the polyp detection unit determines the possibility of a polyp. It can be decided based on the score.

본 발명의 또 다른 일 실시예에 따르면, 내시경 영상을 이용한 용종 검출 프로그램이며, 상기 용종 검출 프로그램은 프로세서와 결합되어, 컴퓨터로 판독가능한 기록 매체에 저장된 컴퓨터 프로그램이고, 상기 컴퓨터 프로그램은 상술한 용종 검출 방법을 상기 기록 매체 저장된 명령어에 의해 상기 프로세서에서 실행되도록 구성될 수 있다.According to another embodiment of the present invention, there is a polyp detection program using an endoscopic image, the polyp detection program is a computer program coupled to a processor and stored in a computer-readable recording medium, and the computer program detects the polyp described above. The method may be configured to be executed by the processor by instructions stored in the recording medium.

본 발명의 일 실시예에 따른 내시경 영상을 이용한 용종 검출 방법, 장치 및 프로그램에 따르면, 시간 추이에 따른 용종의 유무를 기초로 산출된 용종 가능성 점수에 따라 제1 딥러닝 모델과 제2 딥러닝 모델 중 하나가 이용되므로, 용종 검출의 실시간성은 보장하면서도 보다 정확히 용종을 검출하여 이를 표시할 수 있다.According to a polyp detection method, device, and program using an endoscopic image according to an embodiment of the present invention, a first deep learning model and a second deep learning model are used according to a polyp probability score calculated based on the presence or absence of polyps over time. Since one of the following is used, polyps can be detected and displayed more accurately while ensuring real-time polyp detection.

본 발명의 또 다른 일 실시예에 따르면, 시간 추이에 따른 용종의 유무를 기초로 산출된 용종 가능성 점수에 따라 용종 표시를 달리함에 따라, 용종 표시가 순간적으로 깜빡거리는 문제가 해결되는 효과가 있으며, 검사자는 직관적으로 잠재 용종의 용종 가능성을 인식할 수 있다. 또한, 용종 표시가 다소 많아지더라도, 검사자는 어느 부위를 내시경을 통해 진단해야 할지 쉽게 파악할 수 있으므로, 용종 판단 기준을 높여서 용종 표시를 줄일 필요가 적게 되어, 용종 검출 실패 위험이 낮아질 수 있다.According to another embodiment of the present invention, by varying the polyp display according to the polyp probability score calculated based on the presence or absence of polyps over time, the problem of the polyp display momentarily blinking is solved, The examiner can intuitively recognize the possibility of a latent polyp. In addition, even if the number of polyp signs increases, the examiner can easily determine which area should be diagnosed through endoscopy, so there is less need to reduce the number of polyp signs by raising the standard for polyp judgment, which can lower the risk of polyp detection failure.

또한, 본 발명의 또 다른 일 실시예에 따르면, 최상위 용종 표시나 일정 시간 동안 지속되는 잠재 용종 표시에 대해서는 보다 정확한 딥러닝 모델을 이용함으로써, 용종 검출의 실시간성은 보장하면서도 보다 정확히 용종을 검출하여 이를 표시할 수 있다.In addition, according to another embodiment of the present invention, a more accurate deep learning model is used for the highest polyp display or a potential polyp display that persists for a certain period of time, thereby ensuring real-time polyp detection and detecting polyps more accurately. It can be displayed.

도1은 본 발명의 일 실시예에 따른 용종 검출 장치의 블록도이다.
도2는 영상 획득부(20)에서 획득한 내시경 영상의 예를 도시한다.
도3은 각 용종들에 대하여 산출된 용종 가능성 점수를 설명하는 예이다.
도4는 용종의 시간 추이에 따른 용종 가능성 점수를 예시적으로 설명한 도면이다.
도5는 최초 프레임 1에서 용종 유무 및 용종 위치 정보를 검출한 예를 도시한다.
도6은 최초 프레임 1의 다음 프레임인 프레임 2에서 용종 유무 및 용종 위치 정보를 검출한 예를 도시한다.
도7은 최상위 용종 표시를 한 내시경 영상의 예를 도시한다.
도8은 복수의 검출 용종이 근접하여 모여 있는 영역을 표시한 내시경 영상의 예를 도시한다.
도9는 일정 시간 이상 잠재 용종으로 판단되는 용종에 대한 추가 표시를 한 내시경 영상의 예를 도시한다.
도10은 본 발명의 일 실시예에 따른 용종 검출 방법의 순서도이다.
도11은 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계를 보다 상세히 설명하는 도면이다.
Figure 1 is a block diagram of a polyp detection device according to an embodiment of the present invention.
Figure 2 shows an example of an endoscopic image acquired by the image acquisition unit 20.
Figure 3 is an example explaining the polyp probability score calculated for each polyp.
Figure 4 is a diagram illustrating the polyp probability score according to the time trend of the polyp.
Figure 5 shows an example of detecting the presence or absence of a polyp and polyp location information in the first frame 1.
Figure 6 shows an example of detecting the presence or absence of a polyp and polyp location information in frame 2, which is the next frame after the first frame 1.
Figure 7 shows an example of an endoscopic image with the highest polyp indicated.
Figure 8 shows an example of an endoscopic image displaying an area where a plurality of detected polyps are gathered in close proximity.
Figure 9 shows an example of an endoscopic image with additional markings for polyps that are judged to be latent polyps for more than a certain period of time.
Figure 10 is a flowchart of a polyp detection method according to an embodiment of the present invention.
Figure 11 is a diagram illustrating in more detail the step of calculating a polyp probability score for a detected polyp based on the presence or absence of a polyp over time.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면을 참조하여 상세하게 설명하도록 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. 제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어 들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. "및/또는"이라는 용어는 복수의 관련된 기재 항목들의 조합 또는 복수의 관련된 기재 항목들 중의 어느 항목을 포함한다. 어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급될 때에는 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부 품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. 또한, "제1"및 "제2"라는 용어는 본 명세서에서 구별 목적으로만 사용되며, 어떠한 방식으로도 서열 또는 우선 순위를 나타내거나 예상하는 것을 의미하지 않는 것으로 이해되어야 한다. 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일 반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Since the present invention can make various changes and have various embodiments, specific embodiments will be described in detail with reference to the drawings. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all changes, equivalents, and substitutes included in the spirit and technical scope of the present invention. While describing each drawing, similar reference numerals are used for similar components. Terms such as first, second, A, and B may be used to describe various components, but the components should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another. For example, a first component may be named a second component without departing from the scope of the present invention, and similarly, the second component may also be named a first component. The term “and/or” includes any of a plurality of related description items or a combination of a plurality of related description items. When a component is referred to as being “connected” or “connected” to another component, it should be understood that it may be directly connected to or connected to that other component, but that other components may exist in between. something to do. On the other hand, when it is mentioned that a component is “directly connected” or “directly connected” to another component, it should be understood that there are no other components in between. The terms used in this application are only used to describe specific embodiments and are not intended to limit the invention. Singular expressions include plural expressions unless the context clearly dictates otherwise. In this application, terms such as “comprise” or “have” are intended to designate the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, but are not intended to indicate the presence of one or more other features. It should be understood that this does not exclude in advance the possibility of the existence or addition of elements, numbers, steps, operations, components, parts, or combinations thereof. Additionally, it is to be understood that the terms "first" and "second" are used herein for distinguishing purposes only and do not in any way indicate or anticipate order or priority. Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the technical field to which the present invention pertains. Terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related technology, and unless explicitly defined in the present application, be interpreted as having an ideal or excessively formal meaning. It doesn't work.

명세서 및 청구범위 전체에서, 어떤 부분이 어떤 구성 요소를 포함한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있다는 것을 의미한다. 이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Throughout the specification and claims, when it is said that a part includes a certain component, this does not mean that other components are excluded, but that other components may be further included, unless specifically stated to the contrary. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the attached drawings.

도1은 본 발명의 일 실시예에 따른 용종 검출 장치의 블록도이다.Figure 1 is a block diagram of a polyp detection device according to an embodiment of the present invention.

도1을 참조하면, 본 발명의 일 실시예에 따른 용종 검출 장치는 영상 획득부(10), 용종 검출부(20), 용종 가능성 산출부(30), 용종 표시 결정부(40), 용종 표시부(50)를 포함할 수 있다.Referring to Figure 1, the polyp detection device according to an embodiment of the present invention includes an image acquisition unit 10, a polyp detection unit 20, a polyp probability calculation unit 30, a polyp display determination unit 40, and a polyp display unit ( 50) may be included.

본 발명의 일 실시예에 따른 영상 획득부(10)는 내시경 장비에서 촬영한 영상을 획득한다. 예컨대, 내시경 장비는 초당 60 프레임으로 영상을 촬영할 수 있으며, 반드시 이에 한정되는 것은 아니다. 본 발명의 일 실시예 따른 영상 획득부(10)는 상기 내시경 영상을 초당 20 또는 40 프레임씩 추출할 수 있으나, 반드시 이에 한정되는 것은 아니다.The image acquisition unit 10 according to an embodiment of the present invention acquires images captured by endoscopic equipment. For example, endoscope equipment can capture images at 60 frames per second, but is not necessarily limited to this. The image acquisition unit 10 according to an embodiment of the present invention may extract the endoscopic image at 20 or 40 frames per second, but is not necessarily limited thereto.

본 발명의 일 실시예에 따른 용종 검출부(20)는 상기 추출된 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 용종 위치 정보를 자동으로 검출할 수 있다. 여기서, 딥러닝 기반의 용종 검출 모델은 다수의 내시경 영상을 학습하여 얻어진 모델로, 내시경 영상에서 용종 위치 정보를 추출할 수 있다. The polyp detection unit 20 according to an embodiment of the present invention can automatically detect the presence or absence of a polyp and polyp location information using a deep learning model for the extracted endoscopic image. Here, the deep learning-based polyp detection model is a model obtained by learning multiple endoscopic images, and can extract polyp location information from the endoscopic images.

예컨대, 딥러닝 용종 검출 모델은 사각형의 용종 좌표와 용종 스코어(본 명세서에서, '용종 스코어'는 당해 프레임에 대해 딥러닝 용종 검출 모델이 처리하여 제공하는 것으로서, 특정 부위가 용종일 확률을 점수화한 것을 말함)를 산출하고, 용종 스코어를 기준값(threshold)와 비교하여 용종 여부를 검출할 수 있다. 예컨대, 용종 의심 부위 판단에 대한 용종 스코어의 기준값(threshold)이, 예를 들어, 700이면, 일 프레임에서 용종 의심 부위에 대한 용종 스코어가 700 이상(예컨대, 720)이면, 상기 용종 의심 부위는 용종으로 검출된다.For example, a deep learning polyp detection model uses rectangular polyp coordinates and a polyp score (in this specification, 'polyp score' is provided by processing the frame in question by a deep learning polyp detection model, scoring the probability that a specific area is a polyp). It is possible to detect the presence of a polyp by calculating the polyp score and comparing it with the threshold. For example, if the threshold value of the polyp score for determining the suspected polyp area is, for example, 700, if the polyp score for the suspected polyp area in one frame is 700 or more (e.g., 720), the suspected polyp area is a polyp. It is detected as

본 발명의 일 실시예에 따른 용종 검출부(20)는, 시간의 추이에 따른 용종의 유무를 기초로 보다 정확히 용종 여부를 검출하는 것이 필요하다고 판단되는 경우, 보다 정확한 딥러닝 용종 검출 모델을 적용하여 용종 여부를 검출할 수 있다.If it is determined that it is necessary to detect polyps more accurately based on the presence or absence of polyps over time, the polyp detection unit 20 according to an embodiment of the present invention applies a more accurate deep learning polyp detection model. Polyps can be detected.

예컨대, 본 발명의 일 실시예에 따르면, 용종 검출부는(20)는 후술하는 용종 가능성 산출부(30)에 의해 산출된 용종 가능성 점수를 기초로 딥러닝 용종 검출 모델을 결정할 수 있다. For example, according to one embodiment of the present invention, the polyp detection unit 20 may determine a deep learning polyp detection model based on the polyp probability score calculated by the polyp probability calculation unit 30, which will be described later.

용종 가능성 산출부(30)는, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출한다. 즉, 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하여, 이러한 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출할 수 있다. 예컨대, 이러한 용종 가능성 점수는, 당해 프레임에서 용종으로 검출되면 소정 점수가 가산되고, 당해 프레임에서 용종으로 검출되지 않으면 소정 점수가 감산되는 방식으로, 용종 가능성 점수가 누적 계산되는 방식으로 산출될 수 있다. The polyp probability calculation unit 30 calculates a polyp probability score for the detected polyp based on the presence or absence of a polyp over time. That is, the polyp detected in the current frame can be compared with the polyp detected in the previous frame, and based on this comparison, a predetermined score can be applied to calculate a polyp probability score over time. For example, this polyp probability score is calculated in such a way that a predetermined score is added if a polyp is detected in the frame, and a predetermined score is subtracted if a polyp is not detected in the frame, so that the polyp probability score is calculated cumulatively. .

당해 프레임에서 검출된 용종의 위치 좌표를 이전 프레임에서 검출된 용종의 위치 좌표와 비교하여 검출된 용종들이 서로 동일한지 여부를 판단할 수 있다. 용종 가능성 점수 산출부(30)는, 이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출할 수 있다.It is possible to determine whether the detected polyps are the same by comparing the position coordinates of the polyp detected in the frame with the position coordinates of the polyp detected in the previous frame. The polyp probability score calculation unit 30 calculates a polyp probability score by adding a predetermined score to the polyp probability score in the previous frame for the polyp detected in the previous frame and the current frame, and adds a polyp probability score to the polyp newly detected in the frame. For polyps that were detected in the previous frame but not detected in the current frame, a predetermined score is calculated as the polyp probability score, and the polyp probability score can be calculated by subtracting a predetermined score from the polyp probability score in the previous frame.

도2는 영상 획득부(20)에서 획득한 내시경 영상의 예를 도시한다. 최초 프레임 1에서는 제1 용종(1)과 제2 용종(2)이 제1 딥러닝 모델에 의해 용종으로 검출되고, 연속적인 다음 프레임인 프레임 2에서는 제1 용종(1)과 제3 용종(3)이 제1 딥러닝 모델에 의해 용종으로 검출되는 경우, 각 용종들에 대해 산출된 용종 가능성 점수는 아래와 같을 수 있다.Figure 2 shows an example of an endoscopic image acquired by the image acquisition unit 20. In the first frame 1, the first polyp (1) and the second polyp (2) are detected as polyps by the first deep learning model, and in the next consecutive frame, frame 2, the first polyp (1) and the third polyp (3) ) is detected as a polyp by the first deep learning model, the polyp probability score calculated for each polyp may be as follows.

도 3은 각 용종들에 대하여 산출된 용종 가능성 점수를 설명하는 예이다.Figure 3 is an example illustrating the polyp probability score calculated for each polyp.

도 3에서 알 수 있는 바와 같이, 제1 용종(1)은 프레임 1, 프레임 2에서 검출되었기 때문에, 소정 점수(예컨대, 1)가 가산되어, 프레임 2에서의 제1 용종 (1)의 용종 가능성 점수는 2이다. 제2 용종(2)은 프레임 1에서는 검출되었으나, 프레임 2에서는 검출되지 않았기 때문에, 소정 점수(예컨대, 1)가 감산되어, 프레임 2에서의 제2 용종(2)의 용종 가능성 점수는 0이다. 제3 용종(3)은 프레임 1에서는 검출되지 않았으나, 프레임 2에서는 검출되었기 때문에, 용종 가능성 점수는 1이다.As can be seen in FIG. 3, since the first polyp 1 was detected in frame 1 and frame 2, a predetermined score (e.g., 1) is added to determine the polyp probability of the first polyp 1 in frame 2. The score is 2. Since the second polyp 2 was detected in frame 1 but not in frame 2, a predetermined score (e.g., 1) is subtracted, and the polyp probability score of the second polyp 2 in frame 2 is 0. Since the third polyp (3) was not detected in frame 1 but was detected in frame 2, the polyp probability score is 1.

도 4는 용종의 시간 추이에 따른 용종 가능성 점수를 예시적으로 설명한 도면이다.Figure 4 is a diagram illustrating the polyp probability score according to the time trend of the polyp.

도 4에 도시된 바와 같이, 용종으로 검출된 횟수가 증가함에 따라 용종 가능성 점수는 증가하게 되고, 용종으로 검출되지 않은 횟수가 증가함에 따라 반대로 용종 가능성 점수는 감소하게 된다.As shown in Figure 4, as the number of polyps detected increases, the polyp probability score increases, and as the number of polyps not detected increases, the polyp probability score decreases.

본 발명의 일 실시예에 따르면, 용종 가능성 점수는 상기 누적 방식을 기본으로 하되, 부가적으로 조정될 수 있다. 예컨대, 연속적으로 용종이 검출되는 경우(예컨대, 5회 이상 용종 검출), 부가적으로 용종 가능성 점수에 3을 더할 수 있으며, 연속적으로 용종이 검출되지 않는 경우(예컨대, 5회 이상 용종 미검출), 부가적으로 용종 가능성 점수에 3을 뺄 수 있다.According to one embodiment of the present invention, the polyp probability score is based on the above cumulative method, but may be additionally adjusted. For example, if polyps are detected continuously (e.g., polyps detected more than 5 times), 3 can be additionally added to the polyp probability score, and if polyps are not detected continuously (e.g., polyps not detected more than 5 times), 3 can be additionally added to the polyp probability score. , additionally, 3 can be subtracted from the polyp probability score.

또한, 상기 점수는 용종 검출 여부에 따라, 동일 점수(예컨대, 1)가 가산되거나 감산되어 누적되는 것으로 설명하였지만, 상기 점수는 동일 점수가 아닐 수 있다. 예컨대, 용종 스코어와 기준값의 차이에 비례하도록 점수가 산출될 수 있고, 이 점수가 용종 검출 여부에 따라 가산되거나 감산될 수 있다. 즉, 용종 스코어가 780이고 기준값이 700인 경우, 그 차이는 80이며, 용종 스코어가 900인 경우, 그 차이는 200이다. 이 경우, 용종 가능성 점수에 가산되는 점수는 동일하지 않으며, 상기 차이에 비례하게 설정되어 용종 가능성 점수에 가산될 수 있다.In addition, although the score is explained as being accumulated by adding or subtracting the same score (e.g., 1) depending on whether or not a polyp is detected, the score may not be the same score. For example, a score may be calculated in proportion to the difference between the polyp score and the reference value, and this score may be added or subtracted depending on whether or not a polyp is detected. That is, if the polyp score is 780 and the reference value is 700, the difference is 80, and if the polyp score is 900, the difference is 200. In this case, the points added to the polyp likelihood score are not the same, and may be set in proportion to the difference and added to the polyp likelihood score.

본 발명의 일 실시예에 따른 용종 검출부에서는, 제1 딥러닝 모델과 제2 딥러닝 모델이 프레임 당 처리 속도를 달리하여 준비될 수 있다. 통상적으로, 처리 속도가 낮은 딥러닝 모델일수록(즉, 처리에 시간이 걸릴수록) 보다 정확한 용종 검출이 가능하다. 따라서, 처리 속도가 낮은 딥러닝 모델을 사용하게 되는 경우, 프레임 당 처리 속도는 느려지고, 이에 따라 내시경 영상에 대한 실시간 처리가 지연될 우려가 있다. 이러한 점을 감안하여, 본 발명의 일 실시예에서는, 제1 딥러닝 모델을 적용하여 용종 유무 및 용종 위치 좌표를 검출하다가, 보다 정확한 판단이 필요한 경우에는, 제1 딥러닝 모델보다 프레임 당 처리 속도가 낮은 제2 딥러닝 모델을 적용할 수 있다. 이를 통해, 내시경 영상에 대한 실시간 처리 지연의 우려는 최소화하면서도, 확실한 용종에 대해서는 보다 엄격한 기준으로 판단하여 용종을 표시할 수 있다.In the polyp detection unit according to an embodiment of the present invention, the first deep learning model and the second deep learning model may be prepared at different processing speeds per frame. Typically, the lower the processing speed of a deep learning model (i.e., the longer it takes to process), the more accurate polyp detection is possible. Therefore, when a deep learning model with a low processing speed is used, the processing speed per frame becomes slow, and there is a risk that real-time processing of the endoscopic image will be delayed. Considering this, in one embodiment of the present invention, while detecting the presence or absence of a polyp and polyp location coordinates by applying the first deep learning model, when a more accurate judgment is required, the processing speed per frame is higher than that of the first deep learning model. A second deep learning model with a low value can be applied. Through this, concerns about real-time processing delays for endoscopic images can be minimized, while polyps can be displayed by judging certain polyps based on stricter standards.

예컨대, 용종 표시 여부에 대한 기준값이 10인 경우, 용종 가능성 점수가 8 이상이면, 제2 딥러닝 모델을 적용하여 용종 여부 검출이 행해질 수 있다. 이러한 경우, 제2 딥러닝 모델을 통해서 용종 가능성 점수가 9를 넘어 10에 이르게 되면, 용종 표시 결정부(40)는 용종 표시를 결정하고, 이에 따라 용종 표시부(50)가 내시경 영상 상에 용종 표시를 출력하게 된다.For example, when the reference value for whether to display a polyp is 10, and the polyp probability score is 8 or more, the presence of a polyp can be detected by applying the second deep learning model. In this case, when the polyp probability score exceeds 9 and reaches 10 through the second deep learning model, the polyp display determination unit 40 determines the polyp display, and accordingly, the polyp display unit 50 displays the polyp on the endoscope image. is output.

또한, 프레임에 따라 용종으로 검출되는 것과 용종으로 검출되지 않는 것이 반복되는 경우 역시, 검사자 입장에서는 용종에 대한 정확한 판단이 요구될 수 있다. 즉, 용종 가능성 점수가 일정 시간 동안 소정 점수 범위에 머무르는 경우, 제2 딥러닝 모델이 적용될 수 있다.Additionally, in cases where a polyp is repeatedly detected and not detected as a polyp depending on the frame, an accurate judgment regarding the polyp may be required from the examiner's point of view. That is, when the polyp likelihood score stays within a predetermined score range for a certain period of time, the second deep learning model can be applied.

상술한 경우는 용종 표시가 단일인 경우를 전제로 하여 설명하였다. 본 발명의 일 실시예에 따르면, 후술하는 바와 같이 용종 표시는 시간 추이에 따른 용종의 유무를 기초로 하여 다르게 결정되어 내시경 영상에 표시될 수 있다. 즉, 용종으로 검출되면 검출된 용종을 표시하되, 시간 추이에 따른 용종의 유무를 기초로 하여 용종 표시를 다르게 결정한다. 이하에서는, 시간 추이에 따른 용종의 유무를 기초로 용종 표시가 다르게 결정되는 경우, 시간 추이에 따른 제1 딥러닝 모델과 제2 딥러닝 모델의 적용 실시예를 설명한다.The above-mentioned case was explained on the assumption that the polyp indication was single. According to an embodiment of the present invention, as will be described later, the polyp indication may be determined differently based on the presence or absence of a polyp over time and displayed on the endoscopic image. In other words, if a polyp is detected, the detected polyp is displayed, but the polyp display is determined differently based on the presence or absence of the polyp over time. Below, when the polyp indication is determined differently based on the presence or absence of a polyp over time, an application example of the first deep learning model and the second deep learning model over time will be described.

종래의 딥러닝을 이용한 용종 검출 기술에서는, 순간적으로 나타났다가 사라지는 거품이나 이물질, 촬영 각도 등 다양한 이유로 특정 부위가 용종 의심 부위로 판단되었다가, 용종 의심 부위로 판단되지 않게 되는 경우가 종종 발생한다. 예컨대, 용종 의심 부위 판단에 대한 용종 스코어의 기준값(threshold)이, 예를 들어, 700이면, 일 프레임에서는 용종 의심 부위에 대한 용종 스코어가 700 이상(예컨대, 720)이고, 상기 일 프레임에 대해 연속적인 다음 프레임에서는 용종 의심 부위에 대한 용종 스코어가 700 미만(예컨대, 650)인 경우, 내시경 영상에서 용종 의심 부위가 용종으로 사각형이 표시되었다가, 사각형은 사라지게 된다. 즉, 용종 표시가 깜빡거리게 된다(허위 양성, False Positive). In conventional polyp detection technology using deep learning, there are often cases where a specific area is judged to be a suspected polyp area for various reasons such as bubbles or foreign substances that appear and disappear momentarily, or the shooting angle, but is no longer judged to be a suspected polyp area. For example, if the threshold value of the polyp score for determining the suspected polyp area is, for example, 700, in one frame, the polyp score for the suspected polyp area is 700 or more (e.g., 720), and the polyp score for the suspected polyp area is 700 or more (e.g., 720), and the In the next frame, if the polyp score for the suspected polyp area is less than 700 (eg, 650), the suspected polyp area is displayed as a polyp in the endoscopic image, and then the square disappears. In other words, the polyp indicator blinks (false positive).

본 발명자는 용종 판단 기준을 높인다고 해서 이러한 문제를 근본적으로 해결할 수 없다는 점에 착안하였다. 즉, 용종 판단 기준을 높인다면, 허위 양성률을 줄이는 효과는 있을 수 있으나, 여전히 용종 부위 표시가 깜빡거리게 되는 문제 자체는 여전히 존재하며, 이를 완전히 해결할 수 없다. 또한, 허위 양성은 검사자 입장에서는 내시경 촬영 장치를 용종 의심 부위에 좀더 근접시켜서 최종적으로 종양 여부를 판단할 필요가 있을 수도 있는 것으로서, 이들은 노이즈로서 모두 제거 대상이 아니다. 즉, 용종 판단 기준을 높여서 허위 양성률을 줄이면, 용종 검출 실패 위험이 커지게 되는 문제가 있다.The present inventor focused on the fact that this problem cannot be fundamentally solved by raising the standard for determining polyps. In other words, raising the standard for polyp judgment may have the effect of reducing the false positive rate, but the problem of the polyp area indicator blinking still exists, and this cannot be completely solved. In addition, false positives mean that the examiner may need to bring the endoscopic imaging device closer to the suspected polyp area to ultimately determine whether there is a tumor, and these are noises and are not subject to removal. In other words, if the false positive rate is reduced by raising the standard for polyp detection, there is a problem that the risk of polyp detection failure increases.

본 발명의 일 실시예에 따르면, 용종 표시 결정부(30)는, 상기 용종 가능성 점수에 따라 용종 표시(60)를 달리할 수 있다. 예컨대, 이미지 영상 상의 용종 표시(60)의 그라데이션을 달리할 수 있다. 예컨대, 점수가 높을수록 검사자가 이를 직관적으로 인식할 수 있도록 색조를 단계적으로 또는 연속적으로 달리할 수 있다.According to one embodiment of the present invention, the polyp display determination unit 30 may vary the polyp display 60 according to the polyp probability score. For example, the gradation of the polyp mark 60 on the image may be varied. For example, the higher the score, the color tone can be changed step by step or continuously so that the examiner can intuitively recognize it.

도5, 도6에 도시된 바와 같이, 제1 용종(1)은 시간 추이에 따라 용종 가능성 점수가 증가하는 바, 프레임 1보다 프레임 2에서는 더 짙은 색조로 표시될 수 있다. 반대로, 제2 용종(2)은 시간 추이에 따라 용종 가능성 점수가 감소하는 바, 프레임 1보다 프레임 2에서 더 옅은 색조로 표시될 수 있다. 제3 용종(3)은 프레임 2에서 새롭게 검출된 것으로서, 용종 가능성 점수인 1에 상응하는 색조로 표시될 수 있다. 여기서는, 설명을 위해 색조의 변화를 과장되게 표현한 것으로 이해되어야 할 것이다. 즉, 초당 프레임이 60인 점을 감안할 때, 프레임 1에서 프레임 2로 넘어감에 따라 도5, 도6에 도시된 바와 같이, 제1 용종(1)의 색조 변화가 눈에 띄게 변화되도록 설정되지 않을 수 있으며, 실제로는 보다 서서히 색조 변화가 일어나도록 설정될 수 있다.As shown in Figures 5 and 6, the polyp probability score of the first polyp 1 increases over time, and may be displayed in a darker color tone in frame 2 than in frame 1. Conversely, the second polyp 2 may be displayed in a lighter shade in frame 2 than in frame 1, as the polyp probability score decreases over time. The third polyp 3 is newly detected in frame 2 and can be displayed in a color tone corresponding to the polyp probability score of 1. Here, it should be understood that the change in color tone is exaggerated for explanation purposes. That is, considering that the frame per second is 60, the color tone of the first polyp 1 is not set to change noticeably as shown in Figures 5 and 6 as it moves from frame 1 to frame 2. This may not be the case, and in reality, the color tone may be set to change more gradually.

도5, 도6의 개시 내용을 기초로, 기존의 내시경 검출 방식과 본 발명을 대비해 보면, 기존의 내시경 검출 방식에서 제2 용종(2)은 프레임 2에서는 검출되지 않게 됨에 따라 프레임 2에서는 용종 표시가 없게 되어, 제2 용종(2)은 내시경 영상에서 깜박거리게 된다. 반면에, 본 발명에서는 제2 용종(2)은 여전히 용종 표시가 있게 되고, 검사자는 용종 표시의 색조를 통해 제2 용종(2)의 용종 가능성을 직관적으로 인식할 수 있다.Based on the disclosure of Figures 5 and 6, when comparing the existing endoscopic detection method and the present invention, in the existing endoscopic detection method, the second polyp 2 is not detected in frame 2, so the polyp is displayed in frame 2. disappears, the second polyp (2) blinks in the endoscopic image. On the other hand, in the present invention, the second polyp 2 still has a polyp mark, and the examiner can intuitively recognize the possibility of the second polyp 2 being a polyp through the color tone of the polyp mark.

또한, 본 발명의 일 실시예에 따르면, 상기 용종 가능성 점수가 소정 점수 이하인 경우, 당해 용종 표시를 하지 않을 수 있다. 예컨대, 용종 가능성 점수가 -4 이하인 경우, 프레임에서 용종 표시는 하지 않을 수 있다.Additionally, according to one embodiment of the present invention, if the polyp probability score is less than a predetermined score, the polyp may not be displayed. For example, if the polyp probability score is -4 or less, the polyp may not be displayed in the frame.

본 발명의 일 실시예에 따르면, 예컨대, 용종 가능성 점수에 따라 용종 표시를 달리하는 경우, 용종 가능성 점수가 증가하더라도 더 이상 용종 표시는 달라지지 않는 최상위 용종 표시(62)가 있을 수 있다. 예컨대, 용종 가능성 점수가 10 이상인 경우에는 용종 표시는 더 이상 달라지지 않을 수 있다. 이러한 경우, 용종 가능성 점수가 10 이상인 용종에 대한 용종 표시는 검사자에게는 상당히 용종으로 의심되는 용종으로 인식되게 되는 최상위 용종 표시(62)이다.According to one embodiment of the present invention, for example, when the polyp display is varied according to the polyp probability score, there may be a highest polyp display 62 in which the polyp display no longer changes even if the polyp probability score increases. For example, if the polyp probability score is 10 or more, the polyp indication may no longer change. In this case, the polyp indication for polyps with a polyp probability score of 10 or more is the highest polyp indication (62), which is recognized by the examiner as a polyp that is highly suspected to be a polyp.

이러한 최상위 용종 표시(62)를 하게 되는 경우, 나머지 용종 표시들의 표시 방식과는 다른 용종 표시 방식을 적용할 수 있다. 예컨대, 도7에 도시된 바와 같이, 나머지 용종 표시 방식이 색조 변화 방식이라면, 용종 가능성 점수가 10 이상인 최상위 용종 표시(62)는, 색상 자체를 달리하여 표시하거나, 용종 표시 모양을 달리(예컨대, 사각형 표시를 원형 표시로)하여 표시할 수 있다. 이를 통해, 잠재 용종과 최종 의심 용종을 검사자가 직관적으로 인식할 수 있다.When displaying the highest polyp 62, a polyp display method that is different from the display method of the remaining polyp displays can be applied. For example, as shown in Figure 7, if the remaining polyp display method is a color change method, the highest polyp display 62 with a polyp probability score of 10 or more is displayed in a different color or has a different polyp display shape (e.g., It can be displayed by changing the square display to a circular display. Through this, the examiner can intuitively recognize potential polyps and final suspected polyps.

이와 같이, 최종 의심 용종과 잠재 용종을 구별하되, 잠재 용종에 대해서는 직관적으로 잠재 용종의 용종 가능성이 인식되는 바, 용종 표시가 다소 많아지더라도, 검사자는 어느 부위를 내시경을 통해 진단해야 할지 쉽게 파악할 수 있다. 이에 따라, 용종 판단 기준을 높여서 용종 표시를 줄일 필요가 적게 되므로, 용종 검출 실패 위험이 낮아질 수 있다.In this way, the final suspected polyp and the potential polyp are distinguished, but the possibility of a potential polyp is intuitively recognized for the potential polyp, so even if the number of polyps is somewhat increased, the examiner can easily figure out which area should be diagnosed through endoscopy. You can. Accordingly, there is less need to reduce polyp indications by raising the standard for polyp judgment, and the risk of polyp detection failure can be lowered.

이러한 최상위 용종 표시(62)는 검사자에게 상당히 용종으로 의심되는 용종으로 인식되게 되는 바, 보다 정확한 판단을 통해 최상위 용종 표시 여부가 결정되는 것이 바람직할 수 있다. 따라서, 용종 가능성 점수가 10일 때 최상 용종 표시가 제공된다면, 용종 가능성 점수가 9에 이르게 될 때까지는 제1 딥러닝 모델을 적용하다가, 용종 가능성 점수가 9 이상인 용종에 대해서는 제1 딥러닝 모델의 기준값보다 높은 기준값을 갖는 제2 딥러닝 모델이 적용할 수 있다. Since this highest polyp mark 62 is recognized by the examiner as a polyp that is highly suspected of being a polyp, it may be desirable to determine whether or not to mark the highest polyp through more accurate judgment. Therefore, if the best polyp indication is provided when the polyp likelihood score is 10, the first deep learning model is applied until the polyp likelihood score reaches 9, and then the first deep learning model is used for polyps with a polyp likelihood score of 9 or more. A second deep learning model with a reference value higher than the reference value can be applied.

또는, 잠재 용종으로서 프레임에 따라 용종으로 판단되는 것과 용종으로 판단되지 않는 것이 반복되는 경우 역시, 검사자 입장에서는 용종에 대한 정확한 판단이 요구될 수 있다. 즉, 최상위 용종 표시(62)에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 프레임 당 처리 속도가 낮은 제2 딥러닝 모델을 적용할 수 있다.Alternatively, if a latent polyp is repeatedly judged to be a polyp and not judged to be a polyp depending on the frame, an accurate judgment regarding the polyp may be required from the examiner's point of view. That is, if the time smaller than the polyp probability score corresponding to the highest polyp indication 62 continues for more than a certain period of time, the second deep learning model with a low processing speed per frame can be applied.

본 발명의 일 실시예에 따르면, 복수의 검출 용종이 내시경 영상 상에 모여 있는 경우, 개별 검출 용종을 표시하는 방식이 아니라, 복수의 검출 용종이 모여 있는 영역을 표시하는 방식으로 적용될 수도 있다. 예컨대, 본 발명의 일 실시예에 따르면, 최종 의심 용종뿐만 아니라 잠재 용종에 대해서도 시간 추이에 따라 표시를 달리하여 표시하게 되는 바, 용종 표시가 많을 수 있다. 검사자 입장에서는, 용종 검출 실패 위험을 낮추기 위해, 이러한 잠재 용종이 많은 부위는 내시경 쵤영 장치를 이 부위에 접근하여 이를 확인할 필요가 있다. 따라서, 잠재 용종이 많은 부위를 검사자가 직관적으로 인식하여 내시경 이동을 유도할 수 있도록, 소정 점수 이하의 용종 가능성 점수를 갖는 복수의 검출 용종이 근접하여 모여 있을 때에는, 개별 검출 용종을 표시하는 것이 아니라, 복수의 검출 용종들이 근접하여 모여 있는 영역을 표시할 수 있다. 도8은 복수의 검출 용종이 근접하여 모여 있는 영역을 표시한 용종 표시(66)를 도시한 도면의 예이다.According to one embodiment of the present invention, when a plurality of detected polyps are gathered together on an endoscope image, a method of displaying an area where a plurality of detected polyps are gathered may be applied, rather than a method of displaying individual detected polyps. For example, according to one embodiment of the present invention, not only the final suspected polyp but also the potential polyp is displayed differently according to the passage of time, so there may be many polyp indications. From the examiner's point of view, in order to reduce the risk of polyp detection failure, it is necessary to check areas with many potential polyps by approaching the area with an endoscopic imaging device. Therefore, so that the examiner can intuitively recognize areas with many potential polyps and guide the movement of the endoscope, when multiple detected polyps with polyp probability scores below a certain score are gathered in close proximity, individual detected polyps are not displayed, but rather are displayed. , it is possible to display an area where multiple detected polyps are gathered in close proximity. Figure 8 is an example of a diagram showing a polyp display 66 indicating an area where a plurality of detected polyps are gathered in close proximity.

본 발명의 일 실시예에 따르면, 잠재 용종으로서 프레임에 따라 용종으로 판단되는 것과 용종으로 판단되지 않는 것이 반복되는 경우가 있을 수 있다. 검사자 입장에서는, 용종 검출 실패 위험을 낮추기 위해, 이러한 잠재 용종은 내시경 카메라를 접근하여 이를 확인할 필요가 있다. 이러한 잠재 용종을 검사자가 직관적으로 인식하여 내시경 이동을 유도할 수 있도록, 일정 시간 이상 잠재 용종으로 판단되고 있는 경우(즉, 용종 가능성 점수가 일정 시간 동안 소정 범위에 머무르는 경우), 이를 나타내는 표시를 추가적으로 할 수 있다. 도 9는 일정 시간 이상 잠재 용종으로 판단되는 용종에 대한 추가 표시를 한 내시경 영상의 예이다.According to one embodiment of the present invention, there may be cases where a latent polyp is repeatedly judged to be a polyp and not judged to be a polyp depending on the frame. From the examiner's point of view, in order to reduce the risk of polyp detection failure, these potential polyps need to be confirmed by accessing the endoscope camera. In order for the examiner to intuitively recognize these potential polyps and guide the movement of the endoscope, if a polyp is judged to be a potential polyp for more than a certain period of time (i.e., if the polyp probability score stays within a certain range for a certain period of time), a mark indicating this is additionally added. can do. Figure 9 is an example of an endoscopic image with additional markings for polyps that are judged to be latent polyps for more than a certain period of time.

도 10은 본 발명의 일 실시예에 따른 용종 검출 방법의 순서도이다.Figure 10 is a flowchart of a polyp detection method according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 일 실시예에 따른 용종 검출 방법은, 적어도 제1 딥러닝 모델과 제2 딥러닝 모델을 준비하는 단계(S100)와, 인체에서 촬영한 내시경 영상을 수신하는 단계(S200)와, 상기 수신한 내시경 영상에 대하여 상기 적어도 제1 딥러닝 모델 및 제2 딥러닝 모델 중 어느 하나를 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계(S300)와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계(S400)와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 단계(S500); 용종 표시를 내시경 영상에 출력하는 단계(S600)를 포함할 수 있다. 여기서, 단계(S300)의 이용되는 딥러닝 모델은 용종 가능성 점수를 기초로 결정된다. Referring to Figure 10, the polyp detection method according to an embodiment of the present invention includes preparing at least a first deep learning model and a second deep learning model (S100) and receiving an endoscopic image taken from the human body. (S200) and detecting the presence or absence of a polyp and location information of the polyp using at least one of the first deep learning model and the second deep learning model with respect to the received endoscopic image (S300), and time A step of calculating a polyp probability score for the detected polyp based on the presence or absence of a polyp according to the trend (S400), and a step of determining whether to display the polyp on the endoscope image based on the calculated score (S500); A step of outputting a polyp indication on an endoscope image (S600) may be included. Here, the deep learning model used in step S300 is determined based on the polyp likelihood score.

도 11은 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계를 보다 상세히 설명하는 도면이다. 도11에 도시된 바와 같이, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계(S400)는 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계(S420)와, 비교 결과에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계(S440)로 구성될 수 있다.Figure 11 is a diagram illustrating in more detail the step of calculating a polyp probability score for a detected polyp based on the presence or absence of a polyp over time. As shown in Figure 11, the step of calculating a polyp probability score for a polyp detected based on the presence or absence of a polyp over time (S400) involves comparing the polyp detected in the frame with the polyp detected in the previous frame. It may be comprised of a step (S420) and a step (S440) of calculating a polyp probability score over time by applying a predetermined score based on the comparison result.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경 우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다. 소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로 (collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처 리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매 체에 저장될 수 있다. 실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매 체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같 은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. 이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 사람이라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The device described above may be implemented with hardware components, software components, and/or a combination of hardware components and software components. For example, devices and components described in embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), It may be implemented using one or more general-purpose or special-purpose computers, such as a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. A processing device may perform an operating system (OS) and one or more software applications that run on the operating system. Additionally, a processing device may access, store, manipulate, process, and generate data in response to the execution of software. For ease of understanding, a single processing device may be described as being used; however, those skilled in the art will understand that a processing device may include multiple processing elements and/or multiple types of processing elements. It can be seen that it may include. For example, a processing device may include a plurality of processors or one processor and one controller. Additionally, other processing configurations, such as parallel processors, are possible. Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing unit to operate as desired, or may be processed independently or collectively. You can command the device. Software and/or data may be used on any type of machine, component, physical device, virtual equipment, computer storage medium, or It may be permanently or temporarily embodied in a device or a transmitted signal wave. Software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media. The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium. Computer-readable media may include program instructions, data files, data structures, etc., singly or in combination. Program instructions recorded on the medium may be specially designed and configured for the embodiment or may be known and available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and floptical disks. Included are magneto-optical media such as magneto-optical media, and hardware devices specifically configured to store and perform program instructions such as ROM, RAM, flash memory, etc. Examples of program instructions include machine language code, such as that produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter, etc. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa. The above description is merely an illustrative explanation of the technical idea of the present invention, and various modifications and variations will be possible to those skilled in the art without departing from the essential characteristics of the present invention. Accordingly, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but are for illustrative purposes, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted in accordance with the claims below, and all technical ideas within the equivalent scope should be construed as being included in the scope of rights of the present invention.

1: 제1 용종
2: 제2 용종
3: 제3 용종
10: 영상 획득부
20: 용종 검출부
30: 용종 가능성 산출부
40: 용종 표시 결정부
50: 용종 표시부
60: 용종 표시
62: 최상위 용종 표시
1: Primary polyp
2: Secondary polyp
3: Tertiary polyp
10: Image acquisition unit
20: Polyp detection unit
30: Polyp probability calculation unit
40: Polyp indication decision part
50: Polyp display unit
60: Polyp sign
62: Top polyp display

Claims (15)

영상 획득부, 용종 검출부, 용종 가능성 산출부, 용종 표시 결정부, 및 용종 표시부를 포함하는 용종 검출 장치를 이용한 용종 검출 방법으로서,
상기 용종 검출부가, 용종의 유무 및 상기 용종의 위치 정보를 검출하도록 구성되는 제1 딥러닝 모델과 용종의 유무 및 상기 용종의 위치 정보를 검출하도록 구성되는 제2 딥러닝 모델을 준비하는 단계와,
상기 영상 획득부가, 인체에서 촬영한 내시경 영상을 수신하는 단계와,
상기 용종 검출부가, 상기 수신한 내시경 영상에 대하여 상기 제1 딥러닝 모델과 상기 제2 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와,
상기 용종 가능성 산출부가, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와,
상기 용종 표시 결정부가, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 단계와,
상기 용종 표시부가, 용종 표시를 내시경 영상에 출력하는 단계를 포함하고,
상기 제2 딥러닝 모델은 상기 제1 딥러닝 모델보다 용종 검출 처리 속도가 낮으며,
상기 검출 단계에서는, 상기 제1 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보가 검출되다가, 상기 용종 가능성 점수에 따라, 상기 제1 딥러닝 모델 대신에 상기 제2 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보가 검출되는,
용종 검출 장치를 이용한 용종 검출 방법.
A polyp detection method using a polyp detection device including an image acquisition unit, a polyp detection unit, a polyp probability calculation unit, a polyp display determination unit, and a polyp display unit,
Preparing, by the polyp detection unit, a first deep learning model configured to detect the presence or absence of a polyp and location information of the polyp, and a second deep learning model configured to detect the presence or absence of a polyp and location information of the polyp;
receiving, by the image acquisition unit, an endoscopic image taken from the human body;
The polyp detection unit detects the presence or absence of a polyp and location information of the polyp using the first deep learning model and the second deep learning model with respect to the received endoscopic image;
The polyp probability calculation unit calculates a polyp probability score for the detected polyp based on the presence or absence of the polyp over time;
The polyp display determination unit determines whether to display the polyp on the endoscopic image based on the calculated score;
The polyp display unit includes a step of outputting a polyp display on an endoscope image,
The second deep learning model has a lower polyp detection processing speed than the first deep learning model,
In the detection step, the presence or absence of a polyp and location information of the polyp are detected using the first deep learning model, and then, according to the polyp probability score, the second deep learning model is used instead of the first deep learning model. Thus, the presence or absence of a polyp and the location information of the polyp are detected,
Polyp detection method using a polyp detection device.
삭제delete 제1항에 있어서,
산출된 점수가 기준값 이상인 경우, 상기 용종 표시부가 용종 표시하는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 1,
If the calculated score is higher than the reference value, the polyp display unit displays the polyp,
Polyp detection method using a polyp detection device.
제3항에 있어서,
용종 가능성 점수가 상기 기준값보다 작게 설정된 기준값 이상인 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 3,
If the polyp probability score is greater than the reference value set to be smaller than the reference value, a second deep learning model is applied in the polyp detection unit,
Polyp detection method using a polyp detection device.
제3항에 있어서,
용종 가능성 점수가 상기 기준값보다 작은 시간이 일정 시간 이상 지속되는 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 3,
If the polyp probability score is smaller than the reference value for more than a certain period of time, a second deep learning model is applied in the polyp detection unit,
Polyp detection method using a polyp detection device.
제1항에 있어서,
시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계는,
당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계와,
이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하는 단계를 포함하는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 1,
The step of calculating a polyp probability score for a detected polyp based on the presence or absence of a polyp over time is,
Comparing the polyp detected in the current frame with the polyp detected in the previous frame;
For polyps detected in the previous frame and the current frame, a polyp probability score is calculated by adding a predetermined score to the polyp probability score in the previous frame, and for polyps newly detected in the current frame, a predetermined score is calculated as the polyp probability score. And, for polyps detected in the previous frame but not detected in the current frame, calculating a polyp probability score by subtracting a predetermined score from the polyp probability score in the previous frame,
Polyp detection method using a polyp detection device.
제6항에 있어서,
상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정되고, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 낮게 설정된 기준값 이상인 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
용종 검출 장치를 이용한 용종 검출 방법.
According to clause 6,
The gradation of the polyp indication is determined according to the polyp probability score, and if the polyp probability score is higher than a reference value set lower than the polyp probability score corresponding to the highest polyp indication, a second deep learning model is applied in the polyp detection unit,
Polyp detection method using a polyp detection device.
내시경 영상을 이용한 용종 검출 장치로서,
인체에서 촬영한 내시경 영상을 수신하는 영상 획득부와,
용종의 유무 및 상기 용종의 위치 정보를 검출하도록 구성되는 제1 딥러닝 모델과 용종의 유무 및 상기 용종의 위치 정보를 검출하도록 구성되는 제2 딥러닝 모델을 준비하고, 상기 수신한 내시경 영상에 대하여 상기 제1 딥러닝 모델과 상기 제2 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 용종 검출부와,
시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 용종 가능성 산출부와,
산출된 점수를 기초로, 내시경 영상 상의 용종 표시 여부를 결정하는 용종 표시 결정부와;
용종 표시를 내시경 영상에 출력하는 용종 표시부를 포함하고,
상기 제2 딥러닝 모델은 상기 제1 딥러닝 모델보다 용종 검출 처리 속도가 낮으며,
상기 용종 검출부에서, 상기 제1 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보가 검출되다가, 상기 용종 가능성 점수에 따라, 상기 제1 딥러닝 모델 대신에 상기 제2 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보가 검출되는,
내시경 영상을 이용한 용종 검출 장치.
A polyp detection device using endoscopic images,
An image acquisition unit that receives an endoscopic image taken from the human body,
Prepare a first deep learning model configured to detect the presence or absence of a polyp and location information of the polyp, and a second deep learning model configured to detect the presence or absence of a polyp and location information of the polyp, with respect to the received endoscopic image. A polyp detection unit that detects the presence or absence of a polyp and location information of the polyp using the first deep learning model and the second deep learning model,
A polyp probability calculation unit that calculates a polyp probability score for the detected polyp based on the presence or absence of polyp over time,
a polyp display determination unit that determines whether to display a polyp on the endoscopic image based on the calculated score;
It includes a polyp display unit that outputs the polyp display on the endoscope image,
The second deep learning model has a lower polyp detection processing speed than the first deep learning model,
In the polyp detection unit, the presence or absence of a polyp and location information of the polyp are detected using the first deep learning model, and then, according to the polyp probability score, the second deep learning model is used instead of the first deep learning model. Thus, the presence or absence of a polyp and the location information of the polyp are detected,
Polyp detection device using endoscopic images.
삭제delete 제8항에 있어서,
산출된 점수가 기준값 이상인 경우, 용종 표시부가 용종 표시하는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 8,
If the calculated score is higher than the standard value, the polyp display unit displays the polyp,
Polyp detection device using endoscopic images.
제10항에 있어서,
용종 가능성 점수가 상기 기준값보다 작게 설정된 기준값 이상인 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 10,
If the polyp probability score is greater than the reference value set to be smaller than the reference value, a second deep learning model is applied in the polyp detection unit,
Polyp detection device using endoscopic images.
제10항에 있어서,
용종 가능성 점수가 상기 기준값보다 작은 시간이 일정 시간 이상 지속되는 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 10,
If the polyp probability score is smaller than the reference value for more than a certain period of time, a second deep learning model is applied in the polyp detection unit,
Polyp detection device using endoscopic images.
제8항에 있어서,
용종 가능성 산출부는,
당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하고,
이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 8,
In the polyp probability calculation section,
Compare the polyp detected in the current frame with the polyp detected in the previous frame,
For polyps detected in the previous frame and the current frame, a polyp probability score is calculated by adding a predetermined score to the polyp probability score in the previous frame, and for polyps newly detected in the current frame, a predetermined score is calculated as the polyp probability score. And, for polyps detected in the previous frame but not detected in the current frame, a polyp probability score is calculated by subtracting a predetermined score from the polyp probability score in the previous frame,
Polyp detection device using endoscopic images.
제13항에 있어서,
상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정되고, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 낮게 설정된 기준값 이상인 경우, 상기 용종 검출부에서 제2 딥러닝 모델이 적용되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 13,
The gradation of the polyp indication is determined according to the polyp probability score, and if the polyp probability score is higher than a reference value set lower than the polyp probability score corresponding to the highest polyp indication, a second deep learning model is applied in the polyp detection unit,
Polyp detection device using endoscopic images.
내시경 영상을 이용한 용종 검출 프로그램이며,
상기 용종 검출 프로그램은 프로세서와 결합되어, 컴퓨터로 판독가능한 기록 매체에 저장된 컴퓨터 프로그램이고,
상기 컴퓨터 프로그램은 제1항, 제3항 및 제4항 내지 제7항 중 하나를 따르는 용종 검출 방법을 상기 기록 매체 저장된 명령어에 의해 상기 프로세서에서 실행되도록 구성되는, 내시경 영상을 이용한 용종 검출 프로그램.
It is a polyp detection program using endoscopic images.
The polyp detection program is a computer program coupled to a processor and stored in a computer-readable recording medium,
The computer program is configured to execute the polyp detection method according to one of claims 1, 3, and 4 to 7 on the processor by instructions stored in the recording medium.
KR1020220001285A 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image KR102641492B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220001285A KR102641492B1 (en) 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220001285A KR102641492B1 (en) 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image

Publications (2)

Publication Number Publication Date
KR20230105812A KR20230105812A (en) 2023-07-12
KR102641492B1 true KR102641492B1 (en) 2024-02-27

Family

ID=87163568

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220001285A KR102641492B1 (en) 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image

Country Status (1)

Country Link
KR (1) KR102641492B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200138265A1 (en) * 2018-11-02 2020-05-07 Fujifilm Corporation Medical diagnosis support device, endoscope system, and medical diagnosis support method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101708726B1 (en) * 2010-04-28 2017-02-21 기븐 이미징 리미티드 System and method for displaying portions of in-vivo images
KR102261408B1 (en) * 2019-08-01 2021-06-09 동국대학교 산학협력단 The method of providing disease information using medical image
KR102344585B1 (en) * 2019-11-22 2021-12-30 가천대학교 산학협력단 Polyp diagnostic method, device and computer program from endoscopy image using deep learning
KR102364027B1 (en) 2020-06-04 2022-02-16 계명대학교 산학협력단 Image-based size estimation system and method for calculating lesion size through endoscopic imaging
KR102480134B1 (en) * 2020-07-15 2022-12-22 주식회사 루닛 Apparatus for quality managment of medical image interpretation usnig machine learning, and method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200138265A1 (en) * 2018-11-02 2020-05-07 Fujifilm Corporation Medical diagnosis support device, endoscope system, and medical diagnosis support method

Also Published As

Publication number Publication date
KR20230105812A (en) 2023-07-12

Similar Documents

Publication Publication Date Title
JP6371544B2 (en) Image processing apparatus, image processing method, and image processing program
US9761004B2 (en) Method and system for automatic detection of coronary stenosis in cardiac computed tomography data
US8270688B2 (en) Method for intelligent qualitative and quantitative analysis assisting digital or digitized radiography softcopy reading
US7993274B2 (en) Method, system, and computer product for automatically extracting and tracking cardiac calcifications and determining a tracking centerline
JP5830295B2 (en) Image processing apparatus, operation method of image processing apparatus, and image processing program
KR102472034B1 (en) Method and Apparatus for Detection of a Region Representing Interdental Caries in an X-ray Image
JP5622461B2 (en) Image processing apparatus, image processing method, and image processing program
JP5804220B1 (en) Image processing apparatus and image processing program
CN109509198B (en) Apparatus and method for correcting damage
JP5642407B2 (en) Diagnosis support system, diagnosis support program, and diagnosis support method
EP3001339A1 (en) Apparatus and method for supporting computer aided diagnosis
US11200443B2 (en) Image processing apparatus, image processing method, and image processing system
WO2021246612A1 (en) Method and device for automatically processing blood vessel image
US9292921B2 (en) Method and system for contrast inflow detection in 2D fluoroscopic images
KR102195850B1 (en) Method and system for segmentation of vessel using deep learning
KR102641492B1 (en) Polyp detection method, device and computer program using endoscopy image
KR102641489B1 (en) Polyp detection method, device and computer program using endoscopy image
JP4822527B2 (en) Image analysis apparatus and image analysis program
WO2023191380A1 (en) Lesion determination method and device
JP6838644B2 (en) Diagnostic imaging equipment, diagnostic imaging methods, and programs
CN110063753A (en) The method and apparatus of fetus head circumference is measured in ultrasound image
US20180289252A1 (en) Early Prediction of Hypertensive Retinopathy
US7072499B2 (en) Medical imaging station with rapid image segmentation
KR20210149349A (en) Method and apparatus for processing vascular image based on user input
KR102471937B1 (en) Method for Determining the Likelihood of Dental Caries Using an X-ray Image

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant