KR102641489B1 - 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
KR102641489B1
KR102641489B1 KR1020220001284A KR20220001284A KR102641489B1 KR 102641489 B1 KR102641489 B1 KR 102641489B1 KR 1020220001284 A KR1020220001284 A KR 1020220001284A KR 20220001284 A KR20220001284 A KR 20220001284A KR 102641489 B1 KR102641489 B1 KR 102641489B1
Authority
KR
South Korea
Prior art keywords
polyp
score
probability score
detected
probability
Prior art date
Application number
KR1020220001284A
Other languages
Korean (ko)
Other versions
KR20230105811A (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 KR1020220001284A priority Critical patent/KR102641489B1/en
Publication of KR20230105811A publication Critical patent/KR20230105811A/en
Application granted granted Critical
Publication of KR102641489B1 publication Critical patent/KR102641489B1/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)
  • Endoscopes (AREA)

Abstract

본 발명의 일 실시예에 따른, 내시경 영상을 이용한 용종 검출 방법은, 인체에서 촬영한 내시경 영상을 수신하는 단계와, 상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 단계와, 결정된 용종 표시를 내시경 영상 상에 표시하는 단계를 포함한다.According to an embodiment of the present invention, a polyp detection method using an endoscopic image includes the steps of receiving an endoscopic image taken from the human body, and determining the presence or absence of a polyp using a deep learning model for the received endoscopic image. A step of detecting location information, a step of calculating a polyp probability score for the detected polyp based on the presence or absence of a polyp over time, and based on the calculated score, determining the polyp display on the endoscope image for each frame. It includes the step of displaying the determined polyp mark on the endoscope image.

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 allows the examiner to more intuitively identify potential polyps and guide the movement of the endoscope.

일반적으로 내시경 검사의 핵심 목적은 암의 전구 병변인 용종(내벽에 작게 솟은 조직의 일부로 발견이 되면 제거해야 함)을 발견하여 제거함으로써 암을 근원적으로 차단하는 것이다. 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.

그러나, 순간적으로 나타났다가 사라지는 거품이나 이물질, 촬영 각도 등 다양한 이유로 특정 부위가 용종 의심 부위로 검출되었다가 용종 의심 부위로 검출되지 않으면서, 내시경 영상에서 용종 의심 부위 표시가 깜빡거리는 경우가 종종 발생하고(False Positive, 허위 양성), 이에 따라 검사자가 잠재 용종을 직관적으로 파악하기 어렵고, 경우에 따라서는 너무 많은 용종 의심 부위 표시가 깜빡거리게 됨에 따라 검사자에게 불편을 야기할 수 있었다.However, for various reasons such as bubbles or foreign substances that appear and disappear momentarily, or the angle of imaging, a specific area is detected as a suspected polyp area, but is not detected as a suspected polyp area, and the indication of the suspected polyp area on the endoscopic image often blinks. (False Positive), as a result, it is difficult for the examiner to intuitively identify potential polyps, and in some cases, too many polyp suspicion area indicators may blink, causing discomfort to the examiner.

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 aims to provide a method, device, and program for detecting polyps from an endoscopic image, which allows the examiner to intuitively recognize the possibility of a potential polyp without the problem of the polyp area display blinking. do.

본 발명의 해결 과제는 위에서 언급한 내용으로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들을 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.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.

본 발명의 일 실시예에 따른, 내시경 영상을 이용한 용종 검출 방법은, 인체에서 촬영한 내시경 영상을 수신하는 단계와, 상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 단계와, 결정된 용종 표시를 내시경 영상 상에 표시하는 단계를 포함할 수 있다.According to an embodiment of the present invention, a polyp detection method using an endoscopic image includes the steps of receiving an endoscopic image taken from the human body, and determining the presence or absence of a polyp using a deep learning model for the received endoscopic image. A step of detecting location information, a step of calculating a polyp probability score for the detected polyp based on the presence or absence of a polyp over time, and based on the calculated score, determining the polyp display on the endoscope image for each frame. It may include the step of displaying the determined polyp mark on the endoscope image.

시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계는, 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계와, 상기 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계를 포함할 수 있다.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, and based on the comparison, It may include calculating a polyp probability score over time by applying the score.

또한, 상기 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계는, 이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하는 단계를 포함할 수 있다.In addition, the step of applying the predetermined score to calculate the polyp probability score over time includes, for polyps detected in the previous frame and the current frame, adding a predetermined score to the polyp probability score in the previous frame to obtain the polyp probability score. For polyps newly detected in the 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 predetermined score is subtracted from the polyp probability score in the previous frame. It may include calculating a polyp probability score.

본 발명의 일 실시예에 따르면, 상기 소정 점수는 딥러닝 모델이 제공하는 용종 스코어와 용종 검출 기준값의 차이를 기초로 결정될 수 있다.According to one embodiment of the present invention, the predetermined score may be determined based on the difference between the polyp score provided by the deep learning model and the polyp detection reference value.

상기 용종 가능성 점수가 기준값 이하인 경우에는, 당해 용종에 대해서는 용종 표시를 하지 않을 수 있다.If the polyp probability score is below the reference value, the polyp may not be labeled as a polyp.

상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정될 수 있으며, 최상위 용종 표시는 나머지 용종 표시와 색상 또는 형태 면에서 다를 수 있다.A gradation of the polyp mark may be determined according to the polyp probability score, and the highest polyp mark may be different from the remaining polyp marks in color or shape.

또한, 본 발명의 또 다른 일 실시예에 따르면, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 복수의 용종들이 모여 있는 경우, 용종들이 모여 있는 영역이 표시될 수 있다. 또한, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 이를 나타내는 표시가 용종 표시에 적용될 수 있다.In addition, according to another embodiment of the present invention, when a plurality of polyps with a polyp probability score smaller than the polyp probability score corresponding to the highest polyp indication are gathered, the area where the polyps are gathered may be displayed. Additionally, if the polyp probability score is lower than the polyp probability score corresponding to the highest polyp indication persists for more than a certain period of time, an indication indicating this may be applied to the polyp indication.

본 발명의 또 다른 일 실시예에 따르면, 내시경 영상을 이용한 용종 검출 장치는, 인체에서 촬영한 내시경 영상을 수신하는 영상 획득부와, 상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 용종 검출부와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 용종 가능성 산출부와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 용종 표시 결정부와, 결정된 용종 표시를 내시경 영상 상에 표시하는 용종 표시부를 포함할 수 있다.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 deep learning model for the received endoscopic image to detect the presence or absence of a polyp. and a polyp detection unit that detects location information of the polyp, 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, and based on the calculated score, on the endoscope image. It may include a polyp display determination unit that determines the polyp display for each frame, and a polyp display unit that displays the determined polyp display on the endoscope image.

용종 가능성 산출부는, 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하고, 상기 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출할 수 있다.The polyp probability calculation unit may compare the polyp detected in the current frame with the polyp detected in the previous frame, and apply a predetermined score based on the comparison to calculate a polyp probability score over time.

또한, 용종 가능성 산출부는, 이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출할 수 있다.In addition, the polyp probability calculation unit calculates 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 calculates the polyp probability score for the polyp newly detected in the frame. The score is calculated as a polyp probability score, and for polyps detected in the previous frame but not detected in the current frame, the polyp probability score can be calculated by subtracting a predetermined score from the polyp probability score in the previous frame.

또한, 상기 소정 점수는 딥러닝 모델이 제공하는 용종 스코어와 용종 검출 기준값의 차이를 기초로 결정될 수 있으며, 상기 용종 가능성 점수가 기준값 이하인 경우에는, 당해 용종에 대해서는 용종 표시를 하지 않을 수 있다.In addition, the predetermined score may be determined based on the difference between the polyp score provided by the deep learning model and the polyp detection reference value, and if the polyp probability score is less than the reference value, the polyp may not be displayed for the polyp.

상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정될 수 있으며, 최상위 용종 표시는 나머지 용종 표시와 색상 또는 형태 면에서 다를 수 있다.A gradation of the polyp mark may be determined according to the polyp probability score, and the highest polyp mark may be different from the remaining polyp marks in color or shape.

본 발명의 또 다른 실시예에 따르면, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 복수의 용종들이 모여 있는 경우, 용종들이 모여 있는 영역이 표시될 수 있다. 또한, 용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 이를 나타내는 표시가 용종 표시에 적용될 수 있다.According to another embodiment of the present invention, when a plurality of polyps with a polyp probability score smaller than the polyp probability score corresponding to the highest polyp indication are gathered, the area where the polyps are gathered may be displayed. Additionally, if the polyp probability score is lower than the polyp probability score corresponding to the highest polyp indication persists for more than a certain period of time, an indication indicating this may be applied to the polyp indication.

본 발명의 또 다른 일 실시예에 따르면, 내시경 영상을 이용한 용종 검출 프로그램이며, 상기 용종 검출 프로그램은 프로세서와 결합되어, 컴퓨터로 판독가능한 기록 매체에 저장된 컴퓨터 프로그램이고, 상기 컴퓨터 프로그램은 상술한 용종 검출 방법을 상기 기록 매체 저장된 명령어에 의해 상기 프로세서에서 실행되도록 구성될 수 있다.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.

본 발명의 일 실시예에 따른 내시경 영상을 이용한 용종 검출 방법, 장치 및 프로그램에 따르면, 시간 추이에 따른 용종의 유무를 기초로 산출된 용종 가능성 점수에 따라 용종 표시를 달리함에 따라, 용종 표시가 순간적으로 깜빡거리는 문제가 해결되는 효과가 있다.According to the polyp detection method, device, and program using an endoscopic image according to an embodiment of the present invention, the polyp display is instantaneous as the polyp display is varied according to the polyp probability score calculated based on the presence or absence of polyps over time. This has the effect of solving the flickering problem.

