Probability prediction method and prediction device for cholangitis
Through MRI and image processing technology, combined with convolutional neural network and Lasso regression analysis, a cholangitis prediction model was constructed, which solved the problem of insufficient structural display in biliary system imaging, achieved high accuracy prediction and diagnosis of cholangitis, and optimized Use of medical resources.
Patent Information
- Application Number
- CN202411376746.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-11-05
AI Technical Summary
MRI cannot clearly display the fluid structure of the bile duct and pancreatic duct in bile system imaging, resulting in the inability to accurately evaluate the independent risk factors of cholangitis lesions and predict the probability of cholangitis, affecting the diagnosis and treatment decisions of acute cholangitis.
Magnetic resonance imaging (MRI) combined with image segmentation network and convolutional neural network are used to visualize the cholangitis model by three-dimensionally, extracting medical characteristics related to cholangitis, and constructing a cholangitis prediction model, using specific T2 weighted sequences and Lasso regression analysis to accurately display The structure of bile ducts and bile is screened out for independent risk factors.
Improve the prediction accuracy and reliability of cholangitis, can provide detailed biliary system structural information without using contrast agent, accurately evaluate the timing of biliary decompression drainage, reduce unnecessary examinations and hospitalizations, and optimize the allocation of medical resources. .
Smart Images

