Retinal vascular image segmentation method based on multi-channel U-shaped fully convolutional neural network with balanced sampling and splicing

By using a combination of balanced sampling splicing and multi-channel U-Net network in retinal image segmentation, the problems of insufficient sample data and low performance of unsupervised methods in the existing technology are solved, and high-precision and robust retinal blood vessel images are achieved. segmentation.

CN112085745BInactive Publication Date: 2024-10-18FUJIAN AGRI & FORESTRY UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202010931829.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing retinal image segmentation technology has shortcomings in high accuracy and robustness, especially the over-fitting problem caused by insufficient sample data volume, and the performance of unsupervised methods is low, making it difficult to achieve high quality in healthy retinal images. segmentation.

Method used

A multi-channel U-shaped fully convolutional neural network based on balanced sampling splicing is used to enhance the color difference between blood vessels and background through histogram equalization and gamma correction preprocessing, and expand the training data through multi-scale equalization sampling random splicing, combining the three Channel U-Net network utilizes color information for blood vessel segmentation.

Benefits of technology

It improves the accuracy and robustness of retinal blood vessel image segmentation, avoids over-fitting problems, enhances the diversity of the model and the quality of training data, and achieves high-precision blood vessel segmentation effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112085745B_ABST
    Figure CN112085745B_ABST
Patent Text Reader

Abstract

The present invention proposes a retinal vascular image segmentation method based on a multi-channel U-type fully convolutional neural network with balanced sampling and splicing, comprising the following steps: step S1: pre-processing the original color retinal image by three-channel histogram equalization combined with characteristic value gamma correction; step S2: constructing multi-scale equalization to divide the sampling points and then randomly splicing the image blocks to expand the data samples; step S3: normalizing the image data; step S4: inputting the normalized image data into the retinal vascular segmentation model to perform retinal vascular network segmentation; the retinal vascular segmentation model is obtained by training the normalized image data generated by the training set through a color-sensitive three-channel U-Net fully convolutional network. It has great advantages in accuracy, sensitivity, specificity and AUC.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of biomedical image processing, and in particular to a retinal vascular image segmentation method based on a multi-channel U-shaped fully convolutional neural network with balanced sampling and splicing. Background Art

[0002] By observing the state of retinal blood vessels, doctors can obtain partial information about the human body in a non-invasive and non-invasive manner, which can further assist in the diagnosis of diseases. However, the information about retinal blood vessels generally needs to be extracted through retinal image segmentation technology, which is an image processing problem.

[0003] There are two main categories of existing retinal image segmentation: (1) Unsupervised retinal image segmentation. Unsupervised methods find the inherent patterns of blood vessels in fundus images to determine whether a pixel belongs to a blood vessel. The algorithm itself does not rely on training data or manually labeled gold standards. Such as multi-scale matching filter algorithms and clustering algorithms. (2) Supervised retinal image segmentation; in supervised methods, the rules for blood vessel extraction are learned through algorithms based on manually labeled training sets and test images are segmented. The blood vessel structure as the gold standard is accurately marked by ophthalmologists. Supervised methods are designed based on pre-classified data, and their performance is usually better than unsupervised methods, and very good segmentation results can be obtained in healthy retinal images. Such as algorithms based on SVM classifiers, AdaBoost classifiers, and deep convolutional neural networks. Using supervised algorithms using machine learning to achieve high-precision segmentation of retinal vessels by training segmentation models has become a research hotspot in recent years. Summary of the invention

[0004] In view of the gap in the prior art, the purpose of the present invention is to provide a retinal blood vessel segmentation method based on a multi-channel U-shaped fully convolutional neural network with balanced sampling and splicing. This method obtains an image with a large color difference between the blood vessel structure and the background through a special preprocessing strategy, enhances the characteristics of the blood vessel structure, and suppresses the background at the same time. The multi-channel U-Net is used to fully utilize the color information in the image to lay the foundation for the subsequent accurate extraction of blood vessels. At the same time, the multi-scale balanced sampling random splicing strategy is used to expand the number of samples, improve the diversity and robustness of training data, avoid the problem of over-model training and overfitting due to insufficient sample data, and provide a guarantee for further high-precision blood vessel segmentation.

