A high-precision map generation method and system
Through the combination of vehicle position acquisition module, image acquisition module and map generation module, using GPS, laser ranging and depth camera technology, it solves the problems of complex vehicle high-precision map generation methods and high hardware requirements, and achieves simplified generation methods and low hardware Required high-precision scene map generation, suitable for vehicle navigation.
Patent Information
- Application Number
- CN202311285484.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing vehicle-mounted high-precision map generation methods have problems such as complex generation methods and high hardware requirements.
Using a system including a vehicle position acquisition module, an image acquisition module, an image contour point position acquisition module, and a map generation module, the three-dimensional coordinate information of objects around the vehicle is obtained in real time through GPS positioning, laser ranging, depth cameras, and OpenCv technology to generate high-precision Scene map.
The generation method is simplified, the hardware requirements are reduced, and more accurate scene maps in the four directions of the vehicle can be easily obtained, which is suitable for vehicle navigation.
Smart Images

Figure CN117315176B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of map generation technology, and specifically to a high-precision map generation method and system. Background Technology
[0002] A map is a graphic representation of the spatial distribution, relationships, and temporal changes of various things on Earth (or other celestial bodies) on a certain medium, drawn according to certain drawing rules and using cartographic methods.
[0003] A map is a graphic or image representing various phenomena of the Earth (or other celestial bodies) on a plane or sphere, selectively using two-dimensional (2D) or multi-dimensional (3D) forms and methods according to certain rules. It possesses a rigorous mathematical foundation, a symbol system, and textual annotations, and can scientifically reflect the distribution characteristics and interrelationships of natural and socio-economic phenomena using map generalization principles. Currently, a map is defined as: a visual symbolic model, or graphic mathematical model, that reflects objective reality using certain mathematical rules (i.e., patterning), symbolization, and abstraction. A map, based on certain mathematical rules, uses cartographic language to represent natural and human phenomena on the Earth (or other celestial bodies) in a reduced scale on a plane through cartographic generalization, reflecting the spatial distribution, combination, relationship, quantity, and qualitative characteristics of various phenomena, as well as their development and changes over time.
[0004] With the development of science and technology, many remarkable changes have taken place in the field of maps. The widespread use of electronic devices, primarily computers, in cartography has meant that maps are no longer limited to symbols and graphics on paper (or similar media); they can be stored digitally on magnetic media or visualized on a screen.
[0005] Existing methods for generating high-precision vehicle maps suffer from problems such as complex generation processes and high hardware requirements. These problems urgently need to be solved. To address this, a high-precision map generation method and system are proposed. Summary of the Invention
[0006] The technical problem to be solved by this invention is: how to solve the problems of complex generation methods and high hardware requirements of existing vehicle-mounted high-precision map generation methods, and to provide a high-precision map generation system.
[0007] The present invention solves the above-mentioned technical problems through the following technical solutions: the present invention includes a vehicle location acquisition module, an image acquisition module, an image contour point location acquisition module, and a map generation module;
[0008] The vehicle position acquisition module is used to acquire the position information of the vehicle chassis center in the spatial coordinate system in real time;
[0009] The image acquisition module is used to acquire depth images of objects near the vehicle in real time from four directions: front, rear, left, and right, and to preprocess the images.
[0010] The image contour point position acquisition module is used to acquire the three-dimensional coordinates of each point on the object contour in the spatial coordinate system in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image.
[0011] The map generation module is used to generate a scene map in the corresponding direction by using the three-dimensional coordinate information of each point on the object outline in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image in the spatial coordinate system and the corresponding RGB image.
[0012] Furthermore, the vehicle location acquisition module includes a GPS positioning unit, a laser ranging unit, and a location fusion unit. The GPS positioning unit is used to acquire the latitude and longitude information of the vehicle chassis center in the spatial coordinate system and send the latitude and longitude information of the vehicle chassis center in the spatial coordinate system to the location fusion unit. The laser ranging unit is used to measure the height information of the vehicle chassis center in the spatial coordinate system, acquire the height information, and send the height information to the location fusion unit. The location fusion unit is used to fuse the latitude and longitude information and the height information of the vehicle chassis center in the spatial coordinate system to acquire the three-axis coordinates of the vehicle chassis center in the spatial coordinate system, i.e., the location information.
[0013] Furthermore, the GPS positioning unit and the laser ranging unit are both installed at the center of the vehicle chassis.
[0014] Furthermore, the image acquisition module includes an image capturing unit, an RGB image extraction unit, and an image preprocessing unit. The image capturing unit is used to acquire depth images of objects near the vehicle in four directions (front, rear, left, and right) in real time using four depth cameras at set positions, which are respectively denoted as the first depth image, the second depth image, the third depth image, and the fourth depth image. The first depth image, the second depth image, the third depth image, and the fourth depth image are then sent to the RGB image extraction unit. The RGB image extraction unit is used to extract and process the first depth image, the second depth image, the third depth image, and the fourth depth image to obtain the corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image. The first depth image, the second depth image, the third depth image, and the fourth depth image, along with their corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image, are then sent to the image preprocessing unit. The image preprocessing unit performs noise reduction and contrast enhancement processing on the first depth image, the second depth image, the third depth image, the fourth depth image, and their corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image.
[0015] Furthermore, the four depth cameras are respectively installed on the front, rear, left, and right sides of the vehicle at the same height, and their relative positions to the center of the vehicle chassis are determined in the initial state. In the initial state, the vehicle is on the latitude and longitude plane, with the vehicle axis coinciding with the longitude line and perpendicular to the latitude line.
[0016] Furthermore, the image contour point position acquisition module includes a deflection angle acquisition unit, a camera position acquisition unit, and an image position processing unit; the deflection angle acquisition unit is used to acquire the deflection angle of each depth camera relative to the three axes in the spatial coordinate system using a gyroscope. ,in This represents the angle between the depth camera and the longitude axis in the spatial coordinate system. This represents the angle between the depth camera and the latitude axis in the spatial coordinate system. This represents the angle between the depth camera and the height axis in the spatial coordinate system; the camera position acquisition unit is used to determine the position based on geometric projection relationships and by utilizing the deflection angle. The relative positions of each depth camera to the center of the vehicle chassis in the initial state are calculated, and the real-time three-axis coordinates of each depth camera in the spatial coordinate system are calculated. The real-time three-axis coordinates of the depth camera mounted at the front of the vehicle are (L1, B1, H1), the depth camera mounted at the rear of the vehicle are (L2, B2, H2), the depth camera mounted on the left side of the vehicle are (L3, B3, H4), and the depth camera mounted on the right side of the vehicle are (L4, B4, H4). The image position processing unit is used to identify the object contours in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image using the contour recognition function in OpenCV, and obtain the first... The object contour point sets Dj1, Dj2, Dj3, and Dj4 in the first, second, third, and fourth RGB images are used to obtain the latitude and longitude coordinates of each point in the spatial coordinate system based on the geometric positional relationship between each point in each point set and the corresponding depth camera. The depth values of each point in Dj1, Dj2, Dj3, and Dj4 are obtained from the first, second, third, and fourth RGB images. The height coordinates of each point in the spatial coordinate system are obtained by relating the depth values of each point to the geometric positional relationship of the corresponding depth camera. Thus, the three-dimensional coordinate information of each point on the object contour in the first, second, third, and fourth RGB images in the spatial coordinate system is obtained. This three-dimensional coordinate information and the corresponding RGB image are then sent to the map generation module.
[0017] Furthermore, the gyroscope is mounted at the center of the vehicle chassis.
[0018] Furthermore, the processing procedure of the map generation module is as follows:
[0019] S11: Obtain the three-dimensional coordinate information of each point on the object contour in the spatial coordinate system and the corresponding RGB image in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image;
[0020] S12: Based on the 3D coordinate information and RGB image, the Tangram map rendering engine is used to render and generate scene maps in the corresponding directions, and the 3D coordinate information is added to the corresponding RGB image to obtain scene maps in four directions.
[0021] This invention also provides a high-precision map generation system for generating high-precision scene maps using the aforementioned system, comprising the following steps:
[0022] S1: Real-time acquisition of the vehicle chassis center's position information in the spatial coordinate system;
[0023] S2: Real-time acquisition of depth images of objects near the vehicle from four directions: front, rear, left, and right, and preprocessing of the images;
[0024] S3: Separate the corresponding RGB images from the images at each depth, and obtain the three-dimensional coordinates of each point on the object contour in each RGB image in the spatial coordinate system based on the position information of the vehicle chassis center in the spatial coordinate system.
[0025] S4: Using the three-dimensional coordinates of each point on the object outline in each RGB image in the spatial coordinate system and the corresponding RGB image, add the three-dimensional coordinate information to the corresponding RGB image to generate a scene map in the corresponding direction.
[0026] Compared with the prior art, the present invention has the following advantages: the high-precision map generation method and system can conveniently obtain the position information of the vehicle chassis center in the spatial coordinate system in real time through the vehicle position acquisition module; through the set image acquisition module, it can conveniently acquire RGB images and depth images of the vehicle in four directions, and then obtain the three-dimensional coordinates of each point on the object outline in the spatial coordinate system through image processing, so as to obtain a more accurate scene map in four directions, which is convenient for vehicle navigation. The generation method is simple and has low hardware requirements. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the structure of the high-precision map generation system in an embodiment of the present invention;
[0028] Figure 2 This is a flowchart illustrating the high-precision map generation method in an embodiment of the present invention. Detailed Implementation
[0029] The embodiments of the present invention are described in detail below. These embodiments are implemented based on the technical solution of the present invention, and provide detailed implementation methods and specific operation processes. However, the scope of protection of the present invention is not limited to the following embodiments.
[0030] This embodiment provides a technical solution: a high-precision map generation system, including a vehicle location acquisition module, an image acquisition module, an image contour point location acquisition module, and a map generation module;
[0031] In this embodiment, the vehicle position acquisition module is used to acquire the position information of the vehicle chassis center in the spatial coordinate system in real time; using the known position information as a reference, the latitude and longitude information of each point on the outline of the object in the image can be more easily acquired through the principle of geometric projection.
[0032] In this embodiment, the vehicle location acquisition module includes a GPS positioning unit, a laser ranging unit, and a location fusion unit. The GPS positioning unit is used to acquire the latitude and longitude information of the vehicle chassis center in a spatial coordinate system and send the latitude and longitude information of the vehicle chassis center in the spatial coordinate system to the location fusion unit. The laser ranging unit is used to measure the height information of the vehicle chassis center in the spatial coordinate system, acquire the height information, and send the height information to the location fusion unit. The location fusion unit is used to fuse the latitude and longitude information and the height information of the vehicle chassis center in the spatial coordinate system to acquire the three-axis coordinates of the vehicle chassis center in the spatial coordinate system, i.e., the location information.
[0033] In this embodiment, both the GPS positioning unit and the laser ranging unit are installed at the center of the vehicle chassis. The height information obtained by the GPS positioning unit is discarded because the height information obtained by the GPS positioning unit needs to be transformed into a spatial coordinate system, and its positioning accuracy for height is not accurate enough.
[0034] In this embodiment, the image acquisition module is used to acquire depth images of objects near the vehicle in real time from four directions: front, rear, left, and right, and to preprocess the images.
[0035] In this embodiment, the image acquisition module includes an image capturing unit, an RGB image extraction unit, and an image preprocessing unit. The image capturing unit is used to acquire depth images of objects near the vehicle in four directions (front, rear, left, and right) in real time using four depth cameras at set positions. These images are denoted as the first depth image, the second depth image, the third depth image, and the fourth depth image, respectively, and are sent to the RGB image extraction unit. The RGB image extraction unit is used to extract and process the first depth image, the second depth image, the third depth image, and the fourth depth image to obtain the corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image. The first depth image, the second depth image, the third depth image, and the fourth depth image, along with their corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image, are then sent to the image preprocessing unit. The image preprocessing unit performs noise reduction and contrast enhancement processing on the first depth image, the second depth image, the third depth image, the fourth depth image, and their corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image.
[0036] In this embodiment, the four depth cameras are respectively installed on the front, rear, left and right sides of the vehicle at the same height, and their relative positions to the center of the vehicle chassis are determined in the initial state. In the initial state, the vehicle is on the latitude and longitude plane (in this embodiment, the plane containing the latitude and longitude lines is regarded as a plane), the vehicle axis coincides with the longitude line and is perpendicular to the latitude line.
[0037] In this embodiment, the image contour point position acquisition module is used to acquire the three-dimensional coordinates of each point on the object contour in the spatial coordinate system in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image.
[0038] In this embodiment, the image contour point position acquisition module includes a deflection angle acquisition unit, a camera position acquisition unit, and an image position processing unit; the deflection angle acquisition unit is used to acquire the deflection angle of each depth camera relative to the three axes in the spatial coordinate system using a gyroscope. ,in This represents the angle between the depth camera and the longitude axis in the spatial coordinate system. This represents the angle between the depth camera and the latitude axis in the spatial coordinate system. This represents the angle between the depth camera and the height axis in the spatial coordinate system; the camera position acquisition unit is used to determine the position based on geometric projection relationships and by utilizing the deflection angle. The relative positions of each depth camera to the center of the vehicle chassis in the initial state are calculated, and the real-time three-axis coordinates of each depth camera in the spatial coordinate system are calculated. The real-time three-axis coordinates of the depth camera mounted at the front of the vehicle are (L1, B1, H1), the depth camera mounted at the rear of the vehicle are (L2, B2, H2), the depth camera mounted on the left side of the vehicle are (L3, B3, H4), and the depth camera mounted on the right side of the vehicle are (L4, B4, H4). The image position processing unit is used to identify the object contours in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image using the contour recognition function in OpenCV, and obtain the first... The object contour point sets Dj1, Dj2, Dj3, and Dj4 in the first, second, third, and fourth RGB images are used to obtain the latitude and longitude coordinates of each point in the spatial coordinate system based on the geometric positional relationship between each point in each point set and the corresponding depth camera. The depth values of each point in Dj1, Dj2, Dj3, and Dj4 are obtained from the first, second, third, and fourth RGB images. The height coordinates of each point in the spatial coordinate system are obtained by relating the depth values of each point to the geometric positional relationship of the corresponding depth camera. Thus, the three-dimensional coordinate information of each point on the object contour in the first, second, third, and fourth RGB images in the spatial coordinate system is obtained. This three-dimensional coordinate information and the corresponding RGB image are then sent to the map generation module.
[0039] In this embodiment, the gyroscope is installed at the center of the vehicle chassis.
[0040] In this embodiment, the map generation module is used to generate a scene map in the corresponding direction by using the three-dimensional coordinate information of each point on the object outline in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image in the spatial coordinate system and the corresponding RGB image.
[0041] In this embodiment, the processing procedure of the map generation module is as follows:
[0042] S11: Obtain the three-dimensional coordinate information of each point on the object contour in the spatial coordinate system and the corresponding RGB image in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image;
[0043] S12: Based on the 3D coordinate information and RGB image, the Tangram map rendering engine is used to render and generate scene maps in the corresponding directions, and the 3D coordinate information is added to the corresponding RGB image to obtain scene maps in four directions.
[0044] like Figure 2 As shown, this embodiment also provides a high-precision map generation method, which uses the above-described system to generate a high-precision scene map, including the following steps:
[0045] S1: Real-time acquisition of the vehicle chassis center's position information in the spatial coordinate system;
[0046] S2: Real-time acquisition of depth images of objects near the vehicle from four directions: front, rear, left, and right, and preprocessing of the images;
[0047] S3: Separate the corresponding RGB images from the images at each depth, and obtain the three-dimensional coordinates of each point on the object contour in each RGB image in the spatial coordinate system based on the position information of the vehicle chassis center in the spatial coordinate system.
[0048] S4: Using the three-dimensional coordinates of each point on the object outline in each RGB image in the spatial coordinate system and the corresponding RGB image, the three-dimensional coordinate information is added to the corresponding RGB image to generate a scene map in the corresponding direction, which is then displayed on the vehicle interface.
[0049] In summary, the high-precision map generation method and system described in the above embodiments can conveniently acquire the real-time position information of the vehicle chassis center in the spatial coordinate system through the vehicle position acquisition module; through the set image acquisition module, it can conveniently acquire RGB images and depth images of the vehicle in four directions, and then, through image processing, obtain the three-dimensional coordinates of each point on the object outline in the spatial coordinate system, resulting in a more accurate scene map in four directions, which is convenient for vehicle navigation. The generation method is simple and has low hardware requirements.
[0050] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A high-precision map generation system, characterized in that: It includes a vehicle position acquisition module, an image acquisition module, an image contour point position acquisition module, and a map generation module; The vehicle position acquisition module is used to acquire the position information of the center of the vehicle chassis in the space coordinate system in real time; The image acquisition module is used to acquire depth images of objects near the vehicle from the front, rear, left and right directions of the vehicle in real time, and pre-process the images; The image contour point position acquisition module is used to acquire the three-dimensional coordinates of each point on the object contour in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image in the spatial coordinate system; The map generation module is used to generate a scene map in a corresponding direction by using the three-dimensional coordinate information of each point on the object contour in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image in the spatial coordinate system and the corresponding RGB image; The vehicle position acquisition module includes a GPS positioning unit, a laser ranging unit, and a position fusion unit; the GPS positioning unit is used to obtain the longitude and latitude information of the center of the vehicle chassis in the spatial coordinate system, and send the longitude and latitude information of the center of the vehicle chassis in the spatial coordinate system to the position fusion unit; the laser ranging unit is used to measure the height information of the center of the vehicle chassis in the spatial coordinate system, obtain the height information, and send the height information to the position fusion unit; the position fusion unit is used to fuse the longitude and latitude information and the height information of the center of the vehicle chassis in the spatial coordinate system, and obtain the three-axis coordinates of the center of the vehicle chassis in the spatial coordinate system, that is, the position information; The GPS positioning unit and the laser ranging unit are both installed at the center of the vehicle chassis; The image acquisition module includes an image capturing unit, an RGB image extraction unit, and an image preprocessing unit; the image capturing unit is used to obtain depth images of objects near the vehicle in the front, rear, left, and right directions of the vehicle in real time through four depth cameras at set positions, which are respectively recorded as a first depth image, a second depth image, a third depth image, and a fourth depth image, and the first depth image, the second depth image, the third depth image, and the fourth depth image are sent to the RGB image extraction unit; the RGB image extraction unit is used to extract and process the first depth image, the second depth image, the third depth image, and the fourth depth image, and obtain the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image corresponding to the first depth image, the second depth image, the third depth image, and the fourth depth image, and send the first depth image, the second depth image, the third depth image, and the fourth depth image and the corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image to the image preprocessing unit; the image preprocessing unit performs noise reduction and contrast enhancement on the first depth image, the second depth image, the third depth image, and the fourth depth image and the corresponding first RGB image, the second RGB image, the third RGB image, and the fourth RGB image; The four depth cameras are respectively installed on the front, rear, left and right sides of the vehicle at the same height, and their relative positions from the center of the vehicle chassis are determined in the initial state, wherein the initial state is that the vehicle is in the longitude and latitude plane, the vehicle axis coincides with the longitude line and is perpendicular to the latitude line; The image contour point position acquisition module includes a deflection angle acquisition unit, a camera position acquisition unit, and an image position processing unit; the deflection angle acquisition unit is used to obtain the deflection angle of each depth camera relative to the three axes in the spatial coordinate system through a gyroscope. in Represents the angle between the depth camera and the longitude axis in the spatial coordinate system. Represents the angle between the depth camera and the latitude axis in the spatial coordinate system. represents the angle between the depth camera and the height axis in the spatial coordinate system; the camera position acquisition unit is used to obtain the angle according to the geometric projection relationship and the deflection angle The relative position of each depth camera in the initial state and the distance from the center of the vehicle chassis is used to calculate the real-time three-axis coordinates of each depth camera in the spatial coordinate system, wherein the real-time three-axis coordinates of the depth camera installed at the front end of the vehicle in the spatial coordinate system are marked as (L1, B1, H1), the real-time three-axis coordinates of the depth camera installed at the rear end of the vehicle in the spatial coordinate system are marked as (L2, B2, H2), the real-time three-axis coordinates of the depth camera installed on the left side of the vehicle in the spatial coordinate system are marked as (L3, B3, H4), and the real-time three-axis coordinates of the depth camera installed on the right side of the vehicle in the spatial coordinate system are marked as (L4, B4, H4); the image position processing unit is used to identify the object contours of the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image using the contour recognition function in OpenCv, and obtain the first The object contour point sets Dj1, Dj2, Dj3, and Dj4 in the RGB image, the second RGB image, the third RGB image, and the fourth RGB image are obtained, and the longitude and latitude coordinate values of each point in the spatial coordinate system are obtained according to the geometric position relationship between each point in each point set and the corresponding depth camera, and the depth value of each point in Dj1, Dj2, Dj3, and Dj4 is obtained from the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image. The height coordinate value of each point in the spatial coordinate system is obtained by using the geometric position relationship between the depth value of each point and the corresponding depth camera, and then the three-dimensional coordinate information of each point on the object contour in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image is obtained, and the three-dimensional coordinate information and the corresponding RGB image are sent to the map generation module; The gyroscope is installed at the center of the vehicle chassis; The processing process of the map generation module is as follows: S11: Acquire the three-dimensional coordinate information of each point on the object contour in the first RGB image, the second RGB image, the third RGB image, and the fourth RGB image in the spatial coordinate system and the corresponding RGB image; S12: Rendering and generating a scene map in a corresponding direction using a Tangram map rendering engine according to the three-dimensional coordinate information and the RGB image, and adding the three-dimensional coordinate information to the corresponding RGB image to obtain scene maps in four directions.
2. A high-precision map generation method, characterized in that: The method for generating a high-precision scene map using the system as claimed in claim 1 comprises the following steps: S1: Real-time acquisition of the position information of the vehicle chassis center in the spatial coordinate system; S2: Acquire depth images of objects near the vehicle from the front, rear, left, and right directions of the vehicle in real time, and pre-process the images; S3: Separate the corresponding RGB image from each depth image, and obtain the three-dimensional coordinates of each point on the object contour in each RGB image in the spatial coordinate system based on the position information of the center of the vehicle chassis in the spatial coordinate system; S4: Using the three-dimensional coordinates of each point on the object contour in each RGB image in the spatial coordinate system and the corresponding RGB image, the three-dimensional coordinate information is added to the corresponding RGB image to generate a scene map in the corresponding direction.
Citation Information
Patent Citations
Generation system for high-precision road map
CN106525057A
High-precision map generating system and method
CN108036794A
Landmark map vehicle instant positioning method based on binocular vision system
CN108534782A
Vehicle self-positioning method, device and system
CN111830953A
Map construction method and device, computer readable storage medium and electronic equipment
CN112270709A
