[go: up one dir, main page]

WO2025200291A1 - Dynamic simulation and isometric analysis method and system for ligament - Google Patents

Dynamic simulation and isometric analysis method and system for ligament

Info

Publication number
WO2025200291A1
WO2025200291A1 PCT/CN2024/115746 CN2024115746W WO2025200291A1 WO 2025200291 A1 WO2025200291 A1 WO 2025200291A1 CN 2024115746 W CN2024115746 W CN 2024115746W WO 2025200291 A1 WO2025200291 A1 WO 2025200291A1
Authority
WO
WIPO (PCT)
Prior art keywords
ligament
current
point
dimensional
bone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/115746
Other languages
French (fr)
Chinese (zh)
Inventor
王聪
杨杰
杨波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Taoimage Medical Tech Co Ltd
Original Assignee
Shanghai Taoimage Medical Tech Co Ltd
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 Shanghai Taoimage Medical Tech Co Ltd filed Critical Shanghai Taoimage Medical Tech Co Ltd
Publication of WO2025200291A1 publication Critical patent/WO2025200291A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Definitions

  • the present invention relates to the technical field of ligament simulation analysis, and in particular to a ligament dynamic simulation and isometric analysis method and system.
  • Ligaments are important structures that maintain stability in the body's joints. They are connective tissues that connect bones and are crucial for the stability and function of the body's joints. Here are some key facts about the importance of ligaments in maintaining joint stability:
  • Ligaments are connective tissues made of fibers that connect one bone to another. They surround joints, forming the joint capsule and providing structural support between bones through bundles of fibers.
  • ligaments One of the main functions of ligaments is to maintain the stability of bone joints. Ligaments prevent excessive movement or dislocation of joints during exercise by resisting the tensile and torsional forces around the joints.
  • Ligaments transmit force during movement and activity. They help share the body's load, allowing the body to maintain balance and coordination during movement and activity.
  • Ligaments also work with the nervous system to help the body sense and adjust its position in space by sensing signals about joint position and range of motion.
  • Analyzing ligament length during motion can help assess the biomechanical behavior of ligaments during movement, aiding clinical surgical planning and risk assessment.
  • Dynamic X-rays can be used to analyze joint motion, but traditional X-rays cannot visualize ligaments and other tissues. Simulating ligaments will further expand the clinical application of X-rays for ligaments and other soft tissues.
  • the purpose of the present invention is to provide a ligament dynamic simulation and isometric analysis method and system, which can quickly calculate the ligament length during movement to achieve ligament simulation, and obtain three-dimensional ligament length information without a large amount of simulation analysis.
  • a ligament dynamic simulation and isometric analysis method comprising:
  • step S5 Select multiple ligament termination points on the termination bone surface and repeat step S2 - S4 calculates the three-dimensional spatial path based on the different ligament end points, finds all the ligament end points whose three-dimensional spatial paths are shorter than a preset length to draw contour lines, and the range corresponding to the contour lines is the equal length interval required to construct the current ligament;
  • step S1 based on the three-dimensional model of the bone joint, the ligament starting point and the ligament ending point at the current moment are respectively selected on the surfaces of the starting bone and the ending bone to which the current ligament to be dynamically simulated is connected, specifically:
  • the set range of the intersection is defined and
  • the bone tissue portion inside the cavity is the impassable area, and the area other than the bone tissue portion is the passable area;
  • the calculated three-dimensional connection line of the current ligament is the curve connection line within the passable area.
  • a plurality of node lines are judged respectively. If the node line intersects with any of the polygons, it does not constitute the connected line; otherwise, it is added to the set of connected lines.
  • S31 Initializing an open list for storing the path that the current ligament is about to take and a closed list for storing the path that the current ligament has already taken;
  • S35 Obtain all the next nodes adjacent to the current node according to the connected lines in the set, and calculate the adjacent distances from the ligament starting point to all the next nodes respectively. point cost, and if the adjacent next node is not in the open list and the closed list, add the adjacent next node to the open list;
  • G is the actual cost, that is, the path that has been traveled from the starting point of the ligament to the current node
  • H is the estimated cost and the estimated path to be traveled from the current node to the next node adjacent to the current node.
  • a ligament section plane acquisition module configured to connect the ligament starting point and the ligament ending point to form a rotation axis, and acquire a plurality of section planes passing through the rotation axis;
  • a cross-sectional path calculation module configured to obtain, for any of the section planes, a passable region capable of establishing a three-dimensional connection line of the current ligament, calculate within the passable region a set of connected lines through which the current ligament can pass, and calculate, based on the set of connected lines, a shortest three-dimensional path from a starting point of the ligament to an ending point of the ligament;
  • a spatial path acquisition module is used to construct a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and take the shortest shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.
  • a computer-readable storage medium stores computer code. When the computer code is executed, the above method is performed.
  • the above technical solution is fast in calculation and can obtain three-dimensional ligament length information without the need for a large amount of simulation analysis. Based on the set of connected lines of the constructed nodes, the problem of excessive computational complexity caused by too many nodes in the three-dimensional patch model is reduced, and three-dimensional calculations can be realized.
  • the present invention simplifies the construction process of a three-dimensional visual map, further reduces the computational complexity of the three-dimensional visual map, optimizes the computational process, and enables three-dimensional analysis of multiple ligaments. Furthermore, the present invention can perform calculations based on any input three-dimensional joint motion, enabling analysis of the dynamic length of ligaments under load.
  • the present invention is universal in all scenarios. Whether using individualized models, magnetic resonance imaging, or optical capture of joint motion data, it can calculate the three-dimensional path of the ligament based on the three-dimensional skeletal information. It has wide versatility and can analyze load-bearing position data. The data is accurate, and the calculated ligament length is a non-linear ligament distance, which can comprehensively consider the joint geometry.
  • the present invention can calculate the equal length area of the ligament through multiple points within a preset range.
  • FIG3 is a schematic diagram of a skeleton divided into two polygons according to the present invention.
  • FIG5 is a schematic diagram illustrating an example of the Euclid algorithm of the present invention.
  • FIG6 is a schematic diagram of the shortest three-dimensional path found by the present invention.
  • FIG9 is a schematic diagram of the equal-length interval arrangement of the present invention.
  • this embodiment provides a ligament dynamic simulation and isometric analysis method, including:
  • Ligaments are joints that connect two bones, including the starting bone and the ending bone. Before performing ligament dynamic simulation, you need to do the following:
  • S11 respectively establishing 3D surface models of the start bone and the end bone connected to the current ligament, wherein the point set formed by the 3D surface model of the start bone is recorded as 3D point set P start , and the point set formed by the 3D surface model of the end bone is recorded as 3D point set P end .
  • the passable area capable of establishing the three-dimensional connection line of the current ligament is obtained for any of the section planes, specifically:
  • the set range of the intersection is defined and
  • the bone tissue portion inside the cavity is the impassable area, and the area other than the bone tissue portion is the passable area;
  • the three-dimensional line of the current ligament that is expected to be calculated is the starting point of the ligament and ligament termination points The curve lines within the passable region are connected.
  • the set of connected lines through which the current ligament can pass is calculated within the passable region, specifically:
  • the shortest three-dimensional path from the ligament starting point to the ligament ending point is calculated based on the set of connected lines, specifically:
  • the ligament path on the 3D path has its 3D length recorded as Len i , where i is a number from 1 to n, representing the number of the section plane.
  • the shortest 3D path is obtained by calculating the adjacent point cost F ligament in the Euclidean distance formula.
  • n1, n2a, n2b, and n2c are the nodes on the connected line that it can pass through. If the current node that has been calculated is n1, it is the starting point of the ligament that has been passed.
  • the path to n1 is denoted as G.
  • the next three different paths from n1 to n2a, n2b, and n2c are the estimated walking paths H.
  • n1 to n2a is denoted as H1
  • n1 to n2b is denoted as H2
  • n1 to n2c is denoted as H3.
  • p1 and P2 are two points on the path
  • p1.y and p2.y are their corresponding X and Y coordinates.
  • the sum of the distances between all pairs of points on the path is recorded as distance d.
  • S31 Initializing an open list for storing the path that the current ligament is about to take and a closed list for storing the path that the current ligament has already taken;
  • step S33 When the open list is not empty, take the last node on the path with the smallest calculated adjacent point cost F from the open list and add it to the closed list as the current node.
  • step S33 is executed for the first time, the current node is the starting point of the ligament.
  • step S33 is not performed for the first time, the current node is the last node on the currently calculated path with the minimum cost of the adjacent points;
  • S35 Obtain all the next nodes adjacent to the current node according to the connected lines in the set, and calculate the ligament starting points respectively The cost F ligament to all adjacent points of the next node, and if the adjacent next node is not in the open list and the closed list, add the adjacent next node to the open list;
  • the purpose of drawing contour lines and establishing the equal length intervals required for the current ligament based on the contour lines is to find a set of points where the ligament length changes minimally during exercise, so that the ligament established later is optimal.
  • S6 Set different weights for all the three-dimensional spatial paths in the equal-length interval, calculate the weighted center point in the equal-length interval based on the weights, the three-dimensional spatial path corresponding to the weighted center point is the most equal-length point of the current ligament, and the most equal-length point is the final spatial path of the current ligament.
  • this embodiment provides a ligament dynamic simulation and isometric analysis system for executing the ligament dynamic simulation and isometric analysis method of the first embodiment, including:
  • the ligament starting and ending point selection module 1 is used to select the ligament starting point and ligament ending point at the current moment on the starting bone and ending bone surfaces to which the current ligament that needs to be dynamically simulated is connected based on the three-dimensional model of the bone joint.
  • the ligament section plane acquisition module 2 is used to connect the ligament starting point and the ligament ending point to form a rotation axis, and acquire a plurality of section planes passing through the rotation axis.
  • the cross-sectional path calculation module 3 is used to obtain, for any one of the cutting planes, a passable area that can establish a three-dimensional connection line of the current ligament, calculate the set of connected lines through which the current ligament can pass within the passable area, and calculate the shortest three-dimensional path from the starting point of the ligament to the ending point of the ligament based on the set of connected lines.
  • the spatial path acquisition module 4 is used to construct a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and take the shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.

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)
  • Image Generation (AREA)

Abstract

The present invention relates to the technical field of ligament simulation analysis. Provided is a dynamic simulation and isometric analysis method for a ligament, the method comprising: S1: respectively selecting a ligament origin and a ligament insertion from surfaces of a bone of origin and a bone of insertion, which are connected by a current ligament; S2: connecting the ligament origin and the ligament insertion to form a rotation axis, and acquiring a plurality of cross-sectional planes passing through the rotation axis; S3: for each cross-sectional plane, acquiring an admissible region where a three-dimensional connection line of the current ligament can be established, calculating in the admissible region a set of feasible lines through which the current ligament can pass, and calculating the shortest three-dimensional path on the basis of the set of feasible lines; and S4: constructing a ligament length set on the basis of the shortest three-dimensional paths calculated from all of the cross-sectional planes, and taking from the length set the shortest path as a three-dimensional spatial path of the current ligament at the current moment. A ligament length during a movement process can be quickly calculated to realize ligament simulation, and three-dimensional ligament length information can be obtained without the need for a large amount of simulation analysis.

Description

一种韧带动态仿真和等长性分析方法及系统A ligament dynamic simulation and isometric analysis method and system 技术领域Technical Field

本发明涉及韧带仿真分析的技术领域,尤其涉及一种韧带动态仿真和等长性分析方法及系统。The present invention relates to the technical field of ligament simulation analysis, and in particular to a ligament dynamic simulation and isometric analysis method and system.

背景技术Background Art

韧带是人体骨关节维持稳定性的重要结构,连接骨骼的结缔组织,对于人体骨关节的稳定性和功能至关重要。以下是有关韧带在维持关节稳定性中的重要性的一些关键信息:Ligaments are important structures that maintain stability in the body's joints. They are connective tissues that connect bones and are crucial for the stability and function of the body's joints. Here are some key facts about the importance of ligaments in maintaining joint stability:

连接骨骼:韧带是由纤维组成的结缔组织,连接一个骨头到另一个骨头。它们位于关节周围,形成了关节的胶囊,并通过纤维束在骨头之间提供结构支持。Connecting Bones: Ligaments are connective tissues made of fibers that connect one bone to another. They surround joints, forming the joint capsule and providing structural support between bones through bundles of fibers.

维持关节稳定性:主要功能之一是维持骨关节的稳定性。韧带通过抵抗关节周围的拉力和扭转力,防止关节在运动中过度移动或脱位。Maintaining joint stability: One of the main functions of ligaments is to maintain the stability of bone joints. Ligaments prevent excessive movement or dislocation of joints during exercise by resisting the tensile and torsional forces around the joints.

传递力量:韧带在运动和活动中传递力量。它们帮助分担身体负载,使身体在运动和运动中能够保持平衡和协调。Transmitting force: Ligaments transmit force during movement and activity. They help share the body's load, allowing the body to maintain balance and coordination during movement and activity.

感知关节位置:韧带还通过感知关节位置和运动范围的信号,与神经系统一起,帮助身体在空间中感知和调整自身位置。Sensing joint position: Ligaments also work with the nervous system to help the body sense and adjust its position in space by sensing signals about joint position and range of motion.

损伤和康复:由于其重要性,韧带损伤可能影响关节的稳定性和功能。康复和治疗通常包括强调韧带的恢复和强化。Injury and Rehabilitation: Due to their importance, ligament injuries can affect joint stability and function. Rehabilitation and treatment often include an emphasis on ligament restoration and strengthening.

分析运动过程中的韧带长度可以帮助评估韧带运动过程中的生物力学行为,有助于临床手术规划与风险评估。采用动态X光可以实现关节运动分析,然而,传统X光无法可见韧带等组织。如果能够实现韧带的仿真,将进一步拓展X光在韧带等软组织的临床应用。Analyzing ligament length during motion can help assess the biomechanical behavior of ligaments during movement, aiding clinical surgical planning and risk assessment. Dynamic X-rays can be used to analyze joint motion, but traditional X-rays cannot visualize ligaments and other tissues. Simulating ligaments will further expand the clinical application of X-rays for ligaments and other soft tissues.

现有技术中,为了实现韧带的测量,通常采用以下方式:In the prior art, in order to achieve ligament measurement, the following methods are usually adopted:

(1)Guenoun等人于2017年在《外科和放射解剖学》杂志上发表的《使用开放式MRI对膝关节前交叉韧带进行动态研究》中采用捕获多个体位磁共 振信息,重建韧带模型,测绘其三维状况,其精准极高,能反映韧带的形态信息。但是捕获多个体位磁共振信息,重建韧带模型,虽然精准,但三维磁共振耗时很久,无法推广,且其无法反应负重位下的关节受力情况。(1) Guenoun et al. published a study in the journal Surgical and Radiologic Anatomy in 2017 titled “Dynamic study of the anterior cruciate ligament of the knee using open MRI”. Vibration information is used to reconstruct ligament models and map their three-dimensional condition, which is extremely accurate and can reflect the morphology of the ligaments. However, capturing MRI information from multiple body positions to reconstruct ligament models, while accurate, is time-consuming and impractical for scalability. Furthermore, it cannot reflect the load conditions of joints under weight-bearing conditions.

(2)Hang Xu于2015年的《计算方法在生物力学和生物医学工程中的应用》杂志上发表的《一个改进的OpenSim步态模型,具有多自由度的膝关节和膝韧带》中利用线模型根据光捕下的人体运动,测量韧带间的直线距离,是承重位下的功能运动,能够测量不同运动下的韧带信息。但是利用线模型根据光捕下的人体运动,其无法反映真实膝关节几何情况下的韧带距离,精度无法保障。(2) Hang Xu’s 2015 paper, “An Improved OpenSim Gait Model with Multiple Degrees of Freedom for the Knee Joint and Ligaments,” published in the journal Applications of Computational Methods in Biomechanics and Biomedical Engineering, used a linear model to measure the linear distance between ligaments based on human motion captured by light. This model is a functional motion under load-bearing conditions and can measure ligament information under different motions. However, the linear model cannot reflect the ligament distance under the actual knee joint geometry based on human motion captured by light, and the accuracy cannot be guaranteed.

发明内容Summary of the Invention

针对上述问题,本发明的目的在于提供一种韧带动态仿真和等长性分析方法及系统,能够快速计算出运动过程中的韧带长度以实现韧带的仿真,无需大量仿真分析,即可获得三维韧带长度信息。In response to the above problems, the purpose of the present invention is to provide a ligament dynamic simulation and isometric analysis method and system, which can quickly calculate the ligament length during movement to achieve ligament simulation, and obtain three-dimensional ligament length information without a large amount of simulation analysis.

本发明的上述发明目的是通过以下技术方案得以实现的:The above-mentioned object of the present invention is achieved through the following technical solutions:

一种韧带动态仿真和等长性分析方法,包括:A ligament dynamic simulation and isometric analysis method, comprising:

S1:基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点;S1: Based on the three-dimensional model of the bone joint, select the current ligament starting point and ligament ending point on the surface of the starting bone and ending bone to which the current ligament is connected for dynamic simulation;

S2:连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面;S2: connecting the starting point of the ligament and the ending point of the ligament to form a rotation axis, and obtaining a plurality of cross-sectional planes passing through the rotation axis;

S3:针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径;S3: for any of the cross-sectional planes, respectively, obtaining a passable region capable of establishing a three-dimensional connection line of the current ligament, calculating a set of connected lines through which the current ligament can pass within the passable region, and calculating the shortest three-dimensional path from the starting point of the ligament to the ending point of the ligament based on the set of connected lines;

S4:基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。S4: constructing a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and taking the shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.

S5:在所述终止骨头表面上选择多个所述韧带终止点,重复执行步骤S2 -S4计算基于不同所述韧带终止点的所述三维空间路径,寻找所述三维空间路径小于预设长度的所有的所述韧带终止点以绘制等高线,所述等高线对应的范围为构建所述当前韧带所需要的等长区间;S5: Select multiple ligament termination points on the termination bone surface and repeat step S2 - S4 calculates the three-dimensional spatial path based on the different ligament end points, finds all the ligament end points whose three-dimensional spatial paths are shorter than a preset length to draw contour lines, and the range corresponding to the contour lines is the equal length interval required to construct the current ligament;

S6:分别为所述等长区间中所有的所述三维空间路径设置不同的权重,基于所述权重计算所述等长区间中的加权中心点,所述加权中心点所对应的所述三维空间路径为所述当前韧带的最等长点,所述最等长点即为所述当前韧带的最终空间路径。S6: Set different weights for all the three-dimensional spatial paths in the equal-length interval, calculate the weighted center point in the equal-length interval based on the weights, the three-dimensional spatial path corresponding to the weighted center point is the most equal-length point of the current ligament, and the most equal-length point is the final spatial path of the current ligament.

进一步地,在步骤S1中,基于所述骨关节三维模型,在需要进行动态仿真的所述当前韧带所连接的所述起始骨头和所述终止骨头表面上分别选择所述当前时刻的所述韧带起始点和所述韧带终止点,具体为:Furthermore, in step S1, based on the three-dimensional model of the bone joint, the ligament starting point and the ligament ending point at the current moment are respectively selected on the surfaces of the starting bone and the ending bone to which the current ligament to be dynamically simulated is connected, specifically:

S11:分别建立所述当前韧带所连接的所述起始骨头和所述终止骨头的三维面片模型,其中所述起始骨头的所述三维面片模型构成的点集记录为三维点集Pstart,所述终止骨头的所述三维面片模型构成的点集记录为三维点集PendS11: establishing three-dimensional surface models of the starting bone and the ending bone connected to the current ligament, respectively, wherein the point set formed by the three-dimensional surface model of the starting bone is recorded as a three-dimensional point set P start , and the point set formed by the three-dimensional surface model of the ending bone is recorded as a three-dimensional point set P end ;

S12:初始时刻的所述韧带起始点记录为Lstart,所述韧带终止点记录为Lend,分别获取所述初始时刻到所述当前时刻T的所述起始骨头和所述终止骨头的运动转换矩阵Tstart和运动转换矩阵Tend,利用所述运动转换矩阵Tstart和所述运动转换矩阵Tend将所述韧带起始点Lstart和所述韧带终止点Lend转换到所述当前时刻T下所述韧带起始点和所述韧带终止点 S12: The ligament starting point at the initial moment is recorded as L start , and the ligament ending point is recorded as L end , and the motion conversion matrix T start and the motion conversion matrix T end of the starting bone and the ending bone from the initial moment to the current moment T are respectively obtained, and the motion conversion matrix T start and the motion conversion matrix T end are used to convert the ligament starting point L start and the ligament ending point L end to the ligament starting point L start at the current moment T and the ligament termination point

进一步地,在步骤S2中,连接所述韧带起始点和所述韧带终止点形成所述旋转轴,获取若干个穿过所述旋转轴的截平面,具体为:Furthermore, in step S2, the ligament starting point and the ligament ending point are connected to form the rotation axis, and a plurality of cross-sectional planes passing through the rotation axis are obtained, specifically:

S21:连接所述韧带起始点和所述韧带终止点,形成线段V;S21: connecting the starting point of the ligament and the ending point of the ligament to form a line segment V;

S22:以所述线段V为所述旋转轴多次旋转角度α,生成若干个穿过所述旋转轴的所述截平面,直至所述截平面均匀覆盖0-180度的旋转范围,其中所述角度α依据对所述当前韧带进行仿真的精度进行设置。S22: Rotate the line segment V as the rotation axis multiple times by an angle α to generate a plurality of cross-sectional planes passing through the rotation axis until the cross-sectional planes uniformly cover the rotation range of 0-180 degrees, wherein the angle α is set according to the accuracy of simulating the current ligament.

进一步地,在步骤S3中,针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的所述可通过区域,具体为:Furthermore, in step S3, the passable area capable of establishing the three-dimensional connection line of the current ligament is obtained for any of the section planes, specifically:

所述截平面的个数记录为n,对于任意一个所述截平面,将所述截平面与 所述起始骨头和所述终止骨头的所述三维面片模型的交点的集合记录为其中i取值为1到n;The number of the cutting planes is recorded as n. For any of the cutting planes, the cutting plane is compared with The set of intersection points of the three-dimensional surface model of the starting bone and the ending bone is recorded as and Where i ranges from 1 to n;

此时定义交点的集合范围内的骨组织部分为不可通过区域,除所述骨组织部分之外的区域为所述可通过区域;At this time, the set range of the intersection is defined and The bone tissue portion inside the cavity is the impassable area, and the area other than the bone tissue portion is the passable area;

计算得到的所述当前韧带的三维连线,即为在所述可通过区域内的曲线连线。The calculated three-dimensional connection line of the current ligament is the curve connection line within the passable area.

进一步地,在步骤S3中,在所述可通过区域内计算所述当前韧带能够通过的所述连通线的集合,具体为:Furthermore, in step S3, the set of connected lines through which the current ligament can pass is calculated within the passable area, specifically:

在所述截平面上采用若干个多边形对骨关节周围的骨骼进行划分,每一个所述多边形由节点与边的集合构成;Dividing the bones around the joints using a plurality of polygons on the section plane, each of the polygons being composed of a set of nodes and edges;

对于所有的所述多边形中每一个所述节点,分别连接所有的所述多边形中的每一个所述节点,形成若干节点连线;For each of the nodes in all of the polygons, connect each of the nodes in all of the polygons to form a plurality of node lines;

对若干所述节点连线分别进行判断,若所述节点连线与任意一个所述多边形相交,则不构成所述连通线,否则加入所述连通线的集合。A plurality of node lines are judged respectively. If the node line intersects with any of the polygons, it does not constitute the connected line; otherwise, it is added to the set of connected lines.

进一步地,在步骤S3中,基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的所述最短三维路径,具体为:Furthermore, in step S3, the shortest three-dimensional path from the ligament starting point to the ligament ending point is calculated based on the set of connected lines, specifically:

S31:初始化用于存储所述当前韧带准备要走的路径的开列表open list和用于存储所述当前韧带已经走过的路径的闭列表close list;S31: Initializing an open list for storing the path that the current ligament is about to take and a closed list for storing the path that the current ligament has already taken;

S32:将所述韧带起始点加入到所述开列表open list中;S32: Add the ligament starting point to the open list;

S33:当所述开列表open list不为空时,从所述开列表open list中取出已经计算出的所述相邻点代价最小的路径上的最后一个所述节点作为当前节点加入到所述闭列表close list,其中,当第一次执行步骤S33时,所述当前节点为所述韧带起始点,当不是第一次执行步骤S33时,所述当前节点为当前已经计算到的所述相邻点代价最小的路径上的最后一个所述节点;S33: When the open list is not empty, taking the last node on the path with the minimum cost of the adjacent points that has been calculated from the open list and adding it to the closed list as the current node, wherein when step S33 is executed for the first time, the current node is the starting point of the ligament; when step S33 is not executed for the first time, the current node is the last node on the path with the minimum cost of the adjacent points that has been calculated;

S34:判断所述当前节点是否为所述韧带终止点,若为所述韧带终止点则算法结束,直接跳转步骤S37;S34: Determine whether the current node is the ligament termination point. If it is the ligament termination point, the algorithm ends and jumps directly to step S37;

S35:依据集合中的所述连通线获取与所述当前节点相邻的所有的下一个所述节点,并分别计算所述韧带起始点到所有的下一个所述节点的所述相邻 点代价,同时若相邻的下一个所述节点不在所述开列表open list和所述闭列表close list中时,将相邻的下一个所述节点加入所述开列表open list;S35: Obtain all the next nodes adjacent to the current node according to the connected lines in the set, and calculate the adjacent distances from the ligament starting point to all the next nodes respectively. point cost, and if the adjacent next node is not in the open list and the closed list, add the adjacent next node to the open list;

S36:在所述开列表open list中,更新所述韧带起始点到所有的下一个所述节点的所述相邻点代价,并判断所述当前节点是否为所述韧带终止点,若为所述韧带终止点则算法结束,直接跳转步骤S37,否者跳转步骤S33继续执行当前算法;S36: In the open list, update the adjacent point costs from the ligament starting point to all the next nodes, and determine whether the current node is the ligament ending point. If it is the ligament ending point, the algorithm ends and jumps directly to step S37; otherwise, jumps to step S33 to continue executing the current algorithm;

S37:从所述闭列表close list中输出从所述韧带起始点到所述韧带终止点的所有的所述节点,记为所述最短三维路径。S37: Output all the nodes from the starting point of the ligament to the ending point of the ligament from the closed list, and record them as the shortest three-dimensional path.

进一步地,所述相邻点代价F韧带采用欧几里得距离公式进行计算,具体为:Furthermore, the adjacent point cost Fligament is calculated using the Euclidean distance formula, specifically:

F韧带=G+HF ligament = G + H

其中,G为实际代价即从所述韧带起始点到所述当前节点已经走过的路径,H为预估代价及从所述当前节点到与所述当前节点相邻的下一个所述节点的预估需要走的路径。Among them, G is the actual cost, that is, the path that has been traveled from the starting point of the ligament to the current node, and H is the estimated cost and the estimated path to be traveled from the current node to the next node adjacent to the current node.

一种用于执行如上述的韧带动态仿真和等长性分析方法的韧带动态仿真和等长性分析系统,包括:A ligament dynamic simulation and isometric analysis system for performing the above-mentioned ligament dynamic simulation and isometric analysis method comprises:

韧带起止点选择模块,用于基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点;A ligament starting and ending point selection module is used to select the starting point and ending point of the ligament at the current moment on the surface of the starting bone and ending bone to which the current ligament is connected that needs to be dynamically simulated based on the three-dimensional model of the bone joint;

韧带截平面获取模块,用于连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面;a ligament section plane acquisition module, configured to connect the ligament starting point and the ligament ending point to form a rotation axis, and acquire a plurality of section planes passing through the rotation axis;

截面路径计算模块,用于针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径;a cross-sectional path calculation module, configured to obtain, for any of the section planes, a passable region capable of establishing a three-dimensional connection line of the current ligament, calculate within the passable region a set of connected lines through which the current ligament can pass, and calculate, based on the set of connected lines, a shortest three-dimensional path from a starting point of the ligament to an ending point of the ligament;

空间路径获取模块,用于基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。 A spatial path acquisition module is used to construct a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and take the shortest shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.

一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如上述的方法被执行。A computer-readable storage medium stores computer code. When the computer code is executed, the above method is performed.

与现有技术相比,本发明包括以下至少一种有益效果是:Compared with the prior art, the present invention has at least one of the following beneficial effects:

(1)通过提供一种韧带动态仿真和等长性分析方法,包括:S1:基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点;S2:连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面;S3:针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径;S4:基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。上述技术方案,计算快速,无需要大量的仿真分析即可以获得三维韧带长度信息。基于构建节点的连通线的集合,降低了三维面片模型中节点过多引起的计算量过大问题,可以实现三维计算。(1) A ligament dynamic simulation and isometric analysis method is provided, comprising: S1: based on a three-dimensional model of a bone joint, selecting the ligament starting point and ligament ending point at the current moment on the surface of the starting bone and ending bone to which the current ligament to be dynamically simulated is connected; S2: connecting the ligament starting point and the ligament ending point to form a rotation axis, and obtaining a plurality of cross-sectional planes passing through the rotation axis; S3: for any of the cross-sectional planes, obtaining a passable area that can establish a three-dimensional connection line of the current ligament, calculating a set of connected lines that the current ligament can pass through in the passable area, and calculating the shortest three-dimensional path from the ligament starting point to the ligament ending point based on the set of connected lines; S4: constructing a ligament length set based on the shortest three-dimensional paths calculated on all the cross-sectional planes, and taking the shortest one of the shortest three-dimensional paths in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment. The above technical solution is fast in calculation and can obtain three-dimensional ligament length information without the need for a large amount of simulation analysis. Based on the set of connected lines of the constructed nodes, the problem of excessive computational complexity caused by too many nodes in the three-dimensional patch model is reduced, and three-dimensional calculations can be realized.

(2)本发明简化了三维可视图的构建过程,进一步降低三维可视图的计算量,优化了计算流程,可以实现多束韧带的三维分析。同时可以基于任意输入的关节三维运动进行计算,实现负重位下的韧带动态长度进行分析。(2) The present invention simplifies the construction process of a three-dimensional visual map, further reduces the computational complexity of the three-dimensional visual map, optimizes the computational process, and enables three-dimensional analysis of multiple ligaments. Furthermore, the present invention can perform calculations based on any input three-dimensional joint motion, enabling analysis of the dynamic length of ligaments under load.

(3)本发明场景通用,无论个体化模型、磁共振或光捕获取的关节运动数据,均能根据三维骨骼信息计算韧带三维路径,具有广泛通用性,能够分析承重位数据。数据精准,计算的韧带长度为非直线韧带距离,能够综合考虑关节几何情况。(3) The present invention is universal in all scenarios. Whether using individualized models, magnetic resonance imaging, or optical capture of joint motion data, it can calculate the three-dimensional path of the ligament based on the three-dimensional skeletal information. It has wide versatility and can analyze load-bearing position data. The data is accurate, and the calculated ligament length is a non-linear ligament distance, which can comprehensively consider the joint geometry.

(4)本发明能够通过预设范围内的多个点,计算韧带的等长区域。(4) The present invention can calculate the equal length area of the ligament through multiple points within a preset range.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明韧带动态仿真和等长性分析方法的整体流程图;FIG1 is an overall flow chart of the ligament dynamic simulation and isometric analysis method of the present invention;

图2为本发明一个截平面的三维立体示意图; FIG2 is a three-dimensional schematic diagram of a cross-sectional plane of the present invention;

图3为本发明划分为2个多边形的骨骼划分示意图;FIG3 is a schematic diagram of a skeleton divided into two polygons according to the present invention;

图4为本发明截平面的二维示意图;FIG4 is a two-dimensional schematic diagram of a cross-sectional plane of the present invention;

图5为本发明欧几里得算法举例示意图;FIG5 is a schematic diagram illustrating an example of the Euclid algorithm of the present invention;

图6为本发明找到的最短三维路径的示意图;FIG6 is a schematic diagram of the shortest three-dimensional path found by the present invention;

图7为本发明针对每一个截平面计算当前所在截平面的最短三维路径的示意图;FIG7 is a schematic diagram of calculating the shortest three-dimensional path of the current cutting plane for each cutting plane according to the present invention;

图8为本发明在终止骨头表面上选择多个韧带终止点的示意图;FIG8 is a schematic diagram of selecting multiple ligament termination points on the termination bone surface according to the present invention;

图9为本发明等长区间设置的示意图;FIG9 is a schematic diagram of the equal-length interval arrangement of the present invention;

图10为本发明韧带动态仿真和等长性分析系统的整体结构图。FIG10 is an overall structural diagram of the ligament dynamic simulation and isometric analysis system of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a," "an," "said," and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the stated features, integers, steps, operations, elements, and/or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

第一实施例First embodiment

如图1所示,本实施例提供了一种韧带动态仿真和等长性分析方法,包括:As shown in FIG1 , this embodiment provides a ligament dynamic simulation and isometric analysis method, including:

S1:基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点。S1: Based on the three-dimensional model of the bone joint, the starting point and the ending point of the ligament at the current moment are respectively selected on the surface of the starting bone and the ending bone to which the current ligament is connected that needs to be dynamically simulated.

韧带是连接包括起始骨头和终止骨头在内的两块骨头构成的关节的组 织,在进行韧带动态仿真之前,需要首先进行以下操作:Ligaments are joints that connect two bones, including the starting bone and the ending bone. Before performing ligament dynamic simulation, you need to do the following:

S11:分别建立所述当前韧带所连接的所述起始骨头和所述终止骨头的三维面片模型,其中所述起始骨头的所述三维面片模型构成的点集记录为三维点集Pstart,所述终止骨头的所述三维面片模型构成的点集记录为三维点集PendS11: respectively establishing 3D surface models of the start bone and the end bone connected to the current ligament, wherein the point set formed by the 3D surface model of the start bone is recorded as 3D point set P start , and the point set formed by the 3D surface model of the end bone is recorded as 3D point set P end .

S12:初始时刻的所述韧带起始点记录为Lstart,所述韧带终止点记录为Lend,分别获取所述初始时刻到所述当前时刻T的所述起始骨头和所述终止骨头的运动转换矩阵Tstart和运动转换矩阵Tend,利用所述运动转换矩阵Tstart和所述运动转换矩阵Tend将所述韧带起始点Lstart和所述韧带终止点Lend转换到所述当前时刻T下所述韧带起始点和所述韧带终止点 S12: The ligament starting point at the initial moment is recorded as L start , and the ligament ending point is recorded as L end , and the motion conversion matrix T start and the motion conversion matrix T end of the starting bone and the ending bone from the initial moment to the current moment T are respectively obtained, and the motion conversion matrix T start and the motion conversion matrix T end are used to convert the ligament starting point L start and the ligament ending point L end to the ligament starting point L start at the current moment T and the ligament termination point

通过运动转换矩阵进行韧带起始点和韧带终止点的转换公式为:

The conversion formula of the ligament starting point and ligament ending point through the motion conversion matrix is:

对于运动转换矩阵Tstart和运动转换矩阵Tend两个运动转换矩阵来说,需要依赖预先建立的坐标系进行转换,初始时刻的所述韧带起始点记录为Lstart,所述韧带终止点记录为Lend以及所述当前时刻T下所述韧带起始点和所述韧带终止点均通过坐标来表示,但是需要说明是,本实施例不会对坐标系具体的建立方式进行限定,只需要所建立的坐标系能够对所有的点进行坐标标记,以及能够根据运动转换矩阵完成坐标的转换即可。For the two motion conversion matrices T start and T end , it is necessary to rely on the pre-established coordinate system for conversion. The starting point of the ligament at the initial moment is recorded as L start , the ending point of the ligament is recorded as L end , and the starting point of the ligament at the current moment T is recorded as L end . and the ligament termination point All are represented by coordinates, but it should be noted that this embodiment does not limit the specific method of establishing the coordinate system. It only requires that the established coordinate system can mark the coordinates of all points and complete the coordinate conversion according to the motion transformation matrix.

