Multi-source fusion-based three-dimensional scene registration method, device, equipment and medium

By using timestamp matching and similarity transformation, the problem of inconsistency between the 3D Gaussian light field and the raster map coordinate system was solved, achieving high-precision 3D scene registration and improving the accuracy and reliability of waypoint planning.

CN123181518APending Publication Date: 2026-11-27XIAMEN ROAD & BRIDGE INFORMATION ENG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611685951.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, the three-dimensional Gaussian light field and the raster map are derived from two independent reconstruction systems. The coordinate system origin, orientation and scale are inconsistent, which makes it impossible to integrate and use them under the same spatial reference, thus limiting the improvement of waypoint planning accuracy.

Method used

By acquiring video sequences and recording SLAM pose trajectories and timestamps, the COLMAP camera pose trajectory is extracted, a 3D Gaussian splash model is trained, and a pairing point set is established through timestamp matching. The similarity transformation is solved to align the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the occupied raster map.

Benefits of technology

It achieves high-precision registration of photorealistic rendering capabilities of 3D Gaussian light fields and collision safety judgment capabilities of occupied grids in the same space, improving the accuracy and reliability of waypoint planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181518A_ABST
    Figure CN123181518A_ABST
Patent Text Reader

Abstract

The application provides a three-dimensional scene registration method, device and equipment based on multi-source fusion and a medium. The method comprises the following steps: collecting a video sequence in a target scene, and synchronously recording a SLAM pose track and a corresponding timestamp; extracting a COLMAP camera pose track and a corresponding timestamp from the video sequence, and training a three-dimensional Gaussian splash model according to the video sequence and the COLMAP camera pose track to obtain a three-dimensional Gaussian light field; generating an occupancy grid map according to an environment point cloud map output by a SLAM system, matching the SLAM pose track with the COLMAP camera pose track according to the timestamp, establishing a matched point set, solving a similar transformation, and then aligning coordinate systems of the two, and completing three-dimensional scene registration. The application can realize high-precision three-dimensional scene registration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image data processing technology, and in particular to a three-dimensional scene registration method, apparatus, device and medium based on multi-source fusion. Background Technology

[0002] Waypoint planning is a core component of autonomous navigation for mobile robots. Operators need to pre-define a series of key locations and orientations in the environment, enabling the robot to perform inspection, transportation, or operational tasks along a designated path. Traditional waypoint planning methods require operators to mark waypoints on two-dimensional grid maps or sparse point clouds. However, these map representations lack photorealistic quality, making it difficult for operators to intuitively understand the spatial structure and detailed features of the scene. The efficiency and accuracy of waypoint planning heavily depend on the operator's experience and familiarity with the environment.

[0003] In recent years, 3D Gaussian splashing technology has provided a new solution for scene reconstruction and rendering. Existing technical solutions include: (1) A robot navigation scheme based on Three-Dimensional Gaussian Splatting (3DGS) includes Splat-Plan and Splat-Loc modules. Splat-Plan directly extracts safe polyhedral corridors from the 3DGS Gaussian field for path planning, while Splat-Loc estimates pose through rendering comparison. This method uses 3DGS for both rendering and planning, employing a single representation layer. However, 3DGS Gaussian primitives are essentially probability density distributions rather than geometric entities, limiting the accuracy and reliability of directly extracting safe corridors from them.

[0004] (2) The ROS NavStack RViz 2D Nav Goal tool allows operators to view 2D raster maps or 3D point clouds in RViz and set navigation target points by clicking with the mouse. However, this method operates on sparse point clouds or 2D raster maps and lacks photorealistic feel.

[0005] (3) A path planning method for collaborative air-ground heterogeneous unmanned systems in complex environments, patent publication number CN122072162A, utilizes a UAV equipped with a lidar to collect point cloud data to generate a two-dimensional raster grayscale map, and detects passable areas to fit the road centerline. This method uses a single raster map representation and does not involve three-dimensional light field rendering.

[0006] All of the above solutions share a common technical obstacle: the three-dimensional Gaussian light field and the robot's synchronous localization and mapping map are derived from two independent reconstruction systems. The origin, orientation, and scale of the two systems are different, which makes it impossible to integrate the photorealistic feel of the light field model with the accessibility determination capability of the raster map under the same spatial reference, thus limiting the further improvement of waypoint planning accuracy. Summary of the Invention

[0007] To address the aforementioned problems in the prior art, this application provides a method, apparatus, device, and medium for three-dimensional scene registration based on multi-source fusion, so as to achieve high-precision three-dimensional scene registration.

[0008] To achieve the above objectives, the technical solution adopted in this application is as follows: Firstly, this application provides a 3D scene registration method based on multi-source fusion, including: Video sequences were acquired in the target scene, and SLAM pose trajectories and corresponding timestamps were recorded simultaneously. Extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and the COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field. Generate an occupied grid map based on the environmental point cloud map output by the SLAM system; Match the SLAM pose trajectory with the COLMAP camera pose trajectory based on the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the three-dimensional scene registration.

