CN109472781B - Diabetic retinopathy detection system based on serial structure segmentation - Google Patents

Diabetic retinopathy detection system based on serial structure segmentation Download PDF

Info

Publication number
CN109472781B
CN109472781B CN201811275005.XA CN201811275005A CN109472781B CN 109472781 B CN109472781 B CN 109472781B CN 201811275005 A CN201811275005 A CN 201811275005A CN 109472781 B CN109472781 B CN 109472781B
Authority
CN
China
Prior art keywords
image
segmentation
fundus
function module
clahe
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.)
Active
Application number
CN201811275005.XA
Other languages
Chinese (zh)
Other versions
CN109472781A (en
Inventor
袁国慧
王慧
赵学功
周宇
王卓然
曲超
彭真明
何艳敏
蒲恬
范文澜
贺晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201811275005.XA priority Critical patent/CN109472781B/en
Publication of CN109472781A publication Critical patent/CN109472781A/en
Application granted granted Critical
Publication of CN109472781B publication Critical patent/CN109472781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/155Segmentation; Edge detection involving morphological operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • 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/20024Filtering details
    • G06T2207/20032Median filtering
    • 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/30041Eye; Retina; Ophthalmic
    • 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/30101Blood vessel; Artery; Vein; Vascular

Abstract

The invention discloses a diabetic retinopathy detection system based on serial structure segmentation, which comprises: the collection obtains the fundus image acquisition device of retina fundus image and the data processing device of the fundus image of analysis processing collection, and data processing device includes: the system comprises a preprocessing function module, a blood vessel segmentation function module, a optic disc segmentation function module, a fovea centralis determination function module, an exudation segmentation function module, a statistical calculation function module and a doctor diagnosis function module, wherein the exudation region is counted, the probability of diabetic macular edema lesion existing in an input eye fundus image is calculated, and finally, a final diagnosis and treatment scheme is given by combining the statistical calculation result and the eye fundus doctor by referring to the segmented exudation region and the diseased probability and combining self specialty. The invention systematically considers various related physiological structures of the eyeground, divides the pathological change area and gives a diagnosis report by an eyeground doctor, has high detection efficiency and more accurate pathological change detection, can greatly reduce the workload of the doctor and improve the working efficiency.

Description

Diabetic retinopathy detection system based on serial structure segmentation
Technical Field
The invention belongs to the field of machine vision and medical image computer processing, and particularly relates to a diabetic retinopathy detection system based on serial structure segmentation.
Background
Diabetic retinopathy is one of the four major blinding diseases worldwide. The International Diabetes Federation (IDF) in 2017 published an eighth version of the global diabetes map, which, based on IDF data, shows that adult patients with global diabetes have reached 4.25 billion, and are predicted to reach 6.29 billion by 2045. China is the country with the most diabetes patients worldwide, and the number of patients and the incidence of diseases are obviously increased in recent years. Of the population, 35% of the diabetic population suffer from diabetic retinopathy. According to the different clinical pathological features, the diabetic retinopathy (sugar network) is mainly divided into two categories, namely non-proliferative retinopathy (NPDR) and proliferative retinopathy (PDR). In the non-proliferative stage of retinopathy, Diabetic Macular Edema (DME), which is the first cause of vision loss, may occur.
DME can be classified into three classes depending on the presence or absence of hard bleed and the location of presence. A first stage: there was no macular edema lesion, hard exudation did not occur, there was no thickening of the retina, and there were no obvious symptoms in the patient, so the lesion was hard to be found. And a second stage: there was no significant clinical macular edema pathology, when there was a hard exudation or thickening of the retina, but the exudation was more than 500um from the fovea. And a third stage: the clinical macular edema lesion is remarkable, the retina is thickened at the moment, the hard exudation is close to the fovea region, the distance is less than 500 mu m, the vision of a patient is seriously affected, and the treatment should be immediately adopted. The eye examination by shooting the eye fundus retina picture can discover the pathological changes as early as possible, start the treatment in time and effectively avoid the deterioration of the disease. Therefore, early detection, diagnosis and treatment of diabetic macular edema lesion are of great significance to prevent blindness. However, at present, early detection of diabetic macular edema disease still relies on manual analysis, requiring a large number of highly skilled professional fundus physicians to process and view the captured retinal fundus pictures. These professionals rely on human vision to interpret fundus images for lesion diagnosis, often with some problems. For example: misdiagnosis may occur due to the subjective understanding and lack of experience of the doctor, and early lesions are difficult to detect visually; the large number of fundus photographs requires a large expenditure of human resources and inexperienced ophthalmologists in urban and rural areas, so an automated computer processing system is needed to assist ophthalmologists in performing the analysis of these photographs. The retina image is shot by the fundus camera, the related structures of the fundus and the reference probability of pathological changes are divided by the technology of machine vision and the like, the fundus is referred and further observed by a fundus doctor, and the pathological change grade is finally given by the fundus doctor, so that the workload of the doctor is reduced, the misdiagnosis rate of the doctor is reduced, and the working efficiency of the doctor is improved.
However, the use of image processing techniques to detect DME lesions is still in a stage of development. Philips et al achieve hard bleed segmentation by global and local thresholds; walter and Sopharak dissected the exudation using mathematical morphology. Osareh et al achieve accurate segmentation of exudation through fuzzy C-means clustering and neural networks. In addition, multi-layer perceptrons, radial basis functions, support vector machines, and the like are also used to implement exudation detection. Kumar et al propose a bit plane-based method to realize the detection of diabetic macular edema; sekhar et al first segment the lesion area by contrast enhancement and threshold segmentation, then extract and classify the features of the lesion area by a classifier based on a Gaussian mixture model, and give the prevalence probability of diabetic macular edema lesion in the image processing level. Meanwhile, other methods such as KNN, naive Bayes, deep learning and the like are also used in the detection system of the diabetic macular edema lesion. However, the prior art is directed to single target to perform individual detection, such as exudative lesion segmentation, optic disc segmentation, macular segmentation, etc., and the relationship between the two is rarely considered; the system of the invention fully considers the positions, characteristics and the like of the structures and the pathological changes in the fundus image, adopts a serial structure to sequentially segment, and finally obtains the structures and the pathological change areas which can assist doctors to observe better.
Disclosure of Invention
The invention aims to: the problem that the relation between the current detection system and other structures such as optic discs, yellow spots, blood vessels and the like, such as positions, characteristics and the like in fundus images, and accurate and efficient detection of the data of the diabetic retinopathy region cannot be easily realized due to the fact that the current detection system for detecting the diabetic macular edema lesion only detects hard exudation singly is solved, and the diabetic retinopathy detection system based on serial structure segmentation is provided to realize systematic and comprehensive diabetic retinopathy detection.
The technical scheme adopted by the invention is as follows:
a serial structure segmentation based diabetic retinopathy detection system, the system comprising:
fundus image acquisition device: the device is used for acquiring and acquiring a fundus image of the retina;
a data processing device: the data processing device is used for analyzing and processing the acquired fundus images to obtain lesion region data and lesion probability, and comprises:
a preprocessing function module: preprocessing the acquired fundus image;
a blood vessel segmentation functional module: performing blood vessel segmentation based on morphology on the preprocessed fundus image;
the optic disc segmentation function module: performing optic disc segmentation on the preprocessed fundus image by combining the processing result of the blood vessel segmentation functional module;
foveal determination function: determining the fovea of the preprocessed image by combining the processing result of the optic disc segmentation functional module;
and a seepage segmentation functional module: combining the processing result of the optic disc segmentation functional module, performing exudation segmentation on the preprocessed image to obtain an exudation area;
a statistical calculation functional module: and combining the processing results of the fovea centralis determination function module and the exudation segmentation function module, counting exudation areas and calculating the probability of the diabetic macular edema lesion existing in the input fundus image.
Further, the data processing device further comprises a doctor diagnosis function module: and (4) combining the processing result of the statistical calculation functional module, and giving a final diagnosis and treatment scheme by referring to the segmented exudation area and the disease probability by the fundus doctor and combining the specialty of the fundus doctor.
Further, the preprocessing operation steps of the preprocessing function module are specifically:
step 1.1, RGB three-channel extraction is carried out on the input fundus image G, median filtering processing is carried out on each channel, and then three channels are synthesized into a single color image Gnew
Step 1.2, for GnewContrast-limited adaptive histogram equalization is performed to enhance image contrast, and fundus enhanced image G is obtainedclahe
Further, the blood vessel segmentation operation steps of the blood vessel segmentation functional module are specifically as follows:
step 2.1, firstly extracting a fundus enhanced image G obtained by preprocessing the fundus image by the preprocessing moduleclaheFiltering the image by using median filtering to obtain a background estimation image GbackgroundAnd estimating an image G of the background by using a disc structural element with a certain radiusbackgroundRespectively carrying out top cap and bottom cap operations to obtain GtopAnd Gblack
Step 2.2, G in the step 2.1topAnd GblackAdding the weighted image to the original image G and subtracting the background estimation image GbackgroundAnd performing threshold segmentation to obtain a blood vessel binary estimation map GBL
Step 2.3, extracting the blood vessel binary estimation map G in the step 2.2BLThe connected region with the middle connected region larger than a certain area is obtained to obtain a fundus blood vessel binary image G corresponding to the fundus imageBV
Further, the optic disc segmentation operation steps of the optic disc segmentation functional module are specifically as follows:
step 3.1, fundus enhancement image G after the pretreatment of fundus imageclaheA two-channel threshold value division is carried out,obtaining a binary image GRG
Step 3.2, comparing the binary image G in the step 3.1RGAnalyzing the connected domains, extracting the minimum rectangular frame of each connected domain, and expanding the minimum rectangular frame in the left and right directions to obtain an image G after the connected domains are expandedexpand
Step 3.3, counting the image G after the connected domain expansion in the step 3.2expandThe number of pixels on two sides of the vertical center line of the image in (1);
step 3.4, selecting corresponding Toeplitz matrix templates based on the number of pixels on two sides of the vertical center line of the fundus image in the step 3.3, and selecting a right Toeplitz matrix template Mask when more than half of the counted pixels are positioned on the right side of the image, as shown in the formula (1):
Figure BDA0001845946280000041
otherwise, selecting a left Toeplitz matrix template Mask as shown in the formula (2):
Figure BDA0001845946280000042
and 3.5, performing AND operation on the fundus blood vessel image segmented in the blood vessel segmentation functional module and the expanded connected region in the step 3.2 to obtain a blood vessel image G of the candidate regioncandidate
Gcandidate=GBV∩Gexp and (3)
Step 3.6, blood vessel image G of candidate regioncandidateFiltering to obtain filtered image GfilterThe formula is as follows:
Figure BDA0001845946280000043
step 3.7, determine filtered image GfilterThe pixel with the highest middle gray scale value is the coordinate of the fundus optic disc positioning position;
step 3.8, with the optic disc positioning position coordinate as the center, framing a rectangular area with a certain size in the input fundus image G as the optic disc candidate area GOD
Step 3.9, extracting R channel of the video candidate area in step 3.8, and recording as image G'R
Step 3.10, carrying out alternate expansion corrosion operation by using the structure elements with the increasing radiuses to remove blood vessels in the candidate region of the video disc, firstly selecting a disc structure element B with a certain radius, and carrying out image G'RCarrying out alternate expansion corrosion operation:
σ(B)=δ(B)(B)(G′R)) (5)
wherein, delta(B)The expansion operation is carried out by taking B as a structural element; epsilon(B)Representing that B is used as a structural element for corrosion operation;
step 3.11, increasing the radius of the disc structure element B to obtain a new disc structure element B', and performing alternate expansion corrosion operation on the image processed in the step 3.10 again:
σ(B)=δ(B′)(B′)(B))) (6)
and 3.12, continuously increasing the radius of the disc structural element B 'to obtain a new disc structural element B', and performing the alternate dilation corrosion operation on the image processed in the step 3.11 again to remove blood vessels in the candidate region of the optic disc:
σ(B″)=δ(B″)(B″)(B′))) (7)
step 3.13, performing threshold segmentation on the optic disc candidate region with blood vessels removed by adopting the maximum inter-class variance method to obtain a binary image GOtsuAnd extracting the binary image G by using a Canny operatorOtsuTo obtain an edge image Gedge
Step 3.14, extracting edge image GedgePerforming least square ellipse fitting on the contour coordinates;
and 3.15, drawing the elliptic equation curve in the step 3.14 in the fundus image G, namely the optic disc elliptic ROI area.
Further, the least squares ellipse fitting in step 3.14 specifically comprises the following steps:
assuming the ellipse equation is: ax2+bxy+cy2+ dx + ey 1, the optimization problem of least squares ellipse fitting can be expressed as:
min||Dα||2
s.t.αTCα=1 (8)
wherein α ═ a, b, c, d, e ]; d represents a contour coordinate information set, the dimension is n multiplied by 6, and n is the number of contour pixels; matrix C is as follows:
Figure BDA0001845946280000051
further, the foveal determination operation step of the foveal determination function module specifically includes:
step 4.1.1, obtaining the macula lutea ROI area G by using the optic disc position and the optic disc size obtained by the optic disc segmentation functional modulem-ROI
Step 4.1.2: extraction of the macular ROI region G in step 4.1.1m-ROIGreen channel G ofm-GAnd is subjected to adaptive contrast enhancement to obtain G'm-G(ii) enhanced image G'm-GAnd Gm-ROIPerforming subtraction to obtain a decorrelated image Gm-decor
Step 4.1.3: for the decorrelated image G obtained in step 4.1.2m-decorPerforming adaptive threshold segmentation to obtain Gm-otsuThen performing a morphological etching operation to obtain Gm-erodeThen take Gm-erodeThe region of the largest connected domain area in (A) is the central concave ROIGfovea-ROI
Step 4.1.4: calculating the foveal ROIGfovea-ROICenter of mass (x)fovea,yfovea) It is approximated as a foveal position.
Further, the exudation segmentation operation steps of the exudation segmentation function module are specifically as follows:
step 4.2.1: function module to be preprocessedFundus enhanced image G obtained by preprocessing fundus imageclaheCarrying out mean value filtering to obtain a background estimation image Gclahe-meanAnd performing morphological reconstruction to obtain Gmorp
Step 4.2.2: the morphological reconstruction graph G obtained in the step 4.2.1morpAnd background estimation map Gclahe-meanDifferencing to obtain a normalized image Gex-normAnd obtaining a bleeding candidate region I by using an adaptive threshold: gex-cand1
Step 4.2.3: the fundus enhanced image G obtained by preprocessing the fundus image by the preprocessing function moduleclaheCalculating local variance to obtain boundary graph G of bright areaclahe-stdFor the boundary graph Gclahe-stdPerforming an opening operation and performing threshold segmentation to obtain Gstd-otsu
Step 4.2.4: for G in step 4.2.3std-otsuSequentially performing expansion operation, closing operation and hole filling to obtain a seepage candidate area II: gex-cand2
Step 4.2.5: g in step 4.2.2ex-cand1And the oozing candidate region G in step 4.2.4ex-cand2Get a logical OR operation to get Gcand-orG iscand-orAnd fundus enhanced image GclaheMorphological reconstruction to obtain Gclahe-or
Step 4.2.6: using the disc area G obtained in step 3.8ODDelete Gclahe-orIn the candidate region in the region, the final exudation candidate region G is obtainedex-cand
Further, the operation steps of the statistical computation function module are specifically:
step 5.1: to obtain a foveated pixel (x)fovea,yfovea) As the circle center, different radiuses are given by the eyeground doctor according to the corresponding standard self-definition, and concentric circles are divided, wherein 3 radiuses are taken as examples and are marked as R from inside to outside in sequence1、R2、R3
Step 5.2: note R1And R2The ring in between is C1,R2And R3The ring in between is C2Counting the oozing region G obtained by oozing the segmentation function moduleex-candAt R1、C1、C2The number of pixels in the input retinal fundus image, thereby calculating the probability of diabetic macular edema lesion of the input retinal fundus image.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
in the invention, a retina fundus image is collected by a fundus image collecting device and is input into a data processing module; performing blood vessel segmentation and exudation segmentation on an input image; carrying out template filtering on the blood vessel segmentation graph to obtain the optic disc position, and segmenting the optic disc by ellipse fitting; determining a macular region of interest (ROI) according to prior physiological information between a optic disc and macula lutea, calculating the coordinate of a fovea centralis of the macula lutea, dividing concentric circles with different radiuses by taking the fovea centralis as a center, counting the number of exudations in each region and giving out the probability of diabetic macular edema Disease (DME), fully considering the structures of retinal exudation lesion, optic disc, macula lutea and the like and the position, characteristics and the like of lesions in fundus images, accurately dividing the fundus related structure and lesion region by combining the structures in multiple aspects, simultaneously counting the lesion region area and lesion probability, giving quantitative value reference to a certain extent, detecting high efficiency and detecting lesions more accurately, thereby providing an effective and reliable auxiliary means for doctors in practical clinical application, and reducing misdiagnosis rate by the doctor by referring to the value and then deciding the final lesion level through the system, and greatly reduces the workload of doctors and improves the working efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic flow chart of a serial segmentation-based diabetic retinopathy detection system according to the present invention;
FIG. 2 is a diagram of an input image and a vessel segmentation result according to the present invention;
FIG. 3 is a disc segmentation result chart and a macular segmentation result chart according to the present invention;
FIG. 4 is a graph of the oozing segmentation result and a concentric circle segment according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
A serial structure segmentation based diabetic retinopathy detection system, the system comprising:
fundus image acquisition device: the device is used for acquiring and acquiring a fundus image of the retina;
a data processing device: the data processing device is used for analyzing and processing the acquired fundus images to obtain lesion region data and lesion probability, and comprises:
a preprocessing function module: preprocessing the acquired fundus image;
a blood vessel segmentation functional module: performing blood vessel segmentation based on morphology on the preprocessed fundus image;
the optic disc segmentation function module: and (3) performing optic disc segmentation on the preprocessed fundus image by combining the processing result of the blood vessel segmentation functional module:
foveal determination function: determining the fovea of the preprocessed image by combining the processing result of the optic disc segmentation functional module;
and a seepage segmentation functional module: combining the processing result of the optic disc segmentation functional module, performing exudation segmentation on the preprocessed image to obtain an exudation area;
a statistical calculation functional module: and combining the processing results of the fovea centralis determination function module and the exudation segmentation function module, counting exudation areas and calculating the probability of the diabetic macular edema lesion existing in the input fundus image.
Further, the data processing device further comprises a doctor diagnosis function module: and (4) combining the processing result of the statistical calculation functional module, and giving a final diagnosis and treatment scheme by referring to the segmented exudation area and the disease probability by the fundus doctor and combining the specialty of the fundus doctor.
The fundus image acquisition device can adopt various fundus cameras or other photographing devices capable of acquiring fundus images to acquire the fundus images, and the data processing device is realized by adopting a computer or a cloud server.
Further, the preprocessing operation steps of the preprocessing function module are specifically:
step 1.1, RGB three-channel extraction is carried out on the input fundus image G, median filtering processing is carried out on each channel, and then three channels are synthesized into a single color image Gnew
Step 1.2, for GnewContrast-limited adaptive histogram equalization (CLAHE) is performed to enhance image contrast, and a fundus enhanced image G is obtainedclahe
Further, the blood vessel segmentation operation steps of the blood vessel segmentation functional module are specifically as follows:
step 2.1, extract the fundus enhanced image G in step 1.2 firstclaheFiltering the image by using median filtering to obtain a background estimation image GbackgroundAnd estimating an image G of the background by using a disc structural element with a certain radiusbackgroundRespectively carrying out top cap and bottom cap operations to obtain GtopAnd Gblack
Step 2.2, G in the step 2.1topAnd GblackAdding the weighted image to the original image G and subtracting the background estimation image GbackgroundAnd performing threshold segmentation to obtain a blood vessel binary estimation map GBL
Step 2.3, extracting the blood vessel binary estimation map G in the step 2.2BLThe connected region with the middle connected region larger than a certain area is obtained to obtain a fundus blood vessel binary image G corresponding to the fundus imageBV
Further, the optic disc segmentation operation steps of the optic disc segmentation functional module are specifically as follows:
step 3.1, enhancing the image G of the fundus oculi in step 1.2clahePerforming dual-channel (R channel and G channel) threshold segmentation to obtain binary image GRG
Step 3.2, comparing the binary image G in the step 3.1RGAnalyzing the connected domains, extracting the minimum rectangular frame of each connected domain, and expanding the minimum rectangular frame in the left and right directions to obtain an image G after the connected domains are expandedexpand
Step 3.3, counting the image G after the connected domain expansion in the step 3.2expandIn (1)The number of pixels on both sides of the vertical center line of the image;
step 3.4, selecting corresponding Toeplitz matrix templates based on the number of pixels on two sides of the vertical center line of the fundus image in the step 3.3, and selecting a right Toeplitz matrix template Mask when more than half of the counted pixels are positioned on the right side of the image, as shown in the formula (1):
Figure BDA0001845946280000091
otherwise, selecting a left Toeplitz matrix template Mask as shown in the formula (2):
Figure BDA0001845946280000101
and 3.5, performing AND operation on the fundus blood vessel image segmented in the step 2.3 and the expanded connected region in the step 3.2 to obtain a blood vessel image G of the candidate regioncandidate
Gcandidate=GBV∩Gexp and (3)
Step 3.6, blood vessel image G of candidate regioncandidateFiltering to obtain filtered image GfilterThe formula is as follows:
Figure BDA0001845946280000102
step 3.7, determine filtered image GfilterThe pixel with the highest middle gray scale value is the coordinate of the fundus optic disc positioning position;
step 3.8, with the optic disc positioning position coordinate as the center, framing a rectangular area with a certain size in the input fundus image G as the optic disc candidate area GOD
Step 3.9, extracting R channel of the video candidate area in step 3.8, and recording as image G'R
Step 3.10, removing by alternate expansion corrosion operation with structure elements with increasing radiusAccording to the blood vessel in the candidate area of the disk, a disk structure element B with a certain radius is selected first, and the image G 'is subjected to'RCarrying out alternate expansion corrosion operation:
σ(B)=δ(B)(B)(G′R)) (5)
wherein, delta(B)The expansion operation is carried out by taking B as a structural element; epsilon(B)Representing that B is used as a structural element for corrosion operation;
step 3.11, increasing the radius of the disc structure element B to obtain a new disc structure element B', and performing alternate expansion corrosion operation on the image processed in the step 3.10 again:
σ(B′)=δ(B′)(B′)(B))) (6)
and 3.12, continuously increasing the radius of the disc structural element B 'to obtain a new disc structural element B', and performing the alternate dilation corrosion operation on the image processed in the step 3.11 again to remove blood vessels in the candidate region of the optic disc:
σ(B″)=δ(B″)(B″)(B))) (7)
step 3.13, performing threshold segmentation on the optic disc candidate region with blood vessels removed by adopting the maximum inter-class variance method to obtain a binary image GOtsuAnd extracting the binary image G by using a Canny operatorOtsuTo obtain an edge image Gedge
Step 3.14, extracting edge image GedgePerforming least square ellipse fitting on the contour coordinates;
and 3.15, drawing the elliptic equation curve in the step 3.14 in the fundus image G, namely the optic disc elliptic ROI area.
Further, the least squares ellipse fitting in step 3.14 specifically comprises the following steps:
assuming the ellipse equation is: ax2+bxy+cy2+ dx + ey 1, the optimization problem of least squares ellipse fitting can be expressed as:
min||Dα||2
s.t.αTCα=1 (8)
wherein α ═ a, b, c, d, e ]; d represents a contour coordinate information set, the dimension is n multiplied by 6, and n is the number of contour pixels; matrix C is as follows:
Figure BDA0001845946280000111
further, the foveal determination operation step of the foveal determination function module specifically includes:
step 4.1.1, obtaining the macula lutea ROI area G by using the optic disc position and the optic disc size obtained in the step 3m-ROI
Step 4.1.2: extraction of the macular ROI region G in step 4.1.1m-ROIGreen channel G ofm-GAnd is subjected to adaptive contrast enhancement to obtain G'm-G(ii) enhanced image G'm-GAnd Gm-ROIPerforming subtraction to obtain a decorrelated image Gm-decor
Step 4.1.3: for the decorrelated image G obtained in step 4.1.2m-decorPerforming adaptive threshold segmentation to obtain Gm-otsuThen performing a morphological etching operation to obtain Gm-erodeThen take Gm-erodeThe region of the largest connected domain area in (A) is the central concave ROIGfovea-ROI
Step 4.1.4: calculating the foveal ROIGfovea-ROICenter of mass (x)fovea,yfovea) It is approximated as a foveal position.
Further, the exudation segmentation operation steps of the exudation segmentation function module are specifically as follows:
step 4.2.1: for the fundus enhancement image G in step 1.2claheCarrying out mean value filtering to obtain a background estimation image Gclahe-meanAnd performing morphological reconstruction to obtain Gmorp
Step 4.2.2: the morphological reconstruction graph G obtained in the step 4.2.1morpAnd background estimation map Gclahe-meanDifferencing to obtain a normalized image Gex-normAnd obtaining a bleeding candidate region I by using an adaptive threshold: gex-cand1
Step 4.2.3: for the fundus enhancement image G in step 1.2claheCalculating local variance to obtain boundary graph G of bright areaclahe-stdFor the boundary graph Gclahe-stdPerforming an opening operation and performing threshold segmentation to obtain Gstd-otsu
Step 4.2.4: for G in step 4.2.3std-otsuSequentially performing expansion operation, closing operation and hole filling to obtain a seepage candidate area II: gex-cand2
Step 4.2.5: g in step 4.2.2ex-cand1And the oozing candidate region G in step 4.2.4ex-cand2Get a logical OR operation to get Gcand-orG iscand-orAnd image G in step 1claheMorphological reconstruction to obtain Gclahe-or
Step 4.2.6: using the disc area G obtained in step 3.8ODDelete Gclahe-orIn the candidate region in the region, the final exudation candidate region G is obtainedex-cand
Further, the operation steps of the statistical computation function module are specifically:
step 5.1: with the foveated pixel (x) in step 4.1.4fovea,yfovea) As the circle center, different radiuses are given by the eyeground doctor according to the corresponding standard self-definition, and concentric circles are divided, wherein 3 radiuses are taken as examples and are marked as R from inside to outside in sequence1、R2、R3
Step 5.2: note R1And R2The ring in between is C1,R2And R3The ring in between is C2The oozing region G obtained in step 4.2.6 is countedex-candAt R1、C1、C2The number of pixels in the input retinal fundus image, thereby calculating the probability of diabetic macular edema lesion of the input retinal fundus image.
The features and properties of the present invention are described in further detail below with reference to examples.
Example 1
A preferred embodiment of the present invention provides a serial structure segmentation based diabetic retinopathy detection system, a flowchart of which is shown in fig. 1, and the system includes:
an eye fundus camera: the device is used for acquiring and acquiring fundus images of the retina and inputting the fundus images into the data processing device;
a data processing device: the data processing device is used for analyzing and processing the acquired fundus images to obtain lesion region data and lesion probability, and comprises:
a preprocessing function module: preprocessing the acquired fundus image;
a blood vessel segmentation functional module: performing blood vessel segmentation based on morphology on the preprocessed fundus image;
the optic disc segmentation function module: performing optic disc segmentation on the preprocessed fundus image by combining the processing result of the blood vessel segmentation module;
foveal determination function: determining the fovea of the preprocessed image by combining the processing result of the optic disc segmentation module;
and a seepage segmentation functional module: combining the processing result of the optic disc segmentation module, performing exudation segmentation on the preprocessed image to obtain an exudation area;
a statistical calculation functional module: and combining the processing results of the fovea centralis determination module and the exudation segmentation module, counting exudation areas and calculating the probability of the diabetic macular edema lesion existing in the input fundus image.
The doctor diagnosis function module: and (4) combining the processing result of the statistical calculation module, and giving a final diagnosis and treatment scheme by referring to the segmented exudation area and the disease probability by the fundus doctor and combining the specialty of the fundus doctor.
The data processing device adopts a computer to process and analyze data, and each functional module and the operation steps of the data processing device can be completed by relevant hardware instructed by a program, and the program can be stored in a computer-readable storage medium.
Further, the preprocessing operation steps of the preprocessing function module are specifically:
step 1.1, RGB three-channel extraction is carried out on the input fundus image G, andcarrying out median filtering processing on each channel, and synthesizing the three channels into a single color image Gnew. In this embodiment, the input image size is 1552 × 1928, and the median filter size is 3 × 3.
Step 1.2, for GnewContrast-limited adaptive histogram equalization (CLAHE) is performed to enhance image contrast, and a fundus enhanced image G is obtainedclahe. In this example, the CLAHE parameter contrast enhancement is limited to 0.01 and the histogram is 256 bins.
Further, the blood vessel segmentation operation steps of the blood vessel segmentation functional module are specifically as follows:
step 2.1, extract the fundus enhanced image G in step 1.2 firstclaheFiltering the image by using median filtering to obtain a background estimation image GbackgroundAnd estimating an image G of the background by using a disc structural element with a certain radiusbackgroundRespectively carrying out top cap and bottom cap operations to obtain GtopAnd Gblack. In this embodiment, the median filter size is 40 × 40, the radius of the top-hat disk structure element is 20, and the radius of the bottom-hat disk structure element is 6.
Step 2.2, G in the step 2.1topAnd GblackAdding the weighted image to the original image G and subtracting the background estimation image GbackgroundAnd performing threshold segmentation to obtain a blood vessel binary estimation map GBL
In this example, Gbackground=0.8*Gtop-0.8*Gblack+G。
Step 2.3, extracting the blood vessel binary estimation map G in the step 2.2BLThe connected region with the middle connected region larger than a certain area is obtained to obtain a fundus blood vessel binary image G corresponding to the fundus imageBV. As shown in fig. 2, (a) is an input image, and (b) is a blood vessel segmentation result, in the present embodiment, the connected component threshold is 350.
Further, the optic disc segmentation operation steps of the optic disc segmentation functional module are specifically as follows:
step 3.1, enhancing the image G of the fundus oculi in step 1.2clahePerforming dual-channel (R channel and G channel) threshold segmentation to obtain binary image GRG. The range of the pixel values of the RG channel is 0 to 255, in this embodiment, the threshold value of the R channel is 250, and the threshold value of the G channel is 160.
Step 3.2, comparing the binary image G in the step 3.1RGAnalyzing the connected domains, extracting the minimum rectangular frame of each connected domain, and expanding the minimum rectangular frame in the left and right directions to obtain an image G after the connected domains are expandedexpand. In this embodiment, the size of the expansion is half of the longest side length of the rectangular frame.
Step 3.3, counting the image G after the connected domain expansion in the step 3.2expandThe number of pixels on both sides of the image perpendicular to the center line.
Step 3.4, selecting corresponding Toeplitz matrix templates based on the number of pixels on two sides of the vertical center line of the fundus image in the step 3.3, and selecting a right Toeplitz matrix template Mask when more than half of the counted pixels are positioned on the right side of the image, as shown in the formula (1):
Figure BDA0001845946280000141
otherwise, selecting a left Toeplitz matrix template Mask as shown in the formula (2):
Figure BDA0001845946280000151
and 3.5, performing AND operation on the fundus blood vessel image segmented in the step 2.3 and the expanded connected region in the step 3.2 to obtain a blood vessel image G of the candidate regioncandidate
Gcandidate=GBV∩Gexpand (3)。
Step 3.6, blood vessel image G of candidate regioncandidateFiltering to obtain filtered image GfilterThe formula is as follows:
Figure BDA0001845946280000152
step 3.7, determine filtered image GfilterAnd the coordinate of the pixel with the highest intermediate gray value is the coordinate of the positioning position of the fundus optic disk.
Step 3.8, with the optic disc positioning position coordinate as the center, framing a rectangular area with a certain size in the input fundus image G as the optic disc candidate area GOD. The rectangular frame size in this embodiment is 400 × 400.
Step 3.9, extracting R channel of the video candidate area in step 3.8, and recording as image G'R
Step 3.10, carrying out alternate expansion corrosion operation by using the structure elements with the increasing radiuses to remove blood vessels in the candidate region of the video disc, firstly selecting a disc structure element B with a certain radius, and carrying out image G'RCarrying out alternate expansion corrosion operation:
σ(B)=δ(B)(B)(G′R) (5) wherein, δ(B)The expansion operation is carried out by taking B as a structural element; epsilon(B)The etching operation is performed with B as a structural element.
Step 3.11, increasing the radius of the disc structure element B to obtain a new disc structure element B', and performing alternate expansion corrosion operation on the image processed in the step 3.10 again:
σ(B′)=δ(B′)(B′)(B))) (6)。
and 3.12, continuously increasing the radius of the disc structural element B 'to obtain a new disc structural element B', and performing the alternate dilation corrosion operation on the image processed in the step 3.11 again to remove blood vessels in the candidate region of the optic disc:
σ(B″)=δ(B″)(B″)(B′))) (7)。
step 3.13, performing threshold segmentation on the optic disc candidate region with blood vessels removed by adopting the maximum inter-class variance method to obtain a binary image GOtsuAnd extracting the binary image G by using a Canny operatorOtsuTo obtain an edge image Gedge
Step 3.14, extracting edge image GedgeOutline coordinates of (1), to which the most is performedFitting by a small two times ellipse.
And 3.15, drawing the elliptic equation curve in the step 3.14 in the fundus image G, namely the optic disc elliptic ROI area.
FIG. 3- (a) is a diagram showing the result of optic disc segmentation according to the present invention.
Further, the least squares ellipse fitting in step 3.14 specifically comprises the following steps:
assuming the ellipse equation is: ax2+bxy+cy2+ dx + ey 1, the optimization problem of least squares ellipse fitting can be expressed as:
min||Dα||2
s.t.αTCα=1 (8)
wherein α ═ a, b, c, d, e ]; d represents a contour coordinate information set, the dimension is n multiplied by 6, and n is the number of contour pixels; matrix C is as follows:
Figure BDA0001845946280000161
further, the foveal determination operation step of the foveal determination function module specifically includes:
step 4.1.1, obtaining the macula lutea ROI area G by using the optic disc position and the optic disc size obtained in the step 3m-ROI. Fig. 3- (b) is a diagram of the segmentation result of the macula lutea according to the present invention, in this embodiment, a rectangular frame with 300 × 400 is taken by taking the center of the optic disc as the starting point, the size of 2.5 times the major axis of the ellipse to the left/right, and 80 pixels down to the end point.
Step 4.1.2: extraction of the macular ROI region G in step 4.1.1m-ROIGreen channel G ofm-GAnd is subjected to adaptive contrast enhancement to obtain G'm-G(ii) enhanced image G'm-GAnd GmROIPerforming subtraction to obtain a decorrelated image Gm-decor. In this example, the CLAHE parameter contrast enhancement is limited to 0.01 and the histogram is 256 bins.
Step 4.1.3: for the decorrelated image G obtained in step 4.1.2m-decorPerforming adaptive threshold segmentation to obtain Gm-otsuThen performing morphological rottingEtching to obtain Gm-erodeThen take Gm-erodeThe region of the largest connected domain area in (A) is the central concave ROIGfovea-ROI. In this example, the etching operation selects a disk structure element with a radius of 3.
Step 4.1.4: calculating the foveal ROIGfovea-ROICenter of mass (x)fovea,yfovea) It is approximated as a foveal position.
Further, the exudation segmentation operation steps of the exudation segmentation module are specifically as follows:
step 4.2.1: for the fundus enhancement image G in step 1.2claheCarrying out mean value filtering to obtain a background estimation image Gclahe-meanAnd performing morphological reconstruction to obtain Gmorp. In this embodiment, the average filtering size is 50 × 50.
Step 4.2.2: the morphological reconstruction graph G obtained in the step 4.2.1morpAnd background estimation map Gclahe-meanDifferencing to obtain a normalized image Gex-normAnd obtaining a bleeding candidate region I by using an adaptive threshold: gex-cand1
Step 4.2.3: for the fundus enhancement image G in step 1.2claheCalculating local variance to obtain boundary graph G of bright areaclahe-stdFor the boundary graph Gclahe-stdPerforming an opening operation and performing threshold segmentation to obtain Gstd-otsu. In this embodiment, the opening operation selects a disc structure element with a radius of 3.
Step 4.2.4: for G in step 4.2.3std-otsuSequentially performing expansion operation, closing operation and hole filling to obtain a seepage candidate area II: gex-cand2. In this embodiment, the expansion operation selects a disk structure element with a radius of 5, and the closing operation selects a disk structure element with a radius of 10.
Step 4.2.5: g in step 4.2.2ex-cand1And the oozing candidate region G in step 4.2.4ex-cand2Get a logical OR operation to get Gcand-orG iscand-or andimage G in step 1claheMorphological reconstruction to obtain Gclahe-or
Step 4.2.6: using step 3.8The obtained optic disk region GODDelete Gclahe-orIn the candidate region in the region, the final exudation candidate region G is obtainedex-cand
Further, the operation steps of the statistical computation function module are specifically:
step 5.1: with the foveated pixel (x) in step 4.1.4fovea,yfovea) As the circle center, different radiuses are given by the eyeground doctor according to the corresponding standard self-definition, and concentric circles are divided, wherein 3 radiuses are taken as examples and are marked as R from inside to outside in sequence1、R2、R3. In this example, R1One third of the length of the major axis of the optic disc ellipse, R2The size is the length of the long axis of the optic disc ellipse, R3Twice the length of the major axis of the optic disc ellipse.
Step 5.2: note R1And R2The ring in between is C1,R2And R3The ring in between is C2The oozing region G obtained in step 4.2.6 is countedex-candAt R1、C1、C2The number of pixels in the input retinal fundus image, thereby calculating the probability of diabetic macular edema lesion of the input retinal fundus image.
FIG. 4- (a) is a graph showing the result of the exudation segmentation of the present invention, and FIG. 4- (b) is a graph showing the division of concentric circles of the present invention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A diabetic retinopathy detection system based on serial structure segmentation is characterized in that: the system comprises:
fundus image acquisition device: the device is used for acquiring and acquiring a fundus image of the retina;
a data processing device: the data processing device is used for analyzing and processing the acquired fundus images to obtain lesion region data and lesion probability, and comprises:
a preprocessing function module: preprocessing the acquired fundus image;
a blood vessel segmentation functional module: performing blood vessel segmentation based on morphology on the preprocessed fundus image;
the optic disc segmentation function module: performing optic disc segmentation on the preprocessed fundus image by combining the processing result of the blood vessel segmentation functional module;
foveal determination function: determining the fovea of the preprocessed image by combining the processing result of the optic disc segmentation functional module;
and a seepage segmentation functional module: combining the processing result of the optic disc segmentation functional module, performing exudation segmentation on the preprocessed image to obtain an exudation area;
a statistical calculation functional module: combining the processing results of the fovea centralis determination function module and the exudation segmentation function module, counting exudation areas and calculating the probability of diabetic macular edema lesion existing in the input fundus image; the optic disc segmentation operation steps of the optic disc segmentation functional module are specifically as follows:
step 3.1, fundus enhancement image G after the pretreatment of fundus imageclahePerforming dual-channel threshold segmentation to obtain a binary image GRG
Step 3.2, comparing the binary image G in the step 3.1RGAnalyzing the connected domains, extracting the minimum rectangular frame of each connected domain, and expanding the minimum rectangular frame in the left and right directions to obtain an image G after the connected domains are expandedexpand
Step 3.3, counting the image G after the connected domain expansion in the step 3.2expandThe number of pixels on two sides of the vertical center line of the image in (1);
step 3.4, selecting corresponding Toeplitz matrix templates based on the number of pixels on two sides of the vertical center line of the fundus image in the step 3.3, and selecting a right Toeplitz matrix template Mask when more than half of the counted pixels are positioned on the right side of the image, as shown in the formula (1):
Figure FDA0003335675240000021
otherwise, selecting a left Toeplitz matrix template Mask as shown in the formula (2):
Figure FDA0003335675240000022
and 3.5, performing AND operation on the fundus blood vessel image segmented in the blood vessel segmentation functional module and the expanded connected region in the step 3.2 to obtain a blood vessel image G of the candidate regioncandidate
Gcandidate=GBV∩Gexpand (3)
Step 3.6, blood vessel image G of candidate regioncandidateFiltering to obtain filtered image GfilterThe formula is as follows:
Figure FDA0003335675240000023
step 3.7, determine filtered image GfilterThe pixel with the highest middle gray scale value is the coordinate of the fundus optic disc positioning position;
step 3.8, with the optic disc positioning position coordinate as the center, framing a rectangular area with a certain size in the input fundus image G as the optic disc candidate area GOD
Step 3.9, extracting R channel of the video candidate area in step 3.8, and recording as image G'R
Step 3.10, carrying out alternate expansion corrosion operation by using the structure elements with the increasing radiuses to remove blood vessels in the candidate region of the video disc, firstly selecting a disc structure element B with a certain radius, and carrying out image G'RCarrying out alternate expansion corrosion operation:
σ(B)=δ(B)(B)(G′R)) (5)
wherein, delta(B)The expansion operation is carried out by taking B as a structural element; epsilon(B)Representing that B is used as a structural element for corrosion operation;
step 3.11, increasing the radius of the disc structure element B to obtain a new disc structure element B', and performing alternate expansion corrosion operation on the image processed in the step 3.10 again:
σ(B′)=δ(B′)(B′)(B))) (6)
and 3.12, continuously increasing the radius of the disc structural element B 'to obtain a new disc structural element B', and performing the alternate dilation corrosion operation on the image processed in the step 3.11 again to remove blood vessels in the candidate region of the optic disc:
σ(B″)=δ(B″)(B″)(B′))) (7)
step 3.13, performing threshold segmentation on the optic disc candidate region with blood vessels removed by adopting the maximum inter-class variance method to obtain a binary image GOtsuAnd extracting the binary image G by using a Canny operatorOtsuTo obtain an edge image Gedge
Step 3.14, extracting edge image GedgePerforming least square ellipse fitting on the contour coordinates;
and 3.15, drawing the elliptic equation curve in the step 3.14 in the fundus image G, namely the optic disc elliptic ROI area.
2. The serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the data processing device further comprises a doctor diagnosis function module: and (4) combining the processing result of the statistical calculation functional module, and giving a final diagnosis and treatment scheme by referring to the segmented exudation area and the disease probability by the fundus doctor and combining the specialty of the fundus doctor.
3. The serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the preprocessing operation steps of the preprocessing function module are specifically as follows:
step 1.1, RGB three-channel extraction is carried out on the input fundus image G, median filtering processing is carried out on each channel, and then three channels are synthesized into a single-frame color imageImage Gnew
Step 1.2, for GnewContrast-limited adaptive histogram equalization is performed to enhance image contrast, and fundus enhanced image G is obtainedclahe
4. The serial structure segmentation based diabetic retinopathy detection system according to claim 1 or 3, characterized in that: the blood vessel segmentation operation steps of the blood vessel segmentation functional module are specifically as follows:
step 2.1, firstly extracting a fundus enhanced image G obtained by preprocessing the fundus image by the preprocessing function moduleclaheFiltering the image by using median filtering to obtain a background estimation image GbackgroundAnd estimating an image G of the background by using a disc structural element with a certain radiusbackgroundRespectively carrying out top cap and bottom cap operations to obtain GtopAnd Gblack
Step 2.2, G in the step 2.1topAnd GblackAdding the weighted image to the original image G and subtracting the background estimation image GbackgroundAnd performing threshold segmentation to obtain a blood vessel binary estimation map GBL
Step 2.3, extracting the blood vessel binary estimation map G in the step 2.2BLThe connected region with the middle connected region larger than a certain area is obtained to obtain a fundus blood vessel binary image G corresponding to the fundus imageBV
5. The serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the specific steps of least squares ellipse fitting in step 3.14 are as follows:
assuming the ellipse equation is: ax2+bxy+cy2+ dx + ey 1, the optimization problem of least squares ellipse fitting can be expressed as:
min||Dα||2
s.t.αTCα=1 (8)
wherein α ═ a, b, c, d, e ]; d represents a contour coordinate information set, the dimension is n multiplied by 6, and n is the number of contour pixels; matrix C is as follows:
Figure FDA0003335675240000041
6. the serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the foveal determination operation steps of the foveal determination function module are specifically as follows:
step 4.1.1, obtaining the macula lutea ROI area G by using the optic disc position and the optic disc size obtained by the optic disc segmentation functional modulem-ROI
Step 4.1.2: extraction of the macular ROI region G in step 4.1.1m-ROIGreen channel G ofm-GAnd is subjected to adaptive contrast enhancement to obtain G'm-G(ii) enhanced image G'm-GAnd Gm-ROIPerforming subtraction to obtain a decorrelated image Gm-decor
Step 4.1.3: for the decorrelated image G obtained in step 4.1.2m-decorPerforming adaptive threshold segmentation to obtain Gm-otsuThen performing a morphological etching operation to obtain Gm-erodeThen take Gm-erodeThe region of the largest connected component area in (1) is the foveal ROI Gfovea-ROI
Step 4.1.4: calculating foveal ROI Gfovea-ROICenter of mass (x)fovea,yfovea) It is approximated as a foveal position.
7. The serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the exudation segmentation operation steps of the exudation segmentation function module are specifically as follows:
step 4.2.1: the fundus enhanced image G obtained by preprocessing the fundus image by the preprocessing function moduleclaheCarrying out mean value filtering to obtain a background estimation image Gclahe-meanAnd performing morphological reconstruction to obtain Gmorp
Step 4.2.2: will be provided withStep 4.2.1 morphological reconstruction GmorpAnd background estimation map Gclahe-meanDifferencing to obtain a normalized image Gex-normAnd obtaining a bleeding candidate region I by using an adaptive threshold: gex-cand1
Step 4.2.3: the fundus enhanced image G obtained by preprocessing the fundus image by the preprocessing function moduleclaheCalculating local variance to obtain boundary graph G of bright areaclahe-stdFor the boundary graph Gclahe-stdPerforming an opening operation and performing threshold segmentation to obtain Gstd-otsu
Step 4.2.4: for G in step 4.2.3std-otsuSequentially performing expansion operation, closing operation and hole filling to obtain a seepage candidate area II: gex-cand2
Step 4.2.5: g in step 4.2.2ex-cand1And the oozing candidate region G in step 4.2.4ex-cand2Get a logical OR operation to get Gcand-orG iscand-orAnd fundus enhanced image GclaheMorphological reconstruction to obtain Gclahe-or
Step 4.2.6: using the disc region G obtained in the disc dividing function blockODDelete Gclahe-orIn the candidate region in the region, the final exudation candidate region G is obtainedex-cand
8. The serial structure segmentation based diabetic retinopathy detection system of claim 1 wherein: the operation steps of the statistical calculation function module are specifically as follows:
step 5.1: to obtain a foveated pixel (x)fovea,yfovea) As the circle center, different radiuses are given by the eyeground doctor according to the corresponding standard self-definition, and concentric circles are divided, wherein 3 radiuses are taken as examples and are marked as R from inside to outside in sequence1、R2、R3
Step 5.2: note R1And R2The ring in between is C1,R2And R3The ring in between is C2Statistical derived from the exuded segmentation functionExudation region Gex-candAt R1、C1、C2The number of pixels in the input retinal fundus image, thereby calculating the probability of diabetic macular edema lesion of the input retinal fundus image.
CN201811275005.XA 2018-10-29 2018-10-29 Diabetic retinopathy detection system based on serial structure segmentation Active CN109472781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811275005.XA CN109472781B (en) 2018-10-29 2018-10-29 Diabetic retinopathy detection system based on serial structure segmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811275005.XA CN109472781B (en) 2018-10-29 2018-10-29 Diabetic retinopathy detection system based on serial structure segmentation

