Liver and tumor segmentation method based on multi-convolution lightweight network

By introducing the information extraction module and multi-scale information fusion module of multi-convolutional networks into medical image processing, the problems of high resource usage and computational complexity of traditional convolutional neural networks are solved, and efficient liver tumor segmentation performance is achieved. Suitable for resource-constrained environments.

CN118608780APending Publication Date: 2024-09-06SHANGHAI NORMAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410619310.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-19
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Traditional convolutional neural networks are difficult to effectively extract multi-scale features in medical image processing, resulting in high resource usage and high computational complexity. They are not suitable for resource-constrained environments and cannot meet the needs of real-time performance and model interpretability.

Method used

A multi-convolution-based lightweight network (MCLNet) for liver tumors was designed, introducing the information extraction module (IEM) and the multi-scale information fusion module (MFFM) to extract features through depth-separable convolution and gated attention units. information, suppress unimportant areas, enhance valuable features, and combine with the U-Net structure to reduce parameters and computational load, and improve segmentation performance.

Benefits of technology

It significantly improves the segmentation performance of liver tumors in medical images, achieves efficient calculation while maintaining accurate depiction of fine structures, provides a more competitive solution for liver tumor segmentation tasks, and is suitable for resource-constrained environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608780A
    Figure CN118608780A
Patent Text Reader

Abstract

The invention discloses a liver and tumor segmentation method based on a multi-convolution lightweight network, and the method comprises the following steps: introducing an information extraction module, and extracting feature information from different angles; generating an attention map with the same shape as the input feature by using depth separable convolution so as to inhibit an unimportant region in the feature information transmitted by the split expansion convolution unit; a residual connection operation is applied to obtain a final output. According to the method, the feature information of the input data can be effectively extracted, the recognition capability of the model on key features is enhanced, and an accurate and stable output result is finally obtained.
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 processing, and in particular to a method for segmenting the liver and its tumor based on a multi-convolution lightweight network. Background Art

[0002] Currently, neural networks face the challenge of feature extraction when processing medical images at different resolutions. Traditional convolutional neural networks have limitations in this regard because they lack flexibility and adaptive selection mechanisms for multi-scale features. In the field of computer vision, image segmentation, as an important task, aims to divide images into different regions with semantic information. While providing excellent performance, traditional deep learning segmentation algorithms face challenges such as excessive resource usage, high computational complexity, and difficulty in meeting real-time requirements. Although the large number of parameters of Transformer enables the model to better learn complex sequence relationships, it also increases the computational overhead of training and inference. In resource-constrained environments such as mobile devices and embedded systems, such algorithms will be very limited. In addition, considering that in some specific fields, such as medical image segmentation, lightweight segmentation algorithms can better adapt to the needs of model interpretability and explainability, these algorithms are usually simpler and easier to deploy models on edge devices, and are more easily understood and accepted by medical professionals.

[0003] In order to solve these problems, lightweight segmentation algorithms came into being. Lightweight segmentation algorithms have become one of the most popular research directions in the current computer vision and image processing fields due to their high efficiency in resource-constrained environments, adaptability to real-time requirements, and ability to meet specific field requirements. Summary of the invention

[0004] Some previous works have focused more on developing complex modules to improve segmentation performance. However, due to the limitation of computing resources, these complex models are not applicable to actual clinical environments. In order to solve this practical problem, the present invention proposes a lightweight liver tumor network (MCLNet) based on multi-convolution, and introduces an innovative design, namely the information extraction module (IEM), which is designed to extract feature information from multiple angles, thereby enhancing the network's ability to represent medical images. Compared with the simple jump connection in the traditional UNet, MCLNet cleverly introduces a multi-scale information fusion module (MFFM) at each stage between the encoder and the decoder. These MFFM modules are designed to accurately suppress features that are not related to the target while enhancing valuable features, thereby significantly improving the network's segmentation performance for liver tumors in medical images.

[0005] To achieve the above object, the present invention provides a method for segmenting the liver and its tumors based on a multi-convolutional lightweight network, comprising the following steps:

[0006] Introduce information extraction module to extract feature information from different angles;

[0007] Use depthwise separable convolution to generate an attention map with the same shape as the input feature to suppress unimportant regions in the feature information passed by the split dilated convolution unit;

[0008] A residual connection operation is applied to obtain the final output.

[0009] Furthermore, the method specifically includes the following steps:

[0010] Build a lightweight network segmentation model for liver tumors based on multi-convolution, where the lightweight network segmentation model for liver tumors based on multi-convolution includes an information extraction module IEM and a multi-scale information fusion module MFFM;

[0011] Acquire a data set and preprocess the acquired data set;

[0012] The labeled data in the preprocessed data set is divided into a training set and a test set for the deep learning network, and the training set is used as the input of the network to train and optimize the network;

[0013] Finally, the optimized lightweight segmentation network is used to segment the abdominal CT image, and the segmentation results of the liver and its tumor are obtained and output.

[0014] Furthermore, the network is built on a U-shaped architecture consisting of a symmetrical encoder-decoder structure. The encoder consists of four stages, with the number of channels in each stage being 8, 16, 32, and 64, respectively. In the first two stages, ordinary convolutions with a kernel size of 3 are used, while in the last two stages, the proposed information extraction module (IEM) is introduced, which can extract feature information from different perspectives to enhance the network's representation of medical images. Unlike the simple skip connection in traditional UNet, MCLNet introduces a multi-scale information fusion module (MFFM) in each stage between the encoder and decoder. These MFFM modules are designed to suppress features that are irrelevant to the target while enhancing valuable features, thereby improving the network's segmentation performance for liver tumors in medical images. This carefully designed module integration scheme enables MCLNet to significantly reduce parameters and computational loads while improving segmentation performance compared to some previous lightweight networks. This means that MCLNet can still accurately depict subtle structures in medical images while achieving efficient computation, providing a more competitive solution for the liver tumor segmentation task.

[0015] Furthermore, an information extraction module is introduced to extract feature information from different perspectives; the information extraction module contains two key subunits: the split dilated convolution unit and the gated attention unit, which work together to effectively extract useful information from the input features. In the split dilated convolution unit, a strategy is adopted to divide the feature map into four parts in the channel dimension.

[0016] x1,x2,x3,x4=Chunk4(X)

[0017] Among them, x1, x2, x3, x4 represent features Figure 1 , 2, 3, 4, Chunk4 means that the input feature map is divided into four parts along the channel dimension.

[0018] By using dilated convolution operations with different dilation rates (specifically, using convolutions with dilation rates of 5 and 7 for global information extraction, and using convolutions with dilation rates of 1 and 3 for local information extraction), it is possible to capture both relevant feature information in the global range and detailed information in the local area.

[0019] x1′,x2′x3′x4′=O1(x1),O3(x2),O5(x3),O7(x4)

[0020] Among them, O i represents the dilated convolution with dilation rate i, x1′, x2′x3′x4′ are new features Figure 1 , 2, 3, 4.

[0021] Next, a connection operation is performed on the channel dimension to effectively restore the size of the feature map, and a convolution operation is performed to interact with the global and local information. This design allows the network to better understand the contextual relationship of the input features, thereby improving the model's ability to perceive complex structures in medical images.

[0022] X′=O(Concat(x1′,x2′x3′x4′))

[0023] Among them, Concat represents the cascade operation, O represents the ordinary convolution operation, and X′ is the synthetic feature map.

[0024] Furthermore, with the assistance of genetic algorithm, depthwise separable convolution is used to generate an attention map with the same shape as the input feature to suppress unimportant regions in the feature information transmitted by the split dilated convolution unit. The introduction of this gated attention unit helps the model focus more on important information, thereby improving the performance of the network in the liver tumor segmentation task. The overall design of this information extraction module aims to enable the network to better understand and utilize the global and local information in the input image, thereby providing richer and more targeted feature representations for the subsequent decoding process.

[0025] Att=σ(DW(X′))

[0026] Among them, σ is the Sigmoid shape function and DW represents depthwise separable convolution.

[0027] Finally, a residual connection operation is applied to obtain the final output.

[0028] Out=DW(DW(X′)⊙Att)+O(X′)

[0029] Among them, σ is the Sigmoid shape function, DW represents depth-wise separable convolution, and ⊙ represents element-wise multiplication.

[0030] Furthermore, the proposed multi-scale fusion module combines it with the U-Net skip connection, which is used to suppress unimportant features and enhance valuable features, thereby introducing a more powerful and flexible feature fusion mechanism in the network. Specifically, the implementation of the multi-scale fusion module is mainly divided into two parts, the multi-convolution unit part and the attention part. In the process of improving the network performance, an innovative multi-convolution unit is introduced to achieve adaptive selection of useful features at different resolutions. The unit extracts features from the encoding layer output by using three convolution operations with different receptive fields, namely point-by-point convolution, ordinary convolution (kernel size of 3×3 and stride of 1), and dilated convolution (kernel size of 3×3, stride of 1, and dilation rate of 2). Each convolution layer is followed by a batch normalization layer to ensure network stability and better convergence. The feature maps generated by these three convolution operations have the same size and are connected layer by layer through the concat operation to form the output of the unit. This output is then passed to the next stage of the multi-scale fusion module.

[0031] Before connecting to the final output, the features are further filtered and extracted through GeLU activation and another point-by-point convolution. The purpose of this step is to ensure that the final output feature map contains more representative and valuable information, providing better input for the next operation of the network. Overall, the design of this multi-convolution unit introduces flexibility for multi-scale features in the network, and by adaptively selecting useful features, the network can better adapt to medical images at different resolutions and improve the overall feature expression ability.

[0032] Furthermore, the built model is trained and parameters are optimized, including initializing the deep learning network using the CUDNN convolutional layer and the standard Shota initialization method in Nvidia;

[0033] To ensure that the deep learning network does not overfit, the Dice coefficient of the validation set is calculated during the training process, and the optimal model is saved when the Dice coefficient of the validation set reaches the maximum value;

[0034] In the testing phase, target probability images of the validation set and the test set are output;

[0035] Finally, the stochastic gradient descent algorithm is used to train the deep learning network.

[0036] Furthermore, the labeled data in the preprocessed dataset is divided into training set and test set of the deep learning network; specifically, the abdominal CT dataset with liver and tumor segmentation labels after dataset preprocessing and online enhancement is divided into training set, validation set and test set in a ratio of 7:2:1, and ten-fold cross validation is used to pre-train the network segmentation model.

[0037] Furthermore, the cross entropy loss function is used as the segmentation network optimization objective, and the objective function is defined as follows:

[0038]

[0039] Among them, y i is the true label, p i is the predicted value of the model.

[0040] Furthermore, the stochastic gradient descent algorithm is finally used to train the deep learning network, and its parameter formula is as follows:

[0041]

[0042] Among them, α represents the hyperparameter, which is the initial learning rate, θ is the parameter of the network, and t represents the number of iterations of the model. is the gradient of the parameter.

[0043] Furthermore, the trained model is used to quickly locate and accurately segment the abdominal CT image to obtain a binary image of the liver and its tumor segmentation results, which specifically includes the following steps:

[0044] The abdominal CT images are sequentially subjected to data preprocessing and enhancement processing to obtain processed images;

[0045] The image after online enhancement is sent as input to a module consisting of a convolutional layer, a pooling layer, and a normalization layer for feature extraction, and the reconstructed feature map is automatically located and output;

[0046] The reconstructed image feature map is input into the classifier, and the feature map pixels are predicted one by one using a sliding window method to generate two pixel label prediction score maps of the same size as the original image;

[0047] Use the Relu function to convert the predicted score into a probability distribution;

[0048] The subscript component with the maximum probability of each pixel is taken as the pixel category label to achieve rapid liver positioning and obtain a binary image of the segmentation result.

[0049] Technical Effects

[0050] The present invention provides a method for segmenting the liver and its tumors based on a multi-convolution lightweight network, which uses an innovative design, namely, an information extraction module (IEM), which is designed to extract feature information from multiple angles, thereby enhancing the network's ability to represent medical images. Compared with the simple jump connection in the traditional UNet, the multi-convolution-based liver tumor lightweight network cleverly introduces a multi-scale information fusion module (MFFM) at each stage between the encoder and the decoder. These MFFM modules are designed to accurately suppress features that are not related to the target while strengthening valuable features, thereby significantly improving the network's segmentation performance for liver tumors in medical images.

[0051] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a schematic diagram of a framework of a method for segmenting the liver and its tumors based on a multi-convolutional lightweight network according to a preferred embodiment of the present invention;

[0053] Figure 2 It is a schematic diagram of an information extraction module of a method for segmenting the liver and its tumors based on a multi-convolution lightweight network in a preferred embodiment of the present invention;

[0054] Figure 3 It is a schematic diagram of a multi-scale fusion module of a method for segmenting the liver and its tumors based on a multi-convolution lightweight network according to a preferred embodiment of the present invention;

[0055] Figure 4 It is a schematic diagram of a multi-convolution unit of a method for segmenting the liver and its tumor based on a multi-convolution lightweight network according to a preferred embodiment of the present invention;

[0056] Figure 5 It is a schematic diagram showing the comparison results of the segmentation effect of a liver and tumor segmentation method based on a multi-convolution lightweight network according to a preferred embodiment of the present invention with other models. DETAILED DESCRIPTION

[0057] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0058] In the following description, specific details such as specific internal procedures and techniques are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0059] like Figure 1 As shown, the present invention provides a method for segmenting the liver and its tumor based on a multi-convolution lightweight network, comprising the following steps:

[0060] Step 100, building a liver tumor lightweight network segmentation model based on multi-convolution;

[0061] Step 200, training and optimizing parameters of the built model;

[0062] Step 300, using the trained model, fast positioning and accurate segmentation are performed based on the abdominal CT image to obtain a binary image of the liver and its tumor segmentation results.

[0063] In step 100, a lightweight network segmentation model for liver tumors based on multi-convolution is constructed, wherein the lightweight network segmentation model for liver tumors based on multi-convolution includes an information extraction module and a multi-scale fusion module;

[0064] Building a lightweight network segmentation model for liver tumors based on multi-convolution includes the following steps:

[0065] The U-shaped architecture composed of a symmetrical encoder-decoder structure is adopted. Taking the encoder as an example, it consists of four stages, with the number of channels in each stage being 8, 16, 32, and 64, respectively. In the first two stages, this paper adopts ordinary convolution with a kernel size of 3, while in the last two stages, the proposed information extraction module (IEM) is introduced, which can extract feature information from different perspectives to enhance the network's representation ability of medical images. Unlike the simple skip connection in the traditional UNet, the multi-convolution-based liver tumor lightweight network introduces a multi-scale information fusion module (MFFM) at each stage between the encoder and the decoder. These MFFM modules are designed to suppress features that are irrelevant to the target while enhancing valuable features, thereby improving the network's segmentation performance for liver tumors in medical images. This carefully designed module integration scheme enables the multi-convolution-based liver tumor lightweight network to significantly reduce parameters and computational loads compared to some previous lightweight networks, while improving segmentation performance. This means that the lightweight liver tumor network based on multi-convolution can still maintain accurate characterization of subtle structures in medical images while achieving efficient computing, providing a more competitive solution for the liver tumor segmentation task.

[0066] Furthermore, an information extraction module is introduced to extract feature information from different perspectives; the information extraction module contains two key subunits: the split dilated convolution unit and the gated attention unit, which work together to effectively extract useful information from the input features. In the split dilated convolution unit, a strategy is adopted to divide the feature map into four parts in the channel dimension.

[0067] x1,x2,x3,x4=Chunk4(X)

[0068] Among them, x1, x2, x3, x4 represent features Figure 1 , 2, 3, 4, Chunk4 means that the input feature map is divided into four parts along the channel dimension.

[0069] By using dilated convolution operations with different dilation rates (specifically, using convolutions with dilation rates of 5 and 7 for global information extraction, and using convolutions with dilation rates of 1 and 3 for local information extraction), it is possible to capture both relevant feature information in the global range and detailed information in the local area.

[0070] x1′,x2′x3′x4′=O1(x1),O3(x2),O5(x3),O7(x4)

[0071] Among them, O i represents the dilated convolution with dilation rate i, x1′, x2′x3′x4′ are new features Figure 1 , 2, 3, 4.

[0072] Next, a connection operation is performed on the channel dimension to effectively restore the size of the feature map, and a convolution operation is performed to interact with the global and local information. This design allows the network to better understand the contextual relationship of the input features, thereby improving the model's ability to perceive complex structures in medical images.

[0073] X′=O(Concat(x1′,x2′x3′x4′))

[0074] Among them, Concat represents the cascade operation, O represents the ordinary convolution operation, and X′ is the synthetic feature map.

