A system and method for constructing outdoor large-scale three-dimensional maps

The construction of three-dimensional maps through block collection of consumer-grade equipment and visual inertial odometry technology solves the problem of high-precision large-scale coverage and realizes low-cost and high-precision three-dimensional map construction, which is suitable for unmanned driving and augmented reality fields.

CN112700546BActive Publication Date: 2024-10-15SHICHEN INFORMATION TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110032959.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-14
Publication Date
2024-10-15
Estimated Expiration
2041-01-14

AI Technical Summary

Technical Problem

It is difficult to construct high-precision large-scale three-dimensional maps at low cost and low threshold with existing technology, especially in the fields of driverless driving and augmented reality. Traditional high-precision equipment is costly and difficult to cover on a large scale.

Method used

Use consumer-grade devices such as smartphones and panoramic cameras to collect images, videos and GPS information in blocks through the data collection module, use visual inertial odometry to generate local camera trajectories, GIS alignment to generate global coordinates, perform triangulation to build a three-dimensional map, and use Local optimization module improves accuracy and coverage.

Benefits of technology

It realizes the construction of high-precision large-scale three-dimensional maps in ordinary desktop-level environments, reduces costs and thresholds, ensures the accuracy and coverage of three-dimensional maps, and is suitable for conventional augmented reality applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112700546B_ABST
    Figure CN112700546B_ABST
Patent Text Reader

Abstract

A system and method for constructing an outdoor large-scale three-dimensional map, including planning a collection route, dividing the collection route into blocks and collecting the original information of the blocks; processing the original information of the blocks to generate a local camera track position and posture; aligning the local camera track position and posture to a geographic information coordinate system to obtain image information under global coordinates; performing feature extraction, feature matching and triangulation operations on the image information under global coordinates locally to construct three-dimensional structural information of the image information and generate a local three-dimensional map; optimizing the local three-dimensional map according to a selected range to generate an optimized and updated three-dimensional map. The system and method for constructing an outdoor large-scale three-dimensional map of the present invention are time- and cost-controllable, and the accuracy can meet conventional augmented reality applications, and has a high application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the fields of augmented reality, computer vision and three-dimensional vision, and in particular relates to a system and method for constructing an outdoor large-scale three-dimensional map. Background Art

[0002] Three-dimensional visual map is one of the key technologies in the fields of augmented reality, robotics, and unmanned driving, and is the core of technologies such as automatic identification of the surrounding environment and visual positioning. With the popularization of various sensors, the enhancement of processing capabilities, and the promotion of various application needs, more and more image data is collected every day, and three-dimensional maps are generated and updated at the same time.

[0003] At present, the fields of unmanned driving and augmented reality have high requirements for the accuracy of three-dimensional maps. On the one hand, high-precision acquisition equipment is needed, and on the other hand, high-precision computing centers are needed to support large-scale data processing. Therefore, the construction of three-dimensional maps currently mostly relies on high-precision lidar or high-precision GPS such as RTK-GPS systems. The use of high-precision systems is costly, has high barriers to entry, and is difficult to cover on a large scale.

[0004] At present, in addition to conventional photo and video functions, smart phones (such as the latest Apple iPhone or high-end Android phones) and consumer-grade sports cameras and panoramic cameras (such as products from manufacturers such as GoPro and Insta360) are also equipped with GPS and IMU data, which can be used to collect video, IMU, GPS and other information. However, using such consumer-grade devices to build three-dimensional maps in ordinary desktop environments, although low-cost, is difficult to meet the high-precision requirements of three-dimensional maps, and is also difficult to cover on a large scale.

[0005] To sum up, how to meet the requirements of high precision and large-scale coverage of three-dimensional maps while reducing costs and thresholds is an urgent problem to be solved in the industry. Summary of the invention

[0006] In order to overcome the defects of the prior art, the purpose of the present invention is to provide a system and method for constructing an outdoor large-scale three-dimensional map. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0007] One aspect of the present invention provides a system for constructing an outdoor large-scale three-dimensional map, comprising a data acquisition module, a local posture generation module, a GIS alignment module, a local three-dimensional map generation module and a local three-dimensional map optimization module, wherein:

[0008] The data acquisition module divides the acquisition route of the three-dimensional map into blocks, and acquires the video, IMU and GPS information of the images in the blocks;

[0009] The local posture generation module uses the visual inertial odometer to fuse the video and IMU information of the image to generate the local camera trajectory position and posture of the three-dimensional map;

[0010] The GIS alignment module uses the GPS information of the image to align the local camera trajectory position and posture to the geographic information coordinate system to obtain image information in the global coordinate system;

[0011] The local three-dimensional map generation module constructs the three-dimensional structure information of the image using the image information under the global coordinates, generates a local three-dimensional map, and extracts the global features of the local three-dimensional map image;

[0012] The local map optimization module optimizes the local three-dimensional map within a selected range by utilizing the global features of the local three-dimensional map image to generate an optimized and updated three-dimensional map.

[0013] Preferably, the data acquisition module uses a consumer-grade panoramic camera or a smart phone to collect the video, IMU and GPS information of the image, and outputs the video, IMU and GPS information of the image to the local posture generation module.

[0014] Preferably, the local attitude generation module utilizes the visual inertial odometer of the consumer-grade panoramic camera or smartphone to fuse the video and IMU information of the image to generate the local camera trajectory position and attitude, and outputs the local camera trajectory position and attitude to the GIS alignment module.

[0015] Preferably, the position and posture of the local camera trajectory are the six-degree-of-freedom position and posture of the image in the block in a local coordinate system.

[0016] Preferably, the GIS alignment module calculates the local camera trajectory and posture and the GPS information of the image, and outputs the image information in the global coordinate system to the local three-dimensional map generation module, wherein the image information in the global coordinate system is the position and posture of the image in the block in the global coordinate system.

[0017] Preferably, the local three-dimensional map generation module performs feature extraction, feature matching and triangulation operations locally on the image information under the global coordinates, and outputs a three-dimensional point cloud, the position and local features of the three-dimensional point cloud, and the global features of the image to the local three-dimensional map optimization module.

[0018] Preferably, the local three-dimensional map generation module uses a convolutional neural network to extract the global features of the image, with the input being single-frame image information and the output being a global feature vector.

[0019] Preferably, the local three-dimensional map optimization module jointly optimizes the position and posture of the global coordinate system of the image near the real physical space within the selected range and the image with relatively high similarity, as well as the position and local features of the three-dimensional point cloud that can be observed from the image, and outputs the optimized and updated position and posture of the image, as well as the updated three-dimensional point cloud.

[0020] Preferably, the local three-dimensional map optimization module optimizes the local three-dimensional map within the selected range by multiple acquisitions at the same location and / or joint optimization of data from multiple users; or the local three-dimensional map optimization module optimizes the local three-dimensional map within the selected range by joint optimization of data from multiple time periods and multiple seasons.

[0021] Another aspect of the present invention provides a method for constructing an outdoor large-scale three-dimensional map, comprising:

[0022] 1) Planning a collection route for a three-dimensional map, dividing the collection route into blocks, and collecting video, IMU, and GPS information of images in the blocks;

[0023] 2) using visual inertial odometry to fuse the video and IMU information of the image to generate a local camera trajectory position and attitude;

[0024] 3) using the GPS information of the image to align the local camera trajectory position and posture to the geographic information coordinate system, and obtain the position and posture of the image in the global coordinate system;

[0025] 4) constructing the three-dimensional structural information of the image using the image information under the global coordinates, generating a local three-dimensional map, and extracting the global features of the local three-dimensional map image;

[0026] 5) Utilizing the global features of the local three-dimensional map image, the local three-dimensional map within the selected range is optimized to generate an optimized and updated three-dimensional map.

[0027] Preferably, a consumer-grade panoramic camera or a smart phone is used to collect video, IMU and GPS information of the images in the blocks.

[0028] Preferably, the video and IMU information of the image are fused using the visual inertial odometer of the consumer-grade panoramic camera or smartphone to generate the local camera trajectory position and attitude, and the local camera trajectory position and attitude are the six-degree-of-freedom position and attitude of the image in the block in the local coordinate system.

[0029] Preferably, aligning the local camera trajectory position and posture to geographic information coordinates includes: calculating the local camera trajectory position and posture and GPS information of the image, and outputting the image information under the global coordinates, wherein the image information under the global coordinates is the position and posture of the image in the block in the global coordinate system.

[0030] Preferably, constructing the three-dimensional structure information of the image information using the image information in the global coordinates includes:

[0031] The image information under the global coordinates is subjected to local feature extraction, feature matching and triangulation operations, and a three-dimensional point cloud, the position of the three-dimensional point cloud and local features are output.

[0032] Preferably, a convolutional neural network is used to extract the global features corresponding to the local three-dimensional map image, with the input being single-frame image information and the output being a global feature vector.

[0033] Preferably, the optimizing the local three-dimensional map within the selected range by utilizing the global features of the local three-dimensional map image comprises:

[0034] The position and posture of the global coordinate system of the image near the real physical space within the selected range and the image with relatively high similarity, as well as the position and local features of the three-dimensional point cloud that can be observed by the image, are jointly optimized, and the position and posture of the optimized and updated image, as well as the updated three-dimensional point cloud, are output.

[0035] Preferably, the optimizing the local three-dimensional map within the selected range by utilizing the global features of the local three-dimensional map image comprises:

[0036] The local three-dimensional map within the selected range is optimized by multiple acquisitions at the same location and / or joint optimization of data from multiple users; or the local three-dimensional map within the selected range is optimized by joint optimization of data from multiple time periods and multiple seasons.

[0037] Preferably, the optimizing the local three-dimensional map within the selected range by utilizing the global features of the local three-dimensional map image comprises:

[0038] 1) Reading all local three-dimensional maps within the selected range from the server;

[0039] 2) obtaining candidate matching pairs of the image in the absolute position space according to the GPS information of the image in the local three-dimensional map;

[0040] 3) calculating a global feature vector of the image, and using the global feature vector to obtain the closest candidate matching pair of the image in the feature space;

[0041] 4) for the image within the selected range and the candidate matching pairs in the absolute position space of the image and the closest candidate matching pairs in the feature space, respectively extract local features and descriptors, perform nearest neighbor matching based on the local features and descriptors, and obtain local matching;

[0042] 5) According to the observed position and posture of the image and the position of the local matching feature point in the image, the position of the three-dimensional point corresponding to the feature point is obtained by a triangulation algorithm;

[0043] 6) constructing a local optimization problem for the image, the local features and the local matching, performing global bundling adjustment through the Levenberg-Marquardt method, and obtaining the position and posture of the optimized image, as well as the position of the three-dimensional point.

[0044] The system and method for constructing a large-scale outdoor three-dimensional map of the present invention utilize low-cost devices such as consumer-grade smart phones, sports cameras, and panoramic cameras to construct a large-scale, high-precision three-dimensional visual map in an outdoor scene in an ordinary desktop environment; the present invention divides the acquisition route into blocks to avoid the problem of uncontrollable calculation time as the scale increases; the present invention utilizes a visual inertial odometer to generate a local camera track position and posture to ensure that the accuracy within the block is relatively high; the present invention utilizes a GPS track to align the local camera track to a geographic information coordinate system to generate a global coordinate; the present invention performs a triangulation operation locally to construct three-dimensional structural information, and since it is performed locally, the speed is very fast; the present invention performs local optimization as needed, and the scale is also controllable, the time is controllable, and it is also relatively flexible. The system and method for constructing a large-scale outdoor three-dimensional map of the present invention have controllable time and cost, a larger scale, and the accuracy can meet conventional augmented reality applications, and has a high application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] After reading the specific embodiments of the present invention with reference to the accompanying drawings, readers will have a clearer understanding of various aspects of the present invention.

[0046] Figure 1 A functional module diagram of a system for constructing an outdoor large-scale three-dimensional map according to an embodiment of the present invention;

[0047] Figure 2 This is a workflow diagram of a method for constructing an outdoor large-scale three-dimensional map according to another embodiment of the present invention.

[0048] Description of reference numerals:

[0049] 10: Construction system of outdoor large-scale three-dimensional maps;

[0050] 11: Data acquisition module; 12: Local posture generation module; 13: GIS alignment module; 14: Local 3D map generation module; 15: Local 3D map optimization module. DETAILED DESCRIPTION

[0051] In order to make the technical content disclosed in this application more detailed and complete, reference may be made to the accompanying drawings and the following specific embodiments of the present invention. However, it should be understood by those skilled in the art that the embodiments provided below are not intended to limit the scope of the present invention. In addition, the accompanying drawings are only used for schematic illustration and are not drawn according to their original size.

[0052] The specific implementation modes of various aspects of the present invention are further described in detail below with reference to the accompanying drawings.

[0053] Please refer to Figure 1 The figure shows a functional module diagram of a system for constructing an outdoor large-scale three-dimensional map according to an embodiment of the present invention.

[0054] One aspect of the present invention provides a system 10 for constructing an outdoor large-scale three-dimensional map, comprising a data acquisition module 11, a local posture generation module 12, a GIS alignment module 13, a local three-dimensional map generation module 14 and a local three-dimensional map optimization module 15, wherein:

[0055] The data acquisition module 11 plans the acquisition route of the three-dimensional map, divides the acquisition route into blocks, and specifically divides the acquisition route into different scanning areas according to a preset division rule; scans the blocks and collects the video, IMU (accelerometer and gyroscope) and GPS information of the images in the blocks. Specifically, the data acquisition module 11 divides the acquisition route into blocks to avoid the problem of uncontrollable calculation time as the scanning area becomes larger, thereby improving the operation efficiency of the system;

