Engineering measurement precision positioning and 3D modeling method and system
Through the combination of lidar and tilt cameras, deep learning and 3D reconstruction technology, the problem of sensor error and environmental impact in engineering measurement is solved, and high-precision and efficient 3D modeling and precise positioning are achieved. The generated panoramic 3D model has High realism and seamless splicing effect.
Patent Information
- Application Number
- CN202410726024.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-06
Smart Images

Figure CN118314300B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of measurement and positioning technology, and in particular to a method and system for precise positioning and three-dimensional modeling of engineering measurement. Background Art
[0002] With the rapid development of modern engineering construction, higher and higher requirements are placed on the accuracy and efficiency of engineering measurement. Although traditional measurement methods can meet the needs of general engineering measurement, they still have certain limitations in terms of accuracy, efficiency and data processing. In order to adapt to the increasingly complex engineering construction environment and the ever-increasing measurement requirements, it is urgent to develop new measurement technologies and methods.
[0003] However, the existing multi-sensor fusion technology still has some shortcomings. First, there is a problem of inconsistent spatiotemporal references between different types of sensors, which requires benchmark unification and spatiotemporal synchronization, increasing system complexity and data processing difficulty. Second, the sensor's own error characteristics, such as bias, scale factor, installation deviation, etc., will directly affect the measurement accuracy and need to be estimated and compensated through calibration algorithms. In addition, in complex environments, the reliability and robustness of sensors need to be improved, and the measurement accuracy is easily affected by environmental interference.
[0004] With the development of 3D laser scanning technology, high-precision and high-density point cloud data has become an important data source for 3D modeling. Through point cloud data processing and 3D reconstruction algorithms, a 3D model of the target object can be quickly generated, providing intuitive and accurate 3D information for engineering applications. Therefore, a solution is urgently needed to solve the shortcomings of the existing technology. Summary of the invention
[0005] The embodiments of the present invention provide a method and system for accurate positioning and three-dimensional modeling of engineering measurements, which can at least solve some of the problems existing in the prior art.
[0006] A first aspect of an embodiment of the present invention provides a method for accurate positioning and three-dimensional modeling of engineering measurement, comprising:
[0007] The high-density point cloud data of the area to be measured is obtained by pre-setting the laser radar system, the oblique image data is obtained by using the oblique camera carried by the drone, the high-density point cloud data and the oblique image data are temporally and spatially registered by a common feature matching algorithm to obtain multivariate consistency data, and the multivariate consistency data is point-by-point classified by a pre-set deep learning model to obtain terrain point cloud data;
[0008] For the terrain point cloud data, an adaptive triangulation algorithm is used to extract terrain structure lines and construct an irregular triangulation network to obtain a terrain model. Based on the pre-acquired oblique image data, three-dimensional reconstruction is performed by a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm. At the same time, semantic annotation is performed to obtain a ground object model. The terrain model and the ground object model are seamlessly integrated, and an initial three-dimensional model is generated in combination with a grid subdivision optimization strategy.
[0009] For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and precise positioning and optimization are performed in combination with the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm to obtain global absolute positioning. At the same time, fusion positioning is performed based on multiple pre-set sensors. By constructing a state space model and calculating the fused positioning information in combination with the Kalman filter algorithm, the sensor data is corrected by a calibration algorithm based on the error state, and the initial three-dimensional model is corrected using the global absolute positioning and the fused positioning information to obtain a panoramic three-dimensional model.
[0010] In an optional embodiment,
[0011] The high-density point cloud data of the area to be measured is obtained by pre-setting the laser radar system, and the oblique image data is obtained by the oblique camera carried by the drone. The high-density point cloud data and the oblique image data are temporally and spatially registered by the common feature matching algorithm to obtain the multivariate consistency data including:
[0012] For the area to be measured, planning a movement route of the laser radar system, acquiring the three-dimensional coordinates of the area to be measured by rotation scanning, generating original point cloud data, and preprocessing the original point cloud data to obtain the high-density point cloud data;
[0013] The flight data of the UAV and the shooting mode of the oblique camera are set, the UAV flies according to a preset route and triggers the oblique camera to acquire images, shoots from multiple perspectives to obtain raw image data, and calibrates the raw image data according to camera calibration parameters to obtain the oblique image data;
[0014] Corner points and plane points are extracted from the high-density point cloud data and recorded as point cloud feature points. The image key points in the oblique image data are determined by a fast key point algorithm. For each image key point, a local area of a fixed size is defined. In each local area, binary robust independent basic image features are applied to generate a binary descriptor. The image key points and point cloud feature points are matched based on the binary descriptor. For each matched point pair, a geometric transformation model is constructed after removing the erroneous matching point pairs through random consistency sampling. The transformation parameters are solved by least squares optimization to obtain the multivariate consistency data.
[0015] In an optional embodiment,
[0016] The multivariate consistency data is classified point by point through a preset deep learning model to obtain terrain point cloud data including:
[0017] Acquire the multivariate consistency data, and classify it through a preset deep learning model, wherein the deep learning model includes a sampling layer, a grouping layer, a feature extraction layer, and a segmentation layer;
[0018] Add the multivariate consistency data to the sampling layer, randomly select a data point in the multivariate consistency data as the first candidate point through the farthest sampling point strategy, calculate the distance between each point and the first candidate point for the unselected points, select the point with the farthest distance as the second candidate point, repeat the selection until the preset maximum number of candidate points is reached, and output the selected candidate points to the grouping layer;
[0019] For each candidate point, taking the current candidate point as the center, randomly set the neighborhood radius and determine the neighborhood area according to the neighborhood radius. For each neighborhood area, learn the local geometric features of each point in the neighborhood area through the feature extraction layer, add the local geometric features to the segmentation layer, classify through the fully connected neural network, and output the category label of each point.
[0020] A connectivity graph is constructed based on the category labels, and the neighborhood area is modified in combination with a conditional random field optimization algorithm so that points in each neighborhood area have the same category label. The neighborhood areas are combined to obtain terrain point cloud data.
[0021] In an optional embodiment,
[0022] For the terrain point cloud data, the terrain structure lines are extracted and irregular triangulated networks are constructed through an adaptive triangulation algorithm to obtain a terrain model. According to the pre-acquired oblique image data, three-dimensional reconstruction is performed through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and semantic annotation is performed at the same time. The obtained terrain model includes:
[0023] Performing normal vector estimation on the terrain point cloud data, respectively calculating the principal curvature value corresponding to each terrain point cloud data, performing threshold segmentation on the terrain point cloud data based on the principal curvature value, taking points whose principal curvature value is higher than a preset curvature threshold as candidate structural points, combining filtering operation and density-based clustering operation to generate a structural point set, within the structural point set, determining the shortest path connecting all structural points by a minimum spanning tree algorithm, taking the shortest path as a skeleton line and performing smoothing and simplification operations to obtain the terrain structural line;
[0024] Adding the terrain structure line to the constraint edge set, combining with the incremental triangulation algorithm to generate an initial triangulated network, applying edge flipping and point insertion operations to the initial triangulated network, combining with the minimum angle criterion to determine the shape of the initial triangulated network, combining with the terrain features to adaptively subdivide the initial triangulated network to obtain a terrain model;
[0025] Based on the terrain model, the same-name points between images are obtained through feature matching and multi-view image alignment is performed based on the same-name points, a reference frame is determined in the multi-view image, dense matching is performed in combination with a descriptor, and for each pixel in the multi-view image, an initial depth map is determined in the disparity space through cost aggregation and occlusion is removed, and the three-dimensional structure of the object is obtained by fusion;
[0026] Based on the three-dimensional structure of the object, semantic segmentation is performed based on deep learning and the boundaries between different categories of objects are determined. The gradients between different objects are modified in combination with semantic edge constraints. Regularization is performed in combination with the prior object shape to obtain the object model.
[0027] In an optional embodiment,
[0028] The terrain model and the object model are seamlessly integrated, and an initial three-dimensional model is generated by combining a grid subdivision optimization strategy, including:
[0029] For the object model and the terrain model, coordinate unification is performed through control points, and the two models are integrated into the same global coordinate system;
[0030] By using the high-precision control information provided by the object model and combining it with the grid deformation operation, the terrain model is locally deformed and refined within the object range, and the absolute elevation of the object model is constrained by the terrain undulation trend, so as to eliminate the model drift and unnecessary deformation, and realize the accurate registration of the object model and the terrain model;
[0031] The terrain model and the object model after precise registration are seamlessly integrated through the surface reconstruction method to obtain a three-dimensional landscape model. For the three-dimensional landscape model, the regional importance of the three-dimensional landscape model is evaluated through the importance measurement index, and an evaluation label is added to each area according to the evaluation result. For the high-importance area, the subdivision is encrypted according to the subdivision threshold, and for the low-importance area, the subdivision is reduced. The shape of the triangulated network is modified in combination with the edge collapse operation, and texture mapping is performed in combination with the pre-acquired oblique image data to obtain the initial three-dimensional model.
[0032] In an optional embodiment,
[0033] For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm are combined to perform precise positioning and optimization to obtain global absolute positioning, and fusion positioning is performed based on multiple pre-set sensors at the same time, by constructing a state space model, combining the Kalman filter algorithm to calculate the fusion positioning information, and correcting the sensor data through the calibration algorithm based on the error state, and using the global absolute positioning and the fusion positioning information to correct the initial three-dimensional model, the panoramic three-dimensional model is obtained, including:
[0034] For the initial three-dimensional model, the three-dimensional coordinates of the ground control points are obtained by high-precision GPS measurement as reference points for model positioning and the corresponding relationship between the ground control points and the model control points is automatically established;
[0035] Based on the corresponding relationship of the control points, the transformation parameters of the three-dimensional model to the geographic coordinate system are calculated by the absolute orientation algorithm, and the control point residual is minimized by the least square method to obtain a rough absolute positioning result. The multiple constraint conditions corresponding to the rough absolute positioning are set by combining the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm. At the same time, according to the distribution of control points, the initial three-dimensional model is divided into multiple regions, and the model in each region is independently combined and optimized. Each region is regarded as the basic unit of the regional network adjustment, and the common connection points between regions are used as constraints to perform the overall adjustment of the regional network to obtain the global absolute positioning;
[0036] Based on multiple pre-set sensors, a state space model is constructed. The system state equation and observation equation are constructed by determining the state variables and observation quantities. The multi-sensor positioning information is fused through the Kalman filter algorithm, and the optimal value of the state variables is recursively estimated to obtain the fused positioning information.
[0037] The sensor bias and scale factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information. The sensor error parameters are estimated by the least square method and calibrated online.
[0038] Based on the online calibration, combined with the global absolute positioning and the fused positioning information, the initial three-dimensional model is collectively corrected to obtain a panoramic three-dimensional model.
[0039] In an optional embodiment,
[0040] The sensor bias and proportional factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information as shown in the following formula:
[0041] ;
[0042] Among them, Zk represents the observed quantity, R(q k ) represents the rotation matrix, q k Represents a quaternion, X k represents the state variable, b k represents the bias vector, f() represents the state error function, s k represents the scale factor, v k represents the measurement noise.
[0043] A second aspect of an embodiment of the present invention provides an engineering measurement precise positioning and three-dimensional modeling system, comprising:
[0044] The first unit is used to obtain high-density point cloud data of the area to be measured by a pre-set laser radar system, obtain oblique image data by an oblique camera carried by a drone, perform spatiotemporal registration of the high-density point cloud data and the oblique image data by a common feature matching algorithm to obtain multivariate consistency data, and classify the multivariate consistency data point by point by a pre-set deep learning model to obtain terrain point cloud data;
[0045] The second unit is used to extract terrain structure lines and construct irregular triangulated networks for the terrain point cloud data through an adaptive triangulated network generation algorithm to obtain a terrain model, perform three-dimensional reconstruction based on the pre-acquired oblique image data through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and perform semantic annotation to obtain a terrain model, seamlessly integrate the terrain model and the terrain model, and generate an initial three-dimensional model in combination with a grid subdivision optimization strategy;
[0046] The third unit is used to align the initial three-dimensional model to the geographic coordinate system by control points, and accurately locate and optimize it in combination with a multi-constraint joint adjustment optimization model and a regional network adjustment algorithm to obtain global absolute positioning, and simultaneously perform fusion positioning based on a plurality of pre-set sensors, calculate fused positioning information by constructing a state space model in combination with a Kalman filter algorithm, correct the sensor data by a calibration algorithm based on an error state, and use the global absolute positioning and the fused positioning information to correct the initial three-dimensional model to obtain a panoramic three-dimensional model.
[0047] According to a third aspect of the embodiments of the present invention,
[0048] An electronic device is provided, comprising:
[0049] processor;
[0050] a memory for storing processor-executable instructions;
[0051] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0052] A fourth aspect of the embodiments of the present invention is:
[0053] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0054] In the present invention, the data fusion strategy makes full use of the high-precision geometric information of the point cloud and the rich texture information of the image, improves the integrity and consistency of the data, and provides a high-quality data foundation for subsequent 3D reconstruction and semantic annotation. The multivariate consistency data is classified point by point through a deep learning model, and the terrain point cloud data is automatically extracted, avoiding the tediousness and subjectivity of manual editing. The initial 3D model not only retains the fine structure of the terrain and the real appearance of the objects, but also achieves a smooth transition and natural fusion between the terrain and the objects, avoids discontinuities and gaps at the joints of the model, and improves the visual quality and realism of the model. The generated panoramic 3D model has the characteristics of high precision, high realism, and seamless splicing, providing high-quality data support for various application scenarios. In summary, the present invention improves the efficiency and accuracy of modeling, generates a seamlessly integrated 3D model, and achieves high-precision positioning and correction of the model, greatly enhancing the application value and promotion prospects of the 3D model. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of a process flow of a method for accurate positioning and three-dimensional modeling of engineering surveying according to an embodiment of the present invention;
[0056] Figure 2 It is a structural schematic diagram of the engineering measurement precise positioning and three-dimensional modeling system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0059] Figure 1 FIG. 1 is a flow chart of a method for accurate positioning and three-dimensional modeling of engineering measurement according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0060] S1. obtaining high-density point cloud data of the area to be measured by pre-setting a laser radar system, obtaining oblique image data by using an oblique camera carried by a drone, performing spatiotemporal registration of the high-density point cloud data and the oblique image data by using a common feature matching algorithm to obtain multivariate consistency data, and classifying the multivariate consistency data point by point by using a pre-set deep learning model to obtain terrain point cloud data;
[0061] The high-density point cloud data is the three-dimensional coordinate data of a large number of points acquired by sensors such as lidar or structured light. The oblique image data is the image data taken by an oblique camera, usually including two types: aerial oblique photography and ground oblique photography. The spatiotemporal registration is the process of matching and aligning geographic data acquired at different times and spaces. The terrain point cloud data is a three-dimensional point cloud representation of the terrain surface in geographic space.
[0062] In an optional embodiment,
[0063] The high-density point cloud data of the area to be measured is obtained by pre-setting the laser radar system, and the oblique image data is obtained by the oblique camera carried by the drone. The high-density point cloud data and the oblique image data are temporally and spatially registered by the common feature matching algorithm to obtain the multivariate consistency data including:
[0064] For the area to be measured, planning a movement route of the laser radar system, acquiring the three-dimensional coordinates of the area to be measured by rotation scanning, generating original point cloud data, and preprocessing the original point cloud data to obtain the high-density point cloud data;
[0065] The flight data of the UAV and the shooting mode of the oblique camera are set, the UAV flies according to a preset route and triggers the oblique camera to acquire images, shoots from multiple perspectives to obtain raw image data, and calibrates the raw image data according to camera calibration parameters to obtain the oblique image data;
[0066] Corner points and plane points are extracted from the high-density point cloud data and recorded as point cloud feature points. The image key points in the oblique image data are determined by a fast key point algorithm. For each image key point, a local area of a fixed size is defined. In each local area, binary robust independent basic image features are applied to generate a binary descriptor. The image key points and point cloud feature points are matched based on the binary descriptor. For each matched point pair, a geometric transformation model is constructed after removing the erroneous matching point pairs through random consistency sampling. The transformation parameters are solved by least squares optimization to obtain the multivariate consistency data.
[0067] The raw point cloud data is the three-dimensional coordinate data of unprocessed points collected by sensors such as lidar, structured light or stereo photography. The point cloud feature points are points with significant features or important attributes in the point cloud data, usually representing the key parts or shape changes of the object, such as edges, corners, surface protrusions, etc. The fast key point algorithm is an algorithm for quickly detecting and extracting feature points in point cloud data. The binary descriptor is a compact representation for describing point cloud feature points. The consistent sampling is a method for extracting a subset with a consistent structure from point cloud data.
[0068] According to the characteristics and measurement requirements of the area to be measured, the movement route of the laser radar system is reasonably planned, the optimal data collection coverage and efficiency are determined, and the laser radar system is controlled to move according to the planned movement route. The three-dimensional coordinate data of the area to be measured is obtained by rotation scanning, and the original point cloud data is generated. The obtained original point cloud data is pre-processed to obtain the high-density point cloud data required for subsequent modeling and analysis. According to the characteristics and measurement requirements of the area to be measured, the flight parameters of the drone are set, including flight altitude, speed, route, etc., as well as the shooting parameters of the oblique camera, such as shooting angle, overlap, exposure time, etc. In order to obtain comprehensive image information, it is necessary to shoot the target area from multiple perspectives, generally including five directions such as vertical, front view, rear view, left view and right view. The drone flies autonomously according to the preset route and triggers the oblique camera at a specific position to acquire images. After the drone completes the flight shooting task, the acquired original image data is summarized and sorted, and the camera calibration is performed on the original image data to eliminate the influence of camera lens distortion and optical distortion. After completing the camera calibration, the oblique image data after geometric distortion correction is obtained, providing a high-quality data source for subsequent image matching and three-dimensional reconstruction.
[0069] In high-density point cloud data, corner points and plane points are extracted as point cloud feature points, where corner points are usually located at the edge of an object or at sharp changes, while plane points are distributed in flat areas. For oblique image data, a fast key point algorithm (such as SIFT, SURF, etc.) is used for feature extraction to obtain a series of image key points. For each extracted image key point, a local area of fixed size is defined. In each local area, a fast reversible transform (such as binary robust independent basic image feature BRIEF) is applied to describe the image block to generate a binary descriptor, where the binary descriptor represents the feature information of the local image block in a compact binary encoding form. Based on the generated binary descriptor, the image key points and point cloud feature points are matched. The best matching point pairs are found by comparing the Hamming distance between the descriptors, and the random consensus sampling (RANSAC) algorithm is used to remove the wrong matching point pairs. The geometric transformation model is constructed by randomly extracting the minimum number of point pairs, and the consistency of other point pairs with the model is evaluated. After multiple iterations, the optimal model is selected to remove the wrong matching point pairs that do not conform to the model;
[0070] Based on the correctly matched point pairs after screening, a geometric transformation model is constructed. Usually, a rigid body transformation or similarity transformation is adopted. The least squares optimization method is used to solve the parameters of the transformation model and obtain the optimal transformation relationship between the point cloud and the image. The point cloud data and the oblique image data are registered and fused through the solved transformation parameters to obtain spatially consistent multi-dimensional data, that is, multi-source consistent data.
[0071] In this embodiment, the laser radar point cloud data has the characteristics of high precision and high density. By fusing it with the oblique image data, the semantic information such as the texture and color of the image can be combined with the three-dimensional geometric information of the point cloud to generate semantically rich and detailed measurement data, providing a more accurate and complete data foundation for subsequent three-dimensional modeling and analysis. By using an oblique photography system equipped with a drone, fast and flexible data collection can be achieved, greatly improving field work efficiency. Through the extraction of point cloud feature points and image key points, and a fast matching algorithm based on binary descriptors, automatic alignment between point clouds and images can be achieved, avoiding the tedious process of manual calibration. The introduction of a random consistency sampling algorithm effectively removes erroneous matches and improves matching accuracy. In summary, this embodiment achieves high-precision, high-efficiency, and high-density acquisition of measurement data through the acquisition, processing, and fusion of multi-source data, providing strong data support for subsequent positioning and modeling.
[0072] In an optional embodiment,
[0073] The multivariate consistency data is classified point by point through a preset deep learning model to obtain terrain point cloud data including:
[0074] Acquire the multivariate consistency data, and classify it through a preset deep learning model, wherein the deep learning model includes a sampling layer, a grouping layer, a feature extraction layer, and a segmentation layer;
[0075] Add the multivariate consistency data to the sampling layer, randomly select a data point in the multivariate consistency data as the first candidate point through the farthest sampling point strategy, calculate the distance between each point and the first candidate point for the unselected points, select the point with the farthest distance as the second candidate point, repeat the selection until the preset maximum number of candidate points is reached, and output the selected candidate points to the grouping layer;
[0076] For each candidate point, taking the current candidate point as the center, randomly set the neighborhood radius and determine the neighborhood area according to the neighborhood radius. For each neighborhood area, learn the local geometric features of each point in the neighborhood area through the feature extraction layer, add the local geometric features to the segmentation layer, classify through the fully connected neural network, and output the category label of each point.
[0077] A connectivity graph is constructed based on the category labels, and the neighborhood area is modified in combination with a conditional random field optimization algorithm so that points in each neighborhood area have the same category label. The neighborhood areas are combined to obtain terrain point cloud data.
[0078] The farthest sampling point strategy is a method for selecting representative points in point cloud data, and a sparse sampling point set is generated by gradually selecting points in the point cloud that are farthest from the selected points. The neighborhood radius refers to a distance threshold used to define the local neighborhood of a point in point cloud data processing. The local geometric feature refers to an attribute or feature used to describe the local geometric structure in point cloud data. The connected graph refers to a graph consisting of a set of vertices and edges connecting these vertices in graph theory, in which there is a path between any two vertices.
[0079] A deep learning model for point cloud classification is pre-designed and trained. The model includes key components such as a sampling layer, a grouping layer, a feature extraction layer, and a segmentation layer. The sampling layer is used to select representative candidate points from the input multivariate consistency data, the grouping layer is used to determine the neighborhood area of each candidate point, the feature extraction layer is responsible for learning the local geometric features of each point, and the segmentation layer predicts the category label of each point through a fully connected neural network. The acquired multivariate consistency data is input into the sampling layer of the deep learning model. In the sampling layer, a data point is randomly selected from the multivariate consistency data as the first candidate point through the farthest sampling point strategy. For the unselected points, the Euclidean distance between them and the first candidate point is calculated, and the point farthest from the first candidate point is selected as the second candidate point. The candidate points are selected repeatedly, and the point farthest from the selected candidate point is selected as the new candidate point each time until the preset maximum number of candidate points is reached. The selected candidate points are output to the grouping layer for subsequent processing.
[0080] For each candidate point received by the grouping layer, a neighborhood radius is randomly set with the current candidate point as the center. According to the neighborhood radius, the neighborhood area centered on the current candidate point is determined. The area contains all data points whose distance to the candidate point is less than or equal to the neighborhood radius. For each neighborhood area, the data points in it are passed to the feature extraction layer for learning local geometric features. In the feature extraction layer, the data points in each neighborhood area are processed by point-by-point feature extraction. For each data point, its local geometric features are extracted, such as normal vector, curvature, eigenvalue, etc. These features describe the local shape and structural information of the point. The extracted local geometric features are added to the classification layer. The segmentation layer is used as the input feature of point cloud classification. In the segmentation layer, a fully connected neural network is used to predict the category label of each data point. The input of the neural network is the local geometric features learned by the feature extraction layer, and the output is the category label of each point, such as ground, building, vegetation, etc. According to the predicted category label, a connected graph is constructed, in which each data point is a node of the graph, and there are edge connections between adjacent points. The conditional random field (CRF) model is introduced to correct and smooth the initial classification results by considering the spatial relationship and category consistency between points, and combine all neighborhood areas to obtain the final terrain point cloud data, in which each point is assigned a corresponding category label.
[0081] In this embodiment, the deep learning model is used to automatically learn and extract high-level semantic features of point clouds, and the classification performance is optimized through an end-to-end training method, which greatly improves the classification accuracy and efficiency. The initial classification results are optimized by introducing a conditional random field (CRF) model, and the spatial relationship and category consistency between points are taken into account, which effectively suppresses the noise and errors in the classification results, so that points in the same neighborhood area have the same category labels, and the robustness and spatial consistency of the classification results are enhanced. Through the neighborhood area division of the grouping layer, the detailed features of the point cloud can be extracted at the local scale. The multi-scale and multi-granularity point cloud representation helps to fully understand and analyze point cloud data and improve the accuracy of classification and extraction. In summary, this embodiment realizes high-precision, high-efficiency, and robust point cloud classification and terrain extraction, improves the data processing efficiency of engineering measurement and three-dimensional modeling, and provides high-quality data support for subsequent application analysis.
[0082] S2. For the terrain point cloud data, extract terrain structure lines and construct irregular triangulated networks through an adaptive triangulated network generation algorithm to obtain a terrain model; perform three-dimensional reconstruction based on the pre-acquired oblique image data through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm; perform semantic annotation at the same time to obtain a ground object model; seamlessly integrate the terrain model and the ground object model, and generate an initial three-dimensional model in combination with a mesh subdivision optimization strategy;
[0083] The adaptive triangulated network generation algorithm is an algorithm for generating a triangular mesh of a terrain or object surface. The terrain structure line is a line representation of a specific landform or structural feature on the terrain surface, usually representing the main features of the terrain, such as ridges, rivers, valleys, etc. The irregular triangulated network is a triangular mesh composed of irregularly shaped triangles. The multi-view geometric consistency algorithm is an algorithm for consistent matching and fusion of three-dimensional data from multiple perspectives or sensors. The alignment and fusion of multi-view data can be achieved by comparing feature points or feature descriptors under different perspectives. The three-dimensional reconstruction refers to the process of recovering the three-dimensional structure of an object or scene from a two-dimensional image or point cloud data. The seamless integration refers to the process of integrating data from different data sources or different modalities together and maintaining consistency and continuity between the data after integration. The mesh subdivision optimization strategy is a method for optimizing the quality and subdivision of the triangular mesh. The subdivision degree of the mesh can be dynamically adjusted according to the local features and geometric structure of the mesh to ensure that the shape and size of the mesh are appropriate, thereby improving the quality and realism of the mesh.
[0084] In an optional embodiment,
[0085] For the terrain point cloud data, the terrain structure lines are extracted and irregular triangulated networks are constructed through an adaptive triangulation algorithm to obtain a terrain model. According to the pre-acquired oblique image data, three-dimensional reconstruction is performed through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and semantic annotation is performed at the same time. The obtained terrain model includes:
[0086] Performing normal vector estimation on the terrain point cloud data, respectively calculating the principal curvature value corresponding to each terrain point cloud data, performing threshold segmentation on the terrain point cloud data based on the principal curvature value, taking points whose principal curvature value is higher than a preset curvature threshold as candidate structural points, combining filtering operation and density-based clustering operation to generate a structural point set, within the structural point set, determining the shortest path connecting all structural points by a minimum spanning tree algorithm, taking the shortest path as a skeleton line and performing smoothing and simplification operations to obtain the terrain structural line;
[0087] Adding the terrain structure line to the constraint edge set, combining with the incremental triangulation algorithm to generate an initial triangulated network, applying edge flipping and point insertion operations to the initial triangulated network, combining with the minimum angle criterion to determine the shape of the initial triangulated network, combining with the terrain features to adaptively subdivide the initial triangulated network to obtain a terrain model;
[0088] Based on the terrain model, the same-name points between images are obtained through feature matching and multi-view image alignment is performed based on the same-name points, a reference frame is determined in the multi-view image, dense matching is performed in combination with a descriptor, and for each pixel in the multi-view image, an initial depth map is determined in the disparity space through cost aggregation and occlusion is removed, and the three-dimensional structure of the object is obtained by fusion;
[0089] Based on the three-dimensional structure of the object, semantic segmentation is performed based on deep learning and the boundaries between different categories of objects are determined. The gradients between different objects are modified in combination with semantic edge constraints. Regularization is performed in combination with the prior object shape to obtain the object model.
[0090] The normal vector estimation refers to the process of calculating the normal vector for each point in the three-dimensional point cloud or mesh data. The principal curvature value refers to the curvature value along the two principal curvature directions at a specific point on the surface. The threshold segmentation is a threshold-based image or data segmentation method that extracts the target or feature of interest by dividing the data into different regions or categories. The curvature threshold refers to the threshold used to divide the curvature value into high curvature and low curvature regions in the curvature calculation. The structure point set refers to a discrete point set used to describe the terrain or object structure in the geographic information system or three-dimensional modeling. The skeleton line refers to the line representing the trunk or central axis of the object. strip or curve, the incremental triangulation algorithm is an algorithm for generating a triangular mesh, the algorithm starts from a point, gradually adds points and connects adjacent points until the entire area is covered and a set of non-overlapping triangles are generated, the minimum angle criterion is a criterion for evaluating the quality of triangles, the same-name points refer to feature points or feature descriptors with the same position in multiple perspectives or data sources, the dense matching refers to the process of achieving accurate feature alignment and registration by matching a large number of points in adjacent images or point clouds in three-dimensional reconstruction, and the initial depth map is an image used to represent scene depth information in three-dimensional reconstruction or stereo vision.
[0091] The normal vector of the acquired terrain point cloud data is estimated, and the normal vector of each point cloud data point is calculated to describe the direction of the local plane where the point is located. Based on the estimated normal vector, the principal curvature value corresponding to each point cloud data point is calculated, and a predefined curvature threshold is set. Points with principal curvature values higher than the threshold are used as candidate structural points. These points are usually located at the edge, sharp features or mutation areas of the terrain. The candidate structural points are filtered to remove noise and outliers. A density-based clustering algorithm (such as DBSCAN) is used to aggregate the densely distributed candidate structural points to form a structural point set. Within the structural point set, the shortest path connecting all structural points is determined by a minimum spanning tree algorithm (such as the Kruskal algorithm). The shortest path is used as the skeleton line of the terrain. The skeleton line is smoothed and simplified to remove jagged edges and redundant nodes to obtain the final terrain structural line.
[0092] The extracted terrain structure lines are added to the constraint edge set as the boundary constraint of triangulation. The incremental triangulation algorithm is used to generate the initial triangulated network under the condition of satisfying the constraint edge. The edge flipping and point insertion operations are applied to the initial triangulated network to optimize the shape and quality of the triangles. Among them, the edge flipping improves the shape of the triangle by exchanging the diagonal lines of the triangle, and the point insertion adds new nodes in the area that needs to be encrypted. The minimum angle criterion is used to evaluate the quality of the triangulated network, that is, to maximize the minimum angle of the triangle as much as possible to avoid narrow or degenerate triangles. The triangulated network is adaptively subdivided in combination with terrain features. The area with drastic terrain changes or rich details is encrypted, while the flat or simple area maintains a lower resolution. After optimization and subdivision, the final terrain model is obtained;
[0093] Based on the acquired terrain model, the same-name points, i.e., image points corresponding to the same ground object point, are found in the multi-view images through feature matching (such as SIFT, SURF, etc.). The same-name point information is used to align the multi-view images, unify the images of different viewpoints into the same coordinate system, determine the reference frame in the multi-view images through dense matching technology, and match based on the reference frame. The descriptor is used to perform pixel-by-pixel dense matching between the reference frame and other viewpoint images, and the disparity value of each pixel at different viewpoints is calculated. For each pixel, its initial depth value is determined by cost aggregation in the disparity space, and an initial depth map is generated. The occluded area and wrong match in the depth map are removed through consistency check and median filtering, and the depth maps of different viewpoints are fused. The three-dimensional structure of the ground object is reconstructed by combining camera parameters and triangulation principles.
[0094] On the basis of obtaining the three-dimensional structure of the object, deep learning methods (such as convolutional neural networks) are used to perform semantic segmentation on point clouds or grid data, and semantic category labels (such as buildings, roads, vegetation, etc.) are assigned to each point or surface. By analyzing the boundaries between different semantic categories, the dividing lines between the objects are extracted as semantic edge constraints. Combined with the semantic edge constraints, the gradient changes between different objects are modified to make the gradients inside the same object smooth, while the gradients between different objects change suddenly, highlighting the boundaries of the objects. Prior knowledge is used to regularize the shapes of objects of different categories. For example, buildings should meet the characteristics of vertical planes and right-angle boundaries, and roads should meet certain width and flatness requirements. The object model is continuously refined and updated to finally obtain the object model.
[0095] In this embodiment, semantic segmentation of point clouds and models is achieved through deep learning, and semantic category labels are assigned to each point or facet, so that the generated three-dimensional model not only has a geometric shape, but also contains rich semantic information, thereby improving the usability and practical value of the model. Through principal curvature analysis and skeleton line extraction, key structural features of the terrain, such as ridges, valley lines, faults, etc., are automatically identified. These features are of great significance for understanding the overall structure and morphology of the terrain. The boundaries between different landforms are obtained through semantic segmentation, and are introduced into the model optimization as constraints, so that the generated land object model can accurately represent the dividing lines between different landforms, avoiding problems such as overlap or holes at the junction of the model, and improving the geometric quality and visual effect of the model. In summary, this embodiment not only improves the efficiency and quality of three-dimensional reconstruction, but also expands the scope of application of the model, providing reliable and practical three-dimensional spatial data for all walks of life.
[0096] In an optional embodiment,
[0097] The terrain model and the object model are seamlessly integrated, and an initial three-dimensional model is generated by combining a grid subdivision optimization strategy, including:
[0098] For the object model and the terrain model, coordinate unification is performed through control points, and the two models are integrated into the same global coordinate system;
[0099] By using the high-precision control information provided by the object model and combining it with the grid deformation operation, the terrain model is locally deformed and refined within the object range, and the absolute elevation of the object model is constrained by the terrain undulation trend, so as to eliminate the model drift and unnecessary deformation, and realize the accurate registration of the object model and the terrain model;
[0100] The terrain model and the object model after precise registration are seamlessly integrated through the surface reconstruction method to obtain a three-dimensional landscape model. For the three-dimensional landscape model, the regional importance of the three-dimensional landscape model is evaluated through the importance measurement index, and an evaluation label is added to each area according to the evaluation result. For the high-importance area, the subdivision is encrypted according to the subdivision threshold, and for the low-importance area, the subdivision is reduced. The shape of the triangulated network is modified in combination with the edge collapse operation, and texture mapping is performed in combination with the pre-acquired oblique image data to obtain the initial three-dimensional model.
[0101] The absolute elevation refers to the height of the ground surface or the surface of a feature relative to a certain reference surface (usually sea level). The importance metric is an indicator used to evaluate the impact of a feature on model performance. The texture mapping is a technology used to display textures and images on the surface of a three-dimensional model. By mapping a texture image onto the surface of a three-dimensional model, the model can appear more vivid and realistic. It is often used in computer graphics, virtual reality and other fields.
[0102] The coordinate information of the object model and the terrain model in the global coordinate system is obtained by measuring the control points. The coordinate transformation relationship between the object model and the terrain model is established by using the coordinates of the control points, such as similarity transformation, affine transformation, etc. The object model and the terrain model are respectively transformed into a unified global coordinate system to achieve the coordinate unification of the two models. The high-precision control information provided by the object model, such as building corners, road centerlines, etc., is used as a reference for registration. The area corresponding to the object model is identified in the terrain model, and the corresponding relationship between the two models is established. The terrain model is locally deformed and refined within the object range by using mesh deformation technology, such as thin plate spline (TPS) transformation and radial basis function (RBF) transformation, so that it can be accurately registered with the object model. The absolute elevation of the object model is constrained by the terrain undulation trend to eliminate the drift and unnecessary deformation of the model in the vertical direction. The transformation relationship between the terrain model and the object model is continuously adjusted by iterative optimization until the best registration effect is achieved.
[0103] The surface of the precisely aligned terrain model and object model is reconstructed to generate a unified 3D surface. The gaps, holes and overlapping areas between the terrain model and the object model are eliminated by using mesh merging and mesh repairing techniques. The visual continuity and naturalness of the integrated 3D surface are ensured by using smoothing and detail preservation techniques, and finally a seamlessly integrated 3D landscape model is obtained.
[0104] The regional importance of the three-dimensional landscape model is evaluated by using predefined importance measurement indicators, such as visual saliency, semantic importance, etc. According to the evaluation results, an importance evaluation label is added to each region to identify the areas of high and low importance. For the areas of high importance, the mesh is refined according to the preset subdivision threshold to increase the density and detail expression of the mesh. For the areas of low importance, the mesh subdivision is reduced to reduce the density and complexity of the mesh. The edge collapse operation is used to modify the shape of the triangulated network to simplify the geometric representation of the low-importance areas while maintaining the shape characteristics of the important areas.
[0105] Obtain oblique image data of the target area in advance, obtain high-resolution images through oblique photogrammetry or drone photography, align the oblique image with the three-dimensional landscape model, establish a correspondence between the image and the model, and use texture mapping technology to map the texture information in the image to the surface of the three-dimensional landscape model, giving the model real color and texture. Use texture optimization technology, such as texture fusion and color correction, to ensure texture consistency and seamless connection between different images. After texture mapping, obtain an initial three-dimensional model with realism and visual impact.
[0106] In this embodiment, by utilizing the high-precision control information provided by the terrain model and combining it with the grid deformation technology, the terrain model is locally deformed and refined within the range of the terrain, achieving a centimeter-level registration accuracy. By performing regional importance assessment on the three-dimensional landscape model and performing differentiated grid subdivision based on the assessment results, the multi-level expression of the model in different regions is achieved. By reducing the subdivisions, the model complexity is simplified and the rendering efficiency is improved. The importance-based subdivision optimization strategy not only ensures the quality of the model, but also takes into account the rational use of computing and storage resources. By texture mapping the high-resolution oblique image with the three-dimensional landscape model, the model is given real color and texture information, ensuring texture consistency and seamless connection between different images, and improving the visual quality of the model. In summary, this embodiment realizes the construction of high-precision, multi-level, and realistic three-dimensional scenes, providing an important data foundation and technical support for the digital transformation and intelligent development of various industries.
[0107] S3. For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm are combined to perform accurate positioning and optimization to obtain global absolute positioning, and fusion positioning is performed based on a plurality of pre-set sensors at the same time, by constructing a state space model, the fusion positioning information is calculated in combination with the Kalman filter algorithm, the sensor data is corrected by the calibration algorithm based on the error state, and the initial three-dimensional model is corrected using the global absolute positioning and the fusion positioning information to obtain a panoramic three-dimensional model.
[0108] The regional network adjustment algorithm is an algorithm used for geospatial data alignment or measurement data processing. It reduces the computational complexity and improves the algorithm efficiency by adjusting and optimizing the data in a local area. The calibration refers to the process of calibrating a sensor or system in a real-time or dynamic environment. The global absolute positioning is a technology or method for determining the exact position of an object or place on the earth's surface.
[0109] In an optional embodiment,
[0110] For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm are combined to perform precise positioning and optimization to obtain global absolute positioning, and fusion positioning is performed based on multiple pre-set sensors at the same time, by constructing a state space model, combining the Kalman filter algorithm to calculate the fusion positioning information, and correcting the sensor data through the calibration algorithm based on the error state, and using the global absolute positioning and the fusion positioning information to correct the initial three-dimensional model, the panoramic three-dimensional model is obtained, including:
[0111] For the initial three-dimensional model, the three-dimensional coordinates of the ground control points are obtained by high-precision GPS measurement as reference points for model positioning and the corresponding relationship between the ground control points and the model control points is automatically established;
[0112] Based on the corresponding relationship of the control points, the transformation parameters of the three-dimensional model to the geographic coordinate system are calculated by the absolute orientation algorithm, and the control point residual is minimized by the least square method to obtain a rough absolute positioning result. The multiple constraint conditions corresponding to the rough absolute positioning are set by combining the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm. At the same time, according to the distribution of control points, the initial three-dimensional model is divided into multiple regions, and the model in each region is independently combined and optimized. Each region is regarded as the basic unit of the regional network adjustment, and the common connection points between regions are used as constraints to perform the overall adjustment of the regional network to obtain the global absolute positioning;
[0113] Based on multiple pre-set sensors, a state space model is constructed. The system state equation and observation equation are constructed by determining the state variables and observation quantities. The multi-sensor positioning information is fused through the Kalman filter algorithm, and the optimal value of the state variables is recursively estimated to obtain the fused positioning information.
[0114] The sensor bias and scale factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information. The sensor error parameters are estimated by the least square method and calibrated online.
[0115] Based on the online calibration, combined with the global absolute positioning and the fused positioning information, the initial three-dimensional model is collectively corrected to obtain a panoramic three-dimensional model.
[0116] The ground control points are points with known positions in geographic space, usually with known geographic coordinate information. The model control points are points used for positioning and calibration in three-dimensional models or virtual scenes. The control point residuals refer to the differences between observed values and predicted values during the process of geospatial data alignment or model positioning. The absolute positioning results refer to the results of accurately determining the position of a point or object in geographic space. The multi-constraint joint adjustment optimization model is a mathematical model for combining multiple observation data and constraints for data fitting and optimization. The scale factor is a parameter used to adjust or calibrate the scale of geospatial data.
[0117] Using high-precision GPS equipment, select a certain number of ground control points in the target area, measure and record their three-dimensional coordinate information, select model control points corresponding to the ground control points in the initial three-dimensional model, ensure the accuracy of the model control points in the model, and establish the corresponding relationship between the ground control points and the model control points through automatic feature matching and other methods to form a control point correspondence table;
[0118] Based on the corresponding relationship of the control points, an absolute orientation algorithm, such as similarity transformation and affine transformation, is used to calculate the transformation parameters from the 3D model to the geographic coordinate system. The transformation parameters are optimized using the least squares method. The optimal transformation parameter estimate is obtained by minimizing the control point residual. The transformation parameters are applied to the initial 3D model to complete the rough absolute positioning of the model so that it is roughly aligned with the geographic coordinate system.
[0119] According to the distribution of control points, the initial three-dimensional model is divided into multiple regions, each of which contains a certain number of control points. The model in each region is independently combined and optimized, and multiple constraints corresponding to the rough absolute positioning are set. The model in the region is optimized using a multi-constraint combined adjustment optimization model to minimize the errors of the control point residuals and other constraints. Each region is regarded as the basic unit of regional network adjustment, and the common connection points between regions are used as constraints to perform overall regional network adjustment. Through regional network adjustment, the global absolute positioning result is obtained;
[0120] Pre-set multiple positioning sensors to obtain real-time positioning information, build a state space model, determine the state variables and observations of the system, build the system state equation and observation equation based on the state space model, describe the dynamic changes of the state variables and the relationship between the observations and the state variables, use Kalman filter algorithms such as extended Kalman filter (EKF) and unscented Kalman filter (UKF) to fuse the multi-sensor positioning information, and recursively estimate the optimal value of the state variable through the prediction and update steps of the Kalman filter to obtain the fused high-precision positioning information;
[0121] Use the calibration algorithm based on the error state to estimate the sensor's bias and scale factor. Combine known high-precision reference information, such as high-precision GPS positioning results, to construct an extended observation equation, establish the relationship between the sensor error state and the observed quantity, and use optimization algorithms such as the least squares method or Kalman filtering to estimate the sensor error parameters, including the bias and scale factor. Apply the estimated error parameters to the correction of the sensor measurement value, realize the online calibration of the sensor, and improve the accuracy of the positioning information.
[0122] Based on the sensor positioning information after online calibration, combined with the global absolute positioning results and fused positioning information, the initial 3D model is corrected collectively. By matching and optimizing the model's coordinates with high-precision positioning information, the accumulated errors and drifts of the model are eliminated to make it consistent with the position and proportion of the real world. After collective correction, a panoramic 3D model is obtained.
[0123] In the present embodiment, the three-dimensional coordinates of the ground control points are obtained by high-precision GPS measurement, and the corresponding relationship between the control points and the model is established. The rough absolute positioning of the model is achieved through the absolute orientation algorithm and the least squares optimization. While ensuring global consistency, the local positioning accuracy of the model is improved, so that it is highly consistent with the position and proportion of the real world. The overall adjustment of the regional network is carried out with the common connection points between regions as constraints, and the seamless splicing and optimization of the model at the local and global scales are achieved, the integrity and consistency of the model are improved, and the discontinuity and error accumulation problems between different regions are eliminated. By constructing a state space model, the positioning information of multiple sensors is fused using the Kalman filter algorithm, and the optimal value of the state variable is recursively estimated. The fused positioning information with high precision and high reliability is obtained, which effectively overcomes the limitations of a single sensor and improves the accuracy and robustness of the positioning result. In summary, the present embodiment effectively solves the problems of absolute positioning error, local inconsistency, sensor drift, etc. in the traditional modeling process, and the generated model has reached a high level in terms of accuracy, integrity, consistency, etc., laying a solid data foundation for subsequent applications.
[0124] In an optional embodiment,
[0125] The sensor bias and proportional factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information as shown in the following formula:
[0126] ;
[0127] Among them, Z k represents the observed quantity, R(q k ) represents the rotation matrix, q k Represents a quaternion, X k represents the state variable, bk represents the bias vector, f() represents the state error function, s k represents the scale factor, v k represents the measurement noise.
[0128] In this embodiment, the error states of the sensor, such as the bias and scale factor, are associated with the observation values, and a more complete and accurate observation model is constructed, which effectively improves the calibration accuracy and reduces the impact of sensor errors on subsequent positioning, navigation, mapping and other tasks. By using quaternions to represent rotation, the universal lock problem in the Euler angle representation is avoided, and the adaptability of the algorithm to different postures is enhanced. By jointly estimating the error state, the system error of the sensor can be fully corrected, and the accuracy and consistency of the measurement data can be improved. In summary, this embodiment realizes the accurate estimation of sensor bias and scale factor, improves the calibration accuracy and adaptability, can effectively improve the performance and reliability of positioning, navigation, mapping and other tasks, and promotes the development and application of autonomous systems.
[0129] Figure 2 FIG. 1 is a schematic diagram of the structure of the engineering measurement precise positioning and three-dimensional modeling system according to an embodiment of the present invention. Figure 2 As shown, the system comprises:
[0130] The first unit is used to obtain high-density point cloud data of the area to be measured by a pre-set laser radar system, obtain oblique image data by an oblique camera carried by a drone, perform spatiotemporal registration of the high-density point cloud data and the oblique image data by a common feature matching algorithm to obtain multivariate consistency data, and classify the multivariate consistency data point by point by a pre-set deep learning model to obtain terrain point cloud data;
[0131] The second unit is used to extract terrain structure lines and construct irregular triangulated networks for the terrain point cloud data through an adaptive triangulated network generation algorithm to obtain a terrain model, perform three-dimensional reconstruction based on the pre-acquired oblique image data through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and perform semantic annotation to obtain a terrain model, seamlessly integrate the terrain model and the terrain model, and generate an initial three-dimensional model in combination with a grid subdivision optimization strategy;
[0132] The third unit is used to align the initial three-dimensional model to the geographic coordinate system by control points, and accurately locate and optimize it in combination with a multi-constraint joint adjustment optimization model and a regional network adjustment algorithm to obtain global absolute positioning, and simultaneously perform fusion positioning based on a plurality of pre-set sensors, calculate fused positioning information by constructing a state space model in combination with a Kalman filter algorithm, correct the sensor data by a calibration algorithm based on an error state, and use the global absolute positioning and the fused positioning information to correct the initial three-dimensional model to obtain a panoramic three-dimensional model.
[0133] According to a third aspect of the embodiments of the present invention,
[0134] An electronic device is provided, comprising:
[0135] processor;
[0136] a memory for storing processor-executable instructions;
[0137] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0138] A fourth aspect of the embodiments of the present invention is:
[0139] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0140] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. The method of precise positioning and three-dimensional modeling of engineering measurement is characterized by: include: The high-density point cloud data of the area to be measured is obtained by pre-setting the laser radar system, the oblique image data is obtained by using the oblique camera carried by the drone, the high-density point cloud data and the oblique image data are temporally and spatially registered by a common feature matching algorithm to obtain multivariate consistency data, and the multivariate consistency data is point-by-point classified by a pre-set deep learning model to obtain terrain point cloud data; For the terrain point cloud data, an adaptive triangulation algorithm is used to extract terrain structure lines and construct an irregular triangulation network to obtain a terrain model. Based on the pre-acquired oblique image data, three-dimensional reconstruction is performed by a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm. At the same time, semantic annotation is performed to obtain a ground object model. The terrain model and the ground object model are seamlessly integrated, and an initial three-dimensional model is generated in combination with a grid subdivision optimization strategy. For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm are combined to perform precise positioning and optimization to obtain global absolute positioning, and at the same time, fusion positioning is performed based on a plurality of pre-set sensors, and the state space model is constructed, and the fusion positioning information is calculated in combination with the Kalman filter algorithm, and the sensor data is corrected by a calibration algorithm based on the error state, and the initial three-dimensional model is corrected using the global absolute positioning and the fusion positioning information to obtain a panoramic three-dimensional model; For the initial three-dimensional model, the control points are aligned to the geographic coordinate system, and the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm are combined to perform precise positioning and optimization to obtain global absolute positioning, and fusion positioning is performed based on multiple pre-set sensors at the same time, by constructing a state space model, combining the Kalman filter algorithm to calculate the fusion positioning information, and correcting the sensor data through the calibration algorithm based on the error state, and using the global absolute positioning and the fusion positioning information to correct the initial three-dimensional model, the panoramic three-dimensional model is obtained, including: For the initial three-dimensional model, the three-dimensional coordinates of the ground control points are obtained by high-precision GPS measurement as reference points for model positioning and the corresponding relationship between the ground control points and the model control points is automatically established; Based on the corresponding relationship of the control points, the transformation parameters of the three-dimensional model to the geographic coordinate system are calculated by the absolute orientation algorithm, and the control point residual is minimized by the least square method to obtain a rough absolute positioning result. The multiple constraint conditions corresponding to the rough absolute positioning are set by combining the multi-constraint joint adjustment optimization model and the regional network adjustment algorithm. At the same time, according to the distribution of control points, the initial three-dimensional model is divided into multiple regions, and the model in each region is independently combined and optimized. Each region is regarded as the basic unit of the regional network adjustment, and the common connection points between regions are used as constraints to perform the overall adjustment of the regional network to obtain the global absolute positioning; Based on multiple pre-set sensors, a state space model is constructed. The system state equation and observation equation are constructed by determining the state variables and observation quantities. The multi-sensor positioning information is fused through the Kalman filter algorithm, and the optimal value of the state variables is recursively estimated to obtain the fused positioning information. The sensor bias and scale factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information. The sensor error parameters are estimated by the least square method and calibrated online. Based on the online calibration, combined with the global absolute positioning and the fused positioning information, the initial three-dimensional model is collectively corrected to obtain a panoramic three-dimensional model.
2. The method according to claim 1, characterized in that The high-density point cloud data of the area to be measured is obtained by pre-setting the laser radar system, and the oblique image data is obtained by the oblique camera carried by the drone. The high-density point cloud data and the oblique image data are temporally and spatially registered by the common feature matching algorithm to obtain the multivariate consistency data including: For the area to be measured, planning a movement route of the laser radar system, acquiring the three-dimensional coordinates of the area to be measured by rotation scanning, generating original point cloud data, and preprocessing the original point cloud data to obtain the high-density point cloud data; The flight data of the UAV and the shooting mode of the oblique camera are set, the UAV flies according to a preset route and triggers the oblique camera to acquire images, shoots from multiple perspectives to obtain raw image data, and calibrates the raw image data according to camera calibration parameters to obtain the oblique image data; Corner points and plane points are extracted from the high-density point cloud data and recorded as point cloud feature points. The image key points in the oblique image data are determined by a fast key point algorithm. For each image key point, a local area of a fixed size is defined. In each local area, binary robust independent basic image features are applied to generate a binary descriptor. The image key points and point cloud feature points are matched based on the binary descriptor. For each matched point pair, a geometric transformation model is constructed after removing the erroneous matching point pairs through random consistency sampling. The transformation parameters are solved by least squares optimization to obtain the multivariate consistency data.
3. The method according to claim 1, characterized in that The multivariate consistency data is classified point by point through a preset deep learning model to obtain terrain point cloud data including: Acquire the multivariate consistency data and classify it through a preset deep learning model, wherein the deep learning model includes a sampling layer, a grouping layer, a feature extraction layer and a segmentation layer; Add the multivariate consistency data to the sampling layer, randomly select a data point in the multivariate consistency data as the first candidate point through the farthest sampling point strategy, calculate the distance between each point and the first candidate point for the unselected points, select the point with the farthest distance as the second candidate point, repeat the selection until the preset maximum number of candidate points is reached, and output the selected candidate points to the grouping layer; For each candidate point, taking the current candidate point as the center, randomly set the neighborhood radius and determine the neighborhood area according to the neighborhood radius. For each neighborhood area, learn the local geometric features of each point in the neighborhood area through the feature extraction layer, add the local geometric features to the segmentation layer, classify through the fully connected neural network, and output the category label of each point. A connectivity graph is constructed based on the category labels, and the neighborhood area is modified in combination with a conditional random field optimization algorithm so that points in each neighborhood area have the same category label. The neighborhood areas are combined to obtain terrain point cloud data.
4. The method according to claim 1, characterized in that: For the terrain point cloud data, the terrain structure lines are extracted and irregular triangulated networks are constructed through an adaptive triangulation algorithm to obtain a terrain model. According to the pre-acquired oblique image data, three-dimensional reconstruction is performed through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and semantic annotation is performed at the same time. The obtained terrain model includes: Performing normal vector estimation on the terrain point cloud data, respectively calculating the principal curvature value corresponding to each terrain point cloud data, performing threshold segmentation on the terrain point cloud data based on the principal curvature value, taking points whose principal curvature value is higher than a preset curvature threshold as candidate structural points, combining filtering operation and density-based clustering operation to generate a structural point set, within the structural point set, determining the shortest path connecting all structural points by a minimum spanning tree algorithm, taking the shortest path as a skeleton line and performing smoothing and simplification operations to obtain the terrain structural line; Adding the terrain structure line to the constraint edge set, combining with the incremental triangulation algorithm to generate an initial triangulated network, applying edge flipping and point insertion operations to the initial triangulated network, combining with the minimum angle criterion to determine the shape of the initial triangulated network, combining with the terrain features to adaptively subdivide the initial triangulated network to obtain a terrain model; Based on the terrain model, the same-name points between images are obtained through feature matching and multi-view image alignment is performed based on the same-name points, a reference frame is determined in the multi-view image, dense matching is performed in combination with a descriptor, and for each pixel in the multi-view image, an initial depth map is determined in the disparity space through cost aggregation and occlusion is removed, and the three-dimensional structure of the object is obtained by fusion; Based on the three-dimensional structure of the object, semantic segmentation is performed based on deep learning and the boundaries between different categories of objects are determined. The gradients between different objects are modified in combination with semantic edge constraints. Regularization is performed in combination with the prior object shape to obtain the object model.
5. The method according to claim 1, characterized in that The terrain model and the object model are seamlessly integrated, and an initial three-dimensional model is generated by combining a grid subdivision optimization strategy, including: For the object model and the terrain model, coordinate unification is performed through control points, and the two models are integrated into the same global coordinate system; By using the high-precision control information provided by the object model and combining it with the grid deformation operation, the terrain model is locally deformed and refined within the object range, and the absolute elevation of the object model is constrained by the terrain undulation trend, so as to eliminate the model drift and unnecessary deformation, and realize the accurate registration of the object model and the terrain model; The terrain model and the object model after precise registration are seamlessly integrated through the surface reconstruction method to obtain a three-dimensional landscape model. For the three-dimensional landscape model, the regional importance of the three-dimensional landscape model is evaluated through the importance measurement index, and an evaluation label is added to each area according to the evaluation result. For the high-importance area, the subdivision is encrypted according to the subdivision threshold, and for the low-importance area, the subdivision is reduced. The shape of the triangulated network is modified in combination with the edge collapse operation, and texture mapping is performed in combination with the pre-acquired oblique image data to obtain the initial three-dimensional model.
6. The method according to claim 1, characterized in that The sensor bias and proportional factor are determined by the calibration algorithm based on the error state, and the extended observation equation is constructed by combining the known high-precision reference information as shown in the following formula: ; Among them, Z k represents the observed quantity, R(q k ) represents the rotation matrix, q k Represents a quaternion, X k represents the state variable, b k represents the bias vector, f() represents the state error function, s k represents the scale factor, v k represents the measurement noise.
7. An engineering measurement precision positioning and three-dimensional modeling system, used to implement the method described in any one of claims 1 to 6, characterized in that: include: The first unit is used to obtain high-density point cloud data of the area to be measured by a pre-set laser radar system, obtain oblique image data by an oblique camera carried by a drone, perform spatiotemporal registration of the high-density point cloud data and the oblique image data by a common feature matching algorithm to obtain multivariate consistency data, and classify the multivariate consistency data point by point by a pre-set deep learning model to obtain terrain point cloud data; The second unit is used to extract terrain structure lines and construct irregular triangulated networks for the terrain point cloud data through an adaptive triangulated network generation algorithm to obtain a terrain model, perform three-dimensional reconstruction based on the pre-acquired oblique image data through a multi-view geometric consistency algorithm and a three-dimensional reconstruction algorithm, and perform semantic annotation to obtain a terrain model, seamlessly integrate the terrain model and the terrain model, and generate an initial three-dimensional model in combination with a grid subdivision optimization strategy; The third unit is used to align the initial three-dimensional model to the geographic coordinate system by control points, and accurately locate and optimize it in combination with a multi-constraint joint adjustment optimization model and a regional network adjustment algorithm to obtain global absolute positioning, and simultaneously perform fusion positioning based on a plurality of pre-set sensors, calculate fused positioning information by constructing a state space model in combination with a Kalman filter algorithm, correct the sensor data by a calibration algorithm based on an error state, and use the global absolute positioning and the fused positioning information to correct the initial three-dimensional model to obtain a panoramic three-dimensional model.
8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
