A method and device for multi-organ segmentation of abdominal CT images
By introducing the SEFormer block and depth cascade downsampling block into the abdominal CT image multi-organ segmentation model, combined with SE depth separable convolution and multi-layer perceptron, the problem of model computing resource consumption and insufficient accuracy in the existing technology is solved. A more efficient abdominal CT image segmentation effect is achieved.
Patent Information
- Application Number
- CN202410902893.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing multi-organ segmentation models for abdominal CT images cannot take into account both real-time performance and accuracy. Especially when processing large-scale data sets or large models, computing resources are hugely consumed, and the organ edge segmentation accuracy is low in complex abdominal organ anatomy.
Construct a multi-organ segmentation model for abdominal CT images based on the Unet network, using the SEFormer block and the depth cascade downsampling block. Through the combination of SE depth separable convolution and multi-layer perceptron, the amount of model parameters is reduced, the calculation efficiency is improved, and the features are enhanced. The weighting of the graph and the ability to restore detailed information.
It improves the accuracy and computational efficiency of multi-organ segmentation in abdominal CT images, saves computing resources, enhances the deployment capability of the model in actual medical application scenarios, and achieves higher accuracy and real-time performance in organ segmentation.
Smart Images

Figure CN118429651B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image processing, and in particular to a method and device for multi-organ segmentation of abdominal CT images and a computer-readable storage medium. Background Art
[0002] The abdomen is a key area of the human body, covering many important organs such as the stomach, liver, gallbladder, pancreas, spleen, kidneys, etc. The health of these organs directly affects the overall physiological function, and is also closely related to many common diseases, such as gastric ulcers, cirrhosis, cholecystitis and pancreatitis. The prevalence of abdominal-related diseases is high, and many patients have asymptomatic abdominal conditions. If the relevant conditions of the abdominal organs can be detected early, it will help to intervene in time to prevent further deterioration of the disease and avoid adverse consequences.
[0003] In the medical field, various imaging technologies are widely used to detect and diagnose abdominal diseases. Among them, CT, as an advanced medical imaging technology, uses X-rays and computer technology to obtain detailed cross-sectional images of the human body in three dimensions, and can provide structural information of multiple organs such as the liver, kidneys, spleen and pancreas.
[0004] By accurately segmenting and positioning different organs in abdominal CT images, doctors can more accurately diagnose lesions and diseases of abdominal organs. For example, before surgery, doctors need to have a deep understanding of the patient's anatomical structure in order to plan the surgical procedure; through the high-resolution three-dimensional images generated by the multi-organ segmentation technology of abdominal CT images, doctors can have a more comprehensive understanding of the patient's abdominal anatomical structure, so as to make more accurate surgical planning. For some patients with chronic diseases or who need regular treatment, the multi-organ segmentation technology of abdominal CT images can be used to monitor the progression of the disease and the effect of treatment; doctors can evaluate the effectiveness of treatment by comparing images at different time points and adjust the treatment plan accordingly. In organ transplantation surgery, multi-organ segmentation of abdominal CT images helps doctors evaluate the compatibility of patients and donor organs and ensure that damage to organs is minimized during surgery. Therefore, the multi-organ segmentation technology of abdominal CT images plays an important role in improving the accuracy of medical imaging diagnosis, guiding treatment and surgical planning, and helps improve the diagnosis and treatment effects of patients.
[0005] The development of multi-organ segmentation technology for abdominal CT images has gone through several stages. Early methods were mainly based on traditional image segmentation techniques, including threshold segmentation, edge detection, and mathematical morphology. Although these methods may perform well in some simple situations, their accuracy and robustness are limited in complex medical images. With the development of computer vision and machine learning, researchers began to use image features for segmentation. These methods use image features such as texture, shape, and intensity, combined with machine learning algorithms such as support vector machines (SVM) and random forests to perform multi-organ segmentation of abdominal CT images. These methods have improved the accuracy of segmentation to a certain extent.
[0006] After entering the 21st century, the rise of deep learning has had a revolutionary impact on image segmentation. Deep learning models, especially convolutional neural networks (CNNs), have the ability to learn high-level features in images and can perform medical image segmentation more accurately. Deep learning methods, especially network architectures such as U-Net and SegNet, have significantly improved the accuracy and efficiency of medical image segmentation.
[0007] Transformer is a landmark innovation in the field of deep learning. Its core idea is the multi-head attention mechanism. By establishing global dependencies in sequence data, the model can better capture contextual information and has made remarkable achievements in the field of natural language processing. However, when applying Transformer to the field of medical image segmentation, directly upsampling the hidden features obtained by Transformer encoding to full-resolution output does not produce good results.
[0008] Therefore, researchers conducted research based on Transformer and the classic medical image segmentation model UNet, exploring how to combine the two and apply them to medical image segmentation tasks. TransUNet proposed by Chen et al. is the first network model that applies Transformer blocks to the UNet structure. They use a hybrid CNN-Transformer architecture to extract features, then sample the cascaded upsampler (CUP) to decode the hidden features, and combine them with different high-resolution CNN features in the encoder to achieve accurate segmentation of medical images.
[0009] However, the large number of parameters and computational requirements in the TransUNet model may have memory and computational limitations, especially when processing large-scale data sets or large models, which consumes huge computing resources and is inefficient. In actual medical applications, especially in real-time scenarios such as surgical navigation, the model must have real-time and low-latency characteristics, so the TransUNet model is not suitable for actual medical applications. In addition, the anatomical structure of abdominal organs is relatively complex, and there are mutual occlusions and similar features between organs. Simply reducing the model parameters will lead to a decrease in the segmentation accuracy of the organ edges. Therefore, how to improve the accuracy of multi-organ segmentation in abdominal CT images while reducing the number of model parameters is a challenge faced by existing technologies. Summary of the invention
[0010] Therefore, the technical problem to be solved by the present invention is to overcome the problem that the multi-organ segmentation model of abdominal CT images in the prior art cannot take into account both real-time performance and accuracy.
[0011] In order to solve the above technical problems, the present invention provides a method for multi-organ segmentation of abdominal CT images, comprising:
[0012] Construct a multi-organ segmentation model for abdominal CT images, using the Unet network as the basic structure, including multiple encoders and multiple decoders;
[0013] The encoder includes a downsampling layer and a plurality of SEFormer blocks connected in sequence along a forward propagation direction; the input of the SEFormer block is input into the SE depthwise separable convolution after layer normalization, the output of the SE depthwise separable convolution is added to the input of the SEFormer block to obtain an intermediate value; the intermediate value is input into the multilayer perceptron after layer normalization, the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block;
[0014] The SE depth separable convolution includes a first point convolution, a ReLU activation function, a depth convolution, a SE module and a second point convolution sequentially connected along the forward propagation direction;
[0015] The original CT image is input into the abdominal CT image multi-organ segmentation model, and the organ segmentation image is output.
[0016] Preferably, the abdominal CT image multi-organ segmentation model includes four encoders and four decoders; wherein the first encoder includes 3 SEFormer blocks, the second encoder includes 3 SEFormer blocks, the third encoder includes 9 SEFormer blocks, and the fourth encoder includes 3 SEFormer blocks.
[0017] Preferably, the step of inputting the original CT image into the abdominal CT image multi-organ segmentation model and outputting the organ segmentation image comprises:
[0018] The original CT image is input into the multi-organ segmentation model of abdominal CT images, and passes through the first encoder, the second encoder, the third encoder and the fourth encoder in sequence. The feature map output by the fourth encoder is used as the input of the decoder, and passes through the first decoder, the second decoder, the third decoder and the fourth decoder in sequence; at the same time, the feature maps output by the first encoder, the second encoder and the third encoder are respectively passed to the third decoder, the second decoder and the first decoder through jump connections, and the feature map from the encoder is fused with the features output by the upsampling layer in the decoder; the fourth decoder outputs an organ segmentation image of the same size as the original CT image.
[0019] Preferably, the expression of the SEFormer block includes:
[0020] ;
[0021] ;
[0022] in, Representation layer normalization operation, represents SE depthwise separable convolution, is the input feature map of the SEFormer block, is the middle value, represents a multi-layer perceptron, Represents the output of the SEFormer block.
[0023] Preferably, the input of the SE depthwise separable convolution is sequentially subjected to the first point convolution, the ReLU activation function, and the depthwise convolution. The output of the depthwise convolution is multiplied by the output of the depthwise convolution after passing through the SE module. The multiplication result is input to the second point convolution. The second point convolution outputs the output of the SE depthwise separable convolution. The formula is:
[0024] ;
[0025] in, is the input feature map of SE depth-wise separable convolution, represents the first point convolution, represents the ReLU activation function, represents the depthwise convolution, Represents the SE module, represents the second point convolution, Represents the output of SE depthwise separable convolution.
[0026] Preferably, the calculation formula of the depth convolution is:
[0027] ;
[0028] in, Represents the position in the output tensor of the depthwise convolution Place The elements of the channel, Represents the position in the input tensor of the depthwise convolution Place The elements of the channel, is the stride of the depthwise convolution, are the kernel coordinates of the depthwise convolution, is the convolution kernel parameter of the depthwise convolution.
[0029] Preferably, the calculation formula of point convolution is:
[0030] ;
[0031] in, Represents the position in the output tensor of the point convolution Place The elements of the channel, Represents the position in the input tensor of the point convolution Place The elements of the channel, Represents the point convolution kernel and the input tensor The weight value associated with each channel is used to output the The value of each channel.
[0032] Preferably, the SE module includes a global average pooling layer, a first fully connected layer, a ReLU activation function, a second fully connected layer and a sigmoid activation function connected in sequence along the forward propagation direction, and the formula is:
[0033] ;
[0034] in, represents the input feature map of the SE module, represents the output of the SE module, represents the global average pooling layer, represents the weight matrix of the first fully connected layer, represents the ReLU activation function, represents the weight matrix of the second fully connected layer, Represents the sigmoid activation function;
[0035] The formula of the global average pooling layer is:
[0036] ;
[0037] in, For the The global average of channels, The input feature map of the SE module is at position Place The elements of the channel, and are the height and width of the input feature map of the SE module respectively;
[0038] The first fully connected layer is used to compress the number of channels, and the formula is:
[0039] ;
[0040] in, is the ReLU activation function, is the weight matrix of the first fully connected layer, is the output weight of the ReLU activation function;
[0041] The second fully connected layer is used to pass weights The input feature map of the SE module is stimulated and the number of channels is restored. The formula is:
[0042] ;
[0043] in, is the sigmoid activation function, is the weight matrix of the second fully connected layer, is the output weight of the sigmoid activation function;
[0044] The weight of each channel Applied to the SE module input feature map, the output of the SE module is obtained, the formula is:
[0045] ;
[0046] in, The output of the SE module is at position Place elements of a channel.
[0047] Preferably, the decoders are all deep cascade downsampling blocks, including upsampling layers, skip connections, convolutional layers, batch normalization layers, ReLU activation functions and deep convolutions connected end to end in sequence, and the formula is:
[0048] ;
[0049] in, is the output of the decoder, is the input feature map of the decoder, represents bilinear interpolation upsampling, represents the feature map passed by the encoder through the skip connection, Represents a splicing operation, represents the convolutional layer, represents the batch normalization operation, represents the ReLU activation function, Represents depthwise convolution.
[0050] The present invention also provides a device for segmenting multiple organs of abdominal CT images, comprising:
[0051] A model building module is used to build a multi-organ segmentation model for abdominal CT images, using a Unet network as a basic structure, including multiple encoders and multiple decoders; the encoder includes a downsampling layer and a plurality of SEFormer blocks connected in sequence along a forward propagation direction; the input of the SEFormer block is input into a SE depth separable convolution after layer normalization, and the output of the SE depth separable convolution is added to the input of the SEFormer block to obtain an intermediate value; the intermediate value is input into a multilayer perceptron after layer normalization, and the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block; the SE depth separable convolution includes a first point convolution, a ReLU activation function, a depth convolution, an SE module, and a second point convolution connected in sequence along a forward propagation direction;
[0052] The image segmentation module is used to input the original CT image into the abdominal CT image multi-organ segmentation model and output the organ segmentation image.
[0053] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned abdominal CT image multi-organ segmentation method are implemented.
[0054] The above technical solution of the present invention has the following beneficial effects compared with the prior art:
[0055] The multi-organ segmentation method of abdominal CT images described in the present invention constructs a multi-organ segmentation model of abdominal CT images, introduces SE deep separable convolution in the encoder structure, and the SE deep separable convolution combines the SE module with deep convolution and point convolution. While reducing the number of model parameters and the amount of calculation, it can weight feature maps at different levels of the network, capture key information in the input features, and improve the performance of the multi-organ segmentation model of abdominal CT images. The present invention not only achieves a significant improvement in organ segmentation accuracy, but also improves the computational efficiency of the model, saves computing resources, and enhances the ability of the multi-organ segmentation model of abdominal CT images to be deployed in actual medical application scenarios.
[0056] The multi-organ segmentation method of abdominal CT images described in the present invention adopts a deep cascade downsampling block in the decoder structure of the multi-organ segmentation model of abdominal CT images, replaces the ordinary convolution in the decoder with deep convolution, reduces the number of parameters of the model, and enhances the ability to restore the details and semantic information of the original CT image, further improving the real-time and accuracy of organ segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein:
[0058] Figure 1 It is a structural diagram of the abdominal CT image multi-organ segmentation model of the present invention;
[0059] Figure 2 It is the structural diagram of SEFormer block;
[0060] Figure 3 It is the structural diagram of SE depth separable convolution;
[0061] Figure 4 It is a structural diagram of the decoder's deep cascade downsampling block;
[0062] Figure 5 is a histogram of average dice coefficients for different organ segmentations in Example 2;
[0063] Figure 6 It is a comparison diagram of the average dice coefficients of the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model;
[0064] Figure 7 is a comparison diagram of the average Hausdorff distance between the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model;
[0065] Figure 8 is the visualization segmentation result of the abdominal CT image multi-organ segmentation model proposed in this invention on 9 test samples, where Figure 8 (a) is the visual segmentation result diagram of test sample 1 in Example 2. Figure 8 (b) is the visual segmentation result diagram of test sample 2 in Example 2. Figure 8 (c) is the visual segmentation result diagram of test sample 3 in Example 2. Figure 8 (d) is the visual segmentation result diagram of test sample 4 in Example 2. Figure 8 (e) is the visual segmentation result diagram of test sample 5 in Example 2. Figure 8 (f) is the visual segmentation result diagram of test sample 6 in Example 2. Figure 8(g) is the visual segmentation result diagram of test sample 7 in Example 2. Figure 8 (h) is the visual segmentation result diagram of test sample 8 in Example 2. Figure 8 (i) is a visualization segmentation result diagram of test sample 9 in Example 2;
[0066] Fig. 9 is a comparison diagram of the visualized segmentation results of the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model, where Fig. 9 (a) is the original CT image. Fig. 9 (b) in the figure is the true value map of the original CT image. Fig. 9 (c) is a visualization segmentation result diagram of the abdominal CT image multi-organ segmentation model proposed by the present invention. Fig. 9 (d) in the figure is the visualization segmentation result of TransUnet. Fig. 9 (e) in the figure is the visual segmentation result of UNet. Fig. 9 (f) in the figure is the visual segmentation result of ResNet-50. DETAILED DESCRIPTION
[0067] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention. Embodiment 1
[0068] Reference Figure 1 As shown, the present invention designs and proposes a multi-organ segmentation model for abdominal CT images, which uses a Unet network as a basic structure and includes multiple encoders and multiple decoders.
[0069] Preferably, in order to achieve a balance between the number of model parameters and the accuracy of organ segmentation, the abdominal CT image multi-organ segmentation model includes four encoders and four decoders. The process of segmenting the input CT image using the abdominal CT image multi-organ segmentation model includes:
[0070] The original CT image is input into the abdominal CT image multi-organ segmentation model, passing through the first encoder, the second encoder, the third encoder and the fourth encoder in sequence. The first encoder is used to extract low-level features, which are usually related to the original information of the input data, such as edges and textures in the image. The second encoder further extracts mid-level features based on the first encoder, such as more complex structures such as the shape of the object. The third encoder and the fourth encoder are used to extract higher-level abstract features, including high-level concepts such as object categories and scene semantics. Multiple encoders can enable the abdominal CT image multi-organ segmentation model to gradually learn and integrate different levels of features of the original CT image, deepening the model's understanding of the image;
[0071] The feature map output by the fourth encoder is used as the input of the decoder, and passes through the first decoder, the second decoder, the third decoder and the fourth decoder in sequence; at the same time, the feature maps output by the first encoder, the second encoder and the third encoder are respectively passed to the third decoder, the second decoder and the first decoder through jump connections, and the feature map from the encoder is fused with the features output by the upsampling layer in the decoder; the fourth decoder outputs an organ segmentation image of the same size as the original CT image. In the decoding process, the features from the encoder are fused with the feature information in the upsampling of the decoder, which can make full use of shallow and deep features to retain more detailed information and improve the ability of the abdominal CT image multi-organ segmentation model to understand the image content.
[0072] The multi-organ segmentation model of abdominal CT images extracts high-level semantic information of the original CT image through the encoder and retains low-level detail information through jump connections. The decoder gradually combines the feature information extracted by the encoder to generate the final segmentation result.
[0073] Specifically, the first encoder, the second encoder, the third encoder and the fourth encoder each include a downsampling layer and a plurality of SEFormer blocks sequentially connected along the forward propagation direction. In this embodiment, the first encoder includes 3 SEFormer blocks, the second encoder includes 3 SEFormer blocks, the third encoder includes 9 SEFormer blocks, and the fourth encoder includes 3 SEFormer blocks.
[0074] Structural reference of SEFormer block Figure 2 As shown, the present invention uses the MetaFormer structure as the skeleton and adopts the architecture combining the SE module and the depth-separable convolution to instantiate the token mixer. The input of the SEFormer block is input into the SE depth-separable convolution after layer normalization, and the output of the SE depth-separable convolution is added to the input of the SEFormer block to obtain the intermediate value; the intermediate value is input into the multilayer perceptron after layer normalization, and the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block. The specific formula is:
[0075] ;
[0076] ;
[0077] in, Representation layer normalization operation, represents SE depthwise separable convolution, is the input feature map of the SEFormer block, is the middle value, represents a multi-layer perceptron, Represents the output of the SEFormer block.
[0078] SE depth separable convolution is the core unit of SEFormer block, and its structure refers to Figure 3 As shown, it includes the first point convolution, ReLU activation function, depth convolution, SE (Squeeze-and-Excitation) module and the second point convolution connected in sequence along the forward propagation direction.
[0079] The input of the SE depth-separable convolution passes through the first point convolution, ReLU activation function, and depth convolution in sequence. The output of the depth convolution is multiplied by the output of the depth convolution after passing through the SE module. The multiplication result is input to the second point convolution. The second point convolution outputs the output of the SE depth-separable convolution. The formula is:
[0080] ;
[0081] in, is the input feature map of SE depth-wise separable convolution, represents the first point convolution, represents the ReLU activation function, represents the depthwise convolution, Represents the SE module, represents the second point convolution, Represents the output of SE depthwise separable convolution.
[0082] The formula for calculating the input of the depth convolution is:
[0083] ;
[0084] in, Represents the position in the output tensor of the depthwise convolution Place The elements of the channel, Represents the position in the input tensor of the depthwise convolution Place The elements of the channel, is the stride of the depthwise convolution, are the kernel coordinates of the depthwise convolution, is the convolution kernel parameter of the depthwise convolution.
[0085] The formula for calculating the input by the first point convolution and the second point convolution is:
[0086] ;
[0087] in, Represents the position in the output tensor of the point convolution Place The elements of the channel, Represents the position in the input tensor of the point convolution Place The elements of the channel, Represents the point convolution kernel and the input tensor The weight value associated with each channel is used to output the The value of each channel.
[0088] The SE module is divided into two stages: Squeeze and Excitation, and specifically includes a global average pooling layer, a first fully connected layer, a ReLU activation function, a second fully connected layer and a sigmoid activation function which are sequentially connected along the forward propagation direction.
[0089] In the squeezing stage, a global average pooling layer is used to extract the global information of each channel of the input feature map. The formula is:
[0090] ;
[0091] in, For the The global average of channels, The input feature map of the SE module is at position Place The elements of the channel, and are the height and width of the input feature map of the SE module, respectively.
[0092] Two fully connected layers are introduced in the excitation phase, and an activation function is used to learn the weight of each channel in the feature map. The first fully connected layer is used to compress the number of channels of the input feature map. The formula is:
[0093] ;
[0094] in, is the ReLU activation function, is the weight matrix of the first fully connected layer, is the output weight of the ReLU activation function.
[0095] The second fully connected layer is used to pass weights The input feature map of the SE module is stimulated and the number of channels is restored. The formula is:
[0096] ;
[0097] in, is the sigmoid activation function, is the weight matrix of the second fully connected layer, is the output weight of the sigmoid activation function.
[0098] Finally, the weight of each channel is Applied to the SE module input feature map, the output of the SE module is obtained, the formula is:
[0099] ;
[0100] in, The output of the SE module is at position Place elements of a channel.
[0101] In summary, the overall process formula of the SE module is:
[0102] ;
[0103] in, represents the input feature map of the SE module, represents the output of the SE module, represents the global average pooling layer, represents the weight matrix of the first fully connected layer, represents the ReLU activation function, represents the weight matrix of the second fully connected layer, Represents the sigmoid activation function.
[0104] SE deep separable convolution combines SE module with deep convolution and point convolution. The SE module weights the feature maps at different levels of the network, allowing the network to pay more attention to important features, capture key information in the input features, and improve the performance of the multi-organ segmentation model of abdominal CT images. Compared with ordinary convolution, the deep separable convolution composed of deep convolution and point convolution significantly reduces the number of parameters and calculations while maintaining good performance. Therefore, the combination of SE module and deep separable convolution not only effectively improves the model's ability to process information, but also significantly reduces the number of parameters compared to other models that use Transformer extensively.
[0105] In order to further improve the computational efficiency of the multi-organ segmentation model of abdominal CT images, reduce the number of parameters, and improve the segmentation accuracy of the model, the decoder adopts a depthwise cascaded upsampling block (dCUP), whose structure refers to Figure 4 As shown, it includes upsampling layers, skip connections, convolutional layers, batch normalization layers, ReLU activation functions, and depth convolutions that are connected end to end in sequence.
[0106] The upsampling layer is used to expand the resolution of the feature map. The abdominal CT image multi-organ segmentation model gradually improves the resolution by stacking multiple deep cascade downsampling blocks, and finally generates an output image of the same size as the original CT image. The jump connection fuses the output features of the upsampling layer with the features of the decoder transmitted by the jump connection through a splicing operation. The fused features are passed through the convolution layer to adjust the number of channels to the target number of channels, and then batch normalization and ReLU activation operations are performed to improve the training stability of the network. Finally, the output of the ReLU activation function is subjected to deep convolution to further fuse the features to capture local details and texture information.
[0107] The formula for the overall process of the deep cascade downsampling block is:
[0108] ;
[0109] in, is the output of the decoder, is the input feature map of the decoder, represents bilinear interpolation upsampling, represents the feature map passed by the encoder through the skip connection, Represents a splicing operation, represents the convolutional layer, represents the batch normalization operation, represents the ReLU activation function, Represents depthwise convolution.
[0110] The decoder structure of the abdominal CT image multi-organ segmentation model includes four deep cascade downsampling blocks, which can simultaneously realize the functions of upsampling, feature splicing and feature processing. In the decoder, the second convolution layer replaces the ordinary convolution with deep convolution, which reduces the number of parameters and enhances the ability to restore the details and semantic information of the original CT image.
[0111] In summary, the present invention provides a method for multi-organ segmentation of abdominal CT images, constructs a multi-organ segmentation model for abdominal CT images, introduces SE deep separable convolution in the encoder structure, and the SE deep separable convolution combines the SE module with deep convolution and point convolution. While reducing the number of model parameters and the amount of calculation, it can weight feature maps at different levels of the network, capture key information in the input features, and improve the performance of the multi-organ segmentation model for abdominal CT images. The present invention not only achieves a significant improvement in organ segmentation accuracy, but also improves the computational efficiency of the model, saves computing resources, and enhances the ability of the model to be deployed in actual medical application scenarios.
[0112] The present invention provides a method for multi-organ segmentation of abdominal CT images. A deep cascade downsampling block is adopted in the decoder structure of the multi-organ segmentation model of abdominal CT images. The ordinary convolution in the decoder is replaced by deep convolution, which reduces the number of parameters of the model and enhances the ability to restore the details and semantic information of the original CT images, thereby further improving the real-time and accuracy of organ segmentation. Embodiment 2
[0113] In order to verify the abdominal CT image multi-organ segmentation method described in Example 1, this example uses the BCV dataset for experimental verification.
[0114] The BCV dataset has a total of 30 abdominal CT scans taken during the portal contrast phase. The pixel size of the scan is 512×512, and the slice range is 85~198. The field of view size is approximately 500×500×650㎜³, and the voxel spatial resolution is ([0.54~0.54]×[0.98~0.98]×[2.5~5.0])㎜³. The BCV dataset has a total of 13 categories, and this embodiment selects 8 abdominal organs for segmentation tasks. These 8 organs are spleen, right kidney, left kidney, gallbladder, liver, stomach, aorta, and pancreas.
[0115] Among the 30 samples, this embodiment randomly selects 21 samples for training the abdominal CT image multi-organ segmentation model, and the remaining 9 samples are used for testing. This embodiment divides the 21 samples used for training into 2698 slices in the horizontal direction of the axis, and finally all experimental results are averaged on 9 test data.
[0116] For the original CT dataset, the HU value range was first truncated to [-125, 275], and then normalized to scale the values to [0, 1]. During the training process, the input slice data was randomly flipped and rotated to increase the diversity of the training set, and then the image size was scaled to 224×224 to obtain a fixed-size input for subsequent training.
[0117] The abdominal CT image multi-organ segmentation model constructed by the present invention is implemented based on Python3.7 and pytorch1.13, and uses the SGD optimizer, in which the learning rate is set to 0.01, the momentum is set to 0.9, and the weight decay is 1e-4. The batch size of all experiments is set to 24, and the input resolution is 224×224. The model was trained on 2698 slices for 150 epochs, each epoch will iterate 113 times, and the entire training process requires a total of 16950 iterations. The experimental equipment is a single NVIDIAGeForce RTX 4060 GPU.
[0118] The number of channels output by the first encoder, second encoder, third encoder, and fourth encoder of the abdominal CT image multi-organ segmentation model are 64, 128, 380, and 512, respectively. The backbone network in the encoder is pre-trained on the ImageNet21k dataset.
[0119] The upsampling layer magnification in the first decoder, second decoder, third decoder and fourth decoder of the abdominal CT image multi-organ segmentation model is 2, and the corresponding output channel numbers are 256, 128, 64 and 16 respectively.
[0120] The data used in the model training process is the processed 2D slices. In the prediction process, the model first infers by slice by slice, and then stacks the predicted 2D slices together to construct a 3D prediction result.
[0121] The loss function used in this embodiment to train the abdominal CT image multi-organ segmentation model is a combination of cross entropy loss and dice loss. For a sample, assuming there are N categories and the true label is , the probability distribution of the model output is , then the loss function The formula is:
[0122] ;
[0123] in, is the cross entropy loss, is the dice loss, is a small constant added for numerical stability.
[0124] During the experiment of this embodiment, the abdominal CT image multi-organ segmentation model proposed in the present invention was compared with several traditional medical image segmentation models and advanced segmentation models, including the classic UNet, UNet++, UNet3+, and two important classic models that introduced Transformer in the field of medical image segmentation: the hybrid CNN-Transformer model TransUnet and the pure Transformer model SwinUnet.
[0125] Figure 5 The bar graphs are the average Dice coefficients for different organ segmentations.
[0126] The experimental results show that the segmentation effect of gallbladder and pancreas is poorer than that of other organs. This is because they overlap with other organs and are difficult to distinguish from adjacent organs and other structures. The segmentation accuracy of other organs is mostly above 85%, with an average of 89.56%, which is a good segmentation result.
[0127] Table 1 shows the average dice score (DSC), 95% average Hausdorff distance (HD), model parameters and segmentation results of each abdominal organ corresponding to the segmentation results of each model.
[0128] Table 1 Comparison of experimental results of different models on the BCV dataset
[0129] method DSC HD95 Parameter quantity Aorta gallbladder Left kidney Right kidney liver pancreas spleen Stomach UNet 75.61 32.50 16.46 87.80 62.02 78.96 72.98 93.48 52.02 84.02 73.65 UNet++ 77.87 29.12 8.74 88.90 62.92 83.84 74.36 94.41 57.40 86.99 74.18 UNet3+ 77.16 28.67 25.74 87.37 65.62 84.98 82.76 92.59 55.60 82.42 65.97 SwinUnet 80.49 19.29 25.91 83.21 70.52 87.14 81.02 93.89 57.17 89.21 81.76 TransUnet 81.31 28.79 100.40 86.56 61.84 88.80 87.34 95.07 57.77 91.90 81.18 The present invention 83.90 15.64 24.65 86.11 69.38 91.66 89.03 94.38 64.45 91.12 85.08
[0130] As can be seen from Table 1, the abdominal CT image multi-organ segmentation model proposed in this invention achieved the best results in terms of average DSC (83.90%) and average HD (15.64), and the model parameter count was 24.65M.
[0131] Compared with basic CNN models such as UNet, Unet++, and Unet3+, the abdominal CT image multi-organ segmentation model proposed in the present invention has significantly improved segmentation accuracy. Compared with UNet, the DSC of the abdominal CT image multi-organ segmentation model proposed in the present invention is improved by 8.29%; compared with Unet++, which has the best effect among the three, the DSC is improved by 6.03%. In addition, the abdominal CT image multi-organ segmentation model proposed in the present invention is 13.03-16.86 lower in HD than the three, a decrease of more than 40%. This shows that the abdominal CT image multi-organ segmentation model proposed in the present invention has achieved significant improvements in the similarity between the segmentation results and the true labels.
[0132] Compared with the hybrid CNN-Transformer model TransUnet and the pure Transformer model SwinUnet, the abdominal CT image multi-organ segmentation model proposed in the present invention not only improves DSC by 2.59% and 3.41% respectively, but also reduces HD by 13.15 and 3.65 respectively, which has a more obvious advantage.
[0133] The parameter count of the abdominal CT image multi-organ segmentation model proposed in this paper is 24.65M, which is in the middle of the comparison models. It is comparable to the CNN model Unet3+ with a larger parameter count, and compared with the TransUnet model using Transformer, the parameter count is significantly reduced by more than 75%. This optimization solves the problem of excessive parameter count of the Transformer model leading to consumption of computing resources, and also achieves significant improvement in segmentation performance.
[0134] In addition, Table 2 shows the average DSC and HD of the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model on each test sample.
[0135] Figure 6 This is a comparison chart of the average dice coefficients of the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model. Figure 7 This is a comparison diagram of the average Hausdorff distance between the abdominal CT image multi-organ segmentation model proposed by the present invention and the comparison model.
[0136] It can be seen that the abdominal CT image multi-organ segmentation model proposed in the present invention shows the most consistent performance in all test samples, and DSC and HD are generally better than other compared models.
[0137] Table 2 DSC (%) and HD (mm) of the present invention and the comparative model on each test data
[0138] Test Examples Evaluation indicators The present invention UNet UNet++ UNet3+ SwinUnet TransUnet 1 DSC 78.70 72.84 73.11 74.91 73.91 74.25 1 HD 27.97 41.02 24.73 20.44 33.09 42.20 2 DSC 85.58 79.10 82.09 84.33 84.62 85.03 2 HD 23.04 36.69 41.28 24.35 6.78 29.38 3 DSC 87.73 75.22 78.92 82.21 84.57 87.70 3 HD 8.99 30.73 30.36 27.40 26.72 22.35 4 DSC 84.16 69.75 69.22 73.86 77.78 79.28 4 HD 20.18 25.17 33.51 23.78 20.86 26.85 5 DSC 82.40 71.73 79.25 69.78 72.37 74.41 5 HD 24.31 53.24 25.45 53.17 30.20 44.78 6 DSC 87.49 80.19 82.15 76.62 86.60 87.07 6 HD 6.33 21.96 26.13 37.04 8.43 19.61 7 DSC 86.87 79.26 83.08 72.33 85.29 86.81 7 HD 3.08 35.78 8.66 24.49 4.76 13.32 8 DSC 83.42 78.95 78.67 82.70 81.36 81.99 8 HD 14.84 23.27 30.72 19.25 22.91 26.45 9 DSC 78.76 73.42 74.36 77.73 77.92 75.22 9 HD 12.05 24.68 41.27 28.12 19.88 34.22
[0139] Figure 8 This is the visualization segmentation result of the abdominal CT image multi-organ segmentation model proposed in this invention on 9 test samples, among which Figure 8 (a) is the visual segmentation result diagram of test sample 1 in Example 2. Figure 8 (b) is the visual segmentation result diagram of test sample 2 in Example 2. Figure 8 (c) is the visual segmentation result diagram of test sample 3 in Example 2. Figure 8 (d) is the visual segmentation result diagram of test sample 4 in Example 2. Figure 8 (e) is the visual segmentation result diagram of test sample 5 in Example 2. Figure 8 (f) is the visual segmentation result diagram of test sample 6 in Example 2. Figure 8 (g) is the visual segmentation result diagram of test sample 7 in Example 2. Figure 8 (h) is the visual segmentation result diagram of test sample 8 in Example 2. Figure 8 (i) is a visualization segmentation result diagram of test sample 9 in Example 2.
[0140] from Figure 8 It can be seen that the segmentation boundary of the abdominal CT image multi-organ segmentation model proposed in the present invention is clear, indicating that the segmentation performance is stable.
[0141] At the same time, this embodiment also conducts a qualitative comparative analysis of the abdominal CT image multi-organ segmentation model proposed by the present invention and other models. The segmentation result comparison diagram is shown in FIG. Fig. 9 As shown, Fig. 9 (a) is the original CT image. Fig. 9 (b) in the figure is the true value map of the original CT image. Fig. 9(c) is a visualization segmentation result diagram of the abdominal CT image multi-organ segmentation model proposed by the present invention. Fig. 9 (d) in the figure is the visualization segmentation result of TransUnet. Fig. 9 (e) in the figure is the visual segmentation result of UNet. Fig. 9 (f) in the figure is the visual segmentation result of ResNet-50.
[0142] It can be seen that pure CNN methods such as UNet and ResNet-50 are more prone to over-segmentation or under-segmentation, while the abdominal CT image multi-organ segmentation model proposed in the present invention has stronger segmentation capabilities both globally and locally. In addition, the abdominal CT image multi-organ segmentation model proposed in the present invention is more accurate in contour segmentation, while the outer edges segmented by the other three models all exceed part of the actual organ area, increasing the false positive area, indicating that the abdominal CT image multi-organ segmentation model proposed in the present invention is more advantageous in dealing with organ edge segmentation problems.
[0143] Overall, the abdominal CT image multi-organ segmentation model proposed in the present invention has achieved better results than other models in terms of accurate edge segmentation, noise suppression, and accurate shape recognition.
[0144] In order to more comprehensively verify the effectiveness of the abdominal CT image multi-organ segmentation model proposed in the present invention, this embodiment also conducted multiple groups of experiments, tried different encoders, decoders and the combination of the SEFormer block and dCUP in the present invention, and verified it on the BVC dataset.
[0145] To verify the effect of the improved encoder architecture, this embodiment uses the classic model ResNet-50, the high-performance CNN network ConvNeXt, and the most advanced MetaFormer (instantiated as the ConvFormer model) as encoders, and conducts experiments on the BCV dataset after combining them with the decoder dCUP of the present invention.
[0146] The experimental results are shown in Table 3.
[0147] Table 3 Comparative experiment on the effectiveness of encoder and decoder
[0148] Encoder Decoder DSC HD95 Ao Ga LK R Li Pa Sp St ResNet-50 dCUP 74.45 32.50 86.75 60.53 77.78 71.25 93.25 51.07 82.93 72.02 ConvNeXt dCUP 77.11 20.94 86.41 61.31 79.56 74.94 93.00 60.13 83.78 77.76 ConvFormer dCUP 79.18 25.55 86.94 64.19 81.19 76.32 93.88 62.15 89.39 79.34 3SE+1Trans dCUP 82.20 23.98 84.77 67.67 89.69 86.06 94.46 63.24 87.10 84.62 2SE+2Trans dCUP 83.69 17.14 87.02 65.77 91.17 87.58 94.66 66.16 90.67 86.45 SEFormer None 68.18 37.49 77.21 48.46 72.82 69.06 91.96 42.90 80.20 62.85 SEFormer CUP 82.13 23.34 87.35 66.25 90.21 88.80 94.02 60.03 88.54 81.86 SEFormer dCUP 83.90 15.64 86.11 69.38 91.66 89.03 94.38 64.45 91.12 85.08
[0149] From the results in Table 3, it can be seen that the abdominal CT image multi-organ segmentation model proposed in the present invention is superior to the above three comparison models in the segmentation effect of all organs, the DSC is improved by 4.72%-9.45%, the average Hausdorff distance is reduced by 5.3%-16.86%, and the segmentation performance is significantly improved.
[0150] In addition, this embodiment also attempts to replace the SEFormer block of the last or two encoders of the four encoders with a Transformer block. The results show that the model using the SEFormer block in all four stages has the best effect, which proves that the SEFormer block has a stronger ability as an encoder to learn effective representations for medical image segmentation tasks, and proves the superiority of the abdominal CT image multi-organ segmentation model proposed in the present invention in improving the encoder architecture.
[0151] In order to verify the effect of the decoder architecture used in this experiment, this embodiment uses two models for comparative study. Among them, the combination of SEFormer block and None Decoder represents the use of naive upsampling, which only upsamples the deep features to the same size as the input image without performing other operations. The combination of SEFormer block and CUP represents the use of an upsampling structure without introducing deep convolution. After the upsampled data is fused with the features passed by the encoder, only one convolution layer is used to process the number of channels of the spliced data to a preset size, which is convenient for subsequent upsampling and feature fusion operations.
[0152] From the results in Table 3, it can be seen that the abdominal CT image multi-organ segmentation model proposed in the present invention has significantly improved the effect compared with the naive upsampling method, with DSC increased by 15.72%. Compared with CUP without introducing deep convolution, DSC increased by 1.77%, which is better than the segmentation results of most organs.
[0153] In addition, this embodiment also uses a larger resolution of 384×384 as the input of the model to further explore the effectiveness of the abdominal CT image multi-organ segmentation model proposed in this invention. This series of experiments aims to comprehensively evaluate the performance of the model under different settings to ensure its robustness and versatility under various conditions.
[0154] In order to save computing resources, the input image size selected in this embodiment is 224×224, but the image size in the original data set is 512×512. Using a small-sized input will theoretically have a certain impact on the accuracy of the model. Therefore, this embodiment trains the model at a larger resolution of 384×384, only changing the input size, and keeping other experimental settings consistent. The results are shown in Table 4.
[0155] Table 4 Comparison of average dice coefficient (DSC / %) of models at different input resolutions
[0156] Resolution DSC Ao Ga LK R Li Pa Sp St 224 83.9 86.11 69.38 91.66 89.03 94.38 64.45 91.12 85.08 384 86 89.57 70.73 92.84 92.09 95.23 69.08 92.34 86.12
[0157] As can be seen from Table 4, after increasing the resolution from 224×224 to 384×384, DSC increased from 83.90% to 86.00%, an increase of 2.1%, and the segmentation accuracy of each organ was significantly improved. However, this will lead to a significant increase in computational costs and a more than 5-fold increase in training time. Embodiment 3
[0158] Based on the abdominal CT image multi-organ segmentation method proposed in the first embodiment, this embodiment further provides an abdominal CT image multi-organ segmentation device, comprising:
[0159] A model building module is used to build a multi-organ segmentation model for abdominal CT images, using a Unet network as a basic structure, including multiple encoders and multiple decoders; the encoder includes a downsampling layer and a plurality of SEFormer blocks connected in sequence along a forward propagation direction; the input of the SEFormer block is input into a SE depth separable convolution after layer normalization, and the output of the SE depth separable convolution is added to the input of the SEFormer block to obtain an intermediate value; the intermediate value is input into a multilayer perceptron after layer normalization, and the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block; the SE depth separable convolution includes a first point convolution, a ReLU activation function, a depth convolution, an SE module, and a second point convolution connected in sequence along a forward propagation direction;
[0160] The image segmentation module is used to input the original CT image into the abdominal CT image multi-organ segmentation model and output the organ segmentation image.
[0161] This embodiment further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned abdominal CT image multi-organ segmentation method are implemented.
[0162] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0163] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0164] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0166] Obviously, the above embodiments are merely examples for the purpose of clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A multi-organ segmentation method for abdominal CT images, It is characterized in that include: Construct a multi-organ segmentation model for abdominal CT images, using the Unet network as the basic structure, including multiple encoders and multiple decoders; The encoder includes a downsampling layer and a plurality of SEFormer blocks connected in sequence along a forward propagation direction; the input of the SEFormer block is input into the SE depthwise separable convolution after layer normalization, the output of the SE depthwise separable convolution is added to the input of the SEFormer block to obtain an intermediate value; the intermediate value is input into the multilayer perceptron after layer normalization, the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block; The SE depth-separable convolution includes a first point convolution, a ReLU activation function, a depth convolution, a SE module, and a second point convolution sequentially connected along the forward propagation direction; The decoders are all deep cascade downsampling blocks, including upsampling layers, skip connections, convolutional layers, batch normalization layers, ReLU activation functions and deep convolutions connected end to end in sequence. The formula is: Y=Conv dw (σ 1 (Norm′(Conv(cat(feature,Up(X 4 )))))) Among them, Y is the output of the decoder, X 4 is the input feature map of the decoder, Up(·) represents bilinear difference upsampling, feature represents the feature map transmitted by the encoder through the skip connection, cat(·) represents the concatenation operation, Conv(·) represents the convolution layer, Norm′(·) represents the batch normalization operation, σ 1 ReLU activation function, Conv dw (·) represents depthwise convolution; The original CT image is input into the abdominal CT image multi-organ segmentation model, and the organ segmentation image is output.
2. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The abdominal CT image multi-organ segmentation model includes four encoders and four decoders; the first encoder includes 3 SEFormer blocks, the second encoder includes 3 SEFormer blocks, the third encoder includes 9 SEFormer blocks, and the fourth encoder includes 3 SEFormer blocks.
3. The method for multi-organ segmentation of abdominal CT images according to claim 2, It is characterized in that The method of inputting the original CT image into the abdominal CT image multi-organ segmentation model and outputting the organ segmentation image comprises: The original CT image is input into the multi-organ segmentation model of abdominal CT images, and passes through the first encoder, the second encoder, the third encoder and the fourth encoder in sequence. The feature map output by the fourth encoder is used as the input of the decoder, and passes through the first decoder, the second decoder, the third decoder and the fourth decoder in sequence; at the same time, the feature maps output by the first encoder, the second encoder and the third encoder are respectively passed to the third decoder, the second decoder and the first decoder through jump connections, and the feature map from the encoder is fused with the features output by the upsampling layer in the decoder; the fourth decoder outputs an organ segmentation image of the same size as the original CT image.
4. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The expression of the SEFormer block includes: X′=SESepConv(Norm(X 1 ))+X 1 SEFormerBlock(X 1 )=X′+MLP(Norm(X′)) Among them, Norm(·) represents the layer normalization operation, SESepConv(·) represents SE depth-separable convolution, and X 1 is the input feature map of the SEFormer block, X′ is the intermediate value, MLP(·) represents the multi-layer perceptron, SEFormerBlock(X 1 ) represents the output of the SEFormer block.
5. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The input of the SE depth-separable convolution passes through the first point convolution, ReLU activation function, and depth convolution in sequence. The output of the depth convolution is multiplied by the output of the depth convolution after passing through the SE module. The multiplication result is input to the second point convolution. The second point convolution outputs the output of the SE depth-separable convolution. The formula is: SESepConv(X 2 )=Conv pw2 (SE(Conv dw (σ 1 (Conv. pw1 (X 2 ))))) Among them, X 2 is the input feature map of SE depth-separable convolution, Conv pw1 (·) represents the first point convolution, σ 1 (·) represents the ReLU activation function, Conv dw (·) represents depthwise convolution, SE(·) represents SE module, Conv pw2 (·) represents the second point convolution, SESepConv(X 2 ) represents the output of SE depthwise separable convolution.
6. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The calculation formula for depth convolution is: Among them, Y i,j,c represents the element of the cth channel at position (i, j) in the output tensor of the depthwise convolution, X i,j,c Represents the element of the cth channel at position (i, j) in the input tensor of the depthwise convolution, s is the step size of the depthwise convolution, m, n are the convolution kernel coordinates of the depthwise convolution, K m,n,c is the convolution kernel parameter of the depthwise convolution.
7. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The calculation formula of point convolution is: Among them, Y′ i,j,c Represents the element of the cth channel at position (i, j) in the output tensor of the point convolution, X′ i,j,k Represents the element of the kth channel at position (i, j) in the input tensor of the point convolution, K 1,1,k,c Represents the weight value associated with the k-th channel of the input tensor in the point convolution kernel, which is used to output the value of the c-th channel.
8. The method for multi-organ segmentation of abdominal CT images according to claim 1, It is characterized in that The SE module includes a global average pooling layer, a first fully connected layer, a ReLU activation function, a second fully connected layer and a sigmoid activation function connected in sequence along the forward propagation direction, and the formula is: SE(X 3 )=σ 2 (W 2 σ 1 (W 1 (AvgPool(X 3 ))))*X 3 Among them, X 3 represents the input feature map of the SE module, SE(X 3 ) represents the output of the SE module, AvgPool(·) represents the global average pooling layer, and W 1 represents the weight matrix of the first fully connected layer, σ 1 represents the ReLU activation function, W 2 represents the weight matrix of the second fully connected layer, σ 2 Represents the sigmoid activation function; The formula of the global average pooling layer is: Among them, z c is the global average value of the cth channel, x cij is the element of the cth channel at position (i, j) of the input feature map of the SE module, and h and w are the height and width of the input feature map of the SE module respectively; The first fully connected layer is used to compress the number of channels, and the formula is: s c =σ 1 (IN 1 ·With c ) Among them, σ 1 is the ReLU activation function, W 1 is the weight matrix of the first fully connected layer, s c is the output weight of the ReLU activation function; The second fully connected layer is used to pass the weight s c The input feature map of the SE module is stimulated and the number of channels is restored. The formula is: f c =s 2 (W 2 ·s c ) Among them, σ 2 is the sigmoid activation function, W 2 is the weight matrix of the second fully connected layer, f c is the output weight of the sigmoid activation function; The weight f of each channel c Applied to the SE module input feature map, the output of the SE module is obtained, the formula is: y cij =f c ·x cij Among them, y cij is the element of the cth channel at position (i, j) of the output of the SE module.
9. A device for segmenting multiple organs in abdominal CT images. It is characterized in that include: A model building module is used to build a multi-organ segmentation model for abdominal CT images, using a Unet network as a basic structure, including multiple encoders and multiple decoders; the encoder includes a downsampling layer and a plurality of SEFormer blocks connected in sequence along a forward propagation direction; the input of the SEFormer block is input into a SE depth separable convolution after layer normalization, and the output of the SE depth separable convolution is added to the input of the SEFormer block to obtain an intermediate value; the intermediate value is input into a multilayer perceptron after layer normalization, and the output of the multilayer perceptron is added to the intermediate value to obtain the output of the SEFormer block; the SE depth separable convolution includes a first point convolution, a ReLU activation function, a depth convolution, an SE module, and a second point convolution connected in sequence along a forward propagation direction; The decoders are all deep cascade downsampling blocks, including upsampling layers, skip connections, convolutional layers, batch normalization layers, ReLU activation functions and deep convolutions connected end to end in sequence. The formula is: Y=Conv dw (σ 1 (Norm′(Conv(cat(feature,Up(X 4 )))))) Among them, Y is the output of the decoder, X 4 is the input feature map of the decoder, Up(·) represents bilinear difference upsampling, feature represents the feature map transmitted by the encoder through the skip connection, cat(·) represents the concatenation operation, Conv(·) represents the convolution layer, Norm′(·) represents the batch normalization operation, σ 1 ReLU activation function, Conv dw (·) represents depthwise convolution; The image segmentation module is used to input the original CT image into the abdominal CT image multi-organ segmentation model and output the organ segmentation image.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for multi-organ segmentation of abdominal CT images as claimed in any one of claims 1 to 8 are implemented.
