A retinal blood vessel segmentation method based on generative adversarial network

Through the retinal blood vessel segmentation method based on GAN, using Ladder Net and improved U-shaped network structure, the problem of insufficient sensitivity and accuracy of fine blood vessel segmentation in retinal blood vessel segmentation is solved, and high-precision automatic segmentation and accuracy improvement are achieved.

CN115035127BActive Publication Date: 2024-10-29XIAN UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210805978.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-08
Publication Date
2024-10-29
Estimated Expiration
2042-07-08

AI Technical Summary

Technical Problem

The existing technology has low sensitivity and insufficient accuracy in segmenting fine blood vessels in retinal blood vessel segmentation, resulting in low efficiency and error-prone problems.

Method used

A retinal blood vessel segmentation method based on a generative adversarial network (GAN) is used to construct the generator and discriminator models, using Ladder Net and an improved U-shaped network structure, combined with the residual module, dilated convolution and attention mechanism, to perform image processing. Preprocessing and iterative training improve segmentation accuracy.

Benefits of technology

It achieves high-precision automatic segmentation of retinal blood vessels, improves segmentation accuracy and sensitivity, reduces mis-segmentation, and shows good segmentation performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115035127B_ABST
    Figure CN115035127B_ABST
Patent Text Reader

Abstract

The invention discloses a retinal blood vessel segmentation method based on a generative adversarial network, which consists of the following steps: preprocessing a fundus retinal image set to obtain a training image set, constructing a retinal blood vessel segmentation model based on a GAN, training the retinal blood vessel segmentation model using the training image set, segmenting the fundus retinal image to be segmented using the trained retinal blood vessel segmentation model, outputting a segmented sub-image, and splicing the segmented sub-images to obtain a complete retinal blood vessel segmentation image; the invention combines Ladder Net, introduces the concept of multiple pairs of encoders and decoders of Ladder Net into the original improved U-shaped network structure, connects two improved U-shaped networks in parallel, and improves a traditional residual module into a parameter-sharing residual module, and uses a cyclic layer composed of two convolutional layers with shared parameters for training, so as to capture complex feature points in the image, thereby improving the segmentation accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of fundus retinal image processing, and in particular relates to a retinal blood vessel segmentation method based on a generative adversarial network. Background Art

[0002] Eyes account for more than 80% of the body's total information, so they are an indispensable organ of the human body, and their health is inseparable from human life. Today, doctors mainly rely on fundus images to diagnose eye diseases, and the status of certain organs is displayed through the transformation of fundus images. Retinal blood vessels can be clearly observed in fundus images, which is the most basic basis for doctors to diagnose and prevent certain diseases. Fundus blood vessel segmentation is a decisive condition for doctors to diagnose the patient's condition based on fundus images, and it has a major significance for clinical medicine. The key indicator for judging whether the human body is healthy is the morphological structure of retinal blood vessels (such as diameter, length, etc.), and its transformation can largely reflect certain diseases of the human body. Therefore, in order for doctors to effectively diagnose diseases, analysis of retinal blood vessels is necessary.

[0003] When diagnosing fundus retinal diseases, manual segmentation of retinal blood vessels based on experience is a common method currently used by doctors. However, this method has the problem of densely distributed fundus blood vessels and low contrast, and there may be lesions such as bleeding spots and exudates, as well as many micro-vessels. Combined with the influence of lesion noise, the traditional manual segmentation workload becomes huge and cumbersome. Relying on manual segmentation of blood vessels will be inefficient, easily affected by subjectivity, and have a high error rate.

[0004] In order to prevent potential fundus diseases and improve the efficiency of fundus disease diagnosis, it is necessary to use image processing, computer vision, deep learning and other technologies to process and analyze relevant medical images, and design advanced and accurate retinal vascular segmentation algorithms, which can effectively quantify and visualize related pathological structures, thereby achieving computer-assisted or even replacing doctors in accurate diagnosis and precise treatment of the disease.

[0005] In recent years, with the rapid development of image processing and analysis technology, the use of computers for medical image processing has been widely used in various disciplines and fields of medicine. Traditional machine learning algorithms sometimes require manual feature selection based on experiments, which is not conducive to the realization of automation. Various algorithm network structures in deep learning have been used to process retinal vascular segmentation and have achieved great success. The single network training mode of traditional convolutional neural networks is widely used, but there are still problems with low sensitivity and accuracy of fine blood vessel segmentation. Compared with convolutional neural networks, generative adversarial networks are composed of two arbitrary sub-networks, the generator and the discriminator. The two sub-networks are trained in adversarial manner and optimized in collaboration, which can better learn the vascular feature optimization segmentation model. Summary of the invention