Publications (2)

Publication Number Publication Date
CN109472781A CN109472781A (en) 2019-03-15
CN109472781B true CN109472781B (en) 2022-02-11

Family

ID=65666676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811275005.XA Active CN109472781B (en) 2018-10-29 2018-10-29 Diabetic retinopathy detection system based on serial structure segmentation

Country Status (1)

Country Link
CN (1) CN109472781B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978848B (en) * 2019-03-19 2022-11-04 电子科技大学 Method for detecting hard exudation in fundus image based on multi-light-source color constancy model
CN109872337B (en) * 2019-03-19 2022-03-25 电子科技大学 Eye fundus image optic disc segmentation method based on rapid mean shift
CN110060258B (en) * 2019-03-27 2021-05-04 山东师范大学 Retina SD-OCT image segmentation method and device based on Gaussian mixture model clustering
CN110148111A (en) * 2019-04-01 2019-08-20 江西比格威医疗科技有限公司 The automatic testing method of a variety of retina lesions in a kind of retina OCT image
CN110009638B (en) * 2019-04-12 2023-01-03 重庆交通大学 Bridge inhaul cable image appearance defect detection method based on local statistical characteristics
CN110211117B (en) * 2019-05-31 2023-08-15 广东世纪晟科技有限公司 Processing system for identifying linear tubular objects in medical image and optimized segmentation method
CN110298849A (en) * 2019-07-02 2019-10-01 电子科技大学 Hard exudate dividing method based on eye fundus image
CN110889846A (en) * 2019-12-03 2020-03-17 哈尔滨理工大学 Diabetes retina image optic disk segmentation method based on FCM
CN111127425B (en) * 2019-12-23 2023-04-28 北京至真互联网技术有限公司 Target detection positioning method and device based on retina fundus image
CN111583261B (en) * 2020-06-19 2023-08-18 智眸医疗(深圳)有限公司 Method and terminal for analyzing ultra-wide angle image of eye bottom
CN112001920B (en) 2020-10-28 2021-02-05 北京至真互联网技术有限公司 Fundus image recognition method, device and equipment
CN112331313B (en) * 2020-11-25 2022-07-01 电子科技大学 Automatic grading method for sugar net image lesions based on label coding
CN115690124B (en) * 2022-11-02 2023-05-12 中国科学院苏州生物医学工程技术研究所 High-precision single-frame fundus fluorescence contrast image leakage area segmentation method and system

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359365A (en) * 2008-08-07 2009-02-04 电子科技大学中山学院 Iris positioning method based on Maximum between-Cluster Variance and gray scale information
CN102881004A (en) * 2012-08-31 2013-01-16 电子科技大学 Digital image enhancement method based on optic nerve network
CN103006175A (en) * 2012-11-14 2013-04-03 天津工业大学 Method for positioning optic disk for eye fundus image on basis of PC (Phase Congruency)
CN103559507A (en) * 2013-11-18 2014-02-05 沈阳工业大学 Method for detecting traffic signs based on combination of color feature and shape feature
CN104835157A (en) * 2015-05-04 2015-08-12 北京工业大学 Eye fundus image optical cup automatic segmentation method based on improved PDE image repairing
CN105787927A (en) * 2016-02-06 2016-07-20 上海市第人民医院 Diffusate detection method of retina fundus image
CN106097378A (en) * 2016-07-24 2016-11-09 江西理工大学 A kind of level set retinal vascular images dividing method merging shape prior
CN106570530A (en) * 2016-11-10 2017-04-19 西南交通大学 Extraction method for extracting hard exudates in ophthalmoscopic image
CN106651899A (en) * 2016-12-09 2017-05-10 东北大学 Fundus image micro-aneurysm detection system based on Adaboost
CN107292868A (en) * 2017-05-31 2017-10-24 瑞达昇科技(大连)有限公司 A kind of optic disk localization method and device
CN107423571A (en) * 2017-05-04 2017-12-01 深圳硅基仿生科技有限公司 Diabetic retinopathy identifying system based on eye fundus image
CN107610129A (en) * 2017-08-14 2018-01-19 四川大学 A kind of multi-modal nasopharyngeal carcinima joint dividing method based on CNN
CN108185984A (en) * 2017-12-28 2018-06-22 中山大学 The method that eyeground color picture carries out eyeground lesion identification
CN108416344A (en) * 2017-12-28 2018-08-17 中山大学中山眼科中心 Eyeground color picture optic disk and macula lutea positioning identifying method
CN109523524A (en) * 2018-11-07 2019-03-26 电子科技大学 A kind of eye fundus image hard exudate detection method based on integrated study

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8718363B2 (en) * 2008-01-16 2014-05-06 The Charles Stark Draper Laboratory, Inc. Systems and methods for analyzing image data using adaptive neighborhooding
US20140314288A1 (en) * 2013-04-17 2014-10-23 Keshab K. Parhi Method and apparatus to detect lesions of diabetic retinopathy in fundus images

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359365A (en) * 2008-08-07 2009-02-04 电子科技大学中山学院 Iris positioning method based on Maximum between-Cluster Variance and gray scale information
CN102881004A (en) * 2012-08-31 2013-01-16 电子科技大学 Digital image enhancement method based on optic nerve network
CN103006175A (en) * 2012-11-14 2013-04-03 天津工业大学 Method for positioning optic disk for eye fundus image on basis of PC (Phase Congruency)
CN103559507A (en) * 2013-11-18 2014-02-05 沈阳工业大学 Method for detecting traffic signs based on combination of color feature and shape feature
CN104835157A (en) * 2015-05-04 2015-08-12 北京工业大学 Eye fundus image optical cup automatic segmentation method based on improved PDE image repairing
CN105787927A (en) * 2016-02-06 2016-07-20 上海市第人民医院 Diffusate detection method of retina fundus image
CN106097378A (en) * 2016-07-24 2016-11-09 江西理工大学 A kind of level set retinal vascular images dividing method merging shape prior
CN106570530A (en) * 2016-11-10 2017-04-19 西南交通大学 Extraction method for extracting hard exudates in ophthalmoscopic image
CN106651899A (en) * 2016-12-09 2017-05-10 东北大学 Fundus image micro-aneurysm detection system based on Adaboost
CN107423571A (en) * 2017-05-04 2017-12-01 深圳硅基仿生科技有限公司 Diabetic retinopathy identifying system based on eye fundus image
CN107292868A (en) * 2017-05-31 2017-10-24 瑞达昇科技(大连)有限公司 A kind of optic disk localization method and device
CN107610129A (en) * 2017-08-14 2018-01-19 四川大学 A kind of multi-modal nasopharyngeal carcinima joint dividing method based on CNN
CN108185984A (en) * 2017-12-28 2018-06-22 中山大学 The method that eyeground color picture carries out eyeground lesion identification
CN108416344A (en) * 2017-12-28 2018-08-17 中山大学中山眼科中心 Eyeground color picture optic disk and macula lutea positioning identifying method
CN109523524A (en) * 2018-11-07 2019-03-26 电子科技大学 A kind of eye fundus image hard exudate detection method based on integrated study

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
A Novel Machine Learning Model Based on Exudate Localization to Detect Diabetic Macular Edema;Oscar Julian Perdomo Charry等;《Lecture Notes in Computer Science》;20161021;正文第2节,图1 *
Segmentation of Color Fundus Images of the Human Retina: Detection of the Optic Disc and the Vascula Tree Using Morphological Techniques;Thomas Walter等;《ISMDA 2001》;20011030;282-287 *
TIMOTHY SPENCER等.An Image-Processing Strategy for the Segmentation and Quanti®cation of Microaneurysms in Fluorescein.《COMPUTERS AND BIOMEDICAL RESEARCH》.1996,284-302. *
基于彩色视网膜图像的眼底病相关目标检测方法研究;戴百生;《万方数据》;20181026;正文第2-3、15-18、116页 *
基于背景估计和SVM分类器的眼底图像硬性渗出物检测方法;肖志涛等;《中国生物医学工程学报》;20151220;第34卷(第06期);720-728 *
彩色眼底图像糖网渗出物的自动检测;吕卫等;《光电工程》;20161215;第43卷(第12期);正文第1.3节 *
眼底硬性渗出物自动检测系统的研究与实现;张磊;《万方数据》;20181026;1-69 *
糖尿病性视网膜病变图像黄斑水肿等级自动分析方法;郑绍华等;《中国生物医学工程学报》;20141220;第33卷(第6期);687-695 *
糖尿病视网膜病变图像的渗出物自动检测算法研究;陈向;《万方数据》;20121225;1-78 *

Also Published As

Publication number Publication date
CN109472781A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109472781B (en) Diabetic retinopathy detection system based on serial structure segmentation
CN110276356B (en) Fundus image microaneurysm identification method based on R-CNN
WO2019196268A1 (en) Diabetic retina image classification method and system based on deep learning
Sánchez et al. Retinal image analysis based on mixture models to detect hard exudates
Zhang et al. Detection of microaneurysms using multi-scale correlation coefficients
Medhi et al. An effective fovea detection and automatic assessment of diabetic maculopathy in color fundus images
Sánchez et al. Mixture model-based clustering and logistic regression for automatic detection of microaneurysms in retinal images
Jaafar et al. Automated detection of red lesions from digital colour fundus photographs
Haloi et al. A Gaussian scale space approach for exudates detection, classification and severity prediction
Qureshi et al. Detection of glaucoma based on cup-to-disc ratio using fundus images
Sarwar et al. Segmentation of cervical cells for automated screening of cervical cancer: a review
Hatanaka et al. CAD scheme to detect hemorrhages and exudates in ocular fundus images
Sagar et al. A novel integrated approach using dynamic thresholding and edge detection (idted) for automatic detection of exudates in digital fundus retinal images
Ramaswamy et al. A study and comparison of automated techniques for exudate detection using digital fundus images of human eye: a review for early identification of diabetic retinopathy
Wisaeng et al. Automatic detection of exudates in retinal images based on threshold moving average models
Priya et al. Detection and grading of diabetic retinopathy in retinal images using deep intelligent systems: a comprehensive review
Hashim et al. Optic disc boundary detection from digital fundus images
Phyo et al. Automatic detection of optic disc and blood vessels from retinal images using image processing techniques
Gou et al. A novel retinal vessel extraction method based on dynamic scales allocation
Reethika et al. Diabetic retinopathy detection using statistical features
Prakash et al. Automated grading of Diabetic Retinopathy stages in fundus images using SVM classifer
San et al. Constrained-MSER detection of retinal pathology
Athab et al. Disc and Cup Segmentation for Glaucoma Detection
CN111292285B (en) Automatic screening method for diabetes mellitus based on naive Bayes and support vector machine
Feroui et al. New segmentation methodology for exudate detection in color fundus images

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