[0056] The local attitude generation module 12 uses the visual inertial odometry method (Visual Inertial Odometry, VIO) to fuse the video and IMU information of the image to generate the local camera trajectory position and attitude of the three-dimensional map. Specifically, the local camera trajectory position and attitude are the six-degree-of-freedom position and attitude of the image in the block in the local coordinate system; specifically, the input of the visual inertial odometry is the video information and IMU information of the image collected by the data acquisition module, and the six-degree-of-freedom position and attitude of the image in the block in the local coordinate system are output by preprocessing, initializing, local nonlinear optimization, loop detection and global optimization of the video information and IMU information data; specifically, the visual inertial odometry method ensures that the trajectory and map accuracy within the block are relatively high, which can make full use of the sequence information of the video more than other methods, and can directly restore the real scale of the scene;

[0057] The GIS alignment module 13 uses the GPS information of the image to align the position and posture of the local camera trajectory to the geographic information coordinate system to obtain image information in the global coordinate system. Specifically, the GIS alignment module 13 estimates the rigid body transformation relationship between the local camera trajectory and the GPS trajectory through the RANSAC algorithm, and converts the local camera trajectory to the UTM mapping.

[0058] The local 3D map generation module 14 constructs the 3D structure information of the image using the image information under the global coordinates to generate a local 3D map. Specifically, the image information is matched locally, and for images that are not near the same geographical location, useless matching operations are reduced, so the matching speed is very fast. At the same time, for the subsequent fusion and optimization of multiple maps, the global features of the local 3D map image are extracted;

[0059] The local three-dimensional map optimization module 15 utilizes the global features of the local three-dimensional map image, integrates multiple acquisition results, optimizes the local three-dimensional map within the selected range, and generates an optimized and updated three-dimensional map. Specifically, the local three-dimensional map optimization module 15 adjusts all nearby images and three-dimensional points with binding constraints, improves the accuracy of the local camera trajectory position and posture output by the local posture generation module 12, and further eliminates the error of the alignment of the local camera trajectory and the GPS trajectory in the GIS alignment module 13, which is also controllable in scale, time, and flexibility.

[0060] In this embodiment, the data acquisition module 11 uses a consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or a smart phone (iPhone or Android phone) to collect the video, IMU and GPS information of the image, and outputs the video, IMU and GPS information of the image to the local posture generation module 12. Specifically, the consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or smart phone (iPhone or Android phone) not only has conventional photo and video functions, but is also equipped with GPS and IMU. Therefore, the consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or smart phone (iPhone or Android phone) can simultaneously collect the video, IMU (accelerometer and gyroscope) and GPS information; specifically, using a panoramic camera and a smart phone as a collection device is lower in cost and more convenient to use than the existing collection equipment RTK-GPS or lidar.

[0061] In this embodiment, the local posture generation module 12 uses the visual inertial odometer of the consumer-grade panoramic camera or smartphone to fuse the video and IMU information of the image to generate the local camera trajectory position and posture, and outputs the local camera trajectory position and posture to the GIS alignment module 13.

[0062] In this embodiment, the local camera trajectory position and posture are the six-degree-of-freedom position and posture of the image in the block in the local coordinate system.

[0063] In this embodiment, the GIS alignment module 13 calculates the local camera trajectory position and posture with the GPS information of the image, and outputs the image information in the global coordinate system to the local three-dimensional map generation module 14. Specifically, the GIS alignment module 13 calculates the six-degree-of-freedom position and posture T of the image in the block in the local coordinate system. local Calculate the GPS information of the image and output the position and posture T of the image in the block in the global coordinate system global .

[0064] In this embodiment, the local 3D map generation module 14 performs feature extraction, feature matching and triangulation operations on the image information under the global coordinates locally, and outputs the 3D point cloud, the position and local features of the 3D point cloud and the global features corresponding to the image to the local 3D map optimization module 15. Specifically, the image information under the global coordinates is the image and the position and posture T of the image under the global coordinate system. global .

[0065] In this embodiment, the local three-dimensional map generation module 14 uses a convolutional neural network to extract the global features of the image, with the input being single-frame image information and the output being a global feature vector. Specifically, the global feature vector is a vector of Ddesc dimension.

[0066] In this embodiment, the local three-dimensional map optimization module 15 jointly optimizes the position and posture of the global coordinate system of the image near the real physical space within the selected range and the image with relatively high similarity, as well as the position and local features of the three-dimensional point cloud that can be observed by the image, and outputs the position and posture of the optimized and updated image, as well as the updated three-dimensional point cloud. Specifically, the local three-dimensional map optimization module 15 calculates the image near the real physical space through the GPS information of the image, and the local three-dimensional map optimization module 15 calculates the image with relatively high similarity through the Euclidean distance of the global feature vector of the image.

