Base map processing method and device
By dividing the base map into multiple blocks and optimizing the pose, the problem of base map ghosting in weak GPS scenarios is solved, the accuracy and completeness of high-precision map production are improved, and the reliability of map data in autonomous driving is ensured. sex.
Patent Information
- Application Number
- CN202111267213.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-10-28
AI Technical Summary
In weak GPS scenarios, dynamic obstacles and repeated scenes in the shooting location lead to the loss of features in the collected data, which in turn leads to failure in pose optimization, resulting in ghosting of the base map, which affects the production of high-precision maps.
By dividing the first base map and the second base map into multiple blocks, establishing the correlation between the blocks, filtering the target base map blocks, optimizing their poses, and merging the optimized blocks to generate the target Base map, reducing deformation and improving accuracy.
It effectively avoids the problem of base map ghosting, improves the accuracy and completeness of high-precision map production, and ensures the reliability of high-precision maps in autonomous driving.
Smart Images

Figure CN114119429B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of unmanned driving technology, and more particularly to a base map processing method and device. Background Art
[0002] At present, high-precision maps, as prior knowledge for unmanned driving, play a vital role in the field of autonomous driving. The current production process of high-precision maps includes data collection, posture optimization, base map generation, element extraction, and manual production.
[0003] The base map is the key to ensure the production of high-precision maps. In actual production, in weak GPS (Global Positioning System) scenarios, due to interference from dynamic obstacles at the shooting site and repeated scenes, the problem of feature loss in the collected data is easy to occur. The loss of features in the collected data will lead to failure of pose optimization, and ultimately lead to base map ghosting during multiple collections, affecting the subsequent production of high-precision maps. Summary of the invention
[0004] The embodiments of the present disclosure provide a background image processing solution to solve the background image ghosting problem existing in the existing background image processing solutions.
[0005] According to a first aspect of an embodiment of the present disclosure, a base map processing method is provided, comprising: dividing a first base map and a second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks; establishing associations between the first base map blocks and the second base map blocks respectively to form base map block pairs, wherein each base map block pair includes one first base map block and one second base map block; selecting a target base map block pair from the base map block pairs; performing posture optimization on each of the target base map block pairs; performing posture optimization on the base map block pairs other than the target base map blocks in each of the base map blocks with reference to the optimized target base map block pairs to obtain a first optimized base map and a second optimized base map; and fusing the first optimized base map and the second optimized base map to generate a target base map.
[0006] Optionally, the step of selecting a target base map block pair from the base map block pairs comprises: for each base map block pair, determining a parameter value corresponding to the second base map block in the base map block pair, wherein the parameter value comprises: at least one of the number of included road signs and network signal strength;
[0007] According to the parameter value corresponding to the second base map block, it is determined whether the base map block pair is a target base map block pair.
[0008] Optionally, the step of judging whether the base map block pair is a target base map block pair based on the parameter value corresponding to the second base map block includes: when the parameter value corresponding to the second base map block includes the number of included road signs and the GPS signal strength, judging whether the number of included road signs is greater than a preset number; when the number of included road signs is greater than the preset number, judging whether the GPS signal strength is greater than a preset strength; when the GPS signal strength is greater than the preset strength, determining that the base map block pair including the second base map block is a target base map block pair.
[0009] Optionally, the step of performing pose graph optimization on each of the target base map blocks comprises: determining the overall loss of the base map according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map, wherein each of the target base map blocks comprises a first target base map block and a second target base map block; performing pose optimization on each of the first target base map blocks and the second target base map block to minimize the overall loss of the base map, and thus completing a pose optimization of each of the target base map blocks;
[0010] Repeat the pose optimization of the target base map blocks based on the results of the previous pose graph optimization until the pose optimization results meet the preset conditions.
[0011] Optionally, after the step of performing posture optimization on the base map block pairs other than the target base map blocks in each of the base map blocks after reference optimization, the method further comprises: for each base map block pair after the posture optimization, transforming the positions of the pixel points in the base map block pair.
[0012] Optionally, the step of transforming the positions of pixels in the base map block pair includes: marking corresponding feature points from the first base map block and the second base map block included in the base map block pair respectively; determining a transformation matrix based on the relative positions of the feature points in the first base map block and the second base map block; and transforming the positions of each pixel in the first base map block based on the transformation matrix.
[0013] According to a second aspect of an embodiment of the present disclosure, a base map processing device is provided, the device comprising: a segmentation module, used to segment a first base map and a second base map, respectively, to obtain the same number of first base map blocks and second base map blocks; an establishment module, used to establish the association relationship between the first base map blocks and the second base map blocks, respectively, to form base map block pairs, wherein each base map block pair comprises a first base map block and a second base map block; a screening module, used to screen a target base map block pair from the base map block pairs; a first optimization module, used to perform posture optimization on each of the target base map block pairs; a second optimization module, used to perform posture optimization on the base map block pairs in each of the base map blocks except the target base map blocks with reference to the optimized target base map block pairs, to obtain a first optimized base map and a second optimized base map; a fusion module, used to fuse the first optimized base map and the second optimized base map to generate a target base map.
[0014] Optionally, the screening module includes: a first submodule, used to determine, for each base map block pair, a parameter value corresponding to the second base map block in the base map block pair, wherein the parameter value includes: at least one of the number of included landmarks and network signal strength; and a second submodule, used to determine whether the base map block pair is a target base map block pair based on the parameter value corresponding to the second base map block.
[0015] Optionally, the second submodule includes: a first unit, used to determine whether the number of included landmarks is greater than a preset number when the parameter value corresponding to the second base map block includes the number of included landmarks and the GPS signal strength; a second unit, used to determine whether the GPS signal strength is greater than a preset strength when the number of included landmarks is greater than the preset number; and a third unit, used to determine that the base map block pair including the second base map block is a target base map block pair when the GPS signal strength is greater than the preset strength.
[0016] Optionally, the first optimization module includes: a loss determination submodule, used to determine the overall loss of the base map according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map, wherein each of the target base map blocks includes a first target base map block and a second target base map block; a first optimization submodule, used to perform posture optimization on each of the first target base map blocks and the second target base map blocks to minimize the overall loss of the base map, thereby completing a posture optimization of each of the target base map blocks; an iterative optimization submodule, used to repeatedly perform posture optimization on the target base map blocks based on the result of the previous posture optimization until the posture optimization result meets the preset conditions.
[0017] Optionally, the second optimization module includes: a second optimization submodule, used to optimize the pose graph of the base map block pairs other than the target base map blocks in each base map block with reference to the optimized target base map block pairs; a transformation submodule, used to transform the positions of pixel points in the base map block pairs for each base map block pair after the pose optimization, so as to obtain a first optimized base map and a second optimized base map.
[0018] Optionally, when the transformation submodule transforms the positions of pixels in each base map block pair after posture optimization, it is specifically used to: mark corresponding feature points from the first base map block and the second base map block included in the base map block pair respectively; determine the transformation matrix based on the relative positions of the feature points in the first base map block and the second base map block; and transform the positions of each pixel in the first base map block based on the transformation matrix.
[0019] The embodiments of the present disclosure provide a base map processing solution. On the one hand, by dividing the first base map and the second base map into multiple blocks, the deformation of the base map blocks can be reduced. On the second hand, an association relationship is established between the base map blocks to form base map block pairs, and the posture of each base map block pair is optimized to obtain a first optimized base map and a second optimized base map, which can better align the first optimized base map with the second optimized base map. Further, the accuracy of generating a target base map by merging the first optimized base map and the second optimized base map can be improved, effectively avoiding the problem of base map ghosting. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the description of the embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 A schematic diagram of the base map processing logic of an embodiment of the present disclosure;
[0022] Figure 2 is a flowchart of steps of a base map processing method according to an embodiment of the present disclosure;
[0023] Figure 3 It is a schematic diagram of target base map block pose optimization according to an embodiment of the present disclosure;
[0024] Figure 4 This is another schematic diagram of optimizing the pose of all base maps by blocks according to an embodiment of the present disclosure;
[0025] Figure 5 is a structural block diagram of a base map processing device according to an embodiment of the present disclosure;
[0026] Figure 6 It is a structural block diagram of another base map processing device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present disclosure.
[0028] The main idea of the base map processing method of the present disclosure embodiment is as follows Figure 1 As shown in the figure, the current data, i.e. the subsequent second base map, and the historical data, i.e. the subsequent first base map, are cut, and multiple base map blocks are obtained after cutting; the cut base map blocks are data associated, and the anchor, i.e. the anchor base map block, is screened and determined from the associated data, and the anchor base map block is posture optimized, and the full-range posture optimization is performed on all the base map blocks obtained by segmentation based on the optimization results. After the full-range posture optimization is performed on all the base map blocks obtained by segmentation, the base map after posture optimization is sequentially subjected to local flexible transformation, updated content determination, and base map merging to complete the base map fusion.
[0029] Please refer to the attached Figures 2 to 4 The base map processing method of the embodiment of the present disclosure is described.
[0030] Reference Figure 2 , showing a step flow chart of a base map processing method according to an embodiment of the present disclosure.
[0031] The base map processing method of the embodiment of the present disclosure may include the following steps:
[0032] Step 101: Divide the first base map and the second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks.
[0033] The two main parts of data for high-precision map production include: base map and automatically extracted elements. A single base map will cover a range of several hundred meters, and deformation of the base map is inevitable within a large range. In the disclosed embodiment, in order to improve the integrity and continuity of high-precision element extraction, the base map is cut into multiple blocks. Since the range of each base map block becomes smaller after the block division, the deformation of the base map blocks can be reduced. When the base map is divided into blocks, the blocks can be cut according to their pixel coordinates. For example, if the size of each base map block is 20m×20m, the pixel coordinates of the lower left corner of all base map blocks are integer multiples of 20m. In the actual implementation process, the specific rules for base map segmentation can be set by those skilled in the art according to actual needs, and no specific restrictions are made in the disclosed embodiment.
[0034] Step 102: Establish associations between the first base map block and the second base map block to form a base map block pair.
[0035] Since the base map blocks are small enough, the internal deformation can be considered small, and can be represented by an affine change during rough optimization. Since each icon block corresponds to its own pixel coordinate system, the first base map and the second base map can be directly associated with each other according to the pixel coordinate system of each icon block. Among them, each base map block pair contains a first base map block and a second base map block. The first base map block and the second base map block in the same base map block pair have the same position in their respective base maps.
[0036] Step 103: Filter the target base map block pairs from the base map block pairs.
[0037] When filtering the target basemap block pairs, the density of road signs contained in the basemap blocks, the GPS signal strength, etc. can be used as filtering parameters. The filtered target basemap block pairs will be used as anchor basemap block pairs. A pose graph will be constructed separately for the anchor basemap block pairs, and the anchor basemap blocks will be optimized.
[0038] Step 104: Optimize the position and posture of each target base map block pair.
[0039] The schematic diagram of the target base map block pose optimization is as follows Figure 3 As shown, the current data block 1, the current data block 4 and the current data block 6 are equivalent to the anchor base map blocks selected from the base map blocks segmented from the second base map; the historical data block 1, the historical data block 4 and the historical data block 6 are equivalent to the anchor base map blocks selected from the base map blocks segmented from the first base map. The current data block 1 and the historical data block 1 form a target base map block pair, the current data block 4 and the historical data block 4 form a target base map block pair, and the current data block 6 and the historical data block 6 form a target base map block pair.
[0040] like Figure 3 The pose graph constructed based on each target basemap block includes two types of edges: the edges inside each acquisition and the edges between multiple acquisitions. The edges inside this acquisition constrain the smoothness of a single acquisition, and the edges between multiple acquisitions constrain the consistency of two acquisitions. Because the association results and pose optimization results of the target basemap block pairs will affect each other, the pose optimization of each target basemap block pair can be performed by iterative optimization. The pose optimization diagram of all basemap blocks is shown in Figure 4 As shown in the figure, after optimizing the pose graph of the target basemap blocks, the target basemap blocks are used to constrain the anchor basemap blocks to improve the smoothness and consistency of the overall basemap. Each time the basemap blocks are used to construct the pose for optimization, the overall pose loss is minimized by adjusting the position of the basemap blocks. The arrows between adjacent basemap blocks represent the loss between the basemap blocks.
[0041] Step 105: referring to the optimized target base map block pairs, performing posture optimization on the base map block pairs in the base map blocks except the target base map blocks to obtain a first optimized base map and a second optimized base map.
[0042] After optimizing the posture of each first base map block in the first base map and the second base map block in the second base map, the position of each base map block in the corresponding base map can be adjusted to improve the consistency of the first optimized base map and the second optimized base map.
[0043] Step 106: Fuse the first optimized base map and the second optimized base map to generate a target base map.
[0044] The specific method used to fuse the two base maps can be referred to the existing related technology, and will not be described in detail in the embodiments of the present disclosure.
[0045] The disclosed embodiment provides a base map processing method. On the one hand, by dividing the first base map and the second base map into multiple blocks, the deformation of the base map blocks can be reduced. On the second hand, an association relationship is established between the base map blocks to form base map block pairs, and the posture of each base map block pair is optimized to obtain a first optimized base map and a second optimized base map, which can better align the first optimized base map with the second optimized base map. Further, the accuracy of generating a target base map by fusing the first optimized base map and the second optimized base map can be improved, and the problem of base map ghosting can be effectively avoided.
[0046] In an optional embodiment, the method of selecting the target base map block pair from the base map block pairs may be as follows:
[0047] First, for each base map block pair, determine the parameter value corresponding to the second base map block in the base map block pair;
[0048] The parameter value includes: at least one of the number of included road signs and network signal strength. The number of included road signs can represent the complexity of the road layout in the base map. The greater the number of road signs, the more complex the road layout, and the greater the reference value of the base map. The network signal strength can represent the density of buildings in the base map. The stronger the network signal strength, the denser the buildings, and the greater the reference value of the base map.
[0049] Secondly, based on the parameter value corresponding to the second base map block, it is determined whether the base map block pair is the target base map block pair.
[0050] The judgment rule for judging whether the base map block pair corresponding to the second base map block is the target base map block pair based on the parameter value corresponding to the second base map block can be set by those skilled in the art according to actual needs, and this optional embodiment does not impose specific restrictions on this. For example, when the parameter value is the number of road signs contained in the second base map block, the base map block pair corresponding to the second base map block can be determined to be the target base map block pair when the number of road signs contained is greater than or equal to a preset number. This optional method of screening the target base map block pair makes the screened target base map blocks more reliable.
[0051] In an optional embodiment, according to the parameter value corresponding to the second base map block, the method of judging whether the base map block pair is the target base map block pair may be as follows:
[0052] First, when the parameter value corresponding to the second base map block includes the number of included landmarks and the GPS signal strength, it is determined whether the number of included landmarks is greater than a preset number;
[0053] The preset number can be set by those skilled in the art according to actual needs, and this optional embodiment does not impose any specific limitation on this.
[0054] Secondly, when the number of included landmarks is greater than a preset number, determining whether the GPS signal strength is greater than a preset strength;
[0055] Finally, when the GPS signal strength is greater than the preset strength, the base map block pair including the second base map block is determined as the target base map block pair.
[0056] It should be noted that this optional embodiment only uses the judgment rule of first judging the number of included landmarks and then judging the GPS signal strength as an example. In the actual implementation process, the GPS signal strength can also be judged first and then the number of included landmarks can be judged.
[0057] This optional double determination method for screening target base map block pairs has a small amount of calculation and a reliable screening result. In an optional embodiment, the method for performing posture optimization on each target base map block pair can be as follows:
[0058] When performing pose optimization on the target base map block pairs, firstly, a pose graph is constructed based on each target base map block pair, and the overall loss of the base map is determined according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map. Perform pose optimization on each first target base map block and the second target base map block to minimize the overall loss of the base map, and thus a pose optimization of each target base map block is completed; repeat the pose optimization of the target base map block based on the result of the previous pose optimization until the pose optimization result meets the preset conditions. Among them, each target base map block includes a first target base map block and a second target base map block.
[0059] The preset conditions can be set as: the number of iterative pose optimization is greater than the preset number, the overall loss after pose optimization is less than the preset loss value, etc.
[0060] This method of iteratively optimizing the position and posture of each target base map block can accurately determine the positional relationship between each target base map block.
[0061] After the pose optimization of all base map block pairs based on the target base map block pairs, the positional relationship between each base map block has been determined, and the internal deformation in each base map block can be modified by flexible transformation. Since the base map block range is very small, the internal deformation is not significant. Therefore, the same-name points can be randomly selected from the first base map after pose optimization and the second base map after pose optimization, and the selected same-name points are fixed as support points. The MLS (Moving Least Squares) algorithm is used to perform flexible transformation on the first base map after pose optimization and the second base map. The basic idea of the MLS algorithm is to use the transformation of the support point as a basis to combine and obtain the transformation of the current point, where the basis closer to the current point has a higher weight, so as to avoid the global use of unified transformation parameters and obtain a more flexible transformation.
[0062] In an optional embodiment, after performing posture optimization on the base map block pairs other than the target base map blocks in each base map block with reference to the optimized target base map block pairs, the base map processing method in the embodiment of the present disclosure may further include the following steps:
[0063] For each base map block pair after pose optimization, the positions of the pixels in the base map block pair are transformed.
[0064] After the pose optimization of all base map block pairs based on the target base map block pairs, the positional relationship between each base map block has been determined, and the internal deformation in each base map block can be modified by flexible transformation. Since the base map block range is very small, the internal deformation is not significant. Therefore, the same-name points can be randomly selected from the first base map after pose optimization and the second base map after pose optimization, and the selected same-name points are fixed as support points. The MLS (Moving Least Squares) algorithm is used to perform flexible transformation on the first base map and the second base map after pose optimization. The basic idea of the MLS algorithm is to use the transformation of the support point as a basis to combine and obtain the transformation of the current point, where the basis closer to the current point has a higher weight, so as to avoid the global use of a unified transformation parameter and obtain a more flexible transformation. A feasible way to transform the pixel position in the base map block pair is as follows:
[0065] Corresponding feature points are marked respectively from the first base map block and the second base map block included in the base map block pair; a transformation matrix is determined according to the relative positions of the feature points in the first base map block and the second base map block; and the position of each pixel point in the first base map block is transformed according to the transformation matrix.
[0066] In this optional flexible transformation of the base map, the transformed first base map has a high degree of alignment with the second base map.
[0067] Reference Figure 5 , showing a structural block diagram of a base map processing device according to an embodiment of the present disclosure.
[0068] The base map processing device 500 of the embodiment of the present disclosure may include the following modules:
[0069] The block division module 501 is used to divide the first base map and the second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks;
[0070] An establishing module 502 is used to establish an association relationship between the first base map block and the second base map block to form a base map block pair, wherein each base map block pair includes one first base map block and one second base map block;
[0071] A screening module 503 is used to screen a target base map block pair from the base map block pairs;
[0072] A first optimization module 504 is used to optimize the pose graph of each target base map block pair;
[0073] The second optimization module 505 is used to optimize the pose graph of the base map block pairs except the target base map blocks in the base map blocks with reference to the optimized target base map block pairs, so as to obtain a first optimized base map and a second optimized base map;
[0074] The fusion module 506 is used to fuse the first optimized base map and the second optimized base map to generate a target base map.
[0075] The base map processing device of the disclosed embodiment, on the one hand, can reduce the deformation of the base map blocks by dividing the first base map and the second base map into multiple blocks; on the other hand, establishes an association relationship between the base map blocks to form base map block pairs, and optimizes the posture of each base map block pair to obtain a first optimized base map and a second optimized base map, which can better align the first optimized base map with the second optimized base map, and further improve the accuracy of generating the target base map by the fusion of the first optimized base map and the second optimized base map, effectively avoiding the problem of base map ghosting.
[0076] Reference Figure 6 , showing a structural block diagram of another base map processing device according to an embodiment of the present disclosure.
[0077] The base map processing device of the disclosed embodiment is Figure 5 The optimized base map processing device 600 may include the following modules:
[0078] The block division module 601 is used to divide the first base map and the second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks;
[0079] Establishing module 602, used to establish association relationships between the first base map block and the second base map block respectively, to form base map block pairs, wherein each base map block pair includes one first base map block and one second base map block;
[0080] A screening module 603 is used to screen a target base map block pair from the base map block pairs;
[0081] A first optimization module 604 is used to optimize the position and posture of each target base map block pair;
[0082] The second optimization module 605 is used to optimize the posture of the base map block pairs except the target base map blocks in the base map blocks with reference to the optimized target base map block pairs, so as to obtain the first optimized base map and the second optimized base map;
[0083] The fusion module 606 is used to fuse the first optimized base map and the second optimized base map to generate a target base map.
[0084] Optionally, the screening module 603 includes the following submodules:
[0085] The first submodule 6031 is used to determine, for each base map block pair, a parameter value corresponding to the second base map block in the base map block pair, wherein the parameter value includes: at least one of the number of included road signs and network signal strength;
[0086] The second submodule 6032 is used to determine whether the base map block pair is a target base map block pair according to the parameter value corresponding to the second base map block.
[0087] Optionally, the second submodule 6032 includes the following units:
[0088] A first unit is used to determine whether the number of included road signs is greater than a preset number when the parameter value corresponding to the second base map block includes the number of included road signs and GPS signal strength;
[0089] The second unit is used to determine whether the GPS signal strength is greater than a preset strength when the number of included landmarks is greater than the preset number;
[0090] The third unit is used to determine that the base map block pair including the second base map block is a target base map block pair when the GPS signal strength is greater than a preset strength.
[0091] Optionally, the first optimization module 604 includes the following submodules:
[0092] The loss determination submodule 6041 is used to determine the overall loss of the base map according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map, wherein each of the target base map blocks includes a first target base map block and a second target base map block;
[0093] The first optimization submodule 6042 is used to optimize the posture of each of the first target base map blocks and the second target base map blocks to minimize the overall loss of the base map. At this point, one posture optimization of each of the target base map blocks is completed;
[0094] The iterative optimization submodule 6043 is used to repeatedly perform pose optimization on the target base map blocks based on the results of the previous pose graph optimization until the pose optimization results meet the preset conditions.
[0095] Optionally, the second optimization module 605 includes the following submodules:
[0096] The second optimization submodule 6051 is used to optimize the posture of the base map block pairs except the target base map blocks in the base map blocks with reference to the optimized target base map block pairs;
[0097] The transformation submodule 6052 is used to transform the positions of the pixels in each base map block pair after the pose graph is optimized, so as to obtain a first optimized base map and a second optimized base map.
[0098] Optionally, when the transformation submodule transforms the positions of pixels in each base map block pair after the pose graph is optimized, it is specifically used to: mark corresponding feature points from the first base map block and the second base map block included in the base map block pair respectively; determine the transformation matrix based on the relative positions of the feature points in the first base map block and the second base map block; and transform the positions of each pixel in the first base map block based on the transformation matrix.
[0099] An embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the base map processing method of the aforementioned embodiment when executing the program.
[0100] An embodiment of the present disclosure further provides a readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the base map processing method of the aforementioned embodiment.
[0101] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0102] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the teachings based thereon. According to the above description, it is apparent that the structure required for constructing such systems is. In addition, the embodiments of the present disclosure are not directed to any particular programming language either. It should be understood that the contents of the embodiments of the present disclosure described herein may be realized using various programming languages, and the description of the specific languages above is intended to disclose the best mode of implementation of the embodiments of the present disclosure.
[0103] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present disclosure can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0104] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the embodiments of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed embodiments of the present disclosure require more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the embodiments of the present disclosure.
[0105] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0106] The various component embodiments of the embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the dynamic picture generation device according to the embodiments of the present disclosure. The embodiments of the present disclosure may also be implemented as a device or apparatus program for executing part or all of the methods described herein. Such a program implementing an embodiment of the present disclosure may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0107] It should be noted that the above embodiments illustrate rather than limit the embodiments of the present disclosure, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The embodiments of the present disclosure may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0109] The above description is only a preferred embodiment of the embodiments of the present disclosure and is not intended to limit the embodiments of the present disclosure. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present disclosure should be included in the protection scope of the embodiments of the present disclosure.
[0110] The above is only a specific implementation of the embodiment of the present disclosure, but the protection scope of the embodiment of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed by the embodiment of the present disclosure, which should be included in the protection scope of the embodiment of the present disclosure. Therefore, the protection scope of the embodiment of the present disclosure should be based on the protection scope of the claims.
Claims
1. A base map processing method, characterized in that: include: Divide the first base map and the second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks; Establishing association relationships between the first base map block and the second base map block respectively to form base map block pairs, wherein each base map block pair includes one of the first base map blocks and one of the second base map blocks; Select a target base map block pair from the base map block pairs; Performing pose optimization on each pair of target base map blocks; Referring to the optimized target base map block pairs, performing pose optimization on base map block pairs other than the target base map blocks in the base map blocks to obtain a first optimized base map and a second optimized base map; The first optimized base map and the second optimized base map are integrated to generate a target base map; The step of performing pose optimization on each target base map block pair includes: Determine the overall loss of the base map according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map, wherein each of the target base map blocks includes a first target base map block and a second target base map block; Performing posture optimization on each of the first target base map blocks and the second target base map blocks to minimize the overall loss of the base map, and thus completing one posture optimization of each of the target base map blocks; Repeat the pose optimization of the target base map blocks based on the result of the previous pose optimization until the pose optimization result meets the preset conditions.
2. The method according to claim 1, characterized in that The step of selecting a target base map block pair from the base map block pairs comprises: For each of the base map block pairs, determining a parameter value corresponding to the second base map block in the base map block pair, wherein the parameter value includes: at least one of the number of included road signs and network signal strength; According to the parameter value corresponding to the second base map block, it is determined whether the base map block pair is a target base map block pair.
3. The method according to claim 2, characterized in that The step of judging whether the base map block pair is a target base map block pair according to the parameter value corresponding to the second base map block comprises: In the case where the parameter value corresponding to the second base map block includes the number of included landmarks and the GPS signal strength, determining whether the number of included landmarks is greater than a preset number; When the number of included landmarks is greater than the preset number, determining whether the GPS signal strength is greater than a preset strength; When the GPS signal strength is greater than a preset strength, the base map block pair including the second base map block is determined to be a target base map block pair.
4. The method according to claim 1, characterized in that: After the step of performing posture optimization on the base map block pairs other than the target base map blocks in the base map blocks with reference to the optimized target base map block pairs, the method further comprises: For each base map block pair after posture optimization, the positions of the pixels in the base map block pair are transformed.
5. The method according to claim 4, characterized in that The step of transforming the positions of the pixels in the base map block pairs comprises: Marking corresponding feature points from the first base map block and the second base map block included in the base map block pair respectively; Determine a transformation matrix according to the relative positions of the feature points in the first base map block and the second base map block; According to the transformation matrix, the position of each pixel in the first base map block is transformed.
6. A base map processing device, characterized in that: include: A block division module is used to divide the first base map and the second base map into blocks respectively to obtain the same number of first base map blocks and second base map blocks; An establishing module, used for respectively establishing an association relationship between the first base map block and the second base map block to form a base map block pair, wherein each base map block pair includes one of the first base map blocks and one of the second base map blocks; A screening module, used for screening target base map block pairs from the base map block pairs; A first optimization module is used to optimize the position and posture of each target base map block pair; A second optimization module is used to optimize the posture of the base map block pairs except the target base map blocks in each base map block with reference to the optimized target base map block pairs, so as to obtain a first optimized base map and a second optimized base map; A fusion module, used for fusing the first optimized base map and the second optimized base map to generate a target base map; Wherein, the first optimization module includes: A loss determination submodule, used to determine the overall loss of the base map according to the position of each first target base map block in the first base map and the position of each second target base map block in the second base map, wherein each of the target base map blocks includes a first target base map block and a second target base map block; A first optimization submodule is used to optimize the posture of each of the first target base map blocks and the second target base map blocks to minimize the overall loss of the base map. At this point, one posture optimization of each of the target base map blocks is completed; The iterative optimization submodule is used to repeatedly perform pose optimization on the target base map blocks based on the results of the previous pose optimization until the pose optimization results meet the preset conditions.
7. The device according to claim 6, characterized in that The screening module comprises: The first submodule is used to determine, for each base map block pair, a parameter value corresponding to the second base map block in the base map block pair, wherein the parameter value includes: at least one of the number of included road signs and network signal strength; The second submodule is used to determine whether the base map block pair is a target base map block pair according to the parameter value corresponding to the second base map block.
8. The device according to claim 7, characterized in that The second submodule includes: A first unit is used to determine whether the number of included road signs is greater than a preset number when the parameter value corresponding to the second base map block includes the number of included road signs and GPS signal strength; The second unit is used to determine whether the GPS signal strength is greater than a preset strength when the number of included landmarks is greater than the preset number; The third unit is used to determine that the base map block pair including the second base map block is a target base map block pair when the GPS signal strength is greater than a preset strength.
9. The device according to claim 6, characterized in that The second optimization module comprises: A second optimization submodule is used to optimize the posture of the base map block pairs except the target base map blocks in each base map block with reference to the optimized target base map block pairs; The transformation submodule is used to transform the positions of the pixels in each base map block pair after the posture optimization, so as to obtain the first optimized base map and the second optimized base map.
10. The device according to claim 9, characterized in that The transformation submodule transforms the pixel positions in each base map block pair after the pose optimization, specifically for: Marking corresponding feature points from the first base map block and the second base map block included in the base map block pair respectively; Determine a transformation matrix according to the relative positions of the feature points in the first base map block and the second base map block; According to the transformation matrix, the position of each pixel in the first base map block is transformed.
11. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the base map processing method as described in one or more of claims 1-5 is implemented.
12. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the base map processing method as described in one or more of method claims 1-5.
Citation Information
Patent Citations
High-precision map construction method and system
CN111882977A
Map precision conversion method and device and storage medium
CN113449051A
Map building method, apparatus and system, and storage medium
WO2020108285A1