S2:连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面。S2: connecting the ligament starting point and the ligament ending point to form a rotation axis, and obtaining a plurality of cross-sectional planes passing through the rotation axis.

在本实施例中,获取若干个穿过所述旋转轴的截平面,具体为:In this embodiment, several cross-sectional planes passing through the rotation axis are obtained, specifically:

S21:连接所述韧带起始点和所述韧带终止点,形成线段V。S21: Connect the starting point of the ligament and the ending point of the ligament to form a line segment V.

S22:以所述线段V为所述旋转轴多次旋转角度α,生成若干个穿过所述旋转轴的所述截平面,直至所述截平面均匀覆盖0-180度的旋转范围。S22: Rotate the line segment V as the rotation axis multiple times by an angle α to generate a plurality of cross-sectional planes passing through the rotation axis, until the cross-sectional planes evenly cover the rotation range of 0-180 degrees.

其中所述角度α依据对所述当前韧带进行仿真的精度进行设置。当对仿真精度要求高,对计算速度要求小时,旋转角度α的值设置较小,如0.1度等等,当对仿真精度要求低,但是要求计算速度快时,旋转角度α的值设置较 大,如2度等等。如图2所述,为其中一个截平面的三维立体示意图。The angle α is set according to the accuracy of the simulation of the current ligament. When the simulation accuracy is high and the calculation speed is low, the value of the rotation angle α is set to be small, such as 0.1 degrees. When the simulation accuracy is low but the calculation speed is fast, the value of the rotation angle α is set to be large. Large, such as 2 degrees, etc. As shown in FIG2 , it is a three-dimensional schematic diagram of one of the cross-sectional planes.

S3:针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径。S3: For any one of the cutting planes, obtain a passable area that can establish a three-dimensional connection line of the current ligament, calculate a set of connected lines through which the current ligament can pass within the passable area, and calculate the shortest three-dimensional path from the starting point of the ligament to the ending point of the ligament based on the set of connected lines.

在本实施中,针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的所述可通过区域,具体为:In this embodiment, the passable area capable of establishing the three-dimensional connection line of the current ligament is obtained for any of the section planes, specifically:

所述截平面的个数记录为n,对于任意一个所述截平面,与三维面片模型相交,将所述截平面与所述起始骨头和所述终止骨头的所述三维面片模型的交点的集合记录为其中i取值为1到n;The number of the cutting planes is recorded as n. For any cutting plane, when it intersects with the three-dimensional surface model, the set of intersection points of the cutting plane with the three-dimensional surface model of the starting bone and the ending bone is recorded as and Where i ranges from 1 to n;

此时定义交点的集合范围内的骨组织部分为不可通过区域,除所述骨组织部分之外的区域为所述可通过区域;At this time, the set range of the intersection is defined and The bone tissue portion inside the cavity is the impassable area, and the area other than the bone tissue portion is the passable area;

希望计算得到的所述当前韧带的三维连线,即为韧带起始点和韧带终止点在所述可通过区域内的曲线连线。The three-dimensional line of the current ligament that is expected to be calculated is the starting point of the ligament and ligament termination points The curve lines within the passable region are connected.

进一步地,在所述可通过区域内计算所述当前韧带能够通过的所述连通线的集合,具体为:Furthermore, the set of connected lines through which the current ligament can pass is calculated within the passable region, specifically:

计算从韧带起始点开始在任意一个截平面内的可视图区域,如图4截平面的二维示意图中所示,黑色线条为骨骼截面,灰色线条即为每个节点的可经过区域,该可视图区域的构建过程为:在所述截平面上采用若干个多边形对骨关节周围的骨骼进行划分,划分后的多边形记录为{Poly1、Poly2...Polyn},如图3所示,为划分为2个多边形的骨骼划分示意图。每一个所述多边形由节点与边的集合{V,E}构成;对于所有的所述多边形中每一个所述节点,分别连接所有的所述多边形中的每一个所述节点,形成若干节点连线;对若干所述节点连线分别进行判断,若所述节点连线与任意一个所述多边形相交,则不构成所述连通线,否则加入所述连通线的集合。所有的联通线的集合构成可视图区域。Calculate from the starting point of the ligament Starting with the visible area within any section plane, as shown in the two-dimensional schematic diagram of the section plane in Figure 4, the black lines represent the bone cross-sections, and the gray lines are the traversable areas of each node. The visible area is constructed as follows: the bone around the joint is divided using several polygons on the section plane. The divided polygons are recorded as {Poly 1 , Poly 2 ...Poly n }. Figure 3 shows a schematic diagram of the skeleton divided into two polygons. Each polygon is composed of a set of nodes and edges {V, E}. For each node in all the polygons, each node in all the polygons is connected to form several node lines. Each of the node lines is judged separately. If the node line intersects any polygon, it does not constitute a connected line; otherwise, it is added to the set of connected lines. The set of all connected lines constitutes the visible area.

进一步地,基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的所述最短三维路径,具体为: Furthermore, the shortest three-dimensional path from the ligament starting point to the ligament ending point is calculated based on the set of connected lines, specifically:

计算从韧带起始点到韧带终止点每一个截平面上的最短三维路径,也即获取到当前截平面上从韧带起始点到韧带终止点上的韧带路径,其三维长度记录为Leni,其中i取值为1到n为截平面的编号。在本实施例中,最短三维路径的获取采用欧几里得距离公式中的相邻点代价F韧带进行计算。Calculate from the starting point of the ligament To the end point of the ligament The shortest three-dimensional path on each cutting plane, that is, the shortest path from the starting point of the ligament on the current cutting plane To the end point of the ligament The ligament path on the 3D path has its 3D length recorded as Len i , where i is a number from 1 to n, representing the number of the section plane. In this embodiment, the shortest 3D path is obtained by calculating the adjacent point cost F ligament in the Euclidean distance formula.

所述相邻点代价F韧带采用欧几里得距离公式进行计算,具体为:
F韧带=G+H
The adjacent point cost F ligament is calculated using the Euclidean distance formula, specifically:
F ligament = G + H

其中,G为实际代价即从所述韧带起始点到所述当前节点已经走过的路径,H为预估代价及从所述当前节点到与所述当前节点相邻的下一个所述节点的预估需要走的路径。Among them, G is the actual cost, that is, the path that has been traveled from the starting point of the ligament to the current node, and H is the estimated cost and the estimated path to be traveled from the current node to the next node adjacent to the current node.

举个例子来说,如图5的欧几里得算法举例示意图中所示,从韧带起始点到韧带终止点其可经过的连通线上节点为n1、n2a、n2b、n2c,若已经计算得到的当前节点为n1点,即为已经走过的韧带起始点到n1的路径记为G,下一步n1至n2a、n2b、n2c三种不同的路径为预估行走路径H,n1至n2a记为H1,n1至n2b记为H2,n1至n2c记为H3,G+{H1,H2,H3}中计算出的相邻点代价F韧带最小的一条路径为当前节点n1到所有的下一个节点的最短路径,图5可得为F=G+H2为最短路径。此外从图5中可以看出n2b的下一个节点只有韧带终止点一个,也即图5中计算出的最短三维路径为韧带起始点到n1到n2b到韧带终止点 For example, as shown in the example diagram of the Euclid algorithm in Figure 5, starting from the ligament starting point To the end point of the ligament The nodes on the connected line that it can pass through are n1, n2a, n2b, and n2c. If the current node that has been calculated is n1, it is the starting point of the ligament that has been passed. The path to n1 is denoted as G. The next three different paths from n1 to n2a, n2b, and n2c are the estimated walking paths H. n1 to n2a is denoted as H1, n1 to n2b is denoted as H2, and n1 to n2c is denoted as H3. The path with the smallest adjacent point cost F calculated from G+{H1, H2, H3} is the shortest path from the current node n1 to all the next nodes. Figure 5 shows that F=G+H2 is the shortest path. In addition, it can be seen from Figure 5 that the next node of n2b has only the ligament termination point. One, that is, the shortest three-dimensional path calculated in Figure 5 is the starting point of the ligament To n1 to n2b to the ligament termination point

此外,路径上相邻点的欧几里得距离计算方法为:
In addition, the Euclidean distance between adjacent points on the path is calculated as:

其中p1与P2为路径上两点,p1.x与p2.x、p1.y与p2.y即为其对应的X、Y坐标值。对路径上所有两两点之间距离求和记为其距离d。Where p1 and P2 are two points on the path, p1.x and p2.x, and p1.y and p2.y are their corresponding X and Y coordinates. The sum of the distances between all pairs of points on the path is recorded as distance d.

最短三维路径的整体计算流程为:The overall calculation process of the shortest three-dimensional path is:

S31:初始化用于存储所述当前韧带准备要走的路径的开列表open list和用于存储所述当前韧带已经走过的路径的闭列表close list;S31: Initializing an open list for storing the path that the current ligament is about to take and a closed list for storing the path that the current ligament has already taken;

S32:将所述韧带起始点加入到所述开列表open list中; S32: The starting point of the ligament Add to the open list;

S33:当所述开列表open list不为空时,从所述开列表open list中取出已经计算出的所述相邻点代价F韧带最小的路径上的最后一个所述节点作为当前节点加入到所述闭列表close list,其中,当第一次执行步骤S33时,所述当前节点为所述韧带起始点当不是第一次执行步骤S33时,所述当前节点为当前已经计算到的所述相邻点代价最小的路径上的最后一个所述节点;S33: When the open list is not empty, take the last node on the path with the smallest calculated adjacent point cost F from the open list and add it to the closed list as the current node. When step S33 is executed for the first time, the current node is the starting point of the ligament. When step S33 is not performed for the first time, the current node is the last node on the currently calculated path with the minimum cost of the adjacent points;

S34:判断所述当前节点是否为所述韧带终止点若为所述韧带终止点则算法结束,直接跳转步骤S37;S34: Determine whether the current node is the ligament termination point If the ligament ends at The algorithm ends and jumps directly to step S37;

S35:依据集合中的所述连通线获取与所述当前节点相邻的所有的下一个所述节点,并分别计算所述韧带起始点到所有的下一个所述节点的所述相邻点代价F韧带,同时若相邻的下一个所述节点不在所述开列表open list和所述闭列表close list中时,将相邻的下一个所述节点加入所述开列表open list;S35: Obtain all the next nodes adjacent to the current node according to the connected lines in the set, and calculate the ligament starting points respectively The cost F ligament to all adjacent points of the next node, and if the adjacent next node is not in the open list and the closed list, add the adjacent next node to the open list;

S36:在所述开列表open list中,更新所述韧带起始点到所有的下一个所述节点的所述相邻点代价F韧带,并判断所述当前节点是否为所述韧带终止点若为所述韧带终止点则算法结束,直接跳转步骤S37,否者跳转步骤S33继续执行当前算法;S36: Update the ligament starting point in the open list To all the adjacent points of the next node, the cost F ligament , and determine whether the current node is the ligament end point If the ligament ends at If yes, the algorithm ends and jumps directly to step S37, otherwise jumps to step S33 to continue executing the current algorithm;

S37:从所述闭列表close list中输出从所述韧带起始点到所述韧带终止点的所有的所述节点,记为所述最短三维路径,如图6为找到的最短三维路径的示意图。S37: Outputting the starting point of the ligament from the closed list To the end point of the ligament All the nodes are recorded as the shortest three-dimensional path. FIG6 is a schematic diagram of the shortest three-dimensional path found.

S4:基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。S4: constructing a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and taking the shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.

具体的,在本实施例中,重复执行步骤S3,如图7所示,针对每一个截平面计算当前所在截平面的最短三维路径,记录为Len1,Len2...Lenn,构建出韧带长度集LenNSpecifically, in this embodiment, step S3 is repeatedly performed, as shown in FIG7 , and the shortest three-dimensional path of the current section plane is calculated for each section plane, recorded as Len 1 , Len 2 . . . Len n , to construct a ligament length set Len N .

取韧带长度集LenN中最短的一条最短三维路径Lenshortest,即为从韧带起始点到韧带终止点在当前时刻T下的三维空间路径。 Take the shortest three-dimensional path Len shortest in the ligament length set Len N , which is the shortest path from the starting point of the ligament To the end point of the ligament The three-dimensional space path at the current time T.

S5:如图8所示,在所述终止骨头表面上选择多个所述韧带终止点,构建韧带终止点集合重复执行步骤S2-S4计算基于不同所述韧带终止点的所述三维空间路径,寻找所述三维空间路径小于预设长度的所有的所述韧带终止点以绘制等高线,所述等高线对应的范围为构建所述当前韧带所需要的等长区间,等长区间的设置如图9中灰色区域所示。S5: As shown in FIG8 , a plurality of ligament termination points are selected on the termination bone surface to construct a ligament termination point set. Repeat steps S2-S4 to calculate the three-dimensional space path based on different ligament end points, and find all the ligament end points whose three-dimensional space path is less than the preset length to draw contour lines. The range corresponding to the contour lines is the equal-length interval required to construct the current ligament. The setting of the equal-length interval is shown in the gray area in Figure 9.

具体的,绘制等高线并基于等高线建立当前韧带所需要的等长区间的目的在于找到在运动过程中韧带长度变化最小的点的集合,以使得后期所建立的韧带最优。Specifically, the purpose of drawing contour lines and establishing the equal length intervals required for the current ligament based on the contour lines is to find a set of points where the ligament length changes minimally during exercise, so that the ligament established later is optimal.

S6:分别为所述等长区间中所有的所述三维空间路径设置不同的权重,基于所述权重计算所述等长区间中的加权中心点,所述加权中心点所对应的所述三维空间路径为所述当前韧带的最等长点,所述最等长点即为所述当前韧带的最终空间路径。S6: Set different weights for all the three-dimensional spatial paths in the equal-length interval, calculate the weighted center point in the equal-length interval based on the weights, the three-dimensional spatial path corresponding to the weighted center point is the most equal-length point of the current ligament, and the most equal-length point is the final spatial path of the current ligament.

其中,为等长区间中所有的三维空间路径设置不同的权重的设置依据在于,对于在运动过程中韧带长度变化最小设置更高的权重,使得最后基于权重计算得到的加权中心点会往在运动过程中韧带长度变化最小的点上面靠。The basis for setting different weights for all three-dimensional spatial paths in the equal-length interval is to set a higher weight for the point where the ligament length changes the least during the movement, so that the weighted center point finally calculated based on the weight will be closer to the point where the ligament length changes the least during the movement.

第二实施例Second embodiment

如图10所示,本实施例提供了一种用于执行如第一实施例中的韧带动态仿真和等长性分析方法的韧带动态仿真和等长性分析系统,包括:As shown in FIG10 , this embodiment provides a ligament dynamic simulation and isometric analysis system for executing the ligament dynamic simulation and isometric analysis method of the first embodiment, including:

韧带起止点选择模块1,用于基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点。The ligament starting and ending point selection module 1 is used to select the ligament starting point and ligament ending point at the current moment on the starting bone and ending bone surfaces to which the current ligament that needs to be dynamically simulated is connected based on the three-dimensional model of the bone joint.

韧带截平面获取模块2,用于连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面。The ligament section plane acquisition module 2 is used to connect the ligament starting point and the ligament ending point to form a rotation axis, and acquire a plurality of section planes passing through the rotation axis.

截面路径计算模块3,用于针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径。 The cross-sectional path calculation module 3 is used to obtain, for any one of the cutting planes, a passable area that can establish a three-dimensional connection line of the current ligament, calculate the set of connected lines through which the current ligament can pass within the passable area, and calculate the shortest three-dimensional path from the starting point of the ligament to the ending point of the ligament based on the set of connected lines.

空间路径获取模块4,用于基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。The spatial path acquisition module 4 is used to construct a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and take the shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment.

等长区间获取模块5,用于在所述终止骨头表面上选择多个所述韧带终止点,重复执行步骤S2-S4计算基于不同所述韧带终止点的所述三维空间路径,寻找所述三维空间路径小于预设长度的所有的所述韧带终止点以绘制等高线,所述等高线对应的范围为构建所述当前韧带所需要的等长区间;An equal-length interval acquisition module 5 is configured to select a plurality of ligament termination points on the termination bone surface, repeatedly execute steps S2-S4 to calculate the three-dimensional spatial path based on the different ligament termination points, and find all the ligament termination points whose three-dimensional spatial paths are less than a preset length to draw contour lines. The range corresponding to the contour lines is the equal-length interval required to construct the current ligament.

最等长点获取模块6,用于分别为所述等长区间中所有的所述三维空间路径设置不同的权重,基于所述权重计算所述等长区间中的加权中心点,所述加权中心点所对应的所述三维空间路径为所述当前韧带的最等长点,所述最等长点即为所述当前韧带的最终空间路径。The most isometric point acquisition module 6 is used to set different weights for all the three-dimensional spatial paths in the isometric interval, and calculate the weighted center point in the isometric interval based on the weights. The three-dimensional spatial path corresponding to the weighted center point is the most isometric point of the current ligament, and the most isometric point is the final spatial path of the current ligament.

一种计算机可读存储介质,计算机可读存储介质存储有计算机代码,当计算机代码被执行时,如上述方法被执行。本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。A computer-readable storage medium stores computer code. When the computer code is executed, the above method is executed. A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiment. All technical solutions based on the concept of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, various improvements and modifications that do not depart from the principles of the present invention should also be considered within the scope of protection of the present invention.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也 应视为本发明的保护范围。 It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this field, they can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also It should be regarded as the protection scope of the present invention.

Claims (10)