[0009] The beneficial effects of this application are as follows: By matching the SLAM pose trajectory with the COLMAP camera pose trajectory using timestamps, establishing a paired point set, and solving the similarity transformation, this application can simultaneously eliminate scale differences, orientation differences, and origin offsets between the two coordinate systems, solving the technical problem of the inability to directly fuse two independent reconstruction systems with inconsistent coordinate systems. Simultaneously, aligning the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the occupied raster map provides a coarse alignment basis, enabling further refinement within the correct neighborhood. After coordinate system alignment, the photorealistic rendering capability of the 3D Gaussian light field and the collision safety judgment capability of the occupied raster are registered in the same space, achieving high-precision 3D scene registration.

[0010] Optionally, establishing a set of paired points and solving for the similarity transformation includes: The SLAM pose trajectory and the COLMAP camera pose trajectory are matched according to the timestamp to obtain multiple sets of initial pairing points. Each set of initial pairing points contains the SLAM pose and the COLMAP camera pose at the same time. Three pairs of pairs of initial pairs of points are randomly selected from multiple pairs of initial pairs of points to calculate candidate similarity transformation. The candidate similarity transformation is applied to the COLMAP camera pose in all initial pairs of points. The distance residual between the transformed pose and the corresponding SLAM pose is calculated. The number of pairs of points whose distance residual is less than a first preset threshold is counted as the number of inliers. The candidate similarity transformation includes a scale factor, a rotation matrix and a translation vector. Repeat the step of counting the number of interior points until the preset number of iterations is reached, and select the interior points corresponding to the candidate similarity transformation with the largest number of interior points as the target interior point set. Singular value decomposition is performed on the target interior point set to solve for the similarity transformation.

[0011] Optionally, after solving the similarity transformation, the method further includes: The three-dimensional center coordinates of each Gaussian element are extracted from the three-dimensional Gaussian light field to form a Gaussian center point cloud in the COLMAP coordinate system. The Gaussian center point cloud is pre-transformed to the SLAM coordinate system using the similarity transformation to obtain the pre-transformed Gaussian center point cloud; ICP iterative registration is performed on the pre-transformed Gaussian center point cloud and the environmental point cloud map constructed by the SLAM system. In each iteration, the environmental point cloud map is searched for the closest corresponding point to each point in the pre-transformed Gaussian center point cloud to establish a correspondence. Based on the correspondence, the incremental scale factor, incremental rotation matrix and incremental translation vector are calculated, and the position and cumulative fine registration transformation of the pre-transformed Gaussian center point cloud are updated. Repeat the above iterative steps until the transformation increment is less than the second preset threshold or the current iteration number reaches the maximum iteration number. Update the similarity transformation based on the cumulative incremental scale factor, incremental rotation matrix, and incremental translation vector of all iteration rounds.

[0012] Optionally, before aligning the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied raster map, the method further includes: Display the three-dimensional Gaussian light field and the occupancy grid map; The operator receives a first set of physical points marked in the three-dimensional Gaussian light field and a second set of physical points marked in the occupied grid map. The first set of physical points and the second set of physical points contain at least three corresponding physical points with the same name. A supplementary similarity transformation is calculated based on the physical corresponding points, and the supplementary similarity transformation is fused with the similarity transformation to update the similarity transformation.

[0013] Optionally, after completing the 3D scene registration, the process includes: In the three-dimensional Gaussian light field after coordinate system alignment, the virtual marker is controlled to move in the three-dimensional Gaussian light field in response to the operator's first-person perspective movement control command. During the movement of the virtual marker, the current position of the virtual marker in the three-dimensional Gaussian light field is obtained, and the ground elevation value of the corresponding grid in the occupied grid map is queried according to the current position, and the height coordinates of the virtual marker are locked to the ground elevation value. The system queries the passability status of the corresponding location in the occupied grid map and provides feedback.

[0014] Optionally, if the occupancy grid map includes a first coded value representing a no-data state, a second coded value representing a passable state, and a third coded value representing an obstacle state, then querying the passable state of the corresponding location in the occupancy grid map and providing feedback includes: Based on the current position of the virtual marker in the three-dimensional Gaussian light field, determine the corresponding target grid in the occupied grid map, and read the encoded value of the target grid; Different colors are displayed around the virtual marker in a three-dimensional Gaussian light field based on the encoded value of the target raster.

[0015] Optionally, after completing the 3D scene registration, the process further includes: In response to the waypoint confirmation command, the current position and orientation of the virtual marker are recorded, and the waypoint coordinates in the COLMAP coordinate system are converted into waypoint coordinates in the SLAM coordinate system through the updated similarity transformation; Obtain at least two waypoints confirmed by the user, each waypoint containing a three-dimensional spatial position and orientation angle; The intermediate waypoint and its preceding and following waypoints are determined according to the order of the waypoints confirmed by the user. The displacement vector from the preceding waypoint to the following waypoint is calculated, and the expected orientation angle is calculated based on the displacement vector as the orientation angle of the intermediate waypoint. Fill the waypoint sequence with the orientation angle of the intermediate waypoints and output the waypoint sequence.

[0016] Secondly, this application provides a 3D scene registration device based on multi-source fusion, comprising: The data acquisition module is used to acquire video sequences in the target scene and simultaneously record the SLAM pose trajectory and the corresponding timestamp; The light field acquisition module is used to extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and the COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field. The map generation module is used to generate an occupied grid map based on the environmental point cloud map output by the SLAM system. The coordinate alignment module is used to match the SLAM pose trajectory with the COLMAP camera pose trajectory according to the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the three-dimensional scene registration.

[0017] Thirdly, this application provides a computer device, including: one or more processors, and a memory; The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the method as described in the first aspect.

[0018] Fourthly, this application provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method described in the first aspect.

[0019] The technical effects of the 3D scene registration device based on multi-source fusion provided in the second aspect, the computer device provided in the third aspect, and the storage medium provided in the fourth aspect are described in the relevant description of the 3D scene registration method based on multi-source fusion provided in the first aspect. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the main process of the 3D scene registration method based on multi-source fusion in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a 3D scene registration device based on multi-source fusion according to an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a computer device according to an embodiment of this application. Detailed Implementation

[0021] To better understand the above technical solutions, exemplary embodiments of this application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application can be understood more clearly and thoroughly, and that the scope of this application can be fully conveyed to those skilled in the art.

[0022] The embodiments of this application are applied to 3D scene registration scenarios in autonomous navigation of mobile robots, and are particularly suitable for operational scenarios such as inspection, transportation, and maintenance, where it is necessary to unify the coordinates of the visual reconstruction model and the navigation map. In the prior art, the 3D Gaussian light field and the grid map are derived from two independent reconstruction systems, with inconsistent coordinate system origins, orientations, and scales, making it difficult to integrate and use them under the same spatial reference, thus limiting further improvement in scene perception and understanding capabilities.

[0023] To this end, in various embodiments of this application, video sequences are acquired in the target scene, and SLAM pose trajectories and corresponding timestamps are recorded simultaneously; COLMAP camera pose trajectories and corresponding timestamps are extracted from the video sequences, and a three-dimensional Gaussian splash model is trained based on the video sequences and COLMAP camera pose trajectories to obtain a three-dimensional Gaussian light field; an occupied grid map is generated based on the environmental point cloud map output by the SLAM system, and the SLAM pose trajectories and COLMAP camera pose trajectories are matched according to the timestamps to establish a paired point set, solve the similarity transformation, and align the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the three-dimensional scene registration. This achieves high-precision three-dimensional scene registration.

[0024] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.

[0025] This application provides a 3D scene registration method based on multi-source fusion, such as... Figure 1 As shown, the method includes the following steps: S1. Acquire video sequences in the target scene and simultaneously record the SLAM pose trajectory and corresponding timestamps.

[0026] In this embodiment, the operator controls the robot to move within the target scene. The robot's onboard camera records environmental video at a frequency of 20-60 frames per second. Simultaneously, the robot's onboard SLAM (Simultaneous Localization and Mapping) system continuously runs, synchronously recording the robot's pose P at each acquisition moment at a frequency of 5Hz to 10Hz. slam(t) = {x, y, z, yaw, t}, forming a timestamped SLAM pose trajectory sequence. Here, x, y, and z are the robot's three-dimensional spatial coordinates in the SLAM coordinate system, yaw is the robot's yaw angle, and t is the timestamp of the acquisition time. This data provides the raw data foundation for subsequent dual-mode reconstruction, and synchronously recording the timestamps provides a basis for establishing the correspondence between the two trajectories through timestamp matching. It should be noted that there are pre-calibrated extrinsic parameters between the camera and the robot body. The SLAM pose output by the SLAM system is the camera pose that has already undergone extrinsic parameter conversion, or the robot body pose output by the SLAM system is converted into a camera pose through these extrinsic parameters before being used for pairing.

[0027] S2. Extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field.

[0028] The video sequence is uploaded to the GPU training service, and COLMAP motion reconstruction is performed to estimate the camera's intrinsic and extrinsic poses, resulting in the COLMAP camera pose trajectory P. colmap (t)={x',y',z',R,t}, where x', y', and z' are the three-dimensional spatial coordinates of the camera in the COLMAP (Structure-from-Motion and Multi-View Stereo Pipeline) coordinate system, R is the three-dimensional rotation matrix of the camera, and t is the timestamp of the acquisition time. Subsequently, the 3DGS model was trained using the camera parameters and image frames output by COLMAP. During training, the model represents the scene as a set of a large number of Gaussian primitives, each containing position coordinates, color values, opacity parameters, and a covariance matrix. These Gaussian primitives together constitute a three-dimensional Gaussian light field, thus providing the operator with an intuitive and realistic scene interaction interface.

[0029] S3. Generate an occupied grid map based on the environmental point cloud map output by the SLAM system.

[0030] The process involves generating a two-dimensional occupancy grid map from the environmental point cloud map output by the SLAM system through height slice projection, and recording the mapping relationship from the SLAM coordinate system to the occupancy grid. This constructs a collision safety planning layer independent of the three-dimensional Gaussian light field, providing a reliable geometric basis for waypoint accessibility verification. The occupancy grid map includes occupancy status codes and ground elevation data for each grid. The occupancy status codes include a first code value indicating no data, a second code value indicating accessible status, and a third code value indicating obstacle status. For example, the first code value is 0, the second code value is 1, and the third code value is 2.

