Skip to content

coder-qicao/BiMPan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bidomain Modeling Paradigm for Pansharpening

  • Code for the paper: "Bidomain Modeling Paradigm for Pansharpening", ACM MM 2023.
  • State-of-the-art (SOTA) performance on the PanCollection of remote sensing pansharpening.

Method

Pansharpening

Pansharpening is a challenging low-level vision task whose aim is to fuse LRMS (low-resolution multispectral image) and PAN (panchormatic image) to get HRMS (high-resolution multispectral image).

BiMPan

Overall Structure

We empoly a bidomain paradigm for BiMPan, i.e., BLSM (Band-Aware Local Specificity Modeling) branch to extract local features and FGDR (Fourier Global Detail Reconstruction) branch to extract global features.

BLSM

BLSM branch applies adaptive convolution to explore the local uniqueness of each band.

FGDR

FDGR branch applies convolution in Fourier domain to embracing global information while benefiting the disentanglement of image degradation.

Experiment results

  • Quantitative evalutaion results on WV3 datasets of PanCollection.
  • Visual results on WV3 datasets of PanCollection.

Get Strarted

Dataset

  • Datasets for pansharpening: PanCollection. The downloaded data can be placed everywhere because we do not use relative path. Besides, we recommend the h5py format, as if using the mat format, the data loading section needs to be rewritten.

Denpendcies

  • Python 3.10 (Recommend to use Anaconda)
  • Pytorch 2.0
  • NVIDIA GPU + CUDA
  • Python packages: pip install numpy scipy h5py torchsummary

Code

  • The code is contributed by Junming Hou and Qi Cao.
  • The code is highly based on the repository of [LAGConv] (https://github.com/liangjiandeng/LAGConv) and [Fourmer] (https://github.com/manman1995)
  • Training and testing codes are in the current folder.
  • The code for training is in main.py, while the code for testing test.py.
  • For training, you need to set the file_path in the main function, adopt t your train set, validate set, and test set as well. Our code train the .h5 file, you may change it through changing the code in main function.
  • As for testing, you need to set the path in both main and test function to open and load the file.

Citation

Coming soon.

Contact

If you have any questions, please feel free to contact junming_hou@seu.edu.cn, caolucas082@gmail.com.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages