Identification analysis construction and image processing method for lung special pathological image
Through the recognition, analysis, construction and image processing methods of special pathological images of the lungs, the STASNet model and STAS scoring module are used to accurately identify and evaluate STAS lesions in lung adenocarcinoma, and conduct semi-quantitative analysis combined with spatial location to solve the problem of STAS in the existing technology. Identifying and assessing challenges improves diagnostic efficiency and personalization of treatment strategies.
Patent Information
- Application Number
- CN202410425186.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-04-10
AI Technical Summary
Existing technology makes it difficult to accurately identify and evaluate spread-through-airspace (STAS) lesions in lung tumors, and it is difficult to conduct semi-quantitative analysis in combination with other risk factors such as spatial location, which increases the diagnostic burden of pathologists.
A recognition, analysis, construction and image processing method for special lung pathological images is adopted, including a pathological slice processing module, STASNet model and STAS scoring module. STAS lesions are identified and STAS scores are calculated through the convolutional neural network framework (STASNet), using MobileNet V3 The framework and Squeeze-and-Excitation attention mechanism combine spatial position calculation and STAS semi-quantitative evaluation to achieve accurate identification and evaluation of STAS lesions.
It achieves the accurate identification and assessment of STAS lesions in lung adenocarcinoma, reduces the diagnostic burden of pathologists, improves the guiding significance of clinical decision-making, assists in the development of personalized treatment plans, and improves the judgment of patient prognosis.
Smart Images

