xwmaxwma / rschange

Change detection of remote sensing images
50 stars 5 forks source link

cap

πŸ“· Introduction

rschange is an open-source change detection toolbox, which is dedicated to reproducing and developing advanced methods for change detection of remote sensing images.

πŸ”₯ News

πŸ” Preparation

πŸ“’ Folder Structure

Prepare the following folders to organize this repo:

  rschangedetection
      β”œβ”€β”€ rscd (code)
      β”œβ”€β”€ work_dirs (save the model weights and training logs)
      β”‚   └─CLCD_BS4_epoch200 (dataset)
      β”‚       └─stnet (model)
      β”‚           └─version_0 (version)
      β”‚              β”‚  └─ckpts
      β”‚              β”‚      β”œβ”€test (the best ckpts in test set)
      β”‚              β”‚      └─val (the best ckpts in validation set)
      β”‚              β”œβ”€log (tensorboard logs)
      β”‚              β”œβ”€train_metrics.txt (train & val results per epoch)
      β”‚              β”œβ”€test_metrics_max.txt (the best test results)
      β”‚              └─test_metrics_rest.txt (other test results)
      └── data
          β”œβ”€β”€ LEVIR_CD
          β”‚   β”œβ”€β”€ train
          β”‚   β”‚   β”œβ”€β”€ A
          β”‚   β”‚   β”‚   └── images1.png
          β”‚   β”‚   β”œβ”€β”€ B
          β”‚   β”‚   β”‚   └── images2.png
          β”‚   β”‚   └── label
          β”‚   β”‚       └── label.png
          β”‚   β”œβ”€β”€ val (the same with train)
          β”‚   └── test(the same with train)
          β”œβ”€β”€ DSIFN
          β”‚   β”œβ”€β”€ train
          β”‚   β”‚   β”œβ”€β”€ t1
          β”‚   β”‚   β”‚   └── images1.jpg
          β”‚   β”‚   β”œβ”€β”€ t2
          β”‚   β”‚   β”‚   └── images2.jpg
          β”‚   β”‚   └── mask
          β”‚   β”‚       └── mask.png
          β”‚   β”œβ”€β”€ val (the same with train)
          β”‚   └── test
          β”‚       β”œβ”€β”€ t1
          β”‚       β”‚   └── images1.jpg
          β”‚       β”œβ”€β”€ t2
          β”‚       β”‚   └── images2.jpg
          β”‚       └── mask
          β”‚           └── mask.tif
          β”œβ”€β”€ WHU_CD
          β”‚   β”œβ”€β”€ train
          β”‚   β”‚   β”œβ”€β”€ image1
          β”‚   β”‚   β”‚   └── images1.png
          β”‚   β”‚   β”œβ”€β”€ image2
          β”‚   β”‚   β”‚   └── images2.png
          β”‚   β”‚   └── label
          β”‚   β”‚       └── label.png
          β”‚   β”œβ”€β”€ val (the same with train)
          β”‚   └── test(the same with train)
          β”œβ”€β”€ CLCD (the same with WHU_CD)
          └── SYSU_CD
              β”œβ”€β”€ train
              β”‚   β”œβ”€β”€ time1
              β”‚   β”‚   └── images1.png
              β”‚   β”œβ”€β”€ time2
              β”‚   β”‚   └── images2.png
              β”‚   └── label
              β”‚       └── label.png
              β”œβ”€β”€ val (the same with train)
              └── test(the same with train)

πŸ“š Use example

🌟 Citation

If you are interested in our work, please consider giving a 🌟 and citing our work below. We will update rschange regularly.

@inproceedings{stnet,
  title={STNet: Spatial and Temporal feature fusion network for change detection in remote sensing images},
  author={Ma, Xiaowen and Yang, Jiawei and Hong, Tingfeng and Ma, Mengting and Zhao, Ziyan and Feng, Tian and Zhang, Wei},
  booktitle={2023 IEEE International Conference on Multimedia and Expo (ICME)},
  pages={2195--2200},
  year={2023},
  organization={IEEE}
}

@article{ddlnet,
  title={DDLNet: Boosting Remote Sensing Change Detection with Dual-Domain Learning},
  author={Ma, Xiaowen and Yang, Jiawei and Che, Rui and Zhang, Huanting and Zhang, Wei},
  journal={arXiv preprint arXiv:2406.13606},
  year={2024}
}

@article{cdmask,
  title={Rethinking Remote Sensing Change Detection With A Mask View},
  author={Ma, Xiaowen and Wu, Zhenkai and Lian, Rongrong and Zhang, Wei and Song, Siyang},
  journal={arXiv preprint arXiv:2406.15320},
  year={2024}
}

πŸ’‘ Acknowledgement

Thanks to previous open-sourced repo:

Thanks to the main contributor Zhenkai Wu