[0006] The purpose of the present invention is to provide a retinal blood vessel segmentation method based on a generative adversarial network to solve the problems of low sensitivity and fine blood vessel segmentation in the prior art, and to achieve the problem of automatic retinal blood vessel segmentation and high-precision and good fine blood vessel segmentation effect.

[0007] The present invention adopts the following technical solution: a retinal blood vessel segmentation method based on a generative adversarial network, characterized in that it consists of the following steps:

[0008] Step S1: Preprocess the fundus retinal image set to obtain a training image set.

[0009] Step S2: Construct a GAN-based retinal vessel segmentation model.

[0010] Step S3: Using the training image set to train the retinal blood vessel segmentation model,

[0011] Step S4: Segment the fundus retinal image to be segmented using the trained retinal blood vessel segmentation model, and output the segmented sub-images.

[0012] Step S5: splicing the segmented sub-images to obtain a complete retinal blood vessel segmentation image.

[0013] The generation network of the retinal blood vessel segmentation model is to connect two encoding and decoding U-type networks in parallel using Ladder Net.

[0014] Each of the codec U-type networks comprises:

[0015] The four first structural blocks, the hole convolution module, and the four second structural blocks are connected in sequence.

[0016] Each of the first structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0017] Each of the second structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0018] Furthermore, the discriminant network of the retinal blood vessel segmentation model includes four third structural blocks connected in sequence, an average pooling layer, and a fully connected layer, and each of the third structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0019] Furthermore, the preprocessing method is to sequentially perform RGB green channel conversion, contrast-limited histogram equalization and gamma correction.

[0020] Furthermore, the preprocessing method also includes: expansion and rotation.

[0021] The beneficial effects of the present invention are as follows: the generator model of the present invention is an encoding and decoding structure of a convolutional neural network, and an improved U-type network model with a residual module, a hole convolution and an attention mechanism is proposed for further transformation. In combination with Ladder Net, the concept of multiple pairs of encoder-decoders of Ladder Net is introduced into the original improved U-type network structure, two improved U-type networks are connected in parallel, and the traditional residual module is improved into a parameter-sharing residual module. A cyclic layer composed of two convolutional layers with shared parameters is set for training, so as to capture complex feature points in the image, thereby improving the segmentation accuracy; the discriminator model of the present invention introduces Res Block to prevent the problem of network degradation, and a network model with good segmentation performance is generated by alternating and iterative training of the two. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a diagram showing the effect of preprocessing fundus images of the present invention;

[0023] Figure 2 It is a schematic diagram of fundus image amplification processing of the present invention;

[0024] Figure 3 This is the overall architecture diagram of the generative adversarial network of the present invention;

[0025] Figure 4 This is a structural diagram of the generator network model of the present invention;

[0026] Figure 5 It is a structural diagram of the discriminator network model of the present invention;

[0027] Figure 6 This is a segmentation result diagram of the DRIVE data set of Example 1 of the present invention;

[0028] Figure 7 This is the segmentation result diagram of the STARE dataset in Example 1 of the present invention. DETAILED DESCRIPTION

[0029] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0030] The present invention discloses a retinal blood vessel segmentation method based on a generative adversarial network. Figure 3 As shown, it consists of the following steps:

[0031] Step S1: Preprocess the fundus retinal image set to obtain a training image set.

[0032] Step S2: Construct a GAN-based retinal vessel segmentation model.

[0033] Step S3: Using the training image set to train the retinal blood vessel segmentation model,

[0034] Step S4: Segment the fundus retinal image to be segmented using the trained retinal blood vessel segmentation model, and output the segmented sub-images.

[0035] Step S5: splicing the segmented sub-images to obtain a complete retinal blood vessel segmentation image.

[0036] Among them, Figure 4 As shown, the generation network of the retinal blood vessel segmentation model is to connect two encoding and decoding U-type networks in parallel using Ladder Net.

[0037] Each of the codec U-type networks comprises:

[0038] The four first structural blocks, the hole convolution module, and the four second structural blocks are connected in sequence.

[0039] Each of the first structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0040] Each of the second structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0041] like Figure 5 As shown, the discriminant network of the retinal blood vessel segmentation model includes four third structural blocks connected in sequence, an average pooling layer, and a fully connected layer, and each of the third structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0042] The preprocessing method is to sequentially perform RGB green channel conversion, contrast-limited histogram equalization and gamma correction, and the preprocessing method also includes: expansion and rotation.

