Nothing Special   »   [go: up one dir, main page]

WO2022237821A1 - Method and device for generating traffic sign line map, and storage medium - Google Patents

Method and device for generating traffic sign line map, and storage medium Download PDF

Info

Publication number
WO2022237821A1
WO2022237821A1 PCT/CN2022/092141 CN2022092141W WO2022237821A1 WO 2022237821 A1 WO2022237821 A1 WO 2022237821A1 CN 2022092141 W CN2022092141 W CN 2022092141W WO 2022237821 A1 WO2022237821 A1 WO 2022237821A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic sign
grid
map
point cloud
cloud data
Prior art date
Application number
PCT/CN2022/092141
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 阿波罗智能技术(北京)有限公司
Publication of WO2022237821A1 publication Critical patent/WO2022237821A1/en

Links

Images

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • G01C21/32Structuring or formatting of map data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Definitions

  • the present disclosure relates to the fields of automatic driving, autonomous parking, intelligent transportation, computer vision, electronic maps and the like in computer technology, and in particular relates to a method, device and storage medium for generating a map of traffic sign lines.
  • sensors such as cameras and radars surrounding the body of autonomous driving vehicles are basically standard configurations.
  • the traffic sign lines such as lane lines, ground arrows, sidewalks, etc.
  • the present disclosure provides a method, device and storage medium for generating a traffic sign line map.
  • a method for generating a traffic sign line map including:
  • a traffic sign line map of the preset geographical area is generated according to the grid cells whose state values are greater than a preset threshold.
  • a device for generating a traffic sign line map including:
  • the point cloud data acquisition module is used to acquire multi-frame point cloud data of traffic sign lines in the preset geographic area
  • a data point mapping module configured to map the point cloud data of each frame into a grid map corresponding to the preset geographic area, the grid map including a plurality of grid units;
  • the grid map update module is used to increase the state value of the grid unit corresponding to the point cloud data in each frame;
  • the traffic sign line map generation module is configured to generate the traffic sign line map of the preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  • an electronic device including:
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method described in the first aspect.
  • a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in the first aspect.
  • a computer program product comprising: a computer program stored in a readable storage medium, at least one processor of an electronic device can read from the The computer program is read by reading the storage medium, and the at least one processor executes the computer program so that the electronic device executes the method described in the first aspect.
  • the method for generating the traffic sign line map provided by the present disclosure improves the accuracy of the traffic sign line map.
  • FIG. 1 is an example scene diagram that can implement a method for generating a traffic sign line map according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for generating a traffic sign line map provided by the first embodiment of the present disclosure
  • Fig. 3 is a flow chart of a method for generating a traffic sign line map provided by the second embodiment of the present disclosure
  • Fig. 4 is an example diagram of a traffic sign line map provided by a third embodiment of the present disclosure.
  • Fig. 5 is a schematic diagram of a device for generating a traffic sign line map provided by a third embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a device for generating a traffic sign line map provided by a fourth embodiment of the present disclosure.
  • Fig. 7 is a block diagram of an electronic device used to implement the method for generating a traffic sign line map provided by an embodiment of the present disclosure.
  • Odds In statistics, the ratio of the probability of an event occurring to the probability of the event not occurring. If the probability of an event occurring is p, then the probability of the event occurring is p/(1-p).
  • the present disclosure provides a method, device and storage medium for generating a traffic sign line map. It is applied to the fields of automatic driving, autonomous parking, intelligent transportation, computer vision, electronic map and other fields in computer technology to improve the accuracy and consistency of traffic sign map.
  • the method for generating a map of traffic sign lines can be specifically applied to any of the following scenarios of constructing a map of traffic sign lines in a certain geographical area:
  • One application scenario is: constructing a traffic sign map of roads in a certain city.
  • the traffic sign map at least includes position information of traffic sign lines such as lane lines, sidewalks, and guiding arrows on the road.
  • the position of the traffic marking line is determined according to the map of the traffic marking line, and the driving of the vehicle is controlled according to the position of the traffic marking line.
  • Another application scenario is: building a map of traffic sign lines on the ground in the parking lot.
  • the traffic sign line map includes at least the location information of traffic sign lines such as parking space lines, lane lines, and guiding arrows in the parking lot.
  • the position of the parking space line is determined according to the traffic sign line map, and the vehicle is controlled to perform autonomous parking according to the position of the parking space line.
  • the method for generating the traffic sign line map can also be applied to other scenarios, which is not specifically limited here.
  • FIG. 1 is an example scene diagram that can implement the method for generating a traffic sign line map according to an embodiment of the present disclosure.
  • the image acquisition device 11 mounted on the vehicle 10 collects image data within a preset geographical area
  • the positioning device 12 mounted on the vehicle 10 collects pose data of the vehicle 10 .
  • the electronic device 20 obtains the traffic sign line point cloud data corresponding to each frame of image according to the collected image data and the pose data of the vehicle, and obtains multi-frame point cloud data of the traffic sign line;
  • the multi-frame point cloud data generates a traffic sign line map of a preset geographic area.
  • the image acquisition device may be a device on the vehicle for collecting images, such as a camera, a laser radar, etc.
  • the positioning device may be a device on the vehicle for locating the pose of the vehicle, which is not specifically limited here.
  • Fig. 2 is a flowchart of a method for generating a traffic sign line map provided by the first embodiment of the present disclosure. As shown in Figure 2, the specific steps of the method are as follows:
  • Step S201 acquiring multi-frame point cloud data of traffic sign lines in a preset geographical area.
  • the traffic sign line map in the preset geographical area In order to construct the traffic sign line map in the preset geographical area, it is necessary to obtain the point cloud data of the traffic sign line in the preset geographical area, and generate the traffic sign line map based on the point cloud data of the traffic sign line.
  • each frame of point cloud data of the traffic sign line includes position information of multiple data points of the traffic sign line.
  • the image acquisition device mounted on the vehicle collects image data in the preset geographic area, and the image data loaded on the vehicle
  • the positioning device collects the pose data of the vehicle.
  • the electronic device obtains the image data in the preset geographic area and the pose data of the vehicle, and determines the point cloud data of the traffic sign line corresponding to each frame of image according to the image data in the preset geographic area and the pose data of the vehicle.
  • the electronic device may also acquire point cloud data in a preset geographic area scanned by the lidar, and extract point cloud data of traffic sign lines from the point cloud data in the preset geographic area.
  • other devices may also pre-generate and store multi-frame point cloud data of traffic sign lines in a preset geographical area.
  • the electronic device can also directly acquire multi-frame point cloud data of traffic sign lines in a preset geographical area from other devices.
  • Step S202 mapping each frame of point cloud data to a grid map corresponding to a preset geographical area, the grid map including a plurality of grid units; increasing the state value of the grid unit corresponding to each frame of point cloud data.
  • the grid map includes a plurality of grid units, and the state value of each grid unit is used to represent the probability information of the traffic sign line passing through the grid unit.
  • each frame of point cloud data After obtaining the multi-frame point cloud data of traffic sign lines in the preset geographical area, traverse each frame of point cloud data in turn, update the state value of each grid cell in the grid map according to each frame of point cloud data, and traverse the point cloud After the data, the raster map is updated. For example, if there are N frames of point cloud data, update the grid map N times, where N is a positive integer.
  • map the point cloud data to the grid map that is, map each data point contained in the point cloud data to the grid map, and determine the grid cell where each data point falls .
  • any grid unit if there is a data point in the frame of point cloud data falling into the grid unit, it means that in the image corresponding to the frame of point cloud data, there is a pixel point of a traffic sign line at the corresponding position of the grid unit, It can be considered that based on the frame image, it is more likely that the traffic sign line passes through the grid unit, so the state value of the grid unit is increased.
  • the grid unit with point cloud data refers to the grid unit in which at least one data point falls in the frame of point cloud data.
  • a grid cell without point cloud data refers to a grid cell in which no data point falls in the point cloud data of the frame.
  • the state value of the grid unit with point cloud data will increase, and the state value of the grid unit without point cloud data will remain unchanged.
  • the more times the point cloud data is mapped to the grid unit the greater the state value of the grid unit, which means the greater the possibility of the traffic sign line passing through the grid unit.
  • Step S203 generating a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  • grid cells whose status values are greater than the preset threshold are extracted from the grid map according to the preset threshold, and a traffic sign line map of the preset geographic area is generated according to the grid cells whose status values are greater than the preset threshold.
  • the preset threshold can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
  • each frame of point cloud data is mapped to the grid map by traversing each frame of point cloud data
  • the state value of the grid cells with point cloud data is increased, while the state value of the grid cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility of the traffic sign passing through the grid unit.
  • the traffic sign line map of the preset geographical area is generated, and the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the map generation efficiency.
  • the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
  • Fig. 3 is a flow chart of a method for generating a traffic sign line map provided by the second embodiment of the present disclosure.
  • the state value of the grid unit can be the probability information of the traffic sign line passing through the grid unit, and the initial value of the state value of the grid unit is 0.
  • Step S301 acquiring images within a preset geographical area collected by the vehicle, and obtaining pose data when the vehicle collects the images.
  • the image acquisition device mounted on the vehicle collects image data in the preset geographic area while the vehicle is driving in the preset geographic area.
  • the image data may include multiple frames of images.
  • the loaded positioning device on the vehicle collects the pose data of the vehicle.
  • the pose data includes pose data of the vehicle collected at multiple times. According to the time stamp of image collection and the time stamp of the pose data of the vehicle, the pose data of the vehicle when each frame of image is collected can be determined.
  • the electronic device acquires multiple frames of images in the preset geographical area collected by the vehicle, and pose data when the vehicle collects the images.
  • the preset geographic area is the geographic range of the traffic sign line map that needs to be acquired according to the requirements of the business scenario. For example, if a city map is established, the preset geographical area may be an area where a city is located; if a parking lot map needs to be established, the preset geographical area may be an area where a parking lot is located.
  • the preset geographical area can be set and adjusted according to the needs of the actual application scenario, which is not specifically limited in this embodiment.
  • Step S302. Determine the coordinates of the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system.
  • each frame of image can be processed separately, and according to each frame of image, the three-dimensional coordinates of the mapping point of the pixel point of the traffic sign line in the image in the vehicle body coordinate system can be determined.
  • this step can be implemented in the following manner:
  • each frame of image determine the pixel coordinates of the pixel points of the traffic sign lines in the image in the image coordinate system; according to the camera model corresponding to the image, map the pixel points to the mapping points in the vehicle body coordinate system, and obtain The 3D coordinates of the mapped point.
  • the traffic sign line information in the image is extracted, the pixel points of the traffic sign line in the image are determined, and the pixel coordinates of the pixel points of the traffic sign line are further determined.
  • the pixels are back-projected into the physical world, so that the pixels are mapped to the mapping points in the vehicle body coordinate system, and the three-dimensional coordinates of the mapping points of the pixels of the traffic sign lines in the vehicle body coordinate system are obtained.
  • the advantage of this setting is that by transforming the traffic sign line from the image coordinate system to the vehicle body coordinate system, the processing of the traffic sign line can be realized, thereby improving the efficiency of updating the traffic sign line map.
  • any method in the prior art that converts the two-dimensional coordinates of the pixel points in the image into three-dimensional coordinates in the vehicle body coordinate system can also be used, and this embodiment will not repeat them here.
  • Step S303 according to the pose data when the vehicle collects images, project the mapping points to the world coordinate system to obtain the coordinates of the corresponding projection points; generate a frame of point cloud data according to the three-dimensional coordinates of the projection points determined for each frame of image.
  • this step project the mapping points to the world coordinate system according to the pose data when the vehicle collects images, and obtain the corresponding projection points and the three-dimensional coordinates of the projection points, and form a frame according to the three-dimensional coordinates of the projection points determined for each frame of image point cloud data.
  • the pixels of the traffic sign lines in the image are placed in the vehicle body coordinate system
  • the mapping points below are projected to the world coordinate system, and the projection points of the pixels of the traffic sign lines in the image in the world coordinate system and the three-dimensional coordinates of the projection points are obtained.
  • the three-dimensional coordinates of the projected points determined according to each frame of image constitute a frame of point cloud data.
  • any method in the prior art for converting the three-dimensional coordinates in the vehicle body coordinate system into the three-dimensional coordinates in the world coordinate system can also be used, and this embodiment will not repeat it here.
  • the above-mentioned steps S301-S303 are an optional implementation mode for obtaining multiple frames of point cloud data corresponding to traffic sign lines provided by this embodiment, by identifying the position and posture of the vehicle in each frame of image and the image when the image is collected, The pixel points of the traffic sign line, and transform the coordinates of the pixel point to the world coordinate system, and obtain the three-dimensional coordinates of multiple data points corresponding to the pixel points of the traffic sign line mapped to the world coordinate system, as a part of the traffic sign line Frame point cloud data can obtain accurate location cloud data of traffic marking lines, thus providing a data basis for generating accurate traffic marking line maps.
  • the electronic device may also acquire point cloud data in a preset geographic area scanned by the lidar, and extract traffic sign lines from the point cloud data in the preset geographic area
  • the point cloud data of the traffic sign line can be obtained from various point cloud data.
  • other devices may also pre-generate and store multi-frame point cloud data of traffic sign lines in a preset geographic area.
  • the electronic device can also directly acquire multi-frame point cloud data of traffic sign lines in a preset geographical area from other devices.
  • Step S304 constructing a grid map of a preset geographical area, and initializing the state values of each grid unit in the grid map.
  • the state value of the grid unit can be the probability information of the traffic sign line passing through the grid unit, and the initial value of the state value of the grid unit is 0.
  • the advantage of this setting is that the state value can reflect that the grid unit has a lane The probability of the line passing through.
  • m represents the grid map
  • m i represents the ith grid unit in the grid map.
  • updating the grid map can be modeled as the problem of solving the probability that all grid cells of the grid map have traffic sign lines passing by (which can be expressed as p(m
  • x 0:t , z 0:t ) represents the probability value of the traffic sign line passing through the grid unit m i determined based on the point cloud data and pose data at time 0-t.
  • x 0:t ,z 0:t ) represents the probability value that the traffic sign line determined based on the point cloud data and pose data at time 0-t does not pass through the grid cell mi .
  • the logarithm of both sides can be used to calculate the traffic sign
  • the probability of the line passing through the grid unit (expressed by p) is transformed as follows to obtain the probability information of the traffic sign line passing through the grid unit: l represents the probability information of the traffic sign line passing through the grid cell.
  • m i ,x t ) is the likelihood probability of the observation model, p(z t
  • ⁇ m i ,x t ) 1-p(z t
  • x t ) l(m i )
  • l(m i ) represents the prior initial probability value of the grid unit m i .
  • z t , x t ) represents the probability value of the inverse observation model, which is a fixed value.
  • x 0:t , z 0:t ) represents the probability information of the traffic sign line passing through the grid unit m i determined according to the multi-frame point cloud data and the pose data of the vehicle at time 0-t.
  • x 0:t-1 , z 0:t-1 ) means that the traffic sign line determined according to the multi-frame point cloud data and the pose data of the vehicle at time 0-t-1 passes through the grid unit m i probability information.
  • the state value of the grid unit is used to represent the probability information of the traffic sign line passing through the grid unit, and the initial state value of the grid unit is 0 (that is, the initial value of the probability information of the traffic sign line passing through the grid unit is 0, the probability that the traffic sign line passes through the grid cell is 0.5).
  • the initial state values of all grid cells in the grid map are set to 0, indicating that the probability of the traffic sign line passing the grid unit is 0.5, and then according to the multi-frame point cloud data of the traffic sign line, each frame point cloud The data is mapped into a raster map. With the increase of the point cloud data frame mapped to the grid unit, the state value of the grid unit increases. After all the point cloud data mapping is completed, it is possible to accurately determine the possibility that each grid unit has a traffic sign line passing by. Therefore, the traffic sign line map can be accurately generated.
  • a grid map of a preset geographical area may be constructed in advance, and the values of each grid unit in the grid map may be initialized. status value. That is, step S304 may be performed before steps S301-S303.
  • steps S305-S306 traverse each frame of point cloud data, and map each frame of point cloud data to the corresponding preset geographical area In the grid map, the state value of the grid unit corresponding to each frame of point cloud data is added, so that the possibility of traffic sign lines passing by each grid unit can be accurately determined, so that the traffic sign line map can be accurately generated.
  • each frame of point cloud data includes position information of multiple data points of the traffic sign line, and according to the position information of each data point in each frame of point cloud data, determine the grid unit corresponding to each data point.
  • the grid unit where each data point falls is determined, and the grid unit where the data point falls is used as the grid unit corresponding to the data point.
  • the grid unit with point cloud data refers to the grid unit in which at least one data point falls in the frame of point cloud data.
  • a grid cell without point cloud data refers to a grid cell that does not have any data points in the point cloud data of the frame.
  • Step S306 increasing the state value of the grid unit corresponding to each data point by a preset increment.
  • the state value of the grid cell with the corresponding data point is increased by a preset increment.
  • the state value of the grid unit is increased by a preset increment. For a frame of point cloud data, if there are data points in the frame of point cloud data that fall into the grid unit, no matter whether the number of data points falling into the grid unit is one or more, the state value of the grid unit will be increased A preset increment.
  • the preset increment can be a preset probability value of the inverse observation model, which can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
  • Step S307 generating a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  • the preset threshold can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
  • this step can be implemented in the following manner:
  • the grid cells whose state value is greater than the preset threshold are extracted, and the area covered by the grid cells whose state value is greater than the preset threshold is taken as the area covered by the traffic sign line, and we get A map of traffic sign lines for preset geographic areas.
  • this step can be implemented in the following manner:
  • each grid unit in the grid map extract the grid unit whose status value is greater than the preset threshold; use the data point corresponding to the grid unit whose status value is greater than the preset threshold as the trajectory point of the traffic sign line, according to the status
  • the location information of the data points corresponding to the grid cells whose value is greater than the preset threshold value is used to generate the traffic sign line map of the preset geographic area.
  • the constructed traffic sign line map data can be obtained, and the probability information can be discretized and expressed as an 8-bit (bit) or 16-bit integer (int type), so it is also very convenient for computer operations.
  • bit 8-bit
  • int type 16-bit integer
  • the constructed traffic sign line map can effectively resist the influence of data noise, and maintain the consistency of the map (such as the straightness of lane lines, the smoothness of curved parts, etc.).
  • FIG. 4 an example of a traffic sign line map generated by the method provided in this embodiment is shown in FIG. 4 , and the straightness of the lane line and the smoothness of the curved part are good.
  • the initial state values of all grid cells in the grid map are set to 0, which means that the probability of traffic sign lines passing through the grid cells is 0.5.
  • the multi-frame point cloud data of traffic sign lines in the preset geographical area by traversing each frame of point cloud data, each frame of point cloud data is mapped to a grid map, and the grid unit with point cloud data is increased The state value of the raster cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility that the traffic sign line passes through the grid unit.
  • the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the efficiency of map generation.
  • the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
  • Fig. 5 is a schematic diagram of a device for generating a traffic sign line map provided by a third embodiment of the present disclosure.
  • the device for generating a traffic sign line map provided in an embodiment of the present disclosure may execute the processing procedure provided in the method embodiment for generating a traffic sign line map.
  • the device 50 for generating a traffic sign line map includes: a point cloud data acquisition module 501 , a data point mapping module 502 , a grid map update module 503 and a traffic sign line map generation module 504 .
  • the point cloud data acquisition module 501 is configured to acquire multi-frame point cloud data of traffic sign lines in a preset geographical area.
  • the data point mapping module 502 is configured to map each frame of point cloud data into a grid map corresponding to a preset geographical area, and the grid map includes a plurality of grid units.
  • the grid map update module 503 is used to increase the state value of the grid unit corresponding to each frame of point cloud data.
  • the traffic sign line map generating module 504 is configured to generate a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  • the device provided in the embodiments of the present disclosure may be specifically configured to execute the method embodiment provided in the above-mentioned first embodiment, and the specific functions will not be repeated here.
  • each frame of point cloud data is mapped to the grid map by traversing each frame of point cloud data
  • the state value of the grid cells with point cloud data is increased, while the state value of the grid cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility of the traffic sign passing through the grid unit.
  • the traffic sign line map of the preset geographical area is generated, and the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the map generation efficiency.
  • the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
  • Fig. 6 is a schematic diagram of a device for generating a traffic sign line map provided by a fourth embodiment of the present disclosure.
  • the device for generating a traffic sign line map provided in an embodiment of the present disclosure may execute the processing procedure provided in the method embodiment for generating a traffic sign line map.
  • the device 60 for generating a traffic sign line map includes: a point cloud data acquisition module 601 , a data point mapping module 502 , a grid map update module 603 and a traffic sign line map generation module 604 .
  • the point cloud data acquisition module 601 is configured to acquire multi-frame point cloud data of traffic sign lines in a preset geographic area.
  • the data point mapping module 602 is configured to map each frame of point cloud data into a grid map corresponding to a preset geographical area, and the grid map includes a plurality of grid units.
  • the grid map updating module 603 is used to increase the state value of the grid unit corresponding to each frame of point cloud data.
  • the traffic sign line map generation module 604 is configured to generate a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  • the status value of the grid unit is the probability information of the traffic sign line passing through the grid unit, and the initial value of the status value of the grid unit is 0.
  • each frame of point cloud data includes position information of multiple data points of the traffic sign line.
  • the data point mapping module 602 in FIG. 6 is also used to determine the grid unit corresponding to each data point according to the position information of each data point in each frame of point cloud data.
  • the grid map update module 603 is further configured to increase the state value of the grid unit corresponding to each data point by a preset increment.
  • the point cloud data acquisition module 601 includes:
  • the data acquisition sub-module 6011 is used to acquire the images in the preset geographical area collected by the vehicle, and obtain the pose data when the vehicle collects the images;
  • the first mapping sub-module 6012 is used to determine the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system
  • the second mapping sub-module 6013 is used to project the mapping points to the world coordinate system according to the pose data, obtain the coordinates of the corresponding projection points, and generate a frame of point cloud data according to the coordinates of the projection points.
  • the first mapping submodule is also used for:
  • the traffic sign line map generating module 604 includes:
  • the first generation sub-module 6041 is configured to use the area covered by the grid cells whose state value is greater than the preset threshold as the area covered by the traffic sign line to obtain the traffic sign line map of the preset geographical area.
  • the traffic sign line map generating module 604 includes:
  • the second generation sub-module 6042 is used for:
  • the data points corresponding to the grid cells whose state value is greater than the preset threshold are used as the trajectory points of the traffic sign line, and the traffic signs of the preset geographical area are generated according to the position information of the data points corresponding to the grid cells whose state value is greater than the preset threshold line map.
  • the device 60 for generating the traffic sign line map also includes:
  • the device provided in the embodiment of the present disclosure may be specifically used to execute the method embodiment provided in the above-mentioned second embodiment, and specific functions will not be repeated here.
  • the initial state values of all grid cells in the grid map are set to 0, which means that the probability of traffic sign lines passing through the grid cells is 0.5.
  • the multi-frame point cloud data of traffic sign lines in the preset geographical area by traversing each frame of point cloud data, each frame of point cloud data is mapped to a grid map, and the grid unit with point cloud data is increased The state value of the raster cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility that the traffic sign line passes through the grid unit.
  • the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the efficiency of map generation.
  • the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
  • the present disclosure also provides an electronic device and a readable storage medium.
  • the present disclosure also provides a computer program product.
  • the computer program product includes: a computer program, the computer program is stored in a readable storage medium, and at least one processor of an electronic device can read the program from the readable storage medium. Taking a computer program, at least one processor executes the computer program so that the electronic device executes the solution provided by any one of the above embodiments.
  • FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure.
  • Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • an electronic device 700 includes a computing unit 701, which can perform calculations according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. Various appropriate actions and processes are performed. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored.
  • the computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704 .
  • the I/O interface 705 includes: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc. ; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 701 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 701 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc.
  • the computing unit 701 executes various methods and processes described above, such as a method of generating a traffic sign line map. For example, in some embodiments, a method of generating a traffic sign map may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708.
  • part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709.
  • the computer program When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method for generating a traffic sign line map described above can be performed.
  • the computing unit 701 may be configured in any other appropriate way (for example, by means of firmware) to execute the method for generating a traffic sign line map.
  • Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOC system of systems
  • CPLD load programmable logic device
  • computer hardware firmware, software, and/or combinations thereof.
  • programmable processor can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
  • Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer.
  • a display device e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or a trackball
  • Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
  • the systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
  • a computer system may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
  • the server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and VPS service ("Virtual Private Server", or "VPS”) Among them, there are defects such as difficult management and weak business scalability.
  • the server can also be a server of a distributed system, or a server combined with a blockchain.
  • steps may be reordered, added or deleted using the various forms of flow shown above.
  • each step described in the present application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Graphics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present disclosure relates to the technical field of computers, and particularly relates to the fields of autonomous driving, autonomous parking, intelligent transportation, computer vision, and electronic maps. The present disclosure provides a method and device for generating a traffic sign line map, and a storage medium. A specific implementation solution comprises: on the basis of a grid map corresponding to a preset geographical region, according to a plurality of frames of point cloud data of a traffic sign line in the preset geographical region, mapping each frame of point cloud data into the grid map, and increasing a state value of each grid unit having the point cloud data, wherein the more the number of times of mapping the point cloud data into the grid unit is, the larger the state value of the grid unit is, and the larger the possibility that the traffic sign line passes through the grid unit is; and according to the grid unit having the state value greater than a preset threshold, generating a traffic sign line map of the preset geographical region. The present disclosure can reduce the amount of calculation of generating the traffic sign line map, and improve the generation efficiency, accuracy, and consistency of the map.

Description

生成交通标志线地图的方法、设备和存储介质Method, device and storage medium for generating traffic sign line map
本公开要求于2021年05月14日提交中国专利局、申请号为202110528222.0、申请名称为“生成交通标志线地图的方法、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202110528222.0 and the application name "Method, device and storage medium for generating traffic sign line maps" submitted to the China Patent Office on May 14, 2021, the entire contents of which are incorporated by reference incorporated in this disclosure.
技术领域technical field
本公开涉及计算机技术中的自动驾驶、自主泊车、智能交通、计算机视觉、电子地图等领域,尤其涉及一种生成交通标志线地图的方法、设备和存储介质。The present disclosure relates to the fields of automatic driving, autonomous parking, intelligent transportation, computer vision, electronic maps and the like in computer technology, and in particular relates to a method, device and storage medium for generating a map of traffic sign lines.
背景技术Background technique
随着自动驾驶技术的发展,环绕在自动驾驶车辆车身周围的相机、雷达等传感器基本是标配。为了最大限度的利用这些传感器所获取的周围环境信息,将环境道路中的交通标志线(如车道线、地面箭头、人行道等)恢复重建生成交通标志线地图,是一种有效的手段。With the development of autonomous driving technology, sensors such as cameras and radars surrounding the body of autonomous driving vehicles are basically standard configurations. In order to maximize the use of the surrounding environment information obtained by these sensors, it is an effective means to restore and reconstruct the traffic sign lines (such as lane lines, ground arrows, sidewalks, etc.) in the environmental road to generate a traffic sign line map.
相关技术中,生成交通标志线地图的方案,大多数基于获取的车辆的位置信息和多次观测的交通标志线的点集数据,通过曲线聚类和拟合的方法分段输出交通标志线的片段,并将交通标志线的片段进行拼接,得到完整的交通标志线地图,交通标志线地图的精准度和一致性低。In the related art, most of the schemes for generating traffic sign line maps are based on the acquired vehicle position information and the point set data of traffic sign lines observed multiple times, and segmentally output the traffic sign line by curve clustering and fitting methods. Fragments, and splicing the fragments of traffic sign lines to get a complete map of traffic sign lines, the accuracy and consistency of traffic sign line maps are low.
发明内容Contents of the invention
本公开提供了一种生成交通标志线地图的方法、设备和存储介质。The present disclosure provides a method, device and storage medium for generating a traffic sign line map.
根据本公开的第一方面,提供了一种生成交通标志线地图的方法,包括:According to a first aspect of the present disclosure, a method for generating a traffic sign line map is provided, including:
获取预设地理区域内的交通标志线的多帧点云数据;Obtain multi-frame point cloud data of traffic sign lines in a preset geographic area;
将各帧所述点云数据映射到所述预设地理区域所对应的栅格地图中,所述栅格地图包括多个栅格单元;Mapping the point cloud data of each frame into a grid map corresponding to the preset geographical area, the grid map including a plurality of grid units;
增加各帧所述点云数据所对应栅格单元的状态值;Increase the state value of the grid unit corresponding to the point cloud data in each frame;
根据状态值大于预设阈值的栅格单元,生成所述预设地理区域的交通标志线地图。A traffic sign line map of the preset geographical area is generated according to the grid cells whose state values are greater than a preset threshold.
根据本公开的第二方面,提供了一种生成交通标志线地图的设备,包括:According to a second aspect of the present disclosure, a device for generating a traffic sign line map is provided, including:
点云数据获取模块,用于获取预设地理区域内的交通标志线的多帧点云数据;The point cloud data acquisition module is used to acquire multi-frame point cloud data of traffic sign lines in the preset geographic area;
数据点映射模块,用于将各帧所述点云数据映射到所述预设地理区域所对应的栅格地图中,所述栅格地图包括多个栅格单元;A data point mapping module, configured to map the point cloud data of each frame into a grid map corresponding to the preset geographic area, the grid map including a plurality of grid units;
栅格地图更新模块,用于增加各帧所述点云数据所对应栅格单元的状态值;The grid map update module is used to increase the state value of the grid unit corresponding to the point cloud data in each frame;
交通标志线地图生成模块,用于根据状态值大于预设阈值的栅格单元,生成所述预设地理区域的交通标志线地图。The traffic sign line map generation module is configured to generate the traffic sign line map of the preset geographical area according to the grid cells whose state values are greater than a preset threshold.
根据本公开的第三方面,提供了一种电子设备,包括:According to a third aspect of the present disclosure, an electronic device is provided, including:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行第一方面所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method described in the first aspect.
根据本公开的第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行第一方面所述的方法。According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in the first aspect.
根据本公开的第五方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序,所述计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得电子设备执行第一方面所述的方法。According to a fifth aspect of the present disclosure, there is provided a computer program product, the computer program product comprising: a computer program stored in a readable storage medium, at least one processor of an electronic device can read from the The computer program is read by reading the storage medium, and the at least one processor executes the computer program so that the electronic device executes the method described in the first aspect.
本公开提供的生成交通标志线地图的方法,提高了交通标志线地图的精准度。The method for generating the traffic sign line map provided by the present disclosure improves the accuracy of the traffic sign line map.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution, and do not constitute a limitation to the present disclosure. in:
图1是可以实现本公开实施例的生成交通标志线地图的方法的示例场景图;FIG. 1 is an example scene diagram that can implement a method for generating a traffic sign line map according to an embodiment of the present disclosure;
图2是本公开第一实施例提供的生成交通标志线地图的方法流程图;FIG. 2 is a flowchart of a method for generating a traffic sign line map provided by the first embodiment of the present disclosure;
图3是本公开第二实施例提供的生成交通标志线地图的方法流程图;Fig. 3 is a flow chart of a method for generating a traffic sign line map provided by the second embodiment of the present disclosure;
图4是本公开第三实施例提供的交通标志线地图的示例图;Fig. 4 is an example diagram of a traffic sign line map provided by a third embodiment of the present disclosure;
图5是本公开第三实施例提供的生成交通标志线地图的设备示意图;Fig. 5 is a schematic diagram of a device for generating a traffic sign line map provided by a third embodiment of the present disclosure;
图6是本公开第四实施例提供的生成交通标志线地图的设备示意图;FIG. 6 is a schematic diagram of a device for generating a traffic sign line map provided by a fourth embodiment of the present disclosure;
图7是用来实现本公开实施例提供的生成交通标志线地图的方法的电子设备的框图。Fig. 7 is a block diagram of an electronic device used to implement the method for generating a traffic sign line map provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
首先对本公开所涉及的名词进行解释:First, the nouns involved in this disclosure are explained:
几率(odds):在统计学中是指事件发生的概率与该事件不发生的概率的比值。如果事件发生的概率是p,那么该事件发生的几率是p/(1-p)。Odds: In statistics, the ratio of the probability of an event occurring to the probability of the event not occurring. If the probability of an event occurring is p, then the probability of the event occurring is p/(1-p).
本公开提供一种生成交通标志线地图的方法、设备和存储介质。应用于计算机技术中的自动驾驶、自主泊车、智能交通、计算机视觉、电子地图等领域,以提高交通标志线地图的精准度和一致性。The present disclosure provides a method, device and storage medium for generating a traffic sign line map. It is applied to the fields of automatic driving, autonomous parking, intelligent transportation, computer vision, electronic map and other fields in computer technology to improve the accuracy and consistency of traffic sign map.
本公开提供的生成交通标志线地图的方法,具体可以应用于如下任意一种构建某一地理区域内的交通标志线地图的场景:The method for generating a map of traffic sign lines provided in the present disclosure can be specifically applied to any of the following scenarios of constructing a map of traffic sign lines in a certain geographical area:
一种应用场景为:构建某一城市内的道路的交通标志线地图,交通标志线地图至少包括道路上车道线、人行道、导向箭头等交通标志线的位置信息。在车辆行驶过程中,根据交通标志线地图,确定交通标志线的位置,并根据交通标志线的位置,控制车辆行驶。One application scenario is: constructing a traffic sign map of roads in a certain city. The traffic sign map at least includes position information of traffic sign lines such as lane lines, sidewalks, and guiding arrows on the road. During the driving process of the vehicle, the position of the traffic marking line is determined according to the map of the traffic marking line, and the driving of the vehicle is controlled according to the position of the traffic marking line.
另一种应用场景为:构建停车场内地面的交通标志线地图,交通标志线地图至少包括停车场内的车位线、车道线、导向箭头等交通标志线的位置信息。在应用于自主泊车时,响应于自主泊车指令,根据交通标志线地图,确定车位线的位置,并根据车位线的位置,控制车辆进行自主泊车。Another application scenario is: building a map of traffic sign lines on the ground in the parking lot. The traffic sign line map includes at least the location information of traffic sign lines such as parking space lines, lane lines, and guiding arrows in the parking lot. When applied to autonomous parking, in response to an autonomous parking instruction, the position of the parking space line is determined according to the traffic sign line map, and the vehicle is controlled to perform autonomous parking according to the position of the parking space line.
另外,生成交通标志线地图的方法,还可以应用于其他场景中,此处不做具体限定。In addition, the method for generating the traffic sign line map can also be applied to other scenarios, which is not specifically limited here.
相关技术中,生成交通标志线地图的方案,大多数基于获取的车辆的位置信息和多次观测的交通标志线的点集数据,通过曲线聚类和拟合的方法分段输出交通标志线的片段,并将交通标志线的片段进行拼接,得到完整的交通标志线地图。由于实际道路中包含各种对应不同曲线类型的交通标志线,仅采用某类或某几类曲线参数模型,无法准确拟合出其他曲线类型的交通标志线,存在误识别的情况,导致交通标志线地图的误差大,且拼接过程会导致交通标志线地图的一致性差(例如车道线直线度差、弯曲部分的光滑程度差等)。In the related art, most of the schemes for generating traffic sign line maps are based on the acquired vehicle position information and the point set data of traffic sign lines observed multiple times, and segmentally output the traffic sign line by curve clustering and fitting methods. Fragments, and splicing the fragments of traffic sign lines to get a complete map of traffic sign lines. Since the actual road contains various traffic sign lines corresponding to different curve types, only certain types or a few types of curve parameter models can not accurately fit traffic sign lines of other curve types, and there are cases of misidentification, resulting in traffic sign The error of the line map is large, and the splicing process will lead to poor consistency of the traffic sign line map (such as poor straightness of lane lines, poor smoothness of curved parts, etc.).
图1可以实现本公开实施例的生成交通标志线地图的方法的示例场景图,示例性 地,如图1所示,在数据采集阶段,车辆10在预设地理区域内行驶过程中,车辆10上装载的图像采集装置11采集预设地理区域内的图像数据,车辆10上的装载的定位装置12采集车辆10的位姿数据。在数据处理阶段,电子设备20根据已采集的图像数据和车辆的位姿数据,获取每一帧图像对应的交通标志线点云数据,得到交通标志线的多帧点云数据;根据交通标志线的多帧点云数据生成预设地理区域的交通标志线地图。FIG. 1 is an example scene diagram that can implement the method for generating a traffic sign line map according to an embodiment of the present disclosure. Exemplarily, as shown in FIG. The image acquisition device 11 mounted on the vehicle 10 collects image data within a preset geographical area, and the positioning device 12 mounted on the vehicle 10 collects pose data of the vehicle 10 . In the data processing stage, the electronic device 20 obtains the traffic sign line point cloud data corresponding to each frame of image according to the collected image data and the pose data of the vehicle, and obtains multi-frame point cloud data of the traffic sign line; The multi-frame point cloud data generates a traffic sign line map of a preset geographic area.
其中,图像采集装置可以是车辆上用于采集图像的装置,可以是相机、激光雷达等,定位装置可以是车辆上用于定位车辆位姿的装置,此处不做具体限定。Wherein, the image acquisition device may be a device on the vehicle for collecting images, such as a camera, a laser radar, etc., and the positioning device may be a device on the vehicle for locating the pose of the vehicle, which is not specifically limited here.
图2是本公开第一实施例提供的生成交通标志线地图的方法流程图。如图2所示,该方法具体步骤如下:Fig. 2 is a flowchart of a method for generating a traffic sign line map provided by the first embodiment of the present disclosure. As shown in Figure 2, the specific steps of the method are as follows:
步骤S201、获取预设地理区域内的交通标志线的多帧点云数据。Step S201, acquiring multi-frame point cloud data of traffic sign lines in a preset geographical area.
为了构建预设地理区域内的交通标志线地图,需要获取预设地理区域内的交通标志线的点云数据,基于交通标志线的点云数据生成交通标志线地图。In order to construct the traffic sign line map in the preset geographical area, it is necessary to obtain the point cloud data of the traffic sign line in the preset geographical area, and generate the traffic sign line map based on the point cloud data of the traffic sign line.
其中,交通标志线的每一帧点云数据包括交通标志线的多个数据点的位置信息。Wherein, each frame of point cloud data of the traffic sign line includes position information of multiple data points of the traffic sign line.
示例性地,可以基于图1所示的场景,在数据采集阶段,车辆在预设地理区域内行驶过程中,车辆上装载的图像采集装置采集预设地理区域内的图像数据,车辆上的装载的定位装置采集车辆的位姿数据。电子设备获取预设地理区域内的图像数据和车辆的位姿数据,并根据预设地理区域内的图像数据和车辆的位姿数据,确定每帧图像对应的交通标志线的点云数据。Exemplarily, based on the scene shown in FIG. 1 , in the data collection phase, when the vehicle is driving in a preset geographic area, the image acquisition device mounted on the vehicle collects image data in the preset geographic area, and the image data loaded on the vehicle The positioning device collects the pose data of the vehicle. The electronic device obtains the image data in the preset geographic area and the pose data of the vehicle, and determines the point cloud data of the traffic sign line corresponding to each frame of image according to the image data in the preset geographic area and the pose data of the vehicle.
示例性地,电子设备还可以获取激光雷达扫描到的预设地理区域内的点云数据,并从预设地理区域内的点云数据中提取出交通标志线的点云数据。Exemplarily, the electronic device may also acquire point cloud data in a preset geographic area scanned by the lidar, and extract point cloud data of traffic sign lines from the point cloud data in the preset geographic area.
示例性地,也可以由其他设备预先生成预设地理区域内的交通标志线的多帧点云数据,并存储。电子设备还可以直接从其他设备获取预设地理区域内的交通标志线的多帧点云数据。Exemplarily, other devices may also pre-generate and store multi-frame point cloud data of traffic sign lines in a preset geographical area. The electronic device can also directly acquire multi-frame point cloud data of traffic sign lines in a preset geographical area from other devices.
步骤S202、将每帧点云数据映射到预设地理区域所对应的栅格地图中,栅格地图包括多个栅格单元;增加各帧点云数据所对应栅格单元的状态值。Step S202 , mapping each frame of point cloud data to a grid map corresponding to a preset geographical area, the grid map including a plurality of grid units; increasing the state value of the grid unit corresponding to each frame of point cloud data.
其中,栅格地图包括多个栅格单元,每个栅格单元的状态值用于表示交通标志线经过该栅格单元的概率信息。Wherein, the grid map includes a plurality of grid units, and the state value of each grid unit is used to represent the probability information of the traffic sign line passing through the grid unit.
在获取到预设地理区域内的交通标志线的多帧点云数据,依次遍历每帧点云数据,根据每帧点云数据更新栅格地图中各个栅格单元的状态值,遍历完点云数据之后,栅格地图更新完成。例如,如果有N帧点云数据,则对栅格地图进行N次更新,其中, N为正整数。After obtaining the multi-frame point cloud data of traffic sign lines in the preset geographical area, traverse each frame of point cloud data in turn, update the state value of each grid cell in the grid map according to each frame of point cloud data, and traverse the point cloud After the data, the raster map is updated. For example, if there are N frames of point cloud data, update the grid map N times, where N is a positive integer.
对于每帧点云数据,将点云数据映射到栅格地图中,也即是将点云数据所包含的每一数据点映射到栅格地图中,确定每一数据点落入的栅格单元。For each frame of point cloud data, map the point cloud data to the grid map, that is, map each data point contained in the point cloud data to the grid map, and determine the grid cell where each data point falls .
对于任一栅格单元,如果该帧点云数据中有数据点落入该栅格单元,则说明该帧点云数据对应的图像中,该栅格单元对应位置有交通标志线的像素点,可以认为基于该帧图像,交通标志线经过该栅格单元的可能性较大,因此增加该栅格单元的状态值。For any grid unit, if there is a data point in the frame of point cloud data falling into the grid unit, it means that in the image corresponding to the frame of point cloud data, there is a pixel point of a traffic sign line at the corresponding position of the grid unit, It can be considered that based on the frame image, it is more likely that the traffic sign line passes through the grid unit, so the state value of the grid unit is increased.
该步骤中,具有点云数据的栅格单元是指该帧点云数据中有至少一个数据点落入的栅格单元。不具有点云数据的栅格单元是指该帧点云数据中没有任何一个数据点落入的栅格单元。对于具有点云数据的栅格单元,增加栅格单元的状态值,而对于不具有点云数据的栅格单元,则保持栅格单元的状态值不变。In this step, the grid unit with point cloud data refers to the grid unit in which at least one data point falls in the frame of point cloud data. A grid cell without point cloud data refers to a grid cell in which no data point falls in the point cloud data of the frame. For a grid cell with point cloud data, increase the state value of the grid cell, and for a grid cell without point cloud data, keep the state value of the grid cell unchanged.
遍历每帧点云数据,根据每帧点云数据更新栅格地图时,具有点云数据的栅格单元的状态值会增加,不具有点云数据的栅格单元的状态值不变,遍历完所有点云数据之后,点云数据映射到栅格单元的次数越多,栅格单元的状态值越大,表示交通标志线经过该栅格单元的可能性越大。When traversing each frame of point cloud data and updating the grid map according to each frame of point cloud data, the state value of the grid unit with point cloud data will increase, and the state value of the grid unit without point cloud data will remain unchanged. After all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, which means the greater the possibility of the traffic sign line passing through the grid unit.
步骤S203、根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。Step S203 , generating a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
该步骤中,根据预设阈值,从栅格地图中提取出状态值大于预设阈值的栅格单元,根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。In this step, grid cells whose status values are greater than the preset threshold are extracted from the grid map according to the preset threshold, and a traffic sign line map of the preset geographic area is generated according to the grid cells whose status values are greater than the preset threshold.
其中,预设阈值可以根据实际应用场景的需要进行设置和调整,此处不做具体限定。Wherein, the preset threshold can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
本实施例基于预设地理区域所对应的栅格地图、预设地理区域内的交通标志线的多帧点云数据,通过遍历每帧点云数据,将每帧点云数据映射到栅格地图中,增加具有点云数据的栅格单元的状态值,而不具有点云数据的栅格单元的状态值保持不变。遍历完所有点云数据之后,点云数据映射到栅格单元的次数越多,栅格单元的状态值越大,交通标志线经过该栅格单元的可能性越大。根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图,通过一系列加法运算即可生成交通标志线地图,大大减少了计算量,提高了地图生成效率。同时,一次性生成整体地图,避免曲线拟合和拼接导致的误识别和拼接过程,适应于各种不同地图构建的场景,提高了地图的精准度和一致性。In this embodiment, based on the grid map corresponding to the preset geographic area and the multi-frame point cloud data of traffic sign lines in the preset geographic area, each frame of point cloud data is mapped to the grid map by traversing each frame of point cloud data In , the state value of the grid cells with point cloud data is increased, while the state value of the grid cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility of the traffic sign passing through the grid unit. According to the grid cells whose state value is greater than the preset threshold, the traffic sign line map of the preset geographical area is generated, and the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the map generation efficiency. At the same time, the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
图3是本公开第二实施例提供的生成交通标志线地图的方法流程图。在上述第一实施例的基础上,本实施例中,栅格单元的状态值可以为交通标志线经过该栅格单元 的几率信息,栅格单元的状态值的初始值为0。Fig. 3 is a flow chart of a method for generating a traffic sign line map provided by the second embodiment of the present disclosure. On the basis of the first embodiment above, in this embodiment, the state value of the grid unit can be the probability information of the traffic sign line passing through the grid unit, and the initial value of the state value of the grid unit is 0.
如图3所示,该方法具体步骤如下:As shown in Figure 3, the specific steps of the method are as follows:
步骤S301、获取车辆采集的预设地理区域内的图像,并获取车辆采集图像时的位姿数据。Step S301 , acquiring images within a preset geographical area collected by the vehicle, and obtaining pose data when the vehicle collects the images.
本实施例中,基于图1所示的场景,在数据采集阶段,车辆在预设地理区域内行驶过程中,车辆上装载的图像采集装置采集预设地理区域内的图像数据。其中,图像数据可以包括多帧图像。In this embodiment, based on the scene shown in FIG. 1 , during the data collection phase, the image acquisition device mounted on the vehicle collects image data in the preset geographic area while the vehicle is driving in the preset geographic area. Wherein, the image data may include multiple frames of images.
车辆上的装载的定位装置采集车辆的位姿数据。其中,位姿数据包括多个时刻采集的车辆的位姿数据。根据图像采集的时间戳和车辆的位姿数据的时间戳,可以确定车辆采集每帧图像时的位姿数据。The loaded positioning device on the vehicle collects the pose data of the vehicle. Wherein, the pose data includes pose data of the vehicle collected at multiple times. According to the time stamp of image collection and the time stamp of the pose data of the vehicle, the pose data of the vehicle when each frame of image is collected can be determined.
电子设备获取车辆所采集的预设地理区域内的多帧图像,以及车辆采集图像时的位姿数据。The electronic device acquires multiple frames of images in the preset geographical area collected by the vehicle, and pose data when the vehicle collects the images.
其中,预设地理区域内有交通标志线,所采集的多帧图像能够覆盖预设地理区域内的交通标志线。Wherein, there are traffic sign lines in the preset geographical area, and the collected multiple frames of images can cover the traffic sign lines in the preset geographical area.
本实施例中,预设地理区域是根据业务场景的需求,所需获取的交通标志线地图的地理范围。例如,如果建立城市地图,预设地理区域可以是一个城市所在区域;如果需要建立停车场地图,则预设地理区域可以是一个停车场所在区域等。预设地理区域可以根据实际应用场景的需要进行设置和调整,本实施例此处不做具体限定。In this embodiment, the preset geographic area is the geographic range of the traffic sign line map that needs to be acquired according to the requirements of the business scenario. For example, if a city map is established, the preset geographical area may be an area where a city is located; if a parking lot map needs to be established, the preset geographical area may be an area where a parking lot is located. The preset geographical area can be set and adjusted according to the needs of the actual application scenario, which is not specifically limited in this embodiment.
步骤S302、确定图像中的交通标志线的像素点在车体坐标系下的映射点的坐标。Step S302. Determine the coordinates of the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system.
该步骤中,可以分别对每帧图像进行处理,根据每帧图像,定图像中的交通标志线的像素点在车体坐标系下的映射点的三维坐标。In this step, each frame of image can be processed separately, and according to each frame of image, the three-dimensional coordinates of the mapping point of the pixel point of the traffic sign line in the image in the vehicle body coordinate system can be determined.
本实施例中该步骤可以采用如下方式实现:In this embodiment, this step can be implemented in the following manner:
确定图像中的交通标志线的像素点;根据图像对应的相机模型,将像素点映射为车体坐标系下的映射点,得到映射点的坐标。Determine the pixel points of the traffic sign lines in the image; map the pixel points to the mapping points in the vehicle body coordinate system according to the camera model corresponding to the image, and obtain the coordinates of the mapping points.
示例性地,根据每帧图像,确定图像中的交通标志线的像素点在图像坐标系下的像素坐标;根据图像对应的相机模型,将像素点映射为车体坐标系下的映射点,得到映射点的三维坐标。Exemplarily, according to each frame of image, determine the pixel coordinates of the pixel points of the traffic sign lines in the image in the image coordinate system; according to the camera model corresponding to the image, map the pixel points to the mapping points in the vehicle body coordinate system, and obtain The 3D coordinates of the mapped point.
具体地,通过对每帧图像进行图像处理,提取图像中的交通标志线信息,确定图像中的交通标志线的像素点,并进一步确定交通标志线的像素点的像素坐标。根据相机模型将像素点反投射至物理世界中,从而将像素点映射为车体坐标系下的映射点,得到交通标志线的像素点在车体坐标系下的映射点的三维坐标。这样设置的好处是通 过将交通标志线由图像坐标系转化至车体坐标系,则可以实现对交通标志线的处理,进而提高更新交通标志线地图的效率。Specifically, by performing image processing on each frame of image, the traffic sign line information in the image is extracted, the pixel points of the traffic sign line in the image are determined, and the pixel coordinates of the pixel points of the traffic sign line are further determined. According to the camera model, the pixels are back-projected into the physical world, so that the pixels are mapped to the mapping points in the vehicle body coordinate system, and the three-dimensional coordinates of the mapping points of the pixels of the traffic sign lines in the vehicle body coordinate system are obtained. The advantage of this setting is that by transforming the traffic sign line from the image coordinate system to the vehicle body coordinate system, the processing of the traffic sign line can be realized, thereby improving the efficiency of updating the traffic sign line map.
另外,该步骤中,还可以采用现有技术中任意一种将图像中的像素点的二维坐标转换为车体坐标系下的三维坐标的方法实现,本实施例此处不再赘述。In addition, in this step, any method in the prior art that converts the two-dimensional coordinates of the pixel points in the image into three-dimensional coordinates in the vehicle body coordinate system can also be used, and this embodiment will not repeat them here.
步骤S303、根据车辆采集图像时的位姿数据,将映射点投影至世界坐标系下,得到对应的投影点的坐标;根据每帧图像确定的投影点的三维坐标生成一帧点云数据。Step S303, according to the pose data when the vehicle collects images, project the mapping points to the world coordinate system to obtain the coordinates of the corresponding projection points; generate a frame of point cloud data according to the three-dimensional coordinates of the projection points determined for each frame of image.
该步骤中,根据车辆采集图像时的位姿数据,将映射点投影至世界坐标系下,得到对应的投影点和投影点的三维坐标,根据每帧图像确定的投影点的三维坐标构成一帧点云数据。In this step, project the mapping points to the world coordinate system according to the pose data when the vehicle collects images, and obtain the corresponding projection points and the three-dimensional coordinates of the projection points, and form a frame according to the three-dimensional coordinates of the projection points determined for each frame of image point cloud data.
在得到图像中交通标志线的像素点在车体坐标系下的映射点的三维坐标之后,进一步地,根据采集图像时车辆的位姿,将图像中交通标志线的像素点在车体坐标系下的映射点投影至世界坐标系下,得到图像中交通标志线的像素点在世界坐标系下的投影点和投影点的三维坐标。After obtaining the three-dimensional coordinates of the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system, further, according to the pose of the vehicle when the image is collected, the pixels of the traffic sign lines in the image are placed in the vehicle body coordinate system The mapping points below are projected to the world coordinate system, and the projection points of the pixels of the traffic sign lines in the image in the world coordinate system and the three-dimensional coordinates of the projection points are obtained.
本实施例中,根据每一帧图像确定的投影点的三维坐标构成一帧点云数据。In this embodiment, the three-dimensional coordinates of the projected points determined according to each frame of image constitute a frame of point cloud data.
另外,该步骤中,还可以采用现有技术中任意一种将车体坐标系下的三维坐标转换为世界坐标系下的三维坐标的方法实现,本实施例此处不再赘述。In addition, in this step, any method in the prior art for converting the three-dimensional coordinates in the vehicle body coordinate system into the three-dimensional coordinates in the world coordinate system can also be used, and this embodiment will not repeat it here.
上述步骤S301-S303为本实施例提供的获取多帧与交通标志线对应的点云数据的一种可选的实施方式,通过根据每帧图像以及采集图像时车辆的位姿,通过识别图像中交通标志线的像素点,并将像素点的坐标转换至世界坐标系下,获取到交通标志线的像素点映射至世界坐标系后对应的多个数据点的三维坐标,作为交通标志线的一帧点云数据,能够获取到交通标志线的精准地点云数据,从而为生成精准地交通标志线地图提供数据基础。The above-mentioned steps S301-S303 are an optional implementation mode for obtaining multiple frames of point cloud data corresponding to traffic sign lines provided by this embodiment, by identifying the position and posture of the vehicle in each frame of image and the image when the image is collected, The pixel points of the traffic sign line, and transform the coordinates of the pixel point to the world coordinate system, and obtain the three-dimensional coordinates of multiple data points corresponding to the pixel points of the traffic sign line mapped to the world coordinate system, as a part of the traffic sign line Frame point cloud data can obtain accurate location cloud data of traffic marking lines, thus providing a data basis for generating accurate traffic marking line maps.
本实施例的另一可选的实施方式中,电子设备还可以获取激光雷达扫描到的预设地理区域内的点云数据,并从预设地理区域内的点云数据中提取出交通标志线的点云数据,得到交通标志线的多种点云数据。In another optional implementation of this embodiment, the electronic device may also acquire point cloud data in a preset geographic area scanned by the lidar, and extract traffic sign lines from the point cloud data in the preset geographic area The point cloud data of the traffic sign line can be obtained from various point cloud data.
本实施例的另一可选的实施方式中,也可以由其他设备预先生成预设地理区域内的交通标志线的多帧点云数据并存储。电子设备还可以直接从其他设备获取预设地理区域内的交通标志线的多帧点云数据。In another optional implementation manner of this embodiment, other devices may also pre-generate and store multi-frame point cloud data of traffic sign lines in a preset geographic area. The electronic device can also directly acquire multi-frame point cloud data of traffic sign lines in a preset geographical area from other devices.
步骤S304、构建预设地理区域的栅格地图,并初始化栅格地图中各栅格单元的状态值。Step S304, constructing a grid map of a preset geographical area, and initializing the state values of each grid unit in the grid map.
其中,栅格单元的状态值可以为交通标志线经过该栅格单元的几率信息,且栅格 单元的状态值的初始值为0,这样设置的好处是能够通过状态值体现栅格单元有车道线经过的可能性。Among them, the state value of the grid unit can be the probability information of the traffic sign line passing through the grid unit, and the initial value of the state value of the grid unit is 0. The advantage of this setting is that the state value can reflect that the grid unit has a lane The probability of the line passing through.
本实施例中,用m表示栅格地图,m i表示栅格地图中的第i个栅格单元。m i有以下两种状态:交通标志线经过栅格单元m i(也即有交通标志线的数据点落入m i,可以用m i=1表示),交通标志线未经过栅格单元m i(也即交通标志线的数据点均未落入m i,可以用m i=0表示)。 In this embodiment, m represents the grid map, and m i represents the ith grid unit in the grid map. m i has the following two states: the traffic sign line passes through the grid unit m i (that is, the data points of the traffic sign line fall into m i , which can be represented by m i = 1), and the traffic sign line does not pass through the grid unit m i (that is, none of the data points of the traffic marking line falls into m i , which can be represented by m i =0).
用p(m i=1)或p(m i)表示交通标志线经过栅格单元m i的概率,用p(m i=0)或p(~m i)表示交通标志线未经过栅格单元m i的概率。 Use p(m i =1) or p(m i ) to indicate the probability that the traffic sign line passes through the grid unit mi , and use p(m i =0) or p(~m i ) to indicate that the traffic sign line does not pass through the grid Probability of unit mi.
用x t表示t时刻车辆的位姿,用z表示t时刻车辆采集到的一帧图像对应的点云数据,用z k t表示z t中的第k个数据点,用n表示z t中数据点的总数,k=1,2,…,n。 Use x t to represent the pose of the vehicle at time t, use z to represent the point cloud data corresponding to a frame of image collected by the vehicle at time t, use z k t to represent the kth data point in z t , and use n to represent the data point in z t Total number of data points, k=1, 2, . . . , n.
那么,更新栅格地图可以建模为求解栅格地图所有栅格单元有交通标志线经过的概率(可以表示为p(m|x 0:t,z 0:t))的问题。假设每个栅格单元相互独立,则有如下公式(1): Then, updating the grid map can be modeled as the problem of solving the probability that all grid cells of the grid map have traffic sign lines passing by (which can be expressed as p(m|x 0:t ,z 0:t )). Assuming that each grid cell is independent of each other, there is the following formula (1):
Figure PCTCN2022092141-appb-000001
Figure PCTCN2022092141-appb-000001
其中,p(m i|x 0:t,z 0:t)表示基于0-t时刻的点云数据和位姿数据确定的交通标志线经过栅格单元m i的概率值。 Among them, p(m i |x 0:t , z 0:t ) represents the probability value of the traffic sign line passing through the grid unit m i determined based on the point cloud data and pose data at time 0-t.
基于公式(1),利用贝叶斯法则及马尔科夫假设则有如下公式(2)和公式(3):Based on formula (1), using Bayesian rule and Markov assumption, the following formulas (2) and (3) can be obtained:
Figure PCTCN2022092141-appb-000002
Figure PCTCN2022092141-appb-000002
Figure PCTCN2022092141-appb-000003
Figure PCTCN2022092141-appb-000003
其中,p(~m i|x 0:t,z 0:t)表示基于0-t时刻的点云数据和位姿数据确定的交通标志线未经过栅格单元m i的概率值。 Among them, p(~m i |x 0:t ,z 0:t ) represents the probability value that the traffic sign line determined based on the point cloud data and pose data at time 0-t does not pass through the grid cell mi .
考虑到概率值数据运算稳定性,为了提高栅格地图中栅格单元的状态值能够精准地、稳定地表示交通标志线经过栅格单元的可能性,可采用两边取对数的方式对交通标志线经过栅格单元的概率(用p表示)做如下变换,得到交通标志线经过栅格单元的几率信息:
Figure PCTCN2022092141-appb-000004
l表示交通标志线经过栅格单元的几率信息。
Considering the stability of the probability value data calculation, in order to improve the possibility that the state value of the grid cell in the grid map can accurately and stably represent the possibility of the traffic sign line passing the grid cell, the logarithm of both sides can be used to calculate the traffic sign The probability of the line passing through the grid unit (expressed by p) is transformed as follows to obtain the probability information of the traffic sign line passing through the grid unit:
Figure PCTCN2022092141-appb-000004
l represents the probability information of the traffic sign line passing through the grid cell.
上述(2)除以(3),同时两边取对数,则得到如下公式(4):The above (2) is divided by (3), and the logarithm is taken on both sides at the same time, then the following formula (4) is obtained:
Figure PCTCN2022092141-appb-000005
Figure PCTCN2022092141-appb-000005
其中,p(z t|m i,x t)为观测模型似然概率,p(z t|~m i,x t)=1-p(z t|m i,x t)。如果已知t时刻车辆的位姿x t和栅格单元m i内是否有交通标志线经过,可以推出t时刻的观测值(采集的点云数据)。 Among them, p(z t |m i ,x t ) is the likelihood probability of the observation model, p(z t |~m i ,x t )=1-p(z t |m i ,x t ). If the pose x t of the vehicle at time t and whether there is a traffic sign passing in the grid unit m i can be deduced from the observed value (collected point cloud data) at time t.
应用贝叶斯法则,则有如下公式(5)和(6):Applying Bayes' rule, there are the following formulas (5) and (6):
Figure PCTCN2022092141-appb-000006
Figure PCTCN2022092141-appb-000006
Figure PCTCN2022092141-appb-000007
Figure PCTCN2022092141-appb-000007
将公式(5)和(6)代入公式(4)中,则可以得到如下公式(7):Substituting formulas (5) and (6) into formula (4), the following formula (7) can be obtained:
l(m i|x 0:t,z 0:t)=l(m i|x 0:t-1,z 0:t-1)+l(m i|z t,x t)-l(m i|x t)  (7) l(m i |x 0:t ,z 0:t )=l(m i |x 0:t-1 ,z 0:t-1 )+l(m i |z t ,x t )-l( m i x t ) (7)
其中,l(m i|x t)=l(m i),表示栅格单元m i先验初始几率值。l(m i|z t,x t)表示逆观测模型几率值,是一个定值。 Wherein, l(m i |x t )=l(m i ), represents the prior initial probability value of the grid unit m i . l(m i |z t , x t ) represents the probability value of the inverse observation model, which is a fixed value.
l(m i|x 0:t,z 0:t)表示根据0-t时刻的多帧点云数据和车辆的位姿数据确定的交通标志线经过栅格单元m i的几率信息。l(m i|x 0:t-1,z 0:t-1)表示根据0-t-1时刻的多帧点云数据和车辆的位姿数据确定的交通标志线经过栅格单元m i的几率信息。 l(m i |x 0:t , z 0:t ) represents the probability information of the traffic sign line passing through the grid unit m i determined according to the multi-frame point cloud data and the pose data of the vehicle at time 0-t. l(m i |x 0:t-1 , z 0:t-1 ) means that the traffic sign line determined according to the multi-frame point cloud data and the pose data of the vehicle at time 0-t-1 passes through the grid unit m i probability information.
本实施例中,用栅格单元的状态值表示交通标志线经过栅格单元的几率信息,栅格单元的初始状态值为0(也即交通标志线经过栅格单元的几率信息的初始值为0,此时交通标志线经过栅格单元的概率为0.5)。In this embodiment, the state value of the grid unit is used to represent the probability information of the traffic sign line passing through the grid unit, and the initial state value of the grid unit is 0 (that is, the initial value of the probability information of the traffic sign line passing through the grid unit is 0, the probability that the traffic sign line passes through the grid cell is 0.5).
基于上述公式(7),将l(m i|z t,x t)作为增量值,对于t时刻的观测数据(t时刻的一帧点云数据),如果有交通标志线的数据点落入栅格单元m i中,则可以将基于0-t-1时刻的点云数据更新后的栅格单元m i的状态值增加一个增量值,即可得到本次更新后栅格单元m i的状态值。 Based on the above formula (7), taking l(m i |z t , x t ) as the incremental value, for the observation data at time t (a frame of point cloud data at time t), if there is a data point of the traffic sign line falling into the grid unit m i , the state value of the grid unit mi updated based on the point cloud data at time 0-t-1 can be increased by an incremental value, and the grid unit m after this update can be obtained The state value of i .
这样,将栅格地图中所有栅格单元初始的状态值均设置为0,表示交通标志线经过栅格单元的概率为0.5,后续根据交通标志线的多帧点云数据,将各帧点云数据映射到栅格地图中。随着映射到栅格单元的点云数据帧的增加,栅格单元的状态值增加,所有的点云数据映射完成后,能够准确地确定每一栅格单元有交通标志线经过的可能性,从而能够准确地生成交通标志线地图。In this way, the initial state values of all grid cells in the grid map are set to 0, indicating that the probability of the traffic sign line passing the grid unit is 0.5, and then according to the multi-frame point cloud data of the traffic sign line, each frame point cloud The data is mapped into a raster map. With the increase of the point cloud data frame mapped to the grid unit, the state value of the grid unit increases. After all the point cloud data mapping is completed, it is possible to accurately determine the possibility that each grid unit has a traffic sign line passing by. Therefore, the traffic sign line map can be accurately generated.
需要说明的是,本实施例的另一实施方式中,还可以在获取交通标志线的点云数据之前,预先构建预设地理区域的栅格地图,并初始化栅格地图中各栅格单元的状态值。也即是,步骤S304可以在步骤S301-S303之前执行。It should be noted that, in another implementation of this embodiment, before acquiring the point cloud data of traffic sign lines, a grid map of a preset geographical area may be constructed in advance, and the values of each grid unit in the grid map may be initialized. status value. That is, step S304 may be performed before steps S301-S303.
在获取到交通标志线的多帧点云数据,并构建并初始化栅格地图之后,通过步骤S305-S306,遍历每帧点云数据,将每帧点云数据映射到预设地理区域所对应的栅格地图中,并增加各帧点云数据所对应栅格单元的状态值,从而可以准确地确定每一栅格单元有交通标志线经过的可能性,从而能够准确地生成交通标志线地图。After obtaining the multi-frame point cloud data of traffic sign lines, and constructing and initializing the grid map, through steps S305-S306, traverse each frame of point cloud data, and map each frame of point cloud data to the corresponding preset geographical area In the grid map, the state value of the grid unit corresponding to each frame of point cloud data is added, so that the possibility of traffic sign lines passing by each grid unit can be accurately determined, so that the traffic sign line map can be accurately generated.
步骤S305、每帧点云数据包括交通标志线的多个数据点的位置信息,根据每帧点云数据中每一数据点的位置信息,确定每一数据点对应的栅格单元。Step S305 , each frame of point cloud data includes position information of multiple data points of the traffic sign line, and according to the position information of each data point in each frame of point cloud data, determine the grid unit corresponding to each data point.
该步骤中,根据每帧点云数据中每一数据点的位置信息,确定每一数据点落入的栅格单元,将数据点落入的栅格单元作为数据点对应的栅格单元。In this step, according to the position information of each data point in each frame of point cloud data, the grid unit where each data point falls is determined, and the grid unit where the data point falls is used as the grid unit corresponding to the data point.
本实施例中,具有点云数据的栅格单元是指该帧点云数据中有至少一个数据点落入的栅格单元。不具有点云数据的栅格单元是指该帧点云数据中没有任何数据点落入的栅格单元。In this embodiment, the grid unit with point cloud data refers to the grid unit in which at least one data point falls in the frame of point cloud data. A grid cell without point cloud data refers to a grid cell that does not have any data points in the point cloud data of the frame.
另外,对于所有的数据点和所有的栅格单元,若某一数据点落在某一栅格单元的边界上,则确定该数据点落入了该栅格单元;或者,对于所有的数据点和所有的栅格单元,若某一数据点落在某一栅格单元的边界上,则确定该数据点未落入任何一个栅格单元。对于所有的数据点和所有的栅格单元,对于落入边界上的情况,统一做相同的处理即可。In addition, for all data points and all grid cells, if a data point falls on the boundary of a certain grid cell, it is determined that the data point falls into the grid cell; or, for all data points And all grid cells, if a data point falls on the boundary of a certain grid cell, it is determined that the data point does not fall into any grid cell. For all data points and all grid cells, for the case of falling on the boundary, the same processing can be done uniformly.
步骤S306、将每一数据点对应的栅格单元的状态值增加预设增量。Step S306, increasing the state value of the grid unit corresponding to each data point by a preset increment.
该步骤中,将具有对应数据点的栅格单元的状态值增加预设增量。In this step, the state value of the grid cell with the corresponding data point is increased by a preset increment.
如果一帧点云数据中,有一个或多个数据点落入了某一栅格单元,则将该栅格单元的状态值增加一个预设增量。对于一帧点云数据,如果该帧点云数据中有数据点落入栅格单元,无论落入栅格单元的数据点的数量是一个还是多个,都是将栅格单元的状态值增加一个预设增量。If one or more data points fall into a certain grid unit in a frame of point cloud data, the state value of the grid unit is increased by a preset increment. For a frame of point cloud data, if there are data points in the frame of point cloud data that fall into the grid unit, no matter whether the number of data points falling into the grid unit is one or more, the state value of the grid unit will be increased A preset increment.
如果一帧点云数据中,没有数据点落入某一栅格单元,则保持该栅格单元的状态值不变。If there is no data point falling into a certain grid unit in a frame of point cloud data, keep the state value of the grid unit unchanged.
其中,预设增量可以是预先设定的逆观测模型几率值,可以根据实际应用场景的需要进行设置和调整,此处不做具体限定。Wherein, the preset increment can be a preset probability value of the inverse observation model, which can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
步骤S307、根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。Step S307, generating a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
该步骤中,根据预设阈值,从栅格地图中提取出状态值大于预设阈值的栅格单元,根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。这样设置的好处是可以比较准确地生成预设地理区域的交通标志线地图,降低交通标志线地图的错误率。In this step, grid cells whose status values are greater than the preset threshold are extracted from the grid map according to the preset threshold, and a traffic sign line map of the preset geographic area is generated according to the grid cells whose status values are greater than the preset threshold. The advantage of this setting is that the traffic sign line map of the preset geographical area can be generated more accurately, and the error rate of the traffic sign line map can be reduced.
其中,预设阈值可以根据实际应用场景的需要进行设置和调整,此处不做具体限定。Wherein, the preset threshold can be set and adjusted according to the needs of actual application scenarios, and is not specifically limited here.
一种可选的实施方式中,该步骤可以采用如下方式实现:In an optional implementation manner, this step can be implemented in the following manner:
根据栅格地图中各栅格单元的状态值,提取状态值大于预设阈值的栅格单元,将状态值大于预设阈值的栅格单元所覆盖的区域作为交通标志线所覆盖的区域,得到预 设地理区域的交通标志线地图。According to the state value of each grid cell in the grid map, the grid cells whose state value is greater than the preset threshold are extracted, and the area covered by the grid cells whose state value is greater than the preset threshold is taken as the area covered by the traffic sign line, and we get A map of traffic sign lines for preset geographic areas.
另一种可选的实施方式中,该步骤可以采用如下方式实现:In another optional implementation manner, this step can be implemented in the following manner:
根据栅格地图中各栅格单元的状态值,提取状态值大于预设阈值的栅格单元;将状态值大于预设阈值的栅格单元对应的数据点作为交通标志线的轨迹点,根据状态值大于预设阈值的栅格单元对应的数据点的位置信息,生成预设地理区域的交通标志线地图。According to the status value of each grid unit in the grid map, extract the grid unit whose status value is greater than the preset threshold; use the data point corresponding to the grid unit whose status value is greater than the preset threshold as the trajectory point of the traffic sign line, according to the status The location information of the data points corresponding to the grid cells whose value is greater than the preset threshold value is used to generate the traffic sign line map of the preset geographic area.
本实施例中,通过一系列的加法运算来更新栅格单元的几率信息,就可以得到构建的交通标志线地图数据,而几率信息在计算机中可以离散化表示为一个8特位(bit)或者16比特的整型(int类型),如此以来,也非常方便计算机的运算,相比于用曲线拟合的方式而言实现更加简单,因为曲线拟合需要运用非线性优化的方式迭代求解运算,涉及到代价函数的求导和曲线模型参数选择等问题。所构建的交通标志线地图能够有效地抵抗了数据噪声的影响,并很好地保持地图的一致性(如车道线的直线度、弯曲部分的光滑程度等)。示例性地,通过本实施例提供的方法生成的交通标志线地图的示例如图4所示,车道线的直线度、弯曲部分的光滑程度都较好。In this embodiment, by updating the probability information of the grid cells through a series of addition operations, the constructed traffic sign line map data can be obtained, and the probability information can be discretized and expressed as an 8-bit (bit) or 16-bit integer (int type), so it is also very convenient for computer operations. Compared with curve fitting, it is easier to implement, because curve fitting needs to use nonlinear optimization to iteratively solve the operation. It involves the derivation of the cost function and the selection of parameters of the curve model. The constructed traffic sign line map can effectively resist the influence of data noise, and maintain the consistency of the map (such as the straightness of lane lines, the smoothness of curved parts, etc.). Exemplarily, an example of a traffic sign line map generated by the method provided in this embodiment is shown in FIG. 4 , and the straightness of the lane line and the smoothness of the curved part are good.
本实施例基于预设地理区域所对应的栅格地图,将栅格地图中所有栅格单元初始的状态值均设置为0,表示交通标志线经过栅格单元的概率为0.5。进一步地,根据预设地理区域内的交通标志线的多帧点云数据,通过遍历每帧点云数据,将每帧点云数据映射到栅格地图中,增加具有点云数据的栅格单元的状态值,而不具有点云数据的栅格单元的状态值保持不变。遍历完所有点云数据之后,点云数据映射到栅格单元的次数越多,栅格单元的状态值越大,交通标志线经过该栅格单元的可能性越大,根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。通过一系列加法运算即可生成交通标志线地图,大大减少了计算量,提高了地图生成效率。同时一次性生成整体地图,避免曲线拟合和拼接导致的误识别和拼接过程,适应于各种不同地图构建的场景,提高了地图的精准度和一致性。In this embodiment, based on the grid map corresponding to the preset geographical area, the initial state values of all grid cells in the grid map are set to 0, which means that the probability of traffic sign lines passing through the grid cells is 0.5. Further, according to the multi-frame point cloud data of traffic sign lines in the preset geographical area, by traversing each frame of point cloud data, each frame of point cloud data is mapped to a grid map, and the grid unit with point cloud data is increased The state value of the raster cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility that the traffic sign line passes through the grid unit. According to the state value greater than the preset Threshold grid cells to generate a traffic sign line map of a preset geographic area. The traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the efficiency of map generation. At the same time, the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
图5是本公开第三实施例提供的生成交通标志线地图的设备示意图。本公开实施例提供的生成交通标志线地图的设备可以执行生成交通标志线地图的方法实施例提供的处理流程。如图5所示,该生成交通标志线地图的设备50包括:点云数据获取模块501,数据点映射模块502,栅格地图更新模块503和交通标志线地图生成模块504。Fig. 5 is a schematic diagram of a device for generating a traffic sign line map provided by a third embodiment of the present disclosure. The device for generating a traffic sign line map provided in an embodiment of the present disclosure may execute the processing procedure provided in the method embodiment for generating a traffic sign line map. As shown in FIG. 5 , the device 50 for generating a traffic sign line map includes: a point cloud data acquisition module 501 , a data point mapping module 502 , a grid map update module 503 and a traffic sign line map generation module 504 .
具体地,点云数据获取模块501,用于获取预设地理区域内的交通标志线的多帧点云数据。Specifically, the point cloud data acquisition module 501 is configured to acquire multi-frame point cloud data of traffic sign lines in a preset geographical area.
数据点映射模块502,用于将各帧点云数据映射到预设地理区域所对应的栅格地 图中,栅格地图包括多个栅格单元。The data point mapping module 502 is configured to map each frame of point cloud data into a grid map corresponding to a preset geographical area, and the grid map includes a plurality of grid units.
栅格地图更新模块503,用于增加各帧点云数据所对应栅格单元的状态值。The grid map update module 503 is used to increase the state value of the grid unit corresponding to each frame of point cloud data.
交通标志线地图生成模块504,用于根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。The traffic sign line map generating module 504 is configured to generate a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
本公开实施例提供的设备可以具体用于执行上述第一实施例提供的方法实施例,具体功能此处不再赘述。The device provided in the embodiments of the present disclosure may be specifically configured to execute the method embodiment provided in the above-mentioned first embodiment, and the specific functions will not be repeated here.
本实施例基于预设地理区域所对应的栅格地图、预设地理区域内的交通标志线的多帧点云数据,通过遍历每帧点云数据,将每帧点云数据映射到栅格地图中,增加具有点云数据的栅格单元的状态值,而不具有点云数据的栅格单元的状态值保持不变。遍历完所有点云数据之后,点云数据映射到栅格单元的次数越多,栅格单元的状态值越大,交通标志线经过该栅格单元的可能性越大。根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图,通过一系列加法运算即可生成交通标志线地图,大大减少了计算量,提高了地图生成效率。同时,一次性生成整体地图,避免曲线拟合和拼接导致的误识别和拼接过程,适应于各种不同地图构建的场景,提高了地图的精准度和一致性。In this embodiment, based on the grid map corresponding to the preset geographic area and the multi-frame point cloud data of traffic sign lines in the preset geographic area, each frame of point cloud data is mapped to the grid map by traversing each frame of point cloud data In , the state value of the grid cells with point cloud data is increased, while the state value of the grid cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility of the traffic sign passing through the grid unit. According to the grid cells whose state value is greater than the preset threshold, the traffic sign line map of the preset geographical area is generated, and the traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the map generation efficiency. At the same time, the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
图6是本公开第四实施例提供的生成交通标志线地图的设备示意图。本公开实施例提供的生成交通标志线地图的设备可以执行生成交通标志线地图的方法实施例提供的处理流程。如图6所示,该生成交通标志线地图的设备60包括:点云数据获取模块601,数据点映射模块502,栅格地图更新模块603和交通标志线地图生成模块604。Fig. 6 is a schematic diagram of a device for generating a traffic sign line map provided by a fourth embodiment of the present disclosure. The device for generating a traffic sign line map provided in an embodiment of the present disclosure may execute the processing procedure provided in the method embodiment for generating a traffic sign line map. As shown in FIG. 6 , the device 60 for generating a traffic sign line map includes: a point cloud data acquisition module 601 , a data point mapping module 502 , a grid map update module 603 and a traffic sign line map generation module 604 .
具体地,点云数据获取模块601,用于获取预设地理区域内的交通标志线的多帧点云数据。Specifically, the point cloud data acquisition module 601 is configured to acquire multi-frame point cloud data of traffic sign lines in a preset geographic area.
数据点映射模块602,用于将各帧点云数据映射到预设地理区域所对应的栅格地图中,栅格地图包括多个栅格单元。The data point mapping module 602 is configured to map each frame of point cloud data into a grid map corresponding to a preset geographical area, and the grid map includes a plurality of grid units.
栅格地图更新模块603,用于增加各帧点云数据所对应栅格单元的状态值。The grid map updating module 603 is used to increase the state value of the grid unit corresponding to each frame of point cloud data.
交通标志线地图生成模块604,用于根据状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。The traffic sign line map generation module 604 is configured to generate a traffic sign line map of a preset geographical area according to the grid cells whose state values are greater than a preset threshold.
可选地,栅格单元的状态值为交通标志线经过该栅格单元的几率信息,栅格单元的状态值的初始值为0。Optionally, the status value of the grid unit is the probability information of the traffic sign line passing through the grid unit, and the initial value of the status value of the grid unit is 0.
可选地,每帧点云数据包括交通标志线的多个数据点的位置信息。图6数据点映射模块602还用于根据每帧点云数据中每一数据点的位置信息,确定每一数据点对应的栅格单元。Optionally, each frame of point cloud data includes position information of multiple data points of the traffic sign line. The data point mapping module 602 in FIG. 6 is also used to determine the grid unit corresponding to each data point according to the position information of each data point in each frame of point cloud data.
栅格地图更新模块603还用于将每一数据点对应的栅格单元的状态值增加预设增量。The grid map update module 603 is further configured to increase the state value of the grid unit corresponding to each data point by a preset increment.
可选地,如图6所示,点云数据获取模块601,包括:Optionally, as shown in Figure 6, the point cloud data acquisition module 601 includes:
数据获取子模块6011,用于获取车辆采集的预设地理区域内的图像,并获取车辆采集图像时的位姿数据;The data acquisition sub-module 6011 is used to acquire the images in the preset geographical area collected by the vehicle, and obtain the pose data when the vehicle collects the images;
第一映射子模块6012,用于确定图像中的交通标志线的像素点在车体坐标系下的映射点;The first mapping sub-module 6012 is used to determine the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system;
第二映射子模块6013,用于根据位姿数据,将映射点投影至世界坐标系下,得到对应的投影点的坐标,根据投影点的坐标生成一帧点云数据。The second mapping sub-module 6013 is used to project the mapping points to the world coordinate system according to the pose data, obtain the coordinates of the corresponding projection points, and generate a frame of point cloud data according to the coordinates of the projection points.
可选地,第一映射子模块还用于:Optionally, the first mapping submodule is also used for:
确定图像中的交通标志线的像素点;根据图像对应的相机模型,将像素点映射为车体坐标系下的映射点,得到映射点的坐标。Determine the pixel points of the traffic sign lines in the image; map the pixel points to the mapping points in the vehicle body coordinate system according to the camera model corresponding to the image, and obtain the coordinates of the mapping points.
可选地,如图6所示,交通标志线地图生成模块604,包括:Optionally, as shown in Figure 6, the traffic sign line map generating module 604 includes:
第一生成子模块6041,用于将状态值大于预设阈值的栅格单元所覆盖的区域作为交通标志线所覆盖的区域,得到预设地理区域的交通标志线地图。The first generation sub-module 6041 is configured to use the area covered by the grid cells whose state value is greater than the preset threshold as the area covered by the traffic sign line to obtain the traffic sign line map of the preset geographical area.
可选地,如图6所示,交通标志线地图生成模块604,包括:Optionally, as shown in Figure 6, the traffic sign line map generating module 604 includes:
第二生成子模块6042,用于:The second generation sub-module 6042 is used for:
将状态值大于预设阈值的栅格单元对应的数据点作为交通标志线的轨迹点,根据状态值大于预设阈值的栅格单元对应的数据点的位置信息,生成预设地理区域的交通标志线地图。The data points corresponding to the grid cells whose state value is greater than the preset threshold are used as the trajectory points of the traffic sign line, and the traffic signs of the preset geographical area are generated according to the position information of the data points corresponding to the grid cells whose state value is greater than the preset threshold line map.
可选地,如图6所示,生成交通标志线地图的设备60还包括:Optionally, as shown in Figure 6, the device 60 for generating the traffic sign line map also includes:
栅格地图构建模块605,用于:A raster map building block 605 for:
构建预设地理区域对应的栅格地图,并初始化各栅格单元的状态值。Construct the grid map corresponding to the preset geographical area, and initialize the state value of each grid unit.
本公开实施例提供的设备可以具体用于执行上述第二实施例提供的方法实施例,具体功能此处不再赘述。The device provided in the embodiment of the present disclosure may be specifically used to execute the method embodiment provided in the above-mentioned second embodiment, and specific functions will not be repeated here.
本实施例基于预设地理区域所对应的栅格地图,将栅格地图中所有栅格单元初始的状态值均设置为0,表示交通标志线经过栅格单元的概率为0.5。进一步地,根据预设地理区域内的交通标志线的多帧点云数据,通过遍历每帧点云数据,将每帧点云数据映射到栅格地图中,增加具有点云数据的栅格单元的状态值,而不具有点云数据的栅格单元的状态值保持不变。遍历完所有点云数据之后,点云数据映射到栅格单元的次数越多,栅格单元的状态值越大,交通标志线经过该栅格单元的可能性越大,根据 状态值大于预设阈值的栅格单元,生成预设地理区域的交通标志线地图。通过一系列加法运算即可生成交通标志线地图,大大减少了计算量,提高了地图生成效率。同时,一次性生成整体地图,避免曲线拟合和拼接导致的误识别和拼接过程,适应于各种不同地图构建的场景,提高了地图的精准度和一致性。In this embodiment, based on the grid map corresponding to the preset geographical area, the initial state values of all grid cells in the grid map are set to 0, which means that the probability of traffic sign lines passing through the grid cells is 0.5. Further, according to the multi-frame point cloud data of traffic sign lines in the preset geographical area, by traversing each frame of point cloud data, each frame of point cloud data is mapped to a grid map, and the grid unit with point cloud data is increased The state value of the raster cells without point cloud data remains unchanged. After traversing all the point cloud data, the more times the point cloud data is mapped to the grid unit, the greater the state value of the grid unit, and the greater the possibility that the traffic sign line passes through the grid unit. According to the state value greater than the preset Threshold grid cells to generate a traffic sign line map of a preset geographic area. The traffic sign line map can be generated through a series of addition operations, which greatly reduces the amount of calculation and improves the efficiency of map generation. At the same time, the overall map is generated at one time, avoiding the misidentification and stitching process caused by curve fitting and stitching, adapting to various map construction scenarios, and improving the accuracy and consistency of the map.
根据本公开的实施例,本公开还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
根据本公开的实施例,本公开还提供了一种计算机程序产品,计算机程序产品包括:计算机程序,计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得电子设备执行上述任一实施例提供的方案。According to an embodiment of the present disclosure, the present disclosure also provides a computer program product. The computer program product includes: a computer program, the computer program is stored in a readable storage medium, and at least one processor of an electronic device can read the program from the readable storage medium. Taking a computer program, at least one processor executes the computer program so that the electronic device executes the solution provided by any one of the above embodiments.
图7示出了可以用来实施本公开的实施例的示例电子设备700的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 7 shows a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图7所示,电子设备700包括计算单元701,其可以根据存储在只读存储器(ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(RAM)703中的计算机程序,来执行各种适当的动作和处理。在RAM703中,还可存储设备700操作所需的各种程序和数据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , an electronic device 700 includes a computing unit 701, which can perform calculations according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. Various appropriate actions and processes are performed. In the RAM 703, various programs and data necessary for the operation of the device 700 can also be stored. The computing unit 701, ROM 702, and RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to the bus 704 .
设备700中的多个部件连接至I/O接口705,包括:输入单元706,例如键盘、鼠标等;输出单元707,例如各种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 700 are connected to the I/O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc. ; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the device 700 to exchange information/data with other devices over a computer network such as the Internet and/or various telecommunication networks.
计算单元701可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元701执行上文所描述的各个方法和处理,例如生成交通标志线地图的方法。例如,在一些实施例中,生成交通标志线地图的方法可被实现为计算机软件程序,其被有形地包含于 机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的生成交通标志线地图的方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行生成交通标志线地图的方法。The computing unit 701 may be various general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of computing units 701 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 executes various methods and processes described above, such as a method of generating a traffic sign line map. For example, in some embodiments, a method of generating a traffic sign map may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method for generating a traffic sign line map described above can be performed. Alternatively, in other embodiments, the computing unit 701 may be configured in any other appropriate way (for example, by means of firmware) to execute the method for generating a traffic sign line map.
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户 的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务("Virtual Private Server",或简称"VPS")中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the problem of traditional physical host and VPS service ("Virtual Private Server", or "VPS") Among them, there are defects such as difficult management and weak business scalability. The server can also be a server of a distributed system, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims (19)

  1. 一种生成交通标志线地图的方法,包括:A method for generating a map of traffic sign lines, comprising:
    获取预设地理区域内的交通标志线的多帧点云数据;Obtain multi-frame point cloud data of traffic sign lines in a preset geographic area;
    将各帧所述点云数据映射到所述预设地理区域所对应的栅格地图中,所述栅格地图包括多个栅格单元;Mapping the point cloud data of each frame into a grid map corresponding to the preset geographical area, the grid map including a plurality of grid units;
    增加各帧所述点云数据所对应栅格单元的状态值;Increase the state value of the grid unit corresponding to the point cloud data in each frame;
    根据状态值大于预设阈值的栅格单元,生成所述预设地理区域的交通标志线地图。A traffic sign line map of the preset geographical area is generated according to the grid cells whose state values are greater than a preset threshold.
  2. 根据权利要求1所述的方法,其中,所述栅格单元的状态值为交通标志线经过该栅格单元的几率信息,所述栅格单元的状态值的初始值为0。The method according to claim 1, wherein the state value of the grid cell is the probability information of the traffic sign line passing the grid cell, and the initial value of the state value of the grid cell is 0.
  3. 根据权利要求1或2所述的方法,其中,每帧所述点云数据包括交通标志线的多个数据点的位置信息;The method according to claim 1 or 2, wherein the point cloud data of each frame includes position information of a plurality of data points of traffic marking lines;
    所述将各帧所述点云数据映射到所述预设地理区域所对应的栅格地图中包括:根据每帧所述点云数据中每一数据点的位置信息,确定所述每一数据点对应的栅格单元;The mapping of each frame of point cloud data to the grid map corresponding to the preset geographical area includes: determining the position information of each data point in the point cloud data of each frame. The grid cell corresponding to the point;
    所述增加各帧所述点云数据所对应栅格单元的状态值包括:将所述每一数据点对应的栅格单元的状态值增加预设增量。The increasing the state value of the grid unit corresponding to the point cloud data in each frame includes: increasing the state value of the grid unit corresponding to each data point by a preset increment.
  4. 根据权利要求1-3中任一项所述的方法,其中,通过如下方式获取预设地理区域内交通标志线的各帧点云数据:The method according to any one of claims 1-3, wherein the point cloud data of each frame of the traffic marking line in the preset geographic area is acquired by the following method:
    获取车辆采集的所述预设地理区域内的图像,并获取所述车辆采集所述图像时的位姿数据;Acquiring the images in the preset geographical area collected by the vehicle, and obtaining the pose data when the vehicle collects the images;
    确定所述图像中的交通标志线的像素点在车体坐标系下的映射点;Determining the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system;
    根据所述位姿数据,将所述映射点投影至世界坐标系下,得到对应的投影点的坐标;According to the pose data, project the mapping point to the world coordinate system to obtain the coordinates of the corresponding projection point;
    根据所述投影点的坐标生成一帧点云数据。A frame of point cloud data is generated according to the coordinates of the projected points.
  5. 根据权利要求4所述的方法,其中,所述确定所述图像中的交通标志线的像素点在车体坐标系下的映射点,包括:The method according to claim 4, wherein said determining the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system comprises:
    确定所述图像中的交通标志线的像素点;Determine the pixel points of the traffic sign lines in the image;
    根据所述图像对应的相机模型,将所述像素点映射为车体坐标系下的映射点,得到所述映射点的坐标。According to the camera model corresponding to the image, the pixel points are mapped to mapping points in the vehicle body coordinate system to obtain the coordinates of the mapping points.
  6. 根据权利要求1-5中任一项所述的方法,其中,所述根据状态值大于预设阈值的栅格单元,生成所述预设地理区域的交通标志线地图,包括:The method according to any one of claims 1-5, wherein said generating the traffic sign line map of said preset geographic area according to the grid cells whose status values are greater than a preset threshold includes:
    将状态值大于预设阈值的栅格单元所覆盖的区域,作为交通标志线所覆盖的区域,得到所述预设地理区域的交通标志线地图。Taking the area covered by the grid cells whose state values are greater than the preset threshold value as the area covered by the traffic sign line to obtain the traffic sign line map of the preset geographical area.
  7. 根据权利要求1-5中任一项所述的方法,其中,所述根据状态值大于预设阈值的栅格单元,生成交通标志线地图,包括:The method according to any one of claims 1-5, wherein said generating a traffic sign line map according to a grid unit whose state value is greater than a preset threshold includes:
    将状态值大于预设阈值的栅格单元对应的点云数据中的数据点,作为交通标志线的轨迹点;The data points in the point cloud data corresponding to the grid cells whose state value is greater than the preset threshold are used as the trajectory points of the traffic marking line;
    根据所述轨迹点的位置信息,生成所述预设地理区域的交通标志线地图。A traffic sign line map of the preset geographical area is generated according to the location information of the track point.
  8. 根据权利要求1-7中任一项所述的方法,还包括:The method according to any one of claims 1-7, further comprising:
    构建所述预设地理区域对应的栅格地图,并初始化各栅格单元的状态值。A grid map corresponding to the preset geographic area is constructed, and a state value of each grid unit is initialized.
  9. 一种生成交通标志线地图的设备,包括:A device for generating a map of traffic sign lines, comprising:
    点云数据获取模块,用于获取预设地理区域内的交通标志线的多帧点云数据;The point cloud data acquisition module is used to acquire multi-frame point cloud data of traffic sign lines in the preset geographic area;
    数据点映射模块,用于将各帧所述点云数据映射到所述预设地理区域所对应的栅格地图中,所述栅格地图包括多个栅格单元;A data point mapping module, configured to map the point cloud data of each frame into a grid map corresponding to the preset geographic area, the grid map including a plurality of grid units;
    栅格地图更新模块,用于增加各帧所述点云数据所对应栅格单元的状态值;The grid map update module is used to increase the state value of the grid unit corresponding to the point cloud data in each frame;
    交通标志线地图生成模块,用于根据状态值大于预设阈值的栅格单元,生成所述预设地理区域的交通标志线地图。The traffic sign line map generation module is configured to generate the traffic sign line map of the preset geographical area according to the grid cells whose state values are greater than a preset threshold.
  10. 根据权利要求9所述的设备,其中,所述栅格单元的状态值为交通标志线经过该栅格单元的几率信息,所述栅格单元的状态值的初始值为0。The device according to claim 9, wherein the state value of the grid cell is the probability information of the traffic sign line passing through the grid cell, and the initial value of the state value of the grid cell is 0.
  11. 根据权利要求9或10所述的设备,其中,每帧所述点云数据包括交通标志线的多个数据点的位置信息;The device according to claim 9 or 10, wherein the point cloud data of each frame includes position information of a plurality of data points of traffic marking lines;
    所述数据点映射模块还用于:The data point mapping module is also used to:
    根据每帧所述点云数据中每一数据点的位置信息,确定所述每一数据点对应的栅格单元;According to the position information of each data point in the point cloud data of each frame, determine the grid unit corresponding to each data point;
    所述栅格地图更新模块还用于:The raster map update module is also used for:
    将所述每一数据点对应的栅格单元的状态值增加预设增量。The state value of the grid cell corresponding to each data point is increased by a preset increment.
  12. 根据权利要求9-11中任一项所述的设备,其中,所述点云数据获取模块,包括:The device according to any one of claims 9-11, wherein the point cloud data acquisition module includes:
    数据获取子模块,用于获取车辆采集的所述预设地理区域内的图像,并获取所述车辆采集所述图像时的位姿数据;The data acquisition sub-module is used to acquire images in the preset geographical area collected by the vehicle, and obtain pose data when the vehicle collects the images;
    第一映射子模块,用于确定所述图像中的交通标志线的像素点在车体坐标系下的映射点;The first mapping submodule is used to determine the mapping points of the pixels of the traffic sign lines in the image in the vehicle body coordinate system;
    第二映射子模块,用于根据所述位姿数据,将所述映射点投影至世界坐标系下,得到对应的投影点的坐标,根据所述投影点的坐标生成一帧点云数据。The second mapping sub-module is used to project the mapping points into the world coordinate system according to the pose data, obtain the coordinates of the corresponding projection points, and generate a frame of point cloud data according to the coordinates of the projection points.
  13. 根据权利要求12所述的设备,其中,所述第一映射子模块还用于:The device according to claim 12, wherein the first mapping submodule is further used for:
    确定所述图像中的交通标志线的像素点;Determine the pixel points of the traffic sign lines in the image;
    根据所述图像对应的相机模型,将所述像素点映射为车体坐标系下的映射点,得到所述映射点的坐标。According to the camera model corresponding to the image, the pixel points are mapped to mapping points in the vehicle body coordinate system to obtain the coordinates of the mapping points.
  14. 根据权利要求9-13中任一项所述的设备,其中,所述交通标志线地图生成模块,包括:The device according to any one of claims 9-13, wherein the traffic sign line map generation module includes:
    第一生成子模块,用于将状态值大于预设阈值的栅格单元所覆盖的区域,作为交通标志线所覆盖的区域,得到所述预设地理区域的交通标志线地图。The first generation sub-module is used to use the area covered by the grid cells whose state value is greater than the preset threshold as the area covered by the traffic sign line, and obtain the traffic sign line map of the preset geographical area.
  15. 根据权利要求9-13中任一项所述的设备,其中,所述交通标志线地图生成模块,包括:The device according to any one of claims 9-13, wherein the traffic sign line map generation module includes:
    第二生成子模块,用于:The second generates submodules for:
    将状态值大于预设阈值的栅格单元对应的点云数据中的数据点,作为交通标志线的轨迹点;The data points in the point cloud data corresponding to the grid cells whose state value is greater than the preset threshold are used as the trajectory points of the traffic marking line;
    根据所述轨迹点的位置信息,生成所述预设地理区域的交通标志线地图。A traffic sign line map of the preset geographical area is generated according to the location information of the track point.
  16. 根据权利要求9-15中任一项所述的设备,还包括:The apparatus according to any one of claims 9-15, further comprising:
    栅格地图构建模块,用于:Raster map building blocks for:
    构建所述预设地理区域对应的栅格地图,并初始化各栅格单元的状态值。A grid map corresponding to the preset geographic area is constructed, and a state value of each grid unit is initialized.
  17. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-8中任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform any one of claims 1-8. Methods.
  18. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行权利要求1-8中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.
  19. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-8中任一项所述的方法。A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-8.
PCT/CN2022/092141 2021-05-14 2022-05-11 Method and device for generating traffic sign line map, and storage medium WO2022237821A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110528222.0 2021-05-14
CN202110528222.0A CN113298910A (en) 2021-05-14 2021-05-14 Method, apparatus and storage medium for generating traffic sign line map

Publications (1)

Publication Number Publication Date
WO2022237821A1 true WO2022237821A1 (en) 2022-11-17

Family

ID=77322248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092141 WO2022237821A1 (en) 2021-05-14 2022-05-11 Method and device for generating traffic sign line map, and storage medium

Country Status (2)

Country Link
CN (1) CN113298910A (en)
WO (1) WO2022237821A1 (en)

Families Citing this family (4)

* 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
CN114612879B (en) * 2022-03-01 2024-09-06 智道网联科技(北京)有限公司 Ground traffic sign detection method and device and electronic equipment
CN115131759A (en) * 2022-07-01 2022-09-30 上海商汤临港智能科技有限公司 Traffic marking recognition method, device, computer equipment and storage medium
CN115269763B (en) * 2022-09-28 2023-02-10 北京智行者科技股份有限公司 Local point cloud map updating and maintaining method and device, mobile tool and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108734780A (en) * 2017-04-17 2018-11-02 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for generating map
CN109635816A (en) * 2018-10-31 2019-04-16 百度在线网络技术(北京)有限公司 Lane line generation method, device, equipment and storage medium
CN110705543A (en) * 2019-08-23 2020-01-17 芜湖酷哇机器人产业技术研究院有限公司 Method and system for recognizing lane lines based on laser point cloud
CN111316328A (en) * 2019-04-24 2020-06-19 深圳市大疆创新科技有限公司 Method for maintaining lane line map, electronic device and storage medium
CN111737395A (en) * 2020-08-19 2020-10-02 浙江欣奕华智能科技有限公司 Method and device for generating occupancy grid map and robot system
US20210012120A1 (en) * 2019-07-10 2021-01-14 Deka Products Limited Partnership System and Method for Free Space Estimation
CN112541396A (en) * 2020-11-16 2021-03-23 西人马帝言(北京)科技有限公司 Lane line detection method, device, equipment and computer storage medium
CN112581613A (en) * 2020-12-08 2021-03-30 纵目科技(上海)股份有限公司 Grid map generation method and system, electronic device and storage medium
CN113298910A (en) * 2021-05-14 2021-08-24 阿波罗智能技术(北京)有限公司 Method, apparatus and storage medium for generating traffic sign line map

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127113A (en) * 2016-06-15 2016-11-16 北京联合大学 A kind of road track line detecting method based on three-dimensional laser radar
CN107161141B (en) * 2017-03-08 2023-05-23 深圳市速腾聚创科技有限公司 Unmanned automobile system and automobile
CN106969763B (en) * 2017-04-07 2021-01-01 百度在线网络技术(北京)有限公司 Method and apparatus for determining yaw angle of unmanned vehicle
CN107388967B (en) * 2017-08-14 2019-11-12 上海汽车集团股份有限公司 A kind of outer parameter compensation method of vehicle-mounted three-dimensional laser sensor and device
CN109726728B (en) * 2017-10-31 2020-12-15 阿里巴巴(中国)有限公司 Training data generation method and device
CN110163930B (en) * 2019-05-27 2023-06-27 北京百度网讯科技有限公司 Lane line generation method, device, equipment, system and readable storage medium
CN110349192B (en) * 2019-06-10 2021-07-13 西安交通大学 Tracking method of online target tracking system based on three-dimensional laser point cloud
CN112308913B (en) * 2019-07-29 2024-03-29 北京魔门塔科技有限公司 Vehicle positioning method and device based on vision and vehicle-mounted terminal
CN112241442B (en) * 2019-09-10 2024-02-27 北京国家新能源汽车技术创新中心有限公司 Map updating method, map updating device, computer equipment and storage medium
CN112362059B (en) * 2019-10-23 2023-05-30 北京京东乾石科技有限公司 Positioning method and device for mobile carrier, computer equipment and medium
CN111339996B (en) * 2020-03-20 2023-05-09 北京百度网讯科技有限公司 Method, device, equipment and storage medium for detecting static obstacle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108734780A (en) * 2017-04-17 2018-11-02 百度在线网络技术(北京)有限公司 Method, apparatus and equipment for generating map
CN109635816A (en) * 2018-10-31 2019-04-16 百度在线网络技术(北京)有限公司 Lane line generation method, device, equipment and storage medium
CN111316328A (en) * 2019-04-24 2020-06-19 深圳市大疆创新科技有限公司 Method for maintaining lane line map, electronic device and storage medium
US20210012120A1 (en) * 2019-07-10 2021-01-14 Deka Products Limited Partnership System and Method for Free Space Estimation
CN110705543A (en) * 2019-08-23 2020-01-17 芜湖酷哇机器人产业技术研究院有限公司 Method and system for recognizing lane lines based on laser point cloud
CN111737395A (en) * 2020-08-19 2020-10-02 浙江欣奕华智能科技有限公司 Method and device for generating occupancy grid map and robot system
CN112541396A (en) * 2020-11-16 2021-03-23 西人马帝言(北京)科技有限公司 Lane line detection method, device, equipment and computer storage medium
CN112581613A (en) * 2020-12-08 2021-03-30 纵目科技(上海)股份有限公司 Grid map generation method and system, electronic device and storage medium
CN113298910A (en) * 2021-05-14 2021-08-24 阿波罗智能技术(北京)有限公司 Method, apparatus and storage medium for generating traffic sign line map

Also Published As

Publication number Publication date
CN113298910A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2022237821A1 (en) Method and device for generating traffic sign line map, and storage medium
JP6745328B2 (en) Method and apparatus for recovering point cloud data
EP3846129A2 (en) Method and apparatus for detecting obstacle
EP4116462A2 (en) Method and apparatus of processing image, electronic device, storage medium and program product
JP7440005B2 (en) High-definition map creation method, apparatus, device and computer program
US20220083787A1 (en) Obstacle three-dimensional position acquisition method and apparatus for roadside computing device
US20220222951A1 (en) 3d object detection method, model training method, relevant devices and electronic apparatus
JP7273129B2 (en) Lane detection method, device, electronic device, storage medium and vehicle
US20170053412A1 (en) Image Depth Inference from Semantic Labels
WO2021027692A1 (en) Visual feature library construction method and apparatus, visual positioning method and apparatus, and storage medium
US20230104225A1 (en) Method for fusing road data to generate a map, electronic device, and storage medium
US20210295013A1 (en) Three-dimensional object detecting method, apparatus, device, and storage medium
CN114565916A (en) Target detection model training method, target detection method and electronic equipment
CN114186007A (en) High-precision map generation method and device, electronic equipment and storage medium
CN115937449A (en) High-precision map generation method and device, electronic equipment and storage medium
CN113932796A (en) High-precision map lane line generation method and device and electronic equipment
CN113762397A (en) Detection model training and high-precision map updating method, device, medium and product
CN114627438A (en) Target detection model generation method, target detection method, device and medium
JP7375149B2 (en) Positioning method, positioning device, visual map generation method and device
US20230162383A1 (en) Method of processing image, device, and storage medium
US20230036294A1 (en) Method for processing image, electronic device and storage medium
US20230142243A1 (en) Device environment identification method and apparatus, electronic device, and autonomous vehicle
EP4160149A1 (en) Road network data processing method and apparatus, electronic device, storage medium, and program product
CN115527028A (en) Map data processing method and device
CN114170282A (en) Point cloud fusion method and device, electronic equipment and medium

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: 22806784

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: 22806784

Country of ref document: EP

Kind code of ref document: A1