[0075] Furthermore, with the assistance of genetic algorithm, depthwise separable convolution is used to generate an attention map with the same shape as the input feature to suppress unimportant regions in the feature information transmitted by the split dilated convolution unit. The introduction of this gated attention unit helps the model focus more on important information, thereby improving the performance of the network in the liver tumor segmentation task. The overall design of this information extraction module aims to enable the network to better understand and utilize the global and local information in the input image, thereby providing richer and more targeted feature representations for the subsequent decoding process.

[0076] Att=σ(DW(X′))

[0077] Among them, σ is the Sigmoid shape function and DW represents depthwise separable convolution.

[0078] Finally, a residual connection operation is applied to obtain the final output.

[0079] Out = DW(DW(X′)⊙Att)+O(X ′ )

[0080] Among them, σ is the Sigmoid shape function, DW represents depth-wise separable convolution, and ⊙ represents element-wise multiplication.

[0081] Furthermore, the proposed multi-scale fusion module combines it with the U-Net skip connection, which is used to suppress unimportant features and enhance valuable features, thereby introducing a more powerful and flexible feature fusion mechanism in the network. Specifically, the implementation of the multi-scale fusion module is mainly divided into two parts, the multi-convolution unit part and the attention part. In the process of improving the network performance, an innovative multi-convolution unit is introduced to achieve adaptive selection of useful features at different resolutions. The unit extracts features from the encoding layer output by using three convolution operations with different receptive fields, namely point-by-point convolution, ordinary convolution (kernel size of 3×3 and stride of 1), and dilated convolution (kernel size of 3×3, stride of 1, and dilation rate of 2). Each convolution layer is followed by a batch normalization layer to ensure network stability and better convergence. The feature maps generated by these three convolution operations have the same size and are connected layer by layer through the concat operation to form the output of the unit. This output is then passed to the next stage of the multi-scale fusion module.

[0082] Before connecting to the final output, the features are further filtered and extracted through GeLU activation and another point-by-point convolution. The purpose of this step is to ensure that the final output feature map contains more representative and valuable information, providing better input for the next operation of the network. Overall, the design of this multi-convolution unit introduces flexibility for multi-scale features in the network, and by adaptively selecting useful features, the network can better adapt to medical images at different resolutions and improve the overall feature expression ability.

[0083] Step 200: train and optimize the parameters of the built model.

[0084] Step 201, obtaining a data set, preprocessing the obtained data set, and dividing the labeled data in the preprocessed data set into a training set and a test set of a deep learning network;

[0085] Step 202, finally, the network is trained and optimized using the training set as the input of the network.

[0086] Specifically, the deep learning network is initialized using the CUDNN convolutional layer and the standard Shota initialization method in Nvidia. In the embodiment of the present invention, the Dice loss function is used, the batch size is set to 4, the maximum number of iterations is 20k, and the initial learning rate is 1×10 -4 , the network is initialized with a variance of 0.02 using the standard normal initialization method. To ensure that the deep learning network does not overfit, the Dice coefficient of the validation set is calculated during the training process, and the optimal model is saved when the Dice coefficient of the validation set reaches the maximum value;

[0087] In the testing phase, target probability images of the validation set and the test set are output;

[0088] Finally, the stochastic gradient descent algorithm is used to train the deep learning network.

[0089] Among them, step 202 includes step 2021, dividing the abdominal CT data set with liver and tumor segmentation labels after data set preprocessing and online enhancement into a training set, a validation set and a test set in a ratio of 7:2:1, and using ten-fold cross validation to pre-train the network segmentation model.

[0090] Step 2022, using the Dice loss function as the segmentation network optimization objective, the objective function is defined as follows:

[0091]

[0092] Among them, p and g are the predicted probability and the corresponding ground truth, respectively, σ∈[0,1] is a smoothing factor used to avoid division by zero. In the experiments of this paper, σ is set to 0.00001.

[0093] Step 2023: Optimization function: Use the stochastic gradient descent algorithm to train and optimize the network. Its parameter formula is as follows:

[0094]

[0095] Among them, α represents the hyperparameter, which is the initial learning rate, θ is the parameter of the network, and t represents the number of iterations of the model. is the gradient of the parameter.

[0096] Among them, the nonlinear excitation is: using the rectified linear unit ReLU as a nonlinear excitation function to nonlinearly transform each value in the output feature map generated by the convolution kernel. The rectified linear unit ReLU is defined as: f(x) = max(0, x)