[0031] S4. Match the SLAM pose trajectory with the COLMAP camera pose trajectory based on the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the 3D scene registration.

[0032] Since the 3D Gaussian light field is located in the COLMAP coordinate system, while the occupied raster map is located in the SLAM coordinate system, the origins, orientations, and scales of the two coordinate systems are different. Therefore, it is necessary to establish a similarity transformation relationship between the two. In this embodiment, step S4 establishes a paired point set and solves the similarity transformation. The similarity transformation includes a scale factor, a rotation matrix, and a translation vector. The coordinate transformation formula is: p S =s×R×p C +t; Where, p C p is a three-dimensional point in the COLMAP coordinate system. S Let R be the 3D spatial point mapped to the SLAM coordinate system, where R is a 3×3 rotation matrix, t is the 3D translation vector, and s is the scale factor. This transformation can simultaneously eliminate origin offset, orientation difference, and scale difference between the two coordinate systems, aligning the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the raster map.

[0033] This embodiment establishes the paired point set and solves the similarity transformation through the following sub-steps: S41. Match the SLAM pose trajectory with the COLMAP camera pose trajectory according to the timestamp to obtain multiple sets of initial pairing points. Each set of initial pairing points contains the SLAM pose and COLMAP camera pose at the same time.

[0034] Wherein, the initial pairing point is {(P slam,i ,P colmap,iSpecifically, in a preferred example, the frequency of video capture by the camera and the frequency of pose acquisition by the robot are proportional, thus enabling the acquisition of pairing points with the same timestamp. For example, the camera captures video at 30 frames per second, while the robot captures poses at 5Hz, 6Hz, or 10Hz. If the frequency is not proportional, then for each COLMAP camera pose timestamp, two adjacent SLAM poses are searched in the SLAM pose trajectory. If the difference between the timestamp of the COLMAP camera pose and the timestamp of the nearest SLAM pose exceeds a preset threshold, the pairing point is discarded. Then, linear interpolation is used to generate the SLAM position at that moment, and quaternion spherical interpolation is used to generate the SLAM pose at that moment. After interpolation, SLAM camera poses aligned with the timestamps of each COLMAP camera pose are obtained, forming multiple sets of initial pairing points.

[0035] S42. Randomly select 3 sets of pairing points from multiple initial pairing points to calculate candidate similarity transformation. Apply the candidate similarity transformation to the COLMAP camera pose in all initial pairing points. Calculate the distance residual between the transformed pose and the corresponding SLAM pose. Count the number of pairing points whose distance residual is less than the first preset threshold as the number of inliers. The candidate similarity transformation includes scale factor, rotation matrix and translation vector.

[0036] In this process, three sets of paired points are randomly selected to calculate candidate similarity transformations (R, t, s). Then, the candidate similarity transformations are applied to the COLMAP camera poses of all initial paired points, and the distance residual e between the transformed pose and the corresponding SLAM pose is calculated. i =||s×R×P colmap,i +tP slam,i In one example, the first preset threshold is 0.5m. Paired points with a distance residual of less than 0.5m are considered interior points, and the number of interior points is counted.

[0037] S43. Repeat the step of counting the number of interior points until the preset number of iterations is reached, and select the interior points corresponding to the candidate similarity transformation with the largest number of interior points as the target interior point set.

[0038] In this embodiment, the optimal solution is selected from a large number of random samples, thereby improving the robustness of the similarity transformation solution.

[0039] In one example, the preset number of iterations is 1000.

[0040] S44. Perform singular value decomposition on the target interior point set and solve for the similarity transformation.

[0041] This embodiment uses the target interior point set selected by RANSAC as a basis and solves the optimal similarity transformation in the least squares sense through Singular Value Decomposition (SVD), which includes the rotation matrix R, the translation vector t, and the scale factor s. SVD can decompose the covariance matrix of the paired point set into a closed-form solution of the scale factor, rotation matrix, and translation vector. This allows for a high-precision similarity transformation while excluding abnormal paired points.

[0042] In this embodiment, paired points with residuals exceeding twice the median are subject to secondary rejection. Therefore, this embodiment effectively eliminates abnormal pairings caused by SLAM positioning drift, COLMAP reconstruction errors, and timestamp asynchrony, significantly improving coordinate alignment accuracy and reducing system alignment errors caused by abnormal pairings.

[0043] In one embodiment, the 3D scene registration method based on multi-source fusion further includes the following step after step S4: S51. In the three-dimensional Gaussian light field after coordinate system alignment, in response to the operator's first-person perspective movement control command, control the virtual marker to move in the three-dimensional Gaussian light field.

[0044] In practical applications, the front-end simultaneously loads a 3D Gaussian light field and an occupancy raster map, both aligned to the same coordinate system through alignment transformation. The front-end uses the gsplat.js WebGL rendering engine to load and render the 3D Gaussian light field in real time, while overlaying the occupancy raster map as a semi-transparent color layer onto the corresponding positions within the 3D Gaussian light field. The operator interacts within the 3D Gaussian light field from a first-person perspective, and the system responds to the operator's control commands to move virtual markers.

[0045] In one example, the operator uses the WASD keys to move a virtual robot marker within a 3DGS scene, where W moves forward, S moves backward, A turns left, and D turns right. Simultaneously, the Q and E keys are used to adjust the observer's viewpoint height. This allows the operator to freely roam within a three-dimensional Gaussian light field from a first-person perspective, intuitively observing the spatial structure and detailed features of the scene.

[0046] S52. During the movement of the virtual marker, obtain the current position of the virtual marker in the three-dimensional Gaussian light field, query the ground elevation value of the corresponding grid in the occupied grid map based on the current position, and lock the height coordinates of the virtual marker to the ground elevation value.

[0047] Since the grid map stores the ground elevation information corresponding to each grid, the ground height at the current location of the virtual marker can be obtained by querying the ground elevation value of the grid where the virtual marker is located. Locking the height coordinates of the virtual marker to this ground elevation value ensures that the virtual marker always moves close to the ground, avoiding it from floating in the air or sinking into the ground, making the operator's interactive experience more realistic and natural.

[0048] S53. Query the passability status of the corresponding location in the occupied grid map and provide feedback.

[0049] In this embodiment, step S53 includes: Based on the current position of the virtual marker in the three-dimensional Gaussian light field, determine the corresponding target grid in the occupied grid map and read the encoded value of the target grid; Different colors are displayed around the virtual marker in a three-dimensional Gaussian light field based on the encoded value of the target raster.

[0050] The passability status is displayed as a color overlay around a virtual marker in the 3DGS view. In one example, if the target raster's encoded value is 0, it is marked as a gray warning; if it is 1, it is marked as green safe; and if it is 2, it is marked as red danger.

[0051] In one embodiment, the 3D scene registration method based on multi-source fusion further includes the following step after step S4: S61. In response to the waypoint confirmation command, record the current position and orientation of the virtual marker, and convert the waypoint coordinates in the COLMAP coordinate system to the waypoint coordinates in the SLAM coordinate system through the updated similarity transformation.

[0052] In this system, after the operator moves the virtual marker within the 3D Gaussian light field, they issue a waypoint confirmation command by pressing the spacebar. The system responds to this command by recording the virtual marker's current position coordinates and orientation angle within the 3D Gaussian light field. The current orientation is determined by the direction of the virtual marker's most recent movement or its last turning operation. Since the virtual marker's coordinates are in the COLMAP coordinate system, while robot navigation requires coordinates in the SLAM coordinate system, the system transforms the waypoint position coordinates and orientation angle from the COLMAP coordinate system to the SLAM coordinate system using similarity transformations. This ensures that both the waypoint position coordinates and orientation angle are in the SLAM coordinate system, achieving coordinate mapping from the light field interaction scene to the robot's physical execution space.

[0053] S62. Obtain at least two waypoints confirmed by the user, each waypoint containing a three-dimensional spatial position and orientation angle.

[0054] Each waypoint contains three-dimensional spatial coordinates and an orientation angle, describing the robot's posture when it reaches that location. The waypoints are arranged in the same order as the user's confirmation, forming an ordered sequence.

[0055] S63. Determine the intermediate waypoint and its preceding and following waypoints according to the order of the waypoints confirmed by the user, calculate the displacement vector from the preceding waypoint to the following waypoint, and calculate the desired orientation angle based on the displacement vector as the orientation angle of the intermediate waypoint.

[0056] In this embodiment, because the orientation of intermediate waypoints is difficult to precisely set via keyboard when the user confirms waypoints, and the robot typically needs to face the forward direction when passing waypoints sequentially, this embodiment determines the preceding and following waypoints for each intermediate waypoint based on the waypoint arrangement order. It calculates the horizontal displacement vector from the previous waypoint position to the following waypoint position and uses this displacement vector to calculate the azimuth angle as the expected orientation angle for the intermediate waypoint. This expected orientation angle indicates the direction the robot should face when reaching the next waypoint. Specifically, if the preceding, intermediate, and following waypoints are a straight line, the intermediate waypoint directly faces the following waypoint; if they are a curve, the expected orientation angle is determined by the tangent direction in curve interpolation. S64. Fill the waypoint sequence with the orientation angle of the intermediate waypoints and output the waypoint sequence.

[0057] The desired orientation angle of intermediate waypoints is written into the orientation angle field of the corresponding waypoint in the waypoint sequence. For the first waypoint, the robot's initial orientation or the user-specified orientation value is used; for the last waypoint, the orientation value of its preceding waypoint or the user-specified orientation value is used. The final output is a waypoint sequence containing complete 3D spatial position and orientation angle. This waypoint sequence can be sent to the robot via the navigation API, allowing the robot to navigate to each waypoint sequentially in a real environment to complete inspection, transportation, or operation tasks.

[0058] Therefore, this embodiment automatically calculates the orientation of intermediate waypoints based on the preceding and following waypoint vectors, supports user-specified values ​​for the first and last waypoints, and outputs a complete (x, y, yaw) waypoint sequence that can be directly sent to the robot for execution.

[0059] A specific example based on the above embodiments is provided below: The technical solution of this application is illustrated using an indoor warehouse scenario as an example. An operator controls a quadruped robot to walk along all aisles within the warehouse once, with its onboard camera recording approximately 2 minutes of surround video. Simultaneously, the SLAM system synchronously records approximately 600 pose data points and their corresponding timestamps at a frequency of 5Hz. After uploading the video sequence to a GPU training server, the COLMAP motion reconstruction process is executed to estimate approximately 2400 camera pose trajectories and their corresponding timestamps. Subsequently, the camera parameters and image frames output by COLMAP are used to train a 3D Gaussian splash model, generating a 3D Gaussian light field composed of approximately 2 million Gaussian primitives. Simultaneously, the 3D point cloud accumulated during the SLAM process is height-sliced ​​and projected to generate a 0.2m resolution 2D occupancy grid map. The area where the shelves are located is encoded as an obstacle state, and the aisle area is encoded as a passable state.

[0060] The system matches SLAM pose trajectories with COLMAP camera pose trajectories based on timestamps, obtaining approximately 600 pairs of points. After removing outlier pairs using RANSAC (Random Sample Consensus), the system performs singular value decomposition on the target point set to solve for similarity transformation, aligning the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the occupied grid map. The operator opens a dual-layer fused view on the front end. The 3D Gaussian light field renders a photorealistic scene of the warehouse, with the occupied grid using semi-transparent green to represent passable areas and red to represent obstacle areas superimposed on the corresponding positions in the 3D Gaussian light field.

[0061] The operator uses the WASD keys to control the movement of virtual markers along the warehouse aisle from a first-person perspective within a 3D Gaussian light field. At each turning point, the operator presses the spacebar to confirm the waypoint. The system queries the occupied grid in real time and displays the passability status around the virtual marker in the corresponding color. After confirmation, the system automatically converts the waypoint coordinates in the COLMAP coordinate system to SLAM coordinates through an updated similarity transformation, and automatically calculates the desired orientation of intermediate waypoints based on the preceding and following waypoint vectors. After planning a total of 8 waypoints, the system outputs a complete waypoint sequence containing position coordinates and orientation angles, which is then sent to the robot via the navigation API to perform the inspection task.

[0062] In one embodiment, to further improve coordinate alignment accuracy, after solving the similarity transformation, the method further includes: S45. Extract the three-dimensional center coordinates of each Gaussian element from the three-dimensional Gaussian light field to form a Gaussian center point cloud in the COLMAP coordinate system.

[0063] In this system, each Gaussian element in the 3D Gaussian light field contains position parameters and its 3D center coordinates in world space. The 3D center coordinates of all Gaussian elements are extracted to form a set of 3D point clouds located in the COLMAP coordinate system. In this embodiment, the Gaussian center point cloud needs to be preprocessed. Gaussian points with transparency below a preset value are filtered out according to a transparency threshold, and voxel downsampling is performed to control the point cloud density and remove outliers.

[0064] S46. Transform the Gaussian center point cloud to the SLAM coordinate system using a similarity transformation to obtain the pre-transformed Gaussian center point cloud.

[0065] In this process, the Gaussian center point cloud is pre-transformed to the SLAM coordinate system through a similarity transformation, which serves as the initial alignment position for the ICP (Iterative Closest Point).

[0066] S47. Perform ICP iterative registration on the pre-transformed Gaussian center point cloud and the environmental point cloud map constructed by the SLAM system. In each iteration, search for the nearest corresponding point in the environmental point cloud map and establish a correspondence with each point in the pre-transformed Gaussian center point cloud. Based on the correspondence, calculate the incremental scale factor, incremental rotation matrix and incremental translation vector, and update the position of the pre-transformed Gaussian center point cloud and the cumulative fine registration transformation.

[0067] The ICP algorithm iteratively optimizes the similarity transformation between two sets of point clouds. In each iteration, it first searches the environmental point cloud map constructed by the SLAM system for the nearest Euclidean distance to each point in the pre-transformed Gaussian center point cloud, establishing a correspondence. A maximum correspondence distance threshold is set; point pairs exceeding this threshold are excluded from registration. Then, based on all corresponding point pairs, the optimal incremental scale factor, incremental rotation matrix, and incremental translation vector are calculated. Finally, this incremental transformation is applied to the pre-transformed Gaussian center point cloud to update its position and accumulate the fine registration transformation. Through repeated iterations, the pre-transformed Gaussian center point cloud gradually approximates the environmental point cloud map.

[0068] S48. Repeat the above iterative steps until the transformation increment is less than the second preset threshold or the current iteration number reaches the maximum iteration number. Update the similarity transformation based on the incremental scale factor, incremental rotation matrix and incremental translation vector accumulated from all iteration rounds.

[0069] In one example, the second preset threshold is 1e-6, and the maximum number of iterations is 50.

[0070] Therefore, the output increment transformation (Δs, ΔR, Δt) is finally aligned as: s final =Δs×s,R final =ΔR×R,t final =ΔR×t+Δt.

[0071] Therefore, temporal pose alignment, with an expected accuracy of decimeters, serves to provide initial alignment and eliminate magnitude-level deviations. ICP iterative nearest-neighbor registration, with an expected accuracy of centimeters, provides fine-tuning based on the initial alignment. Simultaneously, the coarse similarity transformation of temporal pose alignment provides a good initial alignment position for ICP, enabling it to search for nearest neighbors in the correct neighborhood and converge quickly. Without coarse alignment, ICP would get stuck in local optima or fail to converge due to excessive initial deviations.

[0072] In one embodiment, before aligning the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied raster map, the method further includes: Displays a 3D Gaussian light field and occupied grid map; The receiver receives a first set of physical points marked by the operator in a three-dimensional Gaussian light field, and a second set of physical points marked in an occupied grid map. The first set of physical points and the second set of physical points contain at least three corresponding physical points with the same name. The supplementary similarity transformation is calculated based on the physical corresponding points, and then the supplementary similarity transformation is merged with the similarity transformation to update the similarity transformation.

[0073] Among them, physical corresponding points can be corners, column edges, etc., and alignment accuracy can be further improved by manually marking and aligning them.

[0074] In one embodiment, such as Figure 2 As shown, this application also provides a 3D scene registration device based on multi-source fusion, including: The data acquisition module 201 is used to acquire video sequences in the target scene and simultaneously record the SLAM pose trajectory and the corresponding timestamp.

[0075] The light field acquisition module 202 is used to extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and the COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field.

[0076] The map generation module 203 is used to generate an occupied raster map based on the environmental point cloud map output by the SLAM system.

[0077] The coordinate alignment module 204 is used to match the SLAM pose trajectory and the COLMAP camera pose trajectory according to the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the 3D Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the 3D scene registration.

[0078] In one embodiment, such as Figure 3 As shown, this application also provides a computer device 300, comprising: The communication interface 301 allows for information exchange with other devices or network nodes.

[0079] One or more processors 302 are connected to a communication interface 301 to enable information interaction with other devices or network nodes, and to execute the methods provided by one or more technical solutions in the above embodiments when running computer programs.

[0080] The memory 303 is used to store computer-readable instructions that can be executed on the processor 302. When the computer-readable instructions are executed by one or more processors 302, they perform the steps of the 3D scene registration method based on multi-source fusion as described in the above embodiments.

[0081] The computer device 300 in this embodiment only shows a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device to which the present application solution is applied. A specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, such as power supply, input / output interfaces, etc. Furthermore, the computer device 300 of this embodiment can operate an operating system, such as Windows Server, stored in memory 303. TM Mac OS X TM Unix TM Linux TM FreeBSD TM Or similar.

[0082] In one embodiment, this application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the multi-source fusion-based 3D scene registration method as described in the above embodiments.

[0083] The computer-readable instructions in the aforementioned computer device 300 and storage medium may be application programs.

[0084] Furthermore, the specific descriptions of the technical effects and steps corresponding to the multi-source fusion-based 3D scene registration device, a computer device 300, and a storage medium in the above embodiments are all based on the relevant descriptions in the embodiments of the multi-source fusion-based 3D scene registration method.

[0085] Since the systems / devices described in the above embodiments of this application are systems / devices used to implement the methods of the above embodiments of this application, those skilled in the art can understand the specific structure and modifications of the system / devices based on the methods described in the above embodiments of this application, and therefore will not be repeated here. All systems / devices used in the methods of the above embodiments of this application fall within the scope of protection of this application.

[0086] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0087] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.

[0088] It should be noted that any reference numerals within parentheses in this application should not be construed as limiting the technical solution. The word "comprising" does not exclude the presence of components or steps not listed in the technical solution. The word "a" or "an" preceding a component does not exclude the presence of multiple such components. This application can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In technical solutions that list several devices, several of these devices may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience and does not indicate any order. These terms can be understood as part of the component names.

[0089] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0090] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the scope of protection of this application should be interpreted to include the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0091] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations fall within the scope of protection of this application and its equivalents, this application should also include these modifications and variations.

