WO2022206024A1 - Internal tissue model construction method and terminal device - Google Patents

Internal tissue model construction method and terminal device Download PDF

Info

Publication number
WO2022206024A1
WO2022206024A1 PCT/CN2021/138022 CN2021138022W WO2022206024A1 WO 2022206024 A1 WO2022206024 A1 WO 2022206024A1 CN 2021138022 W CN2021138022 W CN 2021138022W WO 2022206024 A1 WO2022206024 A1 WO 2022206024A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
tissue
dimensional
internal
models
Prior art date
Application number
PCT/CN2021/138022
Other languages
French (fr)
Chinese (zh)
Inventor
廖祥云
王琼
钱银玲
王平安
Original Assignee
中国科学院深圳先进技术研究院
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 中国科学院深圳先进技术研究院 filed Critical 中国科学院深圳先进技术研究院
Publication of WO2022206024A1 publication Critical patent/WO2022206024A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • 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

Definitions

  • the invention belongs to the technical field of virtual simulation, and in particular relates to a method for constructing an internal organization model and a terminal device.
  • the fidelity of the internal tissue model constructed in the process of responding to interactive operations will directly affect the accuracy of the virtual simulation.
  • it will affect the quality of virtual surgery.
  • the existing model construction technology usually only involves the construction of a three-dimensional model of the internal organization. When interacting with the above three-dimensional model, the three-dimensional model cannot respond based on the interactive operation, thus greatly reducing the authenticity of the virtual simulation.
  • the embodiments of the present invention provide a method and terminal device for constructing an internal tissue model, so as to solve the existing model construction technology, which often only involves the construction of a three-dimensional model of the internal tissue. , the three-dimensional model cannot respond based on interactive operations, and the authenticity of virtual simulation is low.
  • a first aspect of the embodiments of the present invention provides a method for constructing an internal organization model, including:
  • the target object Obtain scan data about the internal tissue of the target object, and generate a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a plurality of different types of tissue in the internal tissue corresponding to one-to-one 3D tissue model;
  • model groups Based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established; the model groups include at least two different types of the three-dimensional tissue models;
  • An internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups.
  • a second aspect of the embodiments of the present invention provides a terminal device, including:
  • a three-dimensional model building unit for acquiring scan data about the internal tissue of the target object, and generating a three-dimensional model of the internal tissue based on the scan data;
  • the three-dimensional model includes a variety of different types of internal tissue Organize multiple 3D tissue models that correspond one-to-one;
  • tissue mechanics model construction unit used for constructing tissue mechanics models for each of the three-dimensional tissue models
  • a contact force function establishment unit is used to determine a plurality of groups of model groups with adjacent relationships based on the three-dimensional model, and establish a contact force function corresponding to each of the model groups;
  • the model group includes at least two different types of the three-dimensional tissue model;
  • An internal tissue model generating unit configured to generate the corresponding internal tissue according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups. internal organizational model.
  • a third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program Implement the steps of the first aspect.
  • a fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step of the first aspect is implemented.
  • an internal tissue model When constructing an internal tissue model in this embodiment of the present invention, a three-dimensional model corresponding to the internal tissue is established by scanning data of the internal tissue.
  • an internal tissue may contain a variety of different types of tissue, for example, the cardiac tissue contains vein tissue, Arterial tissue, blood tissue and muscle tissue, etc.
  • different types of tissues have different feedbacks when they are subjected to force.
  • the different types of 3D tissue models in the 3D model Construct corresponding tissue mechanics models, and divide them into multiple model groups according to whether there is an adjacent relationship between different three-dimensional tissue models, and establish corresponding contact force functions for different model groups, which can consider the force between different types of tissues.
  • the effect of transmission based on the 3D model, the tissue mechanics model and the contact force function, generates the internal tissue model, which can not only simulate the restoration of the internal tissue in the three-dimensional shape, but also enable the constructed virtual model to respond to the interactive operation, improving the performance.
  • the degree of simulation of the model is the degree of simulation of the model.
  • Fig. 1 is the realization flow chart of the construction method of a kind of internal organization model provided by the first embodiment of the present invention
  • FIG. 2 is a schematic diagram of an internal organization model provided by an embodiment of the present invention.
  • FIG. 3 is a specific implementation flowchart of a method S102 for constructing an internal organization model provided by the second embodiment of the present invention
  • FIG. 4 is a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the third embodiment of the present invention.
  • FIG. 5 is a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the fourth embodiment of the present invention.
  • FIG. 6 is a flowchart of a specific implementation of a method for constructing an internal organization model provided by a fifth embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an apparatus for constructing an internal organization model provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention.
  • an internal tissue model When constructing an internal tissue model in this embodiment of the present invention, a three-dimensional model corresponding to the internal tissue is established by scanning data of the internal tissue.
  • an internal tissue may contain a variety of different types of tissue, for example, the cardiac tissue contains vein tissue, Arterial tissue, blood tissue and muscle tissue, etc.
  • different types of tissues have different feedbacks when they are subjected to force.
  • the different types of 3D tissue models in the 3D model Construct corresponding tissue mechanics models, and divide them into multiple model groups according to whether there is an adjacent relationship between different three-dimensional tissue models, and establish corresponding contact force functions for different model groups, which can consider the force between different types of tissues.
  • the effect of transmission based on the three-dimensional model, tissue mechanics model and contact force function, generates an internal tissue model, which solves the existing model construction technology, which often only involves the construction of a three-dimensional model of the internal tissue.
  • the 3D model cannot respond based on interactive operations, and the authenticity of virtual simulation is low.
  • the execution body of the process is a terminal device
  • the terminal device includes but is not limited to: a server, a computer, a smart phone, a tablet computer, and other devices that can perform the rendering task of a web page.
  • the terminal device includes Display module, through which the rendered internal organization model can be output.
  • Fig. 1 shows the realization flow chart of the construction method of the internal organization model provided by the first embodiment of the present invention, and details are as follows:
  • scan data about the internal tissue of the target object is acquired, and based on the scan data, a three-dimensional model of the internal tissue is generated; the three-dimensional model includes a plurality of different types of tissue in the internal tissue one by one Corresponding multiple three-dimensional tissue models.
  • scan data corresponding to the internal organization can be acquired.
  • the scan data is specifically computer tomography (Computer Tomography, CT) data, which can reflect the data of the internal structure of the internal tissue.
  • CT Computer Tomography
  • the scan data may specifically be one frame of CT image, or may be multiple frames of CT images acquired at a preset acquisition interval in a continuous time.
  • the scan data uses other acquisition methods to determine the internal structure of the internal tissue, the above scan data will also not be used.
  • data in other formats may be used.
  • the above-mentioned target objects can be physical objects such as human bodies and animals; correspondingly, according to different target objects, the internal organization can also select any one or more of the organizations included in the target object as the internal parts of the virtual model that need to be constructed. organize.
  • the internal tissue may specifically be heart tissue, liver tissue, pancreatic tissue, etc.
  • the constructed internal tissue models are specifically a heart model, a liver model, a pancreas model, and the like.
  • the terminal device is configured with an external scanning device, and when a virtual model of the internal organization of the target object needs to be constructed, the external scanning device can scan the area where the internal organization of the target object is located, thereby Obtain the above-mentioned scan data, and transmit the scan data to the terminal device through the established communication connection between the scan device and the terminal device.
  • the user may store the scan data of the internal organization of the virtual model (that is, the internal organization model) to be constructed in an external storage or a cloud server.
  • the terminal device can communicate with the external storage.
  • the cloud server establishes a communication connection, and retrieves the scan data corresponding to the internal organization to be constructed from the external storage and the cloud server.
  • different internal organizations of different objects are associated with a data number, and the terminal device can find the corresponding scan data from the external storage or the cloud server through the above-mentioned data number, and retrieve it into the local storage.
  • the scanning device can directly send the scanning data to the terminal device through the established communication link.
  • an internal tissue contains different types of tissues, and liver tissue is used as an example for illustration.
  • the liver tissue may include tissue based on liver cells, vascular tissue, and blood tissue. If the internal tissue is a diseased tissue , may also include stone tissue, tumor tissue, etc.
  • the terminal device can determine the various types of tissue contained in the internal tissue through scanning data, and build corresponding three-dimensional tissue models for different tissues, and then according to each three-dimensional tissue model The mutual positional relationship between them is combined to generate a three-dimensional tissue model corresponding to the above-mentioned internal tissue.
  • the terminal device may determine the size and contour feature data of different types of tissues in the internal tissue according to the above scan data, and then the terminal device imports the above size and contour feature data into a preset three-dimensional model to generate
  • the algorithm can output the three-dimensional tissue model corresponding to the type of tissue, and determine the mutual positional relationship between different types of tissue from the scan data, so as to combine the three-dimensional tissue models to generate the three-dimensional model corresponding to the internal tissue.
  • the above-mentioned method for constructing an internal organization model may further include: the terminal device receives a model construction instruction initiated by a user; the model construction instruction contains the model type to be constructed; If the model type is an interactive model type, the operations of S101 to S104 are performed; if the model type is a non-interactive model type, scan data about the internal organization of the target object are acquired, and an internal organization model is generated based on the scan data , without obtaining the relevant mechanical model.
  • tissue mechanics models are respectively constructed for each of the three-dimensional tissue models.
  • the terminal device can be used for different types of internal organs according to the characteristics of the tissue type.
  • the tissue constructs the corresponding tissue mechanics model.
  • the terminal device may store mechanical parameters of different tissue types, obtain the mechanical parameters associated with the tissue type from the database according to the tissue types contained in the internal tissue, and import the above-mentioned mechanical parameters into the preset to generate a tissue mechanical model corresponding to the tissue type.
  • the terminal device may establish a first mechanical model for the tissue composed of liver cells, which is A second mechanical model is established for vascular tissue, a third mechanical model is established for blood tissue, and a fourth mechanical model is established for tumor tissue.
  • tissue types may be associated with different tissue mechanics templates, and the terminal device may obtain the associated tissue mechanics templates according to the tissue types, and import the mechanical parameters associated with the tissue types into the above tissue mechanics templates Inside, the corresponding tissue mechanics model is generated.
  • this type of tissue can correspond to a tissue mechanics template
  • tumor tissue type which belongs to elastic tissue type
  • this type of tissue can correspond to another tissue mechanics template
  • bone tissue If the tissue type belongs to the inelastic tissue type, this type of tissue can correspond to another tissue mechanics template. Therefore, when the terminal device generates the tissue mechanics model corresponding to the three-dimensional tissue model, it can obtain the tissue mechanics template corresponding to the three-dimensional tissue model. , and import the associated mechanical parameters into the tissue mechanics template to generate the tissue mechanics model.
  • model groups include at least two different types of the three-dimensional tissues Model.
  • the terminal device can divide the three-dimensional tissue models with adjacent relationships into the same model group according to the mutual positional relationship of each three-dimensional tissue model in the three-dimensional model, so that all three-dimensional tissue models included in all three-dimensional models can be divided into three-dimensional models.
  • the organization model is divided into multiple model groups, that is, a model group contains two or more three-dimensional organization models with adjacent relationships. It should be noted that, since any three-dimensional tissue model may have an adjacent relationship with multiple other different three-dimensional tissue models, in this case, one three-dimensional tissue model may be in different model groups.
  • liver cell tissue namely liver cell tissue, blood vessel tissue and blood tissue
  • blood vessel tissue is adjacent to blood tissue
  • the above two types of three-dimensional tissue models can be divided into the first model group
  • the vascular tissue is adjacent to the liver cell tissue
  • the above two types of 3D tissue models can be divided into the second model group.
  • the first model group and the second model group both contain 3D tissue corresponding to the vascular tissue.
  • a model that is, a three-dimensional tissue model can appear in multiple model groups at the same time, which is determined according to its corresponding adjacent relationship.
  • the internal tissue model when constructing the internal tissue model, taking the liver tissue model as an example, three three-dimensional tissue models of liver tissue parenchyma, blood vessels and capsule are established, and then these three parts are combined.
  • the deformation characteristics of the target object constitute the composite deformation model of the liver of the target object.
  • the co-rotation finite element modeling method is used to analyze and model, but the viscoelastic characteristics of the organ tissue are ignored.
  • blood vessels and The co-rotational finite element modeling method is also used to establish the mechanical model of the liver capsule. It can be seen that the effect of different types of inter-tissue coupling forces is not considered in the existing construction technology.
  • liver soft tissue deformation modeling in terms of liver soft tissue deformation modeling, a method for constructing a liver mesh and meshless hybrid model is proposed for the large amount of simulation calculation and it is difficult to meet the real-time requirements.
  • the meshless method is used in the surgical area, and the mesh method in the non-surgical area has higher computational efficiency and better deformation effect.
  • this method only adopts a unified mechanical model for the whole liver, and does not clarify the anisotropy of different tissues in the liver.
  • the mechanical models of different tissue types are often different and can be generalized.
  • the finite element analysis and modeling method of liver soft tissue was carried out, and a hyper-viscoelastic model of liver tissue was established by combining the characteristics of hyperelasticity and viscoelasticity to simulate the stress characteristics of the liver.
  • the tissue mechanics model established above since the tissue mechanics model established above only considers its own performance under force, and in an internal tissue, there is also a force effect between different types of tissue, so it is necessary to consider the relationship between different tissues.
  • the coupling force can further improve the simulation degree of the model.
  • the terminal device may store a contact force database, and the contact force database may store contact force functions between different types of tissues, and the terminal device may store the contact force function between different types of tissues according to the type, find the corresponding contact force function from the above-mentioned contact force database, and use it as the contact force function corresponding to the model group.
  • the terminal device can also acquire mechanical parameters corresponding to each type of tissue of the target object, and determine the contact force function between different types of tissue based on the above mechanical parameters, and use it as the model group The corresponding contact force function.
  • an internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups .
  • the terminal device can fuse and merge the above three types of data , thus forming an internal tissue model that can change the state of the model based on the interactive operation.
  • the terminal device can determine the magnitude of the deformation according to the contact force function of the model group where the area related to the interactive operation is located and the associated tissue mechanics model. as well as the response rate, which dynamically adjusts the shape of the internal tissue model.
  • the above-mentioned internal tissue model can not only change the shape of the internal tissue model according to the interactive operation, but also automatically change the shape of the internal tissue model according to the internal force.
  • the above-mentioned stomach tissue model can also be based on the preset tissue mechanics model and the contact force function between different types of tissues.
  • the above method can also simulate the changes of the heart beating.
  • FIG. 2 shows a schematic diagram of an internal organization model provided by an embodiment of the present application.
  • the internal tissue model is specifically a liver tissue model.
  • the liver tissue model is in As for the changes when subjected to external force, the extent of change in the appearance of the above-mentioned liver tissue model and the speed of change are determined according to the tissue mechanics model and the contact force function.
  • the terminal device may construct a running script related to the internal organization, the running script includes at least one preset event, and the internal organization model may be based on the corresponding preset in the running script events to dynamically adjust the shape of the internal tissue model, which is determined according to a preset tissue mechanics model and a contact force function.
  • the above-mentioned preset events can be corresponding events according to different configurations of internal tissues, such as heart tissue, it can be a heart beating event, and if it is stomach tissue, it can be a digestion event; of course, if it is necessary to observe the internal tissue in The state when an abnormal event is encountered, the above-mentioned preset event can also be a corresponding abnormal event.
  • the above-mentioned abnormal event can be an atrial fibrillation event, that is, a heart tissue model is used to simulate the user encountering an atrial fibrillation event. changes in the beating of the heart.
  • a three-dimensional model corresponding to the internal organization is established by scanning data of the internal organization.
  • an internal organization may contain multiple Different types of tissues, for example, heart tissue includes vein tissue, arterial tissue, blood tissue and muscle tissue, etc. Different types of tissues have different feedbacks when they are stressed.
  • the three-dimensional After the model corresponding tissue mechanics models will be constructed based on different types of three-dimensional tissue models in the three-dimensional model, and according to whether there is an adjacent relationship between different three-dimensional tissue models, they will be divided into multiple model groups, and established for different model groups.
  • the corresponding contact force function can consider the effect of force transmission between different types of tissues.
  • the internal tissue model can be generated, which can not only simulate and restore the internal tissue in three-dimensional form, but also The constructed virtual model can respond to the interactive operation, and the simulation degree of the model is improved.
  • FIG. 3 shows a specific implementation flowchart of a method S102 for constructing an internal organization model provided by the second embodiment of the present invention.
  • S102 includes: S1021 to S1023, which are described in detail as follows:
  • tissue mechanics model is constructed for each of the three-dimensional tissue models, including:
  • a first tissue mechanics model of the non-blood type three-dimensional tissue model is constructed based on a preset finite element equation; the first mechanical model is specifically: :
  • U is the nodal displacement vector
  • U' is the first derivative of the nodal displacement vector
  • U" is the second derivative of the nodal displacement vector
  • M is the mass matrix
  • D is the damping matrix
  • K is the stiffness matrix related to the nonlinearity of the deformation
  • R is the nodal force vector.
  • the terminal device can configure corresponding mechanical templates for different types of three-dimensional tissue models, so as to construct corresponding tissue mechanical models.
  • the three-dimensional tissue model can be divided into two different types, that is, a three-dimensional tissue model of a blood tissue type and a three-dimensional tissue model of a non-blood tissue type. If the three-dimensional tissue model is a blood tissue type, the three-dimensional tissue model is specifically a non-Newtonian fluid, a non-solid shape, and the mechanical relationship of the model cannot be determined by the finite element segmentation method, so a type of mechanical template needs to be used.
  • the terminal device will firstly determine whether the three-dimensional tissue model is of blood type. If not, the operation of S1021 is performed; if so, the operation of S1022 is performed.
  • a tissue mechanics model corresponding to the three-dimensional tissue model can be constructed through finite element equations, wherein the terminal device can obtain relevant physical parameters, such as The quality parameters, elastic parameters, damping parameters and rigidity parameters corresponding to the three-dimensional tissue model can be determined through the above parameters.
  • the first derivative of the vector is related to the first derivative of the displacement vector, where the first derivative of the displacement vector is velocity), and the acceleration of the deformation response (related to the second derivative of the above-mentioned displacement vector).
  • the terminal device can also obtain the damping parameters corresponding to the internal organization, Construct the above-mentioned damping matrix, and according to the rigidity parameters of the internal organization, construct the rigidity matrix of the above-mentioned internal organization, etc., based on the physical parameters of the internal organization, construct the corresponding matrix, and import the matrix into the above-mentioned finite element equation.
  • the obtained finite element equation is used as the first tissue mechanics model corresponding to the three-dimensional tissue model.
  • the terminal device may acquire elastic image data corresponding to the internal tissue through the principle of elastic imaging, and acquire physical parameters corresponding to the internal tissue based on the elastic image data, where the physical parameters include the above-mentioned various parameters, and can also include elastic modulus and Poisson's ratio.
  • a second tissue mechanics model of the three-dimensional tissue model of the blood type is constructed based on a preset fluid mechanics constitutive equation; the second mechanical model is specifically: :
  • u is the velocity of the blood in the axial direction
  • r is the displacement vector of the blood in the axial direction
  • ⁇ c is the pressure
  • k is the viscosity coefficient of the non-Newtonian fluid.
  • a tissue mechanics model corresponding to the three-dimensional tissue model can be constructed by using the fluid mechanics constitutive equation.
  • the terminal device can obtain the viscosity of the blood to determine the viscosity coefficient of the above-mentioned non-Newtonian fluid, and obtain the blood pressure index to determine the flow velocity of the blood in the blood vessel, that is, the above-mentioned axial velocity, and determine the displacement vector,
  • the above-mentioned pressure can also be determined by the blood pressure and the viscosity coefficient, so as to construct a second tissue mechanics model that obtains a three-dimensional tissue model related to the blood type.
  • the terminal device may store a parameter library, and the parameter library may record mechanical parameter lists corresponding to different types of tissues, and the mechanical parameter list may include mechanical parameters of different object types.
  • the The mechanical parameter list can record the mechanical parameters corresponding to different ages, different genders, different weights, and different heights for the same type of tissue, and form a mechanical parameter list about the type of tissue.
  • the above mechanical parameters can be obtained by collecting a large number of object samples, and the terminal device can obtain the object information of the target object, and based on the object information, query the mechanical parameters associated with it from the mechanical parameter list, and construct the corresponding tissue based on the mechanical parameters. mechanical model.
  • the terminal device can also construct corresponding mechanical parameter calculation functions for different types of tissues by means of big data learning.
  • the terminal device can import the object information of the target object into the In the mechanical parameter calculation function, the mechanical parameters of this type of tissue related to the object information can be output.
  • the object information may include information such as the age of the object, the weight of the object, the height of the object, and the gender of the object.
  • tissue mechanics models according to different types of three-dimensional tissue models, different equations are used to construct corresponding tissue mechanics models, which can improve the accuracy of tissue mechanics model construction, thereby improving the simulation degree of subsequent visceral tissue models.
  • FIG. 4 shows a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the third embodiment of the present invention.
  • a method S103 for constructing an internal organization model provided in this embodiment includes S401 to S402 , which are described in detail as follows:
  • model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established, including:
  • the model group includes a blood tissue model and a blood vessel tissue model, obtain mechanical physical parameters corresponding to the blood vessel tissue model, and obtain a distance value between the blood vessel tissue model and the blood tissue model .
  • the terminal device if it detects that the three-dimensional tissue model included in a certain model group is a blood tissue model and a blood vessel tissue model, it can acquire the mechanical and physical parameters corresponding to the blood vessel tissue model, as well as the distance between the blood and the blood vessel. value, among which, because there may be substances such as blood vessel wall and blood vessel membrane between blood and blood vessels, that is, there may be a certain distance between blood and blood vessel tissue, and the magnitude of the contact force will also vary according to the distance. Therefore, The terminal device can determine the distance value between the blood tissue model and the blood vessel tissue model through the three-dimensional model of the internal tissue.
  • the above-mentioned parameters can be determined by the elastic image data obtained based on the principle of elastography and the three-dimensional model constructed in S101 .
  • a first contact force function between the blood tissue model and the blood vessel tissue model is constructed based on the mechanical physical parameters and the distance value
  • is a preset penalty factor
  • k is the mechanical physical parameter corresponding to the blood vessel tissue model
  • is the blood tissue model the distance value from the vascular tissue model
  • r is the displacement vector of the blood in the axial direction.
  • the interaction force between finite elements and infinite elements can be determined through a penalty function.
  • the mechanical and physical parameters corresponding to the blood vessel tissue model and the distance value obtained above are imported into the penalty function, so that the calculation function of the contact force between the blood and the blood vessel can be constructed, that is, the above-mentioned first contact force function.
  • the above-mentioned e is specifically a natural constant.
  • the contact force function between the solid tissue and the fluid tissue can be determined by the penalty function, which can describe the interaction force between the two more accurately and improve the description of the coupling force between different types of tissue. accuracy, which in turn improves the simulation level of subsequent model building.
  • FIG. 5 shows a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the fourth embodiment of the present invention.
  • a method S103 for constructing an internal organization model provided in this embodiment includes: S501 to S504 , which are described in detail as follows:
  • model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established, including:
  • the three-dimensional tissue models included in the model group are all non-blood tissue models, respectively acquire elastography data corresponding to the three-dimensional tissue models of different types.
  • each three-dimensional tissue model in the model group is a non-blood tissue model, that is, is a solid type of tissue
  • the elastography corresponding to each three-dimensional tissue model can be obtained. data.
  • the above-mentioned elastic imaging data may be acquired in advance, that is, when acquiring the scanning data of the internal tissue, the elastic imaging data of the internal tissue may be acquired through the elastic program module, and when the internal tissue model of the target object needs to be constructed, Send scan data and elastography data to terminal devices.
  • the above-mentioned scan data and elastography data may also be acquired non-simultaneously, and the acquisition timing of elastography data is not limited here.
  • elastography data of different types of three-dimensional tissue models may be acquired simultaneously, that is, corresponding to the same elastography image.
  • the terminal device may divide the elastography image into a plurality of data blocks according to the corresponding display area of each three-dimensional tissue model in the elastography image, and use the data block obtained from the elastography image as the three-dimensional elastography image. Elastography data corresponding to the tissue model.
  • mechanical physical parameters corresponding to the three-dimensional tissue model are determined based on the elastography data.
  • the terminal device can extract the mechanical and physical parameters corresponding to the three-dimensional tissue model by analyzing the above elastography data.
  • the above-mentioned mechanical and physical parameters may include: elastic parameters, Poisson's ratio, and the like.
  • the terminal device in addition to determining the mechanical and physical parameters related to each three-dimensional tissue model itself, the terminal device also needs to determine the mutual coupling action parameters, and the mutual coupling action parameters can be determined through continuous scanning data. Based on this, when the terminal device acquires the scan data of the internal tissue, it can continuously acquire multiple frames of scan data about the internal tissue based on the preset acquisition interval. A four-dimensional tissue model about the internal organization is constructed, and the coupling action parameters between the above-mentioned different types of three-dimensional tissue models can be extracted based on the four-dimensional tissue model.
  • the above S503 may specifically include the following two steps, respectively:
  • S5031 Determine from the scan data the tissue section data corresponding to the different types of the three-dimensional tissue models in the model group.
  • the above-mentioned scan data corresponds to the entire internal tissue
  • the tissue section data corresponding to the related three-dimensional tissue models in the group the tissue section data are extracted in the same way for the multi-frame scan data, so that the tissue section data corresponding to the different three-dimensional tissue models in the model group can be determined according to the consecutive multiple frames of tissue section data. Coupling action parameters.
  • a second contact force function corresponding to the model group is constructed based on the mechanical physical parameters and the coupling action parameters.
  • the terminal device can import a preset contact force template between solid tissues, so as to generate the above-mentioned second contact force function.
  • the second contact force function corresponding to the model group is constructed and obtained, which can consider the self-organization.
  • the characteristics and the mutual adhesion force improve the accuracy of the description of the second contact force function, which in turn improves the simulation degree of the constructed model.
  • FIG. 6 shows a specific implementation flow chart of a method for constructing an internal organization model provided by a fifth embodiment of the present invention.
  • a method for constructing an internal tissue model provided by this embodiment, in the three-dimensional model according to the three-dimensional model and each of the three-dimensional models in the three-dimensional model After the tissue mechanics model corresponding to the tissue model and the contact force function corresponding to all the model groups are generated, the internal tissue model corresponding to the internal tissue further includes: S601-S602, the details are as follows:
  • the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force function corresponding to all the model groups ,Also includes:
  • the operation flow information about the internal tissue is acquired, and the operation simulation script corresponding to the operation flow information is generated.
  • the terminal device can perform the operation of surgical simulation, that is, simulate the changes of the internal tissue during the operation, so as to achieve the purpose of surgical simulation. Based on this, the user can pre-configure the corresponding surgical process information, which can determine the steps to be performed in the surgical process, the interaction position of each step, the size of the interaction force and the size of the basic surface between the internal tissues, etc. Wait.
  • the terminal device can convert the procedure information into a corresponding surgical simulation script, so as to simulate the surgical procedure.
  • a surgery simulation environment is constructed based on the internal tissue model, and the surgery simulation script is run in the surgery simulation environment to generate a simulation result report.
  • the terminal device can build a corresponding surgical simulation environment based on the built internal tissue model, and run the above-mentioned surgical simulation script in the surgical simulation environment, so that the surgical process can be simulated and the entire surgical process can be generated.
  • the corresponding simulation results are reported so that the user can clearly determine the overall surgical effect.
  • the terminal device may construct a corresponding surgical simulation environment based on the internal tissue model, receive an interactive operation initiated by the user, and change the state of the internal tissue model in the surgical simulation environment based on the above interactive operation, so as to realize real-time The purpose of simulating surgery.
  • the surgical simulation environment is constructed by using the constructed interactive internal tissue model, which can realize the surgical simulation and output the corresponding simulation result report, which can facilitate the user to perform the surgical simulation before surgery and improve the surgical simulation. degree of simulation.
  • FIG. 7 shows a structural block diagram of an apparatus for constructing an internal organization model provided by an embodiment of the present invention, and each unit included in the terminal device is used to execute each step in the embodiment corresponding to FIG. 1 .
  • each unit included in the terminal device is used to execute each step in the embodiment corresponding to FIG. 1 .
  • only the parts related to this embodiment are shown.
  • the construction device of the internal tissue model includes:
  • a three-dimensional model building unit 71 configured to acquire scan data about the internal tissue of the target object, and generate a three-dimensional model of the internal tissue based on the scan data;
  • the three-dimensional model includes a variety of different types of internal tissue One-to-one correspondence of multiple 3D tissue models;
  • tissue mechanics model building unit 72 configured to build a tissue mechanics model for each of the three-dimensional tissue models
  • the contact force function establishment unit 73 is configured to determine, based on the three-dimensional model, a plurality of model groups with adjacent relationships, and establish a contact force function corresponding to each of the model groups; the model group includes at least two different types the three-dimensional tissue model;
  • An internal tissue model generation unit 74 configured to generate the internal tissue according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force function corresponding to all the model groups Corresponding internal organization model.
  • tissue mechanics model building unit 72 includes:
  • a non-blood type mechanical model construction unit configured to construct a first tissue mechanical model of the non-blood type of the three-dimensional tissue model based on a preset finite element equation if the type of the three-dimensional tissue model is non-blood type; the The first mechanical model is specifically:
  • U is the nodal displacement vector
  • U' is the first derivative of the nodal displacement vector
  • U" is the second derivative of the nodal displacement vector
  • M is the mass matrix
  • D is the damping matrix
  • K is the stiffness matrix related to the nonlinearity of the deformation
  • R is the nodal force vector
  • a blood type mechanics model building unit configured to construct a second tissue mechanics model of the three-dimensional tissue model of the blood type based on a preset fluid mechanics constitutive equation if the type of the three-dimensional tissue model is a blood type;
  • the second mechanical model is as follows:
  • u is the velocity of the blood in the axial direction
  • r is the displacement vector of the blood in the axial direction
  • ⁇ c is the pressure
  • k is the viscosity coefficient of the non-Newtonian fluid.
  • the contact force function establishment unit 73 includes:
  • the blood vessel parameter obtaining unit is configured to obtain the mechanical physical parameters corresponding to the blood vessel tissue model if the model group includes the blood tissue model and the blood vessel tissue model, and obtain the relationship between the blood vessel tissue model and the blood tissue model.
  • a first contact force function establishment unit configured to construct a first contact force function between the blood tissue model and the blood vessel tissue model based on the mechanical physical parameter and the distance value
  • is a preset penalty factor
  • k is the mechanical physical parameter corresponding to the blood vessel tissue model
  • is the blood tissue model the distance value from the vascular tissue model
  • r is the displacement vector of the blood in the axial direction.
  • the contact force function establishment unit 73 includes:
  • an elastography data acquisition unit configured to separately acquire elastography data corresponding to each of the different types of the three-dimensional tissue models if the three-dimensional tissue models included in the model group are all non-blood tissue models;
  • a mechanical and physical parameter acquisition unit configured to determine the mechanical and physical parameters corresponding to the three-dimensional tissue model based on the elastography data
  • a coupling action parameter determination unit configured to acquire the scanning data of the internal tissue in consecutive multiple frames, and determine coupling action parameters between the three-dimensional tissue models of different types
  • a second contact force function construction unit configured to construct a second contact force function corresponding to the model group based on the mechanical physical parameters and the coupling action parameters.
  • the coupling action parameter determination unit includes:
  • a tissue section data acquisition unit for determining from the scan data the tissue section data corresponding to the three-dimensional tissue models of different types in the model group;
  • a coupling action parameter extraction unit configured to obtain the coupling action parameter based on the tissue section data in the scanning data of consecutive multiple frames.
  • the device for constructing the internal tissue model further comprising:
  • a surgical simulation script generation unit configured to acquire surgical procedure information about the internal tissue, and generate a surgical simulation script corresponding to the surgical procedure information
  • a surgery simulation execution unit configured to construct a surgery simulation environment based on the internal tissue model, and run the surgery simulation script in the surgery simulation environment to generate a simulation result report.
  • the internal tissue includes liver tissue and/or heart tissue.
  • the terminal device provided in the embodiment of the present invention can also build a three-dimensional model corresponding to the internal organization by scanning data of the internal organization when constructing the internal organization model.
  • an internal organization may contain multiple different types of organizations, such as Cardiac tissue includes vein tissue, arterial tissue, blood tissue, and muscle tissue. Different types of tissue have different feedbacks when subjected to force.
  • the 3D model Different types of 3D tissue models in the 3D tissue model are constructed with corresponding tissue mechanics models, and according to whether there is an adjacent relationship between different 3D tissue models, they are divided into multiple model groups, and corresponding contact force functions are established for different model groups.
  • the internal tissue model is generated based on the three-dimensional model, tissue mechanics model and contact force function, which can not only simulate and restore the internal tissue in three-dimensional form, but also enable the constructed virtual model. Responding to interactive operations improves the simulacrum of the model.
  • FIG. 8 is a schematic diagram of a terminal device according to another embodiment of the present invention.
  • the terminal device 8 of this embodiment includes: a processor 80 , a memory 81 , and a computer program 82 stored in the memory 81 and executable on the processor 80 , for example, the construction of an internal organization model program.
  • the processor 80 executes the computer program 82, the steps in each of the above embodiments of the method for constructing an internal organization model are implemented, for example, S101 to S104 shown in FIG. 1 .
  • the processor 80 executes the computer program 82, the functions of the units in the above device embodiments, such as the functions of the modules 71 to 74 shown in FIG. 7, are implemented.
  • the computer program 82 may be divided into one or more units, and the one or more units are stored in the memory 81 and executed by the processor 80 to complete the present invention.
  • the one or more units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 82 in the terminal device 8 .
  • the computer program 82 can be divided into a three-dimensional model building unit, a tissue mechanics model building unit, a contact force function building unit, and an internal tissue model generating unit, and the specific functions of each unit are as described above.
  • the terminal device may include, but is not limited to, the processor 80 and the memory 81 .
  • FIG. 8 is only an example of the terminal device 8, and does not constitute a limitation on the terminal device 8, and may include more or less components than those shown in the figure, or combine some components, or different components
  • the terminal device may further include an input and output device, a network access device, a bus, and the like.
  • the so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 81 may be an internal storage unit of the terminal device 8 , such as a hard disk or a memory of the terminal device 8 .
  • the memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk equipped on the terminal device 8, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc.
  • the memory 81 may also include both an internal storage unit of the terminal device 8 and an external storage device.
  • the memory 81 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 81 can also be used to temporarily store data that has been output or will be output.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

An internal tissue model construction method and a device, applicable to the technical field of virtual simulation, the method comprising: acquiring scan data about an internal tissue of a target object, and generating a three-dimensional model of the internal tissue on the basis of the scan data (S101); constructing a tissue mechanical model for each of three-dimensional tissue models (S102); on the basis of the three-dimensional model, determining multiple model groups having adjacent relationships, and establishing contact force functions corresponding to the respective model groups (S103); and according to the three-dimensional model, the tissue mechanical models corresponding to the respective three-dimensional tissue models in the three-dimensional model, and all the contact force functions corresponding to the model groups, generating an internal tissue model corresponding to the internal tissue (S104). The internal tissue model constructed by the method can simulate and restore the internal tissue in a three-dimensional form, and the constructed virtual model can respond to interactive operations, thereby improving the simulation level of the model.

Description

一种内部组织模型的构建方法及终端设备A method for constructing an internal organization model and a terminal device 技术领域technical field
本发明属于虚拟仿真技术领域,尤其涉及一种内部组织模型的构建方法及终端设备。The invention belongs to the technical field of virtual simulation, and in particular relates to a method for constructing an internal organization model and a terminal device.
背景技术Background technique
随着计算机技术的发展,虚拟仿真技术应用的领域越来越广泛,例如虚拟手术领域上的应用,为实际的手术过程提供了重要的指导意义。因此,如何能够搭建与实际情况贴合的虚拟场景,例如对于现实存在的对象在仿真环境下构建对应的可视化模型,则成为了虚拟仿真技术的关键所在。With the development of computer technology, the application of virtual simulation technology has become more and more extensive, such as the application in the field of virtual surgery, which provides important guidance for the actual surgical process. Therefore, how to build a virtual scene that fits the actual situation, such as building a corresponding visual model for a real object in a simulation environment, has become the key to virtual simulation technology.
在对内部组织进行仿真模拟的过程中,构建的内部组织模型在响应交互操作的过程中,如响应按压、穿刺、缝合等过程中受力形变的逼真程度,会直接影响到虚拟仿真的准确性,特别在虚拟手术的应用上,会对虚拟手术的质量造成影响。然而现有的模型构建技术,往往只是涉及对于内部组织的三维模型的构建,对上述三维模型进行交互时,三维模型无法基于交互操作进行响应,从而大大降低了虚拟仿真的真实性。In the process of simulating the internal tissue, the fidelity of the internal tissue model constructed in the process of responding to interactive operations, such as responding to pressing, puncturing, suturing, etc., will directly affect the accuracy of the virtual simulation. , especially in the application of virtual surgery, it will affect the quality of virtual surgery. However, the existing model construction technology usually only involves the construction of a three-dimensional model of the internal organization. When interacting with the above three-dimensional model, the three-dimensional model cannot respond based on the interactive operation, thus greatly reducing the authenticity of the virtual simulation.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供了一种内部组织模型的构建方法及终端设备,以解决现有的模型构建技术,往往只是涉及对于内部组织的三维模型的构建,对上述三维模型进行交互时,三维模型无法基于交互操作进行响应,虚拟仿真的真实性较低的问题。In view of this, the embodiments of the present invention provide a method and terminal device for constructing an internal tissue model, so as to solve the existing model construction technology, which often only involves the construction of a three-dimensional model of the internal tissue. , the three-dimensional model cannot respond based on interactive operations, and the authenticity of virtual simulation is low.
本发明实施例的第一方面提供了一种内部组织模型的构建方法,包括:A first aspect of the embodiments of the present invention provides a method for constructing an internal organization model, including:
获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述 内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型;Obtain scan data about the internal tissue of the target object, and generate a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a plurality of different types of tissue in the internal tissue corresponding to one-to-one 3D tissue model;
分别为各个所述三维组织模型构建组织力学模型;respectively constructing tissue mechanics models for each of the three-dimensional tissue models;
基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型;Based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established; the model groups include at least two different types of the three-dimensional tissue models;
根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。An internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups.
本发明实施例的第二方面提供了一种终端设备,包括:A second aspect of the embodiments of the present invention provides a terminal device, including:
三维模型构建单元,用于获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型;A three-dimensional model building unit for acquiring scan data about the internal tissue of the target object, and generating a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a variety of different types of internal tissue Organize multiple 3D tissue models that correspond one-to-one;
组织力学模型构建单元,用于分别为各个所述三维组织模型构建组织力学模型;a tissue mechanics model construction unit, used for constructing tissue mechanics models for each of the three-dimensional tissue models;
接触力函数建立单元,用于基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型;A contact force function establishment unit is used to determine a plurality of groups of model groups with adjacent relationships based on the three-dimensional model, and establish a contact force function corresponding to each of the model groups; the model group includes at least two different types of the three-dimensional tissue model;
内部组织模型生成单元,用于根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。An internal tissue model generating unit, configured to generate the corresponding internal tissue according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups. internal organizational model.
本发明实施例的第三方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现第一方面的各个步骤。A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program Implement the steps of the first aspect.
本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现第一方面 的各个步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step of the first aspect is implemented.
实施本发明实施例提供的一种内部组织模型的构建方法及终端设备具有以下有益效果:Implementing a method for constructing an internal organization model and a terminal device provided by the embodiments of the present invention have the following beneficial effects:
本发明实施例在构建内部组织模型时,通过对于内部组织的扫描数据,建立内部组织对应的三维模型,由于一个内部组织内可能包含多种不同类型的组织,例如心脏组织中包含有静脉组织、动脉组织、血液组织以及肌肉组织等,不同类型的组织在受力时的反馈不一样,为了提高内部组织模型的准确性,在构建三维模型后,会基于三维模型中不同类型的三维组织模型分别构建对应的组织力学模型,并且根据不同的三维组织模型之间是否具有相邻关系,划分为多个模型组,为不同的模型组建立对应的接触力函数,能够考虑不同类型的组织之间力传递的效应,基于三维模型、组织力学模型以及接触力函数,生成内部组织模型,不仅能够在三维形态上对内部组织进行仿真还原,还能使得构建的虚拟模型能够对交互操作进行响应,提高了模型的仿真程度。When constructing an internal tissue model in this embodiment of the present invention, a three-dimensional model corresponding to the internal tissue is established by scanning data of the internal tissue. Since an internal tissue may contain a variety of different types of tissue, for example, the cardiac tissue contains vein tissue, Arterial tissue, blood tissue and muscle tissue, etc., different types of tissues have different feedbacks when they are subjected to force. In order to improve the accuracy of the internal tissue model, after the 3D model is constructed, the different types of 3D tissue models in the 3D model Construct corresponding tissue mechanics models, and divide them into multiple model groups according to whether there is an adjacent relationship between different three-dimensional tissue models, and establish corresponding contact force functions for different model groups, which can consider the force between different types of tissues. The effect of transmission, based on the 3D model, the tissue mechanics model and the contact force function, generates the internal tissue model, which can not only simulate the restoration of the internal tissue in the three-dimensional shape, but also enable the constructed virtual model to respond to the interactive operation, improving the performance. The degree of simulation of the model.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明第一实施例提供的一种内部组织模型的构建方法的实现流程图;Fig. 1 is the realization flow chart of the construction method of a kind of internal organization model provided by the first embodiment of the present invention;
图2是本发明一实施例提供的内部组织模型的示意图;2 is a schematic diagram of an internal organization model provided by an embodiment of the present invention;
图3是本发明第二实施例提供的一种内部组织模型的构建方法S102具体实现流程图;FIG. 3 is a specific implementation flowchart of a method S102 for constructing an internal organization model provided by the second embodiment of the present invention;
图4是本发明第三实施例提供的一种内部组织模型的构建方法S103具体实现流程图;FIG. 4 is a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the third embodiment of the present invention;
图5是本发明第四实施例提供的一种内部组织模型的构建方法S103具体实现流程图;FIG. 5 is a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the fourth embodiment of the present invention;
图6是本发明第五实施例提供的一种内部组织模型的构建方法具体实现流程图;FIG. 6 is a flowchart of a specific implementation of a method for constructing an internal organization model provided by a fifth embodiment of the present invention;
图7是本发明一实施例提供的一种内部组织模型的构建装置的结构框图;7 is a structural block diagram of an apparatus for constructing an internal organization model provided by an embodiment of the present invention;
图8是本发明一实施例提供的一种终端设备的示意图。FIG. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and 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.
本发明实施例在构建内部组织模型时,通过对于内部组织的扫描数据,建立内部组织对应的三维模型,由于一个内部组织内可能包含多种不同类型的组织,例如心脏组织中包含有静脉组织、动脉组织、血液组织以及肌肉组织等,不同类型的组织在受力时的反馈不一样,为了提高内部组织模型的准确性,在构建三维模型后,会基于三维模型中不同类型的三维组织模型分别构建对应的组织力学模型,并且根据不同的三维组织模型之间是否具有相邻关系,划分为多个模型组,为不同的模型组建立对应的接触力函数,能够考虑不同类型的组织之间力传递的效应,基于三维模型、组织力学模型以及接触力函数,生成内部组织模型,解决了现有的模型构建技术,往往只是涉及对于内部组织的三维模型的构建,对上述三维模型进行交互时,三维模型无法基于交互操作进行响应,虚拟仿真的真实性较低的问题。When constructing an internal tissue model in this embodiment of the present invention, a three-dimensional model corresponding to the internal tissue is established by scanning data of the internal tissue. Since an internal tissue may contain a variety of different types of tissue, for example, the cardiac tissue contains vein tissue, Arterial tissue, blood tissue and muscle tissue, etc., different types of tissues have different feedbacks when they are subjected to force. In order to improve the accuracy of the internal tissue model, after the 3D model is constructed, the different types of 3D tissue models in the 3D model Construct corresponding tissue mechanics models, and divide them into multiple model groups according to whether there is an adjacent relationship between different three-dimensional tissue models, and establish corresponding contact force functions for different model groups, which can consider the force between different types of tissues. The effect of transmission, based on the three-dimensional model, tissue mechanics model and contact force function, generates an internal tissue model, which solves the existing model construction technology, which often only involves the construction of a three-dimensional model of the internal tissue. When interacting with the above three-dimensional models, The 3D model cannot respond based on interactive operations, and the authenticity of virtual simulation is low.
在本发明实施例中,流程的执行主体为终端设备,该终端设备包括但不限于:服务器、计算机、智能手机以及平板电脑等能够执行网络页面的渲染任务的设备,特别地,该终端设备包含显示模块,可以通过显示模块输出所渲染的内部组织模型。图1示出了本发明第一实施例提供的内部组织模型的构建方法 的实现流程图,详述如下:In the embodiment of the present invention, the execution body of the process is a terminal device, and the terminal device includes but is not limited to: a server, a computer, a smart phone, a tablet computer, and other devices that can perform the rendering task of a web page. In particular, the terminal device includes Display module, through which the rendered internal organization model can be output. Fig. 1 shows the realization flow chart of the construction method of the internal organization model provided by the first embodiment of the present invention, and details are as follows:
在S101中,获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型。In S101, scan data about the internal tissue of the target object is acquired, and based on the scan data, a three-dimensional model of the internal tissue is generated; the three-dimensional model includes a plurality of different types of tissue in the internal tissue one by one Corresponding multiple three-dimensional tissue models.
在本实施例中,在需要构建目标对象的某一内部组织的虚拟模型之前,可以获取该内部组织对应的扫描数据。该扫描数据具体为电子计算机断层扫描(Computer Tomography,CT)数据,能够反应内部组织内部结构的数据。该扫描数据具体可以为一帧CT图像,也可以在连续时间内以预设采集间隔获取的多帧CT图像,当然,若扫描数据采用其他采集方式确定内部组织的内部结构,上述扫描数据也并不限定于CT图像,也可以为其他格式的数据。In this embodiment, before a virtual model of a certain internal organization of the target object needs to be constructed, scan data corresponding to the internal organization can be acquired. The scan data is specifically computer tomography (Computer Tomography, CT) data, which can reflect the data of the internal structure of the internal tissue. The scan data may specifically be one frame of CT image, or may be multiple frames of CT images acquired at a preset acquisition interval in a continuous time. Of course, if the scan data uses other acquisition methods to determine the internal structure of the internal tissue, the above scan data will also not be used. Not limited to CT images, data in other formats may be used.
需要说明的是,上述目标对象可以为人体、动物等实体对象;对应地,根据目标对象的不同,内部组织也可以根据目标对象包含的组织中选取任一个或多个作为需要构建虚拟模型的内部组织。举例性地,若该目标对象为人体,则内部组织具体可以为心脏组织、肝脏组织、胰脏组织等,对应地,构建的内部组织模型具体为心脏模型、肝脏模型以及胰脏模型等。It should be noted that the above-mentioned target objects can be physical objects such as human bodies and animals; correspondingly, according to different target objects, the internal organization can also select any one or more of the organizations included in the target object as the internal parts of the virtual model that need to be constructed. organize. For example, if the target object is a human body, the internal tissue may specifically be heart tissue, liver tissue, pancreatic tissue, etc. Correspondingly, the constructed internal tissue models are specifically a heart model, a liver model, a pancreas model, and the like.
在一种可能的实现方式中,该终端设备配置外接有扫描设备,在需要构建目标对象的内部组织的虚拟模型时,可以通过外接的扫描设备对目标对象的内部组织所在的区域进行扫描,从而获得上述的扫描数据,并通过扫描设备与终端设备之间已经建立的通信连接,将扫描数据传输给终端设备。In a possible implementation manner, the terminal device is configured with an external scanning device, and when a virtual model of the internal organization of the target object needs to be constructed, the external scanning device can scan the area where the internal organization of the target object is located, thereby Obtain the above-mentioned scan data, and transmit the scan data to the terminal device through the established communication connection between the scan device and the terminal device.
在一种可能的实现方式中,用户可以将所需构建虚拟模型(即内部组织模型)的内部组织的扫描数据存储于外部存储器或者云端服务器上,在该情况下,终端设备可以通过与外部存储器以及云端服务器建立通信连接,从外部存储器以及云端服务器取回所需构建的内部组织对应的扫描数据。其中,不同的对象的不同内部组织关联有一个数据编号,终端设备可以通过上述数据编号从外部存储器或者云端服务器处查找到对应的扫描数据,并取回到本地存储器内。当然,若终端设备与扫描设备建立有通信连接,扫描设备可以通过已经建立的通 信链路,将扫描数据直接发送给终端设备。In a possible implementation manner, the user may store the scan data of the internal organization of the virtual model (that is, the internal organization model) to be constructed in an external storage or a cloud server. In this case, the terminal device can communicate with the external storage. And the cloud server establishes a communication connection, and retrieves the scan data corresponding to the internal organization to be constructed from the external storage and the cloud server. Wherein, different internal organizations of different objects are associated with a data number, and the terminal device can find the corresponding scan data from the external storage or the cloud server through the above-mentioned data number, and retrieve it into the local storage. Of course, if a communication connection is established between the terminal device and the scanning device, the scanning device can directly send the scanning data to the terminal device through the established communication link.
在本实施例中,一个内部组织内包含不同类型的组织,以肝脏组织为例进行说明,肝脏组织内可以包含基于肝脏细胞构成的组织、血管组织、血液组织,若该内部组织为患病组织,还可能包含如结石组织、肿瘤组织等,终端设备可以通过扫描数据确定该内部组织所包含的多种不同类型的组织,并为不同的组织构建对应的三维组织模型,继而根据各个三维组织模型之间的相互位置关系,组合生成上述内部组织对应的三维组织模型。In this embodiment, an internal tissue contains different types of tissues, and liver tissue is used as an example for illustration. The liver tissue may include tissue based on liver cells, vascular tissue, and blood tissue. If the internal tissue is a diseased tissue , may also include stone tissue, tumor tissue, etc. The terminal device can determine the various types of tissue contained in the internal tissue through scanning data, and build corresponding three-dimensional tissue models for different tissues, and then according to each three-dimensional tissue model The mutual positional relationship between them is combined to generate a three-dimensional tissue model corresponding to the above-mentioned internal tissue.
在一种可能的实现方式中,终端设备可以根据上述扫描数据,确定内部组织内不同类型的组织的尺寸以及轮廓特征数据,继而终端设备将上述尺寸以及轮廓特征数据导入到预设的三维模型生成算法,从而能够输出该类型组织对应的三维组织模型,并从扫描数据内确定不同类型组织之间的相互位置关系,从而对上述三维组织模型进行组合,从而生成上述内部组织对应的三维模型。In a possible implementation manner, the terminal device may determine the size and contour feature data of different types of tissues in the internal tissue according to the above scan data, and then the terminal device imports the above size and contour feature data into a preset three-dimensional model to generate The algorithm can output the three-dimensional tissue model corresponding to the type of tissue, and determine the mutual positional relationship between different types of tissue from the scan data, so as to combine the three-dimensional tissue models to generate the three-dimensional model corresponding to the internal tissue.
在一种可能的实现方式中,在S101之前,上述内部组织模型的构建方法还可以包括:终端设备接收用户发起的模型构建指令;该模型构建指令内包含有所需构建的模型类型;若该模型类型为可交互模型类型,则执行S101~S104的操作;若所述该模型类型为不可交互模型类型,则获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成内部组织模型,无需获取相关的力学模型。In a possible implementation manner, before S101, the above-mentioned method for constructing an internal organization model may further include: the terminal device receives a model construction instruction initiated by a user; the model construction instruction contains the model type to be constructed; If the model type is an interactive model type, the operations of S101 to S104 are performed; if the model type is a non-interactive model type, scan data about the internal organization of the target object are acquired, and an internal organization model is generated based on the scan data , without obtaining the relevant mechanical model.
在S102中,分别为各个所述三维组织模型构建组织力学模型。In S102, tissue mechanics models are respectively constructed for each of the three-dimensional tissue models.
在本实施例中,由于不同类型的组织所包含的细胞、含水量等均存在差异,在受力时反映也会存在差异,例如,对于肌肉组织,有富有弹性以及可形变,在受外力时形状会发生改变,并在受力完成后,可以恢复至原本的状态;而对于骨骼组织而言,其不具备弹性,因此在受力时较难发生形变,若发生形变后,则无法恢复至原本的状态,并且容易发生碎裂等情况。基于此,为了提高整个内部组织模型在响应交互操作时的准确性,即更加贴合内脏组织的实际情况,提高模拟仿真的准确性,终端设备可以根据组织类型的特性,会为不同类型的 内部组织构建对应的组织力学模型。In this embodiment, since different types of tissues contain different cells, water content, etc., there will be differences in response to force. For example, muscle tissue is elastic and deformable, and when subjected to external force The shape will change, and after the force is completed, it can return to its original state; while for bone tissue, it is not elastic, so it is difficult to deform when it is stressed. The original state, and prone to breakage and other situations. Based on this, in order to improve the accuracy of the entire internal tissue model in responding to interactive operations, that is, to better fit the actual situation of visceral tissue and improve the accuracy of simulation, the terminal device can be used for different types of internal organs according to the characteristics of the tissue type. The tissue constructs the corresponding tissue mechanics model.
在一种可能的实现方式中,终端设备可以存储有不同组织类型的力学参数,根据内部组织包含的组织类型,从数据库内获取与组织类型关联的力学参数,并将上述力学参数导入到预设的原生力学模型,从而生成与该组织类型对应的组织力学模型。In a possible implementation manner, the terminal device may store mechanical parameters of different tissue types, obtain the mechanical parameters associated with the tissue type from the database according to the tissue types contained in the internal tissue, and import the above-mentioned mechanical parameters into the preset to generate a tissue mechanical model corresponding to the tissue type.
示例性地,若该内部组织为肝脏组织,且肝脏组织可以包含有肝脏细胞构成的组织、血管组织、血液组织以及肿瘤组织,则终端设备可以为肝脏细胞构成的组织建立第一力学模型,为血管组织建立第二力学模型,为血液组织建立第三力学模型以及为肿瘤组织建立第四力学模型。Exemplarily, if the internal tissue is liver tissue, and the liver tissue may include tissue composed of liver cells, vascular tissue, blood tissue, and tumor tissue, the terminal device may establish a first mechanical model for the tissue composed of liver cells, which is A second mechanical model is established for vascular tissue, a third mechanical model is established for blood tissue, and a fourth mechanical model is established for tumor tissue.
在一种可能的实现方式中,不同的组织类型可以关联有不同的组织力学模板,终端设备可以根据组织类型获取关联的组织力学模板,并将该组织类型关联的力学参数导入到上述组织力学模板内,生成对应的组织力学模型。例如,对于血液组织类型,属于非牛顿流体,则该类型的组织可以对应一个组织力学模板,而对于肿瘤组织类型,属于弹性组织类型,则该类型的组织可以对应另一个组织力学模板,对于骨骼组织类型,属于非弹性组织类型,则该类型的组织可以对应又一个组织力学模板,因此,终端设备在生成三维组织模型对应的组织力学模型时,可以获取与该三维组织模型对应的组织力学模板,并将关联的力学参数导入到该组织力学模板内,生成该组织力学模型。In a possible implementation manner, different tissue types may be associated with different tissue mechanics templates, and the terminal device may obtain the associated tissue mechanics templates according to the tissue types, and import the mechanical parameters associated with the tissue types into the above tissue mechanics templates Inside, the corresponding tissue mechanics model is generated. For example, for blood tissue type, which belongs to non-Newtonian fluid, this type of tissue can correspond to a tissue mechanics template, and for tumor tissue type, which belongs to elastic tissue type, this type of tissue can correspond to another tissue mechanics template, for bone tissue If the tissue type belongs to the inelastic tissue type, this type of tissue can correspond to another tissue mechanics template. Therefore, when the terminal device generates the tissue mechanics model corresponding to the three-dimensional tissue model, it can obtain the tissue mechanics template corresponding to the three-dimensional tissue model. , and import the associated mechanical parameters into the tissue mechanics template to generate the tissue mechanics model.
在S103中,基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型。In S103, based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established; the model groups include at least two different types of the three-dimensional tissues Model.
在本实施例中,终端设备可以根据各个三维组织模型在三维模型中的相互位置关系,将具有相邻关系的三维组织模型划分到同一模型组内,从而能够将所有三维模型内包含的所有三维组织模型划分为多个模型组,即一个模型组内包含的是具有相邻关系的两个或以上的三维组织模型。需要说明的是,由于任一三维组织模型可以与多个其他不同的三维组织模型存在相邻关系,在该情况 下,一个三维组织模型可以在不同的模型组内,举例性地,若肝脏组织内包含以下三种类型的组织,分别为肝脏细胞组织,血管组织以及血液组织,其中,血管组织与血液组织相邻,因此可以将上述两种类型的三维组织模型划分到第一模型组,而血管组织与肝脏细胞组织相邻,则可以将上述两个类型的三维组织模型划分到第二模型组,由此可见,第一模型组与第二模型组内均包含有血管组织对应的三维组织模型,即一个三维组织模型可以同时出现在多个模型组内,具体根据其对应的相邻关系决定。In this embodiment, the terminal device can divide the three-dimensional tissue models with adjacent relationships into the same model group according to the mutual positional relationship of each three-dimensional tissue model in the three-dimensional model, so that all three-dimensional tissue models included in all three-dimensional models can be divided into three-dimensional models. The organization model is divided into multiple model groups, that is, a model group contains two or more three-dimensional organization models with adjacent relationships. It should be noted that, since any three-dimensional tissue model may have an adjacent relationship with multiple other different three-dimensional tissue models, in this case, one three-dimensional tissue model may be in different model groups. It contains the following three types of tissue, namely liver cell tissue, blood vessel tissue and blood tissue, among which, blood vessel tissue is adjacent to blood tissue, so the above two types of three-dimensional tissue models can be divided into the first model group, while The vascular tissue is adjacent to the liver cell tissue, the above two types of 3D tissue models can be divided into the second model group. It can be seen that the first model group and the second model group both contain 3D tissue corresponding to the vascular tissue. A model, that is, a three-dimensional tissue model can appear in multiple model groups at the same time, which is determined according to its corresponding adjacent relationship.
在一些现有的内部组织模型的构建技术中,在构建内部组织模型时,以肝脏组织模型为例,建立了由肝脏组织实质、血管和包膜三种三维组织模型,然后组合这三个部分的形变特性构成了目标对象的肝脏的复合形变模型,对于肝脏组织实质的力学属性,采用了共旋转有限元建模方法来分析建模,但是忽略了器官组织粘弹性特点,同样的,血管和肝包膜也采用共旋转有限元建模方法建立力学模型,由此可见,现有的构建技术中,并没有考虑不同类型的组织间耦合力的作用。In some existing internal tissue model construction techniques, when constructing the internal tissue model, taking the liver tissue model as an example, three three-dimensional tissue models of liver tissue parenchyma, blood vessels and capsule are established, and then these three parts are combined. The deformation characteristics of the target object constitute the composite deformation model of the liver of the target object. For the mechanical properties of the liver tissue parenchyma, the co-rotation finite element modeling method is used to analyze and model, but the viscoelastic characteristics of the organ tissue are ignored. Similarly, blood vessels and The co-rotational finite element modeling method is also used to establish the mechanical model of the liver capsule. It can be seen that the effect of different types of inter-tissue coupling forces is not considered in the existing construction technology.
在另一些现有的内部组织模型的构建技术中,在肝脏软组织形变建模方面,针对仿真计算量大难以达到实时性要求提出了一种肝脏网格与无网格混合模型的构建方法,在手术区域采用无网格法,在非手术区域采用网格法较高的计算效率且形变具有较好效果。但这种方式只针对肝脏整体采用统一力学模型,没有明确肝脏内不同组织的各向异性,然而不同的组织类型的力学模型往往存在差异,并可以一概而论。而对肝脏软组织进行了有限元分析建模方法,结合超弹性与粘弹性模型的特点建立了肝脏组织的超粘弹性模型模拟了肝脏的应力特性,提出了一种以肝穿刺手术为基础,反映肝脏软组织非线性粘弹性特性的质量弹簧法和基于位置动力学相结合的软组织变形建模方法。上述几种方法均在一定程度上忽略了肝脏不同组织具有复杂的生物力学特性,从而降低了模型的仿真程度。Among other existing internal tissue model construction techniques, in terms of liver soft tissue deformation modeling, a method for constructing a liver mesh and meshless hybrid model is proposed for the large amount of simulation calculation and it is difficult to meet the real-time requirements. The meshless method is used in the surgical area, and the mesh method in the non-surgical area has higher computational efficiency and better deformation effect. However, this method only adopts a unified mechanical model for the whole liver, and does not clarify the anisotropy of different tissues in the liver. However, the mechanical models of different tissue types are often different and can be generalized. The finite element analysis and modeling method of liver soft tissue was carried out, and a hyper-viscoelastic model of liver tissue was established by combining the characteristics of hyperelasticity and viscoelasticity to simulate the stress characteristics of the liver. A combined mass-spring method for nonlinear viscoelastic properties of liver soft tissue and a soft tissue deformation modeling method based on position dynamics. The above methods all ignore the complex biomechanical properties of different liver tissues to a certain extent, thus reducing the simulation degree of the model.
在本实施例中,由于上述建立的组织力学模型只是考虑自身在受力时的表 现,而在一个内部组织中,不同类型的组织之间也存在力的作用,因此需要考虑不同组织之间的耦合作用力,从而能够进一步提高模型的仿真程度。In this embodiment, since the tissue mechanics model established above only considers its own performance under force, and in an internal tissue, there is also a force effect between different types of tissue, so it is necessary to consider the relationship between different tissues. The coupling force can further improve the simulation degree of the model.
在一种可能的实现方式中,终端设备可以存储有一个接触力数据库,该接触力数据库内可以存储有不同类型组织之间的接触力函数,终端设备可以根据模型组内包含的三维组织模型的类型,从上述接触力数据库内查找与其对应的接触力函数,并作为该模型组对应的接触力函数。In a possible implementation manner, the terminal device may store a contact force database, and the contact force database may store contact force functions between different types of tissues, and the terminal device may store the contact force function between different types of tissues according to the type, find the corresponding contact force function from the above-mentioned contact force database, and use it as the contact force function corresponding to the model group.
在一种可能的实现方式中,终端设备可以也可以获取目标对象的各个类型的组织对应的力学参数,并基于上述力学参数确定不同类型组织之间的接触力函数,并将其作为该模型组对应的接触力函数。In a possible implementation manner, the terminal device can also acquire mechanical parameters corresponding to each type of tissue of the target object, and determine the contact force function between different types of tissue based on the above mechanical parameters, and use it as the model group The corresponding contact force function.
在S104中,根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。In S104, an internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups .
在本实施例中,终端设备在确定了内部组织对应的三维模型、三维模型内各个三维组织模型对应的组织力学模型以及模型组对应的接触力函数后,可以将上述三类型的数据进行融合合并,从而构成一个可以基于交互操作改变模型状态的内部组织模型,在响应交互操作时,终端设备可以根据与交互操作相关的区域所在的模型组的接触力函数以及关联的组织力学模型确定形变的幅度以及响应速率,从而动态调整内部组织模型的形状。In this embodiment, after determining the three-dimensional model corresponding to the internal tissue, the tissue mechanics model corresponding to each three-dimensional tissue model in the three-dimensional model, and the contact force function corresponding to the model group, the terminal device can fuse and merge the above three types of data , thus forming an internal tissue model that can change the state of the model based on the interactive operation. When responding to the interactive operation, the terminal device can determine the magnitude of the deformation according to the contact force function of the model group where the area related to the interactive operation is located and the associated tissue mechanics model. as well as the response rate, which dynamically adjusts the shape of the internal tissue model.
在一种可能的实现方式中,上述内部组织模型除了可以根据交互操作改变内部组织模型的形状外,还可以根据内部的作用力来自动改变内部组织模型的形状,例如胃部组织模型在仿真消化过程时,食物进入到胃部组织,在消化过程中胃部组织会进行对应的运动,因此,上述胃部组织模型也可以根据预设的组织力学模型以及不同类型组织之间的接触力函数,来改变胃部组织模型的形状,以模拟消化过程时胃部组织的变化情况,当然,对于心脏组织模型,也可以通过上述方式模拟心脏跳动时的变化情况。In a possible implementation manner, the above-mentioned internal tissue model can not only change the shape of the internal tissue model according to the interactive operation, but also automatically change the shape of the internal tissue model according to the internal force. During the process, the food enters the stomach tissue, and the stomach tissue will perform corresponding movements during the digestion process. Therefore, the above-mentioned stomach tissue model can also be based on the preset tissue mechanics model and the contact force function between different types of tissues. To change the shape of the stomach tissue model to simulate the changes of the stomach tissue during the digestion process, of course, for the heart tissue model, the above method can also simulate the changes of the heart beating.
示例性地,图2示出了本申请一实施例提供的内部组织模型的示意图。参 见图2中的(a)~(c)所示,该内部组织模型具体为一肝脏组织模型,在图2中的(a)~(c)所示,具体示出了该肝脏组织模型在受到外力时的变化情况,上述肝脏组织模型的外观变化幅度以及变化的快慢是根据组织力学模型以及接触力函数确定的。Exemplarily, FIG. 2 shows a schematic diagram of an internal organization model provided by an embodiment of the present application. Referring to (a) to (c) in FIG. 2 , the internal tissue model is specifically a liver tissue model. As shown in (a) to (c) of FIG. 2 , it specifically shows that the liver tissue model is in As for the changes when subjected to external force, the extent of change in the appearance of the above-mentioned liver tissue model and the speed of change are determined according to the tissue mechanics model and the contact force function.
在一种可能的实现方式中,在S104之后,终端设备可以构建与该内部组织相关的运行脚本,该运行脚本包含有至少一个预设事件,内部组织模型可以基于该运行脚本内对应的预设事件,以动态调整内部组织模型的形态,调整形态是根据预设的组织力学模型以及接触力函数确定的。如上所述,上述预设事件可以根据内部组织的不同配置对应的事件,例如心脏组织,则可以为心脏跳动事件,若是胃部组织,则可以为消化事件等;当然,若需要观察内部组织在遇到异常事件时的状态,则上述预设事件也可以为对应的异常事件,例如,对于心脏组织而言,上述异常事件可以为房颤事件,即通过心脏组织模型模拟用户遇到房颤事件时,心脏的跳动变化情况。In a possible implementation manner, after S104, the terminal device may construct a running script related to the internal organization, the running script includes at least one preset event, and the internal organization model may be based on the corresponding preset in the running script events to dynamically adjust the shape of the internal tissue model, which is determined according to a preset tissue mechanics model and a contact force function. As mentioned above, the above-mentioned preset events can be corresponding events according to different configurations of internal tissues, such as heart tissue, it can be a heart beating event, and if it is stomach tissue, it can be a digestion event; of course, if it is necessary to observe the internal tissue in The state when an abnormal event is encountered, the above-mentioned preset event can also be a corresponding abnormal event. For example, for cardiac tissue, the above-mentioned abnormal event can be an atrial fibrillation event, that is, a heart tissue model is used to simulate the user encountering an atrial fibrillation event. changes in the beating of the heart.
以上可以看出,本发明实施例提供的一种内部组织模型的构建方法在构建内部组织模型时,通过对于内部组织的扫描数据,建立内部组织对应的三维模型,由于一个内部组织内可能包含多种不同类型的组织,例如心脏组织中包含有静脉组织、动脉组织、血液组织以及肌肉组织等,不同类型的组织在受力时的反馈不一样,为了提高内部组织模型的准确性,在构建三维模型后,会基于三维模型中不同类型的三维组织模型分别构建对应的组织力学模型,并且根据不同的三维组织模型之间是否具有相邻关系,划分为多个模型组,为不同的模型组建立对应的接触力函数,能够考虑不同类型的组织之间力传递的效应,基于三维模型、组织力学模型以及接触力函数,生成内部组织模型,不仅能够在三维形态上对内部组织进行仿真还原,还能使得构建的虚拟模型能够对交互操作进行响应,提高了模型的仿真程度。It can be seen from the above that when constructing an internal organization model in the method for constructing an internal organization model provided by the embodiments of the present invention, a three-dimensional model corresponding to the internal organization is established by scanning data of the internal organization. Since an internal organization may contain multiple Different types of tissues, for example, heart tissue includes vein tissue, arterial tissue, blood tissue and muscle tissue, etc. Different types of tissues have different feedbacks when they are stressed. In order to improve the accuracy of the internal tissue model, the three-dimensional After the model, corresponding tissue mechanics models will be constructed based on different types of three-dimensional tissue models in the three-dimensional model, and according to whether there is an adjacent relationship between different three-dimensional tissue models, they will be divided into multiple model groups, and established for different model groups. The corresponding contact force function can consider the effect of force transmission between different types of tissues. Based on the three-dimensional model, the tissue mechanics model and the contact force function, the internal tissue model can be generated, which can not only simulate and restore the internal tissue in three-dimensional form, but also The constructed virtual model can respond to the interactive operation, and the simulation degree of the model is improved.
图3示出了本发明第二实施例提供的一种内部组织模型的构建方法S102的具体实现流程图。参见图3,相对于图1所述实施例,本实施例提供的一种 内部组织模型的构建方法中S102包括:S1021~S1023,具体详述如下:FIG. 3 shows a specific implementation flowchart of a method S102 for constructing an internal organization model provided by the second embodiment of the present invention. Referring to FIG. 3 , with respect to the embodiment described in FIG. 1 , in the method for constructing an internal organization model provided in this embodiment, S102 includes: S1021 to S1023, which are described in detail as follows:
进一步地,所述分别为各个所述三维组织模型构建组织力学模型,包括:Further, the tissue mechanics model is constructed for each of the three-dimensional tissue models, including:
在S1021中,若所述三维组织模型的类型为非血液类型,则基于预设的有限元方程构建非血液类型的所述三维组织模型的第一组织力学模型;所述第一力学模型具体为:In S1021, if the type of the three-dimensional tissue model is a non-blood type, a first tissue mechanics model of the non-blood type three-dimensional tissue model is constructed based on a preset finite element equation; the first mechanical model is specifically: :
MU″+DU′+K(U)U=RMU″+DU′+K(U)U=R
其中,U为节点位移向量;U’为节点位移向量的一阶导数;U”为节点位移向量的二阶导数;M为质量矩阵;D为阻尼矩阵;K为与变形非线性相关的刚度矩阵;R为节点力向量。Among them, U is the nodal displacement vector; U' is the first derivative of the nodal displacement vector; U" is the second derivative of the nodal displacement vector; M is the mass matrix; D is the damping matrix; K is the stiffness matrix related to the nonlinearity of the deformation ; R is the nodal force vector.
在本实施例中,终端设备可以为不同类型的三维组织模型配置对应的力学模板,从而构建对应的组织力学模型。具体地,根据是否为血液类型,可以将三维组织模型划分为两种不同的类型,即血液组织类型的三维组织模型以及非血液组织类型的三维组织模型。若该三维组织模型为血液组织类型,则该三维组织模型具体为一非牛顿流体,为非固态形状,无法通过有限元分割法来确定该模型的力学关系,因此需要采用一种类型的力学模板来构建组织力学模型;若该三维组织模型为非血液类型,则该三维组织模型具体为一固态形状,可以通过有限元分割法来确定该模型的力学关系,因此可以采用另一种类型的力学模板来构建组织力学模型,基于此,终端设备会首选判断该三维组织模型是否为血液类型,若否,则执行S1021的操作;若是,则执行S1022的操作。In this embodiment, the terminal device can configure corresponding mechanical templates for different types of three-dimensional tissue models, so as to construct corresponding tissue mechanical models. Specifically, according to whether it is a blood type, the three-dimensional tissue model can be divided into two different types, that is, a three-dimensional tissue model of a blood tissue type and a three-dimensional tissue model of a non-blood tissue type. If the three-dimensional tissue model is a blood tissue type, the three-dimensional tissue model is specifically a non-Newtonian fluid, a non-solid shape, and the mechanical relationship of the model cannot be determined by the finite element segmentation method, so a type of mechanical template needs to be used. to construct a tissue mechanical model; if the three-dimensional tissue model is of non-blood type, the three-dimensional tissue model is a solid shape, and the mechanical relationship of the model can be determined by the finite element segmentation method, so another type of mechanical The template is used to construct a tissue mechanics model. Based on this, the terminal device will firstly determine whether the three-dimensional tissue model is of blood type. If not, the operation of S1021 is performed; if so, the operation of S1022 is performed.
在本实施例中,若终端设备检测到任一三维组织模型为非血液类型,则可以通过有限元方程来构建该三维组织模型对应的组织力学模型,其中,终端设备可以获取相关物理参量,如该三维组织模型对应的质量参数、弹性参数、阻尼参数以及刚性参数等,通过上述参数可以确定在受力是对应的形变幅度(即与上述的位移向量相关),形变响应速率(与上述的位移向量的一阶导数相关,其中位移向量的一阶导数即速度),以及形变响应加速度(与上述的位移向量的二阶导数相关),当然,终端设备还可以通过获取内部组织对应的阻尼参数,构 建上述的阻尼矩阵,以及根据内部组织的刚性参数,构建上述内部组织的刚度矩阵等,基于内部组织的物理学参数,构建得到对应的矩阵,并将矩阵导入到上述的有限元方程内,将构建得到的有限元方程作为该三维组织模型对应的第一组织力学模型。In this embodiment, if the terminal device detects that any three-dimensional tissue model is of a non-blood type, a tissue mechanics model corresponding to the three-dimensional tissue model can be constructed through finite element equations, wherein the terminal device can obtain relevant physical parameters, such as The quality parameters, elastic parameters, damping parameters and rigidity parameters corresponding to the three-dimensional tissue model can be determined through the above parameters. The first derivative of the vector is related to the first derivative of the displacement vector, where the first derivative of the displacement vector is velocity), and the acceleration of the deformation response (related to the second derivative of the above-mentioned displacement vector). Of course, the terminal device can also obtain the damping parameters corresponding to the internal organization, Construct the above-mentioned damping matrix, and according to the rigidity parameters of the internal organization, construct the rigidity matrix of the above-mentioned internal organization, etc., based on the physical parameters of the internal organization, construct the corresponding matrix, and import the matrix into the above-mentioned finite element equation. The obtained finite element equation is used as the first tissue mechanics model corresponding to the three-dimensional tissue model.
在一种可能的实现方式中,终端设备可以通过弹性成像原理获取内部组织对应的弹性图像数据,并基于弹性图像数据获取内部组织对应的物理学参数,该物理学参数包括上面所述的各种参量,还可以包括弹性模量以及泊松比等。In a possible implementation manner, the terminal device may acquire elastic image data corresponding to the internal tissue through the principle of elastic imaging, and acquire physical parameters corresponding to the internal tissue based on the elastic image data, where the physical parameters include the above-mentioned various parameters, and can also include elastic modulus and Poisson's ratio.
在S1022中,若所述三维组织模型的类型为血液类型,则基于预设的流体力学本构方程构建血液类型的所述三维组织模型的第二组织力学模型;所述第二力学模型具体为:In S1022, if the type of the three-dimensional tissue model is a blood type, a second tissue mechanics model of the three-dimensional tissue model of the blood type is constructed based on a preset fluid mechanics constitutive equation; the second mechanical model is specifically: :
Figure PCTCN2021138022-appb-000001
Figure PCTCN2021138022-appb-000001
其中,u为血液在轴向的速度;r为血液在轴向的位移向量;τ c为压力,k为非牛顿流体的粘度系数。 Among them, u is the velocity of the blood in the axial direction; r is the displacement vector of the blood in the axial direction; τ c is the pressure, and k is the viscosity coefficient of the non-Newtonian fluid.
在本实施例中,若终端设备检测到任一三维组织模型为血液类型,则可以通过流体力学本构方程来构建该三维组织模型对应的组织力学模型,即第二组织力学模型。其中,终端设备可以获取血液的粘稠度,从而确定上述的非牛顿流体的粘度系数,以及通过获取血压指标,确定该血液在血管中的流速,即上述的轴向速度,并确定位移向量,上述的压力也可以通过血压以及粘度系数确定得到,从而构建得到关于血液类型的三维组织模型的第二组织力学模型。In this embodiment, if the terminal device detects that any three-dimensional tissue model is of blood type, a tissue mechanics model corresponding to the three-dimensional tissue model, that is, a second tissue mechanics model, can be constructed by using the fluid mechanics constitutive equation. The terminal device can obtain the viscosity of the blood to determine the viscosity coefficient of the above-mentioned non-Newtonian fluid, and obtain the blood pressure index to determine the flow velocity of the blood in the blood vessel, that is, the above-mentioned axial velocity, and determine the displacement vector, The above-mentioned pressure can also be determined by the blood pressure and the viscosity coefficient, so as to construct a second tissue mechanics model that obtains a three-dimensional tissue model related to the blood type.
在一种可能的实现方式中,终端设备可以存储有一个参数库,该参数库可以记录有不同类型的组织对应的力学参数列表,该力学参数列表可以包含不同对象类型的力学参数,例如,该力学参数列表可以记录有不同年龄、不同性别、不同体重以及不同身高对于同一类型组织对应的力学参数,并构成关于该类型组织的力学参数列表。上述力学参数可以通过采集大量对象样本获取得到,终端设备可以获取目标对象的对象信息,并基于该对象信息从力学参数列表中查 询与之关联的力学参数,并基于该力学参数构建得到对应的组织力学模型。In a possible implementation manner, the terminal device may store a parameter library, and the parameter library may record mechanical parameter lists corresponding to different types of tissues, and the mechanical parameter list may include mechanical parameters of different object types. For example, the The mechanical parameter list can record the mechanical parameters corresponding to different ages, different genders, different weights, and different heights for the same type of tissue, and form a mechanical parameter list about the type of tissue. The above mechanical parameters can be obtained by collecting a large number of object samples, and the terminal device can obtain the object information of the target object, and based on the object information, query the mechanical parameters associated with it from the mechanical parameter list, and construct the corresponding tissue based on the mechanical parameters. mechanical model.
在一种可能的实现方式中,终端设备还可以通过大数据学习的方式,为不同类型的组织构建对应的力学参数计算函数,在该情况下,终端设备可以将目标对象的对象信息导入到该力学参数计算函数内,则可以输出与该对象信息相关的该类型组织的力学参数。其中,对象信息可以包含对象年龄、对象体重、对象身高、对象性别等信息。In a possible implementation manner, the terminal device can also construct corresponding mechanical parameter calculation functions for different types of tissues by means of big data learning. In this case, the terminal device can import the object information of the target object into the In the mechanical parameter calculation function, the mechanical parameters of this type of tissue related to the object information can be output. The object information may include information such as the age of the object, the weight of the object, the height of the object, and the gender of the object.
在本申请实施例中,根据三维组织模型的类型不同,采用不同的方程构建对应的组织力学模型,可以提高组织力学模型构建的准确性,继而提高后续内脏组织模型的仿真程度。In the embodiment of the present application, according to different types of three-dimensional tissue models, different equations are used to construct corresponding tissue mechanics models, which can improve the accuracy of tissue mechanics model construction, thereby improving the simulation degree of subsequent visceral tissue models.
图4示出了本发明第三实施例提供的一种内部组织模型的构建方法S103的具体实现流程图。参见图4,相对于图1所述实施例,本实施例提供的一种内部组织模型的构建方法S103包括S401~S402,具体详述如下:FIG. 4 shows a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the third embodiment of the present invention. Referring to FIG. 4 , with respect to the embodiment shown in FIG. 1 , a method S103 for constructing an internal organization model provided in this embodiment includes S401 to S402 , which are described in detail as follows:
进一步地,所述基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数,包括:Further, based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established, including:
在S401中,若所述模型组内包含血液组织模型以及血管组织模型,则获取所述血管组织模型对应的力学物理参数,以及获取所述血管组织模型和所述血液组织模型之间的距离值。In S401, if the model group includes a blood tissue model and a blood vessel tissue model, obtain mechanical physical parameters corresponding to the blood vessel tissue model, and obtain a distance value between the blood vessel tissue model and the blood tissue model .
在本实施例中,终端设备若检测到某一模型组内包含的三维组织模型为血液组织模型以及血管组织模型,即可以获取血管组织模型对应的力学物理参数,以及血液与血管之间的距离值,其中,由于血液与血管之间可能存在血管壁、血管膜等物质,即血液与血管组织之间可能会存在一定的距离,根据距离的不同,接触力的大小也会存在差异,因此,终端设备可以通过内部组织的三维模型,确定血液组织模型与血管组织模型之间的距离值。In this embodiment, if the terminal device detects that the three-dimensional tissue model included in a certain model group is a blood tissue model and a blood vessel tissue model, it can acquire the mechanical and physical parameters corresponding to the blood vessel tissue model, as well as the distance between the blood and the blood vessel. value, among which, because there may be substances such as blood vessel wall and blood vessel membrane between blood and blood vessels, that is, there may be a certain distance between blood and blood vessel tissue, and the magnitude of the contact force will also vary according to the distance. Therefore, The terminal device can determine the distance value between the blood tissue model and the blood vessel tissue model through the three-dimensional model of the internal tissue.
需要说明的是,若上述参数在构建组织力学模型时已经获取得到,则在S401中只需直接提取相关的参数即可,无需重新获取;反之,若在构建组织力学模型时,并未获取得到相关的参数(即上述的力学物理参数以及粘度系度), 则可以通过基于弹性成像原理获取的弹性图像数据以及S101中构建得到的三维模型,确定上述的参数。It should be noted that, if the above parameters have been obtained when constructing the tissue mechanics model, it is only necessary to directly extract the relevant parameters in S401, and there is no need to obtain them again; on the contrary, if the tissue mechanics model is constructed, the parameters have not been obtained. For the relevant parameters (ie, the above-mentioned mechanical physical parameters and viscosity coefficient), the above-mentioned parameters can be determined by the elastic image data obtained based on the principle of elastography and the three-dimensional model constructed in S101 .
在S402中,基于所述力学物理参数以及所述距离值构建所述血液组织模型与所述血管组织模型之间的第一接触力函数;In S402, a first contact force function between the blood tissue model and the blood vessel tissue model is constructed based on the mechanical physical parameters and the distance value;
Figure PCTCN2021138022-appb-000002
Figure PCTCN2021138022-appb-000002
其中,
Figure PCTCN2021138022-appb-000003
为所述血液组织模型与所述血管组织模型之间的第一接触力;γ为预设的罚因子;k为所述血管组织模型对应的所述力学物理参数;δ为所述血液组织模型与所述血管组织模型之间的所述距离值;r为血液在轴向的位移向量。
in,
Figure PCTCN2021138022-appb-000003
is the first contact force between the blood tissue model and the blood vessel tissue model; γ is a preset penalty factor; k is the mechanical physical parameter corresponding to the blood vessel tissue model; δ is the blood tissue model the distance value from the vascular tissue model; r is the displacement vector of the blood in the axial direction.
在本实施例中,由于血管组织模型是基于有限元分割得到的模型,而血液组织模型是基于无限元构建的模型,有限元与无限元之间的相互作用力可以通过罚函数来确定相互之间的接触力,将血管组织模型对应的力学物理参数以及上述获取得到的距离值导入到罚函数内,从而可以构建得到血液与血管之间接触力的计算函数,即上述的第一接触力函数。其中,上述的e具体为自然常数。In this embodiment, since the blood vessel tissue model is obtained based on finite element segmentation, and the blood tissue model is constructed based on infinite elements, the interaction force between finite elements and infinite elements can be determined through a penalty function. The mechanical and physical parameters corresponding to the blood vessel tissue model and the distance value obtained above are imported into the penalty function, so that the calculation function of the contact force between the blood and the blood vessel can be constructed, that is, the above-mentioned first contact force function. . The above-mentioned e is specifically a natural constant.
在本申请实施例中,通过罚函数来确定固态组织与流体组织之间的接触力函数,能够更为准确地描述两者之间的相互作用力,提高不同类型组织之间的耦合力描述的准确性,继而提高后续构建模型的仿真程度。In the embodiment of the present application, the contact force function between the solid tissue and the fluid tissue can be determined by the penalty function, which can describe the interaction force between the two more accurately and improve the description of the coupling force between different types of tissue. accuracy, which in turn improves the simulation level of subsequent model building.
图5示出了本发明第四实施例提供的一种内部组织模型的构建方法S103的具体实现流程图。参见图5,相对于图1所述实施例,本实施例提供的一种内部组织模型的构建方法S103包括:S501~S504,具体详述如下:FIG. 5 shows a specific implementation flowchart of a method S103 for constructing an internal organization model provided by the fourth embodiment of the present invention. Referring to FIG. 5 , with respect to the embodiment shown in FIG. 1 , a method S103 for constructing an internal organization model provided in this embodiment includes: S501 to S504 , which are described in detail as follows:
进一步地,所述基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数,包括:Further, based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established, including:
在S501中,若所述模型组内包含三维组织模型均为非血液组织模型,则分别获取各个不同类型的所述三维组织模型对应的弹性成像数据。In S501, if the three-dimensional tissue models included in the model group are all non-blood tissue models, respectively acquire elastography data corresponding to the three-dimensional tissue models of different types.
在本实施例中,若终端设备识别得到该模型组内各个三维组织模型均为非血液组织模型,即均为固态类型的组织,在该情况下,则可以获取各个三维组织模型对应的弹性成像数据。需要说明的是,上述弹性成像数据可以是预先获 取的,即在获取内部组织的扫描数据时,可以通过弹性程序模块获取内部组织的弹性成像数据,并在需要构建目标对象的内部组织模型时,将扫描数据以及弹性成像数据发送给终端设备。当然,上述扫描数据与弹性成像数据也可以非同时采集的,在此不对弹性成像数据的采集时机进行限定。In this embodiment, if the terminal device recognizes that each three-dimensional tissue model in the model group is a non-blood tissue model, that is, is a solid type of tissue, in this case, the elastography corresponding to each three-dimensional tissue model can be obtained. data. It should be noted that the above-mentioned elastic imaging data may be acquired in advance, that is, when acquiring the scanning data of the internal tissue, the elastic imaging data of the internal tissue may be acquired through the elastic program module, and when the internal tissue model of the target object needs to be constructed, Send scan data and elastography data to terminal devices. Of course, the above-mentioned scan data and elastography data may also be acquired non-simultaneously, and the acquisition timing of elastography data is not limited here.
在一种可能实现方式中,不同类型的三维组织模型的弹性成像数据可以是同时获取的,即对应同一弹性成像图像。在该情况下,终端设备可以根据各个三维组织模型在上述弹性成像图像内对应的显示区域,将上述弹性成像图像划分为多个数据块,将从弹性成像图像中获取得到的数据块作为该三维组织模型对应的弹性成像数据。In a possible implementation manner, elastography data of different types of three-dimensional tissue models may be acquired simultaneously, that is, corresponding to the same elastography image. In this case, the terminal device may divide the elastography image into a plurality of data blocks according to the corresponding display area of each three-dimensional tissue model in the elastography image, and use the data block obtained from the elastography image as the three-dimensional elastography image. Elastography data corresponding to the tissue model.
在S502中,基于所述弹性成像数据确定所述三维组织模型对应的力学物理参数。In S502, mechanical physical parameters corresponding to the three-dimensional tissue model are determined based on the elastography data.
在本实施例中,终端设备可以通过对上述弹性成像数据进行解析,从而能够提取关于该三维组织模型对应的力学物理参数。上述力学物理参数可以包括:弹性参量、泊松比等。In this embodiment, the terminal device can extract the mechanical and physical parameters corresponding to the three-dimensional tissue model by analyzing the above elastography data. The above-mentioned mechanical and physical parameters may include: elastic parameters, Poisson's ratio, and the like.
在S503中,获取所述内部组织连续多帧所述扫描数据,确定不同类型的所述三维组织模型间的耦合作用参数。In S503, acquiring the scan data of the internal tissue in consecutive multiple frames, and determining the coupling action parameters between the three-dimensional tissue models of different types.
在本实施例中,终端设备除了需要确定与各个三维组织模型本身相关的力学物理参数外,还需要确定相互之间的耦合作用参数,而相互的耦合作用参数可以通过连续的扫描数据确定得到,基于此,终端设备在获取内部组织的扫描数据时,可以基于预设的采集间隔,连续获取多帧关于内部组织的扫描数据,终端设备可以通过在时间维度上连续获取的多帧扫描数据,从而构建关于内部组织的四维组织模型,基于四维组织模型可以提取得到上述不同类型的三维组织模型之间的耦合作用参数。In this embodiment, in addition to determining the mechanical and physical parameters related to each three-dimensional tissue model itself, the terminal device also needs to determine the mutual coupling action parameters, and the mutual coupling action parameters can be determined through continuous scanning data. Based on this, when the terminal device acquires the scan data of the internal tissue, it can continuously acquire multiple frames of scan data about the internal tissue based on the preset acquisition interval. A four-dimensional tissue model about the internal organization is constructed, and the coupling action parameters between the above-mentioned different types of three-dimensional tissue models can be extracted based on the four-dimensional tissue model.
进一步地,作为本申请的另一实施例,上述S503具体可以包含以下两个步骤,分别为:Further, as another embodiment of the present application, the above S503 may specifically include the following two steps, respectively:
S5031,从所述扫描数据中确定包含所述模型组内不同类型的所述三维组织 模型对应的组织切面数据。S5031: Determine from the scan data the tissue section data corresponding to the different types of the three-dimensional tissue models in the model group.
S5032,基于连续多帧所述扫描数据中的所述组织切面数据,得到所述耦合作用参数。S5032 , obtaining the coupling action parameter based on the tissue section data in the scanning data of consecutive multiple frames.
在本实施例中,由于上述扫描数据具体是对应整个内部组织而言,在需要确定模型组对应的不同类型的三维组织模型间对应的接触力函数时,可以从扫描数据中提取只包含该模型组相关的三维组织模型对应的组织切面数据,对于多帧扫描数据均通过同样的方式进行组织切面数据的提取,从而可以根据连续多帧的组织切面数据确定该模型组内不同三维组织模型对应的耦合作用参数。In this embodiment, since the above-mentioned scan data corresponds to the entire internal tissue, when it is necessary to determine the contact force function corresponding to the different types of three-dimensional tissue models corresponding to the model group, it is possible to extract only the model from the scan data. The tissue section data corresponding to the related three-dimensional tissue models in the group, the tissue section data are extracted in the same way for the multi-frame scan data, so that the tissue section data corresponding to the different three-dimensional tissue models in the model group can be determined according to the consecutive multiple frames of tissue section data. Coupling action parameters.
在S504中,基于所述力学物理参数以及所述耦合作用参数,构建所述模型组对应的第二接触力函数。In S504, a second contact force function corresponding to the model group is constructed based on the mechanical physical parameters and the coupling action parameters.
在本实施例中,终端设备在确定了不同类型的三维组织模型的力学物理参数以及相互之间的耦合作用参数后,可以导入预设的固态组织间的接触力模板,从而生成上述的第二接触力函数。In this embodiment, after determining the mechanical and physical parameters of different types of three-dimensional tissue models and the coupling interaction parameters between them, the terminal device can import a preset contact force template between solid tissues, so as to generate the above-mentioned second contact force function.
在本申请实施例中,通过获取与三维组织模型自身相关的力学物理参数,以及不同类型间三维组织模型的耦合作用参数,构建得到该模型组对应的第二接触力函数,能够考虑自身组织的特性以及相互之间的粘合作用力,提高了第二接触力函数的描述的准确性,继而提高了构建的模型的仿真程度。In the embodiment of the present application, by acquiring the mechanical and physical parameters related to the three-dimensional tissue model itself, and the coupling action parameters of the three-dimensional tissue model between different types, the second contact force function corresponding to the model group is constructed and obtained, which can consider the self-organization. The characteristics and the mutual adhesion force improve the accuracy of the description of the second contact force function, which in turn improves the simulation degree of the constructed model.
图6示出了本发明第五实施例提供的一种内部组织模型的构建方法的具体实现流程图。参见图6,相对于图1-5任一项所述实施例,本实施例提供的一种内部组织模型的构建方法,在所述根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型之后,还包括:S601~S602,具体详述如下:FIG. 6 shows a specific implementation flow chart of a method for constructing an internal organization model provided by a fifth embodiment of the present invention. Referring to FIG. 6 , with respect to the embodiment described in any one of FIGS. 1-5 , in a method for constructing an internal tissue model provided by this embodiment, in the three-dimensional model according to the three-dimensional model and each of the three-dimensional models in the three-dimensional model After the tissue mechanics model corresponding to the tissue model and the contact force function corresponding to all the model groups are generated, the internal tissue model corresponding to the internal tissue further includes: S601-S602, the details are as follows:
在所述根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型之后,还包括:After the internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force function corresponding to all the model groups ,Also includes:
在S601中,获取关于所述内部组织的手术流程信息,并生成关于所述手术流程信息对应的手术模拟脚本。In S601, the operation flow information about the internal tissue is acquired, and the operation simulation script corresponding to the operation flow information is generated.
在本实施例中,终端设备在生成了内部组织对应的内部组织模型后,可以进行手术模拟的操作,即模拟在手术过程中,内部组织的变化情况,实现手术仿真模拟的目的。基于此,用户可以预先配置对应的手术流程信息,该手术流程信息可以确定手术过程中所需要执行的各个步骤、每个步骤的交互位置、交互力的大小与内部组织间的基础面的大小等等。In this embodiment, after generating the internal tissue model corresponding to the internal tissue, the terminal device can perform the operation of surgical simulation, that is, simulate the changes of the internal tissue during the operation, so as to achieve the purpose of surgical simulation. Based on this, the user can pre-configure the corresponding surgical process information, which can determine the steps to be performed in the surgical process, the interaction position of each step, the size of the interaction force and the size of the basic surface between the internal tissues, etc. Wait.
在本实施例中,终端设备在获取得到用户创建的手术流程信息后,可以将该流程信息转换为对应的手术模拟脚本,以便对手术过程进行模拟。In this embodiment, after obtaining the surgical procedure information created by the user, the terminal device can convert the procedure information into a corresponding surgical simulation script, so as to simulate the surgical procedure.
在S602中,基于所述内部组织模型构建手术模拟环境,并在所述手术模拟环境下运行所述手术模拟脚本,生成模拟结果报告。In S602, a surgery simulation environment is constructed based on the internal tissue model, and the surgery simulation script is run in the surgery simulation environment to generate a simulation result report.
在本实施例中,终端设备可以基于已经构建的内部组织模型搭建对应的手术模拟环境,并在该手术模拟环境下运行上述手术模拟脚本,从而能够对手术过程进行仿真模拟,并生成整个手术过程对应的模拟结果报告,以便用户能够清楚确定整个手术效果。In this embodiment, the terminal device can build a corresponding surgical simulation environment based on the built internal tissue model, and run the above-mentioned surgical simulation script in the surgical simulation environment, so that the surgical process can be simulated and the entire surgical process can be generated. The corresponding simulation results are reported so that the user can clearly determine the overall surgical effect.
在一种可能的实现方式中,终端设备可以基于内部组织模型构建对应的手术模拟环境,并接收用户的发起交互操作,基于上述交互操作变更手术模拟环境中的内部组织模型的状态,以实现实时模拟手术的目的。In a possible implementation manner, the terminal device may construct a corresponding surgical simulation environment based on the internal tissue model, receive an interactive operation initiated by the user, and change the state of the internal tissue model in the surgical simulation environment based on the above interactive operation, so as to realize real-time The purpose of simulating surgery.
在本申请实施例中,通过已经构建得到的可交互的内部组织模型构建手术模拟环境,能够实现手术模拟仿真,并输出对应的模拟结果报告,能够便于用户在术前进行手术模拟,提高手术模拟的仿真程度。In the embodiment of the present application, the surgical simulation environment is constructed by using the constructed interactive internal tissue model, which can realize the surgical simulation and output the corresponding simulation result report, which can facilitate the user to perform the surgical simulation before surgery and improve the surgical simulation. degree of simulation.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
图7示出了本发明一实施例提供的一种内部组织模型的构建装置的结构框图,该终端设备包括的各单元用于执行图1对应的实施例中的各步骤。具体请 参阅图1与图1所对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。FIG. 7 shows a structural block diagram of an apparatus for constructing an internal organization model provided by an embodiment of the present invention, and each unit included in the terminal device is used to execute each step in the embodiment corresponding to FIG. 1 . For details, please refer to the relevant descriptions in FIG. 1 and the embodiment corresponding to FIG. 1 . For convenience of explanation, only the parts related to this embodiment are shown.
参见图7,所述内部组织模型的构建装置包括:Referring to Figure 7, the construction device of the internal tissue model includes:
三维模型构建单元71,用于获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型;A three-dimensional model building unit 71, configured to acquire scan data about the internal tissue of the target object, and generate a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a variety of different types of internal tissue One-to-one correspondence of multiple 3D tissue models;
组织力学模型构建单元72,用于分别为各个所述三维组织模型构建组织力学模型;a tissue mechanics model building unit 72, configured to build a tissue mechanics model for each of the three-dimensional tissue models;
接触力函数建立单元73,用于基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型;The contact force function establishment unit 73 is configured to determine, based on the three-dimensional model, a plurality of model groups with adjacent relationships, and establish a contact force function corresponding to each of the model groups; the model group includes at least two different types the three-dimensional tissue model;
内部组织模型生成单元74,用于根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。An internal tissue model generation unit 74, configured to generate the internal tissue according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force function corresponding to all the model groups Corresponding internal organization model.
可选地,所述组织力学模型构建单元72包括:Optionally, the tissue mechanics model building unit 72 includes:
非血液类型力学模型构建单元,用于若所述三维组织模型的类型为非血液类型,则基于预设的有限元方程构建非血液类型的所述三维组织模型的第一组织力学模型;所述第一力学模型具体为:a non-blood type mechanical model construction unit, configured to construct a first tissue mechanical model of the non-blood type of the three-dimensional tissue model based on a preset finite element equation if the type of the three-dimensional tissue model is non-blood type; the The first mechanical model is specifically:
MU″+DU′+K(U)U=RMU″+DU′+K(U)U=R
其中,U为节点位移向量;U’为节点位移向量的一阶导数;U”为节点位移向量的二阶导数;M为质量矩阵;D为阻尼矩阵;K为与变形非线性相关的刚度矩阵;R为节点力向量;Among them, U is the nodal displacement vector; U' is the first derivative of the nodal displacement vector; U" is the second derivative of the nodal displacement vector; M is the mass matrix; D is the damping matrix; K is the stiffness matrix related to the nonlinearity of the deformation ; R is the nodal force vector;
血液类型力学模型构建单元,用于若所述三维组织模型的类型为血液类型,则基于预设的流体力学本构方程构建血液类型的所述三维组织模型的第二组织力学模型;所述第二力学模型具体为:a blood type mechanics model building unit, configured to construct a second tissue mechanics model of the three-dimensional tissue model of the blood type based on a preset fluid mechanics constitutive equation if the type of the three-dimensional tissue model is a blood type; The second mechanical model is as follows:
Figure PCTCN2021138022-appb-000004
Figure PCTCN2021138022-appb-000004
其中,u为血液在轴向的速度;r为血液在轴向的位移向量;τ c为压力,k为非牛顿流体的粘度系数。 Among them, u is the velocity of the blood in the axial direction; r is the displacement vector of the blood in the axial direction; τ c is the pressure, and k is the viscosity coefficient of the non-Newtonian fluid.
可选地,所述接触力函数建立单元73包括:Optionally, the contact force function establishment unit 73 includes:
血液血管参数获取单元,用于若所述模型组内包含血液组织模型以及血管组织模型,则获取所述血管组织模型对应的力学物理参数,以及获取所述血管组织模型和所述血液组织模型之间的距离值;The blood vessel parameter obtaining unit is configured to obtain the mechanical physical parameters corresponding to the blood vessel tissue model if the model group includes the blood tissue model and the blood vessel tissue model, and obtain the relationship between the blood vessel tissue model and the blood tissue model. The distance value between;
第一接触力函数建立单元,用于基于所述力学物理参数以及所述距离值构建所述血液组织模型与所述血管组织模型之间的第一接触力函数;a first contact force function establishment unit, configured to construct a first contact force function between the blood tissue model and the blood vessel tissue model based on the mechanical physical parameter and the distance value;
Figure PCTCN2021138022-appb-000005
Figure PCTCN2021138022-appb-000005
其中,
Figure PCTCN2021138022-appb-000006
为所述血液组织模型与所述血管组织模型之间的第一接触力;γ为预设的罚因子;k为所述血管组织模型对应的所述力学物理参数;δ为所述血液组织模型与所述血管组织模型之间的所述距离值;r为血液在轴向的位移向量。
in,
Figure PCTCN2021138022-appb-000006
is the first contact force between the blood tissue model and the blood vessel tissue model; γ is a preset penalty factor; k is the mechanical physical parameter corresponding to the blood vessel tissue model; δ is the blood tissue model the distance value from the vascular tissue model; r is the displacement vector of the blood in the axial direction.
可选地,所述接触力函数建立单元73包括:Optionally, the contact force function establishment unit 73 includes:
弹性成像数据获取单元,用于若所述模型组内包含三维组织模型均为非血液组织模型,则分别获取各个不同类型的所述三维组织模型对应的弹性成像数据;an elastography data acquisition unit, configured to separately acquire elastography data corresponding to each of the different types of the three-dimensional tissue models if the three-dimensional tissue models included in the model group are all non-blood tissue models;
力学物理参数获取单元,用于基于所述弹性成像数据确定所述三维组织模型对应的力学物理参数;a mechanical and physical parameter acquisition unit, configured to determine the mechanical and physical parameters corresponding to the three-dimensional tissue model based on the elastography data;
耦合作用参数确定单元,用于获取所述内部组织连续多帧所述扫描数据,确定不同类型的所述三维组织模型间的耦合作用参数;a coupling action parameter determination unit, configured to acquire the scanning data of the internal tissue in consecutive multiple frames, and determine coupling action parameters between the three-dimensional tissue models of different types;
第二接触力函数构建单元,用于基于所述力学物理参数以及所述耦合作用参数,构建所述模型组对应的第二接触力函数。A second contact force function construction unit, configured to construct a second contact force function corresponding to the model group based on the mechanical physical parameters and the coupling action parameters.
可选地,所述耦合作用参数确定单元,包括:Optionally, the coupling action parameter determination unit includes:
组织切面数据获取单元,用于从所述扫描数据中确定包含所述模型组内不 同类型的所述三维组织模型对应的组织切面数据;A tissue section data acquisition unit, for determining from the scan data the tissue section data corresponding to the three-dimensional tissue models of different types in the model group;
耦合作用参数提取单元,用于基于连续多帧所述扫描数据中的所述组织切面数据,得到所述耦合作用参数。A coupling action parameter extraction unit, configured to obtain the coupling action parameter based on the tissue section data in the scanning data of consecutive multiple frames.
可选地,所述内部组织模型的构建装置,还包括:Optionally, the device for constructing the internal tissue model, further comprising:
手术模拟脚本生成单元,用于获取关于所述内部组织的手术流程信息,并生成关于所述手术流程信息对应的手术模拟脚本;a surgical simulation script generation unit, configured to acquire surgical procedure information about the internal tissue, and generate a surgical simulation script corresponding to the surgical procedure information;
手术模拟执行单元,用于基于所述内部组织模型构建手术模拟环境,并在所述手术模拟环境下运行所述手术模拟脚本,生成模拟结果报告。A surgery simulation execution unit, configured to construct a surgery simulation environment based on the internal tissue model, and run the surgery simulation script in the surgery simulation environment to generate a simulation result report.
可选地,所述内部组织包括:肝脏组织和/或心脏组织。Optionally, the internal tissue includes liver tissue and/or heart tissue.
因此,本发明实施例提供的终端设备同样可以在构建内部组织模型时,通过对于内部组织的扫描数据,建立内部组织对应的三维模型,由于一个内部组织内可能包含多种不同类型的组织,例如心脏组织中包含有静脉组织、动脉组织、血液组织以及肌肉组织等,不同类型的组织在受力时的反馈不一样,为了提高内部组织模型的准确性,在构建三维模型后,会基于三维模型中不同类型的三维组织模型分别构建对应的组织力学模型,并且根据不同的三维组织模型之间是否具有相邻关系,划分为多个模型组,为不同的模型组建立对应的接触力函数,能够考虑不同类型的组织之间力传递的效应,基于三维模型、组织力学模型以及接触力函数,生成内部组织模型,不仅能够在三维形态上对内部组织进行仿真还原,还能使得构建的虚拟模型能够对交互操作进行响应,提高了模型的仿真程度。Therefore, the terminal device provided in the embodiment of the present invention can also build a three-dimensional model corresponding to the internal organization by scanning data of the internal organization when constructing the internal organization model. Since an internal organization may contain multiple different types of organizations, such as Cardiac tissue includes vein tissue, arterial tissue, blood tissue, and muscle tissue. Different types of tissue have different feedbacks when subjected to force. In order to improve the accuracy of the internal tissue model, after the 3D model is constructed, the 3D model Different types of 3D tissue models in the 3D tissue model are constructed with corresponding tissue mechanics models, and according to whether there is an adjacent relationship between different 3D tissue models, they are divided into multiple model groups, and corresponding contact force functions are established for different model groups. Considering the effect of force transmission between different types of tissues, the internal tissue model is generated based on the three-dimensional model, tissue mechanics model and contact force function, which can not only simulate and restore the internal tissue in three-dimensional form, but also enable the constructed virtual model. Responding to interactive operations improves the simulacrum of the model.
图8是本发明另一实施例提供的一种终端设备的示意图。如图8所示,该实施例的终端设备8包括:处理器80、存储器81以及存储在所述存储器81中并可在所述处理器80上运行的计算机程序82,例如内部组织模型的构建程序。所述处理器80执行所述计算机程序82时实现上述各个内部组织模型的构建方法实施例中的步骤,例如图1所示的S101至S104。或者,所述处理器80执行所述计算机程序82时实现上述各装置实施例中各单元的功能,例如图7所示模 块71至74功能。FIG. 8 is a schematic diagram of a terminal device according to another embodiment of the present invention. As shown in FIG. 8 , the terminal device 8 of this embodiment includes: a processor 80 , a memory 81 , and a computer program 82 stored in the memory 81 and executable on the processor 80 , for example, the construction of an internal organization model program. When the processor 80 executes the computer program 82, the steps in each of the above embodiments of the method for constructing an internal organization model are implemented, for example, S101 to S104 shown in FIG. 1 . Alternatively, when the processor 80 executes the computer program 82, the functions of the units in the above device embodiments, such as the functions of the modules 71 to 74 shown in FIG. 7, are implemented.
示例性的,所述计算机程序82可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器81中,并由所述处理器80执行,以完成本发明。所述一个或多个单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序82在所述终端设备8中的执行过程。例如,所述计算机程序82可以被分割成三维模型构建单元、组织力学模型构建单元、接触力函数建立单元以及内部组织模型生成单元,各单元具体功能如上所述。Exemplarily, the computer program 82 may be divided into one or more units, and the one or more units are stored in the memory 81 and executed by the processor 80 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 82 in the terminal device 8 . For example, the computer program 82 can be divided into a three-dimensional model building unit, a tissue mechanics model building unit, a contact force function building unit, and an internal tissue model generating unit, and the specific functions of each unit are as described above.
所述终端设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图8仅仅是终端设备8的示例,并不构成对终端设备8的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device may include, but is not limited to, the processor 80 and the memory 81 . Those skilled in the art can understand that FIG. 8 is only an example of the terminal device 8, and does not constitute a limitation on the terminal device 8, and may include more or less components than those shown in the figure, or combine some components, or different components For example, the terminal device may further include an input and output device, a network access device, a bus, and the like.
所称处理器80可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器81可以是所述终端设备8的内部存储单元,例如终端设备8的硬盘或内存。所述存储器81也可以是所述终端设备8的外部存储设备,例如所述终端设备8上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器81还可以既包括所述终端设备8的内部存储单元也包括外部存储设备。所述存储器81用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器81还可以用于暂时地存储已经输出或者将要输出的数据。The memory 81 may be an internal storage unit of the terminal device 8 , such as a hard disk or a memory of the terminal device 8 . The memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk equipped on the terminal device 8, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc. Further, the memory 81 may also include both an internal storage unit of the terminal device 8 and an external storage device. The memory 81 is used to store the computer program and other programs and data required by the terminal device. The memory 81 can also be used to temporarily store data that has been output or will be output.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.

Claims (10)

  1. 一种内部组织模型的构建方法,其特征在于,包括:A method for constructing an internal organization model, comprising:
    获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型;Obtain scan data about the internal tissue of the target object, and generate a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a plurality of different types of tissue in the internal tissue corresponding to one-to-one 3D tissue model;
    分别为各个所述三维组织模型构建组织力学模型;respectively constructing tissue mechanics models for each of the three-dimensional tissue models;
    基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型;Based on the three-dimensional model, multiple groups of model groups with adjacent relationships are determined, and contact force functions corresponding to each of the model groups are established; the model groups include at least two different types of the three-dimensional tissue models;
    根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。An internal tissue model corresponding to the internal tissue is generated according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups.
  2. 根据权利要求1所述的构建方法,其特征在于,所述分别为各个所述三维组织模型构建组织力学模型,包括:The construction method according to claim 1, wherein the construction of a tissue mechanics model for each of the three-dimensional tissue models comprises:
    若所述三维组织模型的类型为非血液类型,则基于预设的有限元方程构建非血液类型的所述三维组织模型的第一组织力学模型;所述第一力学模型具体为:If the type of the three-dimensional tissue model is a non-blood type, a first tissue mechanics model of the three-dimensional tissue model of a non-blood type is constructed based on a preset finite element equation; the first mechanical model is specifically:
    MU″+DU′+K(U)U=RMU″+DU′+K(U)U=R
    其中,U为节点位移向量;U’为节点位移向量的一阶导数;U”为节点位移向量的二阶导数;M为质量矩阵;D为阻尼矩阵;K为与变形非线性相关的刚度矩阵;R为节点力向量;Among them, U is the nodal displacement vector; U' is the first derivative of the nodal displacement vector; U" is the second derivative of the nodal displacement vector; M is the mass matrix; D is the damping matrix; K is the stiffness matrix related to the nonlinearity of the deformation ; R is the nodal force vector;
    若所述三维组织模型的类型为血液类型,则基于预设的流体力学本构方程构建血液类型的所述三维组织模型的第二组织力学模型;所述第二力学模型具体为:If the type of the three-dimensional tissue model is a blood type, a second tissue mechanics model of the three-dimensional tissue model of the blood type is constructed based on a preset fluid mechanics constitutive equation; the second mechanical model is specifically:
    Figure PCTCN2021138022-appb-100001
    Figure PCTCN2021138022-appb-100001
    其中,u为血液在轴向的速度;r为血液在轴向的位移向量;τ c为压力,k为非牛顿流体的粘度系数。 Among them, u is the velocity of the blood in the axial direction; r is the displacement vector of the blood in the axial direction; τ c is the pressure, and k is the viscosity coefficient of the non-Newtonian fluid.
  3. 根据权利要求1所述的构建方法,其特征在于,所述基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数,包括:The construction method according to claim 1, wherein, determining a plurality of groups of model groups with adjacent relationships based on the three-dimensional model, and establishing a contact force function corresponding to each of the model groups, comprising:
    若所述模型组内包含血液组织模型以及血管组织模型,则获取所述血管组织模型对应的力学物理参数,以及获取所述血管组织模型和所述血液组织模型之间的距离值;If the model group includes a blood tissue model and a blood vessel tissue model, obtain the mechanical physical parameters corresponding to the blood vessel tissue model, and obtain a distance value between the blood vessel tissue model and the blood tissue model;
    基于所述力学物理参数以及所述距离值构建所述血液组织模型与所述血管组织模型之间的第一接触力函数;constructing a first contact force function between the blood tissue model and the blood vessel tissue model based on the mechanical physical parameters and the distance value;
    Figure PCTCN2021138022-appb-100002
    Figure PCTCN2021138022-appb-100002
    其中,
    Figure PCTCN2021138022-appb-100003
    为所述血液组织模型与所述血管组织模型之间的第一接触力;γ为预设的罚因子;k为所述血管组织模型对应的所述力学物理参数;δ为所述血液组织模型与所述血管组织模型之间的所述距离值;r为血液在轴向的位移向量。
    in,
    Figure PCTCN2021138022-appb-100003
    is the first contact force between the blood tissue model and the blood vessel tissue model; γ is a preset penalty factor; k is the mechanical physical parameter corresponding to the blood vessel tissue model; δ is the blood tissue model the distance value from the vascular tissue model; r is the displacement vector of the blood in the axial direction.
  4. 根据权利要求1所述的构建方法,其特征在于,所述基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数,包括:The construction method according to claim 1, wherein, determining a plurality of groups of model groups with adjacent relationships based on the three-dimensional model, and establishing a contact force function corresponding to each of the model groups, comprising:
    若所述模型组内包含三维组织模型均为非血液组织模型,则分别获取各个不同类型的所述三维组织模型对应的弹性成像数据;If the three-dimensional tissue models included in the model group are all non-blood tissue models, respectively acquiring elastography data corresponding to the three-dimensional tissue models of different types;
    基于所述弹性成像数据确定所述三维组织模型对应的力学物理参数;determining mechanical physical parameters corresponding to the three-dimensional tissue model based on the elastography data;
    获取所述内部组织连续多帧所述扫描数据,确定不同类型的所述三维组织模型间的耦合作用参数;Acquiring the scanning data in consecutive multiple frames of the internal tissue, and determining the coupling action parameters between the three-dimensional tissue models of different types;
    基于所述力学物理参数以及所述耦合作用参数,构建所述模型组对应的第二接触力函数。Based on the mechanical physical parameters and the coupling action parameters, a second contact force function corresponding to the model group is constructed.
  5. 根据权利要求4所述的构建方法,其特征在于,获取所述内部组织连续多帧所述扫描数据,确定不同类型的所述三维组织模型间的耦合作用参数,包括:The construction method according to claim 4, wherein acquiring the scan data of the internal tissue in consecutive multiple frames, and determining the coupling action parameters between the three-dimensional tissue models of different types, comprises:
    从所述扫描数据中确定包含所述模型组内不同类型的所述三维组织模型对应的组织切面数据;Determine from the scan data the tissue section data corresponding to the different types of the three-dimensional tissue models in the model group;
    基于连续多帧所述扫描数据中的所述组织切面数据,得到所述耦合作用参数。The coupling action parameter is obtained based on the tissue section data in the scanning data of consecutive multiple frames.
  6. 根据权利要求1-5任一项所述的构建方法,其特征在于,在所述根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型之后,还包括:The construction method according to any one of claims 1-5, wherein in the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and all the model groups The corresponding contact force function, after generating the internal tissue model corresponding to the internal tissue, further includes:
    获取关于所述内部组织的手术流程信息,并生成关于所述手术流程信息对应的手术模拟脚本;Obtaining surgical procedure information about the internal tissue, and generating a surgical simulation script corresponding to the surgical procedure information;
    基于所述内部组织模型构建手术模拟环境,并在所述手术模拟环境下运行所述手术模拟脚本,生成模拟结果报告。A surgery simulation environment is constructed based on the internal tissue model, and the surgery simulation script is run in the surgery simulation environment to generate a simulation result report.
  7. 根据权利要求1-3任一项所述的识别方法,其特征在于,所述内部组织包括:肝脏组织和/或心脏组织。The identification method according to any one of claims 1-3, wherein the internal tissue comprises: liver tissue and/or heart tissue.
  8. 一种内部组织模型的构建装置,其特征在于,包括:A device for constructing an internal tissue model, comprising:
    三维模型构建单元,用于获取关于目标对象的内部组织的扫描数据,并基于所述扫描数据生成所述内部组织的三维模型;所述三维模型包括与所述内部组织中的多种不同类型的组织一一对应的多个三维组织模型;A three-dimensional model building unit for acquiring scan data about the internal tissue of the target object, and generating a three-dimensional model of the internal tissue based on the scan data; the three-dimensional model includes a variety of different types of internal tissue Organize multiple 3D tissue models that correspond one-to-one;
    组织力学模型构建单元,用于分别为各个所述三维组织模型构建组织力学模型;a tissue mechanics model construction unit, used for constructing tissue mechanics models for each of the three-dimensional tissue models;
    接触力函数建立单元,用于基于所述三维模型,确定多组具有相邻关系的模型组,并建立各个所述模型组对应的接触力函数;所述模型组内包含至少两个不同类型的所述三维组织模型;A contact force function establishment unit is used to determine a plurality of groups of model groups with adjacent relationships based on the three-dimensional model, and establish a contact force function corresponding to each of the model groups; the model group includes at least two different types of the three-dimensional tissue model;
    内部组织模型生成单元,用于根据所述三维模型、所述三维模型内各个所述三维组织模型对应的组织力学模型以及所有所述模型组对应的所述接触力函数,生成所述内部组织对应的内部组织模型。An internal tissue model generating unit, configured to generate the corresponding internal tissue according to the three-dimensional model, the tissue mechanics model corresponding to each of the three-dimensional tissue models in the three-dimensional model, and the contact force functions corresponding to all the model groups. internal organizational model.
  9. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时如权利要求1至7任一项所述方法的步骤。A terminal device, characterized in that the terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program as claimed in the right The steps of any one of claims 1 to 7 of the method.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述方法的步骤。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
PCT/CN2021/138022 2021-03-29 2021-12-14 Internal tissue model construction method and terminal device WO2022206024A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110332055.2 2021-03-29
CN202110332055.2A CN113160383B (en) 2021-03-29 2021-03-29 Method for constructing internal organization model and terminal equipment

Publications (1)

Publication Number Publication Date
WO2022206024A1 true WO2022206024A1 (en) 2022-10-06

Family

ID=76885163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138022 WO2022206024A1 (en) 2021-03-29 2021-12-14 Internal tissue model construction method and terminal device

Country Status (2)

Country Link
CN (1) CN113160383B (en)
WO (1) WO2022206024A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113160383B (en) * 2021-03-29 2022-06-21 中国科学院深圳先进技术研究院 Method for constructing internal organization model and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303605A (en) * 2015-10-26 2016-02-03 哈尔滨理工大学 Orthopedic surgery operation simulation system on the basis of force feedback
CN106781941A (en) * 2016-11-24 2017-05-31 北京理工大学 A kind of method and its system for simulating microtrauma puncture operation
US20170270705A1 (en) * 2016-03-15 2017-09-21 Siemens Healthcare Gmbh Model-based generation and representation of three-dimensional objects
US20190159743A1 (en) * 2017-11-30 2019-05-30 Shenzhen Keya Medical Technology Corporation Methods and devices for performing three-dimensional blood vessel reconstruction using angiographic images
CN113160383A (en) * 2021-03-29 2021-07-23 中国科学院深圳先进技术研究院 Method for constructing internal organization model and terminal equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2387760B1 (en) * 2009-01-15 2019-05-01 SimQuest LLC Interactive simulation of biological tissue
WO2015112993A1 (en) * 2014-01-27 2015-07-30 Arizona Board Of Regents On Behalf Of Arizona State University Medical device specific finite element models for simulating endovascular treatment
US10636142B2 (en) * 2018-04-20 2020-04-28 Siemens Healthcare Gmbh Real-time and accurate soft tissue deformation prediction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303605A (en) * 2015-10-26 2016-02-03 哈尔滨理工大学 Orthopedic surgery operation simulation system on the basis of force feedback
US20170270705A1 (en) * 2016-03-15 2017-09-21 Siemens Healthcare Gmbh Model-based generation and representation of three-dimensional objects
CN106781941A (en) * 2016-11-24 2017-05-31 北京理工大学 A kind of method and its system for simulating microtrauma puncture operation
US20190159743A1 (en) * 2017-11-30 2019-05-30 Shenzhen Keya Medical Technology Corporation Methods and devices for performing three-dimensional blood vessel reconstruction using angiographic images
CN113160383A (en) * 2021-03-29 2021-07-23 中国科学院深圳先进技术研究院 Method for constructing internal organization model and terminal equipment