[0043] Before step S1, in order to obtain the fundus retinal images in the public DRIVE and STARE datasets as the dataset, the preprocessing is to perform image enhancement preprocessing on the dataset by RGB green channel conversion, contrast-limited histogram equalization, and gamma correction method, such as Figure 1 As shown in the figure, the contrast between the background and the blood vessels is enhanced and the noise interference is reduced, which is beneficial to the subsequent segmentation of the blood vessels; the preprocessing also includes expanding the data set and rotating the data set to increase the number of data sets, such as Figure 2 As shown, it avoids the overfitting problem in the training model when the amount of data is too small.

[0044] Step S1 extracts the green channel with high contrast between blood vessels and background from the fundus image of the training set, so as to better observe the fine blood vessel texture; then contrast limited adaptive histogram equalization (CLAHE) is used for data enhancement to increase the contrast of local areas of the image and reduce the interference of background noise to a certain extent; finally, gamma correction is used to perform nonlinear operations on the image so that the pixels of the image after correction are exponentially related to those before correction, and the fundus image is corrected for being too white or too dark due to uneven light. By checking the dark and light areas in the fundus image and increasing the difference in their proportions, the contrast between the image background and the blood vessels is increased; the preprocessed data set is expanded and rotated to increase the number of data sets to avoid the overfitting problem in the training model due to too small a data volume.

[0045] The codec U-type network is an improved U-type structure in the convolutional neural network. Two improved codec U-type networks are connected in parallel to form a W-type network model. Since the U-type convolutional neural network has only one pair of encoders and decoders, the information flow path is limited. Combined with the concept of multiple pairs of encoders and decoders in Ladder Net, two improved codec U-type network structures are connected in parallel, which has many more information flow paths than the original network structure.

[0046] The generative network of the present invention is responsible for extracting feature information of the input image, and uses Ladder Net to connect two codec U-type networks in parallel. The codec U-type network includes four first structural blocks connected in sequence, a hole convolution module, and four second structural blocks. The first structural blocks all include convolutional layers, residual modules, and pooling layers connected in sequence, and the second structural blocks all include convolutional layers, residual modules, and pooling layers connected in sequence.

[0047] The size of the convolutional layers of the generated network is 3×3, the number of feature channels is 64, and the shared-weights Resblock is used to replace the original convolutional module. The Relu activation function and BN layer are used to solve the problem of poor network generalization ability caused by too many network layers, which is used to improve the feature utilization rate. The step size of the pooling layer is 2.

[0048] The original convolutional layer module at the bottom of the codec U-shaped network is replaced with a dilated convolution module, which reduces the feature map to 1 / 2 of the original size. The dilated convolution module adds a dilation rate parameter of 3 compared to the original convolution block. The receptive field is expanded, more image details are retained, and the problem of incomplete details of blood vessel segmentation is prevented.

[0049] The discriminant network decoding part of the retinal vascular segmentation model is responsible for restoring image detail information for upsampling the extracted features. The discriminant network includes four third structural blocks connected in sequence, an average pooling layer, and a fully connected layer. Each of the third structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

[0050] The size of the convolution layer of the discriminant network is also 3×3, and the structure is the same as that of the generative network. The highest decoding layer is a 1×1 convolution layer, which is used to output the segmentation results. The discriminant network introduces a residual module, and the convolutions used are all 3×3 convolution operations. The input data is first extracted through a convolution of size 3×3 and stride 2. After BN speeds up the training speed, and the Relu activation function increases the nonlinear changes of the network architecture, a convolution of size 3×3 and stride 1 is used to extract features while ensuring that the resolution of the feature map remains unchanged; then after a Res Block structure, the maximum pooling layer Maxpooling is used for dimensionality reduction, and the same downsampling operation is performed four times in total; then an average pooling kernel of the same size as the feature map is used to perform a global average pooling Avg pooling operation on the feature map, and finally a fully connected layer FC operation is used to obtain a final output score, which is used to judge the "true or false" of the input image.

[0051] Introducing the attention mechanism in the decoding and encoding stages, the attention mechanism is used to perform a weighted operation similar to the mask mechanism on the features from the contraction path through the jump connection, so that the weight of important features is larger, the weight of minor features is very small, or even directly discarded, so that the network can concentrate on processing those important features;

