Image segmentation method, system and storage medium

By using the pyramid independent depth hole grouped convolution block and the hole pyramid convolution block in the image segmentation model, combined with the residual unit and skip connection, the problem of redundant information transmission is solved, the accuracy and performance of the model are improved, and the More accurate image segmentation.

CN114066903BActive Publication Date: 2024-10-29BEIJING INFORMATION SCI & TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111397432.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2024-10-29
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

In the existing technology, image segmentation models tend to transmit redundant and unnecessary information when transmitting information, resulting in performance degradation, and increasing model depth will lead to increased training difficulty and excessive resource usage.

Method used

Pyramid independent deep hole grouped convolution block (PSDB) is used for information purification, and hole pyramid convolution block and residual unit are used in the encoding and decoding paths to fuse feature data of different scales through skip connection operation to reduce unnecessary information. transfer.

Benefits of technology

It improves the accuracy and performance of the model, makes the image segmentation results more accurate, and reduces the complexity and resource usage of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114066903B_ABST
    Figure CN114066903B_ABST
Patent Text Reader

Abstract

The invention discloses an image segmentation method, system and storage medium, and relates to the technical field of image segmentation. In the invention, the first layer of the encoder path uses a hole pyramid convolution block DPB and a standard convolution layer to perform convolution on the image to be segmented, and the convolved data is purified by using a pyramid independent depth hole group convolution block PSDB in other layers of the encoder path, and feature extraction is performed using a residual unit; the data processed by the last layer of the encoder is input into the bottleneck layer for convolution, and a bilinear up operation is performed, and then each layer of the decoder path splices the data output by the corresponding encoder layer with the data after the bilinear up operation of the next layer, and performs convolution and dimensionality reduction, and finally obtains an image segmentation map. The invention provides an image segmentation method, which can effectively improve the image segmentation performance, make the image segmentation result more accurate, and the segmentation recognition result closer to the actual result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image segmentation, and more particularly to an image segmentation method, system and storage medium. Background Art

[0002] In recent decades, magnetic resonance imaging (MRI) technology has been widely used in the medical field and has greatly promoted the development of medicine, neurophysiology and cognitive neuroscience. Among them, brain MRI images are often used to quantitatively analyze and study brain tissue structure. Regarding brain tissue structure, it contains white matter, gray matter and cerebrospinal fluid. Segmenting MRI images into these structures helps clinicians diagnose neurological diseases such as Alzheimer's disease, epilepsy, Parkinson's disease, multiple sclerosis, schizophrenia, etc. Therefore, correct segmentation of tissue structure is the key to diagnosis. Since manual segmentation by experts is usually time-consuming and prone to human errors, it is not practical for research with a large workload, which reflects the necessity of automatic segmentation methods. Therefore, it is an urgent task to develop accurate automatic segmentation methods for brain tissue structure.

[0003] In recent years, deep learning-based methods have received widespread attention, especially convolutional neural networks (CNNs), which have shown high performance in semantic segmentation, object detection, and other areas. A U-net with a 'U'-shaped structure has been disclosed in the prior art. It uses skip connections to use multi-scale information and capture low-granularity and high-granularity information in the decoding path, which has promoted the development of medical image segmentation. The structure of Unet is symmetrical and consists of two parts: encoding and decoding. Encoding is mainly used to extract the spatial features of the original image, and decoding is to construct the extracted features into a segmentation map. However, since the skip connection is to transmit the encoded information to the decoder, it may also transmit redundant and unnecessary information. Therefore, how to reduce the transmission of unnecessary information and thus improve the performance of the network model has become an important research topic.

[0004] Although the prior art usually uses deeper network layers to improve the performance of the network model, this is accompanied by a corresponding problem: the network is difficult to train and degradation problems may also occur. In order to solve this problem, the prior art proposes a residual unit to promote training and solve the degradation problem. However, when applied to the network, it does not consider whether the features are fully extracted before the identity. The identity and output results are directly added, that is, the identity information occupies a large part. At the same time, the deeper the model, the more cumbersome the model will be and the more resources it will occupy.

