Medical image processing model training method, medical image processing method and device
Through the construction and training of multi-modal data fusion technology and recurrent neural network models, the problems of information redundancy and difficulty in feature extraction in medical image processing are solved, achieving more accurate diagnosis and more efficient processing, and adapting to different diseases and clinical conditions. Scenario needs.
Patent Information
- Application Number
- CN202410608458.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118553384A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a medical image processing model training method, a medical image processing method and a medical image processing device. Background Art
[0002] In the field of medical image processing, medical images provide an important basis for doctors to diagnose and treat diseases. However, single-modality medical image data can often only provide limited disease information and cannot fully reflect the nature of the disease. Therefore, multimodal data fusion technology came into being. It integrates medical image data of different modalities, such as CT (computed tomography), MRI (magnetic resonance imaging), pathological sections, and genetic data to provide doctors with more comprehensive and accurate disease information.
[0003] At the same time, a medical image processing model training method, processing method and device based on multimodal data fusion should have the following features: the ability to make full use of medical image data of different modalities, reduce information redundancy, improve the efficiency and accuracy of feature extraction, be able to select appropriate models for construction and training based on the fused multimodal data to achieve automated processing and analysis of medical images, be able to provide corresponding medical image processing devices to achieve rapid acquisition, storage and processing of multimodal medical image data, and improve doctors' work efficiency and diagnostic accuracy.
[0004] However, the multimodal data fusion methods in the existing technology have many limitations. First, medical imaging data of different modalities have different physical properties and forms of expression. How to achieve effective data fusion has become a challenge. Second, there are often problems of information redundancy and difficulty in feature extraction in the process of multimodal data fusion, which leads to low quality of fused data and cannot give full play to the advantages of multimodal data. In addition, existing multimodal data fusion methods often lack flexibility and cannot adapt to the needs of different diseases and clinical scenarios. Summary of the invention
[0005] The purpose of the present invention is to make up for the shortcomings of the prior art and to provide a medical image processing model training method, a medical image processing method and a device, which can make full use of medical image data of different modalities through advanced multimodal data fusion technology, adopt effective fusion methods, reduce information redundancy between different modal data, provide richer information, reduce the consumption of computing resources, improve the efficiency and speed of medical image processing, and thus improve the prediction accuracy of the model.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a medical image processing model training method, a medical image processing method and a device, wherein the model training method comprises the following specific steps:
[0007] S100, Image Acquisition and Standardization: Collect medical imaging data of multiple modalities, such as CT (computed tomography), MRI (magnetic resonance imaging), pathological sections, and genetic data, and perform standardization to improve data quality and consistency;
[0008] S200, multi-modal image data fusion: using advanced multi-modal data fusion technology to fuse medical image data of different modalities to generate fused multi-modal data;
[0009] S300, recurrent neural network model construction: Based on the fused multimodal data, a recurrent neural network (RNN) model is constructed and evaluation indicators are defined to supervise the model training process and evaluate the model performance;
[0010] S400, model training and tuning: Use the fused multimodal data to train the recurrent neural network model, and adjust the model parameters based on the performance feedback of the validation set and the test set. At the same time, use the optimization algorithm to optimize the model parameters.
[0011] Furthermore, the S100 applies Z-score normalization in the image normalization algorithm to normalize the image data so that they have the same scale or range, eliminate the dimensional differences between images of different modalities, and improve the stability of model training. The algorithm formula is: x is the original image data, μ is the mean of the image data, σ is the standard deviation of the image data, x norm is the standardized image data.
[0012] Furthermore, the S200 adopts feature fusion of multimodal data fusion technology to extract key features in each image modality that are helpful for classification and analysis, and fuses the features of different image modalities using weighted average method to obtain more comprehensive and accurate feature information. The algorithm formula is: Among them, F fused is the fused image feature, N is the number of images of different modalities, and w i is the weight of the ith mode, F i is the feature of the i-th mode.
[0013] Furthermore, the S300 includes:
[0014] S301, data set division: divide the multimodal medical imaging data into training set, validation set and test set. In order to increase the generalization ability of the model, the training set is enhanced by data enhancement, such as rotation, translation and scaling.
[0015] S302, model design: design the model architecture, including the number of layers, the number of neurons in each layer, activation function, optimizer, and build a recurrent neural network (RNN) model;
[0016] S303, define evaluation indicators: define mean square error loss and determine evaluation indicators for evaluating the performance of the model;
[0017] S304, model adjustment: use the training set to train and adjust the model, update the model parameters through the back propagation algorithm, and use the performance feedback of the validation set to adjust the model parameters and structure.
[0018] Furthermore, the S302 constructs a recurrent neural network (RNN) model for processing continuous medical image slices and time series medical data, and through its internal recurrent connection, captures the temporal dependency in the data, predicts the progression of the disease, identifies abnormal structures in medical images, and performs medical image segmentation tasks. The algorithm formula is: t =f(W xh ·x t +W hh ·h t-1 +b h ), h t represents the hidden state at time t, f is the activation function, W xh is the weight matrix from the input layer to the hidden layer, x t is the input at time t, W hh is the weight matrix from hidden layer to hidden layer, h t-1 is the hidden state at time t-1, b h is the bias term of the hidden layer.
[0019] Furthermore, S303 measures the difference between the model prediction value and the true value by the mean square error loss, and minimizes the mean square error loss to make the model prediction value closer to the true value, thereby improving the prediction performance of the model. The specific formula of the mean square error loss is: N is the number of samples in the entire training set, y i is the true label of the sample obtained from the training set, It is the model's predicted output for the i-th sample. It minimizes the MSE by adjusting its internal parameters (such as weights and biases), calculates the MSE for the current batch or the entire training set, and uses the back-propagation algorithm and gradient descent optimizer to update the model parameters.
[0020] Furthermore, the S304 uses a back propagation algorithm to calculate the gradient of the mean square error loss with respect to all parameters in the model, uses these gradients to update the parameters of the model, and continuously iterates until the performance of the model on the validation set reaches a preset stop condition. The algorithm is: z1=w1x+b1, a1=σ(z1), and the mean square error is calculated: The gradient of the input to the output layer neuron: Similarly, the gradients of the loss function with respect to other parameters can be calculated, and using these gradients to update the parameters, the model is able to gradually optimize its performance and achieve higher accuracy on the training and validation sets.
[0021] Furthermore, the S400 iteratively updates the parameters of the model through the gradient descent algorithm in the optimization algorithm to minimize the loss function, thereby improving the prediction accuracy of the model. The algorithm formula is: θ t+1 and θ t denote the parameter values of the t+1th and tth iterations respectively, η is the learning rate, It is the gradient of the loss function J(θ) with respect to the parameter θ. The prediction results and loss function values of the model are calculated through forward propagation, and then the gradient of the loss function with respect to the parameters is calculated through back propagation. Finally, the gradient descent algorithm is used to update the parameters to improve the prediction accuracy of the model.
[0022] Furthermore, the medical image processing method includes:
[0023] Input multimodal medical imaging data: Input the multimodal medical imaging data to be analyzed into the trained deep learning model;
[0024] Multimodal data fusion analysis: The model performs fusion analysis on the input multimodal medical imaging data, extracts and integrates the feature information of different modalities, and generates a comprehensive feature vector that can reflect the nature of the disease;
[0025] Prediction and classification: Based on the extracted comprehensive feature vector, the model predicts and classifies medical images, such as determining the type of disease and whether it is benign or malignant.
[0026] Furthermore, the medical image processing device includes two parts: hardware and software:
[0027] Hardware part: including medical image scanning equipment, computer processor, and storage device. The medical image scanning equipment is used to obtain medical image data to be analyzed, and the computer processor and storage device are used to run medical image processing software and store related data.
[0028] Software part: includes medical image processing software and deep learning model library. The medical image processing software is responsible for inputting multimodal medical image data into the deep learning model for fusion analysis and predictive classification. The deep learning model library contains various trained deep learning models for users to use.
[0029] Compared with the prior art, the medical image processing model training method, medical image processing method and device have the following beneficial effects:
[0030] 1. Through multimodal data fusion training, the present invention can make full use of medical imaging data of different modalities and provide richer information. These multimodal data cover all-round information from structure to function, from macro to micro, thereby helping the model to understand the nature of the disease more comprehensively. This comprehensive information input helps the model to make more accurate predictions and judgments, thereby improving the accuracy and reliability of diagnosis.
[0031] 2. The medical image processing device of the present invention can realize the automatic processing and analysis of multimodal medical image data, reduce the workload of doctors in manually processing and analyzing data, and improve work efficiency. At the same time, it extracts and integrates the feature information of different modalities according to the recurrent neural network model, generates a comprehensive feature vector that can reflect the nature of the disease, provides more accurate diagnosis results, and improves the doctor's diagnostic accuracy, which is of great significance for improving medical quality and patient satisfaction.
[0032] Other advantages, objectives and features of the present invention will be set forth in part in the following description and, in part, will be apparent to those skilled in the art based on an examination of the following or may be taught from the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 The figure is an operational flowchart of a medical image processing model training method.
[0035] Figure 2 The figure is a flow chart of a medical image processing method.
[0036] Figure 3 The figure is a structural diagram of a medical image processing device. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Example 1
[0039] A medical image processing model training method comprises the following steps: image acquisition and standardization, image acquisition and standardization, recurrent neural network model construction, model training and tuning.
[0040] First, enter the image acquisition and standardization stage (S100), collect medical image data of various modalities, including CT (computed tomography), MRI (magnetic resonance imaging), pathological sections and genetic data, conduct a preliminary quality assessment on the collected data, remove incomplete or poor quality data, and apply the Z-score normalization method in the image standardization algorithm: x is the original image data, μ is the mean of the image data, σ is the standard deviation of the image data, x norm It is the standardized image data. The image data is normalized to eliminate the dimensional differences between images of different modalities and improve the stability of model training.
[0041] Next, the multimodal image data fusion stage (S200) is entered. The feature fusion method of the multimodal data fusion technology is used to extract the key features that are helpful for classification and analysis in each image modality. The features of different image modalities are fused using the weighted average method to obtain more comprehensive and accurate feature information. The algorithm formula is: Among them, F fused is the fused image feature, N is the number of images of different modalities, and w i is the weight of the ith mode, F i is the feature of the i-th mode.
[0042] Then, the recurrent neural network model construction phase (S300) is entered, the multimodal medical imaging data is divided into a training set, a validation set and a test set, the training set is enhanced, such as rotation, translation, and scaling, and the architecture of the recurrent neural network (RNN) model is designed: t =f(W xh ·x t +W hh ·h t-1 +b h ), h t represents the hidden state at time t, f is the activation function, W xhis the weight matrix from the input layer to the hidden layer, x t is the input at time t, W hh is the weight matrix from hidden layer to hidden layer, h t-1 is the hidden state at time t-1, b h It is the bias term of the hidden layer, including the number of layers, the number of neurons in each layer, the activation function, and the optimizer. The mean square error loss is defined as the evaluation index to measure the difference between the model prediction value and the true value. By minimizing the mean square error loss, the model prediction value is closer to the true value, thereby improving the prediction performance of the model. The specific formula of the mean square error loss is: N is the number of samples in the entire training set, y i is the true label of the sample obtained from the training set, It is the model's predicted output for the i-th sample. By adjusting its internal parameters (such as weights and biases) to minimize the MSE, the MSE of the current batch or the entire training set is calculated. The back propagation algorithm and gradient descent optimizer are used to update the model parameters to improve the model's prediction accuracy. The algorithm formula is: θ t+1 and θ t denote the parameter values of the t+1th and tth iterations respectively, η is the learning rate, It is the gradient of the loss function J(θ) with respect to the parameter θ. The prediction result and loss function value of the model are calculated through forward propagation, and then the gradient of the loss function with respect to the parameter is calculated through back propagation. Finally, the gradient descent algorithm is used to update the parameters, thereby improving the prediction accuracy of the model for evaluating the performance of the model.
[0043] Finally, the model training and tuning stage (S500) is entered. The recurrent neural network model is trained using the training set, the model parameters are updated through the back propagation algorithm, and the model parameters and structure are adjusted according to the performance feedback of the validation set until the model achieves good performance on the validation set. The trained model is applied to the analysis and diagnosis of medical images to assist doctors in predicting diseases, identifying abnormal structures, and performing medical image segmentation tasks.
[0044] Through the implementation of the steps of the above embodiment, the medical image processing model training method, medical image processing method and device, through multimodal data fusion training, make full use of medical image data of different modalities, provide richer information, improve the prediction accuracy of the model, and adopt advanced multimodal data fusion technology to reduce information redundancy and improve the efficiency and accuracy of feature extraction.
[0045] Example 2
[0046] This embodiment aims to describe the specific steps and application process of a medical image processing method and device, use the fused multimodal data to train and adjust the model, optimize the model parameters and structure through the performance feedback of the optimization algorithm and the validation set, use the model to segment new medical image data, accurately identify and divide different tissues or structural areas in the image, and provide doctors with more accurate diagnostic information.
[0047] First, the device is designed, and a trained medical image processing model based on multimodal data fusion is loaded. The medical image data of multiple modalities to be processed are received, and the input medical image data is preprocessed. The Z-score normalization in the image normalization algorithm is applied to normalize the image data so that they have the same scale or range and eliminate the dimensional differences between images of different modalities. The processed multimodal medical image data is input into the trained RNN model, and the prediction results or diagnostic information are output according to the input data. The prediction results or diagnostic information output by the model are presented to the user in the form of visualization or report.
[0048] Then, the device is constructed. The medical image processing device is responsible for collecting medical image data of multiple modalities, standardizing and normalizing the collected medical image data, realizing the feature fusion of multimodal image data, constructing a recurrent neural network (RNN) model, and using the training set to train and adjust the model until the model achieves good performance on the validation set. The trained model is evaluated using the test set and applied to the analysis and diagnosis of medical images.
[0049] Finally, the device is applied and the constructed medical image processing device is deployed in medical institutions and integrated with the existing medical imaging system. Doctors can use this device to quickly and accurately obtain the analysis and diagnosis results of medical images, thereby improving the efficiency and accuracy of disease prediction and diagnosis. The device can also be used in the scientific research and teaching fields of medical imaging, providing researchers and medical students with valuable experimental data and reference cases.
[0050] In addition, during the model training process, the device minimizes the mean square error loss by precisely controlling the training parameters and optimizing the model structure, thereby improving the model's predictive performance. Ultimately, the device can accurately predict the risk of disease and lesion conditions based on the patient's medical imaging data, providing doctors with valuable auxiliary diagnostic information.
[0051] In summary, by implementing the above steps, a medical image processing model training method, a medical image processing method and a device have been successfully developed. This method can realize the automatic processing and analysis of multimodal medical image data, reduce the workload of doctors in manually processing and analyzing data, and improve work efficiency and the accuracy of doctors' diagnosis.
[0052] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A medical image processing model training method, characterized in that: The specific steps of this model training method are: S100, Image Acquisition and Standardization: Collect medical imaging data of multiple modalities, such as CT (computed tomography), MRI (magnetic resonance imaging), pathological sections, and genetic data, and perform standardization to improve data quality and consistency; S200, multi-modal image data fusion: using advanced multi-modal data fusion technology to fuse medical image data of different modalities to generate fused multi-modal data; S300, recurrent neural network model construction: Based on the fused multimodal data, a recurrent neural network (RNN) model is constructed and evaluation indicators are defined to supervise the model training process and evaluate the model performance; S400, model training and tuning: Use the fused multimodal data to train the recurrent neural network model, and adjust the model parameters based on the performance feedback of the validation set and the test set. At the same time, use the optimization algorithm to optimize the model parameters.
2. A medical image processing model training method according to claim 1, characterized in that: The S100 applies the Z-score normalization in the image normalization algorithm to normalize the image data so that they have the same scale or range, eliminate the dimensional differences between images of different modalities, and improve the stability of model training. The algorithm formula is: x is the original image data, μ is the mean of the image data, σ is the standard deviation of the image data, x norm is the standardized image data.
3. A medical image processing model training method according to claim 2, characterized in that: The S200 uses feature fusion of multimodal data fusion technology to extract key features in each image modality that are helpful for classification and analysis, and uses weighted averaging to fuse features of different image modalities to obtain more comprehensive and accurate feature information. The algorithm formula is: Among them, F fused is the fused image feature, N is the number of images of different modalities, and w i is the weight of the ith mode, F i is the feature of the i-th mode.
4. The medical image processing model training method according to claim 1, characterized in that: The S300 includes: S301, data set division: divide the multimodal medical imaging data into training set, validation set and test set. In order to increase the generalization ability of the model, the training set is enhanced by data enhancement, such as rotation, translation and scaling. S302, model design: design the model architecture, including the number of layers, the number of neurons in each layer, activation function, optimizer, and build a recurrent neural network (RNN) model; S303, define evaluation indicators: define mean square error loss and determine evaluation indicators for evaluating the performance of the model; S304, model adjustment: use the training set to train and adjust the model, update the model parameters through the back propagation algorithm, and use the performance feedback of the validation set to adjust the model parameters and structure.
5. A medical image processing model training method according to claim 4, characterized in that: The S302 constructs a recurrent neural network (RNN) model for processing continuous medical image slices and time series medical data, and through its internal recurrent connection, captures the temporal dependency in the data, predicts the progression of the disease, identifies abnormal structures in medical images, and performs medical image segmentation tasks. The algorithm formula is: t =f(W xh ·x t +W hh ·h t-1 +b h ), h t represents the hidden state at time t, f is the activation function, W xh is the weight matrix from the input layer to the hidden layer, x t is the input at time t, W hh is the weight matrix from hidden layer to hidden layer, h t-1 is the hidden state at time t-1, b h is the bias term of the hidden layer.
6. A medical image processing model training method according to claim 4, characterized in that: The S303 measures the difference between the model prediction value and the true value by the mean square error loss, and minimizes the mean square error loss to make the model prediction value closer to the true value, thereby improving the prediction performance of the model. The specific formula of the mean square error loss is: N is the number of samples in the entire training set, y i is the true label of the sample obtained from the training set, is the model's predicted output for the i-th sample. It minimizes the MSE by adjusting its internal parameters (such as weights and biases), calculates the MSE for the current batch or the entire training set, and uses the back-propagation algorithm and gradient descent optimizer to update the model parameters.
7. A medical image processing model training method according to claim 4, characterized in that: The S304 uses the back propagation algorithm to calculate the gradient of the mean square error loss with respect to all parameters in the model, and uses these gradients to update the parameters of the model, and iterates continuously until the performance of the model on the validation set reaches the preset stop condition. The algorithm is: z1=w1x+b1, a1=σz1, and the mean square error is calculated: The gradient of the input to the output layer neuron: Similarly, the gradients of the loss function with respect to other parameters can be calculated, and using these gradients to update the parameters, the model is able to gradually optimize its performance and achieve higher accuracy on the training and validation sets.
8. The medical image processing model training method according to claim 1, characterized in that: The S400 iteratively updates the parameters of the model through the gradient descent algorithm in the optimization algorithm to minimize the loss function, thereby improving the prediction accuracy of the model. The algorithm formula is: θ t+1 and θ t denote the parameter values of the t+1th and tth iterations respectively, η is the learning rate, It is the gradient of the loss function Jθ with respect to the parameter θ. The prediction results and loss function values of the model are calculated through forward propagation, and then the gradient of the loss function with respect to the parameters is calculated through back propagation. Finally, the gradient descent algorithm is used to update the parameters to improve the prediction accuracy of the model.
9. A medical image processing method, characterized in that: The medical image processing method comprises: Input multimodal medical imaging data: Input the multimodal medical imaging data to be analyzed into the trained deep learning model; Multimodal data fusion analysis: The model performs fusion analysis on the input multimodal medical imaging data, extracts and integrates the feature information of different modalities, and generates a comprehensive feature vector that can reflect the nature of the disease; Prediction and classification: Based on the extracted comprehensive feature vector, the model predicts and classifies medical images, such as determining the type of disease and whether it is benign or malignant.
10. A medical image processing device, characterized in that: The medical image processing device includes two parts: hardware and software: Hardware part: including medical image scanning equipment, computer processor, and storage device. The medical image scanning equipment is used to obtain medical image data to be analyzed, and the computer processor and storage device are used to run medical image processing software and store related data. Software part: includes medical image processing software and deep learning model library. The medical image processing software is responsible for inputting multimodal medical image data into the deep learning model for fusion analysis and predictive classification. The deep learning model library contains various trained deep learning models for users to use.
