Sparse view angle face reconstruction method and device based on three-dimensional Gaussian

By introducing a stable diffusion model and a PBR model, the problems of slow rendering speed and inconsistent perspective in face reconstruction under sparse viewpoints are solved, achieving efficient and stable 3D face reconstruction and material modeling, and supporting real-time rendering and material reconstruction.

CN119006709AActive Publication Date: 2024-11-22ZHEJIANG UNIV

Patent Information

Application Number
CN202411056556.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-22
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

Existing technologies for face reconstruction under sparse viewpoints suffer from slow rendering speed, poor editability, and inconsistent viewpoints. In particular, methods based on implicit neural fields are insufficient in training and rendering speed, and the results generated by stable diffusion models are inconsistent across different viewpoints.

Method used

A stable diffusion model is introduced to supplement information through generative methods, and facial attribute analysis is used to optimize the final reconstruction results, avoiding local optima and overfitting. Combined with a sparse view face reconstruction method of 3D Gaussian, including steps such as initial point cloud generation, geometric optimization, and material reconstruction, a PBR model is used for face material modeling.

Benefits of technology

It achieves efficient and stable 3D face reconstruction under sparse viewpoints, avoiding the problems of slow rendering speed and inconsistent viewpoints, providing high-quality new viewpoint face image rendering, and supporting real-time rendering and accurate material reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006709A_ABST
    Figure CN119006709A_ABST
Patent Text Reader

Abstract

The invention provides a sparse view angle face reconstruction method and device based on three-dimensional Gaussian, and the method is based on the three-dimensional Gaussian initialization point cloud generation of a neural network, carries out the intelligent recognition of a real shot image through a computer vision technology, and obtains an accurate face reconstruction result. Then face Gaussian preliminary reconstruction of sparse data under 10 visual angles is carried out, three-dimensional Gaussian fits the geometric surface of the face in optimization through preliminary optimization, and geometric optimization provides a good geometric basis for subsequent face material reconstruction; a stable diffusion model is introduced, a higher optimization weight is given to real shooting data for further optimization, and finally face appearance reconstruction based on the modeling result and a PBR model is carried out. According to the method, under the condition that the input image information is insufficient, the defect that the information is insufficient is made up by effectively initializing the input limitation and stabilizing the diffusion model, and the situation that sparse three-dimensional Gaussian reconstruction is prone to failure and falls into a local optimal value is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sparse reconstruction of real human faces, and in particular to a sparse viewpoint human face reconstruction method and device based on three-dimensional Gaussian. Background Art

[0002] The research background related to the present invention is briefly described as follows:

[0003] The 3D reconstruction of the face has always been a hot topic in the field of graphics and vision. Because the human eye is very sensitive to changes in the appearance of the face, the reconstruction results of the face are generally required to be very high. In recent years, 3D reconstruction technology has been deeply connected and integrated with neural networks and deep learning technologies. The emergence of Nerf pioneered the use of differentiable rendering to solve the 3D reconstruction problem, but the method based on implicit neural fields is very slow in training and rendering speed. Nerf technology has the problem that a ray needs to be sampled and calculated multiple times, resulting in slow rendering speed. In addition, Nerf uses MLP as a scene expression method, which also leads to huge challenges to editability. The emergence of 3DGaussian in 2023 solved the long-standing problem of the incompatibility between differentiable requirements and rendering speed and explicit scene expression. He established a new scene expression method that simultaneously met the requirements of faster rendering speed, explicit, editable expression and differentiable rendering framework, so it is an important future development direction.

[0004] The stable diffusion model is a very popular large model in recent years. It is mainly used for image generation and supports end-to-end text-to-image and image-to-image tasks. For our process, the introduction of the stable diffusion model can solve the problem of insufficient information in sparse perspective reconstruction through image restoration methods. By introducing the two modules of ControlNet and Ip-Adapter, the problem of inconsistent results generated by the stable diffusion model under different perspectives is alleviated, ensuring that the restoration results using the stable diffusion model will not negatively optimize the reconstruction results of the three-dimensional Gaussian. Summary of the invention

