CN111488670B - Nonlinear mass point spring soft tissue deformation simulation method - Google Patents

Nonlinear mass point spring soft tissue deformation simulation method 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
spring
particle
soft tissue
mass
mass point
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

The invention discloses a nonlinear mass spring soft tissue deformation simulation method, which comprises the following steps: acquiring medical image data of soft tissues, segmenting an organ image, and obtaining three-dimensional mesh data by utilizing Delaunay triangular patch mesh subdivision; on the basis of three-dimensional mesh generation, taking mesh nodes as mass points, wherein the sides connected between the nodes are spring components formed by connecting structural springs and damping springs in parallel to form a mass point spring soft tissue model, judging whether a surgical instrument and the mass point spring soft tissue model collide with each other, if so, calculating the stress of each mass point, updating the position and the speed of the mass point, and calculating the deformation value of the mass point on the surface of the mass point spring soft tissue model until no collision occurs between the surgical instrument and the mass point spring soft tissue model; and then outputting a simulation result, performing visual rendering, and ending the whole process. The invention can simulate the deformation of soft tissues more accurately in real time.

Description

Nonlinear mass point spring soft tissue deformation simulation method
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
Simulation of physical movement of organs and tissues is a core problem in the fields of anatomical teaching, surgical simulation, surgical training and the like. Human tissue and organs generally have soft tissue characteristics, which are usually expressed by material properties such as non-uniformity, anisotropy, quasi-incompressibility, nonlinearity, plasticity, viscoelasticity and the like, and the accurate and real-time simulation of the deformation process of the soft tissue is a very challenging research subject. The mass spring model is one of more models applied to the aspect of human soft tissue modeling, and most of the existing interactive soft tissue deformation simulation models based on the mass spring model simplify the constitutive relation of stress-strain of soft tissue into a linear relation. The method is low in computation complexity, easy to discretize time and further iterate computation, and low in computation accuracy.
Due to the requirement of real-time simulation calculation, the existing method mostly adopts a linear elasticity theory to describe the deformation of the soft tissue, namely, an online hysteresis relation between a stress component and infinitesimal strain is assumed. The linear elastic model has the advantages that the global stiffness matrix is constant in the whole simulation process, and can be pre-calculated, inverted and stored, so that the calculation efficiency is improved. In fact, biological soft tissue is a non-linear material that can be approximated only with small deformations. In addition, the large deformation, the large rotation and the large displacement in the soft tissue deformation can generate geometric nonlinearity, which is not solved by the classical linear elasticity theory.
In a word, the existing interactive simulation system based on the mass-spring model simplifies the soft tissue deformation into the linear elastic model in order to ensure that the model is solved in real time, so that the calculation efficiency is improved. The assumption of using linear elasticity as the basic model, while reducing the computational effort at run-time, limits the accuracy of modeling physical materials. More importantly, the linear elastic model can only approximate the soft tissue deformation under the conditions of small displacement and small deformation. However, biological soft tissue has material non-linear characteristics, and has geometric non-linear characteristics in the case where the amount of deformation is large.
Disclosure of Invention
The invention aims to provide a nonlinear mass spring soft tissue deformation simulation method aiming at the technical defects in the prior art, wherein Euler elasticity is used for describing spring deformation in a mass spring model so as to represent the nonlinearity of soft tissue, namely Euler elastic energy is used for describing the spring deformation in the mass spring model, and then the spring length is calculated so as to obtain a stress-strain relation meeting the nonlinearity, so that the constitutive relation of the nonlinearity of the soft tissue is represented.
The technical scheme adopted for realizing the purpose of the invention is as follows:
a nonlinear mass spring soft tissue deformation simulation method comprises the following steps:
acquiring medical image data of soft tissues, segmenting an organ image, and obtaining three-dimensional mesh data by utilizing Delaunay triangular patch mesh subdivision;
on the basis of three-dimensional mesh generation, mesh nodes are used as mass points, and edges connected between the nodes are spring components formed by connecting structural springs and damping springs in parallel to form a mass point spring soft tissue model;
detecting whether a collision occurs between the surgical instrument and the mass spring soft tissue model, if the collision occurs, calculating the stress of each mass, updating the position and the speed of the mass, and calculating the deformation value of the mass on the surface of the mass spring soft tissue model until the surgical instrument and the mass spring soft tissue model do not collide;
and outputting a simulation result, and finishing the whole process after performing visual rendering.
The invention considers the nonlinearity of biological soft tissue and can simulate the deformation of the soft tissue more accurately in real time. The nonlinear mass point spring soft tissue deformation simulation method provided by the invention is closer to the real soft tissue biomechanics characteristic, and can effectively ensure the simulation precision and the calculation complexity.
Drawings
FIG. 1 is a flow chart of a method for simulating non-linear mass spring soft tissue deformation;
FIG. 2 is a diagram of a liver triangulation visualization result;
FIG. 3 is a schematic view of a spring assembly between two mass points;
FIG. 4 is a schematic diagram of a neighborhood of a particle;
FIG. 5 is a schematic diagram of the parameter angles for calculating the total area of all triangular patches in a particle neighborhood;
FIG. 6 is a visualization result after visual rendering and a schematic diagram of motion simulation (the upper layer is in a static state, and the lower layer is in a motion state);
FIGS. 7-8 are graphs of the effect on stress-strain nonlinearity for the spheroid, liver parameter a, respectively:
fig. 9-10 are graphs of the effect on stress-strain nonlinearity for the sphere, liver parameter b, respectively.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
According to the invention, Euler elasticity is used for describing spring deformation in the mass spring model so as to represent the nonlinearity of soft tissue, namely Euler elasticity energy is used for describing the spring deformation in the mass spring model, and the calculated spring length can obtain a stress-strain relation meeting the nonlinearity so as to represent the constitutive relation of the nonlinearity of the soft tissue.
The mathematician Euler (Euler) develops the nonlinear constitutive relation of elastic energy and elastic lines according to the principle of minimum potential energy when studying the steady-state problem of the elastic soft rod under the action of external force. Thereafter, the mathematician Mumford introduced euler elastic energy into the field of computer vision. The core idea is that the deformation process of the cork stick is described by two geometric quantities of length and curvature, namely the following energy is considered:
E(l)=∫l(a+bκ2(x))ds,
where a, b are two positive parameters, κ is the curvature of curve l at position x, and ds is the arc length.
As shown in FIG. 1, the nonlinear mass spring soft tissue deformation simulation method of the invention comprises the following steps:
three-dimensional mesh generation
And acquiring medical image data such as CT/MR of soft tissue, segmenting the organ to be researched, and obtaining three-dimensional mesh data by utilizing Delaunay triangular patch mesh subdivision. Taking a liver as an example, fig. 2 shows a liver triangulation visualization result, and a liver surface is formed by combining points, edges and triangular patches.
On the basis of three-dimensional mesh generation, mesh nodes are taken as mass points, edges connected between the nodes are spring assemblies formed by connecting structural springs and damping springs in parallel, and the initial model of soft tissue deformation is formed by referring to the graph shown in figure 3. FIG. 3 is a schematic view of a spring assembly, xi,xjAre two connected particles.
Second, collision detection
And detecting whether the surgical instrument collides with the soft tissue, if so, determining that the soft tissue is deformed under the action of force, and executing the next step, otherwise, outputting a simulation result and finishing the whole process.
Thirdly, all the particles are traversed, and the particle stress is calculated
Assume a total of n particles, for any particle xi1, …, n, with mass miE R and the resultant force f acting at that pointi∈R3. The particles on the soft tissue surface satisfy the following kinetic equation, newton's second law equation:
Figure BDA0002401579300000041
where M is a 3n x 3n diagonal quality matrix,
Figure BDA0002401579300000042
is the second derivative of displacement with respect to time, i.e. the acceleration of the particle.
1. External force applied to the calculated point
The external force applied to the mass point includes the gravity of the mass point and the artificially applied external force, i.e.
Fi ext=mig+fu,
Wherein g is 9.8N/kg, f is standard gravitational accelerationuIs an artificially applied external force.
2. Computing damping force borne by particles
Since energy dissipation occurs during deformation, the viscous force is represented by the spring damping force, particle xiAnd xjDamping force therebetween
Figure BDA0002401579300000043
Comprises the following steps:
Figure BDA0002401579300000051
wherein,
Figure BDA0002401579300000052
damping constant, v, of the springiRepresenting the velocity of the particle i.
3. Calculating the spring force borne by the particles
Figure BDA0002401579300000053
Wherein,
Figure BDA0002401579300000054
spring rate of spring, /)0And l' represent the original length of the spring and the deformed spring length, respectively.
The invention uses Euler elastic energy to put forwardNew calculation of two particles xi,xjLength l of spring in between(i,j)The formula (c) is as follows:
Figure BDA0002401579300000055
wherein, κ(i,j)Using mass point xi,xjAverage curvature of
Figure BDA0002401579300000056
Is estimated from the mean value of (i.e. of)
Figure BDA0002401579300000057
Unlike the original Euler elastic energy, the curvature on the curved surface is used for replacing the curvature of the curved line for calculation, so that the calculation complexity is simplified. For a triangular mesh describing a smooth surface, there are many methods to estimate its vertex normal vector and curvature.
The invention calculates the particle normal vector and the average curvature using the following method.
Estimate the particle normal vector:
particle xiAnd the region of the triangular patch of adjacent particles is considered xiA neighborhood of (A), as in FIG. 4, x in the triangular mesh modeliIs a 'neighborhood' of the vertex.
Order to
Figure BDA0002401579300000058
Representing particles
Figure BDA0002401579300000059
The normal vector of (a) is,
Figure BDA00024015793000000510
is a particle xiThe set of surrounding triangular patches,
Figure BDA00024015793000000511
is a particle xiSet of surrounding triangular patches normal vectors, | xiIs xiThe total number of surrounding adjacent particles. Particle xiIs estimated as a weighted sum of the normal vectors of its surrounding triangular patches:
Figure BDA0002401579300000061
wherein,
Figure BDA0002401579300000062
is xiTo xjThe edge vector of (a) is calculated,
Figure BDA0002401579300000063
is the cross product.
Estimate the mean curvature of the particles:
in the present invention, the mean curvature manifold-based discretization method proposed by Matllieu-Desbrun is used to estimate the particle xiAverage curvature of
Figure BDA0002401579300000064
Figure BDA0002401579300000065
Wherein,
Figure BDA0002401579300000066
is any particle xiWith respect to the gradient operator of its coordinates (x, y, z), A is the particle xiTotal area of all triangular patches in a neighborhood, αjjIs defined as shown in FIG. 5, αjjTwo included angles are respectively formed, and the included angles are opposite angles of two adjacent triangular surface patches.
Fourthly, calculating the deformation value of the particles on the surface of the soft tissue
And (3) calculating the resultant force of the surrounding adjacent particles borne by the particles according to the above 1,2 and 3, and obtaining the deformation value of the particles on the surface of the soft tissue by using the kinetic equation of the particles on the surface of the soft tissue.
Wherein, the kinetic equation of the particle on the soft tissue surface is as follows:
Figure BDA0002401579300000067
wherein,
Figure BDA0002401579300000068
particle xiSubject to a resultant force fi=fi ext-fi s-fi d.
fi dIs a particle xiResultant force of the applied damping, fi sIs a particle xiThe resultant force of the stressed springs;
the particle position and velocity are updated according to the following explicit framework Verlet integral to obtain the deformation state, i.e. the deformation value, of the particles on the soft tissue surface.
Figure BDA0002401579300000071
X is to bei(t + Δ t) is assigned to xi(t),vi(t + Δ t) is assigned to vi(t) judging whether collision occurs.
In the formula, xi(t + Δ t) represents the position of the particle at time t + Δ t, vi(t + Δ t) represents the velocity of the particle at time t + Δ t, xi(t),vi(t) represents the position and velocity of the particle at time t, respectively.
Visual rendering
The OpenGL is used to perform visual rendering on the real-time updated data, and a visualization result and a motion simulation diagram, taking a liver as an example, are given as shown in fig. 6.
Sixth, system stress-strain analysis
Taking a sphere and a liver as an example, figures 7-8 and 9-10 show the non-linear relationship of force and displacement for different parameters. For different a and b conditions, the deformation relationship between the spherical surface and the liver under external force is tested and compared. From the results, it can be seen that as a, b increases, the non-linearity of the system becomes stronger.
It should be noted that, for the non-linearity of the soft tissue, the spring coefficient in the deformation process may also be set according to the stress-strain relationship of the soft tissue, but the method has the premise that the real stress-strain relationship of the soft tissue is obtained through experimental tests, which is complex and costly, especially for the simulation of the human soft tissue.
Compared with the prior art, the invention has the following advantages:
1. the non-linear strain of the spring is realized by introducing Euler elasticity, the limitation of the existing mass point spring system for simulating soft tissue motion is improved, and the problem that the requirement of actual simulation of human tissue and organs cannot be met because the spring elasticity and the spring deformation quantity, namely stress-strain, in the traditional mass point spring model are in a linear relationship is solved.
2. Because of the elasticity of the spring in the mass spring system, the deformation is not only related to the length of the spring, but also to the degree of bending of the spring, and the curvature is a geometric quantity describing the degree of bending of the spring. Therefore, the method for describing the spring deformation by using the length and the curvature of the spring can simulate the soft tissue deformation process more accurately.
The invention uses the Euler elastic energy to depict the spring deformation, namely the spring deformation is controlled by the length and the curvature of the spring at the same time, and the curvature is a nonlinear function of the length, so that the elastic force obtained by calculation of the Euler elastic energy has a nonlinear relation with the length variation of the spring.
The method estimates the average curvature on the curved surface in a neighborhood of the surface grid, can effectively reduce the calculation cost, is suitable for parallel calculation, and can ensure the realization of real-time simulation in real simulation.
The mass point spring model with the nonlinear stress-strain relation can be used for simulating the deformation of soft tissues with the material properties of quasi-incompressibility, nonlinearity, viscoelasticity and the like, such as liver, kidney and the like.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (1)

