Wauplin's picture
Wauplin HF staff
Set `library_name` to `tf-keras`.
ff39cc9 verified
|
raw
history blame
2.46 kB
metadata
library_name: tf-keras
license: apache-2.0
tags:
  - image-to-image

Zero-DCE for low-light image enhancement

Original Author: Soumik Rakshit
Date created: 2021/09/18
HF Contribution: Harveen Singh Chadha
Dataset: LOL Dataset

Spaces Demo

Description: Implementing Zero-Reference Deep Curve Estimation for low-light image enhancement.

Zero-Reference Deep Curve Estimation or Zero-DCE formulates low-light image enhancement as the task of estimating an image-specific tonal curve with a deep neural network. In this example, we train a lightweight deep network, DCE-Net, to estimate pixel-wise and high-order tonal curves for dynamic range adjustment of a given image.

Zero-DCE takes a low-light image as input and produces high-order tonal curves as its output. These curves are then used for pixel-wise adjustment on the dynamic range of the input to obtain an enhanced image. The curve estimation process is done in such a way that it maintains the range of the enhanced image and preserves the contrast of neighboring pixels. This curve estimation is inspired by curves adjustment used in photo editing software such as Adobe Photoshop where users can adjust points throughout an image’s tonal range.

Zero-DCE is appealing because of its relaxed assumptions with regard to reference images: it does not require any input/output image pairs during training. This is achieved through a set of carefully formulated non-reference loss functions, which implicitly measure the enhancement quality and guide the training of the network.

Sample Images: