Bone metastasis tumor segmentation method

By improving the encoder structure of DAUnet++ and introducing a multi-dimensional collaborative attention module, the problems of poor adaptability and low accuracy of bone metastasis segmentation methods in complex scenes are solved, and higher segmentation accuracy and stability are achieved.

CN118735943APending Publication Date: 2024-10-01WUHAN POLYTECHNIC UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410805853.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing bone metastases segmentation methods have poor adaptability in complex scenes and are difficult to achieve accurate segmentation at the pixel level, especially when the boundaries are blurred and the contrast between lesions and normal bone tissue is low or distributed adjacently, resulting in a decrease in segmentation accuracy.

Method used

The encoder structure of DAUnet++ is improved into multiple reverse residual moving blocks, and a multi-dimensional collaborative attention module is introduced to optimize the basic convolution block. By adding a multi-dimensional collaborative attention mechanism to the convolutional layer, the attention of the feature map is improved. force information extraction.

Benefits of technology

It significantly improves the accuracy and stability of bone metastasis segmentation, can process complex scenes more precisely, reduces the number of misclassified pixels, and improves the accuracy of medical image segmentation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735943A_ABST
    Figure CN118735943A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of medical digital image processing, and discloses a bone metastasis tumor segmentation method, which comprises the following steps of S1, acquiring an initial data set of a CT bone scanning slice of a patient; s2, dividing the initial data set; s3, an encoder is improved; s4, introducing a multi-dimensional cooperative attention module; s5, multi-dimensional cooperative attention is improved into a basic convolution block; s6, inputting the data set of the bone metastatic tumor into a model method for training; and S7, embedding the trained model into a device containing a GPU and a CPU, and segmenting a bone metastatic tumor part and a skeleton part in the picture. According to the method, the backbone in the original DAUnet + + and the part of the basic convolution block are improved respectively, the attention information of the feature map is extracted more finely from three dimensions of channel, width and height, and the problem that the segmentation precision of an existing model for segmenting the bone metastatic tumor is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical digital image processing, and in particular relates to a Unet-like bone metastasis segmentation method based on a deep convolutional neural network (CNN) and transformers. Background Art

[0002] Bone metastasis segmentation technology greatly enhances the accuracy of positioning and morphological recognition by accurately segmenting bone lesion areas, effectively reducing the workload of doctors in image interpretation. This method is used to accurately segment bone images from CT scans and can be embedded in embedded devices containing GPUs and CPUs. Medical image segmentation methods can be divided into two categories: traditional segmentation methods and deep learning-based segmentation methods.

[0003] Traditional image segmentation methods mainly rely on the underlying features of the image, such as color, texture, brightness, etc., and divide the image into several regions with similar features by setting thresholds, edge detection, region growing and other algorithms, thereby achieving the separation of different targets or objects in the image.

[0004] Image segmentation based on deep learning uses deep neural networks, especially convolutional neural networks (CNNs), to automatically learn and extract high-level features of images, thereby achieving accurate segmentation of regions of interest in images. These methods usually do not require manual design of features, but instead allow the network to learn effective features to distinguish different objects through a large amount of data and training processes. Huang et al. proposed a bone metastasis auxiliary localization method based on deep learning. This method uses deep learning technology, especially the Swin Transformer model, to accurately classify the thoracic vertebrae and ribs, and can identify which section of the human thoracic spine and which level of ribs the bone metastasis occurs in, thereby achieving accurate localization of the bone metastasis. Although this method can directly assist doctors in locating bone metastases on cross-sectional CT scan images, bone metastases may vary significantly in different patients, different sites, and different pathological types. For these complex scenarios, the model may have limited generalization ability and poor localization effect on unseen cases or rare types of bone metastases. Afnouch, Marwa et al. proposed a CNN-based segmentation method DAUnet++. DAUnet++ borrowed and expanded the encoder-decoder framework of AttUnet++. In particular, DAUnet++ adopted a dual decoder structure, and correspondingly, a shared encoder part was retained. An ensemble learning idea was proposed to fuse the prediction results of a single model to improve the overall segmentation accuracy and stability.

[0005] However, both traditional image segmentation methods and current deep learning-based image segmentation methods face two major challenges:

[0006] (1) It has poor adaptability to complex scenes. When the boundary of bone metastasis is fuzzy or the contrast between lesion and normal bone tissue is not high or they are distributed close to each other, the fuzzy boundary area is easily misjudged as part of the lesion, resulting in a decrease in segmentation accuracy.

