Brain tumor image segmentation method based on multi-scale convolution and mamba structure
By combining a multi-scale convolution and Mamba structure brain tumor image segmentation method with a state space model and a cascaded residual multi-scale convolution module, the problems of insufficient detailed feature extraction and high computational cost in traditional methods are solved, achieving efficient and accurate brain tumor image segmentation.
Patent Information
- Application Number
- CN202410535284.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-04-29
Smart Images

Figure CN118447244B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of brain tumor image segmentation technology, specifically relating to a brain tumor image segmentation method based on multi-scale convolution and Mamba structure. Background Technology
[0002] Brain tumors are a serious neurological disease that not only threatens patients' physical health but also significantly impacts their mental health and quality of life. Patients often exhibit psychological symptoms such as anxiety and depression, which are closely related to a significant decline in quality of life. Different types and locations of brain tumors affect patients' psychological symptoms and quality of life to varying degrees. Therefore, accurate brain tumor segmentation is crucial for developing effective treatment plans. Over the past decade, machine learning-based research on brain tumor segmentation has primarily employed Hidden Markov Random Field (HMRF) models and Expectation-Maximization (EM) algorithms, morphological operations, clustering techniques, and the combination of Conditional Random Field (CRF) models and Support Vector Machines (SVMs) to model the spatial relationships between pixels. The combination of Convolutional Neural Networks (CNNs) and handcrafted features has provided a new perspective for brain tumor segmentation.
[0003] With the advancement of deep learning technology, especially the development of end-to-end pixel-level image segmentation methods, such as UNET and its variants, significant progress has been made in the field of medical image segmentation through symmetric structures, redesigned skip connections, deep supervision methods, and 3D segmentation networks. Cascaded anisotropic CNN methods further improve segmentation performance by integrating multi-scale information. Although traditional CNNs perform well in feature representation, their limitations in capturing long-range dependencies in images remain a challenge.
[0004] Following its significant success in natural language processing, the Transformer architecture has been rapidly adopted for computer vision due to its superior ability to model long-range dependencies. In vision, TransUNet combines the Transformer and UNet architectures to effectively model global relationships and low-level information. Swim Transformer introduces a window-based self-attention module, while Transfuse proposes a parallel architecture that independently utilizes Transformer and CNN to fuse global and local information. This corrects previous statements, clarifying that not all models fuse Transformer and CNN. Although Transformer outperforms traditional CNNs in modeling global dependencies, its computational cost increases quadratically with sequence length, prompting much research to optimize attention mechanisms for improved efficiency.
[0005] Research based on the Mamba architecture has demonstrated its innovation and effectiveness in multiple aspects of the vision field. VisionMamba improves the processing of high-resolution images by introducing an efficient visual representation learning model. VMamba addresses the dimension transformation problem through the Cross-Scan Module (CSM), improving computational efficiency. VM-UNet sets a new benchmark for medical image segmentation by utilizing Visual State Space (VSS) blocks. U-Mamba enhances the ability to capture long-range dependencies by mixing CNN-SSM modules. Swin-UMamba improves the performance of Mamba models in medical image segmentation tasks through ImageNet pre-training. SegMamba is designed specifically for 3D medical image segmentation, effectively capturing long-range dependencies in overall volumetric features. Mamba-ND extends the Mamba architecture to multidimensional data, demonstrating its competitive performance on multidimensional benchmark tasks. P-Mamba combines Perona-Malik diffusion and Mamba layers, providing high efficiency and accuracy for pediatric cardiac image segmentation. These studies demonstrate the significant value and application potential of the Mamba architecture in improving the efficiency and accuracy of visual data processing.
[0006] Convolutional Neural Networks (CNNs) possess an inherent principle of spatial locality through their convolutional operations. Each convolutional kernel focuses on only a small region of the input image, building complex feature layers layer by layer through this local receptive field. This mechanism allows CNNs to naturally capture local features (such as edges, corners, etc.) when processing images. However, the state-space model in the Mamba model does not have the limitation of a local receptive field. It allows the model to learn dependencies between input data points globally, meaning it can handle long-range interactions in the data well, but may overlook important local details, potentially resulting in insufficient extraction of detailed features from brain tumor MRI images. Summary of the Invention
[0007] This invention addresses the technical problems of insufficient extraction of detailed features and high computational cost of existing methods for brain tumor MRI images. The purpose of this invention is to provide a brain tumor image segmentation method based on multi-scale convolution and Mamba structure, which introduces a state space model to reduce computational cost and introduces a cascaded residual multi-scale convolution module to improve the recognition ability of detailed features.
[0008] To achieve the above objectives, the present invention adopts the following technical solution: a brain tumor image segmentation method based on multi-scale convolution and Mamba structure, comprising the following steps:
[0009] (1) Preprocess the four modalities FLAIR, T1, T1ce and T2 of each original three-dimensional MRI image of the brain in the dataset, as well as the three-dimensional Ground Truth (GT) segmentation mask image, to obtain the training set, validation set and test set;
[0010] (2) The MambaBTS network is trained using the training set and validation set obtained in step (1) to obtain a brain tumor image segmentation model. The MambaBTS network uses the Unet network structure as the base network. In each downsampling layer of the Unet network, a multi-scale aggregation encoder is used to replace the original encoder. In the bottleneck layer of the Unet network, two depthwise separable convolutions are used to replace two standard convolutions respectively. The multi-scale aggregation encoder includes a residual extraction module, a MambaLayer module and a max pooling layer.
[0011] (3) The brain tumor image segmentation model predicts the test set and outputs the results of brain tumor region segmentation.
[0012] Further, step (1) includes the following steps:
[0013] (11) The pixel values of the four modalities FLAIR, T1, T1ce and T2 of the original three-dimensional MRI images of the brain were normalized using a normalization method.
[0014] (12) Use center cropping to adjust the image with normalized pixel values to a width of 160px and a height of 160px; perform slicing on the image to remove slices with a pixel value of 0;
[0015] (13) Slices with non-zero pixel values of the four modal FLAIR, T1, T1ce and T2 are concatenated along the channel dimension, and the concatenated dimension is (160,160,4); the processed image data points are divided into training set, validation set and test set.
[0016] Because 3D MRI images have non-uniform resolution and processing them requires significant computational resources, this invention employs a 2D image processing method. This method not only accelerates processing speed but also better adapts to various resolutions.
[0017] Further, in step (2), the residual extraction module includes two multi-scale encoding modules, which are connected through residuals. The multi-scale encoding module includes a batch normalization layer (Batch Normalization, Batch Norm), a cascaded residual multi-scale convolution module, a batch normalization layer (Batch Norm), a convolutional block attention module (CBAM), and a dynamic fusion unit, which are connected in sequence.
[0018] Furthermore, the cascaded residual multi-scale convolutional module includes multiple convolutional batch normalization modules and cascaded residual units. Each convolutional batch normalization module consists of convolutional kernels and batch normalization layers, with the larger kernel preceding the smaller kernel. Each cascaded residual unit is formed by residual connections between multiple convolutional batch normalization modules. In the MambaBTS network, convolutional batch normalization modules with different kernel sizes can extract features at different spatial levels. By employing the cascaded residual multi-scale convolutional module, the MambaBTS network can more effectively capture complex details in brain tumor images, thereby improving recognition accuracy.
[0019] Furthermore, there are five convolutional batch normalization modules (ConvBNs), and the convolutional kernels of the five ConvBN modules are, in order, a 7x7 convolutional kernel, a 5x5 convolutional kernel, and three 3x3 convolutional kernels.
[0020] Furthermore, the CBAM includes a channel attention mechanism and a spatial attention mechanism;
[0021] The channel attention mechanism involves performing global average pooling and global max pooling on the feature maps obtained from the cascaded residual multi-scale convolution module; inputting the pooled feature maps into a multilayer perceptron (MLP) to obtain channel features; and using the sigmoid activation function to process the channel features and generate channel attention feature maps.
[0022] The spatial attention mechanism performs max pooling and average pooling along the channel dimension on the feature maps obtained by the cascaded residual multi-scale convolution module to obtain two types of spatial feature maps; the two spatial feature maps are connected along the channel dimension and convolved using a 7×7 convolution kernel to obtain local spatial features; the local spatial features are processed by the Sigmoid activation function to generate a spatial attention feature map.
[0023] Add the channel attention feature map and the spatial attention feature map to obtain the channel spatial attention feature map.
[0024] The multi-scale coding module uses CBAM, which enhances the model's focus on important channels and spatial regions, improving the representativeness of features and the accuracy of segmentation.
[0025] Furthermore, the dynamic fusion unit includes a fully connected extension layer, a Gaussian Error Linear Unit (GELU), a Global Response Normalization (GRN) structure, and a fully connected compression layer. The processing procedure of the dynamic fusion unit is as follows: The fully connected extension layer transposes the dimension (B,C,H,W) of the channel space attention feature map to the dimension (B,H,W,C), and then performs channel extension, resulting in a dimension of (B,H,W,4C). The output of the fully connected extension layer is nonlinearly transformed using the GELU activation function, and then processed by the GRN to obtain an intermediate feature map. The fully connected compression layer compresses the dimension (B,H,W,4C) of the intermediate feature map to (B,H,W,C), and then transposes it to (B,C,H,W) to obtain an enhanced channel space feature map. The fully connected compression layer first compresses the dimensions of the intermediate feature map from (B, H, W, 4C) to (B, H, W, C) to reduce data dimensionality and compress information, and then transposes it to (B, C, H, W) format. In this way, the resulting enhanced channel spatial feature map effectively adjusts the information representation of the channel dimensions without changing the spatial dimensions (i.e., height and width remain unchanged). Furthermore, the introduction of an activation function adds non-linearity, further enhancing the model's representational power and introducing more feature representations, providing the model with richer information.
[0026] Further, the MambaLayer module sequentially includes a flattening unit, layer normalization, an interactive feature fusion module, and a linear reshaping unit. The interactive feature fusion module includes a main branch and a sub-branch. The processing of the MambaLayer module includes the following: the flattening unit flattens the dimensions (B, H, W, C) of the enhanced channel space feature map, converting (H, W) into a sequence length L, and changing it to dimensions (B, L, C), where L = H × W. Then, layer normalization is performed to obtain the enhanced time series feature map. The main branch performs linear transformation and one-dimensional convolution on the enhanced time series feature map using MLP to obtain the feature sequence. The SiLU activation function is used to perform nonlinear processing on the feature sequence. The nonlinearly processed feature sequence adopts a state-space model. The Mamba time series feature map is processed by the Model (SSM) to extract time-dependent features. The sub-branch performs a linear transformation using the MLP on the enhanced time series feature map, and then uses the SiLU activation function to perform non-linear processing on the feature sequence to extract non-linear time series features. The time-dependent features are then multiplied with the non-linear time series features using a Hadamard product. Afterwards, a linear reshaping unit processes the data, rearranging the dimensions (B, L, C) to (B, C, H, W), resulting in the Mamba time series feature map. In the MambaBTS network, the introduction of SSM significantly improves the network's ability to process time-series features. This technique effectively solves the high computational cost problem faced by traditional convolutional neural networks when processing time-series data. Furthermore, the application of SSM optimizes the network's sensitivity to the temporal dynamic changes in brain tumor features, thereby improving the accuracy of feature recognition.
[0027] Further, in step (2), the max pooling layer downsamples the Mamba time series feature map, and the dimension (B,C,H,W) is downsampled to (B,C,1 / 2H,1 / 2W).
[0028] Furthermore, the depthwise separable convolution includes depthwise convolution and pointwise convolution; the processing of the depthwise separable convolution includes the following: depthwise convolution processes each channel of the output of the multi-scale aggregation encoder of the last layer, and then pointwise convolution is performed on the output of the depthwise convolution using a 1x1 convolution kernel to generate the pointwise convolution output.
[0029] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0030] (1) Through the multi-scale aggregation encoder, which includes a residual extraction module, a MambaLayer module and a max pooling layer, the multi-scale aggregation encoder reduces computational complexity and improves the model's ability to extract complex features.
[0031] (2) The residual extraction module includes two multi-scale encoding modules. The multi-scale encoding module uses a batch normalization layer, a cascaded residual multi-scale convolution module, a batch normalization layer, CBAM, and a dynamic fusion unit connected in sequence to enhance feature propagation and alleviate gradient vanishing. Among them, the cascaded residual multi-scale convolution module optimizes the feature extraction process by concatenating features of different scales. This module design allows the network to process information at different spatial levels simultaneously, from large-scale global features to small-scale local details, thereby more accurately capturing the complex features and details of brain tumor MRI images, including tumor edges, size, and subtle differences. This also enhances the MambaBTS network's ability to distinguish similar non-brain tumor tissues. The dynamic fusion unit can improve the model's learning ability by expanding the feature space and distilling out key information through information compression, reducing noise and overfitting.
[0032] (3) The MambaLayer module adopts a state-space model (SSM) inspired by control theory to replace the traditional attention mechanism and uses multilayer perceptron (MLP) projection for computation, which enables efficient processing of sequence data. In this invention, the Mamba structure in MambaBTS significantly enhances the ability to process time series features. Traditional CNN architectures are usually not as good as Transformer-based models in processing time series features. When Transformer models process these features, the computational complexity increases quadratically with the sequence length, requiring a lot of computational resources. In contrast, the computational complexity of the Mamba model in processing time series features only increases linearly, which significantly improves efficiency.
[0033] (4) The multi-scale coding module and the MambaLayer module play complementary roles in the deep learning model, especially in handling complex image recognition and segmentation tasks. They can simultaneously process local details and global context of the image, improving the overall performance of the model. EncMSBlock optimizes the quality of features through the attention mechanism, while MambaLayer improves the efficiency of processing long sequence data through the state space model. The high efficiency of MambaLayer can compensate for the computational burden that EncMSBlock may bring, while EncMSBlock can compensate for the lack of detailed feature extraction that MambaLayer may bring. EncMSBlock's multi-scale feature extraction makes it perform well in spatially sensitive tasks such as image segmentation, while MambaLayer's sequence processing capability opens up new possibilities for processing time-series data or increasing the model's ability to process dynamic information. Attached Figure Description
[0034] Figure 1 This is a flowchart of the training and testing process for brain tumor MRI image segmentation according to the present invention.
[0035] Figure 2 This is a structural diagram of the MambaBTS network of the present invention;
[0036] Figure 3 This is a structural diagram of the multi-scale coding module of the present invention;
[0037] Figure 4 This is a structural diagram of the cascaded residual multi-scale convolution module according to an embodiment of the present invention;
[0038] Figure 5 The diagram shows the structure of the four types of cascaded residual multiscale convolution modules of this invention.
[0039] Figure 6 This is a structural diagram of the MambaLayer module of the present invention;
[0040] Figure 7 The diagrams show a comparison of the present invention and other segmentation methods during training; (a) is a comparison of the intersection-union ratio (IoU) of the present invention and other segmentation methods in the training set; (b) is a comparison of the loss of the present invention and other segmentation methods in the training set; (c) is a comparison of the intersection-union ratio (IoU) of the present invention and other segmentation methods in the validation set; and (d) is a comparison of the loss of the present invention and other segmentation methods in the validation set.
[0041] Figure 8 The following are heat maps of brain tumor MRI images of the present invention: (a) FLAIR at one location, (b) T1 at one location, (c) T2 at one location, (d) T1ce at one location, (e) FLAIR at another location, (f) T1 at another location, (g) T2 at another location, and (h) T1ce at another location.
[0042] Figure 9 The following is a visualization of the feature mapping process during feature extraction in this invention: (a) after the first layer downsampling, (b) after the second layer downsampling, (c) after the third layer downsampling, (d) after the fourth layer downsampling; (e) after the fourth layer upsampling, (f) after the third layer upsampling, (g) after the second layer upsampling, and (h) after the first layer upsampling.
[0043] Figure 10 The images show a comparison of brain tumor segmentation results of the present invention and other segmentation methods: (a) Ground Truth, (b) MambaBTS, (c) UNet++, (d) DeepResNet, (e) UNETR, (f) TransUNet, (g) Swin UNETR, and (h) SegMamba. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. Of course, the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0045] Example 1
[0046] This embodiment provides a brain tumor image segmentation method based on multi-scale convolution and Mamba structure, such as... Figure 1 As shown, it includes the following steps:
[0047] (1) Preprocess the four modalities FLAIR, T1, T1ce and T2 of each original three-dimensional MRI image of the brain in the dataset, as well as the three-dimensional GT segmentation mask image, to obtain the training set, validation set and test set;
[0048] (2) Train the MambaBTS network using the training and validation sets obtained in step (1) to obtain a brain tumor image segmentation model; the MambaBTS network uses the Unet network structure as its base network, such as Figure 2 As shown, in each downsampling layer of the Unet network, a multi-scale aggregation encoder UDMBlock replaces the original encoder, and in the bottleneck layer of the Unet network, two depthwise separable convolutions replace two standard convolutions respectively. The multi-scale aggregation encoder UDMBlock includes a residual extraction module ResUDM, a MambaLayer module, and a max-pooling layer MaxPooling. The residual extraction module ResUDM includes two multi-scale encoding modules EncMSBlock, which are connected through residuals. Figure 3 As shown, the multi-scale coding module EncMSBlock includes a batch normalization layer BatchNorm, a cascaded residual multi-scale convolutional module MSConvX, a batch normalization layer BatchNorm, CBAM, and a dynamic fusion unit connected in sequence. Among them, the cascaded residual multi-scale convolutional module is used to perform comprehensive feature extraction at different spatial levels; CBAM is used to obtain channel and spatial attention feature maps to enhance key features; the dynamic fusion unit is used for deep feature transformation to enhance the model's expressive power; the MambaLayer module optimizes feature integration, reduces computation, and improves segmentation accuracy.
[0049] (3) The brain tumor image segmentation model predicts the test set and outputs the results of brain tumor region segmentation.
[0050] Step (1) further includes the following steps:
[0051] (11) The pixel values of the four modalities FLAIR, T1, T1ce and T2 of the original three-dimensional MRI images of the brain were normalized by the normalization method. The normalization process can reduce the bias caused by the extreme values of the data, thereby ensuring the enhanced consistency and comparability of the entire dataset.
[0052] (12) Use center clipping to adjust the pixel value normalized image to a width of 160px and a height of 160px to ensure that the size of the input image of the model is consistent; perform slicing on the image to remove slices with a pixel value of 0, that is, remove slices without lesions to reduce the amount of computation.
[0053] (13) The slices with non-zero pixel values of the four modal FLAIR, T1, T1ce and T2 are spliced in the channel dimension. The spliced dimension is (160,160,4). The processed 17,216 image data points are divided into 66% training set, 16% validation set and 18% test set.
[0054] Step (1) uses the SimpleITK and Numpy open-source libraries.
[0055] In step (2), such as Figure 3 The cascaded residual multiscale convolutional module MSConvX includes multiple convolutional batch normalization modules (ConvBNs) and cascaded residual units (CRs). Each ConvBN consists of convolutional kernels and batch normalization layers, with the larger kernel preceding the smaller kernel. Each cascaded residual unit (CR) is composed of multiple convolutional batch normalization modules connected by residuals. In this embodiment, as... Figure 4 As shown, there are five ConvBN (Convolutional Batch Normalization) modules. The convolutional kernels of these five ConvBN modules are, in order, one 7x7 kernel, one 5x5 kernel, and three 3x3 kernels. Each kernel size targets different spatial levels for comprehensive feature extraction. The 3x3 kernel focuses more effectively on fine details than the larger 5x5 and 7x7 kernels. Compared to the smaller 3x3 and larger 7x7 kernels, the 5x5 kernel achieves higher accuracy in capturing mid-level features. The 7x7 kernel outperforms the smaller 3x3 and 5x5 kernels in extracting contextual details, resulting in more comprehensive feature extraction. The cascaded residual multi-scale convolutional modules are beneficial for the MambaBTS network to recognize complex details in brain tumor images. Figure 5 In (a)MSConvV1, starting with a 9x9 convolutional kernel, it gradually transitions to 7x7, 5x5, and finally uses two 3x3 convolutional kernels, capturing image features layer by layer from macro to micro; such as Figure 5In (b)MSConvV2, an initial 7x7 convolutional kernel is used, followed by two 5x5 convolutional kernels to enhance the extraction of medium-scale features, and finally two 3x3 convolutional kernels for more detailed feature analysis; such as Figure 5 (c)MSConvV3 starts with a 7x7 convolutional kernel, followed by a 5x5 convolutional kernel, and finally deploys three 3x3 convolutional kernels, focusing on enhancing the model's local feature resolution capabilities without significantly increasing computational burden; such as Figure 5 The (d)MSConvV4 model initially uses two 5x5 convolutional kernels, followed by three 3x3 convolutional kernels, focusing on in-depth extraction and analysis of subtle features. This setup effectively balances computational resource usage with feature extraction capabilities. By gradually transitioning from larger to smaller convolutional kernels, computational complexity is controlled while ensuring the extraction of subtle and complex details from the image. This approach enhances the model's ability to capture image details while maintaining efficiency, making it suitable for handling complex visual tasks requiring high-precision feature recognition. After experimental verification, this invention chose MSConvV3 because it effectively improves the extraction of subtle features through the repeated use of smaller convolutional kernels while maintaining computational efficiency.
[0056] In step (2), CBAM includes channel attention mechanism and spatial attention mechanism;
[0057] The channel attention mechanism is as follows:
[0058] Global average pooling and global max pooling are performed on the feature maps obtained by the cascaded residual multi-scale convolution module. The global average pooling and global max pooling processes capture the average response and the strongest response of each channel in the feature maps obtained by the cascaded residual multi-scale convolution module, respectively, providing a basis for evaluating the importance of the channels.
[0059] The feature map obtained by pooling is input into the MLP to obtain channel features; the MLP is usually composed of two fully connected layers to learn the weights of different channels;
[0060] The channel features are processed using the Sigmoid activation function to generate channel attention feature extraction maps; these weights are used to adjust the response of each channel in the feature map obtained by the cascaded residual multiscale convolution module, thereby emphasizing important channels and suppressing unimportant channels.
[0061] The spatial attention mechanism is as follows:
[0062] The feature maps obtained by the cascaded residual multi-scale convolution module are subjected to max pooling and average pooling along the channel dimension to obtain two types of spatial feature maps.
[0063] The two spatial feature maps are connected along the channel dimension and convolved using a 7×7 convolution kernel to obtain local spatial features; this convolutional layer learns how to allocate attention weights in space.
[0064] Local spatial features are processed using the Sigmoid activation function to generate a spatial attention feature map. This spatial attention feature map is then used to weight the feature map obtained from the cascaded residual multi-scale convolution module, enabling the MambaBTS network model to focus more on important spatial locations during processing.
[0065] Add the channel attention feature map and the spatial attention feature map to obtain the channel spatial attention feature map.
[0066] The formulas (1) and (2) for the channel attention module and the spatial attention module are as follows:
[0067] M c =σ(MLP(AvgPool(X)+MLP(MaxPool(x))) (1)
[0068] M s =σ(f 7×7 (AvgPool(X);MaxPool(x)])) (2)
[0069] In formulas (1) and (2), M C and M S These are channel attention feature maps and spatial attention feature extraction maps, where σ represents the Sigmoid function, MLP represents a multilayer perceptron, and AvgPool and MaxPool are global average pooling and global max pooling operations, respectively; f 7×7 This indicates that a convolution operation is performed using a convolution kernel of size 7×7.
[0070] like Figure 3As shown, the dynamic fusion unit includes a fully connected extension layer PWConvV1, a Gaussian Error Linear Unit (GELU), a Global Response Normalization (GRN) structure, and a fully connected compression layer PWConvV2. The processing procedure of the dynamic fusion unit is as follows: The fully connected extension layer PWConvV1 transposes the dimension (B,C,H,W) of the channel space attention feature map to (B,H,W,C), and then performs channel extension, resulting in a dimension of (B,H,W,4C). The output of the fully connected extension layer is non-linearly transformed using the GELU activation function, and then processed by the GRN to obtain an intermediate feature map. The fully connected compression layer PWConvV2 compresses the dimension (B,H,W,4C) of the intermediate feature map to (B,H,W,C), and then transposes it to (B,C,H,W) to obtain an enhanced channel space feature map. This dimensionality compression of the feature map reduces the data dimensionality and compresses information. The dimensional expansion of the feature map is used to introduce more feature representations and provide richer information to the model. This transformation does not change the spatial dimension (i.e., it does not change the height and width of the feature map), but it can effectively adjust the information representation on the channel dimension and the activation function to introduce nonlinearity and enhance the model's representational power.
[0071] like Figure 6As shown, the MambaLayer module sequentially includes a Flatten unit, Layer Normalization (Layer Normalization), an interactive feature fusion module, and a Linear Reshape unit. The interactive feature fusion module includes a main branch and a sub-branch. The processing of the MambaLayer module includes the following: The Flatten unit flattens the dimensions (B, H, W, C) of the enhanced channel space feature map, converting (H, W) into a sequence length L, and changing it to dimensions (B, L, C), where L = H × W. Then, layer normalization is performed to obtain the enhanced time series feature map. The main branch uses MLP to perform linear transformation and one-dimensional convolution on the enhanced time series feature map to obtain the feature sequence. The SiLU activation function is used to perform nonlinear processing on the feature sequence. The nonlinearly processed feature sequence is then processed using a state-space model (State... The Mamba time series feature map is processed by the Space Model (SSM) to extract time-dependent features. The secondary branch performs a linear transformation using the MLP on the enhanced time series feature map, and then uses the SiLU activation function to perform non-linear processing on the feature sequence to extract non-linear time series features. The time-dependent features and the non-linear time series features are then multiplied by the Hadamard product. Finally, a linear reshaping unit processes the data, rearranging the dimensions (B, L, C) to (B, C, H, W) to obtain the Mamba time series feature map. The application of SSM in the MambaBTS network model significantly improves the ability to process time-series features, solving the problem of high computational cost in processing time-series data by traditional convolutional neural networks, thereby optimizing the recognition of brain tumor features sensitive to dynamic temporal changes.
[0072] like Figure 6 As shown, the X∈(B,C,H,W) model initially flattens the spatial dimensions, transforming (H,W) into the sequence length of the given features, and then changing the dimensions to (B,L,C), where L=H×W. Subsequently, a one-dimensional convolution operation is performed to further compress the features. Finally, the system inputs the processed features into the SSM module for in-depth analysis. This process highlights the model's ability to effectively manipulate and analyze spatial data by utilizing sequence transformations and deep learning techniques.
[0073] like Figure 2 As shown, the max pooling layer downsamples the Mamba time series feature map, and the dimension (B,C,H,W) is downsampled to (B,C,1 / 2H,1 / 2W).
[0074] like Figure 2As shown, the depthwise separable convolution SepConv includes depthwise convolution and pointwise convolution. The processing of the depthwise separable convolution includes the following: depthwise convolution processes each channel of the output of the last layer's multi-scale aggregation encoder; then, pointwise convolution is performed on the output of the depthwise convolution using a 1x1 kernel to generate the pointwise convolution output. This invention also improves the bottleneck layer of the Unet network structure. While the Unet network structure typically uses standard convolution for feature extraction at the bottleneck layer, this invention employs depthwise separable convolution SepConv. In this invention, depthwise convolution independently processes each input channel without cross-channel information fusion; pointwise convolution uses a 1x1 kernel to fuse the information from each channel of the depthwise convolution output, thereby enhancing the expressive power of the features. SepConv has small parameters and low computational cost while maintaining the ability to extract key features, which is particularly important for processing high-dimensional medical image data. Upsampling is performed after the bottleneck layer, using transposed convolution or interpolation methods to gradually increase the size of the feature map, thereby restoring the original resolution of the image. Furthermore, by using skip connections, the high-resolution feature map obtained from downsampling, i.e. the feature map output by UDMBlock, is fused with the upsampling features. This allows for the preservation of more edge and detail information while reconstructing the image, which is crucial for accurate image segmentation.
[0075] In step (3), the brain tumor image segmentation model predicts the results of brain tumor region segmentation on the test set. The brain tumor image segmentation model trained on the training set and validation set is tested on the test set. The test set is input into the brain tumor image segmentation model to generate a feature map with 3 channels. Each channel corresponds to the whole tumor region (WT), the tumor core region (TC), and the enhanced tumor region (ET). These three channels provide the probability of each pixel belonging to WT, TC, and ET, respectively. Then, a threshold is set. The threshold for belonging to WT, TC, and ET is 0.5. The probability map is converted into a binary image. Pixels above the threshold are marked as the corresponding WT, TC, and ET. The predicted segmentation mask image is output.
[0076] The multi-scale coding module EncMSBlock effectively captures features at different scales and important spatial information in images through the cascaded residual multi-scale convolutional modules MSConvX and CBAM. MSConvX captures multi-scale features and enhances feature representation by cascading convolutional batch normalization modules (ConvBN) with convolutional kernels of different sizes. Through CBAM, EncMSBlock further enhances the model's focus on important channels and spatial regions, improving feature representativeness and segmentation accuracy.
[0077] MambaLayer utilizes a State-Space Model (SSM) to process sequential data, making it particularly suitable for handling time-series data or enhancing models' understanding of long-range dependencies. In image processing tasks, MambaLayer is primarily responsible for: long-range dependency capture: Through SSM, MambaLayer can effectively capture and process long-range dependencies between image features, which is very helpful for understanding complex structures and patterns in images; efficient feature fusion: By compressing the spatial dimension into a sequence and then processing it using SSM, MambaLayer not only reduces computational cost but also effectively fuses feature information from different levels.
[0078] The EncMSBlock and MambaLayer modules play complementary roles in deep learning models, especially in handling complex image recognition and segmentation tasks, such as brain tumor segmentation. This complementarity is particularly important: (1) Feature-level complementarity: EncMSBlock emphasizes capturing diverse features at spatial scales, while MambaLayer enhances the model's ability to capture long-term temporal dependencies. When used together, they can simultaneously process local details and global context of images, improving the overall performance of the model; (2) Balance between performance and efficiency: EncMSBlock optimizes feature quality through an attention mechanism, while MambaLayer improves the efficiency of processing long sequence data through a state-space model. To a certain extent, the high efficiency of MambaLayer can compensate for the computational burden that EncMSBlock may bring; (3) Expansion of application scenarios: EncMSBlock's multi-scale feature extraction makes it perform well in spatially sensitive tasks such as image segmentation, while MambaLayer's sequence processing capability opens up new possibilities for processing temporal data or increasing the model's ability to process dynamic information. This complementarity allows the model to adapt to a wider range of application scenarios when used together.
[0079] This embodiment is compared with the effectiveness of six segmentation methods in the field of brain tumor MRI image segmentation: UNet++, DeepResNet (He et al., 2016), UNETR (Hatamizadeh et al., 2022b), TransUNet, Swin UNETR (Hatamizadeh et al., 2022a), and SegMamba.
[0080] The MICCAI BraTS 2019 dataset (Bakas et al., 2019) was used. This dataset contains data from multiple international medical centers, covering MRI images of patients with high-grade gliomas (HGG) and low-grade gliomas (LGG). Data for each patient included four modalities of 3D brain MRI images: FLAIR (Fluid Attenuated Inversion Recovery), T1 (T1-weighted), T1ce (T1-weighted contrast enhancement), T2 (T2-weighted), and a 3D Ground Truth (GT) segmentation mask image. The dimensions of all four modalities of the 3D MRI images were 240pt × 240pt × 155. The 3D GT segmentation mask image included labels for the whole tumor region (WT), tumor core region (TC), and enhanced tumor region (ET). WT is labeled with label 2, TC with label 1, ET with label 4, and all other areas are labeled with label 0.
[0081] The model training in this embodiment was performed on the Ubuntu 22.04LTS operating system, using an NVIDIA RTX4090 graphics card for accelerated computation. PyTorch 2.1 was chosen as the deep learning framework. The entire training process consisted of 400 training epochs, with each batch size of 48. An initial learning rate of 1e was used. -3 The Adam optimizer was used for parameter optimization. Furthermore, the ExponentialLR learning rate scheduler was employed, which reduces the learning rate by a decay factor of 0.99 at the end of each epoch to help the model converge more effectively. An early stopping training method was also used; if no significant performance improvement was observed on the validation set for 20 consecutive epochs, the model would stop training. The composite loss function BceDiceLoss was used during training. BceDiceLoss combines binary cross-entropy and Dice loss to improve the model's performance on image segmentation tasks.
[0082] The composite loss function BceDiceLoss is calculated using formulas (3), (4), and (5).
[0083] The binary cross-entropy loss BCELoss is expressed by formula (3):
[0084]
[0085] Dice loss (DiceLoss) is expressed by formula (4):
[0086]
[0087] BceDiceLoss=α·BCE+β·DiceLoss (5)
[0088] Where N is the number of pixels, y i For the label, p i Let a = 0.5 and β = 1, where β is the probability predicted by the model.
[0089] Five metrics—Dice coefficient, positive predictive value (PPV), sensitivity, Hausdorff distance (HD), and boundary intersection-over-union ratio (BIoU)—were used to verify the segmentation performance of this embodiment in WT, TC, and ET. Dice coefficient and PPV are used to measure segmentation accuracy, sensitivity is used to evaluate the model's ability to identify the actual tumor region, HD measures the maximum difference between the segmentation result and the actual tumor boundary, and BIoU measures the accuracy of the segmentation boundary. Dice coefficient, PPV, sensitivity, and HD are calculated using formulas (6), (7), (8), and (9):
[0090]
[0091]
[0092] HD(Q, U) = max(max q∈Q (min u∈U d(q,u)), max u∈U (min q∈Q d(q,u))) (8)
[0093]
[0094] In formulas (6)(7)(8)(9), Q represents the predicted segmentation mask image, U represents the actual segmentation mask image, TP represents predicting the positive class as positive, FP represents predicting the negative class as positive, and FN represents predicting the positive class as negative. Here, d(q,u) is the Euclidean distance, q is the predicted pixel value, u is the actual pixel value, and HD(Q,U) represents the maximum asymmetric difference between the predicted segmentation mask image and the actual segmentation mask image, which is used to reflect the distance difference between the actual segmentation mask image and the predicted segmentation mask image in this embodiment.
[0095] The formula for BIoU (10):
[0096]
[0097] In formula (10), Boundary GT Representing the ground truth boundary, extracted from the actual segmentation mask image. Pred This refers to the predicted boundary, which is extracted from the predicted segmentation mask image output by the segmentation method.
[0098] Training details
[0099] The intersection-union ratio (IoU) and loss of this embodiment are compared with those of other segmentation methods in the training set and in the validation set. Figure 7 (a) Cross-Union Comparison (IoU) in the training set Figure 7 (b) Training Loss in the training set Figure 7 (c) The intersection-union ratio (IoU) in the validation set. Figure 7 (d) Validation Loss in the Validation Set. It can be seen that this embodiment has the highest Intersection over Union (IoU) and lowest loss in the training set, and the highest IoU and lowest loss in the validation set.
[0100] Multimodal heatmap and feature map analysis
[0101] Heatmaps were generated from four modalities of brain tumor MRI images: FLAIR, T1, T1ce, and T2. A heatmap of one location is shown below. Figure 8 (a) FLAIR, Figure 8 (b)T1、 Figure 8 (c)T2、 Figure 8 (d)T1ce; a heatmap of another location is shown below. Figure 8 (e)FLAIR Figure 8 (f)T1、 Figure 8 (g)T2、 Figure 8 (h)T1ce, in the heatmap, hot areas (from red to yellow) represent regions with a high probability of tumor presence, and cold areas (blue) represent regions with a low probability of tumor presence. These heatmaps describe the model's areas of interest during tumor region prediction, demonstrating the consistency of tumor regions the model focuses on across different modalities. Heatmaps for FLAIR, T1, T2, and T1ce modes are shown below. Figure 8 As shown, despite the different modalities, the model captures the high-probability areas where tumors are present, indicating that the model can combine information from four modalities to accurately locate tumor regions.
[0102] Furthermore, this embodiment visualizes the feature maps of the network during the downsampling and upsampling training phases, demonstrating how the model locates brain tumor regions layer by layer. The visualized images are as follows: Figure 9 (a) is the result of the first layer downsampling. Figure 9 (b) is the result after the second layer downsampling. Figure 9 (c) is the result of downsampling at the third layer. Figure 9 (d) is the result after the fourth layer downsampling; Figure 9 (e) is the result of upsampling at the fourth layer. Figure 9 (f) is the result of upsampling at the third layer. Figure 9 (g) represents the second layer upsampling, Figure 9 (h) shows the image after the first layer upsampling; different colors indicate different weights for the model's regions of interest, with darker colors indicating higher weights for those regions. This represents the model extracting relevant features from the preprocessed image across four layers. Through cascaded residual multi-scale convolutional modules and the Manba structure, the model is able to gradually abstract the edges and textures of the tumor. The feature visualization image after the first layer downsampling shows the detailed features of the preprocessed image, while as the number of network layers increases, the image becomes increasingly abstract, and the model captures high-level features. Figure 9 The model accurately segmented the tumor region during the downsampling and upsampling training phases.
[0103] Table 1 lists the number of parameters and floating-point operations (FLOPs) for this embodiment and other segmentation methods. The number of parameters indicates the complexity and capacity of the segmentation model, while the number of floating-point operations is an indicator of computational complexity.
[0104] As shown in Table 1, UNet++ has 36.63M parameters and 54G floating-point operations per second (FLOPs). In comparison, DeepResNet has a similar number of parameters, but its FLOPs are significantly lower. UNETR has an even higher number of parameters, reaching 95.39M, and its FLOPs are as high as 27 billion. TransUNet has 105.21M parameters, which is relatively high among similar models, but its computational efficiency is better than most segmentation methods, with only 14 billion FLOPs. Swin UNETR has 25.14M parameters and produces 27 billion FLOPs, showing a good balance between performance and efficiency. SegMamba adopts a more compact design with 22.86M parameters and reduces FLOPs to 13 billion. This embodiment reduces the number of parameters to 18.09M and significantly reduces FLOPs to 800 million through network architecture optimization. This efficient design significantly reduces resource requirements while maintaining high performance, making it very suitable for environments with limited computing resources without compromising performance.
[0105] Table 1 compares the number of parameters and floating-point operations in this embodiment with other segmentation methods.
[0106]
[0107]
[0108] The comparison of this embodiment with other segmentation methods in terms of Dice coefficient, PPV, sensitivity, and HD is shown in Tables 2 and 3. This embodiment demonstrates superior segmentation performance for WT, TC, and ET. Specifically, the Dice coefficient for WT is 0.8450, for TC it is 0.8606, and for ET it is 0.7796, all of which are better than other segmentation methods. Although the PPV is slightly lower for WT, this embodiment shows an advantage in sensitivity, demonstrating stronger brain tumor region detection capabilities. Furthermore, this embodiment exhibits the lowest Hausdorff distance in the segmentation results for WT, TC, and ET (see Table 3), indicating its high accuracy in brain tumor boundary delineation.
[0109] Table 2 Comparison of Dice, PPV, and sensitivity between this embodiment and other segmentation methods
[0110]
[0111] Table 3 HD Comparison of This Example with Other Segmentation Methods
[0112]
[0113] Figure 10 The visual comparison of the segmentation results shown further illustrates the advantages of this embodiment, particularly in rendering tumor outlines and complex details. This is especially evident in complex tumor morphologies and blurred boundaries, where the segmentation results of this embodiment are highly accurate and cohesive, demonstrating its significant advantages. Figure 10 For visual comparison of brain tumor segmentation results, four slices at different locations are shown from top to bottom. The segmentation results of each slice are derived from (a) GroundTruth, (b) MambaBTS, (c) UNet++, (d) DeepResNet, (e) UNETR, (f) TransUNet, (g) SwinUNETR, and (h) SegMamba, respectively. ET is marked in yellow, TC is marked in yellow and red, and WT is marked in yellow, red, and green.
[0114] Table 4 Comparison of BIoU scores between this embodiment and other segmentation methods
[0115]
[0116] Table 4 shows that the average BIoU score of this embodiment is 0.8057, reflecting its ability to accurately delineate brain tumor boundaries. Specifically, the BIoU score for WT is 0.8645, indicating that the model can capture a wide area of the tumor; for TC, the BIoU score is 0.7350, demonstrating the potential of this method to identify key central tumor regions (crucial for targeted therapy); and the score for ET is 0.8175, indicating the accuracy of this embodiment in segmenting actively growing tumor regions.
[0117] ablation experiment
[0118] This embodiment verifies the impact of the positional relationship between MambaLayer and ResUDM on segmentation accuracy, as well as the impact of CBAM on segmentation accuracy. Two different configuration methods were compared: MambaLayer+ResUDM and ResUDM+MambaLayer. According to Table 4, the ResUDM+MambaLayer configuration is significantly superior to the Mamba+ResUDM configuration. The Dice coefficients of WT, TC, and ET in the ResUDM+MambaLayer configuration are improved by 5%, 2%, and 6%, respectively, while HD is reduced by 0.25, 0.02, and 0.22, respectively. Table 5 shows that ResUDM+MambaLayer has better PPV and sensitivity. Placing ResUDM before MambaLayer can effectively extract key features, thereby improving the effectiveness of MambaLayer in subsequent processing. The performance of MambaLayer largely depends on the quality of the features generated by ResUDM, indicating that the positional relationship of the module configuration affects the segmentation effect of the brain tumor region.
[0119] Table 4. The Influence of Positional Relationship on Dice Coefficient and HD
[0120]
[0121] Table 5. Effects of positional relationship on PPV and sensitivity.
[0122]
[0123]
[0124] Integrating CBAM into the ResUDM+MambaLayer and MambaLayer+ResUDM configurations significantly improves segmentation performance. As shown in Table 6, adding CBAM to the ResUDM+Mamba configuration increases the Dice coefficients of WT, TC, and ET and reduces HD, further demonstrating improved segmentation accuracy. This indicates a closer approximation between the predicted and actual tumor boundaries, proving that CBAM can improve accuracy. Table 7 shows that adding CBAM to the MambaLayer+ResUDM configuration improves the Dice coefficients of WT, TC, and ET. CBAM reduces HD; the reduction in HD for WT, TC, and ET indicates more accurate boundary delineation.
[0125] As shown in Tables 8 and 9, in the ResUDM+MambaLayer and MambaLayer+ResUDM configurations, the addition of CBAM improved the PPV and sensitivity for WT, TC, and ET, respectively. The improved PPV and sensitivity indicate a significant increase in the accuracy and coverage of brain tumor region segmentation. The increased PPV suggests that the model reduces false positives when predicting tumor regions, i.e., misidentifying non-tumor regions as tumors, thus improving prediction accuracy. Simultaneously, the increased sensitivity means that the model can more effectively identify actual tumor regions, reducing the possibility of missed diagnoses. This reflects that CBAM can improve segmentation accuracy.
[0126] Table 6. Effects of CBAM on Dice coefficient and HD of ResUDM+MambaLayer
[0127]
[0128] Table 7. Effects of CBAM on Dice coefficient and HD of MambaLayer+ResUDM
[0129]
[0130] Table 8. Effects of CBAM on PPV and Sensitivity of ResUDM+MambaLayer
[0131]
[0132]
[0133] Table 9. Effects of CBAM on PPV and sensitivity of MambaLayer+ResUDM structures.
[0134]
[0135] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A brain tumor image segmentation method based on multi-scale convolution and Mamba structure, characterized in that, Includes the following steps: (1) Preprocess the four modalities FLAIR, T1, T1ce and T2 of each original three-dimensional MRI image of the brain in the dataset, as well as the three-dimensional Ground Truth segmentation mask image, to obtain the training set, validation set and test set; Step (1) includes the following steps: (11) The pixel values of the four modalities FLAIR, T1, T1ce and T2 of the original three-dimensional MRI images of the brain were normalized using the normalization method; (12) Adjust the image with normalized pixel values to a width of 160px and a height of 160px by using center cropping; slice the image to remove slices with a pixel value of 0; (13) Slices with non-zero pixel values of the four modal FLAIR, T1, T1ce and T2 are concatenated along the channel dimension, and the concatenated dimension is (160, 160, 4); the processed image data points are divided into training set, validation set and test set; (2) The MambaBTS network is trained using the training set and validation set obtained in step (1) to obtain a brain tumor image segmentation model. The MambaBTS network uses the Unet network structure as the base network. In each downsampling layer of the Unet network, a multi-scale aggregation encoder is used to replace the original encoder. In the bottleneck layer of the Unet network, two depthwise separable convolutions are used to replace two standard convolutions respectively. The multi-scale aggregation encoder includes a residual extraction module, a MambaLayer module and a max pooling layer. In step (2), the residual extraction module includes two multi-scale encoding modules, which are connected through residuals. The multi-scale encoding module includes a batch normalization layer, a cascaded residual multi-scale convolution module, a batch normalization layer, a convolutional block attention module, and a dynamic fusion unit connected in sequence. The dynamic fusion unit includes a fully connected expansion layer, a Gaussian error linear unit, a global response normalization structure, and a fully connected compression layer. The processing procedure of the dynamic fusion unit is as follows: The fully connected expansion layer transposes the dimension (B,C,H,W) of the channel space attention feature map to (B,H,W,C), and then performs channel expansion, resulting in a dimension of (B,H,W,4C). The output of the fully connected expansion layer is non-linearly transformed using the GELU activation function, and then processed by GRN to obtain an intermediate feature map. The fully connected compression layer compresses the dimension (B,H,W,4C) of the intermediate feature map to (B,H,W,C), and then transposes it to (B,C,H,W) to obtain an enhanced channel space feature map. The cascaded residual multi-scale convolution module includes multiple convolutional batch normalization modules and cascaded residual units. Each convolutional batch normalization module consists of convolutional kernels and batch normalization layers, with the larger convolutional batch normalization module preceding the smaller one. Each cascaded residual unit is formed by connecting multiple convolutional batch normalization modules via residual connections. There are five convolutional batch normalization modules, and the five ConvBN modules each have a 7x7 convolutional kernel, a 5x5 convolutional kernel, and three 3x3 convolutional kernels, respectively. (3) The brain tumor image segmentation model predicts the test set and outputs the results of brain tumor region segmentation.
2. The brain tumor image segmentation method based on multi-scale convolution and Mamba structure according to claim 1, characterized in that, The convolutional block attention module includes channel attention mechanism and spatial attention mechanism; The channel attention mechanism involves performing global average pooling and global max pooling on the feature maps obtained from the cascaded residual multi-scale convolution module. The feature map obtained by pooling is input into a multilayer perceptron to obtain channel features; The channel features are processed using the Sigmoid activation function to generate channel attention feature maps. The spatial attention mechanism performs max pooling and average pooling along the channel dimension on the feature maps obtained by the cascaded residual multi-scale convolution module to obtain two types of spatial feature maps; the two spatial feature maps are connected along the channel dimension and convolved using a 7×7 convolution kernel to obtain local spatial features; the local spatial features are processed by the Sigmoid activation function to generate a spatial attention feature map. Add the channel attention feature map and the spatial attention feature map to obtain the channel spatial attention feature map.
3. The brain tumor image segmentation method based on multi-scale convolution and Mamba structure according to claim 2, characterized in that, The MambaLayer module sequentially includes a flattening unit, a layer normalization unit, an interactive feature fusion module, and a linear reshaping unit. The interactive feature fusion module includes a main branch and a sub-branch. The processing of the MambaLayer module includes the following: The flattening unit flattens the dimensions (B, H, W, C) of the enhanced channel space feature map, converting (H, W) to a sequence length L, and changing it to dimensions (B, L, C), where L = H × W. Then, layer normalization is performed to obtain the enhanced time series feature map. The main branch performs linear transformation and one-dimensional convolution on the enhanced time series feature map using a multilayer perceptron to obtain a feature sequence. The SiLU activation function is used to perform nonlinear processing on the feature sequence. The nonlinearly processed feature sequence is then processed using a state-space model to extract time-dependent features. The sub-branch performs linear transformation on the enhanced time series feature map using a multilayer perceptron, and then uses the SiLU activation function to perform nonlinear processing on the feature sequence to extract nonlinear time series features. Then, the time-dependent features and the nonlinear time series features are multiplied by a Hadamard product. Finally, the linear reshaping unit processes the data, converting the dimensions (B, H, W, C) of the enhanced channel space feature map to a sequence length L, and then transforming it to dimensions (B, L, C), where L = H × W. The L,C) array is rearranged into dimensions (B,C,H,W) to obtain the Mamba time series feature map.
4. The brain tumor image segmentation method based on multi-scale convolution and Mamba structure according to claim 3, characterized in that, In step (2), the max pooling layer downsamples the Mamba time series feature map, and the dimension (B,C,H,W) is downsampled to (B,C,1 / 2H,1 / 2W).
5. The brain tumor image segmentation method based on multi-scale convolution and Mamba structure according to claim 4, characterized in that, The depthwise separable convolution includes depthwise convolution and pointwise convolution; the processing of the depthwise separable convolution includes the following: depthwise convolution processes each channel of the output of the multi-scale aggregation encoder of the last layer, and then pointwise convolution is performed on the output value of the depthwise convolution using a 1x1 convolution kernel to generate the pointwise convolution output.
Citation Information
Patent Citations
Brain tumor segmentation network and segmentation method based on U-Net network
CN111192245A
Lightweight optical remote sensing image change detection method based on efficient attention
CN115713529A
