Medical image classification method and system based on self-encoder and decoder
By using an autoencoder-decoder model with an overall symmetric structure in oncology medical images to extract and restore image features, it solves the problem of relying on manual annotation for medical image classification in the existing technology, and achieves efficient classification of unsupervised self-learning. , and significantly correlated with clinical indicators, improving the reliability of the classification results.
Patent Information
- Application Number
- CN202111596021.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-12-24
AI Technical Summary
Existing tumor medical image classification methods are highly dependent on manual annotation, resulting in limited classification reliability, and lack of unsupervised self-learning technology to reduce the impact of human prior knowledge.
An autoencoder-decoder model with an overall symmetrical structure is used to extract high-dimensional features from the original medical image and restore the feature map through the auto-decoder. It uses the image's own characteristics as training labels and combines unsupervised self-learning methods for classification, reducing human effort. The influence of prior knowledge.
It achieves tumor medical imaging omics classification with as little influence as possible on human prior knowledge, improves the classification effect, and stabilizes the model evaluation indicators through multiple rounds of iterative training, which can be significantly correlated with clinical indicators, providing more accurate information. Optimized typing results.
Smart Images

Figure CN114331996B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of tumor medical image analysis, and more specifically, relates to a medical image classification method and system based on a self-encoder-decoder, which can classify these medical image data based on the macroscopic features of medical images such as tumor CT and MRI. Background Art
[0002] Tumor heterogeneity refers to the phenotypic differences in area, contour clarity, radiation absorption value, etc. between different patients or between tumor tissues in different locations of the same patient. With the rapid development of high-precision tomography technology and nuclear magnetic resonance technology, CT and MRI medical imaging genomics are widely used in tumor identification and analysis. Among them, cancer staging relies on radiologists to judge medical images based on experience, and then derive cancer stages for different patients.
[0003] At present, the classification method of tumor medical imaging omics data is mainly based on a large number of manual label definitions, and subsequent classification is performed by extracting image features. The methods include consensus clustering and non-negative matrix factorization (NMF). Or after providing classification labels for the data set, learning through neural networks can directly predict the classification labels of the images. These classification methods are highly dependent on the annotation of human prior knowledge. If the identification level of the analyst is limited, the reliability of the classification will be greatly reduced. Summary of the invention
[0004] In view of the above defects or improvement needs of the prior art, the purpose of the present invention is to provide a medical image classification method and system based on an autoencoder-decoder, wherein the overall design of the image processing flow is improved, an autoencoder-decoder with an overall symmetrical structure is adopted, the autoencoder is used to extract high-dimensional features from the original medical image, and then the decoder is used to restore the feature map, and the image's own features are used as training labels for each image. Under the premise of being affected as little as possible by artificial prior knowledge, the self-learning method can be used to improve the omics classification effect of tumor medical images, thereby providing another way to achieve classification.
[0005] To achieve the above object, according to one aspect of the present invention, a medical image classification method based on an autoencoder is provided, characterized in that it includes a training phase and a detection phase, wherein:
[0006] The training phase includes the following steps:
[0007] (1) Preprocessing of medical imaging data:
[0008] For the pre-selected tumor type, medical imaging data of several patients with this type of tumor are collected, and the center point of the tumor cross section is obtained for each layer of image, and then a region of interest (ROI) with a size that meets the pre-set requirements is intercepted;
[0009] For each ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0;
[0010] Then, the grayscale of the ROI is mapped to the interval [0,1] to obtain the training ROI input matrix corresponding to the ROI;
[0011] (2) Establishment and training of the autoencoder-decoder model:
[0012] A deep learning-based autoencoder-decoder model is established, wherein the autoencoder-decoder model includes an autoencoder and an autodecoder that are arranged in sequence and are symmetrical to each other; wherein:
[0013] The autoencoder is used to input the ROI input matrix to extract high-dimensional features, and the output of the convolution output layer at the end of the autoencoder is used as the classification input;
[0014] The self-decoder is used to input the classification input and upsample it, so as to restore and reconstruct the feature matrix. The output of the self-decoder at the end is the restored and reconstructed matrix.
[0015] Then, the training ROI input matrix obtained in step (1) is input into the autoencoder-decoder model to train the model; by comparing the training ROI input matrix with the restored reconstruction matrix, under a preset number of iterations, the autoencoder and autodecoder in the model are trained synchronously with the optimization of mean square error MSE and structural similarity SSIM as indicators, to obtain a trained autoencoder-decoder model capable of outputting classification input;
[0016] The detection phase includes the following steps:
[0017] (S1) Preprocessing of medical image data:
[0018] For the medical imaging data of a tumor patient to be classified, the center point of the tumor cross section is obtained and then a region of interest (ROI) whose size meets the pre-set requirements is intercepted;
[0019] For this ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0;
[0020] Then, the grayscale of the ROI is mapped to the interval [0,1] to obtain the ROI input matrix corresponding to the ROI;
[0021] (S2) inputting the ROI input matrix obtained in step (S1) into the trained autoencoder-decoder model, and outputting a typing input;
[0022] (S3) Clustering:
[0023] The typing obtained in step (S2) is input, and based on the typing clustering algorithm, a cluster typing result is obtained.
[0024] As a further preferred embodiment of the present invention, the training stage further includes the following steps:
[0025] (3) Clustering:
[0026] Input the typing obtained in step (2) and obtain a cluster typing result based on a typing clustering algorithm;
[0027] (4) Evaluate the typing results:
[0028] The correlation between the cluster typing results obtained in step (3) and the clinical indicators is analyzed for significance, and one or more clinical indicators are significantly correlated; if no significantly correlated clinical indicators are found, the process jumps to step (2) and adjusts the network architecture of the autoencoder-decoder model until significantly correlated clinical indicators are found.
[0029] As a further preferred embodiment of the present invention, the type of the medical image in the step (1) is the same as the type of the medical image in the step (S1).
[0030] As a further preferred embodiment of the present invention, in step (1), the type of the medical image is a CT medical image or an MRI medical image; preferably, the medical image data is specifically a medical image of the largest cross-section of the tumor and its upper and lower adjacent layers located in combination with the surgical report;
[0031] In the step (S1), the type of the medical image is a CT medical image or an MRI medical image; the medical image data is specifically a medical image of the largest cross section of the tumor located in combination with the surgical report.
[0032] As a further preferred embodiment of the present invention, the typing clustering algorithm is consensus clustering or non-negative matrix factorization (NMF).
[0033] According to another aspect of the present invention, the present invention provides a medical image classification system based on an autoencoder-decoder, characterized in that it includes a preprocessing function module for medical image data, an autoencoder-decoder model function module and a classification clustering function module, wherein:
[0034] Medical imaging data preprocessing function module, used for:
[0035] For the medical imaging data of a tumor patient to be classified, the center point of the tumor cross section is obtained and then a region of interest (ROI) whose size meets the pre-set requirements is intercepted;
[0036] For this ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0;
[0037] Map the grayscale of the ROI to the interval [0,1] to obtain the ROI input matrix corresponding to the ROI;
[0038] The self-encoder-decoder model functional module includes an autoencoder and an autodecoder arranged in sequence, and the two are symmetrical to each other; wherein,
[0039] The autoencoder is used to input the ROI input matrix to extract high-dimensional features, and the output of the convolution output layer at the end of the autoencoder is used as the classification input;
[0040] The self-decoder is used to input the classification input and upsample it, so as to restore and reconstruct the feature matrix. The output of the self-decoder at the end is the restored and reconstructed matrix.
[0041] In addition, the autoencoder-decoder model has also undergone training processing; the training processing is to collect medical imaging data of several tumor patients suffering from a pre-selected tumor type, process them through a pre-processing function module of the medical imaging data, and obtain a training ROI input matrix; input the training ROI input matrix into the autoencoder-decoder model to train the model; by comparing the training ROI input matrix with the corresponding restoration and reconstruction matrix, under a pre-set number of iterations, with the mean square error MSE and structural similarity SSIM as indicators, the autoencoder and autodecoder in the model are synchronously trained to obtain a trained autoencoder-decoder model capable of outputting typing input;
[0042] The typing clustering function module is used to: process the typing input based on the typing clustering algorithm to obtain a cluster typing result.
[0043] As a further preferred embodiment of the present invention, the training process further includes:
[0044] Based on the training ROI input matrix, the typing input obtained by processing the autoencoder-decoder model is used, and the typing clustering function module is used to obtain a cluster typing result;
[0045] The correlation between the cluster typing results and the clinical indicators is analyzed for significance, and one or more clinical indicators are significantly correlated; if no significantly correlated clinical indicators appear, the network structure of the autoencoder-decoder model is adjusted, and the training process is repeated until significantly correlated clinical indicators appear.
[0046] As a further preferred embodiment of the present invention, the medical images in the training process and the medical images in the medical image data of the tumor patient to be classified are of the same type.
[0047] As a further preferred embodiment of the present invention, in the training process, the type of the medical image is a CT medical image or an MRI medical image; preferably, the medical image data is specifically a medical image of the largest cross section of the tumor and its upper and lower adjacent layers located in combination with the surgical report;
[0048] In the medical imaging data of a certain tumor patient to be classified, the type of medical imaging is CT medical imaging or MRI medical imaging; the medical imaging data is specifically a medical imaging at the largest cross section of the tumor located in combination with a surgical report.
[0049] As a further preferred embodiment of the present invention, the typing clustering algorithm is consensus clustering or non-negative matrix factorization (NMF).
[0050] Through the above technical solutions conceived by the present invention, the present invention is based on unsupervised self-learning, and does not manually label the existing data. Instead, it uses the autoencoder to self-learn and extract high-dimensional features from the image itself based on the deep learning method, and restores and reconstructs it through the self-decoder for comparative verification, thereby reducing the introduction of artificial prior knowledge; and the classification results can be further associated with clinical indicators to evaluate the classification results. The present invention uses the autoencoder to extract high-dimensional features from the original medical image and then uses the self-decoder to restore the feature map (as shown below) Figure 4 As shown in the figure, the average pixel error and matrix similarity between the restored image and the original image are evaluated during each training process, and the model evaluation indicators tend to be stable after multiple rounds of iterative training. Then, the trained encoder is used to extract the features of the original image for typing, and the typing results are obtained; and the model can be further optimized by comparing the typing results with the evaluation results of clinical indicators, verifying the model, retaining the optimal model, and obtaining a more optimized typing result.
[0051] In order to extract image features for unsupervised learning and reduce artificial prior knowledge interference, the present invention adopts a self-learning neural network, which includes an autoencoder and a self-decoder arranged in sequence, and the self-learning neural network is trained and optimized by analyzing the MSE and SSIM indicators to extract high-dimensional features and reduce the dimensionality of the typing. Taking the following embodiments as an example, based on the present invention, the autoencoders for the two imaging genomics of CT and MRI are obtained respectively, and the two types of data can be unsupervisedly typed, and can be further associated with a variety of clinical indicators (such as T stage, tumor depth, etc.), and the typing results significantly associated with clinical indicators are obtained. It can be seen that the medical image typing method and system based on the self-encoder decoder of the present invention can achieve typing results that do not rely on artificial prior knowledge annotation and perform unsupervised classification, and the typing results can also be further associated with clinical indicators to obtain typing results meaningful in clinical indicators.
[0052] In addition, the present invention can determine the center of the largest cross-section of the tumor according to the surgical site, more accurately locate the largest cross-section and center of the tumor, and subsequently use image processing technology (pixel normalization, image binarization) to obtain the ROI area centered on the surgical site.
[0053] In summary, the present invention uses unsupervised self-learning technology to update and improve the current medical image classification, and the analysis ability of tumor medical imaging genomics data provides a new way to achieve classification analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a schematic flow chart of the method of the present invention.
[0055] Figure 2 It is a diagram of the evaluation results of the model established in the embodiment of the present invention.
[0056] Figure 3 It is the result of the medical imaging genomics classification of oral cancer according to the embodiment of the present invention.
[0057] Figure 4 It is a comparison diagram of the image restoration effect of the autoencoder of the present invention; wherein, Figure 4 (a) corresponds to CT image reconstruction, and the left and right correspond to the preprocessed ROI (i.e., the image input to the autoencoder) and the restored reconstruction image (i.e., the image output by the autodecoder); Figure 4 (b) in the figure corresponds to MRI image reconstruction, and the left and right sides correspond to the preprocessed ROI and restored reconstruction image respectively. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0059] In general, the medical image classification method based on the autoencoder-decoder of the present invention is mainly divided into three parts, namely: (I) preprocessing of medical image data, (II) construction and training of the autoencoder-decoder, and (III) high-dimensional feature classification; wherein (III) high-dimensional feature classification can also be combined with clinical indicator evaluation, such as Figure 1 As shown. Specifically:
[0060] 1. Preprocessing of medical imaging data
[0061] Taking high-precision computed tomography (CT) and magnetic resonance imaging (MRI) as examples, for the pre-selected tumor type, the medical images of the largest cross-section of the tumor and its upper and lower adjacent layers are located in combination with the surgical report, and a certain number of CT medical image data or MRI medical image data of patients with this type of tumor are obtained (to ensure the training effect, the total number of CT medical image data in the CT training data set may be required to be no less than 100 layers; in the MRI training data set, the total number of MRI medical image data may be required to be no less than 50 layers). Among them, CT can select five layers of images, including the largest cross-section of the tumor and two layers above and below it; MRI can select three layers of images, including one layer above and below it, due to its larger interval and fewer image layers.
[0062] Then, the center point of the tumor cross section is obtained for each layer of the image and a region of interest (ROI) of appropriate size is intercepted. The size of the ROI can be preset. In the present invention, in order to ensure the consistency of the input and to cover the tumor cross section, the CT and MRI data uniformly select a 50 pixel × 50 pixel area. Furthermore, for the CT image data, since the tumor belongs to soft tissue, it is necessary to first remove the bone tissue part. For each ROI area, only the data points with absorption values between 0-400 can be retained, and the values of the remaining pixels above 400 or below 0 are all attributed to 0. MRI data can be used without processing because the absorption value of soft tissue is higher than that of bone tissue. Finally, grayscale mapping is performed for each ROI, and the maximum and minimum pixels are normalized to 1 and 0 respectively, and each ROI is normalized to the interval [0, 1]. The obtained ROI can be used as the training input matrix data.
[0063] In addition, the ROI can be processed by image binarization to obtain the outline of the ROI, so as to accurately locate the center of the ROI and ensure that the located ROI center is consistent with the center of the surgical site (the specific operation of binarization can be performed with reference to the existing technology).
[0064] 2. Self-encoder-decoder construction and training
[0065] Establish an autoencoder-decoder model for CT image data and an autoencoder-decoder model for MRI image data respectively, and then train the two models correspondingly using the preprocessed CT image data and the preprocessed MRI image data obtained in step 1; specifically:
[0066] 1) Feature input: CT data includes the largest tumor section and 2 layers above and below, totaling 5 ROIs, and MRI data includes the largest tumor section and 1 layer above and below, totaling 3 ROIs. Each input is trained and validated independently.
[0067] 2) Network architecture: The initial network architectures of the autoencoder-decoder model for CT image data and the autoencoder-decoder model for MRI image data may be the same or different. This embodiment takes the same network architecture as an example, for any of the autoencoder-decoder models:
[0068] The autoencoder and decoder are built using a convolutional neural network (CNN). The framework uses the Keras (version 2.4.3, https: / / keras.io / zh / ) framework with Tensorflow (version 2.3.0, https: / / tensorflow.google.cn / ) as the backend. The first 8 layers constitute the autoencoder, and the construction order is two sets of normalization layers (BatchNormalization) - convolutional layers (Convolution2D) - pooling layers (MaxPooling2D) plus a normalization layer and a convolution output layer (such as Figure 1 As shown). In the first set, the number of convolutional layer channels is 128, the convolution kernel size is (3,3), and the pooling layer size is (2,2); in the second set, the number of convolutional layer channels is 32, the convolution kernel size is (3,3), and the pooling layer size is (5,5). The normalization layer can make the data converge faster. The convolution layer and the pooling layer (MaxPooling2D) are used to extract higher-dimensional features from the previous level of data. The final convolution output layer output is used as the classification input. The last 7 layers constitute the autodecoder, which has the same main architecture as the autoencoder and is inverted in order. The pooling layer is replaced by the upsampling layer (UpSampling2D) to restore and reconstruct the feature matrix and realize the projection of high-dimensional features to low-dimensional features, as shown in Figure 2. Figure 1 shown.
[0069] The principle of autoencoder training is to use the image's own features as training labels for each image. The encoder's CNN network first extracts the feature information of the original image to form the underlying high-dimensional dense features, and then the decoder restores the extracted high-dimensional dense features to the original image as much as possible. The restored image processed by the autodecoder is compared with the original image input to the autoencoder (the pixel mean square error MSE and pixel matrix similarity SSIM are calculated), so that the image's own features are used as training data set labels.
[0070] 3) Training parameters: In this embodiment, the CT model has 3000 epochs and 24 batch_size; the MRI model has 500 epochs and 24 batch_size. Each training adopts random sampling, and the best model is saved according to the mode that minimizes the binary cross entropy loss value of the training data set during the training process.
[0071] 4) Model evaluation: Use mean square error (MSE) and structural similarity (SSIM) as evaluation indicators of the model, and calculate binary cross entropy as the loss function. For example, MSE can be required not to exceed a preset threshold (the smaller the MSE, the better), and SSIM can be required not to be lower than a preset threshold (the larger the SSIM, the better). The training result demonstration diagram is as follows Figure 4 shown.
[0072] Taking the CT model as an example, after 3000 rounds of iterative learning, the evaluation index tends to be stable if the change of the CT training model loss value is less than 0.005 (of course, it can also be other pre-set threshold requirements) (such as Figure 2 As shown in Figure 2, the trained autoencoder can stably extract high-dimensional dense features of the image as input features for subsequent unsupervised classification. Of course, the iterative model corresponding to the optimal indicator during the training process can also be taken as the final training result.
[0073] 3. High-dimensional feature classification and clinical indicator evaluation
[0074] 1) Feature extraction and typing: Use the trained autoencoder model to extract high-dimensional features from the data set, and use these high-dimensional features as typing input. Common typing clustering algorithms include consensus clustering and non-negative matrix factorization (NMF) methods. The present invention uses the R package ConsensusClusterPlus (http: / / bioconductor.org / packages / release / bioc / html / ConsensusClusterPlus.html) to cluster and type features. Specifically:
[0075] For the medical imaging data of a patient to be classified (such as the medical imaging at the largest section of the tumor located in the surgical report), the center point of the tumor cross section is obtained from the image and a ROI of the same size is intercepted. Furthermore, if the medical image is CT, only data points with absorption values between 0 and 400 are retained, and the values of the remaining pixels above 400 or below 0 are all attributed to 0; if the medical image is MRI, no processing is required. Finally, the ROI is gray-mapped, normalized to 0-1 values according to the maximum and minimum pixel values, and the ROI is normalized to 0 and 1. The obtained ROI can be used as input matrix data to complete image preprocessing.
[0076] The ROI is then input into the corresponding trained autoencoder-decoder model. Different from step 2 corresponding to the training phase, in this step 3, only the high-dimensional features of the final output of the autoencoder (equivalent to ignoring the part of the autodecoder) need to be taken as the classification input.
[0077] The specific processing process of typing can refer to the existing technologies such as R package ConsensusClusterPlus (version 1.54.0, http: / / bioconductor.org / packages / release / bioc / html / ConsensusClusterPlus.html).
[0078] 2) Analysis results and clinical indicator evaluation: Based on the consistency clustering results, the classification results of the medical imaging data are obtained. Then, the obtained classification results are linked to the sorted clinical indicators, and the chi-square test is performed on each indicator under the classification result to calculate whether the classification result is significantly correlated with each clinical indicator (such as cancer T stage, tumor depth, tumor location, etc.). When evaluating the correlation between the unsupervised classification results of the autoencoder extracted features and clinical indicators, if one or more clinical indicators are significantly correlated with the classification results, it is sufficient; if no significantly correlated clinical indicators appear, the autoencoder model and the unsupervised classification are invalid training. At this time, the network architecture of the model can be further adjusted (for example, the number of convolutional layers and pooling layers can be increased or decreased to adjust the network structure and training parameters, the number of convolutional layer channels can be adjusted, or the convolution kernel size can be changed to adjust the training field of view, etc.), and the model can be retrained until a significantly correlated result is obtained.
[0079] Taking the medical imaging genomics classification of oral cancer as an example, oral cancer imaging data includes CT data and MRI data. Through the preprocessing of oral cancer medical imaging genomics data, 99 patient CT scan data and 82 MRI data were obtained, and by defining the center of the largest section of the tumor, 495 CT ROI inputs and 246 MRI ROI inputs were obtained for self-encoder decoder model training. Both imaging data divide the cohort into four types and are significantly correlated with different clinical indicators ( Figure 3, p value is less than 0.05). Among them, the CT classification results were significantly correlated with three clinical indicators: tumor site (p = 0.0004), T stage (p = 0.0143) and tumor depth (p = 0.0394). The MRI classification results were significantly correlated with T stage (p = 0.0182). The specific parameters of the consistency clustering were: The two-group classification was based on the PAM method of spearman distance. From the results of the loss value, mean square error and matrix similarity of the model, the model tended to be stable after multiple rounds of iterative training, and the results of the autoencoder after decoding were highly similar to the original image, which could effectively extract the high-dimensional features of ROI. According to the statistical test results with clinical indicators, it is also confirmed that the unsupervised self-learning method has extremely high feasibility in medical imaging genomics classification, and greatly reduces the limitations and interference of human prior knowledge.
[0080] The above embodiments are only examples. In addition to CT and MRI, the present invention is also applicable to other types of medical images (such as ultrasound video capture images, cytopathology images); the specific architecture of the autoencoder-decoder model can also be flexibly adjusted, as long as the overall autoencoder-decoder model is U-shaped (i.e., a symmetrical structure, the autoencoder and the autodecoder are symmetrical to each other); in addition to oral cancer, it is also applicable to other tumors (such as lung cancer, ovarian cancer, etc.).
[0081] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A medical image classification method based on a self-encoder-decoder, characterized in that: It includes the training phase and the detection phase, in which: The training phase includes the following steps: (1) Preprocessing of medical imaging data: For the pre-selected tumor type, medical imaging data of several patients with this type of tumor are collected, and the center point of the tumor cross section is obtained for each layer of image, and then a region of interest (ROI) with a size that meets the pre-set requirements is intercepted; For each ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0; Then, the grayscale of the ROI is mapped to the interval [0,1] to obtain the training ROI input matrix corresponding to the ROI; (2) Establishment and training of the autoencoder-decoder model: A deep learning-based autoencoder-decoder model is established, wherein the autoencoder-decoder model includes an autoencoder and an autodecoder that are arranged in sequence and are symmetrical to each other; wherein: The autoencoder is used to input the ROI input matrix to extract high-dimensional features, and the output of the convolution output layer at the end of the autoencoder is used as the classification input; The self-decoder is used to input the classification input and upsample it, so as to restore and reconstruct the feature matrix. The output of the self-decoder at the end is the restored and reconstructed matrix. Then, the training ROI input matrix obtained in step (1) is input into the autoencoder-decoder model to train the model; by comparing the training ROI input matrix with the restored reconstruction matrix, under a preset number of iterations, the autoencoder and autodecoder in the model are trained synchronously with the optimization of mean square error MSE and structural similarity SSIM as indicators, to obtain a trained autoencoder-decoder model capable of outputting classification input; The detection phase includes the following steps: (S1) Preprocessing of medical image data: For the medical imaging data of a tumor patient to be classified, the center point of the tumor cross section is obtained and then a region of interest (ROI) whose size meets the pre-set requirements is intercepted; For this ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0; Then, the grayscale of the ROI is mapped to the interval [0,1] to obtain the ROI input matrix corresponding to the ROI; (S2) inputting the ROI input matrix obtained in step (S1) into the trained autoencoder-decoder model, and outputting a typing input; (S3) Clustering: The typing obtained in step (S2) is input, and based on the typing clustering algorithm, a cluster typing result is obtained.
2. The method according to claim 1, characterized in that: The training phase also includes the steps of: (3) Clustering: Input the typing obtained in step (2) and obtain a cluster typing result based on a typing clustering algorithm; (4) Evaluate the typing results: The correlation between the cluster typing results obtained in step (3) and the clinical indicators is analyzed for significance, and one or more clinical indicators are significantly correlated; if no significantly correlated clinical indicators are found, the process jumps to step (2) and adjusts the network architecture of the autoencoder-decoder model until significantly correlated clinical indicators are found.
3. The method according to claim 1, characterized in that: The type of the medical image in step (1) is the same as the type of the medical image in step (S1).
4. The method according to claim 1, characterized in that: In step (1), the type of medical image is CT medical image or MRI medical image; preferably, the medical image data is specifically a medical image of the largest cross-section of the tumor and its upper and lower adjacent layers located in combination with the surgical report; In the step (S1), the type of the medical image is a CT medical image or an MRI medical image; the medical image data is specifically a medical image of the largest cross section of the tumor located in combination with the surgical report.
5. The method according to claim 1, characterized in that: The typing clustering algorithm is consensus clustering or non-negative matrix factorization (NMF).
6. A medical image classification system based on a self-encoder / decoder, characterized in that: It includes the medical image data preprocessing function module, the autoencoder-decoder model function module and the classification and clustering function module, among which: Medical imaging data preprocessing function module, used for: For the medical imaging data of a tumor patient to be classified, the center point of the tumor cross section is obtained and then a region of interest (ROI) whose size meets the pre-set requirements is intercepted; For this ROI: determine whether the pixel with the largest grayscale value in the ROI corresponds to soft tissue or bone tissue. If it is soft tissue, update the pixel values of the water and air regions to 0; if it is bone tissue, update the grayscale value of each pixel in the ROI corresponding to the bone tissue to 0, and update the pixel values corresponding to the water and air regions to 0; Map the grayscale of the ROI to the interval [0,1] to obtain the ROI input matrix corresponding to the ROI; The self-encoder-decoder model functional module includes an autoencoder and an autodecoder arranged in sequence, and the two are symmetrical to each other; wherein, The autoencoder is used to input the ROI input matrix to extract high-dimensional features, and the output of the convolution output layer at the end of the autoencoder is used as the classification input; The self-decoder is used to input the classification input and upsample it, so as to restore and reconstruct the feature matrix. The output of the self-decoder at the end is the restored and reconstructed matrix. In addition, the autoencoder-decoder model has also undergone training processing; the training processing is to collect medical imaging data of several tumor patients suffering from a pre-selected tumor type, process them through a pre-processing function module of the medical imaging data, and obtain a training ROI input matrix; input the training ROI input matrix into the autoencoder-decoder model to train the model; by comparing the training ROI input matrix with the corresponding restoration and reconstruction matrix, under a pre-set number of iterations, with the mean square error MSE and structural similarity SSIM as indicators, the autoencoder and autodecoder in the model are synchronously trained to obtain a trained autoencoder-decoder model capable of outputting typing input; The typing clustering function module is used to: process the typing input based on the typing clustering algorithm to obtain a cluster typing result.
7. The system according to claim 6, characterized in that: The training process also includes: Based on the training ROI input matrix, the typing input obtained by processing the autoencoder-decoder model is used, and the typing clustering function module is used to obtain a cluster typing result; The correlation between the cluster typing results and the clinical indicators is analyzed for significance, and one or more clinical indicators are significantly correlated; if no significantly correlated clinical indicators appear, the network structure of the autoencoder-decoder model is adjusted, and the training process is repeated until significantly correlated clinical indicators appear.
8. The system according to claim 6, characterized in that: The medical images in the training process and the medical images in the medical image data of a certain tumor patient to be classified are of the same type.
9. The system according to claim 6, characterized in that: In the training process, the type of the medical image is a CT medical image or an MRI medical image; preferably, the medical image data is specifically a medical image of the largest cross section of the tumor and its upper and lower adjacent layers located in combination with the surgical report; In the medical imaging data of a certain tumor patient to be classified, the type of medical imaging is CT medical imaging or MRI medical imaging; the medical imaging data is specifically a medical imaging at the largest cross section of the tumor located in combination with a surgical report.
10. The system according to claim 6, characterized in that: The typing clustering algorithm is consensus clustering or non-negative matrix factorization (NMF).
