Probabilistic matching method for repeated structured features of a port scene and related devices
By resampling the laser point cloud features and map features of the region of interest twice in the port scene, and combining particle filtering with high-precision maps, the problem of poor localization caused by repetitive structured features is solved, and the localization accuracy is improved.
Patent Information
- Application Number
- CN202211426343.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-11-15
AI Technical Summary
In complex scenarios, especially in port scenarios, existing technologies struggle to effectively address the issues of low positioning accuracy or positioning jumps caused by repetitive structured features.
In a port scenario, based on the distance and frequency between the laser point cloud features of the region of interest and the preset map features, two resampling operations are performed. Then, particle filtering and a high-precision map are combined to perform feature association.
It effectively avoids observation difficulties caused by noise and obstruction, improves positioning accuracy, and is particularly suitable for port scenarios with repetitive and structured features.
Smart Images

Figure CN115902929B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of lidar data processing, and in particular to a probabilistic matching method and related equipment for repetitive structured features in port scenes. Background Technology
[0002] Currently, multi-line LiDAR is the most commonly used sensor in autonomous driving, playing a crucial role in vehicle localization and mapping in conjunction with high-precision maps. However, in complex scenarios such as vehicle occlusion or the presence of structurally similar features, it is difficult to eliminate the impact of complex scenarios on localization and mapping through methods such as feature cluster matching. In such cases, it can easily lead to low localization accuracy or even localization jumps.
[0003] Therefore, how to avoid poor positioning results caused by feature interference is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] In order to overcome the defects of the prior art, the present invention provides a probability matching method, apparatus, electronic device and storage medium for repetitive structured features in port scenes, so as to avoid the problem of poor positioning effect caused by feature interference, and is particularly suitable for port scenes with repetitive structured features.
[0005] According to one aspect of the present invention, a probabilistic matching method for repetitive structured features in a port scene is provided, comprising:
[0006] In response to the completion of the preset map initialization, the position of the region of interest in the preset map and the particles in the region of interest are updated according to the vehicle driving parameters.
[0007] Based on the distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, the particles in the region of interest are resampled for the first time to obtain the first resampled particles.
[0008] Based on the frequency of the markers indicated by the laser point cloud features in the region of interest appearing in the preset map, the first resampled particle is resampled a second time to obtain the second resampled particle.
[0009] Based on the second resampling particle, the laser point cloud features in the region of interest are associated with the corresponding map features in the preset map.
[0010] In some embodiments of this application, the region of interest is a region within a set distance range of the lidar sensor, and the initialization is used to randomly seed particles in the region of interest.
[0011] In some embodiments of this application, the region of interest during initialization is determined based on the vehicle's pre-positioning information.
[0012] In some embodiments of this application, updating the position of the region of interest in a preset map and the particles in the region of interest based on vehicle driving parameters includes:
[0013] Update the position of the region of interest in the preset map based on the vehicle driving parameters;
[0014] Particles whose positions are outside the region of interest are randomly scattered into the updated region of interest.
[0015] In some embodiments of this application, the step of performing a first resampling on particles in the region of interest based on the distance between the laser point cloud features in the region of interest and the corresponding map features in a preset map, to obtain the first resampled particles, includes:
[0016] Based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, the particles in the region of interest are resampled for the first time to obtain the first resampled particles.
[0017] In some embodiments of this application, the step of performing a first resampling on particles in the region of interest based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in a preset map, to obtain first resampled particles, includes:
[0018] The first weight of the particles in the region of interest is calculated based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map.
[0019] The first probability of particles in the region of interest is updated according to the first weight, so as to resample the particles in the region of interest.
[0020] In some embodiments of this application, the first weight w i1 Calculate using the following formula:
[0021]
[0022] Where x is the distance along the X-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map, y is the distance along the Y-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map, and a1 and a2 are constants greater than 0.
[0023] In some embodiments of this application, the first probability is updated according to the following formula:
[0024]
[0025] in, Let w be the first probability updated for each particle in the region of interest, N1 be the number of particles in the region of interest, and w be the number of particles in the region of interest. i As the first weight, p i This represents the first probability of each particle in the region of interest before updating.
[0026] In some embodiments of this application, the step of performing a second resampling on the first resampled particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in a preset map, to obtain the second resampled particles, includes:
[0027] The second weight of the first resampled particle is calculated based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map.
[0028] The second probability of the particles in the region of interest is updated according to the second weight to resample the first resampled particles.
[0029] In some embodiments of this application, the second probability is updated according to the following formula:
[0030]
[0031] in, N represents the first probability after the first resampled particle is updated. w r is the number of particles in the first resampled particle. i As the second weight, This represents the first probability before the first resampled particle is updated.
[0032] In some embodiments of this application, associating the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles includes:
[0033] Determine effective map features from the map features in the region of interest;
[0034] Based on the comparison between the number of second resampled particles within a set distance range of the effective map features and a set number threshold, it is determined whether to associate the effective map features with the corresponding laser point cloud features.
[0035] In some embodiments of this application, determining effective map features from map features in the region of interest includes:
[0036] The nearest neighbor search algorithm is used to sort the map features in the region of interest from largest to smallest based on the number of second resampled particles in the nearest neighbors;
[0037] The top M% of map features in the sorting order are taken as effective map features, where M is a constant greater than 1 and less than 100.
[0038] In some embodiments of this application, the step of associating the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles includes:
[0039] The vehicle's location information in the preset map is determined based on the association between the laser point cloud features in the region of interest and the corresponding map features in the preset map.
[0040] According to another aspect of this application, a probabilistic matching device for repetitive structured features in a port scene is also provided, comprising:
[0041] The Region of Interest (ROI) update module is used to update the position of the ROI in the preset map and the particles in the ROI according to the vehicle driving parameters in response to the completion of the preset map initialization.
[0042] The first resampling module is used to perform a first resampling on the particles in the region of interest based on the distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, so as to obtain the first resampled particles;
[0043] The second resampling module is used to perform a second resampling on the first resampling particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in a preset map, so as to obtain the second resampling particles.
[0044] The association module is used to associate the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles.
[0045] According to another aspect of the present invention, an electronic device is also provided, the electronic device comprising: a processor; and a storage medium having a computer program stored thereon, the computer program being executed by the processor to perform the steps described above.
[0046] According to another aspect of the present invention, a storage medium is also provided, on which a computer program is stored, the computer program being executed by a processor to perform the steps described above.
[0047] Compared with the prior art, the advantages of this invention are:
[0048] By updating the particles within a region of interest (ROI) on a pre-defined map and considering the location of the ROI within that ROI, and based on the distance between the laser point cloud features in the ROI and the corresponding map features in the pre-defined map, as well as the frequency of occurrence of the markers indicated by the laser point cloud features in the ROI on the pre-defined map, the particles in the ROI are resampled twice. The laser point cloud features in the ROI are then associated with the corresponding map features in the pre-defined map based on the results of the two resampling steps. This combination of particle filtering and high-precision mapping, using probability calculations during resampling to achieve feature association, effectively avoids observation difficulties caused by noise and occlusion, thus preventing poor localization results due to feature interference. This approach is particularly suitable for port scenarios with repetitive, structured features. Attached Figure Description
[0049] The above and other features and advantages of the present invention will become more apparent from a detailed description of exemplary embodiments thereof with reference to the accompanying drawings.
[0050] Figure 1 A flowchart of a probabilistic matching method for repetitive structured features in a port scene according to an embodiment of the present invention is shown;
[0051] Figure 2 The diagram illustrates the region of interest and a flowchart of particle updating according to an embodiment of the present invention;
[0052] Figure 3 A schematic diagram of randomly dispersing particles according to an embodiment of the present invention is shown;
[0053] Figure 4 A flowchart of the first resampling according to an embodiment of the present invention is shown;
[0054] Figure 5 A flowchart of the second resampling according to an embodiment of the present invention is shown;
[0055] Figure 6 A flowchart illustrating feature association according to an embodiment of the present invention is shown;
[0056] Figure 7 A block diagram of a probability matching device for repetitive structured features of a port scene according to an embodiment of the present invention is shown.
[0057] Figure 8 This illustration schematically depicts a computer-readable storage medium according to an exemplary embodiment of the present disclosure.
[0058] Figure 9 The schematic diagram illustrates an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0059] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0060] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0061] To address the shortcomings of existing technologies, this invention provides a probabilistic matching method for repetitive structured features in port scenarios. See below. Figure 1 , Figure 1 A flowchart of a probability matching method for repetitive structured features in a port scene according to an embodiment of the present invention is shown. Figure 1 The steps are as follows:
[0062] Step S110: In response to the completion of the preset map initialization, update the position of the region of interest in the preset map and the particles in the region of interest according to the vehicle driving parameters;
[0063] Step S120: Based on the distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, perform the first resampling on the particles in the region of interest to obtain the first resampled particles;
[0064] Step S130: Based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map, perform a second resampling on the first resampled particles to obtain the second resampled particles;
[0065] Step S140: Based on the second resampling particles, associate the laser point cloud features in the region of interest with the corresponding map features in the preset map.
[0066] In the probabilistic matching method for repetitive structured features in port scenes provided by this invention, the particles in the region of interest (ROI) are resampled twice based on the location of the ROI in a preset map and the particle updates within that ROI. This is done by considering the distance between the laser point cloud features in the ROI and the corresponding map features in the preset map, and the frequency of occurrence of the markers indicated by the laser point cloud features in the ROI on the preset map. The laser point cloud features in the ROI are then associated with the corresponding map features in the preset map based on the results of the two resampling operations. This method combines particle filtering with a high-precision map, using probability calculations during resampling to complete feature association. This effectively avoids observation difficulties caused by noise and occlusion, thus preventing poor positioning results due to feature interference. It is particularly suitable for port scenes with repetitive structured features.
[0067] Specifically, the region of interest is the area within a set distance range of the lidar sensor. The set distance range can be set as needed, for example, it can be set to any value between 10 and 30 meters, and this application is not limited thereto.
[0068] Specifically, if the map has not yet been initialized, or if the number of continuously invalid observation frames from the LiDAR sensor's point cloud data exceeds a set threshold, the map can be initialized. The threshold can be set as needed; for example, it can be any value between 100 and 300. Invalid observation frames indicate that there are no observable features within a set distance range of the LiDAR sensor.
[0069] Specifically, the region of interest (ROI) during initialization can be determined based on the vehicle's pre-positioning information. This pre-positioning information can be obtained through the vehicle's positioning module. The positioning module can be, for example, a Global Positioning System (GPS) module or a BeiDou positioning module, etc., and this application is not limited thereto. Furthermore, during initialization, the position of the initial ROI within the pre-set map can be determined based on the pre-positioning information, a pre-set map, and a LiDAR sensor. The coordinate system can be transformed using the following formula:
[0070]
[0071] Among them, P map The coordinates of the region of interest in the map coordinate system. This is the transformation matrix between the GPS (Global Positioning System) coordinate system and the map coordinate system. P is the transformation matrix between the lidar coordinate system and the GPS coordinate system. lidar These are the coordinates of the region of interest in the LiDAR coordinate system. Therefore, after determining the initial location of the region of interest on the preset map, feature data of the region of interest can be obtained from the preset map.
[0072] Specifically, the initialization is used to randomly seed particles in the region of interest, such as... Figure 3 As shown, particles 202 can be randomly seeded in the region of interest 201 to complete the initialization operation.
[0073] Specifically, step S110 above can be performed as follows: Figure 2 The steps shown are to achieve this. Figure 2 The following flowchart illustrates the region of interest and particle update according to an embodiment of the present invention:
[0074] Step S111: Update the position of the region of interest in the preset map according to the vehicle driving parameters.
[0075] Specifically, vehicle driving parameters can be obtained based on the vehicle odometer. These parameters may include, but are not limited to, vehicle speed and angular velocity. Further, step S111 determines the displacement of the region of interest (ROI) from the previous frame based on the vehicle driving parameters, thereby updating the position of the ROI in the preset map according to the vehicle driving parameters.
[0076] Step S112: Randomly seed particles whose positions are outside the region of interest into the updated region of interest.
[0077] Specifically, because the region of interest (ROI) moves with the vehicle, particles from the ROI in the previous frame may be located outside the ROI in the current frame. These particles located outside the ROI can then be randomly re-spread into the updated ROI. Specifically, each time the lidar sensor collects data, it obtains one frame of lidar point cloud data to be processed. The previous and current frames are determined based on the frame of the lidar point cloud data.
[0078] Specifically, after step S110 and before step S120, features in the scene can be extracted based on the current laser point cloud data. For example, methods such as PCA (Principal Component Analysis) or RANSAC (Random Sample Consensus) can be used to extract features such as light poles, lane lines, walls, and signs. The extracted features are used for two subsequent resampling operations.
[0079] Specifically, since particle filtering does not provide height information, step S120 can be achieved by performing a first resampling on the particles in the region of interest based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, thereby obtaining the first resampled particles.
[0080] For some specific implementations, please refer to Figure 4 , Figure 4 A flowchart of the first resampling according to an embodiment of the present invention is shown:
[0081] Step S121: Calculate the first weight of the particles in the region of interest based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map.
[0082] Specifically, the first weight w i1 Calculate using the following formula:
[0083]
[0084] Where x is the distance along the X-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map, y is the distance along the Y-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map, and a1 and a2 are constants greater than 0. In some embodiments, a1 can be any value from 3 to 5, and a2 can be any value from 0.2 to 0.3. By setting a1 and a2, the weight range is limited, thereby enabling the rapid discovery and iteration of well-matching features, while limiting the decay of particle weights and avoiding feature loss after brief occlusion.
[0085] Specifically, in this embodiment, the laser point cloud features and map features in a preset map can be pre-corresponded based on information such as distance to facilitate distance calculation. Furthermore, since particles in the region of interest are located in the map coordinate system, the corresponding map feature points can be determined, and the first weight of the particle is calculated based on the projected distance between the map feature and its corresponding laser point cloud feature points.
[0086] Step S122: Update the first probability of the particles in the region of interest according to the first weight, so as to resample the particles in the region of interest.
[0087] Specifically, the first probability is updated according to the following formula:
[0088]
[0089] in, Let w be the first probability updated for each particle in the region of interest, N1 be the number of particles in the region of interest, and w be the number of particles in the region of interest. i As the first weight, p i This represents the initial probability of each particle in the region of interest before updating. In some embodiments, p i The initial value can be 1 / N. Therefore, the initial probability can be updated based on the first weight of each particle.
[0090] In some specific implementations, during the first resampling iteration, the first weight at time k... It can be updated using the following formula:
[0091]
[0092] in, Z is the first weight at time k-1. k-1 X represents the state values from time 1 to time K-1. k-1 x represents the observations from time 1 to K-1. k Z represents the observation value at time k. k Z represents the observation value at time k. k-1 This represents the observation value at time k-1. The first weight indicates whether the particle itself is easily discarded. That is, the particle has not only a distribution but also a probability.
[0093] For some specific implementations, please refer to Figure 5 , Figure 5 A flowchart of the second resampling according to an embodiment of the present invention is shown:
[0094] Step S131: Calculate the second weight of the first resampled particle based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map.
[0095] Specifically, the frequency of the signs indicated by the laser point cloud features in the region of interest appearing in the preset map can be used as a second weight. For example, the frequency of the sign poles indicated by the laser point cloud features appearing in the preset map (the number of poles in the preset map / the total number of signs in the preset map) can be used as the second weight of the laser point cloud features.
[0096] Step S132: Update the second probability of the particles in the region of interest according to the second weight, so as to resample the first resampled particles.
[0097] The second probability is updated according to the following formula:
[0098]
[0099] in, N represents the first probability after the first resampled particle is updated. w r is the number of particles in the first resampled particle. i As the second weight, The first probability is the first probability before the first resampled particle is updated. In this embodiment, since the second weight is the frequency of the markers indicated by the laser point cloud features in the region of interest appearing in the preset map, it is a fixed weight parameter and therefore does not need to be updated. Furthermore, in some embodiments, The initial value can be 1 / N w Therefore, the initial second probability can be updated based on the second weight of each particle.
[0100] Specifically, the two resampling operations described above avoid the loss of particle diversity caused by sequence importance sampling. Therefore, a random resampling strategy can be used. Resampling is the process of randomly selecting new particles from the old particles and replacing them according to their weights. After resampling, particles with higher weights have a higher probability of being retained, while particles with lower weights have a higher probability of being eliminated. In some embodiments, resampling can be performed using methods such as roulette wheel sampling or low-variance sampling, but this application is not limited to these methods.
[0101] See below. Figure 6 , Figure 6 A flowchart illustrating feature association according to an embodiment of the present invention is shown:
[0102] Step S141: Determine effective map features from the map features in the region of interest.
[0103] Specifically, a nearest neighbor search algorithm can be used to sort the map features in the region of interest from largest to smallest based on the number of second-resampled particles in the nearest neighbors; the top M% of map features in the sorted order are taken as effective map features, where M is a constant greater than 1 and less than 100. Preferably, M can be 50, but this application is not limited to this.
[0104] Step S142: Based on the comparison between the number of second resampled particles within a set distance range of the effective map feature and a set number threshold, determine whether to associate the effective map feature with the corresponding laser point cloud feature.
[0105] Specifically, the distance range can be set as needed. The threshold number can be, for example, a multiple of the average number of second-resampled particles per unit area within the set distance range in the region of interest across multiple consecutive frames. The multiple can be, for example, 6-10 times, preferably 8 times. Furthermore, the multiple can be set according to the set distance range. This application can implement many more variations, and is not limited thereto.
[0106] Specifically, after step S140, the following step may be included: determining the vehicle's location information in the preset map based on the association between the laser point cloud features in the region of interest and the corresponding map features in the preset map. Preferably, the vehicle's location information in the preset map can be determined through nonlinear optimization.
[0107] Therefore, this application adopts a combination of particle filtering and high-precision maps to provide a data association scheme for probabilistic maps; through the attenuation property of probabilistic maps, the results of previous multiple frames can be effectively combined to deduce the occluded features; and through a general feature extraction scheme, the observation difficulties caused by noise and occlusion can be better avoided.
[0108] The above are merely several specific implementations of the probability matching method for repetitive structured features in port scenarios according to the present invention. Each implementation can be implemented independently or in combination, and the present invention is not intended to limit it. Furthermore, the flowchart of the present invention is merely illustrative, and the execution order between the steps is not limited thereto. The splitting, merging, sequential exchange, and other synchronous or asynchronous execution methods of the steps are all within the protection scope of the present invention.
[0109] The present invention also provides a probability matching device for repetitive structured features in port scenes. Figure 7 A block diagram of a probabilistic matching apparatus for repetitive structured features of a port scene according to an embodiment of the present invention is shown. The probabilistic matching apparatus 300 for repetitive structured features of a port scene includes a region of interest update module 310, a first resampling module 320, a second resampling module 330, and an association module 340.
[0110] The region of interest update module 310 is used to update the position of the region of interest in the preset map and the particles in the region of interest according to the vehicle driving parameters in response to the completion of the preset map initialization.
[0111] The first resampling module 320 is used to perform a first resampling on the particles in the region of interest based on the distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, so as to obtain the first resampled particles;
[0112] The second resampling module 330 is used to perform a second resampling on the first resampling particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in a preset map, so as to obtain the second resampling particles.
[0113] The association module 340 is used to associate the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles.
[0114] In the probabilistic matching device for repetitive structured features in port scenes provided by this invention, the particles in the region of interest (ROI) are resampled twice based on the location of the ROI in a preset map and the particle updates within that ROI. This is done based on the distance between the laser point cloud features in the ROI and the corresponding map features in the preset map, and the frequency of occurrence of the markers indicated by the laser point cloud features in the ROI on the preset map. The laser point cloud features in the ROI are then associated with the corresponding map features in the preset map based on the results of the two resampling operations. This combines particle filtering with a high-precision map, using probability calculations during resampling to complete feature association. This effectively avoids observation difficulties caused by noise and occlusion, thus preventing poor positioning results due to feature interference. This method is particularly suitable for port scenes with repetitive structured features.
[0115] Figure 7 This is merely an illustrative representation of the probability matching device 300 for repetitive structured features of a port scene provided by the present invention. Without departing from the inventive concept, the splitting, merging, and addition of modules are all within the scope of protection of this invention. The probability matching device 300 for repetitive structured features of a port scene provided by the present invention can be implemented by software, hardware, firmware, plugins, and any combination thereof; the present invention is not limited thereto.
[0116] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, having stored thereon a computer program that, when executed by, for example, a processor, can implement the steps of the probabilistic matching method for repetitive structured features of a port scene as described in any of the above embodiments. In some possible implementations, various aspects of the invention can also be implemented as a program product comprising program code that, when run on a terminal device, causes the terminal device to perform the steps described in the probabilistic matching method for repetitive structured features of a port scene as described in the various exemplary embodiments of the invention.
[0117] refer to Figure 8 As shown, a program product 800 for implementing the above-described method according to an embodiment of the present invention is described. This product may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0118] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0119] The computer-readable storage medium may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0120] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the tenant's computing device, partially on the tenant's device, as a standalone software package, partially on the tenant's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the tenant's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0121] In an exemplary embodiment of this disclosure, an electronic device is also provided, which may include a processor and a memory for storing executable instructions of the processor. The processor is configured to perform the steps of the probabilistic matching method for repetitive structured features of a port scene as described in any of the above embodiments by executing the executable instructions.
[0122] Those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuits,” “modules,” or “systems.”
[0123] The following reference Figure 9 To describe an electronic device 600 according to this embodiment of the present invention. Figure 9 The electronic device 600 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0124] like Figure 9 As shown, the electronic device 600 is presented in the form of a general-purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including storage unit 620 and processing unit 610), a display unit 640, etc.
[0125] The storage unit stores program code that can be executed by the processing unit 610, causing the processing unit 610 to perform the steps described in the section on the probability matching method for repetitive structured features in port scenarios described above, according to various exemplary embodiments of the present invention. For example, the processing unit 610 can perform actions such as... Figure 1 The steps are shown in the figure.
[0126] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache storage unit 6202, and may further include a read-only memory unit (ROM) 6203.
[0127] The storage unit 620 may also include a program / utility 6204 having a set (at least one) program module 6205, such program module 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0128] Bus 630 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.
[0129] Electronic device 600 can also communicate with one or more external devices 700 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable tenants to interact with electronic device 600, and / or with any device that enables electronic device 600 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 650. Furthermore, electronic device 600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 660. Network adapter 660 can communicate with other modules of electronic device 600 via bus 630. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0130] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, or network device, etc.) to execute the probabilistic matching method for the repetitive structured features of the port scenario described above according to the embodiments of this disclosure.
[0131] Compared with the prior art, the advantages of this invention are:
[0132] By updating the particles within a region of interest (ROI) on a pre-defined map and considering the location of the ROI within that ROI, and based on the distance between the laser point cloud features in the ROI and the corresponding map features in the pre-defined map, as well as the frequency of occurrence of the markers indicated by the laser point cloud features in the ROI on the pre-defined map, the particles in the ROI are resampled twice. The laser point cloud features in the ROI are then associated with the corresponding map features in the pre-defined map based on the results of the two resampling steps. This combination of particle filtering and high-precision mapping, using probability calculations during resampling to achieve feature association, effectively avoids observation difficulties caused by noise and occlusion, thus preventing poor localization results due to feature interference. This approach is particularly suitable for port scenarios with repetitive, structured features.
[0133] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.
Claims
1. A method of probabilistic matching of recurring structural features of a port scene, characterized in that, include: In response to the completion of the preset map initialization, the position of the region of interest in the preset map and the particles in the region of interest are updated according to the vehicle driving parameters. Based on the distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map, a first resampling is performed on the particles in the region of interest to obtain first resampled particles. This includes: calculating a first weight of the particles in the region of interest based on the projection distance between the laser point cloud features in the region of interest and the corresponding map features in the preset map; updating a first probability of the particles in the region of interest based on the first weight, so as to resample the particles in the region of interest. The first probability is updated according to the following formula: wherein, is the updated first probability of each particle in the region of interest, is the number of particles in the region of interest, is the first weight, is the first probability of each particle in the region of interest before updating. Based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in a preset map, a second resampling is performed on the first resampled particles to obtain second resampled particles. This includes: calculating a second weight of the first resampled particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map; updating the second probability of the particles in the region of interest based on the second weight to resample the first resampled particles, wherein the second probability is updated according to the following formula: in, This represents the first probability updated after the first resampled particle. The number of particles in the first resampled particle. As the second weight, The first probability before the first resampled particle is updated; Based on the second resampling particle, the laser point cloud features in the region of interest are associated with the corresponding map features in the preset map.
2. The probabilistic matching method for repetitive structured features in a port scene as described in claim 1, characterized in that, The region of interest is the area within a set distance range of the lidar sensor, and the initialization is used to randomly seed particles in the region of interest.
3. The probabilistic matching method for repetitive structured features in a port scene as described in claim 2, characterized in that, The region of interest during initialization is determined based on the vehicle's pre-positioning information.
4. The probabilistic matching method for repetitive structured features in a port scene as described in claim 1, characterized in that, The step of updating the position of the region of interest in the preset map and the particles in the region of interest based on vehicle driving parameters includes: Update the position of the region of interest in the preset map based on the vehicle driving parameters; Particles whose positions are outside the region of interest are randomly scattered into the updated region of interest.
5. The probabilistic matching method for repetitive structured features in a port scene as described in claim 1, characterized in that, The first weight Calculate using the following formula: Where x is the distance along the X-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map, and y is the distance along the Y-axis in the map coordinate system between the laser point cloud feature in the region of interest and the corresponding map feature in the preset map. , It is a constant greater than 0.
6. The probabilistic matching method for repetitive structured features in a port scene as described in claim 1, characterized in that, The step of associating the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles includes: Determine effective map features from the map features in the region of interest; Based on the comparison between the number of second resampled particles within a set distance range of the effective map features and a set number threshold, it is determined whether to associate the effective map features with the corresponding laser point cloud features.
7. The probabilistic matching method for repetitive structured features in a port scene as described in claim 6, characterized in that, The determination of effective map features from the map features of the region of interest includes: The nearest neighbor search algorithm is used to sort the map features in the region of interest from largest to smallest based on the number of second resampled particles in the nearest neighbors; The top M% of map features in the sorting order are taken as effective map features, where M is a constant greater than 1 and less than 100.
8. The probabilistic matching method for repetitive structured features in a port scene as described in claim 1, characterized in that, The step of associating the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampled particles includes: The vehicle's location information in the preset map is determined based on the association between the laser point cloud features in the region of interest and the corresponding map features in the preset map.
9. A probability matching device for repetitive structured features in a port scene, characterized in that, include: The Region of Interest (ROI) update module is used to update the position of the ROI in the preset map and the particles in the ROI according to the vehicle driving parameters in response to the completion of the preset map initialization. The first resampling module is used to perform a first resampling on particles in the region of interest (ROI) based on the distance between the laser point cloud features in the ROI and the corresponding map features in the preset map, to obtain first resampled particles. This includes: calculating a first weight for the particles in the ROI based on the projection distance between the laser point cloud features in the ROI and the corresponding map features in the preset map; and updating a first probability for the particles in the ROI based on the first weight, so as to resample the particles in the ROI. The first probability is updated according to the following formula: in, The first probability after updating for each particle in the region of interest. The number of particles in the region of interest. As the first weight, The first probability of each particle in the region of interest before updating; The second resampling module is used to perform a second resampling on the first resampled particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map, to obtain second resampled particles. This includes: calculating a second weight for the first resampled particles based on the frequency of occurrence of the markers indicated by the laser point cloud features in the region of interest in the preset map; and updating a second probability of the particles in the region of interest based on the second weight to resample the first resampled particles. The second probability is updated according to the following formula: in, This represents the first probability updated after the first resampled particle. The number of particles in the first resampled particle. As the second weight, The first probability before the first resampled particle is updated; The association module is used to associate the laser point cloud features in the region of interest with the corresponding map features in the preset map based on the second resampling particles.
10. An electronic device, characterized in that, The electronic device includes: processor; A storage medium having a computer program stored thereon, the computer program being executed by the processor to perform a probabilistic matching method for repetitive structured features of a port scene as described in any one of claims 1 to 8.
11. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, performs a probabilistic matching method for repetitive structured features of a port scene as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Laser point cloud positioning method and system
CN109781119A
Visual lane line auxiliary positioning method for port scene
CN114199244A