Claims

1. A 3D scene registration method based on multi-source fusion, characterized in that, include: Video sequences were acquired in the target scene, and SLAM pose trajectories and corresponding timestamps were recorded simultaneously. Extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and the COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field. Generate an occupied grid map based on the environmental point cloud map output by the SLAM system; Match the SLAM pose trajectory with the COLMAP camera pose trajectory based on the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the three-dimensional scene registration.

2. The method according to claim 1, characterized in that, The process of establishing a set of paired points and solving for the similarity transformation includes: The SLAM pose trajectory and the COLMAP camera pose trajectory are matched according to the timestamp to obtain multiple sets of initial pairing points. Each set of initial pairing points contains the SLAM pose and the COLMAP camera pose at the same time. Three pairs of pairs of initial pairs of points are randomly selected from multiple pairs of initial pairs of points to calculate candidate similarity transformation. The candidate similarity transformation is applied to the COLMAP camera pose in all initial pairs of points. The distance residual between the transformed pose and the corresponding SLAM pose is calculated. The number of pairs of points whose distance residual is less than a first preset threshold is counted as the number of inliers. The candidate similarity transformation includes a scale factor, a rotation matrix and a translation vector. Repeat the step of counting the number of interior points until the preset number of iterations is reached, and select the interior points corresponding to the candidate similarity transformation with the largest number of interior points as the target interior point set. Singular value decomposition is performed on the target interior point set to solve for the similarity transformation.

