CN114898172A - Classification and modeling method of diabetic retinopathy based on multi-feature DAG network - Google Patents
Classification and modeling method of diabetic retinopathy based on multi-feature DAG network Download PDFInfo
- Publication number
- CN114898172A CN114898172A CN202210362909.6A CN202210362909A CN114898172A CN 114898172 A CN114898172 A CN 114898172A CN 202210362909 A CN202210362909 A CN 202210362909A CN 114898172 A CN114898172 A CN 114898172A
- Authority
- CN
- China
- Prior art keywords
- image
- feature
- retinal
- features
- layer
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 206010012689 Diabetic retinopathy Diseases 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000012549 training Methods 0.000 claims abstract description 23
- 230000002207 retinal effect Effects 0.000 claims abstract description 18
- 206010029113 Neovascularisation Diseases 0.000 claims abstract description 10
- 206010046996 Varicose vein Diseases 0.000 claims abstract description 6
- 230000003902 lesion Effects 0.000 claims abstract description 6
- 208000027185 varicose disease Diseases 0.000 claims abstract description 6
- 230000004256 retinal image Effects 0.000 claims description 14
- 208000037111 Retinal Hemorrhage Diseases 0.000 claims description 13
- 230000004927 fusion Effects 0.000 claims description 10
- 210000004204 blood vessel Anatomy 0.000 claims description 7
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 6
- 210000001525 retina Anatomy 0.000 claims description 6
- 208000017442 Retinal disease Diseases 0.000 claims description 4
- 206010038923 Retinopathy Diseases 0.000 claims description 4
- 230000004913 activation Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 4
- 230000001186 cumulative effect Effects 0.000 claims description 3
- 238000011176 pooling Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 210000001210 retinal vessel Anatomy 0.000 claims description 3
- 238000013145 classification model Methods 0.000 abstract description 3
- 230000002008 hemorrhagic effect Effects 0.000 abstract description 2
- 206010012601 diabetes mellitus Diseases 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000002062 proliferating effect Effects 0.000 description 2
- 206010018429 Glucose tolerance impaired Diseases 0.000 description 1
- 208000032843 Hemorrhage Diseases 0.000 description 1
- 208000009857 Microaneurysm Diseases 0.000 description 1
- 208000034698 Vitreous haemorrhage Diseases 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 210000000416 exudates and transudate Anatomy 0.000 description 1
- 208000030533 eye disease Diseases 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000011369 optimal treatment Methods 0.000 description 1
- 206010036067 polydipsia Diseases 0.000 description 1
- 238000004393 prognosis Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 208000024891 symptom Diseases 0.000 description 1
- 230000009885 systemic effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 210000002700 urine Anatomy 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B3/00—Apparatus for testing the eyes; Instruments for examining the eyes
- A61B3/10—Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
- A61B3/12—Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions for looking at the eye fundus, e.g. ophthalmoscopes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/253—Fusion techniques of extracted features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/254—Fusion techniques of classification results, e.g. of results related to same input data
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Cheminformatics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Ophthalmology & Optometry (AREA)
- Biophysics (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Image Analysis (AREA)
Abstract
本发明公开一种基于多特征DAG网络的糖尿病视网膜病变分类建模方法,首先使用不同方法提取了糖尿病视网膜病变的指标性特征,包括出血斑特征、眼底新生血管特征和视网膜血管曲张特征;其次构建了优化DAG网络并不断更改训练方案对网络进行训练,从而将提取的特征实现多特征融合并通过局部特征组成复杂局部或全局特征从而还原出对象;最后,由softmax分类器进行正常、病变分类。本发明使用DIARETDB1数据集和大连市第三人民医院数据对分类模型进行性能评估,结果表明对DIARETDB1数据集图像和医院数据,本发明分类准确率分别为98.7%和98.5%。
The invention discloses a method for classifying and modeling diabetic retinopathy based on a multi-feature DAG network. First, different methods are used to extract the index features of diabetic retinopathy, including hemorrhagic spot features, fundus neovascularization features and retinal varices features; In order to optimize the DAG network and constantly change the training scheme to train the network, the extracted features can be fused with multiple features, and the local features can be composed of complex local or global features to restore the object; finally, the normal and lesion classification is performed by the softmax classifier. The present invention uses the DIARETDB1 data set and the Dalian Third People's Hospital data to evaluate the performance of the classification model, and the results show that the classification accuracy rates of the present invention are 98.7% and 98.5% for the DIARETDB1 data set images and hospital data, respectively.
Description
技术领域technical field
本发明涉及医学图像处理领域,尤其是一种基于多特征DAG网络的糖尿病视网膜病变分类建模方法。The invention relates to the field of medical image processing, in particular to a method for classifying and modeling diabetic retinopathy based on a multi-feature DAG network.
背景技术Background technique
糖尿病视网膜病变是目前比较严重的一种致盲眼病。糖尿病视网膜病变分为Ⅵ期,前三期为非增殖期,后三期是增殖期。糖尿病患者除全身症状以多饮多食、尿糖以及血糖升高外,并有双眼视网膜出现点状出血、新生血管形成及发生血管曲张为主要特征的眼底改变,因此糖尿病视网膜各个时期的特征对于糖尿病诊断和估计预后具有重大意义。以往,眼科医生是根据糖尿病视网膜病变特征手动评估眼底图像以检测视网膜是否病变,但是由于部分患者处于糖尿病视网膜病变前期,特征不明显,故容易出现因评估不准确而错过最佳治疗时间的问题。所以需要一种快速且精准的糖尿病视网膜病变图像自动识别分类系统,将那些特征不明显的糖尿病视网膜病变图像也识别出来。Diabetic retinopathy is one of the most serious blinding eye diseases. Diabetic retinopathy is divided into stage VI, the first three stages are non-proliferative stages, and the last three stages are proliferative stages. In addition to systemic symptoms such as polydipsia, increased urine sugar and blood sugar, diabetic patients also have fundus changes that are mainly characterized by spot hemorrhage, neovascularization and varicose blood vessels in the retina of both eyes. Diagnosis of diabetes and estimation of prognosis are of great importance. In the past, ophthalmologists manually evaluated the fundus images based on the characteristics of diabetic retinopathy to detect whether the retina was diseased. However, because some patients are in the pre-diabetic retinopathy and the characteristics are not obvious, it is easy to miss the optimal treatment time due to inaccurate evaluation. Therefore, a fast and accurate automatic recognition and classification system for diabetic retinopathy images is needed, which can also identify those diabetic retinopathy images with inconspicuous features.
目前对于视网膜图像的分类已有采取提取特征的方式来实现,例如提取微动脉瘤特征、渗出物特征及玻璃体出血特征等,并没有针对糖尿病视网膜出血斑特征、眼底新生血管特征以及视网膜血管曲张特征进行提取。同时,现有研究只是进行一种或两种特征信息的提取,以至于在分类模型进行特征学习时不能细致全面的学习,导致分类准确率不高。At present, the classification of retinal images has been achieved by extracting features, such as extracting features of microaneurysm, exudate, and vitreous hemorrhage. feature extraction. At the same time, the existing research only extracts one or two kinds of feature information, so that the classification model cannot learn in detail and comprehensively, resulting in a low classification accuracy.
发明内容SUMMARY OF THE INVENTION
本发明是为了解决现有技术所存在的上述技术问题,提供一种基于多特征DAG网络的糖尿病视网膜病变分类建模方法。In order to solve the above-mentioned technical problems existing in the prior art, the present invention provides a method for classifying and modeling diabetic retinopathy based on a multi-feature DAG network.
本发明的技术解决方案是:一种基于多特征DAG网络的糖尿病视网膜病变分类建模方法,按照如下步骤进行:The technical solution of the present invention is: a method for classifying and modeling diabetic retinopathy based on a multi-feature DAG network, which is carried out according to the following steps:
步骤1:对训练集中每张视网膜图像进行预处理,获得特征图像训练集Step 1: Preprocess each retinal image in the training set to obtain a training set of feature images
步骤1.1获取视网膜出血斑特征图像Step 1.1 Obtain the characteristic image of retinal hemorrhage
提取视网膜图像RGB色彩模式中的绿色通道图像,将绿色通道图像灰度化并分成若干子块,统计每个子块的累计分布直方图,在直方图中设定有限阈值Tc:Extract the green channel image in the RGB color mode of the retina image, grayscale the green channel image and divide it into several sub-blocks, count the cumulative distribution histogram of each sub-block, and set a finite threshold T c in the histogram:
Tc=max(1,Td×h×w/S)T c =max(1,T d ×h×w/S)
式中,Td是迭代的自适应软阈值,S是图像总像素,h和w是图像的长和宽;where T d is the iterative adaptive soft threshold, S is the total pixels of the image, h and w are the length and width of the image;
将直方图中的灰度值与设定的有限阈值Tc进行对比,把直方图中超过有限阈值Tc的灰度值区域均匀地分布在直方图下面并保证直方图总面积不变,最后使用线性插值的方法优化处理,使视网膜出血斑特征突出,即获得获得视网膜出血斑特征图像;Compare the gray value in the histogram with the set finite threshold T c , and distribute the gray value area in the histogram that exceeds the finite threshold T c evenly under the histogram and ensure that the total area of the histogram remains unchanged. Use the method of linear interpolation to optimize the processing to make the retinal hemorrhage feature prominent, that is, to obtain the retinal hemorrhage feature image;
步骤2.2获取眼底新生血管特征图像Step 2.2 Obtain the characteristic image of fundus neovascularization
首先对视网膜图像中的每个像素点都用8个掩模Mq,q=1,2,...,7进行卷积求导数,每个掩模Mq对8个特定边缘方向作出最大响应,将最大响应的最大值G作为边缘幅度图像的输出:First, each pixel in the retinal image is convolved with 8 masks M q , q =1, 2, . Response, taking the maximum value G of the maximum response as the output of the edge magnitude image:
G=max{|M0|,|M1|,|M2|,|M3|,|M4|,|M5|,|M6|,|M7|}G = max{|M0 | ,|M1|,| M2 |,| M3 |,| M4 |,| M5 |,| M6 |,| M7 |}
最后根据自适应软阈值对图像进行二值化处理,使新生血管特征突出,即获得眼底新生血管特征图像;Finally, the image is binarized according to the adaptive soft threshold to make the features of new blood vessels stand out, that is, the feature image of fundus new blood vessels is obtained;
步骤3.3获取视网膜血管曲张特征图像Step 3.3 Obtain retinal varices feature images
将视网膜图像分成N个子块,迭代计算视网膜病变图像中视网膜血管的聚类中心Cv和对应的隶属度Dpv:Divide the retinal image into N sub-blocks, and iteratively calculate the clustering center C v of retinal blood vessels in the retinopathy image and the corresponding degree of membership D pv :
式中,N是总子块数,C是聚类的簇数,xp,p=1,2,....,N表示第p个子块,||*||表示任意距离的度量,m∈[1,∞)属于一个加权指数;Ck表示第k类的聚类中心;当隶属度满足以下迭代终止条件,停止迭代,计算出局部的最优值Jm,使视网膜血管曲张特征突出,获得视网膜血管曲张特征图像;In the formula, N is the total number of sub-blocks, C is the number of clusters of clusters, x p , p=1, 2,...., N represents the p-th sub-block, ||*|| represents the measure of any distance, m∈[1,∞) belongs to a weighting index; C k represents the cluster center of the k-th class; when the membership degree satisfies the following iteration termination conditions, the iteration is stopped, and the local optimal value J m is calculated to make the retinal varicose characteristics Prominent to obtain a characteristic image of retinal varicose vessels;
式中,l是迭代步数,ε是误差阈值;where l is the number of iteration steps, and ε is the error threshold;
步骤3.4将所获取的视网膜特征图像集合作为特征图像训练集;Step 3.4 uses the acquired retinal feature image set as the feature image training set;
步骤2:将特征图像训练集中的特征图像输入至DAG网络进行训练Step 2: Input the feature images in the feature image training set to the DAG network for training
步骤2.1建立优化的DAG网络,所述优化的DAG网络由一路主干、两路支干、add层、池化层avpool和全连接层Full connect构成,所述一路主干分为五组,每组均由卷积层Conv、归一化层BN和激活函数层relu构成,所述两路支干均为卷积层skipConv,一路主干与两路支干同时与add层链接;Step 2.1 Establish an optimized DAG network. The optimized DAG network consists of a trunk, two branches, an add layer, a pooling layer avpool, and a full connection layer Full connect. The trunk is divided into five groups, each of which is It consists of a convolutional layer Conv, a normalization layer BN and an activation function layer relu. The two branches are both convolutional layers skipConv, and one trunk and two branches are linked with the add layer at the same time;
步骤2.2将特征图像训练集的图像输入至优化的DAG网络,实现多特征融合与学习,输出多特征融合结果Fi add:Step 2.2 Input the image of the feature image training set to the optimized DAG network, realize multi-feature fusion and learning, and output the multi-feature fusion result F i add :
Fi add=(Xi+Yi+Zi)*K=Xi*K+Yi*K+Zi*KF i add =(X i +Y i +Z i )*K=X i *K+Y i *K+Z i *K
式中,K表示卷积层卷积核,*表示卷积,Xi表示视网膜出血斑特征,Yi表示眼底新生血管特征;Zi表示视网膜血管曲张特征;In the formula, K represents the convolution kernel of the convolution layer, * represents the convolution, X i represents the retinal hemorrhage spot feature, Y i represents the fundus neovascularization feature; Z i represents the retinal varicose feature;
步骤3:将多特征融合结果Fi add送到softmax分类器,按照下式计算属于正常或病变的预测概率,实现糖尿病视网膜病变和正常的有效分类;Step 3: Send the multi-feature fusion result F i add to the softmax classifier, and calculate the predicted probability of being normal or diseased according to the following formula, so as to achieve effective classification of diabetic retinopathy and normal;
式中,R为预测概率,i=1,2,...,M表示第i张图像,M为视网膜图像总数,e是一个参数;In the formula, R is the prediction probability, i=1,2,...,M represents the ith image, M is the total number of retinal images, and e is a parameter;
当Y∈(0,0.5)判断图像为正常,当Y∈[0.5,1)时判断图像为病变。When Y∈(0,0.5), the image is judged as normal, and when Y∈[0.5,1), the image is judged as lesion.
本发明首先使用不同方法提取了糖尿病视网膜病变的指标性特征,包括出血斑特征、眼底新生血管特征和视网膜血管曲张特征;其次构建了优化DAG网络并不断更改训练方案对网络进行训练,从而将提取的特征实现多特征融合并通过局部特征组成复杂局部或全局特征从而还原出对象;最后,由softmax分类器进行正常、病变分类。本发明使用DIARETDB1数据集和大连市第三人民医院数据对分类模型进行性能评估,结果表明对DIARETDB1数据集图像和医院数据,本发明分类准确率分别为98.7%和98.5%。The present invention first uses different methods to extract the index features of diabetic retinopathy, including hemorrhagic spot features, fundus neovascularization features and retinal varices features; secondly, an optimized DAG network is constructed and the training scheme is continuously changed to train the network, so that the extracted The features of the multi-feature fusion and complex local or global features are composed of local features to restore the object; finally, the normal and lesion classification is performed by the softmax classifier. The present invention uses the DIARETDB1 data set and the data of Dalian Third People's Hospital to evaluate the performance of the classification model, and the results show that the classification accuracy rates of the present invention are 98.7% and 98.5% for the DIARETDB1 data set images and hospital data, respectively.
附图说明Description of drawings
图1为本发明实施例视提取网膜出血斑特征结果图。FIG. 1 is a diagram showing the result of visual extraction of retinal hemorrhage spots according to an embodiment of the present invention.
图2为本发明实施例提取眼底新生血管特征结果图。FIG. 2 is a graph showing the result of extracting the characteristics of fundus neovascularization according to an embodiment of the present invention.
图3为本发明实施例提取视网膜血管曲张特征结果图。FIG. 3 is a diagram showing a result of extracting retinal varices features according to an embodiment of the present invention.
图4为本发明实施例优化的DAG网络结构图。FIG. 4 is a structural diagram of a DAG network optimized according to an embodiment of the present invention.
图5为本发明实施例的整体流程图。FIG. 5 is an overall flow chart of an embodiment of the present invention.
具体实施方式Detailed ways
本发明的一种基于多特征DAG网络的糖尿病视网膜病变分类建模方法,如图5所示,按照如下步骤进行:A method for classifying and modeling diabetic retinopathy based on a multi-feature DAG network of the present invention, as shown in Figure 5, is performed according to the following steps:
步骤1:取DIARETDB1数据集和大连市第三人民医院数据集(简称医院数据),分为训练集及测试集,对训练集中每张糖尿病视网膜图像进行预处理,获得特征图像训练集Step 1: Take the DIARETDB1 data set and the Dalian Third People's Hospital data set (hospital data for short), divide them into training set and test set, and preprocess each diabetic retina image in the training set to obtain a characteristic image training set
步骤1.1获取视网膜出血斑特征图像Step 1.1 Obtain the characteristic image of retinal hemorrhage
提取视网膜图像RGB色彩模式中的绿色通道图像,将绿色通道图像灰度化并分成若干子块,统计每个子块的累计分布直方图,在直方图中设定有限阈值Tc:Extract the green channel image in the RGB color mode of the retina image, grayscale the green channel image and divide it into several sub-blocks, count the cumulative distribution histogram of each sub-block, and set a finite threshold T c in the histogram:
Tc=max(1,Td×h×w/S)T c =max(1,T d ×h×w/S)
式中,Td是迭代的自适应软阈值,S是图像总像素,h和w是图像的长和宽;where T d is the iterative adaptive soft threshold, S is the total pixels of the image, h and w are the length and width of the image;
将直方图中的灰度值与设定的有限阈值Tc进行对比,把直方图中超过有限阈值Tc的灰度值区域均匀地分布在直方图下面并保证直方图总面积不变,最后使用线性插值的方法优化处理每个子块过渡问题,使视网膜出血斑特征突出,即获得获得视网膜出血斑特征图像,如图1所示;Compare the gray value in the histogram with the set finite threshold T c , and distribute the gray value area in the histogram that exceeds the finite threshold T c evenly under the histogram and ensure that the total area of the histogram remains unchanged. The linear interpolation method is used to optimize the transition of each sub-block to make the retinal hemorrhage feature prominent, that is, to obtain the retinal hemorrhage feature image, as shown in Figure 1;
步骤2.2获取眼底新生血管特征图像Step 2.2 Obtain the characteristic image of fundus neovascularization
首先对视网膜图像中的每个像素点都用8个掩模Mq,q=1,2,...,7进行卷积求导数,每个掩模Mq对8个特定边缘方向作出最大响应,将最大响应的最大值G作为边缘幅度图像的输出:First, each pixel in the retinal image is convolved with 8 masks M q , q =1, 2, . Response, taking the maximum value G of the maximum response as the output of the edge magnitude image:
G=max{|M0|,|M1|,|M2|,|M3|,|M4|,|M5|,|M6|,|M7|}G = max{|M0 | ,|M1|,| M2 |,| M3 |,| M4 |,| M5 |,| M6 |,| M7 |}
最后根据自适应软阈值对图像进行二值化处理,使新生血管特征突出,即获得眼底新生血管特征图像,如图2所示;Finally, the image is binarized according to the adaptive soft threshold to make the features of new blood vessels stand out, that is, the feature image of fundus new blood vessels is obtained, as shown in Figure 2;
步骤3.3获取视网膜血管曲张特征图像Step 3.3 Obtain retinal varices feature images
将视网膜图像分成N个子块,迭代计算视网膜病变图像中视网膜血管的聚类中心Cv和对应的隶属度Dpv:Divide the retinal image into N sub-blocks, and iteratively calculate the clustering center C v of retinal blood vessels in the retinopathy image and the corresponding degree of membership D pv :
式中,N是总子块数,C是聚类的簇数,xp,p=1,2,....,N表示第p个子块,||*表示任意距离的度量,m∈[1,∞)属于一个加权指数;Ck表示第k类的聚类中心;当隶属度满足以下迭代终止条件,停止迭代,计算出局部的最优值Jm,使视网膜血管曲张特征突出,获得视网膜血管曲张特征图像,如图3所示;In the formula, N is the total number of sub-blocks, C is the number of clusters of clusters, x p , p=1, 2,...., N represents the p-th sub-block, ||* represents the metric of any distance, m∈ [1,∞) belongs to a weighting index; C k represents the cluster center of the kth class; when the membership degree satisfies the following iteration termination conditions, the iteration is stopped, and the local optimal value J m is calculated to make the retinal varicose feature prominent, Obtain a characteristic image of retinal varicose vessels, as shown in Figure 3;
式中,l是迭代步数,ε是误差阈值;where l is the number of iteration steps, and ε is the error threshold;
步骤3.4将所获取的视网膜特征图像集合作为特征图像训练集;Step 3.4 uses the acquired retinal feature image set as the feature image training set;
步骤2:将特征图像训练集中的特征图像输入至DAG网络进行训练Step 2: Input the feature images in the feature image training set to the DAG network for training
步骤2.1建立优化的DAG网络,所述优化的DAG网络如图4所示由一路主干、两路支干、add层、池化层avpool和全连接层Full connect(fc)构成,所述一路主干分为五组,每组均由卷积层Conv、归一化层BN和激活函数层relu构成,五组则分别为卷积层Conv1-5、归一化层BN1-5和激活函数层relu1-5构成,所述两路支干分别为卷积层skipConv-1、skipConv-2,一路主干与两路支干同时与add层链接;Step 2.1 Establish an optimized DAG network. As shown in Figure 4, the optimized DAG network consists of a trunk, two branches, an add layer, a pooling layer avpool and a fully connected layer Full connect (fc). Divided into five groups, each group is composed of convolution layer Conv, normalization layer BN and activation function layer relu, the five groups are convolution layer Conv1-5, normalization layer BN1-5 and activation function layer relu1 -5 composition, the two branches are convolutional layers skipConv-1 and skipConv-2 respectively, and one trunk and two branches are connected to the add layer at the same time;
步骤2.2将特征图像训练集的图像输入至DAG网络,实现多特征融合与学习,输出多特征融合结果Fi add:Step 2.2 Input the image of the feature image training set to the DAG network, realize multi-feature fusion and learning, and output the multi-feature fusion result F i add :
Fi add=(Xi+Yi+Zi)*K=Xi*K+Yi*K+Zi*KF i add =(X i +Y i +Z i )*K=X i *K+Y i *K+Z i *K
式中,K表示卷积层卷积核,*表示卷积,Xi表示视网膜出血斑特征,Yi表示眼底新生血管特征;Zi表示视网膜血管曲张特征;In the formula, K represents the convolution kernel of the convolution layer, * represents the convolution, X i represents the retinal hemorrhage spot feature, Y i represents the fundus neovascularization feature; Z i represents the retinal varicose feature;
训练参数及训练参数值如表1。The training parameters and training parameter values are shown in Table 1.
表1Table 1
步骤3:将多特征融合结果Fi add送到softmax分类器,按照下式计算属于正常或病变的预测概率,实现糖尿病视网膜病变和正常的有效分类;Step 3: Send the multi-feature fusion result F i add to the softmax classifier, and calculate the predicted probability of being normal or diseased according to the following formula, so as to achieve effective classification of diabetic retinopathy and normal;
式中,R为预测概率,i=1,2,...,M表示第i张图像,M为糖尿病视网膜图像总数,e是一个参数;In the formula, R is the prediction probability, i=1,2,...,M represents the i-th image, M is the total number of diabetic retinal images, and e is a parameter;
当Y∈(0,0.5)判断图像为正常,当Y∈[0.5,1)时判断图像为病变。When Y∈(0,0.5), the image is judged as normal, and when Y∈[0.5,1), the image is judged as lesion.
实验:experiment:
将DIARETDB1数据集和大连市第三人民医院数据集(简称医院数据集)中的测试集图像输入至本发明实施例建立的模型中,模型对数据集的视网膜图像进行识别并分类成正常眼底图像和病变眼底图像两大类。针对视网膜图像二分类问题,其评价指标是数据测试集图像进入模型后得到的分类准确率(Accurary)、精确率(Precision)、召回率(Recall)、特异度(Specificity)和F1-score来共同评估模型的性能,使模型更加稳定和可靠。相关公式如下:Input the test set images in the DIARETDB1 data set and the Dalian Third People's Hospital data set (referred to as the hospital data set) into the model established by the embodiment of the present invention, and the model identifies and classifies the retinal images of the data set into normal fundus images. and lesion fundus images. For the retinal image binary classification problem, the evaluation indicators are the classification accuracy (Accurary), precision (Precision), recall (Recall), specificity (Specificity) and F1-score obtained after the data test set image enters the model. Evaluate the performance of the model to make the model more stable and reliable. The relevant formula is as follows:
式中,TP表示正确分类的正样本的数量;TN表示正确分类的负样本的数量;FP表示负样本中错误标记为正样本的数量;FN表示正样本中错误标记为负样本的数量。where TP represents the number of correctly classified positive samples; TN represents the number of correctly classified negative samples; FP represents the number of falsely labeled positive samples among negative samples; FN represents the number of falsely labeled negative samples among positive samples.
为了证明提取特征的重要性,本发明使用医院数据分别进行了不提取特征以及只提取其中的一种或两种特征的自身算法进行实验结果对比。对比结果如表2所示。In order to prove the importance of extracting features, the present invention uses hospital data to compare experimental results with its own algorithms that do not extract features and only extract one or two of the features. The comparison results are shown in Table 2.
表2Table 2
同时,为了验证本发明的模型的性能,选择使用同一数据集DIARETDB1在传统模型和本发明的模型进行性能对比,对比结果如表3所示。At the same time, in order to verify the performance of the model of the present invention, the same data set DIARETDB1 was selected to compare the performance of the traditional model and the model of the present invention, and the comparison results are shown in Table 3.
表3table 3
注:‘--’代表缺值。Note: '--' means missing value.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210362909.6A CN114898172B (en) | 2022-04-08 | 2022-04-08 | Diabetic retinopathy classification modeling method based on multi-feature DAG network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210362909.6A CN114898172B (en) | 2022-04-08 | 2022-04-08 | Diabetic retinopathy classification modeling method based on multi-feature DAG network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114898172A true CN114898172A (en) | 2022-08-12 |
CN114898172B CN114898172B (en) | 2024-04-02 |
Family
ID=82715928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210362909.6A Active CN114898172B (en) | 2022-04-08 | 2022-04-08 | Diabetic retinopathy classification modeling method based on multi-feature DAG network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114898172B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116864109A (en) * | 2023-07-13 | 2023-10-10 | 中世康恺科技有限公司 | Medical image artificial intelligence auxiliary diagnosis system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021916A (en) * | 2017-12-31 | 2018-05-11 | 南京航空航天大学 | Deep learning diabetic retinopathy sorting technique based on notice mechanism |
CN110210570A (en) * | 2019-06-10 | 2019-09-06 | 上海延华大数据科技有限公司 | The more classification methods of diabetic retinopathy image based on deep learning |
WO2019196268A1 (en) * | 2018-04-13 | 2019-10-17 | 博众精工科技股份有限公司 | Diabetic retina image classification method and system based on deep learning |
-
2022
- 2022-04-08 CN CN202210362909.6A patent/CN114898172B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021916A (en) * | 2017-12-31 | 2018-05-11 | 南京航空航天大学 | Deep learning diabetic retinopathy sorting technique based on notice mechanism |
WO2019196268A1 (en) * | 2018-04-13 | 2019-10-17 | 博众精工科技股份有限公司 | Diabetic retina image classification method and system based on deep learning |
CN110210570A (en) * | 2019-06-10 | 2019-09-06 | 上海延华大数据科技有限公司 | The more classification methods of diabetic retinopathy image based on deep learning |
Non-Patent Citations (1)
Title |
---|
李琼;柏正尧;刘莹芳;: "糖尿病性视网膜图像的深度学习分类方法", 中国图象图形学报, no. 10, 31 October 2018 (2018-10-31), pages 1594 - 1603 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116864109A (en) * | 2023-07-13 | 2023-10-10 | 中世康恺科技有限公司 | Medical image artificial intelligence auxiliary diagnosis system |
Also Published As
Publication number | Publication date |
---|---|
CN114898172B (en) | 2024-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108615051B (en) | Diabetic retina image classification method and system based on deep learning | |
CN108305249B (en) | Rapid diagnosis and scoring of full-scale pathological slices based on deep learning | |
Tian et al. | Multi-path convolutional neural network in fundus segmentation of blood vessels | |
CN109325942B (en) | Fundus image structure segmentation method based on full convolution neural network | |
JP2021531098A (en) | Systems and methods for determining eye condition using AI | |
CN108898140A (en) | Brain tumor image segmentation algorithm based on improved full convolutional neural networks | |
CN112132817A (en) | A Hybrid Attention Mechanism for Retinal Vessel Segmentation in Fundus Images | |
WO2020211530A1 (en) | Model training method and apparatus for detection on fundus image, method and apparatus for detection on fundus image, computer device, and medium | |
CN112419248B (en) | Ear sclerosis focus detection and diagnosis system based on small target detection neural network | |
CN114549469A (en) | Deep neural network medical image diagnosis method based on confidence degree calibration | |
CN109949302A (en) | Pixel-based segmentation method of retinal feature structure | |
CN108542386A (en) | A kind of sleep state detection method and system based on single channel EEG signal | |
CN110021022A (en) | A kind of thyroid gland nuclear medical image diagnostic method based on deep learning | |
CN108109159A (en) | It is a kind of to increase the retinal vessel segmenting system being combined based on hessian matrixes and region | |
Fang et al. | Diabetic retinopathy classification using a novel DAG network based on multi-feature of fundus images | |
CN114565620A (en) | A method for blood vessel segmentation in fundus images based on skeleton prior and contrast loss | |
CN112768065B (en) | Facial paralysis grading diagnosis method and device based on artificial intelligence | |
CN115661066A (en) | Diabetic retinopathy detection method based on segmentation and classification fusion | |
CN116843984A (en) | GLTransNet: a mammography image classification and detection method that integrates global features | |
CN114898172B (en) | Diabetic retinopathy classification modeling method based on multi-feature DAG network | |
Rasheed et al. | DDLSNet: a novel deep learning-based system for grading funduscopic images for glaucomatous damage | |
Vasudeva et al. | Classifying skin cancer and acne using CNN | |
Sharma et al. | Automatic glaucoma diagnosis in digital fundus images using deep CNNs | |
CN111932540A (en) | CT image contrast characteristic learning method for clinical typing of new coronary pneumonia | |
Helen et al. | EYENET: An Eye Disease Detection System using Convolutional Neural Network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |