Signage and lane creation for HD maps for autonomous vehicles

By generating high-definition maps and utilizing autonomous vehicle sensor data and deep learning algorithms, traffic signs and lane lines can be accurately located. This solves the problem that traditional map data cannot meet the navigation needs of autonomous vehicles, achieving high-precision and real-time updated map data support, and improving the navigation safety and efficiency of autonomous vehicles.

CN111542860BActive Publication Date: 2024-08-27NVIDIA CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201780086388.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2016-12-30
Filing Date
2017-12-29
Publication Date
2024-08-27
Estimated Expiration
2038-09-20

AI Technical Summary

Technical Problem

Traditional map data cannot provide sufficient accuracy and up-to-dateness, causing difficulties for autonomous vehicles when navigating, especially inaccurate recognition of lanes and traffic signs, which affects safety and efficiency.

Method used

By generating high-definition (HD) maps and using data from the vehicle's own sensors to construct high-precision traffic signs and lane lines, combined with deep learning algorithms and image recognition technology, the location and type of traffic signs and lane lines are accurately located, and the map data is updated in real time.

Benefits of technology

This enables autonomous vehicles to navigate safely and accurately with the support of high-precision and up-to-date map data, reducing reliance on expensive surveying fleets and improving navigation safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111542860B_ABST
    Figure CN111542860B_ABST
Patent Text Reader

Abstract

The HD map system represents landmarks on a high-definition map used for autonomous vehicle navigation, including the spatial location of lanes describing the road and semantic information about each lane together with traffic signs and landmarks. The system generates lane lines for lanes of a specified road based on, for example, mapping camera image pixels that are located on the lane lines with a high probability into three-dimensional space and locating / connecting the center lines of the lane lines. The system constructs a large connected network of lane elements and their connections as a lane element graph. The system also represents traffic signs based on camera images and detection and ranging sensor depth maps. These landmarks are used to build high-definition maps, which enable autonomous vehicles to safely navigate their environment.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Application No. 62 / 441,065, filed on December 30, 2016, and U.S. Provisional Application No. 62 / 441,080, filed on December 30, 2016, both of which are incorporated herein by reference in their entirety. Background Art

[0003] The present disclosure relates generally to maps for autonomous vehicles, and more particularly to providing high-definition maps with high accuracy and up-to-date map data to autonomous vehicles for safe navigation.

[0004] Autonomous vehicles, also known as self-driving cars, driverless cars, cars, or robot cars, travel from a source location to a destination without the need for a human driver to control and navigate the vehicle. Automation of driving is difficult for several reasons. For example, autonomous cars use sensors to make driving decisions instantly, but vehicle sensors cannot observe everything all the time. Vehicle sensors may be blocked by corners, rolling hills, and other vehicles. Vehicle sensors may not observe certain things early enough to make decisions. In addition, lanes and signs may be missing on the road, or they may be knocked down or hidden by bushes and therefore cannot be detected by sensors. In addition, road signs for right of way may not be easily seen to determine where a vehicle may be coming from, or for turning or moving out of a lane in an emergency or when there is a stopping obstacle that must be passed.

[0005] Autonomous vehicles can use map data to find out some of the above information instead of relying on sensor data. However, traditional maps have several disadvantages that make them difficult to use for autonomous vehicles. For example, maps do not provide the level of accuracy required for safe navigation (e.g., 10 cm or less). GPS systems provide an accuracy of approximately 3-5 meters, but have large error conditions that result in an accuracy of over 100 meters. This makes it challenging to accurately determine the location of the vehicle.

[0006] Furthermore, traditional maps are created by survey teams that use drivers with specially equipped cars that have high-resolution sensors that drive around a geographic area and take measurements. The measurements are retrieved and a team of map editors assembles a map based on the measurements. This process is expensive and time-consuming (e.g., it may take months to complete a map). Therefore, maps assembled using this technique do not have recent data. For example, roads are updated / modified on a frequency basis of approximately 5-10% per year. But survey cars are expensive and limited in number, so most of these updates cannot be captured. For example, a survey fleet may include a thousand cars. Even for a single state in the United States, a thousand cars cannot update maps regularly to enable safe autonomous driving. Therefore, traditional techniques for maintaining maps cannot provide correct data that is accurate and up-to-date enough for safe navigation of autonomous vehicles. Summary of the invention

[0007] The vehicle computing system generates a high-definition (HD) map to enable an autonomous vehicle to safely navigate a road, including typical landmarks found on the road, such as traffic signs. In order to build the landmark map (LMap) portion of the HD map, the system will need to determine the location and type of various landmarks including each traffic sign. In order to determine the type of sign, the system uses image-based classification (e.g., by a human operator or automatically through a deep learning algorithm). Once a sign is detected from an image and the sign is classified to indicate the type of sign, the system further determines the position and orientation of the sign relative to the map coordinates. The precise coordinates of the sign enable the autonomous vehicle to accurately predict where the sign will be located through the vehicle's sensor data, so that the vehicle can verify the map's predictions of the environment, detect changes to the map's environment, and position the vehicle itself relative to the map.

[0008] In one embodiment, the system represents traffic signs within an HD map. The representation of traffic signs includes utilizing cameras and also utilizing detection and ranging sensors mounted on vehicles. Images including traffic signs captured by one or more cameras are used to identify traffic signs through image recognition analysis. A depth map is received by one or more detection and ranging sensors, the depth map including a plurality of points describing the distance of an object from one or more detection and ranging sensors. A subset of at least three points corresponding to a traffic sign is identified in the depth map to determine a plane corresponding to the traffic sign in the HD map. Then, according to the plane determined by the subset of points, the portion of the image corresponding to the traffic sign is mapped to the HD map. As an example, the system uses the vertices of the sign in the image coordinates and projects the 3D points onto the image. Points projected into the image bounding box created by the vertices of the sign are considered as sign points. These points are used to fit a plane, and the system projects the image vertices of the sign onto the 3D plane to obtain the 3D coordinates of the vertices of the sign. Therefore, this provides the information required to describe the sign: the position of the sign in 3D space, the orientation of the sign, and the type of sign generated by classifying the sign in the image. Furthermore, features of the traffic sign may be stored as attributes of the traffic sign in the HD map, such as the text of the traffic sign, the restriction described by the traffic sign, or the type of the traffic sign.

[0009] The vehicle computing system generates lane lines for lanes in a designated road shown on a high-definition (HD) map for an autonomous vehicle. As an example, the system uses image pixel classification of lane lines, such as by running a deep learning algorithm on a camera image to detect pixels that are located on the lane line with a high probability (e.g., the probability that the pixel is located at the center of the lane line, rather than assigning a label to each pixel in the image such as a road, sky, vegetation, etc.). The system maps pixels that are located on the lane line with a high probability into a 3D space to obtain the probability of such voxels. The system also clusters points belonging to the same lane line segment and represents dense points using skeleton points. In addition, the system finds the center of the lane line segment assuming a group of lane line points. The system also connects the centers of the lane line segments to form continuous lane lines. In another example, the system detects lane lines directly in the image using a deep learning algorithm, and then merges lane lines from multiple images. The system attempts to find the 3D position of the lane line detected in the image by triangulation from a stereo image, and the system uses tracking information to facilitate lane line generation. Lane merging in intersections is handled within the lane generation process itself.

[0010] In one embodiment, a vehicle computing system receives image data captured by a sensor of an autonomous vehicle traveling on a road, the image data representing a portion of the road. The system further classifies pixels of the image to determine whether a particular pixel is located on a lane line segment. The system identifies a set of points located on at least one of the lane line segments based on the classification, and groups the set of points into groups based on the proximity of the points, wherein each group is determined to be associated with a lane line segment. The system locates a centerline of each group of points associated with the lane line segment, and determines a lane line by connecting multiple centerlines, the connection associating the endpoints of two centerlines. The system then generates a high-definition map based on the lane lines, the high-definition map being used when driving the autonomous vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 An overall system environment of an HD map system interacting with multiple vehicle computing systems according to one embodiment is shown.

[0012] Figure 2 A system architecture of a vehicle computing system according to one embodiment is shown.

[0013] Figure 3 The various instruction layers in the HD map API of a vehicle computing system are shown according to one embodiment.

[0014] Figure 4A A system architecture of an HD map system including a lane element map module according to one embodiment is shown.

[0015] Figure 4B According to one embodiment, Figure 4A The module architecture of the map creation module.

[0016] Figure 5 Components of an HD map are shown according to one embodiment.

[0017] FIG. 6A to FIG. 6B Shown is a geographic area defined in an HD map according to one embodiment.

[0018] Figure 7 A representation of lanes in an HD map is shown according to one embodiment.

[0019] FIG. 8A to FIG. 8B Lane elements and the relationship between lane elements in an HD map according to one embodiment are shown.

[0020] Fig. 9 A flow chart describing a method of storing traffic signs in a 3D map according to one or more embodiments is shown.

[0021] Fig. 10A A first image having a planar traffic sign with identified vertices is shown in accordance with one or more embodiments.

[0022] Fig. 10B A second image is shown having an angled traffic sign with an identified vertex in accordance with one or more embodiments.

[0023] Fig.11 A method of decrypting text on a traffic sign is shown in accordance with one or more embodiments.

[0024] Fig.12 A method of identifying points corresponding to traffic signs by filtering out points in a 3D map using a frustum is shown in accordance with one or more embodiments.

[0025] Fig.13 A method of identifying a subset of points in a 3D map that correspond to traffic signs is shown in accordance with one or more embodiments.

[0026] Fig.14 A method of determining a reduced fitting plane using a fitting plane determined by a subset of points is shown in accordance with one or more embodiments.

[0027] Figures 15 to 27 Example images showing various processing stages of landmark feature creation for HD maps are shown, according to one embodiment.

[0028] Fig.28A A system architecture of a lane module according to one embodiment is shown.

[0029] Fig.28B A flow chart describing a lane line creation process according to one embodiment is shown.

[0030] Fig.29 A visual representation is shown for describing components of a lane creation process according to one embodiment.

[0031] Fig.30 A camera image of two lane elements represented as a set of 2D points is shown according to one embodiment.

[0032] Fig.31A A 3D representation of a probability image converted from a camera image is shown according to one embodiment.

[0033] Fig.31B A system architecture of a mapping module according to one embodiment is shown.

[0034] Fig.31CA flow chart describing a process of mapping from a two-dimensional plane to a three-dimensional plane is shown according to one embodiment.

[0035] Fig.32A Shown is a 3D representation of two lane line point groups according to one embodiment.

[0036] Fig.32B A system architecture of a clustering module according to one embodiment is shown.

[0037] Fig.32C A flow chart describing a process for grouping two-dimensional points into groups is shown, according to one embodiment.

[0038] FIG. 32D to FIG. 32F Different steps of a process for grouping two-dimensional points into groups according to one embodiment are shown.

[0039] Fig.33A Shown is a 3D representation of two centerline polylines within two lane line groups according to one embodiment.

[0040] Fig.33B A system architecture of a group-centric analysis module according to one embodiment is shown.

[0041] Fig.33C A flow chart describing a process for analyzing lane line centers according to one embodiment is shown.

[0042] FIG. 33C to FIG. 33H The different steps of a process for analyzing lane line centers and generating centerline polylines according to one embodiment are shown.

[0043] Fig.34A Shown is a 3D representation of a lane marking connection between two lane marking segments according to one embodiment.

[0044] Fig.34B A system architecture of a lane connection module according to one embodiment is shown.

[0045] Fig.34C A flow chart describing a process for connecting one or more lane line segments according to one embodiment is shown.

[0046] Fig.35 An example implementation of a lane element map module is shown.

[0047] Fig.36 is a flow chart illustrating an embodiment of a process for generating a connectivity graph of lane elements.

[0048] Fig.37 is a flow chart illustrating an embodiment of a process for identifying lane cuts.

[0049] Fig.38A , Fig.38B and Fig.38C Examples of lane lines and lane cuts are shown.

[0050] Fig.39 Examples of lane elements, lane boundaries, navigable boundaries, and lane cuts are shown.

[0051] Fig.40 An example intersection with lane connectors connecting lane elements is shown.

[0052] Fig.41 The process of creating a lane element map based on primary features and derived features is shown.

[0053] Fig.42 Example lane cuts and lane boundaries are shown.

[0054] Fig.43 An example of a T-intersection with two data collection trips from a vehicle is shown.

[0055] Fig.44 An embodiment of a computing machine that can read instructions from a machine-readable medium and execute the instructions in a processor or controller is shown.

[0056] The accompanying drawings depict various embodiments of the present invention for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods shown herein may be employed without departing from the principles of the invention described herein. DETAILED DESCRIPTION

[0057] Overview

[0058] Embodiments of the present invention maintain high-definition (HD) maps containing up-to-date information with high precision. Autonomous vehicles can use HD maps to safely navigate to their destinations without human input or with limited human input. Autonomous vehicles are vehicles that can sense their environment and navigate without human input. Autonomous vehicles may also be referred to as "driverless cars", "autonomous driving cars" or "robot cars" in this article. HD maps refer to maps that store data with very high accuracy, typically 5-10 cm. The embodiment generates an HD map containing spatial geometric information about the roads on which autonomous vehicles can travel. Therefore, the generated HD map includes the information required for autonomous vehicles to safely navigate without human intervention. Instead of using an expensive and time-consuming mapping fleet process including vehicles equipped with high-resolution sensors to collect data for HD maps, embodiments of the present invention use data from lower-resolution sensors of autonomous vehicles themselves as they travel through their environment. Vehicles may not have previous map data for these routes or even areas. Embodiments of the present invention provide location as a service (LaaS) so that autonomous vehicles of different manufacturers can each access the latest map information created by these embodiments of the present invention.

[0059] Embodiments of the present invention generate and maintain accurate high-definition (HD) maps that include up-to-date road conditions for safe navigation. For example, the HD map provides the current position of the autonomous vehicle relative to the road lane accurately enough to enable the autonomous vehicle to safely drive in the lane.

[0060] More specifically, the embodiment generates lane segments that characterize the direction and attributes of lane lines, and the lane segments are aggregated into complete lane lines. The generated lane lines are used in the HD map to determine a route from a source location to a destination location.

[0061] HD maps store very large amounts of information and therefore present challenges in managing the information. For example, an HD map of a large geographic area may not fit in the local storage of a vehicle. Embodiments of the present invention provide an autonomous vehicle with the necessary portions of an HD map that enable the vehicle to determine its current position in the HD map, determine features on the road relative to the vehicle's position, determine whether it is safe to move the vehicle based on physical and legal constraints, and so on. Examples of physical constraints include physical barriers, such as walls, and examples of legal constraints include legally permitted directions of travel for lanes, speed limits, yielding, and stopping.

[0062] Embodiments of the present invention achieve safe navigation of autonomous vehicles by: providing low latency for providing responses to requests, e.g., 10-20 milliseconds or less; high accuracy in location, e.g., 10 cm or less; data freshness by ensuring maps are updated to reflect changes on the road within a reasonable time frame; and storage efficiency by minimizing the storage required for HD maps.

[0063] Figure 1 The overall system environment of an HD map system that interacts with multiple vehicles according to one embodiment is shown. The HD map system 100 includes an online HD map system 110 that interacts with multiple vehicles 150. The vehicle 150 can be an autonomous vehicle, but is not required to be an autonomous vehicle. The online HD map system 110 receives sensor data captured by the vehicle's sensors and combines the data received from the vehicle 150 to generate and maintain an HD map. The online HD map system 110 sends the HD map data to the vehicle for use when driving the vehicle. In one embodiment, the online HD map system 110 is implemented as a distributed computing system, for example, a cloud-based service that enables clients such as a vehicle computing system 120 to request information and services. For example, the vehicle computing system 120 can request HD map data for driving along a route, and the online HD map system 110 provides the requested HD map data.

[0064] Figure 1 The same reference numerals as in other figures are used to identify the same elements. A letter following a reference numeral, such as "105A", indicates that the text specifically refers to the element with the particular reference numeral. A reference numeral in the text without a subsequent letter, such as "105", refers to any or all elements in the figures having that reference numeral (e.g., "105" in the text refers to reference numerals "105A" and / or "105N" in the figures).

[0065] The online HD map system 110 includes a vehicle interface module 160 and an HD map memory 165. The online HD map system 110 interacts with the vehicle computing systems 120 of various vehicles 150 using the vehicle interface module 160. The online HD map system 110 stores map information of various geographic areas in the HD map memory 165. The online HD map system 110 may include Figure 1 Other modules beyond those shown in , for example, various other modules shown in FIG. 4 and further described herein.

[0066] The online HD map system 110 receives 115 data collected by sensors of a plurality of vehicles 150, such as hundreds or thousands of cars. The vehicles provide sensor data captured while traveling along various routes and send it to the online HD map system 110. The online HD map system 110 uses the data received from the vehicles 150 to create and update an HD map that describes the area in which the vehicles 150 are traveling. The online HD map system 110 creates a high-definition map based on the overall information received from the vehicles 150 and stores the HD map information in an HD map memory 165.

[0067] The online HD map system 110 sends 125 the HD map to each vehicle 150 according to the needs of the vehicle 150. For example, if the autonomous vehicle needs to drive along a route, the vehicle computing system 120 of the autonomous vehicle provides information describing the route being driven to the online HD map system 110. In response, the online HD map system 110 provides the HD map required for driving along the route.

[0068] In one embodiment, the online HD map system 110 sends portions of the HD map data to the vehicle in a compressed format so that the sent data consumes less bandwidth. The online HD map system 110 receives information describing the data stored in the vehicle's local HD map memory 275 from various vehicles. If the online HD map system 110 determines that the vehicle does not have certain portions of the HD map stored locally in the local HD map memory 275, the online HD map system 110 sends that portion of the HD map to the vehicle. If the online HD map system 110 determines that the vehicle did previously receive that particular portion of the HD map but the online HD map system 110 updated the corresponding data because the vehicle recently received data, the online HD map system 110 sends an update to that portion of the HD map stored in the vehicle. This enables the online HD map system 110 to minimize the amount of data communicated with the vehicle and also keep the HD map data stored locally in the vehicle regularly updated.

[0069] The vehicle 150 includes a vehicle sensor 105, a vehicle controller 130, and a vehicle computing system 120. The vehicle sensor 105 enables the vehicle 150 to detect the surroundings of the vehicle and information describing the current state of the vehicle, for example, information describing the position and motion parameters of the vehicle. The vehicle sensor 105 includes a camera, a light detection and ranging sensor (LIDAR), a global positioning system (GPS) navigation system, an inertial measurement unit (IMU), etc. The vehicle has one or more cameras that capture images of the surroundings of the vehicle. The LIDAR surveys the surroundings of the vehicle by measuring the distance to the target by illuminating the target with a laser pulse and measuring the reflected pulse. The GPS navigation system determines the position of the vehicle based on signals from satellites. The IMU is an electronic device that uses a combination of an accelerometer and a gyroscope or other measuring instruments to measure and report the motion data of the vehicle, such as speed, acceleration, direction of motion, rate, angular rate, etc.

[0070] The vehicle controller 130 controls the physical movement of the vehicle, such as acceleration, direction changes, starting, stopping, etc. The vehicle controller 130 includes machinery for controlling accelerometers, brakes, steering wheels, etc. The vehicle computing system 120 continuously provides control signals to the vehicle controller 130 so that the autonomous vehicle travels along the selected route.

[0071] The vehicle computing system 120 performs various tasks, including processing data collected by sensors and map data received from the online HD map system 110. The vehicle computing system 120 also processes data to be sent to the online HD map system 110. Details of the vehicle computing system are described in Figure 2 As shown and further combined Figure 2 Give a description.

[0072] The interaction between the vehicle computing system 120 and the online HD map system 110 is typically performed via a network, such as the Internet. The network enables communication between the vehicle computing system 120 and the online HD map system 110. In one embodiment, the network uses standard communication technologies and / or protocols. Data exchanged over the network can be represented using technologies and / or formats including Hypertext Markup Language (HTML), Extensible Markup Language (XML), etc. In addition, all or some links can be encrypted using traditional encryption technologies such as Secure Sockets Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. In another embodiment, instead of or in addition to the above-mentioned technologies, the entity may use customized and / or dedicated data communication technologies.

[0073] Figure 22 shows a system architecture of a vehicle computing system according to one embodiment. The vehicle computing system 120 includes a perception module 210, a prediction module 215, a planning module 220, a control module 225, a local HD map storage 275, an HD map system interface 280, and an HD map application programming interface (API) 205. The various modules of the vehicle computing system 120 process various types of data, including sensor data 230, behavior models 235, routes 240, and physical constraints 245. In other embodiments, the vehicle computing system 120 may have more or fewer modules. Functions described as being implemented by a particular module may be implemented by other modules.

[0074] The perception module 210 receives sensor data 230 from the sensors 105 of the vehicle 150 . This includes data collected by the car's cameras, LIDAR, IMU, GPS navigation system, etc. The perception module 210 uses the sensor data to determine what objects are around the vehicle, details of the road the vehicle is traveling on, etc. The perception module 210 processes the sensor data 230 to populate data structures that store the sensor data and provides the information to the prediction module 215 .

[0075] The prediction module 215 uses the behavioral models of the perceived objects to interpret the data provided by the perception module to determine whether the objects are moving or are likely to move. For example, the prediction module 215 can determine that objects representing road signs are unlikely to move, but objects identified as vehicles, people, etc. are moving or are likely to move. The prediction module 215 uses the behavioral models 235 of various types of objects to determine whether they are likely to move. The prediction module 215 provides predictions of various objects to the planning module 200 to plan the subsequent actions that the vehicle needs to take next.

[0076] The planning module 200 receives information describing the surrounding environment of the vehicle from the prediction module 215, the route 240 that determines the destination of the vehicle, and the path that the vehicle should take to reach the destination. The planning module 200 uses the information from the prediction module 215 and the route 240 to plan a series of actions that the vehicle needs to take within a short time interval, such as within the next few seconds. In one embodiment, the planning module 200 specifies the series of actions as one or more points representing the nearby locations that the vehicle will next travel through. The planning module 200 provides the planning details including the series of actions to be taken by the vehicle to the control module 225. The planning can determine the subsequent actions of the vehicle, for example, whether the vehicle performs a lane change, a turn, an acceleration or deceleration by increasing speed, etc.

[0077] The control module 225 determines control signals for sending to the controls 130 of the vehicle based on the plan received from the planning module 200. For example, if the vehicle is currently at point A and the plan specifies that the vehicle should next go to a nearby point B, the control module 225 determines control signals for the controls 130 that will cause the vehicle to go from point A to point B in a safe and smooth manner, such as without making any sharp turns or taking a zigzag path from point A to point B. The path taken by the vehicle to go from point A to point B may depend on the current speed and direction of the vehicle and the location of point B relative to point A. For example, if the current speed of the vehicle is high, the vehicle may make a wider turn than a vehicle traveling slowly.

[0078] The control module 225 also receives physical constraints 245 as input. These include the physical capabilities of that particular vehicle. For example, a car of a particular make and model may be able to safely perform certain types of vehicle motions, such as acceleration and turning, that another car of a different make and model may not be able to safely perform. The control module 225 incorporates these physical constraints when determining the control signal. The control module 225 sends the control signal to the vehicle controller 130, which causes the vehicle to perform a specified series of actions that causes the vehicle to move as planned. The above steps are repeated continuously every few seconds to allow the vehicle to safely travel along the route planned for the vehicle.

[0079] Various modules of the vehicle computing system 120, including the perception module 210, the prediction module 215, and the planning module 220, receive map information to perform their respective calculations. The vehicle 100 stores HD map data in a local HD map memory 275. The modules of the vehicle computing system 120 interact with the map data using an HD map API 205 that provides a set of application programming interfaces (APIs) that can be used to call the modules to access the map information. The HD map system interface 280 allows the vehicle computing system 120 to interact with the online HD map system 110 via a network (not shown in the figure). The local HD map memory 275 stores map data in a format specified by the HD map system 110. The HD map API 205 is capable of processing the map data format provided by the HD map system 110. The HD map API 205 provides the vehicle computing system 120 with an interface for interacting with the HD map data. The HD map API 205 includes several APIs, including a positioning API 250 , a landmark map API 255 , a route API 265 , a 3D map API 270 , a map update API 285 , and the like.

[0080] The positioning API 250 determines the current position of the vehicle, for example, when the vehicle is started and when the vehicle moves along the route. The positioning API 250 includes a positioning API that determines the exact position of the vehicle within the HD map. The vehicle computing system 120 can use this position as an accurate relative positioning for other queries, such as feature queries, navigable space queries, and occupancy map queries further described herein. The positioning API receives inputs including one or more of the position provided by GPS, vehicle motion data provided by IMU, LIDAR scanner data, and camera images. The positioning API returns the exact position of the vehicle as latitude and longitude coordinates. Compared with the GPS coordinates used as input, the coordinates returned by the positioning API are more accurate, for example, the output of the positioning API may have an accuracy range of 5-10cm. In one embodiment, the vehicle computing system 120 calls the positioning API to periodically determine the position of the vehicle based on LIDAR using scanner data, for example, at a frequency of 10Hz. If GPS / IMU data is available at this rate, the vehicle computing system 120 can call the positioning API to determine the vehicle position at a higher rate (e.g., 60Hz). The vehicle computing system 120 stores the location history as an internal state to improve the accuracy of subsequent positioning calls. The location history stores the location history starting from the point in time when the car is turned off / stopped. The positioning API 250 includes a positioning route API that generates an accurate route of a specified lane based on an HD map. The positioning route API takes as input a route from a source to a destination via a third-party map and generates a high-precision route represented as a connected graph of navigable lanes along the input route based on the HD map.

[0081] The landmark map API 255 provides a geometric and semantic description of the world around the vehicle, for example, a description of the various portions of the lane in which the vehicle is currently traveling. The landmark map API 255 includes APIs that allow queries based on landmark maps, for example, a Get Lane API and a Get Feature API. The Get Lane API provides lane information relative to the vehicle and the Get Feature API. The Get Lane API receives as input a location, such as the location of the vehicle specified using the latitude and longitude of the vehicle, and returns lane information relative to the input location. The Get Lane API can specify a distance parameter indicating the distance relative to the input location for which the lane information is retrieved. The Get Feature API receives information identifying one or more lane elements and returns landmark features relative to the specified lane elements. For each landmark, the landmark features include a spatial description specific to the landmark type.

[0082] The 3D map API 265 provides efficient access to spatial three-dimensional (3D) representations of roads and various physical objects around the roads stored in the local HD map memory 275. The 3D map API 365 includes a Get Navigable Surface API and a Get Occupancy Grid API. The Get Navigable Surface API receives as input an identifier of one or more lane elements and returns the navigable boundaries of the specified lane element. The Get Occupancy Grid API receives as input a location such as the latitude and longitude of a vehicle and returns information describing the occupancy of the road surface and all objects available in the HD map near that location. The information describing the occupancy includes a hierarchical volumetric grid of all locations considered occupied in the map. The occupancy grid includes high-resolution information near the navigable area, such as at curbs and bumps, and relatively low-resolution information in less important areas such as trees and walls outside the curb. The Get Occupancy Grid API is useful for detecting obstacles and changing direction when necessary.

[0083] The 3D map API also includes map update APIs, such as a download map update API and an upload map update API. The download map update API receives a planned route identifier as input and downloads a map update of data related to all planned routes or a specific planned route. The upload map update API uploads data collected by the vehicle computing system 120 to the online HD map system 110. This enables the online HD map system 110 to keep the HD map data stored in the online HD map system 110 up to date based on changes in the map data observed by the sensors of the vehicles traveling along various routes.

[0084] When the vehicle travels along the route, the route API 270 returns route information including the complete route between the source and the destination and a portion of the route. The 3D map API 365 allows querying the HD map. The route API 270 includes an add planned route API and a get planned route API. The add planned route API provides information describing the planned route to the online HD map system 110 so that the information describing the relevant HD map can be downloaded and kept up to date by the vehicle computing system 120. The add planned route API receives as input a route specified using a polyline represented by latitude and longitude and a time to live (TTL) parameter specifying a time period after which the route data can be deleted. Thus, the add planned route API enables the vehicle to indicate that the vehicle is planning to take the route as an autonomous trip in the near future. The add planned route API aligns the route with the HD map, records the route and its TTL value, and ensures that the HD map data of the route stored in the vehicle computing system 120 is up to date. The get planned route API returns a list of planned routes and provides information describing the route identified by the route identifier.

[0085] The map update API 285 manages operations related to the updating of map data of the local HD map memory 275 and the HD map memory 165 stored in the online HD map system 110. Thus, the modules in the vehicle computing system 120 call the map update API 285 for downloading data from the online HD map system 110 to the vehicle computing system 120 for storage in the local HD map memory 275 as needed. The map update API 285 also enables the vehicle computing system 120 to determine whether information monitored by the vehicle sensors 105 indicates a difference in the map information provided by the online HD map system 110 and upload the data to the online HD map system 110, which can enable the online HD map system 110 to update the map data stored in the HD map memory 165 that is provided to other vehicles 150.

[0086] FIG4 illustrates various instruction layers in an HD map API of a vehicle computing system according to one embodiment. Different vehicle manufacturers have different instructions for receiving information from vehicle sensors 105 and for controlling vehicle controller 130. In addition, different vendors provide different computer platforms with autonomous driving capabilities such as collection and analysis of vehicle sensor data. Examples of computer platforms for autonomous vehicles include vendor-provided platforms such as NVIDIA, QUALCOMM, and INTEL. These platforms provide functionality used by autonomous vehicle manufacturers in manufacturing autonomous vehicles. Vehicle manufacturers can use any one or some computer platforms for autonomous vehicles. The online HD map system 110 provides a library for processing HD maps based on vehicle manufacturer-specific instructions and vehicle-specific vendor-specific platform instructions. The library provides access to HD map data and allows vehicles to interact with the online HD map system 110.

[0087] like Figure 3 As shown, in one embodiment, the HD map API is implemented as a library including a vehicle manufacturer adapter 310, a computer platform adapter 320, and a public HD map API layer 330. The public HD map API layer includes general instructions that can be used across multiple vehicle computer platforms and vehicle manufacturers. The computer platform adapter 320 includes instructions specific to each computer platform. For example, the public HD map API layer 330 can call the computer platform adapter 320 to receive data from a sensor supported by a specific computer platform. The vehicle manufacturer adapter 310 includes instructions specific to the vehicle manufacturer. For example, the public HD map API layer 330 can call functions provided by the vehicle manufacturer adapter 310 to send specific control instructions to the vehicle controller 130.

[0088] The online HD map system 110 stores computer platform adapters 320 for multiple computer platforms and vehicle manufacturer adapters 310 for multiple vehicle manufacturers. The online HD map system 110 determines a specific vehicle manufacturer and a specific computer platform for a specific autonomous vehicle. The online HD map system 110 selects a vehicle manufacturer adapter 310 for a specific vehicle manufacturer and selects a computer platform adapter 320 for a specific computer platform of the specific vehicle. The online HD map system 110 sends instructions for the selected vehicle manufacturer adapter 310 and the selected computer platform adapter 320 to the vehicle computing system 120 of the specific autonomous vehicle. The vehicle computing system 120 of the specific autonomous vehicle installs the received vehicle manufacturer adapter 310 and computer platform adapter 320. The vehicle computing system 120 periodically checks whether the online HD map system 110 has updates to the installed vehicle manufacturer adapter 310 and computer platform adapter 320. If a newer update is available compared to the version installed on the vehicle, the vehicle computing system 120 requests and receives the latest update and installs it.

[0089] HD map system architecture

[0090] Figure 4A 1 shows a system architecture of an HD map system according to one embodiment. The online HD map system 110 includes a map creation module 410, a map update module 420, a map data encoding module 430, a load balancing module 440, a map accuracy management module 450, a vehicle interface module 160, a lane line module 460, a lane element map module 470, and an HD map memory 165. Other embodiments of the online HD map system 110 may include Figure 4A More or fewer modules may be shown in FIG. Functions indicated as being performed by a particular module may be implemented by other modules. In one embodiment, the online HD map system 110 may be a distributed system including multiple processors.

[0091] The map creation module 410 creates a map based on map data collected from a number of vehicles traveling along various routes. The map data may include traffic signs to be stored in the map, which will be Fig. 9and further described in FIG. 10 . The map update module 420 updates previously calculated map data by receiving newer information from vehicles that have recently traveled along a route where the map information has changed. For example, if certain road signs have changed or lane information has changed due to regional construction, the map update module 420 updates the map accordingly. The map data encoding module 430 encodes the map data so that the data can be efficiently stored and the required map data can be efficiently sent to the vehicle 150. The load balancing module 440 balances the load between vehicles to ensure that requests to receive data from the vehicles are evenly distributed between different vehicles. Even though the information received from each vehicle may not have a high degree of accuracy, the map accuracy management module 450 still uses various techniques to maintain a high degree of accuracy in the map data.

[0092] Lane element map module 470 generates a lane element map (i.e., a connected network of lane elements) to allow the autonomous vehicle to navigate through the mapped area. The details of lane line module 460 are shown in FIG. 28 and are combined with Fig.28A Describe it. Figures 9 to 14 Further description Figure 4B The functionality of the module is presented in .