[0005] First, the data is preprocessed by histogram equalization combined with characteristic value gamma correction to improve the color difference between blood vessels and background; then, the image blocks are randomly spliced ​​after sampling by sampling the equalized image block division method with multi-scale fixed center points to expand the image data; finally, the retinal blood vessel segmentation model is generated by model training of the color-sensitive three-channel U-Net network to achieve accurate segmentation of retinal blood vessels. In the segmentation network, this method selects the U-Net architecture that supports three color component inputs to construct a color-sensitive multi-channel U-Net fully convolutional network. Therefore, in preprocessing, the histogram of the three color components is first used to perform histogram equalization and adjust the gamma value shrinkage equalization to improve the color difference; multi-scale equalization sampling further enhances the diversity and robustness of the training set, prevents the problem of over-model training fitting due to insufficient data, and enables the algorithm to gain greater advantages in accuracy, sensitivity, specificity and AUC.

[0006] The present invention specifically adopts the following technical solutions:

[0007] A retinal vascular image segmentation method based on a multi-channel U-shaped fully convolutional neural network with balanced sampling and splicing, characterized in that it comprises the following steps:

[0008] Step S1: preprocessing the original color retinal image using three-channel histogram equalization combined with characteristic value gamma correction;

[0009] Step S2: construct multi-scale equalization to divide the sampling points and then perform random splicing of image blocks to expand the data samples;

[0010] Step S3: normalizing the image data;

[0011] Step S4: input the normalized image data into the retinal vascular segmentation model to perform retinal vascular image segmentation; the retinal vascular segmentation model is obtained by training the normalized image data generated by the training set through a color-sensitive three-channel U-Net fully convolutional network.

[0012] Preferably, step S2 specifically includes the following steps:

[0013] Step S21: determining the number of image blocks that can be divided without duplication in the image according to the size of a given image block;

[0014] Step S22: Calculate the fixed center point coordinates of each image block and divide the image into equal image blocks;

[0015] Step S23: randomly taking out a certain number of image blocks from the image block list and splicing them into a new image of the same size as the original one.

[0016] Preferably, the color-sensitive three-channel U-Net fully convolutional network adopts a three-channel input to learn information on each color component based on the U-Net network model architecture, and adds Padding to ensure the consistency of the structural characteristics of the input image and the output image; the network structure has independent convolution kernels for the three color components, and the network includes a convolution layer and a RELU activation function, a pooling layer, upsampling and short connections; after the image is processed by the network, a predicted segmentation image with a binary channel of 1 and the same size as the original image is generated, and the predicted segmentation image is used to calculate the loss function with the real segmentation image.

[0017] Preferably, the color-sensitive three-channel U-Net full convolutional network uses a binary cross entropy loss function, and the pixel mapping adopts a Sigmoid function. The loss function is expressed as:

[0018]

[0019] Among them, P0 represents the probability of the pixel being a vascular structure under the true value image, P1 represents the probability of the pixel being a non-vascular structure under the true value image, N is the total number of pixels, is the probability that a pixel is output as a blood vessel pixel under the Sigmoid function mapping, is the probability that a pixel is output as a non-vascular pixel under the Sigmoid function mapping.

[0020] Compared with the prior art, the present invention and its preferred embodiments have the following beneficial effects:

[0021] 1. The present invention uses histogram equalization combined with characteristic value gamma correction to pre-process image data, enhance the contrast between background and vascular structure, and lay the foundation for subsequent accurate segmentation of blood vessels;

[0022] 2. The present invention adopts a training data processing scheme based on random splicing of multi-scale fixed center point balanced image blocks after sampling, which expands the number of images in the data set without reducing the robustness of the training samples, thereby preventing model misjudgment and overfitting problems caused by the imbalance of the training set and insufficient data volume.

