CN111488670B - A nonlinear simulation method of mass spring soft tissue deformation - Google Patents

A nonlinear simulation method of mass spring soft tissue deformation Download PDF

Info

Publication number
CN111488670B
CN111488670B CN202010148426.7A CN202010148426A CN111488670B CN 111488670 B CN111488670 B CN 111488670B CN 202010148426 A CN202010148426 A CN 202010148426A CN 111488670 B CN111488670 B CN 111488670B
Authority
CN
China
Prior art keywords
particle
spring
soft tissue
mass
deformation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010148426.7A
Other languages
Chinese (zh)
Other versions
CN111488670A (en
Inventor
段玉萍
闫梦圆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN202010148426.7A priority Critical patent/CN111488670B/en
Publication of CN111488670A publication Critical patent/CN111488670A/en
Application granted granted Critical
Publication of CN111488670B publication Critical patent/CN111488670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开一种非线性的质点弹簧软组织形变仿真方法,包括步骤:采集软组织的医学影像数据,对器官图像分割,利用Delaunay三角面片网格剖分得到三维面网格数据;在三维网格剖分的基础上,以网格节点为质点,节点之间连接的边为由结构弹簧和阻尼弹簧并联组成的弹簧组件,形成质点弹簧软组织模型,手术器械和质点弹簧软组织模型之间是否发生碰撞,若发生碰撞则计算各质点受力,更新质点位置与质点速度,计算质点弹簧软组织模型表面质点的形变值,直至手术器械和质点弹簧软组织模型之间不发生碰撞为止;然后输出仿真结果并进行视觉渲染后结束整个流程。本发明能够更准确的实时仿真软组织的形变。

Figure 202010148426

The invention discloses a nonlinear mass spring soft tissue deformation simulation method, comprising the steps of: collecting medical image data of soft tissue, segmenting organ images, and using Delaunay triangular mesh to obtain three-dimensional surface mesh data; On the basis of the subdivision, the mesh nodes are used as mass points, and the edges connected between the nodes are spring components composed of structural springs and damping springs in parallel to form a mass-spring soft tissue model. Whether there is a collision between the surgical instrument and the mass-spring soft tissue model , if there is a collision, calculate the force of each particle, update the position and velocity of the particle, calculate the deformation value of the surface particle of the particle spring soft tissue model, until the surgical instrument and the particle spring soft tissue model do not collide; then output the simulation results and carry out End the entire process after visual rendering. The invention can more accurately simulate the deformation of soft tissue in real time.

Figure 202010148426

Description

一种非线性的质点弹簧软组织形变仿真方法A nonlinear simulation method of mass spring soft tissue deformation

技术领域technical field

本发明涉及软组织形变建模技术领域,特别是涉及一种非线性的质点弹簧软组织形变仿真方法。The invention relates to the technical field of soft tissue deformation modeling, in particular to a nonlinear mass spring soft tissue deformation simulation method.

背景技术Background technique

在解剖教学、手术模拟和手术训练等领域中,对于器官和组织的物理运动模拟是一个核心问题。人体组织器官一般具有软组织特性,通常表现为不均匀性、各向异性、准不可压缩性、非线性、塑性和粘弹性等材料性质,对于此类软组织形变过程的精准、实时模拟一直都是很有挑战的研究课题。质点弹簧模型是人体软组织建模方面应用较多的模型之一,现有的基于质点弹簧模型的交互式软组织形变仿真模型大多将软组织的应力-应变的本构关系简化为线性关系。其计算复杂度低且易于对时间进行离散化进而迭代计算但其计算精度不高。Physical motion simulation of organs and tissues is a central issue in the fields of anatomy teaching, surgical simulation, and surgical training. Human tissues and organs generally have soft tissue characteristics, usually manifested in material properties such as inhomogeneity, anisotropy, quasi-incompressibility, nonlinearity, plasticity, and viscoelasticity. Accurate and real-time simulation of such soft tissue deformation processes has always been very important. Challenging research topic. The mass-spring model is one of the most widely used models in human soft tissue modeling. Most of the existing interactive soft-tissue deformation simulation models based on the mass-spring model simplify the stress-strain constitutive relationship of soft tissue into a linear relationship. Its computational complexity is low and it is easy to discretize time and then iteratively calculate, but its computational accuracy is not high.

由于实时模拟计算的需要,现有的方法多采用线弹性理论描述软组织形变,即假定应力分量与无穷小应变之间存在线滞后关系。采用线弹性模型的优点是,在整个模拟过程中,全局刚度矩阵是恒定的可以预先计算、反演和存储,提高计算效率。事实上,生物软组织是非线性的材料,只有在小变形的情况下可以近似为线性材料。另外,软组织形变中的大变形、大转动、大位移都会产生几何非线性,这并不是经典的线弹性理论能解决的。Due to the need of real-time simulation calculation, the existing methods mostly use linear elasticity theory to describe the soft tissue deformation, that is, it is assumed that there is a linear hysteresis relationship between the stress component and the infinitesimal strain. The advantage of using a linear elastic model is that the global stiffness matrix is constant throughout the simulation and can be pre-computed, inverted, and stored, improving computational efficiency. In fact, biological soft tissues are nonlinear materials that can only be approximated as linear materials with small deformations. In addition, large deformation, large rotation, and large displacement in soft tissue deformation will produce geometric nonlinearity, which cannot be solved by classical linear elasticity theory.

总之,现有的基于质点弹簧模型的交互式仿真系统为保证实时求解模型均简化软组织形变为线弹性模型,来提高计算效率。使用线弹性作为基本模型的假设尽管在运行时可减少计算量,但同时限制了建模物理材料的精度。更重要的是,线弹性模型只能近似于小位移、小形变情况下的软组织形变。然而,生物软组织具有材料非线性特性,且在形变量大的情况下具有几何非线性特性。In a word, the existing interactive simulation system based on the mass-spring model can improve the computational efficiency by simplifying the deformation of the soft tissue into a linear elastic model in order to ensure that the real-time solution models are all simplified. The assumption of using linear elasticity as the base model, while reducing the amount of computation at runtime, limits the accuracy with which physical materials can be modeled. More importantly, the linear elastic model can only approximate the soft tissue deformation under the condition of small displacement and small deformation. However, biological soft tissue has material nonlinearity and geometric nonlinearity in the case of large deformation.

发明内容SUMMARY OF THE INVENTION

本发明的目的是针对现有技术中存在的技术缺陷,而提供一种非线性的质点弹簧软组织形变仿真方法,将欧拉弹性用于刻画质点弹簧模型中的弹簧形变进而表征软组织的非线性性,即将欧拉弹性能量用于刻画质点弹簧模型中的弹簧形变量,进而计算弹簧长度可以得到满足非线性的应力-应变关系,进而用来表征软组织非线性的本构关系。The purpose of the present invention is to provide a nonlinear particle spring soft tissue deformation simulation method for the technical defects existing in the prior art. , that is, the Euler elastic energy is used to describe the spring deformation in the mass-spring model, and then the spring length can be calculated to obtain a nonlinear stress-strain relationship, which is then used to characterize the nonlinear constitutive relationship of soft tissue.

为实现本发明的目的所采用的技术方案是:The technical scheme adopted for realizing the purpose of the present invention is:

一种非线性的质点弹簧软组织形变仿真方法,包括步骤:A nonlinear mass spring soft tissue deformation simulation method, comprising the steps of:

采集软组织的医学影像数据,对器官图像分割,利用Delaunay三角面片网格剖分得到三维面网格数据;Collect medical image data of soft tissue, segment the organ image, and obtain 3D surface mesh data by Delaunay triangular mesh division;

在三维网格剖分的基础上,以网格节点为质点,节点之间连接的边为由结构弹簧和阻尼弹簧并联组成的弹簧组件,形成质点弹簧软组织模型;On the basis of 3D mesh division, the mesh nodes are used as mass points, and the edges connected between nodes are spring components composed of structural springs and damping springs in parallel to form a mass-spring soft tissue model;

检测手术器械和质点弹簧软组织模型之间是否发生碰撞,若发生碰撞则计算各质点受力,更新质点位置与质点速度,计算质点弹簧软组织模型表面质点的形变值,直至手术器械和质点弹簧软组织模型之间不发生碰撞为止;Detect whether there is a collision between the surgical instrument and the mass spring soft tissue model. If there is a collision, calculate the force of each mass point, update the mass position and mass velocity, and calculate the deformation value of the mass point on the surface of the mass spring soft tissue model until the surgical instrument and the mass spring soft tissue model. until there is no collision between them;

输出仿真结果并进行视觉渲染后结束整个流程。The whole process ends after outputting the simulation results and rendering them visually.

本发明考虑到生物软组织的非线性性,能够更准确的实时仿真软组织的形变。本发明的非线性的质点弹簧软组织形变仿真方法更接近于真实的软组织生物力学特性,可以有效地保证仿真的精度和计算复杂度。The present invention takes into account the nonlinearity of biological soft tissue, and can simulate the deformation of soft tissue in real time more accurately. The nonlinear mass spring soft tissue deformation simulation method of the present invention is closer to the real soft tissue biomechanical characteristics, and can effectively ensure the simulation accuracy and computational complexity.

附图说明Description of drawings

图1是非线性的质点弹簧软组织形变仿真方法的流程图;Fig. 1 is a flow chart of a nonlinear mass spring soft tissue deformation simulation method;

图2是肝脏三角网格剖分可视化结果图;Fig. 2 is a visualization result of liver triangulation meshing;

图3是两个质点间的弹簧组件示意图;Figure 3 is a schematic diagram of a spring assembly between two mass points;

图4是某个质点的一邻域的示意图;Fig. 4 is the schematic diagram of a neighborhood of a certain particle;

图5是计算某个质点一邻域内所有三角面片的总面积的参数角示意图;Figure 5 is a schematic diagram of the parametric angle for calculating the total area of all triangular patches in a certain particle-neighborhood;

图6是视觉渲染后的可视化结果以及运动仿真示意图(上层为静止状态,下层为运动状态);Fig. 6 is the visualization result after visual rendering and the schematic diagram of motion simulation (the upper layer is in a static state, and the lower layer is in a motion state);

图7-8分别是球体、肝脏参数a下对应力-应变非线性性的影响图:Figures 7-8 show the effects of sphere and liver parameter a on stress-strain nonlinearity:

图9-10分别是球体、肝脏参数b下对应力-应变非线性性的影响图。Figures 9-10 are graphs of the effects of sphere and liver parameter b on stress-strain nonlinearity, respectively.

具体实施方式Detailed ways

以下结合附图和具体实施例对本发明作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本发明,是将欧拉弹性用于刻画质点弹簧模型中的弹簧形变进而表征软组织的非线性性,即将欧拉弹性能量用于刻画质点弹簧模型中的弹簧形变量,进而计算的弹簧长度可以得到满足非线性的应力-应变关系,进而用来表征软组织非线性的本构关系。In the present invention, Euler elasticity is used to describe the spring deformation in the particle spring model to characterize the nonlinearity of soft tissue, that is, the Euler elastic energy is used to describe the spring deformation variable in the particle spring model, and then the calculated spring length can be obtained The nonlinear stress-strain relationship is satisfied, and then it is used to characterize the nonlinear constitutive relationship of soft tissue.

数学家欧拉(Euler)在研究弹性软棒在外力作用下稳态问题时,根据最小势能原理提出了弹性能量以及弹性线的非线性本构关系。此后,数学家Mumford将欧拉弹性能引入到计算机视觉领域。其核心思想是同时用长度和曲率两个几何量刻画软木棒的形变过程,即考虑下面的能量:Mathematician Euler proposed the nonlinear constitutive relation of elastic energy and elastic line according to the principle of minimum potential energy when he studied the steady-state problem of elastic soft rod under the action of external force. Since then, mathematician Mumford introduced Euler elastic energy to the field of computer vision. The core idea is to describe the deformation process of cork sticks with two geometric quantities of length and curvature at the same time, that is, consider the following energy:

E(l)=∫l(a+bκ2(x))ds,E(l)=∫ l (a+bκ 2 (x))ds,

其中a,b是两个正参数,κ是曲线l在位置x处的曲率,ds是弧长。where a, b are two positive parameters, κ is the curvature of curve l at position x, and ds is the arc length.

如图1所示,本发明非线性的质点弹簧软组织形变仿真方法,包括以下步骤:As shown in Figure 1, the nonlinear mass spring soft tissue deformation simulation method of the present invention comprises the following steps:

一.三维网格剖分1. 3D mesh division

采集软组织的CT/MR等医学影像数据,对所需研究的器官进行分割,并利用Delaunay三角面片网格剖分得到三维面网格数据。以肝脏为例,图2给出了肝脏三角网格剖分可视化结果,肝脏表面由点,边和三角面片组合形成。Collect medical image data such as CT/MR of soft tissue, segment the organs to be studied, and use Delaunay triangular mesh to obtain 3D surface mesh data. Taking the liver as an example, Fig. 2 shows the visualization result of triangulation of the liver. The liver surface is formed by the combination of points, edges and triangular patches.

在三维网格剖分的基础上,以网格节点为质点,节点之间相连接的边为由结构弹簧和阻尼弹簧并联组成的弹簧组件,参考图3所示,从而形成软组织形变初始模型。图3是弹簧组件示意图,xi,xj是两个相连的质点。On the basis of 3D meshing, the mesh nodes are used as mass points, and the edges connected between nodes are spring components composed of structural springs and damping springs in parallel, as shown in Figure 3, to form the initial soft tissue deformation model. Figure 3 is a schematic diagram of the spring assembly, x i , x j are two connected mass points.

二.碰撞检测2. Collision detection

检测手术器械和软组织之间是否发生碰撞,若发生碰撞则认为软组织受到力的作用开始发生形变进而执行下一步,反之则输出仿真结果结束整个流程。Detect whether there is a collision between the surgical instrument and the soft tissue. If there is a collision, it is considered that the soft tissue is deformed by the force and then executes the next step. Otherwise, the simulation result is output to end the whole process.

三.遍历所有的质点,计算质点受力3. Traverse all the particles and calculate the force on the particles

假定一共有n个质点,对于任意一个质点xi,i=1,…,n,其质量为mi∈R和作用在该点的合力fi∈R3。软组织表面上的质点满足如下动力学方程,即牛顿第二定律方程:Assuming that there are a total of n particles, for any particle x i , i=1,...,n, its mass is mi ∈ R and the resultant force f i R 3 acting on this point. Particles on the surface of soft tissue satisfy the following kinetic equation, which is Newton's second law equation:

Figure BDA0002401579300000041
Figure BDA0002401579300000041

其中M是3n×3n的对角质量矩阵,

Figure BDA0002401579300000042
是位移关于时间的二阶导数,即质点的加速度。where M is a 3n × 3n diagonal mass matrix,
Figure BDA0002401579300000042
is the second derivative of the displacement with respect to time, the acceleration of the particle.

1.计算质点所受外力1. Calculate the external force on the particle

质点所受外力包括质点重力和人为施加的外力,即The external force on the particle includes the gravity of the particle and the external force exerted by man, namely

Fi ext=mig+fu,F i ext =m i g+ fu ,

其中,g=9.8N/kg是标准重力加速度,fu为人为施加的外力。Among them, g=9.8N/kg is the standard gravitational acceleration, and f u is the artificially applied external force.

2.计算质点所受阻尼力2. Calculate the damping force on the particle

由于在变形过程中会发生能量耗散,所以用弹簧阻尼力表示粘性力,质点xi和xj之间的阻尼力

Figure BDA0002401579300000043
为:Since energy dissipation occurs during deformation, the viscous force is represented by the spring damping force, the damping force between the mass points x i and x j
Figure BDA0002401579300000043
for:

Figure BDA0002401579300000051
Figure BDA0002401579300000051

其中,

Figure BDA0002401579300000052
弹簧的阻尼常数,vi表示质点i的速度。in,
Figure BDA0002401579300000052
The damping constant of the spring, v i represents the velocity of particle i.

3.计算质点所受弹簧力3. Calculate the spring force on the mass

Figure BDA0002401579300000053
Figure BDA0002401579300000053

其中,

Figure BDA0002401579300000054
弹簧的弹簧系数,l0和l′分别代表弹簧的原始长度和形变后的弹簧长度。in,
Figure BDA0002401579300000054
The spring coefficients of the spring, l 0 and l' represent the original length of the spring and the deformed spring length, respectively.

本发明运用欧拉弹性能,提出了新的计算两个质点xi,xj之间的弹簧长度l(i,j)的公式,如下:The present invention uses Euler elastic energy to propose a new formula for calculating the spring length l (i,j) between two mass points x i , x j , as follows:

Figure BDA0002401579300000055
Figure BDA0002401579300000055

其中,κ(i,j)用质点xi,xj的平均曲率

Figure BDA0002401579300000056
的平均值来估计,即where κ (i,j) is the average curvature of the particles x i , x j
Figure BDA0002401579300000056
to estimate the average value of

Figure BDA0002401579300000057
Figure BDA0002401579300000057

这里不同于原始的欧拉弹性能量,本发明中,用曲面上的曲率代替了曲线的曲率进行计算,简化了计算复杂度。对于描述光滑曲面的三角网格,有很多估算其顶点法向量和曲率的方法。Unlike the original Euler elastic energy, in the present invention, the curvature on the curved surface is used instead of the curvature of the curve for calculation, which simplifies the calculation complexity. There are many ways to estimate vertex normals and curvatures for triangular meshes that describe smooth surfaces.

本发明使用下面方法计算质点法向量和平均曲率。The present invention uses the following method to calculate the particle normal vector and the mean curvature.

·估计质点法向量:Estimate the particle normal vector:

将质点xi以及相邻的质点组成的三角面片组成的区域认为是xi的‘一邻域’,如图4表示三角网格模型中以xi为顶点的‘一邻域’。The area composed of the triangular patches composed of the particle xi and the adjacent particles is regarded as the 'one neighborhood' of xi , as shown in Figure 4, the 'one neighborhood' with xi as the vertex in the triangular mesh model.

Figure BDA0002401579300000058
表示质点
Figure BDA0002401579300000059
的法向量,
Figure BDA00024015793000000510
为质点xi周围的三角面片集合,
Figure BDA00024015793000000511
为质点xi周围的三角面片法向量的集合,|xi|是xi周围相邻质点的总数。质点xi的法向量用为其周围三角面片法向量的加权和来估计:make
Figure BDA0002401579300000058
Represents a particle
Figure BDA0002401579300000059
the normal vector of ,
Figure BDA00024015793000000510
is the set of triangular patches around the particle xi ,
Figure BDA00024015793000000511
is the set of triangular patch normal vectors around the particle xi , and | xi | is the total number of adjacent particles around xi . The normal vector of a particle x i is estimated as a weighted sum of the normals of its surrounding triangular patches:

Figure BDA0002401579300000061
Figure BDA0002401579300000061

其中,

Figure BDA0002401579300000062
是xi到xj的边矢量,
Figure BDA0002401579300000063
为叉积。in,
Figure BDA0002401579300000062
is the edge vector from x i to x j ,
Figure BDA0002401579300000063
is the cross product.

·估计质点平均曲率:Estimate particle mean curvature:

本发明中,使用Matllieu-Desbrun提出的基于平均曲率流形的离散化方法来估计质点xi的平均曲率

Figure BDA0002401579300000064
In the present invention, the discretization method based on the mean curvature manifold proposed by Matllieu-Desbrun is used to estimate the mean curvature of the particle xi
Figure BDA0002401579300000064

Figure BDA0002401579300000065
Figure BDA0002401579300000065

其中,

Figure BDA0002401579300000066
为任意质点xi关于其坐标(x,y,z)的梯度算子,A为质点xi一邻域内所有三角面片的总面积,αjj的定义如图5所示,αjj分别为两个夹角,为两个相邻三角面片的对角。in,
Figure BDA0002401579300000066
is the gradient operator of any particle x i with respect to its coordinates (x, y, z), A is the total area of all triangular patches in the neighborhood of the particle x i , α j , β j are defined as shown in Figure 5, α j , β j are two included angles respectively, which are the opposite angles of two adjacent triangular patches.

四.计算软组织表面质点的形变值4. Calculate the deformation value of the soft tissue surface particles

根据上述1,2,3计算质点所受周围相邻质点的合力,并利用软组织表面质点的动力学方程得到软组织表面质点的形变值。According to the above 1, 2, 3, the resultant force of the surrounding adjacent particles on the particle is calculated, and the deformation value of the particle on the surface of the soft tissue is obtained by using the dynamic equation of the particle on the surface of the soft tissue.

其中,软组织表面质点的动力学方程为:Among them, the dynamic equation of the soft tissue surface particles is:

Figure BDA0002401579300000067
Figure BDA0002401579300000067

其中,

Figure BDA0002401579300000068
质点xi所受合力为fi=fi ext-fi s-fi d.in,
Figure BDA0002401579300000068
The resultant force on the particle x i is f i =f i ext -f i s -f i d .

fi d为质点xi所受阻尼合力,fi s为质点xi所受弹簧合力;f i d is the resultant damping force on the mass point xi , and f i s is the resultant spring force on the mass point xi ;

根据如下显式框架Verlet积分更新质点位置和速度,得到软组织表面质点的形变状态,即形变值。The particle position and velocity are updated according to the following explicit framework Verlet integration, and the deformation state of the soft tissue surface particle is obtained, that is, the deformation value.

Figure BDA0002401579300000071
Figure BDA0002401579300000071

将xi(t+Δt)赋值给xi(t),vi(t+Δt)赋值给vi(t)判断是否碰撞。Assign x i (t+Δt) to x i (t), and v i (t+Δt) to vi ( t) to determine whether there is a collision.

式中,xi(t+Δt)表示t+Δt时刻的质点的位置,vi(t+Δt)表示t+Δt时刻的质点的速度,xi(t),vi(t)分别表示t时刻的质点的位置、速度。In the formula, x i (t+Δt) represents the position of the particle at time t+Δt, v i (t+Δt) represents the velocity of the particle at time t+Δt, and xi (t) and vi ( t) represent respectively The position and velocity of the particle at time t.

五.视觉渲染5. Visual rendering

利用OpenGL对实时更新的数据进行视觉渲染,给出可视化结果以及运动仿真示意图,以肝脏为例,如图6所示。Use OpenGL to visually render the real-time updated data, and give the visualization results and motion simulation diagrams, taking the liver as an example, as shown in Figure 6.

六.系统应力-应变分析6. System stress-strain analysis

以球体和肝脏为例,图7-8和图9-10给出不同参数的情况下力和位移的非线性性关系。针对不同的a,b下,测试了在外力下,球面和肝脏的形变关系,并进行了比较。从结果可见,随着a,b增大,系统的非线性变强。Taking a sphere and a liver as examples, Figures 7-8 and 9-10 show the nonlinear relationship between force and displacement for different parameters. For different a and b, the deformation relationship between the spherical surface and the liver under external force was tested and compared. It can be seen from the results that as a and b increase, the nonlinearity of the system becomes stronger.

需要说明的是,对于软组织的非线性性,还可以根据软组织的应力-应变关系设置变形过程中的弹簧系数,但是该方法的前提是要先通过实验测试得到真实的软组织的应力-应变关系,这是复杂并且有成本代价的,尤其是对于人体软组织的仿真。It should be noted that, for the nonlinearity of soft tissue, the spring coefficient in the deformation process can also be set according to the stress-strain relationship of the soft tissue, but the premise of this method is to obtain the real stress-strain relationship of the soft tissue through experimental tests. This is complex and costly, especially for the simulation of human soft tissue.

相对于现有技术,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

1.通过引入欧拉弹性实现弹簧非线性应变,改进了现有质点弹簧系统模拟软组织运动的局限性,解决了传统质点弹簧模型中弹簧弹力与弹簧形变量即应力-应变之间是线性关系,无法满足实际仿真人体组织器官的要求的问题。1. The nonlinear strain of the spring is realized by introducing Euler elasticity, which improves the limitation of the existing mass-spring system in simulating soft tissue motion, and solves the linear relationship between the spring elastic force and the spring deformation variable in the traditional mass-spring model, that is, stress-strain. The problem that it cannot meet the requirements of the actual simulation of human tissues and organs.

2.由于质点弹簧系统中弹簧具有弹性,其形变不仅与弹簧的长度有关,也与弹簧的弯曲程度有关,曲率是刻画弹簧弯曲程度的几何量。因此,本发明提出利用弹簧长度和曲率描述弹簧形变的方法,能更准确的模拟软组织形变过程。2. Since the spring in the mass spring system is elastic, its deformation is not only related to the length of the spring, but also to the bending degree of the spring. The curvature is a geometric quantity that describes the bending degree of the spring. Therefore, the present invention proposes a method for describing the spring deformation by using the spring length and curvature, which can more accurately simulate the soft tissue deformation process.

本发明将欧拉弹性能量用于刻画弹簧形变,即弹簧的形变由弹簧长度和曲率同时控制,由于曲率是长度的非线性函数,从而用欧拉弹性计算得到的弹力与弹簧的长度的变化量具有非线性关系。In the present invention, Euler elastic energy is used to describe the spring deformation, that is, the deformation of the spring is controlled by the spring length and the curvature at the same time. Since the curvature is a nonlinear function of the length, the elastic force calculated by Euler elasticity and the spring length change amount has a nonlinear relationship.

本发明在表面网格的一邻域内估计曲面上的平均曲率,可以有效降低计算代价,并适用于并行计算,可以保证在真实模拟中实现实时仿真。The invention estimates the average curvature on the curved surface in a neighborhood of the surface grid, which can effectively reduce the calculation cost, is suitable for parallel computing, and can ensure real-time simulation in real simulation.

本发明提出的具有非线性应力-应变关系的质点弹簧模型,可以用于模拟如肝脏、肾脏等具有准不可压缩性、非线性和粘弹性等材料性质的软组织形变。The mass-spring model with nonlinear stress-strain relationship proposed in the present invention can be used to simulate the deformation of soft tissues with material properties such as quasi-incompressibility, nonlinearity and viscoelasticity, such as liver and kidney.

以上所述仅是本发明的优选实施方式,应当指出的是,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be noted that, for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. These improvements and Retouching should also be regarded as the protection scope of the present invention.

Claims (1)

1.一种非线性的质点弹簧软组织形变仿真方法,其特征在于,包括步骤:1. a nonlinear mass spring soft tissue deformation simulation method, is characterized in that, comprises the steps: 采集软组织的医学影像数据,对器官图像分割,利用Delaunay三角面片网格剖分得到三维面网格数据;Collect medical image data of soft tissue, segment the organ image, and obtain 3D surface mesh data by Delaunay triangular mesh division; 在三维网格剖分的基础上,以网格节点为质点,节点之间连接的边为由结构弹簧和阻尼弹簧并联组成的弹簧组件,形成质点弹簧软组织模型;On the basis of 3D mesh division, the mesh nodes are used as mass points, and the edges connected between nodes are spring components composed of structural springs and damping springs in parallel to form a mass-spring soft tissue model; 检测手术器械和质点弹簧软组织模型之间是否发生碰撞,若发生碰撞则计算各质点受力,更新质点位置与质点速度,计算质点弹簧软组织模型表面质点的形变值,直至手术器械和质点弹簧软组织模型之间不发生碰撞为止;Detect whether there is a collision between the surgical instrument and the mass spring soft tissue model. If there is a collision, calculate the force of each mass point, update the mass position and mass velocity, and calculate the deformation value of the mass point on the surface of the mass spring soft tissue model until the surgical instrument and the mass spring soft tissue model. until there is no collision between them; 输出仿真结果并进行视觉渲染后结束整个流程;End the whole process after outputting the simulation results and visual rendering; 根据如下显式框架Verlet积分更新质点位置和质点速度,得到质点弹簧软组织模型表面质点xi的形变值;Update the particle position and particle velocity according to the following explicit frame Verlet integration, and obtain the deformation value of the particle xi on the surface of the particle spring soft tissue model;
Figure FDA0003639042260000011
Figure FDA0003639042260000011
fi=fi ext-fi s-fi df i =fi ext -fi s -fi d , fi ext=mig+fuf i ext =m i g+ fu ,
Figure FDA0003639042260000012
Figure FDA0003639042260000012
Figure FDA0003639042260000013
Figure FDA0003639042260000013
Figure FDA0003639042260000014
Figure FDA0003639042260000014
式中,mi为质点xi的质量,fi为质点xi所受合力;fi ext为质点xi所受外力包括质点重力mig和人为施加的外力fu;fi d为质点xi所受阻尼合力,fi s为质点xi所受弹簧合力;
Figure FDA0003639042260000015
为质点xi和xj之间的阻尼力,
Figure FDA0003639042260000016
弹簧的阻尼系数,vi表示质点xi的速度;
Figure FDA0003639042260000017
为质点xi和xj之间的弹簧力,
Figure FDA0003639042260000018
弹簧的弹簧系数,l0和l′分别代表弹簧的原始长度和形变后的弹簧长度;
In the formula, m i is the mass of the particle x i , f i is the resultant force on the particle x i ; f i ext is the external force on the particle x i , including the particle gravity m i g and the artificially applied external force f u ; f i d is The damping resultant force on the particle xi, f i s is the spring resultant force on the particle xi ;
Figure FDA0003639042260000015
is the damping force between particles x i and x j ,
Figure FDA0003639042260000016
The damping coefficient of the spring, vi represents the velocity of the particle xi ;
Figure FDA0003639042260000017
is the spring force between the particles x i and x j ,
Figure FDA0003639042260000018
The spring coefficient of the spring, l 0 and l' represent the original length of the spring and the deformed spring length, respectively;
两个质点xi,xj之间的弹簧长度l(i,j)的公式如下:The formula for the spring length l (i,j) between two mass points x i , x j is as follows:
Figure FDA0003639042260000021
Figure FDA0003639042260000021
其中,a,b是两个正参数,曲率κ(i,j)用质点xi,xj的平均曲率
Figure FDA0003639042260000022
的平均值来估计;
where a, b are two positive parameters, and the curvature κ (i, j) is the average curvature of the particles x i , x j
Figure FDA0003639042260000022
to estimate the average;
使用Matllieu-Desbrun提出的基于平均曲率流形的离散化方法来估计质点xi的平均曲率
Figure FDA0003639042260000023
Use the Matllieu-Desbrun discretization method based on the mean curvature manifold to estimate the mean curvature of the particle x i
Figure FDA0003639042260000023
Figure FDA0003639042260000024
Figure FDA0003639042260000024
其中,
Figure FDA0003639042260000025
为任意质点xi关于其坐标(x,y,z)的梯度算子,A为质点xi一邻域内所有三角面片的总面积,αjj分别为两个夹角,为质点xi一邻域内两个相邻三角面片的对角;
in,
Figure FDA0003639042260000025
is the gradient operator of any particle x i with respect to its coordinates (x, y, z), A is the total area of all triangular patches in the neighborhood of the particle x i , α j , β j are the two included angles respectively, which are the particle points The diagonal of two adjacent triangular patches in the neighborhood of x i ;
Figure FDA0003639042260000026
Figure FDA0003639042260000026
其中,
Figure FDA0003639042260000027
是xi到xj的边矢量,
Figure FDA0003639042260000028
为叉积,Ni是估计的质点xi的法向量,
Figure FDA0003639042260000029
为质点xi周围的三角面片法向量,|xi|是xi周围相邻质点的总数。
in,
Figure FDA0003639042260000027
is the edge vector from x i to x j ,
Figure FDA0003639042260000028
is the cross product, N i is the estimated normal vector of the particle xi ,
Figure FDA0003639042260000029
is the normal vector of the triangular patch around the particle xi , and | xi | is the total number of adjacent particles around xi .
CN202010148426.7A 2020-03-05 2020-03-05 A nonlinear simulation method of mass spring soft tissue deformation Active CN111488670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010148426.7A CN111488670B (en) 2020-03-05 2020-03-05 A nonlinear simulation method of mass spring soft tissue deformation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010148426.7A CN111488670B (en) 2020-03-05 2020-03-05 A nonlinear simulation method of mass spring soft tissue deformation

Publications (2)

Publication Number Publication Date
CN111488670A CN111488670A (en) 2020-08-04
CN111488670B true CN111488670B (en) 2022-07-15

Family

ID=71812409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010148426.7A Active CN111488670B (en) 2020-03-05 2020-03-05 A nonlinear simulation method of mass spring soft tissue deformation

Country Status (1)

Country Link
CN (1) CN111488670B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113409443B (en) * 2021-05-19 2022-07-12 南昌大学 Soft tissue modeling method based on position constraint and nonlinear spring
CN113435098B (en) * 2021-06-30 2022-11-15 西南交通大学 A method for accurate simulation of the shape of fabric-like thin-layer soft materials after deformation
CN113962979A (en) * 2021-10-29 2022-01-21 温州大学 Cloth collision simulation enhancement presentation method and device based on depth image
CN115019877B (en) * 2022-08-05 2022-11-04 上海华模科技有限公司 Method and device for modeling and updating biological tissue model and storage medium
CN118395751B (en) * 2024-06-27 2024-08-30 浙江凌迪数字科技有限公司 Simulation method of flexible body, electronic device, storage medium and computer program product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298794A (en) * 2011-09-14 2011-12-28 浙江大学 Real-time water drop simulation method based on surface grids
CN103366054B (en) * 2013-06-28 2016-08-31 北京航空航天大学 A kind of clothes seam based on Mass-spring Model processes and fold Enhancement Method
CN110046406B (en) * 2019-03-28 2022-07-05 天津大学 A Soft Tissue Simulation Method with Force Feedback Structure in Anatomy Teaching System

Also Published As

Publication number Publication date
CN111488670A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN111488670B (en) A nonlinear simulation method of mass spring soft tissue deformation
CN102044086B (en) Soft tissue deformation simulation method
Lloyd et al. Identification of spring parameters for deformable object simulation
Duan et al. Volume preserved mass–spring model with novel constraints for soft tissue deformation
Faure et al. Sparse meshless models of complex deformable solids
CN103400023B (en) Soft Tissue Deformation Simulation Method
CN104679958B (en) The method of ball B-spline tricot deformation emulating based on spring model
CN110289104B (en) Soft tissue compression and deformation recovery simulation method
Sigüenza et al. Validation of an immersed thick boundary method for simulating fluid–structure interactions of deformable membranes
US20190108300A1 (en) Methods for realistic and efficient simulation of moving objects
CN109344500A (en) An Inelastic Mass Spring Model and Soft Tissue Deformation Simulation Method Based on Improved Euler Algorithm
Apostolatos et al. Systematic evaluation of the interface description for fluid–structure interaction simulations using the isogeometric mortar-based mapping
CN106021644A (en) A method for determining a mixed dimensional model interface constraint equation coefficient
CN111341449B (en) Simulation method for virtual vascular intervention operation training
Liu et al. Real-time simulation of virtual palpation system
CN115455753A (en) A collision simulation method and device between soft tissue and rigid ground
CN108710735A (en) A kind of mesh free soft tissue deformation analogy method of real-time, interactive
CN103699716A (en) Virtual organ display method driven by personalized three-dimensional medical image
CN108428256A (en) A kind of soft tissue deformation simulation method of the automated adaptive mesh refinement based on pliability
CN111339654A (en) Soft tissue pressing and deformation recovery method in virtual surgery system
Suryawanshi et al. A novel mass spring model for simulating deformable objects
Marinkovic et al. Towards real-time simulation of deformable structures by means of co-rotational finite element formulation
CN118917976A (en) First-aid effect analysis method and system based on dummy
CN118364679A (en) A method and device for simulating dynamic deformation of an extended position
CN106570341A (en) Soft tissue stress deformable model modeling method based on mesh-free radial base data fitting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant