Lung cancer ct image subtype classification method based on deep learning
By using an improved 3D-LungNet network model and deep learning technology, non-invasive, rapid, and accurate classification of lung cancer subtypes was achieved, solving the risks and time-consuming problems of invasive diagnosis in existing technologies and improving classification accuracy.
Patent Information
- Application Number
- CN202210271664.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-18
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-03-18
AI Technical Summary
Existing lung cancer subtype classification methods are highly invasive, posing risks of infection and bleeding, and pathological diagnosis is time-consuming, failing to meet the requirements for non-invasive and efficient classification.
A deep learning-based lung cancer CT image subtype classification method is adopted. An improved 3D-LungNet network model is used for feature extraction and classification. End-to-end training is achieved by combining data augmentation and cross-entropy loss function optimization.
It improves the accuracy and precision of lung cancer subtype classification, reduces redundant calculations in the training process, and provides a non-invasive and rapid diagnostic solution.
Smart Images

Figure CN114648663B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical image classification technology, and in particular to a deep learning-based method for classifying lung cancer CT image subtypes. Background Technology
[0002] Currently, cancer ranks first in both incidence and mortality among all diseases in China, with lung cancer leading in both. Lung cancer is primarily divided into small cell lung cancer and non-small cell lung cancer (NSCLC). The two main subtypes of NSCLC are squamous cell carcinoma (SCC) and adenocarcinoma of the lung (ADC), accounting for 20% and 40% respectively. Therefore, accurate classification of lung cancer is the first and crucial step in individualized and systemic treatment decisions. To date, postoperative biopsy and pathological tissue sections are the main methods for determining lung cancer subtypes in routine clinical practice. Both methods are invasive diagnostic procedures, and the risks associated with lung nodule biopsy, such as infection, bleeding, and pneumothorax, as well as the limited tissue acquisition and the time-consuming nature of pathological confirmation leading to treatment delays, are common clinical problems. In conclusion, developing non-invasive methods for classifying lung cancer subtypes can help physicians make better treatment decisions. Furthermore, they can provide alternative methods for understanding the results for patients who cannot obtain sufficient tissue for histopathological examination. Summary of the Invention
[0003] This invention aims to at least solve the technical problems existing in the prior art, and in particular, it innovatively proposes a deep learning-based method for classifying lung cancer CT image subtypes.
[0004] To achieve the above-mentioned objectives of this invention, this invention provides a lung cancer CT image subtype classification method based on deep learning, comprising the following steps:
[0005] S1, Preprocessing: Acquire raw CT image data and preprocess it to obtain an enhanced dataset. Then, divide the preprocessed CT image data into a test set and a training set.
[0006] S2, Model Construction: An improved 3D-LungNet network model is constructed for feature extraction from preprocessed images. This improved 3D-LungNet network model is based on the 3D convolutional network 3D-LungNet and incorporates the skip connection method from ResNet. This network can effectively extract information from input CT images and can be trained efficiently end-to-end.
[0007] S3, Training the model: Input the training set into the improved 3D-LungNet network model for training to obtain a trained CT image classification model;
[0008] S4, Test set input model: Input the test set into the CT image classification model to obtain the CT image classification result.
[0009] Furthermore, the raw CT image data was obtained before surgery or any chemotherapy and includes nodule location information.
[0010] Furthermore, the preprocessing includes:
[0011] The CT images were resampled to a uniform size, and the linear size of the 3D image blocks was adjusted to 1 mm per pixel; then normalized to the range of [-1, 1] and data augmentation was performed.
[0012] Each CT image is composed of multiple 3D image blocks.
[0013] Data augmentation includes methods such as cropping the region of interest, rotation, and translation.
[0014] Furthermore, the improved 3D-LungNet network model includes: an input module, a feature extraction module, and a classification module. The data output terminal of the input module is connected to the data input terminal of the feature extraction module, and the data output terminal of the feature extraction module is connected to the data input terminal of the classification module.
[0015] Input module: Input a 3D image block of d×d×d pixels;
[0016] Feature extraction module: Extracts features from the input image through various network layers;
[0017] Classification module: Classifies the image to be tested based on the extracted features and obtains the predicted classification result; specifically, it includes: using global average pooling (GAP), outputting three probability values from the fully connected layer Dense, corresponding to lung squamous cell carcinoma, lung adenocarcinoma and small cell carcinoma respectively, and the category with the highest probability is the classification result.
[0018] Furthermore, the feature extraction module includes:
[0019] SA, using a batch normalization layer (BN) and a convolutional network, is used to extract features containing local details;
[0020] Convolutional networks enhance the ability to extract features from local details. By using four convolutional layers instead of ordinary convolutional kernels, local feature enhancement is achieved while reducing degradation.
[0021] The convolutional network has 4 layers, with convolutional kernels of d×d×d, 1×d×d, d×1×d and d×d×1, and each convolutional kernel has 64 filters.
[0022] SB, enters the building block module, the core structure used to calculate global feature information such as image coordinates and texture;
[0023] SC uses a batch normalization layer (BN) and an activation function layer (RELU). The role of RELU is to increase the non-linearity of linear features and avoid overfitting.
[0024] Furthermore, the convolutional network uses d×d×d, 1×d×d, d×1×d, and d×d×1 convolutional kernels to slide and extract features, and performs batch normalization after the convolution of the four branches to obtain the output of each branch. The outputs of each layer are summed to obtain a rich feature space.
[0025]
[0026] Where Y represents the final output result;
[0027] Y1, Y2, Y3, and Y4 are the convolution results of the four branches, respectively;
[0028] I represents the input data;
[0029] w1, w2, w3, and w4 represent the weights of each branch in the fusion calculation;
[0030] η1, η2, η3, and η4 represent the normalized standard deviations of each branch, respectively.
[0031] K d×d×d This represents a convolution kernel of size d×d×d;
[0032] K 1×d×d This represents a convolution kernel of size 1×d×d;
[0033] K d×1×d This represents a convolution kernel of size d×1×d;
[0034] K d×d×1 This represents a convolution kernel of size d×d×1;
[0035] c represents the bias value after the outputs of each branch are merged;
[0036] This is for addition operations.
[0037] Furthermore, the building block module consists of six individual building blocks, with data entering from the first building block and then passing through the subsequent building blocks in sequence;
[0038] The first building block has a convolution stride of 1 to preserve the feature map. Subsequent building blocks have a stride of 2, which reduces the downsampling of the feature map. The final output image size is 2x2x2.
[0039] Each building block contains filters. The first four building blocks have 32 filters each, while the remaining building blocks have 64 filters each. More filters allow for greater computational power to capture image features, but also require more computing power. Therefore, to balance both factors, the first four blocks have 32 filters each.
[0040] Furthermore, the building block is composed of a first residual block and a second residual block module;
[0041] The input of the first residual block is connected to the convolutional layer, and the output of the convolutional layer is connected to the output of the first residual block. Then, through addition, the data that has passed through the first residual block and the data that has passed through the convolutional layer are integrated.
[0042] The integrated data is then input into the second residual block.
[0043] The output of the second residual block is connected to the input of the second residual block. Then, through addition, the data that has passed through the second residual block and the data that has not passed through the second residual block are integrated to obtain the final output result.
[0044] The first residual block consists of a convolutional layer, a normalization layer, an activation function layer, and a dropout layer;
[0045] The second residual block consists of a normalization layer, an activation function layer, and a convolutional layer.
[0046] The convolutions in the building blocks use a single-size convolution kernel.
[0047] Furthermore, the training model includes: if a certain lung cancer subtype exceeds the sum of the other two lung cancer subtypes, then in each iteration, the data of the three lung cancer subtypes are sampled in a 1:1:1 ratio to ensure the rationality of the training.
[0048] Furthermore, S3 also includes using cross-entropy as a loss function to optimize the model, the loss function being as follows:
[0049]
[0050] Where y is an intermediate indicator variable;
[0051] N is the number of samples;
[0052] y j Let represent the loss function for the j-th sample;
[0053] y ji This represents the result of comparing the j-th sample with the i-th category;
[0054] M represents the number of categories in the classification task;
[0055] q jiThis represents the probability that sample j belongs to category i.
[0056] In summary, by employing the above-mentioned technical solutions, this invention can fully utilize the inherent relationship between medical images and natural images for feature transfer, improving the feature extraction efficiency of the network layers and the image classification accuracy, while reducing redundant computation during training. It also improves the classification accuracy and precision of CT images, effectively enhancing the diagnostic performance of CT images.
[0057] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0058] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0059] Figure 1 This is a schematic diagram of the improved 3D-LungNet network model structure of the present invention.
[0060] Figure 2 This is a schematic diagram of the structure of a single building block of the present invention.
[0061] Figure 3 This invention utilizes image tags and classification results. Detailed Implementation
[0062] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0063] Computed tomography (CT) is the primary diagnostic imaging modality for lung cancer prognosis. In recent years, research using deep learning networks and radiomics of CT images to classify and differentiate lung nodules has grown rapidly. This study developed an automated and non-invasive classification model (3D-LungNet) to differentiate three lung cancer subtypes (squamous cell carcinoma (SCC), adenocarcinoma adenocarcinoma (ADC), and small cell lung cancer (SCLC), aiding in the identification of lung tumor pathological types.
[0064] To overcome the problems of existing lung cancer subtype classification technologies, such as limited datasets and insufficient accuracy in multi-classification tasks, this invention proposes a lung cancer subtype classification system and method based on deep learning. It uses a three-dimensional convolutional neural network as the backbone framework and combines deep learning network jump connection methods to extract the relationships between different types of lung tumors. By strengthening the essential representation of individual nodules through these relationships, the system can fully extract the information contained in medical images and achieve higher classification accuracy.
[0065] Classification systems include:
[0066] Preprocessing module: Used to preprocess acquired CT images to obtain enhanced datasets;
[0067] Training module: Input the augmented dataset into the improved 3D-LungNet network model to obtain the trained improved 3D-LungNet network model;
[0068] Optimization module: Optimizes the network model using a loss function;
[0069] Classification module: Used to classify lung cancer CT images to be detected.
[0070] To achieve the above objectives, this invention proposes a deep learning-based method for classifying lung cancer CT image subtypes, comprising the following steps:
[0071] S1, Preprocessing: Acquire raw CT image data and preprocess it to obtain an enhanced dataset. Then, divide the preprocessed CT image data into a test set and a training set.
[0072] S2, Model Construction: An improved 3D-LungNet network model is constructed. This improved 3D-LungNet network model is based on the 3D convolutional network 3D-LungNet and borrows the skip connection method from ResNet. This network can effectively extract information from input CT images and can be trained efficiently end-to-end.
[0073] S3, Training the model: Input the training set into the improved 3D-LungNet network model for training to obtain a trained CT image classification model;
[0074] S4, Test set input model: Input the test set into the CT image classification model to obtain the CT image classification result.
[0075] This invention is based on existing deep learning networks, using a three-dimensional convolutional neural network as its backbone framework, and combining deep learning network jump connection methods to extract the relationships between different types of lung tumors, achieving a classification system that is superior to traditional deep convolutional neural network classification. The use of a three-dimensional convolutional neural network is particularly advantageous because it conforms to the three-dimensional characteristics of CT images and, compared to two-dimensional networks, can extract more spatial information and other image features.
[0076] This classification system enhances the essential representation of individual nodules through the interrelationships between network structures, enabling the system to fully extract information contained in medical images and achieve higher classification accuracy. The entire network can be trained end-to-end. In the lung cancer CT image subtype classification task, our proposed method outperforms previous studies, balancing data diversity and classification accuracy. Previous studies have mostly used radiomics methods, classifying primarily non-small cell lung cancer; another study based on three types of lung tumors ultimately failed to distinguish between SCC and SCLC. Our proposed method, however, includes both non-small cell lung cancer (ADC, SCC) and small cell lung cancer (SCLC).
[0077] Therefore, the lung cancer subtype classification method based on deep learning proposed in this invention can provide a broad prospect for guiding the individualized and precision treatment of the three types of lung cancer in the clinical workflow.
[0078] The specific implementation method is as follows:
[0079] S1, Preprocessing steps: Acquire raw CT image data and preprocess it to obtain an enhanced dataset, and divide the preprocessed CT image data into a test set and a training set;
[0080] S1-1, Extract a 64mm×64mm×64mm 3D image from chest CT data, containing nodule location information [x, y, z]. All CT images were obtained before surgery or any chemotherapy. CT images are composed of a matrix arrangement of a certain number of pixels of different gray levels from black to white; this invention uses CT images represented in matrix form as the raw data.
[0081] S1-2, this invention preprocesses the raw CT image data represented in matrix form, namely, resampling the CT images to a uniform specification, adjusting the linear size of the 3D image blocks to 1mm per pixel (64 pixels × 64 pixels × 64 pixels), and then normalizing it to the range [-1, 1]. Data augmentation is then performed to obtain an augmented dataset. The data augmentation includes methods such as cropping regions of interest, rotation, and translation. Each sample constituting this dataset is called CT 3D data.
[0082] S1-3, the sample sets of various categories after data augmentation are split into training set, validation set and test set, and divided in a ratio of 0.7:0.15:0.15.
[0083] S2, Model Building: Due to limited data, the network model should be deeper and relatively narrower to extract features more effectively. Insufficient number of single-layer convolutions and excessive number of convolutional kernels may lead to poor or no fitting results. For ordinary convolutional neural networks (CNNs), gradients decay continuously as the network deepens, potentially causing classification failures. The building block structure in Res-Net includes a residual branch and a shortcut branch, with jump connections added to transfer low-level information for thorough network training. This innovative approach has demonstrated strong classification capabilities in multiple 2D image classification projects. The improved 3D-LungNet is inspired by this, with a specific network structure as follows: Figure 1 As shown.
[0084] S2-1 takes a 64×64×64 pixel 3D image patch as input and passes it through a module consisting of two batch normalization (BN) layers and a convolutional network with 64 convolutional kernels. Batch normalization helps eliminate gradient vanishing, accelerates convergence, and avoids overfitting.
[0085] S2-2, after batch normalization (BN), enters the building block module. The module consists of six individual building blocks. S represents the number of convolution strides; the first building block has a stride of 1 to preserve the feature map, and each subsequent building block has a stride of 2, which reduces feature map downsampling. The final output image size is 2*2*2. F represents the number of filters; each building block contains filters. The F value for the first four building blocks is set to 32, and the F value for the remaining building blocks is set to 64. Data enters from the first block and is calculated progressively. More filters provide greater computational power for image features but also require more computing power; therefore, to balance both, the first four are set to 32.
[0086] S2-3, following these steps, the module consists of a batch normalization layer (BN) and an activation function layer (RELU). The purpose of RELU is to increase the non-linearity of linear features and avoid overfitting.
[0087] Then, using global average pooling (GAP), three probability values are output from the fully connected layer Dense, corresponding to squamous cell carcinoma (SCC), adenocarcinoma (ADC), and small cell carcinoma, respectively. The category with the highest probability is the classification result.
[0088] The structure of a single building block is as follows: Figure 2As shown, it includes two residual blocks. After inputting feature maps from a series of Batch Normalization (BN) layers, Batch Normalization combines ReLU layers and convolutional layers to output feature maps. The dropout layer in a single building block alleviates overfitting by randomly setting elements in the feature map to zero. Even if some pixels in the image are noise values, it will not affect the judgment of image content. In addition, for a single block, the aforementioned jump connection operation is applied to add feature values from the feature map.
[0089] The convolutional network consists of four parallel layers, using d×d×d, 1×d×d, d×1×d, and d×d×1 convolutional kernels to extract features. Batch Normalization is performed after the convolution of each of the four branches to obtain the output of each branch. The outputs of each layer are then summed to obtain a rich feature space. Due to the additivity of convolution, if m compatible 3D kernels K operate on the same input L with the same stride and produce outputs of the same resolution, and assuming the sum of these outputs is Y, then the kernels at corresponding positions can be summed to obtain an equivalent kernel K that can produce the same output Y.
[0090]
[0091] K1, K2...Km represent convolution kernels of different sizes.
[0092] Taking d=3 as an example, the detailed calculation process is as follows:
[0093] After the data input model is normalized, the outputs of each branch of the convolution kernel are:
[0094]
[0095]
[0096]
[0097]
[0098] Where Y1 is the output of the first convolutional kernel branch;
[0099] Y2 is the output of the first convolutional kernel branch;
[0100] Y3 is the output of the first convolutional kernel branch;
[0101] Y4 is the output of the first convolutional kernel branch;
[0102] I represents the input data;
[0103] Y represents the output of each convolutional kernel branch;
[0104] μ represents the mean of each branch during normalization;
[0105] η represents the standard deviation of each branch during normalization;
[0106] w represents the weight of each branch in the fusion calculation;
[0107] λ is the bias in the normalization process of each branch;
[0108] Based on the additivity of convolution, the sum of the outputs is:
[0109]
[0110] Where c represents the bias after the outputs of each branch are merged, which is a constant; the fusion calculation refers to merging the results of the calculations of the four branches and continuing the calculation.
[0111]
[0112] Therefore, the convolution kernel can be equivalent to:
[0113]
[0114] Where K represents the volume set, which is equivalent to representing the above four branches (K1 K2 K3 K4) with a single formula.
[0115] During the optimization process, the "Adam" optimization algorithm was adopted with a learning rate of 0.01, a decay rate of 0.5, a dropout of 0.5 for the first building block, and 0.28 for the second. The model was fitted after 80 epochs of training.
[0116] Finally, the AUC, F1 score, and accuracy of the ROC algorithm are calculated to evaluate the model's performance. The methods described above help deep networks extract feature values from previous networks, resulting in better classification results.
[0117] The model outputs probabilities for three subtypes, with the final prediction being the type with the highest probability. Unlike the most commonly used techniques in deep learning, we employ a novel strategy that only requires the coordinates of the data, rather than utilizing the built-in data augmentation features of various mainstream frameworks. This improved approach effectively enhances model performance and accelerates the training process.
[0118] S3, Training Steps:
[0119] The training set is input into the improved 3D-LungNet network model for training to obtain a trained CT image classification model;
[0120] Based on research into CT image categories of lesion locations, feature visualization was performed on the main nodes of the traditional 3D-LungNet network. Through feature visualization, it was determined that when features in most channels failed to properly identify the texture contours of the lesion location, subsequent network layers were found to have low sensitivity to extracting low-level features from CT images. This method ultimately determined the network depth for migration, providing a basis for adjusting network hyperparameters.
[0121] In actual training, if one class exceeds the sum of the other two classes, the data of the three subtypes are sampled in a 1:1:1 ratio in each iteration to ensure the rationality of the training.
[0122] In practice, since the ADC of adenocarcinoma exceeds the sum of the numbers of squamous cell carcinoma, SCC, small cell lung cancer, and small cell carcinoma, we sample data from the three subtypes in a 1:1:1 ratio in each iteration. When there is no residual data in SCC or small cell carcinoma, we randomly select an equal amount of data from the previous dataset for training to reduce the impact of dataset imbalance.
[0123] Based on the commonalities in low-level features such as texture and edges between medical images and natural images, this invention uses a network pre-trained on a sample dataset to perform low-level feature transfer learning, thereby alleviating the shortcomings of labeled CT samples.
[0124] Loss function and evaluation metrics:
[0125] The model constructed in this paper uses cross-entropy as the loss function, and its calculation formula is as follows:
[0126]
[0127] Where M is the number of categories in the classification task;
[0128] y is an intermediate indicator variable;
[0129] If the current classification sample's result is the same as y's category, then assign y... ji Assign a value of 1 if they are different, and assign a value of 0 if they are different. This allows us to calculate the overall loss function. ji Predict the probability that sample j belongs to class i.
[0130] The evaluation metric for the experiment is accuracy, which is the proportion of samples that correctly predict the outcome. The formula for calculation is:
[0131]
[0132] Test / Verification Steps:
[0133] After training and validation, all test datasets will be fed into 3D-LungNet and the fully connected network for testing. We use accuracy (ACC) to measure and evaluate the performance of the two classification models. Receiver Operating Characteristic (ROC) and the corresponding Area Under the Curve (AUC) are calculated for each model based on the test dataset. Furthermore, a weighted average F1 score is used to reduce imbalanced data. The weighted average F1 score is a variation of F1, and the formula is as follows:
[0134]
[0135]
[0136] Using image labels and classification results, such as Figure 3 As shown, the labels are stored in two different folders according to the doctor's diagnosis results for different types of CT images (normal or multiple lesion categories). Python can automatically assign corresponding labels to the images and compare them to obtain the classification accuracy, classification precision, sensitivity, and specificity.
[0137] The final result shows that 3D-LungNet has an accuracy of 0.716 and an area under the ROC curve (AUC) of 0.840.
[0138] In summary, this invention first performs a series of preprocessing steps on the raw CT image data, including data augmentation and image processing. It fully utilizes the inherent relationship between medical and natural images for feature transfer, improving the feature extraction efficiency of the network layers and the image classification accuracy, while reducing redundant computation during training. Finally, the improved network is used for adjustment and classification, resulting in a well-fitting CT image classification model. This invention can improve the classification accuracy and precision of CT images with limited training samples, effectively improving the diagnostic performance of CT images.
[0139] Previous studies on computer-aided subtype classification of lung cancer have mostly focused on the classification of non-small lung cancers, differentiation between benign and malignant cases, and the classification of pulmonary nodules. In our study, while ensuring classification diversity, we used 75% of the dataset to train the model, 15% as an independent validation set, and retained the remaining 15% of the entire dataset to test the model's performance. Therefore, the data in the validation and test sets were not used in the training process, making the classification model's capabilities more feasible and reliable. In conclusion, the results show that non-invasive classification methods offer broad prospects for guiding individualized and precision treatment of three types of lung cancer in clinical workflows.
[0140] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A deep learning-based method for classifying lung cancer CT image subtypes, characterized in that, Includes the following steps: S1, Preprocessing: Obtain the lung CT image dataset, perform preprocessing to obtain the enhanced dataset, and divide the preprocessed CT image data into a test set and a training set; S2, Model Building: Construct an improved 3D-LungNet network model for feature extraction from preprocessed images; The improved 3D-LungNet network model includes: an input module, a feature extraction module, and a classification module. The data output terminal of the input module is connected to the data input terminal of the feature extraction module, and the data output terminal of the feature extraction module is connected to the data input terminal of the classification module. Input module: Input 3D image blocks of pixels; Feature extraction module: Extracts features from the input image through various network layers; The classification module classifies the image to be tested based on the extracted features and obtains the predicted classification result. Specifically, it includes: using global average pooling (GAP), it outputs three probability values from the fully connected layer Dense, which correspond to lung squamous cell carcinoma, lung adenocarcinoma, and small cell carcinoma, respectively. The category with the highest probability is the classification result. The feature extraction module includes: SA uses a batch normalization layer (BN) and a convolutional network to extract features containing local details. SB, enters the building block module, the core structure used to calculate global feature information; SC, using a batch normalization layer (BN) and an activation function layer (RELU); The convolutional network uses , , and The convolutional kernels are used to slide and extract features, and after the convolution of the four branches, a batch normalization operation is performed to obtain the output of each branch. The outputs of each layer are added together to obtain a rich feature space. ; in This is the final output result; These are the convolution results for the four branches respectively; Input data; , , , These represent the weights of each branch during the fusion calculation; , , , These represent the standard deviations of the normalized branches, respectively. Indicates the size is The convolution kernel; Indicates the size is The convolution kernel; Indicates the size is The convolution kernel; Indicates the size is The convolution kernel; This is represented as the bias value after the outputs of each branch are combined; For addition operation; S3, Training the model: Input the training set into the improved 3D-LungNet network model for training to obtain a trained CT image classification model; The model is optimized using cross-entropy as the loss function, as follows: ; in For intermediate indicator variables; The number of samples; Indicates the first Loss function for each sample; Indicates the first The sample and the first Results of category comparison; The number of categories for the classification task; Indicates sample Category The probability of; S4, Test set input model: Input the test set into the CT image classification model to obtain the CT image classification result.
2. The lung cancer CT image subtype classification method based on deep learning according to claim 1, characterized in that, The raw CT image data was obtained and includes nodule location information.
3. The lung cancer CT image subtype classification method based on deep learning according to claim 1, characterized in that, The preprocessing includes: The CT images were resampled to a uniform size, and the linear size of the 3D image blocks was adjusted to 1 mm per pixel; then normalized to the range of [-1, 1] and data augmentation was performed.
4. The lung cancer CT image subtype classification method based on deep learning according to claim 1, characterized in that, The building block module consists of six individual building blocks. Data enters from the first building block and then passes through the subsequent building blocks in sequence. The first building block has a convolution stride of 1, and the stride of each subsequent building block structure is 2, resulting in a final output image size of 2*2*2. Each building block contains a filter; the first four building blocks have 32 filters, while the remaining building blocks have 64 filters.
5. The lung cancer CT image subtype classification method based on deep learning according to claim 4, characterized in that, The building block is composed of a first residual block and a second residual block module; The input of the first residual block is connected to the convolutional layer, and the output of the convolutional layer is connected to the output of the first residual block. Then, through addition, the data that has passed through the first residual block and the data that has passed through the convolutional layer are integrated. The integrated data is then input into the second residual block. The output of the second residual block is connected to the input of the second residual block. Then, through addition, the data that has passed through the second residual block and the data that has not passed through the second residual block are integrated to obtain the final output result. The first residual block consists of a convolutional layer, a normalization layer, an activation function layer, and a dropout layer; The second residual block consists of a normalization layer, an activation function layer, and a convolutional layer.
6. The lung cancer CT image subtype classification method based on deep learning according to claim 1, characterized in that, The training model includes: if a certain lung cancer subtype exceeds the sum of the other two lung cancer subtypes, then in each iteration, data from the three lung cancer subtypes are sampled in a 1:1:1 ratio.
Citation Information
Patent Citations
Segmentation method and device for target object in three-dimensional image and electronic equipment
CN111369567A