[0023] The multi-channel U-Net network adopted in the present invention fully utilizes the color information of the retinal image and combines the preprocessing and sampling strategies to achieve high-precision prediction of the retinal vascular image. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0025] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present invention; DETAILED DESCRIPTION

[0026] In order to make the features and advantages of this patent more obvious and easy to understand, the following embodiments are specifically described in detail with the accompanying drawings as follows:

[0027] like Figure 1 As shown, the training process of the retinal vascular image segmentation method based on the multi-channel U-shaped full convolutional neural network with balanced sampling and splicing provided in this embodiment includes the following steps:

[0028] First, the training set images are enhanced by using histogram equalization combined with characteristic value gamma correction preprocessing. Then, a balanced sampling and data expansion strategy is used to divide the image blocks with a fixed center point at multiple scales and randomly splice the data samples. Finally, a retinal vascular segmentation model is generated by training the U-Net fully convolutional network with color-sensitive three-channel input.

[0029] In the testing step, after preprocessing, the trained retinal vascular segmentation model is used to achieve accurate prediction and segmentation of the retinal vascular network.

[0030] In this embodiment, the specific implementation method of enhancing the retinal image by using histogram equalization combined with characteristic value gamma correction preprocessing is: the histogram equalization is designed to perform histogram equalization on the color components of the three channels in order to achieve a larger color difference. However, after the histogram equalization enhancement, the color difference of the image can still be further enhanced. Therefore, the image after equalization is corrected with a gamma value selected according to the image characteristics to compress the histogram, increase the visibility of the vascular structure, and improve the contrast between the target retinal vascular structure and the background.

[0031] The implementation method of the balanced sampling and data expansion strategy of randomly splicing data samples after multi-scale fixed center point image block division is as follows: first, according to the size of the image block, determine how many image blocks can be divided without repetition in the image, calculate the fixed center point coordinates of each image block in the image, divide the image into equal image blocks, and then randomly take out a certain number of image blocks from the image block list to splice into a new image of the same size as the original. In this way, although the image block division is not randomized, the random sampling and splicing of a large number of image block samples can still expand the number of images in the data set without reducing robustness. At the same time, because the balanced image block sampling is achieved by a fixed center point method, it is ensured that every image has sampling at any position, preventing the model from being misjudged due to overfitting caused by the appearance of masks in the training samples and the small number of their boundaries. On this basis, this embodiment chooses to sample image blocks of different scales: a new image is composed of image blocks of 7 scales, namely 4, 16, 25, 49, 64, 100, and 196. Fifteen randomly spliced ​​new data of each scale are used to enhance the training samples of different scales and add the training images of the original data set to form 125 training image data, thereby preventing overfitting due to insufficient data and enhancing the robustness of the training samples.

[0032] In this embodiment, the data normalization strategy is specifically implemented as follows: since three-channel data input is used, and for the consistency of data processing, each color component of each image data in the three channels is normalized. The processing before the image is input into the network is all image normalization post-processing, such as the characteristic gamma value correction in other pre-processing steps, which also has a normalization operation, but it will be restored when the image is saved.

[0033] The color-sensitive three-channel input U-Net full convolutional network of this embodiment adopts the U-Net network model architecture. The difference from the original network is that it uses 3-channel input to learn the information on each color component, and adds Padding to ensure the consistency of the structural characteristics of the input image and the output image. At the same time, since the network structure has some independent convolution kernels for the three color components, the U-Net is more sensitive to color differences. The network includes convolutional layers and RELU activation functions, pooling layers, upsampling and short connections. After the image is processed by the network, a predicted segmentation image with a binary channel of 1 and the same size as the original image is generated at the end. It will be used to calculate the loss function with the real segmentation image to further improve the network.