[0052] Since there is only one pair of encoder-decoders and the information flow path is limited, the improved U-shaped network structure is combined with the concept of multiple pairs of encoder-decoders of Ladder Net, and the two improved U-shaped network structures are connected in parallel. The concept of parameter sharing residual is used to reduce the number of parameters and increase the amount of information flow. The two U-shaped structures are connected by skipping, that is, the number of channels is added and connected in parallel. It can be seen from the model that the improved W-shaped network structure has many information flow paths compared to the original network structure. Therefore, the retinal vascular segmentation network model has the ability to capture complex features and obtain higher accuracy.

[0053] The loss function of the generative adversarial network is:

[0054]

[0055] Where x represents the real image data, Z represents random noise, G(Z) represents the output of the generative model, D(x) represents the output of the discriminative model for the real training sample, D(G(Z)) represents the output of the generated model for the generated image, and P date (x) represents the distribution of real training samples, P Z (Z) represents the input noise distribution, and E represents the mathematical expectation. For any input image, the discriminant model D outputs a value in the interval [0,1]. The optimization process can be regarded as the optimization of the generative model and the discriminant model.

[0056] The present invention optimizes and improves the problems of low sensitivity and insufficient segmentation of fine blood vessels in single network training of traditional convolutional neural networks. For the generator model, which is the codec structure of the convolutional neural network, an improved U-type network model with residual module, hole convolution and attention mechanism is proposed for further transformation. Combined with Ladder Net, the concept of multiple pairs of encoders and decoders of Ladder Net is introduced into the original improved U-type network structure, two improved U-type networks are connected in parallel, and the traditional residual module is improved into a parameter-sharing residual module. The recurrent layer composed of two convolutional layers with shared parameters is set for training, so as to capture complex feature points in the image, thereby improving the segmentation accuracy; for the discriminator model, Res Block is introduced to prevent network degradation problems.

[0057] Through alternating iterative training of the two, a network model with good segmentation performance is generated. Experimental studies have confirmed that the algorithm model in this paper can achieve an accuracy, specificity and sensitivity of 96.84% and 96.87%, 98.46% and 98.61%, 83.26% and 83.94% on the DRIVE and STARE fundus datasets, respectively, and can better learn vascular features, thereby training the algorithm model to achieve more accurate and sensitive segmentation of retinal vessels.

[0058] Example 1

[0059] 1. Get the data

[0060] Fundus image enhancement improves the contrast between the target blood vessels and the background of the fundus image to highlight the details of the blood vessels. The experimental object is the DRIVE dataset, which is one of the most widely used standard libraries in the field of retinal image processing. The storage format of the DRIVE database image is JPEG. The image is captured using a Canon CR53CCD non-mydriatic camera with a 45-degree field of view, resulting in an image of 768×584 pixels in size. The field of view is circular. DRIVE directly divides 40 color fundus images into two groups, namely training set and test set, 20 images each. Users do not need to group them separately, which is more convenient to use. The STATE dataset is a database established with funding from the American Medical Institute to study fully automatic diagnosis of human eye diseases. The images in the dataset are taken at an angle of 35 degrees using a TopCon-50 camera. The image size is 700×605 pixels, with a total of 20 images. Among the 20 images that can be used to compare the results with the manually annotated images by experts, there are 10 normal and lesion fundus images, all with manually annotated segmentation maps by experts.

[0061] Dataset preprocessing This part of the processing is to extract the green channel with high contrast between blood vessels and background from the fundus images of the training set, which can better observe the subtle blood vessel texture; then use contrast-limited adaptive histogram equalization CLAHE to enhance the data to increase the contrast of local areas of the image and reduce the interference of background noise to a certain extent; finally, use gamma correction to perform nonlinear operations on the image so that the pixels of the image after correction are exponentially related to those before correction, correct the fundus image that is too white or too dark due to uneven light, and increase the contrast between the image background and blood vessels by checking the dark and light areas in the fundus image and increasing the difference in their proportion. The effect diagram is shown below. Figure 1 As shown, there are fundus image, green channel image, CLAHE processing, and gamma transform processing in sequence.

[0062] Since the development of deep learning cannot be separated from the support of large-scale data, small batches of data will not only fail to achieve good results but may also cause overfitting problems. However, since data collection of medical images is difficult and the amount of data is often small, data must be augmented when using deep learning network training. The training set data set is expanded, and the enhanced image is randomly cropped for patch processing, and the image is cropped into 48×48 small blocks as the data set. This method can remove the influence of noise while preserving the fundus image features more completely. The experiment requires randomly selecting the center from the complete fundus retinal image to crop a sub-image of uniform size, and the selection range of the sub-image includes patches outside the field of view, so that the neural network can learn how to distinguish the field of view boundaries and blood vessels.