Figure CN118587238A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pathological image processing, and in particular to a method for identifying, analyzing, constructing and processing special lung pathological images. Background Art
[0002] Lung cancer is a global public health problem. Among all cancers, its incidence ranks second and its mortality rate is the highest, accounting for 18% of cases. Over the past three decades, the five-year overall survival rate of lung cancer has been less than 20%. Among them, the main histological subtype of lung cancer is non-small cell lung cancer, of which lung adenocarcinoma is the most important pathological subtype. In the past, the metastasis patterns of lung cancer were hematogenous spread, lymph node spread, or direct metastasis. In 2015, Kadota et al. first proposed the concept of air cavity dissemination (Spread Through Air Space, STAS), defining it as tumor cells that spread into the air cavities of the lung parenchyma outside the edge of the tumor body. In the same year, the World Health Organization (WHO) incorporated the STAS concept into the new invasion model of lung adenocarcinoma, and refined its pathological classification into: micropapillary clusters, solid tumor nests, and single free tumor cells.
[0003] The incidence of STAS is high in lung adenocarcinoma. Several previous studies have reported an incidence ranging from 14.8% to 60.5%. It is common in lung adenocarcinomas with solid components and micropapillary components. Other cancer types have also been reported, mainly in invasive cancer, and less common in microinvasive and carcinoma in situ. Many studies have reported the negative impact of STAS on prognosis. The presence of STAS is associated with high recurrence and poor prognosis. For patients with similar cancer stages, the presence of STAS often indicates a poor prognosis and a higher possibility of recurrence and metastasis. In the evaluation of early lung cancer, the impact of STAS on prognosis has a more important guiding significance. As a high-risk factor, STAS has been included in the considerations of whether patients with early lung adenocarcinoma should undergo postoperative adjuvant treatment by many medical centers. Some studies have also pointed out that the farther the distance between STAS and the main tumor boundary, the worse the prognosis, and the more STAS there are, the worse the survival. Therefore, a clear diagnosis of STAS lesions will help clinical staff to better formulate personalized and precise treatment plans.
[0004] At present, pathological diagnosis mainly relies on pathologists to read films under a microscope. This type of evaluation makes it difficult to quantify air-cavitary disseminated lesions from an overall perspective. At the same time, STAS is not given enough attention in clinical practice. Pathologists' interpretation of STAS in patients undergoing surgery for early-stage lung adenocarcinoma is highly subjective, and there is only moderate interobserver agreement between doctors, and artificial artifacts interfere with the interpretation process. At the same time, the evaluation results of STAS lack clinical guidance. For the formulation of clinical diagnosis and treatment strategies, although a large number of studies have demonstrated the impact of different margins and surgical procedures on the prognosis of STAS-positive cases, there is still a lack of experience in the treatment of STAS-positive cases, and its guiding role in adjuvant treatment of early surgical patients is still unclear. Some studies use deep learning models based on CT data to predict the preoperative STAS status of patients, which helps the personalized formulation of surgical plans for patients, but the prediction is still based on the presence or absence of STAS, and does not involve quantitative analysis of STAS, which is obviously very challenging for CT data. Some studies have also explored the relationship between STAS and the spatial location of the primary tumor and its effect on tumor prognosis. The results showed that the farther the spatial distance between STAS and the primary tumor, the worse the prognosis, but no further quantitative analysis was conducted. If a method can be proposed to more accurately identify and evaluate STAS of lung tumors, and further semi-quantitatively analyze STAS in combination with other risk factors such as spatial location, it will reduce the diagnostic burden of pathologists, enhance the guiding significance of clinical decision-making, and enable patients to receive more personalized diagnosis and treatment.
[0005] In the past few years, the emergence of digital pathology and the application of digital whole slide images (WSI) in the field of pathological diagnosis have made it possible to use artificial intelligence (AI) and deep learning (DL) models to diagnose pathological sections. Well-trained DL models can extract high-dimensional features from the input raw data and mine abstract underlying information, showing good performance in the field of pathological image analysis, and even morphological features that are difficult for the human eye to recognize can be detected. Some previous studies have also reported that deep learning models perform well in tasks such as tumor region segmentation, prognosis prediction, tumor microenvironment characterization, and driver mutation prediction. Due to the unique robustness of deep learning models, a well-trained deep learning-based pathological diagnosis model can provide pathologists with a relatively stable diagnostic reference, reduce the diagnostic burden of pathologists, and reduce inter-observer differences in clinical diagnostic practice. Due to the robustness of DL models, the introduction of AI-assisted pathological diagnosis systems can significantly reduce the burden on pathologists and facilitate accurate and objective diagnosis. Summary of the invention
[0006] The purpose of the present invention is to propose a recognition, analysis, construction and image processing method for special lung pathological images, so as to solve the problem that the prior art lacks means for accurately identifying and evaluating lung tumor STAS, and it is difficult to further semi-quantitatively analyze STAS in combination with other risk factors such as spatial position, which increases the diagnostic burden of pathologists.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A recognition, analysis, construction and image processing method for special lung pathological images, characterized in that it includes a pathological slice processing module, a STASNet model and a STAS scoring module. After a lung adenocarcinoma HE pathological slice is given and its tumor boundary is marked, the pathological slice processing module can automatically cut normal lung tissue outside the tumor boundary in real time, and then the STASNet model identifies the STAS lesions therein to generate a predicted image, and finally the STAS score is calculated by the STAS scoring module.
[0009] The pathology slice processing module uses a commercial scanner to scan the HE slice into a digital pathology slice image, and determines the tumor boundary based on the pathologist's annotation;
[0010] The scanned digitized pathology slice images are segmented into local image areas of size 256 pixels * 256 pixels using Python scripts, and are divided into tumor images and non-tumor area images based on tumor boundary annotation. For non-tumor images, if the white pixels, R, G, B values are greater than 220, and the proportion is greater than 90, then the map will be placed in the background group; the remaining images containing non-tumor main area tissues will construct a data set and be used for model construction and recognition of subsequent modules.
[0011] After the STASNet model receives the image obtained by the pathological section processing module as an input image, the STASNet model introduces a convolutional neural network framework, called the STASNet framework, to construct the module and complete the training and evaluation of the module weights in the tissue image data set.
[0012] The STASNet model is optimized and constructed based on the MobileNet V3 framework, and mainly includes the following key components: convolutional layer, pooling layer, activation function and fully connected layer; the basic components include convolutional layer, pooling layer, fully connected layer, activation function, loss function, optimizer, etc. The specific details are as follows:
[0013] Convolutional Layer:
[0014] The convolution layer is the core of the CNN framework feature extraction. The convolution layer uses a convolution kernel with specific features to perform matrix operations on the local area of the image in sequence. The new matrix finally obtained is regarded as a feature map containing a certain type of feature of the original image. A single convolution layer includes several convolution kernels for extracting different features of the input image matrix, and finally outputs several feature maps containing different features to the next layer of the pooling layer or convolution layer network.
[0015] Pooling Layer:
[0016] Since the CNN framework has too many parameters, the model introduces a pooling layer to reduce the number of parameters. The pooling layer simplifies the input feature map and obtains the representative feature value of the area by calculating the local area of the Feature Map. Commonly used pooling methods include Max Pooling and Mean Pooling.
[0017] Fully Connected Layer:
[0018] The fully connected layer is generally connected to the end of the entire CNN to classify the data. After passing through several convolution and pooling layers, the multi-dimensional abstract features extracted by the model are comprehensively evaluated and output as specific feature tags; several fully connected layers form a fully connected neural network, in which the fully connected layer that accepts input features becomes the input layer, and the fully connected layer that finally outputs several preset classification labels is the output layer. All layers between the input layer and the output layer are hidden fully connected layers;
[0019] Activation Function:
[0020] During model training, parameters continuously flow from the input to the output. During this process, the model introduces an activation function to evaluate whether the input result will continue to propagate to subsequent models.
[0021] MobileNetV3 uses an activation function called Hard Swish, which is a variant of the rectified linear unit ReLU;
[0022] The mathematical expression of the Hard Swish function is as follows:
[0023]
[0024] Among them, ReLU6 is a truncated ReLU function, which is defined as follows:
[0025]
[0026] Loss Function and Optimizer:
[0027] During the model training process, after the input image is extracted and classified by the model, the deep learning model introduces a loss function to calculate the difference between the classification result and the actual result. After calculating the loss value, the model will apply the optimizer to reversely update and optimize the parameters of each node inside the model, so as to ensure that a lower loss value can be obtained in the next training.
[0028] The cross entropy function is used as the loss function, and the Adam optimizer is used to optimize the internal parameters of the model. The formula is as follows:
[0029]
[0030] Where xi is a discrete variable, which represents the predicted value of each type of result in the prediction results in this study;
[0031] Bneck Block:
[0032] Based on the stacking of multiple convolutional layers and multiple pooling layers, the core module of MobileNet V3, Bneck Block, can be further constructed. Different from the traditional convolutional layer, Bneck Block greatly reduces the number of parameters and computational complexity by separating the traditional convolution operation into depth-wise convolution and 1*1 point-wise convolution, thus improving the model efficiency while maintaining relatively good performance.
[0033] Bneck Block also enhances the importance weight distinction of model input features by adding a Squeeze-and-Excitation attention mechanism module, and the memory cloth improves model performance.
[0034] The Back Block constructed by the present invention includes a group of depth-wise convolutions, a group of attention modules SE Block and a group of 1*1 point convolutions;
[0035] Overall view of the model:
[0036] Based on the above components, the present invention finally constructs the STASNet model; the overall prediction process is:
[0037] The input image is processed into a matrix of size 256*256*3 and processed sequentially in 15 groups of Bneck Block matrices to finally generate a matrix of size 8*8*960. It is then transformed into an output matrix of size 1*1*960 through a pooling layer and passed through a fully connected neural network including three fully connected layers to finally output a two-dimensional result, as well as STAS, not SATS.
[0038] The training and evaluation of the module weights specifically include the following:
[0039] The image blocks with real category labels obtained by processing the pathological slice processing module are predicted in the STASNet model, and the loss function is calculated based on the prediction results of the STASNet model and the real results of the image blocks, and the optimizer is used to optimize the weights, and the optimized model is reused for prediction, and the well-trained STASNet framework is obtained by continuously iterating the model node weights;
[0040] The STASNet framework with perfect weight training can be used to predict STAS lesions in the workflow. The specific workflow is as follows:
[0041] The STASNet model receives the image blocks obtained after being processed by the pathological slice processing module, and processes them through the trained and perfected STASNet framework, and finally outputs the result as “is a STAS lesion / is not a STAS lesion”.
[0042] After being processed by the pathology slice processing module and the STASNet model, non-tumor image blocks with STAS interpretation results or tumor image blocks with tumor markers are generated. All image blocks are further evaluated in the STAS scoring module, and STAS semi-quantification of the entire slice is completed;
[0043] Specifically, it includes two steps: spatial position calculation and STAS semi-quantitative evaluation;
[0044] S1, the spatial position calculation module: the image blocks obtained by the pathological slice processing module will contain original spatial coordinates. Based on the original spatial coordinates of the image blocks and the tumor boundary coordinates, the spatial position calculation module uses a Python script to calculate the vertical distances of all image blocks to the original spatial coordinates;
[0045] S2, the STAS semi-quantitative evaluation module: after the spatial position obtained by the pathological slice processing module and the STAS prediction probability of the image block obtained by the STASNet model, the STAS semi-quantitative evaluation module further selects the 10 image blocks with the highest STAS prediction probability and uses them to calculate the semi-quantitative score Top 10Score; the specific formula is as follows:
[0046] Top10Score=∑ Top10tiles AI score of STAS tile*Tiledistance. Compared with the prior art, the present invention has the following beneficial effects:
[0047] Based on the digitally scanned lung tumor slice images, the present invention develops a recognition model STASNet for lung cancer air cavity dissemination lesions. Given a lung adenocarcinoma HE pathological slice and annotating its tumor boundary, the present invention can automatically cut the normal lung tissue outside the tumor boundary in real time, identify the STAS lesions therein to generate a predicted image, and further calculate the STAS score, which can assist pathologists in improving the efficiency of film reading and at the same time indicate the patient's prognosis. It has guiding significance for assisting clinicians in treatment. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a schematic diagram of Bneck Block;
[0049] Figure 2 Schematic diagram of the deep learning model of the present invention. DETAILED DESCRIPTION
[0050] In order to clarify the technical problems, technical solutions, implementation processes and performance demonstrations, the present invention is further described in detail below in conjunction with embodiments. It should be understood that the specific embodiments described herein are for explanation only. The present invention is not intended to limit the present invention. Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings do not have to be drawn to scale unless otherwise specified.
[0051] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0052] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present disclosure.
[0053] Example 1
[0054] like Figure 1 and Figure 2As shown, a recognition, analysis and construction method for special lung pathological images and an image processing method include a pathological slice processing module, a STASNet model and a STAS scoring module. After a lung adenocarcinoma HE pathological slice is given and its tumor boundary is marked, the pathological slice processing module can automatically cut the normal lung tissue outside the tumor boundary in real time, and then the STASNet model identifies the STAS lesions therein to generate a predicted image. Finally, the STAS scoring module calculates the STAS score, which can assist pathologists in improving the efficiency of film reading and at the same time indicate the prognosis of patients.
[0055] The pathology slice processing module uses a commercial scanner (e.g., KFBIO, KF-PRO-400 scanner, Zhejiang Yuyao Jiangfeng Biological Co., Ltd.) to scan the HE slice into a digital pathology slice image (Whole Slide Image, WSI), and determines the tumor boundary based on the annotation of the pathologist;
[0056] The scanned digitized pathology slice images are segmented into local image areas of size 256 pixels * 256 pixels using Python scripts, and are divided into tumor images and non-tumor area images based on tumor boundary annotation. For non-tumor images, if the proportion of white pixels (R, G, B values greater than 220) is greater than 90, the map will be placed in the background group; the remaining images containing non-tumor main area tissues will construct a data set and be used for model construction and recognition of subsequent modules.
[0057] After the STASNet model receives the image obtained by the pathological section processing module as an input image, the STASNet model introduces a convolutional neural network framework to construct the module and completes the training and evaluation of the module weights in the tissue image data set.
[0058] The STASNet model is optimized and constructed based on the MobileNet V3 framework, and mainly includes the following key components: convolutional layer, pooling layer, activation function and fully connected layer; the basic components include convolutional layer, pooling layer, fully connected layer, activation function, loss function, optimizer, etc. The specific details are as follows:
[0059] Convolutional Layer:
[0060] The convolution layer is the core of the CNN framework feature extraction. The convolution layer uses a convolution kernel with specific features to perform matrix operations on local areas of the image in sequence. The new matrix finally obtained is regarded as a feature map containing certain features of the original image. A single convolution layer includes several convolution kernels to extract different features of the input image matrix, and finally outputs several feature maps containing different features to the next layer of the network.
[0061] Pooling Layer:
[0062] Since the CNN framework has too many parameters, the model introduces a pooling layer to reduce the number of parameters. The pooling layer simplifies the input feature map and obtains the representative feature values of the region by calculating the local area of the Feature Map. The introduction of the pooling layer reduces the number of parameters calculated during the model training process, while reducing the impact of minor features on the model, improving the stability of the CNN, which is of great significance for preventing the overfitting of the model. Commonly used pooling methods include maximum pooling (MaxPooling) and average pooling (Mean Pooling).
[0063] Fully Connected Layer (FC):
[0064] The fully connected layer is generally connected to the end of the entire CNN to play a role in classifying data. After passing through several convolution and pooling layers, the multi-dimensional abstract features extracted by the model are comprehensively evaluated and output as specific feature tags; several fully connected layers form a fully connected neural network, in which the fully connected layer that accepts input features becomes the input layer, and the fully connected layer that finally outputs several preset classification labels is the output layer. All 6 layers between the input layer and the output layer are hidden fully connected layers. In the entire fully connected neural network, all neurons receive the output parameters of all neurons in the previous layer and output them comprehensively to all neurons in the next layer, so it is called a "fully connected" network;
[0065] Activation Function
[0066] During the model training process, parameters continuously flow from the input end to the output end. In this process, the model introduces an activation function to evaluate whether the input result will continue to propagate to the subsequent model. Such functions are usually nonlinear, breaking the linear calculation feature of the model in the convolution layer and the pooling layer, so that the model can fit nonlinear parameter conditions and solve the problem of vanishing model gradients.
[0067] MobileNetV3 uses an activation function called "Hard Swish", which is a variant of the rectified linear unit (ReLU). The main feature of Hard Swish is that it is computationally lighter and suitable for efficient computing on mobile devices.
[0068] The mathematical expression of the Hard Swish function is as follows:
[0069]
[0070] Among them, ReLU6 is a truncated ReLU function, which is defined as follows:
[0071]
[0072] Loss Function and Optimizer:
[0073] During the model training process, after the input image is extracted and classified by the model, the deep learning model introduces a loss function to calculate the difference between the classification result and the actual result. After calculating the loss value, the model will apply the optimizer to reversely update and optimize the parameters of each node inside the model to ensure that a lower loss value can be obtained in the next training, that is, a predicted value closer to the actual result, thereby achieving the purpose of "machine learning";
[0074] This application uses the cross entropy function as the loss function and the Adam optimizer to optimize the internal parameters of the model. The formula is as follows:
[0075]
[0076] Where xi is a discrete variable, which represents the predicted value of each type of result in the prediction results in this study;
[0077] Bneck Block:
[0078] Based on the components mentioned above, we can further construct the core module of MobileNet V3, Bneck Block. Different from the traditional convolution layer, Bneck Block greatly reduces the number of parameters and computational complexity by separating the traditional convolution operation into depth-wise convolution and 1*1 point-wise convolution, thus improving the model efficiency while maintaining relatively good performance.
[0079] Bneck Block also enhances the importance weight distinction of model input features by adding the Squeeze-and-Excitation (SE Block) attention mechanism module, and the memory cloth improves the model performance.
[0080] The Back Block constructed by the present invention includes a set of depth-wise convolutions, a set of attention modules (SE Blocks) and a set of 1*1 point convolutions. The specific structure is shown in the attached Figure 1 ;
[0081] Overall view of the model:
[0082] Based on the above components, the present invention finally constructs the STASNet model. The specific structure is shown in the attached Figure 2 The overall prediction process is:
[0083] The input image is processed into a matrix of size 256*256*3 and processed sequentially in 15 groups of Bneck Block matrices to finally generate a matrix of size 8*8*960, which is then transformed into an output matrix of size 1*1*960 through a pooling layer and passed through a fully connected neural network including three fully connected layers to finally output a two-dimensional result and [STAS, non-SATS].
[0084] The training and evaluation of the module weights specifically include the following:
[0085] The image blocks with real category labels obtained by processing the pathological slice processing module are predicted in the STASNet model, and the loss function is calculated based on the prediction results of the STASNet model and the real results of the image blocks, and the optimizer is used to optimize the weights, and the optimized model is reused for prediction, and the well-trained STASNet framework is obtained by continuously iterating the model node weights;
[0086] The STASNet framework with perfect weight training can be used to predict STAS lesions in the workflow. The specific workflow is as follows:
[0087] The STASNet model receives the image blocks obtained after processing by the pathological slice processing module, and processes them through the trained and perfected STASNet framework, and the final output result is "is a STAS lesion / is not a STAS lesion"
[0088] After being processed by the "pathology slice processing module" and the "STASNet model", non-tumor image blocks with STAS interpretation results or tumor image blocks with tumor markers are generated. All image blocks are further evaluated in the STAS scoring module, and the STAS semi-quantification of the entire slice is completed;
[0089] Specifically, it includes two steps: spatial position calculation and STAS semi-quantitative evaluation;
[0090] S1, the spatial position calculation module: the image blocks obtained by the pathological slice processing module will contain original spatial coordinates. Based on the original spatial coordinates of the image blocks and the tumor boundary coordinates, the spatial position calculation module uses a Python script to calculate the vertical distances of all image blocks to the original spatial coordinates;
[0091] S2, the STAS semi-quantitative evaluation module: after the spatial position obtained by the pathological slice processing module and the STAS prediction probability of the image block obtained by the STASNet model, the STAS semi-quantitative evaluation module further selects the 10 image blocks with the highest STAS prediction probability and uses them to calculate the semi-quantitative score Top 10Score; the specific formula is as follows:
[0092] Top10Score=∑ Top10tiles AI score of STAS tile*Til distance.
[0093] Based on digitally scanned lung tumor slice images, the present invention develops a recognition model STASNet for lung cancer airway dissemination lesions. Based on this model, pathologists can be assisted in real-time recognition of STAS lesions around lung pathological slices during diagnosis and treatment, thereby improving the efficiency of clinical diagnosis of STAS and reducing misdiagnosis and missed diagnosis. Based on the classification of the presence or absence of STAS, clinical workers can be further assisted in completing semi-quantitative analysis of STAS, indicating the prognosis of patients and helping doctors to formulate personalized diagnosis and treatment plans. As an organic part of the microscope computer imaging system, the model is embedded in the microscope image acquisition module to recognize STAS lesions in lung cancer images in real time. As an organic component module of a large-scale pathological image recognition model, the model generates structured pathology reports and improves the standardization of clinical diagnosis and treatment.
[0094] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for recognizing, analyzing, constructing and processing special lung pathological images, characterized in that: It includes a pathological section processing module, a STASNet model and a STAS scoring module. After a lung adenocarcinoma HE pathological section is given and its tumor boundary is marked, the pathological section processing module can automatically cut the normal lung tissue outside the tumor boundary in real time, and then the STASNet model identifies the STAS lesions therein to generate a predicted image, and finally the STAS score is calculated by the STAS scoring module.
2. The method for recognizing, analyzing, constructing and processing special lung pathological images according to claim 1, characterized in that: The pathology slice processing module uses a commercial scanner to scan the HE slice into a digital pathology slice image, and determines the tumor boundary based on the pathologist's annotation; The scanned digitized pathology slice images are segmented into local image areas of size 256 pixels * 256 pixels using Python scripts, and are divided into tumor images and non-tumor area images based on tumor boundary annotation. For non-tumor images, if the white pixels, R, G, B values are greater than 220, and the proportion is greater than 90, then the map will be placed in the background group; the remaining images containing non-tumor main area tissues will construct a data set and be used for model construction and recognition of subsequent modules.
3. The method for recognizing, analyzing, constructing and processing special lung pathological images according to claim 1, characterized in that: After the STASNet model receives the image obtained by the pathological section processing module as an input image, the STASNet model introduces a convolutional neural network framework, called the STASNet framework, to construct the module and complete the training and evaluation of the module weights in the tissue image data set.
4. The method for recognizing, analyzing, constructing and processing special lung pathological images according to claim 3, characterized in that: The STASNet model is optimized and constructed based on the MobileNet V3 framework, and mainly includes the following key components: convolutional layer, pooling layer, activation function and fully connected layer; the basic components include convolutional layer, pooling layer, fully connected layer, activation function, loss function, optimizer, etc. The specific details are as follows: Convolutional Layer: The convolutional layer is the core of the CNN framework feature extraction. The convolutional layer uses a convolutional kernel with specific features to perform matrix operations on the local area of the image in sequence. The new matrix finally obtained is regarded as a feature map containing a certain type of feature of the original image. A single convolutional layer includes several convolution kernels for extracting different features of the input image matrix, and finally outputs several feature maps containing different features to the pooling layer or convolutional layer network of the next layer. Pooling Layer: Since the CNN framework has too many parameters, the model introduces a pooling layer to reduce the number of parameters. The pooling layer simplifies the input feature map and obtains the representative feature value of the area by calculating the local area of the Feature Map. Commonly used pooling methods include Max Pooling and Mean Pooling. Fully Connected Layer: The fully connected layer is generally connected to the end of the entire CNN to classify the data. After passing through several convolution and pooling layers, the multi-dimensional abstract features extracted by the model are comprehensively evaluated and output as specific feature tags; several fully connected layers form a fully connected neural network, in which the fully connected layer that accepts input features becomes the input layer, and the fully connected layer that finally outputs several preset classification labels is the output layer. All layers between the input layer and the output layer are hidden fully connected layers; Activation Function: During model training, parameters continuously flow from the input to the output. During this process, the model introduces an activation function to evaluate whether the input result will continue to propagate to subsequent models. MobileNetV3 uses an activation function called Hard Swish, which is a variant of the rectified linear unit ReLU; The mathematical expression of the Hard Swish function is as follows: Among them, ReLU6 is a truncated ReLU function, which is defined as follows: Loss Function and Optimizer: During the model training process, after the input image is extracted and classified by the model, the deep learning model introduces a loss function to calculate the difference between the classification result and the actual result. After calculating the loss value, the model will apply the optimizer to reversely update and optimize the parameters of each node inside the model, so as to ensure that a lower loss value can be obtained in the next training. The cross entropy function is used as the loss function, and the Adam optimizer is used to optimize the internal parameters of the model. The formula is as follows: Where xi is a discrete variable, which represents the predicted value of each type of result in the prediction results in this study; Bneck Block: Based on the stacking of multiple convolutional layers and multiple pooling layers, the core module of MobileNet V3, Bneck Block, can be further constructed. Different from the traditional convolutional layer, Bneck Block greatly reduces the number of parameters and computational complexity by separating the traditional convolution operation into depth-wise convolution and 1*1 point-wise convolution, thus improving the model efficiency while maintaining relatively good performance. Bneck Block also enhances the importance weight distinction of model input features by adding a Squeeze-and-Excitation attention mechanism module, and the memory cloth improves model performance. The Back Block constructed by the present invention includes a group of depth-wise convolutions, a group of attention modules SE Block and a group of 1*1 point convolutions; Overall view of the model: Based on the above components, the present invention finally constructs the STASNet model; the overall prediction process is: The input image is processed into a matrix of size 256*256*3 and processed sequentially in 15 groups of Bneck Block matrices to finally generate a matrix of size 8*8*960. It is then transformed into an output matrix of size 1*1*960 through a pooling layer and passed through a fully connected neural network including three fully connected layers to finally output a two-dimensional result, as well as STAS, not SATS.
5. The method for recognizing, analyzing, constructing and processing special lung pathological images according to claim 3, characterized in that: The training and evaluation of the module weights specifically include the following: The image blocks with real category labels obtained by processing the pathological slice processing module are predicted in the STASNet model, and the loss function is calculated based on the prediction results of the STASNet model and the real results of the image blocks, and the optimizer is used to optimize the weights, and the optimized model is reused for prediction, and the well-trained STASNet framework is obtained by continuously iterating the model node weights; The STASNet framework with perfect weight training can be used to predict STAS lesions in the workflow. The specific workflow is as follows: The STASNet model receives the image blocks obtained after being processed by the pathological slice processing module, and processes them through the trained and perfected STASNet framework, and the final output result is "is a STAS lesion / is not a STAS lesion".
6. The method for recognizing, analyzing, constructing and processing special lung pathological images according to claim 1, characterized in that: After being processed by the pathology slice processing module and the STASNet model, non-tumor image blocks with STAS interpretation results or tumor image blocks with tumor markers are generated. All image blocks are further evaluated in the STAS scoring module, and STAS semi-quantification of the entire slice is completed; Specifically, it includes two steps: spatial position calculation and STAS semi-quantitative evaluation; S1, the spatial position calculation module: the image blocks obtained by the pathological slice processing module will contain original spatial coordinates. Based on the original spatial coordinates of the image blocks and the tumor boundary coordinates, the spatial position calculation module uses a Python script to calculate the vertical distances of all image blocks to the original spatial coordinates; S2, the STAS semi-quantitative evaluation module: after the spatial position obtained by the pathological slice processing module and the STAS prediction probability of the image block obtained by the STASNet model, the STAS semi-quantitative evaluation module further selects the 10 image blocks with the highest STAS prediction probability and uses them to calculate the semi-quantitative score Top 10Score; the specific formula is as follows: Top 10Score=∑ Top10tiles AI score of STAS tile*Tiledistance。
Citation Information
Patent Citations
Lung cancer metastatic lymph node pathological image recognition system and method
CN111340128A
Artificial intelligence prediction model for intestinal cancer peritoneal metastasis, and construction method thereof
CN111653355A
Ultrasonic image diagnosis method based on artificial intelligence
CN114240829A
Tumor evolution process analysis method and system based on CT image and storage medium
CN114334128A
Lung cancer pathological diagnosis system based on deep transfer learning
CN116309368A
