Human body spine finite element model generation method and device, electronic equipment and medium
By regularizing network wiring of the three-dimensional model of the human spine, the problems of uneven grid division and low model accuracy in the existing technology are solved, and efficient and uniform grid division of the spinal finite element model is achieved, and the efficiency and quality of model establishment are improved.
Patent Information
- Application Number
- CN202510005084.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, by manually editing contour lines for three-dimensional models and dividing networks, there are problems such as uneven division and low accuracy in building models. Especially in the treatment of complex structures such as spine, it is difficult to ensure consistency and uniformity of grid division.
A method for generating a finite element model of the human spine is provided, including obtaining a three-dimensional model of the human spine, dividing it into multiple parts according to its structure, determining the number of grid layers according to the thickness of each part, and regularizing the network wiring of the surfaces of multiple parts.
Through regular network wiring, the cone wiring method is more scientific and can accurately predict the number of grids in the human spinal hexahedral, avoiding the problem of insufficient prediction in the later mesh division of grids, and improving the efficiency and quality of model establishment.
Smart Images

Figure CN119989778A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of medical image processing, and in particular to a method, device, electronic equipment and medium for generating a finite element model of a human spine. Background Art
[0002] The digital human finite element model is a digital human model built based on computer technology. All parts are constructed with reference to the real human body. It can simulate the movement posture and collision damage of the real human body and has a wide range of application scenarios. The digital human finite element model can be obtained by dividing the digital human CAD model into finite element meshes. Before finite element modeling, a series of pre-processing operations must be performed on the skeletal CAD model generated by the original medical imaging data, including but not limited to image segmentation, three-dimensional reconstruction, geometric repair, feature extraction and smoothing. These pre-processing steps are crucial to the final generation of a high-quality finite element mesh model.
[0003] In the related art, the model is usually manually edited in the 3D surface reconstruction software and the network is divided to achieve the purpose of generating a relatively regular mesh model in the finite element pre-processing software. In the actual implementation process, most of the network division methods for bone models rely on personal experience and intuition, lack of systematic and scientific basis, especially in the processing of complex structures such as the spine, it is difficult to ensure the consistency and uniformity of the mesh division, resulting in the need to repeatedly adjust the mesh layout in the later stage, which slows down the progress of model building and increases the workload. Summary of the invention
[0004] The present application provides a method, device, electronic device and medium for generating a finite element model of the human spine, so as to solve the problems of uneven division and low accuracy of model construction in the related art of manually editing contour lines and dividing networks for three-dimensional models.
[0005] The first aspect of the present application provides a method for generating a finite element model of a human spine, comprising the following steps: obtaining a three-dimensional model of a human spine; dividing the three-dimensional model into multiple parts according to the structure of the human spine, determining the number of grid layers according to the thickness of each part, and performing regularized network wiring on the surfaces of the multiple parts according to the number of grid layers; predicting the number of grids in each part according to the number of grid layers, shape size and grid size of the network wiring of each part, calculating the total number of grids according to the number of grids in each part, and generating a finite element model of the human spine according to the total number of grids and the three-dimensional model.
[0006] Optionally, the multiple parts include: an upper vertebral body, a middle vertebral body and a lower vertebral body, and regularized network wiring is performed on the surfaces of the multiple parts according to the number of grid layers, including: dividing the upper vertebral body and the lower vertebral body into a preset number of network patches, and correspondingly connecting the nodes on the upper and lower vertebral surfaces; dividing the middle vertebral body into a first part and a second part, wherein the first part is divided by a single layer of network wires and the second part is divided by a double layer of network wires.
[0007] Optionally, the double-layer network wire includes: a first layer of network wire and a second layer of network wire, wherein the first layer of network wire is used to cover the base layer of the second part, and the second layer of network wire is used to refine the raised or recessed area of the second part.
[0008] Optionally, predicting the number of grids of each part according to the number of grid layers, shape size and grid size of network wiring of each part includes: obtaining the number of layers of intervertebral disc matrix, the first number of grid layers of the upper vertebral body, the second number of grid layers of the middle vertebral body and the third number of grid layers of the lower vertebral body; calculating the first number of grids of the upper vertebral body according to the number of layers of intervertebral disc matrix, the first number of grid layers of the upper vertebral body and the grid wiring size of the lower vertebral body; calculating the second number of grids of the middle vertebral body according to the shape size of the first part and the second part, the number of grid layers of the first part, the number of grid layers of the second part and the grid wiring size of the middle vertebral body; calculating the third number of grids of the lower vertebral body according to the number of layers of intervertebral disc matrix, the third number of grid layers of the lower vertebral body and the grid wiring size of the lower vertebral body.
[0009] Optionally, before dividing the three-dimensional model into multiple parts according to the structure of the human spine, the method further includes: performing thinning, feature removal and smoothing operations on the three-dimensional model of the human spine to make the three-dimensional model of the human spine smooth and sleek as a whole.
[0010] The second aspect of the present application provides a device for generating a finite element model of a human spine, including: an acquisition module for acquiring a three-dimensional model of the human spine; a division module for dividing the three-dimensional model into multiple parts according to the structure of the human spine, determining the number of grid layers according to the thickness of each part, and performing regularized network wiring on the surfaces of the multiple parts according to the number of grid layers; a generation module for predicting the number of grids of each part according to the number of grid layers, shape size and grid size of the network wiring of each part, calculating the total number of grids according to the number of grids of each part, and generating a finite element model of the human spine according to the total number of grids and the three-dimensional model.
[0011] Optionally, the multiple parts include: an upper vertebral body, a middle vertebral body and a lower vertebral body, and the division module is further used to: divide the upper vertebral body and the lower vertebral body into a preset number of network patches, and connect the nodes on the upper and lower vertebral surfaces accordingly; divide the middle vertebral body into a first part and a second part, wherein the first part is divided by a layer of network lines, and the second part is divided by a double layer of network lines.
[0012] Optionally, the double-layer network wire includes: a first layer of network wire and a second layer of network wire, wherein the first layer of network wire is used to cover the base layer of the second part, and the second layer of network wire is used to refine the raised or recessed area of the second part.
[0013] Optionally, the generation module is further used to: obtain the number of layers of the intervertebral disc matrix, the first number of grid layers of the upper vertebral body, the second number of grid layers of the middle vertebral body, and the third number of grid layers of the lower vertebral body; calculate the number of first grids of the upper vertebral body according to the number of layers of the intervertebral disc matrix, the first number of grid layers of the upper vertebral body, and the grid wiring size of the lower vertebral body; calculate the number of second grids of the middle vertebral body according to the shape size of the first part and the second part, the number of grid layers of the first part, the number of grid layers of the second part, and the grid wiring size of the middle vertebral body; calculate the number of third grids of the lower vertebral body according to the number of layers of the intervertebral disc matrix, the third number of grid layers of the lower vertebral body, and the grid wiring size of the lower vertebral body.
[0014] Optionally, the device for generating a finite element model of the human spine also includes: a preprocessing module, which is used to perform refinement, feature removal and smoothing operations on the three-dimensional model of the human spine before dividing the three-dimensional model into multiple parts according to the structure of the human spine, so that the three-dimensional model of the human spine is smooth and sleek as a whole.
[0015] The third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a method for generating a finite element model of the human spine as described in the above embodiment.
[0016] A fourth aspect of the present application provides a computer-readable storage medium having a computer program or instruction stored thereon. When the computer program or instruction is executed, it is used to implement the method for generating a finite element model of the human spine as in the above-mentioned embodiment.
[0017] The fifth aspect of the present application provides a computer program product, including: a computer program or instructions, which, when executed, implements the method for generating a finite element model of the human spine as in the above-mentioned embodiment.
[0018] Therefore, this application has at least the following beneficial effects:
[0019] By performing regular network wiring on the three-dimensional model of the human spine, the cone wiring method becomes more scientific and can accurately predict the number of meshes in the human spine hexahedron. This can effectively avoid problems such as insufficient prediction of the number of meshes during later mesh division, which results in the overall number of meshes in the model not meeting the standard and requiring re-division of the mesh, slowing down the model building process, etc.
[0020] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0022] Figure 1 A flowchart of a method for generating a finite element model of a human spine provided according to an embodiment of the present application;
[0023] Figure 2 A top view of a conical surface wiring provided according to an embodiment of the present application;
[0024] Figure 3 A bottom view of a conical surface wiring provided according to an embodiment of the present application;
[0025] Figure 4 A front view of a conical surface wiring provided according to an embodiment of the present application;
[0026] Figure 5 A side view of a conical surface wiring provided according to an embodiment of the present application;
[0027] Figure 6 A rear view of a conical surface wiring provided according to an embodiment of the present application;
[0028] Figure 7 A top view of a transverse process wiring provided according to an embodiment of the present application;
[0029] Figure 8 A rear view of a transverse process wiring provided according to an embodiment of the present application;
[0030] Fig. 9 A front view of the articular surface, vertebral arch and spinous process wiring provided according to one embodiment of the present application;
[0031] Fig.10 A side view of the articular surface, vertebral arch and spinous process wiring provided according to one embodiment of the present application;
[0032] Fig.11 A front view of the overall wiring of the human cervical spine provided according to one embodiment of the present application;
[0033] Fig.12 A top view of the overall wiring of the human cervical spine provided according to one embodiment of the present application;
[0034] Fig.13 An example diagram for drawing a three-dimensional model according to an embodiment of the present application;
[0035] Fig.14 An example diagram of cone mesh calculation provided according to an embodiment of the present application;
[0036] Fig.15 An example diagram of transverse process mesh calculation provided according to one embodiment of the present application;
[0037] Fig.16 An example diagram of mesh calculation of articular surface, vertebral arch and spinous process provided according to one embodiment of the present application;
[0038] Fig.17 is a block diagram of a device for generating a finite element model of a human spine according to an embodiment of the present application;
[0039] Fig.18 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0040] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0041] The following describes the method, device, electronic device and medium for generating a finite element model of the human spine in an embodiment of the present application with reference to the accompanying drawings. In response to the problems mentioned in the above background technology, the present application provides a method for generating a finite element model of the human spine. In this method, by performing regularized network wiring on the three-dimensional model of the human spine, the cone wiring method is made more scientific, and the number of meshes of the human spine hexahedron can be accurately predicted, which can effectively avoid the problem that the number of meshes in the overall model does not meet the standard due to insufficient prediction of the number of meshes during mesh division in the later stage, resulting in the need to re-divide the meshes and slow down the progress of model establishment.
[0042] Specifically, Figure 1 A schematic flow chart of a method for generating a finite element model of the human spine provided in an embodiment of the present application.
[0043] like Figure 1 As shown, the method for generating the human spine finite element model comprises the following steps:
[0044] In step S101, a three-dimensional model of a human spine is obtained.
[0045] It is understandable that the present application embodiment uses medical imaging technologies such as computer tomography and magnetic resonance imaging to perform high-resolution scans of the human spine. The collected medical images are preprocessed, including operations such as noise removal and contrast enhancement, to improve image quality, and the preprocessed two-dimensional medical images are converted into three-dimensional models using three-dimensional reconstruction software.
[0046] In step S102, the three-dimensional model is divided into multiple parts according to the structure of the human spine, the number of grid layers is determined according to the thickness of each part, and regularized network wiring is performed on the surfaces of the multiple parts according to the number of grid layers.
[0047] In the embodiment of the present application, the human spine is composed of multiple parts. In order to better understand the technical solution of the present application, the embodiment of the present application can be described in detail by taking the cervical spine, a component of the human spine, as an example.
[0048] The embodiment of the present application can subdivide the three-dimensional model into multiple logical parts according to the natural anatomical structure of the spine. Taking the human cervical spine (except C1 cervical spine) as an example, it is usually divided into three main parts: the upper part of the vertebral body (including the upper articular surface), the middle part of the vertebral body (including the transverse process), and the lower part of the vertebral body (including the lower articular surface). For each part, the embodiment of the present application deconstructs each part into a number of cube stacks by meshing. The thickness difference of different parts determines the required number of mesh layers. The number of mesh layers of each part can fully reflect the structural complexity and mechanical behavior. For example, the intervertebral disc matrix is generally 3 layers; while other parts are set with a preset number of layers b according to the specific thickness.
[0049] Furthermore, in order to ensure the consistency and uniformity of the mesh division, the embodiment of the present application requires regular network wiring for each partial surface. Wiring refers to adding a series of closed curves on the surface of the CAD model. Such closed curves can be regarded as auxiliary lines for finite element modeling, and can be used as an important reference and basis for node distribution in the finite element modeling process. The main idea of network wiring is to divide irregular objects into regular groups. Through continuous subdivision, the irregular CAD model is subdivided into small and more regular areas. The shape of the network is approximately a quadrilateral, and the number and shape of the upper and lower quadrilateral networks of the vertebra are kept as consistent as possible, and the network is as uniform as possible.
[0050] In one embodiment of the present application, regularized network wiring is performed on multiple partial surfaces according to the number of grid layers, including: dividing the upper and lower sections of the vertebral body into a preset number of network facets, and correspondingly connecting the nodes on the upper and lower vertebral surfaces; dividing the middle section of the vertebral body into a first part and a second part, wherein the first part is divided using a single layer of network wires, and the second part is divided using a double layer of network wires.
[0051] The double-layer network wires include: a first layer of network wires and a second layer of network wires, wherein the first layer of network wires is used to cover the base layer of the second part, and the second layer of network wires is used to refine the raised or recessed areas of the second part.
[0052] Specifically, since the structures between the vertebrae are the intervertebral disc and the nucleus pulposus, the outermost network shape of the upper and lower vertebral surfaces and the network shape of the nucleus pulposus part are elliptical, such as Figure 2 and Figure 3 As shown. In the embodiment of the present application, the upper and lower vertebral surfaces can be divided into 26 network patches respectively, and the patch sizes are as uniform as possible and the networks of the upper and lower vertebral surfaces correspond one to one. Furthermore, in the embodiment of the present application, the nodes on the upper and lower vertebral surfaces can be connected one to one, such as Figure 4 , Figure 5 and Figure 6 As shown in the figure, the continuity and coordination of the mesh between the two vertebral surfaces are ensured. This connection method helps to maintain the integrity and coherence of the intervertebral disc area, prevents faults or dislocation problems, and thus improves the stability of the model and the simulation effect.
[0053] Furthermore, the first part of the middle section of the vertebral body in the embodiment of the present application may be the transverse process, and the second part may be the articular surface, vertebral arch and spinous process. The transverse process is flatter than the vertebral body, so the embodiment of the present application can be drawn using a single layer of network, which simplifies the computational complexity. Figure 7 and Figure 8 As shown, for the articular surface, vertebral arch and spinous process, it is thicker than the transverse process, but thinner than the vertebral body. Therefore, the embodiment of the present application can use two layers of network lines for division, such as Fig. 9 and Fig.10 As shown in FIG. 1 , such a design can accurately express the three-dimensional morphology of the articular surface, vertebral arch and spinous process, and maintain an appropriate mesh density to ensure the overall quality of the model. Thus, the embodiment of the present application realizes wiring of each part of the three-dimensional model of the human spine, such as Fig.11 and Fig.12 shown.
[0054] In one embodiment of the present application, before dividing the three-dimensional model into multiple parts according to the structure of the human spine, it also includes: performing refinement, feature removal and smoothing operations on the three-dimensional model of the human spine, so that the three-dimensional model of the human spine is smooth and sleek as a whole, thereby improving the mesh quality.
[0055] As a possible way to achieve this, Fig.13As shown, the embodiment of the present application can refine the acquired three-dimensional model of the human cervical spine so that the model can more accurately reflect the anatomical structure of the cervical spine. Secondly, the embodiment of the present application can remove unnecessary anatomical features or abnormal structures in the model, such as bone spurs, and judge whether the surface of the model meets the smoothness requirements. If yes, the embodiment of the present application can continue the subsequent regularized network wiring operation. If not, the model will continue to be refined. Among them, the smoothness requirements can be set according to the specific situation and are not specifically limited.
[0056] In step S103, the number of grids of each part is predicted according to the number of grid layers, shape size and grid size of network wiring of each part, the total number of grids is calculated according to the number of grids of each part, and a finite element model of the human spine is generated according to the total number of grids and the three-dimensional model.
[0057] It is understandable that after the three-dimensional model of the human spine is divided into regular wiring, the number of meshes of the human spine can be accurately predicted through reasonable network division, which can effectively prevent the need to re-divide the mesh later due to insufficient initial estimation. This not only saves a lot of time and resources, but also improves the efficiency of the entire modeling process.
[0058] In one embodiment of the present application, predicting the number of grids of each part according to the number of grid layers, shape size and grid size of network wiring of each part includes: obtaining the number of layers of intervertebral disc matrix, the first number of grid layers of the upper vertebral body, the second number of grid layers of the middle vertebral body and the third number of grid layers of the lower vertebral body; calculating the first number of grids of the upper vertebral body according to the number of layers of intervertebral disc matrix, the first number of grid layers of the upper vertebral body and the grid wiring size of the lower vertebral body; calculating the second number of grids of the middle vertebral body according to the shape size of the first part and the second part, the number of grid layers of the first part, the number of grid layers of the second part and the grid wiring size of the middle vertebral body; calculating the third number of grids of the lower vertebral body according to the number of layers of intervertebral disc matrix, the third number of grid layers of the lower vertebral body and the grid wiring size of the lower vertebral body.
[0059] The embodiment of the present application can predict the number of grids of each vertebral part (intervertebral disc matrix, upper vertebral body, middle vertebral body and lower vertebral body) based on the number of grid layers, shape size and grid size of network wiring of each part, ensuring the scientificity and accuracy of model establishment.
[0060] After the network lines are drawn, the model as a whole can be viewed as a number of cubes stacked in layers. The upper surface of each cube in the first layer is the quadrilateral formed by the upper cone surface.
[0061] Specifically, when the intervertebral disc is meshed, the disc matrix is generally composed of three layers, so the number of meshes in the matrix layer is set to 3, and the remaining meshes are divided into b layers, as follows Fig.14 shown.
[0062] The meshes divided inside each quadrilateral formed by wrapping the network line are calculated and added. Among the 14 outer quadrilaterals, the number of small quadrilaterals that can be divided is 3×b, and the number of small quadrilaterals that can be divided in the 12 middle quadrilaterals is b×b. Therefore, the number of meshes that can be divided on the upper cone is: 14×3b+12×b 2 =42b+12b 2 .
[0063] In the embodiment of the present application, the cone has three layers from top to bottom, which are divided into the upper vertebral section, the middle vertebral section and the lower vertebral section. In the embodiment of the present application, the first grid layer number of the upper vertebral section can be set to layer A, the second grid layer number of the middle vertebral section can be set to layer B, and the third grid layer number of the lower vertebral section can be set to layer C.
[0064] Furthermore, the embodiment of the present application can calculate the number of first grids in the upper vertebral body according to the number of layers of the intervertebral disc matrix, the number of first grid layers in the upper vertebral body, and the corresponding grid wiring size. The formula is as follows:
[0065] Z1=A(42b+12b 2 )
[0066] Secondly, the embodiment of the present application can calculate the first part and the second part of the middle section of the vertebral body separately. The first part represents the number of grids at the transverse process position of the vertebral body, such as Fig.15 As shown, the framed part is thinner, so only one layer is drawn with the network. It can be regarded as four cubes spliced into an L shape. The three cubes on the long side can be divided into e, f, and g in length direction, and b in width direction. The short side is also divided into g because the length direction is unified with the cube above. There is no constraint in the width direction, so it is divided into h. The height direction is uniformly divided into B. The total number of grids in the left and right parts is:
[0067] B×2[(e+f+g)b+gh]
[0068] like Fig.16As shown in the figure, the second part is to calculate the mesh of the joint surface, vertebral arch and spinous process. It can be regarded as four cubes spliced into an L shape in two layers. The three cubes on the long side can be divided into i, k, and x in length direction and b in width direction. The short side is also divided into g because the length direction is unified with the cube above. There is no constraint in the width direction, but the shapes of the two adjacent cubes are similar, so it is also divided into b. The second part adopts two layers of network lines for division, so the number of meshes divided in the height direction is unified as 2B. The total number of meshes on the left and right sides is:
[0069] 2B×2[(2i+k+x)b+n(b+m)]
[0070] In addition, the vertebral body middle section of the embodiment of the present application also includes the cone main body part, and the number of grids is: B (42b + 12b 2 ), therefore, the number of second grids in the middle section of the vertebral body in the embodiment of the present application is:
[0071] Z2=B(42b+12b 2 )+B×2[(e+f+g)b+gh]+2B×2[(2i+k+x)b+n(b+m)]
[0072] Z2=2B×b(6b+21+e+f+g+4i+2k+2n)+2B(gh+2nm)
[0073] Furthermore, the distribution of the lower vertebral body in the embodiment of the present application is consistent with that of the upper vertebral body, and only the number of grids divided in the longitudinal direction is different. Therefore, the number of the third grids in the lower vertebral body is:
[0074] Z3=C(42b+12b 2 )
[0075] In summary, the total number of grids can be calculated as Z = Z1 + Z2 + Z3 = (A + C) × (42b + 12b 2 )+2B×[b(6b+21+W)+(gh+2nm)].
[0076] The following embodiment of the present application can take the C3 (cervical vertebra) vertebra as an example to calculate and predict the number of grids generated by C3 after wiring.
[0077] Assume A, B, and C are 2, 4, and 4 respectively; assume b, e, f, g = 2; h = 4; i, m = 4; k, x, n = 3.
[0078] Then the total number of grids of C3 is:
[0079] Z = (A + C) × (42b + 12b 2 )+2B×[b(6b+21+W)+(gh+2nm)]
[0080] Z=(2+4)×(42×2+12×4)+8×[2(12+21+34)+(8+24)]
[0081] Z=2120
[0082] In summary, the embodiment of the present application can conclude that the number of meshes generated by a C3 cone is approximately 2120, and various parameters can be purposefully adjusted according to the predicted values to achieve the desired effect, which can effectively guide the finite element modeling process and ensure the quality and efficiency of the model.
[0083] It should be noted that the above embodiment mainly demonstrates the application of the method through the specific example of the cervical spine (C3 vertebra), and the embodiment of the present application is also applicable to other parts of the human spine, such as the thoracic spine. The network wiring method of the embodiment of the present application is a universal solution to improve the efficiency and quality of the establishment of the finite element model of the spine and ensure the uniformity and predictability of the grid division.
[0084] According to the method for generating a finite element model of the human spine proposed in the embodiment of the present application, by performing regularized network wiring on the three-dimensional model of the human spine, the cone wiring method is made more scientific, and the number of meshes of the human spine hexahedron can be accurately predicted, which can effectively avoid the problem that the overall number of meshes of the model does not meet the standard due to insufficient prediction of the number of meshes during the later mesh division, resulting in the need to re-divide the mesh and slow down the progress of model establishment.
[0085] Next, a device for generating a finite element model of the human spine according to an embodiment of the present application will be described with reference to the accompanying drawings.
[0086] Fig.17 It is a block diagram of a device for generating a finite element model of a human spine according to an embodiment of the present application.
[0087] like Fig.17 As shown, the device 10 for generating a finite element model of a human spine includes: an acquisition module 100 , a division module 200 and a generation module 300 .
[0088] Among them, the acquisition module 100 is used to obtain a three-dimensional model of the human spine; the division module 200 is used to divide the three-dimensional model into multiple parts according to the structure of the human spine, determine the number of grid layers according to the thickness of each part, and perform regularized network wiring on the surfaces of the multiple parts according to the number of grid layers; the generation module 300 is used to predict the number of grids of each part according to the number of grid layers, shape size and grid size of network wiring of each part, calculate the total number of grids according to the number of grids of each part, and generate a finite element model of the human spine according to the total number of grids and the three-dimensional model.
[0089] In one embodiment of the present application, the multiple parts include: an upper vertebral body, a middle vertebral body and a lower vertebral body, and the division module 200 is further used to: divide the upper vertebral body and the lower vertebral body into a preset number of network facets, and connect the nodes on the upper and lower vertebral surfaces accordingly; divide the middle vertebral body into a first part and a second part, wherein the first part is divided by a layer of network lines, and the second part is divided by a double layer of network lines.
[0090] In one embodiment of the present application, the double-layer network wire includes: a first layer of network wire and a second layer of network wire, wherein the first layer of network wire is used to cover the base layer of the second part, and the second layer of network wire is used to refine the raised or recessed area of the second part.
[0091] In one embodiment of the present application, the generation module 300 is further used to: obtain the number of layers of the intervertebral disc matrix, the first number of grid layers of the upper vertebral body, the second number of grid layers of the middle vertebral body, and the third number of grid layers of the lower vertebral body; calculate the number of first grids of the upper vertebral body according to the number of layers of the intervertebral disc matrix, the first number of grid layers of the upper vertebral body, and the grid wiring size of the lower vertebral body; calculate the number of second grids of the middle vertebral body according to the shape size of the first part and the second part, the number of grid layers of the first part, the number of grid layers of the second part, and the grid wiring size of the middle vertebral body; calculate the number of third grids of the lower vertebral body according to the number of layers of the intervertebral disc matrix, the third number of grid layers of the lower vertebral body, and the grid wiring size of the lower vertebral body.
[0092] In one embodiment of the present application, the device 10 for generating a finite element model of the human spine also includes: a preprocessing module, which is used to perform refinement, feature removal and smoothing operations on the three-dimensional model of the human spine before dividing the three-dimensional model into multiple parts according to the structure of the human spine, so that the three-dimensional model of the human spine is smooth and sleek as a whole.
[0093] It should be noted that the above explanation of the embodiment of the method for generating a finite element model of the human spine is also applicable to the device for generating a finite element model of the human spine in this embodiment, and will not be repeated here.
[0094] According to the device for generating a finite element model of the human spine proposed in the embodiment of the present application, by performing regularized network wiring on the three-dimensional model of the human spine, the cone wiring method is made more scientific and can accurately predict the number of meshes of the human spine hexahedron, which can effectively avoid the problem that the overall number of meshes of the model does not meet the standard due to insufficient prediction of the number of meshes during the later mesh division, resulting in the need to re-divide the mesh and slow down the progress of model establishment.
[0095] Fig.18 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0096] A memory 1801 , a processor 1802 , and a computer program stored in the memory 1801 and executable on the processor 1802 .
[0097] When the processor 1802 executes the program, the method for generating the human spine finite element model provided in the above embodiment is implemented.
[0098] Furthermore, the electronic device further comprises:
[0099] The communication interface 1803 is used for communication between the memory 1801 and the processor 1802 .
[0100] The memory 1801 is used to store computer programs that can be executed on the processor 1802 .
[0101] The memory 1801 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0102] If the memory 1801, the processor 1802 and the communication interface 1803 are implemented independently, the communication interface 1803, the memory 1801 and the processor 1802 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.18 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0103] Optionally, in a specific implementation, if the memory 1801, the processor 1802 and the communication interface 1803 are integrated on a chip, the memory 1801, the processor 1802 and the communication interface 1803 can communicate with each other through an internal interface.
[0104] The processor 1802 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0105] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above method for generating a finite element model of the human spine.
[0106] The embodiment of the present application also provides a computer program product, including: a computer program or instructions, when the computer program or instructions are executed, to implement the method for generating a finite element model of the human spine as in the above embodiment.
[0107] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0108] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0109] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0110] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0111] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0112] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for generating a finite element model of a human spine, characterized in that: The following steps are involved: Obtain a three-dimensional model of the human spine; Dividing the three-dimensional model into a plurality of parts according to the structure of the human spine, determining the number of grid layers according to the thickness of each part, and performing regularized network wiring on the surfaces of the plurality of parts according to the number of grid layers; The number of grids of each part is predicted according to the number of grid layers, shape size and grid size of network wiring of each part, the total number of grids is calculated according to the number of grids of each part, and the finite element model of the human spine is generated according to the total number of grids and the three-dimensional model.
2. The method for generating a finite element model of a human spine according to claim 1, characterized in that: The multiple parts include: an upper vertebral body section, a middle vertebral body section and a lower vertebral body section, and the regularized network wiring of the surfaces of the multiple parts according to the number of grid layers includes: Dividing the upper vertebral body segment and the lower vertebral body segment into a preset number of network facets, and correspondingly connecting the nodes on the upper and lower vertebral surfaces; The middle section of the vertebral body is divided into a first part and a second part, wherein the first part is divided by a single layer of network lines, and the second part is divided by a double layer of network lines.
3. The method for generating a finite element model of a human spine according to claim 2, characterized in that: The double-layer network wires include: a first layer of network wires and a second layer of network wires, wherein the first layer of network wires is used to cover the base layer of the second part, and the second layer of network wires is used to refine the raised or recessed areas of the second part.
4. The method for generating a finite element model of a human spine according to claim 2, characterized in that: The number of grids for each part is predicted based on the number of grid layers, shape size, and grid size of network wiring of each part, including: Acquire the number of layers of the intervertebral disc matrix, the number of first grid layers of the upper vertebral body, the number of second grid layers of the middle vertebral body, and the number of third grid layers of the lower vertebral body; Calculate the number of first grids of the upper vertebral body segment according to the number of layers of the intervertebral disc matrix, the number of first grid layers of the upper vertebral body segment and the grid wiring size of the lower vertebral body segment; Calculating the number of second grids in the middle section of the vertebral body according to the shapes and sizes of the first part and the second part, the number of grid layers of the first part, the number of grid layers of the second part, and the grid wiring size of the middle section of the vertebral body; The number of the third grids of the lower vertebral body segment is calculated according to the number of layers of the intervertebral disc matrix, the number of third grid layers of the lower vertebral body segment and the grid wiring size of the lower vertebral body segment.
5. The method for generating a finite element model of a human spine according to claim 1, characterized in that: Before dividing the three-dimensional model into a plurality of parts according to the structure of the human spine, the method further comprises: The three-dimensional model of the human spine is subjected to thinning, feature removal and smoothing operations, so that the three-dimensional model of the human spine is smooth and sleek as a whole.
6. A device for generating a finite element model of a human spine, characterized in that: include: An acquisition module, used for acquiring a three-dimensional model of a human spine; A division module, used for dividing the three-dimensional model into a plurality of parts according to the structure of the human spine, determining the number of grid layers according to the thickness of each part, and performing regularized network wiring on the surfaces of the plurality of parts according to the number of grid layers; A generation module is used to predict the number of grids of each part according to the number of grid layers, shape size and grid size of network wiring of each part, calculate the total number of grids according to the number of grids of each part, and generate a finite element model of the human spine according to the total number of grids and the three-dimensional model.
7. The method for generating a finite element model of a human spine according to claim 1, characterized in that: The multiple parts include: an upper vertebral body segment, a middle vertebral body segment and a lower vertebral body segment, and the segmentation module is further used to: Dividing the upper vertebral body segment and the lower vertebral body segment into a preset number of network facets, and correspondingly connecting the nodes on the upper and lower vertebral surfaces; The middle section of the vertebral body is divided into a first part and a second part, wherein the first part is divided by a single layer of network lines, and the second part is divided by a double layer of network lines.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for generating a finite element model of a human spine as described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed, the method for generating a human spine finite element model according to any one of claims 1 to 5 is implemented.
10. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed, it implements the method for generating a human spine finite element model as described in any one of claims 1-5.