[0005] In summary, how to purify model data before identity and skip connection, reduce the transmission of unnecessary information, and improve the performance of network models is a problem that technical personnel in this field urgently need to solve. Summary of the invention

[0006] In view of this, the present invention provides an image segmentation method, system and storage medium.

[0007] In order to achieve the above object, the present invention provides the following technical solutions:

[0008] An image segmentation method comprises the following steps:

[0009] Step 1: Input the image to be segmented into an encoder, wherein the path of the encoder is a multi-layer structure, and the first layer of the encoder path uses a dilated pyramid convolution block DPB and a standard convolution layer to perform a convolution operation;

[0010] Step 2: Downsample the data after the convolution operation in step 1, and use the pyramid independent depth hole grouped convolution block PSDB to purify information in each layer of the encoder path except the first layer, use the residual unit to extract features, and downsample;

[0011] Step 3: input the downsampled data of the last layer of the encoder path in step 2 into the bottleneck layer, and the bottleneck layer uses a standard convolutional layer to perform a convolution operation; the bottleneck layer is located in the next layer of the last layer of the encoder path;

[0012] Step 4: Input the data after the bottleneck layer convolution operation in step 3 into the decoder, the path of the decoder is a multi-layer structure, the first layer to the last layer of the decoder path corresponds to the first layer to the last layer of the encoder path, and the bottleneck layer is located in the next layer of the last layer of the decoder path; perform a bilinear up operation on the data after the bottleneck layer convolution operation in step 3, and each layer of the decoder path receives the data after the bilinear up operation of the next layer;

[0013] Step 5: Each layer of the decoder path except the first layer receives the data extracted from the corresponding encoder path layer in step 2 through the skip connection operation, concatenates the received data of the corresponding encoder path layer with the data after the bilinear up operation of the next layer, and uses the standard convolution layer to perform convolution operation and bilinear up operation;

[0014] Step 6. The first layer of the decoder path receives the data after the bilinear up operation of the next layer, and receives the data after the convolution operation in step 1 through the skipconnection operation, concatenates the data after the bilinear up operation of the next layer and the data after the convolution operation in step 1, and performs a convolution operation, and then uses a standard convolution layer with a convolution kernel k of 1 to perform convolution dimensionality reduction, and outputs an image segmentation map.

[0015] Optionally, the dilated pyramid convolution block DPB includes three dilated convolution layers and a splicing operation, the three dilated convolution layers are connected in parallel, the splicing operation is located after the three dilated convolution operation layers, and the convolution data is spliced;

[0016] The rates of the three dilated convolutions are 1, 2, and 3 respectively.

[0017] Optionally, the pyramid independent depth hole group convolution block PSDB includes three hole group convolution layers, a splicing operation, and a standard convolution layer with a convolution kernel k of 1, the three hole convolution layers are connected in parallel, the splicing operation is connected after the three hole convolution layers, the convolution data is spliced, and the standard convolution layer with a convolution kernel k of 1 is connected after the splicing operation;

[0018] The rates of the three dilated convolutions are 1, 2, and 3 respectively, and the groups of the three dilated group convolutions are equal to the number of input channels.

[0019] Optionally, before the image to be segmented is input into the encoder, a zero-score normalization method is used to perform data preprocessing on the image to be segmented.

[0020] Optionally, the encoder layer and the decoder layer both have four layers, wherein the first layer of the encoder uses a dilated pyramid convolution block DPB and a standard convolution layer to perform convolution operations, and the second, third, and fourth layers of the encoder all use a pyramid independent depth dilated grouped convolution block PSDB to purify information and use residual units to extract features, performing three information purification operations.

[0021] Optionally, the downsampling adopts a maximum pooling method.

[0022] Optionally, the bottleneck layer comprises two standard convolutional layers connected in series.

[0023] Optionally, the stitching operation is to stitch multiple image feature data of corresponding scales into one feature data.

[0024] The present invention also provides an image segmentation system, comprising:

[0025] An input module, used for inputting an image to be segmented;

[0026] An encoder module, used for extracting image features from the image to be segmented;

[0027] The bottleneck layer processing module is used to perform convolution operations on the data processed by the encoder module;

[0028] The decoder module is used to perform multi-scale fusion of feature data of different scales and perform convolution dimensionality reduction to obtain an image segmentation map;

[0029] An output module, used for outputting an image segmentation map;

[0030] The encoder module includes a dilated pyramid convolution block DPB, a pyramid independent depth dilated grouped convolution block PSDB, a standard convolution layer and a residual unit.

[0031] A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of an image segmentation method as described above.

[0032] It can be seen from the above technical solutions that the present invention discloses an image segmentation method, system and storage medium, which have the following beneficial effects compared with the prior art:

[0033] The present invention proposes a pyramid independent deep hole grouped convolution block (PSDB) to purify information, and determines the way and location of information purification in the encoding part, so as to expand the receptive field of the convolution kernel with only a small amount of parameters, thereby improving the accuracy of the model. In addition, the residual network structure is modified, and a more refined identity is added to the output to improve the performance of U-net. Based on the above-mentioned pyramid independent deep hole grouped convolution block (PSDB), an image segmentation method is provided, which fuses feature data of different scales through a splicing operation after a skip connection operation to achieve multi-scale fusion. Compared with the existing methods, the method of the present invention improves the segmentation performance of the model, makes the image segmentation results more accurate, and the segmentation and recognition results are closer to the actual results. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 Schematic diagram of the structure of the DPB of the hollow pyramid convolution block of the present invention;

[0036] Figure 2 It is a schematic diagram of the structure of the pyramid independent depth hole grouped convolution block PSDB of the present invention;

[0037] Figure 3 A schematic diagram of a model structure of an embodiment of the present invention;

[0038] Figure 4 The second set of data MRI images in the embodiment of the present invention;

[0039] Figure 5 This is a diagram of the MRI image segmentation result in an embodiment of the present invention;

[0040] Figure 6 is a flow chart of the method steps of the present invention;

[0041] Figure 7 It is a schematic diagram of the system structure of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] The embodiment of the present invention discloses an image segmentation method, see Figure 6 , including the following steps:

[0044] Step 1: Use the zero-score normalization method to perform data preprocessing on the image to be segmented, and input the preprocessed image to be segmented into the encoder. The path of the encoder is a multi-layer structure. The first layer of the encoder path uses a dilated pyramid convolution block DPB and a standard convolution layer to perform convolution operations.

[0045] The dilated pyramid convolution block DPB includes three dilated convolution layers and a splicing operation. The three dilated convolution layers are connected in parallel. The splicing operation is located after the three dilated convolution operation layers to splice the convolved data. The rates of the three dilated convolutions are 1, 2, and 3, respectively.

[0046] Step 2: Downsample the data after the convolution operation in step 1, and use the pyramid independent depth hole grouped convolution block PSDB to purify information in each layer of the encoder path except the first layer, use the residual unit to extract features, and downsample; the downsampling adopts the maximum pooling method.

[0047] The pyramid independent deep hole grouped convolution block PSDB includes three hole group convolution layers, a splicing operation, and a standard convolution layer with a convolution kernel k of 1. The three hole convolution layers are connected in parallel. The splicing operation is connected after the three hole convolution layers to splice the convolved data. The standard convolution layer with a convolution kernel k of 1 is connected after a splicing operation; the rates of the three hole convolutions are 1, 2, and 3 respectively, and the groups of the three hole group convolutions are equal to the number of input channels.

[0048] Step 3: Input the downsampled data of the last layer of the encoder path in step 2 into the bottleneck layer, and the bottleneck layer uses a standard convolutional layer to perform a convolution operation; the bottleneck layer is located in the next layer of the last layer of the encoder path.

[0049] Step 4: Input the data after the bottleneck layer convolution operation in step 3 into the decoder, the path of the decoder is a multi-layer structure, the first layer to the last layer of the decoder path corresponds to the first layer to the last layer of the encoder path, and the bottleneck layer is located in the next layer of the last layer of the decoder path; perform a bilinear up operation on the data after the bottleneck layer convolution operation in step 3, and each layer of the decoder path receives the data after the bilinear up operation of the next layer.

[0050] Step 5. Each layer of the decoder path except the first layer receives the data extracted from the corresponding encoder path layer in step 2 through the skip connection operation, concatenates the received data of the corresponding encoder path layer with the data after the bilinear up operation of the next layer, and uses the standard convolution layer to perform convolution operation and bilinear up operation.

[0051] Step 6. The first layer of the decoder path receives the data after the bilinear up operation of the next layer, and receives the data after the convolution operation in step 1 through the skipconnection operation, concatenates the data after the bilinear up operation of the next layer and the data after the convolution operation in step 1, and performs a convolution operation, and then uses a standard convolution layer with a convolution kernel k of 1 to perform convolution dimensionality reduction, and outputs an image segmentation map.

[0052] The splicing operation is to splice multiple image feature data into one feature data.

[0053] Wherein, the bottleneck layer includes two standard convolutional layers.

[0054] In a specific implementation process, the downsampling preferably adopts a maximum pooling method, and the maximum pooling Maxpooling is based on the preservation of the largest pixel in the receptive field.

[0055] An image segmentation system, see Figure 7 ,include:

[0056] An input module, used for inputting an image to be segmented;

[0057] An encoder module, used for extracting image features from the image to be segmented;

[0058] The bottleneck layer processing module is used to perform convolution operations on the data processed by the encoder module;

[0059] The decoder module is used to perform multi-scale fusion of feature data of different scales and perform convolution dimensionality reduction to obtain an image segmentation map;

[0060] An output module, used for outputting an image segmentation map;

[0061] The encoder module includes a dilated pyramid convolution block DPB, a pyramid independent depth dilated grouped convolution block PSDB, a standard convolution layer and a residual unit.

[0062] 1. Dilated Pyramid Convolution Block DPB

[0063] Due to the limitation of convolution kernel size, it is difficult for standard convolution to have a large receptive field. In the traditional design of encoder based on U-net network, this shortcoming will affect the segmentation result. Therefore, the present invention uses the dilated pyramid convolution block DPB to expand the receptive field of convolution operation during encoding. Figure 1 , which consists of 3 dilated convolutions, each with a different rate of 1, 2, and 3. This greatly expands the range of the receptive field and improves the model's ability to capture features. When rate = 1, it is no different from the standard convolution. When rate = 2, the convolution kernel captures information at every other pixel position. In other words, its step size is 2, that is, it takes one pixel of information every two grids, and the information between the two grids is directly ignored, so it expands the size of the convolution kernel.

[0064] The advantage of using dilated convolution is that the same parameter can be used to obtain information at different pixel positions, that is, it does not consume more resources to increase the size of the convolution kernel. However, dilated convolution has a disadvantage. If used improperly, it will bring a grid effect to the model, because it has a step size when expanding the size, and will ignore the information between two captured information points, thus causing a grid effect. The present invention needs to remedy this disadvantage, so it is necessary to use a dilated convolution with rate = 1, that is, a standard convolution to fill the hole. The size of the dilated convolution kernel and the size of the feature map can be calculated by the following formula:

[0065] n=k+(k-1)*(d-1)

[0066]

[0067] Among them, k is the size of the convolution kernel, d is the number of spaces stuffed into the convolution kernel, n is the size of the dilated convolution receptive field, p is the number of edge padding, s is the step size of the convolution, and o is the size of the feature map after the dilated convolution operation.

[0068] Then the information obtained from the three routes is concatenated to complement each other and capture features to the maximum extent. This is the same as the skip connection of Unet, which not only promotes training but also provides certain information supplementation, thus effectively solving the grid effect of the dilated convolution.

[0069] 2. Pyramid Independent Depth Dilated Grouped Convolution Block PSDB

[0070] A pyramid independent depth dilated group convolution block PSDB is proposed. In order to expand the receptive field without adding too many parameters, dilated convolution is used. Figure 2 First, three dilated convolutions are used, with rates of 1, 2, and 3, and groups equal to the number of input channels. Then the results of the three paths are concatenated, followed by a point-wise convolution. In this way, the receptive field is expanded through dilated convolution, and spatial information is utilized through point-wise convolution. The parameters of the Pyramid Separate Dilated Block can be calculated by the following formula:

[0071] params = n*k 2 *C in +n*C in *C out

[0072] Among them, params is the number of parameters of PSDB, k is the size of the hole convolution kernel, C in is the number of input channels, C out The invention adds a hyperparameter n, which is the number of output channels. n is the number of path branches. It can be seen from the formula that when n is relatively small, the number of added parameters is not much, and n is often only 2-4. Therefore, this structural design is more reasonable.

[0073] In a preferred embodiment, the encoder layer and the decoder layer are both four layers, see Figure 3, where the red number indicates the change in the number of channels after an operation is performed on the data. The model starts using residual units from the input. In the encoding part, the E1 layer and the first modules of E2, E3, and E4 do not use residual units. This is because at the beginning of the model, there is the most noise, and there is no need to use residual units to fuse the information, because this will add a lot of unnecessary and redundant information, which is not conducive to feature extraction of the model. In order to improve the feature extraction capability of the model, DPB is used to expand the receptive field of the network and accept more information. In the decoding part, the present invention does not use residual units either. The purpose is to use the property of convolution that loses information to lose unnecessary information. The specific process is as follows:

[0074] 1> Input the image to be segmented into the first layer E1 of the encoder, and perform convolution operations using the dilated pyramid convolution block DPB and the standard convolution layer respectively;

[0075] The data processed by the first layer E1 of the encoder is max-pooled and input into the second layer E2 of the encoder;

[0076] 2> The second layer E2 of the encoder uses the pyramid independent depth hole group convolution block PSDB for information purification and uses the residual unit for feature extraction;

[0077] The data processed by the second layer E2 of the encoder is max-pooled and input into the third layer E3 of the encoder;

[0078] 3> The third layer E3 of the encoder uses the pyramid independent depth hole group convolution block PSDB for information purification and uses the residual unit for feature extraction;

[0079] The data processed by the third layer E3 of the encoder is max-pooled and input into the fourth layer E4 of the encoder;

[0080] 4> The fourth layer E4 of the encoder uses the pyramid independent depth hole group convolution block PSDB for information purification and uses the residual unit for feature extraction;

[0081] The data processed by the fourth layer E4 of the encoder is max-pooled and input into the bottleneck layer, and convolution operation is performed using two standard convolutional layers;

[0082] 5> The fourth layer D4 of the decoder performs a skip connection operation on the data processed by the fourth layer E4 of the encoder, and performs a bilinear up operation on the data after the bottleneck layer convolution operation, concatenates the data after the skip connection operation and the data after the bilinear up operation, and uses two standard convolution layers for convolution operation;

[0083] 6> The third layer D3 of the decoder performs a skip connection operation on the data processed by the third layer E3 of the encoder, and performs a bilinear up operation on the data after the convolution operation of the fourth layer D4 of the decoder, concatenates the data after the skip connection operation and the data after the bilinear up operation, and uses two standard convolutional layers for convolution operation;

[0084] 7> The second layer D2 of the decoder performs a skip connection operation on the data processed by the second layer E2 of the encoder, and performs a bilinear up operation on the data after the convolution operation of the third layer D3 of the decoder, concatenates the data after the skip connection operation and the data after the bilinear up operation, and uses two standard convolutional layers for convolution operation;

[0085] 8> The first layer D1 of the decoder performs a skip connection operation on the data processed by the first layer E1 of the encoder, and performs a bilinear up operation on the data after the convolution operation of the second layer D2 of the decoder. The data after the skip connection operation and the data after the bilinear up operation are concatenated, and convolution is performed using a standard convolution layer; then, a standard convolution layer with a convolution kernel k of 1 is used for convolution to output an image segmentation map.

[0086] The model obtained by the method of the present invention was experimentally verified and applied to brain tissue image segmentation to obtain a segmentation map. The specific experimental process and results are as follows:

[0087] 1. Get data

[0088] The IBSR-18 dataset is used, which contains 18 MRI images with a size of 256×128×256, including 4 healthy women and 14 healthy men aged between 7 and 71 years old. These images are normalized and bias field corrected. The real segmentation data is manually segmented by tissue experts, with 0, 1, 2, and 3 representing background, cerebrospinal fluid CSF, gray matter GM, and white matter WM, respectively. This example is sliced ​​through 128 axes to obtain brain slices with a size of 256x256.

