zhiyuan0112 / TSBSR

Blind Super-Resolution of Single Remotely Sensed Hyperspectral Image, IEEE TGSR (2023)
6 stars 0 forks source link

TSBSR

Code for this paper.

Blind Super-Resolution of Single Remotely Sensed Hyperspectral Image, IEEE TGSR (2023)

Zhiyuan Liang, Shuai Wang, Tao Zhang, and Ying Fu.

Introduction

In this paper, we introduce a two-step framework for blind remotely sensed HSI super-resolution, where the degradation is unknown.

Prerequisites

Getting Strated

1. Install the enviromemts

conda create -n tsbsr python=3.6
conda activate tsbsr

conda install -c conda-forge python-lmdb
conda install caffe
pip install --upgrade git+https://github.com/pytorch/tnt.git@master

pip install -r requirements.txt

2. Prepare datasets

Prepare AID training set for training SwinIR.

python utils/gen_data/gen_train.py

3. Trian

Step 1

Step 2

Take Pavia University dataset as example.

4. Test

python test_transfer.py -a cnn_103_128_64_blind_sparse -p noise10_k1 --noise 10 -ds k1 -dn paviau --dir logs/result/swinirY/paviau/noise10_k1_aid -fn PaviaU.mat -rp logs/checkpoint/cnn_103_128_64_blind_sparse/noise10_paviau/model_best.pth

Citation

If you find this work useful for your research, please cite:

@ARTICLE{liang2023blind,
  author={Liang, Zhiyuan and Wang, Shuai and Zhang, Tao and Fu, Ying},
  journal={IEEE Transactions on Geoscience and Remote Sensing}, 
  title={Blind Super-Resolution of Single Remotely Sensed Hyperspectral Image}, 
  year={2023},
  volume={61},
  number={},
  pages={1-14},
  doi={10.1109/TGRS.2023.3302128}
}