[0093] Figure 4B According to one embodiment, Figure 4A The map creation module 410 creates a map based on the map data collected from a number of vehicles. In one or more embodiments, the map creation module 410 includes an image detection submodule 470, a 3D map construction submodule 475, a plane fitting submodule 480, and an image projection submodule 485, which are used to store traffic signs in the map. In other embodiments, Figure 4A The map creation module 410 includes additional or fewer submodules for the purpose of creating a map. When creating a map, the map creation module 410 sends a request to be made by Figure 1 HD map memory 165 ( Figure 4B Maps stored in (not shown).

[0094] The image detection submodule 470 recognizes traffic signs in an image. The image detection submodule 470 detects traffic signs in an image from a camera mounted on at least one vehicle (e.g., Figure 1 At least one camera (e.g., Figure 1The vehicle sensor 105 receives at least one image. One image contains a traffic sign. The image detection submodule 470 receives the image and identifies a portion of the image corresponding to the traffic sign. In another embodiment, the image detection submodule 470 applies one or more models for classifying traffic signs having multiple attributes. The attributes may include the type of sign, the text on the traffic sign, the color of the traffic sign, the restrictions of the traffic sign, etc. The classified attributes may be stored in a map describing the identified traffic sign. Fig. 9 Further discussion of possible methods for the image detection submodule 470 to recognize traffic signs and attributes of traffic signs is provided.

[0095] The map construction submodule 475 constructs a map based on the depth map. The map construction submodule 475 obtains information from a vehicle (e.g., Figure 1 At least one detection and ranging sensor (e.g., Figure 1 The vehicle sensor 105) receives at least one depth map. The depth map contains a plurality of points displayed in two dimensions, wherein each point describes the distance of an external surface of a physical object from a detection and ranging sensor. The map construction submodule 475 converts each point into a position vector of the external surface of the physical object. The map construction submodule 475 converts the position of a point in the depth map into a direction of the position vector relative to the detection and ranging sensor. The map construction submodule 475 converts the distance of a point into a size of the position vector relative to the detection and ranging sensor. In some embodiments, the map construction submodule 475 receives multiple depth maps and combines all converted position vectors to construct a map in three dimensions. For example, the map construction submodule 475 receives multiple LIDAR scans and then merges the multiple LIDAR scans into a point cloud, which is a 3D mapping of all converted position vectors from the multiple LIDAR scans. In some cases, the map construction submodule 475 merges multiple LIDAR scans taken in rapid succession and / or taken from relatively proximal positions. Combining Fig. 9 Further discussion of possible methods for the map construction submodule 475 to create a map is provided, with examples as follows.

[0096] The plane fitting submodule 480 fits a plane in the map corresponding to the traffic sign. The plane fitting submodule 480 utilizes at least one depth map containing the traffic sign to identify a subset of at least three points corresponding to the traffic sign. In some embodiments, the plane fitting submodule 480 utilizes the map construction module 475 to construct a depth map of the map. The plane fitting submodule 480 utilizes the identified subset of at least three points and also identifies a corresponding position vector in the map. The plane fitting submodule 480 fits a plane in the map corresponding to the spatial position of the traffic sign in the map based in part on the position vector in the map. In combination Fig. 9 Further discussion of possible methods for the plane fitting submodule 480 to fit a plane in a map corresponding to a traffic sign is provided.

[0097] The image projection submodule 485 projects a portion of the image of the traffic sign into the map. The image projection submodule 485 obtains the identified portion of the image corresponding to the traffic sign from the image detection submodule 470. The image projection submodule 485 processes the portion of the image corresponding to the traffic sign. The processing of the portion of the image corresponding to the traffic sign may include editing the portion of the image, adjusting the size of the portion of the image, improving the resolution of the portion of the image, some other image processing process, or some combination of the above. The image projection submodule 485 projects the processed portion of the image into the map by placing the processed portion of the image on a fitted plane in the map corresponding to the traffic sign. Fig. 9 Further discussion of possible methods for the image projection submodule 485 to project portions of an image of a traffic sign into a map is provided.

[0098] Figure 5 Components of an HD map according to one embodiment are shown. The HD map includes maps of several geographic areas. The HD map 510 of the geographic area includes a landmark map (LMap) 520 and an occupancy map (OMap) 530. LMap 520 includes information describing lanes, including the spatial position of the lanes and semantic information about each lane. The spatial position of the lane includes a geometric position with high precision, such as an accuracy equal to or less than 10 cm, in terms of latitude, longitude and altitude. The semantic information of the lane includes restrictions such as direction, speed, lane type (e.g., through lane, left turn lane, right turn lane, exit lane, etc.), restrictions on crossing to the left, connections to other lanes, etc. The landmark map may also include information describing the spatial position of stop lines, yield lines, crosswalks, safe navigable spaces, spatial positions of speed bumps, curbs, and road signs including the spatial position and type of all signs related to driving restrictions. Examples of road signs described in the HD map include stop signs, traffic lights, speed limits, one-way, no entry, yield (vehicles, pedestrians, animals), etc.

[0099] The occupancy map 530 includes a spatial three-dimensional (3D) representation of the road and all physical objects around the road. The data stored in the occupancy map 530 is also referred to as occupancy grid data in this article. The 3D representation can be associated with a confidence score indicating the likelihood that the object exists at the location. The occupancy map 530 can be represented in a variety of other ways. In one embodiment, the occupancy map 530 is represented as a 3D grid geometry (a collection of triangles) covering the surface. In another embodiment, the occupancy map 530 is represented as a collection of 3D points covering the surface. In another embodiment, the occupancy map 530 is represented using a 3D volume cell grid with a resolution of 5-10cm. Each cell indicates whether there is a surface at the cell, and if the surface exists, it is oriented in the direction along the surface.

[0100] Compared to the landmark map 520, the occupancy map 530 may occupy a large amount of storage space. For example, the occupancy map 530 may use 1 GB / mile of data, so that a map of the United States (including 4 million miles of roads) may occupy 4×10 15 Bytes or 4 Gigabytes. Therefore, the online HD map system 110 and the vehicle computing system 120 use data compression technology to be able to store and transmit map data, thereby reducing storage and transmission costs. Therefore, the technology disclosed in this article enables autonomous driving of autonomous vehicles.

[0101] In one embodiment, the HD map 510 does not require or rely on data that is typically included in a map, such as addresses, road names, the ability to geocode addresses, and the ability to calculate routes between place names or addresses. The vehicle computing system 120 or the online HD map system 110 accesses other mapping systems, such as Google Maps, to obtain this information. Thus, the vehicle computing system 120 or the online HD map system 110 receives navigation instructions into a route from a tool such as Google Maps and converts the information into a route based on the HD map 510 information.

[0102] Geographical areas in HD maps

[0103] The online HD map system 110 divides a large physical area into geographic areas and stores a representation of each geographic area. Each geographic area represents a contiguous area bounded by a geometric shape, such as a rectangle or a square. In one embodiment, the online HD map system 110 divides the physical area into geographic areas of equal size, regardless of the amount of data required to store the representation of each geographic area. In another embodiment, the online HD map system 110 divides the physical area into geographic areas of different sizes, where the size of each geographic area is determined based on the amount of information required to represent the geographic area. For example, a geographic area representing a densely populated area with a large number of streets represents a smaller physical area than a geographic area representing a sparsely populated area with very few streets. Therefore, in this embodiment, the online HD map system 110 determines the size of the geographic area based on an estimate of the amount of information required to store various elements of the physical area associated with the HD map.

[0104] In one embodiment, the online HD mapping system 110 represents a geographic area using an object or data record that includes various attributes including a unique identifier for the geographic area, a unique name for the geographic area, a description of the boundaries of the geographic area such as a bounding box using latitude and longitude coordinates, and a collection of landmark features and occupancy grid data.

[0105] FIG. 6A to FIG. 6B Shown are geographic areas defined in an HD map according to one embodiment. Fig. 6A A square geographic area 610a is shown. Figure 6B Two adjacent geographic regions 610a and 610b are shown. The online HD map system 110 stores data in representations of geographic regions that enable smooth transitions from one geographic region to another when a vehicle travels across a geographic region boundary.

[0106] According to an embodiment, each geographic area has a buffer zone of predetermined width surrounding it, as shown in Figure 6. The buffer zone includes redundant map data around all 4 sides of the geographic area (in the case where the geographic area is bounded by a rectangle). Fig. 6A Boundary 620 of a 50-meter buffer zone around geographic area 610a and boundary 630 of a 100-meter buffer zone around geographic area 610a are shown. When the vehicle crosses a threshold distance within the buffer zone, the vehicle computing system 120 switches the vehicle's current geographic zone from one geographic zone to an adjacent geographic zone. For example, Figure 6BAs shown, the vehicle starts at location 650a in geographic area 610a. The vehicle travels along a route to reach location 650b, where it crosses the boundary of geographic area 610 but stays within boundary 620 of the buffer zone. Therefore, the vehicle computing system 120 continues to use geographic area 610a as the vehicle's current geographic area. Once the vehicle crosses boundary 620 of the buffer zone at location 650c, the vehicle computing system 120 switches the vehicle's current geographic area from geographic area 610a to 610b. Since the vehicle travels along a route that closely follows the boundaries of the geographic areas, the use of the buffer zone prevents rapid switching of the vehicle's current geographic area.

[0107] Lane representation in HD maps

[0108] The HD map system 100 represents lane information for streets in an HD map. Although the embodiments described herein relate to streets, the technology is applicable to highways, alleys, avenues, boulevards, or any other path on which a vehicle can travel. The HD map system 100 uses lanes as a reference system for selecting routes and positioning vehicles. Lanes represented by the HD map system 100 include clearly marked lanes, such as white yellow belt lanes, lanes implied on rural roads with no lines or curbs but with two directions of travel, and implied paths used as lanes, such as the path generated when a turning vehicle enters a lane from another lane. The HD map system 100 also stores information about lanes, such as landmark features such as road signs and traffic lights relative to the lanes, occupancy grids relative to the lanes for obstacle detection, and navigable spaces relative to the lanes, so that the vehicle can effectively plan / react in emergency situations when the vehicle must make unplanned movements outside the lane. Therefore, the HD map system 100 stores a representation of the lane network to allow the vehicle to plan a legal path between a source and a destination, and adds a reference system to sense and control the vehicle in real time. The HD map system 100 stores information and provides an API that enables the vehicle to determine the lane the vehicle is currently in, the precise vehicle position relative to the lane geometry, and all relevant features / data relative to the lane and adjacent connecting lanes.

[0109] Figure 7 A lane representation in an HD map according to an embodiment is shown. Figure 7 A vehicle 710 at a traffic intersection is shown. The HD map system provides the vehicle with access to map data relevant to the autonomous driving of the vehicle. This includes, for example, features 720a and 720b that are associated with lanes, but may not be the features closest to the vehicle. Thus, the HD map system 100 stores a lane-centric representation of data representing the relationship of the lanes to the features so that the vehicle can efficiently extract the features given the lanes.

[0110] The HD map system 100 represents portions of lanes as lane elements. Lane elements specify the boundaries of the lane and various constraints, including the legal directions that vehicles within the lane element can travel, the speeds that vehicles within the lane element can travel, whether the lane element is only used for left turns or right turns, etc. The HD map system 100 represents lane elements as continuous geometric portions of a single vehicle lane. The HD map system 100 stores objects or data structures representing lane elements, which include geometric boundaries representing the lane; directions of travel along the lane; vehicle restrictions for traveling in the lane, such as speed limits, relationships to connecting lanes including inbound and outbound lanes; termination restrictions, such as whether the lane ends at a stop line, a yield sign, or a speed bump; and relationships to road features related to autonomous driving, such as information on traffic light locations, road sign locations, etc.

[0111] Examples of lane elements represented by the HD map system 100 include: a right lane on a highway, a lane on a road, a left turn lane, a turn from a left turn lane into another lane, a merge lane entering from an entrance ramp, an exit lane entering from an exit ramp, and a private lane. The HD map system 100 represents a one-lane road using two lane elements, one lane element in each direction. The HD map system 100 represents a shared middle turn lane similar to a one-lane road.

[0112] FIG. 8A to FIG. 8B Lane elements and relationships between lane elements in an HD map according to one embodiment are shown. Fig. 8A An example of a T-intersection in a road is shown showing lane element 810a connected to lane element 810c via turn lane 810b and connected to lane 810e via turn lane 810d. Figure 8B An example of a Y-shaped intersection in a road is shown showing label 81f directly connected to lane 810h and connected to lane 810i via lane 810g. The HD map system 100 determines a route from a source location to a destination location as a series of connected lane elements that can be traversed to reach the destination location from the source location.

[0113] Landmark creation in HD maps

[0114] To build a landmark map (LMap), the HD mapping system needs to know the location and type of each traffic sign. To determine the type of sign, the HD mapping system uses image-based classification. This can be done by a human operator or automatically through a deep learning algorithm. Once a sign is detected from an image and classified, the HD mapping system knows the type. The HD mapping system further determines the location and orientation of the sign relative to the map coordinates. The precise coordinates of the sign are needed so that the autonomous vehicle (AV) can accurately predict where the sign is located with its sensor data, so that the autonomous vehicle can verify the map's predictions about the world, detect changes to the world, and locate itself relative to the map.

[0115] An implementation performs landmark feature creation for an HD map. The HD map system performs the process of creating landmarks using the landmark's vertices in image coordinates and projecting 3D points onto the image. 3D points projected within the image bounding box created by the landmark's vertices are considered landmark points. These 3D points are used to fit a plane, onto which the HD map system projects the landmark's image vertices to find the 3D coordinates of the landmark's vertices. At this point, the HD map system has all the information that describes the landmark: the landmark's position in 3D space, the landmark's orientation described by the landmark's normals, and the type of landmark resulting from classifying the landmark in the image.

[0116] An embodiment creates a 3D planar object based on image and lidar information. Thus, the HD map system creates a highly accurate 3D planar object based on a sequence of one or more images and one or more LiDAR scans of the area. The HD map system uses a point cloud merged by a combination of scans or sub-portions of the occupied map to identify the precise location of the 3D planar object. The HD map system applies correction for the rolling shutter effect, which allows the HD map system to accurately project 3D points onto the image despite the distortion caused by the rolling shutter when the image is captured while the camera is in motion. The HD map system performs 3D scene filtering by using image projection and constrained depth search. The HD map system uses constraints on the geometry of the 3D markers to compensate for inaccuracies in the coordinates of the image markers.

[0117] Features in the map encode semantic data, and inaccurate feature data in the map may lead to errors in the navigation of the autonomous vehicle. Therefore, a requirement of HD maps is that they maintain the coordinates of all features with very high accuracy, such as 5 cm accuracy at 1σ (standard deviation). To locate a sign using only image information using a stereo vision setting using a 1m baseline, there may be as much as 15cm to 20cm error in depth accuracy at a distance of 10m from the camera. Therefore, HD mapping systems use additional information to improve the accuracy of sign features. LiDAR sensors are designed to accurately determine the distance to an object. The accuracy range of individual lidar points of a typical LiDAR scanner for AVs is + / -2cm. Implementations of the system use lidar information to supplement image information, so that better accuracy can be achieved. HD mapping systems operate on groups of 3D points and best fit planes to further improve accuracy while constraining the overall 3D geometry of the resulting sign features.

[0118] The overall process performed by the HD map system for detecting landmark features includes the following steps: (1.) receiving one or more images with labeled landmark vertices as input (2.) identifying 3D points in the scene (3.) identifying 3D points belonging to the landmark (4.) fitting a plane to the 3D landmark points (5.) projecting the image points onto the 3D plane. This process is described in further detail herein.

[0119] Fig. 9 A flowchart 900 is shown describing a method for storing a traffic sign in a 3D map according to one or more embodiments. The method for storing a traffic sign in a 3D map is as follows: Figure 1 HD Map System 110( Fig. 9 In some embodiments, the method is performed by the map creation module 410 or other various modules of the HD map system 110. In one or more embodiments, the map creation module 410 includes an image detection submodule 470, a 3D map construction submodule 475, a plane fitting submodule 480, and an image projection submodule 485 that work in series to store traffic signs in a 3D map.

[0120] The method for storing traffic signs includes receiving 910 an image having a traffic sign captured by a camera mounted on a vehicle. As previously described, the camera mounted on the vehicle is Figure 1 The vehicle is an embodiment of the vehicle sensor 105. Figure 1Implementation of the vehicle 150. The camera captures an image, wherein a portion of the image includes the entire traffic sign. The traffic sign is, for example, a fixed polygon that contains information about the route. Traffic signs can be distinguished according to various traffic sign types. Examples of traffic sign types are regulatory signs (e.g., "Stop" signs, "Yield" signs, speed limit signs), warning signs (e.g., "Slippery Road When Wet", "Continuous Detour", "Construction Ahead"), guidance signs (e.g., route marking signs, highway signs, welcome signs, recreational signs), street signs, etc. In addition, the image can contain metadata information, such as date, time, camera settings, etc. In one or more implementations, Figure 4B The image detection submodule 470 ( Fig. 9 ) process the first step of receiving 910 an image.

[0121] The method also includes identifying the portion of the image 920 corresponding to the traffic sign. Identify the portion of the image corresponding to the traffic sign. As previously described, the traffic sign is, for example, a fixed polygon, so that it can be defined by the vertices of the traffic sign. In order to identify the portion of the image 920 corresponding to the traffic sign, the image classification model determines the position in the image corresponding to the traffic sign. The image classification model also determines the polygon with the least vertices but still contains the entire traffic sign. In one or more embodiments, the image classification model uses a convolutional neural network to divide the image and more effectively locate the portion of the image corresponding to the traffic sign. In addition, the image classification model can implement an additional layer in its convolutional neural network for identifying text within the traffic sign. The image classification model can also identify whether the traffic sign is blocked by other objects in the image. In one or more embodiments, the image detection submodule 470 that has received the image 910 identifies the portion of the image 920 corresponding to the traffic sign.

[0122] The method also includes receiving 930 a depth map including traffic signs captured by the detection and ranging sensor. The depth map is a 2D map including a plurality of points, wherein each point describes the distance of a physical object to the detection and ranging sensor. The detection and ranging sensor may be a light detection and ranging sensor (LIDAR) or a radio detection and ranging sensor (RADAR). The depth map includes one or more points corresponding to the traffic signs. The detection and ranging sensor may actively filter out points in the depth map corresponding to moving objects. In one or more embodiments, Figure 4B Map construction submodule 475 ( Fig. 9 ) process the third step of receiving 930 the depth map.

[0123] The method also includes constructing 940 a 3D map by mapping the depth map into a 3D space. A plurality of points in the depth map describing distances are used to construct a 3D map of the vehicle environment. Each point of the depth map may be mapped into a 3D environment map (e.g., Figure 3 The position vector of an object in the occupancy map 530) relative to the detection and ranging sensor. The position of a point in the depth map describes the direction of the corresponding position vector relative to the detection and ranging sensor, and the distance of the point describes the magnitude of the position vector. Based on multiple points, a 3D map can be constructed by mapping each point of the depth map to a 3D point defined by the position vector in the 3D map. In other embodiments, more than one depth map can be integrated into the 3D map. Points from each depth map are added to the 3D map to provide a more comprehensive 3D map of the environment. In one or more embodiments, the map construction submodule 475 that has received 930 the depth map constructs 940 a 3D map.

[0124] In addition, the method includes identifying 950 a subset of at least three points in the depth map corresponding to the traffic sign. Among all the points in the depth map, some points describe the distance of the traffic sign. In order to identify at least three points corresponding to the traffic sign, there are various fast and effective methods. In one or more embodiments, a bounding box in the depth map is determined by transforming the portion of the image into a depth map. The transformation from the camera image to the depth map of the detection and ranging sensor can be determined by capturing the image and the depth map of a single object in the environment. All points corresponding to a single object in the depth map and all parts of the image corresponding to a single object can be used to calculate the transformation from the image to the depth map or from the depth map to the image. In one or more embodiments, a frustum in the 3D map containing the traffic sign in the 3D map is determined based on the minimum depth calculated for the bounding box and the maximum depth calculated. The calculated minimum depth and the calculated maximum depth can be estimated based on the size of the portion of the image corresponding to the traffic sign. In some embodiments, the classification of the traffic sign can be associated with the size of the traffic sign, and the HD map system 110 can recall the size to estimate the approximate depth of the traffic sign. For example, the image classification model determines that the traffic sign is a stop sign, causing the HD mapping system 110 to recall the set of standard sizes for stop signs. The standard size compared to the size of that portion of the image can provide an approximate distance of the sign from the image.

[0125] A frustum is a volumetric construct in a 3D map that helps filter out points in 3D space that are not close to a traffic sign and therefore will not correspond to a traffic sign. To match the shape of the bounding box, a frustum is constructed, for example, a square frustum for a square bounding box or a circular frustum for a circular bounding box. In one or more other embodiments, a first method is used to identify a subset of at least three points by first determining a minimum point in a depth map that is within the frustum. Then, the first method identifies other points within a threshold depth in the frustum. The first method selects at least three points determined to be within the threshold depth as a subset of at least three points in the bounding box corresponding to a traffic sign. In one or more embodiments, a second method is used to identify a subset of at least three points by first dividing the bounding box into a plurality of cells. For each cell, the second method determines the minimum point in the cell. Then, the second method calculates and selects one or more cells with the closest minimum point in proximity. The second method selects at least three minimum points of the selected one or more cells as a subset of at least three points corresponding to a traffic sign. The depth within a cell is set by a metric distance from the nearest point within the cell. Combination Fig.12 and Fig.13 A discussion of examples of creating a frustum and selecting a subset of at least three points within the frustum is given. In one or more implementations, the plane fitting submodule 480 of the map creation module 410 identifies 950 a subset of at least three points using the process described herein.

[0126] The method also includes fitting 960 a plane in the 3D map based at least in part on a subset of at least three points. The subset of at least three points corresponding to the traffic sign is the basis for determining a plane in the 3D map that corresponds to the location where the traffic sign is located in space. Using a subset of exactly three points, the HD map system 110 determines a plane containing these three points. Using a subset of more than three points, the HD map system 110 can use various fitting methods. One possible fitting method is regression analysis. Another possible fitting method is random sampling consensus (RANSAC). RANSAC is an iterative process that fits a plane by iteratively increasing the influence of the inner points in the subset of points during the fitting process while iteratively reducing the influence of outliers. After the plane is established, the plane can be further reduced using a bounding box. In one or more embodiments, the plane fitting submodule 480 of the map creation module 410 fits 960 a plane in the 3D map based at least in part on a subset of at least three points using the process described herein.

[0127] The method also includes projecting 970 the identified portion of the image corresponding to the traffic sign onto the fitting plane in the 3D map. The identified portion of the image corresponding to the traffic sign is projected onto the fitting plane in the 3D map to obtain a 2D image and place the 2D image on the fitting plane. This can be done using various methods. In one possible projection method, the image portion corresponding to the traffic sign can be projected by drawing a ray from the detection and ranging sensor through each individual pixel to determine the intersection of the ray and the fitting plane. The intersection is the projection position of the pixel. After repeating the operation for all pixels of the portion of the image, all pixels are projected on the 3D map in the fitting plane of the traffic sign. In some embodiments, only the image points corresponding to the vertex of the sign are projected. In other embodiments, all pixels of the sign image can be projected to obtain the color information of the sign. The intersection is the projection position of the pixel. In one or more other embodiments, there are one or more geometric constraints applied to the projected image for refining the projected image by fixing the size of the projected image. A geometric constraint can be determined by the shape of the identified traffic sign. For example, the projected image may be distorted in order to fit the stop sign into a regular octagon by ensuring that the vertices are equidistant from the centroid point in the 3D map. The projected image in the 3D map may be further processed by color adjustment, sharpening, noise reduction, other image corrections, etc. In one or more embodiments, the image projection submodule 485 of the map creation module 410 projects 970 the identified portion of the image corresponding to the traffic sign onto the fitting plane in the 3D map using the processes described herein.

[0128] Following are details of the various steps of the above process according to various embodiments.

[0129] Identify 3D points in a scene

[0130] To determine the 3D location of the landmark, the HD mapping system determines the 3D geometry of the scene. Because the vehicle scans the world using (multiple) LiDAR sensors, the HD mapping system efficiently and accurately creates a 3D representation of the image scene. An embodiment generates a scene from the LiDAR information using the following techniques: (1.) using a single scan when capturing the image, (2.) aggregating aligned scans based on previous or subsequent image samples, and (3.) using OMap (a 3D volumetric mesh of occupied points built by fusing many sample drives through an area).

[0131] At each image sample there is an associated lidar scan. This scan may or may not contain enough data to capture a 3D representation of the sign. If there is enough information on the sign (at least 3 non-collinear points), the HD map system has enough data and can continue. If the HD map system does not have enough data, the HD map system uses one of the following methods. According to one embodiment, the HD map system merges the point cloud relative to the current sample. The HD map system selects poses that are nearby and may contain data points on the sign, and merges the lidar scans at each of these poses into a single point cloud on which the system can operate. This method has the benefit of providing a large amount of data at the expense of computational time and lack of scalability. According to another embodiment, the HD map system uses OMap to represent 3D geometry. OMap contains voxelized data from many tracks, and therefore it may have a more complete image at the cost of 5cm voxelization, and is more susceptible to alignment errors because misalignment between tracks will result in noisier data. Using sub-portions of OMap can significantly improve scalability because the cost of merging LiDAR scans is only once.

[0132] By using LiDAR data, the HD mapping system is able to identify the 3D location of landmark features from a monocular image. When the HD mapping system merges multiple point clouds, the HD mapping system ensures that the samples are at least a certain distance apart to avoid redundant data points. The HD mapping system also supports variable distances both forward and backward along the track for selecting point clouds to merge. In one embodiment, the HD mapping system calculates an invalid merged point cloud from a single point cloud due to insufficient data or if the plane fit does not meet certain criteria based on the orientation of the vertical component of the normal.

[0133] Identify landmarks

[0134] 3D scene points typically contain a large number of points, of which only a small portion represent signs. By understanding the transformation from 3D LiDAR points to camera coordinates, the HD map system performs a frustum check generated by the image bounding box and the minimum and maximum depths to filter points. Using stereo images or by understanding the approximate real-world size of the signs of a single image, the HD map system generates an estimated minimum and maximum depth of the frustum. For the resulting points in the frustum, the HD map system projects the 3D points onto the image using a calibrated camera projection matrix. According to another embodiment, the HD map system projects all points onto the image and checks whether the 2D bounding box of the sign in the image contains the point. After filtering out points outside the image bounding box, the HD map system processes points that may be behind the sign in 3D but projected onto the same 2D space. The HD map system filters out these points in a variety of ways. According to one embodiment, the HD map system selects the nearest point in 3D and only selects other points close to that point. This applies to unobstructed signs that have a reasonable distance between their points and the points of any other object.

[0135] According to another embodiment, the HD mapping system selects the closest point that falls into each 2D cell, where a 2D cell can be a pixel or any other larger or smaller 2D grid element. In some embodiments, the HD mapping system uses 3D cells and selects the closest point that falls into each 3D cell. This selects only points in front of the sign that can be seen from the image. This approach is ideal when the sign plane is complete and the 3D noise is minimal, but LiDAR is sparse, so there are some holes where farther points can be selected, and if there are a lot of noisy points in front of the sign, then this approach will select bad points. The best method depends on the characteristics of the data, which depends on the method of merging the point cloud. Other embodiments use a hybrid combination of the first n points for the cell, a weighted average of the points for the cell, and the maximum distance to the minimum point and some metric to select the first point.

[0136] The benefit of allowing arbitrary vertices to describe landmarks rather than the tightest rectangular bounding box is that it allows superior segmentation of LiDAR points. This method of using image information to filter points is a more efficient way to handle large numbers of points than most techniques that use only 3D point information. In one embodiment, the HD map system performs correction for a rolling shutter camera. In order to correctly project the 3D points onto the image, the HD map system transforms the 3D coordinates of the points based on the image rows to which they will be projected. The rows of the image indicate when the image captured the point so that the HD map system can move the point accordingly. This correction ensures that the 3D points are correctly projected onto the image.

[0137] Fitting a plane to 3D points

[0138] After the points are correctly segmented in relation to the landmarks, the HD map system fits a plane to the points. The HD map system uses RANSAC to fit the plane. This provides an initial guess at the position and orientation of the plane. Afterwards, the HD map system can use any of the following methods to optimize the plane fit.

[0139] According to one embodiment, the HD map system focuses on the 3D position of the points and ignores the 2D position. In this method, the HD map system refines the position of the 3D marker vertices by optimizing the distance between each pair of vertices simultaneously using the plane orientation and position. The HD map system changes the distance between points by perturbing the image coordinates for each point projected onto the 3D plane. This causes a 2×N+6 degree of freedom optimization problem, where N is the number of marker vertices. This produces a regularized 3D geometry projected onto the best fit plane. Although this produces an optimal 3D marker, it does not minimize the 2D reprojection error. Since the markers are marked on a single sample, the HD map system relies on marker aggregation in automatic marker creation to reduce reprojection errors between image samples.

[0140] According to another embodiment, the HD map system minimizes the plane fitting error and the reprojection error. In the optimization, the HD map system minimizes (1 / N)*(sum of squares of plane fitting error)+λ*(1 / N)*(sum of squares of 3d reprojection error). Where N is the number of vertices and λ is a regularization term used to balance the plane fitting error and the reprojection error. The HD map system measures the plane fitting error between all points that were inliers in the initial RANSAC plane fit, and measures the reprojection error between all image samples provided for feature creation. This provides the HD map system with the ability to minimize the plane fitting error and reprojection error on a single image during automation, and then rerun the process in the landmark aggregation step from between all image samples where the feature is visible to minimize the plane fitting error and reprojection error for all image samples.

[0141] Project the image points onto the plane

[0142] This step projects the image coordinate vertices onto the fitted 3D plane. By projecting a ray from the camera origin through the pixels and through the 3D marker plane, the HD map system finds the intersection of the ray with the plane in 3D. The intersection is the location of the image coordinates on the marker in 3D. After the HD map system determines the 3D coordinates of all marker vertices, the HD map system applies the inverse of the rolling shutter correction (assuming the camera chip uses a rolling shutter).

[0143] According to one embodiment, the HD map system imposes additional constraints on the sign geometry created after calculating the 3D points. Due to the fuzziness of pixels, possibly inaccurate vertex labeling, and other errors, the 3D sign geometry after projection onto a plane is irregular. The HD map system forces the geometry of the 3D sign to be planar and geometrically constrained based on the sign type, for example, a stop sign is constrained to be an octagon and a rectangular speed limit sign is constrained to have a rectangular geometry. According to one embodiment, the HD map system enforces these constraints on regular polygons by calculating the centroid of the point, then calculating further points away from the center and using that distance as the radius of the circle. The polygon is inscribed in a circle starting at the first vertex in the input list. Quadrilateral signs have a different approach because they select the top two points and the bottom two points, then calculate the vector between the two vertices and the vector between the two bottom points, and then take the average of the vectors to represent the width. The HD map system repeats the steps from the top to the bottom vectors, and then takes the cross product of these resulting vectors to ensure that the vectors are orthogonal, and then recalculates the angles.

[0144] Optimize 3D position

[0145] As a final step, the HD map system optimizes the 3D position of the marker relative to the marker's position in OMap. This is done by moving the marker until it contains the highest density of OMap points within its bounding box. If the marker is considered to be a plane with some thickness in 3D, the HD map system maximizes the number of points contained inside the 3D box by iteratively counting the number of points contained inside the box at different 3D positions. According to another embodiment, the HD map system performs a more computationally efficient version that counts the number of points in the box at the current position. Then, only if the number of points contained inside the box is greater after moving the box to that position, the number of points in the nearby box is counted and the box is moved in that direction. According to another embodiment, the HD map system determines the position by selecting all points within some area defined by a radius r based on the current position and calculating the center of mass of the points within the area and the direction of the plane using principal component analysis. This step is ideal because the accuracy of the marker's position relative to OMap is the ultimate goal.

[0146] There are possible situations where lidar data is not present or insufficient. In the case where the HD map system has lidar data but it is not sufficient to fit a plane, i.e., there are fewer than three points or all points are collinear, the HD map system uses the available lidar points to determine the distance from the vehicle to the sign and uses stereo vision to calculate the rest of the position information. For example, if the HD map system has only one lidar point, the HD map system uses stereo vision to calculate the x, y coordinates and assumes that the sign is facing directly towards the camera so that z is constant and equal to the z of the lidar point in the camera coordinate value. If the HD map system has two or more points, the HD map system creates a line. The HD map system then calculates the intersection of the x and y coordinates with the line, assuming that the plane is not tilted up or down and rotates only about the y axis. In the case where the HD map system has no lidar points at all, the HD map system uses stereo triangulation to locate the sign features in 3D. If the HD map system has stereo image pairs of multiple markers, the HD map system performs a bundle adjustment of the 3D position between all frames to minimize the reprojection error between all frames.

[0147] Flag Aggregation

[0148] Creating a sign hypothesis for each image sample where the sign is visible means that for each sign, the HD map system should have multiple images that can come from different tracks, and therefore multiple position hypotheses. In the sign aggregation step, the HD map system clusters these hypotheses to produce a single feature for each group. Clustering the signs takes into account the orientation of the sign relative to the camera from which it is seen, to give priority to signs that have a direction seen in the camera. In addition, the HD map system uses a heuristic method of planar areas to remove incorrect hypotheses, and then the HD map system clusters the signs based on the Euclidean distance between the sign centers and the angle between the sign planes. Once the features are clustered, the HD map system has multiple sign features belonging to the same ground truth sign. In one embodiment, the HD map system selects the best features from the group using a weighted scoring technique. Therefore, the HD map system selects scores based on various criteria, including proximity to the middle area of ​​the group, the angle between the sign normal and the car heading, the reprojection error of the sign compared to the deep learning detection result, and the reprojection error of the sign on all images of the group compared to the corresponding deep learning result. The HD map system determines the weighted aggregation of these scores and sorts the features to select the best features.

[0149] Fig. 10A A first image 1000 is shown having a planar traffic sign 1010 with identified vertices according to one or more embodiments. In the example illustration, the HD map system 110 performs Fig. 9The HD map system 110 first receives 910 a first image 1000 having a planar traffic sign 1010 from a vehicle sensor 105 of a vehicle 150. The identified planar traffic sign 1010 is not occluded in the first image 1000 and has a plurality of vertices 1015 (referred to as Fig. 10A The HD map system 110 continues by identifying 920 a portion 1020 of the image that corresponds to the planar traffic sign 1010. In this illustration, the identification 920 of the portion 1020 of the image includes identifying a plurality of vertices 1015 that help define the shape of the traffic sign. In this example, the HD map system 110 identifies eight vertices of the planar traffic sign 1010, thereby determining the planar traffic sign 1010 to be an octagonal shape. When the vertices are connected to establish the octagon, the HD map system 110 determines a portion 1020 of the image that corresponds to the planar traffic sign 1010. The HD map system 110 uses this portion of the image 1020 to determine a bounding box in the corresponding depth map based on the transformation from the image to the depth map.

[0150] Fig. 10B A second image having an angled traffic sign with an identified vertex is shown according to one or more embodiments. In another example illustration, the HD map system 110 performs Fig. 9 The HD map system 110 first receives 910 a second image 1050 having an angled traffic sign 1060 from a vehicle sensor 105 of a vehicle 150. The identified angled traffic sign 1060 is not obscured in the first image 1000 and is square in shape when viewed in a plan view. However, in this example illustration, the angled traffic sign 1060 is angled such that the second image 1050 captures the angled traffic sign 1060 having a diamond shape. The HD map system 110 continues to identify 920 a portion 1070 of the image corresponding to the angled traffic sign 1060. In this illustration, the identification 920 of the portion 1070 of the image includes identifying a plurality of vertices 1065. In this example, the HD map system 110 identifies four vertices of the angled traffic sign 1060, thereby determining the angled traffic sign 1010 to be a quadrilateral in shape. When the vertices are connected to create a diamond shape, the HD map system 110 determines the diamond shape to be a portion 1070 of the image corresponding to the angled traffic sign 1060. In addition, the HD map system 110 applies an image classification model, which determines that the angled traffic sign 1060 is indeed angled. Fig. 9In other steps of the method, the HD map system 110 may distort the portion 1070 of the image when projected onto the fitting plane corresponding to the angled traffic sign 1060 in the 3D map to make adjustments for projecting the diamond shape in the image onto the square shape in the 3D map.

[0151] Fig.11 1 shows a method of decrypting text on a traffic sign 1105 according to one or more embodiments. In the example illustration, the HD map system 110 performs Fig. 9 The HD map system 110 receives an image 1110 as a Fig. 9 In a first step of the method, the image 1110 includes a stop sign as a traffic sign. In a second step, the HD map system 110 identifies a portion 1120 of the image that corresponds to the traffic sign. The HD map system 110 applies a convolutional neural network model to the identified portion 1120 of the image, which in turn identifies text on the portion 1120 of the image. In this example, the convolutional neural network model identifies "STOP" as text on the traffic sign. The HD map system 110 can store the text as an attribute of the identified traffic sign in the HD map 1150. The HD map system 110 can also determine legal restrictions that depend on the text. For example, the text "STOP" necessitates a legal requirement to come to a complete stop at an intersection with the traffic sign. These other restrictions can additionally be stored in the HD map 1150 as additional attributes of the traffic sign.

[0152] Fig.12A method of identifying points corresponding to traffic signs by filtering out points in a 3D map 1200 using a frustum 1250 is shown according to one or more embodiments. The vehicle has one or more sensors 1210, including a mounted LIDAR and one or more cameras. The 3D map 1200 is constructed by the HD map system 110 based on a depth map generated by the sensor 1210, such as a light detection and ranging sensor (LIDAR). The 3D map 1200 includes a plurality of points corresponding to position vectors of objects in the environment derived from the points in the depth map. The HD map system 110 determines a bounding box 1220 in image space based on the traffic sign image vertices. Each vertex of the bounding box 1220 establishes a ray from a sensor 1210 (e.g., a camera) on the vehicle. All rays from the vertices of the bounding box 1220 establish a frustum 1250 from the camera indefinitely. In this illustration, the bounding box 1220 is a rectangular shape, so the pyramid is rectangular. Using the nearest lidar point within the frustum as the minimum depth and setting the maximum depth relative to the minimum depth, a minimum depth plane 1230 and a maximum depth plane 1240 can be defined. In some embodiments, the minimum depth plane 1230 and the maximum depth plane 1240 can be further constrained by the HD map system 110 based on geometric constraints. For example, the minimum depth plane 1230 and the maximum depth plane 1240 can be constrained to be parallel to each other. In another example, the HD map system 110 determines that the traffic sign is to be angled, and therefore constrains the minimum depth plane 1230 and the maximum depth plane 1240 to be parallel to the determined angle of the traffic sign. The minimum depth plane 1230 and the maximum depth plane 1240 intersect with the pyramid 1225 established by the bounding box 1220 to determine the frustum 1250. All points in the 3D map 1200 that fall outside the frustum 1250 within the pyramid 1225 are filtered out. In this illustration, all points represented as triangles in the 3D map 1200 are filtered out. In this illustration, the HD mapping system 110 identifies points corresponding to traffic signs based on the points represented as diamonds within the frustum 1250 .

[0153] Fig.13 1 shows a method of identifying a subset of points in a 3D map 1300 that correspond to traffic signs according to one or more embodiments. In one or more embodiments, the method of identifying a subset of points follows the HD map system 110 filtering outlier points in the 3D map. In this illustration, the points in the 3D map are represented by a frustum (e.g., Fig.12The remaining points after filtering by the frustum 1250 in the 3D map 1300). Of the remaining points, the HD map system 110 determines a minimum depth point 1370 (indicated by an "X"), which is the point closest to the sensor 1310 (e.g., a camera or LIDAR). The HD map system 110 identifies points within the threshold depth 1320 based on the minimum depth point 1370 represented by a diamond. Points located farther than the threshold depth 1320 from the minimum depth point 1370 are excluded and represented as triangles. The HD map system 110 selects the points within the threshold depth 1320 as a subset of points corresponding to traffic signs. In this illustration, the threshold depth 1320 is represented as a plane in the 3D map 1300; however, in other embodiments, the threshold depth 1320 may be defined using a radius from the sensor 1310 (e.g., a camera).

[0154] Fig.14 1 shows a method of determining a reduced fitting plane 1430 having a fitting plane 1420 determined by a subset of points 1410 according to one or more embodiments. In this illustrative example, the HD map system 110 identifies a subset of three points 1410 in the 3D map 1400 that correspond to traffic signs. In one or more embodiments, the HD map system 110 uses a bounding box and a cone determined by the bounding box (similar to the cones determined by the Fig.12 A subset of three points 1410 in the 3D map 1400 is identified using a pyramid 1225 defined by a bounding box 1220 in the 3D map 1400. The HD map system 110 having the subset of three points 1410 can use the coordinates of the three points to define a fitting plane 1420. The HD map system 110 further reduces the fitting plane 1420 to a reduced fitting plane 1430 by determining a portion of the fitting plane 1420 that intersects the cone defined by the bounding box. The reduced fitting plane 1430 can be the basis for the HD map system 110 to project an image of the traffic sign. In this illustrative example, the subset of three points 1410 precisely defines the fitting plane 1420; however, in various other embodiments, the HD map system 110 uses a fitting model to determine the fitting plane. In these such embodiments, the HD map system 110 can implement various mathematical fitting techniques. One such technique (as described above in conjunction with Fig. 9 The above) is RANSAC.

[0155] Example

[0156] Figures 15 to 27 Example images showing various stages of processing for landmark feature creation for an HD map are shown, according to one embodiment.

[0157] Fig.15An image with a bounding box drawn around a landmark is shown. The landmark location service retrieves the track id, sample id, camera subsample id, and camera id corresponding to the image and a list of vertices of the bounding box in image coordinates. The track id, sample id, camera subsample id, and camera id are all data that are tagged with an image from a camera that provides information about the image.

[0158] Fig.16 LIDAR dots projected onto the image are shown. The dots are colored by intensity. LIDAR dots that reflect the sign will return with a higher intensity, so the system can determine that there are some dots projected onto the sign as black dots that are behind the sign in the LIDAR scan.

[0159] Fig.17 LIDAR points filtered by an image bounding box are shown. In this figure, the white points are LIDAR points within the image bounding box that are filtered to the closest point to the camera to remove LIDAR point outliers.

[0160] Fig.18 A plane in three-dimensional space is shown that is fitted to filter LIDAR points. In this figure, the diamond shape is the plane that is fitted to the LIDAR points. The plane extends to infinity, but for clarity, it is fitted near the landmark points.

[0161] Fig.19 The intersection points of the rays with the marker plane are shown.To find the locations of the image bounding box vertices in 3D, the system finds the locations in 3D where the rays emitted from the camera through the image pixels corresponding to the bounding box vertices intersect the 3D marker plane.

[0162] Fig. 20 The 4 landmark vertices are shown in 3D LIDAR coordinates relative to the LIDAR sensor when the camera captured the image. As shown in this figure, the system connects the 4 vertices so that the shape defined by these points can be seen in the LIDAR coordinates and how well the shape aligns with the landmark.

[0163] Figure 21 (A to B) shows a merged point cloud. These two figures depict the benefits of merging point clouds. Figure 21 (A) is a single scan of an intersection. Figure 21 (B) shows the results of merging 20 previous LIDAR scans into a single point cloud at the same intersection. As shown, after merging the LIDAR scans into a single point cloud, the image in Figure 21 (B) shows a clear image of the traffic signal in the point cloud data, which appears as a single LIDAR scan line in Figure 21 (A) based on the single LIDAR scan.

[0164] Figure 22 (AC) shows an example of an image with input vertices labeled. Each plus sign represents a vertex of the geometric shape of the logo. Any number of vertices can be provided and the geometry of the shape optimized.

[0165] Fig.23 An example of occupancy map (OMap) selection is shown. The traffic light outlined in the figure is the target feature of this OMap subsection. The system selects a 20m x 20m subsection of the OMap for processing based on the estimated location of the feature. Although the feature is not the center of the OMap, it is completely contained within the subsection.

[0166] Fig.25 A filtering process for selecting planar points according to one embodiment is shown.

[0167] Fig.24 Describes the process used to generate Fig.25 The input vertices of Fig.25 is a sign with branches behind it. This figure is used as a scenario for 3D point cloud representation.

[0168] Figure 24 to Figure 25 The need to properly filter 3D points belonging to a sign is shown. The first image is the input, which shows a sign with branches behind it. Fig.25 The merged 3D point cloud near the landmark is shown. Both the red and green points are points inside the image projection frustum. The red points are a subset of the points inside the frustum that meet the filtering criteria for the landmark points. Even with filtering, there is still some noise, which is why the plane fit needs to be robust to outliers.

[0169] Fig.26 shows plane fitting. Once the system selects points that belong to the plane object, the system fits the plane to those points. Fig.26 In the image shown in , the red dots within the shape depicting the logo are the points resulting from filtering the 3D points by the image bounding box and the 3D depth. The red dots with lower opacity are the points behind the plane, while the bright red dots are in front of the plane. Due to the noise in the dots, the system chooses the best fit for the red dots.

[0170] Fig. 27 Image point projection is shown. After fitting the plane, the system uses the labeled image vertices to project onto the 3D plane. The intersection of the camera ray with the plane is the 3D position of the point. In the image above, the red bounding box represents the logo created from the 3D vertices. The line from the lower right to the upper left is an imaginary ray from the camera. The semi-transparent white box is the fitted plane. The intersection of the ray with the plane is the 3D vertex of the logo.

[0171] Lane marking module

[0172] Fig.28A 2 shows the system architecture of the lane module 460 according to one embodiment. The lane module 460 includes a pixel memory 2810, an image pixel classifier 2815, a mapping module 2820, a clustering module 2825, a lane group memory 2830, a segment center analysis module 2835, and a lane connection module 2940. Similar to the architecture of the HD map system, other embodiments of the lane module 460 may include a lane classification module 2810, a lane classification module 2815, a lane classification module 2820, a lane classification module 2825, a lane group memory 2830, a segment center analysis module 2835, and a lane connection module 2940. Fig.28A The modules shown in the figure may be more or less than the modules, and the functions indicated as being performed by a specific module may be implemented by other modules. In one embodiment, the lane module 460 may be a distributed system including multiple processors.

[0173] The pixel memory 2810 contains two-dimensional pixels contained in the lane line image, which are referred to as "2D points." The image pixel classifier 2815 assigns each 2D pixel a probability that describes the likelihood that the respective pixel is located at the center of the lane line. The mapping module 2820 tracks each 2D pixel that is greater than a threshold probability of being located at the center of the lane line to a 3D representation, which is referred to as a "3D voxel." The clustering module 2825 groups adjacent points into lane line groups, which are stored in the lane line group memory 2830. The segment center analysis module 2835 simplifies the stored lane line groups by removing outlier points from the groups and draws center lines through the remaining points. Using the center lines, the lane connection module 2940 connects multiple lane line segments to create a complete representation of the lane lines.

[0174] Overview of lane creation for HD maps

[0175] Fig.28B A flow chart describing the lane line creation process according to one embodiment is shown. Based on one or more pictures of lane lines, an image pixel classifier 2815 classifies 2D points based on the likelihood that the 2D point is located at the center along the lane line. In some embodiments, the probability that an image pixel falls within the along-center probability or centerline probability is represented as a numerical probability determined by an image segmentation deep learning model. For example, a 2D point with a clear likelihood of being located at the center of a lane line has a probability of 1, while a 2D point located outside of the lane line has a probability of 0. Now referring to Fig.30 , according to one embodiment, shows an illustration of a camera image of two lane elements represented as a set of 2D points 2915. The camera image 2920 can be converted into a probability image 3010, which includes point groups with centerline probabilities of 0.6, 0.8, and 0.9, all of which have probabilities greater than the probability of an excluded 2D point 3020, which has a centerline probability of 0.05.

[0176] Continuing from the above example, a 2D point located between the center and the edge of a lane line has a probability between 0 and 1. Based on these classifications, the image pixel classifier 2815 also identifies 2845 points that fall on the lane line. In some embodiments, 2D points 2915 that fall on the lane line are identified by a range of acceptable probability values ​​(e.g., 0.75 to 1.0).

[0177] also, Fig.29 A visual representation of the various components used to perform the lane line creation process 2800 is shown. A camera 2905 captures camera images 2910 and identifies 2D points 2915 of those images in a 2D plane 2920. Identified 2D points with sufficiently high centerline probabilities are mapped to lane line points 2925 of 3D voxels present in a 3D plane 2930. Lane lines 2935 are represented as continuous lines along the vehicle's path, but can be broken down into lane line segments 2940. Lane line segments 2940 refer to subdivisions of a single lane line. In some embodiments, different lane line segments 2940 can be geometrically identical, while in other embodiments, they have different sizes. Each lane line segment is surrounded and identified by a lane line segment centerline 2945, which includes two or more lane line points 2925 in the 3D plane 2930.

[0178] Mapping between 2D points and 3D voxels

[0179] Fig.31A A 3D voxel representation of a raw probabilistic image converted from a camera image is shown according to one embodiment. While the probabilistic image only represents lane lines and their surroundings in two dimensions, the 3D voxels 3110 represent the same information in three dimensions to provide an additional layer of information to the online HD map system 120 .

[0180] Fig.31B The system architecture of the mapping module according to one embodiment is shown. The mapping module 2820 maps each 2D point 2915 to a lane point 2925 in the 3D voxel 3110 to create a three-dimensional representation of the surrounding environment of the 2D point. Fig.31B 2 shows a system architecture of a mapping module 2820 according to one embodiment. The mapping module 2820 includes a 2D pixel memory 3115, a 2D-3D conversion module 3120, a 3D voxel memory 3125, and a probability analysis module 3130. Other embodiments of the mapping module 2820 may include Fig.31BMore or fewer implementation modules may be included than the modules presented in the examples, and functions indicated as being performed by a particular module may be implemented by other modules. The 2D pixel memory 3115 contains all 2D points 2915 obtained from the converted camera image 2910, regardless of whether the 2D point 2915 is identified as having a centerline probability above or below a threshold probability. In the 2D pixel memory 3115, the 2D points 2915 identified as having a centerline probability above a threshold probability pass through a 2D-3D conversion module 3120 to map the 2D points 2915 to 3D voxels 3110. All mapped 3D voxels 3110 are stored in a 3D voxel memory 3125. The probability analysis module 3130 calculates the probability that a given 3D voxel includes the center of a lane line.

[0181] Fig.31C A flow chart of a process (e.g., forward mapping) for mapping 2D points 2915 to 3D voxels 3110 occurring within a mapping module 2820 is shown according to one embodiment. The mapping module 2820 retrieves 3135 one or more 2D points 2915 from a set of identified 2D points with high centerline probability within a 2D pixel memory 3115. Between each identified 2D point 2915 and the center of the camera responsible for generating the initial camera image, a 2D-3D conversion module 3120 draws 3140 a projection line and determines 3145 the intersection point between the projection line and the ground plane. The ground plane refers to the surface on which lane line elements can be found. The intersection point between the projection line and the ground plane is used to characterize the size and position of the 3D voxel.

[0182] In some embodiments, the 3D voxels 3110 are reverse mapped to the 2D points 2915 to obtain the lane line probability for each 3D point, i.e., the probability that the 3D point is on the lane line. In this case, the HD map system processes the 3D points (e.g., from LIDAR) or iterates between 3D points (e.g., from LIDAR), converts them to camera coordinates (finds the corresponding 2D mapping), and projects them to the image (e.g., backward or reverse mapping). The HD map system uses deep learning techniques to determine a probability map that maps each pixel to the probability that the pixel is on a lane line. The HD map system uses the probability map to determine the lane line probability of the 3D point corresponding to the pixel.

[0183] For each 3D voxel 3110 stored in the 3D voxel memory 3125, the mapping module calculates 3150 a probability describing the likelihood of finding the 3D voxel 3110 on a lane element. In some embodiments, the same conventions and classification methods described with reference to the image pixel classifier 2815 are also implemented by the mapping module 2820. In other embodiments, the mapping module uses a different technique. Due to distance distortion within the camera image, the label granularity of the image also decreases as the distance increases, resulting in errors in representing dual lane lines. To improve accuracy, the mapping module 2820 can aggregate the mapping from the 2D point 2915 to the 3D voxel by using the centerline probability of the 3D voxel 3110 from the second image, the second image also containing the pixels of interest found in the first image. In one embodiment, grouping the set of identified two-dimensional points into groups includes forming a set of points that are within a threshold distance of each other, wherein the threshold distance is greater than the lane line width and significantly less than the distance between the two lane lines. For example, an HD mapping system may use a distance slightly larger than a typical lane width, such as 40 cm, but much smaller than the distance between two lane segments (which may be several meters).

[0184] Group lane points into lane point groups

[0185] Fig.32A Shown is a visual representation of lane line point group 3210 in 3D voxel 3110 and lane line point 925 in lane line point group 3210 according to one embodiment. Fig.32B 2 shows a system architecture of a clustering module 2825 according to one embodiment. The clustering module 2825 groups adjacent lane line points 925 within the 3D voxel 3110 together into lane line point groups 3210 to define lane line segments. The clustering module 2825 includes a coarse clustering module 3215, a skeleton point analysis module 3220, a skeleton point storage 3225, and a fine clustering module 3230. Other embodiments of the clustering module 2825 may include Fig.32B More or fewer modules may be presented than those presented in the description, and the functions indicated as being performed by a particular module may be implemented by other modules. The coarse clustering module 3215 identifies adjacent lane line points 925 and groups them into groups based on a set of established distance parameters. The skeleton point analysis module 3220 also groups the lane line points 925 in the group into smaller sub-groups surrounding the entire group, and determines the center point of each sub-group. The center point within each sub-group is also referred to as a skeleton point and is stored by the skeleton point memory 3225. Using the identified skeleton points stored in the skeleton point memory 3225, the fine clustering module 3230 distinguishes between intersecting lane lines 2935 moving in different directions. Additional details about the coarse clustering module 3215, the skeleton point analysis module 3220, and the fine clustering module 3230 will be referred to below. FIG. 32D to FIG. 32F Have a discussion.

[0186] Fig.32C A flow chart of a process for grouping lane line points 925 into groups is shown. Coarse clustering module 3215 identifies 3235 all lane line points 925 that are adjacent to each other. In some embodiments, adjacent points are within a maximum distance of each other. For example, five lane line points 925 may be arranged in a line in increasing order. When grouping adjacent points into groups, a lane line group 3210 originating from a first point may include a second point, a third point, and a fourth point, but not a fifth point because the fifth point is at a distance from the first point greater than a threshold distance. Alternatively, a lane line point group 3210 originating from a second point may include a first point, a third point, a fourth point, and a fifth point because, for each point, the separation distance is less than a threshold distance.

[0187] Now refer to Fig.32D , according to one embodiment, a scenario of grouping lane line points 925 into lane line point groups 3210 is described. Adjacent points 3270 are defined as points that have a threshold distance 3272 from each other. In some embodiments, the threshold distance is defined as the following distance: 1) less than the first distance 3274 between the lane line segment containing the lane line point 925 and the next or previous lane line segment within the same lane line, and 2) less than the second distance 3276 between the lane line containing the lane line point 925 and the second lane line, which is parallel to or intersects the first lane line in the driving direction. In other embodiments, the threshold distance 3272 is defined as the numerical maximum distance between two lane line points in the lane line (i.e., 5 cm). For example, the above clustering process is performed using an algorithm that receives an input point and outputs all points within the distance of the input point. More specifically, an input point can be randomly picked and used to locate a first adjacent point 3270 that is best combined with additional adjacent points. The first adjacent point 3270 is then used as an updated input point. Based on the updated input point, all adjacent points are identified.

[0188] Now return to Fig.32C , skeleton point analysis module 3220 identifies 3240 subgroups from the identified adjacent points. When lane line points 925 are grouped into subgroups, they are removed from the overall group. The above process is repeated until all lane line points 925 within lane line point group 3210 are included in the subgroup. Within each subgroup, the skeleton point analysis module locates 3245 the geometric center or skeleton point. In some embodiments, the skeleton point is determined based on the weighted centerline probability of each lane line point 925 within the subgroup and the skeleton point is stored in the skeleton point memory 3225. Fig.32EA visual representation of lane line segments 2940 and their respective skeleton points 3282 divided into several subgroups 3280 according to one embodiment is shown. In one embodiment, subgroups 3280 may have a circular shape, while in other embodiments, they may be elliptical or polygonal.

[0189] Now return to Fig.32C , within each subgroup 3280, the fine clustering module 3230 distinguishes between crossing lane lines and lane lines during the creation process. For each skeleton point 3282 within the lane line point group 3210, the fine clustering module 3230 calculates 3250 a local slope using the lane line points 923 within each subgroup 3280. The fine clustering module 3230 groups 3260 skeleton points that share a local slope within the range of each other and within the maximum distance of the interval to indicate that they are within the same lane line. Fig.32F A visual representation of a first lane line 3290 having a first local slope 3291 intersecting a second lane line 3292 having a second local slope 3293 is shown. Because the local slopes of the first lane line and the second lane line are each outside an acceptable range of similarity, the first lane line 3290 and the second lane line 3291 are identified as being independent of each other and grouped into a first skeleton point group 3294 and a second skeleton point group 3295. In some embodiments, the range of acceptable similarity is generally defined by the user, while in other embodiments, the range is defined to be specific to the set of lane line points under consideration. The above process is repeated 3265 for each skeleton point in the lane line segment 2940.

[0190] Locate the center of the lane point group

[0191] Fig.33A A representation of a centerline polyline 3310 through a lane line group 3210 in a 3D voxel 3110 is shown according to one embodiment.

[0192] Fig.33B 28 shows the system architecture of the group center analysis module 2835 according to one embodiment. The group center analysis module 2835 locates the center line of each lane line segment 2940 by connecting the skeleton points 3282 in each segment. The group center analysis module 2835 includes a polyline generator 3315, an outlier analysis module 3320, and a compression module 3325. Other embodiments of the group center analysis module 2835 may include comparing Fig.33BMore or fewer modules may be presented than those presented in , and functions indicated as being performed by a particular module may be implemented by other modules. The polyline generator 3315 organizes the skeleton points 3282 within the lane segment 2940 and creates polylines from the ordered points. The outlier analysis module 3320 identifies and analyzes outliers to determine whether they represent changes in the direction of the lane segment or simply deviations from the polyline in the same direction. The compression module 3325 identifies and removes redundant skeleton points 3282 to compress the polyline to a minimum number of points while still conveying the correct shape of the lane segment. Additional details about the polyline generator 3315, the outlier analysis module 3320, and the compression module 3325 will be referenced below. FIG. 33C to FIG. 33E Have a discussion.

[0193] Fig.33C A flow chart of a process for locating the centerline of a lane line segment 2940 is shown according to one embodiment. A polyline generator 3315 generates 3330 a polyline representation of each lane line segment. When generating the polylines, the polyline generator 3315 may take into account the geometry of the lane line segment. In one embodiment, the lane line segment is long and winding, and the polylines are generated based on skeleton points 3282 within the lane line segment. Under the assumption that the lane line under consideration is relatively straight and does not follow a circular path, the polyline generator may use a polyline generator such as Fig.33D The principal components of the points shown reorganize the skeleton points into a continuous order. The principal components 3350 onto which the skeleton points 3282 are projected are determined, and the skeleton points 3282 are ordered by the projection. The order 3352 of the projections is mapped to the initial positions of the lane points on the lane line segment to determine the ordered positions of the lane points on the lane line segment. Polylines 3354 are generated by continuously connecting the skeleton points 3282.

[0194] In another embodiment, Fig.33E As described, the lane line segment is short and straight, and a technique for fitting a geometric line through lane line points 925 in lane line point group 3210 is used. Once a geometric fit line 3356 is determined for lane line point group 3210, geometric fit line 3356 can be shortened to run between first endpoint 3358 and second endpoint 3360 of the group. In some embodiments, there are no two clearly defined endpoints, and instead two points with a maximum distance between lane line points are used to contain geometric fit line 3356.

[0195] Now return to Fig.33CIn some embodiments, the generated polyline 3354 may be non-linear due to an offset between one or more points on which the polyline 3354 is based and the majority of the remaining points. In these embodiments, the offset points or outliers are analyzed to determine whether they are noise points that do not affect the direction of the polyline 3354 or inflection points that indicate a change in the direction of the polyline 3354. Points identified as inflection points indicate that the polyline 3354 is changing direction by a significant amount or is deviating from the current direction by a significant amount. The conditions that qualify as a significant amount of change can be set manually or based on consideration of a particular lane line point 925 in the lane line segment 2940. Fig.33F An example polyline with noise outliers 1370 and another example polyline with inflection point outliers 1375 are shown, according to one embodiment.

[0196] Once one or more noise outliers 1370 are identified, the outlier analysis module 3320 removes 3335 the noise outliers from the polyline 3354, i.e., performs a denoising operation on the polyline. The noise outliers 1370 can be removed using low-pass filtering of the polyline coordinates. In another embodiment, starting from a first point, a fitted line is generated by iterating adjacent points within the lane line point 925 from one end of the segment to the other. For example, for a fitted line of 11 points, the fitted line includes the first point, 5 points before the first point, and 5 points after the first point. Assume that the current point is p*, the previous denoised point is p', and the next point in the polyline is p". The system checks whether the first angle between p*p'-L(θ0) or the second angle p*p"-L(θ1) is greater than a threshold value such as max_θ_degrees (a typical value is 15 degrees). If the first angle between p*p'-L(θ0) or the second angle p*p"-L(θ1) is greater than the threshold, the system marks the current point as noise and discards it, otherwise the system marks the current point as a good point and adds it to the denoised polyline 3354. Once all necessary noise outliers are analyzed and removed from the polyline, the polyline of the remaining lane line points is called the denoised polyline.

[0197] To reduce the memory required to store lane segments, compression module 3325 may remove 3340 extraneous lane points from polyline 3354. In one embodiment, an extraneous lane point may fall on polyline 3354 parallel to a previous point, such as Figure 33G As stated, Figure 33G An example is shown with multiple removed extraneous lane marking points 3380 where the extraneous lane marking point 3380 does not deviate from the direction of the previous lane marking point. Fig.33HAnother embodiment is shown in which the foreign lane line point 3380 deviates from the polyline 3354 by less than a minimum threshold distance. The threshold parameter can be determined manually or based on the characteristics of the polyline 3354. In the aforementioned embodiment, the foreign points 3380 must be analyzed to confirm that they are not inflection points. For example, all lane line points 2925 between the endpoints on the polyline are analyzed to identify any point that is greater than the threshold distance from the polyline. If no lane line point is identified, all points between the endpoints are removed from the polyline consisting only of the endpoints. Alternatively, if a lane line point 2925 is identified as being greater than the threshold distance from the polyline 3354, the polyline 3354 is shortened by adjusting one endpoint that is closer to the identified lane line point. Adjusting the endpoints of the polyline 3354 can be performed by identifying the first midpoint of the entire polyline and identifying any lane line point 2925 between the first midpoint and the first endpoint of the polyline, the distance between the first midpoint and the first endpoint being greater than the threshold distance from the polyline. If a lane line point is not identified, the first midpoint is set as the new endpoint, and the above process is performed for the second midpoint between the first midpoint and the second endpoint. If a lane line point 2925 is identified, each lane line point 2925 between the first midpoint and the first endpoint is analyzed. Once a lane line point 2925 is identified, it is set as the new endpoint of the polyline 3354. The above process is performed iteratively until the polyline endpoint and the identified lane line point 2925 overlap at the same point.

[0198] Connect lane segments into lane lines

[0199] Fig.34A Shown is a representation of a complete lane line 2935 created by connecting the centerline polylines 3310 in the 3D voxels 3110 according to one embodiment.

[0200] Fig.34B 2940 according to one embodiment. The lane connection module 2940 uses the centerline polyline 3310 generated by the group center analysis module 2935 to connect the lane segments into a complete representation of the lane. The lane connection module 2940 includes a neighbor search module 3415, a connectivity score generator 3420, a connectivity score storage 3425, a connectivity score sorting module 3430, and a connection check module 3435. Other embodiments of the lane connection module 2940 may include a comparison Fig.34B, and the functions indicated as being performed by a particular module may be implemented by other modules. The neighbor search module 3415 identifies adjacent endpoints of additional lane line segments that are eligible to be connected to the lane line of interest. The connectivity score generator 3420 determines the connectivity score between each adjacent endpoint and the endpoint of the lane line of interest, and the connectivity score storage 3425 stores the score. The connectivity score sorting module 3430 organizes all possible connections based on the connectivity scores of the above endpoints, and the connection check module 3435 confirms that each connection does not overlap with any other lane line segment.

[0201] The neighboring point search module 3425 identifies 3440 neighboring points within other lane line segments 2940 that are less than the maximum distance away from the endpoint of the lane line segment 2940 of interest. For each neighboring point identified, the lane connectivity score generator 3420 calculates 3445 the connectivity score between the identified neighboring point and the nearest endpoint of the lane line segment 2940 being analyzed. The connectivity score can take into account: 1) the distance between the two lane line segments and 2) the change in direction between the two segments. For example, as the distance between the two lane line segments decreases and the change in direction between the two segments is small, the connectivity score increases. Alternative embodiments consider only one of these factors at a time. The connectivity score sorting module 3430 can sort the connectivity scores in descending order 3450 so that the neighboring points with the highest scores are at the top of the list. In another embodiment, the connectivity score sorting module 3430 can sort the connectivity scores in ascending order.

[0202] First, for each connection, the connection check module 3435 checks 3455 whether the connection contains an endpoint that is already connected to a different lane line segment. If the check indicates that the endpoint is already connected to a different lane line segment, the connection is removed from the sorted list. Specifically, in order to check whether the endpoint is contained in an existing connection, the connection whose distance is less than the length of the lane line segment 2940 is analyzed. The system checks the endpoint whose distance to one end of the connection is less than the threshold D. The threshold D is the maximum distance considered by the system. For the remaining connections on the sorted list, if the connection contains an endpoint that is already connected to a different lane line segment, the connection check module 3435 checks 3460 whether the connection will intersect with any existing lane line. If the check indicates that the connection will overlap with an existing lane line segment, the connection is removed 3465 from the sorted list. Specifically, in order to check the intersection of the existing lane line, the connection check module 3435 checks any overlap or intersection with the bounding box of the lane line segment 2940. In some embodiments, the order of the first check and the second check is reversed. For each connection in the sorted list, the connection checking module 3435 repeats 3470 the above process until a connection that satisfies both check protocols is found. The lane connection module 2940 selects 3475 the remaining connection with the highest connectivity score and draws a connection between the two lane line segments. In an embodiment where the connections are sorted in descending order, the highest connection score is the first connection score that satisfies both check protocols and is not removed from the sorted list. For certain connection pairs that the system attempts to connect (e.g., L), and when the system attempts to determine if there are existing connection pairs that will intersect with L, among all existing connection pairs, the system will find a connection pair whose one endpoint is within a distance D from one end of L.

[0203] Additional Implementations

[0204] In one embodiment, the HD mapping system creates an occupancy map (OMap) by merging LIDAR scans from many track samples and multiple data collection drives. Since the track samples are already aligned, the individual point clouds can be converted to common coordinates for OMap, merged and voxelized into small cubes (e.g., 5cm x 5cm x5cm cubes), where each cube indicates the space it occupies. Since the LIDAR sensor provides intensity for each point, the HD mapping system fills the intensity value into the OMap voxel (e.g., by taking the average or median intensity from all points that fall inside the cube). In addition, since the lidar sensor and camera sensor have been calibrated, the HD mapping system projects the LIDAR points into nearby camera images to assign a color to each point. Similarly, the HD mapping system fills the color information into the OMap voxel.

[0205] If all points within a voxel are not visible from the camera view, the voxel may not have any color information. In this case, the HD map system assigns a default color to the point, such as blue, and marks it so that it is distinguished from road features. Given a set of OMap voxels, each voxel has an intensity value and most voxels have color information, the HD map system applies a bottom-up projection to the set of voxels to create a set of 2D images. Given each column of voxels in the vertical direction, the system takes the lowest voxel and converts its intensity and color information into pixels in the output image. Therefore, the HD map system creates two images, a grayscale image that stores intensity values, and an RGB image that stores color information. The benefit of bottom-up (selecting the lowest voxel in each column) rather than top-down projection (selecting the highest voxel in each column) is that the system can remove objects above the road, such as cars, treetops, and light poles.

[0206] Therefore, after projection, the HD map system obtains two images of each OMap area, one is an intensity image and the other is an RGB image. The HD map system also divides each image into pixel blocks, such as 1024×1024 pixel blocks, to ensure that the file size is manageable. The HD map system applies machine learning techniques (e.g., deep learning) to these images to extract road features (e.g., lane lines). In one embodiment, the HD map system merges grayscale images and RGB images into a single 4-channel matrix to learn the model because deep learning can process input data independently of the number of channels in the input data. Compared with using camera images, using OMap images provides another information channel in addition to RGB, namely intensity. This significantly improves the results because one of the main sources of confusion for machine learning models is shadows on the road, which have significantly different colors compared to the surrounding environment and may be confused with road features such as lane lines. On the other hand, LIDAR intensity is not sensitive to shadows. Therefore, the grayscale intensity image shows uniform values ​​on the shadow boundary. But Lidar intensity is sensitive to road features, most of which are painted and produce higher reflectivity than the ground.

[0207] After the deep learning step, each image pixel is labeled as "lane" or "non-lane". In some embodiments, the HD map system uses a machine learning-based model that further classifies lanes into different types and takes into account other road features. The HD map system propagates these labels back to the OMap voxels, for example, to the lowest voxel in each column. At this point, the data has the same format as the camera-based method, and the system applies the same post-processing as described herein (including clustering, skeleton extraction, line fitting and cleaning, etc.) to create lane features.

[0208] Lane elements diagram

[0209] In some embodiments, the HD map system 100 generates a lane element graph representing a lane network to allow a vehicle to plan a legal route between a source and a destination. The lane element graph allows an autonomous vehicle to navigate through a mapped area. Each lane element is associated with traffic restrictions applicable to it, such as speed limits, speed bumps, and traffic signs and signals. The lane element graph represents a navigable road surface divided into lane elements and includes connectivity between lane elements (e.g., locations where a vehicle can travel from the current lane element) and semantic associations between lane elements and features (e.g., speed limit in the current lane element) to facilitate on-board route selection and planning needs. Lane elements are topologically connected, and each lane element is known to its subsequent, preceding, and left and right neighbors.

[0210] Lane elements are stored as fragments of a lane element graph. Within the lane element graph, individual lane elements are represented as nodes on the graph, with nodes connected to other nodes representing adjacent lane elements of the graph via edges. An edge connecting two lane elements indicates a physical connection between two lane elements that a vehicle can legally cross. For example, an edge between two lane elements may represent a white dashed line through which a vehicle can change lanes, but may not represent a central median strip through which a vehicle may not legally cross. In some embodiments, the boundaries between lane lines that a car cannot cross have a different representation than the aforementioned edges of the lane element graph. Additionally, within a geographic region, lane elements transition from a current lane element to a subsequent lane element. Similarly, crossing a boundary between two geographic regions and transitioning from a current geographic region to an adjacent geographic region, a lane element of the current geographic region also transitions to a lane element connected to the adjacent geographic region.

[0211] Fig.35 An example implementation of a lane element map module 470 according to one embodiment is shown. The lane element map module 470 generates a lane element map. The lane element map module 470 includes a lane cutting module 3510, a lane element module 3520, and a lane connector module 3530. Alternative implementations may include different or additional modules or omit one or more of the modules shown.

[0212] The lane cutting module 3510 generates lane cutting by analyzing lane lines and navigable boundaries. Lane lines represent the boundaries of lanes (e.g., explicitly marked by white and yellow stripes or implicit paths). Lane lines can be represented by head control points, tail control points, and line segments. Control points can include latitude, longitude, and altitude. Navigable boundaries represent the boundaries of the navigable road surface and are boundaries that vehicles should not cross or cross (e.g., edge of the road, edge of the central median, edge of the traffic island, etc.). Lane cutting is generated when there are topological changes in the road network (e.g., crossing, splitting, or merging of lanes) or when there are semantic changes in the lanes (e.g., changes in speed limits). Lane cutting crosses the width of the road, cutting the road into adjacent segments. Lane cutting ends at the navigable boundary. At Fig.37 An example process for the lane cutting module 3510 is described in more detail at .

[0213] The lane element module 3520 generates lane elements based on lane lines, navigable boundaries, and lane cutting segments. Lane lines and navigable boundaries can be generated based on image frames received from an imaging system mounted on the vehicle. A lane element (also called a cell or lane El) has left and right edges defined by lane lines or navigable boundaries. A lane element has a lower edge and an upper edge defined by a lane cutting segment. A lane element has 0 or 1 left and right neighbors and 0 or more former and latter neighbors. Each lane element can be associated with a feature that only affects the local lane element (e.g., a stop sign, a give way sign, or a traffic light). Additional details about generating lane elements will be described in. Fig.36 is discussed in the detailed description of .

[0214] The lane connector module 3530 generates a lane connector that is used to connect lane elements together and indicate where a vehicle can travel from the current lane element. In some embodiments, a human operator can draw a lane connector between lane elements at an intersection to annotate their connectivity to create the latter and former of a lane element. A lane element can be generated to represent the lane connector at the intersection, and the left and right edges of the lane element can be obtained from the geometry of the lane connector and the lane element it connects. In one embodiment, the lane connector module 3530 generates a lane connector using a tracking trajectory of a data collection vehicle at the intersection. The tracking trajectory represents a known path through the intersection. The lane connector module 3530 can simplify the tracking trajectory to find the centerline of the lane connector. The lane connector is generated according to a previously traversed route during the data collection trip. In other embodiments, the lane connector is generated by using template matching. The lane connector module 3530 can generate a library of intersection configurations in the real world or a collection of known intersection configurations. All such intersection configurations can be added to the library. Each configuration can be represented as a directed graph where nodes are lane elements entering / exiting the intersection and edges are lane connectors. Each node is labeled with a driving restriction. For example, the left lane element is labeled with an "L" and the lane element where the car can turn right or go straight through the intersection is labeled with an "RS". The edges are left / right neighbors and former / latter relationships. The intersection of the lane elements may already have some lane connectors inferred from the tracking trajectory. The remaining lane connectors can be inferred by finding the best match to one configuration in the configuration library. The lane connector module 3530 generates lane connectors for the lane elements in the intersection based on the known configuration that best matches the intersection. In one embodiment, a human operator can qualify the results and can modify the lane connectors after they are automatically inferred for quality assurance.

[0215] Fig.36is a flow chart illustrating an embodiment of a process for generating a connectivity graph of lane elements. The lane element graph module 470 identifies 3602 a lane cut based on lane lines and navigable boundaries. The lane cut lines and navigable boundaries are generated based on a plurality of received image frames from an imaging system mounted on a vehicle. The lane element graph module 470 divides the lane cut into 3604 lane cut segments across a single lane. For each lane cut segment, the lane element graph module 470 determines 3606 the boundaries of the lane element. The boundaries of the lane element include the lane cut segment as the lower edge of the lane element, the right and left edges of the lane element, and the upper edge of the lane element. In one embodiment, the lane element graph module 470 (i) identifies two lane lines that the lane cut segment intersects with and (ii) the corresponding lane cut segments that the two lane lines intersect with. In some embodiments, the lower edge or the upper edge may include two lane cut segments. In the case of a road split, the lane element graph module 470 (i) identifies two lane lines that the lane cut segment intersects with and (ii) the two lane cut segments that the two lane lines intersect with. Connecting two lane cutting segments forms the upper edge of the lane element and these two lane lines are the right edge and the left edge of the lane element. In the case of a road merge, the lane element graph module 470 (i) identifies a lane line with which the lane cutting segment intersects, (ii) an adjacent lane cutting segment with which the lane cutting segment does not intersect the lane line, (iii) an adjacent lane line with which the adjacent lane cutting segment intersects, and (iv) a lane line and an adjacent lane line intersect with a corresponding lane cutting segment. Connecting the lane cutting segment and the adjacent lane cutting segment to form the lower edge of the lane element, a lane line and an adjacent lane line form the right edge and the left edge of the lane element, and the corresponding lane cutting segment is the upper edge of the lane element. For each lane element, the lane element graph module 470 identifies 3608 subsequent lane elements. These subsequent lane elements that intersect can be identified by collecting the trajectory information of the vehicle through tracking data and connecting the lane elements based on the tracked trajectory information. Subsequent lane elements can be identified by creating a set of directed graphs based on known intersection configurations, where nodes are lane elements and edges are lane connectors. The intersection configuration of lane elements can be matched to a one-way graph in the set, which can be based in part on the lane elements of the intersection configuration, including some identified subsequent lane elements based on the tracked trajectory information. The lane elements of the intersection can be connected based on the known intersection configuration in the directed graph. A high-definition map of the local area can then be generated 3610, including a lane element map for use when driving one or more autonomous vehicles.

[0216] Lane Cut Generation

[0217] Fig.37is a flowchart showing an embodiment of a process for identifying lane cutting. In one embodiment, the lane cutting module QHX10 identifies or generates lane cutting. For each lane line, for each head and tail control point of the lane line, the following steps are performed. The lane cutting module 3510 projects 3702 rays perpendicular to the line segment. The head or tail control point of each lane line will be referred to as the origin of the ray. The ray extends from the origin of the ray. The lane cutting module 3510 calculates 3704 intersections of the ray with other nearby lane lines and navigable boundaries. The calculation is done in the same direction in which the ray extends. In some embodiments, the ray can be projected in a first direction and can be projected in a second direction. In response to the intersection being within a threshold distance (e.g., 1 meter) of the head or tail control point of the intersecting lane line, the lane cutting module 3510 connects the intersection to the head or tail control point of the intersecting lane line 3706. This avoids repeated cutting when multiple lanes stop unevenly at the intersection. The lane cutting module 3510 identifies 3708 qualified intersections for each ray. A qualified intersection is an intersection within a threshold distance from the ray origin. For example, assuming that the width of the road cannot exceed x meters, all intersections within this distance are considered qualified or qualified intersections. The lane cutting module 3510 sorts the intersections 3710 according to the ascending distance to the origin. Depending on which side the ray origin is on, the distance can be positive or negative to ensure the correct order of the intersections after they are sorted. The lane cutting module 3510 iterates 3712 between the sorted intersections starting from the origin and connects the intersections within a threshold distance (e.g., within 10 meters) to the previously visited intersections. The connected intersections form candidate lane cuts. Intersections with navigable boundaries terminate the cut. The lane cutting module 3510 sorts the candidate lane cuts 3714. The candidate lane cuts are sorted as follows: (i) if aligned with another lane cut, a lane cut with more intersections connected to the head or tail control points is ranked higher; (ii) if aligned with another lane cut, a lane cut with more intersections is ranked higher; and (iii) lane cuts with less curvature (measured by the maximum angle between consecutive segments) are ranked higher. The lane cut module 3510 selects 3716 a final lane cut from the sorted candidate lane cuts. The sorted candidate cuts are scrutinized and a lane cut is selected to select the final lane cut if and only if it does not overlap (i.e., does not share control points with the previously selected final lane cut).

[0218] Examples of lane lines and lane cuts

[0219] Figure 38 to Fig.40 Examples of lane lines and lane cuts are shown in Figures 38 and Fig.39Some exemplary lane lines 3810 (purple and white) and manually marked lane cuts 3820 (green) are shown. Figure 38 shows lane cuts at crosswalks and intersections (stop bars). Fig.38B Lane cut 38B20 is shown at a lane split. Fig.38C An example lane line 38C10 (purple and white, implicit dashed line) and a manually marked lane cut 38C20 (green) are shown. Fig.38C More complex lane cut examples are shown at lane merges and lane intersections. At least one vertex in each lane cut 3820 is located at the end of a lane line feature (explicit or implicit), which provides a fairly robust way to detect lane cuts.

[0220] Example of a lane element

[0221] Fig.39 Examples of lane elements 3940 (orange), lane boundaries 3920 (yellow), navigable boundaries 3912 (red), and lane cuts 3930 (green) are shown.

[0222] Fig.40 An example intersection is shown with a lane connector 4010 connecting lane elements 4020. The connectivity of the three lane elements 4020 can be calculated based on their spatial relationship. For example, an automatic template matching algorithm can be used to infer the connectivity of the lane elements at the intersection and automatically create the lane connector. Alternatively, a human can draw the lane connector.

[0223] Specific fields of the lane element can be the following: left lane line, right lane line, mention of incoming lane El, mention of outgoing lane El, mention of left and right adjacent lanes El (if any, note: it can be lane E1 traveling in the opposite direction, only considered adjacent if it is explicitly navigable, otherwise not considered adjacent if there is a curb or obstacle in between), left road restriction: whether it is legal to cross on the left, right lane restriction, termination restriction - semantic termination restriction for the outgoing end of outgoing lane E1 (e.g., stop line), speed limit, longitudinal spacing, keep clear, spatial limit, mention of relevant features (e.g., signs or lights), left and right navigable surface polylines.

[0224] End constraints are an enumeration of semantic end constraints for the end of a lane element. Examples include stop lines - which may be N-way stop lines, stop line positions that require reference to N-1 other stop lines, yield lines, crosswalks, traffic lights, blind spots, railroad crossings, keep clear, speed bumps, etc.

[0225] In some embodiments, lane elements are limited to a maximum length. Dividing lane elements into smaller lengths can make the processing and use of lane elements more efficient.

[0226] Example of a feature

[0227] Features are everything on the map that is drawn by a human operator or automatically generated. Features can be lane boundaries, navigable boundaries or lane elements, as well as traffic lights, traffic signs, etc. Each feature can include a list of control points and an interpolation method. The interpolation method can be one of polylines, bezier curves, etc., which describes how to insert geometry between control points. Primary features are features drawn by a human operator or automatically generated signs or lane boundaries. Primary features can also be automatically generated features that are further modified by a human operator. For example, a lane cut or lane connector can be generated by an automatic algorithm but then modified by a human operator during human planning. Examples of primary features are lane boundaries, crosswalks, stop lines, yield lines, traffic lights, and traffic signs. Derived features are features that are inferred and constructed from primary features. The properties of derived features depend on other features. In one embodiment, human operators are not allowed to directly add / modify derived features. An example of a derived feature type is a lane element.

[0228] It is difficult for human operators to manually update and validate lane element maps. Lane elements are aligned to lane boundaries and navigable boundaries. Changing one lane element can affect many of its neighbors. Adding a speed bump can cause many lane elements to be split. Adding a speed limit sign changes the properties of dozens or hundreds of lane elements.

[0229] Lane cuts can be primary features. Lane cuts cut out a cross section of the road. Counting the intersections between lane cuts and lane boundaries / navigable boundaries allows us to infer all the information about the road cross section: how many lanes there are, what the lane directions are, etc. Lane cuts are needed every time there is a change in the road: lane merges / splits, upcoming intersections or junctions, speed limit changes, speed bumps. In some simple cases, lane cuts can be generated automatically, for example, when encountering a speed limit sign, a ray orthogonal to the direction the sign is facing is shot to produce a lane cut. In some complex cases such as lane merges, human operators can accurately draw lane cuts.

[0230] Lane connectors can be a primary feature. At intersections, roads become complex and lane elements overlap. Lane cuts alone are not sufficient to describe road connectivity. Assuming lane elements are generated just before an intersection, lane connectors can be drawn by a human operator or automatically generated to describe how they connect through the intersection.

[0231] Fig.41It is shown that a lane element map is generated based on primary features and derived features. Primary features may include lane boundaries, navigable boundaries, lane cuts, lane connectors, and traffic signs, signals, speed bumps, etc. Note that lane cuts may be drawn by a user and may be primary features.

[0232] Example of lane element generation

[0233] Fig.42 An example of lane cuts and lane boundaries is shown for the purpose of illustrating the basic algorithm for lane element generation. The lane cuts are cut 1 and cut 2. The lane boundaries are lane 1, lane 2, middle lane, lane 3, lane 4, and lane 5.

[0234] In the algorithm for lane element generation, the system goes through each lane cut and divides the lane cut into segments based on the intersection between the lane cut and the lane boundaries. Cut 1 intersects Lane 1, Lane 2, Middle Lane, Lane 4, and Lane 5. Therefore, Cut 1 is divided into 4 lane cut segments C1_S1, C1_S2, C1_S3, and C1_S4. Note that for each segment, the traffic direction can be inferred based on the traffic direction of the lane boundaries. In this example, lane cut segments C1_S1 and C1_S2 are westward, while lane cut segments C1_S3 and C1_S4 are eastward. Cut 2 will be divided into lane cut segments C2_S1, C2_S2, C2_S3, and C2_S4 in a similar manner.

[0235] The system further goes through each lane cutting segment, where the lane cutting segment itself is used as the lower edge of the lane element and the system tracks the two lane boundaries intersecting the segment until another lane cutting segment is reached. The other lane cutting segment is the upper edge of the lane element. Parts of the two lane boundaries will be used as the left and right edges of the lane element. Thus, the complete geometric boundary of the lane element is obtained. For example, from lane cutting segment C1_S4, lane 4 and lane 5 are tracked to reach lane cutting segment C2_S4.

[0236] An example of a road split includes executing the algorithm from lane cut segment C2_S1. The right edge of C2_S1 (lane 1) is tracked until it reaches C1_S1. The left edge of C2_S1 (middle lane) is tracked until it reaches C1_S2. This lane element is the split region. Its cap or upper edge is formed by connecting C1_S1 and C1_S2, and this lane element will have two subsequent lane elements.

[0237] If we assume Fig.42An example of a road merge occurs when the direction of traffic in is reversed and the algorithm is executed from lane cut segment C1_S1. C1_S1 has no right edge to track, so the adjacent lane cut segment C1_S2 is used to get the right edge to track (the middle lane). The left edge is lane 1. Both the middle lane and lane 1 end at C2_S1. For this lane element, the lower edge will be C1_S1 connected to C1_S2 and the upper edge will be C2_S1.

[0238] The left and right neighbors of a lane element are obtained by using the property that adjacent lane elements share the same edge at the intersection.

[0239] In one embodiment, a divided lane or navigable boundary is connected to an implicit lane boundary. For example, on a driveway of a house, the curb (navigable boundary) is divided and can be connected to an implicit lane boundary formed at the lane boundary.

[0240] An alternative method to generate lane elements without the step of tracing lane lines to find the corresponding upper edge of the lane element is to solve an optimization problem and find the best match to minimize some cost function. Fig.42 The best match for the lane cut segments (lower and upper edges of lane elements) is:

[0241] C1_S1<->C2_S1

[0242] C1_S2<->C2_S1

[0243] C1_S3<->C2_S2

[0244] C1_S3<->C2_S3

[0245] C1_S4<->C4_S4

[0246] A simple cost function may be used to find a match based on whether the lane cutting segment shares a left lane edge or a right lane edge with another lane cutting segment and the distance between the lane cutting segments.

[0247] The algorithm can be executed in both immediate mode and batch mode. In immediate mode, the system can assume that a human operator has changed any major features and therefore the entire lane element map will be affected. The lane element generation algorithm must be rerun for fairly large areas (e.g., 100 meters by 100 meters). In one embodiment, a human operator can preview the changes to ensure accuracy. At this scale, the algorithm can build a complete map in a few seconds. In batch mode, the entire area (e.g., 50 miles by 50 miles) is done at once. Since the core algorithm processes each lane cut independently (e.g., each lane cut is tracked only in the direction of traffic and does not look back), in theory the work can be distributed into map reduction jobs and scale linearly with the number of machines provided. The algorithm is deterministic, so the preview of the lane element map in immediate mode is the same as the lane element map generated and sent to the vehicle in batch mode.

[0248] Example Lane Element Connectivity

[0249] Fig.43 An example of a T-intersection with two data collection trips from a vehicle is shown. The T-intersection includes six lane elements, lanes E11 to lane E16. In one data collection trip, the vehicle travels from lane E13 to lane E11. In another data collection trip, the vehicle travels from lane E12 to lane E15. Based on the tracked trajectory, a lane connector from lane E13 to lane E11 and a lane connector from lane E11 to lane E15 can be obtained. However, not all lane connectors can be obtained using the tracking trajectory because not all lane elements are traveled during the two data collection trips. At this stage, the remaining lane connectors in the intersection can be completed using a matching method with known intersection configurations (e.g., identifying the best match with a known intersection configuration in a set of known intersection configurations).

[0250] Traffic restriction related

[0251] In one embodiment, lane elements are annotated using another type of primary feature, associative links. Similar to lane connectors, associative links can connect a traffic light to the lane element it controls. In one embodiment, the system can infer which lane elements are controlled by a traffic light based on the geometric relationship of the lane elements to the traffic light. For example, this can be based on the traffic light orientation and distance. Associative links can also connect traffic signs to the lane elements it controls. Traffic signs such as yield signs, stop signs, and speed limits are similar to traffic lights. However, traffic signs do not always control all lanes in the same direction. Associative links are used to specify which lane element is controlled by a traffic sign.

[0252] Other considerations for lane cut generation

[0253] In one embodiment, lane cutting is automatically generated. When lane cutting is automatically generated, the lane cutting is not obtained from raw image pixels or lidar points (e.g., lane boundaries and navigable boundaries can be obtained from these features), but rather from lower-level features such as lane lines and navigable boundaries. Taking feature vectors rather than higher-level features as input greatly reduces the complexity of detecting changes in road topology. However, compared to other automated tasks (e.g., lane lines, traffic signs using raw image pixels or lidar points), the quality of the input features has a greater impact on the quality of the detected lane cutting. If the input lane line features are not well aligned with the road, are missing segments, or have non-existent extra segments, the output lane cutting may not be useful for generating a network diagram.

[0254] In one embodiment, lane cut generation occurs after all input features (i.e., explicit / implicit lane lines and navigable boundaries) have been curated. Although adding more complexity to the feature review workflow, since there are dependencies between feature types (lane lines and navigable boundaries are reviewed before lane cuts become available), topological changes in the road network can be detected with greater confidence, and detected lane cuts are more likely to be correct.

[0255] Topological changes in the road network are often accompanied by the termination of lane lines, either explicitly or implicitly. The height of the features does not affect the topology of the road network. All input features are projected to 2D by removing the height dimension from each control point, thus simplifying the computation. The height information of each control point is usually not discarded. With the mapping between each 2D control point and its height value, it can be saved separately. When the 2D lane cut features are projected back to the 3D OMap, this information may become useful at the output. Navigable boundaries terminate lane cuts. Connected intersections form candidate lane cuts.

[0256] For each lane cut in the final set, the height of each control point is calculated. Each control point on the lane cut is an intersection point with the input feature, whose height information is known. The intersection point falls between two control points on the input feature. The intersection point may include a parameter t, which measures the proximity of the intersection point to one control point relative to the other control point (i.e., if the intersection point is on the first control point, then t=0; if the intersection point is on the second control point, then t=1; otherwise t ranges between (0,1)). The interpolated height can be calculated at t based on the interpolation method associated with each input feature (e.g., Bezier curve) and the height information of the two control points. Therefore, the height at each lane cut control point can be calculated.

[0257] The ray does not come from the navigable boundary. The navigable boundary is used to intersect (and terminate) lane cuts. The navigable boundary is used to ensure that lane cuts do not extend into adjacent roads, which can happen if two roads are adjacent to each other.

[0258] To speed up this calculation, for each feature, a latitude / longitude bounding box is pre-computed that completely contains the feature. The system can only include a feature for intersection calculations if the ray origin is close to (or contained by) its bounding box. Since this process is done over a large area, this can filter out most features for intersection calculations.

[0259] Other considerations

[0260] A roundabout can be cut into segments with lane cuts to separate it into several intersections. For example, a four-way roundabout would be cut into 4 T-intersections. Lane connectors can be drawn for each T-intersection.

[0261] There may also be other traffic signs painted on the road surface, some examples are "Bus Lane", "Slow Down", "Keep Clear", etc. A polygon feature can be created for each of these traffic signs so that it can be geometrically inferred which lane elements are affected by them.

[0262] A road can end in a variety of ways - a driveway, a parking lot, a dead end lane, a cul-de-sac. For these cases, the final lane cut can be drawn before such a road end, and the lane cut can be marked with a special marker "ROAD_END".

[0263] Alternative Implementations

[0264] In an alternative embodiment, the lane generation process uses deep learning techniques to identify lane lines from photographic images and merge lane lines from multiple images into a single lane. The mapping between the two-dimensional representation and the three-dimensional representation of lane lines is performed by implementing triangulation techniques using stereo images. In some embodiments, lane line merging in instances such as intersections is performed during the process of generating a single lane line, rather than referencing the generation of a complete route. In addition, in some embodiments, the information is used to facilitate real-time lane line generation as the car travels along the path.

[0265] Computing machine architecture

[0266] Fig.44 is a block diagram showing components of an example machine capable of reading instructions from a machine-readable medium and executing the instructions in a processor (or controller). Specifically, Fig.44A diagrammatic representation of a machine in the example form of a computer system 4400 is shown within which instructions 4424 (e.g., software) may be executed to cause the machine to perform any one or more of the methodologies discussed herein. In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., using a network) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client user machine in a server-client user network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

[0267] The machine may be a server computer, a client computer, a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a smart phone, a network appliance, a network router, a switch or a bridge, or any machine capable of executing instructions 4424 (sequentially or otherwise) for specifying actions to be taken by the machine. In addition, while only a single machine is shown, the term "machine" should also be taken to include any collection of machines that individually or jointly execute instructions 4424 to perform any one or more of the methodologies discussed herein.

[0268] The example computer system 4400 includes a processor 4402 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), one or more application specific integrated circuits (ASICs), one or more radio frequency integrated circuits (RFICs), or any combination thereof), a main memory 4404, and a static memory 4406, which are configured to communicate with each other via a bus 4408. The computer system 4400 may also include a graphics display unit 4410 (e.g., a plasma display panel (PDP), a liquid crystal display (LCD), a projector, or a cathode ray tube (CRT)). The computer system 4400 may also include an alphanumeric input device 4412 (e.g., a keyboard), a cursor control device 4414 (e.g., a mouse, a trackball, a joystick, a motion sensor, or other pointing instrument), a storage unit 4416, a signal generating device 4418 (e.g., a speaker), and a network interface device 4420, which are also configured to communicate via the bus 4408.

