Skip to content

A project for segmenting buildings in satellite images using the U-Net architecture. Includes data preprocessing, model training, and evaluation scripts, along with preprocessed datasets and trained models.

Notifications You must be signed in to change notification settings

tugberkdikmen/Satellite-Image-Building-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Satellite Image Segmentation with U-Net

This project focuses on the segmentation of satellite images to identify urban and rural buildings using the U-Net architecture. The goal is to create a robust model that can accurately segment buildings from satellite imagery, enabling applications such as urban planning, disaster management, and environmental monitoring.

Table of Contents

Introduction

Satellite image segmentation is a crucial task in remote sensing, which involves partitioning an image into different regions based on the objects present. This project utilizes the U-Net architecture, a convolutional neural network designed for biomedical image segmentation, adapted for satellite imagery.

Dataset

The dataset used in this project includes preprocessed satellite images and their corresponding masks. The dataset is divided into urban and rural areas to ensure the model performs well in both settings.

Models

Several models were trained with different configurations and epochs. The best-performing models are available for download.

Implementation

The implementation involves data preprocessing, model training, and evaluation. The key components include:

  • Data Augmentation: To improve model generalization, various data augmentation techniques were applied.
  • Regularization: L2 regularization and dropout layers were used to prevent overfitting.
  • Callbacks: Early stopping and learning rate reduction were implemented to optimize training.

Key Scripts

  1. Data Preprocessing: Scripts to resize images and masks, and save them in a format suitable for model training.
  2. Model Training: Training the U-Net model with data augmentation and regularization.
  3. Evaluation: Scripts to evaluate the model's performance on test data and visualize the results.

Jupyter Notebook

Results

The results show that the U-Net model can effectively segment buildings from satellite images. Below are some key metrics:

  • Validation Loss: ~0.23xx
  • Validation Accuracy: ~0.72xx

Example Predictions

Example Prediction

Future Work

  • Enhance Model Architecture: Experiment with different architectures and hyperparameters.
  • Increase Dataset Size: Incorporate more diverse satellite images for training.
  • Deploy Model: Develop a web application to allow users to upload satellite images and receive segmentation results.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

References

Links

About

A project for segmenting buildings in satellite images using the U-Net architecture. Includes data preprocessing, model training, and evaluation scripts, along with preprocessed datasets and trained models.

Topics

Resources

Stars

Watchers

Forks