Also Published As

Publication number Publication date
CN113160383B (en) 2022-06-21
CN113160383A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
WO2020215984A1 (en) Medical image detection method based on deep learning, and related device
US20220076591A1 (en) System and method for performing virtual surgery
US20220142609A1 (en) Apparatus and method for fetal intelligent navigation echocardiography
JP7261236B2 (en) Method, computer program and apparatus for automated extraction of echocardiographic measurements from medical images
KR20210021039A (en) Image processing methods, devices, electronic devices and computer-readable storage media
WO2020143513A1 (en) Super-resolution image reconstruction method, apparatus and device
WO2022206024A1 (en) Internal tissue model construction method and terminal device
CN114297957B (en) Method and device for acquiring heart index and computer readable storage medium
CN117437365B (en) Medical three-dimensional model generation method and device, electronic equipment and storage medium
Sieber et al. OpenEar image data enables case variation in high fidelity virtual reality ear surgery
US11955246B2 (en) Unified anisotropic volume and surface mesh storage
CN109523507A (en) A kind of method, apparatus and computer readable storage medium of the generation of lesion image
CN111105487B (en) Face synthesis method and device in virtual teacher system
CN113409333A (en) Three-dimensional image cutting method and electronic equipment
CN113393544A (en) Image processing method, device, equipment and medium
CN103678888A (en) Cardiac blood flowing indicating and displaying method based on Euler fluid simulation algorithm
WO2023173827A1 (en) Image generation method and apparatus, and device, storage medium and computer program product
CN109345545A (en) A kind of method, apparatus and computer readable storage medium of segmented image generation
CN114927229A (en) Operation simulation method and device, electronic equipment and storage medium
Turinsky et al. CAVEman: standardized anatomical context for biomedical data mapping
RU184014U1 (en) Computing device for forming a three-dimensional model of internal organs according to magnetic resonance and computed tomography
Chen et al. A system design for virtual reality visualization of medical image
Albors et al. Sensitivity Analysis of Left Atrial Wall Modeling Approaches and Inlet/Outlet Boundary Conditions in Fluid Simulations to Predict Thrombus Formation
WO2022266291A1 (en) Synthetic echo from ecg
WO2020168696A1 (en) Vrds 4d medical image-based artery and vein ai processing method and product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21934660

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21934660

Country of ref document: EP

Kind code of ref document: A1