KR102313143B1 - Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof - Google Patents

Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof Download PDF

Info

Publication number
KR102313143B1
KR102313143B1 KR1020190089122A KR20190089122A KR102313143B1 KR 102313143 B1 KR102313143 B1 KR 102313143B1 KR 1020190089122 A KR1020190089122 A KR 1020190089122A KR 20190089122 A KR20190089122 A KR 20190089122A KR 102313143 B1 KR102313143 B1 KR 102313143B1
Authority
KR
South Korea
Prior art keywords
diabetic retinopathy
bounding box
pathological
severity
data
Prior art date
Application number
KR1020190089122A
Other languages
Korean (ko)
Other versions
KR20210012097A (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 KR1020190089122A priority Critical patent/KR102313143B1/en
Publication of KR20210012097A publication Critical patent/KR20210012097A/en
Application granted granted Critical
Publication of KR102313143B1 publication Critical patent/KR102313143B1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • 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
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/10Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
    • A61B3/14Arrangements specially adapted for eye photography
    • A61B3/145Arrangements specially adapted for eye photography by video means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7271Specific aspects of physiological measurement analysis
    • A61B5/7275Determining trends in physiological measurement data; Predicting development of a medical condition based on physiological measurements, e.g. determining a risk factor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • 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
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/41Medical

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Pathology (AREA)
  • Primary Health Care (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Epidemiology (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Data Mining & Analysis (AREA)
  • Biophysics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Physiology (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Psychiatry (AREA)
  • Evolutionary Computation (AREA)
  • Radiology & Medical Imaging (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Multimedia (AREA)
  • Ophthalmology & Optometry (AREA)
  • Eye Examination Apparatus (AREA)
  • Image Analysis (AREA)

Abstract

본 발명은 딥러닝에 기반한 당뇨망막병증 검출 및 증증도 분류장치 및 그 방법에 대한 것이다.
본 발명에 따르면, 당뇨성 망막 병증을 진단받은 환자들의 안저영상을 수집하는 영상수집부, 상기 수집된 안저영상을 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 당뇨성 망막 병증의 병리적 특징을 학습시키는 학습부, 병증을 진단받고자 하는 피검자의 안저영상을 입력받으면, 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 병리증상으로 판별되는 영역을 설정된 경계박스로 나타내어 검출하는 검출부, 상기 병리증상 데이터에 대한 전처리 과정을 수행하는 신호처리부, 그리고 전처리가 완료된 상기 병리증상 데이터를 랜덤포레스트 분류기에 입력하고, 상기 입력된 병리증상 데이터를 분석하여 당뇨성 망막병증의 중중도를 복수의 등급으로 분류하는 중증도 분류부를 포함한다.
본 발명에 따른 당뇨망막병증 검출 및 증증도 분류장치는 안과질환 의료진이나 검사자의 주관적 해석 개입을 방지하고 객관적 자료와 지표를 이용하여 구체적으로 진단할 수 있으며 의료영상 분석 분야 업무의 효율성을 높일 수 있다.
The present invention relates to an apparatus and method for detecting and classifying diabetic retinopathy based on deep learning.
According to the present invention, an image collecting unit for collecting fundus images of patients diagnosed with diabetic retinopathy, and inputting the collected fundus images to a Faster R-CNN based object recognition algorithm to detect the pathological characteristics of diabetic retinopathy When the learning unit for learning receives the fundus image of the subject who wants to be diagnosed with the disease, the inputted fundus image of the subject is inputted into the Faster R-CNN based object recognition algorithm that has completed learning, and a bounding box that sets the area to be identified as a pathological symptom A detection unit that detects by indicating, a signal processing unit that performs a pre-processing process for the pathological data, and inputs the pre-processed pathological data to a random forest classifier, and analyzes the input pathological data to detect diabetic retinopathy. and a severity classification unit for classifying the severity into a plurality of grades.
The device for detecting and classifying diabetic retinopathy according to the present invention can prevent the subjective interpretation intervention of an ophthalmic disease medical staff or examiner, make a specific diagnosis using objective data and indicators, and increase the efficiency of work in the medical image analysis field. .

Description

딥러닝에 기반한 당뇨망막병증 검출 및 증증도 분류장치 및 그 방법{Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof}Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof

본 발명은 딥러닝에 기반한 당뇨망막병증 검출 및 증증도 분류장치 및 그 방법에 관한 것으로서, 더욱 상세하게는 촬영된 안저영상을 이용하여 당뇨성 망막 병증의 병리적 특징인 미세 혈관류, 망막 출혈 및 경성 삼출물을 검출하고, 검출된 병증의 중증도를 등급으로 분류하는 딥러닝에 기반한 당뇨망막병증 검출 및 증증도 분류장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for detecting and classifying diabetic retinopathy based on deep learning, and more particularly, microvascular flow, retinal hemorrhage and To a device and method for detecting and classifying diabetic retinopathy based on deep learning that detects hard exudate and classifies the severity of the detected condition.

당뇨성 망막 병증은 당뇨병 환자의 대표적인 미세혈관 합병증으로서 우리나라에서 환자들에게 시력 저하 및 실명을 일으키는 주요한 원인 중 하나이며, 당뇨 환자의 약 60%가 이 질병이 발생한다. 안저 검사를 통해 빠른 치료가 이루어질수록 유병률이 낮아짐에도 불구하고 초기 단계에서는 환자가 인지할 수 있는 증상이 없기 때문에 발견 및 치료가 늦어지는 경향을 보인다. Diabetic retinopathy is a representative microvascular complication of diabetic patients and is one of the major causes of visual loss and blindness in patients in Korea, and about 60% of diabetic patients develop this disease. Although the prevalence decreases as the rapid treatment is performed through fundus examination, the detection and treatment tends to be delayed because there are no recognizable symptoms in the early stage of the patient.

당뇨성 망막 병증의 초기 단계인 비증식성 당뇨성 망막 병증의 경우 안저 검사를 통해 미세혈관류(Microaneurysm), 경성 삼출물(Hard exudate), 면화반(Soft exudate), 망막 출혈 등의 병리 증상을 관찰 할 수 있다. 미세혈관류는 당뇨성 망막 병증에서 가장 먼저 관찰 할 수 있는 임상 소견으로서, 당뇨성 망막 병증이 진행함에 따라 비정상적으로 확장되며 심할 경우 증식성 당뇨성 망막 병증으로 발전 할 수 있다. In the case of non-proliferative diabetic retinopathy, the initial stage of diabetic retinopathy, pathological symptoms such as microaneurysm, hard exudate, soft exudate, and retinal hemorrhage can be observed through fundus examination. can Microvascular aneurysm is the first clinical finding observed in diabetic retinopathy. As diabetic retinopathy progresses, it expands abnormally, and in severe cases, it can develop into proliferative diabetic retinopathy.

망막 출혈의 경우, 망막에 있는 혈관이 터져 시야가 흐려지거나 시력이 떨어지는 증상이 있다. 이때 경성 삼출물의 경우 망막혈관으로부터 장액이 새어 나와 지질이 남게 되는 현상으로, 경성 삼출물을 통해 환자의 혈중 콜레스테롤 수치를 추정 할 수 있다.In the case of retinal hemorrhage, the blood vessels in the retina rupture, resulting in blurred vision or reduced vision. At this time, in the case of hard exudate, serous fluid leaks from the retinal blood vessels and lipids remain, and the patient's blood cholesterol level can be estimated through the hard exudate.

ETDRS 시력표(Early Treatment Diabetic Retinopathy Study)에서는 당뇨성 망막 병증을 증식성(PDR)과 비증식성(NPDR)으로 분류하고 비증식성을 정상 망막(No apparent retinopathy), 가벼운 비증식성 당뇨성 망막 병증(Mild NPDR), 중증도 비증식성 당뇨성 망막 병증(Moderate NPDR), 심한 비증식성 당뇨성 망막 병증(Severe NPDR), 증식성 당뇨성 망막 병증(PDR)으로 세분화하였다. In the Early Treatment Diabetic Retinopathy Study (ETDRS), diabetic retinopathy is classified into proliferative (PDR) and non-proliferative (NPDR), and non-proliferative is classified as No apparent retinopathy and Mild NPDR. ), moderate non-proliferative diabetic retinopathy (NPDR), severe non-proliferative diabetic retinopathy (Severe NPDR), and proliferative diabetic retinopathy (PDR).

이러한 분류를 통해 안과에서는 등급에 따라 다른 치료가 이루어지고 있으며, 각각의 치료 방법이 다르기 때문에 환자의 망막 상태의 심각도 등급을 분류할 필요가 있다. 하지만, 안저영상을 판독하고 분류할 때, 검사자의 주관적 해석이 개입될 수 있고 안저 촬영 장치에 따라 밝기, 명암, 색조 등이 다를 수 있으며 전문의가 아닌 경우 오진의 가능성이 존재한다. Through this classification, different treatments are performed according to grades in ophthalmology, and since each treatment method is different, it is necessary to classify the severity of the retinal condition of the patient. However, when reading and classifying fundus images, the subjective interpretation of the examiner may be involved, and the brightness, contrast, and color tone may vary depending on the fundus imaging device.

따라서 당뇨성 망막 병증의 조기진단 및 분류를 위한 특이도와 민감도를 개선하기 위한 연구의 필요성이 대두되고 있다.Therefore, the need for research to improve the specificity and sensitivity for early diagnosis and classification of diabetic retinopathy is emerging.

본 발명의 배경이 되는 기술은 대한민국 등록특허공보 제10-1848321호(2018.04.20. 공고)에 개시되어 있다.The technology that is the background of the present invention is disclosed in Republic of Korea Patent Publication No. 10-1848321 (2018.04.20. Announcement).

본 발명이 이루고자 하는 기술적 과제는, 촬영된 안저영상을 이용하여 당뇨성 망막 병증의 병리적 특징인 미세 혈관류, 망막 출혈 및 경성 삼출물을 검출하고, 검출된 병증의 중증도를 등급으로 분류하는 딥러닝에 기반한 당뇨망막병증 검출 및 증증도 분류장치 및 그 방법을 제공하는데 목적이 있다. The technical task of the present invention is to detect microvascular flow, retinal hemorrhage, and hard exudate, which are pathological features of diabetic retinopathy, using a photographed fundus image, and deep learning to classify the severity of the detected disease into grades. An object of the present invention is to provide an apparatus and method for detecting and classifying diabetic retinopathy based on the present invention.

이러한 기술적 과제를 이루기 위한 본 발명의 실시예에 따르면, 딥러닝을 기반으로 하여 당뇨성 망막 병증 검출 및 증증도 분류 장치에 있어서, 당뇨성 망막 병증을 진단받은 환자들의 안저영상을 수집하는 영상수집부, 상기 수집된 안저영상을 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 당뇨성 망막 병증의 병리적 특징을 학습시키는 학습부, 병증을 진단받고자 하는 피검자의 안저영상을 입력받으면, 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 병리증상으로 판별되는 영역을 설정된 경계박스로 나타내어 검출하는 검출부, 상기 병리증상 데이터에 대한 전처리 과정을 수행하는 신호처리부, 그리고 전처리가 완료된 상기 병리증상 데이터를 랜덤포레스트 분류기에 입력하고, 상기 입력된 병리증상 데이터를 분석하여 당뇨성 망막병증의 중중도를 복수의 등급으로 분류하는 중증도 분류부를 포함한다. According to an embodiment of the present invention for achieving this technical task, in the apparatus for detecting and classifying diabetic retinopathy based on deep learning, an image collecting unit that collects fundus images of patients diagnosed with diabetic retinopathy , a learning unit that learns the pathological characteristics of diabetic retinopathy by inputting the collected fundus images into an object recognition algorithm based on Faster R-CNN. A detection unit that inputs the fundus image to a Faster R-CNN based object recognition algorithm that has been completed learning and indicates an area determined as a pathological symptom with a set bounding box and detects it, a signal processing unit that performs a pre-processing on the pathological symptom data, and pre-processing and a severity classifier for inputting the completed pathology data into a random forest classifier, and classifying the severity of diabetic retinopathy into a plurality of grades by analyzing the input pathological data.

상기 검출부는, 상기 객체인식 알고리즘에 포함된 특징맵을 이용하여 상기 안저영상으로부터 망막출혈, 경상 삼출물 및 미세혈관류 중에서 적어도 하나에 해당하는 영역에 대해 경계박스를 생성할 수 있다. The detector may generate a bounding box for an area corresponding to at least one of retinal hemorrhage, minor exudate, and microvascular flow from the fundus image by using the feature map included in the object recognition algorithm.

상기 검출부는, 상기 경계박스에 대응하여 병리증상 데이터를 획득하며, 상기 병리증상 데이터는, 상기 경계박스에 대한 이미지, 경계박스에 대한 좌표값, 상기 경계박스내에 포함된 픽셀의 개수, 당뇨성 망막 병증 타입, 및 상기 당뇨성 망막 병증 타입에 해당되는 확률값 중에서 적어도 하나를 포함할 수 있다. The detection unit acquires pathology data corresponding to the bounding box, and the pathological data includes an image for the bounding box, a coordinate value for the bounding box, the number of pixels included in the bounding box, and diabetic retina. It may include at least one of a pathology type and a probability value corresponding to the diabetic retinopathy type.

상기 신호처리부는, 상기 경계박스 내에 모든 픽셀값을 복수 레벨의 명암값을 가지는 회색조로 변환하고, 상기 회색조로 변화된 픽셀을 역변환하며, 상기 역변환된 픽셀에 히스토그램 평활화과정을 적용하여 명암 값의 분포를 균일하게 한 다음, 상기 명암값의 분포가 균일하게 된 픽셀을 이진화할 수 있다. The signal processing unit converts all pixel values in the bounding box to a grayscale having a plurality of levels of intensity values, inversely transforms the pixels changed to the grayscale, and applies a histogram smoothing process to the inversely transformed pixels to obtain a distribution of the contrast values. After the uniformity, the pixels in which the distribution of the light and dark values have become uniform may be binarized.

상기 신호처리부는, 상기 경계박스를 기준으로 X,Y축의 좌표값을 도출하고, 도출된 좌표값을 통해 경계박스 내에 검출된 객체들 간의 거리값을 연산하고, 연산된 거리값의 합을 통해 병리증상 데이터의 분포도를 획득할 수 있다. The signal processing unit derives coordinate values of the X and Y axes based on the bounding box, calculates a distance value between objects detected in the bounding box through the derived coordinate value, and performs pathology through the sum of the calculated distance values A distribution map of symptom data can be obtained.

상기 중증도 분류부는, 기 구축된 복수의 의사결정트리에 상기 경계박스내에 포함된 출혈 병변의 픽셀 개수, 병리 증상의 분포도 및 병명 특성정보 확률 중에서 적어도 하나를 랜덤으로 적용하여 결과값을 산출하며, 상기 복수의 의사결정트리로부터 각각 산출된 결과값을 이용하여 중증도의 등급을 분류할 수 있다. The severity classification unit calculates a result value by randomly applying at least one of the number of pixels of the bleeding lesion included in the bounding box, the distribution of pathological symptoms, and the disease name characteristic information probability to a plurality of pre-constructed decision trees, The severity level may be classified using the result values calculated from the plurality of decision trees, respectively.

또한, 본 발명의 실시예에 따르면, 당뇨성 망막 병증 검출 및 증증도 분류 장치를 이용한 당뇨망막병증 검출 및 증증도 분류방법에 있어서, 당뇨성 망막 병증을 진단받은 환자들의 안저영상을 수집하는 단계, 상기 수집된 안저영상을 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 당뇨성 망막 병증의 병리적 특징을 분석하는 방법을 학습시키는 단계, 병증을 진단받고자 하는 피검자의 안저영상을 입력받으면, 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 경계박스를 설정하며, 설정된 경계박스에 대한 병리증상 데이터를 검출하는 단계, 상기 병리증상 데이터에 대한 전처리 과정을 수행하는 단계, 그리고 전처리가 완료된 병리증상 데이터를 랜덤포레스트 분류기에 입력하고, 상기 입력된 병리증상 데이터를 분석하여 당뇨성 망막병증의 중증도를 복수의 등급으로 분류하는 단계를 포함한다.In addition, according to an embodiment of the present invention, in the method for detecting and classifying diabetic retinopathy using a device for detecting and classifying diabetic retinopathy, collecting fundus images of patients diagnosed with diabetic retinopathy; Learning how to analyze the pathological characteristics of diabetic retinopathy by inputting the collected fundus images into a Faster R-CNN based object recognition algorithm. Setting a bounding box by inputting the fundus image of the subject into an object recognition algorithm based on Faster R-CNN that has been trained, detecting pathological data for the set bounding box, and performing a pre-processing process for the pathological data and inputting the pre-processed pathological data into a random forest classifier, and analyzing the input pathological data to classify the severity of diabetic retinopathy into a plurality of grades.

이와 같이 본 발명에 따르면 해당 병리증상과 중증도 등급 사이의 상관관계에 대한 실험과 효율적으로 등급을 분류하기 위해 데이터 신호처리 과정, 병리증상의 특징, 그리고 머신 러닝의 특성을 이용하여 분류기를 학습시키고 테스트함으로써 적절한 분류 결과를 도출할 수 있다. 따라서, 본 발명에 따르면 안과질환 의료진이나 검사자의 주관적 해석 개입을 방지하고 객관적 자료와 지표를 이용하여 구체적으로 진단할 수 있으며 의료영상 분석 분야 업무의 효율성을 높일 수 있다. As described above, according to the present invention, the classifier is trained and tested using the data signal processing process, the characteristics of the pathology, and the characteristics of machine learning in order to efficiently classify the test and the correlation between the corresponding pathology and the severity grade. By doing so, an appropriate classification result can be derived. Therefore, according to the present invention, it is possible to prevent the subjective interpretation intervention of an ophthalmic disease medical staff or examiner, to make a specific diagnosis using objective data and indicators, and to increase the efficiency of work in the field of medical image analysis.

도 1은 본 발명의 실시예에 따른 당뇨망막병증 검출 및 증증도 분류장치를 설명하기 위한 구성도이다.
도 2는 본 발명의 실시예에 따른 당뇨망막병증 검출 및 증증도 분류 방법을 설명하기 위한 순서도이다.
도 3은 도 2에 도시된 S220단계를 설명하기 위한 순서도이다.
도 4는 도 3에 도시된 S222단계에서 입력된 안저영상에 대한 예를 나타내는 예시도이다.
도 5는 도 3에 도시된 S223단계에서 당뇨성 망막병증 병리 증상 검출에 사용된 Faster R-CNN의 구조를 나타내는 도면이다.
도 6은 도 2에 도시된 S230단계에서 Faster R-CNN에 입력된 원본 안저영상과, 원본 안저영상으로부터 병리증상이 발생된 위치에 추출된 경계박스에 대한 예를 나타내는 예시도이다.
도 7은 도 6에서 추출된 경계박스에 대한 병리 증상 데이터를 설명하기 위한 도면이다.
도 8은 도 2에 도시된 S240단계를 설명하기 위한 순서도이다.
도 9는 도 8에 도시된 S241단계 내지 S244 단계에 대한 예를 나타내는 예시도이다.
1 is a configuration diagram for explaining an apparatus for detecting and classifying diabetic retinopathy according to an embodiment of the present invention.
2 is a flowchart illustrating a method for detecting and classifying diabetic retinopathy according to an embodiment of the present invention.
FIG. 3 is a flowchart for explaining step S220 shown in FIG. 2 .
4 is an exemplary view showing an example of the fundus image input in step S222 shown in FIG.
FIG. 5 is a diagram showing the structure of Faster R-CNN used to detect diabetic retinopathy pathological symptoms in step S223 shown in FIG. 3 .
6 is an exemplary diagram illustrating an example of an original fundus image input to Faster R-CNN in step S230 shown in FIG. 2 and a bounding box extracted from the original fundus image at a location where pathological symptoms occur.
7 is a view for explaining pathological symptom data for the bounding box extracted in FIG. 6 .
FIG. 8 is a flowchart for explaining step S240 shown in FIG. 2 .
9 is an exemplary diagram illustrating an example of steps S241 to S244 shown in FIG. 8 .

이하 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings. In this process, the thickness of the lines or the size of the components shown in the drawings may be exaggerated for clarity and convenience of explanation.

또한 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In addition, the terms described below are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the user or operator. Therefore, definitions of these terms should be made based on the content throughout this specification.

이하에서는 도 1를 이용하여 본 발명의 실시예에 따른 당뇨망막병증 검출 및 증증도 분류장치에 대해 더욱 상세하게 설명한다. Hereinafter, an apparatus for detecting and classifying diabetic retinopathy according to an embodiment of the present invention will be described in more detail with reference to FIG. 1 .

도 1은 본 발명의 실시예에 따른 당뇨망막병증 검출 및 증증도 분류장치를 설명하기 위한 구성도이다. 1 is a configuration diagram for explaining an apparatus for detecting and classifying diabetic retinopathy according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 당뇨망막병증 검출 및 증증도 분류장치(100)는 영상수집부(110), 학습부(120), 검출부(130), 신호처리부(140) 및 중증도 분류부(150)를 포함한다. As shown in FIG. 1 , the diabetic retinopathy detection and severity classification apparatus 100 includes an image collection unit 110 , a learning unit 120 , a detection unit 130 , a signal processing unit 140 , and a severity classification unit 150 . ) is included.

먼저, 영상수집부(110)는 안구 뒤쪽에 위치한 망막을 촬영하는 특수 안저 카메라를 통해 생성된 안저영상을 수집한다. 이때, 수집된 안저영상은 당뇨성 망막 병증을 진단받은 환자의 안구를 촬영한 영상을 의미한다. First, the image collection unit 110 collects the fundus image generated through a special fundus camera for photographing the retina located behind the eyeball. In this case, the collected fundus image refers to an image obtained by photographing the eyes of a patient diagnosed with diabetic retinopathy.

그리고, 학습부(120)는 영상수집부(110)에 수집된 안저영상을 기 구축된 신경망모델에 입력하여 당뇨성 망막 병증의 병리적 특징을 학습시킨다. 부연하자면, 학습부(120)는 Faster R-CNN 기반의 객체인식 알고리즘을 구축한다. 그리고, 학습부(120)는 구축된 Faster R-CNN 기반의 객체인식 알고리즘에 수집된 안저 영상을 입력받고, 입력된 안저영상을 통해 미세혈관류, 망막출혈, 그리고 경성 삼출물의 특징을 학습한다. Then, the learning unit 120 inputs the fundus image collected by the image collection unit 110 to a previously built neural network model to learn the pathological characteristics of diabetic retinopathy. In other words, the learning unit 120 constructs an object recognition algorithm based on Faster R-CNN. Then, the learning unit 120 receives the fundus image collected in the constructed Faster R-CNN based object recognition algorithm, and learns the characteristics of microvascular flow, retinal hemorrhage, and hard exudate through the input fundus image.

그 다음, 검출부(130)는 병증을 진단받고자 하는 피검자의 안저영상을 수신하고, 수신된 피검자의 안저영상을 학습이 완료된 R-CNN 기반의 객체인식 알고리즘에 입력한다. 그리고, 검출부(130)는 Faster R-CNN 기반의 객체인식 알고리즘에 따라 병리증상 데이터를 획득한다. 그 다음, 검출부(130)는 획득한 병리 증상 데이터를 이용하여 미세혈관류, 망막출혈, 그리고 경성 삼출물 중에서 어느 하나의 병리 증상을 검출한다. Then, the detection unit 130 receives the fundus image of the subject to be diagnosed with the condition, and inputs the received fundus image of the subject to the R-CNN-based object recognition algorithm that has been trained. And, the detection unit 130 acquires the pathology data according to the Faster R-CNN based object recognition algorithm. Next, the detection unit 130 detects any one pathological symptom among microvascular flow, retinal hemorrhage, and hard exudate by using the acquired pathological symptom data.

이때, 병리증상 데이터는 병리증상을 의심하게 하는 경계박스(Bounding box)에 대한 이미지, 경계 영역에 대한 좌표값, 경계 영역 내에 포함된 픽셀의 개수, 병증 타입, 및 병증일 경우에 해당되는 확률값을 포함한다. At this time, the pathology data includes an image of a bounding box that makes a pathological symptom suspect, a coordinate value for the boundary area, the number of pixels included in the boundary area, the type of pathology, and a probability value corresponding to the condition. include

신호처리부(140)는 획득한 병리증상 데이터에 전처리 과정을 수행한다. 이를 다시 설명하면, 신호처리부(140)는 검출부(130)에서 출력한 병리증상 데이터를 중증도 분류부(150)로 전달하기 위해 데이터를 정제하고 전처리 과정을 수행한다. 따라서, 신호처리부(140)는 병리증상 데이터에 포함된 경계박스 내에 모든 픽셀에 대하여 배경영역과 증상이 나타나는 부분을 뚜렷하게 구분되게 한다. The signal processing unit 140 performs a pre-processing process on the acquired pathology data. In other words, the signal processing unit 140 purifies the data and performs preprocessing in order to transmit the pathological symptom data output from the detection unit 130 to the severity classification unit 150 . Accordingly, the signal processing unit 140 clearly distinguishes the background region and the symptom-appearing part for all pixels within the bounding box included in the pathological symptom data.

마지막으로, 중증도 분류부(150)는 신호처리부(140)에 의해 전처리된 병리증상 데이터를 랜덤포레스트 분류기에 입력하여 중증도를 분류한다. 즉, 중증도 분류부(150)는 랜덤 포레스트를 구성하는 의사 결정 트리의 집합에서 각각의 트리로부터 얻어낸 정보 획득량의 평균값을 이용하여 당뇨성 병증을 3가지 등급으로 분류한다. Finally, the severity classification unit 150 classifies the severity by inputting the pathology data preprocessed by the signal processing unit 140 into the random forest classifier. That is, the severity classification unit 150 classifies the diabetic disease into three grades by using the average value of the amount of information obtained from each tree in the set of decision trees constituting the random forest.

이하에서는 도 2 내지 도 9를 통해 본 발명의 실시예에 당뇨망막병증 검출 및 증증도 분류 방법에 대하여 구체적으로 설명한다. Hereinafter, a method for detecting and classifying diabetic retinopathy according to an embodiment of the present invention will be described in detail with reference to FIGS. 2 to 9 .

도 2는 본 발명의 실시예에 따른 당뇨망막병증 검출 및 증증도 분류 방법을 설명하기 위한 순서도이다. 2 is a flowchart illustrating a method for detecting and classifying diabetic retinopathy according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 먼저, 영상수집부(110)는 당뇨성 망막 병증을 진단받은 환자의 안저영상을 수집한다(S210).As shown in FIG. 2 , first, the image collection unit 110 collects fundus images of patients diagnosed with diabetic retinopathy ( S210 ).

안저영상은 안구 뒤쪽에 위치한 망막을 촬영한 영상을 나타내는 것으로, 당뇨성 망막 병증을 진단받은 환자의 망막은 고혈당에 의해 망막혈관의 구조적인 변화가 발생된다. 따라서 병증을 진단받은 환자의 안저영상에는 출혈, 부종 및 삼출물의 축적 등이 나타난다. The fundus image represents an image of the retina located at the back of the eyeball. In the retina of a patient diagnosed with diabetic retinopathy, structural changes in retinal blood vessels occur due to high blood sugar. Therefore, hemorrhage, edema, and accumulation of exudate appear on fundus images of patients diagnosed with the disease.

그 다음, 학습부(120)는 영상수집부(110)에 수집된 복수의 안저영상을 Faster R-CNN에 입력하여 학습을 수행한다(S220).Next, the learning unit 120 performs learning by inputting the plurality of fundus images collected by the image collecting unit 110 to the Faster R-CNN (S220).

이하에서는 도 3 내지 도 5를 통해 Faster R-CNN의 학습 수행 과정을 더욱 상세하게 설명한다. Hereinafter, a learning process of Faster R-CNN will be described in more detail with reference to FIGS. 3 to 5 .

도 3은 도 2에 도시된 S220단계를 설명하기 위한 순서도이고, 도 4는 도 3에 도시된 S222단계에서 입력된 안저영상에 대한 예를 나타내는 예시도이고, 도 5는 도 3에 도시된 S223단계에서 당뇨성 망막병증 병리 증상 검출에 사용된 Faster R-CNN의 구조를 나타내는 도면이다. 3 is a flowchart for explaining step S220 shown in FIG. 2 , FIG. 4 is an exemplary view showing an example of the fundus image input in step S222 shown in FIG. 3 , and FIG. 5 is S223 shown in FIG. 3 . It is a diagram showing the structure of Faster R-CNN used to detect diabetic retinopathy pathological symptoms in the step.

먼저 학습부(120)는 당뇨성 망막 병증에 대한 라벨링 작업을 수행한다(S221). First, the learning unit 120 performs a labeling operation for diabetic retinopathy (S221).

예를 들어, 미세혈관류는 라벨0이고, 망막출혈은 라벨 1이며, 경성 삼출물은 라벨 2로 분류한다. For example, microvascular flow is labeled 0, retinal hemorrhage is labeled 1, and hard exudate is labeled 2.

그리고, 학습부(120)는 수집된 안저영상으로부터 학습데이터를 추출한다(S222). Then, the learning unit 120 extracts learning data from the collected fundus image (S222).

도 4에 도시된 바와 같이, 당뇨성 망막병증을 진단받은 환자의 안저영상은 미세혈관류, 망막 출혈 및 경성 삼출물에 대한 증상을 나타낸다. 그러므로, 학습부(120)는 수신된 안저영상으로부터 학습데이터를 추출한다. 여기서 학습데이터는 안저영상에 대한 전체크기와, 학습하고자 하는 객체 즉, 당뇨성 망막 병증의 이름 및 객체의 좌표(Xmax, Ymax, Xmin, Ymin)를 포함한다.As shown in FIG. 4 , the fundus image of a patient diagnosed with diabetic retinopathy shows symptoms of microvascular flow, retinal hemorrhage, and hard exudate. Therefore, the learning unit 120 extracts learning data from the received fundus image. Here, the learning data includes the overall size of the fundus image, the name of the object to be learned, that is, diabetic retinopathy, and the coordinates (Xmax, Ymax, Xmin, Ymin) of the object.

그리고, 학습부(120)는 추출된 학습데이터를 Faster R-CNN에 입력하여 병리 증상을 나타내는 경계박스(Bounding Box)를 설정하도록 학습시킨다(S223). Then, the learning unit 120 inputs the extracted learning data to the Faster R-CNN to learn to set a bounding box indicating pathological symptoms (S223).

Faster R-CNN은 관심 영역(RoI; Region of Interest)에 대한 특징(feature) 추출을 위한 계산을 공유하고 딥러닝 기반의 영역 제안 네트워크(RPN; Region Proposal Network)를 도입하여 객체를 탐지한다. 이때, RPN은 객체를 포함할 가능성이 높은 영역을 선택적으로 탐색하여 객체를 탐지하는 알고리즘이다.Faster R-CNN shares calculations for feature extraction for a region of interest (RoI) and detects objects by introducing a region proposal network (RPN) based on deep learning. In this case, the RPN is an algorithm that detects an object by selectively searching an area that is likely to include an object.

따라서, 도 5에 도시된 바와 같이, 먼저 Faster R-CNN은 컨볼루션 진행 단계에서 복수개의 레이어를 구성한다. 그리고, Faster R-CNN은 입력된 학습데이터를 기 구성된 복수개의 레이어에 반복적으로 거치게 함으로서 특징맵(feature map)을 추출한다. 그 다음, Faster R-CNN은 특징맵(feature map)을 RPN과 관심 영역 풀링 레이어(RoI Pooling Layer)에 각각 전달한다. 그러면, RPN은 병리 증상을 포함하고 있을 가능성이 높은 위치에 형성된 윈도우를 대량 획득하고, 획득된 복수의 윈도우에 있는 포함된 특징맵을 검색하여 경계박스를 검출한다. Therefore, as shown in FIG. 5 , the Faster R-CNN first configures a plurality of layers in the convolution process. And, Faster R-CNN extracts a feature map by repeatedly passing the input learning data through a plurality of pre-configured layers. Then, the Faster R-CNN delivers a feature map to the RPN and the region of interest pooling layer (RoI Pooling Layer), respectively. Then, the RPN acquires a large amount of windows formed in positions that are likely to include pathological symptoms, and detects the bounding box by searching the feature maps included in the acquired plurality of windows.

그리고, 관심 영역 풀링 레이어(RoI Pooling Layer)는 검출된 객체에 대한 당뇨성 망막 병증 타입에 해당되는 확률값과 경계박스에 대한 좌표값을 획득한다. In addition, the region of interest pooling layer (RoI Pooling Layer) acquires a probability value corresponding to the diabetic retinopathy type for the detected object and a coordinate value for the bounding box.

S220단계가 완료된 다음, 검출부(130)는 병증을 진단받고자 하는 피검자의 안저영상을 입력받는다. 그리고 검출부(130)는 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 병리증상으로 판별된 영역에 경계박스를 설정하고, 설정된 경계박스에 대한 병리 증상 데이터를 추출한다(S230).After step S220 is completed, the detection unit 130 receives the fundus image of the subject to be diagnosed with the condition. And the detection unit 130 inputs the fundus image of the subject to be learned into the Faster R-CNN based object recognition algorithm to set a bounding box in the area determined as a pathological symptom, and the pathological symptom data for the set bounding box Extract (S230).

도 6은 도 2에 도시된 S230단계에서 Faster R-CNN에 입력된 원본 안저영상과, 원본 안저영상으로부터 병리증상이 발생된 위치에 추출된 경계박스에 대한 예를 나타내는 예시도이고, 도 7은 도 6에서 추출된 경계박스에 대한 병리 증상 데이터를 설명하기 위한 도면이다. 6 is an exemplary view showing an example of an original fundus image input to Faster R-CNN in step S230 shown in FIG. 2 and a bounding box extracted from the original fundus image at a location where pathological symptoms occur, It is a diagram for explaining pathological symptom data for the bounding box extracted in FIG. 6 .

먼저, 도 6의 (a)는 당뇨성 망막 병증을 진단받고자 하는 피검자의 안저영상 원본을 나타내고, (b)는 피검자의 안저영상 원본에 복수개의 경계박스가 설정된 상태를 나타낸다. First, (a) of FIG. 6 shows an original fundus image of a subject to be diagnosed with diabetic retinopathy, and (b) shows a state in which a plurality of bounding boxes are set in the original fundus image of the subject.

더욱 상세하게 설명하면, 검출부(130)는 피검자의 안저영상 원본을 Faster R-CNN에 입력한다. 그러면, Faster R-CNN는 객체인식 알고리즘에 따라 입력된 피검자의 안저영상 원본에 복수개의 경계박스를 설정한다. 그리고 검출부(130)는 각각의 경계박스에 대한 병리증상 데이터를 검출한다.In more detail, the detector 130 inputs the original fundus image of the subject to Faster R-CNN. Then, Faster R-CNN sets a plurality of bounding boxes in the original fundus image of the subject according to the object recognition algorithm. And the detection unit 130 detects pathology data for each bounding box.

여기서 병리증상 데이터는 경계박스에 대한 이미지와, 경계박스에 대한 좌표값, 경계박스 내에 포함된 픽셀의 개수, 당뇨성 망막 병증 타입, 및 당뇨성 망막 병증 타입에 해당되는 확률값 중에서 적어도 하나를 포함한다. Here, the pathology data includes at least one of an image for the bounding box, a coordinate value for the bounding box, the number of pixels included in the bounding box, a diabetic retinopathy type, and a probability value corresponding to the diabetic retinopathy type. .

부연하자면, 도 7에 도시된 바와 같이, 경계박스에 대한 좌표값은 경계박스의 위치값을 나타내는 것으로 (x, y, 넓이, 높이)를 포함하는 4가지의 변수로 표현된다. 그리고, 픽셀의 개수는 경계박스의 크기에 따라 달라지며, 경계박스 전체에 분포되어 있는 픽셀의 개수를 나타낸다. 또한, 당뇨성 망막 병증 타입은 경계박스를 병리증상으로 분류하기 위해 기 설정된 라벨값으로 구분된다. 따라서, 경계박스에 포함된 병리증상이 미세혈관류이면 0으로 나타내고, 망막출혈이면 1로 나타내며, 경성 삼출물이면 2로 나타낸다. In other words, as shown in FIG. 7 , the coordinate value of the bounding box represents the position value of the bounding box and is expressed by four variables including (x, y, width, and height). And, the number of pixels varies depending on the size of the bounding box, and represents the number of pixels distributed throughout the bounding box. In addition, the diabetic retinopathy type is classified by a preset label value to classify the bounding box as a pathological symptom. Therefore, if the pathology included in the bounding box is microvascular flow, it is indicated as 0, if it is retinal hemorrhage, it is indicated as 1, and if it is hard exudate, it is indicated as 2.

마지막으로 당뇨성 망막 병증 타입에 해당되는 확률값은 앞서 분류된 병리증상에 해당되는 확률을 나타낸다. Finally, the probability value corresponding to the diabetic retinopathy type represents the probability corresponding to the previously classified pathology.

S230단계에서 병리증상 데이터 검출이 완료되면, 신호처리부(140)는 검출된 병리증상 데이터를 정제하고 전처리 과정을 수행한다(S240).When the pathology data detection is completed in step S230, the signal processing unit 140 purifies the detected pathology data and performs a pre-processing process (S240).

이하에서는 도 8 및 도 9를 통해 병리증상 데이터를 정제하고 전처리 과정을 수행하는 방법에 대해 더욱 상세하게 설명한다. Hereinafter, a method of purifying pathological data and performing a pre-processing process will be described in more detail with reference to FIGS. 8 and 9 .

도 8은 도 2에 도시된 S240단계를 설명하기 위한 순서도이고, 도 9은 도 8에 도시된 S241단계 내지 S244 단계에 대한 예를 나타내는 예시도이다. FIG. 8 is a flowchart for explaining step S240 shown in FIG. 2 , and FIG. 9 is an exemplary diagram illustrating an example of steps S241 to S244 shown in FIG. 8 .

도 8 및 도 9에 도시된 바와 같이, 신호처리부(140)는 검출된 병리증상 데이터를 회색조(Gray scale)로 변환시킨다(S241).8 and 9, the signal processing unit 140 converts the detected pathology data into gray scale (S241).

신호처리부(140)는 경계 박스(Bounding Box)로 이루어진 직사각형 영역 내에 포함된 모든 픽셀에 대하여 배경 영역과 구분하고자 해당 객체에 대한 픽셀 값을 256단계의 명암값(회색조)으로 표현한다. The signal processing unit 140 expresses a pixel value of a corresponding object as a 256-level contrast value (grayscale) in order to distinguish it from a background area for all pixels included in a rectangular area formed of a bounding box.

그 다음, 신호처리부(140)는 회색조로 변환된 픽셀을 역변환한다(S242).Next, the signal processing unit 140 inversely transforms the grayscale-converted pixel (S242).

즉, 신호처리부(140)는 256단계(0~255)의 회색조로 표현된 픽셀값을 하기의 수학식 1에 적용하여 역변환시킨다. That is, the signal processing unit 140 inversely transforms the pixel values expressed in gray scales of 256 steps (0 to 255) by applying Equation 1 below.

Figure 112019075722041-pat00001
Figure 112019075722041-pat00001

여기서, x는 선택된 어느 하나의 픽셀에 대한 픽셀값이고, x'는 역변환된 픽셀값을 나타낸다. Here, x is a pixel value of any one selected pixel, and x' denotes an inversely transformed pixel value.

S242단계가 완료되면, 신호처리부(140)는 역변환된 픽셀에 히스토그램 평활화 과정을 적용시킨다(S243). When step S242 is completed, the signal processing unit 140 applies a histogram smoothing process to the inversely transformed pixel (S243).

여기서 히스토그램 평활화는 명암의 분포를 재분배 및 새로운 값으로 설정하는 과정을 나타낸다. 따라서, 신호처리부(140)는 역변환된 픽셀에 히스토그램 평활화를 수행하여 명암값의 분포를 균일하게 만들고 경계를 뚜렷하게 구분시킨다. 따라서, 신호처리부(140)는 경계박스내에 포함된 배경 영역과 미세혈관 및 망막출혈 영역을 분리할 수 있다. Here, histogram smoothing represents the process of redistribution of light and dark distributions and setting new values. Accordingly, the signal processing unit 140 performs histogram smoothing on the inversely transformed pixels to make the distribution of light and dark values uniform and to clearly distinguish boundaries. Accordingly, the signal processing unit 140 may separate the background region included in the bounding box and the microvascular and retinal hemorrhage regions.

그 다음, 신호처리부(140)는 명암값의 분포가 균일하게 된 픽셀을 이진화시킨다(S244).Next, the signal processing unit 140 binarizes the pixels in which the distribution of light and dark values is uniform ( S244 ).

신호처리부(140)는 기본적인 임계처리 방식을 이용하여 0과 1로 표현되는 바이너리 데이터로 변환시킨다. 그러면, 신호처리부(140)는 출혈이 발생된 영역만을 분리하여 픽셀 데이터를 획득한다. The signal processing unit 140 converts binary data represented by 0 and 1 using a basic threshold processing method. Then, the signal processing unit 140 obtains pixel data by separating only the region where the bleeding has occurred.

마지막으로, 신호처리부(140)는 경계 박스의 좌표값을 이용하여 병리증상 데이터의 분포도를 획득한다(S245). Finally, the signal processing unit 140 obtains the distribution of pathology data by using the coordinate values of the bounding box (S245).

부연하자면, 신호처리부(140)는 안저영상내에서 망막 출혈과 미세혈관류의 분포를 분석하기 위하여 추출한 객체의 박스를 기준으로 X,Y축의 좌표값을 도출한다. 그리고 신호처리부(140)는 도출된 좌표값을 수학식 2에 적용하여 객체들간의 거리값을 연산한다. In other words, the signal processing unit 140 derives the coordinate values of the X and Y axes based on the box of the extracted object in order to analyze the distribution of retinal hemorrhage and microvascular flow in the fundus image. And the signal processing unit 140 calculates the distance value between the objects by applying the derived coordinate value to Equation (2).

Figure 112019075722041-pat00002
Figure 112019075722041-pat00002

여기서, X는 객체의 X축 값을 나타내고, Y는 객체의 Y축 값을 나타낸다. Here, X represents the X-axis value of the object, and Y represents the Y-axis value of the object.

그리고, 신호처리부(140)는 연산된 거리값의 합을 통해 병리증상 데이터의 분포도를 획득한다. 이때, 병리증상 데이터는 전처리 과정을 거쳐 분류기로 전달되는 특징정보를 포함하며, 당뇨성 망막 병증의 심각도를 분류하기 위해 사용된다. And, the signal processing unit 140 acquires the distribution of pathology data through the sum of the calculated distance values. In this case, the pathological symptom data includes characteristic information transmitted to the classifier through a pre-processing process, and is used to classify the severity of diabetic retinopathy.

즉, 병리증상 데이터는 미세혈관류 및 망막 출혈의 픽셀 개수, 각 객체의 최대거리, 당뇨성 망막 병증 타입, 및 당뇨성 망막 병증 타입에 해당되는 확률값을 포함한다. That is, the pathology data includes the number of pixels of microvascular flow and retinal hemorrhage, the maximum distance of each object, a diabetic retinopathy type, and a probability value corresponding to the diabetic retinopathy type.

S245단계가 완료되면, 중증도 분류부(150)는 전처리된 병리증상 데이터를 랜덤포레스트 분류기에 입력한다. 그러면, 랜덤포레스트 분류기는 입력된 병리증상 데이터를 분석하여, 중증도 분류부(150)는 그 결과에 따라 당뇨성 망막병증의 중증도를 복수의 등급으로 분류시킨다(S250).When step S245 is completed, the severity classification unit 150 inputs the pre-processed pathological symptom data to the random forest classifier. Then, the random forest classifier analyzes the input pathology data, and the severity classifier 150 classifies the severity of diabetic retinopathy into a plurality of grades according to the result (S250).

부연하자면, 중증도 분류부(150)는 대략 9개의 의사결정트리를 구축한다. 이때, 본 발명의 실시예에서는 의사결정트리의 개수를 9개로 설정하였으나, 이에 한정하지 않고 입력되는 변수 및 의서결정트리를 구성하는 규칙들에 따라 의사결정트리의 개수를 변경하여 적용한다. In other words, the severity classification unit 150 constructs approximately nine decision trees. At this time, although the number of decision trees is set to 9 in the embodiment of the present invention, the number of decision trees is changed and applied according to the rules constituting the input variable and the decision tree without being limited thereto.

그리고, 중증도 분류부(150)는 구축된 9개의 의사결정트리에 전처리가 완료된 병리증상 데이터를 랜덤으로 입력한다. 여기서 병리증상 데이터는 경계박스 내에 포함된 출혈 병변의 픽셀 개수, 병리 증상의 분포도 및 병명 특성정보 확률을 포함한다. Then, the severity classification unit 150 randomly inputs the pre-processed pathological symptom data into the nine constructed decision trees. Here, the pathology data includes the number of pixels of bleeding lesions included in the bounding box, the distribution of pathological symptoms, and the probability of disease name characteristic information.

그러면, 9개의 의사결정트리는 입력된 병리증상 데이터를 이용하여 각각의 결과값을 산출한다. 그 다음, 중증도 분류부(150)는 산출된 각각된 결과값을 다수결 논리에 따라 병증의 중증도를 판단한다. 그리고, 중증도 분류부(150)는 판단된 결과를 상, 중, 하의 3개의 등급으로 나타낼 수 있다. Then, the nine decision trees calculate each result value using the input pathology data. Then, the severity classifying unit 150 determines the severity of the disease according to the logic of the majority vote based on the calculated respective result values. In addition, the severity classifying unit 150 may represent the determined result in three grades: high, medium, and low.

이와 같이 본 발명에 따른 당뇨망막병증 검출 및 증증도 분류장치는 해당 병리증상과 중증도 등급 사이의 상관관계에 대한 실험과 효율적으로 등급을 분류하기 위해 데이터 신호처리 과정, 병리증상 의 특징, 그리고 머신 러닝의 특성을 이용하여 분류기를 학습시키고 테스트함으로써 적절한 분류 결과를 도출할 수 있다. 따라서, 본 발명에 따른 당뇨망막병증 검출 및 증증도 분류장치는 안과질환 의료진이나 검사자의 주관적 해석 개입을 방지하고 객관적 자료와 지표를 이용하여 구체적으로 진단할 수 있으며 의료영상 분석 분야 업무의 효율성을 높일 수 있다. As described above, the device for detecting and classifying diabetic retinopathy according to the present invention is a data signal processing process, pathological symptom characteristics, and machine learning in order to efficiently classify the test and grade for the correlation between the corresponding pathology and the severity grade. Appropriate classification results can be derived by training and testing the classifier using the characteristics of . Therefore, the apparatus for detecting and classifying diabetic retinopathy according to the present invention can prevent the intervention of an ophthalmic disease medical staff or examiner's subjective interpretation, make a specific diagnosis using objective data and indicators, and increase the efficiency of the medical image analysis field. can

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiment shown in the drawings, which is merely exemplary, those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. will be. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the following claims.

100 : 당뇨망막병증 검출 및 증증도 분류장치
110 : 영상수집부
120 : 학습부
130 : 검출부
140 : 신호처리부
150 : 중증도 분류부
100: diabetic retinopathy detection and severity classification device
110: image collecting unit
120: study department
130: detection unit
140: signal processing unit
150: severity classification unit

Claims (13)

딥러닝을 기반으로 하여 당뇨성 망막 병증 검출 및 증증도 분류 장치에 있어서,
병증을 진단받고자 하는 피검자의 안저영상을 입력받으면, 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 상기 안저영상으로부터 망막출혈, 경상 삼출물 및 미세혈관류의 병리증상으로 판별되는 영역을 설정된 경계박스로 나타내어 검출하는 검출부,
병리증상 데이터에 대한 전처리 과정을 수행하는 신호처리부, 그리고
전처리가 완료된 상기 병리증상 데이터를 랜덤포레스트 분류기에 입력하고, 상기 입력된 병리증상 데이터를 분석하여 당뇨성 망막병증의 중중도를 복수의 등급으로 분류하는 중증도 분류부를 포함하며,
상기 검출부는,
상기 경계박스에 대응하여 병리증상 데이터를 획득하며,
상기 병리증상 데이터는,
상기 경계박스에 대한 이미지, 경계박스에 대한 좌표값, 상기 경계박스내에 포함된 픽셀의 개수, 당뇨성 망막 병증 타입, 및 상기 당뇨성 망막 병증 타입 해당되는 확률값을 포함하고,
상기 중증도 분류부는,
기 구축된 복수의 의사결정트리에 상기 경계박스내에 포함된 출혈 병변의 픽셀 개수, 병리 증상의 분포도 및 병명 특성정보 확률에서 적어도 하나를 랜덤으로 적용하여 결과값을 산출하며,
상기 복수의 의사결정트리로부터 각각 산출된 결과값을 이용하여 중증도의 등급을 분류하는 당뇨성 망막 병증 검출 및 증증도 분류 장치.
In the device for detecting and classifying diabetic retinopathy based on deep learning,
When a fundus image of a subject to be diagnosed is received, the fundus image of the subject is input into an object recognition algorithm based on a Faster R-CNN that has been learned, and the pathology of retinal hemorrhage, minor exudate and microvascular flow from the fundus image A detection unit that detects an area identified as a symptom with a set bounding box,
A signal processing unit that performs pre-processing on the pathological data, and
It includes a severity classification unit that inputs the pre-processed pathological data into a random forest classifier, analyzes the input pathological data, and classifies the severity of diabetic retinopathy into a plurality of grades,
The detection unit,
Acquire pathological symptom data in response to the bounding box,
The pathology data is
an image for the bounding box, a coordinate value for the bounding box, the number of pixels included in the bounding box, a diabetic retinopathy type, and a probability value corresponding to the diabetic retinopathy type,
The severity classification unit,
Calculate the result by randomly applying at least one from the number of pixels of bleeding lesions included in the bounding box, the distribution of pathological symptoms, and the disease name characteristic information probability to a plurality of pre-constructed decision trees,
A diabetic retinopathy detection and severity classification device for classifying a grade of severity using the result values calculated from the plurality of decision trees.
제1항에 있어서,
당뇨성 망막 병증을 진단받은 환자들의 안저영상을 수집하는 영상수집부, 그리고
상기 수집된 안저영상을 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 당뇨성 망막 병증의 병리적 특징을 학습시키는 학습부를 더 포함하는 당뇨성 망막 병증 검출 및 중증도 분류장치.
According to claim 1,
An image collection unit for collecting fundus images of patients diagnosed with diabetic retinopathy, and
Diabetic retinopathy detection and severity classification apparatus further comprising a learning unit for learning the pathological characteristics of diabetic retinopathy by inputting the collected fundus image to a Faster R-CNN based object recognition algorithm.
삭제delete 삭제delete 제1항에 있어서,
상기 신호처리부는,
상기 경계박스 내에 모든 픽셀값을 복수 레벨의 명암값을 가지는 회색조로 변환하고, 상기 회색조로 변화된 픽셀을 역변환하며, 상기 역변환된 픽셀에 히스토그램 평활화과정을 적용하여 명암 값의 분포를 균일하게 한 다음, 상기 명암값의 분포가 균일하게 된 픽셀을 이진화하는 당뇨성 망막 병증 검출 및 증증도 분류 장치.
According to claim 1,
The signal processing unit,
All pixel values in the bounding box are converted to grayscale having multiple levels of intensity values, the pixels converted to the grayscale are inversely transformed, and a histogram smoothing process is applied to the inversely transformed pixels to make the distribution of the intensity values uniform, A diabetic retinopathy detection and severity classification device for binarizing pixels with a uniform distribution of light and dark values.
제5항에 있어서,
상기 신호처리부는,
상기 경계박스를 기준으로 X,Y축의 좌표값을 도출하고, 도출된 좌표값을 통해 경계박스 내에 검출된 객체들 간의 거리값을 연산하고, 연산된 거리값의 합을 통해 병리증상 데이터의 분포도를 획득하는 당뇨성 망막 병증 검출 및 증증도 분류 장치.
6. The method of claim 5,
The signal processing unit,
The coordinate values of the X and Y axes are derived based on the bounding box, the distance values between objects detected in the bounding box are calculated through the derived coordinate values, and the distribution of pathological symptom data is obtained through the sum of the calculated distance values. Acquiring diabetic retinopathy detection and severity classification device.
삭제delete 당뇨성 망막 병증 검출 및 증증도 분류 장치를 이용한 당뇨망막병증 검출 및 증증도 분류방법에 있어서,
당뇨성 망막 병증을 진단받은 환자들의 안저영상을 수집하는 단계,
상기 수집된 안저영상을 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 당뇨성 망막 병증의 병리적 특징을 분석하는 방법을 학습시키는 단계,
병증을 진단받고자 하는 피검자의 안저영상을 입력받으면, 입력된 피검자의 안저영상을 학습이 완료된 Faster R-CNN 기반의 객체인식 알고리즘에 입력하여 상기 안저영상으로부터 망막출혈, 경상 삼출물 및 미세혈관류의 병리증상으로 판별되는 영역에 경계박스를 설정하며, 설정된 경계박스에 대응하는 병리증상 데이터를 검출하는 단계,
상기 병리증상 데이터에 대한 전처리 과정을 수행하는 단계, 그리고
전처리가 완료된 상기 병리증상 데이터를 랜덤포레스트 분류기에 입력하고, 상기 입력된 병리증상 데이터를 분석하여 당뇨성 망막병증의 중중도를 복수의 등급으로 분류하는 단계를 포함하며,
상기 병리증상 데이터는,
상기 경계박스에 대한 이미지, 경계박스에 대한 좌표값, 상기 경계박스내에 포함된 픽셀의 개수, 당뇨성 망막 병증 타입, 및 상기 당뇨성 망막 병증 타입에 해당되는 확률값을 포함하고,
상기 중증도를 분류하는 단계는,
기 구축된 복수의 의사결정트리에 상기 경계박스내에 포함된 출혈 병변의 픽셀 개수, 병리 증상의 분포도 및 병명 특성정보 확률 중에서 적어도 하나를 랜덤으로 적용하여 결과값을 산출하는 단계, 그리고
상기 복수의 의사결정트리로부터 각각 산출된 결과값을 이용하여 중증도의 등급을 분류하는 단계를 포함하는 당뇨성 망막 병증 검출 및 증증도 분류 방법.
In the diabetic retinopathy detection and severity classification method using a diabetic retinopathy detection and severity classification device,
Collecting fundus images of patients diagnosed with diabetic retinopathy,
learning a method of analyzing the pathological characteristics of diabetic retinopathy by inputting the collected fundus images into a Faster R-CNN based object recognition algorithm;
When a fundus image of a subject to be diagnosed is received, the fundus image of the subject is input into an object recognition algorithm based on a Faster R-CNN that has been learned, and the pathology of retinal hemorrhage, minor exudate and microvascular flow from the fundus image setting a bounding box in an area determined as a symptom, and detecting pathological symptom data corresponding to the set bounding box;
performing a pre-processing process on the pathology data, and
inputting the pre-processed pathological data into a random forest classifier, and analyzing the input pathological data to classify the severity of diabetic retinopathy into a plurality of grades,
The pathology data is
It includes an image for the bounding box, a coordinate value for the bounding box, the number of pixels included in the bounding box, a diabetic retinopathy type, and a probability value corresponding to the diabetic retinopathy type,
The step of classifying the severity is
Calculating a result value by randomly applying at least one of the pixel count of the bleeding lesion included in the bounding box, the distribution of pathological symptoms, and the disease name characteristic information probability to a plurality of pre-constructed decision trees, and
A method for detecting and classifying diabetic retinopathy, comprising the step of classifying a grade of severity using the result values calculated from the plurality of decision trees.
삭제delete 삭제delete 제8항에 있어서,
상기 전처리 과정을 수행하는 단계는,
상기 경계박스 내에 모든 픽셀값을 복수 레벨의 명암값을 가지는 회색조로 변환하는 단계,
상기 회색조로 변화된 픽셀을 역변환하는 단계,
상기 역변환된 픽셀에 히스토그램 평활화과정을 적용하여 명암 값의 분포를 균일하게 한 다음, 상기 명암값의 분포가 균일하게 된 픽셀을 이진화하여 출력하는 단계를 포함하는 당뇨성 망막 병증 검출 및 증증도 분류 방법.
9. The method of claim 8,
The step of performing the pre-processing is,
converting all pixel values in the bounding box into grayscale having multiple levels of intensity values;
Inversely transforming the pixel changed to the grayscale;
Method for detecting and classifying the severity of diabetic retinopathy, comprising applying a histogram smoothing process to the inversely transformed pixels to make the distribution of light and dark values uniform, and then binarizing and outputting the pixels with the uniform distribution of light and dark values .
제11항에 있어서,
상기 전처리 과정을 수행하는 단계는,
상기 경계박스를 기준으로 X,Y축의 좌표값을 도출하고, 도출된 좌표값을 통해 경계박스 내에 검출된 객체들 간의 거리값을 연산하고, 연산된 거리값의 합을 통해 병리증상 데이터의 분포도를 획득하는 단계를 더 포함하는 당뇨성 망막 병증 검출 및 증증도 분류 방법.
12. The method of claim 11,
The step of performing the pre-processing is,
The coordinate values of the X and Y axes are derived based on the bounding box, the distance values between objects detected in the bounding box are calculated through the derived coordinate values, and the distribution of pathological symptom data is obtained through the sum of the calculated distance values. Diabetic retinopathy detection and severity classification method further comprising the step of obtaining.
삭제delete
KR1020190089122A 2019-07-23 2019-07-23 Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof KR102313143B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190089122A KR102313143B1 (en) 2019-07-23 2019-07-23 Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190089122A KR102313143B1 (en) 2019-07-23 2019-07-23 Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof

Publications (2)

Publication Number Publication Date
KR20210012097A KR20210012097A (en) 2021-02-03
KR102313143B1 true KR102313143B1 (en) 2021-10-18

Family

ID=74571816

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190089122A KR102313143B1 (en) 2019-07-23 2019-07-23 Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof

Country Status (1)

Country Link
KR (1) KR102313143B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102321428B1 (en) * 2021-02-16 2021-11-05 메디컬아이피 주식회사 Lesion recognizing method and apparatus
KR102543937B1 (en) * 2021-03-18 2023-06-14 가톨릭대학교 산학협력단 Device and method for detecting of nonperfusion area in fluorescence angiography image based on deep learning model
KR20230001281A (en) * 2021-06-28 2023-01-04 서울대학교병원 System for triage of emergency patients and method thereof
KR102587830B1 (en) * 2021-07-22 2023-10-10 사회복지법인 삼성생명공익재단 The method and system for cataract diagnosis using deep learning
CN117292204A (en) * 2023-10-18 2023-12-26 深圳灵幻科技有限公司 Fundus retinopathy detection algorithm

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016107148A (en) 2014-01-21 2016-06-20 株式会社トプコン Ophthalmological image processor
JP2018027273A (en) 2016-08-19 2018-02-22 学校法人自治医科大学 Staging determination support system of diabetic retinopathy and method of supporting determination of staging of diabetic retinopathy

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140018748A (en) * 2012-08-03 2014-02-13 삼성전자주식회사 Apparatus and method for lesion analysis in medical images

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016107148A (en) 2014-01-21 2016-06-20 株式会社トプコン Ophthalmological image processor
JP2018027273A (en) 2016-08-19 2018-02-22 学校法人自治医科大学 Staging determination support system of diabetic retinopathy and method of supporting determination of staging of diabetic retinopathy

Also Published As

Publication number Publication date
KR20210012097A (en) 2021-02-03

Similar Documents

Publication Publication Date Title
KR102313143B1 (en) Diabetic retinopathy detection and severity classification apparatus Based on Deep Learning and method thereof
Marín et al. A new supervised method for blood vessel segmentation in retinal images by using gray-level and moment invariants-based features
Veena et al. A novel optic disc and optic cup segmentation technique to diagnose glaucoma using deep learning convolutional neural network over retinal fundus images
CN108416344B (en) Method for locating and identifying eyeground color optic disk and yellow spot
Ram et al. A successive clutter-rejection-based approach for early detection of diabetic retinopathy
KR20200005407A (en) Diagnostic auxiliary image providing device based on eye image
Raman et al. Proposed retinal abnormality detection and classification approach: Computer aided detection for diabetic retinopathy by machine learning approaches
Pathan et al. Automated segmentation and classifcation of retinal features for glaucoma diagnosis
Soomro et al. Contrast normalization steps for increased sensitivity of a retinal image segmentation method
Valizadeh et al. Presentation of a segmentation method for a diabetic retinopathy patient’s fundus region detection using a convolutional neural network
Waheed et al. Hybrid features and mediods classification based robust segmentation of blood vessels
Vij et al. A systematic review on diabetic retinopathy detection using deep learning techniques
Li et al. Vessel recognition of retinal fundus images based on fully convolutional network
Prabhakar et al. Automatic detection of diabetic retinopathy in retinal images: a study of recent advances
Rachapudi et al. Diabetic retinopathy detection by optimized deep learning model
Mankar et al. Automatic detection of diabetic retinopathy using morphological operation and machine learning
Naramala et al. Enhancing Diabetic Retinopathy Detection Through Machine Learning with Restricted Boltzmann Machines
US20230037424A1 (en) A system and method for classifying images of retina of eyes of subjects
Verma et al. Machine learning classifiers for detection of glaucoma
Ghan et al. Diabetic retinopathy classification using deep learning
Feroui et al. Efficient detection of micro-aneurysms in retinal images for early diagnosis of diabetic retinopathy
Sanjani et al. Blood Vessel Segmentation in Retinal Fundus Images
Anand et al. Optic disc analysis in retinal fundus using L 2 norm of contourlet subbands, superimposed edges, and morphological filling
Dikkala et al. Enhanced Model for Retinal Blood Vessel Segmentation from Fundus Images Using Wavelets
Akram et al. Diabetic Retinopathy Detection Techniques: A Review

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)