Skip to content

attilaolah/ahdrnet

 
 

Repository files navigation

AHDRNet

This project is an attempt to reproduce the experiment described here [1]. Unlike previous methods directly stacking the LDR images or features for merging, this paper use attention modules to guide the merging according to the reference image. The attention modules automatically suppress undesired components caused by misalignments and saturation and enhance desirable fine details in the non-reference images.

In addition to the attention model, we use dilated residual dense block (DRDB) to make full use of the hierarchical features and increase the receptive field for hallucinating the missing details. The proposed AHDRNet is a non-flow based method, which can also avoid the artifacts generated by optical-flow estimation error.

Paper

[1] Yan, Qingsen and Gong, “Attention-guided Network for Ghost-free High Dynamic Range Imaging,” The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019.

Code

Dependencies are managed with pipenv. To download and install dependencies locally, run:

$ pipenv install

Training & Test Data

Download the training and test data sets, run download_datasets.sh.

Then run the training script, which will update the trained model under model:

$ pipenv run python train.py

The Results

Output Label
Output 0 Label 0
Output 1 Label 1
Output 2 Label 2

About

Reproduce the AHDRNet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Shell 1.6%