[0063] 2. Constructing a retinal blood vessel segmentation model

[0064] Generator model part:

[0065] The structure is an improvement of the U-shaped structure in the convolutional neural network, and two improved U-shaped networks are connected in parallel to form a W-shaped network model. First, the encoding part of the U-shaped network structure is responsible for extracting the feature information of the input image. The encoding stage consists of four structural blocks for image feature extraction. Each structural block is composed of downsampling and convolution layers. The size of the convolution layer is 3×3, the number of feature channels is 64, and the shared parameter residual module (Shared-weights Resblock) is used to replace the original convolution module. The Relu activation function and BN layer are used to solve the problem of poor network generalization ability caused by too many network layers, which is used to improve the feature utilization rate. The structural blocks are connected through a pooling layer with a step size of 2.

[0066] Secondly, the original convolution layer module at the bottom of the U-shaped network model is replaced with a dilated convolution module, reducing the feature map to 1 / 2 of the original size. The dilated convolution module added in this paper increases the dilation rate parameter of 3 compared to the original convolution block, and the receptive field is enlarged, retaining more image details and preventing the problem of incomplete details of blood vessel segmentation.

[0067] Secondly, the decoding part is responsible for restoring image detail information. In the decoding stage, it consists of four structural blocks to upsample the extracted features. Each structural block consists of upsampling and convolution layers. The size of the convolution layer is 3×3, and the structure is the same as the encoding module. The highest decoding layer is a 1×1 convolution layer to output the segmentation result. The attention mechanism is introduced in the decoding and encoding stages. The attention mechanism is used to perform a weighted operation similar to the mask mechanism on the features from the contraction path through the jump connection, so that the weight of important features is larger, the weight of secondary features is very small, or even directly discarded, so that the network can concentrate on processing those important features. The specific operation is that this part receives a feature map from a skip connection and a feature map from upsampling. These two feature maps are respectively adjusted to half of the number of channels through a 1x 1 convolution, and the sizes of the two tensors are guaranteed to be exactly the same. Then, the corresponding elements of the two tensors are added together to obtain the result, and then a 1×1 convolution is used to convert it into a tensor with the same size as the input feature map but 1 channel. The tensor is passed through a Sigmoid function to change its value range to 0-1. The result is used as a weight matrix and multiplied by the corresponding elements of the tensor obtained by the skip connection using the broadcast mechanism, so that the values ​​in the skip connection are weighted to different degrees of importance. Combined with the skip connection structure of the original U-Net network, the fusion of multiple features effectively reduces the probability of retinal vascular information loss, improves segmentation accuracy, and restores image information.

[0068] Finally, since there is only one pair of encoders and decoders, the information flow path is limited, so the improved U-shaped network structure is combined with the concept of multiple pairs of encoders and decoders of Ladder Net, and the next path is connected by skipping, that is, the number of channels is added, and connected in parallel. The structure is the same as the encoding stage, which is the encoding path and the decoding path respectively, and the parameter sharing residual concept is used. This module consists of two 3×3 convolutions. Unlike the traditional residual module, these two convolutions share parameters and add Relu activation functions and optimization functions such as BN and Dropout to prevent overfitting and gradient explosion, thereby reducing the number of parameters and increasing the amount of information flow. The two U-shaped structures are connected by skipping, that is, the number of channels is added, and connected in parallel. It can be seen from the model that the improved W-shaped network structure has many information flow paths compared to the original network structure, so the retinal vascular segmentation network model has the ability to capture complex features and obtain higher accuracy, such as Figure 4 As shown in Figure 1, it is a schematic diagram of the complete structure of the generator model.

[0069] Discriminator model part:

[0070] The discriminator introduces a residual module, and the convolutions used are all 3×3 convolution operations. The input data is first extracted through a 3×3 convolution with a step size of 2. After BN speeds up the training speed, and the Relu activation function increases the nonlinear changes in the network architecture, a 3×3 convolution with a step size of 1 is used to extract features while ensuring that the resolution of the feature map remains unchanged; then a Res Block structure is used and the maximum pooling layer Max pooling is used for dimensionality reduction, and the same downsampling operation is performed four times in total; then an average pooling kernel with the same size of 20 as the feature map is used to perform a global average pooling Avg pooling operation on the feature map, and finally a fully connected layer FC operation is used to obtain a final output score. The final output score is used to judge the "true or false" of the input image, such as Figure 5 As shown in Figure 1, it is a schematic diagram of the complete structure of the discriminator model.

