BAVM rupture bleeding risk prediction method, device and system and storage medium
By building a risk prediction model based on DSA imaging and utilizing radiomics and deep learning features, the limitations of bAVM rupture and bleeding risk prediction in the existing technology are solved, achieving more accurate and consistent risk assessment and supporting more precise treatment strategies. .
Patent Information
- Application Number
- CN202410845490.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology has limitations in predicting the risk of brain arteriovenous malformation (bAVM) rupture and bleeding. It relies on doctor experience and fails to fully utilize the information in DSA images, resulting in inconsistent treatment strategies and inaccurate assessment.
By establishing a modeling population set of multiple modelers, DSA images are obtained, radiomics features and deep learning features are extracted, a risk prediction model is constructed, and the model is used to analyze target individuals to predict the risk of rupture and bleeding.
It improves the accuracy and consistency of predicting the risk of bAVM rupture and bleeding, provides a more objective and comprehensive assessment, and supports more precise treatment decisions.
Smart Images

Figure CN118737459A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of brain arteriovenous malformation risk prediction, and in particular relates to a bAVM rupture and bleeding risk prediction method, device, system and storage medium. Background Art
[0002] Brain arteriovenous malformation (bAVM) is a congenital vascular abnormality in the central nervous system that affects blood flow between the arteries and veins of the brain. This condition is common in people aged 10 to 40 years old, and it is one of the main causes of death and disability in young and middle-aged people. Typical symptoms of bAVM include cerebral hemorrhage, seizures and headaches, which may suddenly worsen as the disease worsens, especially when the vascular malformation ruptures.
[0003] In the study of bAVM, digital subtraction angiography (DSA) is considered the gold standard for judgment. DSA can provide detailed information about vascular morphology, such as the number and diameter of feeding arteries, the size and density of malformations, and potential blood flow-related aneurysms. With these detailed imaging data, doctors can accurately grade bAVM and formulate corresponding treatment strategies. However, although DSA provides rich visual data, its accuracy and effectiveness largely depend on the professional level and experience of the doctors who perform and interpret DSA.
[0004] Existing technologies have significant limitations in predicting the clinical phenotype of bAVM, such as the risk of rupture and epilepsy. Despite the availability of DSA as a research tool, subjectivity among experts in evaluating and interpreting these complex images remains a significant issue. In addition, traditional imaging methods have failed to fully utilize the full spatial and temporal information contained in DSA images that can be used for prediction, which limits the comprehensive understanding of the condition of bAVM patients and, in turn, affects the formulation and optimization of treatment strategies.
[0005] In summary, the research on bAVM still faces many challenges. First, the problem of high reliance on individual physician experience limits the consistency and universality of treatment. Second, existing imaging methods fail to fully utilize the rich information in DSA, especially data on dynamic blood flow changes and microvascular structure. These deficiencies suggest the need for more advanced research and prediction tools and methods that can provide more accurate, objective and comprehensive assessments and conduct correlation studies to further guide the precise management of bAVM. Summary of the invention
[0006] In order to solve the above problems, the present invention provides a method for predicting the risk of bAVM rupture and bleeding, comprising:
[0007] Establishing a modeling population set including a plurality of modeling personnel, and obtaining a DSA image corresponding to each of the modeling personnel;
[0008] Based on the DSA image, extracting and screening the radiomics features of the DSA image; and extracting the deep learning features of the DSA image;
[0009] Determining a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm;
[0010] Constructing a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set;
[0011] The DSA image corresponding to the target person to be analyzed is analyzed by the risk prediction model, and a prediction result is obtained based on the evaluation threshold.
[0012] Preferably, the establishing of a modeling population set including a plurality of modelers comprises:
[0013] Collect clinical information corresponding to each modeler in the modeling population set;
[0014] Each of the modeling personnel is grouped according to the clinical information; wherein the groups include a bleeding group and a non-bleeding group.
[0015] Preferably, the obtaining of the DSA image corresponding to each modeling personnel includes:
[0016] The workstation obtains the DSA image files corresponding to each modeling personnel; the DSA image files include internal carotid artery image files, external carotid artery image files and vertebral artery angiography image files;
[0017] Resampling each of the DSA image files to a preset specification to obtain a resampled DSA file;
[0018] According to the clinical information corresponding to each modeling personnel, the DSA image sequences that can characterize the lesions in the internal carotid artery image file, the external carotid artery image file and the vertebral artery angiography image file are screened as the DSA images corresponding to the modeling personnel.
[0019] Preferably, the extracting and screening the radiomics features of the DSA image based on the DSA image includes:
[0020] In the images of each angle of the DSA image, the first frame in which the drainage vein is prematurely displayed in the images of each angle is selected as a key frame;
[0021] Dividing the ROI area of the two-dimensional image of the key frame;
[0022] Feature extraction is performed on the ROI area of each modeling personnel to obtain the radiomics features of the frontal and lateral positions corresponding to the DSA image.
[0023] Preferably, the radiomics features include:
[0024] Any one or more of first-order statistical features, grayscale co-occurrence matrix texture features, grayscale dependence matrix texture features, adjacent grayscale difference matrix texture features, grayscale run-length matrix texture features, grayscale area size matrix texture features, shape features, 3D, sigma and wavelet transform features.
[0025] Preferably, the extracting the deep learning features of the DSA image includes:
[0026] According to the width and height corresponding to the ROI area, the DSA image is framed to obtain a rectangular selection frame including the ROI area, and the image within the rectangular selection frame is cropped and obtained as a rectangular image;
[0027] The pre-trained deep residual network model is used to take the acquired rectangular image as input data, and the features of the avgpool layer are extracted as the deep learning features.
[0028] Preferably, the determining of the modeling algorithm based on the modeling population set and the evaluation threshold corresponding to the modeling algorithm includes:
[0029] Dividing the modeling population set into a training set and a validation set;
[0030] The features in the feature set are screened using the cross-validated Lasso regression method, and the features whose coef coefficient is greater than 0 are selected as screening features;
[0031] Based on the screening features, the models to be tested are constructed respectively using the preset screening algorithms;
[0032] Using the modeling population set, cross-validate the models to be tested to obtain data prediction results corresponding to each of the models to be tested;
[0033] According to the data prediction results corresponding to the training set and the validation set in the modeling population set, different accuracy results, ROC curves and evaluation thresholds of the models to be tested are obtained;
[0034] Among all the models to be tested, the preset algorithm to be screened corresponding to the model to be tested having the largest accuracy result and AUC value in the ROC curve is selected as the modeling algorithm.
[0035] Preferably, the preset algorithm to be screened includes:
[0036] Logistic regression algorithm, Naive Bayes algorithm, SVM algorithm, KNN algorithm, ExtraTrees algorithm, Random Forest algorithm, XGBoost algorithm, LightGBM algorithm, GradientBoosting algorithm, AdaBoost algorithm and MLP algorithm.
[0037] Preferably, the evaluation thresholds corresponding to each of the preset algorithms to be screened are:
[0038] Logistic regression algorithm 0.550, Naive Bayes algorithm 0.062, SVM algorithm 0.408, KNN algorithm 0.800, ExtraTrees algorithm 0.400, Random Forest algorithm 0.700, XGBoost algorithm 0.742, LightGBM algorithm 0.521, GradientBoosting algorithm 0.664, AdaBoost algorithm 0.529 and MLP algorithm 0.359.
[0039] Preferably, the risk prediction model is constructed by the modeling algorithm according to the radiomics features and the deep learning features of each modeling person in the modeling population set, including:
[0040] Performing Z regularization processing on the imaging omics feature and the deep learning feature respectively, so as to convert the feature value of each of the imaging omics feature and the deep learning feature into a value between 0 and 1;
[0041] splicing the radiomics features with the deep learning features to form a feature set;
[0042] The risk prediction model is constructed based on the feature set.
[0043] Preferably, the DSA image corresponding to the target person to be analyzed is analyzed by the risk prediction model to obtain a prediction result, including:
[0044] Acquire a DSA image of the target person to be analyzed, and select the first frame of premature drainage vein in the DSA image as a key frame;
[0045] Dividing the ROI area of the two-dimensional image of the key frame;
[0046] Performing feature extraction on the ROI region of each target person to be analyzed to obtain radiomics features and deep learning features corresponding to the DSA image;
[0047] Importing the radiomics features and the deep learning features into the risk prediction model to obtain the predicted probability of bleeding and the predicted probability of no bleeding, respectively;
[0048] The prediction result of the target person to be analyzed is obtained according to the predicted probability of bleeding and the predicted probability of no bleeding.
[0049] Preferably, obtaining the prediction result of the target person to be analyzed according to the prediction probability of bleeding and the prediction probability of no bleeding includes:
[0050] Comparing the predicted bleeding probability with the evaluation threshold corresponding to the risk prediction model to determine whether the predicted bleeding probability is not less than the evaluation threshold;
[0051] If yes, the prediction result is a positive result, and the target person to be analyzed is determined to be at high risk of bleeding;
[0052] If not, the prediction result is a negative result, and the target person to be analyzed is determined to be at low bleeding risk.
[0053] In addition, to solve the above problems, the present invention also provides a bAVM rupture and bleeding risk prediction device, comprising:
[0054] Establishing an acquisition module, used to establish a modeling population set including a plurality of modeling personnel, and acquiring a DSA image corresponding to each of the modeling personnel;
[0055] An extraction and screening module, for extracting and screening the radiomics features of the DSA image based on the DSA image; and extracting the deep learning features of the DSA image;
[0056] An algorithm determination module, used to determine a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm;
[0057] A model building module, used to build a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set;
[0058] The analysis and prediction module is used to analyze the DSA image corresponding to the target person to be analyzed through the risk prediction model, and obtain the prediction result based on the evaluation threshold.
[0059] In addition, to solve the above-mentioned problem, the present invention also provides a bAVM rupture bleeding risk prediction system, comprising a memory and a processor, wherein the memory stores a bAVM rupture bleeding risk prediction program, and the processor runs the bAVM rupture bleeding risk prediction program so that the bAVM rupture bleeding risk prediction system executes the bAVM rupture bleeding risk prediction method as described above.
[0060] In addition, to solve the above-mentioned problem, the present invention also provides a computer-readable storage medium, on which a bAVM rupture bleeding risk prediction program is stored. When the bAVM rupture bleeding risk prediction program is executed by a processor, the bAVM rupture bleeding risk prediction method as described above is implemented.
[0061] The present invention provides a method, device, system and storage medium for predicting the risk of bAVM rupture and bleeding. The bAVM rupture and bleeding risk prediction method comprises: establishing a modeling population set including multiple modeling personnel, and obtaining the DSA image corresponding to each of the modeling personnel; extracting and screening the radiomics features of the DSA image based on the DSA image; and extracting the deep learning features of the DSA image; constructing a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set; analyzing the DSA image corresponding to the target person to be analyzed through the risk prediction model to obtain a prediction result.
[0062] The bAVM rupture and bleeding risk prediction method provided by the present invention can extract the imaging genomics features and deep learning features of the lesion area from the cerebrovascular DSA images and construct a risk prediction model. Using this risk prediction model, the rupture risk of unruptured cerebral arteriovenous malformations for non-diagnostic purposes can be predicted, and the rupture and bleeding results in the short term in the future can be predicted, thereby providing data support and reference for further treatment plans. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a schematic diagram of the structure of the hardware operating environment involved in the embodiment of the bAVM rupture and bleeding risk prediction method of the present invention;
[0064] Figure 2 This is a schematic diagram of the process of Example 1 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0065] Figure 3 This is a flow chart of the refinement of step S100 (step S110 to step S120) in Example 2 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0066] Figure 4This is a flow chart of the refinement of step S100 (step S130 to step S150) in Example 2 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0067] Figure 5 This is a flow chart of the refinement of step S200 (step S210 to step S230) in Example 3 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0068] Figure 6 This is a flow chart of the refinement of step S200 (step S240 to step S250) in Example 3 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0069] Figure 7 This is a schematic diagram of a detailed process of step S300 in Example 4 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0070] Figure 8 This is a schematic diagram of a detailed process of step S400 in Example 5 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0071] Fig. 9 This is a schematic diagram of a detailed process of step S500 in Example 6 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0072] Fig.10 This is a schematic diagram of a detailed process of step S560 in Example 6 of the method for predicting the risk of bAVM rupture and bleeding of the present invention;
[0073] Fig.11 This is a schematic diagram of the module connections of the bAVM rupture and bleeding risk prediction device of the present invention.
[0074] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0075] The embodiments of the present invention are described in detail below, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.
[0076] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0077] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0078] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0079] like Figure 1 , which is a schematic diagram of the structure of the hardware operating environment of the terminal involved in the embodiment of the present invention.
[0080] The bAVM rupture bleeding risk prediction system of the embodiment of the present invention can be a PC, or a mobile terminal device such as a smart phone, a tablet computer or a portable computer. The bAVM rupture bleeding risk prediction system may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005 and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen, an input unit such as a keyboard, a remote control, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory, such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Optionally, the bAVM rupture bleeding risk prediction system may also include an RF (Radio Frequency, radio frequency) circuit, an audio circuit, a WiFi module, and the like. In addition, the bAVM rupture and bleeding risk prediction system can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be described here.
[0081] Those skilled in the art will understand that Figure 1 The bAVM rupture and bleeding risk prediction system shown in the figure does not constitute a limitation thereof, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0082] The bAVM rupture and bleeding risk prediction system of the present invention is not limited to its application field, and can be applied to production and processing file management, and can also be applied to office file management, etc. Figure 1As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a data interface control program, a network connection program, and a bAVM rupture and bleeding risk prediction program.
[0083] In summary, the bAVM rupture and bleeding risk prediction method provided by the present invention can extract the imaging genomics features and deep learning features of the lesion area from the cerebrovascular DSA images and construct a risk prediction model. Using this risk prediction model, the rupture risk of unruptured cerebral arteriovenous malformations for non-diagnostic purposes can be predicted, and the rupture and bleeding results in the short term in the future can be predicted, thereby providing data support and reference for further treatment plans.
[0084] In order to better explain the present invention, the following will be illustrated by taking production and processing file management as an example, but it is not intended to limit this invention.
[0085] Embodiment 1:
[0086] Reference Figure 2 Embodiment 1 of the present invention provides a method for predicting the risk of bAVM rupture and bleeding, which is applied for non-diagnostic purposes and includes:
[0087] Step S100, establishing a modeling population set including a plurality of modeling personnel, and obtaining a DSA image corresponding to each of the modeling personnel;
[0088] As mentioned above, the bAVM rupture and bleeding risk prediction method provided in the present invention is applied to the data research of bAVM rupture and bleeding risk for non-diagnostic purposes. The provided prediction method is not directly aimed at obtaining disease diagnosis results or health status, but is to obtain precursor research data with a certain correlation between the target person to be analyzed and bAVM rupture and bleeding by collating and analyzing data from different populations. According to the prediction results, it can be combined with other clinical indicators as a clinical reference or as a correlation data study.
[0089] As mentioned above, the modeling population set includes multiple personnel for modeling. In theory, the more the number of modeling personnel samples in the modeling population set, the stronger the generalization ability of the constructed model, the better the performance, and the closer the prediction accuracy is to the true value.
[0090] As mentioned above, each modeler has a corresponding DSA image result of the test.
[0091] Establish a collection of multiple patients whose data will be used for subsequent model training. Obtaining DSA images corresponding to each patient is a key part of this step. DSA images will provide the necessary input data for the model. Establishing a collection of modeling populations can help ensure the generalization ability of the model, that is, the ability to effectively handle data from a variety of different patients. Obtaining high-quality DSA images is a prerequisite for improving model accuracy. In actual operation, this step involves steps such as patient consent, data collection, and image acquisition. Ensuring the diversity and representativeness of the data is the key to this step.
[0092] Step S200, based on the DSA image, extracting and screening the radiomics features of the DSA image; and extracting the deep learning features of the DSA image;
[0093] As mentioned above, using DSA imaging data, this step aims to extract key features that are helpful for model learning and prediction. Radiomics features can include morphological and texture information of images, while deep learning features are advanced features learned from images through complex neural network algorithms.
[0094] The above steps can extract more abstract and informative features from DSA images, which are often critical to the performance of the prediction model. Deep learning features are particularly capable of capturing complex patterns that may be overlooked during manual analysis.
[0095] Specifically, machine learning packages such as Python's scikit-learn can be used to extract radiomics features, and deep learning frameworks such as TensorFlow or PyTorch can be used to train neural networks for feature extraction.
[0096] Step S300, determining a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm;
[0097] The above steps are to evaluate the performance of the model (algorithm), which is an important part of the machine learning process for the following reasons:
[0098] Model selection: By evaluating different models, you can determine which model performs best on a given dataset. This helps in selecting a model that can accurately predict or classify.
[0099] Performance optimization: Evaluation can help identify model weaknesses, such as overfitting or underfitting, so that the model can be adjusted and optimized.
[0100] Generalization ability: By using methods such as cross-validation, you can test the model's predictive ability on unseen data, which is key to evaluating the model's generalization ability.
[0101] Decision support: Evaluation results can provide support for clinical decision making, helping doctors understand the model’s predictions and make more accurate diagnoses based on them.
[0102] Comparison baseline: Evaluation can provide a baseline for comparing the performance of new models with existing models.
[0103] This step involves calculating the evaluation threshold corresponding to each algorithm. In classification problems, the evaluation threshold is a decision parameter that determines the category of the model output. Specifically:
[0104] The evaluation threshold, in a binary classification problem, can be a value between 0 and 1, which is used to map the model output (usually probability or score) to a specific class label. If the model output is greater than or equal to the threshold, the prediction is positive (such as bleeding group); if it is less than the threshold, the prediction is negative (such as non-bleeding group).
[0105] Reasons for calculating the threshold:
[0106] Accuracy: Choosing an appropriate threshold can maximize the accuracy of the model, that is, the proportion of correctly classified samples to the total number of samples.
[0107] Balancing Errors: In some cases, it may be necessary to balance false positives (falsely predicting a negative class as positive) and false negatives (falsely predicting a positive class as negative). By adjusting the threshold, you can strike a balance between these two types of errors.
[0108] Clinical relevance: In clinical data analysis, the choice of threshold may have a significant impact on the further management decisions of patients. Therefore, it is crucial to select a threshold that maximizes clinical benefit.
[0109] ROC curve: The receiver operating characteristic (ROC) curve is a tool used to evaluate the performance of a classification model. It shows the true positive rate (sensitivity) and false positive rate (1-specificity) of the model at different thresholds. By analyzing the ROC curve, the optimal threshold can be found so that the model achieves the best balance between sensitivity and specificity.
[0110] By following these steps, you can ensure that the selected model not only performs well on the training set, but also provides reliable predictions on new, unseen data.
[0111] Step S400, constructing a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set;
[0112] In the above steps, the previously extracted features will be used to train the risk prediction model. This risk prediction model can predict potential risks for non-diagnostic purposes based on the features of the DSA images of the modeler, such as the possibility of bAVM rupture and bleeding. The constructed model can provide objective and quantitative risk assessment, providing data reference and support for further decision-making.
[0113] Specifically, this step can train the model through supervised learning methods, such as using random forests, support vector machines, or neural networks. The data set will be divided into a training set and a validation set to verify the accuracy and reliability of the model.
[0114] Step S500: Analyze the DSA image corresponding to the target person to be analyzed by using the risk prediction model, and obtain a prediction result based on the evaluation threshold.
[0115] The risk prediction model trained in the above steps will be used to analyze the DSA images of new patients to predict their health risks. This step can provide fast and accurate risk assessment for other target patients.
[0116] The target persons to be analyzed mentioned above are the target population for which risk prediction and analysis is required, and may be subjects or persons to be analyzed.
[0117] The above-mentioned evaluation threshold can be used to evaluate the data output by the risk prediction model, so as to determine its prediction result through analysis and comparison of the data.
[0118] In summary, the bAVM rupture and bleeding risk prediction method provided in this embodiment can extract the imaging genomics features and deep learning features of the lesion area from the cerebrovascular DSA images and construct a risk prediction model. Using this risk prediction model, the rupture risk of unruptured cerebral arteriovenous malformations for non-diagnostic purposes can be predicted, and the rupture and bleeding results in the short term in the future can be predicted, thereby providing data support and reference for further treatment plans.
[0119] Embodiment 2:
[0120] Reference Figure 3 Embodiment 2 of the present invention provides a method for predicting the risk of bAVM rupture and bleeding. Based on the above embodiment 1, step S100 establishes a modeling population set including multiple modeling personnel, including:
[0121] Step S110, collecting clinical information corresponding to each modeling personnel in the modeling population set;
[0122] As mentioned above, each modeler, as a sample, corresponds to a set of clinical information, i.e., clinical manifestations. The clinical information may include but is not limited to the following information:
[0123] Name, age, gender, hospital number, ID number, DSA number, date of birth, date of admission, history of hypertension, history of diabetes, history of smoking, history of cerebral hemorrhage, history of craniocerebral trauma, history of surgery, GSC score on admission, mRS score on admission, AVM location, whether it is a deep malformation, HH grade, whether there is a combined aneurysm (combined blood-related aneurysm, combined aneurysm within the malformation mass, combined with other aneurysms, combined arteriovenous fistula), maximum diameter of the malformation mass, width of the malformation mass, AVM diameter score, whether it is located in the functional area, deep venous drainage, SM grade, type of feeding artery, maximum diameter of the feeding artery, number of feeding arteries, Bufflo grade, whether the lesion is localized, name of the feeding artery, blood supply from the middle cerebral artery system, blood supply from the anterior cerebral artery system, arterial stenosis or dilatation, number of dominant drainage veins, stenosis or dilatation of the drainage vein, and whether there are postoperative complications, etc.
[0124] Step S120, grouping each of the modeling personnel according to the clinical information; wherein the groups include a bleeding group and a non-bleeding group.
[0125] As described above, based on the clinical information, the corresponding group classification of the modeler can be obtained, specifically the bleeding group and the non-bleeding group.
[0126] For further reference, Figure 4 The step S100, obtaining the DSA image corresponding to each modeling personnel, includes:
[0127] Step S130, the workstation acquires a DSA image file corresponding to each modeling personnel; the DSA image file includes an internal carotid artery image file, an external carotid artery image file and a vertebral artery angiography image file;
[0128] As mentioned above, the workstation is a device workstation that detects and obtains the DSA image file, for example, it can be an AXIOMArtis workstation (Siemens, Erlangen, Germany).
[0129] The DSA image file mentioned above may be a file in the workstation, and its format matches the workstation, for example, it may be a DSA image file in DICOM format.
[0130] Step S140, resampling each of the DSA image files to a preset specification to obtain a resampled DSA file;
[0131] As mentioned above, resampling is a technique in image processing, the purpose of which is to change the resolution or size of an image. In medical image analysis, resampling has several key roles:
[0132] (1) Unified image size: In a dataset, different devices or different scanning parameters may produce images with different resolutions. Resampling ensures that all images have uniform spatial resolution, which is very important for subsequent automated processing and analysis, such as feature extraction, image registration, or machine learning model training.
[0133] (2) Improve analysis accuracy: By adjusting the resolution of the image, the details in the image can be described more accurately, especially when dealing with tiny structures such as blood vessels. This helps improve the accuracy and reliability of data analysis.
[0134] (3) Reduce computational complexity: Resampling images to smaller sizes can reduce the computational resources required in image analysis and processing, especially when using computationally intensive techniques such as deep learning.
[0135] As mentioned above, in this embodiment, the preset specification is 0.5 mm×0.5 mm, which is used as the resampling resolution of the image for the following purposes:
[0136] Balancing detail and processing speed: A resolution of 0.5 mm x 0.5 mm is a compromise between image detail and processing speed. This resolution is sufficient to reveal key anatomical and pathological features, but does not make the image file too large, which would slow down processing and analysis.
[0137] Good adaptability: This resolution is suitable for many types of analysis, including further image segmentation, feature extraction, etc., making it effective in a variety of clinical studies.
[0138] Step S150, based on the clinical information corresponding to each of the modeling personnel, the DSA image sequences that can characterize the lesions in the internal carotid artery image file, the external carotid artery image file and the vertebral artery angiography image file are screened as the DSA images corresponding to the modeling personnel.
[0139] Above, Internal Carotid Artery (ICA): The internal carotid artery is one of the main blood vessels supplying the brain, extending from the neck to the brain. Internal carotid angiography is mainly used to check the health of the main blood vessels leading to the brain.
[0140] As mentioned above, External Carotid Artery (ECA): The external carotid artery supplies blood to the face and scalp. External carotid angiography helps assess blood flow to these areas and whether the malformation communicates with the extracranial vessels.
[0141] Above, Vertebral Artery: The vertebral artery is another major blood vessel supplying the brain. It enters the brain through the vertebrae in the neck. Vertebral arteriography helps assess blood flow to the posterior brain regions.
[0142] In DSA, a specific contrast agent is injected into these arteries, and X-ray imaging technology can be used to observe blood flow and blood vessel structure in detail.
[0143] In this embodiment, this step is used to select a DSA image sequence that can best depict the lesion from the internal carotid artery, external carotid artery, and vertebral artery angiography DSA images for each modeling personnel as the DSA image.
[0144] Embodiment 3:
[0145] Reference Figure 5 Embodiment 3 of the present invention provides a file management control method. Based on the above embodiment 2, step S200 extracts and screens the radiomics features of the DSA image based on the DSA image, including:
[0146] Step S210, selecting the first frame of the early drainage vein in each angle image of the DSA image as a key frame;
[0147] As described above, in the DSA image, the first frame showing the early appearance of the drainage vein is selected as the key frame.
[0148] Among them, "early drainage vein display" means that the drainage vein in the DSA image shows contrast agent earlier than other blood vessels. The reason for choosing this frame is that it can most clearly show the abnormal area of blood flow and the feeding artery and drainage vein of the malformation, which is very critical for identifying and analyzing lesions.
[0149] Selecting keyframes provides the clearest view of the lesion, which is critical for subsequent accurate feature extraction. Ensuring that the image has high contrast and clarity when displaying the lesion helps improve the accuracy and reliability of subsequent analysis.
[0150] Step S220, dividing the ROI area of the two-dimensional image of the key frame;
[0151] As described above, a region of interest (ROI), i.e., an ROI area, is divided in the selected key frame. The purpose of dividing the ROI is to focus on analyzing the image portion containing the lesion or key vascular structure.
[0152] The above-mentioned region of interest is Region of interest, ROI.
[0153] By focusing on the ROI area, the characteristics of the lesion area can be studied more deeply, reducing the interference of background and irrelevant structures. This helps to improve the accuracy and relevance of feature extraction, thereby enhancing the effectiveness of model prediction.
[0154] As mentioned above, ROI demarcation usually involves image processing techniques such as thresholding, region growing or manual labeling, etc. This can be achieved through specialized medical image analysis software such as OsiriX or open source tools such as ITK and VTK.
[0155] As mentioned above, the DSA image includes an anteroposterior image and a lateral image, and correspondingly, the ROI area of the two-dimensional image of the key frame is divided.
[0156] In this embodiment, ITK-SNAP is used to depict the region of interest (ROI) on this two-dimensional image, and the ROI area is saved.
[0157] Step S230 , performing feature extraction on the ROI region of each modeling personnel to obtain the radiomics features corresponding to the DSA image.
[0158] As described above, radiomics features are extracted in the determined ROI region, which may include features such as morphology and texture, which can describe the visual and structural properties of the lesion region in the image.
[0159] The extracted radiomics features reflect the biological and physical characteristics of the lesion area, providing a basis for subsequent disease analysis and risk prediction. The advantage of feature extraction is that it can transform visual information into quantifiable data, which is easy to process and analyze using computational models.
[0160] Specifically, feature extraction can be achieved through a variety of image processing and machine learning techniques, including but not limited to texture analysis, edge detection, and morphological operations. Software such as MATLAB and Python's image processing libraries (such as OpenCV and scikit-image) can be used to perform these operations.
[0161] Further, in this embodiment, an open source Python package named PyRadiomics is used to extract the following radiomics features from the DSA images of each modeler, including but not limited to: first-order statistical features, gray-level co-occurrence matrix (GLCM) texture features, gray-level dependency matrix (GLDM) texture features, neighboring gray-level difference matrix (NGTDM) texture features, gray-level run-length matrix (GLRLM) texture features, gray-level zone size matrix (GLSZM) texture features, shape features, 3D, sigma and wavelet transform features. Specifically, it can be any one or more of them.
[0162] The above steps together build a framework for extracting key information from raw DSA images. Through these methods, the accuracy and effectiveness of disease-related data analysis can be greatly improved.
[0163] For further reference, Figure 6 The step S200, extracting the deep learning features of the DSA image, includes:
[0164] Step S240, framing the DSA image according to the width and height corresponding to the ROI area to obtain a rectangular selection box including the ROI area, and cropping and obtaining the image within the rectangular selection box as a rectangular image;
[0165] As described above, the region of interest (ROI) is identified from the entire DSA image. According to the width and height of the ROI, this step uses a rectangular frame to select the area containing the ROI. Among them, a rectangle is determined according to the geometric center and size of the ROI, and then this rectangular area is cropped from the original image for further analysis, thereby obtaining a rectangular image containing the ROI. This image area contains the key information required for data analysis. This method can reduce the amount of data processed, focus on the most critical part of the image, and improve processing efficiency and analysis accuracy.
[0166] The above steps can be implemented by image processing software or programming libraries (such as OpenCV, Pillow, etc.). Usually, the position and size of the rectangular box are calculated according to the center position and size of the ROI.
[0167] In this embodiment, according to the height and width of the ROI marked in the ROI area, a rectangular selection box that can completely include the ROI area is cropped in the original image (DSA image), and a rectangular jpg image of the ROI area is exported as a rectangular image.
[0168] Step S250, using the pre-trained deep residual network model, taking the acquired rectangular image as input data, extracting features of the avgpool layer as the deep learning features.
[0169] In the above, a pre-trained deep residual network (ResNet) model is used to process the cropped rectangular image.
[0170] The deep residual network is a neural network structure that solves the difficulty of deep network training by introducing residual learning. In this step, the rectangular image is input into the network, and the output of the avgpool layer is extracted through forward propagation. The avgpool layer is usually at the end of the network and provides a global average pooling feature representation. These features can capture the key visual attributes of the image, so that the final extracted feature is a fixed-length vector that contains the key visual information of the input image, which can be used for subsequent image recognition, classification or other machine learning tasks.
[0171] In this step, the use of deep learning to extract features can automatically capture the complex patterns and structures in the image without the need for manual feature setting and can adapt to various complex image conditions.
[0172] In this embodiment, the selected pre-trained deep residual network model is the ResNet50 model, so as to extract the deep learning features of the avgpool layer. In addition, the extracted deep learning features are compressed into 32 dimensions.
[0173] Embodiment 4:
[0174] Reference Figure 7 Embodiment 4 of the present invention provides a file management control method. Based on the above embodiment 1, the step S300 determines a modeling algorithm based on the modeling population set and an evaluation threshold corresponding to the modeling algorithm, including:
[0175] Step S310, dividing the modeling population set into a training set and a validation set;
[0176] As mentioned above, before building a model, it is first necessary to screen out the modeling algorithm with the best performance, which will help to obtain prediction results efficiently and accurately after further modeling.
[0177] As mentioned above, all modelers in the entire modeling population are divided into two parts: one part is used to train the model (training set), and the other part is used to verify the model performance (validation set). This division is to ensure that the model can perform effective performance evaluation on unseen data.
[0178] Two independent data sets are obtained, the training set is used for model training, and the validation set is used for subsequent testing of the generalization ability of the model. This division method helps reduce the overfitting of the model and increase the model's adaptability to new data.
[0179] In this embodiment, the modeling population set is divided into 80% training set and 20% validation set.
[0180] Step S320, using a cross-validated Lasso regression method to screen the features in the feature set, and selecting features whose coef coefficients are greater than 0 as screening features;
[0181] As mentioned above, Lasso regression is an improved version of linear regression. By applying L1 penalty to the coefficients, it can compress unimportant feature coefficients to 0, thereby achieving feature selection. In this step, Lasso regression is applied by cross-validation to screen out features with coefficients greater than 0, thereby screening out important features that contribute to model prediction, which can effectively reduce the number of features, reduce model complexity, and improve the interpretability and generalization ability of the model.
[0182] Lasso regression with cross validation can be implemented using the LassoCV class in the scikit-learn library.
[0183] The feature expression screened out by Lasso regression is: score = constant + coefficient × feature;
[0184] As mentioned above, in statistics, linear regression is a supervised learning technique for predicting continuous values. This formula represents a simple linear relationship, where:
[0185] Score: It is the output of the model prediction, that is, the value that needs to be predicted or estimated. The closer the score is to 1, the greater the risk of bleeding, and the closer it is to 0, the lower the risk of bleeding.
[0186] Constant: This is the intercept term, which represents the baseline value of the score when all features X = 0. Mathematically, it can be expressed as b 0 or β 0 ;
[0187] Coefficient: It is a model parameter that indicates the influence of each feature on the score. In multiple linear regression, if there are p features, there will be p coefficients, which are expressed as, β 1 , β 2 , β 3 ..., β p .
[0188] Features: are input variables, that is, the characteristics or attributes of the data points used by the model to make predictions. In multiple linear regression, there can be multiple features, each with a coefficient.
[0189] Combining these elements, the multiple linear regression model can be expressed as:
[0190] Score = β 0 +β 1 X 1 +β 2 X 2 +β3 X 3 +…+β p X p ;
[0191] Among them, X 1 ,X 2 ,…Xp represents the feature, β 1 , β 2 , …β p are the coefficients corresponding to these features, and β 0 is the intercept term.
[0192] Lasso regression is a linear regression with L1 regularization. It limits the size of coefficients through penalty terms and can compress some coefficients to zero, thereby achieving feature selection. The LassoCV class is a Lasso regression with cross-validation implemented in the scikit-learn library. It finds the best regularization parameter through cross-validation to improve the generalization ability of the model.
[0193] Step S330, based on the screening features, using the preset screening algorithms to construct the models to be tested respectively;
[0194] In the above, based on the selected features, different models to be tested are constructed using a variety of preset algorithms (such as SVM, KNN, etc.), thereby obtaining multiple models to be tested based on different algorithms, ready for performance evaluation. Multi-algorithm comparison can select the model that best suits the current data set.
[0195] In Python, different algorithms can be implemented using scikit-learn or other machine learning frameworks.
[0196] Furthermore, the preset algorithm to be screened includes:
[0197] Logistic regression algorithm, Naive Bayes algorithm, SVM algorithm, KNN algorithm, ExtraTrees algorithm, Random Forest algorithm, XGBoost algorithm, LightGBM algorithm, GradientBoosting algorithm, AdaBoost algorithm and MLP algorithm.
[0198] Step S340, using the modeling population set, cross-validating the models to be tested to obtain data prediction results corresponding to each of the models to be tested;
[0199] As mentioned above, the performance of each model is evaluated by applying cross-validation to each model. This method can reduce the randomness and bias of the evaluation results by dividing the data into ten parts, using nine of them for training in turn and the remaining part for testing, thereby obtaining the average performance index of each model, which more accurately reflects the predictive ability of the model.
[0200] By cross-validating, we can get the corresponding data prediction results, which can enhance the reliability and stability of model validation. Specifically, we can use the cross_val_score function of scikit-learn to achieve this.
[0201] Step S350, obtaining the accuracy results, ROC curves and evaluation thresholds of different models to be tested according to the data prediction results corresponding to the training set and the validation set in the modeling population set;
[0202] As mentioned above, the performance of each model to be tested is evaluated by predicting the data on the training set and the validation set. The main thing is to calculate the accuracy of each model and draw its ROC curve. The ROC curve is calculated by continuously changing the classification threshold, which can show the sensitivity and specificity of the model under all classification thresholds, thereby obtaining the accuracy of each model and the AUC value of the ROC curve. These indicators intuitively reflect the model's ability to distinguish different categories of tasks.
[0203] This step can evaluate the accuracy and AUC value to fully understand the model performance and help select the model that may have the best performance in practical applications.
[0204] Specifically, you can use Python's scikit-learn library to easily calculate the accuracy and AUC values.
[0205] Furthermore, the evaluation thresholds corresponding to each of the preset algorithms to be screened are:
[0206] Logistic regression algorithm 0.550, Naive Bayes algorithm 0.062, SVM algorithm 0.408, KNN algorithm 0.800, ExtraTrees algorithm 0.400, Random Forest algorithm 0.700, XGBoost algorithm 0.742, LightGBM algorithm 0.521, GradientBoosting algorithm 0.664, AdaBoost algorithm 0.529 and MLP algorithm 0.359.
[0207] Step S360, among all the models to be tested, select the preset algorithm to be screened corresponding to the model to be tested with the largest accuracy result and AUC value in the ROC curve as the modeling algorithm.
[0208] Based on the results of the previous step, the model to be tested with the highest accuracy and maximum AUC value is selected as the optimal model. This process involves comparing the performance indicators of all models to be tested and selecting the model with the best statistical performance. The final selected preliminary screening model will be used for further analysis and decision support. The accuracy results, AUC values, sensitivity and specificity of each algorithm in the training set and test set refer to the data in Table 1 and Table 2.
[0209] Table 1. Performance index data of the corresponding algorithms of each model to be tested in the test set
[0210]
[0211] Table 2. 95% confidence interval of the corresponding algorithms of each model to be tested in the test set
[0212]
[0213] It should be noted that, in the tested models in Table 1 and Table 2, LR corresponds to the logistic regression algorithm, NaiveBayes corresponds to the naive Bayes algorithm, and RandomForest corresponds to the random forest algorithm.
[0214] In Tables 1 and 2, Accuracy refers to the accuracy result, which means the proportion of samples correctly predicted by the model to the total number of samples; AUC (Area Under the Curve), which stands for the area under the curve, refers to the area under the ROC curve, which is used to measure the performance of the classification model; 95% confidence interval, namely 95% CI, indicates the credibility of the statistical estimate; Sensitivity, which indicates the proportion of positive samples correctly identified by the model to all actual positive samples; Specificity, which indicates the proportion of negative samples correctly identified by the model to all actual negative samples; PPV, positive predictive value, which indicates the proportion of samples predicted by the model to be positive that are actually positive; NPV, negative predictive value, which indicates the proportion of samples predicted by the model to be negative that are actually negative; Precision, which indicates the proportion of samples predicted by the model to be positive that are actually positive; Recall, which is the same as sensitivity, indicates the proportion of positive samples correctly identified by the model to all actual positive samples; F1, which is the F1 score, is the harmonic mean of precision and recall, which is used to measure the balanced performance of the model; Threshold, which is the critical point used for classification decision; The tasks targeted by Tables 1 and 2 refer to the specific problems that the model is to solve, targeting the Label-test annotated test set.
[0215] Based on the data in Tables 1 and 2, it can be seen that the accuracy of Naive Bayes and MLP is 0.857, the highest, and the AUC value of MLP is the highest, reaching 0.944 (0.8530-1.0000), which ensures high sensitivity while ensuring high specificity. Therefore, the MLP algorithm was finally determined as the modeling algorithm.
[0216] This step ensures that the selected model has high prediction accuracy and superior classification ability, which helps to improve the reliability of decision making.
[0217] In addition, decision curve analysis (DCA) is a method to evaluate the net benefit of the model at different clinical decision thresholds.
[0218] After determining the preset algorithm to be screened, the practical application value of the model can be evaluated by drawing a DCA curve, especially when considering different intervention costs and benefits. The DCA curve provides a visual method to compare the utility of different models at a specific threshold, helping medical decision makers choose the most suitable model.
[0219] DCA is a practical tool that can evaluate the effectiveness of models in real medical settings, taking into account the cost-effectiveness ratio and provide clinical decision support.
[0220] The implementation of DCA is rather special and usually requires custom functions or specialized statistical software. In Python, although there is no library that directly supports DCA, it is possible to approximate the decision curve by writing a custom function.
[0221] In this embodiment, through actual testing, DCA decision curves were drawn to evaluate each model. It was found that the AUC and accuracy of the model constructed by the MLP algorithm were the highest, so the MLP algorithm was used as the preset algorithm to be screened, and the model was further constructed by the MLP algorithm.
[0222] The risk prediction model constructed in this embodiment comprehensively considers the frontal and lateral images, which can ensure that the characteristic information of the three-dimensional space of the lesion is fully learned, thereby improving the prediction accuracy. The prediction model is constructed by integrating the features of imaging genomics and deep learning features, incorporating more meaningful features, and improving the accuracy of the prediction model.
[0223] In this embodiment, the selected machine learning algorithm is MLP (Multi-layer Perceptron), which has the advantages of high recognition rate and fast classification speed, further improving the performance of the risk prediction model.
[0224] In addition, if the model screening process, i.e., steps S341-S347, is not performed, in step S340, a modeling algorithm for constructing the risk prediction model can be determined based on the modeling population set, so that in constructing the risk prediction model according to the modeling algorithm, the MLP algorithm can be directly determined, and the MLP algorithm can be used to construct the model in a further step S330.
[0225] Embodiment 5:
[0226] Reference Figure 8 Embodiment 5 of the present invention provides a file management control method. Based on the above embodiment 1, the step S400 constructs a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each modeling person in the modeling population set, including:
[0227] Step S410, performing Z regularization processing on the radiomics feature and the deep learning feature respectively, so as to convert the feature value of each of the radiomics feature and the deep learning feature into a value between 0 and 1;
[0228] As mentioned above, both the imaging omics features and deep learning features are subjected to Z regularization, that is, standardization.
[0229] This process converts the eigenvalue corresponding to each feature to a common scale between 0 and 1, or makes the data conform to a normal distribution with a mean of 0 and a standard deviation of 1. The eigenvalue is converted to a more uniform scale, which helps the algorithm to better process the data, avoid weight bias caused by large differences in feature values, remove the dimensionality impact between features, and make model training more stable and efficient.
[0230] Standardization can improve the convergence speed of the algorithm, reduce the model training time, and prevent certain features from having too much impact on the model results due to their large numerical range.
[0231] Specifically, Z regularization can be implemented by using a statistical software package or a machine learning library (such as StandardScaler or MinMaxScaler in the scikit-learn library of Python).
[0232] Step S420, combining the radiomics features with the deep learning features to form a feature set;
[0233] As mentioned above, the radiomics features and deep learning features are combined into a single feature set. This step is to utilize the comprehensive information of these two types of features to improve the predictive ability of the model. By combining features from different sources, a comprehensive feature set that more comprehensively reflects the status of the modeler is obtained, which helps to build a more accurate prediction model. Feature splicing allows the model to consider information from different aspects at the same time and enhances the model's ability to process complex data.
[0234] Specifically, in most data processing and machine learning environments, feature concatenation can be achieved using data frames (such as Pandas) or array operations (such as Numpy).
[0235] Step S430, constructing the risk prediction model based on the feature set.
[0236] As mentioned above, a risk prediction model is constructed using a feature set. This model is based on statistical models, such as logistic regression, or more complex machine learning models, such as random forests, support vector machines, or deep learning models. The constructed model can predict the patient's health risks based on the input feature set, such as predicting the occurrence, progression, or treatment response of the disease. The constructed model performs risk assessment based on comprehensive features and can provide more accurate and personalized predictions.
[0237] Build and train models using machine learning frameworks such as scikit-learn, TensorFlow, PyTorch. Typically, this involves choosing an appropriate algorithm, training the model, and validating and testing the model to evaluate its performance.
[0238] The above steps together constitute a complete process from data preprocessing to model building, and each step provides support for the ultimate goal of building an accurate risk prediction model.
[0239] Embodiment 6:
[0240] Reference Fig. 9 Embodiment 6 of the present invention provides a file management control method. Based on the above embodiment 1, the step S500 analyzes the DSA image corresponding to the target person to be analyzed by using the risk prediction model to obtain a prediction result, including:
[0241] Step S510, obtaining a DSA image of the target person to be analyzed, and selecting the first frame of the early drainage vein in the DSA image as a key frame;
[0242] The target person to be analyzed is the target person who needs to be analyzed, and has a corresponding DSA image.
[0243] In the above, in the DSA images, the first frame in which the drainage vein is prematurely displayed is selected as the key frame.
[0244] Step S520, dividing the ROI area of the two-dimensional image of the key frame;
[0245] As mentioned above, ITK-SNAP can be used to depict the region of interest, i.e., the ROI region, on this two-dimensional image (key frame) and save the ROI region separately.
[0246] Step S530, performing feature extraction on the ROI region of each target person to be analyzed to obtain radiomics features and deep learning features corresponding to the DSA image;
[0247] Step S540, importing the radiomics features and the deep learning features into the risk prediction model to obtain the predicted probability of bleeding and the predicted probability of no bleeding, respectively;
[0248] Step S550, obtaining the prediction result of the target person to be analyzed according to the bleeding prediction probability and the non-bleeding prediction probability.
[0249] As described above, the imaging genomics features and deep learning features are extracted and then imported into the trained risk prediction model, so that the predicted probabilities of bleeding and no bleeding can be obtained respectively, and the prediction results can be output according to the predicted probabilities of bleeding and no bleeding.
[0250] For further reference, Fig.10 The step S560, obtaining the prediction result of the target person to be analyzed according to the bleeding prediction probability and the non-bleeding prediction probability, includes:
[0251] Step S561, comparing the bleeding prediction probability with the evaluation threshold corresponding to the risk prediction model to determine whether the bleeding prediction probability is not less than the evaluation threshold;
[0252] Step S562: If yes, the prediction result is a positive result, and the target person to be analyzed is determined to be at high risk of bleeding;
[0253] Step S563: if not, the prediction result is a negative result, and the target person to be analyzed is determined to be at low bleeding risk.
[0254] In the above, the bleeding prediction probability is compared with the evaluation threshold set by the model. The evaluation threshold is a pre-set value used to judge the level of bleeding risk. If the bleeding prediction probability is not less than the evaluation threshold, the prediction result is positive, that is, the target person to be analyzed is judged to have a high bleeding risk, that is, the target person to be analyzed has a high bleeding risk. If the bleeding prediction probability is less than the evaluation threshold, the prediction result is negative, that is, the target person to be analyzed is judged to have a low bleeding risk, that is, the bleeding risk is low.
[0255] It should be noted that whether the result is positive or negative, that is, high bleeding risk or low bleeding risk, it cannot directly and necessarily reflect the health status of the person. It only provides a predicted probability data for evaluating correlation, further data analysis and research through the prediction method. It is necessary to make further comprehensive judgments based on the prediction results, combined with other test indicators, the person’s current condition, and the doctor’s experience to draw a conclusion.
[0256] The reason for using the bleeding prediction probability to compare with the evaluation threshold is that:
[0257] Risk focus: In clinical practice, the method provided in this embodiment is more concerned with whether the target person to be analyzed has a bleeding risk, rather than the probability of not having a risk. Therefore, the bleeding prediction probability is directly related to the event to be predicted and the data analysis.
[0258] Simplify the decision-making process: By setting an evaluation threshold, complex model outputs can be simplified to a clear decision point, making it easier for clinicians to make quick judgments.
[0259] Binary classification problem: In the binary classification problem, the predicted probability of bleeding and the predicted probability of no bleeding are mutually exclusive, and their sum is 1. The model usually focuses on predicting events of greater concern (i.e., the probability of bleeding), so it is reasonable to use the predicted probability of bleeding for threshold comparison.
[0260] This approach allows data analysis and research to quickly make clinical decisions based on the model's predictions to determine whether the patient needs further intervention to reduce the risk of bleeding.
[0261] For example, in this embodiment, based on the data in Table 1 and Table 2, the accuracy of MLP is 0.857, which is the highest, and the AUC of MLP is the highest, reaching 0.944 (0.8530-1.0000), which ensures high sensitivity while ensuring high specificity. Finally, the MLP algorithm was determined as the modeling algorithm.
[0262] The evaluation threshold corresponding to the MLP algorithm is 0.359.
[0263] The predicted probability of bleeding for the target person A to be analyzed is 0.733;
[0264] The predicted probability of bleeding for the target person to be analyzed, B, is 0.259;
[0265] Compare the predicted bleeding probability with an evaluation threshold of 0.359 to determine whether the predicted bleeding probability is not less than the evaluation threshold;
[0266] (1) Target person A: 0.733>0.359; the prediction result of A is positive, indicating that the target person A has a high probability of bleeding risk. Further analysis is required based on other indicators of clinical staff to determine whether other indicators of A have related symptoms or conditions that need to be paid attention to;
[0267] (2) Target person B: 0.259 < 0.359; the prediction result of B is negative, indicating that the probability of bleeding risk is low based on the current data representation of the target person B. Clinical staff can conduct further analysis based on other indicators.
[0268] It should be noted that the method provided in this embodiment, wherein the prediction result, is not for the direct purpose of obtaining a disease diagnosis result or a health condition, but is a mathematical statistical probability, which is obtained by collating and analyzing the data of different populations, thereby obtaining precursor research data that the target person to be analyzed has a certain correlation with bAVM rupture and bleeding. The prediction result obtained in this embodiment, i.e., the risk probability data, needs to be combined with other clinical indicators in practical applications, and based on the experience of clinical staff, it can be used as a reference to further draw conclusions, i.e., the prediction result is one of the precursor reference indicators for clinical staff to analyze the target person and draw clinical conclusions, and is also data for analyzing and studying the data of the target person.
[0269] In addition, reference Fig.11 The present invention also provides a bAVM rupture and bleeding risk prediction device, comprising:
[0270] Establishing an acquisition module 10, for establishing a modeling population set including a plurality of modeling personnel, and acquiring a DSA image corresponding to each of the modeling personnel;
[0271] An extraction and screening module 20, for extracting and screening the radiomics features of the DSA image based on the DSA image; and extracting the deep learning features of the DSA image;
[0272] An algorithm determination module 30, used to determine a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm;
[0273] A model building module 40, configured to build a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set;
[0274] The analysis and prediction module 50 is used to analyze the DSA image corresponding to the target person to be analyzed through the risk prediction model, and obtain the prediction result based on the evaluation threshold.
[0275] In addition, the present invention also provides a bAVM rupture bleeding risk prediction system, including a memory and a processor, wherein the memory stores a bAVM rupture bleeding risk prediction program, and the processor runs the bAVM rupture bleeding risk prediction program to enable the bAVM rupture bleeding risk prediction system to perform the bAVM rupture bleeding risk prediction method as described above.
[0276] In addition, the present invention also provides a computer-readable storage medium, on which a bAVM rupture bleeding risk prediction program is stored. When the bAVM rupture bleeding risk prediction program is executed by a processor, the bAVM rupture bleeding risk prediction method as described above is implemented.
[0277] In summary, the bAVM rupture and bleeding risk prediction method provided by the present invention can extract the imaging genomics features and deep learning features of the lesion area from the cerebrovascular DSA images and construct a risk prediction model. Using this risk prediction model, the rupture risk of unruptured cerebral arteriovenous malformations for non-diagnostic purposes can be predicted, and the rupture and bleeding results in the short term in the future can be predicted, thereby providing data support and reference for further treatment plans.
[0278] The risk prediction model constructed by the present invention comprehensively considers the frontal and lateral images, which can ensure the complete learning of the characteristic information of the three-dimensional space of the lesion and improve the prediction accuracy. The prediction model is constructed by integrating the features of imaging genomics and deep learning features, incorporating more meaningful features, and improving the accuracy of the prediction model.
[0279] In the present invention, the selected machine learning algorithm is MLP (Multi-layer Perceptron), which has the advantages of high recognition rate and fast classification speed, further improving the performance of the risk prediction model.
[0280] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0281] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention. The above is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are similarly included in the patent protection scope of the present invention.
Claims
1. A method for predicting the risk of bAVM rupture and bleeding, characterized in that: include: Establishing a modeling population set including a plurality of modeling personnel, and obtaining a DSA image corresponding to each of the modeling personnel; Based on the DSA image, extracting and screening the radiomics features of the DSA image; and, extracting deep learning features of the DSA image; Determining a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm; Constructing a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set; The DSA image corresponding to the target person to be analyzed is analyzed by the risk prediction model, and a prediction result is obtained based on the evaluation threshold.
2. The method for predicting the risk of bAVM rupture and bleeding according to claim 1, characterized in that: The establishment of a modeling population set including a plurality of modelers includes: Collect clinical information corresponding to each modeler in the modeling population set; Each of the modeling personnel is grouped according to the clinical information; wherein the groups include a bleeding group and a non-bleeding group.
3. The method for predicting the risk of bAVM rupture and bleeding according to claim 2, characterized in that: The obtaining of the DSA image corresponding to each modeling personnel includes: The workstation obtains the DSA image files corresponding to each modeling personnel; the DSA image files include internal carotid artery image files, external carotid artery image files and vertebral artery angiography image files; Resampling each of the DSA image files to a preset specification to obtain a resampled DSA file; According to the clinical information corresponding to each modeling personnel, the DSA image sequences that can characterize the lesions in the internal carotid artery image file, the external carotid artery image file and the vertebral artery angiography image file are screened as the DSA images corresponding to the modeling personnel.
4. The method for predicting the risk of bAVM rupture and bleeding according to claim 1, characterized in that: The step of extracting and screening the radiomics features of the DSA image based on the DSA image includes: In the images of each angle of the DSA image, the first frame in which the drainage vein is prematurely displayed in the images of each angle is selected as a key frame; Dividing the ROI area of the two-dimensional image of the key frame; Feature extraction is performed on the ROI region of each modeling personnel to obtain the imaging omics features corresponding to the DSA image.
5. The method for predicting the risk of bAVM rupture and bleeding according to claim 4, characterized in that: The radiomics features include: Any one or more of first-order statistical features, grayscale co-occurrence matrix texture features, grayscale dependence matrix texture features, adjacent grayscale difference matrix texture features, grayscale run-length matrix texture features, grayscale area size matrix texture features, shape features, 3D, sigma and wavelet transform features.
6. The method for predicting the risk of bAVM rupture and bleeding according to claim 4, characterized in that: The extracting of deep learning features of the DSA image comprises: According to the width and height corresponding to the ROI area, the DSA image is framed to obtain a rectangular selection frame including the ROI area, and the image within the rectangular selection frame is cropped and obtained as a rectangular image; The pre-trained deep residual network model is used to take the acquired rectangular image as input data, and the features of the avgpool layer are extracted as the deep learning features.
7. The method for predicting the risk of bAVM rupture and bleeding according to claim 1, characterized in that: The determining of the modeling algorithm based on the modeling population set and the evaluation threshold corresponding to the modeling algorithm includes: Dividing the modeling population set into a training set and a validation set; The features in the feature set are screened using the cross-validated Lasso regression method, and the features whose coef coefficient is greater than 0 are selected as screening features; Based on the screening features, the models to be tested are constructed respectively using the preset screening algorithms; Using the modeling population set, cross-validate the models to be tested to obtain data prediction results corresponding to each of the models to be tested; According to the data prediction results corresponding to the training set and the validation set in the modeling population set, different accuracy results, ROC curves and evaluation thresholds of the models to be tested are obtained; Among all the models to be tested, the preset algorithm to be screened corresponding to the model to be tested having the largest accuracy result and AUC value in the ROC curve is selected as the modeling algorithm.
8. The method for predicting the risk of bAVM rupture and bleeding according to claim 7, characterized in that: The preset algorithm to be screened includes: Logistic regression algorithm, Naive Bayes algorithm, SVM algorithm, KNN algorithm, ExtraTrees algorithm, Random Forest algorithm, XGBoost algorithm, LightGBM algorithm, GradientBoosting algorithm, AdaBoost algorithm and MLP algorithm.
9. The method for predicting the risk of bAVM rupture and bleeding according to claim 8, characterized in that: The evaluation thresholds corresponding to each of the preset algorithms to be screened are: Logistic regression algorithm 0.550, Naive Bayes algorithm 0.062, SVM algorithm 0.408, KNN algorithm 0.800, ExtraTrees algorithm 0.400, Random Forest algorithm 0.700, XGBoost algorithm 0.742, LightGBM algorithm 0.521, GradientBoosting algorithm 0.664, AdaBoost algorithm 0.529 and MLP algorithm 0.
359.
10. The method for predicting the risk of bAVM rupture and bleeding according to claim 1, characterized in that: The step of constructing a risk prediction model by using the modeling algorithm according to the radiomics features and the deep learning features of each modeling person in the modeling population set includes: Performing Z regularization processing on the imaging omics feature and the deep learning feature respectively, so as to convert the feature value of each of the imaging omics feature and the deep learning feature into a value between 0 and 1; splicing the radiomics features with the deep learning features to form a feature set; The risk prediction model is constructed based on the feature set.
11. The method for predicting the risk of bAVM rupture and bleeding according to claim 1, characterized in that: The DSA image corresponding to the target person to be analyzed is analyzed by the risk prediction model to obtain a prediction result, including: Acquire a DSA image of the target person to be analyzed, and select the first frame of premature drainage vein in the DSA image as a key frame; Dividing the ROI area of the two-dimensional image of the key frame; Performing feature extraction on the ROI region of each target person to be analyzed to obtain radiomics features and deep learning features corresponding to the DSA image; Importing the radiomics features and the deep learning features into the risk prediction model to obtain the predicted probability of bleeding and the predicted probability of no bleeding, respectively; The prediction result of the target person to be analyzed is obtained according to the predicted probability of bleeding and the predicted probability of no bleeding.
12. The method for predicting the risk of bAVM rupture and bleeding according to claim 11, characterized in that: The step of obtaining the prediction result of the target person to be analyzed according to the prediction probability of bleeding and the prediction probability of no bleeding includes: Comparing the predicted bleeding probability with the evaluation threshold corresponding to the risk prediction model to determine whether the predicted bleeding probability is not less than the evaluation threshold; If yes, the prediction result is a positive result, and the target person to be analyzed is determined to be at high risk of bleeding; If not, the prediction result is a negative result, and the target person to be analyzed is determined to be at low bleeding risk.
13. A bAVM rupture and bleeding risk prediction device, characterized in that: include: Establishing an acquisition module, used to establish a modeling population set including a plurality of modeling personnel, and acquiring a DSA image corresponding to each of the modeling personnel; An extraction and screening module, used for extracting and screening the radiomics features of the DSA image based on the DSA image; and, extracting deep learning features of the DSA image; An algorithm determination module, used to determine a modeling algorithm based on the modeling population set, and an evaluation threshold corresponding to the modeling algorithm; A model building module, used to build a risk prediction model through the modeling algorithm according to the radiomics features and the deep learning features of each of the modeling personnel in the modeling population set; The analysis and prediction module is used to analyze the DSA image corresponding to the target person to be analyzed through the risk prediction model, and obtain the prediction result based on the evaluation threshold.
14. A bAVM rupture and bleeding risk prediction system, characterized in that: It includes a memory and a processor, wherein the memory stores a bAVM rupture bleeding risk prediction program, and the processor runs the bAVM rupture bleeding risk prediction program to enable the bAVM rupture bleeding risk prediction system to execute the bAVM rupture bleeding risk prediction method as described in any one of claims 1-12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a bAVM rupture and bleeding risk prediction program, and when the bAVM rupture and bleeding risk prediction program is executed by the processor, the bAVM rupture and bleeding risk prediction method according to any one of claims 1 to 12 is implemented.
Citation Information
Cited By
Bronchoscope biopsy bleeding level prediction method based on dynamic multi-path deep learning model
CN120070986A
Bronchoscopy biopsy bleeding grade prediction method based on dynamic multi-path deep learning model
CN120070986B
Method for training prediction model for bleeding risk and related product
CN121416083A
Medical image processing method based on prompt learning and related equipment
CN122023416A
Medical image processing method based on prompt learning and related device
CN122023416B
