Liver CT tumor image segmentation system based on deep supervision and feature fusion
Through deep supervision and feature fusion modules, combined with multi-scale attention and edge enhancement strategies, the problems of low contrast and blurred boundaries in liver CT tumor segmentation are solved, efficient and accurate automatic segmentation of liver CT tumors is achieved, and the segmentation accuracy and efficiency.
Patent Information
- Application Number
- CN202410723062.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technologies have problems with low contrast, diverse tumor morphology, and blurred boundaries in liver CT tumor segmentation, resulting in low segmentation accuracy and efficiency, making it difficult to achieve automation and high precision.
A liver CT tumor image segmentation system based on deep supervision and feature fusion is used to extract and process feature information through multi-scale attention module, feature fusion module and edge enhancement module to optimize the tumor segmentation effect.
It achieves efficient and accurate automatic segmentation of liver CT tumors, reduces doctors' workload, improves segmentation accuracy and edge contour accuracy, and adapts to liver tumor segmentation of different sizes and fuzzy boundaries.
Smart Images

Figure CN118735939A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tumor image segmentation, and in particular to a liver CT tumor image segmentation system based on deep supervision and feature fusion. Background Art
[0002] Liver cancer has become one of the most common diseases in humans, causing a large number of deaths every year. Liver tumor segmentation and quantitative analysis are necessary steps for liver cancer grading and treatment. Liver tumors are usually segmented manually by radiologists, which not only requires rich professional experience of radiologists but also takes a lot of time. Therefore, the automatic segmentation method of liver tumors is of great significance to assist doctors in clinical diagnosis and treatment.
[0003] In recent years, with the rapid development of computer performance, the establishment of a high-accuracy and high-speed automatic segmentation method for liver CT tumors to assist doctors in diagnosis and treatment has attracted widespread attention from peers at home and abroad. According to the degree of manual participation, liver CT tumor segmentation methods can be divided into two categories: liver tumor segmentation based on traditional methods and liver tumor segmentation based on deep learning methods. Among them, traditional methods involve manual participation and cannot be fully automated; while deep learning methods do not require manual labeling of features, saving work time and achieving higher accuracy. However, due to the relatively low contrast between the liver and surrounding organ tissues in medical images, it is difficult to distinguish the liver from other surrounding organs, and the low contrast makes it difficult for the network model to capture the characteristic information of the liver during training. Secondly, the morphology, size and location of tumors vary, and different contour boundaries and different sizes also lead to difficulties in liver tumor segmentation. In addition, the boundaries of the tumor are relatively fuzzy, and the boundaries of the liver and tumor are unclear, which brings challenges to the accuracy of the segmentation task. Summary of the invention
[0004] In order to solve the deficiencies of the prior art, the present invention provides a liver CT tumor image segmentation system based on deep supervision and feature fusion;
[0005] Liver CT tumor image segmentation system based on deep supervision and feature fusion, including:
[0006] An acquisition module is configured to: acquire a liver CT image to be segmented;
[0007] An image segmentation module is configured to: input the liver CT image to be segmented into the trained image segmentation model, and output a liver tumor region segmentation result;
[0008] Among them, the trained image segmentation model is used to: perform feature extraction on the liver CT image to be segmented, and extract the first, second, third, fourth and fifth feature maps; use a multi-scale attention module to solve the problem of different sizes of tumor images during the feature extraction process; use a feature fusion module to process the extracted third, fourth and fifth feature maps to obtain fusion features; use a deep supervision module to process the first, second, third, fourth and fifth features to obtain deep features; use an edge enhancement module to process the fusion features and deep supervision features to obtain image segmentation results.
[0009] The above technical solution has the following advantages or beneficial effects:
[0010] Firstly, a liver tumor segmentation method based on feature fusion residual network with deep supervision is designed. Through the feature fusion module and deep supervision module, an efficient and accurate network model is obtained.
[0011] Secondly, to address the problem of different sizes of liver tumors, a multi-scale attention fusion strategy of hidden layer features based on convolutional channel attention is designed to optimize the multi-scale segmentation of tumors.
[0012] Finally, to address the problem of fuzzy boundaries, an edge enhancement strategy guided by the confidence of hidden layer features is designed to make the edge contour of the final segmentation result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0014] Figure 1 This is a schematic diagram of the internal structure of the image segmentation model of Example 1;
[0015] Figure 2 This is a schematic diagram of the internal structure of the multi-scale attention module of Example 1;
[0016] Figure 3 This is a schematic diagram of the internal structure of the feature fusion module of Example 1;
[0017] Figure 4 Schematic diagram of the internal structure of the deep supervision module of Example 1;
[0018] Figure 5 FIG. 1 is a schematic diagram of the internal structure of the edge enhancement module of the first embodiment. DETAILED DESCRIPTION
[0019] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0020] Embodiment 1
[0021] This embodiment provides a liver CT tumor image segmentation system based on deep supervision and feature fusion;
[0022] like Figure 1 As shown in the figure, the liver CT tumor image segmentation system based on deep supervision and feature fusion includes:
[0023] An acquisition module is configured to: acquire a liver CT image to be segmented;
[0024] An image segmentation module is configured to: input the liver CT image to be segmented into the trained image segmentation model, and output a liver tumor region segmentation result;
[0025] Among them, the trained image segmentation model is used to: perform feature extraction on the liver CT image to be segmented, and extract the first, second, third, fourth and fifth feature maps; use a multi-scale attention module to solve the problem of different sizes of tumor images during the feature extraction process; use a feature fusion module to process the extracted third, fourth and fifth feature maps to obtain fusion features; use a deep supervision module to process the first, second, third, fourth and fifth features to obtain deep features; use an edge enhancement module to process the fusion features and deep supervision features to obtain image segmentation results.
[0026] Furthermore, the liver CT image to be segmented is input into a trained image segmentation model to output a liver tumor region segmentation result, wherein the trained image segmentation model includes:
[0027] The first module block1, the second module block2, the third module block3, the first multi-scale attention module, the fourth module block4, the second multi-scale attention module, the fifth module block5, and the third multi-scale attention module are connected in sequence;
[0028] The output end of the first multi-scale attention module, the output end of the second multi-scale attention module and the output end of the third multi-scale attention module are all connected to the input end of the feature fusion module, the output end of the feature fusion module is connected to the input end of the edge enhancement module, and the output end of the edge enhancement module is used to output the image segmentation result;
[0029] Among them, the output end of the first module block1, the output end of the second module block2, the output end of the first multi-scale attention module, the output end of the second multi-scale attention module and the output end of the third multi-scale attention module are all connected to the input end of the deep supervision module, and the output end of the deep supervision module is connected to the input end of the edge enhancement module.
[0030] Furthermore, the output end of the first module block1 is used to output the feature map F1; the output end of the second module block2 is used to output the feature map F2; the output end of the first multi-scale attention module is used to output the feature map F3; the output end of the second multi-scale attention module is used to output the feature map F4; and the output end of the third multi-scale attention module is used to output the feature map F5.
[0031] It should be understood that the network structure design of automatic liver CT tumor segmentation: the overall model adopts the "encoder-decoder" network architecture, and the encoder part uses ResNet50 as the backbone network to extract the feature information of the input image. Let F1, F2, F3, F4, and F5 be the five features of different resolutions and levels obtained by the data passing through the encoder, that is, the five blocks of ResNet50.
[0032] Furthermore, the first module block1 is implemented by using the conv1 layer of the Resnet50 network, and the conv1 layer of the Resnet50 network is a 7*7 convolutional layer;
[0033] The second module block2 is implemented by using the conv2_x layer of the Resnet50 network. The conv2_x layer of the Resnet50 network includes: three convolution modules connected in sequence, each convolution module includes three convolution layers connected in sequence;
[0034] The second module block3 is implemented by using the conv3_x layer of the Resnet50 network. The conv3_x layer of the Resnet50 network includes: four convolutional modules connected in sequence, each convolutional module includes three convolutional layers connected in sequence;
[0035] The second module block4 is implemented by using the conv4_x layer of the Resnet50 network. The conv4_x layer of the Resnet50 network includes: six convolutional modules connected in sequence, each convolutional module includes three convolutional layers connected in sequence;
[0036] The second module block5 is implemented by using the conv5_x layer of the Resnet50 network. The conv5_x layer of the Resnet50 network includes: three convolution modules connected in sequence, and each convolution module includes three convolution layers connected in sequence.
[0037] Furthermore, if Figure 2 As shown, the internal structures of the first multi-scale attention module, the second multi-scale attention module and the third multi-scale attention module are consistent, and the first multi-scale attention module includes:
[0038] The input end of the first multi-scale attention module, the input end of the first multi-scale attention module respectively calculates the mean and the maximum value of the input feature map in the channel dimension, takes the mean and the maximum value as feature vectors, inputs the two feature vectors into the first splicing unit, the first splicing unit realizes serial splicing of the two feature vectors, the output end of the first splicing unit is respectively connected to the input end of the first convolutional layer, the input end of the second convolutional layer, the input end of the third convolutional layer and the input end of the global average pooling layer; the output end of the first convolutional layer, the output end of the second convolutional layer, the output end of the third convolutional layer and the output end of the global average pooling layer are all connected to the input end of the second splicing unit, the second splicing unit cascades the intermediate feature vectors of four different receptive fields in the channel dimension, inputs the cascade result into the fourth convolutional layer, the fourth convolutional layer inputs the output result into the softmax activation function layer, the softmax activation function layer outputs the weight, multiplies the weight with the input feature map, and obtains the feature vector with multi-scale information weight.
[0039] Furthermore, the working processes of the first multi-scale attention module, the second multi-scale attention module and the third multi-scale attention module are consistent. The first multi-scale attention module includes:
[0040] First, the mean and maximum values of the input features in the channel dimension are calculated to obtain two feature vectors. These two features are concatenated in the channel dimension to obtain a two-channel feature vector.
[0041] Secondly, four different convolution operations are performed on this two-channel feature vector, namely, 3×3 convolution with padding of 1 and convolution kernel size of 3, 5×5 convolution with padding of 2 and convolution kernel size of 5, 7×7 convolution with padding of 3 and convolution kernel size of 7, and a global average pooling operation.
[0042] The output size of the convolutional layer is calculated as:
[0043]
[0044] Among them, o represents the output size, i represents the input size, p represents padding, s represents the convolution step size, and k represents the convolution kernel size. Indicates rounding down.
[0045] After obtaining four intermediate feature vectors with different receptive field sizes, these four vectors are cascaded in the channel dimension. After a 3×3 convolution operation, a softmax operation is performed on them to obtain a vector with a value range of [0,1], which is the required weight vector.
[0046] Finally, the weight vector is multiplied by the feature vector initially input into the first multi-scale attention module, and a feature vector with multi-scale information weights is output to complete multi-scale fusion.
[0047] Furthermore, if Figure 3 As shown, the feature fusion module includes:
[0048] The fifth, sixth, and seventh convolutional layers are arranged in parallel;
[0049] An input end of the fifth convolutional layer is connected to an output end of the first multi-scale attention module;
[0050] An input end of the sixth convolutional layer is connected to an output end of the second multi-scale attention module;
[0051] An input end of the seventh convolutional layer is connected to an output end of the third multi-scale attention module;
[0052] The output end of the fifth convolutional layer outputs feature f1; the output end of the sixth convolutional layer outputs feature f2; the output end of the seventh convolutional layer outputs feature f3;
[0053] Do the following:
[0054] f 1-1 =f1;
[0055] f 2-1 =conv(upsample(f1))·f2;
[0056] f 3-1 =conv(upsample(upsample(f1)))·conv(upsample(f2))·f3;
[0057] f 2-2 =conv(cat(f 2-1 ,conv(upsample(f 1-1 ))));
[0058] f 3-2 =conv(cat(f3-1 ,conv(upsample(f 2-2 ))));
[0059] F seg =conv(conv(f 3-2 ));
[0060] Among them, conv(·) represents convolution with a kernel size of 3, upsample(·) represents upsampling using bilinear interpolation, cat(·) represents cascade operation according to channels, and F seg Represents the final segmentation map.
[0061] Exemplarily, a feature aggregation decoder is performed on the higher-level features extracted by ResNet, and the features of different resolutions are upsampled and multiplied with the features of the corresponding resolution to obtain intermediate features. Finally, the intermediate features are cascaded and convolved to obtain the final features, which are then upsampled to obtain the final segmentation map.
[0062] First, the features extracted by block3, block4, and block5 are shrunk by 3×3 convolution to the feature maps with 512, 1024, and 2048 channels respectively, into intermediate features feature1, feature2, and feature3 with 32 channels. The size of the feature map remains unchanged, and reducing the number of channels can significantly reduce the amount of calculation. Feature1, feature2, and feature3 are denoted as f1, f2, and f3.
[0063] Furthermore, if Figure 4 As shown, the deep supervision module includes:
[0064] d4=dconv(cat(F4,upsample(F5)));
[0065] d3=dconv(cat(F3,upsample(d4)));
[0066] d2=dconv(cat(F2,upsample(d3)));
[0067] d1=dconv(cat)F1,uosample(d2)));
[0068] output = dconv(d1);
[0069] Among them, upsample(·) represents the upsampling operation using bilinear interpolation; cat(·) represents the cascade operation, which cascades the features of different layers with the same resolution through the channel dimension; dconv(·) means that the intermediate features undergo two connected convolution operations.
[0070] Apply the deep supervision method: process the extracted five-level features in sequence to obtain the final feature result map, and backpropagate together with a loss function and the loss function of the feature fusion module to complete the deep supervision.
[0071] Furthermore, if Figure 5 As shown, the edge enhancement module includes:
[0072] An input end of an edge enhancement module, a softmax activation function layer, a cascade unit, a first confidence mapping convolution unit, a second confidence mapping convolution unit, a third confidence mapping convolution unit, a fourth confidence mapping convolution unit, a convolution layer, and an output end of the edge enhancement module connected in sequence;
[0073] The input end of the cascade unit is also connected to the output end of the deep supervision module, and the cascade unit is used to realize the series connection of features.
[0074] Further, the internal working processes of the first confidence mapping convolution unit, the second confidence mapping convolution unit, the third confidence mapping convolution unit, and the fourth confidence mapping convolution unit are consistent, and the first confidence mapping convolution unit is used to:
[0075] remember represents the probability that each pixel p belongs to category i, then
[0076] The confidence map M for each pixel conf Defined as:
[0077]
[0078] Among them, M max Represents the maximum probability score of each pixel in the initial probability map, M min Represents the minimum probability score.
[0079] When the image classification is clearer, The larger the ratio, the greater the M conf The larger the value of M conf The larger it is, the higher the confidence of the pixel is and the more reliable the segmentation result is.
[0080] Map the confidence score M conf Multiply it with the feature vector X to get the processed feature vector, and then perform convolution operation on it to let the pixels with clear classification drive the pixels with fuzzy classification, and continuously expand the area with clear classification. The specific operation is:
[0081]
[0082] Among them, X represents the input feature vector of the current sliding window, W represents the weight of the convolution filter, b represents the bias of the convolution, and X conf represents the optimized features, 1 / sum(M conf ) is used to regularize confidence maps with different sliding windows.
[0083] Since segmentation belongs to pixel-level classification, the confidence level should be refined to each pixel, so the present invention constructs an edge enhancement module.
[0084] Furthermore, the liver CT image to be segmented is input into a trained image segmentation model to output a liver tumor region segmentation result, wherein the training process of the trained image segmentation model includes:
[0085] Constructing a training set and a test set, wherein both the training set and the test set are liver CT images with known liver tumor region annotation results;
[0086] Input the training set into the image segmentation model, train the model, and stop training when the total loss function value of the model no longer decreases, to obtain the image segmentation model after preliminary training;
[0087] The test set is input into the image segmentation model after preliminary training for testing, and the model with test accuracy higher than the set threshold is used as the final trained image segmentation model.
[0088] Furthermore, constructing the training set and the test set includes:
[0089] Clinical 3D abdominal CT scan images were collected and image preprocessing was performed: the intensity values of all scanned images were truncated within the range of [-200, 250] HU to remove the interference of irrelevant details and reduce the influence of noise;
[0090] Perform data augmentation operations: Considering the complexity of the model and the characteristics of medical images, horizontal / vertical flipping, translation, shearing, and blurring operations are used to increase the number and diversity of training samples, improve the robustness of the model, and enhance the generalization ability of the model.
[0091] Furthermore, the total loss function is specifically:
[0092] The binary cross entropy loss function and the intersection-over-union function are combined. The specific formula is:
[0093]
[0094] Among them, TP means true positive, FP means false positive, FN means false negative, and TN means true negative;
[0095]
[0096] Among them, y is the true value, is the model's predicted value.
[0097] The training set is input into the network model for training, and then the performance of the network model is tested using the test set;
[0098] The network's hyperparameters are continuously adjusted and trained repeatedly to make the network's liver tumor segmentation results close to the actual lesion area.
[0099] The present invention has high accuracy and high speed, which can greatly reduce the workload of doctors and reduce the probability of missed diagnosis or misdiagnosis. By designing a feature fusion module, feature information of different resolution sizes is fully decoded; by designing a deep supervision module, all deep and shallow feature information is fully utilized to assist in supervising the segmentation results obtained by the decoder to improve segmentation accuracy; by designing a multi-scale attention module, the problem of different sizes of liver tumors is improved; by designing an edge enhancement module, the problem of blurred boundaries of liver tumors is improved, and the segmentation accuracy of the network model is improved.
[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. Liver CT tumor image segmentation system based on deep supervision and feature fusion, characterized by: include: An acquisition module is configured to: acquire a liver CT image to be segmented; An image segmentation module is configured to: input the liver CT image to be segmented into the trained image segmentation model, and output a liver tumor region segmentation result; Among them, the trained image segmentation model is used to: perform feature extraction on the liver CT image to be segmented, and extract the first, second, third, fourth and fifth feature maps; use a multi-scale attention module to solve the problem of different sizes of tumor images during the feature extraction process; use a feature fusion module to process the extracted third, fourth and fifth feature maps to obtain fusion features; use a deep supervision module to process the first, second, third, fourth and fifth features to obtain deep features; use an edge enhancement module to process the fusion features and deep supervision features to obtain image segmentation results.
2. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 1, characterized in that: The liver CT image to be segmented is input into a trained image segmentation model, and a liver tumor region segmentation result is output, wherein the trained image segmentation model includes: The first module block1, the second module block2, the third module block3, the first multi-scale attention module, the fourth module block4, the second multi-scale attention module, the fifth module block5, and the third multi-scale attention module are connected in sequence; The output end of the first multi-scale attention module, the output end of the second multi-scale attention module and the output end of the third multi-scale attention module are all connected to the input end of the feature fusion module, the output end of the feature fusion module is connected to the input end of the edge enhancement module, and the output end of the edge enhancement module is used to output the image segmentation result; Among them, the output end of the first module block1, the output end of the second module block2, the output end of the first multi-scale attention module, the output end of the second multi-scale attention module and the output end of the third multi-scale attention module are all connected to the input end of the deep supervision module, and the output end of the deep supervision module is connected to the input end of the edge enhancement module; The output end of the first module block1 is used to output the feature map F1; the output end of the second module block2 is used to output the feature map F3; the output end of the first multi-scale attention module is used to output the feature map F3; the output end of the second multi-scale attention module is used to output the feature map F4; the output end of the third multi-scale attention module is used to output the feature map F5.
3. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 2, characterized in that: The internal structures of the first multi-scale attention module, the second multi-scale attention module and the third multi-scale attention module are consistent, and the first multi-scale attention module includes: The input end of the first multi-scale attention module, the input end of the first multi-scale attention module respectively calculates the mean and the maximum value of the input feature map in the channel dimension, takes the mean and the maximum value as feature vectors, inputs the two feature vectors into the first splicing unit, the first splicing unit realizes serial splicing of the two feature vectors, the output end of the first splicing unit is respectively connected to the input end of the first convolutional layer, the input end of the second convolutional layer, the input end of the third convolutional layer and the input end of the global average pooling layer; the output end of the first convolutional layer, the output end of the second convolutional layer, the output end of the third convolutional layer and the output end of the global average pooling layer are all connected to the input end of the second splicing unit, the second splicing unit cascades the intermediate feature vectors of four different receptive fields in the channel dimension, inputs the cascade result into the fourth convolutional layer, the fourth convolutional layer inputs the output result into the softmax activation function layer, the softmax activation function layer outputs the weight, multiplies the weight with the input feature map, and obtains the feature vector with multi-scale information weight.
4. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 2, characterized in that: The working processes of the first multi-scale attention module, the second multi-scale attention module and the third multi-scale attention module are consistent. The first multi-scale attention module includes: First, the mean and maximum values of the input features are calculated in the channel dimension to obtain two feature vectors. These two features are concatenated in the channel dimension to obtain a two-channel feature vector. Secondly, four different convolution operations are performed on the two-channel feature vector, namely, 3×3 convolution with padding of 1 and convolution kernel size of 3, 5×5 convolution with padding of 2 and convolution kernel size of 5, 7×7 convolution with padding of 3 and convolution kernel size of 7, and a global average pooling operation; The output size of the convolutional layer is calculated as: Among them, o represents the output size, i represents the input size, p represents padding, s represents the convolution step size, and k represents the convolution kernel size. Indicates rounding down; After obtaining four intermediate feature vectors with different receptive field sizes, these four vectors are cascaded in the channel dimension, and after a 3×3 convolution operation, a softmax operation is performed on them to obtain a vector with a value range of [0,1], which is the required weight vector; Finally, the weight vector is multiplied by the feature vector initially input into the first multi-scale attention module, and a feature vector with multi-scale information weights is output to complete multi-scale fusion.
5. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 2, characterized in that: The feature fusion module comprises: The fifth, sixth, and seventh convolutional layers are arranged in parallel; An input end of the fifth convolutional layer is connected to an output end of the first multi-scale attention module; An input end of the sixth convolutional layer is connected to an output end of the second multi-scale attention module; An input end of the seventh convolutional layer is connected to an output end of the third multi-scale attention module; The output end of the fifth convolutional layer outputs feature f1; the output end of the sixth convolutional layer outputs feature f2; the output end of the seventh convolutional layer outputs feature f3; Do the following: f 1-1 =f1; f 2-1 =conv(upsample(f1))·f2; f 3-1 =conv(upsample(upsample(f1)))·conv(upsample(f2))·f3; f 2-2 =conv(cat(f 2-1 ,conv(upsample(f 1-1 )))); f 3-2 =conv(cat(f 3-1 ,conv(upsample(f 2-2 )))); F seg =conv(conv(f 3-2 )); Among them, conv(·) represents convolution with a kernel size of 3, upsample(·) represents upsampling using bilinear interpolation, cat(·) represents cascade operation according to channels, and F seg Represents the final segmentation map.
6. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 2, characterized in that: The deep supervision module comprises: d4=dconv(cat(F4,upsample(F5))); d3=dconv(cat(F3,upsample(d4))); d2=dconv(cat(F2,upsample(d3))); d1=dconv(cat(F1,uosample(d2))); output = dconv(d1); Among them, upsample(·) represents the upsampling operation using bilinear interpolation; cat(·) represents the cascade operation, which cascades the features of different layers with the same resolution through the channel dimension; dconv(·) means that the intermediate features undergo two connected convolution operations.
7. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 2, characterized in that: The edge enhancement module comprises: An input end of an edge enhancement module, a softmax activation function layer, a cascade unit, a first confidence mapping convolution unit, a second confidence mapping convolution unit, a third confidence mapping convolution unit, a fourth confidence mapping convolution unit, a convolution layer, and an output end of the edge enhancement module connected in sequence; The input end of the cascade unit is also connected to the output end of the deep supervision module, and the cascade unit is used to realize the series connection of features.
8. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 7, characterized in that: The internal working processes of the first confidence mapping convolution unit, the second confidence mapping convolution unit, the third confidence mapping convolution unit, and the fourth confidence mapping convolution unit are consistent, and the first confidence mapping convolution unit is used to: remember i∈[0,1] represents the probability that each pixel p belongs to category i, then The confidence map M for each pixel conf Defined as: Among them, M max Represents the maximum probability score of each pixel in the initial probability map, M min Represents the minimum probability score; when the image classification is clearer, The larger the ratio, the greater the M conf The larger the value of M conf The larger it is, the higher the confidence of the pixel is and the more reliable the segmentation result is; Map the confidence score M conf Multiply it with the feature vector X to get the processed feature vector, and then perform convolution operation on it to let the pixels with clear classification drive the pixels with fuzzy classification, and continuously expand the area with clear classification. The specific operation is: Among them, X represents the input feature vector of the current sliding window, W represents the weight of the convolution filter, b represents the bias of the convolution, and X conf represents the optimized features, 1 / sum(M conf ) is used to regularize confidence maps with different sliding windows.
9. The liver CT tumor image segmentation system based on deep supervision and feature fusion as claimed in claim 1, characterized in that: The liver CT image to be segmented is input into the trained image segmentation model, and the liver tumor region segmentation result is output, wherein the training process of the trained image segmentation model includes: Constructing a training set and a test set, wherein both the training set and the test set are liver CT images with known liver tumor region annotation results; Input the training set into the image segmentation model, train the model, and stop training when the total loss function value of the model no longer decreases, to obtain the image segmentation model after preliminary training; The test set is input into the image segmentation model after preliminary training for testing, and the model with test accuracy higher than the set threshold is used as the final trained image segmentation model.
10. The liver CT tumor image segmentation system based on deep supervision and feature fusion according to claim 9, characterized in that: The total loss function is specifically: The binary cross entropy loss function and the intersection-over-union function are combined. The specific formula is: Among them, TP represents true positive, FP represents false positive, FN represents false negative, and TN represents true negative; Among them, y is the true value, is the model's predicted value.
Citation Information
Patent Citations
Three-stage liver tumor image segmentation method based on adaptive preprocessing
CN115018864A
Liver tumor image segmentation method and device oriented to medical scene and readable storage medium
CN117523204A