[0071] GAN retinal blood vessel segmentation part:

[0072] The design of the retinal blood vessel segmentation network model is divided into a generative model G and a discriminative model D. Both G and D are convolutional neural network structures. The goal of G training is to generate segmentation results that are indistinguishable from the real thing, so that D cannot correctly distinguish between positive and negative samples. The goal of D training is to maximize the classification accuracy, with the output for positive samples approaching 1 and the output for negative samples approaching 0. The training method for G and D is to train them separately and alternately, and confront each other until Nash equilibrium is reached. GAN can train a network model that better fits real data.

[0073] The method of the present invention was tested on the DRIVE and STARE fundus image databases. The retinal segmentation results are shown in Figure 2. Figure 6 and Figure 7 As shown, Figure 6 and Figure 7 The left column is the original fundus image, the middle column is the standard fundus vascular image manually segmented, and the right column is the fundus vascular segmentation result obtained in this embodiment.

[0074] Through observation, it can be seen from the figure that the model algorithm has a relatively good result in retinal blood vessel segmentation, which is basically consistent with the standard image result of manual segmentation by experts, and is more obvious and clear in the feature segmentation of the main blood vessels. The model method proposed in the present invention can better learn the characteristics of the data set, so as to train the model to make the blood vessel segmentation less noisy, the blood vessels clearer, the small blood vessels segmented accurately, the mis-segmentation and under-segmentation less, and the accuracy rate higher.

[0075] Aiming at the shortcomings of its vascular segmentation, the method of the present invention constructs a new improved algorithm model based on GAN. For the generator model, which is the encoding and decoding structure of the convolutional neural network, an improved U-type network model with residual module, hole convolution and attention mechanism is proposed for further transformation. Combined with Ladder Net, the concept of multiple pairs of encoders and decoders of Ladder Net is introduced into the original improved U-type network structure, and two improved U-type networks are connected in parallel. The traditional residual module is improved into a parameter-sharing residual module, and a cyclic layer composed of two convolutional layers with shared parameters is set for training, so as to capture complex feature points in the image, thereby improving the segmentation accuracy; for the discriminator model, Res Block is introduced to prevent the network degradation problem. Through alternating iterative training of the generative model and the discriminative model, the generative model is continuously optimized, and finally a network model with good segmentation ability is obtained, and test experiments are carried out on two public fundus datasets, DRIVE and STARE. The vascular segmentation accuracy on the DRIVE and STARE databases reached 0.9684 and 0.9687, the specificity reached 0.9846 and 0.9861, and the sensitivity reached 0.8326 and 0.8394. Compared with other convolutional networks, the sensitivity has been greatly improved, the problems of under-segmentation and over-segmentation of subtle blood vessels have been greatly improved, and the overall performance of the network is better than the existing segmentation algorithms.

[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A retinal blood vessel segmentation method based on generative adversarial network, It is characterized in that It consists of the following steps: Step S1: Preprocess the fundus retinal image set to obtain a training image set. Step S2: Construct a GAN-based retinal vessel segmentation model. Step S3: Using the training image set to train the retinal blood vessel segmentation model, Step S4: Segment the fundus retinal image to be segmented using the trained retinal blood vessel segmentation model, and output the segmented sub-images. Step S5: splicing the segmented sub-images to obtain a complete retinal blood vessel segmentation image. The generation network of the retinal blood vessel segmentation model is to connect two encoding and decoding U-type networks in parallel using Ladder Net. Each of the codec U-type networks comprises: The four first structural blocks, the hole convolution module, and the four second structural blocks are connected in sequence. Each of the first structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence. Each of the second structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence; The discriminant network of the retinal blood vessel segmentation model includes four third structural blocks connected in sequence, an average pooling layer, and a fully connected layer, and each of the third structural blocks includes a convolutional layer, a residual module, and a pooling layer connected in sequence.

2. The retinal blood vessel segmentation method based on a generative adversarial network according to claim 1, It is characterized in that The preprocessing method is to sequentially perform RGB green channel conversion, contrast-limited histogram equalization and gamma correction.

3. A retinal blood vessel segmentation method based on a generative adversarial network according to claim 1 or 2, It is characterized in that The preprocessing method also includes: expansion and rotation.

Citation Information

Patent Citations

  • Fundus retina image segmentation method based on generative adversarial network

    CN110570446A

  • Blood vessel segmentation network and method based on generative adversarial network

    CN111127447A