[0089] 2. Data Preprocessing

[0090] Using the zero-score normalization technique, the input data is transformed into a distribution with zero mean and unit standard deviation. This normalization technique eliminates the possibility of unnecessary fluctuations in the gradient flow and improves the numerical stability of the model. This technique is also called standardization and can be described as:

[0091]

[0092] Among them, Z represents the normalized image, X represents the input image, μ represents the mean of X, σ represents the standard deviation of X, and ∈ is used to calculate stability.

[0093] 3. Determine the evaluation indicators

[0094] Segmentation accuracy was evaluated using the measurement space overlap ratio and surface distance.

[0095] Dice similarity coefficient (DSC): used to calculate the overlap between two areas. The calculation formula is as follows:

[0096]

[0097] Where X is the predicted segmentation result, Y is the actual segmentation result, and the dice value is between 0 and 1, preferably 1.

[0098] Hausdorff Distance (HD): used to calculate the maximum distance between point sets. The formula is:

[0099]

[0100] where d H represents the hausdorff distance, d XY Represents the distance between point set X and point set Y; d YX Represents the distance between point set Y and point set X.

[0101] 4. Data Grouping

[0102] The above data was divided into three groups for experiments. The first group: After slicing the data, the last 350 slices were used as the test set, and the remaining slices were divided into the training set and the validation set in a ratio of 8:2. The second group: 3 representative data were selected, namely easy to segment, difficult to segment, and difficult to segment, that is, samples numbered 12, 13, and 18, see Figure 4 , where the first, second and third columns are sample images of the 12th, 13th and 18th subjects respectively, the first row is sample images with coordinates (78, 36, 131), the second row is sample images with coordinates (122, 31, 137), and the third row is sample images with coordinates (104, 58, 127). Group 3: Both the training set and the test set include all data across age and gender.

[0103] For the training process, this embodiment uses the Adam optimizer, the learning rate is 0.0003, the L2 regularization is 0.0001, and the batch size is 2. The maximum epoch is set to 10000. Then, the early-stop method is used to end the training.

[0104] V. Experimental Results

[0105] Table 1 is the experimental results of the first set of data. The loss function of Unet1 is binary cross entropy, and the other loss functions used are bce dice loss. The model in the above embodiment (i.e., ours5 model in Table 1) is compared with Unet, U-segnet, Segnet, ResUnet, Unet2Plus, Attention-Unet, iResgroup (groups = 64), and Pre-Activation in the prior art as the basic unit of Unet on the IBSR-18 data set. As can be seen from Table 1, the model of the present invention improves GM DICE, WM DICE, and CSF DICE by 0.71%, 1.28%, and 1.88%, respectively. Regarding the Hausdorff distance, the GM, WM, and CSF results are reduced by 4.18%, 5.25%, and 4.13%, respectively, and the average Hausdorff distance is reduced by 4.23%. The purification result of the residual unit Identity is also better than that of iResGroupUnet, indicating that the model of the present invention has effective learning ability.

[0106] Comparison of the model using residuals with the original model and the improved model of the original model shows that the performance of the iResGroupUnet model is higher than that of Unet, which indicates that the iResGroup unit reduces the noise transmitted to the next block. At the same time, the positive impact of the residual unit has taken effect, but the impact of identity is greater than the modification of the internal structure. Secondly, since the model of the present invention uses PSDB to clean the information before passing it to the subsequent block, it not only reduces the transmission of noise, but also further enables the residual unit to have a positive impact.

[0107] Furthermore, by comparing the model of the present invention with Unet and the improved model of Unet, it can be seen that the performance of Unet2Plus is slightly lower than that of Unet, which shows that the impact of skip connection on the decoding path is not all positive. Skip connection not only contains low-granularity detail information, but also contains redundant and unnecessary noise. Therefore, when the decoding path receives information through skipconnection, the transmitted noise will reduce performance. In addition, the performance of attention-Unet is also lower than that of Unet and UnetPlus, which shows that attention may affect the low-granularity information of the decoding path, thereby reducing performance. The model of the present invention cleans the information transmitted to the decoding path through the skip connection, which not only reduces the noise of the transmission, but also makes the skip connection have a positive impact.

[0108] Table 1

[0109]

[0110]

[0111] In the experiment of this embodiment, the results are also visualized, see Figure 5 ,in Figure 5 (a)-(k) are the original image, Unet1(bce) model processing results, Unet model processing results, U-segnet model processing results, Segnet model processing results, Unet2plus model processing results, ResUnet model processing results, Attention-unet model processing results, iResGroupUnet model processing results, Pre-actUnet model processing results, and ours5 model processing results. Figure 5 The middle (m) is the actual segmentation result of the expert. The black in the figure is the background, the green is the gray matter, the blue is the white matter, and the red is the cerebrospinal fluid.

[0112] It can be seen from the visualized image that the model of the present invention is superior to other models. In the segmentation of CSF subtle information on the right side of the picture, only the model of the present invention and iResGroupUnet can detect it, indicating that the segmentation of the model of the present invention is accurate. Continuing to compare the model of the present invention with iResGroupUnet, it can be observed that the present invention is more accurate in the CSF segmentation boundary, and there is a small red dot on the right side of the ours5 picture, but other models do not, which proves that the model of the present invention can obtain more information and the segmentation is more accurate.

[0113] 6. Model Improvement

[0114] The model in the above embodiment is improved, where ours1 replaces the DPSB in E2 with DPB, and replaces the DPSB in E3 and E4 with a continuous block Conv (k = 3) + BN + RELU, which is called Conv Block later; ours2 replaces the DPSB in E2, E3, and E4 with Conv Block; ours3 modifies E1 in ours2 into the structure of E2 in ours2; ours4 adds a layer of Conv Block at the beginning of E2, E3, and E4 on the basis of ours2; ours5 is the model in the above embodiment; ours6 uses Conv Block to connect residual block for Decode D2, D3, and D4; ours7 replaces Conv Block with residual block for decoding layer D2, D3, and D4; the residual unit in E2, E3, and E4 in ours8 and ours9 is modified to residual group unit, where groups is the number of channels input to the unit and 64. The experimental results are shown in Table 2. The visualization experimental results of ours9 model can be found in Figure 5 (l).

[0115] It can be seen from Table 2 that the identity purification of the residual unit and DPSB play an important role.

[0116] Table 2

[0117]

[0118] VII. Experimental results of the second and third groups of data

[0119] Table 3 and Table 4 are the results of the comparative experiment and ablation experiment of the second set of data; Table 5 and Table 6 are the results of the comparative experiment and ablation experiment of the third set of experimental data. The loss function of Unet1 is binary cross entropy (bce), and the loss function used by other models is bcediceloss. From Table 3, it can be seen that ours5 and iResGroupUnet only differ by about 0.3% in Mean Dice and about 3% in Mean Hausdorff, even if residual units are used instead of iResGroup Unit, the gap is not very large; ours9 is compared with iResGroupUnet. Under the same conditions, using the method of the present invention, Mean Dice and Mean Hausdorff are improved by about 0.6% and 5% respectively, which proves that the method of the present invention is correct and effective.

[0120] From the results in Table 4, we can see that ours1 and ours9 have the best results; this shows that it is necessary to fully purify the information before using the residual unit. If the residual unit is used at the beginning, the accuracy of the information will be damaged. This also proves that it is necessary to purify the information before using the residual unit. Referring to Tables 5 and 6, we can find that the results are obviously much lower than the other two groups of data, indicating that this is not a very reasonable data set division. Even so, it can be seen from ours8 and ours9 that the robustness of the model of the present invention is not inferior to other models.

[0121] Table 3

[0122]

[0123] Table 4

[0124]

[0125]

[0126] Table 5

[0127]

[0128]

[0129] Table 6

[0130]

[0131] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0132] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An image segmentation method, characterized in that: The following steps are involved: Step 1: Input the image to be segmented into an encoder, wherein the path of the encoder is a multi-layer structure, and the first layer of the encoder path uses a dilated pyramid convolution block DPB and a standard convolution layer to perform a convolution operation; Step 2: Downsample the data after the convolution operation in step 1, and use the pyramid independent depth hole grouped convolution block PSDB to purify information in each layer of the encoder path except the first layer, use the residual unit to extract features, and downsample; Step 3: input the downsampled data of the last layer of the encoder path in step 2 into the bottleneck layer, and the bottleneck layer uses a standard convolutional layer to perform a convolution operation; the bottleneck layer is located in the next layer of the last layer of the encoder path; Step 4: Input the data after the bottleneck layer convolution operation in step 3 into the decoder, wherein the path of the decoder is a multi-layer structure, and the first layer to the last layer of the decoder path correspond to the first layer to the last layer of the encoder path, and the bottleneck layer is located in the next layer of the last layer of the decoder path; Perform a bilinear up operation on the data after the bottleneck layer convolution operation in step 3. Each layer of the decoder path receives the data after the bilinear up operation of the next layer. Step 5: Each layer of the decoder path except the first layer receives the data extracted from the corresponding encoder path layer in step 2 through the skip connection operation, concatenates the received data of the corresponding encoder path layer with the data after the bilinear up operation of the next layer, and uses the standard convolution layer to perform convolution operation and bilinear up operation; Step 6. The first layer of the decoder path receives the data after the bilinear up operation of the next layer, and receives the data after the convolution operation in step 1 through the skipconnection operation, concatenates the data after the bilinear up operation of the next layer and the data after the convolution operation in step 1, and performs a convolution operation, and then uses a standard convolution layer with a convolution kernel k of 1 to perform convolution dimensionality reduction, and outputs an image segmentation map.

2. An image segmentation method according to claim 1, characterized in that: The dilated pyramid convolution block DPB includes three dilated convolution layers and a splicing operation, wherein the three dilated convolution layers are connected in parallel, and the splicing operation is located after the three dilated convolution operation layers to splice the convolved data; The rates of the three dilated convolutions are 1, 2, and 3 respectively.

3. The image segmentation method according to claim 1, characterized in that: The pyramid independent depth hole grouped convolution block PSDB includes three hole convolution layers, a splicing operation, and a standard convolution layer with a convolution kernel k of 1. The three hole convolution layers are connected in parallel. The splicing operation is connected after the three hole convolution layers to splice the convolved data. The standard convolution layer with a convolution kernel k of 1 is connected after the splicing operation. The rates of the three dilated convolutional layers are 1, 2, and 3 respectively, and the groups of the three dilated convolutional layers are equal to the number of input channels.

4. The image segmentation method according to claim 1, characterized in that: Before the image to be segmented is input into the encoder, the zero-score normalization method is used to perform data preprocessing on the image to be segmented.

5. The image segmentation method according to claim 1, characterized in that: The encoder layer and the decoder layer both have four layers, wherein the first layer of the encoder uses a dilated pyramid convolution block DPB and a standard convolution layer for convolution operations, and the second, third, and fourth layers of the encoder all use a pyramid independent depth dilated grouped convolution block PSDB for information purification and residual units for feature extraction, performing three information purification operations.

6. The image segmentation method according to claim 1, characterized in that: The down sampling adopts the maximum pooling method.

7. The image segmentation method according to claim 1, characterized in that: The bottleneck layer consists of two standard convolutional layers connected in series.

8. The image segmentation method according to claim 1, characterized in that: The splicing operation is to splice multiple image feature data of corresponding scales into one feature data.

9. An image segmentation system, executing an image segmentation method according to any one of claims 1 to 8, characterized in that: include: An input module, used for inputting an image to be segmented; An encoder module, used for extracting image features from the image to be segmented; The bottleneck layer processing module is used to perform convolution operations on the data processed by the encoder module; The decoder module is used to perform multi-scale fusion of feature data of different scales and perform convolution dimensionality reduction to obtain an image segmentation map; An output module, used for outputting an image segmentation map; The encoder module includes a dilated pyramid convolution block DPB, a pyramid independent depth dilated grouped convolution block PSDB, a standard convolution layer and a residual unit.

10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the steps of an image segmentation method as described in any one of claims 1 to 8 are implemented.