[0269] The storage unit 4416 includes a machine-readable medium 4422 on which are stored instructions 4424 (e.g., software) that implement any one or more of the methods or functions described herein. The instructions 4424 (e.g., software) may also reside completely or at least partially within the main memory 4404 or within the processor 4402 (e.g., within a cache memory of the processor) during execution by the computer system 4400, the main memory 4404 and the processor 4402 also constituting machine-readable media. The instructions 4424 (e.g., software) may be sent or received over the network 4426 via the network interface device 4420.

[0270] Although the machine-readable medium 4422 is shown as a single medium in the example implementation, the term "machine-readable medium" should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, or associated caches and servers) that can store instructions (e.g., instructions 4424). The term "machine-readable medium" should also be taken to include any medium that can store instructions (e.g., instructions 4424) for execution by a machine and cause the machine to perform any one or more of the methods disclosed herein. The term "machine-readable medium" includes, but is not limited to, data repositories in the form of solid-state memory, optical media, and magnetic media.

[0271] Additional Configuration Considerations

[0272] The foregoing description of embodiments of the present invention has been presented for illustrative purposes; it is not intended to be exhaustive or to limit the invention to the precise form disclosed. Those skilled in the relevant art will appreciate that many modifications and variations are possible in light of the above disclosure.

[0273] For example, although the technology described herein is applied to autonomous vehicles, the technology may also be applied to other applications, such as for displaying HD maps for a vehicle with a driver, for displaying HD maps on a display of a client device such as a mobile phone, laptop, tablet, or any computing device with a display screen. The technology shown in this article may also be applied to displaying maps for computer simulation purposes, such as in a computer game, etc.

[0274] Some parts of this specification describe embodiments of the present invention in terms of algorithms and symbolic representations of operations on information. Those skilled in the art of data processing typically use these algorithmic descriptions and representations to effectively communicate the essence of their work to other technicians in the field. Although these operations are described functionally, computationally, or logically, they should be understood to be implemented by computer programs or equivalent circuits, microcodes, etc. In addition, without loss of generality, it is sometimes convenient to refer to the arrangement of these operations as modules. The described operations and their associated modules may be embodied as software, firmware, hardware, or any combination thereof.

[0275] Any step, operation or process described herein may be performed or implemented with one or more hardware or software modules, either alone or in combination with other devices. In one embodiment, the software module is implemented with a computer program product including a computer-readable medium containing computer program code, which may be executed by a computer processor to perform any or all of the steps, operations or processes described.

[0276] Embodiments of the present invention may also be directed to an apparatus for performing the operations described herein. The apparatus may be specially constructed for the desired purpose, and / or it may include a general-purpose computing device selectively activated or reconfigured by a computer program stored in a computer. Such a computer program may be stored in a tangible computer-readable storage medium or any type of medium suitable for storing electronic instructions, and coupled to a computer system bus. In addition, any computing system mentioned in the specification may include a single processor, or may be an architecture that employs multiple processor designs to increase computing power.