[0005] In view of the shortcomings of existing methods, the present invention designs a sparse view face reconstruction method based on three-dimensional Gaussian. The method introduces a stable diffusion model, supplements the insufficient information through a generation method, uses attribute analysis of the face, adds a priori in the optimization in advance, optimizes the final reconstruction result, and avoids falling into the local optimum and overfitting problems.

[0006] The present invention is achieved through the following technical solutions:

[0007] The first aspect of the present invention is a sparse viewpoint face reconstruction method based on three-dimensional Gaussian, comprising the following steps:

[0008] (1) A basic model of the human face was fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model was established to generate a facial point cloud model as the initial 3D Gaussian data for 3D Gaussian training;

[0009] (2) Use computer vision technology to intelligently identify real-life images, extract the mask of the subject, and filter out the background influence, thereby obtaining accurate face reconstruction results;

[0010] (3) Perform preliminary Gaussian reconstruction of the face from sparse data at 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as optimization targets, and reconstruct the face geometry including the hair and shoulders;

[0011] (4) The initial optimization is based on the appearance characteristics of the face. The initial opacity value of the three-dimensional Gaussian is set to 1, so that the three-dimensional Gaussian fits the surface of the face geometry during the optimization, avoiding the appearance of translucency and blur distortion in the three-dimensional Gaussian reconstruction of sparse perspectives;

[0012] (5) In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction;

[0013] (6) The stable diffusion model is introduced to repair and complete the rendering result images under 14 new perspectives generated by the preliminary optimization, and the optimized results are added to the optimization target; due to the inconsistent perspectives caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring caused by inconsistent perspectives and appearance flickering under different perspectives; finally, an ordinary Gaussian reconstruction result containing only color and opacity information is obtained;

[0014] (7) The facial material is modeled using a three-dimensional Gaussian reconstruction method that can change the lighting. The facial appearance is reconstructed based on the PBR model using the ordinary Gaussian reconstruction result that only contains color and opacity information.

[0015] Furthermore, the step (1) includes the following sub-steps:

[0016] (1.1) Extracting vertex data from the rough face model fitted by the neural network method, taking the vertex of each triangular face as the initial three-dimensional coordinate of a three-dimensional Gaussian element;

[0017] (1.2) According to the information of the triangle face, the normal direction of the vertex is calculated, and the normal direction of all the triangle faces adjacent to the vertex is used as the normal direction of the vertex. The initial scale of the initial three-dimensional Gaussian element is initialized to align its shortest axis direction with the normal direction of the vertex.

[0018] Furthermore, the step (2) includes the following sub-steps:

[0019] (2.1) Use existing computer vision image recognition technology to identify the main person in the actual captured image and draw its mask image;

[0020] (2.2) The background part in the real shot image is eliminated according to the mask, and only the main image is used as the optimization target. When using 3D Gaussian reconstruction, the corresponding mask information is read in, and the image loss within the main range is not calculated.

[0021] Furthermore, the step (3) mainly includes the following sub-steps:

[0022] (3.1) Using the image captured by the camera and having been subjected to step (2) as the optimization target, using the pre-corrected camera pose, using the facial point cloud model obtained in step (1) as the initialization 3D Gaussian data for 3D Gaussian training, and setting the initial opacity value of the 3D Gaussian to 1, performing iterative optimization, so that the initial geometric data is further refined;

[0023] (3.2) By calculating the 3D coordinate range of the initial point cloud and dynamically expanding it during the optimization process, a 3D Gaussian bounding box is established to improve the encryption and pruning operations of the 3D Gaussian, and geometric reconstruction of other locations besides the face, including hair and shoulders, is achieved;

