Giter VIP home page Giter VIP logo

posteq-saropt-buildingdamage's Introduction

PostEQ-SARopt-BuildingDamage

This repo contains dataset, code, and explanation of the paper: QuickQuakeBuildings: Post-earthquake SAR-Optical Dataset for Quick Damaged-building Detection by Yao Sun, Yi Wang, and Michael Eineder.

Introduction

Quick and automated earthquake-damaged building detection from post-event satellite imagery is crucial, yet it is challenging due to the scarcity of training data required to develop robust algorithms. In this work, we provide the first dataset dedicated to detecting earthquake-damaged buildings from post-event very high resolution (VHR) Synthetic Aperture Radar (SAR) and optical imagery.

Utilizing open satellite imagery and annotations acquired after the 2023 Turkey-Syria earthquakes, we deliver a dataset of coregistered building footprints and satellite image patches of both SAR and optical data, encompassing more than four thousand buildings. The task of damaged building detection is formulated as a binary image classification problem, that can also be treated as an anomaly detection problem due to extreme class imbalance. We provide baseline methods and results to serve as references for comparison.

Datasource

Satellite imagery

  • SAR

    The SAR image was obtained from Capella Space Synthetic Aperture Radar Open Dataset.

    The used image is of type Geocoded Terrain Corrected (GEO), and downloaded from here.

  • Optical

    The optical image was obtained from Maxar Analysis-Ready Data (ARD) under Maxar’s open data program. The CATALOG ID and QUAD KEY of the used imagery are listed below.

    CATALOG ID QUAD KEY
    1040010082698700 031133012123
    031133012132
    031133012301
    031133012310

Building footprints and labels of destroyed buildings

Post-event building footprints and labels of destroyed buildings were obtained from OpenStreetMap and Humanitarian OpenStreetMap Team:

Usage

Downaload the dataset from here, and then extract the dataset to ./data. The dataset should be organized as follows:

data
├── damaged
│   ├── OSMID_SAR.mat
│   ├── OSMID_SARftp.mat
│   ├── OSMID_opt.mat
│   ├── OSMID_optftp.mat
└── |── ...
│   intact
│   ├── ...
└── fold-1.txt
└── fold-2.txt
└── fold-3.txt
└── fold-4.txt
└── fold-5.txt

We use ImageNet weights for optical images and footprints, and SAR-HUB weights for SAR imagery, which were pretrained on TerraSAR-X data. You can download the weights here.

Depending on the training mode, run:

# sar + opt
python main.py \
--root ./data \
--val_split fold-1.txt \
--mode all \ # choose from [all, sar, opt]
--checkpoints checkpoints_all/rn18_pretrain_fold1 \
--sar_pretrain ./weights/ResNet18_TSX.pth \
--opt_pretrain imagenet \
# sar
python main.py \
--root ./data \
--val_split fold-1.txt \
--mode sar \ # choose from [all, sar, opt]
--checkpoints checkpoints_all/rn18_pretrain_fold1 \
--sar_pretrain ./weights/ResNet18_TSX.pth \
# opt
python main.py \
--root ./data \
--val_split fold-1.txt \
--mode opt \ # choose from [all, sar, opt]
--checkpoints checkpoints_all/rn18_pretrain_fold1 \
--opt_pretrain imagenet \

Results

Benchmark results on the dataset.

Examples of prediction results using SAR, optical, and both data, from their corresponding best model.

Acknowledgment

We would like to thank Capella Space and Maxar Technologies for providing satellite imagery under CC BY 4.0, and OpenStreetMap and Humanitarian OpenStreetMap Team for providing building footprints and annotations of destroyed buildings under ODbL License.

Citation

If you find the repo useful, please consider cite the following paper:

@article{sun2023qqb,
  title={QuickQuakeBuildings: Post-earthquake SAR-Optical Dataset for Quick Damaged-building Detection},
  author={Sun, Yao and Wang, Yi and Eineder, Michael},
  journal={arXiv preprint arXiv:2312.06587},
  year={2023}
}

posteq-saropt-buildingdamage's People

Contributors

ya0-sun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.