3D Gaussian sputtering scene reconstruction method based on view dependence difference decoupling
The 3D Gaussian sputtering scene reconstruction method through view-dependent difference decoupling, using color difference prediction multi-layer perceptron and local Gaussian optimization strategy, solves the problem of appearance difference representation between views in large-scale scenes, and improves the reconstruction effect and consistency. , suitable for existing 3D Gaussian methods.
Patent Information
- Application Number
- CN202410808584.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technologies are difficult to effectively represent the appearance differences between different views when reconstructing large-scale real scenes, resulting in inconsistent reconstruction quality, and 3D Gaussian sputtering may introduce floating artifacts and unrealistic geometric forms in new views.
A 3D Gaussian sputtering scene reconstruction method based on view-dependent differential decoupling is used to perform local Gaussian densification by building a model including a 3D Gaussian sputtering module, a scene-related feature extraction module, a color difference prediction multi-layer perceptron, and a rasterization module. and pruning adjustments to capture appearance changes between views and produce consistent color renderings.
It improves the effect of large scene reconstruction, reduces the occurrence of artifacts and unreal geometric forms, and achieves more consistent and accurate 3D scene reconstruction with a wider range of applications.
Smart Images

Figure CN118710792A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer vision and computer graphics, and in particular to a 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling. Background Art
[0002] Reconstructing scenes from sparse image sets has been a long-standing focus in computer vision and computer graphics, and is particularly important for many applications such as augmented reality (AR) and virtual reality (VR). Traditional techniques and recent advances such as Neural Radiance Field (NeRF) and 3D Gaussian Splatting (3DGS) have made significant progress in scene reconstruction, especially 3D Gaussian Splatting, which is particularly outstanding in terms of the clarity of the reconstruction results and fast rendering speed. However, it is still challenging to extend 3D Gaussian Splatting-based methods to effectively reconstruct large-scale real scenes. Large-scale scene data, such as urban environments, often show appearance changes between views, unlike object center reconstruction assuming constant illumination. Changes in illumination and atmospheric conditions (e.g., brightness and color differences) can significantly affect the reconstruction quality. Due to the limited interpolation ability of 3D Gaussian and the fact that 3D Gaussian Splatting aims to accurately fit each training view during the optimization process, it may cause it to introduce floating artifacts and unrealistic geometry in new views.
[0003] Some recent studies have addressed the above challenges by decoupling appearance changes from basic scene representations. Scaffold-GS proposed by Tao Lu et al. is a representative example, which uses anchors to create hierarchical 3D scene representations, dynamically predicts the position offsets and properties of local Gaussians based on anchor features, and adapts to different viewpoints. Although this method is more robust to appearance inconsistencies, the generation of new Gaussians when rendering at different viewpoints hinders its ability to achieve consistent 3D geometry and view-invariant scene colors. Inspired by the neural radiance field related methods, another research path is to introduce learnable embeddings to capture appearance changes between views. Jiaqi Lin et al. proposed VastGaussian, assuming the existence of an ideal consistent color, and used a convolutional neural network (CNN) to fit the appearance adjustment between images rendered from reconstructed 3D scenes and actual images. Although this method provides a consistent 3D Gaussian representation during inference, this color adjustment is very complex in the unconstrained real world. Even if the illumination changes are the same, different objects will show different brightness changes. Learning this image-level mapping using a 2D convolutional neural network may not be accurate, and the optimization process may be challenging. Summary of the invention
[0004] In view of the above problems, the present invention provides a 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling, which solves the problem in the prior art that it is difficult to represent the appearance differences between different views during scene reconstruction.
[0005] The present invention provides a 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling, comprising the following steps:
[0006] Step S1, determining a scene data set, wherein the scene data set includes images of multiple different viewing angles of each scene under multiple scenes; preprocessing the scene data set to obtain preprocessed scene data;
[0007] Step S2, constructing a 3D Gaussian reconstruction model, wherein the 3D Gaussian reconstruction model includes a 3D Gaussian sputtering module, a scene-related feature extraction module, a color difference prediction multi-layer perceptron, and a rasterization module;
[0008] Step S3, training the 3D Gaussian reconstruction model, including: setting model training constraints, iteratively updating model parameters, and performing local Gaussian densification and pruning adjustment during the iterative update process;
[0009] Step S4: Use the trained 3D Gaussian reconstruction model for new perspective image rendering.
[0010] Preferably, the preprocessing of the scene data set in step S1 includes: for the images of each scene in the scene data set, performing feature extraction, feature matching and generating an initial 3D point cloud through colmap, optimizing the 3D point cloud together with the camera posture, and finally obtaining an estimate of the camera posture of each image in the multiple images and an initialized sparse point cloud of each scene.
[0011] Preferably, the 3D Gaussian sputtering module performs 3D Gaussian sputtering processing on the estimated value of the camera posture and the initialized sparse point cloud to obtain a consistent color of each 3D Gaussian block;
[0012] The scene-related feature extraction module obtains scene-specific grid features and view-related illumination embedding, and uses the color difference prediction multilayer perceptron to predict the color difference of each 3D Gaussian block based on the scene-specific grid features and the view-related illumination embedding, to obtain a color difference prediction amount of each 3D Gaussian block;
[0013] After adding the color difference prediction of each 3D Gaussian block to the consistent color of each 3D Gaussian block to obtain the final color of each 3D Gaussian block, the rasterization module rasterizes and renders the consistent color of each 3D Gaussian block to obtain a consistent color rendering image, and rasterizes and renders the final color of each 3D Gaussian block to obtain a final color rendering image.
[0014] Preferably, the method of obtaining the color difference prediction amount of each 3D Gaussian block specifically includes:
[0015] (1) Obtaining scene-specific grid features, specifically including: determining the tensor G through the grid (s) , in Indicates that each dimension is a real number, X, Y, Z represent the dimensions of the three spatial dimensions of the feature grid, n (s) Represents the feature length; for each channel r∈n (s) , the tensor G (s) Decomposed into three vectors and three matrices: Concatenate the vector and matrix components of a channel:
[0016]
[0017] in, Indicates that n (s) Concatenation operation on dimension, represents the outer product, Represents the scene grid features at grid resolution m, which is a collection of multi-resolution scene grid features at different scales Determined as scene features Right now
[0018] Finally, the scene features The trilinear interpolation amount at position x is determined as the scene-specific mesh feature, where Represents the 3D real number field;
[0019] (2) Get the view-dependent illumination embedding and set the view-dependent illumination embedding to 1xn (l) The vector of n (l) is the vector length;
[0020] (3) embedding the scene-specific grid features and the view-related illumination into an input color difference prediction multilayer perceptron, performing forward propagation calculation, and obtaining output color difference prediction quantities for each 3D Gaussian block; the color difference prediction multilayer perceptron is composed of a plurality of fully connected layer structures, each layer containing a number of neurons.
[0021] Preferably, step S3 specifically includes:
[0022] Step S3-1, setting a loss function of the model for the 3D Gaussian reconstruction model, wherein the loss function includes reconstruction loss, image quality loss and scale regularization loss;
[0023] Step S3-2, based on the gradient of the loss function value, adopting the back propagation algorithm to iteratively update the parameters of the 3D Gaussian reconstruction model;
[0024] Step S3-3: During the iteration process, whenever a predetermined number of iterations are reached, local Gaussian densification and pruning adjustments are performed based on a local Gaussian optimization strategy;
[0025] Step S3-4: When the model loss function value tends to converge, the iterative update ends.
[0026] Preferably, step S3-1 specifically includes:
[0027] Loss function of 3D Gaussian reconstruction model It is expressed as:
[0028]
[0029] Among them, λ SSIM is the image quality loss weight coefficient, λ scal is the scale regularization loss weight coefficient, is the reconstruction loss, calculated as the real image I gt And the final color rendering I f Between distance; is the image quality loss, calculated as the real image I gtRendering with consistent colors I c SSIM loss between; is the scale regularization loss, calculated as:
[0030]
[0031] Among them, i is the Gaussian block index, s i is the scale of the i-th Gaussian block, mask(s i ,η) represents the i A hard mask with a threshold of η is performed, the part with a value greater than η remains unchanged, and the part with a value less than or equal to η becomes 0; Mean(·) and Prod(·) represent the mean and product of the vector, respectively.
[0032] Preferably, step S3-2 specifically includes:
[0033] Parameters of the 3D Gaussian sputtering module, the scene-specific mesh features, the view-dependent illumination embedding, and the color difference prediction multilayer perceptron are iteratively updated.
[0034] Preferably, step S3-3 specifically includes:
[0035] (1) Perform local Gaussian construction and divide the three-dimensional space into multiple discrete cubes as voxels. The Gaussian block in each voxel is processed as a local block in the following way:
[0036]
[0037] Where V represents the voxel center, ∈ represents the voxel size, Represents the removal of duplicate voxel centers, and the entire formula represents mapping the mean μ of the Gaussian distribution to the unique nearest voxel center;
[0038] (2) Perform local Gaussian densification and pruning adjustment processing, the processing method is:
[0039]
[0040] in, α v are the view space position gradient average and opacity of the voxel, τ g ,τ′ g are the preset threshold and final threshold of Gaussian block splitting, τ v Adjust the threshold for voxel-local splitting, γ g ,γ′ g are the preset threshold and final threshold of Gaussian opacity, γ v is the threshold for voxel local pruning adjustment, and ||·||2 is the L2 norm;
[0041] (3) Perform local Gaussian geometry constraint processing in the following way:
[0042]
[0043] in, are respectively the gradient optimized in the iteration and the final gradient, d g is the offset of each Gaussian block from the initial position, d v is the average shift of the Gaussian positions within a voxel.
[0044] Preferably, for the scene data set, the images in the scene data set are divided into a training set and a test set, and the data in the training set are used for training. After the training, the data in the test set are used to evaluate the model.
[0045] Compared with the prior art, the present invention has at least the following beneficial effects:
[0046] (1) The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling proposed in the present invention makes up for the defect of insufficient modeling of inconsistent color appearance of large scenes in the real world in existing algorithms, and improves the effect of 3D Gaussian based reconstruction of large scenes in the real world.
[0047] (2) The solution provided by the present invention solves the problem of artifacts and floating objects in the new view by performing a local Gaussian optimization strategy. The local Gaussian optimization strategy considers the local context of the geometric constraints and adjusts the optimization process accordingly, thereby achieving more consistent and accurate 3D scene reconstruction.
[0048] (3) The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling proposed in the present invention can be effectively applied to the existing most advanced 3D Gaussian-based methods and has a wider range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings are only for the purpose of illustrating particular embodiments and are not to be construed as limiting the invention.
[0050] Figure 1 A flow chart of a 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling provided by the present invention.
[0051] Figure 2 Schematic diagram of the 3D Gaussian sputtering scene reconstruction model architecture provided by the present invention.
[0052] Figure 3 This is a new perspective image synthesis effect diagram provided by the present invention. DETAILED DESCRIPTION
[0053] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, the present invention can also be implemented in other ways different from those described herein, and therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0054] The technical solution provided by the present invention explains the appearance differences between different views by integrating separate features, and the present invention particularly emphasizes the importance of scene-related features such as material properties in rendering, and abstracts the relevant influencing factors into learnable scene-specific grid features (Scene-specific Grid Features, SSGFs) and view-related lighting embeddings (Lighting Embeddings, LEs) to more comprehensively model the appearance differences, forming a decoupled design that separates the appearance difference information related to material properties and lighting from the original image. In addition, in order to prevent the undesirable floating phenomenon in the prior art, the present invention provides a local Gaussian optimization strategy (Local Gaussian Optimization Strategy, LGOS) that considers local contextual geometric constraints. This strategy works in conjunction with the above-mentioned decoupling design to ensure that appearance changes are captured by color difference terms and better approximate real-world scenes, thereby achieving globally consistent scenes and decoupled appearance differences.
[0055] In order to illustrate the effectiveness of the method proposed by the present invention, the above technical solution of the present invention is described in detail below through a specific embodiment. Figure 1 As shown, a 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling is disclosed, and the specific implementation steps are as follows:
[0056] Step S1, determining a scene data set, wherein the scene data set includes images of multiple different viewing angles of each scene under multiple scenes; preprocessing the scene data set to obtain preprocessed scene data.
[0057] The scene data of the present invention adopts large real-world scenes. Specifically, in order to verify the generalization of the model, this embodiment selects large real-world scene data, including rubble scenes, building scenes, campus scenes, and residence scenes. The above scene data records multiple images taken from different positions and angles in large scenes such as rubble, building, campus, and residence. These images include not only frontal perspectives, but also side, top, and other non-traditional perspectives, which can capture the overall picture and complex geometric structure of the scene.
[0058] Then, according to the standard given by the source of the scene data, the images in the scene data are divided into training part and test part, specifically: for the Rubble data set, a total of 1657 images from different perspectives are used for training, and 21 images from different perspectives are used as new perspective images for testing; for the Building data set, 1920 images are used for training, and 20 new perspective images are used for testing; for the Campus data set, 5850 images are used for training, and 21 new perspective images are used for testing; for the Residence data set, 2561 images are used for training, and 21 new perspective images are used for testing. Finally, the multiple images of different perspectives of each scene under the divided multiple scenes are determined as the scene data set.
[0059] The present invention preprocesses images of multiple scenes in a scene data set, performs feature extraction and feature matching on multiple images of each scene through colmap, generates an initial 3D point cloud, and optimizes the 3D point cloud together with the camera posture, finally obtaining an estimate of the camera posture of each image in the multiple images and an initialized sparse point cloud of each scene.
[0060] Step S2, constructing a 3D Gaussian reconstruction model, the 3D Gaussian reconstruction model includes a 3D Gaussian sputtering module, a scene-related feature extraction module, a color difference prediction multi-layer perceptron and a rasterization module, the 3D Gaussian reconstruction model performs color difference prediction on the preprocessed scene data to obtain a consistent color rendering image and a final color rendering image.
[0061] The 3D Gaussian reconstruction model constructed by the present invention adds a color difference prediction multi-layer perceptron to the original 3D Gaussian sputtering architecture, thereby realizing the extraction of appearance color changes. The initialized sparse point cloud of a scene obtained after the scene data set preprocessing in step S1 and the camera posture parameters under a viewing angle are used as inputs of the 3D Gaussian reconstruction model, and the 3D Gaussian reconstruction model completes the rasterization rendering of 3D Gaussian sputtering and 3D Gaussian blocks to obtain a rendered image under a specified viewing angle.
[0062] like Figure 2 As shown, in the rendering process of the 3D Gaussian reconstruction model, the input point cloud and camera posture parameters are first subjected to 3D Gaussian sputtering processing to obtain the consistent color of each 3D Gaussian block, and then the color difference of each 3D Gaussian block is predicted based on scene-specific grid features (SSGFs) and view-related illumination embedding (LEs) and a color difference prediction multi-layer perceptron is used to predict the color difference of each 3D Gaussian block, and the color difference prediction amount of each 3D Gaussian block is added to the consistent color of each 3D Gaussian block to obtain the final color of each 3D Gaussian block, which is the final color that the camera should present under this viewing angle. The consistent color of each 3D Gaussian block is rasterized and rendered to obtain a consistent color rendering Figure Ic ; The final color of each 3D Gaussian block is rasterized to obtain the final color rendering image I c .
[0063] The present invention decomposes the multi-scale scene grid based on VM (Vector-Matrix) to obtain the scene specific grid features (SSGFs), specifically: using the grid method to represent the scene features as G (s) , is a four-dimensional tensor, where (s) is short for scene. Indicates that each dimension is a real number, X, Y, Z represent the dimensions of the three spatial dimensions of the feature grid, n (s) Represents the characteristic length of SSGFs.
[0064] Through VM decomposition technique, the tensor is decomposed into compact components, for each channel r∈n (s) , the tensor G (s) Decomposed into three vectors and three matrices: in They are the vectors of channel r along the X, Y, and Z axes, respectively. are matrices across the YZ, XZ, and XY planes for channel r, respectively. For a specific grid resolution m, n (s) Concatenate vector and matrix components of channels:
[0065]
[0066] in, Indicates that n (s) Concatenation operation on dimension, Represents the scene grid features at grid resolution m. The collection of multi-resolution grid features at different scales Determined as scene features Right now
[0067] Finally, SSGFs is represented as l (s) (x), specifically represents the scene characteristics The trilinear interpolation amount at position x, where Represents the 3-dimensional field of real numbers.
[0068] In this way, the present invention represents the original high-dimensional tensor as a combination of several low-dimensional vectors and matrices, which can significantly reduce storage requirements and computational complexity while retaining the feature information of the original tensor; at the same time, the present invention combines features of different scales to form a comprehensive feature representation, which can more comprehensively capture the multi-scale information in the scene.
[0069] In some embodiments, the view-dependent lighting embeddings (LEs) of the present invention are set to 1xn (l) A vector of (l) for lighting, n (l) is the length of the vector, which is used to represent the different lighting conditions corresponding to the images from different viewpoints. The scene-specific grid features (SSGFs) and view-dependent lighting embeddings (LEs) are used as input features and fed into the color difference prediction multi-layer perceptron.
[0070] In some embodiments, the color difference prediction multilayer perceptron of the present invention can be composed of multiple fully connected layer structures, each layer contains a number of neurons, and the specific structure may include: an input layer for receiving input features, a hidden layer, including multiple fully connected layers, each layer contains a certain number of neurons, and an activation function is applied, and an output layer is used to output color difference prediction values. The scene-specific grid features and view-related illumination are embedded in the input color difference prediction multilayer perceptron, and forward propagation calculations are performed to obtain color difference prediction values for each 3D Gaussian block.
[0071] Step S3, training the 3D Gaussian reconstruction model, including: setting model training constraints, iteratively updating model parameters, and performing densification and pruning adjustments during the iterative updating process.
[0072] The present invention sets model training constraints for the 3D Gaussian reconstruction model, specifically sets a loss function of the model, and the loss function includes reconstruction loss, image quality loss and scale regularization loss.
[0073] The reconstruction loss is the real image I gt And the final color rendering I f Between Distance, used to ensure that the generated image is as close to the real image as possible.
[0074] The image quality loss is the real image I gt Rendering I c The SSIM loss between is used to ensure that the generated consistent renderings have a high structural similarity with the real images.
[0075] The scale regularization loss It is used to limit the scale of the Gaussian block in the entire scene. The calculation method is:
[0076]
[0077] Among them, i is the Gaussian block index, s i is the scale of the i-th Gaussian block, mask(s i ,η) represents thei A hard mask with a threshold of η is performed, the part with a value greater than η remains unchanged, and the part with a value less than or equal to η becomes 0; Mean(·) and Prod(·) represent the mean and product of the vector, respectively.
[0078] Then the loss function of the 3D Gaussian reconstruction model is It is expressed as:
[0079]
[0080] where λ SSIM is the image quality loss weight coefficient, λ scal is the scale regularization loss weight coefficient. In some embodiments, the above parameters can be set to: SSIM =0.2,λ scal =0.1,η=1.
[0081] When training the 3D Gaussian reconstruction model, based on the gradient of the loss function value, a back propagation algorithm is used to iteratively update the parameters of the 3D Gaussian reconstruction model, including iteratively updating the parameters of the 3D Gaussian sputtering module, scene-specific grid features, view-related illumination embedding, and color difference prediction multi-layer perceptron parameters until the model loss function value converges.
[0082] In the iterative process, the present invention optimizes the 3D Gaussian reconstruction model based on the local Gaussian optimization strategy (LGOS) every time after a predetermined number of iterations, so as to assist in decoupling the view dependency differences. Figure 2 As shown, the local Gaussian optimization strategy includes local Gaussian densification processing and pruning adjustment and local Gaussian geometric constraint processing, and the specific process is:
[0083] (1) Local Gaussian construction: The present invention locally optimizes the Gaussian block in the form of voxels, and divides the three-dimensional space into multiple discrete cubes as voxels; the Gaussian block in each voxel is processed as a local area, and the processing method is as follows:
[0084]
[0085] Where V represents the voxel center, ∈ represents the voxel size, Indicates the removal of duplicate voxel centers, and the entire formula represents mapping the mean μ of the Gaussian distribution to the unique nearest voxel center. In this way, a bidirectional directed edge can be established between voxels and Gaussians, that is, recording the Gaussian blocks contained in each voxel and the voxels to which each Gaussian block belongs, to manage the correspondence between them.
[0086] (2) Perform local Gaussian densification and pruning, in which the local information of adjacent Gaussians within the voxel is used to adjust the update amplitude. Calculate the average value of the view space position gradient of each Gaussian block in a specific number of training iterations and opacity α g , and calculate the corresponding gradient average of each voxel and opacity α v , perform the following processing to complete the densification adjustment:
[0087]
[0088] Among them, τ g ,τ′ g are the preset threshold and final threshold of Gaussian block splitting, τ v is the voxel local split adjustment threshold, and ||·||2 is the L2 norm. The final split threshold is τ g ,Will Gaussian splitting and cloning; for The voxel with a Gaussian fit can be considered to be poor, so we should appropriately reduce τ g To encourage the splitting and cloning of Gaussians within that local voxel.
[0089] Perform the following steps to complete the pruning adjustment:
[0090]
[0091] Among them, γ g ,γ′ g are the preset threshold and final threshold of Gaussian opacity, γ v Adjust the threshold for local pruning of voxels. In the above way, for the average opacity α within the voxel v ≤γ v The opacity threshold is not modified; if the average opacity α in the voxel v Exceeding the threshold γ v , then the voxel is considered to be relatively more important, and the Gaussian opacity threshold γ is appropriately reduced. g , reducing the amount of Gaussian deletion within that local voxel.
[0092] (3) Local Gaussian geometry constraint processing, in which the offset d of each Gaussian block from the initial position is recorded g , and calculate the average shift d of the Gaussian position within the voxel v , perform the following processing to complete the geometric constraints:
[0093]
[0094] in, The gradients are the optimized gradient in the iteration and the final gradient. In the above way, for Gaussian blocks with offsets less than the average offset, the gradient value is not changed, and for Gaussian blocks with offsets greater than the average offset, the gradient value is reduced. The movement of its position is limited, and in this way, the occurrence of unwanted floating phenomena is effectively prevented.
[0095] In some embodiments, the aforementioned parameters can be set to: v =0.00018, τ g =0.0002, γ v =0.005,γ g =0.005.
[0096] In some embodiments, the training and evaluation of the 3D Gaussian reconstruction model of the present invention are completed on the PyTorch platform, using a single NVIDIA RTX A6000 GPU (48GB), and the Adam optimizer is used to optimize the parameters in the model. For all data sets, the model is iterated 150,000 times to achieve convergence.
[0097] In some embodiments, the 3D Gaussian reconstruction model is trained and evaluated based on the training set and the test set divided from the scene data set. During the training process, the data in the training set is used to optimize the parameters by minimizing the loss function of the model; after the training is completed, the model is evaluated using the data in the test set. In this way, it can be ensured that the 3D Gaussian reconstruction model reaches the expected performance level in the test set scenario.
[0098] Step S4: Use the trained 3D Gaussian reconstruction model for new perspective image rendering.
[0099] In this step, the camera parameters of the new perspective to be rendered are input into the trained 3D Gaussian reconstruction model, and the model output is the rendering result under the new perspective.
[0100] When performing new-view image synthesis inference, the camera posture of the image to be synthesized is input into the trained Gaussian reconstruction model, and the model output is the synthesis result of the new-view image. Figure 3 As shown, the present invention can effectively complete the new perspective image synthesis task, and shows good generalization performance on four types of data sets: ruins, buildings, campuses and residences.
[0101] Although the specific embodiments of the present invention depict various actions or steps in a specific order, this should be understood as requiring such actions or steps to be performed in the specific order shown or in a sequential order, or requiring all illustrated actions or steps to be performed to obtain the desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination. The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
[0102] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling, characterized in that: The following steps are involved: Step S1: determining a scene data set, wherein the scene data set includes images of multiple scenes at different perspectives under multiple scenes; preprocessing the scene data set to obtain preprocessed scene data; Step S2, constructing a 3D Gaussian reconstruction model, wherein the 3D Gaussian reconstruction model includes a 3D Gaussian sputtering module, a scene-related feature extraction module, a color difference prediction multi-layer perceptron, and a rasterization module; Step S3, training the 3D Gaussian reconstruction model, including: setting model training constraints, iteratively updating model parameters, and performing local Gaussian densification and pruning adjustments during the iterative update process; Step S4: Use the trained 3D Gaussian reconstruction model for new perspective image rendering.
2. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 1 is characterized in that: The preprocessing of the scene data set in step S1 includes: For the images of each scene in the scene dataset, feature extraction and feature matching are performed on the images through colmap, and an initial 3D point cloud is generated. The 3D point cloud is optimized together with the camera pose, and finally an estimate of the camera pose of each image in the multiple images and an initialized sparse point cloud for each scene are obtained.
3. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 2, characterized in that: The 3D Gaussian sputtering module performs 3D Gaussian sputtering processing on the estimated value of the camera pose and the initialized sparse point cloud to obtain a consistent color of each 3D Gaussian block; The scene-related feature extraction module obtains scene-specific grid features and view-related illumination embeddings, and uses the color difference prediction multi-layer perceptron to predict the color difference of each 3D Gaussian block based on the scene-specific grid features and the view-related illumination embeddings to obtain a color difference prediction value for each 3D Gaussian block; After adding the color difference prediction amount of each 3D Gaussian block to the consistent color of each 3D Gaussian block to obtain the final color of each 3D Gaussian block, the rasterization module rasterizes and renders the consistent color of each 3D Gaussian block to obtain a consistent color rendering image, and rasterizes and renders the final color of each 3D Gaussian block to obtain a final color rendering image.
4. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 3, characterized in that: The method of obtaining the color difference prediction amount of each 3D Gaussian block specifically includes: (1) Obtaining scene-specific grid features, specifically including: determining the tensor G through the grid (s) , in Indicates that each dimension is a real number, X, Y, Z represent the size of the three spatial dimensions of the feature grid, n (s) Represents the feature length; for each channel r∈n (s) , the tensor G (s) Decomposed into three vectors and three matrices: Concatenate the vector and matrix components of the channel: in, Indicates that n (s) Concatenation operation on dimension, represents the outer product, Represents the scene grid features at grid resolution m, which is a collection of multi-resolution scene grid features at different scales Determined as scene features Right now Finally, the scene features The trilinear interpolation amount at position x is determined as a scene-specific mesh feature, where Represents the 3D real number field; (2) Get the view-dependent lighting embedding and set the view-dependent lighting embedding to 1xn (l) vector, n (l) is the vector length; (3) The scene-specific grid features and the view-related illumination are embedded into an input color difference prediction multilayer perceptron, and forward propagation calculation is performed to obtain the color difference prediction amount of each output 3D Gaussian block; the color difference prediction multilayer perceptron is composed of multiple fully connected layer structures, and each layer contains a number of neurons.
5. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to any one of claims 2 to 4, characterized in that: Step S3 specifically includes: Step S3-1: setting a loss function for the 3D Gaussian reconstruction model, where the loss function includes reconstruction loss, image quality loss, and scale regularization loss; Step S3-2: Based on the gradient of the loss function value, a back propagation algorithm is used to iteratively update the parameters of the 3D Gaussian reconstruction model; Step S3-3: During the iteration process, whenever a predetermined number of iterations are passed, local Gaussian densification and pruning adjustments are performed based on the local Gaussian optimization strategy; Step S3-4: When the model loss function value tends to converge, the iterative update ends.
6. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 5, characterized in that: Step S3-1 specifically includes: Loss function of 3D Gaussian reconstruction model Expressed as: Among them, λ SSIM is the image quality loss weight coefficient, λ scal is the scale regularization loss weight coefficient, is the reconstruction loss, calculated as the real image I gt And the final color rendering I f The l1 distance between them; is the image quality loss, calculated as the real image I gt Rendering with consistent color I c SSIM loss between; is the scale regularization loss, which is calculated as: Among them, i is the Gaussian block index, s i is the scale of the i-th Gaussian block, mask(s i ,η) represents the i A hard mask with a threshold of η is performed, the part with a value greater than η remains unchanged, and the part with a value less than or equal to η becomes 0; Mean(·) and Prod(·) represent the mean and product of the vector respectively.
7. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 6, characterized in that: Step S3-2 specifically includes: Parameters of the 3D Gaussian sputtering module, the scene-specific grid features, the view-dependent illumination embedding, and the color difference prediction multilayer perceptron are iteratively updated.
8. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 7, characterized in that: Step S3-3 specifically includes: (1) Perform local Gaussian construction and divide the three-dimensional space into multiple discrete cubes as voxels. The Gaussian block within each voxel is processed as a local block in the following way: Where V represents the voxel center, ∈ represents the voxel size, Represents the removal of duplicate voxel centers, and the entire formula represents mapping the mean μ of the Gaussian distribution to the only nearest voxel center; (2) Perform local Gaussian densification and pruning adjustment processing, the processing method is: in, are the view space position gradient mean and opacity of the voxel, τ g ,τ′ g are the preset threshold and final threshold for Gaussian block splitting, τ v Adjust the threshold for voxel local splitting, γ g ,γ′ g are the preset threshold and final threshold of Gaussian opacity, γ v Adjust the threshold for local voxel pruning, ||·||2 is the L2 norm; (3) Perform local Gaussian geometry constraint processing in the following way: in, are respectively the gradient optimized in iteration and the final gradient, d g is the offset of each Gaussian block from the initial position, d v is the average shift of Gaussian positions within a voxel.
9. The 3D Gaussian sputtering scene reconstruction method based on view-dependent difference decoupling according to claim 8, characterized in that: For the scene data set, the images in the scene data set are divided into a training set and a test set, and the data in the training set are used for training. After the training is completed, the data in the test set are used to evaluate the model.
Citation Information
Cited By
Laparoscopic surgery scene three-dimensional reconstruction method and system based on three-dimensional Gaussian sputtering
CN119091060A
A method and system for 3D reconstruction of laparoscopic surgical scenes based on 3D Gaussian sputtering
CN119091060B
Panoramic 3D occupancy prediction method based on 3D Gaussian sputtering
CN119091412A
A panoramic 3D occupancy prediction method based on 3D Gaussian sputtering
CN119091412B
Gunpowder column apparent defect detection method based on large language model and 3D Gaussian sputtering
CN119295422A