[0277] Embodiments of the present invention may also relate to computer data signals embodied in a carrier wave, wherein the computer data signal includes any embodiment of a computer program product or other data combination described herein. The computer data signal is a product presented in a tangible medium or carrier wave and modulated or otherwise encoded in a tangible carrier wave and transmitted according to any suitable transmission method.

[0278] Finally, the language used in the specification is selected primarily for readability and instructional purposes, and may not be selected to describe or limit the subject matter of the invention. Accordingly, it is intended that the scope of the invention be limited not by this detailed description, but by any claims filed on an application based thereon.

Claims

1. A method for representing traffic signs in a three-dimensional map, include: receiving an image captured by a camera mounted on an autonomous vehicle, the image including the traffic sign; identifying a portion of the image corresponding to the traffic sign; receiving a depth map including the traffic sign captured by a detection and ranging sensor, the depth map including a plurality of points, wherein each point describes a distance; constructing the three-dimensional map by mapping the plurality of points describing distances in the depth map into the three-dimensional map; identifying a subset of at least three points in the depth map corresponding to the traffic sign; fitting a plane in the three-dimensional map based at least in part on a subset of the at least three points corresponding to the traffic sign; projecting the portion of the image onto a fitted plane in the three-dimensional map, determining a type of the traffic sign based on a neural network analysis of the portion of the image; identifying one or more legal requirements associated with the type of traffic sign; and The type of the traffic sign and the one or more legal requirements are stored as attributes of the traffic sign, wherein the attributes of the traffic sign facilitate navigation of an autonomous vehicle.

