A map elevation information extraction method and device based on a handheld mapping device
By integrating multi-line radar, cameras, and IMU into a handheld mapping device, a map fused with elevation information is generated, solving the problems of high cost and insufficient accuracy in acquiring elevation information, and improving the navigation and positioning capabilities of mobile robots.
Patent Information
- Application Number
- CN202611522491.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for obtaining elevation information are costly and lack accuracy, making them unsuitable for mobile robot navigation, especially in indoor or complex, small-scale environments.
By using a handheld mapping device that integrates multi-line radar, camera and inertial measurement unit, a 3D scene is reconstructed, the fall area, slope area and no-entry line are identified and extracted, and they are mapped onto a 2D raster map to generate a map that integrates elevation information.
It improves the accuracy and integrity of 2D grid maps, provides more reliable map data for mobile robots, reduces costs, enhances navigation and positioning capabilities, and adapts to various complex environments.
Smart Images

Figure CN123175247A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robot navigation technology, and in particular to a method and apparatus for extracting map elevation information based on a handheld mapping device. Background Technology
[0002] In mobile robot applications, accurate map building is crucial for navigation and localization. Traditional map building methods often focus only on planar information, ignoring elevation changes in the environment. However, real-world environments contain elevation differences, such as fall zones, sloping areas, and the edges of suspended obstacles like tables. This information significantly impacts the safe and efficient operation of mobile robots.
[0003] Currently, some methods for acquiring elevation information have many limitations. For example, while satellite remote sensing can acquire large-scale terrain information, its accuracy often falls short of the application requirements of mobile robots in indoor or complex, small-scale environments. On the other hand, ground-based vehicle-mounted LiDAR scanning technology can effectively acquire real ground information, but it generates a large number of laser point clouds and images, placing high demands on data processing hardware. This results in high equipment costs, strict requirements for sensor mounting and configuration, and significant deviations in the calculated elevation information when data quality is inconsistent. Summary of the Invention
[0004] In view of this, the embodiments of this application provide a method, apparatus, electronic device and storage medium for extracting map elevation information based on a handheld mapping device, which can solve the problems of high cost, insufficient accuracy or difficulty in applying elevation information to mobile robot navigation in the prior art.
[0005] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a method for extracting map elevation information based on a handheld mapping device, comprising the following steps: A 3D scene is reconstructed using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit; During the reconstruction process, the point cloud data of each keyframe is processed to identify and extract fall areas, slope areas and no-entry lines in the environment; The extracted 3D information of the fall area, slope area and no-entry line is mapped onto a 2D raster map, and the raster is labeled with attributes including elevation features according to the preset raster state coding rules to generate a 2D raster map that integrates elevation information.
[0006] Secondly, embodiments of this application also provide a map elevation information extraction device based on a handheld mapping device, the device comprising: A reconstruction module is used to reconstruct a 3D scene using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit; The processing module is used to process the point cloud data of each keyframe during the reconstruction process to identify and extract fall areas, slope areas and no-entry lines in the environment. The generation module is used to map the extracted three-dimensional information of the fall area, slope area and no-entry line to a two-dimensional raster map, and to perform attribute labeling including elevation features on the raster according to the preset raster state encoding rules, so as to generate a two-dimensional raster map that integrates elevation information.
[0007] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the map elevation information extraction method based on a handheld mapping device as described in any of the first aspects.
[0008] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the map elevation information extraction method based on a handheld mapping device as described in any one of the first aspects.
[0009] The embodiments of this application have the following beneficial effects: By leveraging the collaborative work of multi-line radar, cameras, and IMUs, comprehensive and accurate 3D environmental information can be acquired. This is particularly effective in precisely identifying and extracting areas with elevation differences, such as fall zones, slope areas, and the edges of suspended obstacles, significantly improving the accuracy and completeness of the generated 2D grid map and providing more reliable map data for mobile robots. Compared to some elevation information acquisition methods that rely on numerous expensive sensors or complex data processing equipment, this embodiment utilizes only a handheld mapping device integrating multi-line radar, cameras, and IMUs. This method is low-cost, easy to implement, and reusable. The generated map can be directly exported for positioning and navigation of mobile robots equipped with inexpensive 2D LiDAR. This embodiment can adapt to various complex indoor and outdoor environments. Whether on flat ground or in areas with significant elevation changes, it can effectively generate maps containing elevation information, enhancing the navigation and positioning capabilities of mobile robots in different environments and improving their work efficiency and safety. Attached Figure Description
[0010] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a flowchart illustrating steps S101-S103 provided in the embodiments of this application; Figure 2 This is a flowchart illustrating steps S201-S203 provided in the embodiments of this application; Figure 3 This is a flowchart illustrating steps S301-S303 provided in the embodiments of this application; Figure 4 This is a flowchart illustrating steps S401-S402 provided in the embodiments of this application; Figure 5 This is a flowchart illustrating steps S501-S503 provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the map elevation information extraction device based on a handheld mapping device provided in this application embodiment; Figure 7 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0012] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0013] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0014] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0015] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0016] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0017] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application and is not intended to limit this application.
[0018] See Figure 1 , Figure 1 This is a flowchart illustrating steps S101-S103 of the map elevation information extraction method based on a handheld mapping device provided in this application embodiment. Figure 1 Steps S101-S103 shown will be explained.
[0019] In step S101, the three-dimensional scene is reconstructed using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit; In step S102, during the reconstruction process, the point cloud data of each keyframe is processed to identify and extract the fall zone, slope zone and no-entry line in the environment; In step S103, the extracted three-dimensional information of the fall area, slope area and no-entry line is mapped to a two-dimensional raster map, and the raster is marked with attributes including elevation features according to the preset raster state coding rules to generate a two-dimensional raster map that integrates elevation information.
[0020] This embodiment first establishes an integrated handheld mapping device, which integrates three core sensors: a multi-line radar, a camera, and an inertial measurement unit (IMU). The multi-line radar acquires real-time distance information of the surrounding environment, forming a 3D point cloud; the camera captures visual image information of the environment; and the IMU measures the device's own attitude and acceleration. Through the collaboration and fusion of data from these three sensors, the system can perform comprehensive geometric reconstruction of the 3D scene traversed by the handheld device.
[0021] During the 3D scene reconstruction process, the system continuously generates a series of keyframes. The core of this embodiment lies in not directly using the original reconstruction data, but instead performing specialized processing and analysis on the point cloud data of each keyframe. The goal of this processing is to identify and extract three types of elevation-related features that are crucial for mobile robot navigation: fall zones (such as stairs, sunken ground), slope zones (such as ramps), and no-entry lines (such as the edges of suspended tables, wall boundaries).
[0022] Finally, this embodiment maps the spatial information of the fall zone, slope zone, and no-entry line identified from the 3D point cloud in the preceding steps onto a 2D grid map plane. The mapping process is not a simple projection, but rather involves assigning attribute labels to each grid cell according to a set of preset grid state encoding rules. These attribute labels include elevation features extracted from the 3D data, thereby generating a 2D grid map that incorporates elevation information. This map retains the simplicity of traditional 2D grid maps while embedding rich elevation semantics, providing a more comprehensive environmental understanding for the mobile robot's path planning.
[0023] In some embodiments, see Figure 2 , Figure 2 This is a flowchart illustrating steps S201-S203 provided in the embodiments of this application. The process of processing the point cloud data of each keyframe to identify and extract the fall area in the environment can be achieved through steps S201-S203, which will be explained in conjunction with each step.
[0024] In step S201, the point cloud is converted to the lidar coordinate system, and points with heights below a preset threshold are selected as candidate point clouds. In step S202, cluster analysis is performed on the candidate point cloud, and clusters with cluster area within a preset range are retained; In step S203, the retained clusters are subjected to depth continuity verification and plane fitting verification, and the clusters that pass the verification are determined as valid drop regions.
[0025] Here, we first perform a preliminary screening of candidate point clouds by converting the raw point cloud data to the lidar coordinate system and using a height condition to quickly extract potential fall points. Specifically, the screening condition is z + h < -0.08, where h represents the installation height of the lidar and z is the height of the point cloud in the lidar coordinate system. This formula identifies points whose height relative to the lidar installation plane is less than -0.08 meters; these points are likely located in depressions or fall areas below ground level.
[0026] After initial screening, the system performs cluster analysis on the selected candidate point clouds. Euclidean clustering is used, with a cluster tolerance of 0.2 meters. Points with a spacing less than 0.2 meters are grouped into the same cluster. A valid cluster must contain at least 200 points to eliminate noise interference. For each clustered region, its bounding box area S = (xmax - xmin)(ymax - ymin) is calculated, and only clusters with areas between 0.1 and 100 square meters are retained, thus eliminating meaningless regions that are too small (e.g., sensor noise) or too large (e.g., the entire ground).
[0027] For clusters that meet the area requirements, more rigorous geometric verification is needed to confirm them as valid drop zones. This includes depth continuity verification and plane fitting verification. Depth continuity verification involves dividing the region into a 0.1m × 0.1m grid and calculating the coverage r = N_grid / N_total of the effective grid, requiring a coverage r ≥ 0.3 to ensure the relative continuity of the point cloud distribution. Simultaneously, the depth variance of the point cloud within the region is calculated. For non-staircase areas, σ ≤ 0.08m is required to verify the flatness of the depth in this area. Plane fitting verification uses the RANSAC algorithm, fitting the clustered point cloud with the plane equation ax + by + cz + d = 0, and setting a distance threshold of 0.05m, requiring that the proportion of interior points in non-staircase areas reach over 70%. Finally, height difference verification is also performed, calculating the current plane height. Average height of the drop zone The difference Only the area where Δh ranges from 0.1 meters to 5.0 meters is retained to ensure that the drop height is both practically significant and within a reasonable range. Through this series of progressive verifications, the accuracy and robustness of the drop zone detection are ensured.
[0028] In some embodiments, see Figure 3 , Figure 3 This is a flowchart illustrating steps S301-S303 provided in the embodiments of this application. The process of processing the point cloud data of each keyframe to identify and extract the slope region in the environment can be achieved through steps S301-S303, which will be explained in conjunction with each step.
[0029] In step S301, point clouds with the center of the plane as the sphere and a preset radius are extracted from the global point cloud, and the slope point cloud is filtered out using the slope plane equation. In step S302, the angle between the local normal vector of the slope point cloud and the normal vector of the slope plane is calculated, and point clouds with an angle greater than a preset threshold are filtered out. In step S303, the boundary of the slope region is extracted from the filtered valid point cloud using the convex hull algorithm.
[0030] First, the system needs to filter out points belonging to the slope from the global point cloud. Using a known slope plane as the center, all point clouds within a spatial sphere with a radius of 2 meters and the center of this plane are extracted. Then, these points are filtered using the slope's plane equation ax + by + cz + d = 0, retaining points that satisfy |ax + by + cz + d| < 0.05, i.e., points whose distance to the plane is less than 0.05 meters. These points are considered candidate points constituting the slope surface.
[0031] To further eliminate interfering points (such as walls or debris next to the slope) in the slope point cloud, this embodiment introduces normal vector filtering. The system calculates the local neighborhood normal vector n1 for each candidate point and the angle α = arccos(|n1·n2|) between it and the overall slope plane normal vector n2. This angle reflects the consistency between the orientation of the local surface and the orientation of the main slope. Only points with an angle less than 5° are retained, and only those points whose local surface orientation is highly consistent with the overall slope orientation are considered valid slope points, thus ensuring the purity of the slope point cloud.
[0032] Finally, boundary extraction is performed on the filtered effective slope point cloud. The system first calculates the minimum bounding box of these point clouds. When the bounding box area is greater than 0.04 square meters, the slope region is considered sufficiently significant, and its precise boundary is extracted using the convex hull algorithm. The specific process of boundary extraction is as follows: First, the center point c = (1 / N∑xi, 1 / N∑yi) of the point set is calculated. Then, with this center point as the origin, the angle θi = arctan2(yi-cy, xi-cx) of each boundary point is calculated, and the boundary points are sorted according to this angle. Finally, they are connected to form a closed boundary line of the slope region. This boundary will be used to mark the extent of the slope in the subsequent two-dimensional raster map.
[0033] In some embodiments, see Figure 4 , Figure 4 This is a flowchart illustrating steps S401-S402 provided in the embodiments of this application. The process of processing the point cloud data of each keyframe to identify and extract no-entry lines in the environment can be achieved through steps S401-S402, which will be explained in conjunction with each step.
[0034] In step S401, the 360-degree range is divided into multiple angle intervals, the distance from the point cloud to the origin in each interval is calculated, and only the closest point is retained to form a compressed point cloud; In step S402, the compressed point cloud is mapped onto a two-dimensional raster map to generate a no-entry line raster.
[0035] This embodiment generates a simplified point set representing impassable boundaries through point cloud compression. First, the 360-degree horizontal space surrounding the sensor is uniformly divided into multiple angular intervals. In this embodiment, the granularity of the division is 1200 angle bins, meaning each interval has a resolution of 0.3°. For all point clouds falling within each angular interval, the system calculates their distance to the origin (x0, y0) using the formula d = (x - x0)² + (y - y0)².
[0036] Within each angular interval, the system retains only the point closest to the origin, discarding all points farther away at that angle. The physical meaning of this operation is that, for any direction, the obstacle point closest to the device is the critical boundary determining whether the robot can pass, while points behind it are occluded and have no direct impact on real-time navigation decisions. In this way, the original dense point cloud is compressed into a sparse, compressed point cloud containing only the nearest boundary points.
[0037] Finally, this compressed point cloud is mapped onto a two-dimensional grid map. Since each point in the compressed point cloud represents the nearest obstacle in a certain direction, connecting these points and generating a no-entry zone of a certain width along the connecting lines on the grid map forms a no-entry line grid. These no-entry lines clearly indicate the boundaries that the robot cannot cross, such as the base of walls or the projected boundaries of suspended obstacles on the ground, providing direct constraint information for path planning.
[0038] In some embodiments, see Figure 5 , Figure 5 This is a flowchart illustrating steps S501-S503 provided in the embodiments of this application. The step of marking the raster with attributes including elevation features according to the preset raster state encoding rules can be achieved through steps S501-S503, which will be explained in conjunction with each step.
[0039] In step S501, a multi-bit binary code is used to represent the grid state, and at least the following are defined: basic occupied grid, drop zone boundary grid, drop zone interior grid, slope zone boundary grid, slope zone interior grid, and no-entry line grid. In step S502, based on the extracted boundary and internal point cloud of the drop area and slope area, the corresponding grids are marked as the corresponding boundary state and internal state, respectively. In step S503, the grid status is graded and marked according to the slope angle of the slope area. When the slope angle exceeds the preset threshold, the corresponding grid is marked as having a superimposed prohibition attribute.
[0040] This embodiment uses structured multi-bit binary encoding to endow each grid with rich semantic information. This embodiment defines an 8-bit binary encoding system, reserving specific locations for different states. For example: 00000001 represents a grid directly detected by the lidar as a base-occupied grid; 00000010 represents a drop zone boundary grid; 00000100 represents a grid inside the drop zone; 00001000 represents a slope zone boundary grid; 00010000 represents a grid inside the slope zone; and 00100000 represents a no-entry line grid. This encoding method allows a grid to possess multiple attributes simultaneously.
[0041] During the labeling process, the system maps the 3D features extracted in previous steps. For drop areas and slope areas, it distinguishes between their "boundaries" and "interiors" and assigns different codes. For example, the point cloud of the drop area boundary extracted by the Alpha Shape algorithm is mapped to a grid and extended outward by one grid to form a boundary band, labeled 00000010; while the area inside the boundary is labeled 00000100 using a fill algorithm such as scan lines. Specific conditions must be met during filling, such as the height difference Δh between the grid center point and the plane of the drop area ≥ 0.1m, to ensure that the labeled area is a true depression.
[0042] Specifically, this embodiment introduces a slope-based hierarchical labeling strategy for slope areas. First, the slope angle α = arcsin(|n_z|) is calculated using the slope plane normal vector. When the slope angle α is between 5° and 15°, it is considered a gentle slope, and its internal and boundary grids are labeled 00010000 and 00001000, respectively. When the slope angle α is between 15° and 30°, it is considered a steep slope, and its internal grids, in addition to being labeled 00010000, also have a prohibited attribute of 00100000 superimposed. When the slope angle α exceeds 30°, the entire slope area is considered impassable, and all related grids are directly labeled with a prohibited state of 00100000. This hierarchical processing allows the map to not only represent "where there is a slope" but also "how steep the slope is," providing a precise basis for robot decision-making.
[0043] In some embodiments, the method further includes: When the same grid cell is marked with multiple states, the final state of the grid cell is determined according to a preset priority order, wherein the boundary grid cell has a higher priority than the internal area grid cell and the no-entry line grid cell.
[0044] Since each grid cell in the map may be marked by multiple feature detection modules at the same time (for example, a grid cell may be located both in the base occupied area of the LiDAR and on the boundary of a drop area), a set of rules is needed in this embodiment to determine the final display and navigation status of the grid cell.
[0045] The core of this mechanism is a pre-defined priority ranking. When a conflict occurs, the system determines the final state of the grid according to a fixed priority order. The priority order is as follows: the fall boundary grid (00000010) has the highest priority, followed by the ramp boundary grid (00001000), then the no-entry line grid (00100000), then various internal area grids, and finally the basic LiDAR occupied grid (00000001). This order reflects the principle of "safety first," meaning that the most dangerous boundary information (especially fall boundaries) will cover other less critical information, ensuring that the robot does not overlook potential dangers due to information conflicts.
[0046] Furthermore, this embodiment incorporates a time decay strategy to handle dynamic environments or temporarily missing objects. For any given grid state, if it remains unupdated for more than 30 keyframes, its reliability decreases over time. This is quantified by a decay coefficient k = 0.9^Δt, where Δt represents the time without an update. When the decay coefficient k falls below 0.5, the system considers the grid's state information outdated and automatically resets it to an unknown area state (10000000). This mechanism ensures the map's timeliness and adaptability to dynamic changes.
[0047] In some embodiments, generating a two-dimensional raster map that incorporates elevation information further includes: Elevation feature values are added to the grid attributes. These elevation feature values include at least the average height and standard deviation of the drop area, as well as the slope angle and aspect angle of the slope area, to provide a quantitative elevation reference for mobile robot path planning.
[0048] This embodiment not only qualitatively represents elevation features through raster state coding, but also provides richer elevation reference information by attaching quantized data to the raster attributes.
[0049] Specifically, for grid cells marked as fall zones on the map, the system additionally stores the average height and standard deviation of the height for that area in their attributes. The average height provides the robot with a quantitative reference for the fall depth, while the standard deviation of the height reflects the flatness of the bottom of the fall zone, helping the robot assess the risk of traversing it. For grid cells marked as slope zones, the system additionally stores the slope angle α and aspect angle β. The slope angle α quantifies the steepness of the slope, while the aspect angle β indicates the direction of inclination of the slope.
[0050] These quantified elevation features are directly embedded in the data structure of the two-dimensional grid map, providing directly accessible numerical data for the path planning algorithm of mobile robots. For example, the path planning algorithm can set rules such as "prohibit passage through grids with a slope angle greater than 15°" or "prohibit entry into areas with a drop height greater than 0.5 meters," thereby achieving smarter, safer, and more precise navigation decisions.
[0051] In summary, the embodiments of this application have the following beneficial effects: By leveraging the collaborative work of multi-line radar, cameras, and IMUs, comprehensive and accurate 3D environmental information can be acquired. This is particularly effective in precisely identifying and extracting areas with elevation differences, such as fall zones, slope areas, and the edges of suspended obstacles, significantly improving the accuracy and completeness of the generated 2D grid map and providing more reliable map data for mobile robots. Compared to some elevation information acquisition methods that rely on numerous expensive sensors or complex data processing equipment, this embodiment utilizes only a handheld mapping device integrating multi-line radar, cameras, and IMUs. This method is low-cost, easy to implement, and reusable. The generated map can be directly exported for positioning and navigation of mobile robots equipped with inexpensive 2D LiDAR. This embodiment can adapt to various complex indoor and outdoor environments. Whether on flat ground or in areas with significant elevation changes, it can effectively generate maps containing elevation information, enhancing the navigation and positioning capabilities of mobile robots in different environments and improving their work efficiency and safety.
[0052] Based on the same inventive concept, this application also provides a map elevation information extraction device based on a handheld mapping device, which corresponds to the map elevation information extraction method based on a handheld mapping device in the first embodiment. Since the principle of the device in this application is similar to the above-mentioned map elevation information extraction method based on a handheld mapping device, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0053] like Figure 6 As shown, Figure 6 This is a schematic diagram of the map elevation information extraction device 600 based on a handheld mapping device provided in this application embodiment. The map elevation information extraction device 600 based on a handheld mapping device includes: The reconstruction module 601 is used to reconstruct a three-dimensional scene using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit. The processing module 602 is used to process the point cloud data of each key frame during the reconstruction process to identify and extract the fall area, slope area and no-entry line in the environment. The generation module 603 is used to map the extracted three-dimensional information of the fall area, slope area and no-entry line to a two-dimensional raster map, and to perform attribute labeling including elevation features on the raster according to the preset raster state coding rules, so as to generate a two-dimensional raster map that integrates elevation information.
[0054] Those skilled in the art should understand that Figure 6 The functions of each unit in the map elevation information extraction device 600 based on the handheld mapping device shown can be understood by referring to the relevant description of the map elevation information extraction method based on the handheld mapping device described above. Figure 6 The functions of each unit in the map elevation information extraction device 600 based on the handheld mapping device shown can be implemented by a program running on a processor or by specific logic circuits.
[0055] In one possible implementation, the processing module 602 is specifically used for: The point cloud is converted to the lidar coordinate system, and points with heights below a preset threshold are selected as candidate point clouds. Cluster analysis is performed on the candidate point cloud, and clusters with cluster area within a preset range are retained; The retained clusters are subjected to depth continuity verification and plane fitting verification, and the clusters that pass the verification are identified as valid drop regions.
[0056] In one possible implementation, the processing module 602 is specifically used for: Extract point clouds from the global point cloud with the center of the plane as the sphere and a preset radius, and use the slope plane equation to filter out the slope point clouds; Calculate the angle between the local normal vector of the slope point cloud and the normal vector of the slope plane, and filter out point clouds with an angle greater than a preset threshold. For the filtered valid point cloud, the boundary of the slope region is extracted using the convex hull algorithm.
[0057] In one possible implementation, the processing module 602 is specifically used for: The 360-degree range is divided into multiple angle intervals. The distance from the point cloud to the origin in each interval is calculated, and only the closest point is retained to form a compressed point cloud. The compressed point cloud is mapped onto a two-dimensional raster map to generate a no-entry line raster.
[0058] In one possible implementation, the generation module 603 is specifically used for: The grid state is represented by a multi-bit binary code, and at least the following are defined: basic occupied grid, drop zone boundary grid, drop zone interior grid, slope zone boundary grid, slope zone interior grid, and no-entry line grid. Based on the extracted boundary and internal point cloud of the drop area and slope area, the corresponding raster is marked as the corresponding boundary state and internal state, respectively. Based on the slope angle of the slope area, the grid status is classified and marked. When the slope angle exceeds the preset threshold, the corresponding grid is marked as having a superimposed prohibition attribute.
[0059] In one possible implementation, the generation module 603 is further configured to: When the same grid cell is marked with multiple states, the final state of the grid cell is determined according to a preset priority order, wherein the boundary grid cell has a higher priority than the internal area grid cell and the no-entry line grid cell.
[0060] In one possible implementation, the generation module 603 is specifically used for: Elevation feature values are added to the grid attributes. These elevation feature values include at least the average height and standard deviation of the drop area, as well as the slope angle and aspect angle of the slope area, to provide a quantitative elevation reference for mobile robot path planning.
[0061] The aforementioned map elevation information extraction device based on a handheld mapping device, through the collaborative work of multi-line radar, camera, and IMU, can comprehensively and accurately acquire three-dimensional environmental information. It is particularly effective in precisely identifying and extracting areas with elevation differences, such as fall zones, slope areas, and the edges of suspended obstacles, significantly improving the accuracy and completeness of the generated two-dimensional grid map and providing more reliable map data for mobile robots. Compared to some elevation information acquisition methods that rely on numerous expensive sensors or complex data processing equipment, this embodiment utilizes only a handheld mapping device integrating multi-line radar, camera, and IMU, resulting in lower cost, ease of implementation, and reusability. The generated map can be directly exported for positioning and navigation of mobile robots equipped with inexpensive 2D LiDAR. This embodiment can adapt to various complex indoor and outdoor environments, effectively generating maps containing elevation information regardless of whether the ground is flat or there are significant elevation changes. This enhances the navigation and positioning capabilities of mobile robots in different environments, improving their work efficiency and safety.
[0062] like Figure 7 As shown, Figure 7 This is a schematic diagram of the composition structure of the electronic device 700 provided in the embodiments of this application. The electronic device 700 includes: The device includes a processor 701, a storage medium 702, and a bus 703. The storage medium 702 stores machine-readable instructions that can be executed by the processor 701. When the electronic device 700 is running, the processor 701 communicates with the storage medium 702 via the bus 703. The processor 701 executes the machine-readable instructions to perform the steps of the map elevation information extraction method based on a handheld mapping device described in this application embodiment.
[0063] In practical applications, the various components in the electronic device 700 are coupled together via a bus 703. It is understood that the bus 703 is used to achieve communication between these components. In addition to a data bus, the bus 703 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 7 The general designated all buses as Bus 703.
[0064] The aforementioned electronic device, through the collaborative work of multi-line radar, camera, and IMU, can comprehensively and accurately acquire three-dimensional information of the environment. In particular, it can accurately identify and extract areas with elevation differences, such as fall zones, slope areas, and edges of suspended obstacles, greatly improving the accuracy and completeness of the generated two-dimensional grid map and providing more reliable map data for mobile robots. Compared with some methods for acquiring elevation information that rely on a large number of expensive sensors or complex data processing equipment, this embodiment only utilizes a handheld mapping device integrating multi-line radar, camera, and IMU, which is low-cost, easy to implement, and reusable. The generated map can be directly exported for the localization and navigation of mobile robots equipped with inexpensive 2D LiDAR. This embodiment can adapt to various complex indoor and outdoor environments. Whether on flat ground or in areas with significant elevation changes, it can effectively generate maps containing elevation information, enhancing the navigation and localization capabilities of mobile robots in different environments and improving their work efficiency and safety.
[0065] This application also provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by at least one processor 701, the map elevation information extraction method based on a handheld mapping device described in this application is implemented.
[0066] In some embodiments, the storage medium may be a magnetic random access memory (FRAM), a read-only memory (ROM), or a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM) Electrically Erasable Programmable Read-Only Memory (EEPROM) Read-only memory, flash memory, magnetic surface storage, optical disc, or CD-ROM ROM, Compact Disc Read It can be a memory such as a memory only; or it can be a device that includes one or any combination of the above-mentioned memories.
[0067] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0068] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0069] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0070] The aforementioned computer-readable storage medium, through the collaborative work of multi-line radar, camera, and IMU, can comprehensively and accurately acquire three-dimensional information of the environment. In particular, it can precisely identify and extract areas with elevation differences, such as fall zones, slope areas, and the edges of suspended obstacles, greatly improving the accuracy and completeness of the generated two-dimensional grid map and providing more reliable map data for mobile robots. Compared to some methods for acquiring elevation information that rely on numerous expensive sensors or complex data processing equipment, this embodiment utilizes only a handheld mapping device integrating multi-line radar, camera, and IMU, which is low-cost, easy to implement, and reusable. The generated map can be directly exported for positioning and navigation of mobile robots equipped with inexpensive 2D LiDAR. This embodiment can adapt to various complex indoor and outdoor environments, effectively generating maps containing elevation information whether on flat ground or in areas with significant elevation changes, enhancing the navigation and positioning capabilities of mobile robots in different environments and improving their work efficiency and safety.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0072] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0073] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0074] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0075] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for extracting map elevation information based on a handheld mapping device, characterized in that, Includes the following steps: A 3D scene is reconstructed using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit; During the reconstruction process, the point cloud data of each keyframe is processed to identify and extract fall areas, slope areas and no-entry lines in the environment; The extracted 3D information of the fall area, slope area and no-entry line is mapped onto a 2D raster map, and the raster is labeled with attributes including elevation features according to the preset raster state coding rules to generate a 2D raster map that integrates elevation information.
2. The method according to claim 1, characterized in that, The processing of point cloud data for each keyframe to identify and extract fall areas in the environment specifically includes: The point cloud is converted to the lidar coordinate system, and points with heights below a preset threshold are selected as candidate point clouds. Cluster analysis is performed on the candidate point cloud, and clusters with cluster area within a preset range are retained; The retained clusters are subjected to depth continuity verification and plane fitting verification, and the clusters that pass the verification are identified as valid drop regions.
3. The method according to claim 1, characterized in that, The processing of point cloud data for each keyframe to identify and extract slope regions in the environment specifically includes: Extract point clouds from the global point cloud with the center of the plane as the sphere and a preset radius, and use the slope plane equation to filter out the slope point clouds; Calculate the angle between the local normal vector of the slope point cloud and the normal vector of the slope plane, and filter out point clouds with an angle greater than a preset threshold. For the filtered valid point cloud, the boundary of the slope region is extracted using the convex hull algorithm.
4. The method according to claim 1, characterized in that, The processing of point cloud data for each keyframe to identify and extract no-entry lines in the environment specifically includes: The 360-degree range is divided into multiple angle intervals. The distance from the point cloud to the origin in each interval is calculated, and only the closest point is retained to form a compressed point cloud. The compressed point cloud is mapped onto a two-dimensional raster map to generate a no-entry line raster.
5. The method according to claim 1, characterized in that, The step of assigning attribute tags containing elevation features to the raster according to preset raster state encoding rules specifically includes: The grid state is represented by a multi-bit binary code, and at least the following are defined: basic occupied grid, drop zone boundary grid, drop zone interior grid, slope zone boundary grid, slope zone interior grid, and no-entry line grid. Based on the extracted boundary and internal point cloud of the drop area and slope area, the corresponding raster is marked as the corresponding boundary state and internal state, respectively. Based on the slope angle of the slope area, the grid status is classified and marked. When the slope angle exceeds the preset threshold, the corresponding grid is marked as having a superimposed prohibition attribute.
6. The method according to claim 1 or 5, characterized in that, The method further includes: When the same grid cell is marked with multiple states, the final state of the grid cell is determined according to a preset priority order, wherein the boundary grid cell has a higher priority than the internal area grid cell and the no-entry line grid cell.
7. The method according to claim 1, characterized in that, The generation of the two-dimensional raster map incorporating elevation information also includes: Elevation feature values are added to the grid attributes. These elevation feature values include at least the average height and standard deviation of the drop area, as well as the slope angle and aspect angle of the slope area, to provide a quantitative elevation reference for mobile robot path planning.
8. A map elevation information extraction device based on a handheld mapping device, characterized in that, The device includes: A reconstruction module is used to reconstruct a 3D scene using a handheld mapping device; wherein the handheld mapping device integrates a multi-line radar, a camera, and an inertial measurement unit; The processing module is used to process the point cloud data of each keyframe during the reconstruction process to identify and extract fall areas, slope areas and no-entry lines in the environment. The generation module is used to map the extracted three-dimensional information of the fall area, slope area and no-entry line to a two-dimensional raster map, and to perform attribute labeling including elevation features on the raster according to the preset raster state encoding rules, so as to generate a two-dimensional raster map that integrates elevation information.
9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the map elevation information extraction method based on a handheld mapping device as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, performs the map elevation information extraction method based on a handheld mapping device as described in any one of claims 1 to 7.