[0007] (2) Since bone lesions may involve multiple areas (such as ribs, pelvis, spine, etc.) and vary in size and shape, traditional methods can only provide relatively rough segmentation results and it is difficult to achieve accurate segmentation at the pixel level. The accuracy of some current deep learning-based methods for segmentation also needs to be improved. Summary of the invention

[0008] The purpose of this application is to provide a bone metastasis segmentation method to solve the problems raised in the above background technology. To achieve the above purpose, this application provides the following technical solution: a bone metastasis segmentation method, comprising the following steps:

[0009] S1: Obtaining an initial data set of CT bone scan slices of patients: The initial data set is obtained by using a marking software to mark each CT scan image, and masking the bones and the lesions of bone metastases in the image; the marked images are used as labels for training;

[0010] S2: Divide the initial data set: Use kFold for cross-validation, divide the data set into 5 independent parts evenly, and prepare for 5-fold cross-validation;

[0011] S3: Improved encoder: The original encoder part of DAUnet++ is improved into an encoder composed of multiple reverse residual moving blocks. The structure of the reverse residual moving block only contains basic deep convolution and extended window multi-head self-attention;

[0012] S4: Introducing a multi-dimensional collaborative attention module;

[0013] S5: Improve multi-dimensional collaborative attention into basic convolutional blocks;

[0014] S6: The bone metastasis dataset was input into the model method for training;

[0015] S7: Embed the trained model into a device with a GPU and a CPU to segment the bone metastasis and the bone in the image.

[0016] Furthermore, in step S3, the encoder part is composed of a series of reverse residual shift blocks, and both decoders are composed of basic convolution blocks. The jump connection in the middle is composed of convolution blocks and attention gates; the basic convolution block is composed of convolution, batch normalization, activation function and multi-dimensional collaborative attention.

[0017] Furthermore, in step S4, the structure of the multi-dimensional collaborative attention module uses a three-branch architecture to simultaneously infer channel, height and width dimension attention; each attention first transposes the feature map accordingly, then extracts features through average pooling and standard pooling, and uses convolutional layers and sigmoid functions to generate attention weights; then the three attention weights are fused, and the input and output dimensions of each multi-dimensional collaborative attention part remain consistent.

[0018] The technical effects and advantages of the present invention are as follows: an improved DAUnet++ method based on dual decoder Attention Unet++ (DAUnet++) is proposed, which uses an efficient model (EMO) composed of continuous reverse residual moving blocks as the backbone network, which can effectively deal with the problem of inaccurate boundary segmentation of bone metastases; and optimizes the basic convolution block (BCBlock), by adding a lightweight and efficient multi-dimensional collaborative attention mechanism between two convolutions, so as to better extract the attention information of the feature map from the three dimensions of channel, width and height. The implementation of these comprehensive improvement strategies solves the problem of low accuracy of bone metastasis segmentation in existing models. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a schematic diagram of the overall process of the present invention;

[0021] Figure 2 This is a flow chart of the real-time segmentation method of bone metastasis based on DAUnet++ of the present invention;

[0022] Figure 3 This is the structural diagram of the reverse residual shift block;

[0023] Figure 4 It is a structural diagram of the multi-dimensional collaborative attention of the present invention;

[0024] Figure 5 The structural diagram of the basic convolutional block after adding multi-dimensional collaborative attention in the present invention;

[0025] Figure 6 The results are compared and verified between the present invention and the existing method. DETAILED DESCRIPTION

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

[0027] Example: Reference Figure 1-2 , a bone metastasis segmentation method, comprising the following steps:

[0028] S1: Obtaining an initial data set of CT bone scan slices of patients: The initial data set is obtained by using a marking software to mark each CT scan image, and masking the bones and the lesions of bone metastases in the image; the marked images are used as labels for training;

[0029] S2: Divide the initial data set: Use kFold for cross-validation, divide the data set into 5 independent parts evenly, and prepare for 5-fold cross-validation;

[0030] S3: Improved encoder: Figure 3 As shown in the figure, the original encoder part of DAUnet++ is improved into an encoder composed of multiple inverse residual moving blocks (iRMBs). The structure of the inverse residual moving block only contains basic deep convolution (DW-Conv) and extended window multi-head self-attention; the combination of the two improves the efficiency and effect of the model in processing image features.