3. The method according to claim 1, characterized in that, After solving the similarity transformation, the method further includes: The three-dimensional center coordinates of each Gaussian element are extracted from the three-dimensional Gaussian light field to form a Gaussian center point cloud in the COLMAP coordinate system. The Gaussian center point cloud is pre-transformed to the SLAM coordinate system using the similarity transformation to obtain the pre-transformed Gaussian center point cloud; ICP iterative registration is performed on the pre-transformed Gaussian center point cloud and the environmental point cloud map constructed by the SLAM system. In each iteration, the environmental point cloud map is searched for the closest corresponding point to each point in the pre-transformed Gaussian center point cloud to establish a correspondence. Based on the correspondence, the incremental scale factor, incremental rotation matrix and incremental translation vector are calculated, and the position and cumulative fine registration transformation of the pre-transformed Gaussian center point cloud are updated. Repeat the above iterative steps until the transformation increment is less than the second preset threshold or the current iteration number reaches the maximum iteration number. Update the similarity transformation based on the cumulative incremental scale factor, incremental rotation matrix, and incremental translation vector of all iteration rounds.

4. The method according to claim 1, characterized in that, Before aligning the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied raster map, the method further includes: Display the three-dimensional Gaussian light field and the occupancy grid map; The operator receives a first set of physical points marked in the three-dimensional Gaussian light field and a second set of physical points marked in the occupied grid map. The first set of physical points and the second set of physical points contain at least three corresponding physical points with the same name. A supplementary similarity transformation is calculated based on the physical corresponding points, and the supplementary similarity transformation is fused with the similarity transformation to update the similarity transformation.

