All Projects → lukun199 → TBEFN

lukun199 / TBEFN

Licence: other
Project of 'TBEFN: A Two-branch Exposure-fusion Network for Low-light Image Enhancement '

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to TBEFN

Restoring-Extremely-Dark-Images-In-Real-Time
The project is the official implementation of our CVPR 2021 paper, "Restoring Extremely Dark Images in Real Time"
Stars: ✭ 79 (+139.39%)
Mutual labels:  low-light-enhance

TBEFN: A Two-branch Exposure-fusion Network for Low-light Image Enhancement

Codes for TMM20 paper "TBEFN: A Two-branch Exposure-fusion Network for Low-light Image Enhancement".

Structure

requirements TensorFlow 1.x

tensorflow==1.13.1
opencv-python

requirements TensorFlow 2.x

tensorflow==2.6.0
tf-slim==1.1.0
opencv-python

get started

  1. file structure
file description
./input_dir put your test image here
./results output enhanced images
./ckpt model weights (already provided, ~2MB)
./demo_img used for demo
  1. how to run the code
    TensorFlow 1.x:
cd your_path
python predict_TBEFN.py

TensorFlow 2.x:

cd your_path
python predict_TBEFN_tf2.py

Colab

A Colab notebook which allows upload of your own photos and make predictions over them is available in this repository.

.pb file extension

See ./extension. First run TBEFN_ckpt2pb.py, and then TBEFN_RunFromPb.py.

other extensions

We thank PINTO0309's warm work that converted TBEFN into many other formats and for other platforms, including saved_model, tflite, onnx, coreml, tfjs, tftrt, openvino, myriad blob, edgetpu etc.

results

We provide 6 images in this demo, after running this code, you will get results as follows. (we have cropped the result so that you can have a better comparison.)

demo_img

further comparison

  1. comparison with some other sota work (DEC.19)

demo_img

  1. PSNR/SSIM/NIQE on paired dataset

demo_img

  1. NIQE on six commonly used dataset

demo_img

  1. Efficiency

demo_img

license

BSD 3-Clause

citation

@ARTICLE{lu2020tbefn,
  author={Lu, Kun and Zhang, Lihong},
  journal={IEEE Transactions on Multimedia}, 
  title={TBEFN: A Two-Branch Exposure-Fusion Network for Low-Light Image Enhancement}, 
  year={2021},
  volume={23},
  number={},
  pages={4093-4105},
  doi={10.1109/TMM.2020.3037526}}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].