1. A nonlinear mass spring soft tissue deformation simulation method is characterized by comprising the following steps:
acquiring medical image data of soft tissues, segmenting an organ image, and obtaining three-dimensional mesh data by utilizing Delaunay triangular patch mesh subdivision;
on the basis of three-dimensional mesh generation, mesh nodes are used as mass points, and edges connected between the nodes are spring components formed by connecting structural springs and damping springs in parallel to form a mass point spring soft tissue model;
detecting whether a collision occurs between the surgical instrument and the mass spring soft tissue model, if the collision occurs, calculating the stress of each mass, updating the position and the speed of the mass, and calculating the deformation value of the mass on the surface of the mass spring soft tissue model until the surgical instrument and the mass spring soft tissue model do not collide;
outputting a simulation result, performing visual rendering, and ending the whole process;
and updating the position and the velocity of the particle according to the following explicit framework Verlet integral to obtain the particle x on the surface of the particle spring soft tissue modeliThe deformation value of (a);
Figure FDA0003639042260000011
fi=fi ext-fi s-fi d
fi ext=mig+fu
Figure FDA0003639042260000012
Figure FDA0003639042260000013
Figure FDA0003639042260000014
in the formula, miIs a particle xiMass of (f)iIs particle xiThe resultant force is exerted; f. ofi extIs particle xiThe external force includes mass point gravity mig and an artificially applied external force fu;fi dIs a particle xiResultant force of the applied damping, fi sIs a particle xiThe resultant force of the stressed springs;
Figure FDA0003639042260000015
is particle xiAnd xjThe damping force between the two springs is reduced,
Figure FDA0003639042260000016
damping coefficient of spring, viRepresents particle xiThe speed of (d);
Figure FDA0003639042260000017
is particle xiAnd xjThe force of the spring in between is,
Figure FDA0003639042260000018
spring rate of spring, /)0And l' represent the original length of the spring and the length of the deformed spring, respectively;
two particles xi,xjLength of spring in between l(i,j)The formula (c) is as follows:
Figure FDA0003639042260000021
wherein a and b are two positive parameters, curvature kappa(i,j)Using particle xi,xjAverage curvature of
Figure FDA0003639042260000022
Is estimated from the average of;
estimation of particle x using mean curvature manifold-based discretization methods proposed by Matllieu-DesbruniAverage curvature of
Figure FDA0003639042260000023
Figure FDA0003639042260000024
Wherein,
Figure FDA0003639042260000025
is any particle xiWith respect to the gradient operator of its coordinates (x, y, z), A is the particle xiTotal area of all triangular patches in a neighborhood, αjjAre respectively two included angles, which are mass points xiThe opposite angles of two adjacent triangular patches in a neighborhood;
Figure FDA0003639042260000026
wherein,
Figure FDA0003639042260000027
is xiTo xjThe edge vector of (a) is calculated,
Figure FDA0003639042260000028
is cross product, NiIs the estimated particle xiThe normal vector of (a) is calculated,
Figure FDA0003639042260000029
is particle xiThe surrounding triangular patch normal vector, | xiIs xiThe total number of surrounding adjacent particles.
CN202010148426.7A 2020-03-05 2020-03-05 Nonlinear mass point spring soft tissue deformation simulation method Active CN111488670B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 Nonlinear mass point spring soft tissue deformation simulation method