[0097] Among them, f(x) represents the rectified linear unit function, max represents the maximum value, and x is an input value.

[0098] Step 300, using the trained model, quickly locates and accurately segments the abdominal CT image to obtain a binary image of the liver and its tumor segmentation results, which specifically includes the following steps:

[0099] The abdominal CT images are sequentially subjected to data preprocessing and enhancement processing to obtain processed images;

[0100] The image after online enhancement is sent as input to a module consisting of a convolutional layer, a pooling layer, and a normalization layer for feature extraction, and the reconstructed feature map is automatically located and output;

[0101] The reconstructed image feature map is input into the classifier, and the feature map pixels are predicted one by one using a sliding window method to generate two pixel label prediction score maps of the same size as the original image;

[0102] Use the Relu function to convert the predicted score into a probability distribution;

[0103] The subscript component with the maximum probability of each pixel is taken as the pixel category label to achieve rapid liver positioning and obtain a binary image of the segmentation result.

[0104] A specific example is given below to illustrate a method for segmenting the liver and its tumor based on a multi-convolutional lightweight network according to an embodiment of the present invention, which specifically includes the following steps:

[0105] Step 1) Construction of a lightweight liver tumor segmentation model based on multi-convolution:

[0106] Step 11) The multi-convolution based liver tumor lightweight network segmentation model is composed of the information extraction module ( Figure 2 ), and the multi-scale information fusion module ( Figure 3 ). In the network structure, the U-Net framework is used as the basic structure, and the resolution of its feature map gradually decreases with the increase of network depth. In order to compensate for the information loss caused by the reduction of spatial resolution, the number of channels of the feature map gradually increases as the depth of the network increases.

[0107] Step 12) Further, in the network structure, the information extraction module contains two key subunits: a split dilated convolution unit and a gated attention unit, which work together to effectively extract useful information from the input features. In the split dilated convolution unit, a strategy is adopted to divide the feature map into four parts in the channel dimension. By using dilated convolution operations with different dilation rates (specifically, convolutions with dilation rates of 5 and 7 are used for global information extraction, while convolutions with dilation rates of 1 and 3 are used for local information extraction), it is possible to capture both relevant feature information in the global range and detailed information in the local area. Next, a connection operation is performed on the channel dimension to effectively restore the size of the feature map, and the convolution operation is used to interact with the global and local information. Such a design allows the network to better understand the contextual relationship of the input features, thereby improving the model's perception of complex structures in medical images.

[0108] Step 13) With the assistance of genetic algorithm, depthwise separable convolution is used to generate an attention map with the same shape as the input feature to suppress unimportant regions in the feature information transmitted by the split dilated convolution unit. The introduction of this gated attention unit helps the model focus more on important information, thereby improving the performance of the network in the liver tumor segmentation task. The overall design of this information extraction module aims to enable the network to better understand and utilize the global and local information in the input image, thereby providing richer and more targeted feature representations for the subsequent decoding process. Finally, a residual connection operation is applied to obtain the final output.

[0109] Step 14) The newly proposed multi-scale fusion module is combined with the U-Net skip connection, which is used to suppress unimportant features and enhance valuable features, thereby introducing a more powerful and flexible feature fusion mechanism in the network. Specifically, the implementation of the multi-scale fusion module is mainly divided into two parts, the multi-convolution unit part and the attention part. In the process of improving network performance, an innovative multi-convolution unit is introduced to achieve adaptive selection of useful features at different resolutions. The unit extracts features from the encoding layer output by using three convolution operations with different receptive fields, namely point-by-point convolution, ordinary convolution (kernel size of 3×3 and stride of 1), and dilated convolution (kernel size of 3×3, stride of 1, and dilation rate of 2). Each convolution layer is followed by a batch normalization layer to ensure network stability and better convergence.

[0110] Step 15) The feature maps generated by these three convolution operations have the same size and are connected layer by layer through the concat operation to form the output of the unit. This output is then passed to the next stage of the multi-scale fusion module. Before connecting to the final output, the features are further filtered and extracted through GeLU activation and another point-by-point convolution. The purpose of this step is to ensure that the final output feature map contains more representative and valuable information, providing better input for the next operation of the network. Overall, the design of this multi-convolution unit introduces flexibility for multi-scale features in the network, and by adaptively selecting useful features, the network can better adapt to medical images at different resolutions and improve the overall feature expression ability.