[0031] S4: Introducing a multi-dimensional collaborative attention module;

[0032] S5: Improve the multi-dimensional collaborative attention into the basic convolution block. The improved basic convolution block is as follows Figure 5 , where the structure of the multi-dimensional collaborative attention module is as follows Figure 4 As shown in the figure. This module has a lightweight size and can improve the accuracy of the model.

[0033] S6: Input the bone metastasis data set into the model method for training; set the batch size to 6, set the corresponding number of training times, generally only 60 times are needed, set the model learning rate to 10-4 for the first 0-40 iterations, and set the model learning rate to 10-5 for 40-60 iterations. As the number of training times increases, the loss function area of ​​the model stabilizes and gradually converges. When the optimal value is reached, save the corresponding weight file.

[0034] S7: Embed the trained model into a device with a GPU and a CPU to segment the bone metastasis and the bone in the image.

[0035] Preferably, in step S3, the encoder part is composed of a series of inverse residual moving blocks (iRMBs), and both decoders are composed of basic convolution blocks, and the intermediate jump connection is composed of convolution blocks and attention gates. The basic convolution block is composed of convolution, batch normalization (BN), activation function (ReLU) and multi-dimensional collaborative attention (MCA).

[0036] Preferably, if Figure 4 As shown in Figure 1, in step S4, the structure of the multi-dimensional collaborative attention module uses a three-branch architecture to simultaneously infer the channel, height, and width dimension attention; each attention first transposes the feature map accordingly, then extracts features through average pooling and standard pooling, and uses a convolutional layer and a sigmoid function to generate attention weights; then the three attention weights are fused, and the input and output dimensions of each multi-dimensional collaborative attention part are consistent. For example, if 224×224×3 is input to the attention part, the output is also 224×224×3.

[0037] The intuitive comparison between the method proposed in this invention and other advanced algorithms is as follows: Figure 6 As shown in the figure, from left to right, the segmentation results and labels of the original CT scan image, Unet, AttUnet, Unet++, AttUnet++, EDAUnet++ and the method proposed in this paper are respectively shown. From the mask of the segmentation result, it can be seen that the method proposed in this invention significantly reduces the number of pixels misclassified as bone metastasis compared with the existing algorithm, showing superior performance.

[0038]

[0039] The quantitative experimental results of this method compared with the existing advanced models are shown in the table above. It can be seen from the table that this method has achieved the best performance in the commonly used medical segmentation indicators - F1 score, Dice score, and IoU score.

[0040] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A bone metastasis segmentation method, characterized in that: The following steps are involved: S1: Obtaining an initial data set of CT bone scan slices of patients: The initial data set is obtained by using a marking software to mark each CT scan image, and masking the bones and the lesions of bone metastases in the image; the marked images are used as labels for training; S2: Divide the initial data set: Use kFold for cross-validation, divide the data set into 5 independent parts evenly, and prepare for 5-fold cross-validation; S3: Improved encoder: The original encoder part of DAUnet++ is improved into an encoder composed of multiple reverse residual moving blocks. The structure of the reverse residual moving block only contains basic deep convolution and extended window multi-head self-attention; S4: Introducing a multi-dimensional collaborative attention module; S5: Improve multi-dimensional collaborative attention into basic convolutional blocks; S6: The bone metastasis dataset was input into the model method for training; S7: Embed the trained model into a device with a GPU and a CPU to segment the bone metastasis and the bone in the image.

2. A bone metastasis segmentation method according to claim 1, characterized in that: The following steps are involved: In step S3, the encoder part is composed of a series of reverse residual shift blocks, and both decoders are composed of basic convolution blocks. The jump connection in the middle is composed of convolution blocks and attention gates; the basic convolution blocks are composed of convolution, batch normalization, activation function and multi-dimensional collaborative attention.

3. A bone metastasis segmentation method according to claim 1, characterized in that: The following steps are involved: In step S4, the structure of the multi-dimensional collaborative attention module uses a three-branch architecture to simultaneously infer channel, height and width dimension attention; each attention first transposes the feature map accordingly, then extracts features through average pooling and standard pooling, and uses convolutional layers and sigmoid functions to generate attention weights; then the three attention weights are fused, and the input and output dimensions of each multi-dimensional collaborative attention part remain consistent.