[0024] (3.3) During the optimization process, Gaussian elements that exceed the bounding box are actively removed to prevent excessive diffusion of Gaussian elements in three-dimensional space and trapping in local optimal values.

[0025] Furthermore, the step (6) includes the following sub-steps:

[0026] (6.1) Rendering the three-dimensional Gaussian result obtained by preliminary optimization with a new perspective, limiting the perspective to a 180-degree area facing the front of the face, and obtaining 14 new perspective rendering results that are close to the previous real shooting perspective;

[0027] (6.2) Use the stable diffusion model to repair the image. Use the end-to-end stable diffusion model alignment to repair the holes and blurs in the rendering results of the new view. Add ControlNet and Ip-Adapter to the stable diffusion model to ensure that the original image information is not changed as much as possible on the basis of the repaired image.

[0028] (6.3) The restoration results of the 14 new perspectives and the actual captured images of the previous 10 perspectives are combined as new optimization targets; the previously optimized 3D Gaussian results are used as initial input for further iterative optimization.

[0029] Furthermore, the step (7) includes the following sub-steps:

[0030] (7.1) The obtained ordinary Gaussian reconstruction result containing only ordinary attributes is used as a staged input to perform a three-dimensional Gaussian-based appearance reconstruction of the face, and the shortest axis of the Gaussian is used as the normal direction of the Gaussian;

[0031] (7.2) Add a PBR attribute channel to each 3D Gaussian, including roughness and albedo information, use the new 3D Gaussian rendering framework for differentiable rendering, calculate the gradient and back-propagate, and obtain the appearance material parameter fitting result of the face.

[0032] Specifically, the reconstruction in step (8) includes material parameters including roughness, highlight, base color, and local illumination.

[0033] The second aspect of the present invention: The present invention also proposes a sparse viewpoint face reconstruction device based on three-dimensional Gaussian, which includes the following modules:

[0034] 3D Gaussian Initialization Point Cloud Generation Module: The basic model of the human face is fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model is established to generate a facial point cloud model as the initialization 3D Gaussian data for 3D Gaussian training;

[0035] Face reconstruction module: Use computer vision technology to intelligently identify real pictures, extract the mask of the subject, and filter out the background influence, so as to obtain accurate face reconstruction results;

[0036] Preliminary face geometry reconstruction module: Perform preliminary Gaussian reconstruction of sparse face data from 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as the optimization target, and perform face geometry reconstruction including hair and shoulders;

[0037] Preliminary optimization module: Preliminary optimization is based on the appearance characteristics of the face. The initial opacity value of the 3D Gaussian is set to 1, so that the 3D Gaussian fits the geometric surface of the face during optimization, avoiding the appearance of translucency and blur distortion in the 3D Gaussian reconstruction of sparse perspectives;

[0038] Gaussian element removal module: In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction;

[0039] Repair and Optimization Module: Introduce a stable diffusion model to repair and complete the rendering result images under 14 new perspectives generated by the preliminary optimization, and add the optimized results to the optimization target; Due to the inconsistent perspectives caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring caused by inconsistent perspectives and appearance flickering under different perspectives; Finally, a normal Gaussian reconstruction result containing only color and opacity information is obtained;

[0040] The facial appearance reconstruction module of the PBR model: the facial material is PBR modeled using a three-dimensional Gaussian reconstruction method that can change the lighting. The facial appearance is reconstructed based on the PBR model on the final ordinary Gaussian reconstruction result containing only color and opacity information. The reconstruction includes material parameters such as roughness, highlights, base color, and local lighting.

[0041] The third aspect of the present invention provides an electronic device, comprising:

[0042] one or more processors;

[0043] A memory for storing one or more programs;

[0044] When the one or more programs are executed by the one or more processors, the one or more processors implement the three-dimensional Gaussian-based sparse viewpoint face reconstruction method.

[0045] The fourth aspect of the present invention: a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the three-dimensional Gaussian-based sparse viewpoint face reconstruction method.