2. The method according to claim 1, in, Identifying a portion of the image corresponding to the traffic sign includes: identifying a plurality of vertices of the traffic sign on the image; and A polygon having the plurality of vertices is determined as a portion of the image corresponding to the traffic sign.

3. The method according to claim 2, in, Projecting the portion of the image onto the plane in the three-dimensional map comprises, for each vertex: Determine a ray from the camera origin through the vertex; determining an intersection point of the ray with the plane in the three-dimensional map; as well as The vertices are mapped to the intersections in the three-dimensional map.

4. The method according to claim 1, in, The detection and ranging sensor is a light detection and ranging sensor (LIDAR) mounted on the vehicle.

5. The method according to claim 4, in, Capturing the depth map by the LIDAR includes merging multiple scans taken by the LIDAR to increase a total number of points in the plurality of points describing distances in the depth map.

6. The method according to claim 1, in, Constructing the three-dimensional map further includes: receiving a second depth map from a second detection and ranging sensor mounted on a second vehicle, the second depth map comprising a second plurality of points, wherein each point describes a distance; and The second plurality of points in the second depth map are mapped into the three-dimensional map.

7. The method according to claim 1, in, Identifying the subset of the at least three points in the depth map corresponding to the traffic sign further comprises: determining a bounding box on the depth map based in part on the portion of the image corresponding to the traffic sign; determining a minimum depth and a maximum depth of the depth map based at least in part on a size of a portion of the image corresponding to the traffic sign, wherein the traffic sign is within the minimum depth and the maximum depth; determining a frustum generated by the bounding box and the minimum depth and the maximum depth; and A subset of the at least three points from among the points in the depth map that exist within the frustum is identified.

