Namwon Kim, Il-Seok Choi, Seong-Soo Han, and Chang-Sung Jeong
IEEE Access, 2024
Manuscript
This is the official implementation of DA-Net: Dual Attention Network for Haze Removal in Remote Sensing Image (accepted by IEEE Access).
This code serves as a demo of DA-Net in our manuscript, offering a clear and organized workflow for haze removal in remote sensing images (RSI).
Clean RSI |
Haze |
Dehazing result (DA-Net) |
Haze removal in remote sensing images is essential for practical applications in various fields such as weather forecasting, monitoring, mineral exploration and disaster management. The previous deep learning models make use of large convolutional kernel and attention mechanisms for efficient dehazing. However, it has drawbacks such as the loss of image details and low performance. In this paper, we shall present a new dual attention network, called DA-Net, for dehazing remote sensing images which achieves better dehazing performance while reducing model complexity sharply by exploiting a novel dual attention block where two modules, channel-spatial attention and parallel attention are serially connected. We propose a new architecture for parallel attention which achieves better dehazing performance by concatenating three different attention mechanisms in parallel: global channel attention, local channel attention and spatial attention. Moreover, we shall show that the concatenation of channel-spatial attention to parallel attention module enables detecting haze component information more accurately while reducing the model complexity proportional to the number of parameters by combining the channel and spatial information generated respectively from two different channel and spatial branches. Our experimental results show that DA-Net achieves much better performance for both synthetic and real image data sets compared to the other dehazing models in terms of quantitative and qualitative evaluations.
timm
torchinfo
numpy
pillow
pytorch
scikit-image
tqdm
ptflops
pytorch-msssim
-
Remote Sensing Image Dehazing Dataset (RSID)
https://github.com/chi-kaichen/Trinity-Net -
Remote Sensing Image Cloud Removing Dataset (RICE)
https://github.com/BUPTLdy/RICE_DATASET
- Unmanned Aerial Vehicle Images (UAV)
https://github.com/Lyndo125/Real-outdoor-UAV-remote-sensing-hazy-dataset
- The dataset path should be organized as follows.
dataset/
├── RSID
│ ├── test
│ | ├── GT
│ | │ ├── 1.png
│ | │ └── 2.png
│ | │ └── ...
│ | └── hazy
│ | ├── 1.png
│ | └── 2.png
│ | └── ...
│ └── train
│ ├── GT
│ │ ├── 1.png
│ │ └── 2.png
│ │ └── ...
│ └── hazy
│ ├── 1.png
│ └── 2.png
│ └── ...
└── ...
- Install Python and necessary libraries (e.g., PyTorch, NumPy).
- After checking
option.py
, you can use the following command to train DA-Net:
python train.py
- Make sure you have the pre-trained model weights (
.pk
file) ready. - After completing the settings, you can run the demo using the command:
- The pre-trained model weights for testing synthetic image data can be found in the
trained_models
directory.
python demo.py
- Please click on Reproducible Run in Code Ocean.
https://codeocean.com/capsule/3008254/tree
- Code Ocean provides a Python runtime environment to run the DA-Net demo.
- Please cite our paper in your manuscript if it helps your research.
Bibtex:
@article{kim2024net,
title={{DA-Net}: {D}ual-Attention Network for Haze Removal in Remote Sensing Image},
author={Kim, Namwon and Choi, Il-Seok and Han, Seong-Soo and Jeong, Chang-Sung},
journal={IEEE Access},
volume={12},
pages={136{297}--136{312}},
year={2024},
publisher={IEEE}
}