Quick three-dimensional modeling method for virtual simulation of human anatomical structure
Patent Information
- Application Number
- CN202410772411.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118587361A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of computer graphics and virtual reality, and in particular to a rapid three-dimensional modeling method for virtual simulation of human anatomical structures. Background Art
[0002] In the process of clinical diagnosis and treatment, traditional 3D reconstruction technology mainly relies on multi-layer tomographic images of CT or MRI scans. Although these methods can provide high-precision static 3D models, they lack dynamic simulation capabilities and are expensive. On the other hand, although manually created teaching or surgical simulation models have good visual effects, they are insufficient in morphological accuracy and cost-effectiveness, and it is difficult to meet the needs of personalized medicine.
[0003] With the widespread application of deep learning technology in the field of image processing, 3D reconstruction technology based on a single medical image has gradually attracted attention. However, the single-image 3D reconstruction method has problems with precision and accuracy, and the training process requires a large amount of 3D data supervision, which poses a huge challenge to the collection and organization of data sets, especially for 3D data sets of human anatomical structures, which are scarce resources.
[0004] In order to solve the above problems, we can consider using differentiable rendering technology to transform the traditional non-differentiable rendering process into a differentiable function, so as to achieve the goal of directly introducing the rendering process into the neural network. Specifically, by applying differentiable rendering to single-image 3D reconstruction, a corresponding 3D mesh model of the human body structure can be generated from a single medical scan image. On this basis, the actual collected tissue and organ images are used as surface maps, and deformation dynamics constraints are applied. The final model can be virtually simulated in 3D space and time.
[0005] Although this method is feasible in theory, it still faces many challenges in practice, such as the creation of data sets, the design of network structures, and the development of algorithms. Therefore, developing a fast 3D modeling method for virtual simulation of human anatomical structures requires not only overcoming technical difficulties, but also solving bottlenecks in data acquisition and processing. Summary of the invention
[0006] 1. Technical issues to be solved
[0007] In view of the deficiencies in the prior art, the present invention provides a rapid three-dimensional modeling method for virtual simulation of human anatomical structures, which solves the problems raised in the above-mentioned background technology.
[0008] (II) Technical solution
[0009] To achieve the above objectives, the present invention is implemented through the following technical solutions: a rapid three-dimensional modeling method for virtual simulation of human anatomical structure, comprising the following steps:
[0010] Data preparation: Collect human anatomical data, including medical imaging data and existing 3D models;
[0011] Initial model construction: preprocessing the human anatomical data to generate an initial three-dimensional mesh model;
[0012] Tetrahedron reconstruction and deformation constraint: using the extended position dynamics (XPBD) method to perform deformation constraint processing on the three-dimensional mesh model to obtain a tetrahedron model that can be deformed in real time;
[0013] Material and lighting: constructing the material and lighting model of the three-dimensional model using physically based rendering (PBR) technology;
[0014] Texture mapping: collecting high-definition images of real human organs and tissues as the texture of the three-dimensional model;
[0015] Lighting simulation: Use high dynamic range (HDR) images to simulate real-world lighting to improve the visual realism of 3D models;
[0016] Adjustment and optimization: Make detailed adjustments and optimizations to the model according to actual needs;
[0017] Save and export: Save the optimized model in a standard file format for use in different virtual simulation environments.
[0018] Optionally, the preprocessing step includes mesh simplification and optimization of the human anatomical data to adapt to the requirements of the tetrahedral mesh.
[0019] Optionally, the deformation constraint processing step includes creating corresponding XPBD constraints and attribute parameters for the three-dimensional model according to characteristics of different tissues and structures.
[0020] Optionally, the material and lighting model building step includes defining PBR parameters according to the physical properties of each tissue and organ to achieve realistic reflection and absorption effects.
[0021] Optionally, the texture mapping step includes adapting and applying high-definition images of actual human organs and tissues to the surface of the three-dimensional model to enhance its visual realism.
[0022] Optionally, the step of simulating real environment lighting includes using HDR images to simulate different lighting conditions to provide diverse visual effects.
[0023] Optionally, the method is applicable to a rapid three-dimensional modeling system for virtual simulation of human anatomical structures, the system comprising:
[0024] A data collection module, used for collecting human anatomical data;
[0025] A preprocessing module, used for performing grid processing on the human anatomical data;
[0026] A deformation constraint module is used to perform deformation constraint processing on the processed three-dimensional mesh model using the extended position dynamics (XPBD) method;
[0027] A material and lighting model building module, which is used to build material and lighting models of 3D models using physically based rendering (PBR) technology;
[0028] Texture mapping module, used to collect high-definition images of real human organs and tissues and use them as textures for 3D models;
[0029] Ambient lighting simulation module, used to simulate real ambient lighting using high dynamic range (HDR) images.
[0030] Optionally, the preprocessing module includes a submodule for mesh simplification and optimization of the human anatomical data.
[0031] Optionally, the deformation constraint module includes a submodule for setting XPBD constraints and attribute parameters according to different tissue and structural characteristics.
[0032] (III) Beneficial effects
[0033] The present invention provides a rapid three-dimensional modeling method for virtual simulation of human anatomical structures, which has the following beneficial effects:
[0034] 1. Efficient personalized 3D reconstruction: By using deep learning and differentiable rendering technology, this method can quickly generate highly accurate personalized 3D mesh models using only a single medical image as input. This process greatly simplifies data requirements and processing procedures, and improves modeling speed and accuracy.
[0035] 2. Complete technical solution: This invention covers the entire technical chain from data set creation to end-to-end generation network construction and subsequent processing. This means that users can directly obtain high-quality 3D models that can be used for virtual simulation from the original 2D image data through this technical system.
[0036] 3. Training without 3D supervision: With the help of differentiable rendering technology, this method does not need to rely on 3D data supervision during model training, thereby reducing the complexity of data collection and annotation. This helps to expand the scale of training data sets and improve the generalization ability of the model.
[0037] Overall, the present invention provides an innovative 3D modeling technology that can not only effectively process personalized medical data, but also provide accurate and practical 3D human models for medical diagnosis and education. The application of this technology is expected to promote research and practice in related fields to a new level. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 Flowchart for 3D modeling of human anatomy from a single image based on deep learning; DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] See also Figure 1 The present invention provides a technical solution: a rapid three-dimensional modeling method for virtual simulation of human anatomical structure, comprising the following steps:
[0041] 1. Data preparation: Collect high-quality human anatomical data, including medical imaging data and existing 3D models.
[0042] 2. Initial model construction: Use existing 3D modeling software or tools to quickly generate an initial mesh model.
[0043] 3. Tetrahedron reconstruction: Reconstruct the initial mesh model into a tetrahedron model to improve the stability and deformation ability of the model.
[0044] 4. Deformation constraints: The extended positional dynamics (XPBD) method is applied to assign deformation constraints to the tetrahedron model so that the model can simulate the mechanical properties of different tissues.
[0045] 5. Materials and lighting: Use physically based rendering (PBR) technology to build material and lighting models of human tissues and organs to enhance the visual realism of the model.
[0046] 6. Texture mapping: Collect real high-definition images of human organs and tissues as textures, fit them to the model surface, and improve the surface details of the model.
[0047] 7. Lighting simulation: Use high dynamic range (HDR) image technology to simulate real environmental lighting effects, so that the model can remain highly realistic under different lighting conditions.
[0048] 8. Adjustment and optimization: Adjust and optimize the model in detail according to actual needs to ensure that it meets the requirements of anatomical accuracy and can achieve efficient real-time interaction.
[0049] 9. Save and export: Save the optimized model in a standard file format for use in different virtual simulation environments.
[0050] A human anatomical structure dataset containing three-dimensional models and multiple images: Create a relatively complete three-dimensional mesh model of the human anatomical structure that includes the main organs and tissues of the nine major systems of the human body, and for each organ and tissue model, use mesh editing and deformation methods to create different variant models of the same tissue based on the real organ surface data. Develop an X-ray scanning image drawing algorithm based on the standard rasterization rendering process, draw a pseudo X-ray scanning image, surface normal map and vertex displacement map for each organ or tissue model at intervals of 15° along the three axes, and record the camera data of each viewpoint. Thus, a dataset containing X-ray scans, normals and vertex displacement images corresponding to different organs and tissues and different viewpoints is formed.
[0051] Working principle: 3D mesh models are widely used in computer-aided design, virtual reality, film and television production, game development, and medical virtual simulation due to their simplicity, flexibility, ease of processing, and ease of expressing smoother surfaces. Based on the original mesh model, surface vertex transformations are performed using direct editing, interpolation, deformation, and other methods to generate different variant models. Using standard rasterization rendering, corresponding image shading programs are created based on depth, normal, and displacement along the normal direction, and the rotation and translation matrices of the virtual camera and the parameters of the virtual camera are recorded under different viewing angles. Using the main independent organ and tissue models under each major system as the catalog, the 3D models, images, and camera data are classified and sorted to obtain a virtual data set that can be used for training and testing.
[0052] A network architecture based on image generation and differentiable rendering: a CGAN-based graph-to-graph model is established to generate pseudo X-ray, normal and displacement images, and then combined with real X-ray images to train a generator from X-ray images to normal and displacement images; then a learning framework based on a CNN encoding-decoding structure is established, combined with a differentiable renderer to use multi-angle normal and displacement images as supervision, to learn to deform a neutral model into the shape of a target organ, so as to train a three-dimensional shape reasoning model based on vertex offset, thereby achieving fast three-dimensional modeling.
[0053] Working principle: CGAN is widely used in image generation and image-to-image generation tasks. Improvements in recent years have also increased its stability. It can be used to convert single-view X-ray images into corresponding normal maps and displacement maps. The normal map can not only provide two-dimensional contour information, but also provide three-dimensional vertex orientation information on the surface. At the same time, the displacement map offset information in the normal direction can provide rich two-dimensional and three-dimensional supervision for the model learning process. Each iteration generates an offset for the vertex position of the template model, and draws the current normal and displacement map through a differentiable renderer and compares it with the Ground Truth to participate in the optimization of the objective function. The trained model can receive single-view X-ray scan images, perform surface deformation on the template model, and quickly obtain the mesh model of the corresponding organ.
[0054] A post-processing method suitable for generating mesh models for virtual simulation: the mesh model generated by the scheme is reconstructed into a tetrahedral model and given deformation constraints based on extended positional dynamics (XPBD). In addition, a physically based rendering method (PBR) is used to construct the material and lighting model of human soft tissues and organs, and high-definition real human organ and tissue images are collected as textures, and HDR images are used to simulate real-world environmental lighting.
[0055] Working principle: XPBD is often used in real-time deformation visualization simulation due to its high efficiency, stability and ease of implementation. For the mesh model generated by this solution, corresponding constraints and attribute parameters are created for different tissues and structures, so that the model can be used for interactive real-time simulation of human soft tissues. PBR is based on the microplane theoretical model to construct a bidirectional reflectance distribution function that conforms to physical rules, and can use multi-layer textures to transmit different physical information to calculate lighting effects close to physical reality. Parameter templates are set for different tissues and organ types, and the generated mesh model can be quickly post-processed to meet the needs of virtual simulation.
[0056] This rapid 3D modeling method for virtual simulation of human anatomical structures converts the generated mesh model into a model suitable for virtual simulation through a series of efficient post-processing methods, and gives it highly realistic physical properties and visual effects. This method not only simplifies the modeling process and reduces the difficulty of modeling, but also improves the quality and authenticity of the model, and has important application value in medical education, surgical simulation, rehabilitation therapy and other fields.
[0057] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A rapid three-dimensional modeling method for virtual simulation of human anatomical structure, characterized by: The following steps are involved: Data preparation: Collect human anatomical data, including medical imaging data and existing 3D models; Initial model construction: preprocessing the human anatomical data to generate an initial three-dimensional mesh model; Tetrahedron reconstruction and deformation constraint: using the extended position dynamics (XPBD) method to perform deformation constraint processing on the three-dimensional mesh model to obtain a tetrahedron model that can be deformed in real time; Material and lighting: constructing the material and lighting model of the three-dimensional model using physically based rendering (PBR) technology; Texture mapping: collecting high-definition images of real human organs and tissues as the texture of the three-dimensional model; Lighting simulation: Use high dynamic range (HDR) images to simulate real-world lighting to improve the visual realism of 3D models; Adjustment and optimization: Make detailed adjustments and optimizations to the model according to actual needs; Save and export: Save the optimized model in a standard file format for use in different virtual simulation environments.
2. A rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The preprocessing step includes mesh simplification and optimization of the human anatomical data to adapt to the requirements of the tetrahedral mesh.
3. A rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The deformation constraint processing step includes creating corresponding XPBD constraints and attribute parameters for the three-dimensional model according to the characteristics of different tissues and structures.
4. The rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The material and lighting model building step includes defining PBR parameters according to the physical properties of each tissue and organ to achieve realistic reflection and absorption effects.
5. The rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The texture mapping step includes adapting and applying high-definition images of actual human organs and tissues to the surface of the three-dimensional model to enhance its visual realism.
6. The rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The step of simulating real environment lighting includes using HDR images to simulate different lighting conditions to provide diverse visual effects.
7. The rapid three-dimensional modeling method for virtual simulation of human anatomical structure according to claim 1, characterized in that: The method is applicable to a rapid three-dimensional modeling system for virtual simulation of human anatomical structures, and the system comprises: A data collection module, used for collecting human anatomical data; A preprocessing module, used for performing grid processing on the human anatomical data; A deformation constraint module is used to perform deformation constraint processing on the processed three-dimensional mesh model using the extended position dynamics (XPBD) method; A material and lighting model building module, which is used to build material and lighting models of 3D models using physically based rendering (PBR) technology; Texture mapping module, used to collect high-definition images of real human organs and tissues and use them as textures for 3D models; Ambient lighting simulation module, used to simulate real ambient lighting using high dynamic range (HDR) images.
8. The system according to claim 7, characterized in that The preprocessing module includes a submodule for mesh simplification and optimization of the human anatomical data.
9. The system according to claim 8, characterized in that The deformation constraint module includes submodules for setting XPBD constraints and attribute parameters according to different tissue and structural characteristics.
