Abstract
Extracting road networks from printed or scanned raster maps is a significant challenge due to heavy clutter from text, icons, and varying map styles. This paper introduces a fully automated, color-agnostic method that combines mean-shift color reduction, directional linear feature detection, and seeded region growing. By focusing on the geometric properties of roads, the system achieves high precision and recall, enabling the potential for automatic geolocation of physical maps against digital geographic databases.
Introduction: The Challenge of Raster Maps
While GPS-enabled digital maps are standard, physical raster maps—such as printed tourism guides or historical archives—remain widely used. However, these maps lack the interactivity of their digital counterparts. To bridge this gap, systems must be able to extract the underlying road network from a simple image to match it against known GIS databases.
Extraction is notoriously difficult because raster maps are flat images where roads are often obscured by street names, pictograms, and topological lines. Furthermore, image quality is frequently degraded by scanning or photography. Traditional methods often fail because they rely on specific color segmentation or require manual user input to identify road colors.
Proposed Methodology
The authors propose a four-step pipeline designed to prioritize the geometric properties of roads over strict color assumptions.
1. Color Reduction via Mean Shift
To handle noise without losing critical edge information, the system employs a Mean Shift algorithm. Unlike standard Gaussian blurring, which can destroy road boundaries, Mean Shift clusters similar colors in the BGR space. This reduces the total color count and noise while preserving sharp edges.
2. Linear Elements Detection
The core of the geometric approach involves searching for lines. For every pixel, the algorithm evaluates a 15x15 neighborhood across 30 different directional angles. A pixel is scored based on whether it belongs to a line of uniform color.
3. Seed Point Selection and Region Growing
Directional scores classify pixels into three categories:
- High scores: Large uniform areas (background).
- Low scores: Corners, text, or noise.
- Medium scores: Linear elements (potential roads).
These medium-score pixels serve as "seeds" for region growing. To prevent segmentation "bleed-over," any growing road region that makes contact with a confirmed background region is immediately discarded.
4. Color Histogram Refinement
To recover segments missed by geometric detection—such as large intersections or small broken pieces—the system builds a 3D color histogram from the successfully extracted roads. It then re-scans discarded pixels, reclaiming those that match the confirmed road color profile.
Key Results and Performance
The proposed method was evaluated against a baseline (Chiang et al.) using low-quality scanned maps and stylized tourism maps.
- Recall (Completeness): The method successfully detected 80–85% of road pixels, significantly outperforming the baseline's 60%.
- Precision (Correctness): The system achieved over 99% correctness on most maps, effectively ignoring background noise and text. In cases where road colors were heavily reused for small pictograms, precision remained high at approximately 85%.
Conclusion and Future Directions
The primary limitation of the current approach is the presence of "holes" in the extracted network where text or icons overlapped the roads. Future work will focus on shape-processing techniques to fill these gaps and smooth the network. The ultimate goal is to integrate intersection detection and keypoint matching to enable the automatic alignment of arbitrary printed maps with real-world GIS databases.
Summary updated