WO2020215254A1 - Lane line map maintenance method, electronic device and storage medium - Google Patents

Lane line map maintenance method, electronic device and storage medium Download PDF

Info

Publication number
WO2020215254A1
WO2020215254A1 PCT/CN2019/084115 CN2019084115W WO2020215254A1 WO 2020215254 A1 WO2020215254 A1 WO 2020215254A1 CN 2019084115 W CN2019084115 W CN 2019084115W WO 2020215254 A1 WO2020215254 A1 WO 2020215254A1
Authority
WO
WIPO (PCT)
Prior art keywords
lane line
map
area
point
preset range
Prior art date
Application number
PCT/CN2019/084115
Other languages
French (fr)
Chinese (zh)
Inventor
崔健
许睿
刘晓洋
唐蔚博
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/084115 priority Critical patent/WO2020215254A1/en
Priority to CN201980005584.2A priority patent/CN111316328A/en
Publication of WO2020215254A1 publication Critical patent/WO2020215254A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road

Definitions

  • the embodiments of the present application relate to the field of automatic driving technology, and in particular, to a maintenance method, electronic equipment, and storage medium of a lane line map.
  • An important aspect of automatic driving is the recognition and detection of lane lines.
  • the vehicle obtains the image of the environment around the vehicle through the equipped visual sensor, and uses methods such as image recognition to identify and detect the lane line in the image.
  • the lane line obtained by this method usually reflects a single line, and does not reflect the line shape of the actual lane line, such as single solid line, double yellow line, etc.; such lane lines with only lines cannot be provided for subsequent processing More accurate and intelligent decision-making basis.
  • the image obtained by the vision sensor only covers a certain part of the environment around the vehicle, the lane line obtained by the recognition and detection is only the result of the lane line in the local area around the vehicle. The image of the changed area needs to be continuously changed during the driving of the vehicle. The data is processed, which will cause a large amount of calculation and will also consume more memory resources.
  • the embodiments of the present application provide a method for maintaining a lane line map, an electronic device, and a storage medium.
  • an embodiment of the present application provides a method for maintaining a lane line map, including:
  • the preset range at least includes the range of the overlooking lane line map.
  • an embodiment of the present application provides a method for maintaining a lane line map, including:
  • a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
  • an embodiment of the present application provides a method for maintaining a lane line map, including:
  • the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is used to execute the computer program, specifically to execute:
  • the preset range at least includes the range of the overlooking lane line map.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is used to execute the computer program, specifically to execute:
  • a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
  • this application provides an electronic device according to an embodiment, including:
  • Memory used to store computer programs
  • the processor is used to execute the computer program, specifically to execute:
  • the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
  • an embodiment of the present application provides a vehicle, including a vehicle body and the electronic device according to any one of the fourth aspect to the sixth aspect installed on the vehicle body.
  • an embodiment of the present application provides a vehicle, including: a vehicle body and the electronic device according to any one of the fourth to sixth aspects installed on the vehicle body.
  • an embodiment of the present application provides a computer storage medium in which a computer program is stored, and the computer program, when executed, implements the lane marking according to any one of the first to third aspects. How to maintain the map.
  • the maintenance method, electronic equipment, and storage medium of the lane line map acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data; according to the environmental data and the lane line Area, generating an overlooked lane line map; according to the overlooking lane line map, updating a preset range of the lane line partial map; wherein the preset range includes at least the range of the overlooking lane line map.
  • the updated local map of the lane line with the preset range has a large visual range.
  • FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application
  • FIG. 2 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application
  • FIG. 3 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application
  • FIG. 4 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application
  • FIG. 5 is a schematic diagram of a partial map of lane lines involved in an embodiment of the application.
  • FIG. 6 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application
  • FIG. 7 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • FIG. 8 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • FIG. 9 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • FIG. 10 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application
  • FIG. 11 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • FIG. 13 is a schematic diagram of an electronic device provided by an embodiment of the application.
  • FIG. 14 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • 15 is a schematic diagram of the structure of a vehicle provided by an embodiment of the application.
  • FIG. 16 is a schematic structural diagram of a transportation tool provided by an embodiment of the application.
  • the method of the embodiment of the present application is applicable to technical fields such as computer vision and intelligent driving, and can realize the maintenance of the lane line map, thereby improving the safety of intelligent driving.
  • the image of the environment around the vehicle is usually obtained through the visual sensor mounted on the vehicle, and the lane line in the image is recognized and detected through methods such as image recognition. After the lane is detected, a lane line map is usually generated.
  • the lane line map contains lane line information in the world coordinate system, which is used to provide a basis for decision-making for the driving of the vehicle.
  • the lane line obtained by recognition and detection is only the result of the lane line within the visual range of the visual sensor around the vehicle.
  • the lane line map only includes the The detection result of the lane line within the visible range may be difficult to achieve accurate guidance to the intelligent driving vehicle, thereby reducing the safety of intelligent driving.
  • the lane line map may include accumulated lane line detection results to form a large-scale global lane line map. However, this will cause a great demand for vehicle calculation and storage resources, which may not be convenient for practical use.
  • FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application.
  • the application scenario of an embodiment of this application includes but is not limited to that shown in FIG. 1.
  • the intelligent driving vehicle includes sensors. During the driving of the intelligent driving vehicle, the sensor can collect the surrounding environment data. The vehicle can update the local map of the preset range of lane lines in real time according to the collected environment data. The updated partial map of the lane line of the preset range is used to plan the state of intelligent driving of the vehicle, such as changing lanes, decelerating, or parking, etc., so as to realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
  • FIG. 2 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
  • S101 Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
  • the execution subject of the embodiments of the present application is a device with a lane line maintenance function, such as a lane line maintenance device, hereinafter referred to as a maintenance device, which can be integrated in any electronic device as a part of the electronic device.
  • the maintenance device may also be a separate electronic device.
  • the electronic device may be an in-vehicle device, for example, an auxiliary driving device or an automatic driving device installed in a vehicle.
  • the maintenance device can also be directly integrated in the vehicle instead of in the form of a separate electronic device.
  • the maintenance device is a processing system inside an autonomous vehicle.
  • the execution subject is an electronic device as an example for description.
  • the electronic device of the embodiment of the present application is in communication connection with the sensor.
  • the sensor is installed on the vehicle and can send collected environmental data around the vehicle to the electronic device.
  • the electronic device processes the environmental data around the vehicle sent by the sensor to update A partial map of lane lines with a preset range.
  • the electronic device is communicatively connected with the intelligent driving system, and the electronic device can send the updated partial map of the lane line of the preset range to the intelligent driving system, so that the intelligent driving system can follow the updated lane line of the preset range Local maps are used for intelligent driving control of the vehicle.
  • the embodiment of the present application does not limit the way of identifying the lane line area based on the environmental data.
  • the environmental data is input into a trained neural network, and the neural network is input into the lane line area around the vehicle.
  • the overhead lane line map is an overhead lane line map generated based on environmental data detected by the sensor once. For example, when the sensor is an imaging device, the overhead lane line map corresponds to a lane line with a single frame image range.
  • this step may be that the electronic device projects the obtained environmental data to the bird's-eye view, and projects the lane line area obtained above to the bird's-eye view, and then generates an bird's-eye lane line map, which can be understood as a bird's-eye view Perspective.
  • the senor may specifically be a three-dimensional detection device, a vision sensor, etc., and a combination thereof.
  • the vision sensor may be an imaging device, and the point cloud sensor includes lidar, Time Of Flight (TOF) ranging detection Equipment, depth vision sensor and high resolution millimeter wave radar, etc.
  • TOF Time Of Flight
  • the above S101 includes step A1
  • the above step S102 includes step A2.
  • Step A1 Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
  • Step A2 according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
  • the environmental data is environmental point cloud data around the vehicle collected by the point cloud sensor, and the environmental point cloud data is three-dimensional data.
  • the device can identify the lane line area based on the environmental point cloud data.
  • the electronic device can generate an overlook lane map based on the environmental point cloud data and the identified lane line area.
  • the foregoing S101 includes steps B1 and B2, and the foregoing step S102 includes step B3.
  • Step B1 Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
  • Step B2 Identify the lane line area according to the environmental point cloud data and the environmental image.
  • Step B3 Generate an overhead lane line map based on the environmental point cloud data, the environmental image, and the lane line area.
  • the environmental data obtained above includes two parts, which are the environmental images around the vehicle collected by the vision sensor and
  • the point cloud sensor collects point cloud data around the vehicle.
  • the electronic device recognizes the lane line area around the vehicle based on the point cloud data and the environment image. Since the point cloud data is three-dimensional data, the environment image includes the line type information of the lane line. In this way, the electronic device can accurately generate an overlooking lane line map based on the point cloud data, the environment image, and the lane line area.
  • the above S101 includes step C1
  • the above step S102 includes step C2.
  • Step C1 Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
  • Step C2 according to the environment image and the lane line area, generate an overlooked lane line map.
  • the environmental data obtained above is the environmental image around the vehicle collected by the visual sensor.
  • the electronic device recognizes the lane line area in the environment image according to the environment image. Then, the electronic device can generate an overlook lane map based on the environment image and the lane line area.
  • the overhead lane line map generated above can be understood as the overhead lane line map at the current detection time, which is generated based on the environmental data collected by the sensor at the current detection time.
  • This step does not limit the specific size of the preset range, as long as it is ensured that the preset range at least includes the range of the overlook lane map, that is, the preset range is larger than the range of the overlook lane map.
  • the range of the overhead lane map is 100m in front of the vehicle, and the preset range includes 200m in front of the vehicle and 200m behind the vehicle.
  • the local lane line map of the preset range at the previous detection time is updated according to the overlooked lane line map at the current detection time obtained in the above steps, and the local lane line map of the preset range at the current detection time is obtained.
  • the overhead lane line map at the initial detection time can be directly used as the initial lane line partial map of the preset range. Then, as time goes by, when it comes to the next detection time, use the overlooked lane line map at the next detection time to update the initial lane line partial map of the preset range, and proceed in sequence to achieve the preset range of the lane line partial map Real-time updates.
  • the updated local map of the lane line of the preset range has a large visual range, including not only the information of the lane line at the current detection time, but also the information of the lane line at the historical time, based on the local map of the lane line with a large visible range
  • accurate guidance for smart driving can be realized, thereby improving the safety of smart driving.
  • the method for maintaining the lane line map acquires environmental data around the vehicle through sensors, and recognizes the lane line area according to the environmental data; generates an overlook lane line based on the environmental data and the lane line area Map; according to the overlooked lane line map, update a preset range of lane line partial maps; wherein the preset range includes at least the range of the overlooked lane line map.
  • the updated local map of the lane line with the preset range has a large visual range.
  • step C1 The specific process of generating an overlook lane map, that is, the above step C1 may include:
  • S201 Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the vision sensor is, for example, an imaging device.
  • the coordinate system of the environment image collected by the imaging device is not consistent with the world coordinate system of the bird's-eye view. Therefore, based on the environment image and the image lane line area, Before generating the overhead lane line map, the environment image needs to be projected to the overhead view world coordinate system. Therefore, the position conversion relationship between the environment image coordinate system and the overhead view world coordinate system needs to be determined.
  • the position conversion relationship can include a conversion matrix, etc. It is no wonder that the coordinate system conversion can be realized.
  • the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S201 may include the following steps:
  • S2011 Acquire calibration parameters of the vision sensor and posture information of the vehicle.
  • S2012 Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view according to the calibration parameters of the vision sensor and the posture information of the vehicle.
  • the vision sensor of the present application since the vision sensor of the present application is installed on the vehicle, the posture information of the vehicle has an influence on the imaging result of the vision sensor. Therefore, it is necessary to obtain the posture information of the vehicle at the current detection time. At the same time, the calibration parameters of the vision sensor need to be obtained.
  • the vehicle attitude information may include attitude information such as the pitch angle, roll angle, and yaw angle of the vehicle.
  • the calibration parameters of the imaging device include internal parameters and external parameters of the imaging device.
  • the electronic device determines the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view based on the posture information of the vehicle at the current detection time and the calibration parameters of the visual sensor.
  • S202 Convert the environment image and the lane line area of the image to the bird's-eye view world coordinate system according to the position conversion relationship.
  • S203 Generate an overhead lane line map according to the environment image and the lane line area of the image in the overhead view world coordinate system.
  • the environment image and the lane line area of the image are converted to the world coordinate system of the bird's-eye view according to the position conversion relationship.
  • an overlook lane line map can be generated based on the environment image in the bird's-eye view world coordinate system and the image lane line area in the bird's-eye view world coordinate system.
  • the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
  • FIG. 4 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. Based on the above-mentioned embodiment, the embodiment of the present application relates to the above-mentioned update of the lane line of the preset range based on the above-mentioned overlooking the lane line map
  • the specific process of the local map, the above S103 includes:
  • the above S300 is also included. , That is, move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time and the center of the vehicle meet the preset correspondence relationship, as shown in Figure 5 , So that the center of the local map of the lane line of the preset range at the previous detection time coincides with the center of the vehicle.
  • the foregoing S300 includes the following steps:
  • the electronic device is connected to the vehicle driving system and can obtain driving information such as the running speed of the vehicle from the vehicle driving system.
  • the electronic device obtains the displacement of the vehicle from the vehicle driving system from the previous detection time to the current detection time.
  • the electronic device obtains the running speed of the vehicle at the previous detection time and the current detection time from the vehicle driving system. According to these two operating speeds, and the time difference between the previous detection time and the current detection time, The displacement of the vehicle from the previous detection time to the current detection time.
  • the specific process of obtaining the local map of the lane line of the preset range at the current detection time includes the following steps S301 to S303.
  • S301 Determine a mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the predetermined range of the lane line local map at the previous detection time.
  • the coordinate system of each point on the map overlooking the lane line in the embodiment of the application is inconsistent with the coordinate system of each pixel on the local map of the lane line in the preset range at the previous detection time.
  • the previous detection time is updated using the determined overlooking lane line map.
  • mapping relationship map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlook lane line map The coordinates of the point in the local map of the lane line within the preset range.
  • the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line partial map can be obtained, so that the lane line with each lane line point in the overlooking lane line map in the preset range can be used
  • the coordinates in the local map are used to update the characteristic information of each lane line point on the local map of the preset range of the lane line at the previous detection time, and then obtain the lane line point on the local map of the preset range of the lane line at the current detection time Characteristic information.
  • the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the probability table of the lane line point, and the probability table includes that the lane line point belongs to Probability values of different linear categories.
  • the above-mentioned different linear types include at least one of solid lines, dashed lines, and diversion lines.
  • the feature information of each lane line point on the overlooked lane line map is used to update each lane line point on the lane line partial map of the preset range at the previous detection time.
  • Characteristic information including:
  • the dashed frame represents the range of the lane line partial map of the preset range at the previous detection time
  • the realized frame represents the range of the lane line local map of the preset range at the current detection time.
  • the range of the lane line partial map of the preset range at the current detection time at least includes the range of the overlooked lane line map. In this way, an area that does not overlap with the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the first area, such as the gray area in the solid line box in FIG. 5.
  • the area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the second area, such as the gray area in the dashed box in FIG.
  • the characteristic information of each lane line point in the second area is updated using the characteristic information of each lane line point in the first area.
  • the probability table of each lane line point in the first area can be used to update the probability table of each lane line point in the second area
  • the probability table includes the probability values of lane line points belonging to different linear categories.
  • step D the above S3033 can be replaced by step D.
  • Step D Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  • FIG. 5 includes multiple grids, each network can be understood as a data element, and a data element can be understood as a lane line point.
  • Z is the characteristic information of the lane line point in the first area
  • A is the characteristic information of the lane line point in the second area.
  • the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
  • A) is the probability that Z is established when A is given, also called the posterior probability of Z
  • Z) is the probability that A is established when Z is given, also called the posterior probability of A
  • the prior probability P(Z) is the prior probability of Z
  • P(A) is the prior probability of A.
  • step D can be replaced by step D1.
  • Step D1 based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
  • the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
  • the problem of the false failure noise of the lane line and the accumulated blur of the lane line caused by the positioning offset can be eliminated from the time sequence.
  • the probability table includes the probability value of the lane line point belonging to each of the n preset line shapes.
  • the lane line points in the second area include a set of linear states A0, A1,..., An, which are used to indicate that the location of the lane line point (that is, the data element) belongs to the line of different lanes.
  • the data A new lane line point observation value Z appears at the location of the yuan, so that formula (3) can be used to update the probability table of each lane line point in the second area using the probability table of each lane line point in the first area.
  • the line shape of the lane line point at the current detection time can be obtained, and then the line shape of the lane line can be obtained, which provides a more reliable basis for intelligent driving.
  • the method in the embodiment of the present application further includes:
  • the local lane line map of the preset range at the previous detection time and the overhead lane line map at the current detection time have an overlapping area, which is recorded as the third area.
  • the method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection According to the coordinates of each lane line point in the lane line map overlooking the lane line in the lane line local map of the preset range at the previous detection time, use the coordinates on the lane line map overlooking the lane line The feature information of the lane line points is updated to update the feature information of each lane line point on the lane line local map of the preset range at the previous detection time, and then the lane line local map of the preset range at the current detection time is obtained.
  • Fig. 6 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • the technical problem to be solved in this embodiment is that the lane line obtained by the existing method is usually only a single line and cannot reflect the actual lane.
  • the line shape of the line, such as single solid line, double yellow line, etc., such a lane line with only lines cannot provide more accurate and intelligent decision-making basis for subsequent processing.
  • the method of the embodiment of the present application includes:
  • S401 Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
  • S402 Generate an overlooked lane line map based on the environment data and the lane line area.
  • the above-mentioned sensor may specifically be a three-dimensional detection device and a vision sensor, etc., and a combination thereof.
  • the vision sensor may be an imaging device.
  • the point cloud sensor includes a lidar, an ultrasonic detection device, and a Time Of Flight (TOF) method. ) Ranging detection equipment, vision sensors and laser detection equipment, etc.
  • the above S401 includes step A1
  • the above step S402 includes step A2.
  • Step A1 Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
  • Step A2 according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
  • the above S401 includes steps B1 and B2, and the above step S402 includes step B3.
  • Step B1 Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
  • Step B2 Identify the lane line area according to the environmental point cloud data and the environmental image.
  • Step B3 Generate an overlook lane map based on the environmental point cloud data, the environmental image and the lane line area.
  • the above S401 includes step C1
  • the above step S402 includes step C2.
  • Step C1 Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
  • Step C2 according to the environment image and the lane line area, generate an overlooked lane line map.
  • both the overlooking lane line map and the lane line partial map of the preset range include multiple lane line points, and each lane line point can be understood as a data element, the characteristics of the lane line point
  • the information includes a probability table of lane line points, and the probability table includes the probability values of lane line points belonging to different linear categories.
  • the above-mentioned different linear types include at least one of solid lines, dashed lines, and diversion lines.
  • the probability table of the lane line point above includes the probability value that the lane line point belongs to each of the n preset line shapes.
  • the lane line points at the previous detection time include a set of linear states A0, A1,..., An, which are used to indicate that the location of the lane line point (ie, the data element) belongs to the line of different lanes.
  • a new lane line point observation value Z appears at the location of the data element, so that formula (3) can be used to update each lane line local map of the preset range at the previous detection time using the probability table of each lane line point in the overlooking lane line map
  • the probability table of lane line points obtains the probability table of each lane line point in the preset range of the lane line local map at the current detection time.
  • the problem of the false failure noise of the lane line and the accumulated blur of the lane line caused by the positioning offset can be eliminated from the time sequence.
  • the probability table of the lane line point at the current detection time can be obtained.
  • S404 Determine the line shape of the lane line according to the updated partial map of the lane line in the preset range.
  • each lane line point in the local map of the lane line of the preset range after the update includes a probability table belonging to a different line shape.
  • the lane line at the current detection time can be determined according to the probability table of each lane line point.
  • Linear For example, it can be determined that the lane line is a solid line, a dashed line, etc., because different lane lines have different driving meanings. This can provide more accurate decision-making basis for intelligent driving based on the detected line shape of the lane line, thereby improving Improve the reliability and safety of intelligent driving.
  • determining the line shape of the lane line according to the updated local map of the lane line in the preset range in S404 may include:
  • the probability table of each lane line point includes the probability values that the lane line point belongs to different linear categories, for example, the preset linear category is n categories, and the probability table includes the lane line point belonging to each of the n categories
  • the probability values of are, for example, P1, P2,..., Pn, and these probability values are processed to obtain a line shape corresponding to a probability value as the line shape of the lane line point. For example, take the line shape corresponding to the intermediate value of these probability values as the line shape of the lane line point, or compare the above-mentioned probability values with the preset value, and obtain the line shape corresponding to the probability value satisfying the preset value as the lane line The line shape of the point.
  • the line shape corresponding to the maximum probability value among the above probability values is determined as the line shape of the lane line point.
  • the maximum probability value is P2
  • the line shape corresponding to P2 is determined as The line shape of the lane line point.
  • the line shape of each lane line constituting the lane line can be used as the line shape of the lane line.
  • the environmental data around the vehicle is acquired through sensors, and the lane line area is identified according to the environmental data; an overlook lane line map is generated according to the environmental data and the lane line area;
  • the lane line map updates the local map of the lane line of the preset range, and accurately determines the line shape of the lane line according to the updated local map of the lane line of the preset range. In this way, a more accurate decision-making basis can be provided for intelligent driving according to the line shape of the detected lane line, thereby improving the reliability and safety of intelligent driving.
  • FIG. 7 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. Based on the embodiment shown in FIG. 6, the embodiment of the application relates to the foregoing step C1 according to the environment image and the image For the lane line area, the specific process of generating an overlooked lane line map, that is, the above step C1 may include:
  • S501 Determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S501 may include the following steps:
  • S5011 Acquire calibration parameters of the vision sensor and posture information of the vehicle.
  • S5012 Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view according to the calibration parameters of the vision sensor and the posture information of the vehicle.
  • S502 Convert the environment image and the lane line area of the image to the world coordinate system of the bird's-eye view according to the position conversion relationship.
  • S503 Generate an overlook lane line map according to the environment image and the lane line area of the image in the overlook map world coordinate system.
  • the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
  • FIG. 8 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • the embodiment of the present application relates to the foregoing update of the lane line of the preset range based on the above-mentioned overlooking the lane line map
  • the specific process of the local map, the above S403 includes:
  • the foregoing S600 includes the following steps:
  • the specific process of obtaining the local map of the lane line of the preset range at the current detection time includes the following steps S601 to S603.
  • S601 Determine a mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time.
  • mapping relationship map the world coordinates of each lane line point in the overlooking lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlooking lane line map The coordinates of the point in the local map of the lane line within the preset range.
  • the feature information of each lane line point on the overlooked lane line map is used to update each lane line point on the lane line partial map of the preset range at the previous detection time.
  • Characteristic information including:
  • S6033 Use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
  • step D the above S6033 can be replaced by step D.
  • Step D Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  • step D can be replaced by step D1.
  • Step D1 based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
  • the method in the embodiment of the present application further includes:
  • the method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection According to the coordinates of each lane line point in the lane line map overlooking the lane line in the lane line local map of the preset range at the previous detection time, use the coordinates on the lane line map overlooking the lane line The feature information of the lane line points is updated to update the feature information of each lane line point on the lane line local map of the preset range at the previous detection time, and then the lane line local map of the preset range at the current detection time is obtained.
  • Fig. 9 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • the technical problem to be solved by the embodiment of the application is that the existing method needs to continuously process the image data of the transformed area during the driving of the vehicle , This will cause a large amount of calculation and will also consume more memory resources.
  • the method of the embodiment of the present application includes:
  • S701 Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
  • S702 Generate an overlooked lane line map based on the environment data and the lane line area.
  • the senor may specifically be a three-dimensional detection device, a vision sensor, etc., and a combination thereof.
  • the vision sensor may be an imaging device.
  • the point cloud sensor includes lidar, ultrasonic detection equipment, and Time Of Flight (TOF). ) Ranging detection equipment, vision sensors and laser detection equipment, etc.
  • the above S701 includes step A1
  • the above step S702 includes step A2.
  • Step A1 Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
  • Step A2 according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
  • the foregoing S701 includes steps B1 and B2, and the foregoing step S702 includes step B3.
  • Step B1 Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
  • Step B2 Identify the lane line area according to the environmental point cloud data and the environmental image.
  • Step B3 Generate an overhead lane line map based on the environmental point cloud data, the environmental image, and the lane line area.
  • the above S701 includes step C1
  • the above step S702 includes step C2.
  • Step C1 Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
  • Step C2 according to the environment image and the lane line area, generate an overlooked lane line map.
  • the dashed frame represents the range of the lane line partial map of the preset range at the previous detection time
  • the realization box represents the range of the lane line local map of the preset range at the current detection time.
  • the range of the lane line partial map of the preset range at the current detection time at least includes the range of the overlooked lane line map.
  • an area that does not overlap with the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the first area, such as the gray area in the solid line box in FIG. 5.
  • the area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the second area, such as the gray area in the dashed box in FIG.
  • the local map of the lane line of the preset range at the previous detection time and the map of the overlooking lane line at the current detection time have an overlapping area, which is recorded as the third area.
  • the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  • the method of the embodiment of the present application obtains the first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooking lane line map, and the lane line partial of the preset range at the previous detection time
  • the second area on the map that does not overlap with the overlooking lane line map, and the third area where the lane line partial map of the preset range at the previous detection time overlaps with the overlooking lane line map; each lane line point in the first area is used
  • the feature information updates the feature information of each lane line point in the second area, and reuses the feature information of each lane line point in the third area.
  • FIG. 10 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • the embodiment of the present application relates to the foregoing step C1 according to the environment image and the image lane line area,
  • the specific process of generating an overlook lane map, that is, the above step C1 may include:
  • S801 Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S801 may include the following steps:
  • S802 According to the position conversion relationship, convert the environment image and the lane line area of the image to the bird's-eye view world coordinate system.
  • S803 Generate an overhead lane line map according to the environment image and the lane line area of the image in the overhead view world coordinate system.
  • the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
  • FIG. 11 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application.
  • the embodiment of this application relates to the above-mentioned updating the second by using the characteristic information of each lane line point in the first area
  • the feature information of each lane line point in the area, and the multiplexing of the feature information of each lane line point in the third area, the above S703 includes:
  • the foregoing S900 includes the following steps:
  • the feature information of each lane line point in the first area is used to update the specific information of each lane line point in the second area.
  • the process includes the following steps S901 to S903.
  • mapping relationship map the world coordinates of each lane line point in the overlooking lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlooking lane line map The coordinates of the point in the local map of the lane line within the preset range.
  • step D using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area in S903 can be replaced by step D.
  • Step D Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  • step D can be replaced by step D1.
  • Step D1 based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
  • the method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection
  • the feature information of each lane line point updates the feature information of each lane line point in the second area, so as to obtain a local lane line map of a preset range at the current detection time.
  • FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • an electronic device 200 of an embodiment of this application includes at least one memory 210 and at least one processor 220.
  • the memory 210 is used to store a computer program; the processor 220 is used to execute the computer program.
  • the processor 220 when executing the computer program, acquires environmental data around the vehicle through sensors, and recognizes the lane line area according to the environmental data; generates an overlook lane line map based on the environmental data and the lane line area;
  • the overlooked lane line map updates a preset range of the lane line partial map; wherein the preset range includes at least the range of the overlooked lane line map.
  • the above-mentioned sensor may be arranged on the electronic device 200 or outside the electronic device 200, and the sensor is in communication connection with the electronic device.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the senor includes a vision sensor
  • the processor 220 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  • the processor 220 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
  • the processor 220 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the processor 220 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
  • the processor 220 is specifically configured to move the lane line local map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle.
  • the center meets the preset correspondence relationship.
  • the processor 220 is specifically configured to obtain the displacement of the vehicle from the previous detection moment to the current detection moment; according to the displacement, move the preset value at the previous detection moment The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
  • the processor 220 is further configured to determine the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the previously detected local map of the lane line of the preset range.
  • the processor 220 is specifically configured to, according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection moment, Using the feature information of each lane line point on the overlooking lane line map, update the feature information of each lane line point on the lane line partial map of the preset range at the previous detection time.
  • the processor 220 is specifically configured to obtain a first area in the overlooking lane line map that does not overlap with the lane line partial map of the preset range at the previous detection time; The second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; the second area is updated using the characteristic information of each lane line point in the first area The characteristic information of each lane line point in.
  • the processor 220 is further configured to obtain a third area that overlaps the overlooked lane line map in the preset range of the lane line partial map at the previous detection time; Characteristic information of each lane line point in the third area.
  • the processor 220 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method. Characteristic information.
  • the processor 220 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
  • the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values of the lane line points belonging to different linear categories.
  • the different linear categories include at least one of a solid line, a dashed line, and a guide line.
  • the senor includes a point cloud sensor
  • the processor 220 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
  • the senor includes a vision sensor and a point cloud sensor
  • the processor 220 is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 13 is a schematic diagram of an electronic device provided by an embodiment of the application.
  • the electronic device 300 of the embodiment of the application includes at least one memory 310 and at least one processor 320.
  • the memory 310 is used to store a computer program; the processor 320 is used to execute the computer program.
  • the processor 230 is configured to execute the computer program, specifically for acquiring environmental data around the vehicle through sensors, and identifying a lane line area based on the environmental data; generating a bird’s eye view based on the environmental data and the lane line area Lane line map; according to the overlooked lane line map, update the lane line partial map of the preset range, and determine the line shape of the lane line according to the updated partial lane line map of the preset range.
  • the above-mentioned sensor may be arranged on the electronic device 300 or outside the electronic device 300, and the sensor is in communication connection with the electronic device.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the senor includes a vision sensor
  • the processor 320 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  • the processor 320 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
  • the processor 320 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the processor 320 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
  • the processor 320 is further configured to move the local lane line map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle.
  • the center meets the preset correspondence relationship.
  • the processor 320 is specifically configured to obtain the displacement of the vehicle from the previous detection time to the current detection time; according to the displacement, move the preset value at the previous detection time The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
  • the processor 320 is further configured to determine the mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the lane line local map of the preset range at the previous detection time.
  • the processor 320 is specifically configured to, according to the coordinates of each lane line point in the overlook lane line map in the preset range of the lane line local map at the previous detection time, Using the feature information of each lane line point on the overlooking lane line map, update the feature information of each lane line point on the lane line partial map of the preset range at the previous detection time.
  • the processor 320 is specifically configured to obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overhead lane line map; The second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; the second area is updated using the characteristic information of each lane line point in the first area The characteristic information of each lane line point in.
  • the processor 320 is further configured to obtain a third area that overlaps the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; Characteristic information of each lane line point in the third area.
  • the processor 320 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method Characteristic information.
  • the processor 320 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
  • the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values that the lane line points belong to different line shapes.
  • the different line shapes include at least one of a solid line, a dashed line, and a guide line.
  • the processor 320 is specifically configured to determine each lane line point according to the updated probability table of each lane line point in the lane line local map of the preset range The line shape of the lane line; the line shape of the lane line is determined according to the line shape of each lane line point.
  • the processor 320 is specifically configured to, for each lane line point in the updated lane line local map of the preset range, set the maximum probability table of the lane line point The line shape corresponding to the probability value is determined as the line shape of the lane line point.
  • the senor includes a point cloud sensor
  • the processor 320 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
  • the senor includes a vision sensor and a point cloud sensor
  • the processor 320 is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 14 is a schematic diagram of an electronic device provided by an embodiment of this application.
  • an electronic device 400 in an embodiment of this application includes at least one memory 410 and at least one processor 420.
  • the memory 410 is used to store a computer program; the processor 420 is used to execute the computer program.
  • the processor 430 is configured to execute the computer program, and is specifically configured to obtain environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data; generate a bird's eye view based on the environmental data and the lane line area Lane line map; acquiring the first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooked lane line map, and the lane line partial map of the preset range at the previous detection time A second area that does not overlap with the overhead lane line map, and a third area where the preset range of the lane line partial map at the previous detection time overlaps the overhead lane line map; use the first area
  • the feature information of each lane line point updates the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
  • the above-mentioned sensor may be arranged on the electronic device 400 or outside the electronic device 400, and the sensor is in communication connection with the electronic device.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the senor includes a vision sensor
  • the processor 430 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  • the processor 430 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
  • the processor 430 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
  • the processor 430 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
  • the processor 430 is further configured to move the local lane line map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle.
  • the center meets the preset correspondence relationship.
  • the processor 430 is specifically configured to obtain the displacement of the vehicle from the previous detection moment to the current detection moment; according to the displacement, move the preset value at the previous detection moment The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
  • the processor 430 is further configured to determine the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the lane line local map of the preset range at the previous detection time.
  • the processor 430 is specifically configured to, according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection moment, The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  • the processor 430 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method Characteristic information.
  • the processor 430 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
  • the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values that the lane line points belong to different line shapes.
  • the different line shapes include at least one of a solid line, a dashed line, and a guide line.
  • the senor includes a point cloud sensor
  • the processor 430 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
  • the senor includes a vision sensor and a point cloud sensor
  • the processor 430 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
  • the electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 15 is a schematic structural diagram of a vehicle provided by an embodiment of the application.
  • a vehicle 50 in this embodiment includes a body 51 and an electronic device 52 installed on the body 51.
  • the electronic device 52 is the electronic device of any one of FIGS. 12 to 14, and the electronic device 52 is used for the maintenance of the lane line map.
  • the electronic device 52 is installed on the roof of the vehicle body 51, and the sensor is installed on the vehicle body to collect environmental data around the vehicle.
  • the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
  • the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
  • the embodiment of the present application does not limit the installation position of the electronic device 52 on the body 51, which is specifically determined according to actual needs.
  • the vehicle of the embodiment of the present application can be used to implement the technical solution of the above-mentioned embodiment of the method for maintaining a lane line map, and its implementation principles and technical effects are similar, and will not be repeated here.
  • FIG. 16 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 16, the vehicle 60 of this embodiment includes: a vehicle body 61 and an electronic device 62 installed on the vehicle body 61.
  • the electronic device 62 is the electronic device shown in any one of FIGS. 12 to 14, and the electronic device 62 is used for maintaining lane lines.
  • the vehicle 60 in this embodiment may be a ship, automobile, bus, railway vehicle, aircraft, railway locomotive, scooter, bicycle, etc.
  • the electronic device 62 can be installed on the front, rear, or middle of the vehicle body 61, etc.
  • the embodiment of the present application does not limit the installation position of the electronic device 62 on the vehicle body 61, and is specifically determined according to actual needs.
  • the transportation tool of the embodiment of the present application can be used to implement the technical solutions of the above-mentioned maintenance method embodiment of the lane line map, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the embodiment of the present application also provides a computer storage medium, and the computer storage medium is used to store the computer software for the lane line maintenance.
  • the instructions when run on the computer, enable the computer to execute various possible lane line map maintenance methods in the foregoing method embodiments.
  • the processes or functions described in the embodiments of the present application can be generated in whole or in part.
  • the computer instructions can be stored in a computer storage medium, or transmitted from one computer storage medium to another computer storage medium, and the transmission can be transmitted to another by wireless (such as cellular communication, infrared, short-range wireless, microwave, etc.) Website site, computer, server or data center for transmission.
  • the computer storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, an SSD).
  • the embodiments of the present application also provide a computer storage medium in which program instructions are stored.
  • the program execution may include part or all of the steps of the lane line map maintenance method in the foregoing embodiments.
  • a person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

Disclosed are a lane line map maintenance method, an electronic device and a storage medium. The method comprises: acquiring environmental data around a vehicle by means of a sensor, and recognizing a lane line region according to the environmental data; generating an overhead lane line map according to the environmental data and the lane line region; and updating a local lane line map within a preset range according to the overhead lane line map, wherein the preset range at least comprises a range of the overhead lane line map. Thus, a visual range of the updated local lane line map within the preset range is large, and when intelligent driving is performed on the basis of the local lane line map with the large visual range, accurate guidance of intelligent driving can be realized, thereby improving the safety of intelligent driving.

Description

车道线地图的维护方法、电子设备与存储介质Maintenance method, electronic equipment and storage medium of lane line map 技术领域Technical field
本申请实施例涉及自动驾驶技术领域,尤其涉及一种车道线地图的维护方法、电子设备与存储介质。The embodiments of the present application relate to the field of automatic driving technology, and in particular, to a maintenance method, electronic equipment, and storage medium of a lane line map.
背景技术Background technique
随着自动驾驶技术的不断发展,通常的对传感器数据的处理已经不再能满足自动驾驶的需要。自动驾驶重要的一个方面是对车道线的识别检测,通常车辆通过搭载的视觉传感器获取车辆周围的环境图像,并通过图像识别等方法来识别检测出图像中的车道线。With the continuous development of autonomous driving technology, the usual processing of sensor data can no longer meet the needs of autonomous driving. An important aspect of automatic driving is the recognition and detection of lane lines. Usually, the vehicle obtains the image of the environment around the vehicle through the equipped visual sensor, and uses methods such as image recognition to identify and detect the lane line in the image.
然而,这种方法所得到的车道线反映出来通常只是单一的线条,并不能反映实际车道线的线形,例如单实线、双黄线等;这种仅得到线条的车道线无法给后续处理提供更准确智能的决策依据。并且,由于视觉传感器获取图像仅覆盖车辆周围的某一部分环境,其经过识别检测得到的车道线也只是车辆周围局部范围内的车道线结果,在车辆行驶过程中需要不断地对变换的区域的图像数据进行处理,这样会造成计算量较大,并且也会耗费更多的内存资源。However, the lane line obtained by this method usually reflects a single line, and does not reflect the line shape of the actual lane line, such as single solid line, double yellow line, etc.; such lane lines with only lines cannot be provided for subsequent processing More accurate and intelligent decision-making basis. Moreover, since the image obtained by the vision sensor only covers a certain part of the environment around the vehicle, the lane line obtained by the recognition and detection is only the result of the lane line in the local area around the vehicle. The image of the changed area needs to be continuously changed during the driving of the vehicle. The data is processed, which will cause a large amount of calculation and will also consume more memory resources.
发明内容Summary of the invention
本申请实施例提供一种车道线地图的维护方法、电子设备与存储介质。The embodiments of the present application provide a method for maintaining a lane line map, an electronic device, and a storage medium.
第一方面,本申请实施例提供一种车道线地图的维护方法,包括:In the first aspect, an embodiment of the present application provides a method for maintaining a lane line map, including:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;According to the overlooked lane line map, update the local lane line map of the preset range;
其中,所述预设范围至少包括所述俯瞰车道线地图的范围。Wherein, the preset range at least includes the range of the overlooking lane line map.
第二方面,本申请实施例提供一种车道线地图的维护方法,包括:In the second aspect, an embodiment of the present application provides a method for maintaining a lane line map, including:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。According to the overlooked lane line map, a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
第三方面,本申请实施例提供一种车道线地图的维护方法,包括:In a third aspect, an embodiment of the present application provides a method for maintaining a lane line map, including:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
获取所示俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图 不重叠的第一区域,以及前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的所述预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the shown overhead lane line map, and the lane line partial map of the preset range at the previous detection time is in line with the overlook A second area where the lane line map does not overlap, and a third area where the lane line partial map of the preset range at the previous detection time overlaps with the overhead lane line map;
使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,且复用所述第三区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
第四方面,本申请实施例提供一种电子设备,包括:In a fourth aspect, an embodiment of the present application provides an electronic device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;According to the overlooked lane line map, update the local lane line map of the preset range;
其中,所述预设范围至少包括所述俯瞰车道线地图的范围。Wherein, the preset range at least includes the range of the overlooking lane line map.
第五方面,本申请实施例提供一种电子设备,包括:In a fifth aspect, an embodiment of the present application provides an electronic device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。According to the overlooked lane line map, a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
第六方面,本申请是实施例提供一种电子设备,包括:In the sixth aspect, this application provides an electronic device according to an embodiment, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
获取所示俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的所述预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the shown overhead lane line map, and the lane line partial map of the preset range at the previous detection time is in line with the overlook A second area where the lane line map does not overlap, and a third area where the lane line partial map of the preset range at the previous detection time overlaps with the overhead lane line map;
使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,且复用所述第三区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
第七方面,本申请实施例提供一种车辆,包括:车身和安装在所述车身上的第四方面至第六方面任一项所述的电子设备。In a seventh aspect, an embodiment of the present application provides a vehicle, including a vehicle body and the electronic device according to any one of the fourth aspect to the sixth aspect installed on the vehicle body.
第八方面,本申请实施例提供一种交通工具,包括:交通工具本体和安装在所述交通工具本体上的第四方面至第六方面任一项所述的电子设备。In an eighth aspect, an embodiment of the present application provides a vehicle, including: a vehicle body and the electronic device according to any one of the fourth to sixth aspects installed on the vehicle body.
第九方面,本申请实施例提供一种一种计算机存储介质,所述存储介质中 存储计算机程序,所述计算机程序在执行时实现如第一方面至第三方面任一项所述的车道线地图的维护方法。In a ninth aspect, an embodiment of the present application provides a computer storage medium in which a computer program is stored, and the computer program, when executed, implements the lane marking according to any one of the first to third aspects. How to maintain the map.
本申请实施例提供的车道线地图的维护方法、电子设备与存储介质,通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;其中,所述预设范围至少包括所述俯瞰车道线地图的范围。这样更新后的预设范围的车道线局部地图,其可视范围大,基于该可视范围大的车道线局部地图进行智能驾驶时,可以实现对智能驾驶的准确指导,进而提高智能驾驶的安全性。The maintenance method, electronic equipment, and storage medium of the lane line map provided by the embodiments of the present application acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data; according to the environmental data and the lane line Area, generating an overlooked lane line map; according to the overlooking lane line map, updating a preset range of the lane line partial map; wherein the preset range includes at least the range of the overlooking lane line map. In this way, the updated local map of the lane line with the preset range has a large visual range. When intelligent driving is performed based on the local map of the lane line with the large visual range, accurate guidance for intelligent driving can be realized, thereby improving the safety of intelligent driving. Sex.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例涉及的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application;
图2为本申请实施例提供的车道线地图的维护方法的流程;FIG. 2 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图3为本申请实施例提供的车道线地图的维护方法的流程图;3 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图4为本申请实施例提供的车道线地图的维护方法的流程图;4 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图5为本申请实施例涉及的车道线局部地图的一种示意图;FIG. 5 is a schematic diagram of a partial map of lane lines involved in an embodiment of the application;
图6为本申请实施例提供的车道线地图的维护方法的流程图;6 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图7为本申请实施例提供的车道线地图的维护方法的流程图;FIG. 7 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图8为本申请实施例提供的车道线地图的维护方法的流程图;8 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图9为本申请实施例提供的车道线地图的维护方法的流程图;FIG. 9 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图10为本申请实施例提供的车道线地图的维护方法的流程图;10 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图11为本申请实施例提供的车道线地图的维护方法的流程图;11 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application;
图12为本申请实施例提供的电子设备的一种示意图;FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of this application;
图13为本申请实施例提供的电子设备的一种示意图;FIG. 13 is a schematic diagram of an electronic device provided by an embodiment of the application;
图14为本申请实施例提供的电子设备的一种示意图;FIG. 14 is a schematic diagram of an electronic device provided by an embodiment of this application;
图15为本申请实施例提供的车辆的结构示意图;15 is a schematic diagram of the structure of a vehicle provided by an embodiment of the application;
图16为本申请实施例提供的交通工具的结构示意图。FIG. 16 is a schematic structural diagram of a transportation tool provided by an embodiment of the application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
本申请实施例的方法适用于计算机视觉、智能驾驶等技术领域,可以实现对车道线地图的维护,进而提高智能驾驶的安全性。The method of the embodiment of the present application is applicable to technical fields such as computer vision and intelligent driving, and can realize the maintenance of the lane line map, thereby improving the safety of intelligent driving.
目前,通常通过车辆搭载的视觉传感器来获取车辆周围的环境图像,并通过图像识别等方法来识别检测出图像中的车道线。检测出车道后通常会生成车道线地图,车道线地图包含有世界坐标系下的车道线信息,用于为车辆的行驶提供决策的依据。At present, the image of the environment around the vehicle is usually obtained through the visual sensor mounted on the vehicle, and the lane line in the image is recognized and detected through methods such as image recognition. After the lane is detected, a lane line map is usually generated. The lane line map contains lane line information in the world coordinate system, which is used to provide a basis for decision-making for the driving of the vehicle.
但是,由于视觉传感器获取的图像仅覆盖车辆周围的某一部分环境,其经过识别检测得到的车道线也只是车辆周围视觉传感器可视范围内的车道线结果,在一些情况下车道线地图只包括该可视范围内的车道线检测结果,则可能难以实现对智能驾驶车辆的准确指导,进而降低了智能驾驶的安全性。在另一些情况下,车道线地图可能包括累积的车道线检测结果来形成大范围的车道线全局地图,然而这样会对车辆的计算及存储资源造成很大的需求,从而可能不便于实际使用。However, because the image obtained by the vision sensor only covers a certain part of the environment around the vehicle, the lane line obtained by recognition and detection is only the result of the lane line within the visual range of the visual sensor around the vehicle. In some cases, the lane line map only includes the The detection result of the lane line within the visible range may be difficult to achieve accurate guidance to the intelligent driving vehicle, thereby reducing the safety of intelligent driving. In other cases, the lane line map may include accumulated lane line detection results to form a large-scale global lane line map. However, this will cause a great demand for vehicle calculation and storage resources, which may not be convenient for practical use.
图1为本申请实施例涉及的一种应用场景示意图,需要说明的是,本申请实施例的应用场景包括但不限于图1所示。如图1所示,智能驾驶车辆包括传感器,智能驾驶车辆在行驶过程中,传感器可以对周围的环境数据进行采集,车辆可以根据采集的环境数据实时更新预设范围的车道线局部地图,并根据更新后的预设范围的车道线局部地图来规划车辆智能驾驶的状态,例如变道、减速或者停车等,进而实现对智能驾驶的准确指导,进而提高了智能驾驶的安全性。FIG. 1 is a schematic diagram of an application scenario involved in an embodiment of this application. It should be noted that the application scenario of an embodiment of this application includes but is not limited to that shown in FIG. 1. As shown in Figure 1, the intelligent driving vehicle includes sensors. During the driving of the intelligent driving vehicle, the sensor can collect the surrounding environment data. The vehicle can update the local map of the preset range of lane lines in real time according to the collected environment data. The updated partial map of the lane line of the preset range is used to plan the state of intelligent driving of the vehicle, such as changing lanes, decelerating, or parking, etc., so as to realize accurate guidance for intelligent driving, thereby improving the safety of intelligent driving.
下面以具体地实施例对本申请的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图2为本申请实施例提供的车道线地图的维护方法的流程图,如图2所示,本申请实施例的方法包括:FIG. 2 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. As shown in FIG. 2, the method of the embodiment of the application includes:
S101、通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域。S101: Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
本申请实施例的执行主体为具有车道线维护功能的装置,例如为车道线维护装置,以下简称维护装置,该维护装置可以集成在任一电子设备中,作为电子设备的一部分。可选的,该维护装置还可以是单独的电子设备。该电子设备可以为车载设备,例如为安装在车辆中辅助驾驶设备或者自动驾驶设备等。The execution subject of the embodiments of the present application is a device with a lane line maintenance function, such as a lane line maintenance device, hereinafter referred to as a maintenance device, which can be integrated in any electronic device as a part of the electronic device. Optionally, the maintenance device may also be a separate electronic device. The electronic device may be an in-vehicle device, for example, an auxiliary driving device or an automatic driving device installed in a vehicle.
可选的,该维护装置还可以直接集成于车辆中而非单独的电子设备的形式。例如该维护装置为自动驾驶车辆内部的处理系统。Optionally, the maintenance device can also be directly integrated in the vehicle instead of in the form of a separate electronic device. For example, the maintenance device is a processing system inside an autonomous vehicle.
下面以执行主体为电子设备为例进行说明。In the following, the execution subject is an electronic device as an example for description.
本申请实施例的电子设备与传感器通信连接,该传感器安装在车辆上,可以将采集的车辆周围的环境数据发送给电子设备,该电子设备对传感器发送的车辆周围的环境数据进行处理,以更新预设范围的车道线局部地图。The electronic device of the embodiment of the present application is in communication connection with the sensor. The sensor is installed on the vehicle and can send collected environmental data around the vehicle to the electronic device. The electronic device processes the environmental data around the vehicle sent by the sensor to update A partial map of lane lines with a preset range.
可选的,该电子设备与智能驾驶系统通信连接,电子设备可以将更新后的预设范围的车道线局部地图发送给智能驾驶系统,以使智能驾驶系统根据更新后的预设范围的车道线局部地图来对车辆进行智能驾驶控制。Optionally, the electronic device is communicatively connected with the intelligent driving system, and the electronic device can send the updated partial map of the lane line of the preset range to the intelligent driving system, so that the intelligent driving system can follow the updated lane line of the preset range Local maps are used for intelligent driving control of the vehicle.
本申请实施例对根据环境数据识别出车道线区域的方式不做限制,例如将环 境数据输入训练好的神经网络中,该神经网络输入车辆周围的车道线区域。The embodiment of the present application does not limit the way of identifying the lane line area based on the environmental data. For example, the environmental data is input into a trained neural network, and the neural network is input into the lane line area around the vehicle.
S102、根据所述环境数据及所述车道线区域,生成俯瞰车道线地图。S102. Generate an overlooked lane line map according to the environment data and the lane line area.
根据上述步骤,识别出车辆周围的车道线区域,这样根据车辆周围的环境数据和车道线区域,可以生成俯瞰车道线地图。该俯瞰车道线地图为基于传感器一次检测到的环境数据,生成的俯瞰车道线地图。例如,传感器为成像装置时,该俯瞰车道线地图对应单帧图像范围大小的车道线。According to the above steps, the lane line area around the vehicle is identified, so that based on the environment data around the vehicle and the lane line area, an overlooked lane line map can be generated. The overhead lane line map is an overhead lane line map generated based on environmental data detected by the sensor once. For example, when the sensor is an imaging device, the overhead lane line map corresponds to a lane line with a single frame image range.
示例性的,本步骤可以是,电子设备将获得的环境数据投影至俯瞰视角下,并将上述获得的车道线区域投影至俯瞰视角下,进而生成俯瞰车道线地图,该俯瞰视角可以理解为俯视图视角。Exemplarily, this step may be that the electronic device projects the obtained environmental data to the bird's-eye view, and projects the lane line area obtained above to the bird's-eye view, and then generates an bird's-eye lane line map, which can be understood as a bird's-eye view Perspective.
可选的,该传感器具体可以是三维检测设备和视觉传感器等及其组合,视觉传感器可以为成像装置,点云传感器包括激光雷达、飞行时间测距法(Time Of Flight,简称TOF)测距检测设备、深度视觉传感器和高分辨率毫米波雷达等。Optionally, the sensor may specifically be a three-dimensional detection device, a vision sensor, etc., and a combination thereof. The vision sensor may be an imaging device, and the point cloud sensor includes lidar, Time Of Flight (TOF) ranging detection Equipment, depth vision sensor and high resolution millimeter wave radar, etc.
在一种可能的实现方式中,若传感器为点云传感器时,上述S101包括步骤A1,上述步骤S102包括步骤A2。In a possible implementation manner, if the sensor is a point cloud sensor, the above S101 includes step A1, and the above step S102 includes step A2.
步骤A1、通过所述点云传感器达获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域。Step A1: Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
步骤A2、根据所述环境点云数据及所述车道线区域,生成俯瞰车道线地图。Step A2, according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
具体的,该实现方式中,若上述传感器为点云传感器,例如为激光雷达时,上述环境数据为点云传感器采集到的车辆周围的环境点云数据,该环境点云数据为三维数据,电子设备基于该环境点云数据可以识别出车道线区域。同时,电子设备根据该环境点云数据和识别出的车道线区域,可以生成俯瞰车道线地图。Specifically, in this implementation, if the sensor is a point cloud sensor, such as a lidar, the environmental data is environmental point cloud data around the vehicle collected by the point cloud sensor, and the environmental point cloud data is three-dimensional data. The device can identify the lane line area based on the environmental point cloud data. At the same time, the electronic device can generate an overlook lane map based on the environmental point cloud data and the identified lane line area.
在另一种可能的实现方式中,若传感器为视觉传感器和点云传感器时,上述S101包括步骤B1和B2,上述步骤S102包括步骤B3。In another possible implementation manner, if the sensor is a vision sensor and a point cloud sensor, the foregoing S101 includes steps B1 and B2, and the foregoing step S102 includes step B3.
步骤B1、通过所述视觉传感器获取所述车辆周围的环境图像,通过所述三维检测数据获取所述车辆周围的环境点云数据。Step B1: Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
步骤B2、根据所述环境点云数据和所述环境图像识别出所述车道线区域。Step B2: Identify the lane line area according to the environmental point cloud data and the environmental image.
步骤B3、根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。Step B3: Generate an overhead lane line map based on the environmental point cloud data, the environmental image, and the lane line area.
具体的,该实现方式中,若传感器包括视觉传感器(例如成像装置)和点云传感器(例如激光雷达),这样上述获得的环境数据包括两部分,分别为视觉传感器采集的车辆周围的环境图像和点云传感器出采集的车辆周围的点云数据。电子设备根据该点云数据和环境图像,识别出车辆周围的车道线区域。由于该点云数据为三维数据,环境图像包括车道线的线型信息,这样,电子设备根据点云数据和环境图像,以及车道线区域,可以准确生成俯瞰车道线地图。Specifically, in this implementation, if the sensor includes a vision sensor (such as an imaging device) and a point cloud sensor (such as a lidar), the environmental data obtained above includes two parts, which are the environmental images around the vehicle collected by the vision sensor and The point cloud sensor collects point cloud data around the vehicle. The electronic device recognizes the lane line area around the vehicle based on the point cloud data and the environment image. Since the point cloud data is three-dimensional data, the environment image includes the line type information of the lane line. In this way, the electronic device can accurately generate an overlooking lane line map based on the point cloud data, the environment image, and the lane line area.
在又一种可能的实现方式中,若传感器为视觉传感器时,上述S101包括步骤C1,上述步骤S102包括步骤C2。In another possible implementation manner, if the sensor is a vision sensor, the above S101 includes step C1, and the above step S102 includes step C2.
步骤C1、通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域。Step C1: Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
步骤C2、根据所述环境图像及所述车道线区域,生成俯瞰车道线地图。Step C2, according to the environment image and the lane line area, generate an overlooked lane line map.
具体的,该实现方式中,若传感器为视觉传感器(例如成像装置),这样上述获得的环境数据为视觉传感器采集的车辆周围的环境图像。电子设备根据该环境图像,识别出该环境图像中的车道线区域。接着,电子设备根据环境图像和车道线区域,可以生成俯瞰车道线地图。Specifically, in this implementation manner, if the sensor is a visual sensor (for example, an imaging device), the environmental data obtained above is the environmental image around the vehicle collected by the visual sensor. The electronic device recognizes the lane line area in the environment image according to the environment image. Then, the electronic device can generate an overlook lane map based on the environment image and the lane line area.
上述生成的俯瞰车道线地图可以理解为当前检测时刻的俯瞰车道线地图,该当前时刻的俯瞰车道线地图为根据传感器在当前检测时刻采集的环境数据生成的。The overhead lane line map generated above can be understood as the overhead lane line map at the current detection time, which is generated based on the environmental data collected by the sensor at the current detection time.
S103、根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;其中,所述预设范围至少包括所述俯瞰车道线地图的范围。S103. Update a preset range of a partial lane line map according to the overlooked lane line map; wherein the preset range includes at least a range of the overlooked lane line map.
本步骤对预设范围的具体大小不做限制,只要保证预设范围至少包括俯瞰车道线地图的范围即可,即预设范围大于俯瞰车道线地图的范围。例如,俯瞰车道线地图的范围为车前100m的范围,而预设范围包括车前200m和车后200m。This step does not limit the specific size of the preset range, as long as it is ensured that the preset range at least includes the range of the overlook lane map, that is, the preset range is larger than the range of the overlook lane map. For example, the range of the overhead lane map is 100m in front of the vehicle, and the preset range includes 200m in front of the vehicle and 200m behind the vehicle.
这样,根据上述步骤获得的当前检测时刻的俯瞰车道线地图,来更新前一检测时刻的预设范围的车道线局部地图,进而获得当前检测时刻的预设范围的车道线局部地图。In this way, the local lane line map of the preset range at the previous detection time is updated according to the overlooked lane line map at the current detection time obtained in the above steps, and the local lane line map of the preset range at the current detection time is obtained.
可选的,若当前检测时刻为初始检测时刻,则可以直接将初始检测时刻的俯瞰车道线地图作为预设范围的初始车道线局部地图。接着,随着时间推移,到下一检测时刻时,使用下一检测时刻的俯瞰车道线地图来更新预设范围的初始车道线局部地图,依次进行,可以实现对预设范围的车道线局部地图的实时更新。这样更新后的预设范围的车道线局部地图,可视范围大,不仅包括当前检测时刻的车道线的信息,还包括历史时刻的车道线的信息,基于该可视范围大的车道线局部地图进行智能驾驶时,可以实现对智能驾驶的准确指导,进而提高智能驾驶的安全性。Optionally, if the current detection time is the initial detection time, the overhead lane line map at the initial detection time can be directly used as the initial lane line partial map of the preset range. Then, as time goes by, when it comes to the next detection time, use the overlooked lane line map at the next detection time to update the initial lane line partial map of the preset range, and proceed in sequence to achieve the preset range of the lane line partial map Real-time updates. In this way, the updated local map of the lane line of the preset range has a large visual range, including not only the information of the lane line at the current detection time, but also the information of the lane line at the historical time, based on the local map of the lane line with a large visible range When performing smart driving, accurate guidance for smart driving can be realized, thereby improving the safety of smart driving.
本申请实施例提供的车道线地图的维护方法,通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;其中,所述预设范围至少包括所述俯瞰车道线地图的范围。这样更新后的预设范围的车道线局部地图,其可视范围大,基于该可视范围大的车道线局部地图进行智能驾驶时,可以实现对智能驾驶的准确指导,进而提高智能驾驶的安全性。The method for maintaining the lane line map provided by the embodiment of the present application acquires environmental data around the vehicle through sensors, and recognizes the lane line area according to the environmental data; generates an overlook lane line based on the environmental data and the lane line area Map; according to the overlooked lane line map, update a preset range of lane line partial maps; wherein the preset range includes at least the range of the overlooked lane line map. In this way, the updated local map of the lane line with the preset range has a large visual range. When intelligent driving is performed based on the local map of the lane line with the large visual range, accurate guidance for intelligent driving can be realized, thereby improving the safety of intelligent driving. Sex.
图3为本申请实施例提供的车道线地图的维护方法的流程图,在上述实施例的基础上,本申请实施例涉及的是上述步骤C1根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图的具体过程,即上述步骤C1可以包括:3 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. On the basis of the foregoing embodiment, the embodiment of the present application relates to the foregoing step C1 according to the environment image and the image lane line area, The specific process of generating an overlook lane map, that is, the above step C1 may include:
S201、确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S201: Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
本申请实施例中,若传感器为视觉传感器,该视觉传感器例如为成像装置,该成像装置采集的环境图像的坐标系与俯瞰图世界坐标系不一致,因此,在根据 环境图像及图像车道线区域,生成俯瞰车道线地图之前,首先需要将环境图像投影至俯瞰图世界坐标系下,因此,需要确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。位置转换关系可以包括转换矩阵等能够实现坐标系转换的难怪是。In the embodiment of the present application, if the sensor is a vision sensor, the vision sensor is, for example, an imaging device. The coordinate system of the environment image collected by the imaging device is not consistent with the world coordinate system of the bird's-eye view. Therefore, based on the environment image and the image lane line area, Before generating the overhead lane line map, the environment image needs to be projected to the overhead view world coordinate system. Therefore, the position conversion relationship between the environment image coordinate system and the overhead view world coordinate system needs to be determined. The position conversion relationship can include a conversion matrix, etc. It is no wonder that the coordinate system conversion can be realized.
在一种可能的实现方式中,上述S201确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系的过程可以包括如下步骤:In a possible implementation manner, the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S201 may include the following steps:
S2011、获取所述视觉传感器的标定参数和所述车辆的姿态信息。S2011: Acquire calibration parameters of the vision sensor and posture information of the vehicle.
S2012、根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S2012: Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view according to the calibration parameters of the vision sensor and the posture information of the vehicle.
该实现方式中,由于本申请的视觉传感器安装在车辆上,车辆的姿态信息对视觉传感器的成像结果有影响。因此,需要获得车辆在当前检测时刻的姿态信息。同时,需要获得视觉传感器的标定参数。In this implementation, since the vision sensor of the present application is installed on the vehicle, the posture information of the vehicle has an influence on the imaging result of the vision sensor. Therefore, it is necessary to obtain the posture information of the vehicle at the current detection time. At the same time, the calibration parameters of the vision sensor need to be obtained.
可选的,车辆姿态信息可以包括车辆的俯仰角度、横滚角度及偏航角度等姿态信息。Optionally, the vehicle attitude information may include attitude information such as the pitch angle, roll angle, and yaw angle of the vehicle.
可选的,假设视觉传感器为成像装置,则成像装置的标定参数包括成像装置的内参和外参。Optionally, assuming that the vision sensor is an imaging device, the calibration parameters of the imaging device include internal parameters and external parameters of the imaging device.
接着,电子设备根据车辆在当前检测时刻的姿态信息和视觉传感器的标定参数,确定出环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。Next, the electronic device determines the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view based on the posture information of the vehicle at the current detection time and the calibration parameters of the visual sensor.
S202、根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下。S202: Convert the environment image and the lane line area of the image to the bird's-eye view world coordinate system according to the position conversion relationship.
S203、根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。S203: Generate an overhead lane line map according to the environment image and the lane line area of the image in the overhead view world coordinate system.
具体的,根据上述步骤确定出环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系后,根据该位置转换关系,将环境图像和图像车道线区域转换到俯瞰图世界坐标系下。这样,可以根据俯瞰图世界坐标系下的环境图像和俯瞰图世界坐标系下的图像车道线区域,生成俯瞰车道线地图。Specifically, after determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view according to the above steps, the environment image and the lane line area of the image are converted to the world coordinate system of the bird's-eye view according to the position conversion relationship. In this way, an overlook lane line map can be generated based on the environment image in the bird's-eye view world coordinate system and the image lane line area in the bird's-eye view world coordinate system.
本申请实施例中,若传感器为视觉传感器,电子设备根据视觉传感器采集的环境图像及图像车道线区域,生成俯瞰车道线地图时,首先确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;接着,根据该位置转换关系,将环境图像及图像车道线区域转换到俯瞰图世界坐标系下;然后,根据该俯瞰图世界坐标系下的环境图像及图像车道线区域,生成俯瞰车道线地图,实现对俯瞰车道线地图准确生成。In the embodiment of this application, if the sensor is a vision sensor, the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
图4为本申请实施例提供的车道线地图的维护方法的流程图,在上述实施例的基础上,本申请实施例涉及的是上述根据所述俯瞰车道线地图,更新预设范围的车道线局部地图的具体过程,上述S103包括:FIG. 4 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. Based on the above-mentioned embodiment, the embodiment of the present application relates to the above-mentioned update of the lane line of the preset range based on the above-mentioned overlooking the lane line map The specific process of the local map, the above S103 includes:
S300、移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对 应关系。S300. Move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time and the center of the vehicle satisfy a preset correspondence relationship .
本申请实施例,在使用当前检测时刻的俯瞰车道线地图,更新前一检测时刻的预设范围的车道线局部地图,获得当前检测时刻的预设范围的车道线局部地图之前,还包括上述S300,即移动前一检测时刻的预设范围的车道线局部地图,以使前一检测时刻的预设范围的车道线局部地图的中心与车辆的中心满足预设的对应关系,如图5所示,以使前一检测时刻的预设范围的车道线局部地图的中心与车辆的中心重合。In the embodiment of the present application, before using the overhead lane line map at the current detection time to update the lane line partial map of the preset range at the previous detection time, and obtain the lane line partial map of the preset range at the current detection time, the above S300 is also included. , That is, move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time and the center of the vehicle meet the preset correspondence relationship, as shown in Figure 5 , So that the center of the local map of the lane line of the preset range at the previous detection time coincides with the center of the vehicle.
在一种可能的实现方式中,上述S300包括如下步骤:In a possible implementation manner, the foregoing S300 includes the following steps:
S3001、获取所述车辆从前一检测时刻到当前检测时刻的位移量;S3001. Obtain the displacement of the vehicle from the previous detection time to the current detection time.
S3002、根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。S3002, according to the displacement, move the lane line local map of the preset range at the previous detection time so that the center of the lane line local map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset corresponding relationship.
具体的,电子设备与车辆行驶系统连接,可以从车辆行驶系统中获取车辆的运行速度等行驶信息,这样,电子设备从车辆驾驶系统上获得车辆在前一检测时刻到当前检测时刻的位移量,例如,电子设备从车辆驾驶系统上获得车辆在前一检测时刻的运行速度和当前检测时刻的运行速度,根据这两个运行速度,以及前一检测时刻与当前检测时刻之间的时间差,可以获得车辆在前一检测时刻到当前检测时刻的位移量。Specifically, the electronic device is connected to the vehicle driving system and can obtain driving information such as the running speed of the vehicle from the vehicle driving system. In this way, the electronic device obtains the displacement of the vehicle from the vehicle driving system from the previous detection time to the current detection time. For example, the electronic device obtains the running speed of the vehicle at the previous detection time and the current detection time from the vehicle driving system. According to these two operating speeds, and the time difference between the previous detection time and the current detection time, The displacement of the vehicle from the previous detection time to the current detection time.
接着,根据车辆在前一检测时刻到当前检测时刻的位移量来移动前一检测时刻的预设范围的车道线局部地图,使得前一检测时刻的预设范围的车道线局部地图的中心与车辆的中心满足预设的对应关系,也就是说,使得预设范围的车道线局部地图的中心随着车辆的移动而移动。Then, according to the displacement of the vehicle from the previous detection time to the current detection time, move the lane line local map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time and the vehicle The center meets the preset correspondence relationship, that is, the center of the local map of the lane line of the preset range moves with the movement of the vehicle.
将前一检测时刻的预设范围的车道线局部地图的中心随着车辆的运动移动后,使用当前检测时刻的俯瞰车道线地图,更新移动后的前一检测时刻的预设范围的车道线局部地图,获得当前检测时刻的预设范围的车道线局部地图的具体过程包括如下步骤S301至S303的步骤。After moving the center of the lane line partial map of the preset range at the previous detection time with the movement of the vehicle, use the overlooked lane line map at the current detection time to update the preset range of the lane line partial at the previous detection time after the movement For the map, the specific process of obtaining the local map of the lane line of the preset range at the current detection time includes the following steps S301 to S303.
S301、确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系。S301: Determine a mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the predetermined range of the lane line local map at the previous detection time.
本申请实施例的俯瞰车道线地图上个点的坐标系与前一检测时刻的预设范围的车道线局部地图上各像素点的坐标系不一致,在使用确定俯瞰车道线地图更新前一检测时刻的预设范围的车道线局部地图之前,需要将俯瞰车道线地图和前一检测时刻的预设范围的车道线局部地图转换至同一个坐标系下,因此,首先确定俯瞰车道线地图的世界坐标与前一检测时刻的预设范围的车道线局部地图的像素坐标的映射关系。The coordinate system of each point on the map overlooking the lane line in the embodiment of the application is inconsistent with the coordinate system of each pixel on the local map of the lane line in the preset range at the previous detection time. The previous detection time is updated using the determined overlooking lane line map. Before the lane line partial map of the preset range, it is necessary to convert the overlooking lane line map and the lane line partial map of the preset range at the previous detection time to the same coordinate system. Therefore, first determine the world coordinates of the overlooking lane line map The mapping relationship with the pixel coordinates of the lane line partial map of the preset range at the previous detection time.
S302、根据所述映射关系,将俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的预设范围的车道线局部地图的像素坐标下,获得俯瞰车道线地图中各车道线点在所述预设范围的车道线局部地图中的坐标。S302. According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlook lane line map The coordinates of the point in the local map of the lane line within the preset range.
具体的,根据上述S301确定的映射关系,将俯瞰车道线地图中各车道线点 的世界坐标(x,y),映射至前一检测时刻的预设范围的车道线局部地图的像素坐标(i,j),使i=x/s-i 0,j=y/s-j 0,如图5所示,该预设范围的车道线局部地图包括多个二维网格,每个二维网格可以理解为一个数据元,s表示每一个数据元在现实世界中表达的尺度,(i 0,j 0)为预设范围的车道线局部地图移动后的中心。 Specifically, according to the mapping relationship determined in S301, the world coordinates (x, y) of each lane line point in the overlooking lane line map are mapped to the pixel coordinates (i ,j), let i=x/si 0 , j=y/sj 0 , as shown in Figure 5, the local map of lane lines in the preset range includes multiple two-dimensional grids, each of which can be understood Is a data element, s represents the scale expressed by each data element in the real world, and (i 0 , j 0 ) is the center of the local map of the lane line of the preset range after the movement.
S303、根据俯瞰车道线地图中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息。S303. According to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time, using the feature information of each lane line point on the overlooking lane line map to update the previous detection time The feature information of each lane line point on the local map of the lane line of the preset range.
具体的,根据上述步骤可以获得俯瞰车道线地图中各车道线点在预设范围的车道线局部地图中的坐标,这样,可以使用俯瞰车道线地图中各车道线点在预设范围的车道线局部地图中的坐标来更新前一检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息,进而获得当前检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息。Specifically, according to the above steps, the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line partial map can be obtained, so that the lane line with each lane line point in the overlooking lane line map in the preset range can be used The coordinates in the local map are used to update the characteristic information of each lane line point on the local map of the preset range of the lane line at the previous detection time, and then obtain the lane line point on the local map of the preset range of the lane line at the current detection time Characteristic information.
可选的,上述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形类别的概率值。Optionally, the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the probability table of the lane line point, and the probability table includes that the lane line point belongs to Probability values of different linear categories.
可选的,上述不同线形类别包括实线、虚线、导流线中的至少一种。Optionally, the above-mentioned different linear types include at least one of solid lines, dashed lines, and diversion lines.
在一种可能的实现方式中,上述S303中使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息,包括:In a possible implementation manner, in S303, the feature information of each lane line point on the overlooked lane line map is used to update each lane line point on the lane line partial map of the preset range at the previous detection time. Characteristic information, including:
S3031、获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域。S3031. Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overhead lane line map.
S3032、获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域。S3032. Acquire a second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time.
S3033、使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。S3033. Use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
具体的,参照图5所示,其中虚线框表示前一检测时刻的预设范围的车道线局部地图的范围,实现框表示当前检测时刻的预设范围的车道线局部地图的范围。该当前检测时刻的预设范围的车道线局部地图的范围至少包括俯瞰车道线地图的范围。这样,可以获得俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的区域,记为第一区域,例如图5中实线框中灰色区域。同时,可以获得前一检测时刻的预设范围的车道线局部地图中与俯瞰车道线地图不重叠的区域,记为第二区域,例如图5中虚线框中灰色区域。接着,使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息。Specifically, referring to FIG. 5, the dashed frame represents the range of the lane line partial map of the preset range at the previous detection time, and the realized frame represents the range of the lane line local map of the preset range at the current detection time. The range of the lane line partial map of the preset range at the current detection time at least includes the range of the overlooked lane line map. In this way, an area that does not overlap with the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the first area, such as the gray area in the solid line box in FIG. 5. At the same time, the area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the second area, such as the gray area in the dashed box in FIG. Next, the characteristic information of each lane line point in the second area is updated using the characteristic information of each lane line point in the first area.
可选的,若上述车道线点的特征信息包括车道线点的概率表,根据上述方法,可以使用第一区域中各车道线点的概率表更新第二区域中各车道线点的概率表,其中概率表包括车道线点属于不同线形类别的概率值,这样,可以预测出当前检测时刻预设范围的车道线局部地图中各车道线点的线形,进而实现对车道线的线形的准确预测,以使车辆基于该准确的车道线线形进行精确的智能驾驶控制。Optionally, if the characteristic information of the lane line point includes the probability table of the lane line point, according to the above method, the probability table of each lane line point in the first area can be used to update the probability table of each lane line point in the second area, The probability table includes the probability values of lane line points belonging to different linear categories. In this way, the line shape of each lane line point in the lane line partial map of the preset range at the current detection time can be predicted, and then the line shape of the lane line can be accurately predicted. So that the vehicle can perform precise intelligent driving control based on the accurate lane line shape.
在一种可能的实现方式中,上述S3033可以被步骤D替换。In a possible implementation manner, the above S3033 can be replaced by step D.
步骤D、基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D: Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
继续参照图5所示,图5包括多个网格,每个网络可以理解为一个数据元,一个数据元可以理解为一个车道线点。假设Z为第一区域中车道线点的特征信息,A为第二区域中车道线点的特征信息。Continuing to refer to FIG. 5, FIG. 5 includes multiple grids, each network can be understood as a data element, and a data element can be understood as a lane line point. Assume that Z is the characteristic information of the lane line point in the first area, and A is the characteristic information of the lane line point in the second area.
在一种示例中,根据如下公式(1),使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息。In an example, according to the following formula (1), the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
P(A|Z)=P(Z|A)*P(Z)/P(A),i=0,1,...,n     (1)P(A|Z)=P(Z|A)*P(Z)/P(A), i=0,1,...,n (1)
其中,P(Z|A)为给定A时Z成立的概率,也称为Z的后验概率,P(A|Z)为为给定Z时A成立的概率,也称为A的后验概率,P(Z)为Z的先验概率,P(A)为A的先验概率。Among them, P(Z|A) is the probability that Z is established when A is given, also called the posterior probability of Z, P(A|Z) is the probability that A is established when Z is given, also called the posterior probability of A The prior probability, P(Z) is the prior probability of Z, and P(A) is the prior probability of A.
在一种示例中,上述步骤D可以被步骤D1替换。In an example, the above step D can be replaced by step D1.
步骤D1、基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D1, based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
示例性的,基于贝叶斯更新方式和负向观测方式,例如根据如下公式(2),使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息。Exemplarily, based on the Bayesian update method and the negative observation method, for example, according to the following formula (2), the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
Figure PCTCN2019084115-appb-000001
Figure PCTCN2019084115-appb-000001
其中,
Figure PCTCN2019084115-appb-000002
表示对数似然比,X为范指,例如可以被上式中的A、Z|Ai等替换掉,
Figure PCTCN2019084115-appb-000003
表示观测不是该状态,即负向观测。
among them,
Figure PCTCN2019084115-appb-000002
Represents the log likelihood ratio, X is the norm, for example, it can be replaced by A, Z|Ai, etc. in the above formula,
Figure PCTCN2019084115-appb-000003
Indicates that the observation is not in this state, that is, negative observation.
本申请实施例,通过负向观测,可以从时序上消除车道线的误失败噪声和定位偏移导致的车道线累积模糊的问题。In the embodiment of the present application, through the negative observation, the problem of the false failure noise of the lane line and the accumulated blur of the lane line caused by the positioning offset can be eliminated from the time sequence.
在一种可能的实现方式中,若上述车道线点的特征信息包括车道线点的概率表,该概率表包括该车道线点属于n种预设线形中每一种线形的概率值。此时,第二区域中车道线点包括一组线形状态A0,A1,…,An,用于表示该车道线点(即数据元)所在的位置属于不同车道线线形,在当前检测时刻,数据元所在位置出现新的车道线点观测值Z,这样可以公式(3),使用第一区域中各车道线点的概率表更新第二区域中各车道线点的概率表。In a possible implementation manner, if the characteristic information of the lane line point includes a probability table of the lane line point, the probability table includes the probability value of the lane line point belonging to each of the n preset line shapes. At this time, the lane line points in the second area include a set of linear states A0, A1,..., An, which are used to indicate that the location of the lane line point (that is, the data element) belongs to the line of different lanes. At the current detection time, the data A new lane line point observation value Z appears at the location of the yuan, so that formula (3) can be used to update the probability table of each lane line point in the second area using the probability table of each lane line point in the first area.
Figure PCTCN2019084115-appb-000004
Figure PCTCN2019084115-appb-000004
根据上述公式(3)可以获得当前检测时刻车道线点的线形,进而获得车道线的线形,为智能驾驶提供更加可靠的依据。According to the above formula (3), the line shape of the lane line point at the current detection time can be obtained, and then the line shape of the lane line can be obtained, which provides a more reliable basis for intelligent driving.
在一种可能的实现方式中,本申请实施例的方法还包括:In a possible implementation manner, the method in the embodiment of the present application further includes:
S3034、获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域。S3034. Obtain a third area that overlaps the overhead lane map in the lane line partial map of the preset range at the previous detection time.
S3035、复用所述第三区域中各车道线点的特征信息。S3035. Multiplex the characteristic information of each lane line point in the third area.
继续参照图5所示,其中前一检测时刻的预设范围的车道线局部地图与当前 检测时刻的俯瞰车道线地图具有重叠区域,记为第三区域。为了降低更新数据量,节约技术资源,则可以在确定当前检测时刻的预设范围的车道线局部地图时,可以直接复用该第三区域对应的前一检测时刻的各车道线点的特征信息。Continuing to refer to FIG. 5, where the local lane line map of the preset range at the previous detection time and the overhead lane line map at the current detection time have an overlapping area, which is recorded as the third area. In order to reduce the amount of updated data and save technical resources, when determining the lane line local map of the preset range at the current detection time, you can directly reuse the characteristic information of each lane line point corresponding to the third area at the previous detection time .
需要说明的是,上述S3031至S3033的执行过程与上述S3034至S3035的执行过程之间没有先后顺序。It should be noted that there is no sequence between the execution process of S3031 to S3033 and the execution process of S3034 to S3035.
本申请实施例的方法,通过确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标;根据俯瞰车道线地图中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息,进而获得当前检测时刻的预设范围的车道线局部地图。The method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection According to the coordinates of each lane line point in the lane line map overlooking the lane line in the lane line local map of the preset range at the previous detection time, use the coordinates on the lane line map overlooking the lane line The feature information of the lane line points is updated to update the feature information of each lane line point on the lane line local map of the preset range at the previous detection time, and then the lane line local map of the preset range at the current detection time is obtained.
图6为本申请实施例提供的车道线地图的维护方法的流程图,本实施例要解决的技术问题是,已有方法所得到的车道线反映出来通常只是单一的线条,并不能反映实际车道线的线形,例如单实线、双黄线等,这种仅得到线条的车道线无法给后续处理提供更准确智能的决策依据。为了解决该技术问题,如图6所示,本申请实施例的方法包括:Fig. 6 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. The technical problem to be solved in this embodiment is that the lane line obtained by the existing method is usually only a single line and cannot reflect the actual lane. The line shape of the line, such as single solid line, double yellow line, etc., such a lane line with only lines cannot provide more accurate and intelligent decision-making basis for subsequent processing. In order to solve this technical problem, as shown in FIG. 6, the method of the embodiment of the present application includes:
S401、通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域。S401: Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
S402、根据所述环境数据及所述车道线区域,生成俯瞰车道线地图。S402: Generate an overlooked lane line map based on the environment data and the lane line area.
可选的,上述传感器具体可以是三维检测设备和视觉传感器等及其组合,视觉传感器可以为成像装置,点云传感器包括激光雷达、超声波检测设备、飞行时间测距法(Time Of Flight,简称TOF)测距检测设备、视觉传感器和激光检测设备等。Optionally, the above-mentioned sensor may specifically be a three-dimensional detection device and a vision sensor, etc., and a combination thereof. The vision sensor may be an imaging device. The point cloud sensor includes a lidar, an ultrasonic detection device, and a Time Of Flight (TOF) method. ) Ranging detection equipment, vision sensors and laser detection equipment, etc.
在一种可能的实现方式中,若传感器为点云传感器时,上述S401包括步骤A1,上述步骤S402包括步骤A2。In a possible implementation, if the sensor is a point cloud sensor, the above S401 includes step A1, and the above step S402 includes step A2.
步骤A1、通过所述点云传感器达获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域。Step A1: Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
步骤A2、根据所述环境点云数据及所述车道线区域,生成俯瞰车道线地图。Step A2, according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
在另一种可能的实现方式中,若传感器为视觉传感器和点云传感器时,上述S401包括步骤B1和B2,上述步骤S402包括步骤B3。In another possible implementation manner, if the sensors are vision sensors and point cloud sensors, the above S401 includes steps B1 and B2, and the above step S402 includes step B3.
步骤B1、通过所述视觉传感器获取所述车辆周围的环境图像,通过所述三维检测数据获取所述车辆周围的环境点云数据。Step B1: Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
步骤B2、根据所述环境点云数据和所述环境图像识别出所述车道线区域。Step B2: Identify the lane line area according to the environmental point cloud data and the environmental image.
步骤B3、根据所述环境点云数据、所述环境图像及所述车道线区域,生成 俯瞰车道线地图。Step B3: Generate an overlook lane map based on the environmental point cloud data, the environmental image and the lane line area.
在又一种可能的实现方式中,若传感器为视觉传感器时,上述S401包括步骤C1,上述步骤S402包括步骤C2。In another possible implementation manner, if the sensor is a vision sensor, the above S401 includes step C1, and the above step S402 includes step C2.
步骤C1、通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域。Step C1: Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
步骤C2、根据所述环境图像及所述车道线区域,生成俯瞰车道线地图。Step C2, according to the environment image and the lane line area, generate an overlooked lane line map.
上述步骤S401至S402的具体执行过程可以参照上述S101至S102的描述,在此不再赘述。For the specific execution process of the foregoing steps S401 to S402, reference may be made to the description of the foregoing S101 to S102, which will not be repeated here.
S403、根据所述俯瞰车道线地图,更新预设范围的车道线局部地图。S403: According to the overlooked lane line map, update a preset range of the lane line partial map.
上述步骤S403的具体执行过程可以参照上述S103的描述,在此不再赘述。For the specific execution process of the foregoing step S403, reference may be made to the description of the foregoing S103, which will not be repeated here.
在一种示例中,如图5所示,俯瞰车道线地图和预设范围的车道线局部地图均包括多个车道线点,每个车道线点可以理解为一个数据元,车道线点的特征信息包括车道线点的概率表,该概率表包括车道线点属于不同线形类别的概率值。可选的,上述不同线形类别包括实线、虚线、导流线中的至少一种。In an example, as shown in Figure 5, both the overlooking lane line map and the lane line partial map of the preset range include multiple lane line points, and each lane line point can be understood as a data element, the characteristics of the lane line point The information includes a probability table of lane line points, and the probability table includes the probability values of lane line points belonging to different linear categories. Optionally, the above-mentioned different linear types include at least one of solid lines, dashed lines, and diversion lines.
在此,以车道线点的概率表,介绍根据俯瞰车道线地图,更新预设范围的车道线局部地图的过程。Here, using the probability table of the lane line points, the process of updating the partial map of the lane line of the preset range based on the overlooked lane line map is introduced.
假设,上述车道线点的概率表包括该车道线点属于n种预设线形中每一种线形的概率值。此时,前一检测时刻的车道线点包括一组线形状态A0,A1,…,An,用于表示该车道线点(即数据元)所在的位置属于不同车道线线形,在当前检测时刻,数据元所在位置出现新的车道线点观测值Z,这样可以公式(3),使用俯瞰车道线地图中各车道线点的概率表更新前一检测时刻的预设范围的车道线局部地图中各车道线点的概率表,获得当前检测时刻的预设范围的车道线局部地图中各车道线点的概率表。It is assumed that the probability table of the lane line point above includes the probability value that the lane line point belongs to each of the n preset line shapes. At this time, the lane line points at the previous detection time include a set of linear states A0, A1,..., An, which are used to indicate that the location of the lane line point (ie, the data element) belongs to the line of different lanes. At the current detection time, A new lane line point observation value Z appears at the location of the data element, so that formula (3) can be used to update each lane line local map of the preset range at the previous detection time using the probability table of each lane line point in the overlooking lane line map The probability table of lane line points obtains the probability table of each lane line point in the preset range of the lane line local map at the current detection time.
Figure PCTCN2019084115-appb-000005
Figure PCTCN2019084115-appb-000005
其中,
Figure PCTCN2019084115-appb-000006
表示对数似然比,X为范指,例如可以被上式中的A、Z|Ai等替换掉,
Figure PCTCN2019084115-appb-000007
表示观测不是该状态,即负向观测。
among them,
Figure PCTCN2019084115-appb-000006
Represents the log likelihood ratio, X is the norm, for example, it can be replaced by A, Z|Ai, etc. in the above formula,
Figure PCTCN2019084115-appb-000007
Indicates that the observation is not in this state, that is, negative observation.
本申请实施例,通过负向观测,可以从时序上消除车道线的误失败噪声和定位偏移导致的车道线累积模糊的问题。In the embodiment of the present application, through the negative observation, the problem of the false failure noise of the lane line and the accumulated blur of the lane line caused by the positioning offset can be eliminated from the time sequence.
根据上述公式(3)可以获得当前检测时刻车道线点的概率表。According to the above formula (3), the probability table of the lane line point at the current detection time can be obtained.
S404、根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。S404: Determine the line shape of the lane line according to the updated partial map of the lane line in the preset range.
根据上述步骤,获得更新后的预设范围的车道线局部地图中的每个车道线点包括属于不同线形的概率表,这样可以根据各车道线点的概率表,确定当前检测时刻的车道线的线形。例如,可以确定车道线为实线、虚线等线形,由于不同线形的车道线的所指示的驾驶意义不同,这样可以根据检测出的车道线的线形为智能驾驶提供更准确的决策依据,进而提高了智能驾驶的可靠性和安全性。According to the above steps, each lane line point in the local map of the lane line of the preset range after the update includes a probability table belonging to a different line shape. In this way, the lane line at the current detection time can be determined according to the probability table of each lane line point. Linear. For example, it can be determined that the lane line is a solid line, a dashed line, etc., because different lane lines have different driving meanings. This can provide more accurate decision-making basis for intelligent driving based on the detected line shape of the lane line, thereby improving Improve the reliability and safety of intelligent driving.
在一种可能的实现方式中,上述S404中根据更新后的所述预设范围的车道 线局部地图,确定所述车道线的线形,可以包括:In a possible implementation manner, determining the line shape of the lane line according to the updated local map of the lane line in the preset range in S404 may include:
S4041、根据更新后的所述预设范围的车道线局部地图中每个车道线点的概率表,确定每个所述车道线点的线形。S4041. Determine the line shape of each lane line point according to the updated probability table of each lane line point in the lane line partial map of the preset range.
由于每个车道线点的概率表中包括车道线点属于不同线形类别的概率值,例如预设的线形类别为n类,该概率表中包括该车道线点属于这n个类别中每一个类别的概率值,例如分别为P1,P2,…,Pn,对这些概率值进行处理,从中获得一个概率值对应的线形作为该车道线点的线形。例如,取这些概率值中的中间值对应的线形作为该车道线点的线形,或者,将上述各概率值与预设值进行比较,获得满足预设值的概率值对应的线形作为该车道线点的线形。Since the probability table of each lane line point includes the probability values that the lane line point belongs to different linear categories, for example, the preset linear category is n categories, and the probability table includes the lane line point belonging to each of the n categories The probability values of are, for example, P1, P2,..., Pn, and these probability values are processed to obtain a line shape corresponding to a probability value as the line shape of the lane line point. For example, take the line shape corresponding to the intermediate value of these probability values as the line shape of the lane line point, or compare the above-mentioned probability values with the preset value, and obtain the line shape corresponding to the probability value satisfying the preset value as the lane line The line shape of the point.
可选的,将上述各概率值中最大概率值对应的线形,确定为车道线点的线形,例如P1,P2,…,Pn中,最大概率值为P2,则将P2对应的线形,确定为车道线点的线形。Optionally, the line shape corresponding to the maximum probability value among the above probability values is determined as the line shape of the lane line point. For example, in P1, P2,..., Pn, the maximum probability value is P2, then the line shape corresponding to P2 is determined as The line shape of the lane line point.
S4042、根据每个所述车道线点的线形,确定所述车道线的线形。S4042. Determine the line shape of the lane line according to the line shape of each lane line point.
根据上述步骤,确定出车道线点的线形后,可以根据车道线点的线形,可以将组成该车道线的各车道线的线形作为该车道线的线形。According to the above steps, after determining the line shape of the lane line point, according to the line shape of the lane line point, the line shape of each lane line constituting the lane line can be used as the line shape of the lane line.
本申请实施例的方法,通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,准确确定车道线的线形。这样可以根据检测出的车道线的线形为智能驾驶提供更准确的决策依据,进而提高了智能驾驶的可靠性和安全性。In the method of the embodiment of the present application, the environmental data around the vehicle is acquired through sensors, and the lane line area is identified according to the environmental data; an overlook lane line map is generated according to the environmental data and the lane line area; The lane line map updates the local map of the lane line of the preset range, and accurately determines the line shape of the lane line according to the updated local map of the lane line of the preset range. In this way, a more accurate decision-making basis can be provided for intelligent driving according to the line shape of the detected lane line, thereby improving the reliability and safety of intelligent driving.
图7为本申请实施例提供的车道线地图的维护方法的流程图,在上述图6所示实施例的基础上,本申请实施例涉及的是上述步骤C1根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图的具体过程,即上述步骤C1可以包括:FIG. 7 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. Based on the embodiment shown in FIG. 6, the embodiment of the application relates to the foregoing step C1 according to the environment image and the image For the lane line area, the specific process of generating an overlooked lane line map, that is, the above step C1 may include:
S501、确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S501: Determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
在一种可能的实现方式中,上述S501确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系的过程可以包括如下步骤:In a possible implementation manner, the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S501 may include the following steps:
S5011、获取所述视觉传感器的标定参数和所述车辆的姿态信息。S5011: Acquire calibration parameters of the vision sensor and posture information of the vehicle.
S5012、根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S5012: Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view according to the calibration parameters of the vision sensor and the posture information of the vehicle.
上述步骤S501的具体执行过程可以参照上述S201的描述,在此不再赘述。For the specific execution process of the foregoing step S501, reference may be made to the description of the foregoing S201, which will not be repeated here.
S502、根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下。S502: Convert the environment image and the lane line area of the image to the world coordinate system of the bird's-eye view according to the position conversion relationship.
S503、根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。S503: Generate an overlook lane line map according to the environment image and the lane line area of the image in the overlook map world coordinate system.
上述步骤S502和S503的具体执行过程可以参照上述S202和S203的描述, 在此不再赘述。For the specific execution process of the foregoing steps S502 and S503, reference may be made to the description of the foregoing S202 and S203, which will not be repeated here.
本申请实施例中,若传感器为视觉传感器,电子设备根据视觉传感器采集的环境图像及图像车道线区域,生成俯瞰车道线地图时,首先确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;接着,根据该位置转换关系,将环境图像及图像车道线区域转换到俯瞰图世界坐标系下;然后,根据该俯瞰图世界坐标系下的环境图像及图像车道线区域,生成俯瞰车道线地图,实现对俯瞰车道线地图准确生成。In the embodiment of this application, if the sensor is a vision sensor, the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
图8为本申请实施例提供的车道线地图的维护方法的流程图,在上述实施例的基础上,本申请实施例涉及的是上述根据所述俯瞰车道线地图,更新预设范围的车道线局部地图的具体过程,上述S403包括:FIG. 8 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. On the basis of the foregoing embodiment, the embodiment of the present application relates to the foregoing update of the lane line of the preset range based on the above-mentioned overlooking the lane line map The specific process of the local map, the above S403 includes:
S600、移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。S600. Move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time and the center of the vehicle satisfy a preset correspondence relationship .
在一种可能的实现方式中,上述S600包括如下步骤:In a possible implementation manner, the foregoing S600 includes the following steps:
S6001、获取所述车辆从前一检测时刻到当前检测时刻的位移量;S6001. Obtain the displacement of the vehicle from the previous detection time to the current detection time.
S6002、根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。S6002, according to the displacement, move the lane line local map of the preset range at the previous detection time so that the center of the lane line local map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset corresponding relationship.
上述步骤S600的具体执行过程可以参照上述S300的描述,在此不再赘述。For the specific execution process of the foregoing step S600, reference may be made to the description of the foregoing S300, which will not be repeated here.
将前一检测时刻的预设范围的车道线局部地图的中心随着车辆的运动移动后,使用当前检测时刻的俯瞰车道线地图,更新移动后的前一检测时刻的预设范围的车道线局部地图,获得当前检测时刻的预设范围的车道线局部地图的具体过程包括如下步骤S601至S603的步骤。After moving the center of the lane line partial map of the preset range at the previous detection time with the movement of the vehicle, use the overlooked lane line map at the current detection time to update the preset range of the lane line partial at the previous detection time after the movement For the map, the specific process of obtaining the local map of the lane line of the preset range at the current detection time includes the following steps S601 to S603.
S601、确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系。S601: Determine a mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time.
S602、根据所述映射关系,将俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的预设范围的车道线局部地图的像素坐标下,获得俯瞰车道线地图中各车道线点在所述预设范围的车道线局部地图中的坐标。S602. According to the mapping relationship, map the world coordinates of each lane line point in the overlooking lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlooking lane line map The coordinates of the point in the local map of the lane line within the preset range.
S603、根据俯瞰车道线地图中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息。S603. According to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time, using the feature information of each lane line point on the overlooking lane line map to update the previous detection time The feature information of each lane line point on the local map of the lane line of the preset range.
上述步骤S601至S603的具体执行过程可以参照上述S301至S303的描述,在此不再赘述。For the specific execution process of the foregoing steps S601 to S603, reference may be made to the description of the foregoing S301 to S303, which will not be repeated here.
在一种可能的实现方式中,上述S603中使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息,包括:In a possible implementation manner, in S603, the feature information of each lane line point on the overlooked lane line map is used to update each lane line point on the lane line partial map of the preset range at the previous detection time. Characteristic information, including:
S6031、获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道 线局部地图不重叠的第一区域。S6031. Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overhead lane line map.
S6032、获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域。S6032. Acquire a second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time.
S6033、使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。S6033: Use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
上述步骤S6031至S6033的具体执行过程可以参照上述S3031至S3033的描述,在此不再赘述。For the specific execution process of the foregoing steps S6031 to S6033, reference may be made to the description of the foregoing S3031 to S3033, which will not be repeated here.
在一种可能的实现方式中,上述S6033可以被步骤D替换。In a possible implementation manner, the above S6033 can be replaced by step D.
步骤D、基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D: Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
在一种示例中,上述步骤D可以被步骤D1替换。In an example, the above step D can be replaced by step D1.
步骤D1、基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D1, based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
上述步骤S6033的具体执行过程可以参照上述S3033的描述,在此不再赘述。For the specific execution process of the foregoing step S6033, reference may be made to the description of the foregoing S3033, which will not be repeated here.
在一种可能的实现方式中,本申请实施例的方法还包括:In a possible implementation manner, the method in the embodiment of the present application further includes:
S6034、获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域。S6034. Acquire a third area that overlaps with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time.
S6035、复用所述第三区域中各车道线点的特征信息。S6035. Multiplex the characteristic information of each lane line point in the third area.
需要说明的是,上述S6031至S6033的具体执行过程可以参照上述S3031和S3033的描述,上述S6031至S6033的执行过程与上述S6034至S6035的执行过程之间没有先后顺序。It should be noted that the specific execution process of the foregoing S6031 to S6033 can refer to the description of the foregoing S3031 and S3033, and there is no sequence between the foregoing execution process of S6031 to S6033 and the foregoing execution process of S6034 to S6035.
本申请实施例的方法,通过确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标;根据俯瞰车道线地图中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的预设范围的车道线局部地图上的各车道线点的特征信息,进而获得当前检测时刻的预设范围的车道线局部地图。The method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection According to the coordinates of each lane line point in the lane line map overlooking the lane line in the lane line local map of the preset range at the previous detection time, use the coordinates on the lane line map overlooking the lane line The feature information of the lane line points is updated to update the feature information of each lane line point on the lane line local map of the preset range at the previous detection time, and then the lane line local map of the preset range at the current detection time is obtained.
图9为本申请实施例提供的车道线地图的维护方法的流程图,本申请实施例要解决的技术问题是,已有方法在车辆行驶过程中需要不断地对变换的区域的图像数据进行处理,这样会造成计算量较大,并且也会耗费更多的内存资源。为了解决该技术问题,如图9所示,本申请实施例的方法包括:Fig. 9 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. The technical problem to be solved by the embodiment of the application is that the existing method needs to continuously process the image data of the transformed area during the driving of the vehicle , This will cause a large amount of calculation and will also consume more memory resources. In order to solve this technical problem, as shown in FIG. 9, the method of the embodiment of the present application includes:
S701、通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域。S701: Acquire environmental data around the vehicle through sensors, and identify a lane line area according to the environmental data.
S702、根据所述环境数据及所述车道线区域,生成俯瞰车道线地图。S702: Generate an overlooked lane line map based on the environment data and the lane line area.
可选的,该传感器具体可以是三维检测设备和视觉传感器等及其组合,视觉传感器可以为成像装置,点云传感器包括激光雷达、超声波检测设备、飞行时间测距法(Time Of Flight,简称TOF)测距检测设备、视觉传感器和激光检测设备等。Optionally, the sensor may specifically be a three-dimensional detection device, a vision sensor, etc., and a combination thereof. The vision sensor may be an imaging device. The point cloud sensor includes lidar, ultrasonic detection equipment, and Time Of Flight (TOF). ) Ranging detection equipment, vision sensors and laser detection equipment, etc.
在一种可能的实现方式中,若传感器为点云传感器时,上述S701包括步骤A1,上述步骤S702包括步骤A2。In a possible implementation, if the sensor is a point cloud sensor, the above S701 includes step A1, and the above step S702 includes step A2.
步骤A1、通过所述点云传感器达获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域。Step A1: Acquire environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data.
步骤A2、根据所述环境点云数据及所述车道线区域,生成俯瞰车道线地图。Step A2, according to the environmental point cloud data and the lane line area, generate an overlooked lane line map.
在另一种可能的实现方式中,若传感器为视觉传感器和点云传感器时,上述S701包括步骤B1和B2,上述步骤S702包括步骤B3。In another possible implementation manner, if the sensors are vision sensors and point cloud sensors, the foregoing S701 includes steps B1 and B2, and the foregoing step S702 includes step B3.
步骤B1、通过所述视觉传感器获取所述车辆周围的环境图像,通过所述三维检测数据获取所述车辆周围的环境点云数据。Step B1: Obtain an image of the environment around the vehicle through the visual sensor, and obtain point cloud data of the environment around the vehicle through the three-dimensional detection data.
步骤B2、根据所述环境点云数据和所述环境图像识别出所述车道线区域。Step B2: Identify the lane line area according to the environmental point cloud data and the environmental image.
步骤B3、根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。Step B3: Generate an overhead lane line map based on the environmental point cloud data, the environmental image, and the lane line area.
在又一种可能的实现方式中,若传感器为视觉传感器时,上述S701包括步骤C1,上述步骤S702包括步骤C2。In another possible implementation manner, if the sensor is a vision sensor, the above S701 includes step C1, and the above step S702 includes step C2.
步骤C1、通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域。Step C1: Obtain an image of the environment around the vehicle through the visual sensor, and identify the lane line area according to the environment image.
步骤C2、根据所述环境图像及所述车道线区域,生成俯瞰车道线地图。Step C2, according to the environment image and the lane line area, generate an overlooked lane line map.
上述S701至S702的具体执行过程可以参照上述S101和S102的描述,在此不再赘述。For the specific execution process of the foregoing S701 to S702, reference may be made to the description of the foregoing S101 and S102, which will not be repeated here.
S703、获取俯瞰车道线地图中与所述前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的预设范围的车道线局部地图中与俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域。S703. Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooking lane line map, and the overlooking lane line in the preset range of the lane line partial map at the previous detection time A second area where the map does not overlap, and a third area where the lane line partial map of the preset range at the previous detection time overlaps with the overhead lane line map.
参照图5所示,参照图5所示,其中虚线框表示前一检测时刻的预设范围的车道线局部地图的范围,实现框表示当前检测时刻的预设范围的车道线局部地图的范围。该当前检测时刻的预设范围的车道线局部地图的范围至少包括俯瞰车道线地图的范围。这样,可以获得俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的区域,记为第一区域,例如图5中实线框中灰色区域。同时,可以获得前一检测时刻的预设范围的车道线局部地图中与俯瞰车道线地图不重叠的区域,记为第二区域,例如图5中虚线框中灰色区域。Referring to FIG. 5, referring to FIG. 5, the dashed frame represents the range of the lane line partial map of the preset range at the previous detection time, and the realization box represents the range of the lane line local map of the preset range at the current detection time. The range of the lane line partial map of the preset range at the current detection time at least includes the range of the overlooked lane line map. In this way, an area that does not overlap with the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the first area, such as the gray area in the solid line box in FIG. 5. At the same time, the area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time can be obtained, and it is recorded as the second area, such as the gray area in the dashed box in FIG.
继续参照图5所示,其中前一检测时刻的预设范围的车道线局部地图与当前检测时刻的俯瞰车道线地图具有重叠区域,记为第三区域。Continuing to refer to FIG. 5, the local map of the lane line of the preset range at the previous detection time and the map of the overlooking lane line at the current detection time have an overlapping area, which is recorded as the third area.
S704、使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息,且复用第三区域中各车道线点的特征信息。S704. Use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area, and reuse the characteristic information of each lane line point in the third area.
具体的,使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息。为了降低更新数据量,节约技术资源和内存资源,则可以在确定当前检测时刻的预设范围的车道线局部地图时,可以直接复用该第三区域对应的前一检测时刻的各车道线点的特征信息。Specifically, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area. In order to reduce the amount of updated data and save technical resources and memory resources, when determining the lane line local map of the preset range at the current detection time, you can directly reuse the lane line points corresponding to the third area at the previous detection time Characteristic information.
本申请实施例的方法,通过获取俯瞰车道线地图中与所述前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的预设范围的车道线局部地图中与俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息,且复用第三区域中各车道线点的特征信息。这样不仅实现对预设范围的车道线局部地图的更新,获得当前检测时刻的预设范围的车道线局部地图,同时,在更新过程中,复用前一检测时刻的预设范围的车道线局部地图与俯瞰车道线地图重叠的第三区域,进而降低更新数据量,节约技术资源和内存资源。The method of the embodiment of the present application obtains the first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooking lane line map, and the lane line partial of the preset range at the previous detection time The second area on the map that does not overlap with the overlooking lane line map, and the third area where the lane line partial map of the preset range at the previous detection time overlaps with the overlooking lane line map; each lane line point in the first area is used The feature information updates the feature information of each lane line point in the second area, and reuses the feature information of each lane line point in the third area. This not only realizes the update of the local map of the lane line in the preset range, and obtains the local map of the lane line in the preset range at the current detection time. At the same time, in the update process, reuse the local lane line of the preset range at the previous detection time. The third area where the map overlaps with the map overlooking the lane line, thereby reducing the amount of updated data and saving technical resources and memory resources.
图10为本申请实施例提供的车道线地图的维护方法的流程图,在上述实施例的基础上,本申请实施例涉及的是上述步骤C1根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图的具体过程,即上述步骤C1可以包括:FIG. 10 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. On the basis of the foregoing embodiment, the embodiment of the present application relates to the foregoing step C1 according to the environment image and the image lane line area, The specific process of generating an overlook lane map, that is, the above step C1 may include:
S801、确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S801: Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
在一种可能的实现方式中,上述S801确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系的过程可以包括如下步骤:In a possible implementation manner, the process of determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view in S801 may include the following steps:
S8011、获取所述视觉传感器的标定参数和所述车辆的姿态信息。S8011, acquire calibration parameters of the vision sensor and posture information of the vehicle.
S8012、根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。S8012, according to the calibration parameters of the vision sensor and the posture information of the vehicle, determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
上述S8011至S8012的具体执行过程可以参照上述S2011和S2012的描述,在此不再赘述。For the specific execution process of the foregoing S8011 to S8012, reference may be made to the description of the foregoing S2011 and S2012, and details are not described herein again.
S802、根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下。S802: According to the position conversion relationship, convert the environment image and the lane line area of the image to the bird's-eye view world coordinate system.
S803、根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。S803: Generate an overhead lane line map according to the environment image and the lane line area of the image in the overhead view world coordinate system.
上述S802至S803的具体执行过程可以参照上述S202和S203的描述,在此不再赘述。For the specific execution process of the foregoing S802 to S803, reference may be made to the description of the foregoing S202 and S203, which will not be repeated here.
本申请实施例中,若传感器为视觉传感器,电子设备根据视觉传感器采集的环境图像及图像车道线区域,生成俯瞰车道线地图时,首先确定环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;接着,根据该位置转换关系,将环境图像及图像车道线区域转换到俯瞰图世界坐标系下;然后,根据该俯瞰图世界坐标系下的环境图像及图像车道线区域,生成俯瞰车道线地图,实现对俯瞰车道线地图准确生成。In the embodiment of this application, if the sensor is a vision sensor, the electronic device generates an overlook lane line map based on the environment image and the image lane line area collected by the vision sensor, first determining the coordinate system between the environment image's coordinate system and the bird's eye view world coordinate system Position conversion relationship; then, according to the position conversion relationship, the environment image and the lane line area of the image are converted to the bird's-eye view world coordinate system; then, based on the environment image and the image lane line area in the bird's-eye view world coordinate system, a bird’s eye view is generated Lane line map, to achieve accurate generation of the overlooked lane line map.
图11为本申请实施例提供的车道线地图的维护方法的流程图,在上述实施例的基础上,本申请实施例涉及的是上述使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息,且复用第三区域中各车道线点的特征信息,上述S703包括:FIG. 11 is a flowchart of a method for maintaining a lane line map provided by an embodiment of the application. On the basis of the above-mentioned embodiment, the embodiment of this application relates to the above-mentioned updating the second by using the characteristic information of each lane line point in the first area The feature information of each lane line point in the area, and the multiplexing of the feature information of each lane line point in the third area, the above S703 includes:
S900、移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。S900. Move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time and the center of the vehicle satisfy a preset correspondence relationship .
在一种可能的实现方式中,上述S900包括如下步骤:In a possible implementation manner, the foregoing S900 includes the following steps:
S9001、获取所述车辆从前一检测时刻到当前检测时刻的位移量;S9001. Acquire the displacement of the vehicle from the previous detection time to the current detection time;
S9002、根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。S9002, according to the displacement, move the lane line local map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset corresponding relationship.
上述S9001至S9002的具体执行过程可以参照上述S3001和S3002的描述,在此不再赘述。For the specific execution process of the foregoing S9001 to S9002, reference may be made to the description of the foregoing S3001 and S3002, which will not be repeated here.
将前一检测时刻的预设范围的车道线局部地图的中心随着车辆的运动移动后,使用第一区域中各车道线点的特征信息更新第二区域中各车道线点的特征信息的具体过程包括如下步骤S901至S903的步骤。After the center of the lane line partial map of the preset range at the previous detection time is moved with the movement of the vehicle, the feature information of each lane line point in the first area is used to update the specific information of each lane line point in the second area. The process includes the following steps S901 to S903.
S901、确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系。S901. Determine a mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the predetermined range of the lane line local map at the previous detection time.
S902、根据所述映射关系,将俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的预设范围的车道线局部地图的像素坐标下,获得俯瞰车道线地图中各车道线点在所述预设范围的车道线局部地图中的坐标。S902. According to the mapping relationship, map the world coordinates of each lane line point in the overlooking lane line map to the pixel coordinates of the lane line partial map of the preset range at the previous detection time, to obtain each lane line in the overlooking lane line map The coordinates of the point in the local map of the lane line within the preset range.
S903、根据俯瞰车道线地图中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。S903. According to the coordinates of each lane line point in the overlooking lane line map in the lane line local map of the preset range at the previous detection time, update the second area using the characteristic information of each lane line point in the first area The characteristic information of each lane line point in.
在一种可能的实现方式中,上述S903中使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息可以被步骤D替换。In a possible implementation manner, using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area in S903 can be replaced by step D.
步骤D、基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D: Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
在一种示例中,上述步骤D可以被步骤D1替换。In an example, the above step D can be replaced by step D1.
步骤D1、基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Step D1, based on the Bayesian update method and the negative observation method, use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area.
上述实施例的步骤,可以参照上述图4所示实施例的描述,在此不再赘述。For the steps of the foregoing embodiment, reference may be made to the description of the foregoing embodiment shown in FIG. 4, which is not repeated here.
本申请实施例的方法,通过确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标;根据俯瞰车道线地图 中各车道线点在前一检测时刻的预设范围的车道线局部地图中的坐标,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,进而获得当前检测时刻的预设范围的车道线局部地图。The method of the embodiment of the present application determines the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection The coordinates in the preset range of the lane line local map; according to the coordinates of each lane line point in the overlooked lane line map in the preset range of the lane line local map at the previous detection time, use the first area The feature information of each lane line point updates the feature information of each lane line point in the second area, so as to obtain a local lane line map of a preset range at the current detection time.
图12为本申请实施例提供的电子设备的一种示意图,如图12所示,本申请实施例的电子设备200包括至少一个存储器210和至少一个处理器220。其中,存储器210,用于存储计算机程序;处理器220,用于执行所述计算机程序。FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of this application. As shown in FIG. 12, an electronic device 200 of an embodiment of this application includes at least one memory 210 and at least one processor 220. Among them, the memory 210 is used to store a computer program; the processor 220 is used to execute the computer program.
处理器220,在执行计算机程序时,通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;其中,所述预设范围至少包括所述俯瞰车道线地图的范围。The processor 220, when executing the computer program, acquires environmental data around the vehicle through sensors, and recognizes the lane line area according to the environmental data; generates an overlook lane line map based on the environmental data and the lane line area; The overlooked lane line map updates a preset range of the lane line partial map; wherein the preset range includes at least the range of the overlooked lane line map.
可选的,上述传感器可以设置在电子设备200上,也可以设置在电子设备200外,传感器与电子设备通信连接。Optionally, the above-mentioned sensor may be arranged on the electronic device 200 or outside the electronic device 200, and the sensor is in communication connection with the electronic device.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
在一种可能的实现方式中,所述传感器包括视觉传感器,In a possible implementation manner, the sensor includes a vision sensor,
所述处理器220,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor 220 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
在一种可能的实现方式中,所述处理器220,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。In a possible implementation manner, the processor 220 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
在一种可能的实现方式中,所述处理器220,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。In a possible implementation, the processor 220 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
在一种可能的实现方式中,所述处理器220使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,In a possible implementation manner, the processor 220 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
所述处理器220,具体用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor 220 is specifically configured to move the lane line local map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle. The center meets the preset correspondence relationship.
在一种可能的实现方式中,所述处理器220,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。In a possible implementation, the processor 220 is specifically configured to obtain the displacement of the vehicle from the previous detection moment to the current detection moment; according to the displacement, move the preset value at the previous detection moment The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
在一种可能的实现方式中,所述处理器220,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标 映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标。In a possible implementation manner, the processor 220 is further configured to determine the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the previously detected local map of the lane line of the preset range.
在一种可能的实现方式中,所述处理器220,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。In a possible implementation manner, the processor 220 is specifically configured to, according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection moment, Using the feature information of each lane line point on the overlooking lane line map, update the feature information of each lane line point on the lane line partial map of the preset range at the previous detection time.
在一种可能的实现方式中,所述处理器220,具体用于获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 220 is specifically configured to obtain a first area in the overlooking lane line map that does not overlap with the lane line partial map of the preset range at the previous detection time; The second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; the second area is updated using the characteristic information of each lane line point in the first area The characteristic information of each lane line point in.
在一种可能的实现方式中,所述处理器220,还用于获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;复用所述第三区域中各车道线点的特征信息。In a possible implementation manner, the processor 220 is further configured to obtain a third area that overlaps the overlooked lane line map in the preset range of the lane line partial map at the previous detection time; Characteristic information of each lane line point in the third area.
在一种可能的实现方式中,所述处理器220,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 220 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method. Characteristic information.
在一种可能的实现方式中,所述处理器220,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 220 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
在一种可能的实现方式中,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形类别的概率值。In a possible implementation manner, the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values of the lane line points belonging to different linear categories.
可选的,所述不同线形类别包括实线、虚线、导流线中的至少一种。Optionally, the different linear categories include at least one of a solid line, a dashed line, and a guide line.
在一种可能的实现方式中,所述传感器包括点云传感器,In a possible implementation manner, the sensor includes a point cloud sensor,
所述处理器220,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor 220 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
在一种可能的实现方式中,所述传感器包括视觉传感器和点云传感器,In a possible implementation, the sensor includes a vision sensor and a point cloud sensor,
所述处理器220,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor 220 is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
图13为本申请实施例提供的电子设备的一种示意图,如图13所示,本申请 实施例的电子设备300包括至少一个存储器310和至少一个处理器320。其中,存储器310,用于存储计算机程序;处理器320,用于执行所述计算机程序。FIG. 13 is a schematic diagram of an electronic device provided by an embodiment of the application. As shown in FIG. 13, the electronic device 300 of the embodiment of the application includes at least one memory 310 and at least one processor 320. Among them, the memory 310 is used to store a computer program; the processor 320 is used to execute the computer program.
处理器230,用于执行所述计算机程序,具体用于通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。The processor 230 is configured to execute the computer program, specifically for acquiring environmental data around the vehicle through sensors, and identifying a lane line area based on the environmental data; generating a bird’s eye view based on the environmental data and the lane line area Lane line map; according to the overlooked lane line map, update the lane line partial map of the preset range, and determine the line shape of the lane line according to the updated partial lane line map of the preset range.
可选的,上述传感器可以设置在电子设备300上,也可以设置在电子设备300外,传感器与电子设备通信连接。Optionally, the above-mentioned sensor may be arranged on the electronic device 300 or outside the electronic device 300, and the sensor is in communication connection with the electronic device.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
在一种可能的实现方式中,所述传感器包括视觉传感器,In a possible implementation manner, the sensor includes a vision sensor,
所述处理器320,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor 320 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
在一种可能的实现方式中,所述处理器320,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。In a possible implementation manner, the processor 320 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
在一种可能的实现方式中,所述处理器320,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。In a possible implementation, the processor 320 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
在一种可能的实现方式中,所述处理器320使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,In a possible implementation manner, the processor 320 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
所述处理器320,还用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor 320 is further configured to move the local lane line map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle. The center meets the preset correspondence relationship.
在一种可能的实现方式中,所述处理器320,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。In a possible implementation manner, the processor 320 is specifically configured to obtain the displacement of the vehicle from the previous detection time to the current detection time; according to the displacement, move the preset value at the previous detection time The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
在一种可能的实现方式中,所述处理器320,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地 图中的坐标。In a possible implementation, the processor 320 is further configured to determine the mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the lane line local map of the preset range at the previous detection time.
在一种可能的实现方式中,所述处理器320,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。In a possible implementation, the processor 320 is specifically configured to, according to the coordinates of each lane line point in the overlook lane line map in the preset range of the lane line local map at the previous detection time, Using the feature information of each lane line point on the overlooking lane line map, update the feature information of each lane line point on the lane line partial map of the preset range at the previous detection time.
在一种可能的实现方式中,所述处理器320,具体用于获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 320 is specifically configured to obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overhead lane line map; The second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; the second area is updated using the characteristic information of each lane line point in the first area The characteristic information of each lane line point in.
在一种可能的实现方式中,所述处理器320,还用于获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;复用所述第三区域中各车道线点的特征信息。In a possible implementation manner, the processor 320 is further configured to obtain a third area that overlaps the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; Characteristic information of each lane line point in the third area.
在一种可能的实现方式中,所述处理器320,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 320 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method Characteristic information.
在一种可能的实现方式中,所述处理器320,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 320 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
在一种可能的实现方式中,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。In a possible implementation manner, the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values that the lane line points belong to different line shapes.
可选的,所述不同线形包括实线、虚线、导流线中的至少一种。Optionally, the different line shapes include at least one of a solid line, a dashed line, and a guide line.
在一种可能的实现方式中,所述处理器320,具体用于根据更新后的所述预设范围的车道线局部地图中每个车道线点的概率表,确定每个所述车道线点的线形;根据每个所述车道线点的线形,确定所述车道线的线形。In a possible implementation, the processor 320 is specifically configured to determine each lane line point according to the updated probability table of each lane line point in the lane line local map of the preset range The line shape of the lane line; the line shape of the lane line is determined according to the line shape of each lane line point.
在一种可能的实现方式中,所述处理器320,具体用于针对更新后的所述预设范围的车道线局部地图中每个车道线点,将所述车道线点的概率表中最大概率值对应的线形,确定为所述车道线点的线形。In a possible implementation, the processor 320 is specifically configured to, for each lane line point in the updated lane line local map of the preset range, set the maximum probability table of the lane line point The line shape corresponding to the probability value is determined as the line shape of the lane line point.
在一种可能的实现方式中,所述传感器包括点云传感器,In a possible implementation manner, the sensor includes a point cloud sensor,
所述处理器320,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor 320 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
在一种可能的实现方式中,所述传感器包括视觉传感器和点云传感器,In a possible implementation, the sensor includes a vision sensor and a point cloud sensor,
所述处理器320,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor 320 is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
图14为本申请实施例提供的电子设备的一种示意图,如图14所示,本申请实施例的电子设备400包括至少一个存储器410和至少一个处理器420。其中,存储器410,用于存储计算机程序;处理器420,用于执行所述计算机程序。FIG. 14 is a schematic diagram of an electronic device provided by an embodiment of this application. As shown in FIG. 14, an electronic device 400 in an embodiment of this application includes at least one memory 410 and at least one processor 420. Wherein, the memory 410 is used to store a computer program; the processor 420 is used to execute the computer program.
处理器430,用于执行所述计算机程序,具体用于通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;获取所示俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的所述预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,且复用所述第三区域中各车道线点的特征信息。The processor 430 is configured to execute the computer program, and is specifically configured to obtain environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data; generate a bird's eye view based on the environmental data and the lane line area Lane line map; acquiring the first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooked lane line map, and the lane line partial map of the preset range at the previous detection time A second area that does not overlap with the overhead lane line map, and a third area where the preset range of the lane line partial map at the previous detection time overlaps the overhead lane line map; use the first area The feature information of each lane line point updates the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
可选的,上述传感器可以设置在电子设备400上,也可以设置在电子设备400外,传感器与电子设备通信连接。Optionally, the above-mentioned sensor may be arranged on the electronic device 400 or outside the electronic device 400, and the sensor is in communication connection with the electronic device.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
在一种可能的实现方式中,所述传感器包括视觉传感器,In a possible implementation manner, the sensor includes a vision sensor,
所述处理器430,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor 430 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
在一种可能的实现方式中,所述处理器430,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。In a possible implementation manner, the processor 430 is specifically configured to determine a position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; according to the position conversion relationship, convert the environment The image and the lane line area of the image are converted to the bird's-eye view world coordinate system; and the bird's eye view lane line map is generated according to the environment image and the image lane line area in the bird's eye view world coordinate system.
在一种可能的实现方式中,所述处理器430,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。In a possible implementation, the processor 430 is specifically configured to obtain the calibration parameters of the vision sensor and the posture information of the vehicle; according to the calibration parameters of the vision sensor and the posture information of the vehicle, Determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view.
在一种可能的实现方式中,所述处理器430使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,In a possible implementation manner, the processor 430 uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the partial map of the lane line of the preset range,
所述处理器430,还用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor 430 is further configured to move the local lane line map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is equal to that of the vehicle. The center meets the preset correspondence relationship.
在一种可能的实现方式中,所述处理器430,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地 图的中心与所述车辆的中心满足所述预设的对应关系。In a possible implementation, the processor 430 is specifically configured to obtain the displacement of the vehicle from the previous detection moment to the current detection moment; according to the displacement, move the preset value at the previous detection moment The local lane line map of the range, so that the center of the local lane line map of the preset range at the previous detection time and the center of the vehicle satisfy the preset correspondence relationship.
在一种可能的实现方式中,所述处理器430,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标。In a possible implementation, the processor 430 is further configured to determine the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the preset range of the lane line local map at the previous detection time According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line The coordinates of each lane line point in the map in the lane line local map of the preset range at the previous detection time.
在一种可能的实现方式中,所述处理器430,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation, the processor 430 is specifically configured to, according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection moment, The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
在一种可能的实现方式中,所述处理器430,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 430 is specifically configured to use the characteristic information of each lane line point in the first area to update each lane line point in the second area based on a Bayesian update method Characteristic information.
在一种可能的实现方式中,所述处理器430,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。In a possible implementation manner, the processor 430 is specifically configured to use the characteristic information of each lane line point in the first area to update the first area based on the Bayesian update method and the negative observation method. 2. The characteristic information of each lane line point in the area.
在一种可能的实现方式中,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。In a possible implementation manner, the characteristic information of the lane line point includes two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and a probability table of the lane line point, and the probability table includes The probability values that the lane line points belong to different line shapes.
可选的,所述不同线形包括实线、虚线、导流线中的至少一种。Optionally, the different line shapes include at least one of a solid line, a dashed line, and a guide line.
在一种可能的实现方式中,所述传感器包括点云传感器,In a possible implementation manner, the sensor includes a point cloud sensor,
所述处理器430,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor 430 is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environment Point cloud data.
在一种可能的实现方式中,所述传感器包括视觉传感器和点云传感器,In a possible implementation, the sensor includes a vision sensor and a point cloud sensor,
所述处理器430,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor 430 is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the The environment image recognizes the lane line area; according to the environment point cloud data, the environment image, and the lane line area, an overhead lane line map is generated.
本申请实施例的电子设备,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present application may be used to execute the technical solution of the method embodiment shown above, and its implementation principles and technical effects are similar, and will not be repeated here.
图15为本申请实施例提供的车辆的结构示意图,如图15所示,本实施例的车辆50包括:车身51和安装在车身51上的电子设备52。FIG. 15 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 15, a vehicle 50 in this embodiment includes a body 51 and an electronic device 52 installed on the body 51.
其中,电子设备52为图12至图14任一项的电子设备,该电子设备52用于车道线地图的维护。Wherein, the electronic device 52 is the electronic device of any one of FIGS. 12 to 14, and the electronic device 52 is used for the maintenance of the lane line map.
可选的,电子设备52安装在车身51的车顶,传感器安装在车身上,用于采 集车辆周围的环境数据。Optionally, the electronic device 52 is installed on the roof of the vehicle body 51, and the sensor is installed on the vehicle body to collect environmental data around the vehicle.
可选的,电子设备52安装在车身51的前挡风玻璃上,或者,电子设备52安装在车身51的后挡风玻璃上。Optionally, the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
可选的,电子设备52安装在车身51的车头上,或者,所述电子设备52安装在车身51的车尾上。Optionally, the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
本申请实施例对电子设备52在车身51上的安装位置不限制,具体根据实际需要确定。The embodiment of the present application does not limit the installation position of the electronic device 52 on the body 51, which is specifically determined according to actual needs.
本申请实施例的车辆,可以用于执行上述所示车道线地图的维护方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The vehicle of the embodiment of the present application can be used to implement the technical solution of the above-mentioned embodiment of the method for maintaining a lane line map, and its implementation principles and technical effects are similar, and will not be repeated here.
图16为本申请实施例提供的交通工具的结构示意图,如图16所示,本实施例的交通工具60包括:交通工具本体61和安装在交通工具本体61上的电子设备62。FIG. 16 is a schematic structural diagram of a vehicle provided by an embodiment of the application. As shown in FIG. 16, the vehicle 60 of this embodiment includes: a vehicle body 61 and an electronic device 62 installed on the vehicle body 61.
其中,电子设备62为图12至图14任一项所示的电子设备,该电子设备62用于维护车道线。Wherein, the electronic device 62 is the electronic device shown in any one of FIGS. 12 to 14, and the electronic device 62 is used for maintaining lane lines.
可选的,本实施例的交通工具60可以是船舶、汽车、巴士、铁路车辆、飞行器、铁路机车、踏板车、脚踏车等。Optionally, the vehicle 60 in this embodiment may be a ship, automobile, bus, railway vehicle, aircraft, railway locomotive, scooter, bicycle, etc.
可选的,该电子设备62可以安装在交通工具本体61的前部、尾部或中部等,本申请实施例对电子设备62在交通工具本体61上的安装位置不限制,具体根据实际需要确定。Optionally, the electronic device 62 can be installed on the front, rear, or middle of the vehicle body 61, etc. The embodiment of the present application does not limit the installation position of the electronic device 62 on the vehicle body 61, and is specifically determined according to actual needs.
本申请实施例的交通工具,可以用于执行上述所示车道线地图的维护方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The transportation tool of the embodiment of the present application can be used to implement the technical solutions of the above-mentioned maintenance method embodiment of the lane line map, and its implementation principles and technical effects are similar, and will not be repeated here.
进一步的,当本申请实施例中车道线地图的维护方法的至少一部分功能通过软件实现时,本申请实施例还提供一种计算机存储介质,计算机存储介质用于储存为上述车道线维护的计算机软件指令,当其在计算机上运行时,使得计算机可以执行上述方法实施例中各种可能的车道线地图的维护方法。在计算机上加载和执行所述计算机执行指令时,可全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机指令可以存储在计算机存储介质中,或者从一个计算机存储介质向另一个计算机存储介质传输,所述传输可以通过无线(例如蜂窝通信、红外、短距离无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如SSD)等。Further, when at least a part of the functions of the lane line map maintenance method in the embodiment of the present application is realized by software, the embodiment of the present application also provides a computer storage medium, and the computer storage medium is used to store the computer software for the lane line maintenance. The instructions, when run on the computer, enable the computer to execute various possible lane line map maintenance methods in the foregoing method embodiments. When the computer-executable instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application can be generated in whole or in part. The computer instructions can be stored in a computer storage medium, or transmitted from one computer storage medium to another computer storage medium, and the transmission can be transmitted to another by wireless (such as cellular communication, infrared, short-range wireless, microwave, etc.) Website site, computer, server or data center for transmission. The computer storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, an SSD).
本申请实施例中还提供了一种计算机存储介质,该计算机存储介质中存储有程序指令,所述程序执行时可包括上述各实施例中的车道线地图的维护方法的部分或全部步骤。The embodiments of the present application also provide a computer storage medium in which program instructions are stored. The program execution may include part or all of the steps of the lane line map maintenance method in the foregoing embodiments.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以 通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the application range.

Claims (99)

  1. 一种车道线地图的维护方法,其特征在于,包括:A method for maintaining a lane line map is characterized in that it includes:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;According to the overlooked lane line map, update the local lane line map of the preset range;
    其中,所述预设范围至少包括所述俯瞰车道线地图的范围。Wherein, the preset range at least includes the range of the overlooking lane line map.
  2. 根据权利要求1所述的方法,其特征在于,所述传感器包括视觉传感器,The method of claim 1, wherein the sensor comprises a vision sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;The acquiring environmental data around the vehicle through a sensor and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and identifying the lane based on the environmental image Line area
    所述环境数据为所述环境图像。The environmental data is the environmental image.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图,包括:The method according to claim 2, wherein the generating an overlooked lane line map according to the environment image and the lane line area of the image comprises:
    确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;Determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view;
    根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;According to the position conversion relationship, converting the environment image and the lane line area of the image to the bird's-eye view world coordinate system;
    根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。According to the environment image in the world coordinate system of the bird's-eye view map and the lane line area of the image, a bird's eye view lane line map is generated.
  4. 根据权利要求3所述的方法,其特征在于,所述确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系,包括:The method according to claim 3, wherein the determining the position conversion relationship between the coordinate system of the environmental image and the world coordinate system of the bird's-eye view comprises:
    获取所述视觉传感器的标定参数和所述车辆的姿态信息;Acquiring the calibration parameters of the vision sensor and the posture information of the vehicle;
    根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。According to the calibration parameters of the vision sensor and the posture information of the vehicle, the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's eye view is determined.
  5. 根据权利要求3所述的方法,其特征在于,使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,所述方法包括:The method according to claim 3, characterized in that, using the overlooked lane line map at the current detection time, the local lane line map of the preset range at the previous detection time is updated to obtain the preview at the current detection time. Before setting the local map of the lane line of the range, the method includes:
    移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The local map of the lane line of the preset range at the previous detection time is moved so that the center of the local map of the lane line of the preset range at the previous detection time meets the preset correspondence relationship with the center of the vehicle.
  6. 根据权利要求5所述的方法,其特征在于,所述移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系,包括:The method according to claim 5, wherein the local map of the preset range of the lane line at the previous detection time is moved so that the local map of the lane line of the preset range at the previous detection time is The center and the center of the vehicle meet the preset correspondence relationship, including:
    获取所述车辆从前一检测时刻到当前检测时刻的位移量;Acquiring the displacement of the vehicle from the previous detection moment to the current detection moment;
    根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。According to the displacement amount, move the lane line local map of the preset range at the previous detection time so that the center of the lane line local map of the preset range at the previous detection time and the center of the vehicle meet all requirements. Describe the preset correspondence.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车 道线局部地图的像素坐标的映射关系;Determining the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line partial map of the preset range at the previous detection time;
    根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标。According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line map The coordinates of each lane line point in the previously detected lane line local map of the preset range.
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,包括:The method according to claim 7, wherein the updating a local map of a predetermined range of lane lines according to the overlooked lane line map comprises:
    根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。According to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time, the feature information of each lane line point on the overlooking lane line map is used to update the previous 1. The characteristic information of each lane line point on the lane line partial map of the preset range at the detection time.
  9. 根据权利要求8所述的方法,其特征在于,所述使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息,包括:The method according to claim 8, wherein the feature information of each lane line point on the overlooked lane line map is used to update each lane line local map of the preset range at the previous detection time. The characteristic information of lane line points, including:
    获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;Acquiring a first area in the overlooking lane line map that does not overlap with the lane line partial map of the preset range at the previous detection time;
    获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;Acquiring a second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time;
    使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  10. 根据权利要求8或9所述的方法,其特征在于,还包括:The method according to claim 8 or 9, further comprising:
    获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;Acquiring a third area overlapping with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time;
    复用所述第三区域中各车道线点的特征信息。Multiplexing the characteristic information of each lane line point in the third area.
  11. 根据权利要求9所述的方法,其特征在于,所述使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 9, wherein the using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area comprises:
    基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  12. 根据权利要求11所述的方法,其特征在于,所述基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 11, characterized in that the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area based on the Bayesian update method ,include:
    基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian updating method and the negative observation method, the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
  13. 根据权利要求8-12任一项所述的方法,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形类别的概率值。The method according to any one of claims 8-12, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line point The probability table includes the probability values of the lane line points belonging to different linear categories.
  14. 根据权利要求13所述的方法,其特征在于,所述不同线形类别包括实线、虚线、导流线中的至少一种。The method according to claim 13, wherein the different linear categories include at least one of a solid line, a dashed line, and a diversion line.
  15. 根据权利要求1所述的方法,其特征在于,所述传感器包括点云传感器,The method according to claim 1, wherein the sensor comprises a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;The acquiring environmental data around the vehicle through sensors, and identifying the lane line area according to the environmental data includes: acquiring environmental point cloud data around the vehicle through the point cloud sensor, and according to the environmental point cloud data Identify the lane line area;
    所述环境数据为所述环境点云数据。The environmental data is the environmental point cloud data.
  16. 根据权利要求1所述的方法,其特征在于,所述传感器包括视觉传感器和点云传感器,The method according to claim 1, wherein the sensor includes a vision sensor and a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;The acquiring environmental data around the vehicle through a sensor, and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and acquiring the surrounding environment of the vehicle through the point cloud sensor Environmental point cloud data;
    根据所述环境点云数据和所述环境图像识别出所述车道线区域;Identifying the lane line area according to the environmental point cloud data and the environmental image;
    所述根据所述环境数据及所述车道线区域,生成俯瞰车道线地图,包括:根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The generating an overlooked lane line map according to the environmental data and the lane line area includes: generating an overlooked lane line map according to the environmental point cloud data, the environmental image, and the lane line area.
  17. 一种车道线地图的维护方法,其特征在于,包括:A method for maintaining a lane line map is characterized in that it includes:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。According to the overlooked lane line map, a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
  18. 根据权利要求17所述的方法,其特征在于,所述传感器包括视觉传感器,The method of claim 17, wherein the sensor comprises a vision sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;The acquiring environmental data around the vehicle through a sensor and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and identifying the lane based on the environmental image Line area
    所述环境数据为所述环境图像。The environmental data is the environmental image.
  19. 根据权利要求18所述的方法,其特征在于,所述根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图,包括:The method according to claim 18, wherein the generating an overlook lane line map according to the environment image and the lane line area of the image comprises:
    确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;Determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view;
    根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;According to the position conversion relationship, converting the environment image and the lane line area of the image to the bird's-eye view world coordinate system;
    根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。According to the environment image in the world coordinate system of the bird's-eye view map and the lane line area of the image, a bird's eye view lane line map is generated.
  20. 根据权利要求19所述的方法,其特征在于,所述确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系,包括:The method according to claim 19, wherein the determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view comprises:
    获取所述视觉传感器的标定参数和所述车辆的姿态信息;Acquiring the calibration parameters of the vision sensor and the posture information of the vehicle;
    根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。According to the calibration parameters of the vision sensor and the posture information of the vehicle, the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's eye view is determined.
  21. 根据权利要求19所述的方法,其特征在于,使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当 前检测时刻的所述预设范围的车道线局部地图之前,所述方法包括:The method according to claim 19, characterized in that, using the overlooked lane line map at the current detection time, the local lane line map of the preset range at the previous detection time is updated to obtain the preview at the current detection time. Before setting the local map of the lane line of the range, the method includes:
    移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The local map of the lane line of the preset range at the previous detection time is moved so that the center of the local map of the lane line of the preset range at the previous detection time meets the preset correspondence relationship with the center of the vehicle.
  22. 根据权利要求21所述的方法,其特征在于,所述移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系,包括:22. The method according to claim 21, wherein the local map of the preset range of the lane line at the previous detection time is moved so that the local map of the lane line of the preset range at the previous detection time is The center and the center of the vehicle meet the preset correspondence relationship, including:
    获取所述车辆从前一检测时刻到当前检测时刻的位移量;Acquiring the displacement of the vehicle from the previous detection moment to the current detection moment;
    根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。According to the displacement amount, move the lane line local map of the preset range at the previous detection time so that the center of the lane line local map of the preset range at the previous detection time and the center of the vehicle meet all requirements. Describe the preset correspondence.
  23. 根据权利要求22所述的方法,其特征在于,所述方法还包括:The method according to claim 22, wherein the method further comprises:
    确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;Determining the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time;
    根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标。According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line map The coordinates of each lane line point in the lane line local map of the preset range at the previous detection time.
  24. 根据权利要求23所述的方法,其特征在于,所述根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,包括:22. The method according to claim 23, wherein the updating a local lane line map of a preset range according to the overlooked lane line map comprises:
    根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。According to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time, the feature information of each lane line point on the overlooking lane line map is used to update the previous 1. The characteristic information of each lane line point on the lane line partial map of the preset range at the detection time.
  25. 根据权利要求24所述的方法,其特征在于,所述使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息,包括:The method according to claim 24, wherein the feature information of each lane line point on the overlooked lane line map is used to update each lane line local map of the preset range at the previous detection time. The characteristic information of lane line points, including:
    获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;Acquiring a first area in the overlooking lane line map that does not overlap with the lane line partial map of the preset range at the previous detection time;
    获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;Acquiring a second area that does not overlap with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time;
    使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  26. 根据权利要求24或25所述的方法,其特征在于,还包括:The method according to claim 24 or 25, further comprising:
    获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;Acquiring a third area overlapping with the overlooked lane line map in the lane line partial map of the preset range at the previous detection time;
    复用所述第三区域中各车道线点的特征信息。Multiplexing the characteristic information of each lane line point in the third area.
  27. 根据权利要求25所述的方法,其特征在于,所述使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 25, wherein the using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area comprises:
    基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  28. 根据权利要求27所述的方法,其特征在于,所述基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:28. The method according to claim 27, wherein the Bayesian updating method is used to update the characteristic information of each lane line point in the second area using the characteristic information of each lane line point in the first area ,include:
    基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian updating method and the negative observation method, the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
  29. 根据权利要求24-28任一项所述的方法,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。The method according to any one of claims 24-28, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line point The probability table includes the probability values of the lane line points belonging to different linear shapes.
  30. 根据权利要求29所述的方法,其特征在于,所述不同线形包括实线、虚线、导流线中的至少一种。The method according to claim 29, wherein the different line shapes include at least one of a solid line, a dashed line, and a diversion line.
  31. 根据权利要求29所述的方法,其特征在于,所述根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形,包括:The method according to claim 29, wherein the determining the line shape of the lane line according to the updated local map of the lane line of the preset range comprises:
    根据更新后的所述预设范围的车道线局部地图中每个车道线点的概率表,确定每个所述车道线点的线形;Determine the line shape of each lane line point according to the updated probability table of each lane line point in the lane line partial map of the preset range;
    根据每个所述车道线点的线形,确定所述车道线的线形。Determine the line shape of the lane line according to the line shape of each lane line point.
  32. 根据权利要求31所述的方法,其特征在于,所述根据更新后的所述预设范围的车道线局部地图中每个车道线点的概率表,确定每个所述车道线点的线形,包括:The method according to claim 31, wherein the line shape of each lane line point is determined according to the updated probability table of each lane line point in the lane line partial map of the preset range, include:
    针对更新后的所述预设范围的车道线局部地图中每个车道线点,将所述车道线点的概率表中最大概率值对应的线形,确定为所述车道线点的线形。For each lane line point in the updated lane line partial map of the preset range, the line shape corresponding to the maximum probability value in the probability table of the lane line point is determined as the line shape of the lane line point.
  33. 根据权利要求17所述的方法,其特征在于,所述传感器包括点云传感器,The method according to claim 17, wherein the sensor comprises a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;The acquiring environmental data around the vehicle through sensors, and identifying the lane line area according to the environmental data includes: acquiring environmental point cloud data around the vehicle through the point cloud sensor, and according to the environmental point cloud data Identify the lane line area;
    所述环境数据为所述环境点云数据。The environmental data is the environmental point cloud data.
  34. 根据权利要求17所述的方法,其特征在于,所述传感器包括视觉传感器和点云传感器,The method according to claim 17, wherein the sensor includes a vision sensor and a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;The acquiring environmental data around the vehicle through a sensor, and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and acquiring the surrounding environment of the vehicle through the point cloud sensor Environmental point cloud data;
    根据所述环境点云数据和所述环境图像识别出所述车道线区域;Identifying the lane line area according to the environmental point cloud data and the environmental image;
    所述根据所述环境数据及所述车道线区域,生成俯瞰车道线地图,包括:根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The generating an overlooked lane line map according to the environmental data and the lane line area includes: generating an overlooked lane line map according to the environmental point cloud data, the environmental image, and the lane line area.
  35. 一种车道线地图的维护方法,其特征在于,包括:A method for maintaining a lane line map is characterized in that it includes:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区 域;Acquire environmental data around the vehicle through sensors, and identify the lane line area based on the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    获取所示俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的所述预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the shown overhead lane line map, and the lane line partial map of the preset range at the previous detection time is in line with the overlook A second area where the lane line map does not overlap, and a third area where the lane line partial map of the preset range at the previous detection time overlaps with the overhead lane line map;
    使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,且复用所述第三区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
  36. 根据权利要求35所述的方法,其特征在于,所述传感器包括视觉传感器,The method of claim 35, wherein the sensor comprises a vision sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;The acquiring environmental data around the vehicle through a sensor and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and identifying the lane based on the environmental image Line area
    所述环境数据为所述环境图像。The environmental data is the environmental image.
  37. 根据权利要求36所述的方法,其特征在于,所述根据所述环境图像及所述图像车道线区域,生成俯瞰车道线地图,包括:The method according to claim 36, wherein said generating an overlook lane line map according to said environment image and said image lane line area comprises:
    确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;Determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view;
    根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;According to the position conversion relationship, converting the environment image and the lane line area of the image to the bird's-eye view world coordinate system;
    根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。According to the environment image in the world coordinate system of the bird's-eye view map and the lane line area of the image, a bird's eye view lane line map is generated.
  38. 根据权利要求37所述的方法,其特征在于,所述确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系,包括:The method according to claim 37, wherein the determining the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view comprises:
    获取所述视觉传感器的标定参数和所述车辆的姿态信息;Acquiring the calibration parameters of the vision sensor and the posture information of the vehicle;
    根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。According to the calibration parameters of the vision sensor and the posture information of the vehicle, the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's eye view is determined.
  39. 根据权利要求37所述的方法,其特征在于,所述方法还包括:The method of claim 37, wherein the method further comprises:
    移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The local map of the lane line of the preset range at the previous detection time is moved so that the center of the local map of the lane line of the preset range at the previous detection time meets the preset correspondence relationship with the center of the vehicle.
  40. 根据权利要求39所述的方法,其特征在于,所述移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系,包括:The method according to claim 39, wherein the local map of the preset range of the lane line at the previous detection time is moved so that the local map of the lane line of the preset range at the previous detection time is The center and the center of the vehicle meet the preset correspondence relationship, including:
    获取所述车辆从前一检测时刻到当前检测时刻的位移量;Acquiring the displacement of the vehicle from the previous detection moment to the current detection moment;
    根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。According to the displacement amount, move the lane line local map of the preset range at the previous detection time so that the center of the lane line local map of the preset range at the previous detection time and the center of the vehicle meet all requirements. Describe the preset correspondence.
  41. 根据权利要求40所述的方法,其特征在于,所述方法还包括:The method according to claim 40, wherein the method further comprises:
    确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车 道线局部地图的像素坐标的映射关系;Determining the mapping relationship between the world coordinates of the overlooking lane line map and the pixel coordinates of the lane line partial map of the preset range at the previous detection time;
    根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标。According to the mapping relationship, map the world coordinates of each lane line point in the overlook lane line map to the pixel coordinates of the preset range of the lane line local map at the previous detection time to obtain the overlook lane line map The coordinates of each lane line point in the lane line local map of the preset range at the previous detection time.
  42. 根据权利要求41所述的方法,其特征在于,所述使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 41, wherein the using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area comprises:
    根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。According to the coordinates of each lane line point in the overlooked lane line map in the preset range of the lane line local map at the previous detection time, the first area is updated using the characteristic information of each lane line point 2. The characteristic information of each lane line point in the area.
  43. 根据权利要求42所述的方法,其特征在于,所述使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 42, wherein the using the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area comprises:
    基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian update method, the feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area.
  44. 根据权利要求43所述的方法,其特征在于,所述基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,包括:The method according to claim 43, wherein the Bayesian update method is used to update the characteristic information of each lane line point in the second area using the characteristic information of each lane line point in the first area ,include:
    基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。Based on the Bayesian updating method and the negative observation method, the characteristic information of each lane line point in the first area is used to update the characteristic information of each lane line point in the second area.
  45. 根据权利要求42-44任一项所述的方法,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。The method according to any one of claims 42-44, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line point The probability table includes the probability values of the lane line points belonging to different linear shapes.
  46. 根据权利要求45所述的方法,其特征在于,所述不同线形包括实线、虚线、导流线中的至少一种。The method according to claim 45, wherein the different line shapes include at least one of a solid line, a dashed line, and a diversion line.
  47. 根据权利要求35所述的方法,其特征在于,所述传感器包括点云传感器,The method of claim 35, wherein the sensor comprises a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;The acquiring environmental data around the vehicle through sensors, and identifying the lane line area according to the environmental data includes: acquiring environmental point cloud data around the vehicle through the point cloud sensor, and according to the environmental point cloud data Identify the lane line area;
    所述环境数据为所述环境点云数据。The environmental data is the environmental point cloud data.
  48. 根据权利要求35所述的方法,其特征在于,所述传感器包括视觉传感器和点云传感器,The method according to claim 35, wherein the sensor comprises a vision sensor and a point cloud sensor,
    所述通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域,包括:通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;The acquiring environmental data around the vehicle through a sensor, and identifying the lane line area according to the environmental data includes: acquiring an environmental image around the vehicle through the visual sensor, and acquiring the surrounding environment of the vehicle through the point cloud sensor Environmental point cloud data;
    根据所述环境点云数据和所述环境图像识别出所述车道线区域;Identifying the lane line area according to the environmental point cloud data and the environmental image;
    所述根据所述环境数据及所述车道线区域,生成俯瞰车道线地图,包括:根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The generating an overlooked lane line map according to the environmental data and the lane line area includes: generating an overlooked lane line map according to the environmental point cloud data, the environmental image, and the lane line area.
  49. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    根据所述俯瞰车道线地图,更新预设范围的车道线局部地图;According to the overlooked lane line map, update the local lane line map of the preset range;
    其中,所述预设范围至少包括所述俯瞰车道线地图的范围。Wherein, the preset range at least includes the range of the overlooking lane line map.
  50. 根据权利要求49所述的电子设备,其特征在于,所述传感器包括视觉传感器,The electronic device of claim 49, wherein the sensor comprises a visual sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  51. 根据权利要求50所述的电子设备,其特征在于,The electronic device according to claim 50, wherein:
    所述处理器,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。The processor is specifically configured to determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; and convert the environment image and the lane line area of the image to Under the bird's-eye view world coordinate system; generate an bird's-eye lane line map based on the environment image and the image lane line area in the bird's eye view world coordinate system.
  52. 根据权利要求51所述的电子设备,其特征在于,The electronic device according to claim 51, wherein:
    所述处理器,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。The processor is specifically configured to acquire the calibration parameters of the vision sensor and the posture information of the vehicle; determine the coordinate system and the bird's eye view of the environment image according to the calibration parameters of the vision sensor and the posture information of the vehicle The position conversion relationship between the world coordinate system of the graph.
  53. 根据权利要求52所述的电子设备,其特征在于,所述处理器使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,The electronic device according to claim 52, wherein the processor uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the local map of the lane line of the preset range at the time,
    所述处理器,具体用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor is specifically configured to move the local lane line map of the preset range at the previous detection time, so that the center of the lane line local map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset correspondence relationship.
  54. 根据权利要求53所述的电子设备,其特征在于,The electronic device according to claim 53, wherein:
    所述处理器,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。The processor is specifically configured to acquire the displacement amount of the vehicle from the previous detection moment to the current detection moment; according to the displacement amount, move the local lane line map of the preset range at the previous detection moment to make the previous The center of the lane line partial map of the preset range and the center of the vehicle at the detection time meet the preset correspondence relationship.
  55. 根据权利要求54所述的电子设备,其特征在于,The electronic device according to claim 54, wherein:
    所述处理器,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测的所述预设范围的车道线局部地图中的坐标。The processor is further configured to determine the mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection The coordinates in the local map of the lane line of the preset range.
  56. 根据权利要求55所述的电子设备,其特征在于,The electronic device according to claim 55, wherein:
    所述处理器,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。The processor is specifically configured to use each lane on the overlooking lane line map according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time The feature information of the line point updates the feature information of each lane line point on the local map of the lane line of the preset range at the previous detection time.
  57. 根据权利要求56所述的电子设备,其特征在于,The electronic device according to claim 56, wherein:
    所述处理器,具体用于获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooking lane line map; obtain the preset range at the previous detection time A second area in the local lane line map that does not overlap with the overlooked lane line map; using the feature information of each lane line point in the first area to update the feature information of each lane line point in the second area.
  58. 根据权利要求56或57所述的电子设备,其特征在于,The electronic device according to claim 56 or 57, wherein:
    所述处理器,还用于获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;复用所述第三区域中各车道线点的特征信息。The processor is further configured to obtain a third area that overlaps the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; multiplex each lane line point in the third area Characteristic information.
  59. 根据权利要求57所述的电子设备,其特征在于,The electronic device according to claim 57, wherein:
    所述处理器,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on a Bayesian update method.
  60. 根据权利要求59所述的电子设备,其特征在于The electronic device according to claim 59, wherein
    所述处理器,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on the Bayesian update mode and the negative observation mode .
  61. 根据权利要求56-60任一项所述的电子设备,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形类别的概率值。The electronic device according to any one of claims 56 to 60, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line A point probability table, the probability table including the probability values of the lane line points belonging to different linear categories.
  62. 根据权利要求61所述的电子设备,其特征在于,所述不同线形类别包括实线、虚线、导流线中的至少一种。The electronic device according to claim 61, wherein the different linear types include at least one of a solid line, a dashed line, and a diversion line.
  63. 根据权利要求49所述的电子设备,其特征在于,所述传感器包括点云传感器,The electronic device of claim 49, wherein the sensor comprises a point cloud sensor,
    所述处理器,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environmental point Cloud data.
  64. 根据权利要求49所述的电子设备,其特征在于,所述传感器包括视觉传感器和点云传感器,The electronic device of claim 49, wherein the sensor comprises a vision sensor and a point cloud sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the environment The image identifies the lane line area; according to the environmental point cloud data, the environment image, and the lane line area, an overlooked lane line map is generated.
  65. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    根据所述俯瞰车道线地图,更新预设范围的车道线局部地图,并根据更新后的所述预设范围的车道线局部地图,确定所述车道线的线形。According to the overlooked lane line map, a preset range of lane line partial map is updated, and the line shape of the lane line is determined according to the updated partial map of the preset range of lane lines.
  66. 根据权利要求65所述的电子设备,其特征在于,所述传感器包括视觉传感器,The electronic device of claim 65, wherein the sensor comprises a vision sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  67. 根据权利要求66所述的电子设备,其特征在于,The electronic device according to claim 66, wherein:
    所述处理器,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。The processor is specifically configured to determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; and convert the environment image and the lane line area of the image to Under the bird's-eye view world coordinate system; generate an bird's-eye lane line map based on the environment image and the image lane line area in the bird's eye view world coordinate system.
  68. 根据权利要求67所述的电子设备,其特征在于,The electronic device according to claim 67, wherein:
    所述处理器,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。The processor is specifically configured to acquire the calibration parameters of the vision sensor and the posture information of the vehicle; determine the coordinate system and the bird's eye view of the environment image according to the calibration parameters of the vision sensor and the posture information of the vehicle The position conversion relationship between the world coordinate system of the graph.
  69. 根据权利要求67所述的电子设备,其特征在于,所述处理器使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,The electronic device according to claim 67, wherein the processor uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the local map of the lane line of the preset range at the time,
    所述处理器,还用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor is further configured to move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset correspondence relationship.
  70. 根据权利要求69所述的电子设备,其特征在于,The electronic device according to claim 69, wherein:
    所述处理器,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。The processor is specifically configured to acquire the displacement amount of the vehicle from the previous detection moment to the current detection moment; according to the displacement amount, move the local lane line map of the preset range at the previous detection moment to make the previous The center of the lane line partial map of the preset range and the center of the vehicle at the detection time meet the preset correspondence relationship.
  71. 根据权利要求70所述的电子设备,其特征在于,The electronic device according to claim 70, wherein:
    所述处理器,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标。The processor is further configured to determine the mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection The coordinates in the local map of the lane line of the preset range at the time.
  72. 根据权利要求71所述的电子设备,其特征在于,The electronic device according to claim 71, wherein:
    所述处理器,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时 刻的所述预设范围的车道线局部地图中的坐标,使用所述俯瞰车道线地图上各车道线点的特征信息,更新前一检测时刻的所述预设范围的车道线局部地图上的各车道线点的特征信息。The processor is specifically configured to use each lane on the overlooking lane line map according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time The feature information of the line point updates the feature information of each lane line point on the local map of the lane line of the preset range at the previous detection time.
  73. 根据权利要求72所述的电子设备,其特征在于,The electronic device according to claim 72, wherein:
    所述处理器,具体用于获取所述俯瞰车道线地图中与前一检测时刻的所述预设范围的车道线局部地图不重叠的第一区域;获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域;使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the overlooking lane line map; obtain the preset range at the previous detection time A second area in the local lane line map that does not overlap with the overlooked lane line map; using the feature information of each lane line point in the first area to update the feature information of each lane line point in the second area.
  74. 根据权利要求72或73所述的电子设备,其特征在于,The electronic device according to claim 72 or 73, wherein:
    所述处理器,还用于获取前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图重叠的第三区域;复用所述第三区域中各车道线点的特征信息。The processor is further configured to obtain a third area that overlaps the overlooked lane line map in the lane line partial map of the preset range at the previous detection time; multiplex each lane line point in the third area Characteristic information.
  75. 根据权利要求73所述的电子设备,其特征在于,The electronic device according to claim 73, wherein:
    所述处理器,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on a Bayesian update method.
  76. 根据权利要求75所述的电子设备,其特征在于,The electronic device according to claim 75, wherein:
    所述处理器,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on the Bayesian update mode and the negative observation mode .
  77. 根据权利要求72-76任一项所述的电子设备,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。The electronic device according to any one of claims 72-76, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line A probability table of points, the probability table including probability values that the lane line points belong to different linear shapes.
  78. 根据权利要求77所述的电子设备,其特征在于,所述不同线形包括实线、虚线、导流线中的至少一种。The electronic device according to claim 77, wherein the different line shapes include at least one of a solid line, a dashed line, and a diversion line.
  79. 根据权利要求77所述的电子设备,其特征在于,The electronic device according to claim 77, wherein:
    所述处理器,具体用于根据更新后的所述预设范围的车道线局部地图中每个车道线点的概率表,确定每个所述车道线点的线形;根据每个所述车道线点的线形,确定所述车道线的线形。The processor is specifically configured to determine the line shape of each lane line point according to the updated probability table of each lane line point in the lane line partial map of the preset range; according to each lane line The line shape of the point determines the line shape of the lane line.
  80. 根据权利要求79所述的电子设备,其特征在于,The electronic device according to claim 79, wherein:
    所述处理器,具体用于针对更新后的所述预设范围的车道线局部地图中每个车道线点,将所述车道线点的概率表中最大概率值对应的线形,确定为所述车道线点的线形。The processor is specifically configured to determine the line shape corresponding to the maximum probability value in the probability table of the lane line point for each lane line point in the local map of the lane line of the preset range after the update is the The line shape of the lane line point.
  81. 根据权利要求65所述的电子设备,其特征在于,所述传感器包括点云传感器,The electronic device according to claim 65, wherein the sensor comprises a point cloud sensor,
    所述处理器,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environmental point Cloud data.
  82. 根据权利要求65所述的电子设备,其特征在于,所述传感器包括视觉传感器和点云传感器,The electronic device according to claim 65, wherein the sensor comprises a vision sensor and a point cloud sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the environment The image identifies the lane line area; according to the environmental point cloud data, the environment image, and the lane line area, an overlooked lane line map is generated.
  83. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于执行:The processor is used to execute the computer program, specifically to execute:
    通过传感器获取车辆周围的环境数据,并根据所述环境数据识别出车道线区域;Acquire environmental data around the vehicle through sensors, and identify the lane line area according to the environmental data;
    根据所述环境数据及所述车道线区域,生成俯瞰车道线地图;According to the environmental data and the lane line area, generate an overlooked lane line map;
    获取所示俯瞰车道线地图中与前一检测时刻的预设范围的车道线局部地图不重叠的第一区域,以及前一检测时刻的所述预设范围的车道线局部地图中与所述俯瞰车道线地图不重叠的第二区域,以及前一检测时刻的所述预设范围的车道线局部地图与所述俯瞰车道线地图重叠的第三区域;Obtain a first area that does not overlap with the lane line partial map of the preset range at the previous detection time in the shown overhead lane line map, and the lane line partial map of the preset range at the previous detection time is in line with the overlook A second area where the lane line map does not overlap, and a third area where the lane line partial map of the preset range at the previous detection time overlaps with the overhead lane line map;
    使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息,且复用所述第三区域中各车道线点的特征信息。The feature information of each lane line point in the first area is used to update the feature information of each lane line point in the second area, and the feature information of each lane line point in the third area is multiplexed.
  84. 根据权利要求83所述的电子设备,其特征在于,所述传感器包括视觉传感器,The electronic device of claim 83, wherein the sensor comprises a vision sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,并根据所述环境图像识别出所述车道线区域;所述环境数据为所述环境图像。The processor is specifically configured to obtain an image of the environment around the vehicle through the visual sensor, and recognize the lane line area according to the environment image; the environment data is the environment image.
  85. 根据权利要求84所述的电子设备,其特征在于,The electronic device according to claim 84, wherein:
    所述处理器,具体用于确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系;根据所述位置转换关系,将所述环境图像及所述图像车道线区域转换到俯瞰图世界坐标系下;根据所述俯瞰图世界坐标系下的所述环境图像及所述图像车道线区域,生成俯瞰车道线地图。The processor is specifically configured to determine the position conversion relationship between the coordinate system of the environment image and the world coordinate system of the bird's-eye view; and convert the environment image and the lane line area of the image to Under the bird's-eye view world coordinate system; generate an bird's-eye lane line map based on the environment image and the image lane line area in the bird's eye view world coordinate system.
  86. 根据权利要求85所述的电子设备,其特征在于,The electronic device according to claim 85, wherein:
    所述处理器,具体用于获取所述视觉传感器的标定参数和所述车辆的姿态信息;根据所述视觉传感器的标定参数和所述车辆的姿态信息,确定所述环境图像的坐标系与俯瞰图世界坐标系之间的位置转换关系。The processor is specifically configured to acquire the calibration parameters of the vision sensor and the posture information of the vehicle; determine the coordinate system and the bird's eye view of the environment image according to the calibration parameters of the vision sensor and the posture information of the vehicle The position conversion relationship between the world coordinate system of the graph.
  87. 根据权利要求85所述的电子设备,其特征在于,所述处理器使用当前检测时刻的所述俯瞰车道线地图,更新前一检测时刻的所述预设范围的车道线局部地图,获得当前检测时刻的所述预设范围的车道线局部地图之前,The electronic device of claim 85, wherein the processor uses the overlooked lane line map at the current detection time to update the preset range of the lane line local map at the previous detection time to obtain the current detection time Before the local map of the lane line of the preset range at the time,
    所述处理器,还用于移动前一检测时刻的所述预设范围的车道线局部地图,以使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足预设的对应关系。The processor is further configured to move the lane line partial map of the preset range at the previous detection time, so that the center of the lane line partial map of the preset range at the previous detection time is the same as the center of the vehicle Meet the preset correspondence relationship.
  88. 根据权利要求87所述的电子设备,其特征在于,The electronic device according to claim 87, wherein:
    所述处理器,具体用于获取所述车辆从前一检测时刻到当前检测时刻的位移量;根据所述位移量,移动前一检测时刻的所述预设范围的车道线局部地图,以 使前一检测时刻的所述预设范围的车道线局部地图的中心与所述车辆的中心满足所述预设的对应关系。The processor is specifically configured to acquire the displacement amount of the vehicle from the previous detection moment to the current detection moment; according to the displacement amount, move the local lane line map of the preset range at the previous detection moment to make the previous The center of the lane line partial map of the preset range and the center of the vehicle at the detection time meet the preset correspondence relationship.
  89. 根据权利要求88所述的电子设备,其特征在于,The electronic device according to claim 88, wherein:
    所述处理器,还用于确定所述俯瞰车道线地图的世界坐标与前一检测时刻的所述预设范围的车道线局部地图的像素坐标的映射关系;根据所述映射关系,将所述俯瞰车道线地图中各车道线点的世界坐标映射至前一检测时刻的所述预设范围的车道线局部地图的像素坐标下,获得所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标。The processor is further configured to determine the mapping relationship between the world coordinates of the overlooked lane line map and the pixel coordinates of the lane line local map of the preset range at the previous detection time; according to the mapping relationship, the The world coordinates of each lane line point in the overlooking lane line map are mapped to the pixel coordinates of the preset range of the lane line local map at the previous detection time, and each lane line point in the overlooking lane line map is obtained in the previous detection The coordinates in the local map of the lane line of the preset range at the time.
  90. 根据权利要求89所述的电子设备,其特征在于,The electronic device according to claim 89, wherein:
    所述处理器,具体用于根据所述俯瞰车道线地图中各车道线点在前一检测时刻的所述预设范围的车道线局部地图中的坐标,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use each lane line in the first area according to the coordinates of each lane line point in the overlooking lane line map in the preset range of the lane line local map at the previous detection time The feature information of the point updates the feature information of each lane line point in the second area.
  91. 根据权利要求90所述的电子设备,其特征在于,The electronic device according to claim 90, wherein:
    所述处理器,具体用于基于贝叶斯更新方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on a Bayesian update method.
  92. 根据权利要求91所述的电子设备,其特征在于,The electronic device according to claim 91, wherein:
    所述处理器,具体用于基于所述贝叶斯更新方式和负向观测方式,使用所述第一区域中各车道线点的特征信息更新所述第二区域中各车道线点的特征信息。The processor is specifically configured to use the characteristic information of each lane line point in the first area to update the characteristic information of each lane line point in the second area based on the Bayesian update mode and the negative observation mode .
  93. 根据权利要求90-92任一项所述的电子设备,其特征在于,所述车道线点的特征信息包括所述车道线点在所述俯瞰图坐标系下的二维坐标和所述车道线点的概率表,所述概率表包括所述车道线点属于不同线形的概率值。The electronic device according to any one of claims 90-92, wherein the characteristic information of the lane line point includes the two-dimensional coordinates of the lane line point in the bird's-eye view coordinate system and the lane line A probability table of points, the probability table including probability values that the lane line points belong to different linear shapes.
  94. 根据权利要求93所述的电子设备,其特征在于,所述不同线形包括实线、虚线、导流线中的至少一种。The electronic device according to claim 93, wherein the different line shapes include at least one of a solid line, a dashed line, and a diversion line.
  95. 根据权利要求83所述的电子设备,其特征在于,所述传感器包括点云传感器,The electronic device of claim 83, wherein the sensor comprises a point cloud sensor,
    所述处理器,具体用于通过所述点云传感器获取所述车辆周围的环境点云数据,并根据所述环境点云数据识别出所述车道线区域;所述环境数据为所述环境点云数据。The processor is specifically configured to obtain environmental point cloud data around the vehicle through the point cloud sensor, and identify the lane line area according to the environmental point cloud data; the environmental data is the environmental point Cloud data.
  96. 根据权利要求83所述的电子设备,其特征在于,所述传感器包括视觉传感器和点云传感器,The electronic device according to claim 83, wherein the sensor comprises a vision sensor and a point cloud sensor,
    所述处理器,具体用于通过所述视觉传感器获取所述车辆周围的环境图像,通过所述点云传感器获取所述车辆周围的环境点云数据;根据所述环境点云数据和所述环境图像识别出所述车道线区域;根据所述环境点云数据、所述环境图像及所述车道线区域,生成俯瞰车道线地图。The processor is specifically configured to obtain an image of the environment around the vehicle through the vision sensor, and obtain environmental point cloud data around the vehicle through the point cloud sensor; according to the environmental point cloud data and the environment The image identifies the lane line area; according to the environmental point cloud data, the environment image, and the lane line area, an overlooked lane line map is generated.
  97. 一种车辆,其特征在于,包括:车身和安装在所述车身上的如权利要求49-96任一项所述的电子设备。A vehicle, characterized by comprising: a vehicle body and the electronic device according to any one of claims 49-96 installed on the vehicle body.
  98. 一种交通工具,其特征在于,包括:交通工具本体和安装在所述交通工具本体上的如权利要求49-96任一项所述的电子设备。A vehicle, characterized by comprising: a vehicle body and the electronic device according to any one of claims 49-96 installed on the vehicle body.
  99. 一种计算机存储介质,其特征在于,所述存储介质中存储计算机程序,所述计算机程序在执行时实现如权利要求1-48中任一项所述的车道线地图的维护方法。A computer storage medium, characterized in that a computer program is stored in the storage medium, and the computer program, when executed, realizes the lane line map maintenance method according to any one of claims 1-48.