一种韧带动态仿真和等长性分析方法,其特征在于,包括:A ligament dynamic simulation and isometric analysis method, characterized by comprising: S1:基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点;S1: Based on the three-dimensional model of the bone joint, select the current ligament starting point and ligament ending point on the surface of the starting bone and ending bone to which the current ligament is connected for dynamic simulation; S2:连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面;S2: connecting the starting point of the ligament and the ending point of the ligament to form a rotation axis, and obtaining a plurality of cross-sectional planes passing through the rotation axis; S3:针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径;S3: for any of the cross-sectional planes, respectively, obtaining a passable region capable of establishing a three-dimensional connection line of the current ligament, calculating a set of connected lines through which the current ligament can pass within the passable region, and calculating the shortest three-dimensional path from the starting point of the ligament to the ending point of the ligament based on the set of connected lines; S4:基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。S4: constructing a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and taking the shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment. 根据权利要求1所述的韧带动态仿真和等长性分析方法,其特征在于,还包括:The ligament dynamic simulation and isometric analysis method according to claim 1, further comprising: S5:在所述终止骨头表面上选择多个所述韧带终止点,重复执行步骤S2-S4计算基于不同所述韧带终止点的所述三维空间路径,寻找所述三维空间路径小于预设长度的所有的所述韧带终止点以绘制等高线,所述等高线对应的范围为构建所述当前韧带所需要的等长区间;S5: selecting a plurality of ligament termination points on the termination bone surface, repeatedly executing steps S2-S4 to calculate the three-dimensional spatial path based on the different ligament termination points, finding all the ligament termination points whose three-dimensional spatial paths are less than a preset length to draw contour lines, wherein the range corresponding to the contour lines is the equal length interval required to construct the current ligament; S6:分别为所述等长区间中所有的所述三维空间路径设置不同的权重,基于所述权重计算所述等长区间中的加权中心点,所述加权中心点所对应的所述三维空间路径为所述当前韧带的最等长点,所述最等长点即为所述当前韧带的最终空间路径。S6: Set different weights for all the three-dimensional spatial paths in the equal-length interval, calculate the weighted center point in the equal-length interval based on the weights, the three-dimensional spatial path corresponding to the weighted center point is the most equal-length point of the current ligament, and the most equal-length point is the final spatial path of the current ligament. 根据权利要求1所述的韧带动态仿真和等长性分析方法,其特征在于,在步骤S1中,基于所述骨关节三维模型,在需要进行动态仿真的所述当前韧带所连接的所述起始骨头和所述终止骨头表面上分别选择所述当前时刻的所述韧带起始点和所述韧带终止点,具体为:The ligament dynamic simulation and isometric analysis method according to claim 1, characterized in that in step S1, based on the three-dimensional model of the bone joint, the ligament starting point and the ligament ending point at the current moment are respectively selected on the surface of the starting bone and the ending bone to which the current ligament to be dynamically simulated is connected, specifically: S11:分别建立所述当前韧带所连接的所述起始骨头和所述终止骨头的三维面片模型,其中所述起始骨头的所述三维面片模型构成的点集记录为三维 点集Pstart,所述终止骨头的所述三维面片模型构成的点集记录为三维点集PendS11: Establish three-dimensional surface models of the starting bone and the ending bone connected to the current ligament, wherein the point set composed of the three-dimensional surface model of the starting bone is recorded as a three-dimensional surface model. Point set P start , the point set formed by the three-dimensional patch model of the termination bone is recorded as three-dimensional point set P end ; S12:初始时刻的所述韧带起始点记录为Lstart,所述韧带终止点记录为Lend,分别获取所述初始时刻到所述当前时刻T的所述起始骨头和所述终止骨头的运动转换矩阵Tstart和运动转换矩阵Tend,利用所述运动转换矩阵Tstart和所述运动转换矩阵Tend将所述韧带起始点Lstart和所述韧带终止点Lend转换到所述当前时刻T下所述韧带起始点和所述韧带终止点 S12: The ligament starting point at the initial moment is recorded as L start , and the ligament ending point is recorded as L end , and the motion conversion matrix T start and the motion conversion matrix T end of the starting bone and the ending bone from the initial moment to the current moment T are respectively obtained, and the motion conversion matrix T start and the motion conversion matrix T end are used to convert the ligament starting point L start and the ligament ending point L end to the ligament starting point L start at the current moment T and the ligament termination point 根据权利要求1所述的韧带动态仿真和等长性分析方法,其特征在于,在步骤S2中,连接所述韧带起始点和所述韧带终止点形成所述旋转轴,获取若干个穿过所述旋转轴的截平面,具体为:The ligament dynamic simulation and isometric analysis method according to claim 1, characterized in that in step S2, the ligament starting point and the ligament ending point are connected to form the rotation axis, and a plurality of cross-sectional planes passing through the rotation axis are obtained, specifically: S21:连接所述韧带起始点和所述韧带终止点,形成线段V;S21: connecting the starting point of the ligament and the ending point of the ligament to form a line segment V; S22:以所述线段V为所述旋转轴多次旋转角度α,生成若干个穿过所述旋转轴的所述截平面,直至所述截平面均匀覆盖0-180度的旋转范围,其中所述角度α依据对所述当前韧带进行仿真的精度进行设置。S22: Rotate the line segment V as the rotation axis multiple times by an angle α to generate a plurality of cross-sectional planes passing through the rotation axis until the cross-sectional planes uniformly cover the rotation range of 0-180 degrees, wherein the angle α is set according to the accuracy of simulating the current ligament. 根据权利要求3所述的韧带动态仿真和等长性分析方法,其特征在于,在步骤S3中,针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的所述可通过区域,具体为:The ligament dynamic simulation and isometric analysis method according to claim 3, characterized in that in step S3, the passable area capable of establishing the three-dimensional connection line of the current ligament is obtained for each of the section planes, specifically: 所述截平面的个数记录为n,对于任意一个所述截平面,将所述截平面与所述起始骨头和所述终止骨头的所述三维面片模型的交点的集合记录为其中i取值为1到n;The number of the cutting planes is recorded as n. For any cutting plane, the set of intersection points of the cutting plane with the three-dimensional surface model of the starting bone and the ending bone is recorded as and Where i ranges from 1 to n; 此时定义交点的集合范围内的骨组织部分为不可通过区域,除所述骨组织部分之外的区域为所述可通过区域;At this time, the set range of the intersection is defined and The bone tissue portion inside the cavity is the impassable area, and the area other than the bone tissue portion is the passable area; 计算得到的所述当前韧带的三维连线,即为在所述可通过区域内的曲线连线。The calculated three-dimensional connection line of the current ligament is the curve connection line within the passable area. 根据权利要求1所述的韧带动态仿真和等长性分析方法,其特征在于,在步骤S3中,在所述可通过区域内计算所述当前韧带能够通过的所述连通线的集合,具体为:The ligament dynamic simulation and isometric analysis method according to claim 1, characterized in that in step S3, the set of connected lines through which the current ligament can pass is calculated within the passable area, specifically: 在所述截平面上采用若干个多边形对骨关节周围的骨骼进行划分,每一 个所述多边形由节点与边的集合构成;The bones around the joints are divided using several polygons on the section plane. Each of the polygons is composed of a set of nodes and edges; 对于所有的所述多边形中每一个所述节点,分别连接所有的所述多边形中的每一个所述节点,形成若干节点连线;For each of the nodes in all of the polygons, connect each of the nodes in all of the polygons to form a plurality of node lines; 对若干所述节点连线分别进行判断,若所述节点连线与任意一个所述多边形相交,则不构成所述连通线,否则加入所述连通线的集合。A plurality of node lines are judged respectively. If the node line intersects with any of the polygons, it does not constitute the connected line; otherwise, it is added to the set of connected lines. 根据权利要求6所述的韧带动态仿真和等长性分析方法,其特征在于,在步骤S3中,基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的所述最短三维路径,具体为:The ligament dynamic simulation and isometric analysis method according to claim 6, characterized in that in step S3, the shortest three-dimensional path from the ligament starting point to the ligament ending point is calculated based on the set of connected lines, specifically: S31:初始化用于存储所述当前韧带准备要走的路径的开列表open list和用于存储所述当前韧带已经走过的路径的闭列表close list;S31: Initializing an open list for storing the path that the current ligament is about to take and a closed list for storing the path that the current ligament has already taken; S32:将所述韧带起始点加入到所述开列表open list中;S32: Add the ligament starting point to the open list; S33:当所述开列表open list不为空时,从所述开列表open list中取出已经计算出的所述相邻点代价最小的路径上的最后一个所述节点作为当前节点加入到所述闭列表close list,其中,当第一次执行步骤S33时,所述当前节点为所述韧带起始点,当不是第一次执行步骤S33时,所述当前节点为当前已经计算到的所述相邻点代价最小的路径上的最后一个所述节点;S33: When the open list is not empty, taking the last node on the path with the minimum cost of the adjacent points that has been calculated from the open list and adding it to the closed list as the current node, wherein when step S33 is executed for the first time, the current node is the starting point of the ligament; when step S33 is not executed for the first time, the current node is the last node on the path with the minimum cost of the adjacent points that has been calculated; S34:判断所述当前节点是否为所述韧带终止点,若为所述韧带终止点则算法结束,直接跳转步骤S37;S34: Determine whether the current node is the ligament termination point. If it is the ligament termination point, the algorithm ends and jumps directly to step S37; S35:依据集合中的所述连通线获取与所述当前节点相邻的所有的下一个所述节点,并分别计算所述韧带起始点到所有的下一个所述节点的所述相邻点代价,同时若相邻的下一个所述节点不在所述开列表open list和所述闭列表close list中时,将相邻的下一个所述节点加入所述开列表open list;S35: Obtain all the next nodes adjacent to the current node according to the connected lines in the set, and respectively calculate the adjacent point costs from the ligament starting point to all the next nodes. If the adjacent next node is not in the open list and the closed list, add the adjacent next node to the open list. S36:在所述开列表open list中,更新所述韧带起始点到所有的下一个所述节点的所述相邻点代价,并判断所述当前节点是否为所述韧带终止点,若为所述韧带终止点则算法结束,直接跳转步骤S37,否者跳转步骤S33继续执行当前算法;S36: In the open list, update the adjacent point costs from the ligament starting point to all the next nodes, and determine whether the current node is the ligament ending point. If it is the ligament ending point, the algorithm ends and jumps directly to step S37; otherwise, jumps to step S33 to continue executing the current algorithm; S37:从所述闭列表close list中输出从所述韧带起始点到所述韧带终止点的所有的所述节点,记为所述最短三维路径。 S37: Output all the nodes from the ligament starting point to the ligament ending point from the closed list, and record them as the shortest three-dimensional path. 根据权利要求7所述的韧带动态仿真和等长性分析方法,其特征在于,所述相邻点代价F韧带采用欧几里得距离公式进行计算,具体为:
F韧带=G+H
The ligament dynamic simulation and isometric analysis method according to claim 7, characterized in that the adjacent point cost Fligament is calculated using the Euclidean distance formula, specifically:
F ligament = G + H
其中,G为实际代价即从所述韧带起始点到所述当前节点已经走过的路径,H为预估代价及从所述当前节点到与所述当前节点相邻的下一个所述节点的预估需要走的路径。Among them, G is the actual cost, that is, the path that has been traveled from the starting point of the ligament to the current node, and H is the estimated cost and the estimated path to be traveled from the current node to the next node adjacent to the current node.
一种用于执行如权利要求1-8任意一项所述的韧带动态仿真和等长性分析方法的韧带动态仿真和等长性分析系统,其特征在于,包括:A ligament dynamic simulation and isometric analysis system for executing the ligament dynamic simulation and isometric analysis method according to any one of claims 1 to 8, characterized in that it comprises: 韧带起止点选择模块,用于基于骨关节三维模型,在需要进行动态仿真的当前韧带所连接的起始骨头和终止骨头表面上分别选择当前时刻的韧带起始点和韧带终止点;A ligament starting and ending point selection module is used to select the starting point and ending point of the ligament at the current moment on the surface of the starting bone and ending bone to which the current ligament is connected that needs to be dynamically simulated based on the three-dimensional model of the bone joint; 韧带截平面获取模块,用于连接所述韧带起始点和所述韧带终止点形成旋转轴,获取若干个穿过所述旋转轴的截平面;a ligament section plane acquisition module, configured to connect the ligament starting point and the ligament ending point to form a rotation axis, and acquire a plurality of section planes passing through the rotation axis; 截面路径计算模块,用于针对任意一个所述截平面分别获取能够建立所述当前韧带的三维连线的可通过区域,在所述可通过区域内计算所述当前韧带能够通过的连通线的集合,并基于所述连通线的集合计算从所述韧带起始点到所述韧带终止点的最短三维路径;a cross-sectional path calculation module, configured to obtain, for any of the section planes, a passable region capable of establishing a three-dimensional connection line of the current ligament, calculate within the passable region a set of connected lines through which the current ligament can pass, and calculate, based on the set of connected lines, a shortest three-dimensional path from a starting point of the ligament to an ending point of the ligament; 空间路径获取模块,用于基于所有的所述截平面上计算出的所述最短三维路径构建韧带长度集,取所述韧带长度集中最短的一条所述最短三维路径作为所述当前时刻下的所述当前韧带的三维空间路径。A spatial path acquisition module is used to construct a ligament length set based on the shortest three-dimensional paths calculated on all the cutting planes, and take the shortest shortest three-dimensional path in the ligament length set as the three-dimensional spatial path of the current ligament at the current moment. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如权利要求1-8任意一项所述的方法被执行。 A computer-readable storage medium stores computer code. When the computer code is executed, the method according to any one of claims 1 to 8 is executed.
PCT/CN2024/115746 2024-03-25 2024-08-30 Dynamic simulation and isometric analysis method and system for ligament Pending WO2025200291A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410341360.1 2024-03-25
CN202410341360.1A CN118246214B (en) 2024-03-25 2024-03-25 A ligament dynamic simulation and isometric analysis method and system