[0111] Step 2) Divide the labeled data in the preprocessed data set into a training set and a test set for the deep learning network. As shown in Table 1 below:

[0112] Table 1 Dataset distribution table

[0113] Table 1

[0114] Dataset Number of samples Sample Dimension Training set 1400 512×512 Validation set 400 512×512 Test Set 200 512×512

[0115] Step 21) In this embodiment, the image data used is the liver tumor segmentation challenge dataset of MICCAI 2017, which is created in collaboration with graduate institutions and hospitals around the world. It is obtained through different CT scanners and acquisition protocols. These data are manually annotated by professional oncologists, and then the quality of the segmentation is verified by experienced radiologists in blind inspection. The LiTS dataset contains 131 and 70 contrast-enhanced 3D abdominal computed tomography samples for training and testing, respectively, which enables researchers to conduct extensive experiments and evaluations on sufficient datasets to more fully understand the distribution and characteristics of various liver lesions. These samples not only represent the diversity of liver diseases, but also provide a challenging test platform to make the algorithm more robust and reliable in real clinical scenarios. The size of each CT image and label is 512x512, the in-plane resolution ranges from 0.98*0.98mm2 to 0.45*0.45mm2, the slice interslice spacing is 0.45mm~6mm, the number of slices ranges from 42 to 1026, and the labels contain 3 categories: background (label 0), liver (label 1), and liver tumor (label 2).

[0116] Step 3) Model training and parameter optimization

[0117] Step 31) Use the CUDNN convolutional layer from Nvidia. We use the cross entropy loss function, set the batch size to 4, the maximum number of iterations to 20k, and the initial learning rate to 1×10 -4 The network was initialized using the standard normal initialization method with a variance of 0.02.

[0118] Step 32) To ensure that the network is not overfitted, the Dice coefficient of the validation set is calculated during the training process, and the optimal model is saved when the Dice coefficient of the validation set reaches the maximum value. In the test phase, the target probability images of the validation set and the test set are output. The final threshold is determined by collecting the Dice coefficient on the validation set, and the threshold is used to obtain the optimal training model.

[0119] Step 33) The loss functions used in the present invention are: cross entropy loss and Dice loss.

[0120] The cross entropy loss function is often used for classification tasks, and the formula is as follows:

[0121]

[0122] Among them, y i is the true label, p i is the predicted value of the model.

[0123] Dice loss is a type of loss function that appears very frequently in medical image segmentation tasks. Its formula is as follows:

[0124]

[0125] Among them, X and Y represent the true label and the model's predicted value respectively. The smaller the Dice loss, the more similar the two are, that is, the better the segmentation result is. The best Dice round retention model is used in network training to ensure that the network achieves the best effect.

[0126] Step 34) Use the stochastic gradient descent algorithm to train the network. Its parameter formula is as follows:

[0127]

[0128] Among them, α represents the hyperparameter, which is the initial learning rate, θ is the parameter of the network, and t represents the number of iterations of the model. is the gradient of the parameter.

[0129] Step 4) Finally, the optimized segmentation network is used to segment the abdominal CT image to obtain the segmentation results of the liver and its tumor.

[0130] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A method for segmenting the liver and its tumors based on a multi-convolutional lightweight network, characterized in that: The following steps are involved: Introduce information extraction module to extract feature information from different angles; Use depthwise separable convolution to generate an attention map with the same shape as the input feature to suppress unimportant regions in the feature information passed by the split dilated convolution unit; A residual connection operation is applied to obtain the final output.

2. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 1, characterized in that: The specific steps include: Build a lightweight network segmentation model for liver tumors based on multi-convolution, where the lightweight network segmentation model for liver tumors based on multi-convolution includes an information extraction module IEM and a multi-scale information fusion module MFFM; Acquire a data set and preprocess the acquired data set; The labeled data in the preprocessed data set is divided into a training set and a test set for the deep learning network, and the training set is used as the input of the network to train and optimize the network; Finally, the optimized lightweight segmentation network is used to segment the abdominal CT image, and the segmentation results of the liver and its tumor are obtained and output.

3. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 2, characterized in that: Building a lightweight network segmentation model for liver tumors based on multi-convolution includes the following steps: Build a lightweight network segmentation model for liver tumors based on multi-convolution, set up on a U-shaped architecture consisting of a symmetrical encoder-decoder structure; The encoder includes four stages, and the number of channels in each stage is 8, 16, 32 and 64 respectively; in the first two stages, ordinary convolution with a kernel size of 3 is adopted, and in the last two stages, the information extraction module IEM is introduced, and the information extraction module extracts feature information from different angles to enhance the network's representation ability of medical images.

4. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 3, characterized in that: The information extraction module contains two key sub-units: split dilated convolution unit and gated attention unit, which work together to effectively extract useful information from input features; In the split dilated convolution unit, the feature map is divided into four parts in the channel dimension, and dilated convolution operations with different dilation rates are used, specifically including using convolutions with dilation rates of 5 and 7 for global information extraction, and using convolutions with dilation rates of 1 and 3 for local information extraction; Next, a concatenation operation is performed on the channel dimension to effectively restore the size of the feature map and interact with the global and local information through a convolution operation.

5. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 3, characterized in that: The multi-scale fusion module is combined with the U-Net jump connection to suppress unimportant features and enhance valuable features, thereby introducing a feature fusion mechanism in the network; specifically, the multi-scale fusion module includes a multi-convolution unit part and an attention part; The multi-convolution unit is used to realize adaptive selection of useful features at different resolutions; the multi-convolution unit extracts features from the output of the encoding layer by using three convolution operations with different receptive fields, namely point-by-point convolution, ordinary convolution and dilated convolution; the feature maps generated by these three convolution operations have the same size, and are connected layer by layer through the concat operation to form the output of the unit, which is then passed to the next stage of the multi-scale fusion module; Before being concatenated to the final output, it is passed through a GeLU activation and another point-wise convolution to further filter and extract features.

6. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 1, characterized in that: Train and optimize parameters of the built model, including initializing the deep learning network using the CUDNN convolutional layer and the standard Shota initialization method in Nvidia; To ensure that the deep learning network does not overfit, the Dice coefficient of the validation set is calculated during the training process, and the optimal model is saved when the Dice coefficient of the validation set reaches the maximum value; In the testing phase, target probability images of the validation set and the test set are output; Finally, the stochastic gradient descent algorithm is used to train the deep learning network.

7. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 2, characterized in that: The labeled data in the preprocessed dataset is divided into training set and test set of the deep learning network; specifically, the abdominal CT dataset with liver and tumor segmentation labels after dataset preprocessing and online enhancement is divided into training set, validation set and test set in a ratio of 7:2:1, and ten-fold cross validation is used to pre-train the network segmentation model.

8. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 6, characterized in that: The cross entropy loss function is used as the segmentation network optimization objective, and the objective function is defined as follows: Among them, y i is the true label, p i is the predicted value of the model.

9. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 8, characterized in that: Finally, the stochastic gradient descent algorithm is used to train the deep learning network, and its parameter formula is as follows: Among them, α represents the hyperparameter, which is the initial learning rate, θ is the parameter of the network, and t represents the number of iterations of the model. is the gradient of the parameter.

10. The method for segmenting the liver and its tumors based on a multi-convolutional lightweight network as claimed in claim 1, characterized in that: Using the trained model, the liver and tumor segmentation results are obtained by fast positioning and accurate segmentation based on the abdominal CT image, including the following steps: The abdominal CT images are sequentially subjected to data preprocessing and enhancement processing to obtain processed images; The image after online enhancement is sent as input to a module consisting of a convolutional layer, a pooling layer, and a normalization layer for feature extraction, and the reconstructed feature map is automatically located and output; The reconstructed image feature map is input into the classifier, and the feature map pixels are predicted one by one using a sliding window method to generate two pixel label prediction score maps of the same size as the original image; Use the Relu function to convert the predicted score into a probability distribution; The subscript component with the maximum probability of each pixel is taken as the pixel category label to achieve rapid liver positioning and obtain a binary image of the segmentation result.

Citation Information

Patent Citations

  • Liver image segmentation method based on multi-scale feature fusion and grid attention mechanism

    CN115170582A

  • Liver and liver tumor data segmentation method and system

    CN117197454A

  • Deep network lung texture recogniton method combined with multi-scale attention

    US20210390338A1