A method and device for diagnosing benign and malignant pulmonary nodules based on CT images
By integrating the attention mechanism contextual sign extraction module of CT images in the diagnosis of pulmonary nodules and combining its own sign characteristics, the accuracy of benign and malignant detection of pulmonary nodules is improved, and the problem of insufficient use of contextual features in the existing technology is solved. .
Patent Information
- Application Number
- CN202110843392.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-07-26
AI Technical Summary
Existing diagnostic methods for benign and malignant pulmonary nodules mainly rely on the characteristics of the pulmonary nodules themselves and fail to fully utilize the contextual features around the pulmonary nodules, resulting in low diagnostic accuracy.
The detection network and feature extraction network based on CT images are used, and the contextual sign extraction module of the attention mechanism is used to fuse the self-sign features and contextual sign features of the pulmonary nodules, and then input into the logistic regression layer to improve the diagnostic accuracy.
By merging features, the accuracy of benign and malignant detection of pulmonary nodules is improved, so that the diagnosis results include the pulmonary nodule's own signs and contextual sign information, which is more accurate than the existing system.
Smart Images

Figure CN113782181B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of medical imaging technology, and in particular relates to a method and device for diagnosing benign and malignant pulmonary nodules based on CT images. Background Art
[0002] Lung cancer is one of the most common cancers in the world. Lung nodules are the main lesions that cause lung cancer. Computed tomography (CT) is the most common method for screening benign and malignant lung nodules. Designing a computer-aided diagnosis (CAD) system for benign and malignant lung nodules in CT is very important to relieve the intensity of doctors' film reading and improve the accuracy of malignant lung nodule screening.
[0003] In clinical diagnosis, in addition to the characteristics of lung nodules themselves (such as texture and shape), the contextual features around lung nodules (such as pleural traction and vascular deformation) can also provide important clues for diagnosis of benign and malignant nodules. However, existing CAD systems generally only judge the benign and malignant nature of lung nodules based on their own characteristics, and fail to fully utilize the contextual features around lung nodules. Therefore, the existing methods for diagnosing benign and malignant lung nodules have problems such as low diagnostic accuracy. Summary of the invention
[0004] In order to solve the above problems existing in the prior art, the present invention provides a method and device for diagnosing benign and malignant lung nodules based on CT images.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions.
[0006] In a first aspect, the present invention provides a method for diagnosing benign and malignant pulmonary nodules based on CT images, comprising the following steps:
[0007] Based on a lung nodule detection network, the location and size of all lung nodules are detected from the input CT image, and the image area containing each lung nodule is segmented;
[0008] Based on a feature extraction network, the surrounding feature map of the lung nodule is extracted from the segmented lung nodule image, and the region of interest is pooled to obtain the self-sign feature representation of the lung nodule;
[0009] The surrounding feature map and self-sign feature representation of the lung nodule are input into a context sign extraction module based on the attention mechanism to obtain the context sign feature representation of the lung nodule;
[0010] The self-sign feature representation and the contextual sign feature representation are fused, and the fused features are input into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules.
[0011] Furthermore, the method further comprises a preprocessing step of the input CT image:
[0012] The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm;
[0013] Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600;
[0014] Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
[0015] Furthermore, the feature extraction network is a convolutional neural network 3D U-Net or 3D ResNet.
[0016] Furthermore, the contextual sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector of the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector of the same size as the number of feature map channels through the mutual attention encoding module, and outputs the contextual sign feature representation of the lung nodule.
[0017] Furthermore, the method for fusing the self-sign feature representation and the context sign feature representation includes:
[0018] Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients;
[0019] The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
[0020] In a second aspect, the present invention provides a device for diagnosing benign or malignant pulmonary nodules based on CT images, comprising:
[0021] A pulmonary nodule segmentation module is used to detect the location and size of all pulmonary nodules from the input CT image based on a pulmonary nodule detection network, and segment the image area containing each pulmonary nodule;
[0022] The self-sign extraction module is used to extract the surrounding feature map of the lung nodule from the segmented lung nodule image based on a feature extraction network, and perform region of interest pooling to obtain the self-sign feature representation of the lung nodule;
[0023] A context sign extraction module is used to input the surrounding feature map and the self-sign feature representation of the lung nodule into a context sign extraction module based on an attention mechanism to obtain the context sign feature representation of the lung nodule;
[0024] The feature fusion and diagnosis module is used to fuse the self-sign feature representation and the contextual sign feature representation, and input the fused features into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules.
[0025] Furthermore, the device also includes a preprocessing module, which is used to perform the following operations on the input CT image:
[0026] The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm;
[0027] Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600;
[0028] Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
[0029] Furthermore, the feature extraction network is a convolutional neural network 3D U-Net or 3D ResNet.
[0030] Furthermore, the contextual sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector of the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector of the same size as the number of feature map channels through the mutual attention encoding module, and outputs the contextual sign feature representation of the lung nodule.
[0031] Furthermore, the method for fusing the self-sign feature representation and the context sign feature representation includes:
[0032] Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients;
[0033] The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
[0034] Compared with the prior art, the present invention has the following beneficial effects.
[0035] The present invention can better obtain the contextual signs of lung nodules by constructing a contextual sign extraction module based on the attention mechanism; by further fusing the self-sign feature representation of the lung nodules with the contextual sign feature representation, the fused features contain both the self-sign information of the lung nodules and the contextual sign information. Compared with the existing benign and malignant lung nodule diagnosis system which mainly judges based on self-signs, the accuracy of benign and malignant lung nodule detection can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 The present invention is a flowchart of a method for diagnosing benign or malignant pulmonary nodules based on CT images according to an embodiment of the present invention.
[0037] Figure 2 The present invention is a block diagram of a device for diagnosing benign and malignant lung nodules based on CT images.
[0038] Specific implementation
[0039] In order to make the purpose, technical solution and advantages of the present invention clearer and more understandable, the present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. 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 making creative work are within the scope of protection of the present invention.
[0040] Figure 1 The flowchart of a method for diagnosing benign and malignant pulmonary nodules based on CT images according to an embodiment of the present invention comprises the following steps:
[0041] Step 101, based on a lung nodule detection network, detecting the position and size of all lung nodules from the input CT image, and segmenting the image region containing each lung nodule;
[0042] Step 102, based on a feature extraction network, extracting a surrounding feature map of the lung nodule from the segmented lung nodule image, and performing region of interest pooling on the surrounding feature map to obtain a self-signature feature representation of the lung nodule;
[0043] Step 103, inputting the surrounding feature map and the self-sign feature representation of the lung nodule into a context sign extraction module based on an attention mechanism to obtain the context sign feature representation of the lung nodule;
[0044] Step 104, the self-sign feature representation and the context sign feature representation are fused, and the fused features are input into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules.
[0045] In this embodiment, step 101 is mainly used to detect and segment the pulmonary nodule image area. In this embodiment, a trained pulmonary nodule detection network is used to detect the position and size of all pulmonary nodules in the input CT image; then, all pulmonary nodule image blocks in the input CT image are cut out according to the position and size of the detected pulmonary nodules. In order to retain the contextual signs existing around the pulmonary nodules, the size is set to a fixed size larger than the actual size of the pulmonary nodules during cutting, such as 96mm×96mm×96mm.
[0046] In this embodiment, step 102 is mainly used to obtain the self-sign feature representation of the lung nodule. This embodiment uses a feature extraction network to extract a deep feature map containing the surrounding features of the lung nodules (referred to as the surrounding feature map of the lung nodules) from each segmented lung nodule image, and performs a region of interest pooling (also called RoI pooling) operation (maximum value pooling) on the surrounding feature map of the lung nodules to obtain the self-sign feature representation of the lung nodules. Region of interest pooling is an operation widely used in target detection tasks using convolutional neural networks. For example, multiple cars and pedestrians are detected in a single image.
[0047] In this embodiment, step 103 is mainly used to obtain the contextual sign feature representation of the lung nodule. This embodiment obtains the contextual sign feature representation of the lung nodule by constructing a contextual sign acquisition module based on the attention mechanism. Since the surrounding feature map of the lung nodule contains the association information between different lung nodules, namely the contextual sign, the surrounding feature map of the lung nodule obtained in the previous step and the self-sign feature representation are operated by the attention mechanism to obtain the contextual sign feature representation of the lung nodule.
[0048] In this embodiment, step 104 is mainly used to fuse the self-sign feature representation and the contextual sign feature representation, and obtain the probability of benign and malignant lung nodules based on the fused features. Existing lung nodule detection systems generally only judge benign and malignant based on the extracted self-sign information of lung nodules, without considering the association between different lung nodules, so the detection accuracy is not high. To this end, this embodiment obtains both the self-sign feature representation of lung nodules and the contextual sign feature representation of lung nodules, and fuses the two sign feature representations (weighted summation and splicing together) so that the fused features contain both the self-sign information of lung nodules and the contextual sign information, and then inputs the fused features into a logistic regression layer to obtain the probability of benign and malignant lung nodules, which can effectively improve the accuracy of benign and malignant lung nodule detection compared to the prior art.
[0049] As an optional embodiment, the method further comprises a preprocessing step of the input CT image:
[0050] The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm;
[0051] Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600;
[0052] Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
[0053] This embodiment provides a technical solution for image preprocessing. In order to effectively perform benign and malignant lung nodule detection based on CT images, the input CT image needs to be preprocessed first. The preprocessing mainly includes three parts: first, the input CT image is resampled according to the set pixel size (such as 1mm×1mm×1mm) using the nearest neighbor method to improve the resolution; second, the window width and window position of the lung window is adjusted, and the adjusted center HU value is -600 and the window width HU value is 1600, and the lungs are aligned to accurately segment the lung CT image; third, the generated lung mask is used to segment the lung CT image. The lung mask can be obtained by binarizing the resampled image with a set HU value threshold (such as -320), calculating the connected area of the binarized image and retaining the largest connected area. With the lung mask, the lung CT image can be segmented by multiplying the lung mask and the CT image pixel by pixel.
[0054] As an optional embodiment, the feature extraction network is a convolutional neural network 3D U-Net or 3D ResNet.
[0055] This embodiment provides a network structure of a feature extraction network. In principle, the feature extraction network can use any neural network model, but considering that the CT image involved in this embodiment is a three-dimensional image, in order to more effectively extract features, this embodiment uses 3D U-Net or 3D ResNet as the feature extraction network. It is worth noting that this embodiment only provides one or two preferred implementations of the feature extraction network, and does not deny or exclude other feasible implementations.
[0056] As an optional embodiment, the contextual sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector of the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector of the same size as the number of feature map channels through the mutual attention encoding module, and outputs the contextual sign feature representation of the lung nodule.
[0057] This embodiment provides a technical solution for a context sign extraction module. The context sign extraction module of this embodiment is mainly composed of a self-attention module and a mutual attention module. The mutual attention module is a common attention module. The main purpose of setting the self-attention module is to optimize the model's learning of context signs related to benign and malignant. The self-attention module takes the surrounding feature map of the lung nodule as input, and generates a self-attention vector of the same size as the number of feature map channels through a surrounding feature encoding module, thereby outputting the fusion features of the surrounding feature map. The surrounding feature encoding module can use any encoding module that has a strong representation capability for global features. The purpose of the mutual attention module is to promote the model's learning of context features with the nodule's own signs as a guide. The mutual attention module is set to take the lung nodule's own sign feature representation as input, and generate a mutual attention vector of the same size as the number of feature map channels through a mutual attention encoding module. The fusion features of the surrounding feature map output by the self-attention module contain context sign information, and the mutual attention vector generated by using it as an input to the mutual attention encoding module can enable the mutual attention module to output the context sign feature representation of the lung nodule.
[0058] As an optional embodiment, the method for fusing the self-sign feature representation and the context sign feature representation includes:
[0059] Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients;
[0060] The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
[0061] This embodiment provides a technical solution for fusing the self-sign feature representation and the contextual sign feature representation. There are many methods for feature fusion. This embodiment first uses two different fully connected layers and a Softmax layer to generate a set of feature fusion coefficients. The fusion coefficients are the weighted coefficients of the contextual signs and the self-signs, and their sizes are related to the richness of the contextual sign information of different lung nodules. The softmax function is generally used for multi-classifiers to output the probabilities of multiple categories. The sum of all category probabilities is 1, so the softmax function is also called the normalized exponential function. Therefore, the sum of the feature fusion coefficients generated by the Softmax layer in this embodiment is also 1. Then, the fusion coefficients are multiplied with the self-sign feature representation and the contextual sign feature representation respectively, and the multiplication results are spliced together to obtain the features after the self-sign feature representation and the contextual sign feature representation are fused.
[0062] Figure 2 The present invention is a schematic diagram of a device for diagnosing benign and malignant lung nodules based on CT images, the device comprising:
[0063] A pulmonary nodule segmentation module 11 is used to detect the position and size of all pulmonary nodules from the input CT image based on a pulmonary nodule detection network, and segment the image region containing each pulmonary nodule;
[0064] The self-sign extraction module 12 is used to extract the surrounding feature map of the lung nodule from the segmented lung nodule image based on a feature extraction network, and perform region of interest pooling on the surrounding feature map to obtain the self-sign feature representation of the lung nodule;
[0065] A context sign extraction module 13 is used to input the surrounding feature map and the self-sign feature representation of the lung nodule into a context sign extraction module based on an attention mechanism to obtain the context sign feature representation of the lung nodule;
[0066] The feature fusion and diagnosis module 14 is used to fuse the self-sign feature representation and the context sign feature representation, and input the fused features into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules.
[0067] The device of this embodiment can be used to perform Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be described in detail here. The same is true for the following embodiments, which will not be described in detail.
[0068] As an optional embodiment, the device further includes a preprocessing module, configured to perform the following operations on the input CT image:
[0069] The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm;
[0070] Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600;
[0071] Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
[0072] As an optional embodiment, the feature extraction network is a convolutional neural network 3D U-Net or 3DResNet.
[0073] As an optional embodiment, the contextual sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector of the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector of the same size as the number of feature map channels through the mutual attention encoding module, and outputs the contextual sign feature representation of the lung nodule.
[0074] As an optional embodiment, the method for fusing the self-sign feature representation and the context sign feature representation includes:
[0075] Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients;
[0076] The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
[0077] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for diagnosing benign and malignant pulmonary nodules based on CT images, characterized in that: The following steps are involved: Based on a lung nodule detection network, the location and size of all lung nodules are detected from the input CT image, and the image area containing each lung nodule is segmented; Based on a feature extraction network, the surrounding feature map of the lung nodule is extracted from the segmented lung nodule image, and the region of interest is pooled to obtain the self-sign feature representation of the lung nodule; The surrounding feature map and self-sign feature representation of the lung nodule are input into a context sign extraction module based on the attention mechanism to obtain the context sign feature representation of the lung nodule; The self-sign feature representation and the contextual sign feature representation are fused, and the fused features are input into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules. Methods for fusing the self-sign feature representation and the contextual sign feature representation include: Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients; The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
2. The method for diagnosing benign and malignant pulmonary nodules based on CT images according to claim 1, characterized in that: The method further comprises the step of preprocessing the input CT image: The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm; Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600; Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
3. The method for diagnosing benign and malignant pulmonary nodules based on CT images according to claim 1, characterized in that: The feature extraction network is a convolutional neural network 3D U-Net or 3D ResNet.
4. The method for diagnosing benign and malignant pulmonary nodules based on CT images according to claim 1, characterized in that: The context sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector with the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector with the same size as the number of feature map channels through the mutual attention encoding module, and outputs the context sign feature representation of the lung nodule.
5. A device for diagnosing benign and malignant lung nodules based on CT images, characterized in that: include: A pulmonary nodule segmentation module is used to detect the location and size of all pulmonary nodules from the input CT image based on a pulmonary nodule detection network, and segment the image area containing each pulmonary nodule; The self-sign extraction module is used to extract the surrounding feature map of the lung nodule from the segmented lung nodule image based on a feature extraction network, and perform region of interest pooling to obtain the self-sign feature representation of the lung nodule; A context sign extraction module is used to input the surrounding feature map and the self-sign feature representation of the lung nodule into a context sign extraction module based on an attention mechanism to obtain the context sign feature representation of the lung nodule; The feature fusion and diagnosis module is used to fuse the feature representation of the self-sign and the feature representation of the contextual sign, and input the fused features into a logistic regression layer to obtain the probability of benign or malignant pulmonary nodules; Methods for fusing the self-sign feature representation and the contextual sign feature representation include: Taking the self-sign feature representation and the contextual sign feature representation as input, two different fully connected layers and a Softmax layer are used to generate a set of feature fusion coefficients; The feature fusion coefficient is multiplied with the self-sign feature representation and the context feature representation respectively, and then the multiplied self-sign feature representation and the context feature representation are concatenated together.
6. The device for diagnosing benign and malignant lung nodules based on CT images according to claim 5, characterized in that: The device also includes a preprocessing module, which is used to perform the following operations on the input CT image: The input CT image was resampled using the nearest neighbor method according to the pixel size of 1 mm × 1 mm × 1 mm; Adjust the window width and window position according to the lung window center HU value of -600 and the window width HU value of 1600; Generate the mask required for lung segmentation: binarize the resampled image with HU value = -320 as the threshold; calculate the connected area of the binary image and retain the largest connected area as the lung mask; multiply the lung mask and the CT image pixel by pixel to obtain the CT image of the segmented lungs, and fill the remaining areas with a uniform pixel gray value of 170.
7. The device for diagnosing benign and malignant lung nodules based on CT images according to claim 5, characterized in that: The feature extraction network is a convolutional neural network 3D U-Net or 3D ResNet.
8. The device for diagnosing benign and malignant lung nodules based on CT images according to claim 5, characterized in that: The context sign extraction module based on the attention mechanism includes a self-attention module and a mutual attention module; the self-attention module takes the surrounding feature map of the lung nodule as input, generates a self-attention vector with the same size as the number of feature map channels through a surrounding feature encoding module, and outputs the fusion features of the surrounding feature map to the mutual attention encoding module of the mutual attention module; the mutual attention module takes the self-sign feature representation of the lung nodule as input, generates a mutual attention vector with the same size as the number of feature map channels through the mutual attention encoding module, and outputs the context sign feature representation of the lung nodule.