[0067] In this embodiment, the accuracy of a single collection by the same user is not enough to achieve a high-precision map at the sub-meter level or even the centimeter level. The local three-dimensional map optimization module 15 optimizes the local three-dimensional map within the selected range by multiple collections at the same location and / or joint optimization of data from multiple users, thereby improving the accuracy of the three-dimensional map; a single collection cannot cover changes in different times, weather, climate, and light. The local three-dimensional map optimization module 15 optimizes the local three-dimensional map within the selected range by joint optimization of data from multiple time periods and multiple seasons, thereby improving the integrity of the three-dimensional map. Specifically, a more accurate and more complete three-dimensional map is synthesized by using different map fragments at the same location in the morning, noon, and evening, or a more accurate three-dimensional map is obtained by using map fragments taken from different sides of the same road, or a more accurate three-dimensional map is obtained by using map fragments taken by different users using different devices on different paths in the same area.

[0068] Please refer to Figure 2 Shown is a workflow diagram of a method for constructing an outdoor large-scale three-dimensional map according to another embodiment of the present invention.

[0069] Another aspect of the present invention provides a method for constructing an outdoor large-scale three-dimensional map, comprising:

[0070] S1: planning a collection route for the three-dimensional map, dividing the collection route into blocks, specifically, dividing the collection route into different scanning areas according to a preset division rule; scanning the blocks and collecting video, IMU and GPS information of the images in the blocks, and avoiding the problem of uncontrollable calculation time as the scanning area becomes larger by dividing the blocks, thereby improving the operation efficiency of the system;

[0071] S2: Using a Visual Inertial Odometry (VIO) method to fuse the video and IMU information of the image, generate a local camera trajectory position and posture, specifically, the local camera trajectory position and posture are the six-degree-of-freedom position and posture of the image in the block in the local coordinate system; specifically, the input of the visual inertial odometry is the video information and IMU information of the collected image, and the six-degree-of-freedom position and posture of the image in the block in the local coordinate system are output by preprocessing, initializing, local nonlinear optimization, loop detection and global optimization of the video information and IMU information data; specifically, the visual inertial odometry method ensures that the trajectory and map accuracy within the block are relatively high, can make full use of the video sequence information more than other methods, and can directly restore the true scale of the scene;

[0072] S3: using the GPS information of the image to align the position and posture of the local camera trajectory to the geographic information coordinate system, and obtain the image information in the global coordinate system. Specifically, the rigid body transformation relationship between the local camera trajectory and the GPS trajectory is estimated by the RANSAC algorithm, and the local camera trajectory is converted to the UTM mapping.

[0073] S4: constructing the three-dimensional structure information of the image information using the image information under the global coordinates to generate a local three-dimensional map. Specifically, the image information is matched locally, and for images that are not near the same geographical location, useless matching operations are reduced, so the matching speed is very fast; at the same time, for subsequent fusion of multiple maps and map optimization, the global features of the local three-dimensional map image are extracted;

[0074] S5: Utilizing the global features of the local three-dimensional map image, multiple acquisition results are integrated to optimize the local three-dimensional map within the selected range, and generate an optimized and updated three-dimensional map. Specifically, all nearby image frames and three-dimensional points are adjusted with bundle constraints, thereby improving the accuracy of the position and posture of the local camera trajectory, and further eliminating the alignment error between the local camera trajectory and the GPS trajectory. The system is also scale-controllable, time-controllable, and flexible.

[0075] In this embodiment, the step of scanning the blocks and collecting the video, IMU and GPS information S1 of the images in the blocks includes:

[0076] A consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or a smart phone (iPhone or Android phone) is used to collect the video, IMU (accelerometer and gyroscope) and GPS information of the image. Specifically, the consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or smart phone (iPhone or Android phone) not only has conventional photo and video functions, but is also equipped with GPS and IMU. Therefore, the consumer-grade panoramic camera (such as GoPro Max, insta360 one X) or smart phone (iPhone or Android phone) can collect the video, IMU (accelerometer and gyroscope) and GPS information at the same time; specifically, the use of panoramic cameras and smart phones as collection devices is lower in cost and more convenient to use than the existing collection devices RTK-GPS or lidar.

[0077] In this embodiment, the method of fusing the video and IMU information S2 of the image using the visual inertial odometer method includes:

[0078] The video and IMU information of the image are fused using the visual inertial odometry (VIO) of the consumer-grade panoramic camera or smartphone to generate the local camera trajectory position and attitude. Specifically, the local camera trajectory position and attitude are the six-degree-of-freedom position and attitude of the image in the block in the local coordinate system.

[0079] In this embodiment, aligning the local camera trajectory position and posture to the geographic information coordinates S3 includes:

[0080] The local camera trajectory position and posture are calculated with the GPS information of the image, and the image information in the global coordinate system is output. Specifically, the six-degree-of-freedom position and posture T of the image in the block in the local coordinate system are calculated. local Calculate the position and posture of the image in the global coordinate system T olobal .