Publications (1)

Publication Number Publication Date
WO2025200291A1 true WO2025200291A1 (en) 2025-10-02

Family

ID=91557728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/115746 Pending WO2025200291A1 (en) 2024-03-25 2024-08-30 Dynamic simulation and isometric analysis method and system for ligament

Country Status (2)

Country Link
CN (1) CN118246214B (en)
WO (1) WO2025200291A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118246214B (en) * 2024-03-25 2024-12-13 上海涛影医疗科技有限公司 A ligament dynamic simulation and isometric analysis method and system
CN120411092B (en) * 2025-07-02 2025-10-03 北京天星医疗股份有限公司 Ligament equal-length analysis method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160331465A1 (en) * 2015-05-12 2016-11-17 Coreline Soft Co., Ltd. System and method for simulating reconstructive surgery of anterior cruciate ligament using medical images
CN109523625A (en) * 2018-09-29 2019-03-26 上海交通大学 A kind of ligament length quantization method
CN116310208A (en) * 2023-02-10 2023-06-23 上海交通大学 A method and system for establishing a ligament model
CN118246214A (en) * 2024-03-25 2024-06-25 上海涛影医疗科技有限公司 A ligament dynamic simulation and isometric analysis method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161052A1 (en) * 2004-12-08 2006-07-20 Perception Raisonnement Action En Medecine Computer assisted orthopaedic surgery system for ligament graft reconstruction
CN102940530B (en) * 2012-11-16 2014-09-24 昆明医科大学第一附属医院 A virtual method for constructing the tunnel of the anterior cruciate ligament in the femur and tibia
CN111887908A (en) * 2020-09-02 2020-11-06 上海卓梦医疗科技有限公司 Knee joint ligament reconstruction intelligent control system and method
CN116310207B (en) * 2023-02-10 2025-11-04 上海涛影医疗科技有限公司 A method and apparatus for quantifying ligament wrapping length

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160331465A1 (en) * 2015-05-12 2016-11-17 Coreline Soft Co., Ltd. System and method for simulating reconstructive surgery of anterior cruciate ligament using medical images
CN109523625A (en) * 2018-09-29 2019-03-26 上海交通大学 A kind of ligament length quantization method
CN116310208A (en) * 2023-02-10 2023-06-23 上海交通大学 A method and system for establishing a ligament model
CN118246214A (en) * 2024-03-25 2024-06-25 上海涛影医疗科技有限公司 A ligament dynamic simulation and isometric analysis method and system

Also Published As

Publication number Publication date
CN118246214B (en) 2024-12-13
CN118246214A (en) 2024-06-25

Similar Documents

Publication Publication Date Title
WO2025200291A1 (en) Dynamic simulation and isometric analysis method and system for ligament
Agur et al. Documentation and three‐dimensional modelling of human soleus muscle architecture
Fernandez et al. An anatomically based patient-specific finite element model of patella articulation: towards a diagnostic tool
Belinha Meshless methods in biomechanics
US11043143B2 (en) System and method for performing virtual surgery
Marinescu et al. Finite‐element modeling of the anthropoid mandible: the effects of altered boundary conditions
JP4826459B2 (en) Musculoskeletal model creation method, human stress / strain estimation method, program, and recording medium
Regnault et al. Pectoral girdle and forelimb musculoskeletal function in the echidna (Tachyglossus aculeatus): insights into mammalian locomotor evolution
JP2012083862A (en) Video content generation system, video content generation device and computer program
WO2003099119A1 (en) Body mechanics calculating method, body mechanics model, its model data, and body model producing method
CN111973270A (en) Method for establishing individual knee joint bionic ligament biomechanical model
Peña et al. On the numerical treatment of initial strains in biological soft tissues
Akhavanfar et al. An enhanced spine model validated for simulating dynamic lifting tasks in OpenSim
CN118841141A (en) Method for constructing biomechanical prediction model of knee joint cartilage injury
Montgomery et al. Biomechanical analysis of ligament modelling techniques in TKA knees during laxity tests using a virtual joint motion simulator
Hoffmann et al. Influence of glenohumeral joint muscle insertion on moment arms using a finite element model
Sancisi et al. A new kinematic model of the passive motion of the knee inclusive of the patella
Favre et al. Automated muscle wrapping using finite element contact detection
Marcé-Nogué et al. Mandibular biomechanics as a key factor to understand diet in mammals
JP4212022B2 (en) Body mechanics calculation method, body mechanics calculation program and recording medium recording the same, body mechanics model and recording medium storing the model data
CN119791841A (en) A carotid artery stent simulation method and system based on virtual intervention algorithm
JP5162512B2 (en) Multidimensional time series data analysis apparatus and multidimensional time series data analysis program
JP4881055B2 (en) Continuous elastic body deformation simulation method, program, and recording medium
Jadelis Index finger extensor hood mechanics using finite element and rigid body dynamic modeling
Schwartz et al. Modeling and Simulation Workflow Using Open Knee (s) Data

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: 24931654

Country of ref document: EP

Kind code of ref document: A1