Figure CN118899090A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a probability prediction method and a prediction device for cholangitis. Background Art
[0002] At present, whether to perform biliary decompression and drainage depends mainly on the patient's condition or the effect of antimicrobial drug treatment. Not all patients with acute cholangitis undergo emergency biliary drainage, but the condition of acute suppurative cholangitis changes rapidly and can progress to acute obstructive suppurative cholangitis (ASOC) at any time. MRI (magnetic resonance imaging) is a non-invasive imaging technology based on the nuclear magnetic resonance phenomenon. Although it can provide high-resolution soft tissue images, it still has many limitations in the imaging of the biliary system, such as the inability to better display fluid structures such as the bile duct and pancreatic duct, the inability to better display high-water-content tissues or fluids such as bile, the inability to better suppress the surrounding soft tissues, and the inability to obtain clear biliary images, resulting in large errors, and thus the inability to obtain independent risk factors for acute cholangitis lesions, the inability to accurately assess the timing of biliary decompression and drainage, and the inability to predict the probability of cholangitis, which has an adverse effect on surgical decisions and patient prognosis. Summary of the invention
[0003] The embodiment of the present invention discloses a probability prediction method and a prediction system for cholangitis, which can improve the accuracy and reliability of cholangitis disease prediction.
[0004] In one aspect, the present invention provides a method for predicting the probability of cholangitis, which is used to predict the probability that a patient with common bile duct stones is a cholangitis patient, comprising: Collect users’ medical data; Preprocessing the medical data to extract medical features related to cholangitis; Based on the medical characteristics, the probability of cholangitis occurrence is modeled to construct a cholangitis prediction model; The three-dimensional visualized cholangitis model is used to analyze the data of a new patient and output the probability of the patient suffering from cholangitis.
[0005] Specifically, the method for collecting medical data of a user includes collecting image data for predicting cholangitis to determine detailed structural information of the biliary system, and the image data collection method includes: Magnetic resonance imaging is used to collect abdominal images from different angles; Inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; Reconstructing a three-dimensional bile duct image by sequentially performing a plurality of the two-dimensional image slices; The sequence adopts a fast spin echo sequence or a half-Fourier sampling fast spin echo sequence.
[0006] Specifically, the method of preprocessing the medical data to extract medical features related to cholangitis includes: Cleaning the medical data and deleting samples with missing values and outliers; The cleaned medical data was input into the convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; Analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; Lasso regression analysis is used to determine the weight ratio of each image scoring feature in the three-dimensional biliary image; Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
[0007] Specifically, the method of analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model includes: Inputting the three-dimensional bile duct image into a convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; The convolution kernel extracts local features of the three-dimensional bile duct image to produce a corresponding feature map; The feature map includes the contour, boundary, texture and color change information of the bile duct.
[0008] Specifically, based on the medical characteristics, the probability of cholangitis occurrence is modeled to construct a cholangitis prediction model, including: Converting the three-dimensional bile duct image into a three-dimensional volume model by volume rendering technology; Displaying the medical feature as a three-dimensional image of a high-intensity area to help highlight the diseased area; Univariate logistic regression analysis was performed on the independent risk factor parameters of the medical characteristics.
[0009] Specifically, based on the medical characteristics, the method for modeling the probability of cholangitis occurrence to construct a cholangitis prediction model also includes: Screen out the indicators that have independent predictive effects on the risk of cholangitis from the indicators; The forward stepwise regression algorithm adds variables from scratch, and the variables to be added at each step are determined based on the likelihood ratio test; Multivariate Logistic regression analysis was performed on the independent risk factor parameters of the medical characteristics.
[0010] It should be noted that the second aspect of the present invention provides a prediction device, the prediction device comprising: Collection module, collects users’ medical data; A processing module, pre-processing the medical data to extract medical features related to cholangitis; A prediction module, based on the medical characteristics, models the probability of cholangitis to construct a cholangitis prediction model; The calculation module uses the three-dimensional visualized cholangitis model to analyze the data of the new patient and outputs the probability of the patient suffering from cholangitis.
[0011] Specifically, the acquisition module includes: An imaging unit collects imaging data for predicting cholangitis to determine detailed structural information of the biliary system, the imaging unit comprising: A camera assembly for collecting abdominal images from different angles; An input component, inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; A construction component is used to reconstruct a three-dimensional bile duct image by sequentially slicing a plurality of the two-dimensional image slices; The sequence adopts a fast spin echo sequence or a half-Fourier sampling fast spin echo sequence.
[0012] Specifically, the processing module includes: A cleaning unit, which cleans the medical data and deletes samples with missing values and abnormal values; An input unit, which inputs the cleaned medical data into a convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; A convolution unit, analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; The analysis unit uses Lasso regression analysis to determine the weight ratio of each image scoring feature in the three-dimensional biliary image, and the analysis unit includes: A convolution layer, wherein the three-dimensional bile duct image is input into the convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; the convolution kernel extracts the local features of the three-dimensional bile duct image to produce a corresponding feature map; the feature map includes the outline, boundary, texture and color change information of the bile duct.
[0013] Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
[0014] Specifically, the calculation module includes: A single factor computing unit converts the three-dimensional biliary image into a three-dimensional volume by volume rendering technology The medical feature is displayed as a three-dimensional image of a high-intensity area to help highlight the lesion area; a univariate logistic regression analysis is performed on the independent risk factor parameters of the medical feature; A multi-factor calculation unit is used to select the indicators that have independent predictive effects on the risk of cholangitis from the indicators; a forward stepwise regression algorithm is used to add variables from scratch, and the variable addition at each step is determined based on the likelihood ratio test; and a multi-factor logistic regression analysis is performed on the independent risk factor parameters of the medical characteristics.
[0015] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: The magnetic resonance imaging (MRI) of the present invention can provide detailed structural information of the biliary system without using contrast agents by processing the magnetic resonance signals of hydrogen nuclei. In the imaging of the biliary system, MRI uses a specific T2-weighted sequence, that is, through Fourier transform, the received signal data is converted into a matrix of spatial frequency, and images with spatial resolution are reconstructed. The grayscale intensity of these images depends on the hydrogen atom density and relaxation time (T1, T2) of different tissues. MRI can clearly display the fluid structure of the bile duct, bile and pancreatic duct. Through steps such as signal acquisition, image reconstruction and quantitative analysis, doctors can accurately obtain and screen independent risk factors for acute cholangitis lesions to construct a cholangitis prediction model, and use the visualized cholangitis model to analyze the data of new patients to predict the probability of cholangitis, accurately evaluate the timing of biliary decompression and drainage, and make accurate clinical diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 It is a flow chart of a probability prediction method for cholangitis disclosed in an embodiment of the present invention; Figure 2 yes Figure 1 A schematic diagram of the process of step S1 described in ; Figure 3 yes Figure 1 A schematic diagram of the process of step S2 described in ; Figure 4 yes Figure 1 A schematic flow chart of step S3 described in ; Figure 5 is a schematic flow chart of step S34; Figure 6 It is a schematic diagram of the structure of a prediction device. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.
[0019] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] The embodiment of the present invention discloses a probability prediction method and a prediction device for pancreatic cancer, which can improve the accuracy and reliability of pancreatic cancer disease prediction.
[0021] The following is a detailed description with reference to the accompanying drawings.
[0022] Embodiment 1 See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for predicting the probability of cholangitis disclosed in an embodiment of the present invention. Figure 1 As shown, a probability prediction method for cholangitis is used to predict the probability that a patient with common bile duct stones will have cholangitis. The method steps include: S1. Collect user’s medical data; S2. preprocessing the medical data to extract medical features related to cholangitis; S3. Modeling the probability of cholangitis occurrence based on the medical characteristics to construct a cholangitis prediction model; S4. Analyze the data of the new patient using the three-dimensional visualized cholangitis model and output the probability of the patient suffering from cholangitis.
[0023] It should be noted that the medical data includes the patient's medical history data, biomarker levels, imaging data, and laboratory test data. By collecting the user's medical data and performing data preprocessing and feature extraction, the key medical features related to cholangitis can be effectively captured. Based on the medical features, a personalized cholangitis risk prediction model can be established to help doctors assess in advance the probability that patients with common bile duct stones have cholangitis. This precise prediction can improve the accuracy of clinical diagnosis, effectively assist in early intervention and treatment, and avoid further deterioration of the disease.
[0024] It should be noted that a three-dimensional visualization cholangitis model is used to analyze the data of new patients to intuitively display the possibility and extent of cholangitis lesions. Through three-dimensional visualization, doctors can examine the structure and lesions of the bile duct from different angles. Especially in the early stages of cholangitis, lesions that may be difficult to directly observe through conventional images can also be predicted by the model. Visualization not only improves diagnostic efficiency, but also increases diagnostic accuracy, helping doctors better understand the risk of cholangitis in patients.
[0025] It should be noted that early prediction of whether patients with common bile duct stones have a high risk of developing cholangitis can effectively reduce unnecessary examinations and hospitalizations, saving medical resources. Especially for low-risk patients, doctors can choose conservative treatment or observation based on the model's recommendations, while for high-risk patients, intervention measures can be taken in advance to prevent the disease from worsening, thereby reducing hospital stays and medical expenses and optimizing the allocation of medical resources.
[0026] This prediction method has the potential for dynamic optimization by continuously collecting patient data and updating the model. As medical data increases, the model can be gradually improved to improve prediction accuracy. Doctors and researchers can use the feedback from the prediction model to further study the mechanism of cholangitis, discover new risk factors or clinical features, and promote the development of clinical research. This technical method can be widely promoted and applied in clinical settings through standardized data collection, processing and analysis steps.
[0027] like Figure 2 As shown, Figure 2 yes Figure 1 The flowchart of step S1 described in the embodiment of the present invention comprises: the method for collecting the medical data of the user comprises collecting image data for predicting cholangitis to determine the detailed structural information of the biliary system, and the image data collection method comprises: S11, collecting abdominal images at different angles through magnetic resonance imaging; S12, inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; S13, reconstructing a three-dimensional bile duct image by sequentially performing a plurality of the two-dimensional image slices; The sequence adopts a T2-weighted sequence.
[0028] It should be noted that the MRI system collects images from different angles to form multiple cross-sectional, coronal and sagittal slices. These slices can reconstruct three-dimensional bile duct images to help doctors observe the structure and lesions of the bile duct system from different perspectives.
[0029] It should be noted that after the three-dimensional bile duct image is reconstructed, multi-planar reconstruction and maximum intensity projection processing can be performed to obtain a clearer three-dimensional structure of the bile duct.
[0030] It should be noted that the T2-weighted sequence is an imaging mode in magnetic resonance imaging (MRI), and its images are more sensitive to the T2 relaxation time of tissues. The T2 relaxation time reflects the speed at which the magnetic moment of the nuclei in the tissue loses phase consistency in the transverse plane, which is mainly related to the water content in the tissue. Therefore, T2-weighted imaging (T2WI) can well display the water distribution of the tissue. In the T2-weighted sequence, when the magnetic resonance excitation pulse stops, the hydrogen nuclei in the tissue begin to lose phase consistency in the transverse plane, and the magnetization vector decays over time. This decay rate depends on the T2 relaxation time of the tissue. The T2 relaxation time of water-rich tissues such as cerebrospinal fluid and inflammatory areas is longer, while that of solid tissues such as muscle and fibrous tissue is shorter. The echo time is the time from the excitation pulse to the signal acquisition. Usually, a longer TE is selected in T2-weighted imaging so that the T2 relaxation effect can be fully manifested when acquiring the signal, so that the signal intensity of different tissues is quite different. The grayscale intensity in the T2-weighted image mainly reflects the T2 relaxation characteristics of the tissue. Different tissues have the following characteristics in T2-weighted images: Since the T2 relaxation time of liquids is long, they usually appear as bright high signals on T2-weighted images; soft tissues have a short T2 relaxation time and appear as medium or low signals; fibrous tissues and bones have very short T2 relaxation times, and the signals decay quickly, usually appearing as dark low signals; the signal intensity of each pixel depends on the hydrogen atom density and its relaxation time (T1 and T2) at that location. In biliary imaging, bile has a long T2 relaxation time, so it appears as a high signal area in T2-weighted images. Using a long T2-weighted sequence, bile, as a fluid, appears as a bright area in T2-weighted images, while the bile duct wall and surrounding tissues appear as dark areas. This contrast helps doctors identify lesions and obtain clear bile duct images.
[0031] MRI can provide detailed structural information of the biliary system without the use of contrast agents by processing the magnetic resonance signals of hydrogen nuclei. Through specific T2-weighted sequences, MRI can clearly show the fluid structure of the bile duct, bile, and pancreatic ducts.
[0032] like Figure 3 As shown, Figure 3 yes Figure 1 The process diagram of step S2 described in the embodiment of the present invention comprises: preprocessing the medical data to extract medical features related to cholangitis comprises: S21, cleaning the medical data and deleting samples with missing values and abnormal values; S22, inputting the cleaned medical data into a convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; S23, analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; S24, using Lasso regression analysis to determine the weight ratio of each image scoring feature in the three-dimensional biliary image; Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
[0033] It should be noted that missing values in medical data can be handled in a variety of ways, such as deleting samples with a large number of missing values, or filling them with mean, median, interpolation, etc. Use statistical or machine learning methods to detect obviously unreasonable data points, such as biomarker values that do not conform to the normal range, and remove or correct these outliers.
[0034] It should be noted that the convolutional neural network (CNN) segmentation model gradually extracts low-level to high-level features of the segmented image through multiple convolutional layers, pooling layers and fully connected layers for image recognition, classification, detection and other tasks.
[0035] It should be noted that medical data is usually high-dimensional, and some features may be irrelevant to the prediction of cholangitis. It is necessary to reduce irrelevant or redundant features through feature selection and dimensionality reduction techniques; using the Lasso regression (Least Absolute Shrinkage and Selection Operator) formula to analyze the imaging genomics feature data training set is an effective way to determine the weight ratio of each imaging score feature in the imaging genomics score. Lasso regression can not only help the model to make predictions, but also has the ability to select features. By introducing regularization terms to reduce model complexity, avoid overfitting, and automatically select features that have a greater impact on the target variable. That is, through L1 regularization, the most important features are screened out and features that contribute less to the prediction are removed.
[0036] The step S23 includes: using the convolutional neural network segmentation model, the method for analyzing the three-dimensional bile duct image includes: Inputting the three-dimensional bile duct image into a convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; The convolution kernel extracts local features of the three-dimensional bile duct image to produce a corresponding feature map; The feature map includes the contour, boundary, texture and color change information of the bile duct.
[0037] The calculation formula of the convolutional layer can be expressed as: Among them, I represents the pixel value of the input image, K represents the convolution kernel, and f(x,y) is the result of the convolution operation, which represents the feature value at that position.
[0038] It should be noted that the convolution layer is the core part of the convolutional neural network, which is used to extract features from the input image. The convolution layer performs local perception of the input image through several convolution kernels, that is, weighted summation of the local area of the image through a sliding window. Each convolution kernel extracts a specific local feature, such as edges, textures, or color changes. For the segmented image, the convolution kernel can extract features related to the target area (such as the bile duct, lesion area). After the convolution kernel is applied to the input image, multiple feature maps are generated, each of which represents a specific feature of the image. For the segmented image, the feature map may represent the contour, boundary, texture and other information of the bile duct.
[0039] In one embodiment, the convolutional neural network segmentation model further includes a pooling layer, which is used to reduce the size of the feature map after convolution, thereby reducing the computational complexity of the model and enhancing the model's noise resistance and spatial invariance to features. Through the pooling operation, the model can aggregate small-scale features, maintain significant information of the image (such as the morphological features of the bile duct), and reduce the dimension of the feature map.
[0040] In one embodiment, convolutional layers and pooling layers are often stacked alternately. As the network deepens, the convolutional neural network segmentation model gradually extracts more complex and advanced features from the segmented image. In the first few layers of convolution, the convolution kernel usually learns some low-level features, such as edges, textures, colors, etc., which are related to the basic morphological structure of the bile duct and other tissues. As the network goes deeper, the convolutional layer will learn more abstract high-level features, such as dilation of the bile duct, texture changes in the inflammatory area, etc. Multi-layer convolution gradually converges from local information to global information, enabling the model to understand the complex lesion features in the image.
[0041] In one embodiment, the convolutional neural network segmentation model further includes a connection layer to reduce the number of parameters and prevent overfitting. Each feature map is compressed into a single value by taking the average value of the entire feature map to generate a feature vector. In the detection of cholangitis, the connection layer helps to extract the overall lesion information in the image, rather than a single local feature, to improve the robustness of the model.
[0042] It should be noted that training the convolutional neural network segmentation model requires a large amount of data and computing resources. Therefore, pre-trained models (such as VGG, ResNet, Inception, etc.) are often used. These models have been trained on large-scale datasets (such as ImageNet) and can extract common image features well. Through transfer learning, these pre-trained models can be applied to feature extraction of cholangitis images and fine-tuned according to task requirements.
[0043] like Figure 4 As shown, Figure 4 yes Figure 1 The flowchart of step S3 described in the embodiment of the present invention comprises: based on the medical characteristics, the probability of occurrence of cholangitis is modeled to construct a cholangitis prediction model, and the method comprises: S31, converting the three-dimensional bile duct image into a three-dimensional volume model by volume rendering technology; S32, displaying the medical feature as a three-dimensional image of a high-intensity area to help highlight the lesion area; S33, performing univariate logistic regression analysis on the independent risk factor parameters of the medical characteristics, The calculation formula of univariate logistic regression analysis is: Wherein, P is the probability of an event, X is a single independent risk factor parameter, β0 and β1 are regression coefficients, and the P value is used to test whether each indicator is significant. In the univariate logistic regression analysis, 10 statistically significant indicators were found, including white blood cells, neutrophils, lymphocytes, platelets, RDW, total bilirubin, direct bilirubin, albumin, AST, and NLR, as shown in the following table.
[0044] Comparison of baseline data of patients in the sample group:
[0045] It should be noted that the univariate regression analysis of cholangitis risk factors showed that there were statistical differences in 10 indicators including white blood cells, neutrophils, lymphocytes, platelets, RDW, total bilirubin, direct bilirubin, albumin, AST, and NLR (all P < 0.05), which were significant.
[0046] like Figure 5 As shown, Figure 5 is a flow chart of step S34, wherein step S34 further comprises: S341. Screening out indicators that have independent predictive effects on the risk of cholangitis from the indicators; S342, forward stepwise regression algorithm adds variables from scratch, and determines the variables to be added at each step based on the likelihood ratio test; S343, performing multi-factor Logistic regression analysis on the independent risk factor parameters of the medical characteristics, The calculation formula of multivariate logistic regression analysis is: Among them, DB is direct bilirubin, Alb is albumin, AST is aspartate aminotransferase, β0, β1, β2, and β3 are regression coefficients. After adding variables at each step, the statistical significance of the variable was tested, and finally direct bilirubin, albumin, and AST were concluded to be three independent risk factors.
[0047] The experimental data are shown in the following table:
[0048] It should be noted that forward likelihood ratio stepwise logistic regression analysis screened out three independent risk factors: direct bilirubin, albumin, and AST (all P < 0.01).
[0049] When bile duct inflammation occurs, it can cause increased vascular permeability. At the same time, because inflammation and / or stone obstruction can cause bilirubin to enter the blood circulation through the hepatic sinusoids, the increase in bilirubin, especially direct bilirubin, can be used as an important indicator for judging bile duct obstruction and cholestasis. In patients with common bile duct stones with or without common bile duct, direct bilirubin can be used as an independent risk factor for judging acute suppurative cholangitis. The increase in direct bilirubin indicates the aggravation of obstruction or common bile duct, resulting in excessive bile stasis or even reflux into the blood.
[0050] Hypoproteinemia is an independent risk factor for organ failure and death. The AUC of serum albumin as a predictor of death in acute cholangitis can be as high as 0.905, with a cutoff value of 28 g / L, and a sensitivity and specificity of 83.5% and 88.9%, respectively. 11 Increased vascular permeability during the inflammatory response can cause albumin exudation, and the high metabolism of the body caused by inflammation can also increase protein decomposition. Albumin can be one of the independent risk factors for the progression of patients with common bile duct stones with or without common bile duct stones to acute suppurative cholangitis.
[0051] Aspartate aminotransferase (AST) exists in the mitochondria of liver cells. When liver cells are severely damaged and the mitochondria are endangered, AST enters the blood. The increase of AST can reflect the inflammatory response of liver cells, swelling of liver cells, necrosis and other pathological and physiological changes. The increase of AST can increase the risk of acute suppurative cholangitis.
[0052] Univariate analysis can screen out possible risk indicators, while multivariate analysis helps identify independent risk factors.
[0053] In one embodiment, the Logit value is used to calculate the probability P value of cholangitis. The Logit value is substituted into the logistic regression function for calculation. Assuming that the regression coefficients obtained after model training are: β0=-4.0, β1=0.05, β2=-0.02, β3=0.03, if the index values of the new patient are: DB=1.2mg / dL, Alb=3.5g / dL, AST=40 U / L, then the P value is approximately equal to 0.06, so the predicted probability of the patient suffering from cholangitis is approximately 6%.
[0054] Embodiment 2 See also Figure 6 , Figure 6 Schematic diagram of a prediction device disclosed in an embodiment of the present invention. Figure 6 The prediction system 100 may include a collection module 101, a processing module 102, a prediction module 103 and a calculation module 104, wherein: The collection module 101 is used to collect the medical data of the user; A processing module 102, configured to pre-process the medical data to extract medical features related to cholangitis; A prediction module 103, for modeling the probability of cholangitis occurrence based on the medical characteristics to construct a cholangitis prediction model; The calculation module 104 is used to analyze the data of the new patient using the three-dimensional visualized cholangitis model and output the probability of the patient suffering from cholangitis.
[0055] The acquisition module 101 includes: An imaging unit collects imaging data for predicting cholangitis to determine detailed structural information of the biliary system, the imaging unit comprising: A camera component for collecting abdominal images at different angles through magnetic resonance imaging; An input component, inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; A construction component is used to reconstruct a three-dimensional bile duct image by sequentially slicing a plurality of the two-dimensional image slices; The sequence adopts a T2-weighted sequence.
[0056] The processing module 102 includes: A cleaning unit, which cleans the medical data and deletes samples with missing values and abnormal values; An input unit, which inputs the cleaned medical data into a convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; A convolution unit, analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; An analysis unit, using Lasso regression analysis to determine the weight ratio of each image scoring feature in the three-dimensional biliary image, the analysis unit comprising: A convolution layer, wherein the three-dimensional bile duct image is input into the convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; the convolution kernel extracts the local features of the three-dimensional bile duct image to produce a corresponding feature map; the feature map includes the outline, boundary, texture and color change information of the bile duct.
[0057] Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
[0058] The calculation module 104 includes: The single factor calculation unit converts the three-dimensional bile duct image into a three-dimensional volume model by volume rendering technology; displays the medical feature as a three-dimensional image of a high-intensity area to help highlight the lesion area; performs a single factor Logistic regression analysis on the independent risk factor parameters of the medical feature, and the calculation formula of the single factor Logistic regression analysis is: Wherein, P is the probability of an event, X is a single independent risk factor parameter, β0 and β1 are regression coefficients, and the P value is used to test whether each indicator is significant (P < 0.05). In the univariate logistic regression analysis, 10 statistically significant indicators were found, including white blood cells, neutrophils, lymphocytes, platelets, RDW, total bilirubin, direct bilirubin, albumin, AST, and NLR.
[0059] The multi-factor calculation unit screens out the indicators that have independent predictive effects on the risk of cholangitis from the indicators; the forward stepwise regression algorithm adds variables from scratch, and the variable addition at each step is determined based on the likelihood ratio test; the multi-factor Logistic regression analysis is performed on the independent risk factor parameters of the medical characteristics, and the calculation formula of the multi-factor Logistic regression analysis is: Among them, DB is direct bilirubin, Alb is albumin, AST is aspartate aminotransferase, β0, β1, β2, and β3 are regression coefficients. After adding variables at each step, the statistical significance of the variable was tested (P < 0.01), and finally direct bilirubin, albumin, and AST were concluded to be three independent risk factors.
[0060] In one embodiment, the prediction device may further include: A memory storing executable program code (not shown); a processor (not shown) coupled to a memory (not shown); The processor (not shown) calls the executable program code stored in the memory (not shown) to execute Figure 1 The probability prediction method of cholangitis.
[0061] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figure 1 The probability prediction method of cholangitis.
[0062] The embodiments of the present invention further disclose a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of the methods in the above method embodiments.
[0063] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0064] Through the implementation of the above technical solution, the magnetic resonance imaging (MRI) of the present invention can provide detailed structural information of the biliary system without the use of contrast agents by processing the magnetic resonance signals of hydrogen nuclei. In the imaging of the biliary system, MRI uses a specific T2-weighted sequence, that is, through Fourier transform, the received signal data is converted into a matrix of spatial frequency, and images with spatial resolution are reconstructed. The grayscale intensity of these images depends on the hydrogen atom density and relaxation time (T1, T2) of different tissues. MRI can clearly display the fluid structure of the bile duct, bile and pancreatic duct. Through the steps of signal acquisition, image reconstruction and quantitative analysis, doctors can accurately obtain and screen out independent risk factors for acute cholangitis lesions to construct a cholangitis prediction model, and use the visualized cholangitis model to analyze the data of new patients to predict the probability of cholangitis, accurately evaluate the timing of biliary decompression and drainage, and make accurate clinical diagnosis.
[0065] The above is a detailed introduction to a probability prediction method and prediction system for cholangitis disclosed in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for predicting the probability of cholangitis, used to predict the probability that a patient with common bile duct stones will have cholangitis, characterized in that: include: Collect users’ medical data; Preprocessing the medical data to extract medical features related to cholangitis; Based on the medical The method of modeling the probability of cholangitis occurrence to construct a three-dimensional visual cholangitis prediction model includes: The three-dimensional biliary image is converted into a three-dimensional volume model by volume rendering technology; Displaying the medical feature as a three-dimensional image of a high-intensity area to help highlight the diseased area; The independent risk factor parameters of the medical characteristics were subjected to univariate Logistic regression analysis, and the calculation formula of univariate Logistic regression analysis was: Analyze the data of new patients using the three-dimensional visualized cholangitis model and output the probability of the new patients suffering from cholangitis; Wherein, P value is the probability of an event, X is a single independent risk factor parameter, β0 and β1 are regression coefficients, and the P value is used to test whether each indicator is significant. In the univariate logistic regression analysis, 10 statistically significant indicators were found, including white blood cells, neutrophils, lymphocytes, platelets, RDW, total bilirubin, direct bilirubin, albumin, AST, and NLR.
2. The method for predicting the probability of cholangitis according to claim 1, characterized in that: A method for collecting medical data of a user, comprising collecting image data for predicting cholangitis to determine detailed structural information of the biliary system, the image data collection method comprising: Magnetic resonance imaging is used to collect abdominal images from different angles; Inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; Reconstructing a three-dimensional bile duct image by sequentially performing a plurality of the two-dimensional image slices; The sequence adopts a T2-weighted sequence.
3. The probability prediction method for cholangitis according to claim 2, characterized in that: The method of preprocessing the medical data to extract medical features related to cholangitis includes: Cleaning the medical data and deleting samples with missing values and outliers; The cleaned medical data was input into the convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; Analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; Lasso regression analysis is used to determine the weight ratio of each image scoring feature in the three-dimensional biliary image; Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
4. The method for predicting the probability of cholangitis according to claim 3, characterized in that: The method of analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model includes: Inputting the three-dimensional bile duct image into a convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; The convolution kernel extracts local features of the three-dimensional bile duct image to produce a corresponding feature map; The feature map includes the contour, boundary, texture and color change information of the bile duct; The calculation formula of the convolutional layer is expressed as: Among them, I represents the pixel value of the input image, K represents the convolution kernel, and f(x,y) is the result of the convolution operation, which represents the feature value of the position.
5. The method for predicting the probability of cholangitis according to claim 4, characterized in that: Based on the medical characteristics, the method for modeling the probability of cholangitis occurrence to construct a cholangitis prediction model also includes: Screen out the indicators that have independent predictive effects on the risk of cholangitis from the indicators; The forward stepwise regression algorithm adds variables from scratch, and the variables to be added at each step are determined based on the likelihood ratio test; A multi-factor Logistic regression analysis was performed on the independent risk factor parameters of the medical characteristics. The calculation formula of the multi-factor Logistic regression analysis was: Among them, DB is direct bilirubin, Alb is albumin, AST is aspartate aminotransferase, β0, β1, β2, and β3 are regression coefficients. After adding variables at each step, the statistical significance of the variable was tested, and finally direct bilirubin, albumin, and AST were concluded to be three independent risk factors.
6. A prediction device, characterized in that: The prediction device comprises: Collection module, collects users’ medical data; A processing module, pre-processing the medical data to extract medical features related to cholangitis; A prediction module, based on the medical characteristics, models the probability of cholangitis to construct a three-dimensional visual cholangitis model; The calculation module uses the three-dimensional visualized cholangitis model to analyze the data of the new patient and outputs the probability of the patient suffering from cholangitis.
7. The prediction device according to claim 6, characterized in that The acquisition module comprises: An imaging unit collects imaging data for predicting cholangitis to determine detailed structural information of the biliary system, the imaging unit comprising: A camera component for collecting abdominal images at different angles through magnetic resonance imaging; An input component, inputting the abdominal image into an image segmentation network model to form a plurality of two-dimensional image slices; A construction component is used to reconstruct a three-dimensional bile duct image by sequentially slicing a plurality of the two-dimensional image slices; The sequence adopts a T2-weighted sequence.
8. The prediction device according to claim 7, characterized in that The processing module comprises: A cleaning unit, which cleans the medical data and deletes samples with missing values and abnormal values; An input unit, which inputs the cleaned medical data into a convolutional neural network segmentation model to identify and segment the bile duct and related lesion areas; A convolution unit, analyzing the three-dimensional bile duct image using the convolutional neural network segmentation model; The analysis unit uses Lasso regression analysis to determine the weight ratio of each image scoring feature in the three-dimensional biliary image, and the analysis unit includes: A convolution layer, wherein the three-dimensional bile duct image is input into the convolution layer, and the convolution layer performs local perception on the three-dimensional bile duct image through a plurality of convolution kernels; the convolution kernel extracts local features of the three-dimensional bile duct image to generate a corresponding feature map; the feature map includes the contour, boundary, texture and color change information of the bile duct; Among them, the weight ratios of the image scoring features include the weight ratio of the diameter feature of the bile duct, the weight ratio of the flatness feature of the bile duct wall area shape, the weight ratio of the bile duct stenosis area feature, the weight ratio of the abnormal high and low pixel intensity feature of the bile duct area, the weight ratio of the abnormal high and low signal intensity feature of the bile duct area, and the weight ratio of the dilation and protrusion feature of the bile duct area.
9. The prediction device according to claim 8, characterized in that The calculation module comprises: The single factor calculation unit converts the three-dimensional bile duct image into a three-dimensional volume model by volume rendering technology; displays the medical feature as a three-dimensional image of a high-intensity area to help highlight the lesion area; performs a single factor Logistic regression analysis on the independent risk factor parameters of the medical feature, and the calculation formula of the single factor Logistic regression analysis is: Wherein, P value is the probability of an event, X is a single independent risk factor parameter, β0 and β1 are regression coefficients, and the P value is used to test whether each indicator is significant. In the univariate logistic regression analysis, 10 statistically significant indicators were found, including white blood cells, neutrophils, lymphocytes, platelets, RDW, total bilirubin, direct bilirubin, albumin, AST, and NLR; A multi-factor calculation unit is used to select the indicators that have independent predictive effect on the risk of cholangitis from the indicators; The stepwise regression algorithm adds variables from scratch, and the variables added at each step are determined based on the likelihood ratio test; multivariate logistic regression analysis is performed on the independent risk factor parameters of the medical characteristics, and the calculation formula of the multivariate logistic regression analysis is: Among them, DB is direct bilirubin, Alb is albumin, AST is aspartate aminotransferase, β0, β1, β2, and β3 are regression coefficients. After adding variables at each step, the statistical significance of the variable was tested, and finally direct bilirubin, albumin, and AST were concluded to be three independent risk factors.
Citation Information
Patent Citations
Method and system for predicting prognosis of germ cell tumor of central nervous system
CN115148365A
Kidney stone risk prediction method and system based on CT radiomics
CN118398211A