[0081] In this embodiment, the step of constructing the three-dimensional structure information S4 of the image information includes:

[0082] The image information under the global coordinates is subjected to local feature extraction, feature matching and triangulation operations, and a three-dimensional point cloud, the position of the three-dimensional point cloud and local features are output.

[0083] In this embodiment, a convolutional neural network is used to extract the global features of the local three-dimensional map image, the input is single-frame image information, and the output is a global feature vector. Specifically, the global feature vector is a vector of Ddesc dimension.

[0084] In this embodiment, the optimizing the local three-dimensional map within the selected range by using the global features of the local three-dimensional map image S5 includes:

[0085] The position and posture of the global coordinate system of the image near the real physical space within the selected range and the image with relatively high similarity, as well as the position and local features of the three-dimensional point cloud observable from the image, are jointly optimized to output the optimized and updated position and posture of the image and the updated three-dimensional point cloud. Specifically, the image near the real physical space is calculated by the GPS information of the image, and the image with relatively high similarity is calculated by the Euclidean distance of the global feature vector of the image.

[0086] In this embodiment, the accuracy of a single acquisition by the same user is not enough to achieve a high-precision map at the sub-meter level or even the centimeter level. Through multiple acquisitions at the same location and / or joint optimization of data from multiple users, the local three-dimensional map within the selected range is optimized to improve the accuracy of the three-dimensional map; or a single acquisition cannot cover the changes in different times, weather, climate, and light. Through joint optimization of data from multiple time periods and multiple seasons, the local three-dimensional map within the selected range is optimized to improve the integrity of the three-dimensional map. Specifically, a more accurate and more complete three-dimensional map is synthesized by different map fragments at the same location in the morning, noon, and evening; or a more accurate three-dimensional map is obtained by map fragments taken from different sides of the same road; or a more accurate three-dimensional map is obtained by map fragments taken by different users using different devices in different paths in the same area.

[0087] In this embodiment, the optimizing the local three-dimensional map within the selected range by using the global features of the local three-dimensional map image S5 includes:

[0088] 1) Selecting a range to be optimized. Specifically, given the GPS range of the selected range, reading all local three-dimensional maps within the selected range from the server and recording them as M1...Mn;

[0089] 2) For all the image key frames in M1...Mn, the candidate matching pairs of the images in the absolute position space are obtained according to the GPS information of each frame of the image. Specifically, the method for obtaining the candidate matching pairs in the absolute space is as follows:

[0090] (1) Setting the Threshold Dist ;

[0091] (2) Calculate the straight-line distance dist(I) between the GPS positions of the two images i , I j ), I iand I j To obtain the image corresponding to the i, j number;

[0092] (3) All dist(I i , I j ) is less than the preset threshold Threshold Dist The image pairs are taken as candidate matching pairs in the absolute space. The specific algorithm is as follows:

[0093] candidate1(I i )=pair{i,j}if dist(get_GPS(I i )-get_GPS(I j )<Threshold Dist );

[0094] 3) Calculate the global feature vector global_feature for each frame image i Specifically, the global feature vector is calculated using a convolutional neural network, and the global feature vector is used to obtain all the closest candidate matching pairs candidate2 (I i ), specifically, the closest candidate matching pair in the feature space is and image I i The global eigenvector f i The top-N images with the smallest Euclidean distance, where N is the number of nearest neighbor candidates in the pre-selected feature space;

[0095] 4) For each frame image I within the selected range i and the corresponding union of the candidate matching pair in the absolute position space and the closest candidate matching pair in the feature space, candidate1(I i )∪candidate2(I i ), respectively extract local features local feature and the descriptor local desc Specifically, the local feature may be a SIFT feature, a SURF feature, or other features such as a superpoint feature. The nearest neighbor matching is performed based on the local feature and the descriptor to obtain a local match:

[0096] match(m,n)={local desc(m) , local desc(n) ,local feature(m) , local feature(n)};

[0097] 5) According to the observed position and posture of each frame of the image and the position of the local matching feature point in the image, the position of the three-dimensional point corresponding to the feature point is obtained by a triangulation algorithm;

[0098] 6) A local optimization problem is constructed for each frame image, the local features and the local matching, and a global bundling adjustment is performed by the Levenberg-Marquardt method to obtain the position and posture of the optimized image and the position of the three-dimensional point. Specifically, the optimization objective function is:

[0099] Cost Total =λ0*Cost global_GPS +λ1*Cost visual_matching +λ2*Cost prior_relative_pose