8. The method according to claim 7, in, Identifying the subset of the at least three points in the depth map corresponding to the traffic sign further comprises: determining a first point of the plurality of points in the depth map that exists within the frustum at a minimum depth; and Two or more of the plurality of points in the depth map that are within a threshold depth of the first point of the plurality of points in the depth map are selected that are within the frustum.

9. The method according to claim 1, further comprising: include: determining text on the traffic sign based on a neural network analysis of characters on the portion of the image corresponding to the traffic sign; as well as The text on the traffic sign is stored as an attribute of the traffic sign in the three-dimensional map.

10. The method according to claim 1, in, Fitting a plane including the subset of the at least three points corresponding to the traffic sign in the three-dimensional map includes using random sample consensus (RANSAC) to determine a plane that fits the subset of the at least three points with high probability.

11. A method for representing traffic signs in a three-dimensional map, include: receiving an image captured by a camera mounted on an autonomous vehicle, the image including the traffic sign; identifying a portion of the image corresponding to the traffic sign; receiving a depth map including the traffic sign captured by a detection and ranging sensor, the depth map including a plurality of points, wherein each point describes a distance; constructing the three-dimensional map by mapping the plurality of points describing distances in the depth map into the three-dimensional map; identifying a subset of at least three points in the depth map corresponding to the traffic sign; fitting a plane in the three-dimensional map based at least in part on a subset of the at least three points corresponding to the traffic sign; projecting the portion of the image onto a fitted plane in the three-dimensional map; determining a type of the traffic sign based on a neural network analysis of the portion of the image; identifying one or more legal requirements associated with the type of traffic sign; and storing the type of the traffic sign and the one or more legal requirements as attributes of the traffic sign, wherein the attributes of the traffic sign are stored in the three-dimensional map; and Display of the three-dimensional map including the projected portion of the image corresponding to the traffic sign is provided via a graphical user interface on the vehicle.

12. The method according to claim 11, in, Identifying a portion of the image corresponding to the traffic sign includes: identifying a plurality of vertices of the traffic sign on the image; and A polygon having the plurality of vertices is determined as a portion of the image corresponding to the traffic sign.

13. The method according to claim 11, in, Projecting the portion of the image onto the plane in the three-dimensional map comprises, for each vertex: Determine a ray from the camera origin through the vertex; determining an intersection point of the ray with the plane in the three-dimensional map; as well as The vertices are mapped to the intersections in the three-dimensional map.

14. The method according to claim 11, in, Constructing the three-dimensional map further includes: receiving a second depth map from a second detection and ranging sensor mounted on a second vehicle, the second depth map comprising a second plurality of points, wherein each point describes a distance; and The second plurality of points in the second depth map are mapped into the three-dimensional map.

15. The method according to claim 11, in, Identifying a subset of at least three points in the depth map corresponding to the traffic sign further comprises: determining a bounding box on the depth map based in part on the portion of the image corresponding to the traffic sign; determining a minimum depth and a maximum depth of the depth map based at least in part on a size of a portion of the image corresponding to the traffic sign, wherein the traffic sign is within the minimum depth and the maximum depth; determining a frustum generated by the bounding box and the minimum depth and the maximum depth; and A subset of the at least three points from the depth map that are within the frustum is identified.

16. The method according to claim 15, in, Identifying a subset of at least three points in the depth map corresponding to the traffic sign further comprises: determining a first point of the plurality of points in the depth map that exists within the frustum at a minimum depth; and Two or more of the plurality of points in the depth map that are within a threshold depth of the first point of the plurality of points in the depth map are selected that are within the frustum.

17. The method according to claim 11, further comprising: include: determining text on the traffic sign based on a neural network analysis of characters on a portion of the image corresponding to the traffic sign; as well as The text on the traffic sign is stored as an attribute of the traffic sign in the three-dimensional map.

18. The method according to claim 11, in, Fitting a plane including the subset of the at least three points corresponding to the traffic sign in the three-dimensional map includes using random sample consensus (RANSAC) to determine a plane that fits the subset of the at least three points with high probability.

19. A method for generating lane lines in a high-definition map, include: receiving image data captured by a sensor of an autonomous vehicle traveling on a road, the image data representing a portion of the road; classifying pixels of the image to determine whether a particular pixel is located on a lane segment; identifying a set of points located on at least one of the lane line segments based on the classification; grouping the set of points into groups based on proximity of the points, wherein each group is determined to be associated with a lane segment; a centerline of each group of anchor points associated with a lane segment; Determining lane lines by connecting the plurality of center lines, the connecting associating endpoints of two center lines; and A high-definition map is generated based on the lane lines, where the high-definition map is used when driving an autonomous vehicle.

20. The method according to claim 19, in, Classifying pixels of the image to determine whether a particular pixel is located on a lane segment is based on a deep learning-based classification model.

21. The method according to claim 19, in, Identifying a set of points located on a particular lane segment includes calculating a probability that the points are located in the middle of the lane segment, the probability being determined based on the relative positions of the points to the lane segment.

22. The method according to claim 19, in, Identifying a set of points located on a particular lane line segment includes mapping between a three-dimensional representation of the portion of the road and a two-dimensional representation of the portion of the road.

23. The method according to claim 22, in, Each identified two-dimensional pixel is mapped to a 3D voxel, where the 3D voxel is a representation of a point in three-dimensional space.

24. The method according to claim 23, in, Mapping between the two-dimensional pixels and the 3D voxels includes iterating through a plurality of 3D voxels to identify corresponding two-dimensional pixels.

25. The method according to claim 22, in, Mapping between a three-dimensional representation and a two-dimensional representation also includes: Identify 3D points; Convert the three-dimensional point into camera coordinates; projecting the converted three-dimensional points onto an image captured by a camera mounted on the vehicle, wherein the converted points are mapped to pixels; and The pixel is associated with the three-dimensional point based on a probability that the pixel is located on the lane line.

26. The method according to claim 22, in, Mapping between the three-dimensional representation and the two-dimensional representation further includes calculating a probability of a three-dimensional voxel being on the lane segment based on the identified probability of the corresponding pixel being on the lane segment.

27. The method according to claim 19, in, Grouping the identified set of two-dimensional points into groups includes forming a set of points that are within a threshold distance of each other, wherein the threshold distance is greater than a lane line width and significantly less than a distance between two lane lines.

28. The method according to claim 19, in, Grouping the set of identified three-dimensional voxels into groups includes identifying skeleton points within each group of points, skeleton points being points located at the center of lane line segments.

29. The method according to claim 28, in, Identifying skeleton points also includes: identifying one or more subgroups that completely encompass a set of points; and A geometric center of each of the one or more subgroups is located.

30. The method according to claim 29, in, Grouping the set of identified three-dimensional points into groups further comprises: distinguishing between a plurality of different lane markings located within a specified proximity of each other; Calculating the local slope of each skeleton point using neighboring skeleton points within the same lane segment; and The skeleton points are grouped into lane line groups, and the grouping of the skeleton points is performed in consideration of distances between the skeleton points and differences between the local slopes.

31. The method according to claim 29, in, The center line of the positioning lane line group includes: generating a polyline representation of the lane line group, the polyline representation forming a connected sequence of skeleton points of a single lane line group; identifying outlier points from the polyline representation if any, the outlier points representing points that falsely suggest a change in direction of the lane line group; removing the identified outlier points; and The skeleton points between the endpoints of the lane line group are removed, and the removed points have no effect on the direction change of the lane group.

32. The method according to claim 29, in, Connecting two or more center lines of a lane line group into a complete lane line includes: Identifying adjacent endpoints of another lane segment that are within a specified distance of any endpoint of the identified lane segment; For each identified neighboring point, calculating a connectivity score associated with a nearest endpoint of the identified lane segment; Sort all connectivity scores; For each connection with a connectivity score, confirm that both endpoints are able to be used for the connection; confirming that the connection does not have a connection with any existing lane marking or an intersection with an existing lane marking; Selecting the connection with both confirmed conditions and the highest connectivity score; and The connection between these two lane marking segments is recorded.

33. The method according to claim 32, in, The connectivity score is based on one or more of the following: the distance between the identified lane segment and the lane segment containing the adjacent point, or The degree of change in direction between the identified lane line segment and the lane line segment containing the adjacent point.

34. The method according to claim 32, in, The connection is removed from the ranked list of connectivity scores in response to one or more of: It is not confirmed that both endpoints are available for connection, or it is not confirmed that the connection does not have an intersection with any existing lane markings.

35. The method according to claim 19, in, Classifying pixels is based on a machine learning model applied to an image generated from intensity values ​​obtained from a set of 3D voxels, wherein each 3D voxel in the set of 3D voxels is obtained from a point cloud representation of a region and represents a lowest 3D voxel in a column of 3D voxels.

36. The method according to claim 19, in, Classifying pixels involves: receiving an occupancy map of a portion of a geographic area, the occupancy map comprising a plurality of 3D voxels, wherein each voxel is associated with an intensity value and a color value, the plurality of 3D voxels being organized into one or more columns; For each of the one or more columns of 3D voxels, selecting the lowest 3D voxel in the column; Creating an image based on the lowest 3D voxel in the one or more columns of 3D voxels, the image comprising: a first image storing intensity values ​​of the lowest 3D voxel and a second image storing color values ​​of the lowest 3D voxel; and A determination is made based on a machine learning model as to whether each pixel of the created image belongs to a lane line or not.

37. A non-transitory computer readable storage medium having encoded thereon instructions for generating lane lines in a high definition map, the instructions, when executed by a processor, causing the processor to perform the following steps, include: receiving image data captured by a sensor of an autonomous vehicle traveling on a road, the image data representing a portion of the road; classifying pixels of the image to determine whether a particular pixel is located on a lane segment; identifying a set of points located on at least one of the lane line segments based on the classification; grouping the set of points into groups based on proximity of the points, wherein each group is determined to be associated with a lane segment; a centerline of each group of anchor points associated with a lane segment; Determining lane lines by connecting the plurality of center lines, the connecting associating endpoints of two center lines; and A high-definition map is generated based on the lane lines, where the high-definition map is used when driving an autonomous vehicle.

38. A computer system, include: processor; as well as A non-transitory computer-readable storage medium having encoded thereon instructions for generating lane lines in a high-definition map, the instructions, when executed by a processor, causing the processor to perform the following steps, comprising: receiving image data captured by a sensor of an autonomous vehicle traveling on a road, the image data representing a portion of the road; classifying pixels of the image to determine whether a particular pixel is located on a lane segment; identifying a set of points located on at least one of the lane line segments based on the classification; grouping the set of points into groups based on proximity of the points, wherein each group is determined to be associated with a lane segment; a centerline of each group of anchor points associated with a lane segment; Determining lane lines by connecting the plurality of center lines, the connecting associating endpoints of two center lines; and A high-definition map is generated based on the lane lines, where the high-definition map is used when driving an autonomous vehicle.

39. A non-transitory computer-readable storage medium having encoded thereon instructions which, when executed by a processor, cause the processor to perform the following steps, include: receiving a plurality of image frames from an imaging system mounted on the vehicle, each image frame being associated with a local area around the vehicle at a particular point in time; Generating a lane element map including lane elements and connections between lane elements, each lane element being a portion of a lane having an associated traffic restriction, wherein generating the lane element map comprises: Identifying a lane cut based on lane markings and navigable boundaries, wherein the lane markings and navigable boundaries are based at least in part on the plurality of image frames, and the lane cut occurs when a change in the road occurs, dividing the lane cut into lane cut segments, wherein each lane cut segment spans a single lane cut, For each lane cutting segment, determining a boundary of a lane element, wherein the boundary of the lane element includes at least the lane cutting segment as a lower edge of the lane element, a right edge and a left edge of the lane element, and an upper edge of the lane element, and For each lane element, identifying a subsequent lane element; and A high-definition map of the local area including the lane element map is generated based on the plurality of image frames, the high-definition map being used when driving one or more autonomous vehicles.

40. The non-transitory computer readable storage medium of claim 39, in, The instructions for determining the boundaries of a lane element include instructions for: identifying two lane lines with which the lane cutting segment intersects, wherein the two lane lines are a right edge and a left edge of the lane element; and A corresponding lane cutting segment at which the two lane lines intersect is identified, wherein the corresponding lane cutting segment is an upper edge of the lane element.

41. The non-transitory computer readable storage medium of claim 39, in, The instructions for determining the boundaries of a lane element include instructions for: identifying two lane lines with which the lane cutting segment intersects, wherein the two lane lines are a right edge and a left edge of the lane element; and Two lane cutting segments at which the two lane lines intersect are identified, wherein the two lane cutting segments are connected to form an upper edge of the lane element.

42. The non-transitory computer readable storage medium of claim 39, in, The instructions for determining the boundaries of a lane element include instructions for: Identifying a lane line with which the lane cutting segment intersects, wherein the lane line is one of a right edge or a left edge of the lane element; identifying adjacent lane cutting segments where they do not intersect lane markings; Identifying an adjacent lane line with which the adjacent lane cutting section intersects, wherein the adjacent lane line is the other one of the right edge or the left edge of the lane element; Identifying a corresponding lane cutting segment where the one lane line and the adjacent lane line intersect, wherein the corresponding lane cutting segment is an upper edge of the lane element; and The lane cutting segment is connected with the adjacent lane cutting segment to form a lower edge of a lane element.

43. The non-transitory computer readable storage medium of claim 39, in, The instructions for identifying a subsequent lane element include instructions for: Tracking data collects vehicle trajectory information; and Lane elements are connected based on the tracked trajectory information.

44. A computer system, include: processor; as well as A non-transitory computer-readable storage medium having encoded thereon instructions that, when executed by a processor, cause the processor to perform the following steps, comprising: receiving a plurality of image frames from an imaging system mounted on the vehicle, each image frame being associated with a local area around the vehicle at a particular point in time; Generating a lane element map including lane elements and connections between lane elements, each lane element being a portion of a lane having an associated traffic restriction, wherein generating the lane element map comprises: identifying a lane cut based on lane markings and navigable boundaries, wherein the lane markings and navigable boundaries are based at least in part on the plurality of image frames and the lane cut occurs when a change in roadway occurs, dividing the lane cut into lane cut segments, wherein each lane cut segment spans a single lane cut, For each lane cutting segment, determining a boundary of a lane element, wherein the boundary of the lane element includes at least the lane cutting segment as a lower edge of the lane element, a right edge and a left edge of the lane element, and an upper edge of the lane element, and For each lane element, identifying a subsequent lane element; and A high-definition map of the local area including the lane element map is generated based on the plurality of image frames, the high-definition map being used when driving one or more autonomous vehicles.

45. A method, include: receiving a plurality of image frames from an imaging system mounted on the vehicle, each image frame being associated with a local area around the vehicle at a particular point in time; Generating a lane element map including lane elements and connections between lane elements, each lane element being a portion of a lane having an associated traffic restriction, wherein generating the lane element map comprises: identifying a lane cut based on lane markings and navigable boundaries, wherein the lane markings and navigable boundaries are based at least in part on the plurality of image frames and the lane cut occurs when a change in roadway occurs, dividing the lane cut into lane cut segments, wherein each lane cut segment spans a single lane cut, For each lane cutting segment, determining a boundary of a lane element, wherein the boundary of the lane element includes at least the lane cutting segment as a lower edge of the lane element, a right edge and a left edge of the lane element, and an upper edge of the lane element, and For each lane element, identifying a subsequent lane element; and A high-definition map of the local area including the lane element map is generated based on the plurality of image frames, the high-definition map being used when driving one or more autonomous vehicles.