[0034] The implementation method of generating the retinal vascular segmentation model by training the U-Net fully convolutional network with color-sensitive three-channel input is as follows: First, read the pre-set parameter information at the beginning of model training. Then, read the input image list, because the pre-processed image is normalized when input to the network. After the optimizer optimizes the learning rate, the training sample is input into the network to predict the segmentation image, and the loss function value between it and the true value image is calculated. Since the true value segmentation map is fixed, the true value distribution information entropy is also fixed. In this network, the binary cross entropy loss function (Cross Entropy Loss) is used. At the same time, in order to alleviate the problem of sample imbalance, the Sigmoid function is used for pixel mapping. The loss function is expressed as:

[0035]

[0036] P0 represents the probability that the pixel is a vascular structure in the label image, P1 represents the probability that the pixel is a non-vascular structure in the label image, N is the total number of pixels, is the probability that a pixel is output as a blood vessel pixel under the Sigmoid function mapping, is the probability that a pixel is output as a non-vascular pixel under the Sigmoid function mapping.

[0037] Then the network is updated using the back propagation algorithm, and the cycle continues until the training is completely completed and the network model is generated. The test image is subjected to the same preprocessing and sampling method as the training sample, and then input into the generated network model to obtain the predicted image of the vascular network.

[0038] This patent is not limited to the above-mentioned optimal implementation mode. Anyone can derive other forms of retinal vascular image segmentation methods based on balanced sampling and splicing multi-channel U-shaped full convolutional neural network under the inspiration of this patent. All equal changes and modifications made according to the scope of the patent application of the present invention should be covered by this patent.

Claims

1. A retinal vascular image segmentation method based on a multi-channel U-shaped fully convolutional neural network with balanced sampling and splicing. It is characterized in that The following steps are involved: Step S1: Preprocess the original color retinal image using three-channel histogram equalization combined with characteristic value gamma correction: The histogram equalization is designed to perform histogram equalization on the color components of the three channels in order to achieve a larger color difference; the equalized image is then subjected to gamma correction selected according to the image characteristics to compress the histogram, increase the visibility of the vascular structure, and improve the contrast between the target retinal vascular structure and the background; Step S2: construct multi-scale equalization to divide the sampling points and then perform random splicing of image blocks to expand the data samples; Step S3: normalizing the image data; Step S4: inputting the normalized image data into a retinal vascular segmentation model to perform retinal vascular image segmentation; the retinal vascular segmentation model is obtained by training the normalized image data generated by the training set through a color-sensitive three-channel U-Net fully convolutional network; Step S2 specifically includes the following steps: Step S21: determining the number of image blocks that can be divided without duplication in the image according to the size of a given image block; Step S22: Calculate the fixed center point coordinates of each image block and divide the image into equal image blocks; Step S23: randomly taking out a certain number of image blocks from the image block list and splicing them into a new image of the same size as the original one; The color-sensitive three-channel U-Net fully convolutional network adopts the U-Net network model architecture, uses three-channel input to learn the information on each color component, and adds Padding to ensure the consistency of the structural characteristics of the input image and the output image; the network structure has independent convolution kernels for the three color components, and the network includes a convolution layer and a RELU activation function, a pooling layer, upsampling and short connections; after the image is processed by the network, a binary predicted segmentation image with a channel of 1 and the same size as the original image is generated, and the predicted segmentation image is used to calculate the output value of the loss function with the real segmentation image; The color-sensitive three-channel U-Net full convolutional network uses a binary cross entropy loss function, and the pixel mapping uses a Sigmoid function. The loss function is expressed as: Among them, P 0 Indicates the probability that the pixel is a vascular structure in the true value image, P 1 represents the probability that the pixel is a non-vascular structure in the true value image, N is the total number of pixels, is the probability that a pixel is output as a blood vessel pixel under the Sigmoid function mapping, is the probability that a pixel is output as a non-vascular pixel under the Sigmoid function mapping.

Citation Information

Patent Citations

  • A retinal blood vessel image segmentation method based on a multi-scale feature convolutional neural network

    CN108986124A

  • Color fundus image blood vessel segmentation method based on U-net convolutional neural network

    CN109859146A

  • Method for de-hazing image data on the basis of histogram equalization

    WO2015176631A1