Human organ three-dimensional model repairing method based on graph convolution generation network
Through the human organ 3D model repair method based on the graph convolution generation network, the problem of rough and lack of personalization of the human organ 3D model repair results in the existing technology is solved, and a more refined and personalized repair effect is achieved, which is suitable for clinical use. Prosthetic body design.
Patent Information
- Application Number
- CN202410608718.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-16
AI Technical Summary
When using existing technology to repair three-dimensional models of human organs, especially when repairing facial defects, the repair results are rough and lack of personalization, and existing methods have the problem of loss of detailed information when applied to human organs.
A three-dimensional human organ model repair method based on graph convolution generation network is used to generate the model through structured data set training. The graph convolution neural network is used to perform feature extraction and repair on the grid structure, and the optimization method is used to iteratively solve and generate the optimal The results are fit and post-processed to improve smoothness and personalization of the repaired area.
It achieves smoother and more refined repair results, provides a personalized and automated clinical prosthesis design auxiliary method, and the average edge tightness of the repair area reaches clinical application standards.
Smart Images

Figure CN118537518A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network. Background Art
[0002] In hospitals, patients with facial defects are often encountered. Due to various reasons (accidents, diseases, etc.), their faces have different degrees of defects. During diagnosis, after the face scanning instrument and the doctor's appropriate adjustment, a digital facial model can be obtained. The role of the present invention is to generate a complete facial model based on the defective facial model, and ensure that the consistency of the non-defective area and the edge tightness of the repair area meet the clinical application index. Then the doctor can directly obtain the three-dimensional model of the repair area generated by the present invention for subsequent prosthesis design and manufacturing. The method of the present invention is universal and can be applied to human organs or tissues such as the face and jaw.
[0003] After the rapid development of deep learning, deep learning-based 3D model repair methods have long surpassed traditional geometric structure-based methods in terms of efficiency and results. In the computer field, in recent years, the common idea of 3D model repair (also known as point cloud, shape completion, point-cloud completion, shape completion) is to design an end-to-end neural network, which extracts features from the defective point cloud model (or voxel structure model) and compresses it to a low dimension, and then decodes and generates it to obtain a complete point cloud model. Some work on shape completion in the computer field is listed in the prior art. These methods are mainly evaluated on general 3D model datasets (such as shapenet). Since the point cloud structure data itself does not have an adjacency relationship between vertices, and voxel data occupies a large amount of memory, its actual use is often limited by resolution. Therefore, when the existing methods are applied to human organs (such as faces), the repair results obtained are often very rough, and after smoothing, a lot of detail information will be lost.
[0004] There are generally two commonly used prosthesis design methods in the medical field: one is the mirror method, which is relatively simple and crude. For example, if the patient's facial defect does not cross the central axis, the shape of the mirror area can be directly used as a reference for repair. This method can be used for symmetrical organs such as the face and jaw. The other is the database method. Hospitals generally have a large case library. When diagnosing, they can select the case most similar to the patient from the case library as a reference for prosthesis design. If the mirror method cannot be used, matching from the database often makes the repair result lack of personalization, and the boundaries of the repair area need to be manually adjusted to fit the patient's face. Summary of the invention
[0005] The purpose of the present invention is to provide a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network to solve the problems existing in the above-mentioned background technology.
[0006] To achieve the above object, the present invention provides a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, comprising the following steps:
[0007] S1, training phase: a generative model is trained through a structured data set. After the training is completed, the decoder part is extracted separately as a generator;
[0008] S2, reasoning stage: for the missing input data (point cloud, grid and other storage forms), the generator is used to iteratively solve the optimal fitting result through optimization method;
[0009] S3, post-processing stage: obtaining a repair model according to the fitting result of step S2.
[0010] Preferably, the training phase of step S1 is used to obtain a generative model applied to a specific human organ part. Taking the face as an example, there are many public data sets for facial models, and hospitals also have non-public databases for scientific research. With the approval of ethical review, non-rigid registration can be used to uniformly register the collected facial data to the same topological structure to obtain a structured data set. There is no rigid requirement for the size of the data set. It is generally believed that a few hundred to a few thousand examples are sufficient for training to achieve good results. The data set is then used to train the model through a graph convolutional neural network.
[0011] Preferably, the graph convolutional neural network architecture extracts features from the three-dimensional model globally and locally respectively. The basic module of feature extraction is a three-layer structure consisting of a graph convolution layer-activation layer-downsampling layer (the local path does not include a downsampling layer), while the generation module is a completely opposite structure. Since the repair result based on point cloud shape completion is very rough, the neural network in this repair method directly extracts features on the grid structure. Since the grid is an irregular structure, a graph convolution method is used to perform convolution operations on the grid, which makes full use of the adjacency information stored in the grid structure, making the method of the present invention smoother and more refined in terms of results.
[0012] Preferably, the decoder in the training phase is used for the generator in the inference phase to perform the generation task. It should be noted that the method in the inference phase is mainly used in the actual application of the present invention, and the purpose of the training phase is only to train the generator for the corresponding part. For the defective input model M_d, the shape fitting process is described as the optimal form, as follows:
[0013]
[0014] st||z||2=1 (2)
[0015] Among them, (1) is the optimization target: the average distance after rigid transformation, (2) is the constraint condition: the latent vector is normalized, z∈R^256 represents the latent space vector, dec is the decoder, is a rigid transformation, and D is the distance from the point to the surface.
[0016] Preferably, the optimal form is generally solved by iterative optimization, specifically: first randomly initialize the latent space vector z, and use the generator to generate a complete model, then use D to calculate the loss (the differentiable point-to-plane distance calculation formula is implemented, which belongs to the scope of program writing and will not be expanded in detail here), and the absolute difference between two adjacent calculated losses is used to determine whether the loss function converges. If it does not converge, continue to iteratively optimize z. If it converges, it is considered that a complete model with a good fitting result has been generated.
[0017] Preferably, in the post-processing stage, for the inconsistency between the non-defective regions of the fitting results and the defective model input, a series of processing is performed on the fitting results using an engineering method, as follows:
[0018] S31, identifying the repair part of the fitting result by using a threshold method;
[0019] S32, projecting the vertices of the non-defective area onto the surface of the input model along the normal direction;
[0020] S33, for each vertex of the defective area, find K nearest neighbors in the extended part of the edge of the defective area, and translate according to the displacement of the K nearest neighbors;
[0021] S34, smoothing the defective area and all areas of the extended part.
[0022] Therefore, the present invention adopts the above-mentioned human organ three-dimensional model repair method based on graph convolution generation network, which has the following beneficial effects:
[0023] (1) Compared with the shape completion method in the computer field, the repair method of the present invention directly acts on the grid structure, making the repair result smoother and more refined;
[0024] (2) Compared with the existing clinical prosthesis design methods, the repair method proposed in the present invention is more personalized and automated, and is a novel and efficient auxiliary method;
[0025] (3) In the clinical nasal defect completion test, the average edge tightness of the repaired area of 20 patients with nasal defects was 0.33 mm, and the repaired shape was visually reasonable and met the needs of clinical use.
[0026] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of a graph convolutional neural network of an embodiment of a method for repairing a three-dimensional model of a human organ based on a graph convolutional generation network according to the present invention;
[0028] Figure 2 is a flow chart of the repair method of the present invention;
[0029] Figure 3 This is a schematic diagram of a face model restoration example in the present invention;
[0030] Figure 4 Schematic diagram of the repair application of the clinical nasal defect sample of the present invention. DETAILED DESCRIPTION
[0031] Example
[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0033] like Figure 1-2 As shown, a method for repairing a 3D model of a human organ based on a graph convolutional generative network comprises the following steps:
[0034] S1. Training phase: Train a generative model through a structured data set. After the training is completed, extract the decoder part separately as a generator. This phase is used to obtain a generative model applied to a specific part of the human body. Taking the face as an example, there are many public data sets for facial models. Hospitals also have non-public databases for scientific research. With the approval of ethical review, non-rigid registration can be used to uniformly register the collected facial data to the same topological structure to obtain a structured data set. There is no rigid requirement for the size of this data set. It is generally believed that a few hundred to a few thousand examples are sufficient for training to achieve good results. Then use this data set to train the model through a graph convolutional neural network.
[0035] The graph convolutional neural network architecture extracts features from the three-dimensional model both globally and locally. The basic module of feature extraction is a three-layer structure consisting of a graph convolution layer-activation layer-downsampling layer (the local path does not include a downsampling layer), while the generation module is a completely opposite structure. Since the repair result of shape completion based on point clouds is very rough, the neural network in this repair method directly extracts features on the grid structure. Since the grid is an irregular structure, a graph convolution method is used to perform convolution operations on the grid, which makes full use of the adjacency information stored in the grid structure, making the method of the present invention smoother and more refined in terms of results.
[0036] S2, reasoning stage: for the missing input data (point cloud, grid and other storage forms), the generator is used to iteratively solve the optimal fitting result through optimization method;
[0037] The decoder in the training phase is used by the generator in the inference phase to perform the generation task. It should be noted that the method in the inference phase is mainly used in the actual application of the present invention, and the purpose of the training phase is only to train the generator for the corresponding part. For the defective input model M_d, the shape fitting process is described as the optimal form, as follows:
[0038]
[0039] st||z||2=1 (2)
[0040] Among them, (1) is the optimization target: the average distance after rigid transformation, (2) is the constraint condition: the latent vector is normalized, z∈R^256 represents the latent space vector, dec is the decoder, is a rigid transformation, and D is the distance from the point to the surface.
[0041] The optimization form is generally solved by iterative optimization, specifically: first randomly initialize the latent space vector z, and use the generator to generate a complete model, then use D to calculate the loss (the differentiable point-to-plane distance calculation formula is implemented, which belongs to the scope of program writing and will not be expanded in detail here), and the absolute difference between two adjacent loss calculations is used to determine whether the loss function converges. If it does not converge, continue to iteratively optimize z. If it converges, it is considered that a complete model with good fitting results has been generated.
[0042] S3, post-processing stage: obtaining a repair model according to the fitting result of step S2.
[0043] In the post-processing stage, when there is inconsistency between the non-defective area between the fitting result and the defect model input, an engineering method is used to perform a series of processing on the fitting result, as follows:
[0044] S31, identifying the repair part of the fitting result by using a threshold method;
[0045] S32, projecting the vertices of the non-defective area onto the surface of the input model along the normal direction;
[0046] S33, for each vertex of the defective area, find K nearest neighbors in the extended part of the edge of the defective area, and translate according to the displacement of the K nearest neighbors;
[0047] S34, smoothing the defective area and all areas of the extended part.
[0048] By describing the implementation method on face model restoration as an example of the present invention, in fact all human organs that can obtain structured data sets can be restored in the same way.
[0049] First, we provide a verified computer hardware and software configuration for neural network training and reasoning:
[0050] operating system Ubuntu 22.04 CUDA Version 12.1 Python Version 3.10 PyTorch Version 2.1.0 GPU Model NVIDIA GeForce RTX 4090
[0051] It should be noted that the above configuration can be replaced by any similar configuration as long as the training and reasoning processes in the present invention can be implemented, and is not limited to the configuration used in the verification of the present invention.
[0052] Secondly, the preparation of structured data sets. For human faces, there are many public data sets, such as FaceScape, Headspace, etc. You can also use non-public data sets approved by ethical review, such as facial data collected by hospitals with the consent of patients. After the collection is completed, all facial data are aligned to a unified topological structure using a non-rigid registration method. Non-rigid registration is a method well known to people in the computer field, and the principle of the method is not introduced in detail here. After obtaining the structured data set, the model is trained using the solution of the training phase in the present invention to obtain a generator.
[0053] For the missing facial data, the inference phase scheme of the present invention is used to perform model repair to obtain a complete repair result. The repaired part of the repair result can be taken out separately to assist in the design of facial prosthesis.
[0054] The present invention has been rigorously verified in face model restoration. Figure 3 As shown in the figure, the first line is the constructed defect sample, the second line is the repair result, and the third line is the real model. In addition, the present invention also gives the repair results based on the defect facial models of 20 patients with nasal defects provided by the hospital. The average edge fit of the repaired area of the 20 repair results is 0.33mm, which meets the clinical use needs. Figure 4 This is just one of the cases shown.
[0055] It is necessary to mention other replaceable parts of the present invention. First, there is no restriction on the training data, which can be public or non-public, and only needs to be aligned to a unified topological structure; secondly, the design of the generated network. The present invention only provides a neural network structure that has been experimentally verified to be effective, and there is no strict restriction on its structure. As long as a generator that meets the condition of "generating a complete three-dimensional model according to latent space parameters" can be obtained through training, it falls within the scope of protection of the present invention.
[0056] Therefore, the present invention adopts the above-mentioned method of repairing three-dimensional models of human organs based on graph convolutional generation networks to provide an automated and personalized solution for the design of human organ prostheses in clinical practice. From a computer perspective, it is to generate a structured complete three-dimensional model given a defective three-dimensional model, and ensure the consistency of the non-defective area and the closeness of the edge of the repair area.
[0057] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for repairing 3D models of human organs based on graph convolutional generative networks. It is characterized in that The following steps are involved: S1, training phase: a generative model is trained through a structured data set. After the training is completed, the decoder part is extracted separately as a generator; S2, reasoning stage: for the missing input data, the generator is used to iteratively solve the optimal fitting result through optimization method; S3, post-processing stage: obtaining a repair model according to the fitting result of step S2.
2. According to claim 1, a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, Features: The training phase of step S1 is used to obtain a generative model applied to a specific human organ part, and the collected data is uniformly non-rigidly registered to the same topological structure to obtain a structured data set, which is used to train the model through a graph convolutional neural network.
3. According to claim 2, a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, Features: The graph convolutional neural network architecture extracts features of the three-dimensional model from both global and local perspectives. The basic module of feature extraction is a three-layer structure consisting of a graph convolution layer-activation layer-downsampling layer, and the generation module is a completely opposite structure.
4. According to claim 1, a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, Features: The decoder in the training phase is used for the generator in the inference phase. For the defective input model M_d, the shape fitting process is described in the optimal form as follows: s.t.||z|| 2 =1 (2) Among them, (1) is the optimization target: the average distance after rigid transformation, (2) is the constraint condition: the latent vector is normalized, z∈R^256 represents the latent space vector, dec is the decoder, is a rigid transformation, and D is the distance from the point to the surface.
5. According to claim 4, a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, It is characterized in that The optimal form is solved by iterative optimization, specifically: first randomly initialize the latent space vector z, and use the generator to generate a complete model, then use D to calculate the loss, and judge whether the loss function converges by the absolute difference between two consecutive calculations of the loss. If it does not converge, continue to iteratively optimize z. If it converges, it is considered that a complete model with good fitting results has been generated.
6. According to claim 1, a method for repairing a three-dimensional model of a human organ based on a graph convolutional generative network, It is characterized in that In the post-processing stage, when there is inconsistency between the non-defective area between the fitting result and the defect model input, an engineering method is used to perform a series of processing on the fitting result, as follows: S31, identifying the repair part of the fitting result by using a threshold method; S32, projecting the vertices of the non-defective area onto the surface of the input model along the normal direction; S33, for each vertex of the defective area, find K nearest neighbors in the extended part of the edge of the defective area, and translate according to the displacement of the K nearest neighbors; S34, smoothing the defective area and all areas of the extended part.
Citation Information
Patent Citations
A face image restoration method based on a generation antagonism network
CN109377448A
Human face restoration model training method, restoration method, device and equipment and medium
CN111507914A
Face image restoration method introducing attention mechanism
CN111612718A
Silk pattern image restoration method based on context fusion
CN111667443A
Grid generation method based on graph convolution
CN115761180A