Country Status (1)

Country Link
CN (1) CN111488670B (en)

Families Citing this family (4)

* 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 西南交通大学 Method for accurately simulating appearance of deformed fabric thin-layer soft substance
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 天津大学 Soft tissue simulation method with force feedback structure in anatomical teaching system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN111488670B (en) Nonlinear mass point spring soft tissue deformation simulation method
Duan et al. Volume preserved mass–spring model with novel constraints for soft tissue deformation
US10403404B2 (en) Physical face cloning
CN103400023B (en) Soft tissue deformation simulation method
CN110992456B (en) Avalanche simulation method based on position dynamics
US20190108300A1 (en) Methods for realistic and efficient simulation of moving objects
CN102044086A (en) Soft tissue deformation simulation method
JP2009529161A (en) A method for simulating deformable objects using geometry-based models
CN110289104B (en) Soft tissue compression and deformation recovery simulation method
EP2011086A2 (en) Goal-directed cloth simulation
US10410431B2 (en) Skinning a cluster based simulation with a visual mesh using interpolated orientation and position
US20220151701A1 (en) Methods for realistic and efficient simulation of moving objects
CN113409443B (en) Soft tissue modeling method based on position constraint and nonlinear spring
US20160140750A1 (en) Methods and systems for computer-based skin animation
EP1439476A2 (en) Computer Graphics Techniques for Modeling Cloth
CN108428256B (en) Soft tissue deformation simulation method based on self-adaptive grid refinement of softness
Marinkovic et al. Towards real-time simulation of deformable structures by means of co-rotational finite element formulation
Duan et al. Modeling and simulation of soft tissue deformation
Wang et al. An unfixed-elasticity mass spring model based simulation for soft tissue deformation
Duysak et al. Fast simulation of deformable objects
Güdükbay et al. Animation of deformable models
Liu et al. Modelling and simulation of vascular tissue based on finite element method
CN110717297A (en) Method and system for establishing fabric simulation model, storage medium and electronic equipment
Magnenat-Thalmann et al. Avenues of research in dynamic clothing
CN113435098B (en) Method for accurately simulating appearance of deformed fabric thin-layer soft substance

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