5. The method according to any one of claims 1 to 4, characterized in that, After completing the 3D scene registration, the following is included: In the three-dimensional Gaussian light field after coordinate system alignment, the virtual marker is controlled to move in the three-dimensional Gaussian light field in response to the operator's first-person perspective movement control command. During the movement of the virtual marker, the current position of the virtual marker in the three-dimensional Gaussian light field is obtained, and the ground elevation value of the corresponding grid in the occupied grid map is queried according to the current position, and the height coordinates of the virtual marker are locked to the ground elevation value. The system queries the passability status of the corresponding location in the occupied grid map and provides feedback.

6. The method according to claim 5, characterized in that, The occupancy grid map contains a first coded value indicating a no-data state, a second coded value indicating a passable state, and a third coded value indicating an obstacle state. The query for the passable state of the corresponding location in the occupancy grid map and the feedback include: Based on the current position of the virtual marker in the three-dimensional Gaussian light field, determine the corresponding target grid in the occupied grid map, and read the encoded value of the target grid; Different colors are displayed around the virtual marker in a three-dimensional Gaussian light field based on the encoded value of the target raster.

7. The method according to claim 5, characterized in that, After completing the 3D scene registration, the process also includes: In response to the waypoint confirmation command, the current position and orientation of the virtual marker are recorded, and the waypoint coordinates in the COLMAP coordinate system are converted into waypoint coordinates in the SLAM coordinate system through the updated similarity transformation; Obtain at least two waypoints confirmed by the user, each waypoint containing its three-dimensional spatial position and orientation angle; The intermediate waypoint and its preceding and following waypoints are determined according to the order of the waypoints confirmed by the user. The displacement vector from the preceding waypoint to the following waypoint is calculated, and the expected orientation angle is calculated based on the displacement vector as the orientation angle of the intermediate waypoint. Fill the waypoint sequence with the orientation angle of the intermediate waypoints and output the waypoint sequence.

8. A 3D scene registration device based on multi-source fusion, characterized in that, include: The data acquisition module is used to acquire video sequences in the target scene and simultaneously record the SLAM pose trajectory and the corresponding timestamp; The light field acquisition module is used to extract the COLMAP camera pose trajectory and corresponding timestamp from the video sequence, and train a three-dimensional Gaussian splash model based on the video sequence and the COLMAP camera pose trajectory to obtain a three-dimensional Gaussian light field. The map generation module is used to generate an occupied grid map based on the environmental point cloud map output by the SLAM system. The coordinate alignment module is used to match the SLAM pose trajectory with the COLMAP camera pose trajectory according to the timestamp, establish a pairing point set, solve the similarity transformation, and align the COLMAP coordinate system of the three-dimensional Gaussian light field with the SLAM coordinate system of the occupied grid map to complete the three-dimensional scene registration.

9. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Route planning method for cooperation of air-ground heterogeneous unmanned system in complex environment

    CN122072162A