또한, 시간 추이에 따른 용종의 유무를 기초로 산출된 용종 가능성 점수에 따라 용종 표시에 반영되기 때문에, 검사자는 직관적으로 잠재 용종의 용종 가능성을 인식할 수 있다. In addition, since the polyp probability score calculated based on the presence or absence of polyps over time is reflected in the polyp display, the examiner can intuitively recognize the polyp probability of the potential polyp.

또한, 본 발명의 일 실시예에 따르면, 최종 의심 용종과 잠재 용종을 구별하되, 잠재 용종에 대해서는 직관적으로 잠재 용종의 용종 가능성이 인식되는 바, 용종 표시가 다소 많아지더라도, 검사자는 어느 부위를 내시경을 통해 진단해야 할지 쉽게 파악할 수 있다. 이에 따라, 용종 판단 기준을 높여서 용종 표시를 줄일 필요가 적게 되므로, 용종 검출 실패 위험이 낮아질 수 있다.In addition, according to one embodiment of the present invention, the final suspected polyp and the potential polyp are distinguished, but the possibility of polyps of the potential polyp is intuitively recognized, so even if the number of polyp indications increases somewhat, the examiner selects which part. It is easy to determine whether a diagnosis should be made through endoscopy. 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.

도1은 본 발명의 일 실시예에 따른 용종 검출 장치의 블록도이다.
도2는 최초 프레임 1에서 용종 유무 및 용종 위치 정보를 검출한 예를 도시한다.
도3은 최초 프레임 1의 다음 프레임인 프레임 2에서 용종 유무 및 용종 위치 정보를 검출한 예를 도시한다.
도4는 도 2의 최초 프레임 1의 각 용종들에 대하여 산출된 용종 가능성 점수와, 도3의 프레임 2의 각 용종들에 대하여 산출된 용종 가능성 점수를 설명하는 예이다.
도5는 용종의 시간 추이에 따른 용종 가능성 점수를 예시적으로 설명한 도면이다.
도6은 최상위 용종 표시를 한 내시경 영상의 예를 도시한다.
도7은 복수의 검출 용종이 근접하여 모여 있는 영역을 표시한 내시경 영상의 예를 도시한다.
도8은 일정 시간 이상 잠재 용종으로 판단되는 용종에 대한 추가 표시를 한 내시경 영상의 예를 도시한다.
도9는 본 발명의 일 실시예에 따른 용종 검출 방법의 순서도이다.
도10은 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계를 보다 상세히 설명하는 도면이다.
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 detecting the presence or absence of a polyp and polyp location information in the first frame 1.
Figure 3 shows an example of detecting polyp presence and polyp location information in frame 2, which is the next frame after the first frame 1.
Figure 4 is an example illustrating the polyp likelihood score calculated for each polyp in the first frame 1 of Figure 2 and the polyp likelihood score calculated for each polyp in frame 2 of Figure 3.
Figure 5 is a diagram illustrating the polyp probability score according to the time trend of the polyp.
Figure 6 shows an example of an endoscopic image with the highest polyp indicated.
Figure 7 shows an example of an endoscopic image displaying an area where a plurality of detected polyps are gathered in close proximity.
Figure 8 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 9 is a flowchart of a polyp detection method according to an embodiment of the present invention.
Figure 10 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 clearly 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)와 비교하여 용종 여부를 검출할 수 있다.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.

상술한 바와 같이, 종래의 딥러닝을 이용한 용종 검출 기술에서는, 순간적으로 나타났다가 사라지는 거품이나 이물질, 촬영 각도 등 다양한 이유로 특정 부위가 용종 의심 부위로 판단되었다가, 용종 의심 부위로 판단되지 않게 되는 경우가 종종 발생한다. 예컨대, 용종 의심 부위 판단에 대한 용종 스코어의 기준값(threshold)이, 예를 들어, 700이면, 일 프레임에서는 용종 의심 부위에 대한 용종 스코어가 700 이상(예컨대, 720)이고, 상기 일 프레임에 대해 연속적인 다음 프레임에서는 용종 의심 부위에 대한 용종 스코어가 700 미만(예컨대, 650)인 경우, 내시경 영상에서 용종 의심 부위가 용종으로 사각형이 표시되었다가, 사각형은 사라지게 된다. 즉, 용종 표시가 깜빡거리게 된다(허위 양성, False Positive). As described above, in the conventional polyp detection technology using deep learning, 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 not judged to be a suspected polyp area. Occurs often. 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)는, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출한다. 즉, 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하여, 이러한 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출할 수 있다. 예컨대, 이러한 용종 가능성 점수는, 당해 프레임에서 용종으로 검출되면 소정 점수가 가산되고, 당해 프레임에서 용종으로 검출되지 않으면 소정 점수가 감산되는 방식으로, 소정 점수가 누적 계산되는 방식으로 산출될 수 있다. According to one embodiment of the present invention, 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 may be calculated in such a way that if a polyp is detected in the frame, a predetermined score is added, and if a polyp is not detected in the frame, a predetermined score is subtracted, and the predetermined 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는 최초 프레임 1에서 용종을 검출하여 이를 표시한 내시경 영상의 예를 도시한다. 도3은 최초 프레임 1의 다음 프레임인 프레임 2에서 용종을 검출하여 이를 표시한 내시경 영상의 예를 도시한다.Figure 2 shows an example of an endoscopic image in which a polyp is detected and displayed in the first frame 1. Figure 3 shows an example of an endoscopic image in which a polyp is detected and displayed in frame 2, which is the next frame after the first frame 1.