[0046] The beneficial effects of the present invention are as follows:

[0047] The present invention uses real-life captured images with sparse perspectives as input, establishes a three-dimensional Gaussian expression of a human face including hair and shoulders, introduces a stable diffusion model to solve the problem of insufficient information caused by the sparse perspective, optimizes the three-dimensional Gaussian result, and establishes a three-dimensional Gaussian expression of the human face based on PBR materials; and in the case of insufficient input image information, uses effective initialization input restrictions and a stable diffusion model to improve the problem that sparse three-dimensional Gaussian reconstruction is prone to failure and falls into a local optimal value. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a flow chart of the overall method of the present invention;

[0049] Figure 2 This is a comparison diagram of the effects of the present invention before and after the image is repaired using the stable diffusion model;

[0050] Figure 3 It is a comparison effect diagram of the final new view rendering result of the present invention and the real shot image with a similar viewing angle;

[0051] Figure 4 This is a comparison diagram of the effects of the three-dimensional Gaussian reconstruction using the present invention and that using common Gaussian reconstruction. DETAILED DESCRIPTION

[0052] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0053] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0054] The core of the present invention is to solve the problem of three-dimensional Gaussian reconstruction of human faces under sparse perspectives by adding priors and stable diffusion model generation. For a given static image with a limited number of ten perspectives, the final optimization result can realize the rendering of new face images at any perspective of the front 180 degrees of the face, and maintain the perspective consistency of the face.

[0055] The present invention uses a rough facial point cloud as initialization data, and uses a three-dimensional Gaussian to perform face reconstruction that can generate a new perspective rendering image; introduces a stable diffusion model into a sparse perspective face optimization based on a three-dimensional Gaussian to repair the image of the three-dimensional Gaussian rendering result, and uses the repaired result for further three-dimensional Gaussian reconstruction to make up for the problems of insufficient information and poor face reconstruction effect caused by sparse perspective input; performs simplified PBR modeling of the face material appearance (PBR is a physically based realistic material), and adds face material priors during training based on objective human skin material properties to more accurately and quickly reconstruct the PBR material properties of the face.

[0056] like Figure 1 The figure shows the overall method flow chart of the present invention.

[0057] Therefore, the present invention provides a sparse viewpoint face reconstruction method based on three-dimensional Gaussian, comprising the following steps:

[0058] (1) Generation of 3D Gaussian Initialization Point Cloud Based on Neural Network: The basic model of the human face is fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model is established to generate a facial point cloud model as the initial 3D Gaussian data for 3D Gaussian training;

[0059] (1.1) Extracting vertex data from the rough face model fitted by the neural network method, taking the vertex of each triangular face as the initial three-dimensional coordinate of a three-dimensional Gaussian element;

[0060] (1.2) According to the information of the triangle face, the normal direction of the vertex is calculated, and the normal direction of all the triangle faces adjacent to the vertex is used as the normal direction of the vertex. The initial scale of the initial three-dimensional Gaussian element is initialized to align its shortest axis direction with the normal direction of the vertex.

[0061] (2) Use computer vision technology to intelligently identify real-life images, extract the mask of the subject, and filter out the background influence, thereby obtaining accurate face reconstruction results;

[0062] (2.1) Use existing computer vision image recognition technology to identify the main person in the actual captured image and draw its mask image;

[0063] (2.2) The background part in the real shot image is eliminated according to the mask, and only the main image is used as the optimization target. When using 3D Gaussian reconstruction, the corresponding mask information is read in, and the image loss within the main range is not calculated.

[0064] (3) Perform preliminary Gaussian reconstruction of the face from sparse data at 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as optimization targets, and reconstruct the face geometry including the hair and shoulders;

[0065] (3.1) Using the image captured by the camera and having been subjected to step (2) as the optimization target, using the pre-corrected camera pose, using the facial point cloud model obtained in step (1) as the initialization 3D Gaussian data for 3D Gaussian training, and setting the initial opacity value of the 3D Gaussian to 1, performing iterative optimization, so that the initial geometric data is further refined;

[0066] (3.2) By calculating the 3D coordinate range of the initial point cloud and dynamically expanding it during the optimization process, a 3D Gaussian bounding box is established to improve the encryption and pruning operations of the 3D Gaussian, and geometric reconstruction of other locations besides the face, including hair and shoulders, is achieved;

[0067] (3.3) During the optimization process, Gaussian elements that exceed the bounding box are actively removed to prevent excessive diffusion of Gaussian elements in three-dimensional space and trapping in local optimal values.

[0068] (4) The initial optimization is based on the appearance characteristics of the face. The initial opacity value of the three-dimensional Gaussian is set to 1, so that the three-dimensional Gaussian fits the surface of the face geometry during the optimization, avoiding the appearance of translucency and blur distortion in the three-dimensional Gaussian reconstruction of sparse perspectives;

[0069] (5) In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction;

[0070] (6) The stable diffusion model is introduced to repair and complete the rendering result images under 14 new perspectives generated by the preliminary optimization, and the optimized results are added to the optimization target; due to the inconsistent perspectives caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring caused by inconsistent perspectives and appearance flickering under different perspectives; finally, an ordinary Gaussian reconstruction result containing only color and opacity information is obtained;

[0071] (6.1) Rendering the three-dimensional Gaussian result obtained by preliminary optimization with a new perspective, limiting the perspective to a 180-degree area facing the front of the face, and obtaining 14 new perspective rendering results that are close to the previous real shooting perspective;

[0072] (6.2) Use the stable diffusion model to repair the image. Use the end-to-end stable diffusion model alignment to repair the holes and blurs in the rendering results of the new view. Add ControlNet and Ip-Adapter to the stable diffusion model to ensure that the original image information is not changed as much as possible on the basis of the repaired image.

[0073] (6.3) The restoration results of the 14 new perspectives and the actual captured images of the previous 10 perspectives are combined as new optimization targets; the previously optimized 3D Gaussian results are used as initial input for further iterative optimization.

[0074] (7) Using the method of three-dimensional Gaussian RelightableGaussian that can change the illumination, PBR modeling is performed on the facial material, and the facial appearance is reconstructed based on the PBR model on the ordinary Gaussian reconstruction result that only contains color and opacity information. The reconstruction includes material parameters such as roughness, highlight, base color, and local illumination.

[0075] (7.1) The obtained ordinary Gaussian reconstruction result containing only ordinary attributes is used as a staged input to perform a three-dimensional Gaussian-based appearance reconstruction of the face, and the shortest axis of the Gaussian is used as the normal direction of the Gaussian;

[0076] (7.2) Add a PBR attribute channel to each 3D Gaussian, including roughness and albedo information, use the new 3D Gaussian rendering framework for differentiable rendering, calculate the gradient and back-propagate, and obtain the appearance material parameter fitting result of the face.

[0077] About three-dimensional Gaussian expression: The final three-dimensional Gaussian expression of the present invention is a set of Gaussian element attributes {G1, G2, .., G n}, each Gaussian meta-attribute includes the position x i , Opacity α i , Zoom i , rotate r i With a set of spherical harmonic coefficients SH i It also includes basic properties such as roughness, normal direction, albedo, etc., which are used to model the appearance of the face material.

[0078] About model training and loss function: The loss function used in this method is the same image loss function as the 3D Gaussian, that is, the weighted sum of the 11 distance between the rendered image and the real image and the D-SSIM structural similarity representing the image structure difference:

[0079]

[0080] D-SSIM structural similarity loss is also introduced to encourage the rendered image to be close to the true value in terms of indicators such as light and dark contrast.

[0081] The final loss function is defined as:

[0082] L=λ1L rgb +λ4L D-SSIM

[0083] The bounding box for 3D Gaussian diffusion is set to 2.0 times the initial input point cloud range.

[0084] The training is divided into three stages, including the geometry initialization stage (10,000 iterations), the geometry completion optimization stage (5,000 iterations), and the material extraction optimization stage. The initialization stage uses the initial data containing only the face to obtain the preliminary geometry including the hair and shoulders. The geometry completion optimization stage uses the image repaired by the stable diffusion model for the second round of iterations (such as Figure 2 The geometry is further refined, while the material extraction stage performs decomposition and fitting of the face PBR material.

[0085] The present invention also proposes a sparse viewpoint face reconstruction device based on three-dimensional Gaussian, which includes the following modules:

[0086] 3D Gaussian Initialization Point Cloud Generation Module: The basic model of the human face is fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model is established to generate a facial point cloud model as the initialization 3D Gaussian data for 3D Gaussian training;

[0087] Face reconstruction module: Use computer vision technology to intelligently identify real pictures, extract the mask of the subject, and filter out the background influence, so as to obtain accurate face reconstruction results;

[0088] Preliminary face geometry reconstruction module: Perform preliminary Gaussian reconstruction of sparse face data from 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as the optimization target, and perform face geometry reconstruction including hair and shoulders;

[0089] Preliminary optimization module: Preliminary optimization is based on the appearance characteristics of the face. The initial opacity value of the 3D Gaussian is set to 1, so that the 3D Gaussian fits the geometric surface of the face during optimization, avoiding the appearance of translucency and blur distortion in the 3D Gaussian reconstruction of sparse perspectives;

[0090] Gaussian element removal module: In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction;

[0091] Repair and Optimization Module: Introduce a stable diffusion model to repair and complete the rendering result images under 14 new perspectives generated by the preliminary optimization, and add the optimized results to the optimization target; Due to the inconsistent perspectives caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring caused by inconsistent perspectives and appearance flickering under different perspectives; Finally, a normal Gaussian reconstruction result containing only color and opacity information is obtained;

[0092] The facial appearance reconstruction module of the PBR model: the facial material is PBR modeled using the method of the three-dimensional Gaussian RelightableGaussian that can change the lighting. The facial appearance is reconstructed based on the PBR model on the ordinary Gaussian reconstruction result that only contains color and opacity information. The reconstruction includes material parameters such as roughness, highlights, basic color, and local lighting.

[0093] And an electronic device is provided, comprising:

[0094] one or more processors;

[0095] A memory for storing one or more programs;

[0096] When the one or more programs are executed by the one or more processors, the one or more processors implement the three-dimensional Gaussian-based sparse viewpoint face reconstruction method.

[0097] A computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the steps of the three-dimensional Gaussian-based sparse viewpoint face reconstruction method.

[0098] Example 1

[0099] The inventors implemented the implementation example of the present invention on a desktop computer equipped with an i7-13700KF CPU, 64GB memory and an NVIDIA RTX 4090 graphics processor. A single 3D Gaussian training can converge within ten minutes on our training set. In the new perspective synthesis task, this method inherits the advantages of 3D Gaussian and can fully meet the requirements of real-time rendering. (e.g. Figure 3 shown).

[0100] The inventors tested this method on different data sets. Figure 4 As shown, the present invention verifies that the method can achieve high-quality realistic effects in the task of synthesizing human images from new perspectives or new human poses, including parts without initial geometry, such as hair and shoulders. The method supports interactive real-time monitoring of the results of 3D reconstruction of the face.

[0101] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the contents disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0102] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A sparse view face reconstruction method based on three-dimensional Gaussian, It is characterized in that The following steps are involved: (1) A basic model of the human face was fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model was established to generate a facial point cloud model as the initial 3D Gaussian data for 3D Gaussian training; (2) Use computer vision technology to intelligently identify real-life images, extract the mask of the subject, and filter out the background influence, thereby obtaining accurate face reconstruction results; (3) Perform preliminary Gaussian reconstruction of the face from sparse data at 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as optimization targets, and reconstruct the face geometry including the hair and shoulders; (4) The initial optimization is based on the appearance characteristics of the face. The initial opacity value of the three-dimensional Gaussian is set to 1, so that the three-dimensional Gaussian fits the surface of the face geometry during the optimization, avoiding the appearance of translucency and blur distortion in the three-dimensional Gaussian reconstruction of sparse perspectives; (5) In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction; (6) Introducing a stable diffusion model, repairing and completing the rendering result images under 14 new perspectives generated by the preliminary optimization, and adding the optimized results to the optimization target; Due to the perspective inconsistency caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring and appearance flickering under different perspectives caused by inconsistent perspectives; finally, a normal Gaussian reconstruction result containing only color and opacity information is obtained; (7) The facial material is modeled using a three-dimensional Gaussian reconstruction method that can change the lighting. The facial appearance is reconstructed based on the PBR model using the ordinary Gaussian reconstruction result that only contains color and opacity information.

2. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The step (1) comprises the following sub-steps: (1.1) Extracting vertex data from the rough face model fitted by the neural network method, taking the vertex of each triangular face as the initial three-dimensional coordinate of a three-dimensional Gaussian element; (1.2) According to the information of the triangle face, the normal direction of the vertex is calculated, and the normal direction of all the triangle faces adjacent to the vertex is used as the normal direction of the vertex. The initial scale of the initial three-dimensional Gaussian element is initialized to align its shortest axis direction with the normal direction of the vertex.

3. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The step (2) comprises the following sub-steps: (2.1) Use existing computer vision image recognition technology to identify the main person in the actual captured image and draw its mask image; (2.2) The background part in the real shot image is eliminated according to the mask, and only the main image is used as the optimization target. When using 3D Gaussian reconstruction, the corresponding mask information is read in, and the image loss within the main range is not calculated.

4. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The step (3) mainly includes the following sub-steps: (3.1) Using the image captured by the camera and having been subjected to step (2) as the optimization target, using the pre-corrected camera pose, using the facial point cloud model obtained in step (1) as the initialization 3D Gaussian data for 3D Gaussian training, and setting the initial opacity value of the 3D Gaussian to 1, performing iterative optimization, so that the initial geometric data is further refined; (3.2) By calculating the 3D coordinate range of the initial point cloud and dynamically expanding it during the optimization process, a 3D Gaussian bounding box is established to improve the encryption and pruning operations of the 3D Gaussian, and geometric reconstruction of other locations besides the face, including hair and shoulders, is achieved; (3.3) During the optimization process, Gaussian elements that exceed the bounding box are actively removed to prevent excessive diffusion of Gaussian elements in three-dimensional space and trapping in local optimal values.

5. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The step (6) comprises the following sub-steps: (6.1) Rendering the three-dimensional Gaussian result obtained by preliminary optimization with a new perspective, limiting the perspective to a 180-degree area facing the front of the face, and obtaining 14 new perspective rendering results that are close to the previous real shooting perspective; (6.2) Use the stable diffusion model to repair the image. Use the end-to-end stable diffusion model alignment to repair the holes and blurs in the rendering results of the new view. Add ControlNet and Ip-Adapter to the stable diffusion model to ensure that the original image information is not changed as much as possible on the basis of the repaired image. (6.3) The restoration results of the 14 new perspectives and the actual captured images of the previous 10 perspectives are combined as new optimization targets; the previously optimized 3D Gaussian results are used as initial input for further iterative optimization.

6. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The step (7) comprises the following sub-steps: (7.1) The obtained ordinary Gaussian reconstruction result containing only ordinary attributes is used as a staged input to perform a three-dimensional Gaussian-based appearance reconstruction of the face, and the shortest axis of the Gaussian is used as the normal direction of the Gaussian; (7.2) Add a PBR attribute channel to each 3D Gaussian, including roughness and albedo information, use the new 3D Gaussian rendering framework for differentiable rendering, calculate the gradient and back-propagate, and obtain the appearance material parameter fitting result of the face.

7. The sparse view face reconstruction method based on three-dimensional Gaussian according to claim 1, It is characterized in that The reconstruction in step (8) includes material parameters including roughness, highlights, base color, and local lighting.

8. A sparse view face reconstruction device based on three-dimensional Gaussian. It is characterized in that The device includes the following modules: 3D Gaussian Initialization Point Cloud Generation Module: The basic model of the human face is fitted using a neural network, and a pipeline for converting the triangular patch model into a point cloud model is established to generate a facial point cloud model as the initialization 3D Gaussian data for 3D Gaussian training; Face reconstruction module: Use computer vision technology to intelligently identify real pictures, extract the mask of the subject, and filter out the background influence, so as to obtain accurate face reconstruction results; Preliminary face geometry reconstruction module: Perform preliminary Gaussian reconstruction of sparse face data from 10 viewing angles: Use the pre-corrected camera pose data and the facial point cloud obtained in step (1) as initialization data to optimize the 3D Gaussian, use the masked real-life results from 10 viewing angles as the optimization target, and perform face geometry reconstruction including hair and shoulders; Preliminary optimization module: Preliminary optimization is based on the appearance characteristics of the face. The initial opacity value of the 3D Gaussian is set to 1, so that the 3D Gaussian fits the geometric surface of the face during optimization, avoiding the appearance of translucency and blur distortion in the 3D Gaussian reconstruction of sparse perspectives; Gaussian element removal module: In geometric optimization, the 3D coordinate range of the initial point cloud is dynamically expanded to establish a 3D Gaussian bounding box, and Gaussian elements that exceed the bounding box are actively removed to avoid geometric optimization failures due to lack of perspective and information, as well as to avoid falling into local optimal values ​​and overfitting, thereby providing a good geometric foundation for subsequent facial material reconstruction; Repair and Optimization Module: Introduces a stable diffusion model to repair and complete the rendering result images under 14 new perspectives generated by the preliminary optimization, and adds the optimized results to the optimization target; Due to the perspective inconsistency caused by the introduction of the stable diffusion model, it is necessary to further optimize by giving higher optimization weights to the real shooting data, so as to avoid facial blurring and appearance flickering under different perspectives caused by inconsistent perspectives; finally, a normal Gaussian reconstruction result containing only color and opacity information is obtained; The facial appearance reconstruction module of the PBR model: the facial material is PBR modeled using a three-dimensional Gaussian reconstruction method that can change the lighting. The facial appearance is reconstructed based on the PBR model on the final ordinary Gaussian reconstruction result containing only color and opacity information. The reconstruction includes material parameters such as roughness, highlights, base color, and local lighting.

9. An electronic device, It is characterized in that include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the three-dimensional Gaussian-based sparse view face reconstruction method as described in any one of claims 1-7.

10. A computer-readable storage medium having computer instructions stored thereon, It is characterized in that When the instruction is executed by the processor, the steps of the sparse viewpoint face reconstruction method based on three-dimensional Gaussian as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Sparse multi-view dynamic face reconstruction method and device

    CN118053189A

  • 3D modeling reconstruction system, method and device based on point cloud information and Gaussian cloud cluster

    CN118196306A

  • Systems and methods for face asset creation and models from one or more images

    US20240119671A1

Cited By

  • Dental crown three-dimensional reconstruction method of sparse view

    CN119810336A

  • Gaussian image rendering method and device

    CN119850805A

  • Multi-view image three-dimensional reconstruction method

    CN121190685A

  • A method for 3D reconstruction of multi-view images

    CN121190685B

  • Virtual camera image generation method and device, equipment and medium

    CN121353091A