PCT/CN2019/084115 2019-04-24 2019-04-24 Lane line map maintenance method, electronic device and storage medium WO2020215254A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/084115 WO2020215254A1 (en) 2019-04-24 2019-04-24 Lane line map maintenance method, electronic device and storage medium
CN201980005584.2A CN111316328A (en) 2019-04-24 2019-04-24 Method for maintaining lane line map, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/084115 WO2020215254A1 (en) 2019-04-24 2019-04-24 Lane line map maintenance method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2020215254A1 true WO2020215254A1 (en) 2020-10-29

Family

ID=71147653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084115 WO2020215254A1 (en) 2019-04-24 2019-04-24 Lane line map maintenance method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111316328A (en)
WO (1) WO2020215254A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733812A (en) * 2021-03-01 2021-04-30 知行汽车科技(苏州)有限公司 Three-dimensional lane line detection method, device and storage medium
CN113932796A (en) * 2021-10-15 2022-01-14 北京百度网讯科技有限公司 High-precision map lane line generation method and device and electronic equipment
CN116182878A (en) * 2022-12-15 2023-05-30 禾多科技(北京)有限公司 Road curved surface information generation method, device, equipment and computer readable medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113298910A (en) * 2021-05-14 2021-08-24 阿波罗智能技术(北京)有限公司 Method, apparatus and storage medium for generating traffic sign line map
CN113724390A (en) * 2021-09-08 2021-11-30 广州小鹏自动驾驶科技有限公司 Ramp generation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104535070A (en) * 2014-12-26 2015-04-22 上海交通大学 High-precision map data structure, high-precision map data acquiringand processing system and high-precision map data acquiringand processingmethod
US20150316386A1 (en) * 2014-04-30 2015-11-05 Toyota Motor Engineering & Manufacturing North America, Inc. Detailed map format for autonomous driving
CN108388641A (en) * 2018-02-27 2018-08-10 广东方纬科技有限公司 A kind of means of transportation based on deep learning ground drawing generating method and system
CN109059954A (en) * 2018-06-29 2018-12-21 广东星舆科技有限公司 The method and system for supporting high-precision map lane line real time fusion to update

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105698812B (en) * 2016-01-15 2019-04-30 武汉光庭科技有限公司 Lane detection system and method based on safe driving map and two sides camera in a kind of automatic Pilot
CN108985230A (en) * 2018-07-17 2018-12-11 深圳市易成自动驾驶技术有限公司 Method for detecting lane lines, device and computer readable storage medium
CN109556615B (en) * 2018-10-10 2022-10-04 吉林大学 Driving map generation method based on multi-sensor fusion cognition of automatic driving

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150316386A1 (en) * 2014-04-30 2015-11-05 Toyota Motor Engineering & Manufacturing North America, Inc. Detailed map format for autonomous driving
CN104535070A (en) * 2014-12-26 2015-04-22 上海交通大学 High-precision map data structure, high-precision map data acquiringand processing system and high-precision map data acquiringand processingmethod
CN108388641A (en) * 2018-02-27 2018-08-10 广东方纬科技有限公司 A kind of means of transportation based on deep learning ground drawing generating method and system
CN109059954A (en) * 2018-06-29 2018-12-21 广东星舆科技有限公司 The method and system for supporting high-precision map lane line real time fusion to update

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733812A (en) * 2021-03-01 2021-04-30 知行汽车科技(苏州)有限公司 Three-dimensional lane line detection method, device and storage medium
CN112733812B (en) * 2021-03-01 2023-08-29 知行汽车科技(苏州)股份有限公司 Three-dimensional lane line detection method, device and storage medium
CN113932796A (en) * 2021-10-15 2022-01-14 北京百度网讯科技有限公司 High-precision map lane line generation method and device and electronic equipment
CN116182878A (en) * 2022-12-15 2023-05-30 禾多科技(北京)有限公司 Road curved surface information generation method, device, equipment and computer readable medium
CN116182878B (en) * 2022-12-15 2023-09-12 禾多科技(北京)有限公司 Road curved surface information generation method, device, equipment and computer readable medium

