Can-Satellite-Development / Cartography-System

Computer-Vision based Cartography-System
https://github.com/Can-Satellite-Development/Cartography-System/wiki/Masking-Explanation
MIT License
2 stars 2 forks source link
cartography computer-vision detection generation infrastructure terrain-analysis terrain-mapping

CivMapper: Automated Terrain Analysis and Infrastructure Planning

Cartography System

This project provides a framework for analyzing terrain images and generating actionable masks for vegetation, water, and free areas. These masks are then used to place infrastructure elements such as buildings and paths. It incorporates advanced segmentation methods, including color-based masking, Gabor filters, and custom expansion techniques, to ensure accurate environmental detection.


Related Content:

  1. Tree Detection Library: https://github.com/ortanaV2/detectree?tab=readme-ov-file
  2. Progress Updates (Discussion): https://github.com/orgs/Can-Satellite-Development/discussions/9

Features

🌳 Tree Mask Detection

The tree mask identifies vegetation areas in an input image:

🌊 Water Mask Detection

The water mask captures water bodies using:

🏞 Zero Mask (Free Area Detection)

The zero mask identifies areas free from vegetation and water:

🌐 Coastal Mask and Inland Mask

🌲 Forest Edge Mask

The forest edge mask captures areas near vegetation:

🏗 Infrastructure Placement

The framework supports:


How It Works

Masks and Their Purpose

  1. Tree Mask: Detects vegetation zones.
  2. Water Mask: Identifies water bodies and expands detection using texture analysis.
  3. Zero Mask: Locates open areas free from water and trees.
  4. Coast Mask: Highlights areas near water for ports and coastal structures.
  5. Inland Mask: Finds interior regions for buildings and roads.
  6. Forest Edge Mask: Identifies edges of forests for selective placement.

Combining Masks

Masks are logically combined to define areas suitable for different types of infrastructure:


Output Examples (Development Process)

image image image image