This repository is the official PyTorch implementation of the TGRS 2024 paper DiffCR.
Xuechao Zou1*, Graduate Student Member,
Kai Li2*, Student Member, IEEE,
Junliang Xing2, Senior Member, IEEE,
Yu Zhang1,
Shiying Wang1,
Lei Jin3,
Pin Tao1,2,†, Member, IEEE
Qinghai University1
,
Tsinghua University2,
Beijing University of Posts and Telecommunications3
To install dependencies:
pip install -r requirements.txt
To download datasets:
-
Sen2_MTC_Old: multipleImage.tar.gz
-
Sen2_MTC_New: CTGAN.zip
To train the models in the paper, run these commands:
python run.py -p train -c config/ours_sigmoid.json
To test the pre-trained models in the paper, run these commands:
python run.py -p test -c config/ours_sigmoid.json
To evaluate my models on two datasets, run:
python evaluation/eval.py -s [ground-truth image path] -d [predicted-sample image path]
@ARTICLE{diffcr,
author={Zou, Xuechao and Li, Kai and Xing, Junliang and Zhang, Yu and Wang, Shiying and Jin, Lei and Tao, Pin},
journal={IEEE Transactions on Geoscience and Remote Sensing},
title={DiffCR: A Fast Conditional Diffusion Framework for Cloud Removal From Optical Satellite Images},
year={2024},
volume={62},
number={},
pages={1-14},
}
- Ablation Study
- Main Results
- Visualization results on the Sen2_MTC_Old dataset.
- Visualization results on the Sen2_MTC_New dataset.