Home

Awesome

[ICIP 2022] Half Wavelet Attention on M-Net+ for Low-light Image Enhancement

PWC

Chi-Mao Fan, Tsung-Jung Liu, Kuan-Hsien Liu

paper official_paper video slides poster Hugging Face Spaces Visitors

Abstract : Low-Light Image Enhancement is a compute vision task which reinforces the dark images to appropriate brightness. It can also be seen as an ill-posed problem in image restoration domain. With the success of deep neural networks, the convolutional neural networks surpass the traditional algorithm-based methods and become the mainstream in the computer vision area. To advance the performance of enhancement algorithms, we propose an image enhancement network (HWMNet) basing on an improved hierarchical architecture model: M-Net+. Specifically, we use a half wavelet attention block on M-Net+ to enrich the features of wavelet domain. Furthermore, our HWMNet has competitive performance results on two image enhancement datasets in terms of quantitative metrics and visual quality.

Network Architecture

<table> <tr> <td colspan="2"><img src = "https://i.imgur.com/BeT2g0y.png" alt="HWMNet" width="800"> </td> </tr> <tr> <td colspan="2"><p align="center"><b>Overall Framework of HWMNet</b></p></td> </tr> <tr> <td> <img src = "https://i.imgur.com/FPR0WoU.png" width="400"> </td> <td> <img src = "https://i.imgur.com/xMVL6N1.png" width="400"> </td> </tr> <tr> <td><p align="center"><b>Half Wavelet Attention Block (HWAB)</b></p></td> <td><p align="center"> <b>Resizing Block (Pixel Shuffle)</b></p></td> </tr> </table>

Quick Run

You can simply demo on my space of Hugging Face

or test on local environment:

To test the pre-trained models of enhancing on your own images, run

python demo.py --input_dir images_folder_path --result_dir save_images_here --weights path_to_models

All pre-trained models can be downloaded at pretrained_model/README.md or here

Train

To train the restoration models of low-light enhancement. You should check the following components are correct:

Test (Evaluation)

python evaluation.py -dirA images_folder_path -dirB images_folder_path -type image_data_type --use_gpu use_gpu_or_not

Result

Visual Comparison

More visual results can be downloaded at here.

Citation

@inproceedings{fan2022half,
  title={Half wavelet attention on M-Net+ for low-light image enhancement},
  author={Fan, Chi-Mao and Liu, Tsung-Jung and Liu, Kuan-Hsien},
  booktitle={2022 IEEE International Conference on Image Processing (ICIP)},
  pages={3878--3882},
  year={2022},
  organization={IEEE}
}

Contact

If you have any question, feel free to contact qaz5517359@gmail.com