Hemodynamic simulation model construction, simulation method, device and electronic equipment
By constructing a PINN network based on flow control equations and using medical imaging data for iterative training, the real-time performance and accuracy issues of hemodynamic simulation in cardiovascular disease assessment and surgical planning in existing technologies have been resolved, achieving rapid and economical hemodynamic simulation.
Patent Information
- Application Number
- CN202211163986.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-09-23
AI Technical Summary
Existing technologies cannot perform real-time and accurate hemodynamic environment simulation in cardiovascular disease assessment, diagnosis and surgical planning. CFD simulation calculations are cumbersome and costly, while machine learning methods require a large amount of labeled data and lack interpretability.
A neural network based on flow control equations was constructed. By acquiring medical imaging data, a PINN network with physical information constraints was built. Iterative training was performed using a loss function to achieve rapid and accurate prediction of hemodynamic simulation models.
It enables real-time and accurate hemodynamic simulation in cardiovascular disease assessment and surgical planning, reduces computational costs, decreases data requirements, and improves model interpretability.
Smart Images

Figure CN115691814B_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present invention relate to the fields of medical imaging and computer technology, and in particular to a hemodynamic simulation model construction, simulation method, device and electronic device. Background Technology
[0002] The mortality rate from cardiovascular diseases is rising year by year, and rapid and accurate risk assessment is the most effective means to reduce mortality. Clinically, medical imaging is currently the main method for cardiovascular disease risk assessment; however, relying solely on anatomical features often leads to missed diagnoses, misdiagnoses, and missed opportunities for optimal treatment. Numerous studies have shown that functional assessment based on fluid dynamics is an important means of clinical risk assessment; for example, fractional flow reserve has become the "gold standard" for functional evaluation of coronary artery stenosis.
[0003] Fluid motion is governed by the Navier-Stokes equations, a highly nonlinear system of partial differential equations (PDEs). Currently, numerical simulations of fluid dynamics problems primarily rely on computational fluid dynamics (CFD) methods, such as finite difference (FD), finite volume (FV), or finite element (FE) methods. However, CFD simulations are computationally intensive, especially for turbulent flows and flows with complex geometries. The high computational cost significantly limits the clinical application of fluid dynamics simulations, such as risk assessment, clinical diagnosis, and surgical planning for cardiovascular diseases. Furthermore, with the rapid development of computer technology, data-driven machine learning has made rapid hemodynamic simulations possible; however, this training method, which approximates the objective function infinitely, requires large amounts of labeled data, typically obtained through CFD simulations or experimental observations, resulting in extremely high training costs and a lack of model interpretability. Summary of the Invention
[0004] To overcome the shortcomings of existing technologies in the real-time and accurate simulation of hemodynamic environment in cardiovascular disease assessment, diagnosis and surgical planning, this invention provides a hemodynamic simulation model construction, simulation method, device and electronic equipment.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] In a first aspect, the present invention provides a method for constructing a hemodynamic simulation model, comprising:
[0007] Acquire medical images, and based on these medical images, acquire imaging data of the target vascular segment;
[0008] Using time and corresponding three-dimensional spatial coordinates as input variables, and the three-dimensional velocity components and pressure at corresponding times as outputs, a first hemodynamic simulation model is constructed.
[0009] Based on the imaging data of the target blood vessel, the first hemodynamic simulation model is iteratively trained;
[0010] When the first hemodynamic simulation model meets the preset standard, the first hemodynamic simulation model is confirmed as the required second hemodynamic simulation model.
[0011] In one possible implementation, the first hemodynamic simulation model is iteratively trained based on the imaging data of the target blood vessel, including:
[0012] The image data of the target blood vessel is input into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel.
[0013] The loss function is determined based on the residuals and computational errors;
[0014] The model is trained iteratively based on the loss function.
[0015] In one possible implementation, the flow control equation is:
[0016]
[0017]
[0018] Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time.
[0019] Secondly, this invention provides a hemodynamic simulation method, the method comprising:
[0020] Acquire the medical image to be processed, and based on the medical image to be processed, acquire the image data of the vascular segment to be processed;
[0021] The imaging data of the blood vessel segment to be processed is input into the second hemodynamic simulation model constructed by the method of any one of claims 1-3 to obtain the simulation results of the blood vessel segment to be processed.
[0022] Thirdly, the present invention provides a hemodynamic simulation model construction device, the device comprising:
[0023] The first acquisition module is used to acquire medical images and, based on the medical images, acquire image data of the target vascular segment.
[0024] The module is used to construct the first hemodynamic simulation model with time and corresponding three-dimensional spatial coordinates as input variables, and three-dimensional velocity components and pressure at corresponding times as outputs.
[0025] The training module is used to iteratively train the first hemodynamic simulation model based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches the preset standard, it is confirmed that the first hemodynamic simulation model is the required second hemodynamic simulation model.
[0026] In one possible implementation, the training module is specifically used for:
[0027] The image data of the target blood vessel is input into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel.
[0028] Based on the residuals and the calculation errors, the loss function is determined;
[0029] The model is iteratively trained based on the loss function.
[0030] In one possible implementation, the flow control equation is:
[0031]
[0032]
[0033] Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time.
[0034] Fourthly, the present invention provides a hemodynamic simulation device, the device comprising:
[0035] The second acquisition module is used to acquire the medical image to be processed, and based on the medical image to be processed, acquire the image data of the blood vessel segment to be processed.
[0036] The simulation module is used to input the image data of the blood vessel segment to be processed into the second hemodynamic simulation model constructed by the device as described in the third aspect, and to obtain the simulation results of the blood vessel segment to be processed.
[0037] Fifthly, the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0038] Memory, used to store computer programs;
[0039] When a processor executes a program stored in memory, it implements a method for constructing a hemodynamic simulation model as described in any embodiment of the first aspect.
[0040] Alternatively, when executing a program stored in memory, it can implement the hemodynamic simulation method as described in the second aspect embodiment.
[0041] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the hemodynamic simulation model construction method as described in any embodiment of the first aspect;
[0042] Alternatively, the processor may execute a hemodynamic simulation method as described in the second aspect embodiment.
[0043] Memory, used to store computer programs;
[0044] When a processor executes a program stored in memory, it implements the steps of the cloud platform server communication channel construction method according to any embodiment of the first aspect.
[0045] Alternatively, when executing a program stored in memory, the steps of the cloud platform server communication method of any embodiment of the second aspect are implemented.
[0046] The technical solutions provided in the embodiments of the present invention have the following advantages compared with the prior art:
[0047] This invention provides a method for constructing a hemodynamic simulation model. The method involves acquiring medical images and, based on these images, obtaining image data of a target blood vessel segment. Using time and corresponding three-dimensional spatial coordinates as input variables, and the corresponding three-dimensional velocity components and pressure as outputs, a first hemodynamic simulation model is constructed. The first hemodynamic simulation model is iteratively trained based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches a preset standard, it is confirmed as the required second hemodynamic simulation model. Using the simulation model of this invention overcomes the shortcomings of existing technologies in real-time and accurate hemodynamic environment simulation for cardiovascular disease assessment, diagnosis, and surgical planning. Attached Figure Description
[0048] Figure 1 This is a schematic diagram of the hemodynamic simulation model construction method provided in the embodiments of the present invention;
[0049] Figure 2 This is a schematic diagram of the PINN neural network structure constructed in this invention;
[0050] Figure 3 This is a schematic diagram of the iterative training method for a hemodynamic simulation model.
[0051] Figure 4 Example of an aneurysm;
[0052] Figure 5 Physiological curve of abdominal aortic aneurysm inlet velocity;
[0053] Figure 6 A contour plot of the calculated cross-sectional velocity component u;
[0054] Figure 7 A contour plot of the calculated cross-sectional velocity component v;
[0055] Figure 8 A contour plot of the calculated cross-sectional velocity component w;
[0056] Figure 9 Here is a contour plot of the calculated pressure field p;
[0057] Figure 10 The relative error between the predicted and actual values of the three-dimensional velocity components u, v, w;
[0058] Figure 11 This represents the relative error between the predicted and actual pressure values.
[0059] Figure 12 The convergence curve of the PINN neural network;
[0060] Figure 13 This is a schematic diagram of the hemodynamic simulation method.
[0061] Figure 14 Schematic diagram of the hemodynamic simulation model construction device;
[0062] Figure 15 This is a schematic diagram of the hemodynamic simulation device provided in an embodiment of the present invention;
[0063] Figure 16 This is a schematic diagram of an electronic device structure provided in an embodiment of the present invention. Detailed Implementation
[0064] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0065] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0066] To facilitate understanding of the embodiments of the present invention, further explanations and descriptions will be provided below with reference to the accompanying drawings and specific embodiments. These embodiments do not constitute a limitation on the embodiments of the present invention.
[0067] Data-driven machine learning has made it possible to achieve rapid hemodynamic simulation. However, this training method, which infinitely approximates the objective function, requires a large amount of labeled data, which is usually obtained through CFD simulation or experimental observation. However, traditional CFD simulation has the following disadvantages: (1) poor timeliness and cumbersome calculation (it takes several hours to calculate one case), making it difficult to apply to clinical practice; (2) the solution is based on a large number of assumptions; (3) it is difficult to obtain the real boundary conditions of the inlet and outlet, etc., which makes the training cost very expensive and the model lacks interpretability.
[0068] To address the problems existing in the prior art, this invention acquires data through clinical imaging or CFD simulation, builds a neural network that integrates physical equations, constructs loss functions based on flow control equations and measurement data, and optimizes the neural network by minimizing the loss functions, thereby enabling rapid and effective prediction of important physical parameters of blood vessels in the target area.
[0069] Specifically, this invention provides a method for constructing a hemodynamic simulation model. For the specific execution process, please refer to [link / reference needed]. Figure 1 The method flowchart is shown. Figure 1 This is a schematic flowchart of a hemodynamic simulation model construction method provided in an embodiment of the present invention. The method includes the following steps:
[0070] Step S110: Acquire medical images and, based on the medical images, acquire image data of the target vascular segment.
[0071] Specifically, medical images are acquired, the target vascular segment for which the model needs to be built is determined, and image data of the target vascular segment is obtained using four-dimensional blood flow magnetic resonance imaging or CFD simulation as data samples for subsequent model training.
[0072] Step S120: Using time and the corresponding three-dimensional spatial coordinates as input variables, and the three-dimensional velocity components and pressure at the corresponding time as outputs, construct the first hemodynamic simulation model.
[0073] First, a Physics-Informed Neural Network (PINN) is constructed as the hemodynamics simulation model, using time information t, three-dimensional spatial coordinates x, y, and z as input variables, and three-dimensional velocity components u, v, and w and pressure p as outputs. Then, the automatic differentiation mechanism integrated into the Tensorflow framework is used to construct the constraint objective, i.e., the loss function, which includes constraints based on the flow control equations and the image data obtained in step S110, and is added to the constructed neural network loss function.
[0074] Specifically, the constructed PINN network is as follows: Figure 2 As shown, the input consists of four variables: spatiotemporal coordinates t, x, y, and z. The output consists of three-dimensional velocity components and pressures u, v, w, and p at a given spatiotemporal coordinate. The swish function is then used as the activation function for the neuron.
[0075] In one example, the flow control equation is:
[0076]
[0077]
[0078] Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time.
[0079] The Navier-Stokes equations governing fluid flow can be transformed into the following form:
[0080] u t +uu x +vu y +wu z =-p x +Re -1 (u xx +u yy +u zz )
[0081] v t +uv x +vv y +wv z =-py +Re -1 (v xx +v yy +v zz )
[0082] w t +uw x +vw y +ww z =-p z +Re -1 (w xx +w yy +w zz )
[0083] u x +v y +w z =0
[0084] Where Re is the Reynolds number, t is time, x, y, z are the three-dimensional spatial coordinates of the data points at the corresponding time points, u, v, w are the three-dimensional velocity components at the corresponding time points, and p is the pressure information at the corresponding time points.
[0085] Specifically, u, v, and w correspond to the blood flow velocity values in the x, y, and z directions, respectively. t u x u y u z denoted as p, representing the partial derivatives of blood flow velocity with respect to time and in the x, y, and z directions, respectively. x p y p z These represent the partial derivatives of pressure with respect to the x, y, and z directions, respectively.
[0086] Constructing the loss function Loss of the PINN network, which is a loss function based on the physical governing equations:
[0087] e1=u t +uu x +vu y +wu z +p x -Re -1 (u xx +u yy +u zz )
[0088] e2 = v t +uv x +vv y +wv z +p y -Re -1 (v xx +v yy +vzz )
[0089] e3 = w t +uw x +vw y +ww z +p z -Re -1 (w xx +w yy +w zz )
[0090] e4 = u x +v y +w z =0
[0091] The loss function consists of two parts: one part is the calculation error between the three-dimensional velocity component estimated by the model and the image data of the target blood vessel segment obtained in step S110, and the other part is the calculation residual obtained according to the above Navier-Stokes equation.
[0092] Step S130: Based on the image data of the target blood vessel, the first hemodynamic simulation model is iteratively trained.
[0093] In one example, the specific execution process of iterative training also needs to be referred to... Figure 3 The method flowchart is shown. Figure 3 This is a schematic diagram of the iterative training method for a hemodynamic simulation model provided in an embodiment of the present invention. The method includes the following steps:
[0094] Step S210: Input the image data of the target blood vessel into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel.
[0095] Step S220: Determine the loss function based on the residuals and calculation errors.
[0096] Step S230: Iteratively train the model according to the loss function.
[0097] This step drives network training by minimizing the PINN loss function, thereby making the prediction results approximate the solution of the flow control equation.
[0098] Step S140: When the first hemodynamic simulation model meets the preset standard, confirm that the first hemodynamic simulation model is the required second hemodynamic simulation model.
[0099] In summary, this invention achieves the mapping (t,x,y,z)→(u,v,w,p) through a neural network with known physical information. Specifically, the PINN network takes spatiotemporal coordinates t,x,y,z as input and u,v,w,p as output, using physical equations as the mapping equation between the input and output. By minimizing the mean squared error loss function, the error between the u,v,w,p predicted by the PINN network and the obtained image data is made sufficiently small; thus, the predicted u,v,w,p satisfies the three-dimensional incompressible Navier-Stokes equations.
[0100] This invention utilizes PINN for hemodynamic environment calculation. The method provided by this invention has a wide range of applications and can be used to calculate the mechanical parameters of various cardiovascular diseases. Therefore, this section uses abdominal aortic aneurysm as an example to illustrate the content of this invention:
[0101] Taking abdominal aortic aneurysm as an example, blood flow within the abdominal aortic aneurysm is described by the Navier-Stokes equation:
[0102]
[0103]
[0104] The physical equations can be rewritten in the following form.
[0105] u t +uu x +vu y +wu z =-p x +Re -1 (u xx +u yy +u zz )
[0106] v t +uv x +vv y +wv z =-p y +Re -1 (v xx +v yy +v zz )
[0107] w t +uw x +vw y +ww z =-p z +Re -1 (w xx +w yy +w zz )
[0108] ux +v y +w z =0
[0109] Where u, v, and w correspond to the blood flow velocity values in the x, y, and z directions, respectively. t u x u y u z denoted as p, representing the partial derivatives of blood flow velocity with respect to time and in the x, y, and z directions, respectively. x p y p z These represent the partial derivatives of pressure with respect to the x, y, and z directions, respectively.
[0110] Build as Figure 2 The PINN network shown takes four variables—spatial-temporal coordinates t, x, y, and z—as input and outputs three-dimensional velocity components and pressures u, v, w, and p at a given spatial-temporal coordinate. The swish function is used as the activation function for each neuron.
[0111] The specific implementation mainly includes acquiring imaging data of abdominal aortic aneurysms and constructing the PINN network model. The sample data for this implementation case was calculated using the fluent module in Ansys 20.0.
[0112] Three-dimensional model of abdominal aortic aneurysm, such as Figure 4 As shown, the fluid is assumed to be a homogeneous, adiabatic, isotropic, incompressible Newtonian fluid, the pulsating flow is laminar, and the blood density is 1050 kg / m³. 3 The viscosity coefficient is 3.5 × 10⁻⁶. -3 kg / m·s, the inlet velocity is the actual physiological curve, such as Figure 5 The outlet pressure is set to 13300 Pa. The discretization scheme for the differential equation system adopts a second-order accurate upwind scheme, and the maximum root mean square residual is set to 10. -5 A finite volume method based on a fully unstructured mesh was adopted, using a pressure solver for pressure correction and sequential solution of the momentum equation. A period of 0.8 s was set, with a step size of 0.005 s, and four iterations were performed to ensure convergence and stability. Data from the last cycle was used for analysis; a portion was used as input data for network training, and the remainder was used for network performance validation. The velocity field components of the abdominal aortic aneurysm are as follows: Figure 6 , Figure 7 and Figure 8 As shown, the pressure field results are as follows: Figure 9 As shown.
[0113] This implementation example uses a PINN network structure with 10 hidden layers, each containing 50 neurons. It employs swish(x) as the activation function and a learning rate of 10. -3The Adam optimizer is trained.
[0114] This implementation imports time t, the three-dimensional coordinates (x, y, z) of the image data points, and the three-dimensional velocity field components (u, v, w) of the image data points at that time into the network, which can obtain a more accurate velocity field and an unknown pressure field. The accuracy of the network model's prediction is determined by calculating the relative error ε between the acquired image data and the predicted data.
[0115] The relative error is calculated using the following formula:
[0116]
[0117] Where, f(x) i ) represents the image data values corresponding to each node of the abdominal aortic aneurysm, g(x) i ) is the predicted data value corresponding to each point.
[0118] The relative prediction errors of u, v, and w are obtained using the PINN network, as shown below. Figure 10 As shown, the relative prediction error of p is as follows: Figure 11 As shown. The convergence curve of the final obtained PINN neural network is as follows. Figure 12 As shown. By Figure 10 , Figure 11 and Figure 12 As can be seen, after continuous iterative training, the relative error becomes smaller and smaller, and the convergence curve of the neural network becomes more and more stable. When the preset threshold is reached, the iteration of the hemodynamic simulation model constructed in this application ends, and the hemodynamic simulation model obtained at this time is the required hemodynamic simulation model.
[0119] This invention provides a method for constructing a hemodynamic simulation model. The method involves acquiring medical images and, based on these images, obtaining image data of a target blood vessel segment. Using time and corresponding three-dimensional spatial coordinates as input variables, and the corresponding three-dimensional velocity components and pressure as outputs, a first hemodynamic simulation model is constructed. The first hemodynamic simulation model is iteratively trained based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches a preset standard, it is confirmed as the required second hemodynamic simulation model. Using the simulation model of this invention overcomes the shortcomings of existing technologies in real-time and accurate hemodynamic environment simulation for cardiovascular disease assessment, diagnosis, and surgical planning.
[0120] This invention also provides a method embodiment for simulation using the hemodynamic simulation model constructed above. For specific execution procedures, please refer to [link to relevant documentation]. Figure 13 The method flowchart is shown. Figure 13This is a schematic diagram of a hemodynamic simulation method provided in an embodiment of the present invention. The method includes the following steps:
[0121] Step 310: Obtain the medical image to be processed, and based on the medical image to be processed, obtain the image data of the blood vessel segment to be processed.
[0122] Step 320: Input the image data of the blood vessel segment to be processed into the second hemodynamic simulation model constructed as described in the above embodiment to obtain the simulation results of the blood vessel segment to be processed.
[0123] The hemodynamic simulation method provided by this invention acquires medical images to be processed and, based on these images, obtains image data of the blood vessel segment to be processed. The image data of the blood vessel segment to be processed is input into a second hemodynamic simulation model constructed as described in the above embodiments to obtain simulation results for the blood vessel segment to be processed. In the simulation model, by inputting the temporal and spatial information of the region of interest, biomechanical parameters of that region, such as velocity and pressure fields, can be obtained, and the risk of corresponding cardiovascular diseases can be assessed.
[0124] The above are embodiments of the methods for constructing hemodynamic simulation models and performing hemodynamic simulations provided by the present invention. The following describes embodiments of the apparatus for constructing hemodynamic simulation models and performing hemodynamic simulations provided by the present invention. Please refer to the following for details.
[0125] Figure 14 The diagram shows the structure of a hemodynamic simulation model construction device provided in an embodiment of the present invention. The device includes: a first acquisition module 1401, a construction module 1402, and a training module 1403.
[0126] The first acquisition module 1401 is used to acquire medical images and, based on the medical images, acquire image data of the target vascular segment.
[0127] Module 1402 is used to construct the first hemodynamic simulation model with time and corresponding three-dimensional spatial coordinates as input variables, and the three-dimensional velocity component and pressure at the corresponding time as outputs.
[0128] The training module 1403 is used to iteratively train the first hemodynamic simulation model based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches the preset standard, the first hemodynamic simulation model is confirmed as the required second hemodynamic simulation model.
[0129] In one example, training module 1403 is specifically used for:
[0130] The image data of the target blood vessel is input into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel.
[0131] The loss function is determined based on the residuals and computational errors;
[0132] The model is trained iteratively based on the loss function.
[0133] In another example, the flow control equation is:
[0134]
[0135]
[0136] Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time.
[0137] The functions performed by each component in the hemodynamic simulation model construction device provided in this embodiment have been described in detail in any of the above method embodiments, and therefore will not be repeated here.
[0138] The hemodynamic simulation model construction device provided in this invention acquires medical images and, based on these images, acquires image data of a target blood vessel segment. Using time and corresponding three-dimensional spatial coordinates as input variables, and the corresponding three-dimensional velocity components and pressure as outputs, a first hemodynamic simulation model is constructed. The first hemodynamic simulation model is iteratively trained based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches a preset standard, it is confirmed as the required second hemodynamic simulation model. Using the simulation model of this invention overcomes the shortcomings of existing technologies in real-time and accurate hemodynamic environment simulation during cardiovascular disease assessment, diagnosis, and surgical planning.
[0139] Figure 15 The diagram below shows the structure of a hemodynamic simulation device provided in an embodiment of the present invention. The device includes a second acquisition module 1501 and a simulation module 1502.
[0140] The second acquisition module 1501 is used to acquire the medical image to be processed and, based on the medical image to be processed, acquire the image data of the blood vessel segment to be processed.
[0141] The simulation module 1502 is used to input the image data of the blood vessel segment to be processed into the second hemodynamic simulation model constructed by the device as described in the third aspect, and to obtain the simulation results of the blood vessel segment to be processed.
[0142] The functions performed by each component in the hemodynamic simulation device provided in this embodiment have been described in detail in any of the above method embodiments, and therefore will not be repeated here.
[0143] This invention provides a hemodynamic simulation device that acquires medical images to be processed and, based on these images, acquires image data of a blood vessel segment to be processed. The image data of the blood vessel segment to be processed is input into a second hemodynamic simulation model constructed as described in the above embodiments to obtain simulation results for the blood vessel segment. In the simulation model, by inputting the temporal and spatial information of the region of interest, biomechanical parameters of that region, such as velocity and pressure fields, can be obtained, and the risk of corresponding cardiovascular diseases can be assessed.
[0144] like Figure 16 As shown, an embodiment of the present invention provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0145] Memory 113 is used to store computer programs;
[0146] In one embodiment of the present invention, when the processor 111 executes the program stored in the memory 113, it implements the hemodynamic simulation model construction method provided in any of the foregoing method embodiments.
[0147] Alternatively, when the processor 111 executes the program stored in the memory 113, it implements the hemodynamic simulation method provided in any of the aforementioned method embodiments.
[0148] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the hemodynamic simulation model construction method provided in any of the foregoing method embodiments.
[0149] Alternatively, when executed by the processor, it can implement the hemodynamic simulation method provided in any of the aforementioned method embodiments.
[0150] The technical solution provided by this invention has the following advantages:
[0151] (1) The method of this invention has a wide range of applications and is simple to implement. It is expected to solve the problems of poor timeliness, low accuracy, and cumbersome calculation in the current functional assessment and treatment strategy formulation of cardiovascular diseases. By using a machine learning network constrained by physical information to predict the hemodynamic environment of the target area, compared with the method of direct numerical simulation using the Navier-Stokes equations, the computational cost can be greatly reduced, and no geometric or initial and boundary conditions need to be set. Compared with the use of ordinary machine learning methods, the amount of data required for training can be greatly reduced, and the interpretability of the model is better.
[0152] (2) The hemodynamic simulation model obtained by this invention can be used to quickly predict and visualize hemodynamic parameters. By inputting the temporal and spatial information of the region of interest into the simulation model, the biomechanical parameters of that region, such as the velocity field and pressure field, can be obtained, and the risk of corresponding cardiovascular diseases can be assessed.
[0153] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0154] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0155] The above are merely specific embodiments of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features of the invention herein.
Claims
1. A method for constructing a hemodynamic simulation model, characterized in that, The method includes: Acquire medical images, and based on the medical images, acquire image data of the target vascular segment; Using time and corresponding three-dimensional spatial coordinates as input variables, and the three-dimensional velocity components and pressure at corresponding times as outputs, a first hemodynamic simulation model is constructed, wherein the first hemodynamic simulation model is a physical information neural network. Based on the imaging data of the target blood vessel, the first hemodynamic simulation model is iteratively trained; When the first hemodynamic simulation model meets the preset standard, the first hemodynamic simulation model is confirmed as the required second hemodynamic simulation model; The step of iteratively training the first hemodynamic simulation model based on the image data of the target blood vessel includes: The image data of the target blood vessel is input into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel. Based on the residuals and the calculation errors, the loss function is determined; The model is iteratively trained based on the loss function; The flow control equation is: Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time; image data of the target blood vessel segment are obtained using four-dimensional blood flow magnetic resonance imaging and used as data samples for subsequent model training; The Navier-Stokes equations governing fluid flow are transformed into the following form: Where Re is the Reynolds number, t is time, x, y, z are the three-dimensional spatial coordinates of the data point at the corresponding time, u, v, w are the three-dimensional velocity components at the corresponding time, and p is the pressure information at the corresponding time. Constructing the loss function for the PINN network: u, v, and w correspond to the blood flow velocity values in the x, y, and z directions, respectively. t u x u y u z Let p represent the partial derivatives of blood flow velocity with respect to time and in the x, y, and z directions, respectively; x p y p z These represent the partial derivatives of pressure with respect to the x, y, and z directions, respectively.
2. A hemodynamic simulation method, characterized in that, The method includes: Acquire medical images to be processed, and based on the medical images to be processed, acquire image data of the blood vessel segment to be processed; The image data of the blood vessel segment to be processed is input into the second hemodynamic simulation model constructed by the method described in claim 1 to obtain the simulation results of the blood vessel segment to be processed.
3. A hemodynamic simulation model construction device, characterized in that, The device includes: The first acquisition module is used to acquire medical images and, based on the medical images, acquire image data of the target blood vessel segment. The module is used to construct a first hemodynamic simulation model with time and corresponding three-dimensional spatial coordinates as input variables, and three-dimensional velocity components and pressure at corresponding times as outputs. The first hemodynamic simulation model is a physical information neural network. The training module is used to iteratively train the first hemodynamic simulation model based on the image data of the target blood vessel. When the first hemodynamic simulation model reaches the preset standard, the first hemodynamic simulation model is confirmed as the required second hemodynamic simulation model. The training module is specifically used for: The image data of the target blood vessel is input into the first hemodynamic simulation model to obtain the calculation residual of the predicted data substituted into the flow control equation, as well as the calculation error between the predicted data and the image data of the target blood vessel. Based on the residuals and the calculation errors, the loss function is determined; The model is iteratively trained based on the loss function; The flow control equation is: Where: ρ is blood density, v is blood flow velocity, p is pressure, μ is blood viscosity, and t is time; Four-dimensional flow magnetic resonance imaging was used to acquire image data of the target blood vessel segment, which was then used as data samples for subsequent model training. The Navier-Stokes equations governing fluid flow are transformed into the following form: Where Re is the Reynolds number, t is time, x, y, z are the three-dimensional spatial coordinates of the data point at the corresponding time, u, v, w are the three-dimensional velocity components at the corresponding time, and p is the pressure information at the corresponding time. Constructing the loss function for the PINN network: u, v, and w correspond to the blood flow velocity values in the x, y, and z directions, respectively. t u x u y u z Let p represent the partial derivatives of blood flow velocity with respect to time and in the x, y, and z directions, respectively; x p y p z These represent the partial derivatives of pressure with respect to the x, y, and z directions, respectively.
4. A hemodynamic simulation device, characterized in that, The device includes: The second acquisition module is used to acquire the medical image to be processed, and based on the medical image to be processed, acquire the image data of the blood vessel segment to be processed. The simulation module is used to input the image data of the blood vessel segment to be processed into the second hemodynamic simulation model constructed by the device as described in claim 3, and obtain the simulation results of the blood vessel segment to be processed.
5. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor, when executing the program stored in the memory, implements the hemodynamic simulation model construction method as described in claim 1; Alternatively, when executing a program stored in memory, it can implement the hemodynamic simulation method as described in claim 2.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the hemodynamic simulation model construction method as described in claim 1. Alternatively, the processor may execute the hemodynamic simulation method as described in claim 2.
Citation Information
Patent Citations
Hemodynamic parameter determining method, device, equipment and storage medium
CN111317455A
Hemodynamic simulation method, device and equipment
CN113545846A
