Method and system for constructing a human respiratory tract model that conforms to real anatomical structure
Through the combination of CT tomographic image data and the Weibel model, a human whole respiratory tract model that conforms to the real anatomical structure is generated, which solves the problem in the existing technology of being unable to construct the bronchial geometry at all levels in the whole respiratory tract and reflect the real anatomical structure, and achieves an efficient and reliable model. Reusable model construction is suitable for fields such as respiratory mechanics and vaccine research and development.
Patent Information
- Application Number
- CN202210235038.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-09
AI Technical Summary
The existing technology cannot construct a human full respiratory tract model that conforms to the real anatomical structure, cannot obtain the bronchial geometry at all levels in the full respiratory tract, cannot reflect the true anatomical structure of the respiratory tract, and the modeling cycle is long and the reusability is not high.
Three-dimensional reconstruction is performed by obtaining CT tomographic image data, and an idealized bronchial tree model is generated by combining the Weibel model. The three-dimensional Thiessen polygon and slime mold growth algorithm are used to construct an alveolar model, and the whole human respiratory tract model is obtained by splicing and assembly.
It achieves the generation of a full respiratory tract model including bronchial geometry at all levels, reflecting the true anatomical structure of the respiratory tract, shortening the modeling cycle, improving reusability and scalability, and is suitable for respiratory mechanics research and vaccine development.
Smart Images