[0100] The optimization problem includes the visual constraint information Cost between images in different time periods visual_matching , the relative position and attitude constraint information between consecutive frames collected in a single shot Cost prior_relative_pose , the constraint information Cost of a single acquisition image in a global coordinate system (such as a GPS coordinate system) global_GPS , thus achieving higher accuracy and more complete map coverage after fusion optimization.

[0101] The system and method for constructing a large-scale outdoor three-dimensional map of the present invention utilize low-cost devices such as consumer-grade smart phones, sports cameras, and panoramic cameras to construct a large-scale, high-precision three-dimensional visual map in an outdoor scene in an ordinary desktop environment; the present invention divides the acquisition route into blocks to avoid the problem of uncontrollable calculation time as the scale becomes larger; the present invention utilizes a visual inertial odometer to generate a local camera track position and posture to ensure that the accuracy within the block is relatively high; the present invention utilizes a GPS track to align the local camera track to a geographic information coordinate system to generate a global coordinate; the present invention performs a triangulation operation locally for image information aligned with GIS to construct three-dimensional structural information, and since it is performed locally, the speed is very fast; the present invention can also perform local optimization as needed, and the scale is also controllable, the time is controllable, and it is also relatively flexible. The system and method for constructing a large-scale outdoor three-dimensional map of the present invention have controllable time and cost, a larger scale, and the accuracy can meet conventional augmented reality applications, and has a high application value.

[0102] Obviously, the above embodiments of the present invention are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. The embodiments of the present invention cannot exhaust all implementation methods. All obvious changes or modifications derived from the technical solutions of the present invention are still within the scope of protection of the present invention. All documents mentioned in the present invention are cited as references in this application, just as if a document is cited as a reference alone.

Claims

1. A system for constructing an outdoor large-scale three-dimensional map, characterized in that: It includes data acquisition module, local posture generation module, GIS alignment module, local 3D map generation module and local 3D map optimization module, among which: The data acquisition module divides the acquisition route of the three-dimensional map into blocks, and collects the video, IMU and GPS information of the images in the blocks; The local attitude generation module uses the visual inertial odometer to fuse the video and IMU information of the image to generate the local camera trajectory position and attitude; The GIS alignment module uses the GPS information of the image to align the position and posture of the local camera trajectory to the geographic information coordinate system to obtain image information in the global coordinate system; the GIS alignment module estimates the rigid body transformation relationship between the local camera trajectory and the GPS trajectory through the RANSAC algorithm, and converts the local camera trajectory to the UTM mapping; the local three-dimensional map generation module uses the image information in the global coordinate system to construct the three-dimensional structure information of the image, generate a local three-dimensional map, and extract the global features of the local three-dimensional map image; The local three-dimensional map optimization module optimizes the local three-dimensional map within the selected range by using the global features of the local three-dimensional map image to generate an optimized and updated three-dimensional map; the local three-dimensional map optimization module jointly optimizes the position and posture of the image near the real physical space within the selected range and the image with relatively high similarity in the global coordinate system, as well as the position and local features of the three-dimensional point cloud that can be observed by the image near the real physical space within the selected range and the image with relatively high similarity, and outputs the position and posture of the optimized and updated image, as well as the position of the updated three-dimensional point cloud; the local three-dimensional map optimization module calculates the image near the real physical space by using the GPS information of the image, and the local three-dimensional map optimization module calculates the image with relatively high similarity by using the Euclidean distance of the global feature vector of the image.

2. The outdoor large-scale three-dimensional map construction system according to claim 1, characterized in that: The data acquisition module uses a consumer-grade panoramic camera or a smart phone to collect the video, IMU and GPS information of the image, and outputs the video, IMU and GPS information of the image to the local posture generation module.

3. The outdoor large-scale three-dimensional map construction system according to claim 2, characterized in that: The local attitude generation module utilizes the visual inertial odometer of the consumer-grade panoramic camera or smartphone to fuse the video and IMU information of the image to generate the local camera trajectory position and attitude, and outputs the local camera trajectory position and attitude to the GIS alignment module.

4. The system for constructing an outdoor large-scale three-dimensional map according to claim 1, characterized in that: The local camera trajectory position and posture are the six-degree-of-freedom position and posture of the image in the block in the local coordinate system.

5. The outdoor large-scale three-dimensional map construction system according to claim 1, characterized in that: The GIS alignment module calculates the local camera trajectory position and posture and the GPS information of the image, and outputs the image information in the global coordinate system to the local three-dimensional map generation module. The image information in the global coordinate system is the position and posture of the image in the block in the global coordinate system.

6. The outdoor large-scale three-dimensional map construction system according to claim 1, characterized in that: The local three-dimensional map generation module performs feature extraction, feature matching and triangulation operations locally on the image information under the global coordinates, and outputs a three-dimensional point cloud, the position and local features of the three-dimensional point cloud, and the global features of the image to the local three-dimensional map optimization module.