Also Published As

Publication number Publication date
CN111316328A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
WO2020215254A1 (en) Lane line map maintenance method, electronic device and storage medium
CN108802785B (en) Vehicle self-positioning method based on high-precision vector map and monocular vision sensor
EP4152204A1 (en) Lane line detection method, and related apparatus
CN112650220B (en) Automatic vehicle driving method, vehicle-mounted controller and system
CN110738121A (en) front vehicle detection method and detection system
WO2022104774A1 (en) Target detection method and apparatus
WO2020232648A1 (en) Lane line detection method, electronic device and storage medium
CN117441113A (en) Vehicle-road cooperation-oriented perception information fusion representation and target detection method
WO2022222647A1 (en) Method and apparatus for predicting vehicle intention, device, and storage medium
CN111652072A (en) Track acquisition method, track acquisition device, storage medium and electronic equipment
WO2022054422A1 (en) Obstacle detection device, obstacle detection system, and obstacle detection method
DE112021006101T5 (en) Systems and methods for object detection with LiDAR decorrelation
AU2020375559B2 (en) Systems and methods for generating annotations of structured, static objects in aerial imagery using geometric transfer learning and probabilistic localization
WO2023155580A1 (en) Object recognition method and apparatus
Xu et al. Road boundaries detection based on modified occupancy grid map using millimeter-wave radar
CN115876198A (en) Target detection and early warning method, device, system and medium based on data fusion
CN114283394A (en) Traffic target detection system with integrated vehicle-mounted sensor
CN113111707A (en) Preceding vehicle detection and distance measurement method based on convolutional neural network
CN115965961B (en) Local-global multi-mode fusion method, system, equipment and storage medium
WO2022194110A1 (en) External parameter calibration method and apparatus, device, server and vehicle-mounted computing device
CN113611008B (en) Vehicle driving scene acquisition method, device, equipment and medium
CN113313654A (en) Laser point cloud filtering and denoising method, system, equipment and storage medium
CN114627442B (en) Vehicle-road cooperative three-dimensional target detection method and system based on post fusion
CN117706942B (en) Environment sensing and self-adaptive driving auxiliary electronic control method and system
CN112329678B (en) Monocular pedestrian 3D positioning method based on information fusion

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19925616

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19925616

Country of ref document: EP

Kind code of ref document: A1