Bone tissue implant modeling method, device, computer equipment and storage medium
Through the division and mapping of the solid model of bone tissue implants, a parametric model is generated, which solves the problems of complexity in obtaining traditional porous structures and high consumption of computing resources, achieves efficient matching and optimization of bone tissue implants, and avoids Osteoporosis and implant loosening.
Patent Information
- Application Number
- CN202010788484.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-08-07
AI Technical Summary
The process of obtaining the porous structure of traditional bone tissue implants is complicated and consumes a lot of computing resources, especially the surface calculation part, leading to problems of osteoporosis and implant loosening.
By obtaining a solid model of the target part of the bone tissue, dividing and mapping the body elements, generating a wireframe model, and performing parametric processing, including finite element meshing and optimization, the porous structure of the bone tissue implant is obtained to avoid Surface operations save computing resources.
It simplifies the acquisition process of porous structure bone tissue implants. The bone tissue implants can be well matched to the target site, with uniform pore distribution and no sharp corners or damage on the surface. This significantly saves computing resources and improves modeling efficiency.
Smart Images

Figure CN114065565B
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical modeling technology, and in particular to a bone tissue implant modeling method, device, computer equipment and storage medium. Background Art
[0002] Bone tissue implants are one of the main methods of treating the musculoskeletal system. Traditional bone tissue implants have a large elastic modulus and bear most of the load after implantation, resulting in a stress shielding effect, which leads to bone resorption after surgery due to lack of exercise of the bone, leading to osteoporosis and implant loosening, requiring corrective surgery.
[0003] In the related art, in order to reduce the elastic modulus of bone tissue implants and reduce the stress shielding effect, bone tissue implants are designed to have a porous structure. However, the current process of obtaining bone tissue implants with porous structures is very complicated, especially involving a large number of surface calculations, which consumes a lot of computing resources. Summary of the invention
[0004] Based on this, it is necessary to provide a bone tissue implant modeling method, device, computer equipment and storage medium that can save computing resources in order to solve the above technical problems.
[0005] A bone tissue implant modeling method, the method comprising:
[0006] Obtaining a physical model of the target bone tissue site;
[0007] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0008] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0009] The wireframe model of the bone tissue implant is parameterized to obtain a parameterized model of the bone tissue implant.
[0010] In one embodiment, the above-mentioned performing volume unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant includes:
[0011] Mapping is performed on each body unit according to the division result to obtain the wireframe unit corresponding to each body unit;
[0012] Multiple wireframe units are merged to obtain a wireframe model of the bone tissue implant.
[0013] In one embodiment, the mapping process is performed on each volume unit according to the division result to obtain the wireframe unit corresponding to each volume unit, including:
[0014] For each body unit, determine the connection relationship between key points and key points according to the unit information and node information corresponding to the body unit;
[0015] According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of key lines form a wireframe unit corresponding to the body unit.
[0016] In one embodiment, the key point includes at least one of a vertex, a center point and a center of gravity point of a body unit.
[0017] In one embodiment, the solid model of the target bone tissue site is divided into body units to obtain a division result, including:
[0018] According to a pre-set polyhedron division method, the solid model of the target part of the bone tissue is divided into a plurality of body units to obtain a division result;
[0019] The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
[0020] In one embodiment, the parametric processing of the wireframe model of the bone tissue implant to obtain the parametric model of the bone tissue implant includes:
[0021] Get element type and material properties;
[0022] The parameters of the wireframe model of the bone tissue implant are set according to the unit type and material properties to obtain a parameterized model of the bone tissue implant.
[0023] In one embodiment, after obtaining the parameterized model of the bone tissue implant, the method further comprises:
[0024] Performing finite element meshing on the parametric model of the bone tissue implant, and performing finite element analysis on the parametric model to obtain analysis results;
[0025] The parameterized model is optimized according to the preset optimization model and the analysis results to obtain an optimized parameterized model.
[0026] In one embodiment, the finite element analysis is performed on the parameterized model to obtain the analysis results, including:
[0027] Assign values to the cylinder diameter in the parametric model;
[0028] Finite element analysis is performed on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
[0029] In one embodiment, the above-mentioned optimizing the parameterized model according to the preset optimization model and the analysis result to obtain the optimized parameterized model includes:
[0030] Perform mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant;
[0031] Update the value of the cylinder diameter to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant;
[0032] If it is determined that the parameterized model meets the preset conditions according to the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the parameterized model meeting the preset conditions is used as the optimized parameterized model.
[0033] In one embodiment, the method further comprises:
[0034] If it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the assignment of the cylinder diameter is updated to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant by iterative calculation.
[0035] In one embodiment, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0036] In one of the embodiments, the preset optimization model includes a preset function and preset constraints;
[0037] The preset function is used to obtain the mass of the bone tissue implant;
[0038] The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
[0039] In one embodiment, the above-mentioned obtaining of the physical model of the target bone tissue site includes:
[0040] Obtain bone tissue scan images;
[0041] Perform three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model;
[0042] The bone tissue scan model is compared with the normal bone tissue model to obtain a solid model of the target bone tissue site.
[0043] A method for modeling a bone tissue implant, the method comprising:
[0044] Obtaining a physical model of the target bone tissue site;
[0045] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0046] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0047] A porous model of the bone tissue implant is generated according to the wireframe model of the bone tissue implant.
[0048] In one embodiment, the above-mentioned performing volume unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant includes:
[0049] Mapping is performed on each body unit according to the division result to obtain the wireframe unit corresponding to each body unit;
[0050] Multiple wireframe units are merged to obtain a wireframe model of the bone tissue implant.
[0051] In one embodiment, the mapping process is performed on each volume unit according to the division result to obtain the wireframe unit corresponding to each volume unit, including:
[0052] For each body unit, determine the connection relationship between key points and key points according to the unit information and node information corresponding to the body unit;
[0053] According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of key lines form a wireframe unit corresponding to the body unit.
[0054] In one embodiment, the method of generating a porous model of a bone tissue implant based on a wireframe model of the bone tissue implant includes:
[0055] Traversing each key line in the wireframe model of the bone tissue implant, generating a cylinder with the key line as the axis and a preset length as the diameter;
[0056] Boolean operations were performed on the cylinder to generate a porous model of the bone tissue implant.
[0057] A bone tissue implant modeling device, the device comprising:
[0058] A solid model acquisition module, used to acquire a solid model of a target bone tissue site;
[0059] A body unit division module is used to divide the entity model of the target part of the bone tissue into body units to obtain a division result; the division result includes unit information and node information corresponding to each body unit;
[0060] A wireframe model acquisition module is used to perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant;
[0061] The parameterized model acquisition module is used to perform parameterized processing on the wireframe model of the bone tissue implant to obtain the parameterized model of the bone tissue implant.
[0062] In one embodiment, the wireframe model obtaining module includes:
[0063] A mapping processing submodule is used to perform mapping processing on each body unit according to the division result to obtain a wireframe unit corresponding to each body unit;
[0064] The merging processing submodule is used to merge multiple wireframe units to obtain a wireframe model of the bone tissue implant.
[0065] In one of the embodiments, the above-mentioned mapping processing submodule is specifically used to determine the connection relationship between key points and key points for each body unit according to the unit information and node information corresponding to the body unit; connect every two key points according to the connection relationship of the key points to obtain a key line, and form a wireframe unit corresponding to the body unit by multiple key lines.
[0066] In one embodiment, the key point includes at least one of a vertex, a center point and a center of gravity point of a body unit.
[0067] In one embodiment, the above-mentioned body unit division module is specifically used to divide the solid model of the target part of the bone tissue into multiple body units according to a preset polyhedron division method to obtain a division result;
[0068] The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
[0069] In one of the embodiments, the parameterized model acquisition module is specifically used to obtain unit types and material properties; and to set parameters of the wireframe model of the bone tissue implant according to the unit types and material properties to obtain the parameterized model of the bone tissue implant.
[0070] In one embodiment, the device further comprises:
[0071] An analysis module, used for performing finite element meshing on a parametric model of a bone tissue implant and performing finite element analysis on the parametric model to obtain analysis results;
[0072] The optimization module is used to optimize the parameterized model according to the preset optimization model and the analysis results to obtain the optimized parameterized model.
[0073] In one of the embodiments, the above analysis module is specifically used to assign values to the diameters of cylinders in the parameterized model; and perform finite element analysis on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
[0074] In one of the embodiments, the above-mentioned optimization module is used to perform mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant; update the assignment of the cylinder diameter to obtain a new maximum equivalent stress value corresponding to each cylinder and a new mass of the bone tissue implant; if it is determined that the parameterized model meets the preset conditions based on the mass change of the bone tissue implant before and after twice and the new maximum equivalent stress value, the parameterized model that meets the preset conditions is used as the optimized parameterized model.
[0075] In one embodiment, the above-mentioned optimization module is also used to update the assignment of the cylinder diameter if it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, and to iteratively calculate the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant.
[0076] In one embodiment, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0077] In one of the embodiments, the preset optimization model includes a preset function and preset constraints;
[0078] The preset function is used to obtain the mass of the bone tissue implant;
[0079] The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
[0080] In one of the embodiments, the above-mentioned entity model acquisition module is specifically used to acquire a bone tissue scanning image; perform three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model; and compare the bone tissue scanning model with a normal bone tissue model to obtain a entity model of the target bone tissue site.
[0081] A modeling device for a bone tissue implant, comprising:
[0082] A solid model acquisition module, used to acquire a solid model of a target bone tissue site;
[0083] A body unit division module is used to divide the entity model of the target part of the bone tissue into body units to obtain a division result; the division result includes unit information and node information corresponding to each body unit;
[0084] A wireframe model acquisition module is used to perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant;
[0085] The porous model generating module is used to generate the porous model of the bone tissue implant according to the wireframe model of the bone tissue implant.
[0086] In one embodiment, the wireframe model obtaining module includes:
[0087] A mapping processing submodule is used to perform mapping processing on each body unit according to the division result to obtain a wireframe unit corresponding to each body unit;
[0088] The merging processing submodule is used to merge multiple wireframe units to obtain a wireframe model of the bone tissue implant.
[0089] In one of the embodiments, the above-mentioned mapping processing submodule is specifically used to determine the connection relationship between key points and key points for each body unit according to the unit information and node information corresponding to the body unit; connect every two key points according to the connection relationship of the key points to obtain a key line, and form a wireframe unit corresponding to the body unit by multiple key lines.
[0090] In one embodiment, the porous model generation module is specifically used to traverse each key line in the wireframe model of the bone tissue implant, generate a cylinder with the key line as the axis and a preset length as the diameter; perform Boolean operation on the cylinder to generate a porous model of the bone tissue implant.
[0091] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0092] Obtaining a physical model of the target bone tissue site;
[0093] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0094] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0095] The wireframe model of the bone tissue implant is parameterized to obtain a parameterized model of the bone tissue implant.
[0096] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0097] Obtaining a physical model of the target bone tissue site;
[0098] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0099] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0100] The wireframe model of the bone tissue implant is parameterized to obtain a parameterized model of the bone tissue implant.
[0101] The above-mentioned bone tissue implant modeling method, device, computer equipment and storage medium obtain a solid model of the target bone tissue part; perform body unit division on the solid model of the target bone tissue part to obtain a division result; perform body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant; perform parameterization processing on the wireframe model of the bone tissue implant to obtain a parameterized model of the bone tissue implant. The porous structure of the bone tissue implant can be well matched with the target bone tissue part, and the pores on the contoured surface of the bone tissue implant are evenly distributed as the contour curvature changes, and there are no sharp corners or damage at the contact between the surface and the pores. Through the embodiments of the present disclosure, the acquisition process of the porous structure of the bone tissue implant is simplified, and since no surface calculation is involved, a large amount of computing resources can be saved. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] Figure 1 A schematic diagram of a process for modeling a bone tissue implant in one embodiment;
[0103] Figure 2 A schematic diagram of body unit division of a bone tissue implant in one embodiment;
[0104] Figure 3 is a schematic diagram of mapping a bone tissue implant in one embodiment;
[0105] Figure 4 A schematic diagram of parameterized modeling of a mandibular defect in one embodiment;
[0106] Figure 5 A schematic diagram of parameterized modeling of a mandibular defect in one embodiment;
[0107] Figure 6 It is a flowchart of a process of performing volume unit mapping processing according to the segmentation result in one embodiment;
[0108] Figure 7 A schematic diagram of a process of parameterizing a wireframe model of a bone tissue implant in one embodiment;
[0109] Figure 8 A schematic diagram of a process for optimizing a parameterized model of a bone tissue implant in one embodiment;
[0110] Fig. 9 A schematic diagram of a process for optimizing a parameterized model according to a preset optimization model and analysis results in one embodiment;
[0111] Fig.10 The geometric shape and stress cloud diagram of a bone tissue implant before optimization in one embodiment;
[0112] Fig.11 A stress cloud diagram of a bone tissue implant before and after optimization in one embodiment;
[0113] Fig.12 A statistical diagram of the stress distribution of a cylinder before and after optimization in one embodiment;
[0114] Fig.13 A schematic diagram of a flow chart of a method for modeling a bone tissue implant in another embodiment;
[0115] Fig.14 A schematic diagram of a flow chart of a method for modeling a bone tissue implant in another embodiment;
[0116] Fig.15 A schematic diagram of generating a porous model of a bone tissue implant in another embodiment;
[0117] Fig.16 A structural block diagram of a bone tissue implant modeling device in one embodiment;
[0118] Fig.17 A structural block diagram of a bone tissue implant modeling device in one embodiment;
[0119] Fig.18 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0120] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0121] In one embodiment, Figure 1 As shown, a bone tissue implant modeling method is provided. This embodiment uses the method applied to a server as an example for illustration. It can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the following steps can be included:
[0122] Step 101, obtaining a physical model of a target bone tissue site.
[0123] The target bone tissue site may include only the bone tissue defect site, or may include the bone tissue defect site and the normal bone tissue site.
[0124] In the process of parametric modeling of bone tissue implants, the server first obtains the bone tissue scanning image, and then performs three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model; then the bone tissue scanning model is compared with the normal bone tissue model to obtain a solid model of the target bone tissue site.
[0125] The above-mentioned bone tissue scan image can be at least one of a CT (Computed Tomography) image and an MRI (Magnetic Resonance Imaging) image. For example, the server obtains a CT image of the bone tissue, and then performs three-dimensional reconstruction based on the CT image to obtain a bone tissue scan model. Afterwards, the server compares the bone tissue scan model with a normal bone tissue model to obtain a physical model of the bone tissue defect site, or a physical model including the bone tissue defect site.
[0126] Step 102, dividing the entity model of the target bone tissue part into body units to obtain a division result.
[0127] The division result includes unit information and node information corresponding to each body unit. The unit information includes the unit identification of the body unit and the node identification of the node belonging to the body unit; the node information includes the node identification, node coordinates and node connection relationship of each node. The present disclosure embodiment does not limit the unit information and node information.
[0128] The server can divide the solid model of the target part of the bone tissue into body units according to the division method of the finite element grid, and obtain multiple body units, so as to perform finite element analysis on the parametric model of the bone tissue later. Each body unit has a corresponding unit identifier and a node identifier of a node belonging to the body unit; each node has a corresponding node identifier, node coordinates and node connection relationship.
[0129] In one embodiment, the above-mentioned volume unit division of the solid model of the target bone tissue part to obtain the division result may include: dividing the solid model of the target bone tissue part into a plurality of volume units according to a preset polyhedral division method to obtain the division result. The polyhedral division method includes at least one of a tetrahedral division method, a pentahedral division method and a hexahedral division method.
[0130] like Figure 2As shown, assuming that the geometric entity is a solid model of the target bone tissue site, the target bone tissue site can be divided into a plurality of tetrahedral body units according to a tetrahedral division method, or can be divided into a plurality of hexahedral body units according to a hexahedral division method.
[0131] Step 103: Perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant.
[0132] After obtaining the segmentation results, the server maps the volume units to obtain the wireframe units corresponding to each volume unit; then multiple wireframe units are merged and repeated lines are removed to obtain a wireframe model.
[0133] like Figure 3 As shown, the server maps the volume units divided into tetrahedrons into wireframe units, and then merges the wireframe units to obtain a wireframe model; or, maps the volume units divided into hexahedrons into wireframe units, and then merges the wireframe units to obtain a wireframe model.
[0134] Step 104 , parameterizing the wireframe model of the bone tissue implant to obtain a parameterized model of the bone tissue implant.
[0135] After the server obtains the wireframe model, it sets parameters for the wireframe model. For example, the unit type of the wireframe model is set to a spatial beam unit, and the material property of the wireframe model is set to a medical grade titanium alloy, etc. After the parameters are set, a parametric model of the bone tissue implant can be obtained.
[0136] like Figure 4 As shown in the figure, a parametric model of bone tissue implant is established by taking mandibular defect as an example. First, a three-dimensional reconstruction is performed based on CT images or MRI images, wherein a mandibular model is obtained by mirroring, resection, merging, etc., and compared with a normal mandibular model to obtain a solid model of the mandibular defect. Afterwards, the solid model of the mandibular defect is divided into body units to obtain a division result. The division result includes 1241 nodes and 4972 body units. Next, a wireframe model is obtained based on the division result, and the wireframe model is parameterized to obtain a parametric modeling of the mandibular defect. As shown in the figure Figure 5 As shown, a parametric model of bone tissue implant was established using a femoral defect.
[0137] In the above-mentioned bone tissue implant modeling method, the server obtains the entity model of the target bone tissue part; performs body unit division on the entity model of the target bone tissue part to obtain the division result; performs body unit mapping processing according to the division result to obtain the wireframe model of the bone tissue implant; performs parameterization processing on the wireframe model of the bone tissue implant to obtain the parameterized model of the bone tissue implant, and the porous structure of the bone tissue implant can be well matched with the target bone tissue part, and the pores on the contoured surface of the bone tissue implant are evenly distributed as the contour curvature changes, and there are no sharp corners and no damage at the contact between the surface and the pores. Through the disclosed embodiment, the acquisition process of the porous structure of the bone tissue implant is simplified, and since it does not involve surface calculations, a large amount of computing resources can be saved.
[0138] In one embodiment, Figure 6 As shown, the above step of performing volume unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant may include:
[0139] Step 201 , mapping processing is performed on each volume unit according to the segmentation result to obtain a wireframe unit corresponding to each volume unit.
[0140] For each body unit, the server determines the connection relationship between key points and key points according to the unit information and node information corresponding to the body unit; then, according to the connection relationship of the key points, each two key points are connected to obtain a key line, and a plurality of key lines are used to form a wireframe unit corresponding to the body unit. Optionally, the key point includes at least one of a vertex, a center point, and a center of gravity of the body unit.
[0141] Body unit 1 includes vertices a1, a2, a3, a4 and a centroid a5. Every two vertices are connected to each other, and every vertex is connected to the centroid. The server determines a1, a2, a3, a4, and a5 as key points, connects a1 and a2 to obtain key line l1, connects a1 and a3 to obtain key line l2, and so on, to obtain multiple key lines, and the wireframe unit 1 corresponding to body unit 1 is composed of multiple key lines. For other body units, the same method is used to obtain.
[0142] Step 202: merging multiple wireframe units to obtain a wireframe model of the bone tissue implant.
[0143] After mapping each body unit to obtain multiple wireframe units, the server merges the multiple wireframe units together. During the merging process, since there are repeated key lines between adjacent wireframe units, the repeated key lines can be removed to obtain a wireframe model of the bone tissue implant.
[0144] In the above-mentioned step of mapping the body units according to the division results to obtain the wireframe model of the bone tissue implant, the server maps each body unit according to the division results to obtain the wireframe unit corresponding to each body unit; multiple wireframe units are merged to obtain the wireframe model of the bone tissue implant, which can match the target part of the bone tissue well, and the pores on the contour surface of the wireframe model are evenly distributed as the contour curvature changes. Since no surface calculation is involved, a large amount of computing resources can be saved. Furthermore, since the number of body units divided from the solid model of the target part of the bone tissue is larger, the number of repeated key lines is larger, and subsequent calculations based on the key lines will consume a large amount of computer running memory, and the modeling speed of the bone tissue implant will also be very slow. Therefore, the server merges the wireframe units in advance, which can save a lot of computer running memory and speed up the modeling speed of the bone tissue implant.
[0145] In one embodiment, Figure 7 As shown, the above-mentioned step of performing parameterization processing on the wireframe model of the bone tissue implant to obtain the parameterized model of the bone tissue implant may include:
[0146] Step 301, obtaining unit type and material properties.
[0147] In practical applications, the porous models of bone tissue implants are mostly composed of cylinders connected end to end. According to this structural feature, the available unit types are spatial rod units and spatial beam units. Among them, the spatial rod unit can only withstand axial tension and pressure, while the spatial beam unit can also withstand bending moment. Therefore, considering the stress conditions of the porous model after implantation into the human body, the spatial beam unit is selected as the unit type.
[0148] The raw material commonly used to prepare porous titanium alloy entities is medical grade titanium alloy, namely Ti6Al4V-ELI (Extra Low Interstitial) / Grade 23. Among them, the density of Ti6Al4V is 4.5×103kg / m3, the elastic modulus is E=1.107×1011Pa, the Poisson's ratio is 0.3, and the yield strength is 9.69×108Pa.
[0149] Users can use APDL language to write modeling programs and set unit types and material properties in the modeling programs. When the server runs the modeling program, it can obtain the unit types and material properties set by the user.
[0150] Step 302 : Setting parameters of the wireframe model of the bone tissue implant according to the unit type and material properties to obtain a parameterized model of the bone tissue implant.
[0151] After the server obtains the unit type and material properties, it first sets the parameters according to the wireframe model of the bone tissue implant. Optionally, the coordinates of each point in the parameterized model are set according to the coordinates of each key point in the wireframe model; the lines in the parameterized model are set according to the key points connected by each key line in the wireframe model. Each line in the parameterized model can be set to a cylinder with a diameter of D, and then the material properties of each cylinder in the parameterized model are set according to the obtained material properties. After the parameters are set, the parameterized model of the bone tissue implant can be obtained.
[0152] The above-mentioned steps of parameterizing the wireframe model of the bone tissue implant to obtain the parameterized model of the bone tissue implant; the server obtains the unit type and material properties; the wireframe model of the bone tissue implant is parameterized according to the unit type and material properties to obtain the parameterized model of the bone tissue implant. Since in the process of obtaining the wireframe model of the bone tissue implant, the body unit is divided according to the finite element grid division method, after obtaining the wireframe model, the wireframe model is parameterized to obtain the parameterized model of the bone tissue implant, and subsequently the finite element simulation can be used to simulate the actual stress condition of the bone tissue implant after being implanted into the human body, thereby realizing biomechanical analysis.
[0153] In one embodiment, Figure 8 As shown, after obtaining the parameterized model of the bone tissue implant, the parameterized model of the bone tissue implant can also be optimized, including:
[0154] Step 401 , performing finite element meshing on the parameterized model of the bone tissue implant, and performing finite element analysis on the parameterized model to obtain analysis results.
[0155] Before conducting finite element analysis, the parametric model of the bone tissue implant is meshed by finite element division; then, the diameter of the cylinder in the parametric model is initially assigned to simulate the actual stress condition of the bone tissue implant after being implanted into the human body, and the maximum equivalent stress value corresponding to each cylinder is obtained.
[0156] Step 402, optimizing the parameterized model according to the preset optimization model and the analysis result to obtain an optimized parameterized model.
[0157] Among them, the preset optimization model includes a preset function and preset constraints; the preset function is used to obtain the mass of the bone tissue implant; the preset constraints are used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the equivalent stress value of each cylinder is less than the preset yield strength.
[0158] After obtaining the maximum equivalent stress value corresponding to each cylinder, the parameterized model is optimized according to the preset function, the preset constraint conditions and the maximum equivalent stress value calculated according to the initial value assigned to the cylinder diameter to obtain the optimized parameterized model.
[0159] like Fig. 9 As shown, the process of optimizing the parameterized model according to the preset optimization model and the analysis results may include the following steps:
[0160] Step 4021, performing mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant.
[0161] The server calculates the mass of the bone tissue implant based on the initial assignment of the cylinder diameter in the parameterized model, the preset function and the preset constraints.
[0162] Step 4022, updating the value assigned to the cylinder diameter, and obtaining a new maximum equivalent stress value corresponding to each cylinder and a new mass of the bone tissue implant.
[0163] The value of the cylinder diameter is updated according to the preset diameter range. The preset diameter range is discretized into N equal parts to obtain a plurality of discrete values, and the value of the cylinder diameter is updated according to the discrete values. A relationship between the cylinder diameter and the maximum equivalent stress value is preset, and a new maximum equivalent stress value is calculated according to the relationship and the updated value of the cylinder diameter. The new mass of the bone tissue implant is calculated according to the preset function and the updated value of the cylinder diameter.
[0164] Step 4023: If it is determined that the parameterized model meets the preset conditions according to the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the parameterized model meeting the preset conditions is used as the optimized parameterized model.
[0165] Among them, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0166] The mass difference of the bone tissue implant before and after is calculated. If the mass difference is less than the preset difference and the new maximum equivalent stress value is less than the preset yield strength, it is determined that the parameterized model meets the preset conditions and the parameterized model at this time is used as the optimized parameter model.
[0167] Step 4024, if it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the assignment of the cylinder diameter is updated to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant through iterative calculation.
[0168] If the mass difference between the bone tissue implant before and after is greater than or equal to the preset difference, it is determined that the parameterized model does not meet the preset conditions; if the new maximum equivalent stress value is greater than or equal to the preset yield strength, it is determined that the parameterized model does not meet the preset conditions; if the mass difference between the bone tissue implant before and after is greater than or equal to the preset difference, and the new maximum equivalent stress value is greater than or equal to the preset yield strength, it is determined that the parameterized model does not meet the preset conditions. At this time, step 4022 is repeatedly executed until the parameterized model meets the preset conditions and then the iterative calculation ends.
[0169] In one embodiment, finite element analysis software such as ANSYS is used to perform finite element analysis on the parameterized model. In practical applications, MATLAB and ANSYS can be used to work together, ANSYS is used to model and solve the maximum equivalent stress value and the mass of the bone tissue implant, and MATLAB is used to make a judgment based on the calculated maximum equivalent stress value and the mass of the bone tissue implant, and to update the value of the cylinder diameter. Since ANSYS cannot directly read data in MATLAB, and MATLAB cannot recognize the analysis results of ANSYS, a TXT file can be selected as a medium for data transmission between MATLAB and ANSYS.
[0170] In one embodiment, selecting a TXT file for data transmission may include: step 1), writing the initial value of the cylinder diameter generated by MATLAB into the data file DATA.TXT; step 2), writing a program in APDL language to read the data in DATA.TXT, and performing parametric modeling and finite element analysis; step 3), writing the analysis results of the finite element analysis into the data file RES.TXT through APDL language; step 4), reading the RES.TXT file in MATLAB, and judging whether the parameterized model meets the preset conditions based on the analysis results. If the parameterized model meets the preset conditions, the optimization results of the parameterized model are output; if the parameterized model does not meet the preset conditions, the value of the cylinder diameter is updated in MATLAB, the updated value is written into the data file DATA.TXT and overwrites the original value, and returns to step 2).
[0171] In one embodiment, Fig.10 The geometric shape and stress cloud diagram of the bone tissue implant before optimization are shown. The specific information of the bone tissue implant is shown in Table 1:
[0172] Table 1
[0173] Number of cylinders <![CDATA[Volume / mm 3 > Porosity Maximum equivalent stress / MPa Initial implant 9253 1158.82 74.10% 68.91
[0174] The structure of the bone tissue implant was optimized based on the biomechanical properties of the intact mandible. The number of cylinders with different diameters before and after optimization is shown in Table 2 below:
[0175] Table 2
[0176] Cylinder diameter (mm) 0.2 0.25 0.3 0.35 0.4 Initial quantity 0 0 9253 0 0 Optimized quantity 8546 215 157 88 247
[0177] After optimization, the diameters of most of the cylinders constituting the porous implant were reduced, so that the overall volume of the bone tissue implant was reduced by 49.81% relative to the initial volume, and the porosity of the bone tissue implant was increased from 74.10% to 86.99%.
[0178] Fig.11 The stress cloud diagram of the bone tissue implant before and after optimization is shown. The equivalent stress value of each cylinder before and after optimization is extracted, and the stress value is statistically analyzed according to seven segments. The stress distribution statistics of the cylinder before and after optimization are obtained as follows: Fig.12 After optimization, the maximum equivalent stress of the bone tissue implant was reduced by 17.44% compared with the initial implant, and by comparing the stress distribution of the cylinders of the bone tissue implants before and after optimization, it can be seen that the number of cylinders with smaller and larger equivalent stresses is reduced.
[0179] In the above step of optimizing the parametric model of the bone tissue implant, the server performs finite element meshing on the parametric model of the bone tissue implant, and performs finite element analysis on the parametric model to obtain analysis results; the parametric model is optimized according to the preset optimization model and the analysis results to obtain an optimized parametric model. Through the embodiment of the present disclosure, the parametric model of the bone tissue implant is optimized to obtain a better stress distribution and the diameter of each cylinder when the mass is lighter, thereby providing a simulation basis for obtaining a bone tissue implant with a porous structure.
[0180] In one embodiment, Fig.13 As shown, a bone tissue implant modeling method is provided. This embodiment uses the method applied to a server as an example, and may include the following steps:
[0181] Step 501, obtaining a physical model of a target bone tissue site.
[0182] The server obtains a bone tissue scan image; performs three-dimensional reconstruction based on the bone tissue scan image to obtain a bone tissue scan model; and compares the bone tissue scan model with a normal bone tissue model to obtain a solid model of the target bone tissue site.
[0183] Step 502, dividing the entity model of the target bone tissue part into body units to obtain a division result.
[0184] The division result includes unit information and node information corresponding to each body unit.
[0185] In one of the embodiments, dividing the solid model of the target bone tissue part into body units to obtain the division result may include: dividing the solid model of the target bone tissue part into multiple body units according to a pre-set polyhedron division method to obtain the division result; wherein the polyhedron division method includes at least one of a tetrahedron division method, a pentahedron division method and a hexahedron division method.
[0186] Step 503: Perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant.
[0187] For each body unit, the connection relationship between key points and key points is determined according to the node information corresponding to the body unit; according to the connection relationship of the key points, each two key points are connected to obtain a key line, and a plurality of key lines form a wireframe unit corresponding to the body unit. Afterwards, the server merges the plurality of wireframe units to obtain a wireframe model of the bone tissue implant. Optionally, the key point includes at least one of a vertex, a center point, and a center of gravity of the body unit.
[0188] Step 504: Generate a porous model of the bone tissue implant based on the wireframe model of the bone tissue implant.
[0189] After obtaining the wireframe model of the bone tissue implant, the wireframe model of the bone tissue implant is parameterized to obtain the parameterized model of the bone tissue implant; then, the parameterized model of the bone tissue implant is subjected to finite element analysis, that is, the actual stress condition of the bone tissue implant after being implanted into the human body is simulated to obtain the optimal stress distribution and the diameter of each cylinder when the mass is light; then, the porous model of the bone tissue implant is generated according to the diameter of the cylinder. Finally, the porous structure of the bone tissue implant can be obtained by 3D printing according to the porous model of the bone tissue implant.
[0190] In the above-mentioned bone tissue implant modeling method, the server obtains the entity model of the target bone tissue part; performs body unit division on the entity model of the target bone tissue part to obtain the division result; performs body unit mapping processing according to the division result to obtain the wireframe model of the bone tissue implant; generates a porous model of the bone tissue implant according to the wireframe model of the bone tissue implant, and the bone tissue implant with the porous structure can be well matched with the target bone tissue part, and the pores on the contoured surface of the bone tissue implant are evenly distributed as the contour curvature changes, and there are no sharp corners and no damage at the contact between the surface and the pores. Through the disclosed embodiment, the acquisition process of the bone tissue implant with a porous structure is simplified, and since no surface calculation is involved, a large amount of computing resources can be saved.
[0191] In one embodiment, Fig.14 As shown, the step of generating a porous model of a bone tissue implant based on the wireframe model of the bone tissue implant may include:
[0192] Step 601, traverse each key line in the wireframe model of the bone tissue implant, and generate a cylinder with the key line as the axis and a preset length as the diameter.
[0193] After optimizing the parametric model of the bone tissue implant, the server obtains the optimal stress distribution and the diameter of each cylinder when the mass is light, that is, the preset length. When generating the porous model of the bone tissue implant, such as Fig.15 As shown, the server traverses each key line in the wireframe model of the bone tissue implant, and generates a cylinder with the key line as the axis and the preset length obtained above as the diameter.
[0194] Step 602, performing Boolean operation on the cylinder to generate a porous model of the bone tissue implant.
[0195] Boolean operation is a digital symbolized logic deduction method, including union, intersection and subtraction. After generating a cylinder with the key line as the axis, Boolean operation is performed on the cylinder to generate a porous model of bone tissue implant.
[0196] In the step of generating a porous model of a bone tissue implant based on the wireframe model of the bone tissue implant, the server traverses each key line in the wireframe model of the bone tissue implant, generates a cylinder with the key line as the axis and a preset length as the diameter, and performs Boolean operations on the cylinder to generate a porous model of the bone tissue implant. Through the embodiment of the present disclosure, a porous bone tissue implant with a lighter weight and a better structure can be obtained.
[0197] It should be understood that although Figure 1-Figure 15 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-Figure 15 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0198] In one embodiment, Fig.16 As shown, a bone tissue implant modeling device is provided, comprising:
[0199] A physical model acquisition module 701 is used to acquire a physical model of a target bone tissue site;
[0200] The body unit division module 702 is used to perform body unit division on the solid model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each body unit;
[0201] A wireframe model acquisition module 703 is used to perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant;
[0202] The parameterized model obtaining module 704 is used to perform parameterized processing on the wireframe model of the bone tissue implant to obtain a parameterized model of the bone tissue implant.
[0203] In one embodiment, the wireframe model obtaining module 703 includes:
[0204] A mapping processing submodule is used to perform mapping processing on each body unit according to the division result to obtain a wireframe unit corresponding to each body unit;
[0205] The merging processing submodule is used to merge multiple wireframe units to obtain a wireframe model of the bone tissue implant.
[0206] In one of the embodiments, the above-mentioned mapping processing submodule is specifically used to determine the connection relationship between key points and key points for each body unit according to the unit information and node information corresponding to the body unit; connect every two key points according to the connection relationship of the key points to obtain a key line, and form a wireframe unit corresponding to the body unit by multiple key lines.
[0207] In one embodiment, the key point includes at least one of a vertex, a center point and a center of gravity point of a body unit.
[0208] In one embodiment, the above-mentioned volume unit division module 702 is specifically used to divide the solid model of the target part of the bone tissue into multiple volume units according to a preset polyhedron division method to obtain a division result;
[0209] The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
[0210] In one embodiment, the parameterized model acquisition module 704 is specifically used to obtain unit types and material properties; and to set parameters of the wireframe model of the bone tissue implant according to the unit types and material properties to obtain the parameterized model of the bone tissue implant.
[0211] In one embodiment, the device further comprises:
[0212] An analysis module, used for performing finite element meshing on a parametric model of a bone tissue implant and performing finite element analysis on the parametric model to obtain analysis results;
[0213] The optimization module is used to optimize the parameterized model according to the preset optimization model and the analysis results to obtain the optimized parameterized model.
[0214] In one of the embodiments, the above analysis module is specifically used to assign values to the diameters of cylinders in the parameterized model; and perform finite element analysis on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
[0215] In one of the embodiments, the above-mentioned optimization module is used to perform mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant; update the assignment of the cylinder diameter to obtain a new maximum equivalent stress value corresponding to each cylinder and a new mass of the bone tissue implant; if it is determined that the parameterized model meets the preset conditions based on the mass change of the bone tissue implant before and after twice and the new maximum equivalent stress value, the parameterized model that meets the preset conditions is used as the optimized parameterized model.
[0216] In one embodiment, the above-mentioned optimization module is also used to update the assignment of the cylinder diameter if it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, and to iteratively calculate the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant.
[0217] In one embodiment, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0218] In one of the embodiments, the preset optimization model includes a preset function and preset constraints;
[0219] The preset function is used to obtain the mass of the bone tissue implant;
[0220] The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
[0221] In one embodiment, the above-mentioned entity model acquisition module 701 is specifically used to acquire a bone tissue scanning image; perform three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model; and compare the bone tissue scanning model with a normal bone tissue model to obtain a entity model of the target bone tissue site.
[0222] In one embodiment, Fig.17 As shown, a bone tissue implant modeling device is provided, comprising:
[0223] A physical model acquisition module 801 is used to acquire a physical model of a target bone tissue site;
[0224] The body unit division module 802 is used to divide the entity model of the target part of the bone tissue into body units to obtain a division result; the division result includes unit information and node information corresponding to each body unit;
[0225] The wireframe model acquisition module 803 is used to perform body unit mapping processing according to the segmentation result to obtain a wireframe model of the bone tissue implant;
[0226] The porous model generating module 804 is used to generate a porous model of the bone tissue implant according to the wireframe model of the bone tissue implant.
[0227] In one embodiment, the wireframe model obtaining module 803 includes:
[0228] A mapping processing submodule is used to perform mapping processing on each body unit according to the division result to obtain a wireframe unit corresponding to each body unit;
[0229] The merging processing submodule is used to merge multiple wireframe units to obtain a wireframe model of the bone tissue implant.
[0230] In one of the embodiments, the above-mentioned mapping processing submodule is specifically used to determine the connection relationship between key points and key points for each body unit according to the unit information and node information corresponding to the body unit; connect every two key points according to the connection relationship of the key points to obtain a key line, and form a wireframe unit corresponding to the body unit by multiple key lines.
[0231] In one embodiment, the porous model generation module 804 is specifically used to traverse each key line in the wireframe model of the bone tissue implant, generate a cylinder with the key line as the axis and a preset length as the diameter; perform Boolean operations on the cylinder to generate a porous model of the bone tissue implant.
[0232] The specific definition of the bone tissue implant modeling device can be found in the above definition of the bone tissue implant modeling method, which will not be repeated here. Each module in the above-mentioned bone tissue implant modeling device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0233] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.18As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store bone tissue implant modeling data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a bone tissue implant modeling method is implemented.
[0234] Those skilled in the art will understand that Fig.18 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0235] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0236] Obtaining a physical model of the target bone tissue site;
[0237] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0238] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0239] The wireframe model of the bone tissue implant is parameterized to obtain a parameterized model of the bone tissue implant.
[0240] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0241] Mapping is performed on each body unit according to the division result to obtain the wireframe unit corresponding to each body unit;
[0242] Multiple wireframe units are merged to obtain a wireframe model of the bone tissue implant.
[0243] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0244] For each body unit, determine the connection relationship between key points and key points according to the unit information and node information corresponding to the body unit;
[0245] According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of key lines form a wireframe unit corresponding to the body unit.
[0246] In one embodiment, the key point includes at least one of a vertex, a center point, and a center of gravity point of a body unit.
[0247] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0248] According to a pre-set polyhedron division method, the solid model of the target part of the bone tissue is divided into a plurality of body units to obtain a division result;
[0249] The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
[0250] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0251] Get element type and material properties;
[0252] The parameters of the wireframe model of the bone tissue implant are set according to the unit type and material properties to obtain a parameterized model of the bone tissue implant.
[0253] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0254] Performing finite element meshing on the parametric model of the bone tissue implant, and performing finite element analysis on the parametric model to obtain analysis results;
[0255] The parameterized model is optimized according to the preset optimization model and the analysis results to obtain an optimized parameterized model.
[0256] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0257] Assign values to the cylinder diameter in the parametric model;
[0258] Finite element analysis is performed on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
[0259] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0260] Perform mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant;
[0261] Update the value of the cylinder diameter to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant;
[0262] If it is determined that the parameterized model meets the preset conditions according to the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the parameterized model meeting the preset conditions is used as the optimized parameterized model.
[0263] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0264] If it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the assignment of the cylinder diameter is updated to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant by iterative calculation.
[0265] In one embodiment, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0266] In one embodiment, the preset optimization model includes a preset function and preset constraints;
[0267] The preset function is used to obtain the mass of the bone tissue implant;
[0268] The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
[0269] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0270] Obtain bone tissue scan images;
[0271] Perform three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model;
[0272] The bone tissue scan model is compared with the normal bone tissue model to obtain a solid model of the target bone tissue site.
[0273] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0274] Obtaining a physical model of the target bone tissue site;
[0275] Performing volume unit division on the entity model of the target part of the bone tissue to obtain a division result; the division result includes unit information and node information corresponding to each volume unit;
[0276] Performing body unit mapping processing according to the division results to obtain a wireframe model of the bone tissue implant;
[0277] The wireframe model of the bone tissue implant is parameterized to obtain a parameterized model of the bone tissue implant.
[0278] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0279] Mapping is performed on each body unit according to the division result to obtain the wireframe unit corresponding to each body unit;
[0280] Multiple wireframe units are merged to obtain a wireframe model of the bone tissue implant.
[0281] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0282] For each body unit, determine the connection relationship between key points and key points according to the unit information and node information corresponding to the body unit;
[0283] According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of key lines form a wireframe unit corresponding to the body unit.
[0284] In one embodiment, the key point includes at least one of a vertex, a center point, and a center of gravity point of a body unit.
[0285] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0286] According to a pre-set polyhedron division method, the solid model of the target part of the bone tissue is divided into a plurality of body units to obtain a division result;
[0287] The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
[0288] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0289] Get element type and material properties;
[0290] The parameters of the wireframe model of the bone tissue implant are set according to the unit type and material properties to obtain a parameterized model of the bone tissue implant.
[0291] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0292] Performing finite element meshing on the parametric model of the bone tissue implant, and performing finite element analysis on the parametric model to obtain analysis results;
[0293] The parameterized model is optimized according to the preset optimization model and the analysis results to obtain an optimized parameterized model.
[0294] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0295] Assign values to the cylinder diameter in the parametric model;
[0296] Finite element analysis is performed on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
[0297] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0298] Perform mass calculation according to a preset optimization model to obtain the mass of the bone tissue implant;
[0299] Update the value of the cylinder diameter to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant;
[0300] If it is determined that the parameterized model meets the preset conditions according to the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the parameterized model meeting the preset conditions is used as the optimized parameterized model.
[0301] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0302] If it is determined that the parameterized model does not meet the preset conditions based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the assignment of the cylinder diameter is updated to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant by iterative calculation.
[0303] In one embodiment, the preset conditions include: the mass difference of the bone tissue implant before and after is less than the preset difference, and the new maximum equivalent stress value is less than the preset yield strength.
[0304] In one embodiment, the preset optimization model includes a preset function and preset constraints;
[0305] The preset function is used to obtain the mass of the bone tissue implant;
[0306] The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
[0307] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0308] Obtain bone tissue scan images;
[0309] Perform three-dimensional reconstruction based on the bone tissue scanning image to obtain a bone tissue scanning model;
[0310] The bone tissue scan model is compared with the normal bone tissue model to obtain a solid model of the target bone tissue site.
[0311] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0312] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.
[0313] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A bone tissue implant modeling method, It is characterized in that The method comprises: Obtaining a physical model of the target bone tissue site; Performing body unit division on the entity model of the target bone tissue part to obtain a division result; the division result includes unit information and node information corresponding to each body unit; Performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant; Performing parameterization processing on the wireframe model of the bone tissue implant to obtain a parameterized model of the bone tissue implant; The step of performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant comprises: Perform mapping processing on each of the body units according to the division results to obtain a wireframe unit corresponding to each of the body units; Merging a plurality of the wireframe units to obtain a wireframe model of the bone tissue implant; The parameterizing of the wireframe model of the bone tissue implant to obtain the parameterized model of the bone tissue implant comprises: Get element type and material properties; The wireframe model of the bone tissue implant is parameterized according to the unit type and material properties to obtain a parameterized model of the bone tissue implant.
2. The method according to claim 1, It is characterized in that The mapping process is performed on each of the body units according to the division result to obtain a wireframe unit corresponding to each of the body units, including: For each body unit, determining a key point and a connection relationship between the key points according to unit information and node information corresponding to the body unit; According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of the key lines form a wireframe unit corresponding to the body unit.
3. The method according to claim 2, It is characterized in that The key point includes at least one of a vertex, a center point, and a center of gravity point of the body unit.
4. The method according to claim 1, It is characterized in that The step of dividing the entity model of the target bone tissue part into body units to obtain a division result includes: Dividing the solid model of the target bone tissue part into a plurality of body units according to a pre-set polyhedron division method to obtain the division result; The polyhedron partitioning method includes at least one of a tetrahedron partitioning method, a pentahedron partitioning method and a hexahedron partitioning method.
5. The method according to claim 1, It is characterized in that After obtaining the parameterized model of the bone tissue implant, the method further comprises: Performing finite element meshing on the parameterized model of the bone tissue implant, and performing finite element analysis on the parameterized model to obtain analysis results; The parameterized model is optimized according to the preset optimization model and the analysis result to obtain an optimized parameterized model.
6. The method according to claim 5, It is characterized in that The performing of finite element analysis on the parameterized model to obtain analysis results includes: Assigning a value to the diameter of the cylinder in the parameterized model; Finite element analysis is performed on the parameterized model to obtain the maximum equivalent stress value corresponding to each cylinder.
7. The method according to claim 6, It is characterized in that The step of optimizing the parameterized model according to the preset optimization model and the analysis result to obtain the optimized parameterized model includes: Performing mass calculation according to the preset optimization model to obtain the mass of the bone tissue implant; Updating the value assigned to the cylinder diameter to obtain a new maximum equivalent stress value corresponding to each cylinder and a new mass of the bone tissue implant; If it is determined that the parameterized model meets the preset conditions according to the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the parameterized model that meets the preset conditions is used as the optimized parameterized model.
8. The method according to claim 7, It is characterized in that The method further comprises: If it is determined that the parameterized model does not meet the preset condition based on at least one of the mass changes of the bone tissue implant before and after and the new maximum equivalent stress value, the assignment of the updated cylinder diameter is performed to obtain the new maximum equivalent stress value corresponding to each cylinder and the new mass of the bone tissue implant by iterative calculation.
9. The method according to claim 7 or 8, It is characterized in that The preset conditions include: the difference in mass of the bone tissue implant before and after is less than a preset difference, and the new maximum equivalent stress value is less than a preset yield strength.
10. The method according to claim 9, It is characterized in that The preset optimization model includes preset functions and preset constraints; The preset function is used to obtain the mass of the bone tissue implant; The preset constraint condition is used to constrain the preset function so that the preset function outputs the mass of the bone tissue implant when the assigned value of the diameter of each cylinder is within the preset diameter range and the maximum equivalent stress value of each cylinder is less than the preset yield strength.
11. The method according to claim 1, It is characterized in that The method of obtaining a physical model of a target bone tissue site includes: Obtain bone tissue scan images; Perform three-dimensional reconstruction according to the bone tissue scanning image to obtain a bone tissue scanning model; The bone tissue scan model is compared with a normal bone tissue model to obtain a solid model of the target bone tissue site.
12. A method for modeling a bone tissue implant, It is characterized in that The method comprises: Obtaining a physical model of the target bone tissue site; Performing body unit division on the entity model of the target bone tissue part to obtain a division result; the division result includes unit information and node information corresponding to each body unit; Performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant; generating a porous model of the bone tissue implant according to the wireframe model of the bone tissue implant; The step of performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant comprises: Perform mapping processing on each of the body units according to the division results to obtain a wireframe unit corresponding to each of the body units; Merging a plurality of the wireframe units to obtain a wireframe model of the bone tissue implant; Generating the porous model of the bone tissue implant according to the wireframe model of the bone tissue implant comprises: Traversing each key line in the wireframe model of the bone tissue implant, generating a cylinder with the key line as an axis and a preset length as a diameter; A Boolean operation is performed on the cylinder to generate a porous model of the bone tissue implant.
13. The method according to claim 12, It is characterized in that The mapping process is performed on each of the body units according to the division result to obtain a wireframe unit corresponding to each of the body units, including: For each body unit, determining a key point and a connection relationship between the key points according to unit information and node information corresponding to the body unit; According to the connection relationship of the key points, every two key points are connected to obtain a key line, and a plurality of the key lines form a wireframe unit corresponding to the body unit.
14. A bone tissue implant modeling device, It is characterized in that The device comprises: A solid model acquisition module, used to acquire a solid model of a target bone tissue site; A body unit division module is used to perform body unit division on the solid model of the target bone tissue part to obtain a division result; the division result includes unit information and node information corresponding to each body unit; A wireframe model acquisition module, used for performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant; A parameterized model acquisition module, used for performing parameterized processing on the wireframe model of the bone tissue implant to obtain a parameterized model of the bone tissue implant; The wireframe model acquisition module includes: A mapping processing submodule, used for performing mapping processing on each of the body units according to the division result to obtain a wireframe unit corresponding to each of the body units; A merging processing submodule, used for merging a plurality of the wireframe units to obtain a wireframe model of the bone tissue implant; The parameterized model acquisition module is specifically used to: obtain unit types and material properties; and set parameters of the wireframe model of the bone tissue implant according to the unit types and material properties to obtain the parameterized model of the bone tissue implant.
15. A bone tissue implant modeling device, It is characterized in that The device comprises: A solid model acquisition module, used to acquire a solid model of a target bone tissue site; A body unit division module is used to perform body unit division on the solid model of the target bone tissue part to obtain a division result; the division result includes unit information and node information corresponding to each body unit; A wireframe model acquisition module, used for performing body unit mapping processing according to the division result to obtain a wireframe model of the bone tissue implant; A porous model generating module, used for generating a porous model of the bone tissue implant according to the wireframe model of the bone tissue implant; The wireframe model acquisition module includes: A mapping processing submodule, used for performing mapping processing on each of the body units according to the division result to obtain a wireframe unit corresponding to each of the body units; A merging processing submodule, used for merging a plurality of the wireframe units to obtain a wireframe model of the bone tissue implant; The porous model generation module is specifically used to: traverse each key line in the wireframe model of the bone tissue implant, generate a cylinder with the key line as the axis and a preset length as the diameter; perform Boolean operation on the cylinder to generate the porous model of the bone tissue implant.
16. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.
17. A computer-readable storage medium having a computer program stored thereon, It is 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 13 are implemented.
