Abstract
Mapping is an important part of many robotic applications. In order to measure the performance of the mapping process, we must measure the quality of its result: the map. The map is essential for robotic algorithms like localization and path planning. Previously, it was shown how matched Topology Graphs can be used for map evaluation by comparing the topology of the robot-generated map to the topology of a ground truth map. In this paper, we extend the previous work by detecting open areas, such as rooms, in the 2D grid map and adding those to the topological representation. This approach avoids the unreliable generation of paths in open areas, making the Topology Graph generation and matching more stable and robust. The detection applies the alpha shape algorithm for room detection.
Introduction
In robotics, 2D grid maps generated via Simultaneous Localization and Mapping (SLAM) are often evaluated by converting them into abstract Topology Graphs and matching them against a ground truth map. These graphs are typically built using Voronoi Diagrams, which trace the free space equidistant from obstacles to create a skeleton of drivable paths.
However, Voronoi Diagrams are highly sensitive to minor wall noise in large, open areas. A few stray obstacle pixels from a laser scanner can cause the algorithm to generate wildly different, complex graph structures inside the same room across different mapping runs. This inconsistency hinders accurate map evaluation, merging, and place recognition. This paper proposes a method to detect these rooms and collapse them into single vertices to ensure stability.
Methodology
The proposed pipeline simplifies topological representations by detecting rooms and collapsing their internal graph structures:
- Initial Graph Generation: A standard Voronoi Diagram is extracted from the 2D grid map to form a base topology graph.
- Room Detection via Alpha Shapes: The Alpha Shape algorithm identifies large, empty inner polygons classified as rooms. The "alpha value" serves as a geometric threshold to distinguish rooms from corridors.
- Border Vertex Creation: The algorithm identifies intersections between Voronoi paths and Alpha Shape polygons, creating "Border Vertices" at these boundaries (e.g., doorways).
- Graph Pruning: Original Voronoi vertices and edges inside the room polygon are deleted, along with short "dead end" artifacts caused by geometric misalignments.
- Centroid Collapse: A single vertex is generated at the geometric centroid of the room, connected by straight-line edges to all border vertices.
Experimental Evaluation
The approach was evaluated on artificial maps designed to demonstrate Voronoi noise, as well as real-world datasets including RoboCup Rescue maps and the Radish repository (e.g., Edmonton Convention Center, SDR Site B). To test robustness, base maps were corrupted with simulated SLAM noise by randomly shifting wall pixels. This allowed for a quantitative comparison of graph stability under varying conditions.
Key Results
The success was measured by matching vertices of a base map to those of 10 noisy versions. For maps with large open rooms, the room detection method reduced matching errors drastically. In the "Beeson map," the average distance between matched vertices dropped to 15%–33% of the error seen in standard Voronoi graphs. Qualitatively, the visual complexity of the topology graphs was significantly reduced, replacing chaotic webs in open areas with clean, single-node hubs.
Conclusion and Future Work
While effective, the Alpha Shape approach struggles with rooms containing internal obstacles like pillars, which may prevent the detection of a single open space. Future work involves integrating a "pillar detection" preprocessing step for heavily obstructed environments. This research successfully laid the groundwork for generating "Area Graphs," which facilitate fast and robust 2D map matching by prioritizing semantic abstraction over raw geometric precision.
Summary updated