Giter VIP home page Giter VIP logo

retinexdip's Introduction

RetinexDIP

The pytorch implementation of RetinexDIP: A Unified Deep Framework for Low-light Image Enhancement.

Z. Zhao, B. Xiong, L. Wang, Q. Ou, L. Yu and F. Kuang, "RetinexDIP: A Unified Deep Framework for Low-light Image Enhancement," in IEEE Transactions on Circuits and Systems for Video Technology, doi: 10.1109/TCSVT.2021.3073371.

Install

  • scipy==1.2.1
  • numpy==1.19.4
  • opencv-python==4.1.1
  • Pillow==8.1.2
  • torch==1.2.0
  • torchvision==0.4.0

Files Structure

├─data │ ├─test ├─net ├─output │ ├─illumination │ └─reflection ├─result └─utils

Dataset

  • DICM
  • ExDark
  • LIME
  • NASA
  • VV
  • Fusion, X. Fu, D. Zeng, Y. Huang, Y. Liao, X. Ding, and J. Paisley, ”A fusion-based enhancing method for weakly illuminated images,” Signal Processing, vol. 129, pp. 82-96, 2016.
  • NPE, S. Wang, J. Zheng, H. Hu, and B. Li, ”Naturalness preserved enhancement algorithm for non-uniform illumination images,” IEEE Transactions on Image Processing, vol. 22, pp. 3538-3548, 2013

Experiments

python Retinexdip.py --input data/test --result ./result

Before running the code, you must assure that every dataset is included in the input root directory. For example, these datasets should be included in the "./data/test":

datasets = ['DICM', 'ExDark', 'Fusion', 'LIME', 'NPEA', 'Nasa', 'VV']

Explanations for some hyperparameters:

  • input_depth This value could affect the performance. 3 is ok for natural image, if your images are extremely dark, you may consider 8 for the value.

  • flag

    This parameter from the function named $get_enhanced$ can be set as $True$ and $False$. If the input image is extremely dark, setting the flag as True can produce promising result.

retinexdip's People

Contributors

zhaozunjin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.