Bone scaffold modeling method and system and computer
By segmenting and processing patient bone images, a personalized bone stent model was constructed, which solved the problem that the existing bone stent could not be adapted to the bone missing parts of different patients, and improved the applicability and structural rationality of the bone stent.
Patent Information
- Application Number
- CN202410979582.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-29
AI Technical Summary
The existing bone stent considers the rationality of the pore structure at the microscopic level, but cannot adapt to the solid appearance of the bone missing parts of different patients, reducing the applicability of the bone stent.
By obtaining the initial image of the patient for segmentation processing, a three-dimensional bone model is constructed, the defect model is extracted, the grid division and simplified processing is performed, the structural wireframe model is formed, and based on this, the process is constructed and encrypted to generate a personalized bone scaffold model, ensuring that Macro and micro adaptation of bone stents to bones.
It improves the accuracy and intrinsic fitness of the external structure of the bone stent, enhances the applicability and structural rationality of the bone stent, and adapts to the bone characteristics of different patients.
Smart Images

Figure CN119048709A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical technology, and in particular to a bone scaffold modeling method, system and computer. Background Art
[0002] Bones are an integral part of the human body. They not only support the entire weight of the body, but also affect the daily life and movement of the human body. When a bone is slightly fractured or broken, it can often be self-repaired through the self-repair ability of its own bone tissue. However, if a large area of bone defect occurs, such as a comminuted fracture, it will be far beyond the range of the bone tissue's ability to self-repair, causing a serious impact on daily life.
[0003] The emergence of bioengineering has brought corresponding solutions to large-area bone defects. By preparing artificial biomaterials into bone scaffolds, the missing bones can be replaced. It can effectively avoid pathogen infection during the replacement of allogeneic bone tissue and rejection reactions after surgery. Therefore, artificial bone scaffold technology has gradually become the mainstream treatment method for bone defects.
[0004] The bone scaffold is a porous structure at the microscopic level, which has a certain porosity to promote the biocompatibility of artificial bones in vivo and ensure the transmission of bone cells and nutrients in the bone scaffold. However, if the rationality of the pore structure is only considered at the microscopic level, it cannot adapt to the physical shape of the bone loss site of different patients, which reduces the applicability of the bone scaffold. Summary of the invention
[0005] The embodiments of the present application provide a bone scaffold modeling method, system and computer to solve the technical problem that the prior art only considers the rationality of the pore structure of the bone scaffold at the microscopic level, which cannot adapt to the physical shape of the bone loss parts of different patients, thereby reducing the applicability of the bone scaffold.
[0006] In a first aspect, an embodiment of the present application provides a bone scaffold modeling method, comprising the following steps:
[0007] Acquire an initial image corresponding to the affected part, and segment the initial image to acquire a bone image corresponding to the bone;
[0008] Constructing an initial triangular mesh bone model based on the bone image, performing filling and denoising processing on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and constructing a three-dimensional bone model based on the final triangular mesh bone model;
[0009] Extracting a defective three-dimensional model from the three-dimensional bone model, meshing the defective three-dimensional model to obtain a plurality of structural units, and simplifying the structural units to form a structural wireframe model;
[0010] An initial scaffold model is constructed based on the structural wireframe model, the initial scaffold model is encrypted to obtain a bone scaffold model, and a bone scaffold is printed based on the bone scaffold model.
[0011] Furthermore, the step of segmenting the initial image to obtain a bone image corresponding to the bone includes:
[0012] Setting a retention value, and performing image filtering on the initial image based on the retention value to obtain an image to be processed;
[0013] Threshold segmentation and edge detection are performed on the image to be processed to obtain a bone image corresponding to the bone.
[0014] Furthermore, the step of performing filling and denoising processing on the initial triangular mesh bone model to obtain a final triangular mesh bone model includes:
[0015] Acquire a cross-sectional view of the initial triangular mesh bone model, and detect whether there is a missing area within the bone contour line in the cross-sectional view;
[0016] If there is a missing area, fill the missing area with pixels to form an adjustment map, and combine several adjustment maps into a staged triangular mesh bone model;
[0017] Detecting whether there are discrete points in the triangular mesh bone model at the stage;
[0018] If there are discrete points, they are removed to form the final triangular mesh bone model.
[0019] Furthermore, the step of constructing a three-dimensional skeleton model based on the final triangular mesh skeleton model includes:
[0020] Performing bone curvature analysis on the final triangular mesh bone model to divide the final triangular mesh bone model into a plurality of data blocks;
[0021] Constructing a plurality of cross sections along an axis direction perpendicular to the data block, and obtaining cross section lines based on intersections between the cross sections and the data block;
[0022] Performing curve reconstruction on the cross-section line to obtain a plurality of curves corresponding to the cross-section line;
[0023] Along the axis direction of the data block, a first curved surface is constructed based on curves with consistent concavity and convexity on different section lines, an extended surface between adjacent first curved surfaces is constructed based on the section lines, and a three-dimensional bone model is constructed through the first curved surface and the extended surface.
[0024] Furthermore, the step of simplifying the structural unit to form a structural wireframe model includes:
[0025] Extracting nodes of the structural unit and boundaries corresponding to the nodes to form an initial sub-wireframe model;
[0026] Acquire the midpoint coordinates of the boundary based on the coordinate values of the nodes, and perform boundary pruning on different initial sub-wireframe models by using the midpoint coordinates to acquire a final sub-wireframe model;
[0027] A structural wireframe model is constructed through the final sub-wireframe model.
[0028] Furthermore, the step of constructing an initial stent model based on the structural wireframe model is specifically as follows:
[0029] The component edges of the structural wireframe model are extracted, component cylinders are constructed with the component edges as axes, and different component cylinders are combined into an initial bracket model.
[0030] Furthermore, the diameter of the constituent cylinder is 0.15 mm to 0.35 mm.
[0031] Furthermore, the step of encrypting the initial scaffold model to obtain a bone scaffold model includes:
[0032] Assigning material properties to the initial support model to obtain a solid support model, wherein the solid support model includes a plurality of main space beams;
[0033] Applying boundary conditions to the solid support model to obtain mechanical parameters of the solid support model;
[0034] Based on the mechanical parameters, additional spatial beams are added into the solid support model to form a bone support model.
[0035] In a second aspect, an embodiment of the present application provides a bone scaffold modeling system, which is applied to the bone scaffold modeling method in the above technical solution, and the system includes:
[0036] A preprocessing module, used for acquiring an initial image corresponding to the affected part, and performing segmentation processing on the initial image to acquire a bone image corresponding to the bone;
[0037] A construction module is used to construct an initial triangular mesh bone model based on the bone image, perform filling and denoising on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and construct a three-dimensional bone model based on the final triangular mesh bone model;
[0038] An extraction module is used to extract a defective three-dimensional model from the three-dimensional bone model, mesh the defective three-dimensional model to obtain a plurality of structural units, and simplify the structural units to form a structural wireframe model;
[0039] The execution module is used to construct an initial bracket model based on the structural wireframe model, encrypt the initial bracket model to obtain a bone bracket model, and print the bone bracket based on the bone bracket model.
[0040] In a third aspect, an embodiment of the present application provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the bone scaffold modeling method as described in the first aspect above is implemented.
[0041] Compared with the prior art, the beneficial effects of the present invention are as follows: by acquiring the initial image and performing the segmentation processing thereon, other tissue information in the initial image can be eliminated, the bone image corresponding to the bone can be retained, and the bone three-dimensional model can be acquired based on the bone image, and the defective three-dimensional model similar to the patient's bone contour can be acquired at a macroscopic level based on the actual conditions of different patients; by performing the filling processing and the denoising processing, the defect rate of the bone three-dimensional model can be reduced to a certain extent, and the external structural accuracy of the bone scaffold model can be improved; the bone scaffold model is constructed based on the defective three-dimensional model, and the macroscopic level is combined with the microscopic level, that is, while considering the external structural compatibility of the bone scaffold and the bone at the macroscopic level, a porous structure is given to the bone scaffold to ensure the intrinsic compatibility of the bone scaffold and the bone; by performing the encryption processing, the initial scaffold model is adjusted accordingly based on the actual conditions of different patients, and the structural rationality of the bone scaffold model is further improved.
[0042] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A flowchart of a bone scaffold modeling method according to a first embodiment of the present invention;
[0044] Figure 2 It is a structural block diagram of a bone scaffold modeling system in a second embodiment of the present invention;
[0045] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated 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 intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0047] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0048] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0049] See also Figure 1 The bone scaffold modeling method provided by the first embodiment of the present invention includes the following steps:
[0050] Step S10: obtaining an initial image corresponding to the affected part, and performing segmentation processing on the initial image to obtain a bone image corresponding to the bone;
[0051] In this embodiment, the initial image is a CT image, and the affected part is the bone defect of the patient. In the CT image, there are not only bones, but also soft tissues, muscle tissues, etc. Therefore, the initial image needs to be segmented to retain the image with bones. Specifically, step S10 includes:
[0052] S110: Setting a retention value, and performing image filtering on the initial image based on the retention value to obtain an image to be processed;
[0053] In a CT image, different tissues have different CT values. By setting the retention value, the initial image can be preliminarily filtered for human tissues. Preferably, the retention value is 900-1100. In this embodiment, the retention value is 1000.
[0054] S120: performing threshold segmentation and edge detection on the image to be processed to obtain a bone image corresponding to the bone;
[0055] After completing the image filtering, the image to be processed needs to be further segmented to eliminate the image quality impact caused by external interference factors during the CT shooting process. Specifically, all pixels in the image to be processed are extracted, the grayscale difference between each pixel and the adjacent pixel is calculated respectively, a processing threshold is determined based on the grayscale difference, and the image to be processed is subjected to the threshold segmentation based on the processing threshold. In this embodiment, the edge detection is performed by the Kirsh algorithm.
[0056] S20: constructing an initial triangular mesh bone model based on the bone image, performing filling and denoising processing on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and constructing a three-dimensional bone model based on the final triangular mesh bone model;
[0057] It can be understood that a number of the initial images taken at different angles can be combined into the initial triangular mesh bone model. The initial triangular mesh bone model does not have a physical entity. Therefore, the defect position cannot be directly extracted based on the initial triangular mesh bone model.
[0058] The step S20 comprises:
[0059] S210: Acquire a cross-sectional view of the initial triangular mesh bone model, and detect whether there is a missing area in the bone contour line in the cross-sectional view;
[0060] S220: If there is a missing area, fill the missing area with pixels to form an adjustment map, and combine several adjustment maps into a staged triangular mesh bone model;
[0061] That is, the initial triangular mesh bone model is sliced along the axial direction of the initial triangular mesh bone model to obtain a plurality of cross-sectional views, and the missing area is searched within the range of the outer contour line of the bone. It can be understood that due to the missing bones, when the missing areas of different cross-sectional views are pixel-filled, there are still empty cross-sections without bone contour lines. Due to the structural continuity between bones, if the bone contour line does not exist in a certain cross-sectional view, the cross-sectional view is pixel-filled based on the adjacent adjustment view.
[0062] S230: Detecting whether there are discrete points in the triangular mesh bone model of the stage;
[0063] S240: If there are discrete points, remove the discrete points to form a final triangular mesh bone model;
[0064] After completing the acquisition of the triangular mesh bone model at this stage, there are still noise points that are free from the connected pixel points. By eliminating the discrete points, the structural accuracy of the final triangular mesh bone model can be ensured.
[0065] S250: performing bone curvature analysis on the final triangular mesh bone model to divide the final triangular mesh bone model into a plurality of data blocks;
[0066] Taking the femur as an example, the curvatures of its greater trochanter, lesser trochanter, femoral head, femoral neck, femoral shaft, lateral condyle and medial condyle are all different. Therefore, by performing the bone curvature analysis on the final triangular mesh bone model, the final triangular mesh bone model can be divided into the data blocks corresponding to different bone regions, and each of the data blocks can be modeled separately.
[0067] S260: constructing a plurality of cross sections along an axis direction perpendicular to the data block, and obtaining cross section lines based on intersections between the cross sections and the data block;
[0068] After the section line is acquired, since the section line is not a line but a set of points distributed on the section of the pixel points constituting the data block, data processing cannot be performed based on the section line.
[0069] S270: reconstructing a curve on the cross-section line to obtain a plurality of curves corresponding to the cross-section line;
[0070] Based on the different points constituting the cross-sectional line, a plurality of adjacent pixel points are connected to form the curve. In the present embodiment, three adjacent pixel points are connected.
[0071] S280: constructing a first curved surface based on curves with consistent concavity and convexity on different section lines along the axis direction of the data block, constructing an extended surface between adjacent first curved surfaces based on the section lines, and constructing a three-dimensional skeleton model through the first curved surface and the extended surface;
[0072] In step S250, the data block is obtained based on the bone curvature analysis. Therefore, along the axis direction of the data block, the curves with overlapping projection positions have the characteristic of consistent concavity and convexity. By connecting the curves with consistent concavity and convexity, the first curved surface can be formed. Because the several curves on the same cross-sectional line are not connected to each other, therefore, different first curved surfaces are not directly connected, and the extension surface needs to be constructed to form the bone three-dimensional model consistent with the bone shape. It can be understood that the extension surface can be constructed based on the bone curvature analysis structure.
[0073] Step S30: extracting a defective three-dimensional model from the three-dimensional skeleton model, meshing the defective three-dimensional model to obtain a plurality of structural units, and simplifying the structural units to form a structural wireframe model;
[0074] After the skeletal three-dimensional model is obtained, a defective three-dimensional model can be extracted from the skeletal three-dimensional model according to the bone missing part of the patient. In this embodiment, the structural unit is a hexahedral unit.
[0075] The step S30 comprises:
[0076] S310: extracting nodes of the structural unit and boundaries corresponding to the nodes to form an initial sub-wireframe model;
[0077] The nodes are corner points of the structural units, and the boundaries are lines connecting adjacent nodes.
[0078] S320: acquiring the midpoint coordinates of the boundary based on the coordinate values of the nodes, and performing boundary deduplication on different initial sub-wireframe models by using the midpoint coordinates to acquire a final sub-wireframe model;
[0079] S330: constructing a structural wireframe model through the final sub-wireframe model.
[0080] After obtaining the initial sub-wireframe model, since different structural units are coplanar, different initial sub-wireframe models have more colinear situations. If the structural wireframe model is directly constructed, the amount of calculation will be greatly increased, the efficiency of model construction will be reduced, and there will be more duplicate models. The above situation can be effectively avoided by performing boundary removal.
[0081] Step S40: constructing an initial scaffold model based on the structural wireframe model, encrypting the initial scaffold model to obtain a bone scaffold model, and printing a bone scaffold based on the bone scaffold model;
[0082] The step S40 comprises:
[0083] S410: extracting component edges of the structural wireframe model, constructing component cylinders with the component edges as axes, and combining different component cylinders into an initial stent model;
[0084] It can be understood that the component edge is the boundary. Preferably, the diameter of the component cylinder is 0.15 mm to 0.35 mm. In this embodiment, the diameter of the component cylinder is 0.2 mm. By controlling the diameter of the component cylinder, not only can the subsequent printing of the bone scaffold be adapted accurately, but also the porosity of the bone scaffold generated by the subsequent printing can be controlled, that is, the porosity is preliminarily adjusted to improve the compatibility of the bone scaffold with the patient.
[0085] When the bone scaffold is placed in the human body, the scaffold will be affected by the mechanics of the human body. If the stress distribution of the bone scaffold is close to the stress distribution of the human skeleton, it will be more conducive to the growth of bone tissue around the bone scaffold, thus achieving biological fixation of the bone scaffold. In order to adjust the stress structure of the bone scaffold, the step S40 also includes:
[0086] S420: assigning material properties to the initial support model to obtain a solid support model, wherein the solid support model includes a plurality of main space beams;
[0087] It can be understood that the main space beam is the component cylinder, only the material properties are different.
[0088] S430: applying boundary conditions to the solid support model to obtain mechanical parameters of the solid support model;
[0089] The mechanical parameters of the entity support model are the stiffness of the main space beam, and the mechanical parameters are obtained by detecting the torque data and displacement data of the two opposite ends of the main space beam.
[0090] S430: adding an auxiliary spatial beam to the solid support model based on the mechanical parameters to form a bone support model;
[0091] Specifically, if the stiffness of one of the main spatial beams is insufficient, the endpoint of the main spatial beam is used as the starting point, the diagonal point of the surface where the endpoint exists is obtained, and the auxiliary spatial beam is generated based on the endpoint and the diagonal point. After the auxiliary spatial beam is added, the bone scaffold model is formed.
[0092] In this embodiment, the bone scaffold is obtained by additive printing.
[0093] By acquiring the initial image and performing the segmentation processing on it, other tissue information in the initial image can be eliminated, the bone image corresponding to the bone is retained, and the bone three-dimensional model is acquired based on the bone image. The defective three-dimensional model similar to the patient's bone contour can be acquired at a macroscopic level based on the actual conditions of different patients; by performing the filling processing and the denoising processing, the defect rate of the bone three-dimensional model can be reduced to a certain extent, and the external structural accuracy of the bone scaffold model can be improved; the bone scaffold model is constructed based on the defective three-dimensional model, and the macroscopic level is combined with the microscopic level, that is, while considering the external structural compatibility of the bone scaffold and the bone at the macroscopic level, a porous structure is given to the bone scaffold to ensure the intrinsic compatibility of the bone scaffold and the bone; by performing the encryption processing, the initial scaffold model is adjusted accordingly based on the actual conditions of different patients, and the structural rationality of the bone scaffold model is further improved.
[0094] See also Figure 2 The second embodiment of the present invention provides a bone scaffold modeling system, which is applied to the bone scaffold modeling method in the above-mentioned embodiment, and will not be repeated hereafter. As used below, the terms "module", "unit", "subunit" and the like can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0095] The system comprises:
[0096] A preprocessing module 10 is used to obtain an initial image corresponding to the affected part, and segment the initial image to obtain a bone image corresponding to the bone;
[0097] The pre-processing module 10 comprises:
[0098] The first unit is used to set a retention value, and perform image filtering on the initial image based on the retention value to obtain an image to be processed;
[0099] The second unit is used to perform threshold segmentation and edge detection on the image to be processed to obtain a bone image corresponding to the bone;
[0100] A construction module 20 is used to construct an initial triangular mesh bone model based on the bone image, perform filling and denoising on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and construct a three-dimensional bone model based on the final triangular mesh bone model;
[0101] The building block 20 comprises:
[0102] The third unit is used to obtain a cross-sectional view of the initial triangular mesh bone model and detect whether there is a missing area in the bone contour line in the cross-sectional view;
[0103] The fourth unit is used for filling the missing area with pixels if there is a missing area to form an adjustment map, and combining a plurality of the adjustment maps into a staged triangular mesh bone model;
[0104] The fifth unit is used to detect whether there are discrete points in the triangular mesh bone model at the stage;
[0105] The sixth unit is used for removing the discrete points if any, so as to form a final triangular mesh bone model;
[0106] The seventh unit is used to perform bone curvature analysis on the final triangular mesh bone model to divide the final triangular mesh bone model into a plurality of data blocks;
[0107] An eighth unit is used to construct a plurality of cross sections along an axis direction perpendicular to the data block, and obtain a cross section line based on an intersection point between the cross section and the data block;
[0108] A ninth unit, configured to reconstruct a curve on the cross-section line to obtain a plurality of curves corresponding to the cross-section line;
[0109] A tenth unit is used to construct a first curved surface based on curves with consistent concavity and convexity on different section lines along the axis direction of the data block, construct an extended surface between adjacent first curved surfaces based on the section lines, and construct a three-dimensional skeleton model through the first curved surface and the extended surface;
[0110] An extraction module 30 is used to extract a defective three-dimensional model from the three-dimensional skeleton model, mesh the defective three-dimensional model to obtain a plurality of structural units, and simplify the structural units to form a structural wireframe model;
[0111] The extraction module 30 comprises:
[0112] An eleventh unit is used to extract nodes of the structural unit and boundaries corresponding to the nodes to form an initial sub-wireframe model;
[0113] A twelfth unit is used to obtain the midpoint coordinates of the boundary based on the coordinate values of the nodes, and to remove duplicate boundaries of different initial sub-wireframe models by using the midpoint coordinates to obtain a final sub-wireframe model;
[0114] A thirteenth unit is used to construct a structural wireframe model through the final sub-wireframe model;
[0115] An execution module 40 is used to construct an initial scaffold model based on the structural wireframe model, encrypt the initial scaffold model to obtain a bone scaffold model, and print a bone scaffold based on the bone scaffold model;
[0116] The execution module 40 includes:
[0117] The fourteenth unit is used to extract the component edges of the structural wireframe model, construct component cylinders with the component edges as axes, and combine different component cylinders into an initial bracket model;
[0118] A fifteenth unit is used to assign material properties to the initial support model to obtain a solid support model, wherein the solid support model includes a plurality of main space beams;
[0119] A sixteenth unit is used to apply boundary conditions to the solid support model to obtain mechanical parameters of the solid support model;
[0120] The seventeenth unit is used to add an auxiliary spatial beam in the solid support model based on the mechanical parameters to form a bone support model.
[0121] The present invention also provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the bone scaffold modeling method as described in the above technical solution when executing the computer program.
[0122] The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the bone scaffold modeling method described in the above technical solution is implemented.
[0123] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.
[0124] 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 scaffold modeling method, characterized in that: The following steps are involved: Acquire an initial image corresponding to the affected part, and segment the initial image to acquire a bone image corresponding to the bone; Constructing an initial triangular mesh bone model based on the bone image, performing filling and denoising processing on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and constructing a three-dimensional bone model based on the final triangular mesh bone model; Extracting a defective three-dimensional model from the three-dimensional bone model, meshing the defective three-dimensional model to obtain a plurality of structural units, and simplifying the structural units to form a structural wireframe model; An initial scaffold model is constructed based on the structural wireframe model, the initial scaffold model is encrypted to obtain a bone scaffold model, and a bone scaffold is printed based on the bone scaffold model.
2. The bone scaffold modeling method according to claim 1, characterized in that: The step of segmenting the initial image to obtain a bone image corresponding to the bone comprises: Setting a retention value, and performing image filtering on the initial image based on the retention value to obtain an image to be processed; Threshold segmentation and edge detection are performed on the image to be processed to obtain a bone image corresponding to the bone.
3. The bone scaffold modeling method according to claim 1, characterized in that: The step of performing filling and denoising processing on the initial triangular mesh bone model to obtain a final triangular mesh bone model comprises: Acquire a cross-sectional view of the initial triangular mesh bone model, and detect whether there is a missing area within the bone contour line in the cross-sectional view; If there is a missing area, fill the missing area with pixels to form an adjustment map, and combine several of the adjustment maps into a staged triangular mesh bone model; Detecting whether there are discrete points in the triangular mesh bone model at the stage; If there are discrete points, they are removed to form the final triangular mesh bone model.
4. The bone scaffold modeling method according to claim 1, characterized in that: The step of constructing a three-dimensional skeleton model based on the final triangular mesh skeleton model comprises: Performing bone curvature analysis on the final triangular mesh bone model to divide the final triangular mesh bone model into a plurality of data blocks; Constructing a plurality of cross sections along an axis direction perpendicular to the data block, and obtaining cross section lines based on intersections between the cross sections and the data block; Performing curve reconstruction on the cross-section line to obtain a plurality of curves corresponding to the cross-section line; Along the axis direction of the data block, a first curved surface is constructed based on curves with consistent concavity and convexity on different section lines, an extended surface between adjacent first curved surfaces is constructed based on the section lines, and a three-dimensional bone model is constructed through the first curved surface and the extended surface.
5. The bone scaffold modeling method according to claim 1, characterized in that: The step of simplifying the structural unit to form a structural wireframe model includes: Extracting nodes of the structural unit and boundaries corresponding to the nodes to form an initial sub-wireframe model; Acquire the midpoint coordinates of the boundary based on the coordinate values of the nodes, and perform boundary pruning on different initial sub-wireframe models by using the midpoint coordinates to acquire a final sub-wireframe model; A structural wireframe model is constructed through the final sub-wireframe model.
6. The bone scaffold modeling method according to claim 1, characterized in that: The step of constructing the initial bracket model based on the structural wireframe model is specifically as follows: The component edges of the structural wireframe model are extracted, component cylinders are constructed with the component edges as axes, and different component cylinders are combined into an initial bracket model.
7. The bone scaffold modeling method according to claim 6, characterized in that: The diameter of the constituent cylinder is 0.15 mm to 0.35 mm.
8. The bone scaffold modeling method according to claim 1, characterized in that: The step of encrypting the initial scaffold model to obtain a bone scaffold model comprises: Assigning material properties to the initial support model to obtain a solid support model, wherein the solid support model includes a plurality of main space beams; Applying boundary conditions to the solid support model to obtain mechanical parameters of the solid support model; Based on the mechanical parameters, additional spatial beams are added into the solid support model to form a bone support model.
9. A bone scaffold modeling system, applied to the bone scaffold modeling method according to any one of claims 1 to 8, characterized in that: The system comprises: A preprocessing module, used for acquiring an initial image corresponding to the affected part, and performing segmentation processing on the initial image to acquire a bone image corresponding to the bone; A construction module is used to construct an initial triangular mesh bone model based on the bone image, perform filling and denoising on the initial triangular mesh bone model to obtain a final triangular mesh bone model, and construct a three-dimensional bone model based on the final triangular mesh bone model; An extraction module is used to extract a defective three-dimensional model from the three-dimensional bone model, mesh the defective three-dimensional model to obtain a plurality of structural units, and simplify the structural units to form a structural wireframe model; The execution module is used to construct an initial bracket model based on the structural wireframe model, encrypt the initial bracket model to obtain a bone bracket model, and print the bone bracket based on the bone bracket model.
10. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the bone scaffold modeling method according to any one of claims 1 to 8 is implemented.