Figure CN114820919B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of biomedical engineering, and in particular to a method and system for constructing a human full respiratory tract model that conforms to a real anatomical structure. Background Art
[0002] The continuous spread and mutation of the virus poses new challenges to vaccine development and improvement. Inhaled nebulized drugs are currently the preferred way to treat respiratory diseases, and inhaled vaccines are also expected to become an effective way to treat respiratory diseases, which can not only reduce vaccination costs but also improve medication compliance. Using computational fluid dynamics (CFD) to evaluate the inhalation method and time of inhaled vaccines can demonstrate and optimize the way in which inhaled vaccines can play the greatest role.
[0003] There are already a large number of models and devices for numerical simulation and in vitro experiments of the respiratory tract. However, the modeling and production process of these models and devices is particularly complicated. At the same time, the modeling and generation of the entire respiratory tract is also a difficult problem that has not yet been fully solved.
[0004] Although the real airway geometry can be reconstructed from CT tomographic image data through three-dimensional reconstruction algorithms, the reconstruction of the bronchi above the fifth level (G5) is particularly difficult due to the resolution limit of CT tomographic image data, and the geometry reconstructed from CT tomographic image data cannot obtain the geometry of the bronchi at all levels in the entire airway; the airway geometry covering all levels of the airway (G0-G23) can be obtained from the Weibel idealized model, but the Weibel idealized model cannot reflect the real anatomical structure of the airway, nor can it obtain the geometry of the upper airway such as the nasal cavity and the oral cavity; at the same time, the alveolar region in the Weibel idealized model is obtained by measuring the alveolar diameter of polygonal alveolar cells, and the deep lung region (G17-G23) is constructed using the bronchial tree combined with a sphere, and the model is too simplified. Therefore, in order to carry out the study of respiratory mechanics of the entire airway, it is particularly necessary to quickly construct a full airway model that can be used for numerical simulation while ensuring the complexity of the airway and accurately evaluating the flow characteristics in the airway.
[0005] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method and system for constructing a human full respiratory tract model that conforms to the real anatomical structure, aiming to solve the problems that the existing respiratory tract modeling methods cannot obtain the geometry of the bronchi at all levels in the entire respiratory tract, cannot reflect the real anatomical structure of the respiratory tract, have a long modeling cycle and low reusability.
[0007] The technical solution of the present invention is as follows:
[0008] A first aspect of the present invention provides a method for constructing a human respiratory tract model that conforms to a real anatomical structure, which comprises the following steps:
[0009] Acquire CT tomographic image data of the upper body of the target object, perform threshold segmentation to obtain a respiratory mask, and use the respiratory mask to perform three-dimensional reconstruction to obtain a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi, and segmental bronchi;
[0010] The Weibel model was used to generate the centerline skeleton of the bronchial tree using a three-dimensional rotation matrix with random angles, and subdivision modeling was performed to construct an idealized bronchial tree model that conforms to the anatomical structure.
[0011] Generate a random point cloud according to the size of the alveoli, use the random point cloud to generate a three-dimensional Thiessen polygon, and use a slime mold growth algorithm to construct an alveolar path in the three-dimensional Thiessen polygon to obtain an idealized polyhedral alveolar model of the respiratory tract terminal;
[0012] According to the anatomical structure, the real respiratory tract model, the idealized bronchial tree model and the idealized polyhedral alveolar model at the end of the respiratory tract are spliced and assembled to obtain the human body full respiratory tract model.
[0013] Optionally, after three-dimensional reconstruction and smoothing using the respiratory mask, a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi is obtained.
[0014] Optionally, the step of obtaining a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi after three-dimensional reconstruction and smoothing using the respiratory mask specifically includes:
[0015] The respiratory mask is used to perform three-dimensional reconstruction, and a respiratory triangular patch geometric model is obtained after calculation;
[0016] The respiratory triangular patch geometric model is divided into the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus;
[0017] After the triangular patch geometry of each part is reconstructed into four sides, it is subdivided and modeled to obtain the NURBS geometry of each part.
[0018] The NURBS geometries of each part are spliced and repaired to obtain a real respiratory tract model with a smooth surface including the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus.
[0019] Optionally, the steps of using the Weibel model and a three-dimensional rotation matrix with random angles to generate a bronchial tree centerline skeleton, performing subdivision modeling, and constructing an idealized bronchial tree model that conforms to the anatomical structure specifically include:
[0020] Using the length of each level of respiratory tract in the Weibel model and according to the position of the center point of the segmental bronchial terminal and the normal vector of the terminal plane, a three-dimensional rotation matrix with random angles was used to generate multiple bronchial tree centerline skeletons with different directions.
[0021] The multiple bronchial tree centerline skeletons of different directions are compared with the direction of the respiratory tract in the CT tomographic image data to obtain a bronchial tree centerline skeleton that is consistent with the direction of the respiratory tract in the CT tomographic image data, and then the bronchial tree flow path is generated along the bronchial tree centerline skeleton by using the diameters of the respiratory tracts at each level in the Weibel model and through subdivision modeling to obtain an idealized bronchial tree model that conforms to the anatomical structure.
[0022] Optionally, a random point cloud is generated according to the size of the alveoli, and a three-dimensional Thiessen polygon is generated using the random point cloud. After the alveolar path is constructed in the three-dimensional Thiessen polygon using a slime mold growth algorithm, it is smoothed using quadrilateral reconstruction and subdivision modeling to obtain an idealized polyhedral alveolar model of the respiratory tract terminal.
[0023] Optionally, the steps of generating a random point cloud according to the size of the alveoli, generating a three-dimensional Thiessen polygon using the random point cloud, and constructing an alveolar path in the three-dimensional Thiessen polygon using a slime mold growth algorithm specifically include:
[0024] Generate a first random point cloud according to the size of the alveoli in the area where the idealized polyhedral alveolar model needs to be generated, and generate a three-dimensional Thiessen polygon using the first random point cloud;
[0025] Calculate the centroid of each three-dimensional Thiessen polygon, and shrink the three-dimensional Thiessen polygon to a certain proportion of the original size based on the centroid as a reference point;
[0026] Shrinking the area where the idealized polyhedral alveolar model needs to be generated to the center of gravity of the first layer of Thiessen polygons, and generating a second random point cloud in the area where the idealized polyhedral alveolar model needs to be generated after the shrinkage according to the size of the alveoli;
[0027] The second random point cloud is set as the food point in the slime mold growth model, and the slime mold growth model is created and iterated to calculate the alveolar path.
[0028] Optionally, after obtaining the alveolar path, before smoothing by using quadrilateral reconstruction and subdivision modeling, the following is further included:
[0029] Delete the polygonal faces passing through the alveolar path and connect the two adjacent 3D Thiessen polygon edges to obtain the flow channel connecting each alveolus, perform geometric repair and create an idealized polyhedral alveolar model entrance.
[0030] Optionally, the step of splicing and assembling the real respiratory tract model, the idealized bronchial tree model and the idealized polyhedral alveolar model at the end of the respiratory tract according to the anatomical structure to obtain the human body full respiratory tract model specifically includes:
[0031] Performing planar cutting on the real respiratory tract model to construct segmental bronchial outlets;
[0032] Constructing a connection surface between the segmental bronchial outlet and the idealized bronchial tree model to connect the real respiratory tract model with the idealized bronchial tree model;
[0033] The idealized polyhedral alveolar model at the end of the respiratory tract is moved to the center of the plane at the end of the idealized bronchial tree model, and a connecting surface is constructed to connect the idealized polyhedral alveolar model at the end of the respiratory tract and the idealized bronchial tree model.
[0034] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of the method for constructing a human full respiratory tract model that conforms to the real anatomical structure as described above in the present invention are implemented.
[0035] According to a third aspect of the present invention, a system for constructing a human full respiratory tract model that conforms to a real anatomical structure is provided, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for constructing a human full respiratory tract model that conforms to a real anatomical structure as described above are implemented.
[0036] Beneficial effects: The method for constructing a human full respiratory tract model that conforms to the real anatomical structure described in the present invention performs three-dimensional reconstruction based on CT tomographic image data to obtain a real respiratory tract model, and at the same time, based on the Weibel model and the anatomical structure, the respiratory bronchial tree is expanded to the deep lung region to obtain an idealized bronchial tree model that conforms to the anatomical structure, and an idealized polyhedral alveolar model of the deep lung region is generated using three-dimensional Thiessen polygons and slime mold growth algorithms. The above three models are spliced and assembled to obtain the human full respiratory tract model. The method for constructing a human full respiratory tract model that conforms to the real anatomical structure provided by the present invention can generate full respiratory tract geometry that includes bronchial geometry at all levels and can reflect the real anatomical structure of the respiratory tract for different populations, and can be used to carry out relevant research on respiratory mechanics, and provides a simplified and anatomically consistent model for further exploring the flow and transport laws at all levels of the respiratory tract. The research results can be applied to the fields of pulmonary drug delivery, vaccine development, and multi-scale simulation of respiratory flow. The method for constructing a human full respiratory tract model that conforms to the real anatomical structure provided by the present invention has a short modeling cycle, high reusability, and good scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 (a) is a schematic diagram of a human respiratory tract model in an embodiment of the present invention, and (b) is a partial enlarged view.
[0038] Figure 2 This is a real respiratory model diagram obtained by three-dimensional reconstruction based on CT tomographic image data in an embodiment of the present invention.
[0039] Figure 3 (a) is a CT cross-sectional image in an example of the present invention, (b) is another CT cross-sectional image in an example of the present invention, (c) is another CT cross-sectional image in an example of the present invention, and (d) is a schematic diagram of CT cross-sectional image reconstruction in an embodiment of the present invention.
[0040] Figure 4 This is a classification diagram of the entire human respiratory tract.
[0041] Figure 5 (a) is a schematic diagram of a bronchial tree model in an embodiment of the present invention, (b) is a schematic diagram of another bronchial tree model in an embodiment of the present invention, (c) is a schematic diagram of yet another bronchial tree model in an embodiment of the present invention, and (d) is a schematic diagram of yet another bronchial tree model in an embodiment of the present invention.
[0042] Figure 6 This is a diagram of the alveolar model construction in an embodiment of the present invention.
[0043] Figure 7 (a) is the alveolar model before smoothing in the embodiment of the present invention, and (b) is the alveolar model after smoothing in the embodiment of the present invention. DETAILED DESCRIPTION
[0044] The present invention provides a method and system for constructing a human full respiratory tract model that conforms to a real anatomical structure. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0045] Unless otherwise defined, all technical terms and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0046] The existing respiratory modeling methods cannot obtain the geometry of the bronchi at all levels in the entire respiratory tract, cannot reflect the true anatomical structure of the respiratory tract, and the existing modeling methods have a long modeling cycle, low reusability, and poor scalability. Based on this, an embodiment of the present invention provides a method for constructing a human respiratory model that conforms to the true anatomical structure, characterized in that it includes the following steps:
[0047] S1. Obtain CT tomographic image data of the upper body of the target object, perform threshold segmentation to obtain a respiratory mask, and use the respiratory mask to perform three-dimensional reconstruction to obtain a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi, and segmental bronchi;
[0048] S2, using the Weibel model and a three-dimensional rotation matrix with random angles to generate the bronchial tree centerline skeleton, perform subdivision modeling, and construct an idealized bronchial tree model that conforms to the anatomical structure;
[0049] S3, generating a random point cloud according to the size of the alveoli, using the random point cloud to generate a three-dimensional Thiessen polygon, and using a slime mold growth algorithm to construct an alveolar path in the three-dimensional Thiessen polygon to obtain an idealized polyhedral alveolar model of the respiratory tract terminal;
[0050] S4. According to the anatomical structure, the real respiratory tract model, the idealized bronchial tree model and the idealized polyhedral alveolar model of the respiratory tract terminal are spliced and assembled to obtain the human body full respiratory tract model (such as Figure 1 As shown, only some alveoli are shown in the figure).
[0051] An embodiment of the present invention provides a method for constructing a human full respiratory tract model that conforms to the real anatomical structure. First, a three-dimensional reconstruction is performed based on CT tomographic image data to obtain a real respiratory tract model, and then extended modeling is performed. Specifically, based on the Weibel model and the anatomical structure, the respiratory bronchial tree is expanded to the deep lung region to obtain an idealized bronchial tree model that conforms to the anatomical structure, and a three-dimensional Thiessen polygon and slime mold growth algorithm are used to generate an idealized polyhedral alveolar model of the deep lung region. The above three models are spliced and assembled to obtain a human full respiratory tract model that conforms to the real anatomical structure. The construction method described in the present invention solves the problems of long respiratory tract modeling cycle, low reusability and poor scalability in the prior art.
[0052] The method for constructing a human full respiratory tract model that conforms to the real anatomical structure provided in an embodiment of the present invention can generate full respiratory tract geometry that includes bronchial geometry at all levels and can reflect the real anatomical structure of the respiratory tract for different populations, which is used to carry out relevant research on respiratory mechanics. It provides a simplified and anatomically consistent model for further exploring the flow and transport laws at all levels of the respiratory tract. The research results can be applied to the fields of pulmonary drug delivery, vaccine development, and multi-scale simulation of respiratory flow.
[0053] In step S1, in one embodiment, the step of obtaining CT sectional image data of the upper body of the target object and obtaining a respiratory mask after threshold segmentation specifically includes:
[0054] S11, use CT tomography to scan the upper body of the current object, and obtain CT tomographic image data of the upper body of the target object; the CT tomographic image data can be found in Figure 3 (a), (b), (c);
[0055] S12, interpolating the CT slice image data of the upper body of the target object, and then segmenting the respiratory tract area by thresholding to generate a respiratory tract mask.
[0056] In step S11, during the specific implementation, a CT scan may be used to scan the upper body area of the target object (for example, the area above the chest cavity of a healthy adult male). During the CT scan, the target object needs to ensure that the airway is unobstructed, raise both hands above the head, open the mouth to an appropriate size, and maintain an inhalation state.
[0057] In step S12, when specifically implemented, the CT slice image data of the upper body of the target object is rendered as needed, and then interpolated and then threshold segmented to prevent the edge of the obtained respiratory mask from being too rough. If the obtained respiratory mask does not correspond to the correct respiratory area after manual judgment, it is necessary to modify the obtained respiratory mask to the correct respiratory area, so as to segment an accurate respiratory mask. Specifically, the obtained respiratory mask can be manually modified to the correct respiratory area.
[0058] In step S1, in one embodiment, the respiratory mask is used to perform three-dimensional reconstruction (the reconstruction model can be found in Figure 3 After smoothing, a real respiratory tract model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi is obtained (e.g. Figure 2 shown).
[0059] In one embodiment, the step of obtaining a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi after three-dimensional reconstruction and smoothing using the respiratory mask specifically includes:
[0060] S13, performing three-dimensional reconstruction using the respiratory tract mask, and obtaining a respiratory tract triangular patch geometric model after calculation;
[0061] S14, dividing the respiratory triangular patch geometric model into the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus;
[0062] S15, reconstructing the quadrilaterals of the triangular patch geometries of each part after segmentation, and then performing subdivision modeling to obtain the NURBS geometry of each part;
[0063] S16. The NURBS geometries of each part are spliced and repaired to obtain a real respiratory tract model with a smooth surface including the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus.
[0064] In step S14, in order to further improve the calculation efficiency and the import and export time of the model, the respiratory triangular patch geometric model is divided according to the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi, and saved in different project files. In this step, other divisions can also be performed according to actual needs, such as dividing the nasal cavity, oral cavity, and pharynx as a whole, then dividing the trachea, and finally dividing the main bronchi, lobar bronchi and segmental bronchi as a whole. Of course, you can also choose not to divide.
[0065] In step S15, the mesh repair, mesh reconstruction and polysurface construction are performed on the triangular patch geometry models of each part after segmentation. Specifically, the triangular patch geometry of each part after segmentation is imported into Rhino software respectively. After quadrilateral reconstruction, the reconstructed geometry of each part is converted into a subdivision modeling object respectively to achieve the conversion of the geometric surface of each part from a sharp triangular mesh patch to a smooth polysurface, and obtain the NURBS geometry of each part. According to actual needs, the polysurfaces of each part of the geometry can also be repaired and adjusted to improve the smoothness between the polysurfaces. Specifically, the zebra pattern can be used to check whether the generated geometric surface is smooth. At the same time, when converting to a subdivision modeling object, the mesh boundary should be identified to ensure that the geometry of each part after segmentation can be accurately spliced later.
[0066] Furthermore, in step S16, the NURBS geometries of the obtained parts are spliced and repaired in the 3D modeling software. Specifically, the NURBS geometries of the obtained parts are imported into the same engineering file and converted into subdivided modeling objects to achieve splicing, a layer of polysurfaces at the geometric connection of the separated parts is deleted, a bridge surface is created at the exposed edge formed and the surface is split once to connect the separated geometries, and after the connection is completed, the separated subdivided surfaces are merged, and finally the geometry is repaired and adjusted to obtain a real respiratory model with a smooth surface including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi (zebra patterns can be used to check whether the generated geometric surface is smooth), and it is output in the form of a neutral geometry exchange file such as IGS for easy import into other modeling software.
[0067] In step S2, the idealized bronchial tree model extends outward from the end of the segmental bronchus to the terminal bronchus.
[0068] In one embodiment, the steps of using the Weibel model and a three-dimensional rotation matrix with random angles to generate a bronchial tree centerline skeleton, performing subdivision modeling, and constructing an idealized bronchial tree model that conforms to the anatomical structure specifically include:
[0069] S21. Using the length of each level of respiratory tract in the Weibel model and according to the position of the center point of the segmental bronchial terminal and the normal vector of the terminal plane, a three-dimensional rotation matrix with random angles was used to generate multiple bronchial tree centerline skeletons with different directions.
[0070] S22. Compare the multiple bronchial tree centerline skeletons of different directions with the direction of the respiratory tract in the CT tomographic image data to obtain a bronchial tree centerline skeleton that is consistent with the direction of the respiratory tract in the CT tomographic image data, and then generate a bronchial tree flow tract along the bronchial tree centerline skeleton by using the diameters of the respiratory tracts at each level in the Weibel model and through subdivision modeling to obtain an idealized bronchial tree model that conforms to the anatomical structure.
[0071] In step S21, the bronchial tree centerline skeleton is generated based on the Weibel idealized model and using Python modeling in Rhino Grasshopper. The obtained bronchial tree centerline skeleton is the central skeleton of the bronchial tree model obtained in step S22. The shape of the bronchial tree centerline skeleton is jointly controlled by the respiratory tract length and the three-dimensional rotation matrix with random angles. Refreshing the three-dimensional rotation matrix with random numbers can generate multiple bronchial tree centerline skeletons with different directions. The three-dimensional rotation is based on the starting branch basis vector Q, and the target rotation direction is selected to obtain the rotation matrix R composed of the rotation angles on the corresponding components of the basis vector i (i=1, 2, 3), the starting branch vector V and the rotation matrix R with the corresponding angles α and -α with random numbers i and R -i Multiply them together to get the unit vector V along the directions of the three sub-branches t1 、V t2 Then, the sub-branch centerline is generated according to the sub-branch length (which can be obtained by the Weibel model) to obtain the bronchial tree centerline skeleton with different directions.
[0072] The vector is as follows, R x , R y , R z They are the rotation vectors corresponding to the angles in the x, y, and z directions respectively:
[0073]
[0074] R1=Q T R x Q (2)
[0075] R2=Q T R y Q (3)
[0076] R3=Q T R Z Q (4)
[0077]
[0078]
[0079]
[0080] V t1 =R i V=R i (x,y,z) (8)
[0081] V t2 =R -i V=R -i(x,y,z) (9)
[0082] The human respiratory tract classification model can be found in Figure 4 , and in the Weibel model, the length and diameter of each level of the respiratory tract have a corresponding relationship with the respiratory tract order. In one embodiment, the relationship between the length and diameter of each level of the respiratory tract and the respiratory tract order in the Weibel model is as follows:
[0083]
[0084]
[0085] Among them, z is the respiratory tract order, D is the respiratory tract diameter, and L is the respiratory tract length.
[0086] In step S22, the multiple bronchial tree centerline skeletons of different directions are compared with the direction of the respiratory tract in the CT tomographic image data, and the bronchial tree centerline skeletons that are consistent with the respiratory tract in the CT tomographic image data are screened out, and then the diameter of each branch point (which can be obtained from the Weibel model) is used to generate subdivided polygons along the bronchial tree centerline skeleton through subdivision modeling (Multipipe), and its geometric diameter is controlled to the defined diameter, thereby generating a bronchial tree flow channel and obtaining an idealized bronchial tree model that conforms to the anatomical structure. In addition, with the help of subdivision modeling, the smooth transition between the branches in the bronchial tree model can be controlled, and the diameter of each branch can be conveniently and accurately defined.
[0087] After subdivision modeling, there may be star points on the surface of the generated subdivision model. The subdivision model is used to generate a mesh and perform encryption once. Finally, the mesh is used to generate a new subdivision model to eliminate the star points and obtain an idealized bronchial tree model with smooth transitions between NURBS surfaces (such as Figure 5 (a)-(d)).
[0088] In step S3, three-dimensional Thiessen polygons are generated using RhinoGrasshopper based on a random algorithm, the three-dimensional Thiessen polygons are used to simulate the alveolar area formed by polyhedral cells, and the slime mold growth algorithm is used to construct the alveolar path in the three-dimensional Thiessen polygons to obtain an idealized polyhedral alveolar model of the terminal respiratory tract, which extends outward from the terminal bronchus.
[0089] In one embodiment, a random point cloud is generated according to the size of the alveoli, and a three-dimensional Thiessen polygon (such as Figure 6As shown in FIG. 1 , the alveolar path is constructed in the three-dimensional Thiessen polygon using the slime mold growth algorithm, and then smoothed using four-sided face reconstruction and subdivision modeling to obtain an idealized polyhedral alveolar model of the respiratory tract terminal. In this embodiment, the three-dimensional Thiessen polygon with sharp edges is smoothed, and the alveolar models before and after smoothing are shown in FIG. Figure 7 As shown in (a) and (b).
[0090] In one embodiment, the steps of generating a random point cloud according to the size of the alveoli, generating a three-dimensional Thiessen polygon using the random point cloud, and constructing an alveolar path in the three-dimensional Thiessen polygon using a slime mold growth algorithm specifically include:
[0091] S31, generating a first random point cloud according to the size of the alveoli in the area where the idealized polyhedral alveolar model needs to be generated, and generating three-dimensional Thiessen polygons using the first random point cloud;
[0092] S32, calculating the center of gravity of each three-dimensional Thiessen polygon, and shrinking the three-dimensional Thiessen polygon to a certain proportion of the original size based on the center of gravity as a reference point;
[0093] S33, shrinking the area where the idealized polyhedral alveolar model needs to be generated to the center of gravity of the first layer of Thiessen polygons, and generating a second random point cloud in the area where the idealized polyhedral alveolar model needs to be generated after the shrinkage according to the size of the alveoli;
[0094] S34, setting the second random point cloud as a food point in the slime mold growth model, creating a slime mold growth model, performing iterations, and then calculating the alveolar path.
[0095] In step S32, in one embodiment, the centroid of each three-dimensional Thiessen polygon is calculated, and the three-dimensional Thiessen polygon is shrunk to 60-80% of the original size with the centroid as a reference point.
[0096] In a further embodiment, the centroid of each three-dimensional Thiessen polygon is calculated, and the three-dimensional Thiessen polygon is shrunk to 80% of the original size based on the centroid as a reference point.
[0097] In step S33, the number of iterations is 4 to 8, and other numbers of iterations may be selected according to actual needs.
[0098] In one embodiment, after the alveolar path is obtained, before smoothing by using quadrilateral reconstruction and subdivision modeling, the method further includes:
[0099] Delete the polygonal faces passing through the alveolar path and connect the two adjacent three-dimensional Thiessen polygon edges to obtain the flow channel connecting each alveolus, perform geometric repair and create an idealized polyhedral alveolar model entrance. In this embodiment, the idealized polyhedral alveolar model entrance can be created according to design needs.
[0100] In step S4, in one embodiment, the step of splicing and assembling the real airway model, the idealized bronchial tree model and the idealized polyhedral alveolar model of the airway terminal according to the anatomical structure to obtain the human body full airway model specifically includes:
[0101] S41, performing planar segmentation on the real respiratory tract model to construct segmental bronchial outlets;
[0102] S42, constructing a connection surface between the segmental bronchial outlet and the idealized bronchial tree model to connect the real respiratory tract model with the idealized bronchial tree model;
[0103] S43, moving the idealized polyhedral alveolar model at the end of the respiratory tract to the center of the plane at the end of the idealized bronchial tree model, and constructing a connecting surface to connect the idealized polyhedral alveolar model at the end of the respiratory tract and the idealized bronchial tree model.
[0104] In step S41, the real respiratory model is plane-cut to construct the segmental bronchial outlet to facilitate the splicing of the bronchial tree at the end of the segmental bronchus. Of course, in order to facilitate numerical simulation, the real respiratory model can also be plane-cut to construct the nasal inlet, oral inlet, etc.
[0105] Furthermore, when the human full respiratory tract model is used for fluid dynamics calculations, it is also necessary to create a fluid domain geometry for computational fluid dynamics. Specifically, after completing the splicing of the real respiratory tract model, the idealized bronchial tree model, and the idealized polyhedral alveolar model at the end of the respiratory tract described in step S4, a shared topology is created to form a complete fluid calculation domain with shared connection planes.
[0106] An embodiment of the present invention further provides a human full respiratory tract model, wherein the human full respiratory tract model conforming to the real anatomical structure is constructed using the method for constructing the human full respiratory tract model according to the above embodiment of the present invention.
[0107] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of the method for constructing a human full respiratory tract model that conforms to the real anatomical structure as described in the above embodiment are implemented.
[0108] An embodiment of the present invention also provides a system for constructing a human full respiratory tract model that conforms to the real anatomical structure, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for constructing a human full respiratory tract model that conforms to the real anatomical structure as described in the above embodiment are implemented.
[0109] In summary, the present invention provides a method and system for constructing a human full respiratory tract model that conforms to the real anatomical structure. First, a three-dimensional reconstruction is performed based on CT tomographic image data to obtain a real respiratory tract model, and at the same time, the respiratory bronchial tree is expanded to the deep lung region based on the Weibel model and the anatomical structure to obtain an idealized bronchial tree model that conforms to the anatomical structure, and an idealized polyhedral alveolar model of the deep lung region is generated using a three-dimensional Thiessen polygon and a slime mold growth algorithm, and then the above three models are spliced and assembled to obtain the human full respiratory tract model. The method for constructing a human full respiratory tract model that conforms to the real anatomical structure provided by the present invention can generate a full respiratory tract geometry that includes bronchial geometries at all levels and can reflect the real anatomical structure of the respiratory tract for different populations, which can be used to carry out relevant research on respiratory mechanics, and provides a simplified and anatomically consistent model for further exploring the flow and transport laws at all levels of the respiratory tract. The research results can be applied to the fields of pulmonary drug delivery, vaccine development, and multi-scale simulation of respiratory flow. The method for constructing a human full respiratory tract model that conforms to the real anatomical structure provided by the present invention has a short modeling cycle, high reusability, and good scalability.
[0110] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for constructing a human respiratory tract model that conforms to the real anatomical structure. It is characterized in that Includes steps: Acquire CT tomographic image data of the upper body of the target object, perform threshold segmentation to obtain a respiratory mask, and use the respiratory mask to perform three-dimensional reconstruction to obtain a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi, and segmental bronchi; The Weibel model was used to generate the centerline skeleton of the bronchial tree using a three-dimensional rotation matrix with random angles, and subdivision modeling was performed to construct an idealized bronchial tree model that conforms to the anatomical structure. Generate a random point cloud according to the size of the alveoli, use the random point cloud to generate a three-dimensional Thiessen polygon, and use a slime mold growth algorithm to construct an alveolar path in the three-dimensional Thiessen polygon to obtain an idealized polyhedral alveolar model of the respiratory tract terminal; According to the anatomical structure, the real respiratory tract model, the idealized bronchial tree model and the idealized polyhedral alveolar model at the end of the respiratory tract are spliced and assembled to obtain the human body full respiratory tract model.
2. The method for constructing a human respiratory tract model that conforms to the real anatomical structure according to claim 1, It is characterized in that After three-dimensional reconstruction and smoothing using the respiratory mask, a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus is obtained.
3. The method for constructing a human respiratory tract model that conforms to the real anatomical structure according to claim 2, It is characterized in that The steps of obtaining a real respiratory model including the nasal cavity, oral cavity, pharynx, trachea, main bronchi, lobar bronchi and segmental bronchi after three-dimensional reconstruction and smoothing using the respiratory mask specifically include: The respiratory mask is used to perform three-dimensional reconstruction, and a respiratory triangular patch geometric model is obtained after calculation; The respiratory triangular patch geometric model is divided into the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus; After the triangular patch geometry of each part is reconstructed into four sides, it is subdivided and modeled to obtain the NURBS geometry of each part. The NURBS geometries of each part are spliced and repaired to obtain a real respiratory tract model with a smooth surface including the nasal cavity, oral cavity, pharynx, trachea, main bronchus, lobar bronchus and segmental bronchus.
4. The method for constructing a human respiratory tract model conforming to the real anatomical structure according to claim 1, It is characterized in that The steps of using the Weibel model and a three-dimensional rotation matrix with random angles to generate a bronchial tree centerline skeleton, perform subdivision modeling, and construct an idealized bronchial tree model that conforms to the anatomical structure specifically include: Using the length of each level of respiratory tract in the Weibel model and according to the position of the center point of the segmental bronchial terminal and the normal vector of the terminal plane, a three-dimensional rotation matrix with random angles was used to generate multiple bronchial tree centerline skeletons with different directions. The multiple bronchial tree centerline skeletons of different directions are compared with the direction of the respiratory tract in the CT tomographic image data to obtain a bronchial tree centerline skeleton that is consistent with the direction of the respiratory tract in the CT tomographic image data, and then the bronchial tree flow path is generated along the bronchial tree centerline skeleton by using the diameters of the respiratory tracts at each level in the Weibel model and through subdivision modeling to obtain an idealized bronchial tree model that conforms to the anatomical structure.
5. The method for constructing a human respiratory tract model conforming to the real anatomical structure according to claim 1, It is characterized in that A random point cloud is generated according to the size of the alveoli, and a three-dimensional Thiessen polygon is generated using the random point cloud. After the alveolar path is constructed in the three-dimensional Thiessen polygon using the slime mold growth algorithm, it is smoothed using four-sided face reconstruction and subdivision modeling to obtain an idealized polyhedral alveolar model of the respiratory tract terminal.
6. The method for constructing a human respiratory tract model conforming to the real anatomical structure according to claim 1, It is characterized in that The steps of generating a random point cloud according to the size of the alveoli, generating a three-dimensional Thiessen polygon using the random point cloud, and constructing an alveolar path in the three-dimensional Thiessen polygon using a slime mold growth algorithm specifically include: Generate a first random point cloud according to the size of the alveoli in the area where the idealized polyhedral alveolar model needs to be generated, and generate a three-dimensional Thiessen polygon using the first random point cloud; Calculate the centroid of each three-dimensional Thiessen polygon, and shrink the three-dimensional Thiessen polygon to a certain proportion of the original size based on the centroid as a reference point; Shrinking the area where the idealized polyhedral alveolar model needs to be generated to the center of gravity of the first layer of Thiessen polygons, and generating a second random point cloud in the area where the idealized polyhedral alveolar model needs to be generated after the shrinkage according to the size of the alveoli; The second random point cloud is set as the food point in the slime mold growth model, and the slime mold growth model is created and iterated to calculate the alveolar path.
7. The method for constructing a human respiratory tract model conforming to the real anatomical structure according to claim 6, It is characterized in that After obtaining the alveolar path, the following steps are also included before smoothing using quadrilateral reconstruction and subdivision modeling: Delete the polygonal faces passing through the alveolar path and connect the two adjacent 3D Thiessen polygon edges to obtain the flow channel connecting each alveolus, perform geometric repair and create an idealized polyhedral alveolar model entrance.
8. The method for constructing a human respiratory tract model that conforms to the real anatomical structure according to any one of claims 1 to 7, It is characterized in that The step of splicing and assembling the real respiratory tract model, the idealized bronchial tree model and the idealized polyhedral alveolar model at the end of the respiratory tract according to the anatomical structure to obtain the human body full respiratory tract model specifically includes: Performing planar cutting on the real respiratory tract model to construct segmental bronchial outlets; Constructing a connection surface between the segmental bronchial outlet and the idealized bronchial tree model to connect the real respiratory tract model with the idealized bronchial tree model; The idealized polyhedral alveolar model at the end of the respiratory tract is moved to the center of the plane at the end of the idealized bronchial tree model, and a connecting surface is constructed to connect the idealized polyhedral alveolar model at the end of the respiratory tract and the idealized bronchial tree model.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of the method for constructing a human full respiratory tract model that conforms to the real anatomical structure as described in any one of claims 1 to 8 are implemented.
10. A system for constructing a human respiratory tract model that conforms to the real anatomical structure. It is characterized in that The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for constructing a human full respiratory tract model conforming to the real anatomical structure as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Method for establishing upper respiratory tract-tracheal tree combined model based on three-dimensional reconstruction
CN113781637A
Method and system for constructing human body internal and external respiration integrated model based on CT image
CN113781651A
Method and device for medical image-assisted diagnosis of bronchiectasis
CN114010215A
Planar angular visualization of the bronchial tree
US20090148008A1
