A body-in-white multi-attribute inverse reconstruction method based on Gaussian spatter technology
The reverse reconstruction method for white body using Gaussian splashing technology solves the problems of low modeling accuracy and high labor costs in traditional methods, achieving high-precision and low-cost reverse modeling of white body, adapting to complex industrial scenarios, outputting multi-channel attribute maps, and supporting industrial applications in multiple scenarios.
Patent Information
- Application Number
- CN202611228128.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-13
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional reverse engineering methods for white body have problems such as low modeling accuracy and high labor costs, especially since contact measurement with coordinate measuring machines (CMM), handheld structured light scanning, and photogrammetry methods cannot effectively solve these problems.
A multi-attribute inverse reconstruction method for white body based on Gaussian splashing technology is adopted. By simultaneously acquiring multi-angle images, a sparse point cloud set is constructed, density levels are divided, a 3D Gaussian set is initialized, iterative optimization training is performed, a multi-channel attribute map is output, and finally an industrial CAD surface model is generated.
It significantly improves the accuracy of reverse engineering of body-in-white, reduces labor costs, achieves high-efficiency automation, adapts to complex industrial scenarios, outputs rich information dimensions, and supports industrial applications in multiple scenarios.
Smart Images

Figure CN123160830A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of reverse modeling technology for car bodies. Specifically, this invention relates to a method for multi-attribute reverse reconstruction of a white car body based on Gaussian splashing technology. Background Technology
[0002] With the development of the automotive industry, the demand for reverse engineering of the body-in-white, as a core component of automobile manufacturing, is becoming increasingly urgent. Traditional reverse engineering methods for body-in-white mainly include contact measurement with a coordinate measuring machine (CMM), handheld structured light scanning, and photogrammetry.
[0003] Chinese Patent 119293741B proposes a comprehensive management and control method and system based on digital twins and multi-source heterogeneous data processing. The steps are as follows: scanning the site to obtain point cloud data of the surrounding environment; reconstructing the geometry and structure of the building based on the point cloud data using reverse modeling; calibrating the model obtained from reverse modeling with the site; optimizing the model; and using multi-source heterogeneous data fusion technology to collect and classify heterogeneous data from various rail transit specialties in a process-oriented manner to achieve standardized data processing.
[0004] Existing technologies do not cover methods for reverse modeling of body-in-white using Gaussian splashing technology. Traditional methods, such as contact measurement with a coordinate measuring machine (CMM), handheld structured light scanning, and photogrammetry, result in low modeling accuracy and high labor costs. Summary of the Invention
[0005] The present invention aims to provide a method for multi-attribute reverse reconstruction of body-in-white based on Gaussian splashing technology, so as to improve the accuracy of reverse modeling of body-in-white and reduce labor costs.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0007] This invention provides a method for reverse reconstruction of multiple attributes of a car body based on Gaussian splashing technology, comprising the following steps:
[0008] Step 1: Simultaneously acquire multi-angle images of the white body, and process the multi-angle images using the structure-reconstruction-motion algorithm to obtain a sparse point cloud set and camera pose parameters corresponding to each viewpoint;
[0009] Step 2: Determine the global coarse curvature map of the white body through the sparse point cloud set, divide the surface of the white body into multiple density levels according to the curvature level, and initialize the 3D Gaussian set according to the division of each density level;
[0010] Step 3: Construct a total loss function that includes a rendering loss term and multiple constraint terms, adjust the weights of each constraint term in stages, iteratively optimize and train the 3D Gaussian set, and periodically perform 3D Gaussian dynamic density adjustment during the training process;
[0011] Step 4: Perform multi-view differentiable rendering on the optimized 3D Gaussian set to output a multi-channel attribute map containing a depth map, normal map, curvature map, and confidence map; perform confidence-weighted truncated signed distance function fusion on the multi-view depth map, and obtain the surface mesh model of the white body through the isosurface extraction algorithm;
[0012] Step 5: Extract the feature line network of the white body through the normal map and curvature map. Divide the surface mesh into multiple surface patches with the feature line network as the boundary. Adaptively fit NURBS surfaces to each surface patch and apply continuity constraints. Finally, output the industrial CAD surface model.
[0013] In step two, the method for determining the global coarse curvature map of the white body is as follows: for each point in the sparse point cloud, search for its spatial nearest neighbor points, and obtain the normal vector and fitting residual of the point through local plane fitting; calculate the degree of deviation between the current point's normal vector and the average normal vector of the neighborhood, and quantify the coarse curvature value of the point; perform regularization correction on the region where the fitting residual exceeds the preset threshold, and output the global coarse curvature map of the white body.
[0014] In step two, the density level division method is as follows: the surface of the white body is divided into three density levels: low curvature region, medium curvature region and high curvature region according to the coarse curvature value; the low curvature region adopts a low density large spacing Gaussian distribution; the medium curvature region adopts a medium density Gaussian distribution; and the high curvature region adopts a high density Gaussian distribution.
[0015] In step two, 3D Gaussians are initialized according to the spacing rules of each density level. The attribute parameters of each 3D Gaussian include position, rotation quaternion, scaling, opacity, color, normal vector, curvature, reflectivity, and roughness.
[0016] In step three, the periodically performed Gaussian dynamic density adjustment includes splitting, cloning, pruning, and adding operations. The splitting operation involves splitting a 3D Gaussian whose gradient norm exceeds a preset splitting threshold into two sub-Gaussians along its maximum scaling axis. The cloning operation involves cloning a 3D Gaussian whose size is smaller than a preset size threshold and is located in a high curvature region at its original position and applying a small positional perturbation. The pruning operation involves removing redundant 3D Gaussians whose opacity is lower than a preset opacity threshold and whose world space size exceeds a preset size limit. The adding operation involves generating a new 3D Gaussian based on backprojection of the current depth map for pixel regions where the rendering error exceeds a preset error threshold and the current 3D Gaussian covers sparse areas.
[0017] The expression for the total loss function is:
[0018] ;
[0019] in This is the rendering loss term; For depth constraints; For normal constraint terms; For smoothness constraints; To preserve boundary constraints; , , , and These are the weight coefficients for the corresponding items.
[0020] In step three, the phased weight adaptive scheduling method is as follows: In the early stage of training, depth coarse alignment is the core, the depth constraint term has a higher weight, and the normal constraint term and smoothness constraint term are temporarily not enabled; in the middle stage of training, the weight of the normal constraint term and the boundary preservation constraint term is increased; in the later stage of training, the weight of the smoothness constraint term and the boundary preservation constraint term is increased.
[0021] In step four, the confidence-weighted truncated symbolic distance function fusion method is as follows: for the depth map of each viewpoint, calculate the angle between the line of sight and the surface normal. The smaller the angle, the higher the confidence weight of the viewpoint. The depth values of each viewpoint are fused into the TSDF voxel according to the confidence weight, and the isosurface is extracted by the moving cube algorithm to obtain the surface mesh model of the white body.
[0022] In step five, the method for extracting the feature line network of the white body is as follows: based on the normal map and curvature map, the surface is divided into multiple initial surface patches using a region growing clustering algorithm; local maxima of the curvature map and local maxima of the normal gradient are extracted as candidate feature line points; the RANSAC algorithm is used to fit the candidate point set to generate parameterized feature lines; based on the spatial proximity of the feature line endpoints, the discrete feature line units are connected into a continuous feature line network.
[0023] In step five, the adaptive fitting of the NURBS surface and the application of continuity constraints are as follows:
[0024] The NURBS control point mesh resolution is adaptively selected based on the curvature complexity of the surface patch, with fewer control points used for flat surfaces and more control points used for complex surfaces.
[0025] Along the common feature line of adjacent surface patches, apply G0 positional continuity constraints and G1 tangent continuity constraints, where G0 constraints are achieved by coinciding boundary control points, and G1 constraints are achieved by coplanar boundary control points.
[0026] The NURBS surface parameters are solved piece by piece to minimize the geometric fitting error, and finally stitched together to form a complete B-rep format CAD model.
[0027] The technical effects of this invention are as follows:
[0028] (1) This invention significantly reduces computational overhead and workload. It generates a global coarse curvature map of the white body based on sparse point cloud, divides the surface into three density levels (low, medium, and high) according to curvature level, and sets different initial spacing of 3D Gaussians. Low density distribution is used in large flat areas, and high density distribution is used in high curvature feature areas. The total amount of 3D Gaussians is greatly reduced from the initialization stage, reducing the computational consumption of iterative optimization from the source. At the same time, it is combined with a training strategy of periodic dynamic density adjustment and phased weight scheduling, which greatly shortens the modeling cycle while ensuring reconstruction accuracy.
[0029] (2) The geometric modeling accuracy of this invention is high, balancing surface smoothness and feature detail fidelity. A total loss function is constructed, consisting of a rendering loss term and four types of constraint terms: depth, normal, smoothness, and boundary preservation. A phased weighted adaptive scheduling strategy is adopted: in the early stage of training, coarse depth alignment is the core, prioritizing the correctness of the overall geometric structure; in the middle stage of training, geometric constraints are gradually injected to enhance local geometric accuracy and edge feature clarity; in the later stage of training, fine optimization is emphasized to balance surface smoothness and feature preservation. Combined with a confidence-weighted TSDF deep fusion mechanism, sub-millimeter level industrial precision requirements are achieved.
[0030] (3) The present invention has a high degree of automation, which greatly reduces labor costs. It can automatically extract feature line networks and divide surface patches based on normal and curvature diagrams, and adaptively select the NURBS control point mesh resolution according to the curvature complexity of each surface patch. At the same time, it can automatically apply G0 position continuity constraints and G1 tangent continuity constraints along common feature lines, solve the parameters piece by piece, and then splice them to generate a complete parametric CAD model. It avoids a lot of repetitive manual model repair and surface splicing work in traditional reverse engineering, and significantly improves modeling efficiency and result consistency.
[0031] (4) The acquisition scheme of the present invention is flexible and low-cost, and adaptable to complex industrial scenarios. Specifically, data acquisition can be completed by using only conventional industrial cameras to form an acquisition array, without the need to purchase expensive industrial CT or high-precision structured light equipment, which greatly reduces the hardware investment threshold. At the same time, it supports a variety of camera layouts such as ring arrangement and spherical with bottom blind filling, which can be flexibly adjusted according to the shape of the test object.
[0032] (5) The output information of this invention is rich in dimensions and can support industrial applications in multiple scenarios. The initialized 3D Gaussian not only includes basic geometric properties such as position, rotation quaternion, and scaling, but also integrates geometric and physical properties such as reflectivity and roughness. After optimization, it can output a multi-channel attribute map including depth map, normal map, curvature map and confidence map through multi-view differentiable rendering. In addition to supporting high-precision reverse modeling, it can also be directly used for subsequent industrial scenarios such as body-in-white appearance quality inspection, material property inversion, and assembly deviation analysis. Compared with traditional point cloud or triangular mesh models that only contain spatial coordinates, it has higher data reusability and industrial application value.
[0033] (6) The present invention has strong anti-interference ability and high robustness. In the coarse curvature estimation stage, for high uncertainty areas such as workpiece edges and local occlusion where the fitting residual exceeds the standard, CAD template prior or statistical prior is introduced for regularization correction to suppress erroneous curvature estimation caused by sparse point cloud noise. During the training process, the upper limit of the gradient is set by boundary preservation constraints to suppress noise interference. In the TSDF fusion stage, the confidence weight is allocated based on the angle between the line of sight and the surface normal to reduce the impact of large-view measurement error. At the same time, outliers and redundant Gaussians are removed by periodic pruning operations. Multiple mechanisms work together to ensure the reconstruction stability under complex conditions such as sparse data, local occlusion, and workpiece edges. Attached Figure Description
[0034] This manual includes the following figures, which illustrate the following:
[0035] Figure 1 This is a flowchart of a method for reverse reconstruction of multiple attributes of a white body based on Gaussian splashing technology according to the present invention. Detailed Implementation
[0036] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, in order to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention, and to facilitate its implementation.
[0037] This invention provides a method for reverse reconstruction of multiple attributes of a car body based on Gaussian splashing technology, comprising the following steps:
[0038] Step 1: Simultaneously acquire multi-angle images of the white body, and process the multi-angle images using the structure-reconstruction-motion algorithm to obtain a sparse point cloud set and camera pose parameters corresponding to each viewpoint;
[0039] Step 2: Determine the global coarse curvature map of the white body through the sparse point cloud set, divide the surface of the white body into multiple density levels according to the curvature level, and initialize the 3D Gaussian set according to the division of each density level;
[0040] Step 3: Construct a total loss function that includes a rendering loss term and multiple constraint terms, adjust the weights of each constraint term in stages, iteratively optimize and train the 3D Gaussian set, and periodically perform 3D Gaussian dynamic density adjustment during the training process;
[0041] Step 4: Perform multi-view differentiable rendering on the optimized 3D Gaussian set to output a multi-channel attribute map containing a depth map, normal map, curvature map, and confidence map; perform confidence-weighted truncated signed distance function fusion on the multi-view depth map, and obtain the surface mesh model of the white body through the isosurface extraction algorithm;
[0042] Step 5: Extract the feature line network of the white body through the normal map and curvature map. Divide the surface mesh into multiple surface patches with the feature line network as the boundary. Adaptively fit NURBS surfaces to each surface patch and apply continuity constraints. Finally, output the industrial CAD surface model.
[0043] In step two, the method for determining the global coarse curvature map of the white body is as follows: for each point in the sparse point cloud, search for its spatial nearest neighbor points, and obtain the normal vector and fitting residual of the point through local plane fitting; calculate the degree of deviation between the current point's normal vector and the average normal vector of the neighborhood, and quantify the coarse curvature value of the point; perform regularization correction on the region where the fitting residual exceeds the preset threshold, and output the global coarse curvature map of the white body.
[0044] In step two, the density level division method is as follows: the surface of the white body is divided into three density levels: low curvature region, medium curvature region and high curvature region according to the coarse curvature value; the low curvature region adopts a low density large spacing Gaussian distribution; the medium curvature region adopts a medium density Gaussian distribution; and the high curvature region adopts a high density Gaussian distribution.
[0045] In step two, 3D Gaussians are initialized according to the spacing rules of each density level. The attribute parameters of each 3D Gaussian include position, rotation quaternion, scaling, opacity, color, normal vector, curvature, reflectivity, and roughness.
[0046] In step three, the periodically performed Gaussian dynamic density adjustment includes splitting, cloning, pruning, and adding operations. The splitting operation involves splitting a 3D Gaussian whose gradient norm exceeds a preset splitting threshold into two sub-Gaussians along its maximum scaling axis. The cloning operation involves cloning a 3D Gaussian whose size is smaller than a preset size threshold and is located in a high curvature region at its original position and applying a small positional perturbation. The pruning operation involves removing redundant 3D Gaussians whose opacity is lower than a preset opacity threshold and whose world space size exceeds a preset size limit. The adding operation involves generating a new 3D Gaussian based on backprojection of the current depth map for pixel regions where the rendering error exceeds a preset error threshold and the current 3D Gaussian covers sparse areas.
[0047] The expression for the total loss function is:
[0048] ;
[0049] in This is the rendering loss term; For depth constraints; For normal constraint terms; For smoothness constraints; To preserve boundary constraints; , , , and These are the weight coefficients for the corresponding items.
[0050] In step three, the phased weight adaptive scheduling method is as follows: In the early stage of training, depth coarse alignment is the core, the depth constraint term has a higher weight, and the normal constraint term and smoothness constraint term are temporarily not enabled; in the middle stage of training, the weight of the normal constraint term and the boundary preservation constraint term is increased; in the later stage of training, the weight of the smoothness constraint term and the boundary preservation constraint term is increased.
[0051] In step four, the confidence-weighted truncated symbolic distance function fusion method is as follows: for the depth map of each viewpoint, calculate the angle between the line of sight and the surface normal. The smaller the angle, the higher the confidence weight of the viewpoint. The depth values of each viewpoint are fused into the TSDF voxel according to the confidence weight, and the isosurface is extracted by the moving cube algorithm to obtain the surface mesh model of the white body.
[0052] In step five, the method for extracting the feature line network of the white body is as follows: based on the normal map and curvature map, the surface is divided into multiple initial surface patches using a region growing clustering algorithm; local maxima of the curvature map and local maxima of the normal gradient are extracted as candidate feature line points; the RANSAC algorithm is used to fit the candidate point set to generate parameterized feature lines; based on the spatial proximity of the feature line endpoints, the discrete feature line units are connected into a continuous feature line network.
[0053] In step five, the adaptive fitting of the NURBS surface and the application of continuity constraints are as follows:
[0054] The NURBS control point mesh resolution is adaptively selected based on the curvature complexity of the surface patch, with fewer control points used for flat surfaces and more control points used for complex surfaces.
[0055] Along the common feature line of adjacent surface patches, apply G0 positional continuity constraints and G1 tangent continuity constraints, where G0 constraints are achieved by coinciding boundary control points, and G1 constraints are achieved by coplanar boundary control points.
[0056] The NURBS surface parameters are solved piece by piece to minimize the geometric fitting error, and finally stitched together to form a complete B-rep format CAD model.
[0057] The present invention will now be described in detail.
[0058] Multi-angle images of the white body are acquired synchronously, and the multi-angle images are processed by the Structure for Motion Restoration (SfM) algorithm to obtain a sparse point cloud set and the camera pose parameters corresponding to each viewpoint.
[0059] A global coarse curvature map of the body-in-white is determined using a sparse point cloud set. The surface of the body-in-white is divided into multiple density levels based on curvature grades, and a 3D Gaussian set is initialized according to each density level. Specifically, the method for determining the global coarse curvature map of the body-in-white is as follows: for each point in the sparse point cloud, its spatial nearest neighbors are searched, and the normal vector and fitting residual of that point are obtained through local plane fitting; the deviation between the current point's normal vector and the average normal vector of its neighborhood is calculated to quantify the coarse curvature value of that point; for regions where the fitting residual exceeds a preset threshold, regularization correction is performed using CAD template priors or statistical priors, and the global coarse curvature map of the body-in-white is output.
[0060] The density level division method is as follows: the surface of the white body is divided into three density levels: low curvature region, medium curvature region and high curvature region according to the coarse curvature value; the low curvature region adopts a low density large spacing Gaussian distribution, corresponding to the flat panel area on the white body; the medium curvature region adopts a medium density Gaussian distribution, corresponding to general curved surfaces, such as the curved surface of the fender; the high curvature region adopts a high density Gaussian distribution, corresponding to the feature lines / corners with high curvature.
[0061] When initializing a 3D Gaussian according to the spacing rules of each density level, the attribute parameters of each 3D Gaussian include position, rotation quaternion, scaling, opacity, color, normal vector, curvature, reflectivity, and roughness attribute.
[0062] A total loss function is constructed, comprising a rendering loss term and multiple constraint terms. The weights of each constraint term are adjusted in stages, and iterative optimization training is performed on a 3D Gaussian ensemble. During training, 3D Gaussian dynamic density adjustment is periodically executed. The constraints of the total loss function include depth constraints, normal constraints, smoothness constraints, and boundary preservation constraints. The expression for the total loss function is:
[0063]
[0064] in, For the rendering loss term, a weighted sum of L1 loss (the absolute value of the difference between the predicted value and the actual value) and LPIPS (image similarity metric) loss is used to constrain the consistency between the rendered image and the ground truth image. This is a depth constraint term used to align the Gaussian rendering depth with the SfM or structured light depth, weighted by depth confidence. This is a normal constraint term used to constrain the consistency between the Gaussian normal vector and the surface geometric normal vector, and it is applied only in high-density regions. This is a smoothness constraint term used to constrain the smoothness of adjacent Gaussian normal vectors. Its weight increases in flat regions and decreases in high curvature regions. A boundary preservation constraint is used to preserve the feature gradient in high curvature edge regions, while setting an upper limit on the gradient to suppress noise. , , , and These are the weight coefficients for the corresponding items.
[0065] The periodically performed Gaussian dynamic density adjustment includes splitting, cloning, pruning, and adding operations. The splitting operation involves splitting a 3D Gaussian whose gradient norm exceeds a preset splitting threshold into two sub-Gaussians along its maximum scaling axis. The cloning operation involves cloning a 3D Gaussian whose size is smaller than a preset size threshold and is located in a high-curvature region at its original position and applying a small positional perturbation. The pruning operation involves removing redundant 3D Gaussians whose opacity is lower than a preset opacity threshold and whose world space size exceeds a preset size limit. The adding operation involves generating a new 3D Gaussian based on backprojection of the current depth map for pixel regions where the rendering error exceeds a preset error threshold and the current 3D Gaussian covers sparsely populated areas.
[0066] The phased weight adaptive scheduling strategy is as follows: In the early stage of training, coarse alignment of depth is the core, with a higher weight for depth constraints, while normal and smoothness constraints are temporarily not enabled; in the middle stage of training, geometric constraints are gradually injected, increasing the weight of normal and boundary preservation constraints to enhance geometric accuracy; in the later stage of training, the focus is on fine-tuning of details, further increasing the weight of smoothness and boundary preservation constraints to balance surface smoothness and feature clarity.
[0067] The optimized 3D Gaussian set is subjected to multi-view differentiable rendering, outputting a multi-channel attribute map including a depth map, normal map, curvature map, and confidence map. Confidence-weighted truncated signed distance function (TSDF) fusion is performed on the multi-view depth maps. Specifically, for each view's depth map, the angle between the viewing direction and the surface normal is calculated, with smaller angles resulting in higher confidence weights for different views. The depth values from each view are then fused into TSDF voxels according to their confidence weights, and isosurfaces are extracted using the moving cube algorithm to obtain the white body surface mesh model.
[0068] The feature line network of the white body is extracted by using the normal map and curvature map. Specifically, based on the normal map and curvature map, the surface is divided into multiple initial surface patches using a region growing clustering algorithm; local maxima of the curvature map and local maxima of the normal gradient are extracted as candidate feature line points; the RANSAC algorithm (Random Sampling Consensus) is used to fit the candidate point set to generate parameterized feature lines; and based on the spatial proximity of the feature line endpoints, the discrete feature line units are connected into a continuous feature line network.
[0069] The surface mesh is divided into multiple surface patches using a feature line network as the boundary. Each surface patch is adaptively fitted with a NURBS surface and continuity constraints are applied. Specifically, the NURBS control point mesh resolution is adaptively selected based on the curvature complexity of the surface patch; fewer control points are used for flat surfaces, and more control points are used for complex surfaces. Along the common feature lines of adjacent surface patches, G0 positional continuity constraints and G1 tangent continuity constraints are applied. The G0 constraint is achieved by coinciding boundary control points, and the G1 constraint is achieved by the coplanarity of boundary control points. The NURBS surface parameters are solved patch by patch to minimize the geometric fitting error. Finally, the patches are stitched together to form a complete B-rep format CAD model.
[0070] The present invention will now be described in detail with reference to the embodiments.
[0071] Example 1: Reverse modeling of the outer door panel of the body-in-white
[0072] This embodiment uses the reverse engineering of the left front door outer panel of a passenger vehicle body-in-white as an example. The main body of the left front door outer panel is a large, flat A-surface, including the door handle groove and multiple feature edges. The reference comparison method is handheld structured light scanning. Multi-angle data acquisition and preprocessing uses a circular acquisition array composed of eight 5-megapixel industrial cameras, evenly arranged on the outer side of the door panel, covering the 360° visible range of the tested part. All cameras are synchronously triggered by hardware to acquire multi-angle RGB images of the door outer panel, acquiring a total of 32 sets of effective viewing angle images.
[0073] The acquired multi-angle images are input into the SfM algorithm framework to extract feature points and perform feature matching. The intrinsic and extrinsic parameters and spatial pose of each camera are solved by bundle adjustment optimization. At the same time, a sparse point cloud set of about 32,000 points is reconstructed, and each point contains three-dimensional spatial coordinates and SfM reconstruction confidence.
[0074] For each data point in the sparse point cloud, coarse curvature estimation is performed by searching for its k=16 spatial nearest neighbors using a kd-tree spatial index. Local plane fitting is then performed using the least squares method to obtain the unit normal vector and the plane fitting residual for that point. The angular deviation between the current point's normal vector and the average of the normal vectors of all neighboring points is calculated, and this deviation is quantified as the coarse curvature value for that point; a larger deviation corresponds to a higher surface curvature.
[0075] The fitting residuals of all points are statistically analyzed, and a residual threshold of twice the global average residual is set. For high-uncertainty regions where the fitting residuals exceed the threshold (such as workpiece edges and locally occluded areas), a standard CAD template surface of the same level of car door is introduced as a geometric prior. The curvature estimation results for these regions are then regularized and smoothed to suppress erroneous curvature estimations caused by sparse point cloud noise. Finally, a global low-resolution coarse curvature map is output.
[0076] Curvature-graded density allocation divides the outer surface of the car door panel into three density levels based on the coarse curvature value, and differentiates the initial 3D Gaussian spacing:
[0077] Low curvature area: Corresponds to the large flat panel area of the door, with a curvature value of less than 0.01mm. -1 The initial spacing of the 3D Gaussian array is set to 10mm, and a low-density distribution is adopted.
[0078] Medium curvature region: Corresponding to general curved surface areas such as the recessed arc surface of door handles, with a curvature value between 0.01 and 0.1 mm. -1 Between them, the initial spacing of the 3D Gaussians is set to 3mm, and a medium density distribution is adopted.
[0079] High curvature region: corresponding to feature edges and corners, with a curvature value greater than 0.1mm. -1 The initial spacing of the 3D Gaussian array is set to 1mm, and a high-density encrypted distribution is adopted.
[0080] Statistics show that low curvature regions account for approximately 85% of the total area of the tested part, medium curvature regions account for approximately 12%, and high curvature regions account for approximately 3%. The total number of initialized 3D Gaussian elements is approximately 1.2 million, which is about 65% less than the density strategy with a uniform 1mm spacing, significantly reducing the computational cost of subsequent training.
[0081] Following the aforementioned three-level density spacing rules, a 3D Gaussian set is initialized on the outer surface of the car door panel. Each 3D Gaussian set contains nine attributes: spatial position, rotation quaternion, 3D scaling, opacity, RGB color, surface normal vector, curvature value, reflectivity, and roughness. Geometric attributes are used for 3D reconstruction and accuracy optimization, while physical attributes are used for subsequent appearance quality analysis and material property inversion.
[0082] A total loss function is constructed, and iterative optimization is performed using a three-stage weight scheduling strategy. The total number of training iterations is 30,000 steps, with dynamic density adjustment performed every 1,000 steps. The total loss function is expressed as follows:
[0083]
[0084] in, To constrain the visual consistency between the rendered image and the real-world captured image, a weighted sum of 0.8x L1 pixel loss and 0.2x LPIPS perceptual loss is used. The baseline weights are... Set to 1.0; This is a depth constraint term used to align the Gaussian rendering depth with the SfM or structured light depth, weighted by depth confidence, with initial weights... Set it to 0.5; This is a normal constraint term used to ensure consistency between the Gaussian normal vector and the surface geometric normal vector. It is applied only in high-density regions, with initial weights... Set to 0; This is a smoothness constraint term used to constrain the smoothness of adjacent Gaussian normal vectors. Its weight increases in flat regions and decreases in high-curvature regions. The initial weights... Set to 0; A boundary preservation constraint is used to preserve the feature gradient in high-curvature edge regions, while setting an upper bound on the gradient to suppress noise. Initial weights... Set it to 0.
[0085] In the initial training phase (0-10000 steps): the focus is on depth coarse alignment and overall structure optimization. Keep it at 0.5. , , All values are 0, prioritizing the correctness of the overall geometric structure and avoiding local optima caused by early geometric constraints.
[0086] Mid-training phase (10,000-20,000 steps): Gradually inject geometric constraints. It linearly increases from 0 to 0.2. The accuracy is linearly increased from 0 to 0.1, enhancing local geometric precision and edge feature clarity.
[0087] Late training phase (20,000-30,000 steps): Fine-tune surface quality. Increased to 0.15, Further improved to 0.15, balancing surface smoothness and feature retention.
[0088] Dynamic density adjustment is performed every 1000 iterations, with the following specific steps:
[0089] Splitting operation: For 3D Gaussians with a gradient norm greater than 0.005, split them into two sub-Gaussians of half the size along their maximum scaling axis to improve local detail representation; Cloning operation: For 3D Gaussians with a size less than 0.5mm and located in high curvature regions, clone them in their original positions and apply a random position perturbation of ±0.1mm to enhance the sampling density of feature regions; Pruning operation: Remove transparent 3D Gaussians with an opacity less than 0.01 and outlier redundant 3D Gaussians with a world space size greater than 20mm; Adding operation: For regions with a rendering pixel error greater than 0.1 and sparse coverage by the current 3D Gaussian, generate new 3D Gaussians based on backprojection of the current depth map to fill in the reconstructed blank areas.
[0090] Multi-attribute rendering and surface mesh extraction are used to perform differentiable rendering on the optimized 3D Gaussian set by selecting 24 uniformly distributed virtual viewpoints. Each viewpoint outputs a four-channel attribute map, including a depth map, normal map, curvature map, and confidence map.
[0091] Confidence-weighted TSDF fusion was performed on depth maps from 24 viewpoints: For each pixel in each viewpoint, the angle between the viewing direction and the surface normal was calculated. Viewpoints with angles less than 30° were weighted at 1.0, and those with angles greater than 60° were weighted at 0.2. Intermediate angles were linearly interpolated using a cosine law. The depth values from each viewpoint were fused into a TSDF voxel mesh with a voxel size of 0.2 mm according to their weights. The zero isosurface was extracted using the Moving Cubes algorithm to obtain the triangular mesh surface model of the car door outer panel, achieving sub-millimeter voxel resolution.
[0092] Based on the fused global normal map and curvature map, the surface is first divided into 12 initial surface patches using a region growing clustering algorithm with a growth criterion of less than 5° between adjacent points. Then, local maxima of the curvature map and local maxima of the normal gradient are extracted, resulting in 1286 candidate feature lines. The RANSAC algorithm is used to fit line segments and arc segments to the candidate points, resulting in 32 parameterized feature line units. Finally, based on the spatial proximity of the feature line endpoints (distance threshold of 0.5 mm), the discrete feature lines are connected into a continuous feature line network, which includes 8 closed feature lines and 16 open feature lines.
[0093] Using the feature line network as the boundary, the triangular mesh is divided into 12 surface patches. The number of NURBS control points is adaptively selected according to the curvature complexity of each surface patch: the flat A surface uses an 8×8 control point mesh, the curved surface area uses a 16×16 control point mesh, and the area near the feature line uses a 32×32 control point mesh.
[0094] Along the common boundary of adjacent surface patches, apply G0 positional continuity constraints and G1 tangent continuity constraints: G0 constraint is achieved by making the coordinates of control points on both sides of the boundary coincide; G1 constraint is achieved by making the adjacent row control points on both sides of the boundary coplanar with the boundary control points, ensuring a smooth surface transition.
[0095] The weighted least squares method is used to solve the NURBS parameters of each surface patch, minimizing the geometric distance error between the fitted point and the original mesh. Finally, the patches are stitched together to generate a complete B-rep format CAD surface model, which can be directly imported into mainstream industrial CAD software such as Catia and UG for editing and application.
[0096] The expected results of this embodiment are: the total number of Gaussians is reduced by 65% compared to the uniform density strategy; the reconstruction accuracy of flat areas reaches 0.08mm, meeting the sub-millimeter level industrial requirements; the feature edge width accuracy is better than 0.1mm, which is better than traditional handheld structured light scanning; the total reverse engineering time for a single piece is about 8 hours, which is far better than the several days cycle of traditional methods; the manual intervention rate of CAD conversion is reduced to below 15%, and the degree of automation is significantly improved.
[0097] Example 2: Reverse modeling of the inner panel of the A-pillar reinforcement plate of the body-in-white
[0098] This embodiment uses reverse engineering of the inner panel of the A-pillar reinforcement plate of a passenger vehicle's body-in-white as an example. The inner panel of the A-pillar reinforcement plate is a complex stamped part, containing multiple reinforcing ribs, flanges, and mounting points. Some areas are obscured by the outer panel, and the comparative method is industrial CT scanning. The acquisition system uses 12 5-megapixel industrial cameras, arranged in a spherical pattern with bottom blind spot filling, to cover all visible areas of the reinforcement plate. For areas obscured by the outer panel, a multi-view depth interpolation strategy is used for geometric restoration without disassembling the outer panel.
[0099] Because the reinforcing plate contains numerous reinforcing ribs and flanged structures, the proportion of high-curvature areas increases to approximately 15%, thus expanding the coverage of high-density areas and ensuring the reconstruction accuracy of fine structures. The occluded areas are geometrically estimated through multi-view depth interpolation synthesis, utilizing the interpolation results based on the normal and curvature constraints of the surrounding visible areas. The remaining algorithm steps in this embodiment are consistent with Embodiment 1, with the expected results being: geometric estimation error of the occluded area less than 0.2mm; total reverse engineering cycle of approximately 12 hours, far superior to the several days cycle of industrial CT; and equipment and implementation costs approximately 15% of the industrial CT solution, significantly reducing engineering costs while ensuring accuracy.
[0100] The beneficial effects of the present invention are described in detail below.
[0101] This invention significantly reduces computational overhead and workload. It generates a global coarse curvature map of the vehicle body based on sparse point clouds, dividing the surface into low, medium, and high density levels according to curvature. Differentiated initial 3D Gaussian spacing is used, employing low-density distribution in large flat areas and high-density distribution in high-curvature feature areas. This drastically reduces the total amount of 3D Gaussian data from the initialization stage, reducing computational consumption for iterative optimization from the source. Simultaneously, a training strategy combining periodic dynamic density adjustment and staged weight scheduling significantly shortens the modeling cycle while ensuring reconstruction accuracy.
[0102] This invention achieves high geometric modeling accuracy, balancing surface smoothness and feature detail fidelity. A total loss function is constructed, consisting of a rendering loss term and four types of constraint terms: depth, normal, smoothness, and boundary preservation. A phased weighted adaptive scheduling strategy is employed: in the early training stage, coarse depth alignment is prioritized to ensure the overall geometric structure correctness; in the middle training stage, geometric constraints are gradually injected to enhance local geometric accuracy and edge feature clarity; in the later training stage, fine optimization is emphasized to balance surface smoothness and feature preservation. Combined with a confidence-weighted TSDF deep fusion mechanism, sub-millimeter-level industrial precision is achieved.
[0103] This invention boasts a high degree of automation, significantly reducing labor costs. It can automatically extract feature line networks and divide surface patches based on normal and curvature diagrams, and adaptively select the NURBS control point mesh resolution according to the curvature complexity of each surface patch. Simultaneously, it can automatically apply G0 positional continuity constraints and G1 tangent continuity constraints along common feature lines, solve parameters patch by patch, and then stitch them together to generate a complete parametric CAD model. This avoids the repetitive work of manual model repair and surface stitching in traditional reverse engineering, significantly improving modeling efficiency and result consistency.
[0104] The data acquisition scheme of this invention is flexible and low-cost, adaptable to complex industrial scenarios. Specifically, data acquisition can be completed using only a conventional industrial camera array, eliminating the need to purchase expensive industrial CT scanners or high-precision structured light equipment, significantly reducing the hardware investment threshold. It also supports various camera layouts, such as ring arrangement and spherical arrangement with bottom blind spot filling, which can be flexibly adjusted according to the shape of the measured object.
[0105] This invention provides rich output information dimensions, supporting industrial applications across multiple scenarios. The initialized 3D Gaussian not only includes basic geometric properties such as position, rotation quaternions, and scaling, but also integrates geometric and physical properties such as reflectivity and roughness. After optimization, it can output multi-channel attribute maps including depth maps, normal maps, curvature maps, and confidence maps through multi-view differentiable rendering. In addition to supporting high-precision reverse modeling, it can also be directly used for subsequent industrial scenarios such as body-in-white exterior quality inspection, material property inversion, and assembly deviation analysis. Compared with traditional point cloud or triangular mesh models that only contain spatial coordinates, it offers higher data reusability and industrial application value.
[0106] This invention exhibits strong anti-interference capabilities and high robustness. In the coarse curvature estimation stage, for high-uncertainty areas such as workpiece edges and local occlusion where the fitting residual exceeds the standard, CAD template priors or statistical priors are introduced for regularization correction to suppress erroneous curvature estimation caused by sparse point cloud noise. During training, boundary preservation constraints are used to set gradient upper limits to suppress noise interference. In the TSDF fusion stage, confidence weights are allocated based on the angle between the line of sight and the surface normal to reduce the impact of large-view measurement errors. At the same time, outliers and redundant Gaussians are removed through periodic pruning operations. Multiple mechanisms work together to ensure reconstruction stability under complex conditions such as sparse data, local occlusion, and workpiece edges.
[0107] The present invention has been described above by way of example with reference to the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-described manner. Any non-substantial improvements made using the inventive concept and technical solution; or the direct application of the inventive concept and technical solution to other situations without modification, are all within the protection scope of the present invention.
Claims
1. A method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology, characterized in that, Includes the following steps: Step 1: Simultaneously acquire multi-angle images of the white body, and process the multi-angle images using the structure-reconstruction-motion algorithm to obtain a sparse point cloud set and camera pose parameters corresponding to each viewpoint; Step 2: Determine the global coarse curvature map of the white body through the sparse point cloud set, divide the surface of the white body into multiple density levels according to the curvature level, and initialize the 3D Gaussian set according to the division of each density level; Step 3: Construct a total loss function that includes a rendering loss term and multiple constraint terms, adjust the weights of each constraint term in stages, iteratively optimize and train the 3D Gaussian set, and periodically perform 3D Gaussian dynamic density adjustment during the training process; Step 4: Perform multi-view differentiable rendering on the optimized 3D Gaussian set to output a multi-channel attribute map containing a depth map, normal map, curvature map, and confidence map; perform confidence-weighted truncated signed distance function fusion on the multi-view depth map, and obtain the surface mesh model of the white body through the isosurface extraction algorithm; Step 5: Extract the feature line network of the white body through the normal map and curvature map. Divide the surface mesh into multiple surface patches with the feature line network as the boundary. Adaptively fit NURBS surfaces to each surface patch and apply continuity constraints. Finally, output the industrial CAD surface model.
2. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step two, the method for determining the global coarse curvature map of the white body is as follows: for each point in the sparse point cloud, search for its spatial nearest neighbor points, obtain the normal vector and fitting residual of the point through local plane fitting; calculate the degree of deviation between the current point's normal vector and the average normal vector of the neighborhood, and quantify the coarse curvature value of the point. Regularization correction is applied to regions where the fitting residual exceeds a preset threshold, and a global coarse curvature map of the white body is output.
3. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step two, the density level division method is as follows: the surface of the white body is divided into three density levels: low curvature region, medium curvature region and high curvature region according to the coarse curvature value; the low curvature region adopts a low density large spacing Gaussian distribution; the medium curvature region adopts a medium density Gaussian distribution; and the high curvature region adopts a high density Gaussian distribution.
4. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step two, 3D Gaussians are initialized according to the spacing rules of each density level. The attribute parameters of each 3D Gaussian include position, rotation quaternion, scaling, opacity, color, normal vector, curvature, reflectivity, and roughness.
5. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step three, the periodically performed Gaussian dynamic density adjustment includes splitting, cloning, pruning, and adding operations. The splitting operation involves splitting a 3D Gaussian whose gradient norm exceeds a preset splitting threshold into two sub-Gaussians along its maximum scaling axis. The cloning operation involves cloning a 3D Gaussian whose size is smaller than a preset size threshold and is located in a high curvature region at its original position and applying a small positional perturbation. The pruning operation involves removing redundant 3D Gaussians whose opacity is lower than a preset opacity threshold and whose world space size exceeds a preset size limit. The adding operation involves generating a new 3D Gaussian based on backprojection of the current depth map for pixel regions where the rendering error exceeds a preset error threshold and the current 3D Gaussian covers sparse areas.
6. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: The expression for the total loss function is: ; in This is the rendering loss term; For depth constraints; For normal constraint terms; For smoothness constraints; To preserve boundary constraints; , , , and These are the weight coefficients for the corresponding items.
7. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step three, the phased weight adaptive scheduling method is as follows: in the early stage of training, depth coarse alignment is the core, the depth constraint term has a higher weight, and the normal constraint term and smoothness constraint term are not enabled for the time being. During the middle stage of training, increase the weights of the normal constraint and the boundary preservation constraint; during the later stage of training, increase the weights of the smoothness constraint and the boundary preservation constraint.
8. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step four, the confidence-weighted truncated symbolic distance function fusion method is as follows: for the depth map of each viewpoint, calculate the angle between the line of sight and the surface normal. The smaller the angle, the higher the confidence weight of the viewpoint. The depth values of each viewpoint are fused into the TSDF voxel according to the confidence weight, and the isosurface is extracted by the moving cube algorithm to obtain the surface mesh model of the white body.
9. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step five, the method for extracting the feature line network of the white body is as follows: based on the normal map and curvature map, the surface is divided into multiple initial surface patches by a region growing clustering algorithm; the local maximum points of the curvature map and the local maximum points of the normal gradient are extracted as the candidate point set of feature lines; the RANSAC algorithm is used to fit the candidate point set to generate parameterized feature lines. Based on the spatial proximity of the endpoints of the feature lines, discrete feature line units are connected into a continuous feature line network.
10. The method for multi-attribute reverse reconstruction of a white body based on Gaussian splashing technology as described in claim 1, characterized in that: In step five, the adaptive fitting of the NURBS surface and the application of continuity constraints are as follows: The NURBS control point mesh resolution is adaptively selected based on the curvature complexity of the surface patch, with fewer control points used for flat surfaces and more control points used for complex surfaces. Along the common feature line of adjacent surface patches, apply G0 positional continuity constraints and G1 tangent continuity constraints, where G0 constraints are achieved by coinciding boundary control points, and G1 constraints are achieved by coplanar boundary control points. The NURBS surface parameters are solved piece by piece to minimize the geometric fitting error, and finally stitched together to form a complete B-rep format CAD surface model.
Citation Information
Patent Citations
Comprehensive management and control method and system based on digital twin and multi-source heterogeneous data processing
CN119293741B