7. The outdoor large-scale three-dimensional map construction system according to claim 1, characterized in that: The local three-dimensional map generation module uses a convolutional neural network to extract the global features of the image, with the input being single-frame image information and the output being a global feature vector.

8. The outdoor large-scale three-dimensional map construction system according to claim 1, characterized in that: The local three-dimensional map optimization module optimizes the local three-dimensional map within the selected range by multiple collections at the same location and / or joint optimization of data from multiple users; or the local three-dimensional map optimization module optimizes the local three-dimensional map within the selected range by joint optimization of data from multiple time periods and multiple seasons.

9. A method for constructing an outdoor large-scale three-dimensional map, characterized in that: include: 1) Planning a collection route for a three-dimensional map, dividing the collection route into blocks, and collecting video, IMU, and GPS information of images in the blocks; 2) Using visual inertial odometry to fuse the video and IMU information of the image to generate the local camera trajectory position and attitude; 3) Using the GPS information of the image, align the position and posture of the local camera trajectory to the geographic information coordinates to obtain the image information in the global coordinates; using the RANSAC algorithm to estimate the rigid body transformation relationship between the local camera trajectory and the GPS trajectory, and convert the local camera trajectory to the UTM mapping; 4) constructing the three-dimensional structural information of the image using the image information under the global coordinates, generating a local three-dimensional map, and extracting the global features of the local three-dimensional map image; 5) Utilize the global features of the local three-dimensional map image to optimize the local three-dimensional map within the selected range to generate an optimized and updated three-dimensional map; jointly optimize the position and posture of the global coordinate system of the image near the real physical space within the selected range and the image with a relatively high similarity, and the position and local features of the three-dimensional point cloud that can be observed by the image near the real physical space within the selected range and the image with a relatively high similarity, and output the position and posture of the optimized and updated image, as well as the updated three-dimensional point cloud; calculate the image near the real physical space through the GPS information of the image, and calculate the image with a relatively high similarity through the Euclidean distance of the global feature vector of the image.

10. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: A consumer-grade panoramic camera or a smart phone is used to collect video, IMU and GPS information of the images in the blocks.

11. The method for constructing an outdoor large-scale three-dimensional map according to claim 10, characterized in that: The video and IMU information of the image are fused using the visual inertial odometer of the consumer-grade panoramic camera or smartphone to generate the local camera trajectory position and attitude, which are the six-degree-of-freedom position and attitude of the image in the block in the local coordinate system.

12. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: The step of aligning the local camera trajectory position and posture to geographic information coordinates includes: The local camera trajectory position and posture and the GPS information of the image are calculated, and the image information in the global coordinate system is output, where the image information in the global coordinate system is the position and posture of the image in the block in the global coordinate system.

13. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: The constructing the three-dimensional structure information of the image information by using the image information in the global coordinates includes: The image information under the global coordinates is subjected to local feature extraction, feature matching and triangulation operations, and a three-dimensional point cloud, the position of the three-dimensional point cloud and local features are output.

14. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: The extracting of the global features of the local three-dimensional map image comprises: A convolutional neural network is used to extract the global features of the local three-dimensional map image, with the input being single-frame image information and the output being a global feature vector.

15. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: The optimizing the local three-dimensional map within the selected range by utilizing the global features of the local three-dimensional map image comprises: The local three-dimensional map within the selected range is optimized by multiple acquisitions at the same location and / or joint optimization of data from multiple users; or the local three-dimensional map within the selected range is optimized by joint optimization of data from multiple time periods and multiple seasons.

16. The method for constructing an outdoor large-scale three-dimensional map according to claim 9, characterized in that: The optimizing the local three-dimensional map within the selected range by utilizing the global features of the local three-dimensional map image comprises: 1) Reading all local 3D maps within the selected range from the server; 2) obtaining candidate matching pairs of the image in the absolute position space according to the GPS information of the image in the local three-dimensional map; 3) calculating a global feature vector of the image in the local three-dimensional map, and using the global feature vector to obtain the closest candidate matching pair of the image in the feature space; 4) for the image within the selected range and the candidate matching pairs in the absolute position space of the image and the closest candidate matching pairs in the feature space, respectively extract local features and descriptors, perform nearest neighbor matching based on the local features and descriptors, and obtain local matching; 5) According to the position and posture of the observed image and the position of the local matching feature point in the image, the position of the three-dimensional point corresponding to the feature point is obtained through a triangulation algorithm; 6) constructing a local optimization problem for the image, the local features and the local matching, performing global bundling adjustment through the Levenberg-Marquardt method, and obtaining the position and posture of the optimized image and the position of the three-dimensional point.