도4는 도2의 최초 프레임 1의 각 용종들에 대하여 산출된 용종 가능성 점수와, 도3의 프레임 2의 각 용종들에 대하여 산출된 용종 가능성 점수를 설명하는 예이다.Figure 4 is an example illustrating the polyp likelihood score calculated for each polyp in the first frame 1 of Figure 2 and the polyp likelihood score calculated for each polyp in frame 2 of Figure 3.

도4에서 알 수 있는 바와 같이, 제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 Figure 4, 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.

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

도5에 도시된 바와 같이, 용종으로 검출된 횟수가 증가함에 따라 용종 가능성 점수는 증가하게 되고, 용종으로 검출되지 않은 횟수가 증가함에 따라 반대로 용종 가능성 점수는 감소하게 된다.As shown in Figure 5, 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.

본 발명의 일 실시예에 따르면, 용종 표시 결정부(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.

도2, 도3에 도시된 바와 같이, 제1 용종(1)은 시간 추이에 따라 용종 가능성 점수가 증가하는 바, 프레임 1보다 프레임 2에서는 더 짙은 색조로 표시될 수 있다. 반대로, 제2 용종(2)은 시간 추이에 따라 용종 가능성 점수가 감소하는 바, 프레임 1보다 프레임 2에서 더 옅은 색조로 표시될 수 있다. 제3 용종(3)은 프레임 2에서 새롭게 검출된 것으로서, 용종 가능성 점수인 1에 상응하는 색조로 표시될 수 있다. 여기서는, 설명을 위해 색조의 변화를 과장되게 표현한 것으로 이해되어야 할 것이다. 즉, 초당 프레임이 60인 점을 감안할 때, 프레임 1에서 프레임 2로 넘어감에 따라 도2, 도3에 도시된 바와 같이, 제1 용종(1)의 색조 변화가 눈에 띄게 변화되도록 설정되지 않을 수 있으며, 실제로는 보다 서서히 색조 변화가 일어나도록 설정될 수 있다.As shown in Figures 2 and 3, 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 2 and 3 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.

도2, 도3의 개시 내용을 기초로, 기존의 내시경 검출 방식과 본 발명을 대비해 보면, 기존의 내시경 검출 방식에서 제2 용종(2)은 프레임 2에서는 검출되지 않게 됨에 따라 프레임 2에서는 용종 표시가 없게 되어, 제2 용종(2)은 내시경 영상에서 깜박거리게 된다. 반면에, 본 발명에서는 제2 용종(2)은 여전히 용종 표시(60)가 있게 되고, 검사자는 용종 표시(60)의 색조를 통해 제2 용종(2)의 용종 가능성을 직관적으로 인식할 수 있다.Based on the disclosure of Figures 2 and 3, 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 (60), and the examiner can intuitively recognize the possibility of a polyp of the second polyp (2) through the color tone of the polyp mark (60). .

또한, 본 발명의 일 실시예에 따르면, 상기 용종 가능성 점수가 소정 점수 이하인 경우, 당해 용종 표시를 하지 않을 수 있다. 예컨대, 용종 가능성 점수가 -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.

본 발명의 일 실시예에 따르면, 용종 가능성 점수는 상기 누적 방식을 기본으로 하되, 부가적으로 조정될 수 있다. 예컨대, 연속적으로 용종이 검출되는 경우(예컨대, 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.

본 발명의 일 실시예에 따르면, 예컨대, 용종 가능성 점수에 따라 용종 표시를 달리하는 경우, 용종 가능성 점수가 증가하더라도 더 이상 용종 표시는 달라지지 않는 최상위 용종 표시(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)를 하게 되는 경우, 나머지 용종 표시들의 표시 방식과는 다른 용종 표시 방식을 적용할 수 있다. 예컨대, 도6에 도시된 바와 같이, 나머지 용종 표시 방식이 색조 변화 방식이라면, 용종 가능성 점수가 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 6, 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.

본 발명의 일 실시예에 따르면, 복수의 검출 용종이 내시경 영상 상에 모여 있는 경우, 개별 검출 용종을 표시하는 방식이 아니라, 복수의 검출 용종이 모여 있는 영역을 표시하는 방식으로 적용될 수도 있다. 예컨대, 본 발명의 일 실시예에 따르면, 최종 의심 용종뿐만 아니라 잠재 용종에 대해서도 시간 추이에 따라 표시를 달리하여 표시하게 되는 바, 용종 표시가 많을 수 있다. 검사자 입장에서는, 용종 검출 실패 위험을 낮추기 위해, 이러한 잠재 용종이 많은 부위는 내시경 쵤영 장치를 이 부위에 접근하여 이를 확인할 필요가 있다. 따라서, 잠재 용종이 많은 부위를 검사자가 직관적으로 인식하여 내시경 이동을 유도할 수 있도록, 소정 점수 이하의 용종 가능성 점수를 갖는 복수의 검출 용종이 근접하여 모여 있을 때에는, 개별 검출 용종을 표시하는 것이 아니라, 복수의 검출 용종들이 근접하여 모여 있는 영역을 표시할 수 있다. 도7은 복수의 검출 용종이 근접하여 모여 있는 영역을 표시한 용종 표시(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 7 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.

본 발명의 일 실시예에 따르면, 잠재 용종으로서 프레임에 따라 용종으로 판단되는 것과 용종으로 판단되지 않는 것이 반복되는 경우가 있을 수 있다. 검사자 입장에서는, 용종 검출 실패 위험을 낮추기 위해, 이러한 잠재 용종은 내시경 카메라를 접근하여 이를 확인할 필요가 있다. 이러한 잠재 용종을 검사자가 직관적으로 인식하여 내시경 이동을 유도할 수 있도록, 일정 시간 이상 잠재 용종으로 판단되고 있는 경우(즉, 용종 가능성 점수가 일정 시간 동안 소정 범위에 머무르는 경우), 이를 나타내는 표시를 추가적으로 할 수 있다. 도8은 일정 시간 이상 잠재 용종으로 판단되는 용종에 대한 추가 표시(68)를 한 내시경 영상의 예이다.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 8 is an example of an endoscopic image with additional markings 68 for polyps that are judged to be latent polyps for more than a certain period of time.

본 발명의 일 실시예에 따르면, 보다 정확한 판단이 필요한 경우에는, 보다 정확한 딥러닝 모델을 적용하여 용종 유무 및 용종 위치 좌표가 검출되도록 할 수 있다.According to one embodiment of the present invention, when more accurate judgment is required, the presence or absence of polyps and polyp location coordinates can be detected by applying a more accurate deep learning model.

상술한 바와 같이, 본 발명의 일 실시예에 따른 딥러닝 모델은 다수의 내시경 영상에서 용종의 위치를 학습한 모델로서, 용종 위치 좌표와 용종 스코어를 산출하고, 이 용종 스코어가 소정 기준값을 넘는지 여부에 따라, 용종인지 여부를 결정한다. 본 발명의 일 실시예에 따르면, 제1 딥러닝 모델을 적용하여 용종 유무 및 용종 위치 좌표를 검출하다가, 보다 정확한 판단이 필요한 경우에는, 제1 딥러닝 모델의 기준값보다 높은 기준값을 갖는 제2 딥러닝 모델을 적용할 수 있다. 이를 통해, 최종 의심 용종에 대해서는 보다 엄격한 기준으로 판단하여 용종을 표시할 수 있다.As described above, the deep learning model according to an embodiment of the present invention is a model that learns the location of polyps from a plurality of endoscopic images, calculates polyp location coordinates and polyp scores, and determines whether this polyp score exceeds a predetermined reference value. Depending on whether it is a polyp or not, it is determined whether it is a polyp or not. According to one embodiment of the present invention, while detecting the presence or absence of a polyp and the polyp location coordinates by applying the first deep learning model, when a more accurate judgment is required, a second deep learning model with a reference value higher than the reference value of the first deep learning model is used. A learning model can be applied. Through this, the final suspected polyp can be judged based on more stringent standards and displayed.

예컨대, 상술한 바와 같이, 용종 가능성 점수에 따라 용종 표시를 달리하는 경우, 용종 가능성 점수가 증가하더라도 더 이상 용종 표시는 달라지지 않는 최상위 용종 표시(62)가 있을 수 있다. 이러한 최상위 용종 표시(62)는 검사자에게 상당히 용종으로 의심되는 용종으로 인식되게 되는 바, 보다 정확한 판단을 통해 최상위 용종 표시 여부가 결정되는 것이 바람직할 수 있다. 따라서, 용종 가능성 점수가 10일 때 최상 용종 표시(62)가 제공된다면, 용종 가능성 점수가 8에 이르게 될 때까지는 제1 딥러닝 모델을 적용하다가, 용종 가능성 점수가 8 이상인 용종에 대해서는 제1 딥러닝 모델의 기준값보다 높은 기준값을 갖는 제2 딥러닝 모델이 적용할 수 있다. For example, as described above, when the polyp display is different depending on 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. 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 (62) is provided when the polyp likelihood score is 10, the first deep learning model is applied until the polyp likelihood score reaches 8, and then the first deep learning model is used for polyps with a polyp likelihood score of 8 or more. A second deep learning model with a reference value higher than the reference value of the learning model can be applied.

본 발명의 또 다른 일 실시예 따르면, 제1 딥러닝 모델과 제2 딥러닝 모델은 프레임 당 처리 속도를 달리하여 준비될 수 있다. 통상적으로, 처리 속도가 낮은 딥러닝 모델일수록(즉, 처리에 시간이 걸릴수록) 보다 정확한 용종 검출이 가능하다. 따라서, 처리 속도가 낮은 딥러닝 모델을 사용하게 되는 경우, 프레임 당 처리 속도는 느려지고, 이에 따라 내시경 영상에 대한 실시간 처리가 지연될 우려가 있다. 이러한 점을 감안하여, 본 발명의 일 실시예에서는, 제1 딥러닝 모델을 적용하여 용종 유무 및 용종 위치 좌표를 검출하다가, 보다 정확한 판단이 필요한 경우에는, 제1 딥러닝 모델보다 프레임 당 처리 속도가 낮은 제2 딥러닝 모델을 적용할 수 있다. 이를 통해, 내시경 영상에 대한 실시간 처리 지연의 우려는 최소화하면서도, 확실한 용종에 대해서는 보다 엄격한 기준으로 판단하여 용종을 표시할 수 있다.According to another 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.

예컨대, 용종 가능성 점수가 8에 이르게 될 때까지는 제1 딥러닝 모델을 적용하다가, 용종 가능성 점수가 8 이상인 용종에 대해서는 프레임 당 처리 속도가 낮은 제2 딥러닝 모델을 적용할 수 있다. 또는, 잠재 용종으로서 프레임에 따라 용종으로 판단되는 것과 용종으로 판단되지 않는 것이 반복되는 경우 역시, 검사자 입장에서는 용종에 대한 정확한 판단이 요구될 수 있다. 즉, 최상위 용종 표시(62)에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 프레임 당 처리 속도가 낮은 제2 딥러닝 모델을 적용할 수 있다.For example, the first deep learning model can be applied until the polyp likelihood score reaches 8, and then the second deep learning model with a low processing speed per frame can be applied to polyps with a polyp likelihood score of 8 or more. 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.

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

도 9를 참조하면, 본 발명의 일 실시예에 따른 용종 검출 방법은, 인체에서 촬영한 내시경 영상을 수신하는 단계(S100)와, 상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계(S200)와, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계(S300)와, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 단계(S400); 결정된 용종 표시를 내시경 영상에 출력하는 단계(S500)를 포함할 수 있다.Referring to FIG. 9, the polyp detection method according to an embodiment of the present invention includes receiving an endoscopic image taken from the human body (S100), and determining the presence or absence of a polyp using a deep learning model for the received endoscopic image. And a step of detecting the location information of the polyp (S200), a step of calculating a polyp probability score for the detected polyp based on the presence or absence of the polyp over time (S300), and based on the calculated score, an endoscope Determining the polyp mark on the image for each frame (S400); It may include outputting the determined polyp mark on the endoscope image (S500).

도 10은 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계를 보다 상세히 설명하는 도면이다. 도10에 도시된 바와 같이, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계(S300)는 당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계(S320)와, 비교 결과에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계(S340)로 구성될 수 있다.Figure 10 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 10, the step of calculating a polyp probability score for a polyp detected based on the presence or absence of a polyp over time (S300) involves comparing the polyp detected in the frame with the polyp detected in the previous frame. It may be comprised of a step (S320) and a step (S340) 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 magnetic media such as floptical disks. -Includes optical media (magneto-optical media) and hardware devices specifically configured to store and execute 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: Highest polyp display

Claims (19)

영상 획득부, 용종 검출부, 용종 가능성 산출부, 용종 표시 결정부, 및 용종 표시부를 포함하는 용종 검출 장치를 이용한 용종 검출 방법으로서,
상기 영상 획득부가, 인체에서 촬영된 내시경 영상을 수신하는 단계와,
상기 용종 검출부가, 상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 단계와,
상기 용종 가능성 산출부가, 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계와,
상기 용종 표시 결정부가, 산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 단계와,
상기 용종 표시부가, 결정된 용종 표시를 내시경 영상 상에 표시하는 단계를 포함하고,
상기 시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 단계는,
당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하는 단계와,
상기 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계를 포함하고,
상기 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하는 단계는,
이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하여, 용종 가능성 점수는 소정 점수의 누적 값이 되는 단계를 포함하는,
용종 검출 장치를 이용한 용종 검출 방법.
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,
receiving, by the image acquisition unit, an endoscopic image captured in the human body;
The polyp detection unit detects the presence or absence of a polyp and location information of the polyp using a 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 a polyp display on the endoscope image for each frame based on the calculated score;
The polyp display unit includes a step of displaying the determined polyp display on the endoscope image,
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;
Based on the comparison, applying a predetermined score to calculate a polyp probability score over time,
The step of calculating the polyp probability score over time by applying the predetermined score is,
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, and the polyp probability score is a cumulative value of the predetermined scores. doing,
Polyp detection method using a polyp detection device.
삭제delete 삭제delete 제1항에 있어서,
상기 용종 가능성 산출부는 딥러닝 모델이 제공하는 용종 스코어와 용종 검출 기준값의 차이를 기초로 상기 소정 점수를 결정하는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 1,
The polyp probability calculation unit determines the predetermined score based on the difference between the polyp score provided by the deep learning model and the polyp detection reference value,
Polyp detection method using a polyp detection device.
제1항에 있어서,
상기 용종 가능성 점수가 기준값 이하인 경우에는, 상기 용종 표시부는 당해 용종에 대해서는 용종 표시를 하지 않는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 1,
If the polyp probability score is below the reference value, the polyp display unit does not display the polyp for the polyp.
Polyp detection method using a polyp detection device.
제1항에 있어서,
상기 용종 표시 결정부는 상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션을 결정하는,
용종 검출 장치를 이용한 용종 검출 방법.
According to paragraph 1,
The polyp display determination unit determines a gradation of the polyp display according to the polyp probability score,
Polyp detection method using a polyp detection device.
제6항에 있어서,
최상위 용종 표시는 나머지 용종 표시와 색상 또는 형태 면에서 다른,
용종 검출 장치를 이용한 용종 검출 방법.
According to clause 6,
The top polyp mark is different in color or shape from the rest of the polyp marks.
Polyp detection method using a polyp detection device.
제7항에 있어서,
용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 복수의 용종들이 모여 있는 경우, 상기 용종 표시부는 용종들이 모여 있는 영역을 표시하는,
용종 검출 장치를 이용한 용종 검출 방법.
In clause 7,
When a plurality of polyps with a polyp probability score smaller than the polyp probability score corresponding to the highest polyp display are gathered, the polyp display unit displays the area where the polyps are gathered,
Polyp detection method using a polyp detection device.
제7항에 있어서,
용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 상기 용종 표시부는 이를 나타내는 표시로서 용종 표시를 내시경 영상 상에 표시하는,
용종 검출 장치를 이용한 용종 검출 방법.
In clause 7,
If the polyp probability score is less than the polyp probability score corresponding to the highest polyp indication persists for more than a certain period of time, the polyp display unit displays the polyp indication on the endoscope image as an indicator indicating this,
Polyp detection method using a polyp detection device.
내시경 영상을 이용한 용종 검출 장치로서,
인체에서 촬영한 내시경 영상을 수신하는 영상 획득부와,
상기 수신한 내시경 영상에 대하여 딥러닝 모델을 이용하여 용종의 유무 및 상기 용종의 위치 정보를 검출하는 용종 검출부와,
시간 추이에 따른 용종의 유무를 기초로 검출된 용종에 대하여 용종 가능성 점수를 산출하는 용종 가능성 산출부와,
산출된 점수를 기초로, 내시경 영상 상의 용종 표시를 매 프레임마다 결정하는 용종 표시 결정부와,
결정된 용종 표시를 내시경 영상 상에 표시하는 용종 표시부를 포함하고,
용종 가능성 산출부는,
당해 프레임에서 검출된 용종과 이전 프레임에서 검출된 용종을 비교하고, 상기 비교에 기초하여, 소정 점수를 적용하여 시간 추이에 따른 용종 가능성 점수를 산출하고,
용종 가능성 산출부는, 상기 용종 가능성 점수를 산출함에 있어서, 이전 프레임 및 당해 프레임에서 검출된 용종에 대해서는, 이전 프레임에서의 용종 가능성 점수에 소정 점수를 가산하여 용종 가능성 점수를 산출하고, 당해 프레임에서 새롭게 검출된 용종에 대해서는, 소정 점수를 용종 가능성 점수로 산출하고, 이전 프레임에서는 검출되었으나 당해 프레임에서는 검출되지 않은 용종에 대해서는 이전 프레임에서의 용종 가능성 점수에서 소정 점수를 감산하여 용종 가능성 점수를 산출하여, 용종 가능성 점수는 소정 점수의 누적 값이 되는,
내시경 영상을 이용한 용종 검출 장치.
A polyp detection device using endoscopic images,
An image acquisition unit that receives an endoscopic image taken from the human body,
A polyp detection unit that detects the presence or absence of a polyp and location information of the polyp using a deep learning model for the received endoscopic image;
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 the polyp display on the endoscope image for each frame based on the calculated score;
It includes a polyp display unit that displays the determined polyp display on the endoscope image,
In the polyp probability calculation section,
Compare the polyp detected in the current frame with the polyp detected in the previous frame, and based on the comparison, apply a predetermined score to calculate a polyp probability score over time,
In calculating the polyp probability score, the polyp probability calculation unit calculates 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 calculates the polyp probability score anew in the frame. For detected polyps, 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 predetermined score is subtracted from the polyp probability score in the previous frame to calculate the polyp probability score. The polyp probability score is the cumulative value of a predetermined score,
Polyp detection device using endoscopic images.
삭제delete 삭제delete 제10항에 있어서,
상기 소정 점수는 딥러닝 모델이 제공하는 용종 스코어와 용종 검출 기준값의 차이를 기초로 결정되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 10,
The predetermined score is determined based on the difference between the polyp score provided by the deep learning model and the polyp detection reference value,
Polyp detection device using endoscopic images.
제10항에 있어서,
상기 용종 가능성 점수가 기준값 이하인 경우에는, 당해 용종에 대해서는 용종 표시를 하지 않는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 10,
If the polyp probability score is below the standard value, the polyp is not indicated.
Polyp detection device using endoscopic images.
제10항에 있어서,
상기 용종 가능성 점수에 따라 용종 표시의 그라디에이션이 결정되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 10,
The gradation of the polyp display is determined according to the polyp probability score,
Polyp detection device using endoscopic images.
제15항에 있어서,
최상위 용종 표시는 나머지 용종 표시와 색상 또는 형태 면에서 다른,
내시경 영상을 이용한 용종 검출 장치.
According to clause 15,
The top polyp mark is different in color or shape from the rest of the polyp marks.
Polyp detection device using endoscopic images.
제16항에 있어서,
용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 복수의 용종들이 모여 있는 경우, 용종들이 모여 있는 영역이 표시되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 16,
If multiple polyps with a polyp probability score smaller than the polyp probability score corresponding to the highest polyp display are gathered, the area where the polyps are gathered is displayed.
Polyp detection device using endoscopic images.
제16항에 있어서,
용종 가능성 점수가 최상위 용종 표시에 상응하는 용종 가능성 점수보다 작은 시간이 일정 시간 이상 지속되는 경우, 이를 나타내는 표시가 용종 표시에 적용되는,
내시경 영상을 이용한 용종 검출 장치.
According to clause 16,
If the polyp probability score is lower than the polyp probability score corresponding to the highest polyp indication for more than a certain period of time, a mark indicating this is applied to the polyp indication,
Polyp detection device using endoscopic images.
내시경 영상을 이용한 용종 검출 프로그램이며,
상기 용종 검출 프로그램은 프로세서와 결합되어, 컴퓨터로 판독가능한 기록 매체에 저장된 컴퓨터 프로그램이고,
상기 컴퓨터 프로그램은 제1항 및 제4항 내지 제8항 중 하나를 따르는 용종 검출 방법을 상기 기록 매체 저장된 명령어에 의해 상기 프로세서에서 실행되도록 구성되는, 내시경 영상을 이용한 용종 검출 프로그램.
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 and 4 to 8 on the processor by instructions stored in the recording medium.
KR1020220001284A 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image KR102641489B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220001284A KR102641489B1 (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
KR1020220001284A KR102641489B1 (en) 2022-01-05 2022-01-05 Polyp detection method, device and computer program using endoscopy image

Publications (2)

Publication Number Publication Date
KR20230105811A KR20230105811A (en) 2023-07-12
KR102641489B1 true KR102641489B1 (en) 2024-02-27

Family

ID=87163424

Family Applications (1)

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

Country Status (1)

Country Link
KR (1) KR102641489B1 (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 (4)

* 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
KR20150049585A (en) * 2013-10-30 2015-05-08 삼성전자주식회사 Polyp detection apparatus and operating method for the same
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

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
KR20230105811A (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
US7993274B2 (en) Method, system, and computer product for automatically extracting and tracking cardiac calcifications and determining a tracking centerline
JP5622461B2 (en) Image processing apparatus, image processing method, and image processing program
US8582844B2 (en) Medical image processing device and method
KR102472034B1 (en) Method and Apparatus for Detection of a Region Representing Interdental Caries in an X-ray Image
JP5642407B2 (en) Diagnosis support system, diagnosis support program, and diagnosis support method
CN103945755B (en) Image processing apparatus
JP2007111534A (en) System and method for observing by emphasizing rib metastasis
JP6716853B2 (en) Information processing apparatus, control method, and program
WO2008010305A1 (en) Image analyzer and image analysis program
US11610329B2 (en) Visualization system for visualizing an alignment accuracy
JP5744631B2 (en) Medical support device, medical support method
KR102361354B1 (en) Method of providing disease information for cardiac stenosis on coronary angiography
US9292921B2 (en) Method and system for contrast inflow detection in 2D fluoroscopic images
US8073229B2 (en) Image analysis of tube tip positioning
KR102195850B1 (en) Method and system for segmentation of vessel using deep learning
KR102641489B1 (en) Polyp detection method, device and computer program using endoscopy image
JP4822527B2 (en) Image analysis apparatus and image analysis program
Wang et al. Interactive retinal vessel extraction by integrating vessel tracing and graph search
KR102641492B1 (en) Polyp detection method, device and computer program using endoscopy image
JP5636550B2 (en) Lens image analyzer
US11120554B2 (en) Image diagnosis apparatus, image diagnosis method, and program
US10307050B2 (en) Early prediction of hypertensive retinopathy
CN113487582A (en) Image evaluation method and device, computer-readable storage medium and electronic device

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